LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Lost access to internet (https://www.linuxquestions.org/questions/linux-networking-3/lost-access-to-internet-316939/)

KunoNoOni 04-25-2005 08:42 AM

Lost access to internet
 
I'm not too sure why I lost access to the internet but I have.

I'm running Slackware 9.0, which does see my nic.

here is what ifconfig -a tells me:

eth0 Link encap:Ethernet HWaddr 00:C0:F0:48:B0:27
inet addr:192.168.1.60 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:149 errors:1 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:13716 (13.3 Kb) TX bytes:8043 (7.8 Kb)
Interrupt:10 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:68 errors:0 dropped:0 overruns:0 frame:0
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5444 (5.3 Kb) TX bytes:5444 (5.3 Kb)

route tells me:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 1 0 0 eth0

I'm using a Linksys wireless router which I have turned off the DNS and have assigned static ips to all the computers on the network.

when I try to ping these are the results I get:

ping yahoo.com - failed (unknown host)
ping yahoo.com by ip - successful
ping 192.168.1.1 - successful
ping another computer on network - successful

any ideas?

KunoNoOni 04-25-2005 08:51 AM

hehe, just for kicks I reran the netconfig and instead of saying no to nameserver I said yes and entered in 192.168.1.1 and that worked! I have access to the internet again...

jrbush82 04-25-2005 09:02 AM

I have found in the past that using the Linksys Router as my nameserver has caused some issues. If you goto the status page in the router, and get the nameservers from your ISP, I would recommend using those rather than 192.168.1.1.

To do this, go into

/etc/resolv.conf

and add

nameserver x.x.x.x

do this for however many nameservers are listed in the status page, and also delete the 'nameserver 192.168.1.1' line


All times are GMT -5. The time now is 03:52 AM.