![]() |
|
Reactor LTE problem - Printable Version +- LogicMachine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Hardware (https://forum.logicmachine.net/forumdisplay.php?fid=12) +--- Thread: Reactor LTE problem (/showthread.php?tid=5436) |
Reactor LTE problem - BMSimon - 27.05.2024 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#
ERRORAnd ran the other script to check signal strength i assume? Code: * string: Signal: 29
* string: SIM: unknown
* string: Network: no infoAm I missing something? RE: Reactor LTE problem - admin - 27.05.2024 Remove PIN code protection from the SIM card and try again. RE: Reactor LTE problem - BMSimon - 27.05.2024 (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? RE: Reactor LTE problem - admin - 27.05.2024 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. RE: Reactor LTE problem - Novodk - 27.05.2024 (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! RE: Reactor LTE problem - admin - 27.05.2024 It will work, but you need to set gateway and DNS in Ethernet settings. Otherwise you will get this error message. RE: Reactor LTE problem - Novodk - 27.05.2024 (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? RE: Reactor LTE problem - admin - 27.05.2024 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. RE: Reactor LTE problem - Frank68 - 29.05.2024 (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. RE: Reactor LTE problem - admin - 29.05.2024 You need to set gateway in Interface eth0 configuration. This won't affect 3G/4G connectivity. RE: Reactor LTE problem - CristianAgata - 06.11.2025 (27.05.2024, 10:02)BMSimon Wrote: Hi guys 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 RE: Reactor LTE problem - AlexLV - 06.11.2025 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
endFor 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 RE: Reactor LTE problem - CristianAgata - 06.11.2025 (06.11.2025, 20:07)AlexLV Wrote: Hi Cristian,Thanks I will check. |