Device: Linksys-WRT1200AC
OpenWRT Version: 23.05.4
Howdy,
I am facing a peculiar issue that I have not seen being discussed before regarding WWAN and DHCP.
Topology:
INTERNET-----MAIN-ROUTER<<<>>>OPENWRT------PC
I am currently following this documentation https://openwrt.org/docs/guide-user/network/wifi/relay_configuration which explains how to connect my main router (which I don't have control over) to my openWRT device thru DHCP Client.
I am having an issue where my OpenWRT is not receiving any traffic from the main router despite being associated and authenticated to my main router.
-
Network > Wireless > radio0 > Scan (SSID is detected)
-
Configured SSID to be exactly the same settings as main router
-
SSID being authenticated and associated:
root@OpenWrt:~# dmesg | grep "phy0"
...trimmed...
[ 6470.206807] ieee80211 phy0: change: 0x100
[ 6470.248752] phy0-sta0: authenticate with c8:99:b2:ff:05:a7
[ 6470.254336] ieee80211 phy0: change: 0x100
[ 6470.263258] ieee80211 phy0: change: 0x42
[ 6470.366949] ieee80211 phy0: change: 0x2
[ 6470.367024] phy0-sta0: send auth to c8:99:b2:ff:05:a7 (try 1/3)
[ 6470.560636] phy0-sta0: authenticate with c8:99:b2:ff:05:a7
[ 6470.566176] phy0-sta0: send auth to c8:99:b2:ff:05:a7 (try 1/3)
[ 6470.697055] phy0-sta0: authenticated
[ 6470.703250] phy0-sta0: associate with c8:99:b2:ff:05:a7 (try 1/3)
[ 6470.712002] phy0-sta0: RX AssocResp from c8:99:b2:ff:05:a7 (capab=0x1931 stat us=0 aid=10)
[ 6470.815367] ieee80211 phy0: change: 0x2
[ 6470.815382] phy0-sta0: associated
[ 6470.959559] phy0-sta0: Limiting TX power to 30 (30 - 0) dBm as advertised by c8:99:b2:ff:05:a7
[ 6471.079769] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-sta0: link becomes ready
Wifi Settings:
root@OpenWrt:~# wifi status
{
"radio0": {
"up": true,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": false,
"config": {
"path": "soc/soc:pcie/pci0000:00/0000:00:01.0/0000:01:00.0",
"channel": "48",
"band": "5g",
"htmode": "VHT40",
"country": "AU",
"cell_density": 0
},
"interfaces": [
{
"section": "wifinet1",
"ifname": "phy0-sta0",
"config": {
"mode": "sta",
"ssid": "XYZ-5GHz",
"encryption": "sae",
"key": "XYZ",
"mode": "sta",
"network": [
"wwan"
]
},
"vlans": [
],
"stations": [
]
}
]
},
When I connected a physical cable from my main router to OpenWRT, I received DHCP IP Address to connect back to the internet, after which I installed tcpdump to troubleshoot further.
When I tcpdump'd OpenWRT's wwan (phy0-sta0) I can see that it is trying to send DHCP Discover messages (TX), however nothing is being received (RX)
But when I check the Network > Interfaces > wwan I noticed that RX is stuck in 352B, yet TX increases every time a new DHCP Discover message is sent.
I verified by hotspot from my phone to OpenWRT to verify if the issue was with the main-router, however, the issue is the same when connecting to my phone. RX is stuck in 352B and TX increases.
Is there anything I am missing on my end? How can my radio detect the BSSID but not be able to receive anything? I have verified the firewall and there is also nothing that is blocking traffic.
If there is further configuration you would like me to send, please let me know.
Hope you guys could help me troubleshoot this.
Thanks!