Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
*sigh* Network suddenly not working. Hopefully simple prob.
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
SilverSnake
n00b
n00b


Joined: 01 Oct 2002
Posts: 50
Location: Linköping, Sweden

PostPosted: Tue Jan 14, 2003 5:23 am    Post subject: *sigh* Network suddenly not working. Hopefully simple prob. Reply with quote

Heya,

Haven't booted my Gentoo install in quite some time now and now wanted to check out some new stuff I've found. Booted up just fine, as normal, but networking isn't working. I ran ifconfig to reset all my information for eth0 and made sure I got my static IP right and all. Ifconfig -a shows my eth0 interface to be "up and running", and running a /etc/init.d/net.eth0 restart gives no errors at all.

I can't find anything that seems to be wrong, except that ifconfig -a also shows a dummy0 interface, which is listed on top, followed by my eth0 and lo. I can't recall seeing it there before.

Note that my networking has worked fine before and I can't recall what the last thing I did before it stopped working was, since it was quite some time ago, but I'm pretty sure I didn't recompile my kernel (thus removing the support for my NIC, which is compiled into the kernel, not running as a module).

I'm running RC9 of Gentoo. I hope we can find some easy solution for this, otherwise, don't put too much energy into it, I'll just make a clean install of the latest version.

Thanks in Advance!
_________________
da SilverSnake is back!
Back to top
View user's profile Send private message
ed-gentoo
n00b
n00b


Joined: 07 Jan 2003
Posts: 38
Location: Netherlands

PostPosted: Tue Jan 14, 2003 5:28 am    Post subject: Reply with quote

Hey there. I'm not a pro yet in linux networking, but know quite a bit about it in winblows world (because of my work). What I usually do first is to see if ip is running correctly by pinging 127.0.0.1 which will always ping your own nic and no further. Then if you had dhcp try with staic ip making sure subnet and gateways are correct.

give it a shot see if it helps
_________________
Why Linux?

For I think it's the most interesting, stable, and configurable OS there is!
..... that's if you have the motivation!

(info about my computer systems can be found on my site under the link systems)
Back to top
View user's profile Send private message
SilverSnake
n00b
n00b


Joined: 01 Oct 2002
Posts: 50
Location: Linköping, Sweden

PostPosted: Tue Jan 14, 2003 5:36 am    Post subject: Reply with quote

ed-gentoo wrote:
Hey there. I'm not a pro yet in linux networking, but know quite a bit about it in winblows world (because of my work). What I usually do first is to see if ip is running correctly by pinging 127.0.0.1 which will always ping your own nic and no further. Then if you had dhcp try with staic ip making sure subnet and gateways are correct.

give it a shot see if it helps


Thanks for trying to help out. But as I've understood it I need to get rid of that dummy0 interface which "eats" all outgoing traffic and all should be fine. I never really changed anything to my default network settings so it should still be fine.

Right now it's 6:30am and I still haven't gone to bed, so I'll try to dig up more information for ya tomorrow. :)

Cyaz!
_________________
da SilverSnake is back!
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Tue Jan 14, 2003 7:31 am    Post subject: Reply with quote

there's an option in your kernel config for a dummy nic... perhaps take that out, or unload the module if it's loaded.

what does lsmod show ?
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
SilverSnake
n00b
n00b


Joined: 01 Oct 2002
Posts: 50
Location: Linköping, Sweden

PostPosted: Tue Jan 14, 2003 4:04 pm    Post subject: Reply with quote

Well, it seems weird if it would be some module that's loaded all of a sudden, because I'm fairly sure I wasn't fiddling with that when it all stopped working.

Could you please remind me of the name of the file where all the modules that's loaded on startup is listed and/or how to unload a module on the fly so I can try and do that when I reboot to check out lsmod?

Thanks :)
_________________
da SilverSnake is back!
Back to top
View user's profile Send private message
SilverSnake
n00b
n00b


Joined: 01 Oct 2002
Posts: 50
Location: Linköping, Sweden

PostPosted: Tue Jan 14, 2003 4:33 pm    Post subject: Reply with quote

taskara wrote:
there's an option in your kernel config for a dummy nic... perhaps take that out, or unload the module if it's loaded.

what does lsmod show ?


lsmod shows my NVDrivers only. So I haven't loaded that module and I'm 99% sure I haven't recompiled the kernel and thus lost anything. A ping of 127.0.0.1 gives replies so the network card seems to be working and that dummy0 just eats all my traffic that I want to go outwards.

Is there something I might have emerged that could have added the dummy0 interface?

Thanks :)
_________________
da SilverSnake is back!
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Tue Jan 14, 2003 5:20 pm    Post subject: Reply with quote

You can disable the dummy with "ifconfig dummy0 down". Also check your routing table:
Code:

~# route -n

Check if the default route goes to your gateway, and that the other routes are defined for your network...

For instance (local ip 192.168.0, dynamic IP):
Code:

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
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth2
213.118.115.0   0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         213.118.115.1   0.0.0.0         UG    0      0        0 eth1

This means that the packets for the network "192.168.0.*" should go to both eth0 and eth2, that everything for the network "213.118.115.*" should go through eth1 and that all other traffic (f.i. surfing the internet) must go through eth1 to the 213.118.115.1 gateway.
Back to top
View user's profile Send private message
SilverSnake
n00b
n00b


Joined: 01 Oct 2002
Posts: 50
Location: Linköping, Sweden

PostPosted: Wed Jan 15, 2003 11:53 pm    Post subject: Reply with quote

My routing table looked just fine... *sigh*

I'll just reinstall, will save me a lot of doublecompiling anyway since I need to upgrade most of my stuff anyway.

Thanks for trying to help though :)
_________________
da SilverSnake is back!
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