hostapd and prism54
Nico Wallmeier
Nico.Wallmeier
Mon Jun 13 02:04:38 PDT 2005
Hello,
I wrote:
> I've problems starting hostapd with a prism54 card. Which versions of
> hostapd and prism54 driver should I use? I've tested hostapd 0.3.7 as
> well as 0.4.1 and prism54 1.2 as well as the latest svn version. When I
> start hostapd I get the following messages:
I've just tested the latest stable version 0.3.9 with the same result.
> hostapd -dd /etc/wlan/hostapd-eth1.conf
> Configuration file: /etc/wlan/hostapd-eth1.conf
> Opening raw packet socket for ifindex 3
> ioctl(SIOCGIFINDEX): No such device
> prism54 driver initialization failed.
> rmdir[ctrl_interface]: No such file or directory
>
> And my configuration file:
> interface=eth1
> driver=prism54
> logger_syslog=-1
> logger_syslog_level=2
> logger_stdout=-1
> logger_stdout_level=2
> dump_file=/tmp/hostapd.dump
> ctrl_interface=/var/run/hostapd
> ctrl_interface_group=0
> ssid=test
> macaddr_acl=1
> accept_mac_file=/etc/wlan/hostapd-eth1.macs
> auth_algs=3
> wpa=3
> wpa_passphrase=onlyatestonlyatest
> wpa_key_mgmt=WPA-PSK
> wpa_pairwise=CCMP TKIP
The strace output is the following (the relevant part of it):
socket(PF_PACKET, SOCK_RAW, 36488) = 3
ioctl(3, 0x8933, 0xbffffbac) = 0
bind(3, {sin_family=AF_PACKET, proto=0x888e, if3, pkttype=0, addr(0)={0,
}, 20) = 0
ioctl(3, 0x8927, 0xbffffbac) = 0
socket(PF_PACKET, SOCK_RAW, 768) = 4
ioctl(4, 0x8933, 0xbffffbac) = -1 ENODEV (No such device)
dup(2) = 5
fcntl64(5, F_GETFL) = 0x8001 (flags
O_WRONLY|O_LARGEFILE)
close(5) = 0
write(2, "ioctl(SIOCGIFINDEX): No such dev"..., 36ioctl(SIOCGIFINDEX):
No such device
) = 36
Does anyone have an idea?
Thank you,
Nico
More information about the Hostap
mailing list