Thanks for your reply!I'm sure that i don't have eth1,or net device else.
open /etc/udev/persistent-net-generator.rules, below are the contents!
**********************************************
# These rules generate rules to keep network interface names unchanged
# across reboots write them to /etc/udev/rules.d/z25_persistent-net.rules.
#
# The default name for this file is z45_persistent-net-generator.rules.
ACTION!="add", GOTO="persistent_net_generator_end"
SUBSYSTEM!="net", GOTO="persistent_net_generator_end"
# ignore the interface if a name has already been set
NAME=="?*", GOTO="persistent_net_generator_end"
# ignore "secondary" raw interfaces of the madwifi driver
KERNEL=="ath*", ATTRS{type}=="802", GOTO="persistent_net_generator_end"
# provide nice comments for the generated rules
SUBSYSTEMS=="pci", \
ENV{COMMENT}="PCI device $attr{vendor}:$attr{device}"
SUBSYSTEMS=="usb", \
ENV{COMMENT}="USB device $attr{idVendor}:$attr{idProduct}"
SUBSYSTEMS=="ieee1394", \
ENV{COMMENT}="Firewire device $attr{host_id}"
SUBSYSTEMS=="xen", \
ENV{COMMENT}="Xen virtual device"
ENV{COMMENT}=="", \
ENV{COMMENT}="Unknown $env{SUBSYSTEM} device ($env{DEVPATH})"
ATTRS{driver}=="?*", \
ENV{COMMENT}="$env{COMMENT} ($attr{driver})"
# ignore interfaces without a driver link like bridges and VLANs
KERNEL=="eth*|ath*|wlan*|ra*|sta*", DRIVERS=="?*",\
IMPORT{program}="write_net_rules $attr{address}"
ENV{INTERFACE_NEW}=="?*", NAME="$env{INTERFACE_NEW}"
LABEL="persistent_net_generator_end"
**********************************************
It says that,these rules generate rules to keep network interface names
unchanged.
what it say makes me believe the name of net device would not be changed,But
i cannot
get useful information from it, Can U help me please, i am a beginner, look
forward to ur help,i really appreciate it!
On Mon, Mar 29, 2010 at 4:18 PM, Andrea Gasparini <[email protected]>wrote:
> Hi
>
> > so,I do not understand.please help me!
>
> Be sure that you don't have also an eth1, or something else.
> If the MAC address changes (in the context of the same filesystem) udev
> will give your net device another name. ( let's see /etc/udev/persistent-
> net-generator.rules )
>
> bye
> --
> Andrea Gasparini
> ---- ImaVis S.r.l. ----
> web: www.imavis.com
>
--
Best Wishes!
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source