View previous topic :: View next topic |
Author |
Message |
Samalander n00b
Joined: 15 Jul 2007 Posts: 27 Location: Abbotsford, BC, Canada
|
Posted: Thu Aug 16, 2007 6:43 am Post subject: udev kills my network connection |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Aug 16, 2007 12:28 pm Post subject: |
|
|
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 |
|
|
Samalander n00b
Joined: 15 Jul 2007 Posts: 27 Location: Abbotsford, BC, Canada
|
Posted: Thu Aug 16, 2007 8:40 pm Post subject: |
|
|
/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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri Aug 17, 2007 12:24 am Post subject: |
|
|
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 |
|
|
Samalander n00b
Joined: 15 Jul 2007 Posts: 27 Location: Abbotsford, BC, Canada
|
Posted: Fri Aug 17, 2007 5:43 am Post subject: |
|
|
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 |
|
|
|