Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

LAN works, no internet, routing problem [Solved]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

LAN works, no internet, routing problem [Solved]

  • Quote

Post by Jaglover » Mon Jan 14, 2008 10:07 pm

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.
Top
rokstar83
Guru
Guru
User avatar
Posts: 423
Joined: Sat Apr 09, 2005 6:18 am
Location: MD

Re: Mysterious network problem

  • Quote

Post by rokstar83 » Mon Jan 14, 2008 10:48 pm

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?
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Mon Jan 14, 2008 10:52 pm

Nope, names resolve, I run local DNS cache. "Network is unreachable" comes with IP address as well. :roll:
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Tue Jan 15, 2008 3:59 am

Code: Select all

# 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 :?
Top
tarpman
Veteran
Veteran
User avatar
Posts: 1083
Joined: Thu Nov 04, 2004 2:55 am
Location: Victoria, BC, Canada

  • Quote

Post by tarpman » Tue Jan 15, 2008 5:17 am

Let's see /etc/conf.d/net.
Saving the world, one kilobyte at a time.
Top
vktgz
n00b
n00b
User avatar
Posts: 65
Joined: Mon Jun 21, 2004 12:59 pm
Location: Gentown, Tuxland

  • Quote

Post by vktgz » Tue Jan 15, 2008 7:11 am

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.
Top
Emopig
Apprentice
Apprentice
User avatar
Posts: 188
Joined: Wed Mar 15, 2006 2:21 pm

  • Quote

Post by Emopig » Tue Jan 15, 2008 9:10 am

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: Select all

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
Top
skellr
Veteran
Veteran
User avatar
Posts: 1037
Joined: Sat Jun 18, 2005 1:34 am
Location: The Village, Portmeirion

  • Quote

Post by skellr » Tue Jan 15, 2008 10:28 am

Yeah, me too. :lol:
Bug 205894 net.eth0 improperly adds default gateway.
Top
gigli
n00b
n00b
Posts: 17
Joined: Sun Sep 18, 2005 9:23 pm

thanks

  • Quote

Post by gigli » Tue Jan 15, 2008 11:43 am

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.
Top
gemini91
Guru
Guru
Posts: 317
Joined: Thu Nov 27, 2003 12:25 pm
Location: Naples, Fl

  • Quote

Post by gemini91 » Tue Jan 15, 2008 11:58 am

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
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Tue Jan 15, 2008 2:51 pm

Rainskellr, thanks for bugzilla link. They had solution there.
Top
UberLord
Retired Dev
Retired Dev
User avatar
Posts: 6838
Joined: Thu Sep 18, 2003 10:26 am
Location: Blighty
Contact:
Contact UberLord
Website

  • Quote

Post by UberLord » Tue Jan 15, 2008 3:08 pm

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 :)
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Top
To
Veteran
Veteran
User avatar
Posts: 1145
Joined: Sat Apr 12, 2003 9:12 pm
Location: Coimbra, Portugal
Contact:
Contact To
Website

  • Quote

Post by To » Fri Jan 18, 2008 2:10 pm

And I thought I was the one the screw things up;)
Thanx for the link to bugzilla.

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Top
Kollin
Veteran
Veteran
User avatar
Posts: 1139
Joined: Sat Feb 25, 2006 12:42 am
Location: Sofia/Bulgaria

  • Quote

Post by Kollin » Sat Jan 19, 2008 5:47 pm

DOOOHHHHH, i almost killed my ISP 8O

Thanx guys :wink:
"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..."
Top
Post Reply

14 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic