Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev kills my network connection
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
Samalander
n00b
n00b


Joined: 15 Jul 2007
Posts: 27
Location: Abbotsford, BC, Canada

PostPosted: Thu Aug 16, 2007 6:43 am    Post subject: udev kills my network connection Reply with quote

Okay, bit of a problem with my network setup

Some background
-not the cable (tested on another computer)
-not the network switch port (tested on another computer)
-not the adapter in my notebook (works in Windows XP, I dual boot)
-if I type "ifconfig eth0 up" at the command line, then the status light on my switch comes on
-when I reboot, after selecting my kernel from GRUB, the status light goes off while the udev section is loading
-I used this network connection to install Gentoo
-no idea how I broke things
-if I type "ifconfig eth0 up" then I still cannot emerge packages because DNS is failing (I assume fixing the earlier problem fixes this as well)
-typing lspci -n yields "02:00.0 0200: 11ab:4364 (rev 12)" for my Ethernet adapter
-typing "cd /usr/src/linux/drivers/net && grep -r 0x4364" (Courtesy of CareBear from #Gentoo) gives me "SysKonnect Yukon2 support (EXPERIMENTAL), CONFIG_SKY2" for the driver
-I tried both Y and M for this driver and no change
-I think I successfully connected to my network without this driver previously

If someone can please help me clear up my problems and get my adapter initializing properly I'd be very grateful!

For some reason it is not getting turned on when Gentoo loads, and it even turns it off when it boots.
I do not think this is a driver problem. The genkernel does not work either.
That means to me that it is a configuration problem that is kernel independent.
_________________
Those who are about to DIE, we SHALL LOOT YOU!
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Aug 16, 2007 12:28 pm    Post subject: Reply with quote

did you try :

Code:
echo sky2 >> /etc/modules.autoload.d/kernel-2.6

ps: not sure "sky2" is the name for your module, but should be that.

your dns is another problem. if you use dhcpd then check others threads for an answer.
if you use it static then as easy as
Code:
echo "nameserver X.X.X.X" >> /etc/resolv.conf

ps: yeah sure X.X.X.X should be a valid IP pointing to a dns server.
Back to top
View user's profile Send private message
Samalander
n00b
n00b


Joined: 15 Jul 2007
Posts: 27
Location: Abbotsford, BC, Canada

PostPosted: Thu Aug 16, 2007 8:40 pm    Post subject: Reply with quote

/etc/resolv.conf contains the IP addresses of the two openDNS servers.

/etc/conf.d/net contains:
config_eth0=( "nodns" )

However when I boot I get an error saying something like "the module nodns cannot be found/loaded." This wasn't a problem before and I think it is because udev isn't loading the hardware/firmware correctly or something similar. I know the hardware is fine because I can dual boot into XP and it works fine. I can watch the light on my network switch for that port, and it goes out after I make a GRUB selection and during the udev section.

Seeing as udev is responsible for device handling, it is suspect to me as the culprit.

I can also try a static IP, I will do that when I get home.
_________________
Those who are about to DIE, we SHALL LOOT YOU!
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Aug 17, 2007 12:24 am    Post subject: Reply with quote

well as the error state "nodns is a module", it's pretty clear that dhcpd or the net script think "nodns" is a module to load instead of a command to gives to dhcpd

Check the forum for howto pass the correct parameter to dhcpd, many threads talk about it.
Not much help from me as i never used dhcpd.
Back to top
View user's profile Send private message
Samalander
n00b
n00b


Joined: 15 Jul 2007
Posts: 27
Location: Abbotsford, BC, Canada

PostPosted: Fri Aug 17, 2007 5:43 am    Post subject: Reply with quote

Sorry I was typing from memory. Here is the end of my system boot, and then my config files:

INIT: Entering runlevel: 3
*Starting syslog-ng . . . [ok]
*Starting eth0
*[tab]Bringing up eth0
*[tab][tab]nodns
*[tab][tab]No loaded modules provide "nodns" (nodns_start) [!!]
*ERROR: cannot start netmount as net.eth0 could not start
*Starting local . . . [ok]

# /etc/resolv.conf
nameserver 208.67.222.222

# /etc/conf.d/net
config_eth0=( "nodns" )

# /etc/modules.autoload.d/kernel-2.6
lcd
mii
sky2


I tried a static ip, no bones. I'm going to do some reading on udev and see if I can figure out how it works.
_________________
Those who are about to DIE, we SHALL LOOT YOU!
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