From 59b5e5f18cf970688ab8f69e5c849ff94b776752 Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 14 Aug 2019 18:01:29 -0500 Subject: Move to L4N1 and L4E1 support, temporarily on gitlab --- .../multitech/config/ppp/peers/README.fwswitch | 75 ++++++++++++++++++++++ .../multitech/config/ppp/peers/README.lna3 | 75 ---------------------- 2 files changed, 75 insertions(+), 75 deletions(-) create mode 100644 recipes-core/multitech/config/ppp/peers/README.fwswitch delete mode 100644 recipes-core/multitech/config/ppp/peers/README.lna3 (limited to 'recipes-core') diff --git a/recipes-core/multitech/config/ppp/peers/README.fwswitch b/recipes-core/multitech/config/ppp/peers/README.fwswitch new file mode 100644 index 0000000..3e6e5fb --- /dev/null +++ b/recipes-core/multitech/config/ppp/peers/README.fwswitch @@ -0,0 +1,75 @@ +LNA3 firmware/SIM switching instructions + +To automatically set the APN, bring up the system +with the desired SIM installed (AT&T or Verizon). + +Execute with a Verizon SIM installed +(switch to Verizon Firmware and Chat): + +root@mtcap:~# /usr/sbin/mlinux-switch-apn +Cellular radio is ready. +Setting chat script to /etc/ppp/peers/lna3_chat_vz + +root@mtcap:~# ls -ld /etc/ppp/peers/lna3_chat +lrwxrwxrwx 1 root root 27 Aug 31 16:30 /etc/ppp/peers/lna3_chat -> /etc/ppp/peers/lna3_chat_vz + +root@mtcap:~# radio-query --active-firmware +1 + +Firmware image 1 is Verizon, and lna3_chat should point at the Verizon chat scripts lna3_chat_vz. + +To switch to an AT&T SIM (the default): + +root@mtcap:~# mlinux-switch-apn +Cellular radio is ready. +Setting chat script to /etc/ppp/peers/lna3_chat_non_vz + +It is critical that you do not use an AT&T chat script with a Verizon SIM, +because it will set the wrong APN, and it will be remembered as belonging +to the SIM/device combination. + + +The following are not recommended: +To manually set the chat script: + +mlinux-switch-apn [0|1] + +To manually switch the firmware setting: +mlinux-switch-cell-fw [0|1|-1] [timeout] + +This command sets the chat to this readme file. Then it will be needed to +set the symlink for the chat script, which can be done by using mlinux-switch-apn +with 0 for AT&T, and 1 for Verizon. + + + + + + +Put the desired SIM into the device. + +The default APN is "phone" for the LNA3. + +Set the APN using: + +kkk # mlinux-set-apn "YOURAPN" + +Do not put a "AT+CGDCONT" in the lna3_chat_vz script. It will cause trouble. + +To pick a firmware based on the + +To switch to the Verizon firmware and chat script: + + # mlinux-switch-cell-fw 1 + +To switch to the non-Verizon firmware and chat script: + + # mlinux-switch-cell-fw 0 + +Verizon provided APN setting over the air. If you set the APN on a Verizon SIM, +and they push a new APN, you will need to change the APN on the device. + +It is best not to set the APN. To switch from a manually set APN or incorrect APN +to letting Verizon set the APN, remove the SIM, and put it in another device. +Then register with the Verizon network. With the APN setting removed, put the SIM +back into this device. diff --git a/recipes-core/multitech/config/ppp/peers/README.lna3 b/recipes-core/multitech/config/ppp/peers/README.lna3 deleted file mode 100644 index 3e6e5fb..0000000 --- a/recipes-core/multitech/config/ppp/peers/README.lna3 +++ /dev/null @@ -1,75 +0,0 @@ -LNA3 firmware/SIM switching instructions - -To automatically set the APN, bring up the system -with the desired SIM installed (AT&T or Verizon). - -Execute with a Verizon SIM installed -(switch to Verizon Firmware and Chat): - -root@mtcap:~# /usr/sbin/mlinux-switch-apn -Cellular radio is ready. -Setting chat script to /etc/ppp/peers/lna3_chat_vz - -root@mtcap:~# ls -ld /etc/ppp/peers/lna3_chat -lrwxrwxrwx 1 root root 27 Aug 31 16:30 /etc/ppp/peers/lna3_chat -> /etc/ppp/peers/lna3_chat_vz - -root@mtcap:~# radio-query --active-firmware -1 - -Firmware image 1 is Verizon, and lna3_chat should point at the Verizon chat scripts lna3_chat_vz. - -To switch to an AT&T SIM (the default): - -root@mtcap:~# mlinux-switch-apn -Cellular radio is ready. -Setting chat script to /etc/ppp/peers/lna3_chat_non_vz - -It is critical that you do not use an AT&T chat script with a Verizon SIM, -because it will set the wrong APN, and it will be remembered as belonging -to the SIM/device combination. - - -The following are not recommended: -To manually set the chat script: - -mlinux-switch-apn [0|1] - -To manually switch the firmware setting: -mlinux-switch-cell-fw [0|1|-1] [timeout] - -This command sets the chat to this readme file. Then it will be needed to -set the symlink for the chat script, which can be done by using mlinux-switch-apn -with 0 for AT&T, and 1 for Verizon. - - - - - - -Put the desired SIM into the device. - -The default APN is "phone" for the LNA3. - -Set the APN using: - -kkk # mlinux-set-apn "YOURAPN" - -Do not put a "AT+CGDCONT" in the lna3_chat_vz script. It will cause trouble. - -To pick a firmware based on the - -To switch to the Verizon firmware and chat script: - - # mlinux-switch-cell-fw 1 - -To switch to the non-Verizon firmware and chat script: - - # mlinux-switch-cell-fw 0 - -Verizon provided APN setting over the air. If you set the APN on a Verizon SIM, -and they push a new APN, you will need to change the APN on the device. - -It is best not to set the APN. To switch from a manually set APN or incorrect APN -to letting Verizon set the APN, remove the SIM, and put it in another device. -Then register with the Verizon network. With the APN setting removed, put the SIM -back into this device. -- cgit v1.2.3