Opened 2 years ago

#21798 new defect

Wifi TCP stops working when LAN cable is unplugged

Reported by: KakuRoze Owned by: developers
Priority: normal Milestone:
Component: base system Version: Chaos Calmer 15.05
Keywords: WIfi IP packet loss Cc:


Hi, when I was trying to set up triggers for enabling/disabling wifi, I ran into a quite unusual problem.

Device: HLK-RM04
OpenWRT: Chaos Clamer/Bleeding Edge/r43860
2x PHY; LAN(eth0.1) and WAN(eth0.2=192.168.0.x[IP:LAN]) - both used as LAN ports
1x Wifi (wlan=192.168.0.y[IP:WLAN]/wifi-iface)

When booting the device with Wifi enabled (sta mode/static) and a network cable plugged into the "WAN" jack and later unplugging this cable, causes the device to stop accepting IP packets.

* Ping/connect to device [>IP:WLAN] before unplug: Ping * Reply OK (ca 1 ms)
* Unplug cable from WAN jack
* Ping/connect to device [>IP:WLAN] after unplug: Ping timeout
* Remove arp-entry for IP:WLAN on the computer doing the ping. (arp -d IP:WLAN on windows)
* Confirm arp-entry removed: Yes
* Ping/connect to device [>IP:WLAN] after removal of arp: Ping Timeout
* Arp entry re-appeard (arp -a on windows), device/network clearly responds to ARP.
* Reconnect cable to WAN jack
* Ping/connect to device [>IP:WLAN] after replugging of * cable: Ping Reply OK (almost instantly after re-plugging cable)

Other info
The error does Not manifest if the WAN cable is not present on boot-time, but added later. IP packets are still received as supposed in this case.
Device still stays associated with Access point after removing the cable from the device.

Attachments (2)

network.txt (1019 bytes) - added by KakuRoze 2 years ago.
network config
wireless.txt (661 bytes) - added by KakuRoze 2 years ago.
Wireless Config

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by KakuRoze

network config

Changed 2 years ago by KakuRoze

Wireless Config

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.