Gentoo Archives: gentoo-user

From: Jason Carson <jason@×××××××××××.ca>
To: gentoo-user@l.g.o
Subject: [gentoo-user] WPA encryption on my wireless network
Date: Sat, 19 Jul 2008 03:17:18
Message-Id: 11da3d0434feb84f68b4b5bdc907d15c.squirrel@jasoncarson.ca
1 I have installed and configured my wirelss network with MadWifi and
2 wpa_supllicant. However it is unencrypted. What do I have to do to setup
3 WPA encryption? I have followed this
4 (http://gentoo-wiki.com/HOWTO_Building_a_Wireless_Access_Point#WPA_Encryption)
5 but when I run...
6
7 hostapd -dd /etc/hostapd/hostapd.conf
8
9 I get this...
10
11 Configuration file: /etc/hostapd/hostapd.conf
12 madwifi_set_iface_flags: dev_up=0
13 Using interface ath0 with hwaddr 00:19:5b:80:f2:d8 and ssid 'CarsonNet'
14 Flushing old station entries
15 madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
16 ioctl[unknown???]: Invalid argument
17 Could not connect to kernel driver.
18 Deauthenticate all stations
19 rmdir[ctrl_interface]: No such file or directory
20 madwifi_set_privacy: enabled=0
21 madwifi_set_iface_flags: dev_up=0
22
23 When I run this...
24
25 /etc/init.d/hostapd start
26
27 I get this...
28
29 * Starting hostapd ...
30 Configuration file: /etc/hostapd/hostapd.conf
31 Using interface ath0 with hwaddr 00:19:5b:80:f2:d8 and ssid 'CarsonNet'
32 Flushing old station entries
33 ioctl[unknown???]: Invalid argument
34 Could not connect to kernel driver.
35 Deauthenticate all stations
36 rmdir[ctrl_interface]: No such file or directory
37 [ !! ]
38
39
40 So what does this mean?
41
42 ioctl[unknown???]: Invalid argument
43
44 I can't get hostapd to startup until this is fixed.
45
46
47 --
48 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] WPA encryption on my wireless network Dale <dalek1967@×××××××××.net>