Prism54 support

Christoph Kling ml at familiekling.de
Mon May 12 09:31:45 EDT 2008


Hello,

I cannot start hostapd for my prism54 card (driver from linux-2.6.25.2). It cannot find the device:


Hostapd 0.6.3:

Configuration file: hostapd.conf
ctrl_interface_group=0
Opening raw packet socket for ifindex 12
ioctl(SIOCGIFINDEX): No such device
prism54 driver initialization failed.
eth2: Unable to setup interface.
Flushing old station entries
Deauthenticate all stations
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=3 eloop_data=0x80974a0 user_data=(nil) handler=0x8076e20
ELOOP: remaining socket: sock=4 eloop_data=0x8097b58 user_data=(nil) handler=0x8076970


Same with Hostapd 0.5.1:

gamma:/usr/src/linux# hostapd -dd /etc/hostapd/hostapd.conf 
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
Opening raw packet socket for ifindex 12
ioctl(SIOCGIFINDEX): No such device
prism54 driver initialization failed.
eth2: Unable to setup interface.
Flushing old station entries
Deauthenticate all stations


I use the prism54 driver from Linux Kernel 2.6.25.2.


This is the corresponding part of a strace (with hostapd 0.6.3):

ioctl(3, SIOCGIFINDEX, {ifr_name="eth2", ifr_index=12}) = 0
write(1, "Opening raw packet socket for if"..., 41Opening raw packet socket for ifindex 12
) = 41
bind(3, {sa_family=AF_PACKET, proto=0x888e, if12, pkttype=PACKET_HOST, addr(0)={0, }, 20) = 0
ioctl(3, SIOCGIFHWADDR, {ifr_name="eth2", ifr_hwaddr=00:01:36:07:13:23}) = 0
socket(PF_PACKET, SOCK_RAW, 768)        = 4
ioctl(4, SIOCGIFINDEX, {ifr_name="eth2ap", ???}) = -1 ENODEV (No such device)
dup(2)                                  = 5
fcntl64(5, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat64(5, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8068000
_llseek(5, 0, 0xbfd8466c, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(5, "ioctl(SIOCGIFINDEX): No such dev"..., 36ioctl(SIOCGIFINDEX): No such device
) = 36
close(5)                                = 0
munmap(0xb8068000, 4096)                = 0
write(1, "prism54 driver initialization fa"..., 38prism54 driver initialization failed.
) = 38


My system does not have an interface eth2ap. How can I create it or what could be the solution? Thank you!


Regards,
Christoph Kling

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 183 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20080512/1326ab4c/attachment-0001.pgp 


More information about the HostAP mailing list