Hello,
I try to setup a meshcube. I use the backfire branch (10.03, r23591) and
can not use this meshcube as access point (or client).

ap example:
### /etc/config/wireless ###

config wifi-device wlan0
        option type     prism2
        option channel  6


config wifi-iface
        option 'device' 'wlan0'
        option 'network'        'lan'
        option 'mode'   'ap'
        option 'ssid' 'sdasdasd'
        option 'encryption' 'psk2'
        option key 'mysecretkey'

### /etc/config/wireless ###

If I run wifi up, then I get follow error messages:

### snip ###
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
Configuration file: /var/run/hostapd-wlan0.conf
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
Using interface wlan0 with hwaddr 00:90:4b:0a:df:38 and ssid 'sdasdasd'
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
### snap ###


### /var/run/hostapd-wlan0.conf ###
driver=hostap
interface=wlan0

channel=6
wpa_passphrase=mysecretkey
wpa=2
wpa_pairwise=CCMP
ssid=sdasdasd
bridge=br-lan
### /var/run/hostapd-wlan0.conf ###

I updated the prism firmware to follow version:

### dmesg | grep wifi ###
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x0
wifi0: NIC: id=0x8013 v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.7.4
wifi0: Intersil Prism2.5 PCI: mem=0x40000000, irq=9
wifi0: registered netdevice wlan0

### dmesg | grep wifi ###

Do I forget anything to configure?

Best regards,
thomas polnik.
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to