GWM and GW6e Configuring Options

From Phobos Wiki
Revision as of 07:47, 25 September 2017 by Alfred (talk | contribs)
Jump to navigation Jump to search

All configurations are currently made with GWS. In future, there may be more options.

There are many ways to transfer resulting *.tar.xz configuration to device:

  • Use GWS (uses pscp.exe)
  • copy with scp/pscp (secure copy, TCP port 22)
  • (new) use console with Zmodem protocol.
  • (new) use webservers config tab

Same options are available for firmware too. But not all of them are convenient.

Configuration

GWS

Configuration files are created with GWS software. Typically, the configuration files are transported to RTU via the GWS ethernet conncetion. Please refer to Ethernet_connection

scp

Console

Console speed is fixed to baudrate 115200.

Transfering 1MB file takes about 1.5 minutes.

For Zmodem GWM/GW6e has rz for receiving and sz for sending files from lrzsz. It also supports X/Ymodem protocols.

Check rz --help and sz --help for options.

rz can be cancelled by pressing Ctrl-X few times.

using minicom (linux)

Minicom uses lrzsz package for Zmodem functionality. We assume that minicom is configured correctly for console connection.

Steps to send file to device:

  • Find serial port
DEMO ~ $ ls -l /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DN01CIHT-if00-port0
lrwxrwxrwx 1 root root 13 Sep  4 16:01 /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DN01CIHT-if00-port0 -> ../../ttyUSB2
  • Connect with minicom
minicom -D /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DN01CIHT-if00-port0
  • Login with root user
  • Start receiving process in device with rz -b

Zmodem0.png

  • Start sending process from minicom by pressing Ctrl-A and S and choose zmodem.

Zmodem1.png

  • Choose file to send, mark file with space

Zmodem2.png (upload will fail if file with same name already exists)

  • Press enter if transfer is finished

Zmodem3.png

  • move file to correct location and reboot.
mv newfile.tar.xz /home/martem/setup.new.tar.xz
reboot

TeraTerm (Windows)

Download required software if needed:

Send files:

  • Make sure that usb serial is properly configured. (From TeraTerm: Setup->Serial port...)
  • Press enter to see login prompt and login with root user
  • Start receiving process in device with rz -b

Zmodem win0.png

  • Start sending process from TeraTerm

Zmodem win1.png

  • move file to correct location and reboot.
mv newfile.tar.xz /home/martem/setup.new.tar.xz
reboot

Web

Firmware

GWS

scp

Console

Web