can't connect to internet
I reloaded Ubuntu 10.4 LTS to run EMC and now I cant connect to the internet. I can ping the gateway and can ping the Linux box from a networked pc but the internet times out. What dns should I use?
thanks Paul |
Do you really think that it's a problem with DNS? Execute
Code:
cat /etc/resolv.conf Markus |
Thanks markush
I set the Dns settings to match the winpc and it still doesnit work on the Linux box, what could it be?? Paul |
Well, please post the output of the
Code:
ifconfig Code:
cat /etc/resolv.conf Code:
ipconfig /all This will help us to compare the network-settings on both systems. Markus |
Also check that the default gateway is set correctly with "netstat -rn".
|
some diag info:
Code:
echo uname: && uname -a -m -p && echo lspci: && lspci && echo lsusb: && lsusb && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n && echo ping router: && ping -c 1 `route | awk '/default/ {print $2}'` && echo ping dns-server: && ping -c 1 `awk '/nameserver/ {print $2}' /etc/resolv.conf | head -n 1` && echo ping using ip: && ping -c 1 64.235.229.141 && echo ping using dns: && ping -c 1 www.02144.com |
You say you can ping the gateway, what's you gateway address?
You say you can ping the linux box, and what is that the computer your having issues with or another linux device serving your gateway? Whats the address to the linux box? If you enter this address in your browser 75.126.162.205 does it take you to linuxquestions.org? If not then you expect an routing problem more then dns issue. Anser the above and it will be easier to help out. |
Quote:
|
Thanks for all the help guys
win-pc 192.168.0.3 Linux 192.168.0.7 dns1 192.168.0.1 dns2 209.206.160.254 gateway 192.168.0.1 ifconfig - mtu 180, metric 1 (10's of 1000s of errors) cat /etc/resolv.conf - all match ipconfig /all -- all match netstat -rn destination gateway genmask flags 192.168.0.0 0.0.0.0 255.255.255 u 169.244.0.0 0000 255.255.0.0 u 0 192.168.0.1 0 ug 0 192.168.0.1 0 ug pretty strange don't know what it means - the gateway ip is there ?? thanks for looking Paul |
If you punch in this address in your browser 75.126.162.205 do you then end up here at LQ or not?
If you run "tracepath 75.126.162.205" how far does it go, does it stop at 192.168.0.1? That routing table looks fishy to me, you are missing your universal gateway. Destination 0.0.0.0 Gateway 192.168.01 But not sure so perform the above tests to se if you can reach LQ. Another question is your address received by dhcp or have you configured it with static address? |
andy
Its a static address, the browser times out before it gets to LQ. Tracepath goes out into the world and hops around, it quits at 31 hops, lots of "no replys" before it gets to LQ. sometimes it doesn't get past the router before it quits. That routing table doesn't make sense to me. What should one look like? Paul |
Ok.
31 hops is the maximum. well mine looks like this, obeserve the last line. Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 Is there any difference if you connect via wifi or ethernet? What service are you using since it requires you to configure it staticly is it cable, dsl, fiber, i guess you have som router of some kind from your provider. |
Is there a difference if you do
ping 75.126.162.205 Compared with. ping linuxquestion.org Is the outcome the same? If its an dns issue the last ping should return an error. |
no wifi, it wouldn't connect automatically
I've got 2 last lines with my gateway 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 how do I delete one?? |
andy
"ping 75.126.162.205" works fine "ping linuxquestion.org" just hangs up |
All times are GMT -5. The time now is 03:27 PM. |