GENWiki

Premier IT Outsourcing and Support Services within the UK

User Tools

Site Tools


computerfaq:disable_a_network_interface_when_not_in_use

Synology - Disable Network Port

Some NAS's come with 2 or 4 network ports, and quite often you only want one. There is no way in the UI to disable a network port so you're left with either leaving it as DHCP which can cause problems or setting it to 169.254.x.x, which just generates a mass of broadcasts.

There is a way however to disable it but this requires the use of ssh, and is not recommended for those not familiar with the shell.

1. Enable SSH 2. Connect to the NAS via SSH to get a shell.

Now run the command

  1. ifconfig

this will list out the current network adapters, and their IP addresses. Make a note of the device name for the one you want to disable.

Now run this command substituting eth1 for the device you want to disable.

  1. sudo ip link set eth1 down
/home/gen.uk/domains/wiki.gen.uk/public_html/data/pages/computerfaq/disable_a_network_interface_when_not_in_use.txt · Last modified: 2023/12/02 14:12 by genadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki