Posts: 29
Threads: 11
Joined: Mar 2023
Reputation:
0
Hi guys
I received my LogicMachine5 Reactor LTE last Friday and I'm trying to get the LTE connection up and running before sending it out to our customer.
I followed the instruction you posted to another customer with a similar problem, and got these results:
Code: * arg: 1
* string: open port
* arg: 2
* string: /dev/ttyUSB2
* string: AT&F
OK
+CPIN: SIM PIN
ATE1
OK
AT+CGDCONT=1,"IP","internet"
ERROR
ATD*99***1#
ERROR
And ran the other script to check signal strength i assume?
Code: * string: Signal: 29
* string: SIM: unknown
* string: Network: no info
Am I missing something?
Posts: 8427
Threads: 45
Joined: Jun 2015
Reputation:
482
Remove PIN code protection from the SIM card and try again.
Posts: 29
Threads: 11
Joined: Mar 2023
Reputation:
0
27.05.2024, 12:55
(This post was last modified: 27.05.2024, 13:01 by BMSimon.)
(27.05.2024, 10:03)admin Wrote: Remove PIN code protection from the SIM card and try again.
Thank you, that worked
1 more question!
How do I configure ZeroTier without setting a Gateway IP?
Posts: 8427
Threads: 45
Joined: Jun 2015
Reputation:
482
ZeroTier needs internet access so it won't work without a gateway/DNS. When 3G/4G connection becomes active it will override the default gateway so all external traffic is routed via the mobile network.
Posts: 126
Threads: 29
Joined: Apr 2022
Reputation:
0
(27.05.2024, 13:29)admin Wrote: ZeroTier needs internet access so it won't work without a gateway/DNS. When 3G/4G connection becomes active it will override the default gateway so all external traffic is routed via the mobile network.
Does that mean that I can't use ZeroTier?
I waited until I could see my 4G IP under 3G/4G settings, then I clicked on ZeroTier and it came with a red message that I need a Gateway IP before I can use ZeroTier!
Posts: 8427
Threads: 45
Joined: Jun 2015
Reputation:
482
It will work, but you need to set gateway and DNS in Ethernet settings. Otherwise you will get this error message.
Posts: 126
Threads: 29
Joined: Apr 2022
Reputation:
0
(27.05.2024, 15:57)admin Wrote: It will work, but you need to set gateway and DNS in Ethernet settings. Otherwise you will get this error message.
Perfect, can I set my sim cards IP as gateway? and just use google as DNS?
Posts: 8427
Threads: 45
Joined: Jun 2015
Reputation:
482
Set proper gateway for the local network. You can use Google DNS.
When the mobile network is connected the default gateway will switch to the mobile network automatically.
Posts: 360
Threads: 140
Joined: May 2020
Reputation:
0
(27.05.2024, 15:38)Novodk Wrote: (27.05.2024, 13:29)admin Wrote: ZeroTier needs internet access so it won't work without a gateway/DNS. When 3G/4G connection becomes active it will override the default gateway so all external traffic is routed via the mobile network.
Does that mean that I can't use ZeroTier?
I waited until I could see my 4G IP under 3G/4G settings, then I clicked on ZeroTier and it came with a red message that I need a Gateway IP before I can use ZeroTier!
Posts: 8427
Threads: 45
Joined: Jun 2015
Reputation:
482
You need to set gateway in Interface eth0 configuration. This won't affect 3G/4G connectivity.
Posts: 380
Threads: 71
Joined: Dec 2019
Reputation:
15
(27.05.2024, 10:02)BMSimon Wrote: Hi guys
I received my LogicMachine5 Reactor LTE last Friday and I'm trying to get the LTE connection up and running before sending it out to our customer.
I followed the instruction you posted to another customer with a similar problem, and got these results:
Code: * arg: 1
* string: open port
* arg: 2
* string: /dev/ttyUSB2
* string: AT&F
OK
+CPIN: SIM PIN
ATE1
OK
AT+CGDCONT=1,"IP","internet"
ERROR
ATD*99***1#
ERROR
And ran the other script to check signal strength i assume?
Code: * string: Signal: 29
* string: SIM: unknown
* string: Network: no info
Am I missing something?
Good evening,
i come back on this post, anyone can share with me the script to have the LTE signal power?
Best regards Cristian Grassi
Posts: 400
Threads: 84
Joined: Jun 2017
Reputation:
9
Yesterday, 20:07
(This post was last modified: Yesterday, 20:08 by AlexLV.)
Hi Cristian,
not remember all details now, but I added to my modem script's this part (in incoming sms handler):
Code: -- incoming sms handler
readcsq = function()
local res, err, reply = modem:send('AT+CSQ')
local rssi
if reply then
rssi = reply:match('%+CSQ:%s+(%d+),(%d+)')
end
rssi = tonumber(rssi) or 0
if 2 <= rssi and rssi <= 9 then
quality = 'marginal'
elseif 10 <= rssi and rssi <= 14 then
quality = 'ok'
elseif 15 <= rssi and rssi <= 19 then
quality = 'good'
elseif 20 <= rssi and rssi <= 30 then
quality = 'excellent'
else
quality = 'unknown'
end
grp.write('0/0/40', quality) -- Modem signal level write to group
end
For modem I use resident script, working every 10 seconds.
Hope it helps.
If not - I will look deep and will write my modem's script and info. I have 2G BGS2T modem, connected to usb on LM through USB2RS232 adapter. Working already ~8 years without problems.
BR,
Alex
Posts: 380
Threads: 71
Joined: Dec 2019
Reputation:
15
(Yesterday, 20:07)AlexLV Wrote: Hi Cristian,
not remember all details now, but I added to my modem script's this part (in incoming sms handler):
Code: -- incoming sms handler
readcsq = function()
local res, err, reply = modem:send('AT+CSQ')
local rssi
if reply then
rssi = reply:match('%+CSQ:%s+(%d+),(%d+)')
end
rssi = tonumber(rssi) or 0
if 2 <= rssi and rssi <= 9 then
quality = 'marginal'
elseif 10 <= rssi and rssi <= 14 then
quality = 'ok'
elseif 15 <= rssi and rssi <= 19 then
quality = 'good'
elseif 20 <= rssi and rssi <= 30 then
quality = 'excellent'
else
quality = 'unknown'
end
grp.write('0/0/40', quality) -- Modem signal level write to group
end
For modem I use resident script, working every 10 seconds.
Hope it helps.
If not - I will look deep and will write my modem's script and info. I have 2G BGS2T modem, connected to usb on LM through USB2RS232 adapter. Working already ~8 years without problems.
BR,
Alex Thanks I will check.
|