Page 1 of 2

No internet access

Posted: Wed Feb 02, 2011 10:18 pm
by oliverb
I have recently changed my router and just can't get internet access no matter what I try (my WAN IP says "no internet access").

I have enclosed screen dumps from my Meteohub ALIX1d and router BT Home Hub.

Thanks.
Edit I have updated the NETWORK screen image below to show my working settings.

Image

Image

Re: No internet access

Posted: Wed Feb 02, 2011 10:55 pm
by YJB
Hmm, this can be anything.

Let's try a couple of things from the MH commandline:
Check your ip settings:
ifconfig eth0

Check your routing settings:
netstat -rn

Check your DNS setup
nslookup http://www.google.com

Check the path to the internet:
traceroute http://www.google.com

Re: No internet access

Posted: Wed Feb 02, 2011 11:11 pm
by oliverb
Hi thanks for the reply.
I have tried the commands but nothing comes back when I hit enter.

Re: No internet access

Posted: Wed Feb 02, 2011 11:27 pm
by YJB
Hmm, sorry for not being clear, you are not supposed to type the "#". I use this as a prompt indicator for being root. I've updated the commands in the post above.

Re: No internet access

Posted: Thu Feb 03, 2011 12:09 am
by oliverb
nslookup http://www.google.com reply server can't find http://www.google.com
traceroute http://www.google.com reply unknow host http://www.google.com

and a screen pic for the rest.


Image

Regards.
oliverb

Re: No internet access

Posted: Thu Feb 03, 2011 12:27 am
by wfpost
your meteohub screenshot telling an
IP: 192.168.1.68

but your router config screen says you assigned
IP: 192.68.1.69
for the meteohub

What now?

What is the IP config of the router. Does it have an IP: 192.168.1.254 ??
And if so,
what does a
ping 192.168.1.254
on the meteohub console show or bring up?

Or in other words.
Basic troubleshooting:
ping loopback ping 127.0.0.1
ping own IP-Address ping 192.168.1.68
ping gateway ping 192.168.1.254
ping external WAN-Address ping ...
ping external DNS-Server ping ...

the last two IP-Addresses you should get from your router.
DSL or PPPoE info ...

Re: No internet access

Posted: Thu Feb 03, 2011 12:34 am
by oliverb
Sorry I changed my IP address since posting the pics to http://192.168.1.68/ . ping is 0.5ms.

Will it stop pinging or do I type a command to stop it?

Re: No internet access

Posted: Thu Feb 03, 2011 12:35 am
by wfpost
with Linux you have to press CRTL-C to stop it

if the pings are all working, then it could be a DNS problem.
You could try using google´s DNS Server

change the DNS1 entry with meteohub from 192.168.1.254 to
8.8.8.8

Re: No internet access

Posted: Thu Feb 03, 2011 12:46 am
by oliverb
ping loopback ping 127.0.0.1 OK
ping own IP-Address ping 192.168.1.68 OK
ping gateway ping 192.168.1.254 OK
ping external WAN-Address ping ... fail
ping external DNS-Server ping ...fail

Re: No internet access

Posted: Thu Feb 03, 2011 1:07 am
by wfpost
if you ping the external WAN and DNS from a PC of your network.
Does this work okay?
(in theory ping replies could be blocked at the WAN and DNS Server)

Just as a test: Can you setup your meteohub to use DHCP, to see if this is working?

Re: No internet access

Posted: Thu Feb 03, 2011 1:14 am
by oliverb
external WAN fails
external DNS OK

Re: No internet access

Posted: Thu Feb 03, 2011 1:15 am
by oliverb
I have tried DHCP but this does not work. Gives the same problem "no internet".

Re: No internet access

Posted: Thu Feb 03, 2011 7:47 am
by YJB
As it looks right now, I tend to believe that there is a DNS issue.

Since you cazn post messages, I guess your PC is working fine. What is the DNS server that your PC is using, can you list the output of the following command:

On windows open a DOS box:
Start - Run - cmd - <enter>
ipconfig /all

Re: No internet access

Posted: Thu Feb 03, 2011 8:28 am
by oliverb
Using ipconfig /all my DNS servers are listed as 192.168.1.254 and 192.168.1.254

Re: No internet access

Posted: Thu Feb 03, 2011 12:45 pm
by wfpost
I think, it´s not DNS-, but a router issue.
Although, if DNS is not working, meteohub wouldn´t find out the external WAN-IP.
Nevertheless the internet connection should work, because all IP-traffic is routed to the gateway address and your router then anyway must route those packets towards the WAN-LINK.

As the local pings work, I tend to say meteohub networking stack is okay.
Local gateway is reachable, but external WAN not respondinbg looks to me like the external traffic for meteohubs IP is somewhat broken or blocked.
Is the Firewall of the Router enabled? If so, could you disable it temporarily.
Normally only incoming packets are blocked depending on the firewall rules.
But maybe outcoming traffic is blocked somewhere with your firewall config.