Jump to content

Tetra negotiating 100Mbit


Recommended Posts

Hi, my Pineapple Tetra only negotiates 100 Mbit when i plug it in to a switch ūüėē I am hoping some one here can help me figure out why ?

When I plug my Tetra in to a switch, or my PC (using the RJ45 ethernet on the Tetra and a RJ45 plug on the PC), then the link negotiates at only 100 mbit (I testet with both a switch and pc that are capable of running 1000 mbit with the same result where the Tetra negotiate only 100 Mbit) - I can also see that the LED above the RJ45 ethernet connection (at the Tetra) is orange (indicating 100 Mbit)

When I plug in something else in to my PC or the same port in the switch that i tested the tetra with before it negotiates fine with anoter device at 1000mbit so I do not think the problem resides on the switch / PC side.

When I SSH to the tetra and run the ethtool eth0 it cant show the speed (for unknown reasons) where as the eth1 (i think that is the LAN connection via the USB cable that is part of the bridge device br-lan) shows negotiations of 100mbit full duplex (see output of commands below - the tetra hostname has been renamed to gateway)

# WAN:

root@gateway:/etc/config# ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
    Current message level: 0x000000ff (255)
                   drv probe link timer ifdown ifup rx_err tx_err
    Link detected: yes

# LAN:

root@gateway:/etc/config# ethtool eth1
Settings for eth1:
    Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                         100baseT/Half 100baseT/Full
    Link partner advertised pause frame use: Symmetric Receive-only
    Link partner advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 4
    Transceiver: external
    Auto-negotiation: on
    Current message level: 0x000000ff (255)
                   drv probe link timer ifdown ifup rx_err tx_err
    Link detected: yes

On the PC where the eth0 is the WAN interface connected via a 10 cm ethernet cobber cable (cat 6e):

# PC WAN:

norman@router:~$ ethtool eth0
Settings for eth0:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Supported pause frame use: Symmetric
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Advertised pause frame use: Symmetric
    Advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 1
    Transceiver: internal
    Auto-negotiation: on
    MDI-X: off (auto)
    Supports Wake-on: pumbg
    Wake-on: g
    Current message level: 0x00000007 (7)
                   drv probe link
    Link detected: yes

----

norman@router:~$ ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.16.42.1  netmask 255.255.255.0  broadcast 10.16.42.255
        ether M:A:C:R:E:M:O:V:E:D  txqueuelen 1000  (Ethernet)
        RX packets 419  bytes 38020 (37.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 720  bytes 482140 (470.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0x80200000-8021ffff  

And the PC see's the USB connection as a netcard that is called eth2 - it looks like this:

# PC LAN:

root@router:~# ethtool eth2
Settings for eth2:
    Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                         100baseT/Half 100baseT/Full
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 32
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: pumbg
    Wake-on: g
    Current message level: 0x00007fff (32767)
                   drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
    Link detected: yes

---

eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.42.42  netmask 255.255.255.0  broadcast 172.16.42.255
        ether 00:13:37:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 2283  bytes 1484420 (1.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2257  bytes 404820 (395.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

# The config of the Tetra looks like this:

/etc/config/network:

root@gateway:/etc/config# cat network |grep -v ^$
config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'
config globals 'globals'
    option ula_prefix 'fda5:38d6:c95b::/48'
config interface 'lan'
    option ifname 'eth1'
    option force_link '1'
    option type 'bridge'
    option proto 'static'
    option netmask '255.255.255.0'
    option ip6assign '60'
    option ipaddr '172.16.42.1'
    option gateway '172.16.42.42'
    option dns '10.16.42.1'

config interface 'wan'      <--- I have a DHCP server on the PC that gives this connection the IP 10.16.42.2 with the gateway 10.16.42.1 (the pc) where a dns server also resides.
    option ifname 'eth0'
    option proto 'dhcp'

config interface 'wan6'
    option ifname 'eth0'
    option proto 'dhcpv6'
config interface 'usb'
    option ifname 'usb0'
    option proto 'dhcp'
config interface 'wwan'
    option proto 'dhcp'

 

Link to post
Share on other sites

Sorry to say, it's only RJ45 Fast Ethernet.

Quote

Specifications:

  • CPU: 533 MHz MIPS 74K Atheros AR9344 SoC
  • Memory: 64 MB DDR2 RAM
  • Disk: 2 GB NAND Flash
  • Wireless: Atheros AR9344 + Atheros AR9580, both IEEE 802.11 a/b/g/n with quad integrated skybridge amplifiers and included 5 dBi antenna for a high 29 dBm gain EIRP
  • Ports: (4) SMA Antenna, RJ45 Fast Ethernet, Ethernet over USB, Serial over USB, USB 2.0 Host, 12V/2A DC Power
  • Power: Requires 18W. Accepts power from any combination of sources; DC Barrel Port, USB ETH port, USB UART port. AC wall adapter for stationary deployment and USB Y cable for mobile deployment included.
  • Configurable Status Indicator LED
  • Configurable Reset Button

https://wifipineapple.com/pages/tetra

Edited by Jtyle6
,
  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...