Is it possible to ssh into the Pi and update the software from 2.4R to 2.8R? Is it even necessary with the recent releases? My gateway is on the roof and not easy to reflash the SD card.
Yes, it is possible to update the firmware through SSH, but we need to make a update file for you.
It may take 1 day to do it, just wait for me. Iāll reply ASAP.
This file is only used for RAK2245 Pi HAT LoRa Gateway, if your gateway is this one, you can do as follow:
copy this update file into you RAK2245 Pi HAT LoRa gateway;
excute ātar -zxvf update_2.4_to_2.8.tgzā to uncompress the file;
i guess you ssh with it through ethernet, right? if it isnāt, just ignore step 3-4 and jump to step 5 directly.
Enter the folder <update_2.4_to_2.8>, and open the file dhcpcd.conf;
at the end of the file, you can see the following content:
I get a lot of errors with your update (note I added an extra ātā to http in my post below, it would not let me post multiple links)ā¦
pi@rak-gateway:~/update_2.4_to_2.8 $ sudo ./update.sh
Reading package listsā¦ Done
Building dependency tree
Reading state informationā¦ Done
iproute2 is already the newest version (4.9.0-1+deb9u1).
iw is already the newest version (4.9-0.1).
iw set to manually installed.
procps is already the newest version (2:3.3.12-3+deb9u1).
util-linux is already the newest version (2.29.2-1+deb9u1).
Suggested packages:
apparmor
The following NEW packages will be installed:
dns-root-data dnsmasq dnsmasq-base haveged hostapd libhavege1
libnl-route-3-200
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,074 kB of archives.
After this operation, 2,771 kB of additional disk space will be used.
Get:1 htttp://archive.raspberrypi.org/debian stretch/main armhf dnsmasq-base armh f 2.76-5+rpt1+deb9u1 [385 kB]
Err:2 htttp://raspbian.raspberrypi.org/raspbian stretch/main armhf dns-root-data all 2017072601~deb9u1
404 Not Found [IP: 93.93.128.193 80]
Get:3 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf libnl-ro ute-3-200 armhf 3.2.27-2 [113 kB]
Get:4 htttp://archive.raspberrypi.org/debian stretch/main armhf dnsmasq all 2.76- 5+rpt1+deb9u1 [16.1 kB]
Get:5 htttp://archive.raspberrypi.org/debian stretch/main armhf hostapd armhf 2:2 .6-21~bpo9~rpt1 [497 kB]
Get:6 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf libhaveg e1 armhf 1.9.1-5+deb9u1 [24.9 kB]
Get:7 htttp://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf haveged armhf 1.9.1-5+deb9u1 [33.4 kB]
Fetched 1,069 kB in 1s (655 kB/s)
E: Failed to fetch htttp://raspbian.raspberrypi.org/raspbian/pool/main/d/dns-root -data/dns-root-data_2017072601~deb9u1_all.deb 404 Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis sing?