Serious BUG: TL-WR841ND v3 LAN + WAN eth ports stop working

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
HelderMF
Posts: 14
Joined: Tue Mar 15, 2011 6:14 am

Serious BUG: TL-WR841ND v3 LAN + WAN eth ports stop working

Post by HelderMF »

Hello everybody,

I have a TP-link TL-WR841ND v3 router that I usually use with DD-WRT. Today I decided to give Gargoyle a try because of its more advanced QoS, bandwith monitoring, traffic analysis and ability to use the 20dBm max output power of this AP vs the 17dBm that DD-WRT allows. Although, I found a serious bug that is preventing me to perform even the basic configurations without loosing connectivity to the router.

Firmware versions I have already tried:
1.3.11
1.3.10
1.3.9

Problem:

Anytime I hit the save button of the Basic connection web page, even when I don't change anything, I loose connectivity to the router via the WAN and LAN ports. If I enable the Wireless interface, it is the only interface that works and let me access router webpage, although the router becomes useless, because the WAN and LAN ports doesn't work, despite all the configurations attempts.

Problem Details:

The only way I could get the router to work to run some tests was by leaving the defaul network configurations that are running after resetting the router (wlan off, etc).

By doing this, even though the GUI has no WAN configuration, the router obtains an IP through DHCP on the WAN interface, and shares that connection with local hosts connected to the other 4 eth ports.

Output of ifconfig after resetting the router

Code: Select all

root@Gargoyle:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:23:CD:D3:25:C0
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1798 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1938 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:278859 (272.3 KiB)  TX bytes:1415329 (1.3 MiB)

eth0      Link encap:Ethernet  HWaddr 00:23:CD:D3:25:C0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2029 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2139 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:371969 (363.2 KiB)  TX bytes:1477958 (1.4 MiB)
          Interrupt:4

lan1      Link encap:Ethernet  HWaddr 00:23:CD:D3:25:C0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1835 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1938 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:286666 (279.9 KiB)  TX bytes:1415329 (1.3 MiB)

lan2      Link encap:Ethernet  HWaddr 00:23:CD:D3:25:C0
          UP BROADCAST 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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan3      Link encap:Ethernet  HWaddr 00:23:CD:D3:25:C0
          UP BROADCAST 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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan4      Link encap:Ethernet  HWaddr 00:23:CD:D3:25:C0
          UP BROADCAST 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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wan       Link encap:Ethernet  HWaddr 00:23:CD:D3:25:C0
          inet addr:192.168.100.102  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:200 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:48781 (47.6 KiB)  TX bytes:50946 (49.7 KiB)
Possible Problem source?

I found that after I hit the save button on the Basic Network setting web GUI, at least the lan2, 3, 4 and wan interfaces disapear. (I don't remember if it also happens to lan1). Maybe gargoyle is applying wrong configurations to this router harware.

I also found that the router is using the same mac to LAN and WAN ports. Could this be the fact that is misleading the gargoyle web gui to wrong interface configuration?



Thankyou in advance for your patience understanding this problem and possible help solving it.

If you need more information to narrow down this bug, please ask me, I'll be happy to try to provide you the information you need.

Best Regards,

Helder

HelderMF
Posts: 14
Joined: Tue Mar 15, 2011 6:14 am

Re: Serious BUG: TL-WR841ND v3 LAN + WAN eth ports stop working

Post by HelderMF »

Just to say that I tried X-Wrt that uses OpenWrt r21387, and this problem doens't occur.

But I still prefer the Gargoyle Interface and ease of accessing the functionalities I need. Hopping to be able to run it in my router in the future...

Regards,

Helder

HelderMF
Posts: 14
Joined: Tue Mar 15, 2011 6:14 am

Re: Serious BUG: TL-WR841ND v3 LAN + WAN eth ports stop working

Post by HelderMF »

Solved by Gargoyle 1.3.13 :)

Regards,

Helder

ispyisail
Moderator
Posts: 5194
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Serious BUG: TL-WR841ND v3 LAN + WAN eth ports stop working

Post by ispyisail »

I had a similar experience with 1.3.14

In the end I re-flashed the router and the problem went away

Strange

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Serious BUG: TL-WR841ND v3 LAN + WAN eth ports stop work

Post by DoesItMatter »

dipinika wrote:How to hook an ethernet cable up to two different devices? I have an ethernet cable ran into my brothers room for his xbox but he got a computer for his birthday so we need to run another ethernet cable in there but i would rather not do that, it took forever to get this one hidden along the baseboards and stuff. I have a splitter but it can only work with one device at a time. You have to unplug on of the cables for the other to work. Is there any kind of splitter that would allow them both to work simultaneously?
Yes.

You need 2 short ethernet cables for inside the room.

Then you need a 100mbps switch, or gigabit switch, both should
be fairly cheap now.

Hook the main ethernet cable to the switch, then hookup the
2 short ethernet cables to the xbox and to the computer.

The IP's will still come from the main router.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

Post Reply