What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

AX3000v2 cant find lan port ids in cli

kakashisensei

New Around Here
I am running gnuton fork of asusmerlin on my AX3000v2 (AX58v2) in AP mode with AI mesh nodes attached. I have an issue where one lan port degrades from 1gb to 100mb randomly. I can't change the wire or other stuff that might be causing it. I rather just have a script monitor it and reset the connection, like this one.

However, I am having difficulty identifying any of the lan port devices in cli. This is what I get when I do brctl.
Code:
AX3000_MAIN:/# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.08bfb852c258       no              eth0
                                                        eth1
                                                        eth2
                                                        eth3

Eth0 is wan. I suspect Eth1 is wifi. I am not sure what eth2 or eth3 are. Ethctl does not pull up anything on Eth2 or Eth3, giving me a ioctl SIOCGQUERYNUMPORTS error, even when I specify a subport. I have tried all ethctl commands on eth2 and eth3 including powering down, but it just returns errors or SIOCGQUERYNUMPORTS error.

I suspect the lan ports are under br0, but none of the ethctl commands work with it.

Does anyone have experience with this or some pointers? Much appreciated.
 
Generally the eth0-eth3 are your connected WAN/LAN ports and the WiFi. The guest network wireless should show up as wl0.1, wl1.1, and so on. Attached is an example of what is shown on a RT-AX86U Pro running stock 3006.102.x firmware.
Edit to add: And an example of what it looks like on a RT-AC68U running latest Asus-Merlin with guest wifi disabled.
Also try using ethtool if using the Gnuton ported Asus-Merlin 388 firmware on the router to see what it returns for each eth entry. Might provide more information about each port/interface.
 

Attachments

  • rtax86upro_brctl_show.jpg
    rtax86upro_brctl_show.jpg
    29.4 KB · Views: 12
  • rtac68u_brctl_show.jpg
    rtac68u_brctl_show.jpg
    10.2 KB · Views: 11
Last edited:
These are my results with ethtool. Returns no data for eth2 and eht3. For eth1, its 2500mbps, but this router doesn't have 2.5gb ports. Even when I did ethctl eth1 phy-power down, it didnt do anything. Lan ports, wifi still work. Nothing shows up in syslog. This router just seems different. Maybe I'll just try putting a dumbswitch in between on the problematic connection.

Code:
AX3000_MAIN:/tmp/home/root# ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Half
        Port: Twisted Pair
        PHYAD: 8
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Link detected: no
       
AX3000_MAIN:/tmp/home/root# ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   2500baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  2500baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 6
        Transceiver: internal
        Auto-negotiation: off
        MDI-X: Unknown
        Link detected: yes

AX3000_MAIN:/tmp/home/root# ethtool eth2
Settings for eth2:
No data available

AX3000_MAIN:/tmp/home/root# ethtool eth3
Settings for eth3:
No data available
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top