@György-Farkas said in Omega2: can't connect to wifi after setup. How to debug?:
@Ted-Timmons
According to your uci show
wireless.@wifi-iface[0].ApCliEnable='0'
You simply disabled Omega's Wifi client.
What about Omega's Wifi AP?
wireless.ra0.disabled='1'
means the AP (more exactly the whole Wifi system) is disabled
wireless.ra0.disabled='0'
means the AP is enabled
I did a factory restore, disabled=0, at least now. Presumably it's been that way because I can't connect to it over serial/USB anyhow.
As I said, I did a factory restore, then did a setup to a network without a hyphen. I notice the wireless.@wifi-iface[0].Ap*
entries are added by wifisetup
; it also creates the wireless.@wifi-config[0]*
entries. Those don't connect, though- I've tried rebooting and checking both ifconfig
and route
to see.
Finally, I tried adding device ra0
to the wifi-config
, it didn't make a difference.
# wifisetup info
{ "success": false }
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 * 255.255.255.0 U 0 0 0 br-wlan
# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd1d:48c4:7633::/48'
network.wlan=interface
network.wlan.type='bridge'
network.wlan.ifname='eth0.1'
network.wlan.proto='static'
network.wlan.ipaddr='192.168.3.1'
network.wlan.netmask='255.255.255.0'
network.wlan.ip6assign='60'
network.wan=interface
network.wan.ifname='eth0.2'
network.wan.proto='dhcp'
network.wwan=interface
network.wwan.ifname='apcli0'
network.wwan.proto='dhcp'
# uci show wireless
wireless.ra0=wifi-device
wireless.ra0.type='ralink'
wireless.ra0.mode='9'
wireless.ra0.channel='auto'
wireless.ra0.txpower='100'
wireless.ra0.ht='20'
wireless.ra0.country='US'
wireless.ra0.disabled='0'
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device='ra0'
wireless.@wifi-iface[0].network='wlan'
wireless.@wifi-iface[0].mode='ap'
wireless.@wifi-iface[0].encryption='psk2'
wireless.@wifi-iface[0].key='12345678'
wireless.@wifi-iface[0].ApCliAuthMode='WPA2PSK'
wireless.@wifi-iface[0].ApCliEncrypType='AES'
wireless.@wifi-iface[0].ssid='Omega-4242'
wireless.@wifi-iface[0].ApCliSsid='networkname'
wireless.@wifi-iface[0].ApCliPassWord='networkname'
wireless.@wifi-iface[0].ApCliEnable='0'
wireless.@wifi-config[0]=wifi-config
wireless.@wifi-config[0].ssid='networkname'
wireless.@wifi-config[0].encryption='WPA2PSK'
wireless.@wifi-config[0].key='networkpass'