...
...
...
Changing APN for T-Mobile and multi-carrier SIMs such as Twilio, Teal, Hologram, etc.
Note: If using Changing APN for AT&T or Verizon SIM cards, these instructions will not work. The gateway will need to be updated with the correct firmware version first.and Verizon requires additional steps. See instructions at bottom of this page.
Step 1
Connect gateway to ethernet.
Locate the gateway’s IP address (you can use an IP scanner).
Get gateway’s password, which is the serial number on the sticker on the bottom of the gateway.
SSH into gateway using a command line interface program like Terminal on Mac or Command Prompt on PC:
ssh root@192.168.2.xxx
Password is the gateway serial number.
Enter following commands to check the system version, current firmware, and current APN, and Chirpstack version:
Code Block |
---|
system_version konaLTEmodem.py -c "at!gobiimpref?" konaLTEmodem.py -c "AT+CGDCONT?" |
...
Output will look like this:
...
Step 2
Enter the following command to change the APN.
...
The following example shows us changing our APN to “hologram”:
...
Step 3
Enter the following command to reset the gateway and apply the changes:
Code Block |
---|
tektelic_reset |
Changing APN for AT&T Sims
Step 1
Download and open FileZilla and connect to the gateway with host being the IP address of the gateway, “root” as the username and the Serial Number of the Gateway as the password and the port which the gateway is on.
Step 2
Go to the dev/shm in FileZilla and input these two files in the shm folder.
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
Step 3
In the Terminal, once connected to the gateway please run this command to fully download the ATT Firmware:
Code Block |
---|
/opt/Sierra/LteModemFW/lte-fw-download-script.sh att /dev/shm/ |
Step 4
Connect gateway to ethernet.
Locate the gateway’s IP address (you can use an IP scanner).
Get gateway’s password, which is the serial number on the sticker on the bottom of the gateway.
SSH into gateway using a command line interface program like Terminal on Mac or Command Prompt on PC:
ssh root@192.168.2.xxx
Password is the gateway serial number.
Enter following commands to check the system version, current firmware, and current APN:
Code Block |
---|
system_version
konaLTEmodem.py -c "at!gobiimpref?"
konaLTEmodem.py -c "AT+CGDCONT?" |
Output will look like this:
...