[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#488267: Should add hostap modules



Frans Pop wrote:

You missed my point. There were still errors in the line I last suggested.
The correct syntax is: ATTR{type}=="1"

Your "second" line still has: ATTR{type}=1

Many apologies. I really thought I had checked by lining up the old and the new line beneath each other in an editor, but I must have compared the wrong lines. It's obvious when you point it out, of course. Doesn't help that I'm not using email on the machine we are discussing, but relying on ssh'ing in ... with interfaces going up&down too...

At long last, YES, your workaround works:
Having edited z25_persistent-net.rules to
# PCI device 0x8086:0x1031 (e100)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="08:00:46:77:ce:be", NAME="eth0"

# PCI device 0x1260:0x3873 (orinoco_pci)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:d0:59:bd:d5:c5", ATTR{type}=="1", NAME="eth1"

then un&reloading the hostap_pci module does indeed lead to
:~$ ls /sys/class/net
eth0  eth1  lo  wifi0
and z25_persistent-net.rules is unchanged (no added wlan0 rule this time). And eth1 can be made to come up properly.

Whew.  Sorry to have been around the houses on this.

I'd be grateful if at some stage you could explain how the renaming to wlan0_rename happens.

Do you need any more diagnostics?

Cheers,

Barry



Reply to: