TPLink Archer C7 V2 with Gargoyle 1.8.1

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
desimonk
Posts: 5
Joined: Sat Nov 21, 2015 10:46 pm

TPLink Archer C7 V2 with Gargoyle 1.8.1

Post by desimonk »

Hi All,

I just flashed my new TPLink Archer C7 V2 with latest stable gargoyle 1.8.1. I am new to Gargoyle. I have noticed that my ethernet links are not auto negotiating to correct speed. I am expecting 1G link to my NAS but NAS shows auto negotiation of 100M. (FYI: I was able to see successfully auto-negotiate ASUS AC32 with the same link to 1G link). Now in the Gargoyle gui I could not find spot where it displays different link speed.

I am expecting 1) Wan port to be 1G
2) One LAN port to be 1G
3) Three other lan port to be 100M.

Is there any way to see information somewhere ? How can I debug this ?

\Desimonk

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

Re: TPLink Archer C7 V2 with Gargoyle 1.8.1

Post by Lantis »

at an SSH prompt you can type

Code: Select all

swconfig dev switch0 show
to see all of the ports and their associated speed.

Be aware that the port numbers may or may not line up with the numbers printed on the device itself.
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.

desimonk
Posts: 5
Joined: Sat Nov 21, 2015 10:46 pm

Re: TPLink Archer C7 V2 with Gargoyle 1.8.1

Post by desimonk »

Hi Lentis,

Thanks. Is there a way to figure out port number dumped in "swconfig dev switch0 show" command to given MAC address of that port such that I can figure out which device maps to which port ?

\Desimonk

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

Re: TPLink Archer C7 V2 with Gargoyle 1.8.1

Post by Lantis »

To be honest with you the way it is done in practice is to:

- disconnect everything
- plug something into the first port
- run the command
- disconnect
- repeat for each port.


Make sure to post back your findings, no doubt someone else will want to know eventually.
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.

desimonk
Posts: 5
Joined: Sat Nov 21, 2015 10:46 pm

Re: TPLink Archer C7 V2 with Gargoyle 1.8.1

Post by desimonk »

Thanks,

My problem is solved with your tips. Following was my approach. FYI: Android with SSH app came in very handy to debug this problem :)

1) All eth port disconnected with debug command I saw following
link: port:0 ==> showed as link up and 1G
link: port:6 ==> showed as link up and 1G
likely default loopback interfaces and theretofore I ignored them.

2) Plagged in WAN (internet side port)
link: port:1 link:up speed:1000baseT full-duplex auto

3) Now port 2 to 5 were left to figure out. Pluging them one by one while having my android smart phone with ssh app it was easy run following command and figure out which one is which. At the end I found two problem one with Cable connected to my NAS (replacing the cable auto negotiated NAS link to 1G) second was the old switch which cased auto negotiated to 10M half duplex (I had another switch lying around so just used that and everything came up fine). Following is how it looks now

root@Gargoyle:~# swconfig dev switch0 show |grep port
mirror_monitor_port: 0
mirror_source_port: 0
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
link: port:1 link:up speed:1000baseT full-duplex auto ==> WAN
link: port:2 link:up speed:100baseT full-duplex auto
link: port:3 link:up speed:1000baseT full-duplex auto ==> NAS
link: port:4 link:up speed:100baseT full-duplex auto
link: port:5 link:up speed:100baseT full-duplex auto
link: port:6 link:up speed:1000baseT full-duplex txflow rxflow

\Desimonk

Post Reply