Ethernet ports not working...

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
a15995
DD-WRT User


Joined: 18 Oct 2016
Posts: 96
Location: Copenhagen, Denmark

PostPosted: Sat Dec 21, 2019 18:19    Post subject: Ethernet ports not working... Reply with quote
I have a problem with firmware 39715 std now upgraded to 41771.

The problem is well known and is related to LAN-ports not functioning.

I can access my DIR-825 via wifi and get an internet connection by bypassing my router.

My main problem is that nothing is registered on the Ethernet ports. It is as if they're broken.

So in order to get get online I need to either bypass the router or use wifi. There seems to be no routing on the Ethernet ports.

I have tried resetting, hard resetting, powering off etc. but even on a standard firmware with standard settings the Ethernet ports are dead.

Everything seem standard (lights etc. on the ports) but nothing seems to be routed through the physical ports.

Please help!

Thanks,

_________________
/Søren
Netgear Nighthawk X4S (R7800 ver. 1) | Atheros/Qualcomm(ARMv7) | IPQ8065 dual-core 1.7 GHz | AC2600 | 512 MB RAM | 128 MB FLASH | 128 KB NVRAM
Firmware: DD-WRT v3.0-r55109 std (02/09/24)
Install guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614

Sponsor
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Sun Dec 22, 2019 7:50    Post subject: Re: Ethernet ports not working... Reply with quote
a15995 wrote:


My main problem is that nothing is registered on the Ethernet ports. It is as if they're broken.

I have tried resetting, hard resetting, powering off etc. but even on a standard firmware with standard settings the Ethernet ports are dead.


Sounds like it's time for a new router that isn't broken.

_________________
Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6865
Location: Romerike, Norway

PostPosted: Sun Dec 22, 2019 7:56    Post subject: Reply with quote
What version of the router do you have. There is A1 to G1. Most of them have a Realtek switch.
a15995
DD-WRT User


Joined: 18 Oct 2016
Posts: 96
Location: Copenhagen, Denmark

PostPosted: Sun Dec 22, 2019 8:38    Post subject: Reply with quote
Per Yngve Berg wrote:
What version of the router do you have. There is A1 to G1. Most of them have a Realtek switch.


It's a revision B1. Have worked fine for years with DD-WRT and all of a sudden (after fiddling with QoS which is again disabled) I get this strange problem.

I have tried fiddling with the VLAN-setting (/Vlan.asp) as per Googling but the settings doesn't stick after saving/applying.

I have now been able to at least get a wired connection to the router and internet through the modem. This is a major step forward.

This was achieved by doing a 30-30-30 hard reset so right now I'm on a mint 41771 std firmware.

I now have a NAS running which can be accessed by my computer so it seems that routing works between those ports.

Honestly, I don't think the router is broken - but something has happened and I think it is in the firmware. This router is perfectly capable of running DD-WRT with all the bells and whistles and satisfying results...

Thanks,

_________________
/Søren
Netgear Nighthawk X4S (R7800 ver. 1) | Atheros/Qualcomm(ARMv7) | IPQ8065 dual-core 1.7 GHz | AC2600 | 512 MB RAM | 128 MB FLASH | 128 KB NVRAM
Firmware: DD-WRT v3.0-r55109 std (02/09/24)
Install guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614

Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6865
Location: Romerike, Norway

PostPosted: Sun Dec 22, 2019 9:48    Post subject: Reply with quote
ETH chip1: Atheros AR7161
Switch: Realtek RTL8366SR

https://www.openhacks.com/uploadsproductos/ar9331_datasheet.pdf
https://datasheetspdf.com/pdf-file/836727/Realtek/RTL8366SR/1

I don't know how these two chips are connected together.

You should explore it with:

swconfig list
swconfig dev switch0 show
swconfig dev switch1 show
a15995
DD-WRT User


Joined: 18 Oct 2016
Posts: 96
Location: Copenhagen, Denmark

PostPosted: Sun Dec 22, 2019 21:37    Post subject: Reply with quote
Per Yngve Berg wrote:
ETH chip1: Atheros AR7161
Switch: Realtek RTL8366SR

https://www.openhacks.com/uploadsproductos/ar9331_datasheet.pdf
https://datasheetspdf.com/pdf-file/836727/Realtek/RTL8366SR/1

I don't know how these two chips are connected together.

You should explore it with:

swconfig list
swconfig dev switch0 show
swconfig dev switch1 show


I have narrowed down the problem to a strange thing. Or at least I don't understand how the following is connected:

I have spent the day(!) doing the thing they did on Apollo 13 when they needed to turn things on one by one in order not to break anything.

In the end what broke LAN/WAN was when I tried to load something from JFFS.

I have some scripts there as well as a some config-files for alternate DNS-servers:

Code:
conf-file=/jffs/dns/dnsmasq.familyshield.conf
conf-file=/jffs/dns/dnsmasq.adblock.conf
addn-hosts=/jffs/dns/dlhosts
conf-file=/jffs/dns/personal-ads-list.conf


This has worked fine for years but suddenly broke - so I tried reformatting the JFFS partition. No luck.

My settings with regards to DNSMASQ are as follows:

Code:
Dnsmasq: Enabled
Cache DNSSEC data: Disabled
Local DNS: Enabled
No DNS Rebind: Enabled
Query DNS in Strict Order: Enabled
Add Requestor MAC to DNS Query: Disabled
RFC4039 Rapid Commit support: Disabled
Maximum Cached Entries: 1500


Also, if I add scripts in the Administration/Command section referring the JFFS partion - guess what - broken LAN/WAN ports.

Any ideas as to why this is happening all of a sudden? Defect RAM in the router? Bad settings (above)?

Thanks,

_________________
/Søren
Netgear Nighthawk X4S (R7800 ver. 1) | Atheros/Qualcomm(ARMv7) | IPQ8065 dual-core 1.7 GHz | AC2600 | 512 MB RAM | 128 MB FLASH | 128 KB NVRAM
Firmware: DD-WRT v3.0-r55109 std (02/09/24)
Install guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614

Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6865
Location: Romerike, Norway

PostPosted: Mon Dec 23, 2019 8:22    Post subject: Reply with quote
Add a USB memory stick as jffs. Do not use nvram.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12873
Location: Netherlands

PostPosted: Mon Dec 23, 2019 11:53    Post subject: Reply with quote
Good advice from Per Yngve but to add to this JFFS was changed dramatically (other compression and file systems or something like that), there are instructions to get it going again, search for them.

But I would just use an USB stick the nvram of the router wears out pretty quickly and I once bricked a router while updating with JFFS2 enabled and well see your own problems with JFFS2 Sad

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
a15995
DD-WRT User


Joined: 18 Oct 2016
Posts: 96
Location: Copenhagen, Denmark

PostPosted: Mon Dec 23, 2019 12:32    Post subject: Reply with quote
egc wrote:
Good advice from Per Yngve but to add to this JFFS was changed dramatically (other compression and file systems or something like that), there are instructions to get it going again, search for them.

But I would just use an USB stick the nvram of the router wears out pretty quickly and I once bricked a router while updating with JFFS2 enabled and well see your own problems with JFFS2 Sad


I hear you both and was reaching the same conclusion - to use a USB stick.

I realized that later builds (i.e. rev. 41771) simply won't allow JFFS2 to be partitioned on internal RAM. I reckon it'll allow partitions on USB - any experiences with JFFS2/USB on later builds (later than 39715)? How big a stick do I need to get (how much does DD-WRT support)?

Thanks,

_________________
/Søren
Netgear Nighthawk X4S (R7800 ver. 1) | Atheros/Qualcomm(ARMv7) | IPQ8065 dual-core 1.7 GHz | AC2600 | 512 MB RAM | 128 MB FLASH | 128 KB NVRAM
Firmware: DD-WRT v3.0-r55109 std (02/09/24)
Install guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614

egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12873
Location: Netherlands

PostPosted: Mon Dec 23, 2019 13:27    Post subject: Reply with quote
I use the Patriot Memory Supersonic Rage 2 - 128GB

There is no upper limit, get decent USB 3 speed

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Bingo
DD-WRT Novice


Joined: 18 Jun 2006
Posts: 4
Location: Brisbane, Australia

PostPosted: Tue Dec 31, 2019 4:25    Post subject: Reply with quote
egc wrote:
I use the Patriot Memory Supersonic Rage 2 - 128GB

There is no upper limit, get decent USB 3 speed

Thanks for the suggestion.

_________________
WiFi Consultant at https://serverguru.com.au
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum