This guide will show you how to configure the speed of your network interface. In certain scenarios, your network interface can be automatically configured with speeds lower than 100Mb/s, preventing the smooth execution of videos that have higher bitrates.

Forcing a higher speed on a network, can cause a complete network failure - normally the kernel should manage the speed correctly.

First, go to the terminal via ssh.

Now check the speeds supported by the network interface with the following command:

ethtool eth0

Settings for eth0:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        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
        Speed: 10Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 3
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Link detected: yes

Note that the command output shows the list of supported modes (Supported link modes) as well as speed (Speed) and the current mode (Duplex).

If both the network and the interface supports 1000Mb/s (Gigabit Ethernet), add the following line to your /storage/.config/autostart.sh

ethtool -s eth0 speed 1000 duplex full

Otherwise, if the network supports only 100Mb/s, add the following line to your /storage/.config/autostart.sh.

ethtool -s eth0 speed 100 duplex full

Save the file and restart your box. Verify the success of the configuration with the command

ethtool eth0