Trying to install a NUT client on RT-N66U

Martin Fishkov

Regular Contributor
My old RT-N66U (Firmware:380.70) has been a wifi access point, and a router connecting my NAS to the network.
Recently I installed a new UPC, and was looking for a way to get some stats.

The N66 has never had much to do, but now I thought to install the NUT client on it so I can see pretty pictures of my power usage.

Sadly I cannot even get AMTM installed on the thing. A 7.5 Gb usb drive is attached, formatted and scripts are enabled. The command

curl -Os https://diversion.ch/amtm/amtm && sh amtm

fails silently , or at least gives no visible result. Not even in the log.

The folder /jffs/scripts/ remains empty.

Am I expecting to much from the n66? Or am I missing something simple / silly..?..

Thnks!
 

ColinTaylor

Part of the Furniture
Remove the "silent" flag from the curl command to see the error. I suspect it's a certificate issue.
Code:
curl -O https://diversion.ch/amtm/amtm
 

Martin Fishkov

Regular Contributor
AMTM now installs, but trying to install entware then still fails- no reason given:
Getting from diversion.ch
! Module entware_setup.mod download failed
_____________________________________________


Trying to update gives me
! amtm: diversion.ch unreachable

Update(s) aborted, could not retrieve version

but why? Ping diversion.ch (from the network tools in the Merlin web ui) returns
PING diversion.ch (80.74.145.140): 56 data bytes
64 bytes from 80.74.145.140: seq=0 ttl=54 time=19.249 ms
64 bytes from 80.74.145.140: seq=1 ttl=54 time=20.051 ms
64 bytes from 80.74.145.140: seq=2 ttl=54 time=19.322 ms
64 bytes from 80.74.145.140: seq=3 ttl=54 time=20.368 ms
64 bytes from 80.74.145.140: seq=4 ttl=54 time=19.744 ms

--- diversion.ch ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 19.249/19.746/20.368 ms
 
Last edited:

ColinTaylor

Part of the Furniture
I think it's the same certificate issue because your firmware is so old. Search the forums for previous discussions about this problem.
 

Martin Fishkov

Regular Contributor
ok, that helps. It'll have to wait as the search feature is, today, not doing me any favors..

But thanks for the quick help!
 

ColinTaylor

Part of the Furniture
Yeah, the search feature seems a bit broken sometimes.

Try this:
Code:
echo insecure >> $HOME/.curlrc
curl -Os https://diversion.ch/scripts/ca_cert_check.sh && sh ca_cert_check.sh
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top