Telem-RTA-A

From Phobos Wiki
Revision as of 12:17, 25 February 2013 by Roland (talk | contribs)
Jump to navigation Jump to search

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
    • \\Phobos\d\3_Tehniline\Tarkvara myygiks\RTA-A

Updating

  1. 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.
  2. Copy all files except RtaMain to /disk/
    • If it fails, try again.
  3. Copy RtaMain to /disk/
    • If RTA-A resets during the copy process, you might need to use 192.168.2.127 as the FTP IP address
    • Try again
  4. Allow execution permissions for these files
    • /disk/gateway.sh
    • /disk/RtaMain
    • /disk/runfirst.sh
  5. Wait ~30 seconds, so everything is written to flash.
  6. Reset RTA-A
  7. 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 command

rm -rf /mnt/disk/{.directory,PACKED,VERSION,README.txt,home,log,root,update,usr,var,lib*,rootfs.txz,config.xml}