I need to get wifi working on an old AR300 but no matter what I do, it doesn’t work.
I have all of the wifi packages installed but there is something in my config that is missing.
I’m missing something but what is it?
Network file is;
config interface ‘loopback’
option ifname ‘lo’
option proto ‘static’
option ipaddr ‘127.0.0.1’
option netmask ‘255.0.0.0’
config interface ‘lan’
option type ‘bridge’
option ifname ‘eth1’
option proto ‘dhcp’
config interface ‘wan’
option ifname ‘eth0’
option proto ‘dhcp’
config interface ‘wan6’
option ifname ‘eth0’
option proto ‘dhcpv6’
config interface ‘wwan’
option proto ‘dhcp’
option metric ‘10’
Wireless file is;
config wifi-device ‘radio0’
option type ‘mac80211’
option channel ‘11’
option hwmode ‘11g’
option path ‘platform/10300000.wmac’
option htmode ‘HT20’
option disabled ‘0’
config wifi-iface
option device ‘radio0’
option network ‘wwan’
option mode ‘sta’
option ssid ‘xxx’
option encryption ‘xxx’
option key ‘xxx’
Commands/Statuses;
$ opkg install kmod-mac80211
$ uci set wireless.radio0.country=‘US’
$ uci set wireless.radio0.disabled=‘0’
$ uci commit wireless
$ wifi reload
$ wifi up
Nothing, no new interface showing in ifconfig.
$ wifi status
{
“radio0”: {
“up”: false,
“pending”: false,
“autostart”: true,
“disabled”: false,
“retry_setup_failed”: true,
“config”: {
“channel”: “11”,
“hwmode”: “11g”,
“path”: “platform/10300000.wmac”,
“htmode”: “HT20”,
“country”: “US”,
“disabled”: false
},
“interfaces”: [
{
“section”: “@wifi-iface[0]”,
“config”: {
“mode”: “sta”,
“ssid”: “xxx”,
“encryption”: “psk2”,
“key”: “xxx”,
“network”: [
“wwan”
],
“mode”: “sta”
}
}
]
}
}