Author Topic: Hostap Problems  (Read 3522 times)

mokawi

  • Newbie
  • *
  • Posts: 6
    • View Profile
Hostap Problems
« on: January 10, 2007, 12:25:24 am »
Here's the deal: I want to get that SMC 2642W card of mine working under OZ. It used to work fine under the Sharp ROM, but now that I switched to OZ/GPE in order to get it to work with WPA, I can't get nothing to work. Obviously, I tried working it out with wpa-supplicant, but even before that, I wouldn't get much working (meaning nothing except a non-blinking green led—which is close to nothing).

I heard you had to make it work with hostap, so I bound the card with hostap in /etc/pcmcia/config, and added this because there was no hostap driver initially:

Code: [Select]
device "hostap"
  class "network" module "hostap"
I found that on another linux site. I have some doubts as to whether it can be efficient, but I have yet to find a good explanation as to how I should configure hostap. I have noticed some people talking of a hostap.conf file, but there's nothing like this here.

Here's what I get when I try to launch wpa_supplicant:

Code: [Select]
root@collie:/etc/pcmcia# wpa_supplicant -Dhostap -iwlan0 -c/etc/wpa_supplicant.conf
ioctl[SIOCSIWPMKSA]: No such device
ioctl[SIOCSIWMODE]: No such device
Could not configure driver to use managed mode
ioctl[SIOCGIFFLAGS]: No such device
Could not set interface 'wlan0' UP
ioctl[SIOCGIWRANGE]: No such device
ioctl[SIOCGIFINDEX]: No such device
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
Failed to disable WPA in the driver.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCGIFFLAGS]: No such device

The wpa_supplicant.conf is already configured to connect a WEP network—which is why, I guess the output says it's trying to disable WPA at a point.

Thanks a lot for the help!