Telem-RTA-A: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
*You can find the software here | *You can find the software here | ||
** https://phobos.martem.ee/wiki/Telem-RTA-A | |||
** \\Phobos\d\3_Tehniline\Tarkvara myygiks\RTA-A | ** \\Phobos\d\3_Tehniline\Tarkvara myygiks\RTA-A | ||
=== Updating === | === Updating === | ||
Line 20: | Line 21: | ||
#*If you're using a new M501 board, use the details above | #*If you're using a new M501 board, use the details above | ||
#*If it's a configured RTA-A then use the IP you have configured to the device. | #*If it's a configured RTA-A then use the IP you have configured to the device. | ||
# | #Overwrite the contents of '''/mnt/disk''' | ||
#*If it fails, try again. | #*If it fails, try again. | ||
# | #**If RTA-A resets during the copy process, you might need to use '''192.168.2.127''' as the FTP IP address | ||
#**Try again | |||
#*Try again | |||
#Allow execution permissions for these files | #Allow execution permissions for these files | ||
#*/disk/gateway.sh | #*/disk/gateway.sh | ||
Line 53: | Line 53: | ||
== Delete everything inside RTA-A == | == Delete everything inside RTA-A == | ||
Log in with SSH and execute | Log in with SSH and execute the following commands | ||
chmod -x /mnt/disk/usr/local/bin/telem/run-telem.sh | |||
rm -rf /mnt/disk/{.directory,PACKED,VERSION,README.txt,home,log,root,update,usr,var,lib*,rootfs.txz,config.xml} | rm -rf /mnt/disk/{.directory,PACKED,VERSION,README.txt,home,log,root,update,usr,var,lib*,rootfs.txz,config.xml} | ||
Now when you run '''df''' it should show ~40% | |||
df | |||
After this, follow the update guide |
Revision as of 07:13, 4 April 2013
M501 Default Settings
Setting | default ver<1190 | ver>1190 | |
---|---|---|---|
Default IP | 192.168.2.127 | 192.168.0.111 | |
Netmask | 255.255.255.0 | 255.255.255.0 | |
Login | root | root | martem |
Password | root | reH3epea | Xooviet0 |
Software upgrades for Linux
- You can find the software here
- https://phobos.martem.ee/wiki/Telem-RTA-A
- \\Phobos\d\3_Tehniline\Tarkvara myygiks\RTA-A
Updating
- Login with FTP
- If you're using a new M501 board, use the details above
- If it's a configured RTA-A then use the IP you have configured to the device.
- Overwrite the contents of /mnt/disk
- If it fails, try again.
- If RTA-A resets during the copy process, you might need to use 192.168.2.127 as the FTP IP address
- Try again
- If it fails, try again.
- Allow execution permissions for these files
- /disk/gateway.sh
- /disk/RtaMain
- /disk/runfirst.sh
- Wait ~30 seconds, so everything is written to flash.
- Reset RTA-A
- Wait ~30 seconds until RTA-A starts, if not running by then, update failed.
Enabling NTP
In order to enable NTP client or server user needs to create ntp.conf file in folder /disk/etc and reboot the device. This can be than with commands echo and reboot, for instance:
root@Telem-RTA-A />echo server 192.168.55.1 burst iburst > /disk/etc/ntp.conf root@Telem-RTA-A />reboot
After the reboot RTA-A starts to sync with server at IP address 192.168.55.1.
Inorder to enable time server at RTA-A lines like these need to be added to the ntp.conf
# Provider services from local clock server 127.127.1.0 fudge 127.127.1.0 stratum 10
Description of ntpd can be found here homepage for NTP is here [1]. Linux man page for ntp.conf can be found here [2], description of ntpd can be found from here [3].
NTP can be disabled by deleting the file ntp.conf from the RTA-A
Delete everything inside RTA-A
Log in with SSH and execute the following commands
chmod -x /mnt/disk/usr/local/bin/telem/run-telem.sh
rm -rf /mnt/disk/{.directory,PACKED,VERSION,README.txt,home,log,root,update,usr,var,lib*,rootfs.txz,config.xml}
Now when you run df it should show ~40%
df
After this, follow the update guide