View previous topic :: View next topic |
Author |
Message |
davidc n00b
Joined: 30 Nov 2003 Posts: 60
|
Posted: Sat Jun 05, 2004 10:21 pm Post subject: Different device names for wireless and wired |
|
|
I have a D-Link USB wired LAN adapter and a PCMCIA wireless adapter. Both work fine but both use eth0 which means I can't have separate configurations for each, such as DHCP for wired and fixed for wireless.
I'm using modules for both and hotplug deals with it fine, is it possible to give them different names so I can use different init.d scripts, such as net.eth0/net.wlan0? |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Sat Jun 05, 2004 11:09 pm Post subject: |
|
|
yes. you can either use udev or nameif. _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
davidc n00b
Joined: 30 Nov 2003 Posts: 60
|
Posted: Mon Jun 07, 2004 2:35 pm Post subject: |
|
|
dsd wrote: | yes. you can either use udev or nameif. |
I've emerged udev following the Gentoo HOWTO but I still seem to have devfsd running. I have baselayout 1.8.12 which was the default when I did a stage 3 install a few days ago.
Should I still see devfsd being run? If so, I wont worry but which is actually "in charge" of creating the /dev/ entries?
Code: | davidvaio dev # ps aux | grep dev
root 120 0.0 0.4 1832 912 ? S 15:29 0:00 /sbin/devfsd /dev
root 4726 0.0 0.1 1448 332 ? S< 15:30 0:00 udevd
root 6390 0.0 0.2 1520 476 pts/0 S 15:34 0:00 grep dev |
|
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Mon Jun 07, 2004 4:45 pm Post subject: |
|
|
no, you should not. you should take devfs out of your kernel, or boot with the following kernel parameters:
devfs=nomount gentoo=nodevfs _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
|