Can not connect to internet
I can connect to my network but cannot connect to internet. I can ping localhost, also the router/gateway but cannot ping to ip's outside network. All other computers on the network don't haven this problem.
Can anybody help? ifconfig shows interrupt:139 anybody knows what that is? |
Hi.
Could you post the output from Code:
ifconfig Dave Edit: 2000 posts. Woo. |
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:E0:81:2A:BC:1A inet addr:192.168.1.75 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::2e0:81ff:fe2a:8c1a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:40 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2717 (2.6 KiB) TX bytes:871 (871.0 b) Interrupt:139 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:36 errors:0 dropped:0 overruns:0 frame:0 TX packets:36 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3368 (3.2 KiB) TX bytes:3368 (3.2 KiB) route: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 traceroute 81.86.77.124: Socket: Network is unreachable IP of my gateway is 192.168.1.254 ping 192.168.1.254: PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data. 64 bytes from 192.168.1.254: icmp_seq=0 ttl=64 time=4.50 ms 64 bytes from 192.168.1.254: icmp_seq=1 ttl=64 time=2.37 ms 64 bytes from 192.168.1.254: icmp_seq=2 ttl=64 time=1.76 ms 64 bytes from 192.168.1.254: icmp_seq=3 ttl=64 time=1.82 ms 64 bytes from 192.168.1.254: icmp_seq=4 ttl=64 time=2.03 ms 64 bytes from 192.168.1.254: icmp_seq=5 ttl=64 time=2.03 ms 64 bytes from 192.168.1.254: icmp_seq=6 ttl=64 time=2.04 ms 64 bytes from 192.168.1.254: icmp_seq=7 ttl=64 time=1.98 ms 64 bytes from 192.168.1.254: icmp_seq=8 ttl=64 time=1.85 ms 64 bytes from 192.168.1.254: icmp_seq=9 ttl=64 time=1.65 ms 64 bytes from 192.168.1.254: icmp_seq=10 ttl=64 time=1.95 ms --- 192.168.1.254 ping statistics --- 11 packets transmitted, 11 received, 0% packet loss, time 10029ms rtt min/avg/max/mdev = 1.655/2.185/4.503/0.754 ms, pipe 2 Best regards, Jasper |
Hi again.
You don't currently have a default route set. Code:
route add default gw 192.168.1.254 Dave |
Thanks
Thanks,
That did the trick. Very gratefull. Thank you, thank you. Best regards, Jasper |
Jasper,
You will also want to add that command to a startup script or network configuration script so that it is persistent on reboot. Where you add this depends on the distro you are using. Thanks Martin |
All times are GMT -5. The time now is 04:24 PM. |