Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] no internet after new router
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
zhooded
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2006
Posts: 79

PostPosted: Sun Mar 16, 2008 7:13 pm    Post subject: [SOLVED] no internet after new router Reply with quote

Hi! As the topic suggests I had internet with my old router but since I changed it I haven't connection to Internet. I didn't changed the network card, just the router. Could you give me a hint? Thanks!

Last edited by zhooded on Mon Mar 17, 2008 5:22 pm; edited 2 times in total
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1003
Location: (44.057116, -123.103394)

PostPosted: Sun Mar 16, 2008 7:31 pm    Post subject: Reply with quote

Are you using a gentoo box as a router or something elce?
If it is gentoo did you follow http://www.gentoo.org/doc/en/home-router-howto.xml?
Post the output of ifconfig from both boxes.
_________________
Do you still use Perl?
Back to top
View user's profile Send private message
zhooded
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2006
Posts: 79

PostPosted: Mon Mar 17, 2008 11:49 am    Post subject: Reply with quote

I don't think I'm using gentoo box... don't know even what that is.

Here's the output:
Code:
# ifconfig
eth0   link encap: Ethernet HWaddr: 00:1B:B9:83:FF:EF
         inet addr: 192.168.1.35 Bcast: 192.168.1.255 Mask: 255.255.255.1
         inet6 addr: fe80::21b:b9ff:fe83:ffef/54 Scope: link
         UP BROADCAST RUNNING MULTICAST MTU:1500 Metric: 1
         Rx packets: 4 errors:0 dropped: 0 overruns: 0 forme: 0
         Tx packets: 18 errors:0 dropped: 0 overruns: 0 carrier: 0
         collisions: 0 txqueuelen: 1000
         Rx bytes: 815 (815.0 b) Tx bytes: 1924 (1.8Kb)
         Interrupt: 22

lo      link encap: local loopback HWaddr: ...
         inet addr: ... Bcast: ... Mask: ...
         inet6 addr: ... Scope: ...
         UP BROADCAST RUNNING MULTICAST MTU:1500 Metric: 1
         Rx packets: 0 errors:0 dropped: 0 overruns: 0 forme: 0
         Tx packets: 0 errors:0 dropped: 0 overruns: 0 carrier: 0
# netstat
...
Proto RefCnt    Type          State
unix      2       DGRAM   CONNECTED
unix      3       STREAM  CONNECTED
unix      3       STREAM  CONNECTED


Is this useful to you? I just don't understand why changing the router makes me lose the Internet connection (it's properly configured because others machines can access Internet). Please help me!!

BTW: Do you think that if I boot from install CD I could get any important info?
Back to top
View user's profile Send private message
zhooded
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2006
Posts: 79

PostPosted: Mon Mar 17, 2008 5:22 pm    Post subject: Reply with quote

I solved by myself.

I decided to boot from install CD, and neither I could connect. I had a look at gentoo's installing manual and said that net-setup utility should solve it, and indeed it did it. Then I booted the hard disk and realized I hadn't that utility and of course it's impossible to emerge it connectionless (actually it's a shell and I thinks it's just for live-cd). So I knew the solution but not how to solve it...

So as I guessed, it wasn't problem of anything but some config file, and that one was /etc/resolv.conf. I mounted my hard disk and compared my resolv.conf with the one created by net-setup, and they were different. After overwriting my file now I have again Internet!

Thanks anyway turtles, you've been the only one who's dared to try on.
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