Convert Tektelic TTN GW from Sprint to T-Mobile
- 1 1. SSH into gateway
- 2 2. Once SSH'd into the gateway, check the status of the gateway:
- 3 3. If BSP version is 3.0.4 or higher, go to step 5, otherwise continue to step 4
- 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):
- 5 5. If the current firmware is listed as "Generic", run the following commands to remove any APNs, then go to step 7, otherwise continute to step 6:
- 6 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:
- 7 7. 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.
1. SSH into gateway
Gateway can either be connected via ethernet or cellular.
For Ethernet connection
Use the gateway's local IP address to connect to it via SSH:
root@<IP OF GATEWAY>
Password: Serial number of the gateway, located on the bottom of the gateway
For Cellular connection
If cellular connection is being used, connect to the gateway via Tektelic OAM Gateway site and your credentials.
Check if gateway is already added to the myDevices gateway group. If not, add gateway to the group.
Once added, gateway credentials are TEKXXXXXX where XXXXX are the last 6 characters of the gateway EUI. Password will be the gateway's serial number.
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):
system_version
konaLTEmodem.py -c "at!gobiimpref?"
konaLTEmodem.py -c "AT+CGDCONT?"
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 make sure 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 go to step 7, otherwise continute to step 6:
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:
Run this command to install the firmware:
Installation will take approximately 6 or 7 minutes.
7. 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.