New Intel nic, no shares nor Truenas webpage

I don’t have any windows computers as they are all linux mint.

The TP-Link switch is TP-Link TX201 2.5 Gigabit PCI Express Ethernet Network Adapter, Low-Profile and Full-Height Brackets, Ethernet Network Card Supports Windows 11/10/8.1/8/7, Linux, Versatile Compatibility.

This is from my linux computer with the 2.5Gb nic

rob@rob-hp:~$ ethtool enp5s0
Settings for enp5s0:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	                        2500baseT/Full
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	                        2500baseT/Full
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 2500Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	MDI-X: off (auto)
netlink error: Operation not permitted
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: yes

The TP-Link TX201 is a NIC and not a switch but it is showing connected at 2.5 Gbps. You can try setting the Inet setttings to get the Intel NIC to connect at 2.5 Gbps.

Apologies, I looked at the wrong item, but on the actual switch it says: TL-SG108S-M2

For the 2.5Gb nic, it says, in linux, that it is connected at 2500 Mb/s

Try the Enabling 2.5 link speeds forum post and give your TrueNAS a reboot. Then check your link speed with ethtool and see if we got you connected properly. If you do it as in the forum post, it should survive reboots and system upgrades.

I would if I knew what I was doing. The user from the link said he added a script, and that is over my head. Other than that I don’t know what else to do.

Follow post 4 and the screenshot. It should match your version still. It should be from System, Advanced Setttings, Init/Shutdown Scripts menus. Click on Add and then just mirrror all the info in post 4
You will have to change the ethernet device name to yours though, enp1s0f0

Ok, I have now done what the user in post #4 has done, and google helped as well.

I am also using cat6 cables.

Oh is there any way of checking that it is using or transferring at 2.5Gb

I just tried transferring a large file to TrueNAS from my pc but is still only at 75MB/sec

Thanks

We usually test the network between two computers using iperf3. One computer is set as a server and is listening and the other computer is set to send.
Link to the website. It is probably already installed on your Linux and should be on TrueNAS too.

You run it in a shell or terminal window. You should also have checked ethtool was seeing the correct speeds on your new Intel NIC in TrueNAS. One computer needs to be a client, the other computer is set server. Start the server command computer first, then do the client version on the other.

iperf3 -c <ip_address_of_other_computer>

This is set to client mode

iperf3 -s <ip_address_of_other_computer>

This is set to server mode.

Thanks, yes I remembered afterwards.

Anyway, there was no difference in transfer speed from my pc to TrueNAS at just over 900 Mbits/sec

Transferring a large file from TrueNAS to my pc is also at 75Mb/sec

Just one thing, do you actually need sudo when I entered that cmd line, as i don’t in the TrueNAS shell.

If it works without it, probably not. I can never tell when the commands work or don’t without ‘sudo’. Some seem to fail for certain options without it.

If you see the iperf3 test showing that low, you don’t have 2.5Gbps for the whole network path from your Linux computer, switch and TrueNAS. Did you verify the Intel NIC is connected at 2500? ethtool should have shown that after you set up the script command in the GUI and rebooted.

The file transfer could be something else depending on disk speeds, what you are transferring and how large of a file. We usually try to transfer a very large, compressed file. Movies, large zipped files, etc.

I’m 100% thinking that there is some firmware foolery because 2.5gig isn’t showing as an available advertised speed on the intel nic.

        Advertised link modes:  100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s

Did the speed change after you manually tried disabling auto neg & setting it to 2.5gig on the truenas system? **Edit: also to confirm, we’re beyond certain that everything down the chain supports 2.5 gig? A lot of devices can do 10gig, but won’t do 2.5 or 5gig.

In my linux pc, the 2.5Gb card is showing: (it is showing as enp5s0 )

Network:
Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel port: N/A
bus-ID: 0000:00:1f.6 chip-ID: 8086:15e3 class-ID: 0200
IF: eno1 state: down mac:
Device-2: Intel driver: igc v: kernel port: N/A bus-ID: 0000:05:00.0 chip-ID: 8086:125c
class-ID: 0200
IF: enp5s0 state: up speed: 2500 Mbps duplex: full mac:

I am transferring movie files of upto about 5.0Gb

On TrueNAS the setting is still there in the Init/Shutdown scripts

The linked, Enabling 2.5gbit link speeds on Intel 10gbit controller, forum post showed users having to make an Init entry to get the behavior on that NIC. 100, 1000, 10000 seem to auto neg but 2500 and 5000 are always a bit funny.

@Robert_Heselwood did you reboot the TrueNAS machine and verify the network connection at 2500 / 2.5Gbps using ethtool? We need to make sure it is connecting correctly or if there is an error.

1 Like

Yeah, I’m certain Barky is on the right track & that the NIC can do 2.5 (intel’s website confirms), but it doesn’t want to auto-neg to that speed.

Where do I disable auto neg.

Something like:

ethtool -s [interface name] autoneg off speed 2500 duplex full

-s is set, interface name you put in yourself as applicable without the square brackets, auto neg off means the links won’t self negotiate speed, speed 2500 is setting 2.5gig, full duplex so we can send/receive at the same time.

Edit: Because I can never complete a single post successfully without an edit - link may need to be bounced afterwards, may not. ip link set [interface name] down to bring down, ip link set [interface name] up to bring it back up.

sudo as necessary.

…Edit 2: you may want to consider either ipmi or physical access to the NAS as if something goes wrong then you won’t have webgui working.

To undo ethtool -s [whatever] autoneg on; once again maybe you’ll need to bounce the link afterwards, maybe not.

I now have autoneg off, and TrueNAS is back after a reboot, and running iperf3 now gives me this:

ob@rob-hp:~$ iperf3 -c 192.168.0.42
Connecting to host 192.168.0.42, port 5201
[  5] local 192.168.0.115 port 47210 connected to 192.168.0.42 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   282 MBytes  2.37 Gbits/sec    6    397 KBytes       
[  5]   1.00-2.00   sec   280 MBytes  2.35 Gbits/sec   23    564 KBytes       
[  5]   2.00-3.00   sec   281 MBytes  2.36 Gbits/sec    1    602 KBytes       
[  5]   3.00-4.00   sec   280 MBytes  2.35 Gbits/sec   11    632 KBytes       
[  5]   4.00-5.00   sec   281 MBytes  2.36 Gbits/sec    8    632 KBytes       
[  5]   5.00-6.00   sec   280 MBytes  2.35 Gbits/sec    7    564 KBytes       
[  5]   6.00-7.00   sec   280 MBytes  2.35 Gbits/sec    2    491 KBytes       
[  5]   7.00-8.00   sec   281 MBytes  2.36 Gbits/sec    0    564 KBytes       
[  5]   8.00-9.00   sec   280 MBytes  2.35 Gbits/sec    0    617 KBytes       
[  5]   9.00-10.00  sec   281 MBytes  2.36 Gbits/sec    6    629 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  2.74 GBytes  2.35 Gbits/sec   64             sender
[  5]   0.00-10.00  sec  2.74 GBytes  2.35 Gbits/sec                  receiver

iperf Done.

1 Like

Now you have 2.5Gbps end to end between those two computers you tested. You can try the file transfer. One hard drive might be able to saturate your link, at peak, but it should end up faster than a 1Gbps network

1 Like

Given tcp overhead I think results of ~2.35gbps for a 2.5gbps link is pretty acceptable!

I’m also surprised that after a reboot TrueNAS kept the change; I’d have expected a pre or post init job would have been necessary… but uhh - success?

I mean we more than doubled it!

Before:

After:

Edit:

I personally have trouble writing more than ~1.85 Gbits over my 2.5 link; reading from is no problem though.

File transfer speed has now gone up from 75 Mb/sec with a 1Gb connection on TrueNAS to 125Mb/sec. Not quite 2.35 Gb/sec, but I’ll have to live with that for the time being.