[plug] no eth0, but drivers load...
Matt Kemner
zombie at penguincare.com.au
Thu Dec 18 12:46:25 WST 2008
On Wed, 17 Dec 2008, quoth Daniel Pittman:
> (I don't actually know how to rename the NIC without a reboot any more.
> Isn't that kind of sad? It used to be ifrename or similar, but they
> have gone away and I don't know how to trigger udev to reprocess the
> rule and rename the device for me.)
ifconfig eth2 down
ip link set eth2 name eth0
ifconfig eth0 up
I use this command in a custom /etc/ppp/ip-up.d/ script on servers with
multiple DSL connections - set the interface name to $PPP_IPPARAM so
instead of ppp0, ppp1 etc I get "iinet", "westnet" etc
Makes firewall rules etc much easier
- Matt
More information about the plug
mailing list