Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Different device names for wireless and wired
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
davidc
n00b
n00b


Joined: 30 Nov 2003
Posts: 60

PostPosted: Sat Jun 05, 2004 10:21 pm    Post subject: Different device names for wireless and wired Reply with quote

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
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sat Jun 05, 2004 11:09 pm    Post subject: Reply with quote

yes. you can either use udev or nameif.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
davidc
n00b
n00b


Joined: 30 Nov 2003
Posts: 60

PostPosted: Mon Jun 07, 2004 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Mon Jun 07, 2004 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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