summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config/ppp/peers/README.fwswitch
blob: 47ef5efc56c1be5af690f09fbfd854c902e96ab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
LNA3/L4N1 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 (does nothing for Sprint or Verizon chat scripts):

# mlinux-set-apn "YOURAPN"

Do not put a "AT+CGDCONT" in the lna3_chat_vz script or
l4n1_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.