Member-only story

How to edit Ubiquiti PtP/PtMP configuration via SSH

Ashton
1 min readSep 21, 2023

--

In this article, I will outline how to edit the configuration of an Ubiquiti PtP/PtMP device over SSH. This can be particularly useful as in many cases Ubiquiti’s UISP platform may not allow you to update a setting remotely and the only options are to make the changes over terminal, or make a trip to a remote site.

Once an SSH connection has been established with the AirFiber device, launch a VIM session in /tmp/system.cfg with vi /tmp/system.cfg

once the VIM session is open, navigate to the setting you wish to change, press i to enter insert mode, make the necessary changes and press esc to exit insert mode, repeat this for all other settings that need changing.

to save and exit the VIM session, press : to open the command tool, followed by wq (Write and Quit) and press enter

Now that the config file has been edited, save it to the system flash with cfgmtd -f /tmp/system.cfg -w

perform a warm-reboot with /usr/etc/rc.d/rc.softrestart save, or a cold reboot with reboot

Originally published at https://ashtonsouthall.vercel.app.

--

--

Ashton
Ashton

Written by Ashton

Sharing my learning experiences throughout my career

No responses yet