#21798: Wifi TCP stops working when LAN cable is unplugged
---------------------------------+--------------------------------
 Reporter:  KakuRoze             |      Owner:  developers
     Type:  defect               |     Status:  new
 Priority:  normal               |  Milestone:
Component:  base system          |    Version:  Chaos Calmer 15.05
 Keywords:  WIfi IP packet loss  |
---------------------------------+--------------------------------
 Hi, when I was trying to set up triggers for enabling/disabling wifi, I
 ran into a quite unusual problem.

 '''Setup:'''
 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)

 '''Problem:'''
 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.

 '''Tested:'''
 '''*''' 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.

--
Ticket URL: <https://dev.openwrt.org/ticket/21798>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to