Hello:
I'm trying to rule a Linksys wrt54G v2.2 with hostapd and it fails.
I have installed hostapd and madwifi via ipkg.
The error I have is this:
root@OpenWrt:/etc# hostapd -dd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
Configure bridge br-lan for EAPOL traffic.
madwifi_set_privacy: enabled=0
ioctl[IEEE80211_IOCTL_SETPARAM]: Operation not supported
set80211param: Failed to set parameter (op 13 arg 0)
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=18 WE(source)=18 enc_capa=0x0
wl0: IEEE 802.11 Fetching hardware channel/rate support not supported.
Flushing old station entries
Deauthenticate all stations
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=0
ioctl[IEEE80211_IOCTL_DELKEY]: Operation not supported
Segmentation fault
root@OpenWrt:/etc#
any idea?
thanks
my lsmod:
root@OpenWrt:/etc# lsmod
Module Size Used by Tainted: P
wlcompat 14944 0 (unused)
ath_pci 88176 0 (unused)
wlan_xauth 332 0 (unused)
wlan_wep 3740 0 (unused)
wlan_tkip 9580 0 (unused)
wlan_ccmp 5228 0 (unused)
wlan_acl 1628 0 (unused)
ath_rate_minstrel 7672 0 (unused)
ath_hal 270928 0 [ath_pci ath_rate_minstrel]
wlan_scan_sta 8140 0 (unused)
wlan_scan_ap 2140 0 (unused)
wlan 141584 0 [ath_pci wlan_xauth wlan_wep wlan_tkip wlan_ccmp wlan_acl ath_rate_minstrel wlan_scan_sta wlan_scan_ap]
ip_conntrack_tftp 1712 0 (unused)
ip_nat_irc 2336 0 (unused)
ip_conntrack_irc 3128 1
ip_nat_ftp 2960 0 (unused)
ip_conntrack_ftp 4272 1
ppp_async 7884 0 (unused)
ppp_generic 22300 0 [ppp_async]
slhc 6064 0 [ppp_generic]
wl 630776 0 (unused)
switch-robo 4540 0 (unused)
switch-core 4864 0 [switch-robo]
diag 25520 0 (unused)
My packages list is this:
root@OpenWrt:/etc# ipkg list_installed
base-files-brcm-2.4 - 10-9078 -
bridge - 1.0.6-1 -
busybox - 1.4.2-2 -
dnsmasq - 2.39-1 -
dropbear - 0.50-2 -
hostapd - 0.5.7-1 -
iptables - 1.3.7-1 -
kernel - 2.4.34-brcm-1 -
kmod-brcm-wl - 2.4.34+4.80.53.0-1 -
kmod-diag - 2+2.4.34-brcm-1 -
kmod-ipt-nathelper - 2.4.34-brcm-1 -
kmod-madwifi - 2.4.34+r2568-20070710-brcm-2 -
kmod-ppp - 2.4.34-brcm-1 -
kmod-pppoe - 2.4.34-brcm-1 -
kmod-switch - 2.4.34-brcm-1 -
kmod-wlcompat - 2.4.34+brcm-6 -
libgcc - 3.4.6-10 -
libopenssl - 0.9.8e-1 -
mtd - 5 -
nas - 4.80.53.0-1 -
nvram - 1 -
ppp - 2.4.3-8 -
ppp-mod-pppoe - 2.4.3-8 -
uclibc - 0.9.28-10 -
wireless-tools - 29-1 -
wlc - 4.80.53.0-1 -
zlib - 1.2.3-4 -
Done.
root@OpenWrt:/etc#
and my /etc/hostapd.conf :
interface=wl0
bridge=br-lan
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ssid=riki
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=1
wpa_passphrase=123456789
and my ifconfig:
root@OpenWrt:/etc# ifconfig
br-lan Link encap:Ethernet HWaddr 00:13:10:92:D6:12
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2734 errors:0 dropped:0 overruns:0 frame:0
TX packets:1476 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:199851 (195.1 KiB) TX bytes:365438 (356.8 KiB)
eth0 Link encap:Ethernet HWaddr 00:13:10:92:D6:12
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21828 errors:0 dropped:0 overruns:0 frame:0
TX packets:2486 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2631007 (2.5 MiB) TX bytes:493370 (481.8 KiB)
Interrupt:5
eth0.0 Link encap:Ethernet HWaddr 00:13:10:92:D6:12
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2732 errors:0 dropped:0 overruns:0 frame:0
TX packets:1476 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:210663 (205.7 KiB) TX bytes:371342 (362.6 KiB)
eth0.1 Link encap:Ethernet HWaddr 00:13:10:92:D6:12
inet addr:155.54.205.68 Bcast:155.54.205.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19107 errors:0 dropped:0 overruns:0 frame:0
TX packets:1013 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2028222 (1.9 MiB) TX bytes:111366 (108.7 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wl0 Link encap:Ethernet HWaddr 00:13:10:92:D6:14
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:1198524
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:4 Base address:0x1000
root@OpenWrt:/etc#