Hello all,
I recently received an Omega2 for Christmas and I'm having trouble actually connecting it to the internet.
For various reasons I opted to do a command-line configuration of wifi settings using the serial port. My firmware is up to date (omega2-v0.3.2-b233.bin
). According to iwconfig
(see appended wifidebug.log
), I am successfully associated with my router using WEP. Up until this point, things seem to be working properly.
However, when I do ifconfig
or ip addr
, the interface apcli0
only shows a link local ipv6 address. There isn't even a field for an ipv4 address! According to my router's DHCP table, the Omega2 never even attempted to grab an IP address. So I'm not sure if this means the kernel thinks apcli0
is configured to use ipv6 only, or there is some setup I'm missing. Interestingly enough, wifidebug.log
claims apcli0
has neither sent nor received any data. Has anyone seen this problem before and have any idea how and/or whether my device somehow got misconfigured?
Starting udhcpc
manually has no effect either:
root@Omega-E72B:/# udhcpc
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
This is the contents of wifidebug.log
(minus sensitive content):
root@Omega-E72B:/# cat /tmp/wifidebug.log
================ WIFI DEBUG LOG ================
== Fri Dec 6 17:01:47 GMT 2019 ==
================ ifconfig ================
apcli0 Link encap:Ethernet HWaddr 40:A3:6B:C0:E7:2C
inet6 addr: fe80::42a3:6bff:fec0:e72c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
br-wlan Link encap:Ethernet HWaddr 40:A3:6B:C0:E7:2B
inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::42a3:6bff:fec0:e72b/64 Scope:Link
inet6 addr: fd1d:48c4:7633::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:7564 (7.3 KiB)
eth0 Link encap:Ethernet HWaddr 40:A3:6B:C0:E7:2D
inet6 addr: fe80::42a3:6bff:fec0:e72d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:500 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:167597 (163.6 KiB)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:304 errors:0 dropped:0 overruns:0 frame:0
TX packets:304 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19712 (19.2 KiB) TX bytes:19712 (19.2 KiB)
ra0 Link encap:Ethernet HWaddr 40:A3:6B:C0:E7:2B
inet6 addr: fe80::42a3:6bff:fec0:e72b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:6
================ iwconfig ================
lo no wireless extensions.
apcli0 RTWIFI SoftAP ESSID:[redacted]
br-wlan no wireless extensions.
eth0 no wireless extensions.
Mode:Managed Channel=6 Access Point: 00:90:A9:CB:3F:06
Bit Rate=150 Mb/s
ra0 RTWIFI SoftAP ESSID:"Omega-E72B"
Mode:Managed Channel=6 Access Point: 40:A3:6B:C0:E7:2B
Bit Rate=150 Mb/s
================ uci show wireless ================
wireless.radio0=wifi-device
wireless.radio0.type='ralink'
wireless.radio0.variant='mt7628'
wireless.radio0.country='US'
wireless.radio0.hwmode='11g'
wireless.radio0.htmode='HT40'
wireless.radio0.channel='auto'
wireless.radio0.disabled='0'
wireless.radio0.device_mode='apsta'
wireless.radio0.op_mode='preference'
wireless.ap=wifi-iface
wireless.ap.device='radio0'
wireless.ap.mode='ap'
wireless.ap.network='wlan'
wireless.ap.ifname='ra0'
wireless.ap.encryption='psk2'
wireless.ap.key='12345678'
wireless.ap.disabled='0'
wireless.ap.ssid='Omega-E72B'
wireless.sta=wifi-iface
wireless.sta.device='radio0'
wireless.sta.mode='sta'
wireless.sta.ifname='apcli0'
wireless.sta.key='1'
wireless.sta.network='wwan'
wireless.sta.led='omega2:blue:wifi'
wireless.sta.disabled='0'
wireless.sta.encryption='wep'
wireless.sta.ssid=[redacted]
wireless.@wifi-config[0]=wifi-config
wireless.@wifi-config[0].key='1'
wireless.@wifi-config[0].key1=[redacted]
wireless.@wifi-config[0].ssid=[redacted]
wireless.@wifi-config[0].encryption='wep