ok, bear with me on this, I have a manually compiled openwrt v17.01.4 with gcc 6.x and musl running on a kvm as x86_64 with a TL-WDN3200 passed as passthough usb.
currently I have only uci to work with, I'm trying to setup the wireless, the device is detected, the config is this:
root@LEDE:/# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option path 'pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0'
option country 'US'
option disabled '0'
option hwmode '11n'
option htmode 'HT40+'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'network'
option encryption 'wpa2+tkip+aes'
option key 'passcode'
wifi status is this:
root@LEDE:/# wifi status
{
"radio0": {
"up": false,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": true,
"config": {
"channel": "11",
"path": "pci0000:00\/0000:00:1d.7\/usb1\/1-1\/1-1:1.0",
"country": "US",
"hwmode": "11n",
"htmode": "HT40+",
"disabled": false
},
"interfaces": [
{
"section": "default_radio0",
"config": {
"mode": "ap",
"ssid": "network",
"encryption": "wpa2+tkip+aes",
"key": "passcode",
"network": [
"lan"
],
"mode": "ap"
}
}
]
}
}
but for some reason the wireless isn't up. scans on my laptop doesn't find the network.
how can I get it to work? did I misconfigured it somehow?