| View previous topic :: View next topic |
| Author |
Message |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3172 Location: Saint Amant, Acadiana
|
Posted: Mon Jan 14, 2008 10:07 pm Post subject: LAN works, no internet, routing problem [Solved] |
|
|
I use my wife's PC as distcc helper. A couple hours ago I noticed it's down. I couldn't start it any more, "attempting to kill init" was as far as I got. OK, PSU was expired, I replaced it. Booted from HDD. Everything looks nice. Except direct internet connection does not work! Firefox through proxy - works fine. NFS volume mounts fine. I can ssh into that box. I can ssh out from that box - but only locally. Every address outside results in "network is unreachable" message. (No firewall)
I started it up with GRML and ran fsck. All clean. Network works like it should.
I even do not know where to look, any ideas are welcome.
Last edited by Jaglover on Tue Jan 15, 2008 2:50 pm; edited 1 time in total |
|
| Back to top |
|
 |
rokstar83 Guru


Joined: 09 Apr 2005 Posts: 422 Location: MD
|
Posted: Mon Jan 14, 2008 10:48 pm Post subject: Re: Mysterious network problem |
|
|
| Jaglover wrote: | I use my wife's PC as distcc helper. A couple hours ago I noticed it's down. I couldn't start it any more, "attempting to kill init" was as far as I got. OK, PSU was expired, I replaced it. Booted from HDD. Everything looks nice. Except direct internet connection does not work! Firefox through proxy - works fine. NFS volume mounts fine. I can ssh into that box. I can ssh out from that box - but only locally. Every address outside results in "network is unreachable" message. (No firewall)
I started it up with GRML and ran fsck. All clean. Network works like it should.
I even do not know where to look, any ideas are welcome. |
DNS issue? Have you tried pinging something outside your local network by ip instead of name? |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3172 Location: Saint Amant, Acadiana
|
Posted: Mon Jan 14, 2008 10:52 pm Post subject: |
|
|
Nope, names resolve, I run local DNS cache. "Network is unreachable" comes with IP address as well.  |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3172 Location: Saint Amant, Acadiana
|
Posted: Tue Jan 15, 2008 3:59 am Post subject: |
|
|
| Code: | # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.254 255.255.255.255 UGH 0 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
|
As you can see with this mask connection is not possible. I wonder where it comes from  |
|
| Back to top |
|
 |
tarpman Veteran


Joined: 04 Nov 2004 Posts: 1083 Location: Victoria, BC, Canada
|
Posted: Tue Jan 15, 2008 5:17 am Post subject: |
|
|
Let's see /etc/conf.d/net. _________________ Saving the world, one kilobyte at a time. |
|
| Back to top |
|
 |
vktgz n00b


Joined: 21 Jun 2004 Posts: 62 Location: Gentown, Tuxland
|
Posted: Tue Jan 15, 2008 7:11 am Post subject: |
|
|
| I have the same problem. Yesterday i upgraded system and world. Everything was working fine until i rebooted - after reboot internet is not working. LAN is working fine, i can ping router, but I cant ping anything outside - "network is unreachable". I think the problem is with init scripts, emerge upgraded baselayout. I try to downgrade baselayout when I get back home. |
|
| Back to top |
|
 |
Emopig Apprentice


Joined: 15 Mar 2006 Posts: 188
|
Posted: Tue Jan 15, 2008 9:10 am Post subject: |
|
|
Had the same problem here. New baselayout fscked over my networking over when I rebooted.
I could an ping my router and another machine on said router (basically any machine in my subnet). I had to manually fix the route table, not impressive. The base layout update was a minor release and there I was with a static IP on a single Ethernet interface and no network access.
It took me half an hour this morning to fix it, I have no idea how it could mess up when the masking is explicitly specified in /etc/conf.d/net
| Code: | andrew@ziggy ~ $ cat /etc/conf.d/net
modules=("ifconfig")
config_eth0=("192.168.1.2 netmask 255.255.255.0")
routes_eth0=("default via 192.168.1.1") |
_________________ 2.6.35 / Gnome 2.30
Athlon64 3500+ / 1.5 GB / Asus A8N VM CSM |
|
| Back to top |
|
 |
skellr l33t


Joined: 18 Jun 2005 Posts: 697 Location: The Village
|
Posted: Tue Jan 15, 2008 10:28 am Post subject: |
|
|
Yeah, me too.
Bug 205894 net.eth0 improperly adds default gateway. |
|
| Back to top |
|
 |
gigli n00b

Joined: 18 Sep 2005 Posts: 17
|
Posted: Tue Jan 15, 2008 11:43 am Post subject: thanks |
|
|
| Hi just wanted to say thanks, this solved my problem for now, i would never have found it on my own. I downgraded my baselayout. |
|
| Back to top |
|
 |
gemini91 Guru

Joined: 27 Nov 2003 Posts: 308 Location: Naples, Fl
|
Posted: Tue Jan 15, 2008 11:58 am Post subject: |
|
|
From past experience any time I have problems with my wireless,
the first thing I check is baselayout, So i did not waste much time
on this before backing it off. The problem was telling me that the key
was not right for the ESSID. I didn't record the whole message but
it was real strange. Its been quite awhile since baselayout caused me
a problem |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3172 Location: Saint Amant, Acadiana
|
Posted: Tue Jan 15, 2008 2:51 pm Post subject: |
|
|
| Rainskellr, thanks for bugzilla link. They had solution there. |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6271 Location: Blighty
|
Posted: Tue Jan 15, 2008 3:08 pm Post subject: |
|
|
| Jaglover wrote: | | Rainskellr, thanks for bugzilla link. They had solution there. |
You might want to comment on the bug to let the developers know the patch works then  _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
To Veteran


Joined: 12 Apr 2003 Posts: 1142 Location: Coimbra, Portugal
|
Posted: Fri Jan 18, 2008 2:10 pm Post subject: |
|
|
And I thought I was the one the screw things up;)
Thanx for the link to bugzilla. _________________
------------------------------------------------
gandalf.lhamus.org 2.6.26-grsec
Gentoo Base System version 2.0.0
------------------------------------------------ |
|
| Back to top |
|
 |
Kollin l33t


Joined: 25 Feb 2006 Posts: 881 Location: Sofia/Bulgaria
|
Posted: Sat Jan 19, 2008 5:47 pm Post subject: |
|
|
DOOOHHHHH, i almost killed my ISP
Thanx guys  _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
| Back to top |
|
 |
|