Network

No Internet connectivity when connected to Ethernet

Problem

The system is successfully connected to a wired network, but there is no Internet connectivity.

Cause

The system date and time may be incorrect.

Solution

Manually adjust the system date and time, making sure the time zone is correct as well.

Cannot connect to Wi-Fi

Problem

The system is unable to connect to a wireless network even though the access point details (including passphrase) are correct.

Cause

The system date and time may be incorrect.

Solution

Manually adjust the system date and time, making sure the time zone is correct as well.

No internet access when connected to Wi-Fi

Problem

The system is successfully connected to a wireless network, but there is no Internet connectivity. The same Wi-Fi connection is working on other devices.

Check

Check DNS settings.

  1. Run the following command in a terminal emulator:

    cat /etc/resolv.conf
    

Solution

  1. Run the following command in a terminal emulator:

    dpkg-reconfigure resolvconf
    
  2. If this does not help, you can try manually adding another DNS address to the resolv.conf file. This may fix your connection. For example, you can add Google’s public DNS (8.8.8.8) or choose a DNS from the OpenNIC DNS list here (simply choose the first address).

  3. Execute the following command in a terminal emulator to add this new DNS address to your /etc/resolv.conf file:

    sudo sh -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf'
    

    The effect of this change will be visible immediately.

If you now have internet access, the problem was your DNS (or the network stack that did not update it correctly). Make sure to update your system later!

PureOS 10 has new firewall tools

In PureOS 10, iptables was moved to nftables. nftables is the preferred in kernel packet filter and firewalld is the tool for controlling firewalls on the desktop.