Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

These instructions w

Step 1

-SSH into gateway:
Gateway must be Ensure that the gateway is connected via ethernet (or for a cellular/remote ethernet connection, use the internal command line tool to access the gateway, reach out to Jake Burhenn or Mo Bayaa for access).
Use -SSH into gateway using the gateway's local IP address to connect to it via SSH:

Code Block
root@IP_OF_GATEWAY

For example, if the gateway’s local IP is 192.168.2.100, you would type: root@192.168.2.100
Password: Serial number of the gateway, located on the bottom of the gateway

Step 2

...

Once SSH'd into the gateway, check run the following commands to query the status of the gateway :
Run these commands (queries the current BSP version, current firmware version, and current APN, curent current Chirpstack version, and current DPS version):

Code Block
system_version

...


konaLTEmodem.py -c "at!gobiimpref?"

...


konaLTEmodem.py -c "AT+CGDCONT?"

...


/opt/chirpstack-gateway-bridge/chirpstack-gateway-bridge version

...


/opt/mydevices/dps-client -v

Step 3

...

If BSP version is 3.0.4 or higher, go to step 5, otherwise continue to step 4

Step 4

...

If BSP version is less than 3.0.4, run these commands (takes 20 minutes to update after the last command is issued):

Code Block
rm /lib/firmware/*

...


mkdir /dev/fw304

...


cd /dev/fw304

...


curl https://myd-rnd-static.sfo2.digitaloceanspaces.com/vendor/tektelic/ipk.tar.gz > /dev/fw304/ipk.tar.gz

...


tar -xf ipk.tar.gz

...


mv ipk /lib/firmware

...


rm ipk.tar.gz

...


mv network-monitor.conf /opt/network-monitor-db

...


mv interface_priority_file /opt/network-monitor-db

...


mv tektelic-lab-feed.conf /etc/opkg/

...


opkg update

...


tektelic-dist-upgrade -Duf

After 20 minutes, SSH back into the gateway and run the following command to confirm that the gateway is on BSP version 3.0.4:

Code Block
system_version

Step 5

...

If the current firmware is listed as "Generic", run the following commands to remove any APNs, then skip to step 7, otherwise continue to step 6:

Code Block
konaLTEmodem.py -c 'at+cgdcont=1'

...


tektelic_reset

Step 6

...

If the current firmware is not listed as "Generic", run these commands to download the Generic firmware files needed for compatibility with T-Mobile:
Command 1:

Code Block
curl https://hwdartifacts.blob.core.windows.net/hwdassets/SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu > /dev/shm/SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu

Command 2:

Code Block
curl https://hwdartifacts.blob.core.windows.net/hwdassets/SWI9X30C_02.38.00.00.cwe > /dev/shm/SWI9X30C_02.38.00.00.cwe

Command 3:

Code Block
/opt/Sierra/LteModemFW/lte-fw-download-script.sh generic /dev/shm/

Installation will take approximately 6 or 7 minutes.

Step 7

...

If the current Chirpstack version listed is less than 3.13.3-r1, run the following commands, otherwise proceed to step 8:
Command 1:

Code Block
curl https://hwdartifacts.blob.core.windows.net/hwdassets/chirpstack-gateway-bridge_3.13.3-r1_kona.ipk > /home/root/chirpstack-gateway-bridge_3.13.3-r1_kona.ipk

Command 2:

Code Block
opkg install chirpstack-gateway-bridge_3.13.3-r1_kona.ipk

Step 8

...

If the current DPS version listed is less than 1.3.1-r0, run these commands, otherwise proceed to step 9:
Command 1:

Code Block
curl https://hwdartifacts.blob.core.windows.net/hwdassets/dps-client_1.3.1-r0_kona.ipk > /home/root/dps-client_1.3.1-r0_kona.ipk

Command 2:

Code Block
opkg install dps-client_1.3.1-r0_kona.ipk

Step 9

...

Wait 5 minutes, remove battery and power source, remove the old Sprint SIM card, insert the new T-Mobile SIM card, and reconnect the battery and power source.