LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-18-2003, 01:52 PM   #1
arch23
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
internet connection stopped working


I'm connected to a home network.
suddenly I can't serf from my fedora station. I checked with a live cd and on XP and everything is ok.
how can I find out what's wrong and fix it?
thanks
 
Old 12-18-2003, 11:47 PM   #2
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
Check that you can ping the IP address of your router/gateway.

Check your /etc/resolv.conf and make sure the nameserver entry is correct and that you can ping that IP address also if it is different from router/gateway IP adress. If you have a search line try saving copy of resolv.conf and take out the search line.

If you still cant serf after that then post output of
ifconfig
route -n
 
Old 12-19-2003, 02:43 AM   #3
arch23
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by beyer42
Check that you can ping the IP address of your router/gateway.

Check your /etc/resolv.conf and make sure the nameserver entry is correct and that you can ping that IP address also if it is different from router/gateway IP adress. If you have a search line try saving copy of resolv.conf and take out the search line.

If you still cant serf after that then post output of
ifconfig
route -n
ok, I can ping 216.239.41.99 but not surf www.google.com (the hostname), I can ping my router as well. I'm told that it is going to the direction of a DNS problem (I use DHCP).

ifconfig is:
eth0 Link encap:Ethernet HWaddr 00:20:ED:56:B7:15
inet addr:192.168.0.4 Bcast:192.168.0.30 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:396 errors:0 dropped:0 overruns:0 frame:0
TX packets:310 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45213 (44.1 Kb) TX bytes:29962 (29.2 Kb)
Interrupt:11 Base address:0xdf00

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:3046 errors:0 dropped:0 overruns:0 frame:0
TX packets:3046 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2640264 (2.5 Mb) TX bytes:2640264 (2.5 Mb)


route -rn gives:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0


whice way from here?
thanks
 
Old 12-19-2003, 03:14 AM   #4
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
That's good, basic networking is fine.

see if you can ping www.google.com by name.

post your /etc/resolv.conf
 
Old 12-19-2003, 03:21 AM   #5
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
Also edit /etc/sysconfig/network-scripts/ifcfg-etho

and change BROADCAST to 192.168.0.255

then do
ifdown eth0
ifup eth0

Last edited by beyer42; 12-19-2003 at 03:23 AM.
 
Old 12-19-2003, 09:02 AM   #6
arch23
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
ok, beyer42 - thanks a bundle.
the nameservers in resolv.conf were wrong. I fixed them and now everything is working again.
I probably should do some networking reading..
thanks again.
 
  


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
Internet suddenly stopped working. figster Linux - Newbie 2 08-29-2005 05:18 PM
ISDN connection stopped working after online update karatedog Linux - Hardware 1 05-16-2004 04:05 PM
Internet stopped working after running netconfig on 2.6.0 GT_Onizuka Slackware 6 01-03-2004 03:47 PM
Internet connection sharing / ssh stopped it toastermaker Linux - Newbie 5 11-23-2003 12:52 PM
internet connection STOPPED working without a change made! fede_mdk Linux - Networking 11 08-05-2003 10:26 AM

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

All times are GMT -5. The time now is 09:06 PM.

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