Can you view or modify auto-negotiate port settings?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
MuzzleVelocity
DD-WRT User


Joined: 23 Apr 2010
Posts: 125

PostPosted: Fri Jul 29, 2016 0:54    Post subject: Can you view or modify auto-negotiate port settings? Reply with quote
Is there a way to force a port to 100 Mbps? (Instead of gig). trying to troubleshoot an iffy connection.

or better yet, and way to view port statistics (dropped or corrupted packets) on the WAN port?


This is a EA6200 running r29396.
Sponsor
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Fri Jul 29, 2016 11:34    Post subject: Reply with quote
ifconfig `get_wanface`

Will show the interface status.
MuzzleVelocity
DD-WRT User


Joined: 23 Apr 2010
Posts: 125

PostPosted: Sat Jul 30, 2016 1:32    Post subject: Reply with quote
ifconfig shows a bunch of info, but nothing that looks like link speed.

any other ideas?



root@basmnt:~# ifconfig 'eth0'
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1447123 errors:0 dropped:8 overruns:0 frame:0
TX packets:1325106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1285567138 (1.1 GiB) TX bytes:1154592848 (1.0 GiB)
Interrupt:179 Base address:0x4000
MuzzleVelocity
DD-WRT User


Joined: 23 Apr 2010
Posts: 125

PostPosted: Thu Jun 28, 2018 21:07    Post subject: Reply with quote
anybody figure this out yet?
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Thu Jun 28, 2018 21:39    Post subject: Reply with quote
That's because the interface goes to the switch. You have to look at the individual ports. On Atheros, you can list them with swconfig. Don't know any possibility with Broadcom.
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Thu Jun 28, 2018 22:12    Post subject: Re: Can you view or modify auto-negotiate port settings? Reply with quote
MuzzleVelocity wrote:
Is there a way to force a port to 100 Mbps? (Instead of gig).
You can set it from the Setup->VLANs page I believe. I recalling finding the CLI commands for it years ago (different issue), which didn't work, then later realized it didn't work cuz the VLANs page sets them. At least from what I've read; I haven't done it.
_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
deslatha
DD-WRT User


Joined: 12 Jul 2016
Posts: 187

PostPosted: Fri Jul 20, 2018 12:21    Post subject: Reply with quote
here you go, look and search "media type" on https://www.computerhope.com/unix/uifconfi.htm

and here another for CLI :
https://www.tecmint.com/ifconfig-command-examples/
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum