[ltp] eth0 or eth1 active ?
Vo^ Danh
linux-thinkpad@linux-thinkpad.org
Wed, 1 Feb 2006 00:34:59 +0700
2006/1/31, Richard <rn214@hermes.cam.ac.uk>:
>
> On Tue, 31 Jan 2006, Torsten Wolf wrote:
>
> > * Richard Neill <rn214@hermes.cam.ac.uk> [06-01-31 13:08]:
> >> This is the same stupid problem of ethX not being permanently mapped t=
o
> >> MAC addresses that seems to plague everyone from time to time.
> > [...]
> >> The proper way to solve it is to name the interfaces with a udev rule.
> >> http://www.reactivated.net/writing_udev_rules.html
> >
> > Another possible solution is the package ifrename:
> >
> > 8< snip
> >
>
> Which of these (udev rule or ifrename) is "The Right Way" to do it?
> I suspect the former, but I may well be incorrect.
>
> Richard
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>
just use ifrename, your config will become simply. E.g. Just add thing like
wlan* mac 00:02:33:12:45:DF
into your /etc/iftab.
Also remember to `ln -sf /sbin/ifrename /usr/sbin/ifrename`, because
some script use /usr base path instead of /.
--
sOs : say open source.