Status page bug for D-Link DIR-835 rev. A1

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

User avatar
dlogictech
Posts: 118
Joined: Sat Feb 07, 2015 3:50 pm
Location: Unionville, Ontario. Canada.
Contact:

Status page bug for D-Link DIR-835 rev. A1

Post by dlogictech »

Hi,
I would like to report a BUG on the status page for the D-Link DIR-835 rev. A1 running firmware version 1.7.X (Built 20150604-0528 git@e7e4e5e) does not have the connect status graphic as other routers.
Please see the below pictures:

TP-Link TL-WR740N/ND v1.1
LAN Port status TP-Link TL-WR740N-ND v1.JPG
TP-Link TL-WR1043N/ND v1.6
LAN Port status TP-Link TL-WR1043N-ND v1.JPG
D-Link DIR-835 rev. A1
LAN Port status D-Link DIR-835 rev. A1.JPG
I know that this is not a critical part of the router and does not affect the functionality but it does help us to know what ports are connected and at which speeds on each port.

Also, just an fyi, the led indicators on the front of the physical router itself also does not light up... :(

All the above routers are running the same firmware version.
D-Link DIR-835 Rev. A1 using Gargoyle
1.9.X (Built 20160524-1903 git@004a64c)

TP-Link TL-WR1043ND Ver. 1.6 using Gargoyle
1.9.1

TP-Link TL-WR740N Ver. 1.10 using Gargoyle
1.9.1

User avatar
dlogictech
Posts: 118
Joined: Sat Feb 07, 2015 3:50 pm
Location: Unionville, Ontario. Canada.
Contact:

Re: Status page bug for D-Link DIR-835 rev. A1

Post by dlogictech »

Wow, guys, Is nobody interested in this BUG?
A product that is actively being sold on the Gargoyle Shop and only 19 views in 4 days?
:(
D-Link DIR-835 Rev. A1 using Gargoyle
1.9.X (Built 20160524-1903 git@004a64c)

TP-Link TL-WR1043ND Ver. 1.6 using Gargoyle
1.9.1

TP-Link TL-WR740N Ver. 1.10 using Gargoyle
1.9.1

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: Status page bug for D-Link DIR-835 rev. A1

Post by tapper »

Hi mate. I don't no why you get the graphic on sum routers and not others but i don't get it on my TP-Link TL-WR1043N/ND v2 or my WD N750 but i do on my wdr3600 V1.5.
It mite have something to do with what switch is in the unit and weather the driver can see what speed the lan ports are at.
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

User avatar
dlogictech
Posts: 118
Joined: Sat Feb 07, 2015 3:50 pm
Location: Unionville, Ontario. Canada.
Contact:

Re: Status page bug for D-Link DIR-835 rev. A1

Post by dlogictech »

Hello Tapper,
I am not sure that is the case. I am almost positive that the graphic was displayed with the previous stable version of 1.6.2
I will need to verify this when I can perform some testing and the rest of my family is either not home or fast asleep... :)
D-Link DIR-835 Rev. A1 using Gargoyle
1.9.X (Built 20160524-1903 git@004a64c)

TP-Link TL-WR1043ND Ver. 1.6 using Gargoyle
1.9.1

TP-Link TL-WR740N Ver. 1.10 using Gargoyle
1.9.1

User avatar
dlogictech
Posts: 118
Joined: Sat Feb 07, 2015 3:50 pm
Location: Unionville, Ontario. Canada.
Contact:

Re: Status page bug for D-Link DIR-835 rev. A1

Post by dlogictech »

Status update:
So I had an opportunity to downgrade back to v1.6.2 to check for the graphic for the LAN ports and discovered that they were not there at all. :(
Still, I am wondering if this graphic can be added just like the other TP-Link routers showed in my previous post above.
D-Link DIR-835 Rev. A1 using Gargoyle
1.9.X (Built 20160524-1903 git@004a64c)

TP-Link TL-WR1043ND Ver. 1.6 using Gargoyle
1.9.1

TP-Link TL-WR740N Ver. 1.10 using Gargoyle
1.9.1

User avatar
dlogictech
Posts: 118
Joined: Sat Feb 07, 2015 3:50 pm
Location: Unionville, Ontario. Canada.
Contact:

Re: Status page bug for D-Link DIR-835 rev. A1

Post by dlogictech »

Just for testing completeness, I also downgraded to v1.5.11 which is the first release that supported this router, D-Link DIR-835 rev. A1, and it also did not have the LAN graphic.
D-Link DIR-835 Rev. A1 using Gargoyle
1.9.X (Built 20160524-1903 git@004a64c)

TP-Link TL-WR1043ND Ver. 1.6 using Gargoyle
1.9.1

TP-Link TL-WR740N Ver. 1.10 using Gargoyle
1.9.1

Lantis
Moderator
Posts: 7083
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Status page bug for D-Link DIR-835 rev. A1

Post by Lantis »

Need the output of a few things please.

swconfig list

swconfig dev <output of the first command e.g. Switch0> port <1 to 4 should be enough> get link

^run this one for each port number 1 to 4 and post back the outputs.

Looking at the code for this, it's not going to be straight forward to test and fix. Especially not having a device to play with on my own. But, I'll take a look.

Cheers.

EDIT:
after taking a longer look at the code, i think we can sort this issue for you. i'll await your reply.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

User avatar
dlogictech
Posts: 118
Joined: Sat Feb 07, 2015 3:50 pm
Location: Unionville, Ontario. Canada.
Contact:

Re: Status page bug for D-Link DIR-835 rev. A1

Post by dlogictech »

Lantis wrote:Need the output of a few things please.

swconfig list

swconfig dev <output of the first command e.g. Switch0> port <1 to 4 should be enough> get link

^run this one for each port number 1 to 4 and post back the outputs.

Looking at the code for this, it's not going to be straight forward to test and fix. Especially not having a device to play with on my own. But, I'll take a look.

Cheers.

EDIT:
after taking a longer look at the code, i think we can sort this issue for you. i'll await your reply.
Hello Lantis,
I hope that I have provided you with enough information below:

root@Gargoyle:~# swconfig list
Found: switch0 - ag71xx-mdio.0

root@Gargoyle:~# swconfig dev switch0 show
Global attributes:
enable_vlan: 1
enable_mirror_rx: 0
enable_mirror_tx: 0
mirror_monitor_port: 0
mirror_source_port: 0
Port 0:
mib: Port 0 MIB counters
RxBroad : 85
RxPause : 0
RxMulti : 34
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 108322
Rx128Byte : 303272
Rx256Byte : 187437
Rx512Byte : 9983
Rx1024Byte : 7990
Rx1518Byte : 39168
RxMaxByte : 272249
RxTooLong : 0
RxGoodByte : 550270671
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 3548
TxPause : 0
TxMulti : 5021
TxUnderRun : 0
Tx64Byte : 70
Tx128Byte : 419494
Tx256Byte : 188989
Tx512Byte : 10229
Tx1024Byte : 7353
Tx1518Byte : 39427
TxMaxByte : 271184
TxOverSize : 0
TxByte : 549959201
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 0
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
Port 1:
mib: Port 1 MIB counters
RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 1229
TxPause : 0
TxMulti : 3671
TxUnderRun : 0
Tx64Byte : 908
Tx128Byte : 1668
Tx256Byte : 1962
Tx512Byte : 168
Tx1024Byte : 193
Tx1518Byte : 64
TxMaxByte : 0
TxOverSize : 0
TxByte : 818979
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:1 link:up speed:100baseT full-duplex auto
Port 2:
mib: Port 2 MIB counters
RxBroad : 1057
RxPause : 2674
RxMulti : 3583
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 100336
Rx128Byte : 152728
Rx256Byte : 89376
Rx512Byte : 4550
Rx1024Byte : 2005
Rx1518Byte : 39215
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 98086195
RxBadByte : 171136
RxOverFlow : 0
Filtered : 0
TxBroad : 237
TxPause : 0
TxMulti : 94
TxUnderRun : 0
Tx64Byte : 29751
Tx128Byte : 138668
Tx256Byte : 98969
Tx512Byte : 5595
Tx1024Byte : 4792
Tx1518Byte : 299108
TxMaxByte : 0
TxOverSize : 0
TxByte : 489563908
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:2 link:up speed:1000baseT full-duplex auto
Port 3:
mib: Port 3 MIB counters
RxBroad : 158
RxPause : 0
RxMulti : 60
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 9780
Rx128Byte : 3145
Rx256Byte : 483
Rx512Byte : 532
Rx1024Byte : 1886
Rx1518Byte : 934
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 3985987
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 1074
TxPause : 0
TxMulti : 3611
TxUnderRun : 0
Tx64Byte : 3844
Tx128Byte : 4917
Tx256Byte : 2398
Tx512Byte : 602
Tx1024Byte : 397
Tx1518Byte : 28544
TxMaxByte : 0
TxOverSize : 0
TxByte : 44863772
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:3 link:up speed:1000baseT full-duplex auto
Port 4:
mib: Port 4 MIB counters
RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 70
Rx128Byte : 159
Rx256Byte : 0
Rx512Byte : 413
Rx1024Byte : 45
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 211457
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 1229
TxPause : 0
TxMulti : 3671
TxUnderRun : 0
Tx64Byte : 979
Tx128Byte : 1727
Tx256Byte : 1991
Tx512Byte : 581
Tx1024Byte : 238
Tx1518Byte : 64
TxMaxByte : 0
TxOverSize : 0
TxByte : 1056552
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 2
TxLateCol : 0

pvid: 1
link: port:4 link:up speed:10baseT half-duplex auto
Port 5:
mib: Port 5 MIB counters
RxBroad : 2333
RxPause : 0
RxMulti : 1379
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 26479
Rx128Byte : 139771
Rx256Byte : 98416
Rx512Byte : 5600
Rx1024Byte : 3748
Rx1518Byte : 298705
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 488119955
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 3
TxPause : 0
TxMulti : 0
TxUnderRun : 0
Tx64Byte : 97475
Tx128Byte : 149965
Tx256Byte : 87078
Tx512Byte : 4413
Tx1024Byte : 3280
Tx1518Byte : 11888
TxMaxByte : 0
TxOverSize : 0
TxByte : 57088350
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 2
link: port:5 link:up speed:1000baseT full-duplex auto
Port 6:
mib: Port 6 MIB counters
RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 0
TxPause : 0
TxMulti : 0
TxUnderRun : 0
Tx64Byte : 0
Tx128Byte : 0
Tx256Byte : 0
Tx512Byte : 0
Tx1024Byte : 0
Tx1518Byte : 0
TxMaxByte : 0
TxOverSize : 0
TxByte : 0
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 0
link: port:6 link:down
VLAN 1:
vid: 1
ports: 0t 1 2 3 4
VLAN 2:
vid: 2
ports: 0t 5
root@Gargoyle:~#
D-Link DIR-835 Rev. A1 using Gargoyle
1.9.X (Built 20160524-1903 git@004a64c)

TP-Link TL-WR1043ND Ver. 1.6 using Gargoyle
1.9.1

TP-Link TL-WR740N Ver. 1.10 using Gargoyle
1.9.1

Lantis
Moderator
Posts: 7083
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Status page bug for D-Link DIR-835 rev. A1

Post by Lantis »

Perfect.

Let me work on something and I'll get back to you.

Basically I'll be asking you to replace a file on your router and then reboot it.
I'm 99% sure that even if I get it wrong it'll just cause visual errors nothing major so we can easily reverse the change. Regardless, backup your config first :)
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Lantis
Moderator
Posts: 7083
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Status page bug for D-Link DIR-835 rev. A1

Post by Lantis »

Navigate to your /usr/lib/gargoyle folder.
Replace switchinfo.sh with the modified version i have hosted here: http://103.4.16.211/gargoyle_scripts/sw ... odified.sh

Don't forget to rename it to "switchinfo.sh", and also set its permissions to rwxrwxr-x (or 0775 if thats the notation you are used to).

Shouldn't need to reboot your router to see changes.

Please let me know how you get on.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Post Reply