Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

1-SSH into gateway:
Gateway must be connected via ethernet (or use the internal command line tool to access the gateway, reach out to Mo Bayaa for access).
Use the gateway's local IP address to connect to it via SSH:
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

2-Once SSH'd into the gateway, check the status of the gateway:
Run these commands (queries the current BSP version, current firmware version, and current APN, curent Chirpstack version, and current DPS version):
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

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

4-If BSP version is less than 3.0.4, run these commands (takes 20 minutes to update after the last command is issued):
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:
system_version

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:
konaLTEmodem.py -c 'at+cgdcont=1'
tektelic_reset

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:
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:
curl https://hwdartifacts.blob.core.windows.net/hwdassets/SWI9X30C_02.38.00.00.cwe > /dev/shm/SWI9X30C_02.38.00.00.cwe

Command 3:
/opt/Sierra/LteModemFW/lte-fw-download-script.sh generic /dev/shm/

Installation will take approximately 6 or 7 minutes.

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:
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:
opkg install chirpstack-gateway-bridge_3.13.3-r1_kona.ipk

8-If the current DPS version listed is less than 1.3.1-r0, run these commands, otherwise proceed to step 9:
Command 1:
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:
opkg install dps-client_1.3.1-r0_kona.ipk

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.

  • No labels