You are not logged in.

#26 2005-07-20 22:41:38

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,432
Website

Re: Map wifi card to specific interface BUT...

Lesson learned!  Slap me with a kipper!

Make sure you use the MAC address you obtain from udevinfo (as above), because it is case sensitive. Be careful when using utilities such as ifconfig as they will capitalize the letters

All my settings in mactab were with MAC addresses from ifconfig! and lo and behold the capitalization was the cause!

Offline

#27 2005-07-20 23:00:00

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,432
Website

Re: Map wifi card to specific interface BUT...

ahhh and the magical mac address

Before ifconfig up

  looking at class device '/sys/class/net/wlan0':
    SUBSYSTEM=="net"
    SYSFS{addr_len}=="6"
    SYSFS{address}=="00:30:b4:00:00:00"
    SYSFS{broadcast}=="ff:ff:ff:ff:ff:ff"
    SYSFS{features}=="0x0"
    SYSFS{flags}=="0x1002"
    SYSFS{ifindex}=="15"
    SYSFS{iflink}=="15"
    SYSFS{mtu}=="1500"
    SYSFS{tx_queue_len}=="1000"
    SYSFS{type}=="1"
    SYSFS{weight}=="0"

After ifconfig up

  looking at class device '/sys/class/net/wlan0':
    SUBSYSTEM=="net"
    SYSFS{addr_len}=="6"
    SYSFS{address}=="00:09:5b:e8:df:62"
    SYSFS{broadcast}=="ff:ff:ff:ff:ff:ff"
    SYSFS{carrier}=="1"
    SYSFS{features}=="0x0"
    SYSFS{flags}=="0x1023"
    SYSFS{ifindex}=="15"
    SYSFS{iflink}=="15"
    SYSFS{mtu}=="1500"
    SYSFS{tx_queue_len}=="1000"
    SYSFS{type}=="1"
    SYSFS{weight}=="0"

Thanks for the link lanrat - I have working udev rules now.  They work Z0-custom but not 00-custom so i think you are right about the hotplug thing smile

Offline

#28 2005-07-21 00:42:02

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Map wifi card to specific interface BUT...

*slapping Dibble with a kipper :-D

http://bbs.archlinux.org/viewtopic.php? … e&start=15

Offline

Board footer

Powered by FluxBB