WAN Port Speed

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
Eugen1968
Posts: 7
Joined: Thu Sep 29, 2011 11:48 pm

WAN Port Speed

Post by Eugen1968 »

Hy,
How check WAN Port Speed : 100Mb or 1Gb
The LED is amber not green.
I use telnet command ifconfig but not show speed connection

n0pin
Posts: 129
Joined: Thu Jan 09, 2014 6:39 am

Re: WAN Port Speed

Post by n0pin »

Try this command:

Code: Select all

logread | grep "link up"

Eugen1968
Posts: 7
Joined: Thu Sep 29, 2011 11:48 pm

Re: WAN Port Speed

Post by Eugen1968 »

I tried logread | grep "link up" but not work, nothing happens.
If I used this : dmesg | grep -i "link up"

Code: Select all

[    5.400000] eth0: link up (1000Mbps/Full duplex)
[   43.730000] eth1: link up (1000Mbps/Full duplex)
[   51.310000] eth0: link up (1000Mbps/Full duplex)
[   51.730000] eth1: link up (1000Mbps/Full duplex)
[84197.230000] eth1: link up (1000Mbps/Full duplex)
Ok are 5 ports, 1 wan and 4 lan. Who is wan port ? :?
And it is not entirely right.
Now in the switch are connected 2 host's, one at 100Mbps and another one at 1Gbps.
WAN port should be at 1Gbps.
For this command ifconfig

Code: Select all

br-lan    Link encap:Ethernet  HWaddr C6:3D:C7:97:7D:DD  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:59503286 errors:0 dropped:59 overruns:0 frame:0
          TX packets:37363244 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:77111634775 (71.8 GiB)  TX bytes:12215222100 (11.3 GiB)

eth0      Link encap:Ethernet  HWaddr C6:3D:C7:97:7D:DD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:58911866 errors:0 dropped:0 overruns:202 frame:0
          TX packets:36178403 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:683472175 (651.8 MiB)  TX bytes:2318663466 (2.1 GiB)
          Interrupt:4 

eth0.1    Link encap:Ethernet  HWaddr C6:3D:C7:97:7D:DD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:58911847 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36178402 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:76932468363 (71.6 GiB)  TX bytes:10763883407 (10.0 GiB)

eth1      Link encap:Ethernet  HWaddr C4:3D:C7:97:7D:DE  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:37442442 errors:0 dropped:5329 overruns:2952 frame:0
          TX packets:59409036 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3925674273 (3.6 GiB)  TX bytes:1076787500 (1.0 GiB)
          Interrupt:5 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:21032 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21032 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1972902 (1.8 MiB)  TX bytes:1972902 (1.8 MiB)

pppoe-wan Link encap:Point-to-Point Protocol  
          inet addr:86.124.224.114  P-t-P:10.0.0.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:17089568 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27741350 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:304996449 (290.8 MiB)  TX bytes:2069398609 (1.9 GiB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.8.0.1  P-t-P:10.8.0.1  Mask:255.255.255.0
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:5906 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7360 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:762463 (744.5 KiB)  TX bytes:2727670 (2.6 MiB)

wlan0     Link encap:Ethernet  HWaddr C4:3D:C7:97:7D:DD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3545 errors:0 dropped:0 overruns:0 frame:0
          TX packets:122323 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:424454 (414.5 KiB)  TX bytes:22629600 (21.5 MiB)

wlan1     Link encap:Ethernet  HWaddr C4:3D:C7:97:7D:DF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:786426 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1533383 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:278023897 (265.1 MiB)  TX bytes:1588040919 (1.4 GiB)

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: WAN Port Speed

Post by ericwong »

User this to see your network config

Code: Select all

cat /etc/config/network
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

Post Reply