M
M
MorozovNsk2014-06-21 14:22:12
linux
MorozovNsk, 2014-06-21 14:22:12

How to force a 3g modem to connect to the network?

Hello.
There is a rather magical situation, there are 16 identical 3g modems (Huawei e352), 6 of them were bought a little earlier, 10 a little later. The firmware is one, the version is one, the difference is only in the serials.
I establish a connection using the sakis3g script.
The first 6 connect perfectly, the remaining 10 do not want to.
The most interesting thing is that as far as I understand the situation, all modems connect perfectly to the network, but the second half cannot pass authorization.
Pieces of the sakis3g debug log where the differences begin:
1. Connect:

[18138] [01:17:53] PID 21012 is still running.
[18138] [01:17:53] Located "netstat" within PATH (/bin/netstat).
[18138] [01:17:53] Waiting for interface to go up (0 seconds passed).
[18138] [01:17:54] PID 21012 is still running.
[18138] [01:17:54] Waiting for interface to go up (1 seconds passed).
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
[18138] [01:17:55] PID 21012 is still running.
[18138] [01:17:55] Interface ppp0 is up.
[18138] [01:17:55] Waiting for interface to go up (2 seconds passed).
CHAP authentication succeeded: Welcome!!
CHAP authentication succeeded
[18138] [01:17:56] PID 21012 is still running.
[18138] [01:17:56] Interface ppp0 is up.
[18138] [01:17:56] Waiting for interface to go up (3 seconds passed).
[18138] [01:17:57] PID 21012 is still running.
[18138] [01:17:57] Interface ppp0 is up.
[18138] [01:17:57] Waiting for interface to go up (4 seconds passed).
Could not determine remote IP address: defaulting to 10.64.64.64
local  IP address 10.194.169.34
remote IP address 10.64.64.64
primary   DNS address 217.168.13.34
secondary DNS address 46.6.113.2

Not connected:
[14656] [01:13:06] PID 17290 is still running.
[14656] [01:13:06] Located "netstat" within PATH (/bin/netstat).
[14656] [01:13:06] Waiting for interface to go up (0 seconds passed).
[14656] [01:13:07] PID 17290 is still running.
[14656] [01:13:07] Waiting for interface to go up (1 seconds passed).
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
[14656] [01:13:08] PID 17290 is still running.
[14656] [01:13:08] Interface ppp0 is up.
[14656] [01:13:08] Waiting for interface to go up (2 seconds passed).
[14656] [01:13:09] PID 17290 is still running.
[14656] [01:13:09] Interface ppp0 is up.
[14656] [01:13:09] Waiting for interface to go up (3 seconds passed).
[14656] [01:13:10] PID 17290 is still running.
[14656] [01:13:10] Interface ppp0 is up.
[14656] [01:13:10] Waiting for interface to go up (4 seconds passed).
[14656] [01:13:11] PID 17290 is still running.
[14656] [01:13:11] Interface ppp0 is up.
[14656] [01:13:11] Waiting for interface to go up (5 seconds passed).
[14656] [01:13:12] PID 17290 is still running.
[14656] [01:13:12] Interface ppp0 is up.
[14656] [01:13:12] Waiting for interface to go up (6 seconds passed).
[14656] [01:13:13] PID 17290 is still running.
[14656] [01:13:13] Interface ppp0 is up.
[14656] [01:13:13] Waiting for interface to go up (7 seconds passed).
[14656] [01:13:14] PID 17290 is still running.
[14656] [01:13:14] Interface ppp0 is up.
[14656] [01:13:14] Waiting for interface to go up (8 seconds passed).
[14656] [01:13:15] PID 17290 is still running.
[14656] [01:13:15] Interface ppp0 is up.
[14656] [01:13:15] Waiting for interface to go up (9 seconds passed).
[14656] [01:13:16] PID 17290 is still running.
[14656] [01:13:16] Interface ppp0 is up.
[14656] [01:13:16] Waiting for interface to go up (10 seconds passed).
[14656] [01:13:17] PID 17290 is still running.
[14656] [01:13:17] Interface ppp0 is up.
[14656] [01:13:17] Waiting for interface to go up (11 seconds passed).
[14656] [01:13:18] PID 17290 is still running.
[14656] [01:13:18] Interface ppp0 is up.
[14656] [01:13:18] Waiting for interface to go up (12 seconds passed).
[14656] [01:13:19] PID 17290 is still running.
[14656] [01:13:19] Interface ppp0 is up.
[14656] [01:13:19] Waiting for interface to go up (13 seconds passed).
[14656] [01:13:20] PID 17290 is still running.
[14656] [01:13:20] Interface ppp0 is up.
[14656] [01:13:20] Waiting for interface to go up (14 seconds passed).
[14656] [01:13:21] PID 17290 is still running.
[14656] [01:13:21] Interface ppp0 is up.
[14656] [01:13:21] Waiting for interface to go up (15 seconds passed).
[14656] [01:13:22] PID 17290 is still running.
[14656] [01:13:22] Interface ppp0 is up.
[14656] [01:13:22] Waiting for interface to go up (16 seconds passed).
[14656] [01:13:23] PID 17290 is still running.
[14656] [01:13:23] Interface ppp0 is up.
[14656] [01:13:23] Waiting for interface to go up (17 seconds passed).
[14656] [01:13:24] PID 17290 is still running.
[14656] [01:13:25] Interface ppp0 is up.
[14656] [01:13:25] Waiting for interface to go up (18 seconds passed).
[14656] [01:13:26] PID 17290 is still running.
[14656] [01:13:26] Interface ppp0 is up.
[14656] [01:13:26] Waiting for interface to go up (19 seconds passed).
[14656] [01:13:27] PID 17290 is still running.
[14656] [01:13:27] Interface ppp0 is up.
[14656] [01:13:27] Waiting for interface to go up (20 seconds passed).
[14656] [01:13:27] Giving up waiting for connection to occur.
[14656] [01:13:27] Located "kill" within PATH (/bin/kill).
Hangup (SIGHUP)
[14656] [01:13:27] PID 17290 is still running.
[14656] [01:13:28] PID 17290 is still running.
[14656] [01:13:29] PID 17290 is still running.
[14656] [01:13:29] Interface ppp0 is up.
[14656] [01:13:29] Failed to connect.
[14656] [01:13:29] Error: Failed to connect.
[14656] [01:13:29] Aborting execution chain due to actor "connect" returning 95.
[14656] [01:13:29] Following actors executed: connect
[14656] [01:13:29] Verbosing: 49% Cleaning
[14656] [01:13:29] Stopping operation with return status: 95
[14656] [01:13:29] Now executing traps.
[14656] [01:13:29] Executing trap "cleanscreen".
[14656] [01:13:29] 
>>>>>>>>> If program is paused, you may freely press Ctrl+C. <<<<<<<<<
>>> This happens due to DEBUG being set. Connection will NOT drop. <<<
[email protected]:~$ Connection terminated.
Receive serial link is not 8-bit clean:
Problem: all had bit 7 set to 0
Modem hangup

Already broke his whole brain, where to look?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
OvLab, 2014-06-21
@OvLab

Can flash non-working firmware from working ones.
I know for sure that Beeline changed the modem firmware so that they only work through their GUI.

S
Sergey Petrikov, 2014-06-21
@RicoX

Perhaps the second batch of modems is locked for a specific operator, respectively, it does not work with cards of another operator, check, for example, through this program to view statistics for free and see what the difference is if the firmware version is really the same.

A
AlexeyR24, 2014-06-21
@AlexeyR24

As mentioned above, check if the modems are locked.
Check on another system, preferably Windows.
Translate modems in MODEM ONLY, in niks, life really facilitates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question