wiki:WirelessVT2016/UsrpLTE

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
  1. omf tell -a on -t node7-1.grid.orbit-lab.org
  1. It will take roughly 60 seconds to come up.
  1. ssh root@node7-1.grid.orbit-lab.org
  1. modprobe GobiSerial
  1. modprobe GobiNet
  1. minicom -D /dev/ttyUSB1
  1. AT!ippassthrough?
  1. It should return 1

  1. If it does not, run AT!ippassthrough=1 then AT!reset
  2. AT!entercnd="A710"
    You should see OK
  3. AT!dxcfg=wwan,connect,11
    You should see OK then $QCRMCALL: 1, V4
  4. at!gstatus?

Will return a status like:

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

  1. Exit Minicom by PRESSING Ctrl+A followed by x , then enter to select ok.

dhcpcd eth2 followed by enter to get a new line.

  1. You should get an address in the 192.168.3.0/24 subnet.

{{{ route add default eth2

ping 192.168.3.1 }}}

  1. You have successfully communicated with the basestation.
  1. You can cancel the ping with Ctrl+C
  1. iperf -c 192.168.3.1 This will report your bandwidth to the basestation.

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
  1. 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.

Last modified 3 years ago Last modified on 07/13/16 02:19:38