Introduction
This page describes how to troubleshoot internet connection problems.
Internet access requires two things:
- a connection to the internet (possibly via WLAN)
- the ability to resolve names (i.e. to convert hostnames to IP addresses)
Complete the ‘Check’ procedures below; these may ask you to complete specific ‘Fix’ procedures below.
Procedures
Check: WLAN visibility
- If you are not using a wireless connection, then skip this check.
- Log in to the PC where you want to access the internet from and search for visible WLANs.
- Check the visibility of the ‘NETGEAR’ WLAN.
- Check the visibility of other WLANs (e.g. the neighbours’).
- If the ‘NETGEAR’ WLAN is visible then stop this check here.
- If the ‘NETGEAR’ WLAN is not visible and other WLANs are visible see ‘Fix: Resetting the Netgear router’ below.
- If you reach here then contact Alexis.
Check: Connectivity
- Start a terminal window.
- Run the command:
/sbin/ifconfig | grep G
- Verify that an IP address is shown; we’ll refer to this IP address as <gateway-ip-addr>.
- Run:
timeout -s 2 5 ping <gateway-ip-addr>
- Verify that the ping worked with 0% packet loss; if the verification failed see ‘Fix: Fixing the gateway’ below.
- Run:
timeout -s 2 5 ping 132.185.132.21 timeout -s 2 5 ping 216.239.32.10
(These IP addresses belong to the BBC and Google respectively.)
- Verify that the pings worked with near to 0% packet loss.
- If you reach here then contact Alexis,
Check: Name resolution
- Start a terminal window.
- Run the command:
grep nameserver /etc/resolv.conf
- Verify that an IP address is shown; we’ll refer to this IP address as <nameserver-ip-addr>.
- Run:
timeout -s 2 5 ping <nameserver-ip-addr>
- Verify that the ping worked with 0% packet loss.
- Run:
getent hosts www.google.com
- Verify that an IP address is shown.
- If you reach here then contact Alexis,
Fix: Fixing the gateway
- If <gateway-ip-addr> is 192.168.1.1 then:
- go to the DSL router
- from its back face pull out the black power cable
- wait 10 seconds
- on its back face plug in the black power cable again
- wait 2 minutes.
Fix: Resetting the Netgear router
- On a PC which has a wired (i.e. not wireless) connection, start firefox.
- Visit http://192.168.0.10. (login is ‘admin’, password is ‘password’; these are factory defaults which have not been changed)
- In the blue navigation panel on the left, click ‘Diagnostics’.
- In the white main panel click ‘Reboot’.
- Dismiss the warning dialog window that appears by clicking ‘OK’.
- At the next page, which forces a slight delay before trying to reconnect to the router, either follow the prompts to connect to the router again or close the tab; both are fine.