> Dear List,
> 
> since updating the system (udev-197) I cannot do my burn-in-tests as I used 
> to.  I've been trying around with and without udev-persistent-netdev-names. 

i read news(gentoo)
2013-01-23  Upgrading udev from 171 (or older) to 197
 ....
- The case of predictable network interface names; if the file
  /etc/udev/rules.d/70-persistent-net.rules is being used for renaming
  network interface names to already existing names, then you need to
                              ~~~~~~~~~~~~~~~~~~~~~~~
  read following bug[1] because it's no longer possible. This won't
  be a problem with the new predictable network interface name scheme[2].
  ....

1. copy /lib/udev/rules.d/80-net-name-slot.rules
   to /etc/udev/rules.d/.
   delete  /etc/udev/rules.d/80-net-name-slot.rules
   is same effect but if udev is installed again then new
   /etc/udev/rules.d/80-net-name-slot.rules
   is installed.

   You have eth name except eth*.(not existing names)
2. make initscript in /etc/init.d/{ethreassignment}.
e.g.

depend() {
    before *
}

start() {
#    cat /proc/net/dev
#    bnet=`cat /proc/net/dev | grep enp|cut -f1 -d:`
#    for net in $bnet
#    do
#        echo "$net   " `ifconfig $net | grep ether`
#    done

    /sbin/nameif eth0 "00:25:90:57:6d:a7"
    /sbin/nameif eth1 "00:25:90:57:6d:a6"

#    bnet=`cat /proc/net/dev | grep eth|cut -f1 -d:`
#    for net in $bnet
#    do
#        echo "$net   " `ifconfig $net | grep ether`
#    done
}

3. check by rc-update

 net.eth0 | boot
 net.eth1 | boot

is displaied then add {ethreassignment} like;

# rc-update add {ethreassignment} boot

5. boot again.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to