THANKS to all that helped me. i now have a UI script that compares router/node wireless stats with sortable columns, clickable refresh on demand button, clickable show wired button, highlights new device connection. Im sure i'll add/delete columns as I tinker about.
in case someone wants to use a password, install EXPECT through opkg, here is what i used:
#!/bin/sh
set name "name" ; # admin name
set node_ip "192.168.50.2" ; # node IP
set password "password" ; # node password
spawn ssh $name@$node_ip
expect {
"assword:" { send "$password\r"...
Question: how do i execute a script i created in /jffs/scripts from a clickable-button on my webpage? right now I use cron to execute. i dont know what format i need, to execute on Merlin firmware. webpage is sitting in /www/user5.asp like its supposed to. AI couldnt figure out how to integrate...
If you have a way, I'm listening. Gemini-AI tried for me for hours, would not ssh-authenticate between routers, and I tried with ssh-key and password. if router could ssh into node, I could bypass script and just pull wireless variables. ASUS might have it locked down.
Im running this script manually on my node, and manually uploading node_upload.txt to my main router. is there a way to automate the process, so i can just run my script on router to use node_upload.txt and apply results? A direct pull of variables would be great, if possible.