Kamikaze r6177 kernel 2.6.19.2 WGT634U
Linux version 2.6.19.2 (linksys@milket) (gcc version 3.4.6 (OpenWrt-2.0)) #1 Mon Jan 22 12:36:54 EST 2007
madwifi is Release 0.9.2.1
root@OpenWrt:/etc/config# /etc/init.d/network restart
Interface doesn't accept private ioctl...
mode (8BE2): Connection timed out
Configuration file: /var/run/hostapd-ath0.conf
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device ath1 ; Operation not supported.
/etc/config/network
root@OpenWrt:/etc/config# cat network
#### VLAN configuration
config switch eth0
option vlan0 "0 1 2 3 4 5*"
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option type bridge
option ifname "eth0.0 ath0 ath1"
option proto static
option ipaddr 192.168.1.4
option netmask 255.255.255.0
option gateway 192.168.1.254
option dns 192.168.1.254
#### WAN configuration
config interface wan
option ifname "eth0.1"
option proto none
/etc/config/wireless
root@OpenWrt:/etc/config# cat wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11g
config wifi-iface
option device wifi0
option network lan
option mode ap
option ssid RADIUS
option hidden 0
option encryption psk
option key St1nkF1ngerTheD0g1nTheAss
config wifi-iface
option device wifi0
option network lan
option mode wds
option ssid RADIUS
option bssid 00:14:BF:xx:xx:xx
option hidden 0
option encryption psk
option key St1nkF1ngerTheD0g1nTheAss
option mode wds should be supported
lsmod output
wlan_xauth 480 0
wlan_wep 4736 0
wlan_tkip 10944 1
wlan_ccmp 6432 0
wlan_acl 2816 0
ath_rate_sample 10432 1 ath_pci
ath_hal 221984 3 ath_pci,ath_rate_sample
wlan_scan_sta 9696 0
wlan_scan_ap 3136 1
wlan 168480 10 ath_pci,wlan_xauth,wlan_wep,wlan_tkip,wlan_ccmp,wlan_acl,ath_rate_sample,wlan_scan_sta,wlan_scan_ap
but I do not see wlan_scan_wds
from madwifi.org
Changeset 1748
Timestamp:
10/10/06 07:04:00
Author:
proski
Message:
wlan_scan_wds module doesn't exist, use wlan_scan_ap instead
Files:
*
trunk/net80211/ieee80211_scan.c (modified) (1 diff)
Legend:
Unmodified
Added
Removed
Modified
Copied
Moved
*
trunk/net80211/ieee80211_scan.c
r1721 r1748
178 178 "wlan_scan_sta", /* IEEE80211_M_IBSS */
179 179 "wlan_scan_sta", /* IEEE80211_M_STA */
180 "wlan_scan_wds", /* IEEE80211_M_WDS */ *** this was deleted ****
180 "wlan_scan_ap", /* IEEE80211_M_WDS */
181 181 "wlan_scan_sta", /* IEEE80211_M_AHDEMO */
182 182 "wlan_scan_4", /* n/a */
seems wds was deleted from ieee80211_scan.c
so I guess in /etc/config/wireless
should maybe look like
config wifi-device wifi0
option type atheros
option channel 1
option mode 11g
config wifi-iface
option device wifi0
option network lan
option mode ap
option ssid RADIUS
option hidden 0
option encryption psk
option key St1nkF1ngerTheD0g1nTheAss
config wifi-iface
option device wifi0
option network lan
option mode ap
option ssid RADIUS
option bssid 00:14:bf:xx:xx:xx
option hidden 0
option encryption psk
option key St1nkF1ngerTheD0g1nTheAss
/etc/init.d/network restart
Configuration file: /var/run/hostapd-ath0.conf
Configuration file: /var/run/hostapd-ath1.conf
but WDS does not work
brctl show
has eth0.0 ath0 ath1 no wds
(Last edited by breath on 23 Jan 2007, 13:04)