Loading ...
Sorry, an error occurred while loading the content.

Re: [nslu2-linux] AX8817X

Expand Messages
  • Gordon Farquharson
    ... On Debian/NSLU2, one would assign interfaces to ethernet adapters based on the MAC addresses listed in /etc/udev/rules.d/z25_persistent-net.rules. Here is
    Message 1 of 2 , Dec 31, 2006
    • 0 Attachment
      On 12/30/06, Alberto Cortesi <albertocortesi@...> wrote:

      > 6) Well! Now I restart the system, and the network card is swiched (I
      > guess by enumerator)... no one card reply to a ping... it's all death!!!

      On Debian/NSLU2, one would assign interfaces to ethernet adapters
      based on the MAC addresses listed in
      /etc/udev/rules.d/z25_persistent-net.rules. Here is an example where
      eth0 is the NSLU2 built-in ethernet adpater and eth1 is a USB200M.

      $ cat /etc/udev/rules.d/z25_persistent-net.rules
      # This file was automatically generated by the /lib/udev/write_net_rules
      # program, probably run by the persistent-net-generator.rules rules file.
      #
      # You can modify it, as long as you keep each rule on a single line.
      # MAC addresses must be written in lowercase.

      # Built-in ethernet adapter
      SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0F:66:7C:D8:B5",
      NAME="eth0"

      # USB device 13b1:0018 (asix)
      SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:14:bf:fe:2a:4e",
      NAME="eth1"

      I'm not sure if SLugOS/BE uses udev though...

      Gordon

      --
      Gordon Farquharson
    Your message has been successfully submitted and would be delivered to recipients shortly.