I am actually one step closer.

With the following I can get the device-name "axge0", but I don't know how to 
create
a usable NIC interface name for that.

attach 1000 {
    device-name "axge[0-9]+";
    match "vendor" "0x0b95";
    match "product" "0x1790";
    match "sernum" "0000249B0DE00C";
    action "logger DEVICE NAME IS: $device-name";
};

Dec  4 06:41:39 gateway1 devd: Executing 'logger DEVICE NAME IS: axge0'
Dec  4 06:41:39 gateway1 martin: DEVICE NAME IS: axge0

What action would I then take to create a usable device for ifconfig?

Doing this doesn't work:

  # ifconfig axge0 name lan1 inet 192.168.1.1 netmask 255.255.255.0
  ifconfig: interface axge0 does not exist

What can I do from here?

Kind regards.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to