forcing an interface to be athX

Joel Goguen jgoguen at jgoguen.ca
Wed Nov 21 22:30:52 UTC 2007


David Vincent wrote:
> Hi List.
> 
> I have a machine here which has seen three wireless adapters and now 
> that I have found one which works in the internal wifi slot for various 
> reasons I want to force it to be named "ath0" not "ath2" when the 
> machine comes up.
> 
> /etc/iftab seems to be what I need to do this but it isn't having any 
> effect - anyone know an easier way to accomplish this on Gutsy?  Is 
> iftab being ignored because I am using NetworkManager?  How can I 
> "purge" the settings Ubuntu has stored on ath0 and ath1?
> 
> Here's my /etc/iftab:
> 
> ath0 MAC 00:0B:6B:4C:D2:B1
> eth0 MAC 00:09:6B:30:FA:EC
> 
> I was looking at this page for help with iftab:
> 
> http://linux.die.net/man/5/iftab
> 
> -d
> 
> 
At the very top of /etc/iftab:

# This file is no longer used and has been automatically replaced.
# See /etc/udev/rules.d/70-persistent-net.rules for more information.

-- 
Joel Goguen
http://jgoguen.ca/
The goal of Computer Science is to build something that
will last at least until we've finished building it.




More information about the ubuntu-users mailing list