Tips: LtAP (Not mini)
Posted: Wed Jul 08, 2020 8:41 pm
This post is for if you have some troubles with this device.
Enable GPS:
System -> Ports -> Serial1 -> Baud Rate = 115200
/system serial-terminal port=serial1 channel=0
MiniPCI-e or USB modem: (Default: USB-type-A)
/system routerboard usb set type=mini-PCIe
/system routerboard usb set type=USB-type-A
Select SIM: (Default: Slot 2)
/system routerboard modem set sim-slot=2
/system routerboard modem set sim-slot=3
Update firmware:
/interface lte firmware-upgrade lte1
/interface lte firmware-upgrade lte1 upgrade=yes
/interface lte firmware-upgrade lte2
/interface lte firmware-upgrade lte2 upgrade=yes
MTU:
Both interfaces set on 1480
Fix LTE: (Until ROS v6.47, starting with v6.48 beta and 6.47.1 is fixed) (This also affects to RBM33G).
If you use R11e-LTE and R11e-LTE-US at same time, probably you will have troubles to get both interfaces with running state. Both interfaces connects to cell towers but not runs. This can help you if you have ROS 6.47 or lower.
/system scheduler
add name=FixLTE on-event="log info \"LTE fix script started\"\r\
\ndelay 60s;\r\
\n:global runloop true\r\
\n:while (\$runloop=true) do={\r\
\n if ([interface get lte2 actual-mtu] = 1499 ) do={\r\
\n log info \"lte2 re-enable\"\r\
\n system routerboard usb power-reset\r\
\n delay 5s;\r\
\n log info \"lte1 re-enable\"\r\
\n interface lte disable lte1;\r\
\n interface lte enable lte1;\r\
\n }\r\
\n if ([interface get lte2 actual-mtu] != 1499 ) do={\r\
\n system script environment remove runloop\r\
\n log info \"LTE fix script completed\"\r\
\n }\r\
\n} " policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-time=startup
Now reboot and when both interfaces connects to respective cell towers, check if both are running.
More details here.
Interfaces running but no Internet access:
- Remember to activate your SIM card with a smartphone and check if you can browse on Internet with it first.
Block Diagram:
R11e-LTE6 + R11e-LTE-US or 2x R11e-LTE-US not work together
- Both interfaces are recognized on Resources, but only 1x R11e-LTE-US is on the interface list. Unfortunately they can not work together by hardware limitations (This also affects to RBM33G).
The hardware limitation is caused by USB EndPoints (EPs). LtAP and RBM33G have 32 EPs available.
xHCI Host Controller: 1 EPs (These devices have 2 host controllers, so, 30 EPs are available for miniPCIe cards).
R11e-LTE: 11 EPs
R11e-4G: 12 EPs
R11e-LTE6: 13 EPs
R11e-LTE-US: 18 EPs
Regards.
Enable GPS:
System -> Ports -> Serial1 -> Baud Rate = 115200
/system serial-terminal port=serial1 channel=0
MiniPCI-e or USB modem: (Default: USB-type-A)
/system routerboard usb set type=mini-PCIe
/system routerboard usb set type=USB-type-A
Select SIM: (Default: Slot 2)
/system routerboard modem set sim-slot=2
/system routerboard modem set sim-slot=3
Update firmware:
/interface lte firmware-upgrade lte1
/interface lte firmware-upgrade lte1 upgrade=yes
/interface lte firmware-upgrade lte2
/interface lte firmware-upgrade lte2 upgrade=yes
MTU:
Both interfaces set on 1480
Fix LTE: (Until ROS v6.47, starting with v6.48 beta and 6.47.1 is fixed) (This also affects to RBM33G).
If you use R11e-LTE and R11e-LTE-US at same time, probably you will have troubles to get both interfaces with running state. Both interfaces connects to cell towers but not runs. This can help you if you have ROS 6.47 or lower.
/system scheduler
add name=FixLTE on-event="log info \"LTE fix script started\"\r\
\ndelay 60s;\r\
\n:global runloop true\r\
\n:while (\$runloop=true) do={\r\
\n if ([interface get lte2 actual-mtu] = 1499 ) do={\r\
\n log info \"lte2 re-enable\"\r\
\n system routerboard usb power-reset\r\
\n delay 5s;\r\
\n log info \"lte1 re-enable\"\r\
\n interface lte disable lte1;\r\
\n interface lte enable lte1;\r\
\n }\r\
\n if ([interface get lte2 actual-mtu] != 1499 ) do={\r\
\n system script environment remove runloop\r\
\n log info \"LTE fix script completed\"\r\
\n }\r\
\n} " policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-time=startup
Now reboot and when both interfaces connects to respective cell towers, check if both are running.
More details here.
Interfaces running but no Internet access:
- Remember to activate your SIM card with a smartphone and check if you can browse on Internet with it first.
Block Diagram:
R11e-LTE6 + R11e-LTE-US or 2x R11e-LTE-US not work together
- Both interfaces are recognized on Resources, but only 1x R11e-LTE-US is on the interface list. Unfortunately they can not work together by hardware limitations (This also affects to RBM33G).
The hardware limitation is caused by USB EndPoints (EPs). LtAP and RBM33G have 32 EPs available.
xHCI Host Controller: 1 EPs (These devices have 2 host controllers, so, 30 EPs are available for miniPCIe cards).
R11e-LTE: 11 EPs
R11e-4G: 12 EPs
R11e-LTE6: 13 EPs
R11e-LTE-US: 18 EPs
Regards.