Networking Forums

Networking Forums > Computer Networking > Linux Networking > Change of NIC naming

Reply
Thread Tools Display Modes

Change of NIC naming

 
 
Mikael Vestergaard
Guest
Posts: n/a

 
      09-01-2005, 07:30 AM
Hello group

Normally I have two NICs onborad my motherboard - eth0 and eth1
From time og time, I want to have a WLAN USB dongle connected to my
machine as well.

When conencting the USB dongle, this automaticly gets named eth0, and my
normal eth0 and eth1 will be called eth1 and eth2. This way, my standard
network configuration will be no good.

Can I force the USB WLAN card to get eth2 insted of eth0 ???

I using Mandrake 10.0, kernel version 2.6


Mikael Vestergaard
 
Reply With Quote
 
 
 
 
Allen McIntosh
Guest
Posts: n/a

 
      09-01-2005, 03:13 PM
> When conencting the USB dongle, this automaticly gets named eth0, and my
> normal eth0 and eth1 will be called eth1 and eth2. This way, my standard
> network configuration will be no good.
> Can I force the USB WLAN card to get eth2 insted of eth0 ???
> I using Mandrake 10.0, kernel version 2.6


(I don't use Mandrake, so take what I write with a large dose of salt.)

I can think of two strategies you can use here: try to get the drivers
for the onboard stuff to load before the USB driver, or bind the
interfaces to specific MAC addresses, if MDK has the software to do it.

I'm assuming you've tried messing with /etc/modules.conf - labeling the
USB card eth2 or something - and were unsuccessful. (I wouldn't expect
this to work, but it's worth as shot in the interest of completeness).

If you build and install your own kernel you could make the driver for
the onboard NICs built in instead of a module.

You could insmod the driver for the onboard NIC early in the boot process.

Newer systems have the ability to bind interfaces to MAC addresses. I
don't know if MDK 10.0 has this or not. If you have "nameif" installed
(/sbin/nameif on the FC3 system I checked), then you should be able to
do this. FC3 lets you set HWADDR in the configuration script
(ifcfg-eth0 and cousins) or put the mapping in /etc/mactab. I've never
configured this myself, but I know it works because I've had to disable it.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Doain Naming George Schneider Windows Networking 4 03-28-2008 05:37 AM
Naming problem feudalac! Linux Networking 14 11-15-2006 01:29 PM
naming my intranet yunikan@gmail.com Linux Networking 5 03-18-2006 01:28 AM
Workgroup naming Lou Farraher Windows Networking 9 10-06-2005 11:49 AM
NT4 Naming Probs SW Windows Networking 6 12-09-2004 07:22 AM



1 2 3 4 5 6 7 8 9 10 11