[madwifi] wlan0 <-> ath0
Publié : mar. 01 févr. 2011, 11:06
Salut. Je viens de faire la mise à jour avec le kernel et aucun souci de ce coté. Par contre, les pilotes madwifi faisaient partis du lot et ... plus de wifi
Forum d'entraide ! Posez vos questions ici
https://forums.archlinux.fr/
Code : Tout sélectionner
J'ai renommé 75-persistent-net-generator.rules.optional en 75-persistent-net-generator.rules
Reboot qui m'a créé un 70-persistent-net.rules avec des règles udev
J'ai renommé 75-persistent-net-generator.rules en 75-persistent-net-generator.rule.optional
Code : Tout sélectionner
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x10de:0x054c (forcedeth)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:38:5c:0b:fc", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x168c:0x001c (ath_pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1d:d9:60:44:a6", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="ath*", NAME="ath0"
Code : Tout sélectionner
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1d:d9:60:44:a6", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="ath*", NAME="ath0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1d:d9:60:44:a6", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="ath0"
Code : Tout sélectionner
SUBSYSTEM=="net", ATTR{address}=="00:1d:d9:60:44:a6", NAME="wlan0"
à voirTroubleshooting
If you're having trouble getting the ath0 interface to show up on a regular ifconfig, but can see it if you do an ifconfig -a and nothing seems to be happening with wpa_supplicant, the solution (for some unknown reason) is to rename ath0 to wlan0. This is easily done by modifying the udev rule.
Upon the first probing of the ath_pci module, something resembling the following rule line should have been added /etc/udev/rules.d/z25_persistent-net.rules:All you need to do is change the "ath0" to "wlan0" and you're good to go. Bring down the interface, remove the module with rmmod ath_pci, run the command pkill wpa, remove /var/run/wpa_supplicant/ath0 if it's still there and reprobe the module. Hopefully that should get you working.Code : Tout sélectionner
# PCI device 0x168c:0x0024 (ath_pci) SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="<your mac address>", ATTR{type}=="1", NAME="ath0"