You are here

terminal command to adjust node settings over SSH?

9 posts / 0 new
Last post
KM6SLF
KM6SLF's picture
terminal command to adjust node settings over SSH?

I'm interested in being able to change a setting - specifically "Allow other MESH nodes to use my WAN" - over SSH. Is there a way to accomplish this? And if so, how?

P.S. I'm familiar with logging into the node over SSH and have explored the file system. 

K7EOK
I also want to learn how to
I also want to learn how to get into these devices with SSH.  From the main page there is a Docs tab.  If you search in there for SSH you'll find some articles about PUTTY and SSH Keys etc.  I haven't yet had time to do a deep dive and read all of the information.  It seems that troubleshooting and getting detailed reports from the AREDN devices involves understanding SSH and using a terminal to go into Linux part of the device directly. 

If I ask here for help how to understand and use SSH I'll probably get told that is outside the scope of this forum wink  so most likely I'll have to figure this out elsewhere.   73, Ed
 
w6bi
w6bi's picture
SSH to an AREDN node
Basically, using either Putty or OpenSSH (available on Windows 10 but not enabled by default), the command is

ssh -p 2222 root@<nodename>
You'll be asked for the node's password.

What you do once you're logged in is indeed beyond the scope of the forum, but if you ask a specific question you'll probably get an answer.

Once done, type 'exit' to log off the node.

Hope this helps.

Orv W6BI
 
k1ky
k1ky's picture
SSH to an AREDN node

One thing that I find is most useful is to "reboot" nodes that otherwise are difficult to get into the GUI, giving them a "fresh" start.  I also use it to drop modified swconfig files for expanded DTD ports.  I use WINSCP and putty for access.

KM6SLF
KM6SLF's picture
Do you think that could be
Do you think that could be used to adjust the WAN sharing setting?
k1ky
k1ky's picture
Do you think that could be
If you or I knew where to look (what config file?) I'm sure you could.  Best try the Slack or Mattermost forums for that question.
KA5TYW
Text Editor for SSH
I am using a Raspberry Pi 5 running Bookworm OS as my AREDN station computer.  I can ssh into my nodes and I have found that the Raspberry Pi editor (nano) doesn't work for editing files.  What editor(s) can you recommend?
 
Thanks & 73,
 
Paul
nc8q
nc8q's picture
What editor can you recommend?
/bin/vi

Use your favorite search engine and seek
man vi

https://www.man7.org/linux/man-pages/man1/vi.1p.html
and many many others

73, Chuck
 
KA5TYW
What editor can you recommend?
Chuck,

Thanks!  I dug out my wife's old Unix documentation to get up-to-speed with the vi editor.  Old wisdom: "If you want to learn new things, read old books."  So, I followed the 'quick fix' specified in #2560 and got my QTH chimney-mounted Nanostation's status/admin screen back.  Very cool.

73,

Paul

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer