Re: Udev persistent net rules - how do they work?



On Sat, 21 Apr 2007 09:58:31 +0100
Alan Chandler <alan@xxxxxxxxxxxxxxxxxxxxx> wrote:

[...]

When interfaces apparently appear out of nowhere, I suspect
hotplug/udev, and in /etc/udev there is a script called

persistent-net-generator.rules

which in its comments says it is storing the created interfaces so
that they stay the same across reboots. But I can't figure out how
its supposed to work. Can someone explain what it is doing, and if
so how I can tell if this is the cause of my problem.

Thanks.

The script persistent-net-generator.rules generates the
file /etc/udev/rules.d/z25_persistent-net.rules. There you will see how
udev maps a hardware address to a logical interface name such as eth0.
Therefore you will need to swap around the names in that file just as
you have done in /etc/network/interfaces.

--

Liam


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: IPS-Builder
    ... I' d like to share with all, this script made by me based on root0 ... You need 3 network interfaces (One for management and two for the bridge) ... -This have a management interface. ...
    (Focus-IDS)
  • RE: forwarding logs
    ... Same with another script. ... >> You should not need to cange anything in the log script itself. ... >> Reuben D. Budiardja ...
    (RedHat)
  • RE: forwarding logs
    ... Same with another script. ... >> You should not need to cange anything in the log script itself. ... >> Reuben D. Budiardja ...
    (RedHat)
  • brute force ssh login attempts and how to Disrupt them
    ... My head ... and I heard a rhythmic tick-tock coming from ... back, the idiot was gone so apparently, the script gives up ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: CD to acc
    ... I m learning python, so thought i should write small py script to ... os.system (cmd) ... Run this script, while you are in the mounted CD ROM dir... ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)