Author Message

<  Device Information  ~  Huwai E3372 working on mobile phone but not on tablet

PostPosted: Tue Jan 17, 2017 2:35 pm Reply with quote
Posts: 4 Joined: Tue Jan 17, 2017 2:26 pm
Hi,

I've tried ppp widget 3 successfully on my Moto G mobile phone (Android 4.4.4) where I can get the Huawai E3372 to work even without an active hub.

But no such luck on my Medion LifeTab s10346 (same Android version) where I tried both with and without an active hub.

What happens is that the modem seems to get detected but when I try to connect it stays in the "preparing network"-step forever.

Both devices are rooted and run the same version of Android, however the phone's architecture is arm while the tablet's is intel (does this matter?).

Is there anything I can try to make it work on my tablet?

Many thanks!


Offline
PostPosted: Tue Jan 17, 2017 6:21 pm Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
First I need to see the PPP log of the LifeTab.

Check the box "Enable Logging" in the configuration, then try to connect. If you can't interrupt the process, just remove the modem. Open the configuration again and press the "PPP Log" button.
Post the log here, but please as text, not as a screen shot.


Offline
PostPosted: Tue Jan 17, 2017 10:20 pm Reply with quote
Posts: 4 Joined: Tue Jan 17, 2017 2:26 pm
I produced this log by pressing "connect" upon which it goes into the "preparing network"-state for a long time until I unplugged the device.

The config is the same that works on my phone, pretty much the only thing I configured is the AP-name and that's ok.

Many thanks!

Code:
Jan 17, 2017 9:09:04 PM

Starting modem command sequence ...
>
AT+CPIN?
<
+CPIN: READY^M
^M
OK
>
AT+CFUN?
<
+CFUN: 1^M
^M
OK
>
AT+CGDCONT=1,"IP","TDG"
<
OK
>
ATD*99***1#
<
CONNECT
====
Dialling complete


Now start PPP negotiation ...
>
ff03c021010000140206000000000506f7adb02907020802a565
<
ff03c0210101001d08020702020600000000010405dc0506000005430305c223055c67ff03c021020000140206000000000506f7adb029070208024e0c
>
ff03c021030100080304c0232248
<
ff03c0210102001c08020702020600000000010405dc0506000005430304c023692e
>
ff03c0210202001c08020702020600000000010405dc0506000005430304c0235a74
>
c023010100100564756d6d790564756d6d79f4d3
<
c023020100100b4772656574696e67732121be44802101010004bb99
>
802101000016030600000000810600000000830600000000627c
<
80210300000411fa
<
Received non-PPP packet: 0D0A4E4F20434152524945520D0A7E80210501000457EB7E7EFF7D23C0217D257D237D207D2485727E, as text:
 NO CARRIER^M
~�!^E^A^@^DW�~~�}#�!}%}#} }$�r~
Peer has hung up - check provider settings!
Starting modem command sequence ...
>
AT+CPIN?
<
+CPIN: READY^M
^M
OK
>
AT+CFUN?
<
+CFUN: 1^M
^M
OK
>
AT+CGDCONT=1,"IP","TDG"
<
OK
>
ATD*99***1#
<
CONNECT
====
Dialling complete


Now start PPP negotiation ...
>
0d03c021010000140206000000000506f7adb0290702080299df
<
ff03c0210801001d000d03c021010000140206000000000506f7adb02907020802840d




Offline
PostPosted: Tue Jan 17, 2017 10:44 pm Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
Are you really sure the APN is "TDG"?

Do you have a reference for that?


Offline
PostPosted: Wed Jan 18, 2017 2:11 am Reply with quote
Posts: 4 Joined: Tue Jan 17, 2017 2:26 pm
Ok, I mainly use the stick on my linux-box where I use it in "Hilink"-mode.

There I do not configure anything, I have seen that it connects to different networks (LTE, UMTS), depending on available quality.

Most of the time it connects to an LTE-network, where the AP is "TDG", so I put that in and it works on my phone so it should work on the tablet as well.
(I have a litte feature request here in that it would be useful to see the configuraton associated with a sim -card to be visible even when the modem is not connected as it would make my life easier comparing configs between phone and tablet).

But maybe I am doing it wrong...

Is it neccessary at all to configure an AP at all?

Does ppp widget use the stick in hilink mode or as a serial modem?

I am simply surprised that what works on my phone does not work on my tablet...


Offline
PostPosted: Wed Jan 18, 2017 9:26 am Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
The APN setting has to be correct or the call is not accepted, which would result in exactly what you see ("NO CARRIER").
It shouldn't be hard to find out the APN you need; just google your provider's name together with "APN".

However, what seems very strange to me is that PPP Widget 3 tries to build a PPP connection at all ...

The whole point of developing PPP Widget 3 was to make the E3272 and the E3372 work with Android. The E3372 provides two modes useable in Linux, called ECM and NCM. Both are Ethernet flavours, and the serial ports that come with them are only for diagnostic purposes - in short, you can't build a PPP connection with these modems.

Both modes mentioned should work out-of-the-box with with PPP Widget 3. I need to see the "USB Log" as well which shows the USB layout details and PPP Widget's port selection.


Offline
PostPosted: Thu Jan 19, 2017 2:12 am Reply with quote
Posts: 4 Joined: Tue Jan 17, 2017 2:26 pm
Here the usb log.

With respect to the AP, what I did was to check on my desktop system which network the stick connects to and use that to configure ppp widget. As I said the used AP worked on my phone....

Quote:
Device manufacturer string: LENOVO
Start search for USB devices
visible on Android OS level ...
Check device 12d1:14dc, interface 2, might be a modem
Found possible 3G USB device 12d1:14dc
New device on /dev/bus/usb/001/052
Class of interface 0 is 0x02
Looking at USB device 12d1:14dc with class 2
Device top dir: /sys/bus/usb/devices/1-1.4, active cfg: 1
Device layout (config 1) - cl:02 sc:00 pr:00
if:0 as:0 - cl:02 sc:06 pr:00 - ir:83
if:1 as:0 - cl:0a sc:06 pr:00 - bi:82 bo:02
if:2 as:0 - cl:08 sc:06 pr:50 - bi:84 bo:03

The number of unspecified serial ports is 0
Opening port type ECM


Offline
PostPosted: Thu Jan 19, 2017 8:52 am Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
Very strange - nothing fits together here.

I get the same USB log only if I select "Alternative Huawei Mode" in the configuration. In that case however, PPP Widget 3 builds an Ethernet connection and not a PPP connection like in your case.

The Ethernet mode is actually what Huawei calls the HiLink mode, by the way. In that mode, you can indeed skip entering the APN because the entire modem control is done over the built-in web interface.

If you have set the "Alternative Huawei Mode" option, try to unset it. If not, then your modem firmware is different from mine. In that case, I would like to see annother USB log, but this time including the whole modem connection (plug-in) process, with the "prepare device" phase.


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
8 posts
Users browsing this forum: No registered users and 1 guest
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum