[oclug] network issue with Debian Woody

Dennis Gardner dman at lanhouse.ca
Wed Jun 30 09:57:35 EDT 2004


On Wed, 30 Jun 2004, Christian Mautner wrote:

> man nameif
>  
> NAME
>        nameif - name network interfaces based on MAC addresses
>  
> SYNOPSIS
>        nameif [-c configfile] [-s]
>        nameif [-c configfile] [-s] {interface macaddress}
>  
> DESCRIPTION
>        nameif renames network interfaces based on mac addresses. When
>        no arguments are given /etc/mactab is read.  Each line of it
>        contains an interface name and a Ethernet MAC address. Comments
>        are allowed start- ing with #.  Otherwise the interfaces
>        specified on the command line are processed.  nameif looks for
>        the interface with the given MAC address and renames it to the
>        name given.
>  

Thanks very much for that command.  Looks like I can force the cards to 
whatever I want.  However, do you happen to know why they come up the 
order they do?  According to the info I got from Milan Budimirovic the 
order within /etc/modules is important.  Do drivers that are compiled in 
take priority over modules?  Suppose both card drivers were included in 
the kernel, which one would come up as eth0 and which one would come up as 
eth1 in that case?

Thanks for the help,

Dennis





More information about the OCLUG mailing list