Batteries included
LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Please help Huawei E397Bu-501 won't switch.

Post by LOM » 14 Apr 2017, 08:28

You just grab a chair then sit and wait patiently, I'm sure Josh will tell you when he has something ready.
It is Eastern holiday now and most people spend their free time together with their families.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Please help Huawei E397Bu-501 won't switch.

Post by Josh » 14 Apr 2017, 14:05

LOM - :)

To tell the truth, I have one full day without obligations and visits, and I enjoy being able to code with no disturbances ... It will be different from tomorrow onwards, so I'm glad I could finish my work on the new PPP Widget release.

Get it from Google Play once it's available (version 1.1.9).

Note that there wasn't really a bug related to the E397 connection attempts. The QMI response points to the status "No service" which is common while the modem (or rather the SIM card) is not fully registered to the network yet.

So the only thing I did was to increase the connection retry limit and the delay between retries. Also, the status "Modem not replying" after reaching the retry limit was bogus. It's now "Connection has failed" which subsequently allows further connection attempts.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Please help Huawei E397Bu-501 won't switch.

Post by Josh » 16 Apr 2017, 08:12

sinnedone,

were you able to test the new version of PPP Widget 3?

sinnedone
Posts: 11
Joined: 19 Sep 2016, 16:21

Re: Please help Huawei E397Bu-501 won't switch.

Post by sinnedone » 19 Apr 2017, 20:46

Josh wrote:sinnedone,

were you able to test the new version of PPP Widget 3?

I'm sorry for not responding earlier. (was a busy weekend for me ;) )

SO yes I updated pppwidget and it was a bit finicky and had to unplug and replug modem 2 or 3 times.

It connected and I had data, but for some reason the bars stayed green in pppwidget.

After a quick speedtest it did seem to be stuck on 3G. I used speedtest.net app and got 160 ping and about 1mbps down and up, where a 3g modem would usually get about 80 ping 2mbps down and 1mbps up.

The modem did not seem to be in LTE, which was a bit confusing since before it connected it showed blue bars.

I grabbed the log from pppwidget, I don't know if it says why it was stuck on 3G

Code: Select all

Dec 31, 1969 7:07:49 PM

Device manufacturer string: Newsmy
New device on /dev/bus/usb/002/006
Class of interface 0 is 0x08
Looking at USB device 12d1:1505 with class 8
Device top dir: /sys/bus/usb/devices/2-1, active cfg: 1
Device layout (config 1) - cl:00  sc:00  pr:00
if:0 as:0 -  cl:08  sc:06  pr:50 -  bi:81  bo:01

Found 0 serial ports
No dedicated modem port found
Preparing to switch mode of USB device 12d1:1505 ...
Device info:
VID=	12d1
PID=	1505
Manufact.= Huawei Technologies
   Product= HUAWEI Mobile
Found matching configuration in collection: 12d1.1505
Wait for 200 ms
Bulk message 1: 55534243123456780000000000000011062000000101010100000000000000
  transmitted
New device on /dev/bus/usb/002/007
Class of interface 0 is 0xFF
Looking at USB device 12d1:1506 with class 255
Device top dir: /sys/bus/usb/devices/2-1, active cfg: 1
Device layout (config 1) - cl:00  sc:00  pr:00
if:0 as:0 -  cl:ff  sc:01  pr:01 -  ir:81  bi:82  bo:01
if:1 as:0 -  cl:ff  sc:01  pr:02 -  bi:83  bo:02
if:2 as:0 -  cl:ff  sc:01  pr:03 -  bi:84  bo:03
if:3 as:0 -  cl:ff  sc:01  pr:09 -  ir:85
The table says these values define a QMI port
if:4 as:0 -  cl:ff  sc:01  pr:08 -  bi:86  bo:04
if:5 as:0 -  cl:08  sc:06  pr:50 -  bi:87  bo:05
if:6 as:0 -  cl:08  sc:06  pr:50 -  bo:06  bi:88

Found 3 serial ports
Opening port type QMI

Code: Select all

Dec 31, 1969 7:08:46 PM

Starting modem command sequence ...
>
0122000001010013002000160017050064756d6d7918050064756d6d791403006e646f
<
011a0080030104000024000e001102000105010600010101020105
<
01190080030104000024000d0011010000010600010101020105
<
011a0080010102130020000e0002040000000000010400503b4e02
>
0113000001010014002d00070010040010a30000
<
0115008001ff04000022000900010200020012010004
<
0141008001010214002d003500020400000000001e0400cb68640a150400b38014ac160400b48014ac200400c968640a210400f8ffffff290400dc0500002b010004
Local IP: 10.100.104.203/24
Peer IP: 10.100.104.201
    DNS1: 172.20.128.179
    DNS2: 172.20.128.180
====
Connection is up (raw IP)

Android VPN creation complete
VPN network device is up
Network notification accepted after 1200 ms

Connection is ready
I didnt notice that date, odd. :D What do you think Josh?

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Please help Huawei E397Bu-501 won't switch.

Post by Josh » 19 Apr 2017, 21:40

PPP Widget does not touch any speed settings - ever ...

Usually, modems are set up by default so that they choose the highest available mode and speed. Either the LTE cell was clogged/not working, or the modem reception quality was just not sufficient.

I suppose you have the modem on a USB extender, as opposed to plugged in at the back of the radio, hidden in the depths of the car dashboard, right? Or are you using an external antenna attached to the stick?

The date in the log is provided by your system. If your Android time is correct, then the system implementation of your device is severely botched.

sinnedone
Posts: 11
Joined: 19 Sep 2016, 16:21

Re: Please help Huawei E397Bu-501 won't switch.

Post by sinnedone » 23 Apr 2017, 15:00

I am currently testing the unit inside the car. When I installed fully I will be adding an antenna to the modem/car.

Thank you for all your help and will be correctly installing in the coming week so signal should not be a problem then.

Again, Thanks alot for all your help,(both of you ;) ) it's been really appreciated. :)

mageus
Posts: 8
Joined: 29 Apr 2017, 00:36

Re: Please help Huawei E397Bu-501 won't switch.

Post by mageus » 03 May 2017, 07:04

Sinnedone,
I have an E397u-53. I had similar issues to you, then took the device to an open window and I got a 4G signal. Took it to my car and have great reception.

What service provider are you using? I'm on U.S. T-Mobile. Band 4 doesn't have good building penetration.

If you got it to work, can you confirm if all apps have network access? For me, system apps (gmail, maps, etc) don't have network access.

Post Reply