== !AmariSoft LTE == The image used for this experiment is 'baseline.ndz'. In this tutorial we will use nodes equipped with Netgear AC341u LTE dongles. The basestation is Amarisoft running on Bsc03out. During a normal experiment using OMF, the following actions are scripted and automated. This is a look at the steps involved in something as simple as starting an LTE connection behind the scenes. You will run the following commands on node7-1.grid.orbit-lab.org, node1-7.grid.orbit-lab.org, node19-3.grid.orbit-lab.org After connecting to the grid console: 1. {{{ omf load -i baseline.ndz -t node7-1.grid.orbit-lab.org }}}[[BR]] 2. {{{ omf tell -a on -t node7-1.grid.orbit-lab.org }}}[[BR]] 3. It will take roughly 60 seconds to come up.[[BR]] 4. {{{ ssh root@node7-1.grid.orbit-lab.org }}}[[BR]] 5. {{{ modprobe GobiSerial }}}[[BR]] 6. {{{ modprobe GobiNet }}}[[BR]] 7. {{{ minicom -D /dev/ttyUSB1 }}}[[BR]] 8. {{{ AT!ippassthrough? }}}[[BR]] 9. It should return 1[[BR]] 1. If it does not, run {{{ AT!ippassthrough=1 }}} then {{{ AT!reset }}}[[BR]] 2. {{{ AT!entercnd="A710" }}}[[BR]] You should see {{{ OK }}}[[BR]] 3. {{{ AT!dxcfg=wwan,connect,11 }}}[[BR]] You should see {{{ OK }}} then {{{ $QCRMCALL: 1, V4 }}} [[BR]] 4. {{{ at!gstatus? }}} [[BR]] Will return a status like: [[BR]] {{{ at!gstatus? !GSTATUS: Current Time: 10049 Temperature: 42 Bootup Time: 0 Mode: ONLINE System mode: LTE PS state: Attached LTE band: B25 LTE bw: 10 MHz LTE Rx chan: 8365 LTE Tx chan: 26365 EMM state: Registered Normal Service RRC state: RRC Connected IMS reg state: No Srv RSSI (dBm): -83 Tx Power: 0 RSRP (dBm): -117 TAC: 0001 (1) RSRQ (dB): -10 Cell ID: 01A2D001 (27447297) SINR (dB): 1.6 }}} 5. Exit Minicom by **PRESSING** {{{ Ctrl+A followed by x }}}, then {{{enter}}} to select ok.[[BR]] {{{ dhcpcd eth2 }}} followed by {{{enter}}} to get a new line. [[BR]] 6. You should get an address in the 192.168.3.0/24 subnet. [[BR]] {{{ ping 192.168.3.1 }}} 7. You have successfully communicated with the basestation. [[BR]] 8. You can cancel the ping with {{{Ctrl+C}}} [[BR]] 9. {{{iperf -c 192.168.3.1 }}} This will report your bandwidth to the basestation.[[BR]] Sample output {{{ root@node1-7:~# ping 192.168.3.1 PING 192.168.3.1 (192.168.3.1) 56(84) bytes of data. 64 bytes from 192.168.3.1: icmp_seq=1 ttl=64 time=225 ms 64 bytes from 192.168.3.1: icmp_seq=2 ttl=64 time=56.2 ms 64 bytes from 192.168.3.1: icmp_seq=3 ttl=64 time=54.8 ms ^C --- 192.168.3.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 54.837/112.267/225.716/80.222 ms root@node1-7:~# iperf -c 192.168.3.1 ------------------------------------------------------------ Client connecting to 192.168.3.1, TCP port 5001 TCP window size: 85.0 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.3.2 port 43281 connected with 192.168.3.1 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.2 sec 9.50 MBytes 7.80 Mbits/sec }}} 10. Uses rest interface to manage the BS. To set the LTE connection bandwidth to 5 MHz issue the following commands on the console (not node): {{{ wget http://bsc03out.orbit-lab.org:5054/bscontrol/bs/1/default_cell_parameters?n_rb_dl=25 wget http://bsc03out.orbit-lab.org:5054/bscontrol/bs/1/restart }}} Setting n_rb_dl to 50 sets it to 10 MHz while setting it to 100 sets the bandwidth to 20 MHz. After basestation restarts, most of the clients need to be also reconnected.