I have installed and configured my wirelss network with MadWifi and
wpa_supllicant. However it is unencrypted. What do I have to do to setup
WPA encryption? I have followed this
(http://gentoo-wiki.com/HOWTO_Building_a_Wireless_Access_Point#WPA_Encryption)
but when I run...
hostapd -dd /etc/hostapd/hostapd.conf
I get this...
Configuration file: /etc/hostapd/hostapd.conf
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr 00:19:5b:80:f2:d8 and ssid 'CarsonNet'
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
ioctl[unknown???]: Invalid argument
Could not connect to kernel driver.
Deauthenticate all stations
rmdir[ctrl_interface]: No such file or directory
madwifi_set_privacy: enabled=0
madwifi_set_iface_flags: dev_up=0
When I run this...
/etc/init.d/hostapd start
I get this...
* Starting hostapd ...
Configuration file: /etc/hostapd/hostapd.conf
Using interface ath0 with hwaddr 00:19:5b:80:f2:d8 and ssid 'CarsonNet'
Flushing old station entries
ioctl[unknown???]: Invalid argument
Could not connect to kernel driver.
Deauthenticate all stations
rmdir[ctrl_interface]: No such file or directory
[ !! ]
So what does this mean?
ioctl[unknown???]: Invalid argument
I can't get hostapd to startup until this is fixed.
--
gentoo-user@lists.gentoo.org mailing list