CyberLine
18.05.09, 09:52
Holla zusammen,
ich versuche nun schon einige Tage, meinen Lenny Server zu Hause als Wlan Router zu betreiben. Da ich mit Madwifi ebensowenig Erfolg hatte wie mit dem ath5k Modul, habe ich nach einem Google Post den 2.6.29-2-amd64 SID Kernel installiert, welcher das ath9k Modul bereitstellt.
Benutzt wird dazu eine D-Link Karte:
home:~# lspci | grep Atheros
01:09.0 Network controller: Atheros Communications Inc. AR5416 802.11abgn Wireless PCI Adapter (rev 01)
home:~# lsmod | grep host
hostap_pci 46912 0
hostap 97144 1 hostap_pci
lib80211 7412 2 hostap_pci,hostap
Um die Karte als Master (AP) betreiben zu können, benutze ich hostapd, welcher folgende Fehler bringt:
home:~# /usr/sbin/hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
Could not enable hostapd mode for interface wlan0
hostap driver initialization failed.
wlan0: Unable to setup interface.
Flushing old station entries
Deauthenticate all stations
rmdir[ctrl_interface]: No such file or directory
Laut google rührt das daher, dass folgendes Fehlschlägt:
home:~# prism2_param wlan0 hostapd=1
wlan0 no private ioctls.
Interface 'wlan0' does not seem to support prism2_param command.
Wie also kriege ich wlan0 dazu, dass es ioctls hat ?
Achso evtl. hilft das noch, kommt nach dem Laden von ath9k im dmesg:
[58492.460385] ath9k: 0.1
[58492.892925] wmaster0 (ath9k): not using net_device_ops yet
[58492.893100] phy2: Selected rate control algorithm 'ath9k_rate_control'
[58492.893121] wlan0 (ath9k): not using net_device_ops yet
[58492.894157] Registered led device: ath9k-phy2:radio
[58492.894188] Registered led device: ath9k-phy2:assoc
[58492.894220] Registered led device: ath9k-phy2:tx
[58492.894253] Registered led device: ath9k-phy2:rx
[58492.894277] phy2: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xffffc20000ce0000, irq=10
ich versuche nun schon einige Tage, meinen Lenny Server zu Hause als Wlan Router zu betreiben. Da ich mit Madwifi ebensowenig Erfolg hatte wie mit dem ath5k Modul, habe ich nach einem Google Post den 2.6.29-2-amd64 SID Kernel installiert, welcher das ath9k Modul bereitstellt.
Benutzt wird dazu eine D-Link Karte:
home:~# lspci | grep Atheros
01:09.0 Network controller: Atheros Communications Inc. AR5416 802.11abgn Wireless PCI Adapter (rev 01)
home:~# lsmod | grep host
hostap_pci 46912 0
hostap 97144 1 hostap_pci
lib80211 7412 2 hostap_pci,hostap
Um die Karte als Master (AP) betreiben zu können, benutze ich hostapd, welcher folgende Fehler bringt:
home:~# /usr/sbin/hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
Could not enable hostapd mode for interface wlan0
hostap driver initialization failed.
wlan0: Unable to setup interface.
Flushing old station entries
Deauthenticate all stations
rmdir[ctrl_interface]: No such file or directory
Laut google rührt das daher, dass folgendes Fehlschlägt:
home:~# prism2_param wlan0 hostapd=1
wlan0 no private ioctls.
Interface 'wlan0' does not seem to support prism2_param command.
Wie also kriege ich wlan0 dazu, dass es ioctls hat ?
Achso evtl. hilft das noch, kommt nach dem Laden von ath9k im dmesg:
[58492.460385] ath9k: 0.1
[58492.892925] wmaster0 (ath9k): not using net_device_ops yet
[58492.893100] phy2: Selected rate control algorithm 'ath9k_rate_control'
[58492.893121] wlan0 (ath9k): not using net_device_ops yet
[58492.894157] Registered led device: ath9k-phy2:radio
[58492.894188] Registered led device: ath9k-phy2:assoc
[58492.894220] Registered led device: ath9k-phy2:tx
[58492.894253] Registered led device: ath9k-phy2:rx
[58492.894277] phy2: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xffffc20000ce0000, irq=10