Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No Internet After Restart
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jungalero
n00b
n00b


Joined: 11 Jun 2007
Posts: 1

PostPosted: Mon Jun 11, 2007 6:12 pm    Post subject: No Internet After Restart Reply with quote

Hey all,

Very weird thing: I restarted a Gentoo box (2.4.26-gentoo-r9) after 95 days of uptime and now can no longer access the internet (either coming in through forwarded ports or going out). The router (a Linksys RV082) is still accessible as are all other machines on the local network (10.0.0.0). There's no firewall of any kind, either, since all of that is handled by the router.

I'm thinking I probably updated a package sometime in the last 95 days that messed something up, but have no idea what it could be!

Here's some more info:

Code:

highvoltage src # ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:06:5B:FD:4D:33 
          inet addr:10.0.0.11  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:141450 errors:0 dropped:0 overruns:0 frame:0
          TX packets:146068 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:45575346 (43.4 Mb)  TX bytes:48693142 (46.4 Mb)
          Base address:0xece0 Memory:feae0000-feb00000


Code:

highvoltage src # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth2
10.0.0.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
0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 eth0
0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 eth2
0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 eth1


Oh, and the weirdest thing? Sometimes a ping to the outside world will come through.

Also strange: Looking at the router now, it looks like UDP traffic to the box's DNS server is going through fine.

Help! (Please.)
Back to top
View user's profile Send private message
hermanng
Apprentice
Apprentice


Joined: 28 Jan 2004
Posts: 175
Location: Nussberg,Germany,Earth

PostPosted: Mon Jun 11, 2007 7:40 pm    Post subject: Reply with quote

Hmm, I had a similar problem some months ago. Here the reason was an "emerge -u bind", I had done in the meantime (uptime was more than 150 days).
To check internet connectivity, I normally first try to ping an outside DNS server with a numeric address(address normally got from provider and residing in /etc/resolv.conf). If that works, I try some address resolving, e.g. "host www.google.com". That can be special, if have a named for your own network running, as I did.
In my case I had to rework my named configuration (zone files et al)

Just my 2 c
_________________
Hermann
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum