Written 27 Aug 2026. This is a how-to, not a product card.
See the cable speed
Before you buy a faster switch, check whether the computer is already at gigabit, or stuck at 100.
Link speed is how fast this cable is actually running, in megabits per second. Ping can still work at 100. File copies crawl. You already plugged a cable in a cable beats Wi-Fi for the computer and reached the router in check that the computer can reach the house router. Packets past the router are check that the computer can reach the internet. This note reads the speed on that plug.
Skip until SSH works
If you have never logged in from the couch, that is SSH from the couch. You can also type this at the keyboard. Prefer this look after a cable is plugged in and ping to the router works: a cable beats Wi-Fi for the computer, then check that the computer can reach the house router. This note assumes you can log in from the couch, or sit at the keyboard.
What this is
A look, not a shopping trip. 1000 is gigabit, the speed old laptops and OptiPlex boxes usually do. 100 is ten times slower: a bad cable, a cheap 100-only port, or an old laptop NIC. 2500 means a faster 2.5G port already. Don't buy a 2.5G switch for a computer stuck at 100. Try another cable from the drawer first.
Find the cable name
SSH in from the couch, or sit at the keyboard, then ask:
ip -br link
Skip the lo line. That is the loopback line. The computer uses it internally. Point at the ethernet line that is UP (often a name that starts with en, or eth0). Copy that name. Wi-Fi lines can wait if a cable is plugged in.
Ask for the speed
Replace NAME with the cable name you just copied:
cat /sys/class/net/NAME/speed
One number comes back. That number is megabits per second.
1000is gigabit. Fine for a computer. File copies that still crawl are a later switch note: a faster switch for a first home lab.100is the slow trap. Swap the cable from the drawer, try another LAN port on the router, then ask again. Don't buy 2.5G for this.2500means this computer already has a faster port. You don't need a new switch for this computer.-1, or the words Invalid argument, means that name is down. Pick the UP cable line fromip -br link.
Optional longer print
If ethtool is already installed, the same speed is on a Speed line:
ethtool NAME
Skip installing extra packages tonight. The cat look is enough.
What next
Write down the hardware address: see the computer's hardware address. Keep the number stable: keep the computer on the same number. Path to the router: check that the computer can reach the house router. Past the router: check that the computer can reach the internet.
Skip
- Skip if SSH and the keyboard both fail. That is is the computer still on? or SSH from the couch.
- Skip a new switch for a computer stuck at 100. Try another cable first.
- Skip buying Cat6 because Cat5 was in the drawer. The extra-fast ports can wait.
- Skip forwarding port 22.
- Skip buying a NAS for this look.
- Skip Proxmox tonight. That is what a VM is, and when you don't need one.
Sources
Debian: ip-link. Linux: sysfs class net (speed). Official pages only. For the cable, see a cable beats Wi-Fi for the computer. For the path to the router, see check that the computer can reach the house router. For ping past the router, see check that the computer can reach the internet. For the hardware address, see see the computer's hardware address. For keeping the number, see keep the computer on the same number. For a later faster switch, see a faster switch for a first home lab.