LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-25-2005, 08:42 AM   #1
KunoNoOni
LQ Newbie
 
Registered: Apr 2005
Location: usa
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
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?
 
Old 04-25-2005, 08:51 AM   #2
KunoNoOni
LQ Newbie
 
Registered: Apr 2005
Location: usa
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
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...
 
Old 04-25-2005, 09:02 AM   #3
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp - Can access FTP within office network BUT cant access via Internet! kokfei77 Red Hat 2 03-07-2012 07:24 PM
Lost my network access Nylex Linux - Networking 4 08-02-2005 09:22 AM
Connection to access point OK, but cannot access the network/internet Nymphetamine Linux - Wireless Networking 29 01-13-2005 02:59 PM
Lost internet access after compiling Debian 2.4 robw Linux - Newbie 13 02-21-2004 05:04 AM
Lost Linux access when I installed XP stickben Linux - Software 2 08-25-2003 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration