Author Message

<  The PPP Widget Family for Android  ~  Best modem for Android 5.1?

PostPosted: Sun Feb 05, 2017 12:08 am Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
Well, whatever I do to help you may affect all other users of these modems - so the work is not exclusively done for you :-)

Seriously, I'm glad if people follow through with describing their issues and testing the fixes. I can't possibly buy one of each available modem model, so I sometimes have to rely on users around the world.
Ultimately, you're helping others too.

Ah, and by the way, I've just uploaded the new release (should be available within few hours on Google Play).


Offline
PostPosted: Sun Feb 05, 2017 5:48 pm Reply with quote
Posts: 24 Joined: Tue Jan 24, 2017 6:23 am
Morning Josh,


You couldn't just let me feel special?

No luck, here is my ipconfig: The error chrome is presenting is "Network unreachable", which made me think PPP Widget wasn't binding an IP to an interface. Ipconfig obviously shows different. When connected to Windows, my PC is given the IP 192.168.32.X as well. Strangely, the 192.168.32.X shows up for Int sit0. Not sure if this is PPP Widget's interface, even though it wasn't connected at the time.


FYI, I'm a sysadmin, but i lack indepth linux knowledge.

Let me know!


Home Wifi connected:
u0_a88@rk3188:/ $ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: sit0: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN
link/sit 0.0.0.0 brd 0.0.0.0
inet6 ::192.168.32.49/96 scope global
valid_lft forever preferred_lft forever
inet6 ::127.0.0.1/96 scope host
valid_lft forever preferred_lft forever
3: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN
link/tunnel6 :: brd ::
16: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether cc:79:cf:da:85:8a brd ff:ff:ff:ff:ff:ff
inet 10.10.199.29/24 brd 10.10.199.255 scope global wlan0
inet6 fe80::ce79:cfff:feda:858a/64 scope link
valid_lft forever preferred_lft forever
17: p2p0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DORMANT qlen 1000
link/ether ce:79:cf:da:85:8a brd ff:ff:ff:ff:ff:ff


PPP Widget Connected
u0_a88@rk3188:/ $ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: sit0: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN
link/sit 0.0.0.0 brd 0.0.0.0
inet6 ::]192.168.32.49/96 scope global
valid_lft forever preferred_lft forever
inet6 ::127.0.0.1/96 scope host
valid_lft forever preferred_lft forever
3: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN
link/tunnel6 :: brd ::
18: tun0: <POINTOPOINT,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
link/none
inet 192.168.32.49/24 scope global tun0
u0_a88@rk3188:/ $




PPP log:
Feb 5, 2017 09:45:45


Starting DHCP request ...
> Phase 3
ffffffffffffbc5ff4e95952080045100148000000008011399600000000ffffffff004400430134
<
ffffffffffffd0578569cbea080045000148cc9700004011cc63c0a82002ffffffff004300440134
NAK received
> Phase 1
ffffffffffffbc5ff4e95952080045100148000000008011399600000000ffffffff004400430134
<
bc5ff4e95952d0578569cbea08004500014837dc000040118045c0a82002c0a82031004300440134
OFFER received
> Phase 3
d0578569cbeabc5ff4e95952080045100148000000008011399600000000ffffffff004400430134
<
bc5ff4e95952d0578569cbea08004500014837dd000040118044c0a82002c0a82031004300440134
ACK received
> Phase 9
ffffffffffffbc5ff4e9595208060001080006040001bc5ff4e95952c0a82031000000000000c0a8
< (ARP, connection confirmed)
bc5ff4e95952d0578569cbea08060001080006040002d0578569cbeac0a82002bc5ff4e95952c0a8
Local IP: 192.168.32.49/24
Peer IP: 192.168.32.2
DNS1: 192.168.32.2
DNS2:

End of DHCP negotiation
Android VPN creation complete
VPN network device is up
Network notification accepted after 2300 ms

Connection is ready


Offline
PostPosted: Sun Feb 05, 2017 6:09 pm Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
Hmm, not quite what I expected - no QMI mode here ...

I'd really need to see the USB log.


Offline
PostPosted: Sun Feb 05, 2017 6:41 pm Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
Regarding the setup you get now, it doesn't look too bad. Usually, with pure USB ethernet modems, you are required to start the actual connection by using a built-in web server of the modem. The address you see is not assigned by the provider but by the modem itself. It acts as a router.

Didn't PPP Widget try to open the web page I mentioned? It's supposed to do so.
Anyway, try to open any browser and direct it to the address of the DNS (192.168.32.2) which is the IP of the modem.


Offline
PostPosted: Sun Feb 05, 2017 6:45 pm Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
Oh, and PPP Widget uses the interface "tun0". This is created by the VPN feature.
I think the "sit" interfaces are used as translations/tunnels for IPv6.


Offline
PostPosted: Mon Feb 06, 2017 4:05 am Reply with quote
Posts: 24 Joined: Tue Jan 24, 2017 6:23 am
USB log :
Mar 5, 2017 19:59:27

Device manufacturer string: rockchip
New device on /dev/bus/usb/001/004
Class of interface 0 is 0x08
Looking at USB device 10a9:606f with class 8
Device top dir: /sys/bus/usb/devices/1-1.3, active cfg: 1
Active configuration ID: 1
Device layout (config 1) - cl:ef sc:02 pr:01
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 10a9:606f ...
Device info:
VID= 10a9
PID= 606f
Manufact.= Pantech, Incorporated
Product= PANTECH UML295
Found matching configuration in collection: 10a9.606f
Switching with mode "Pantech"
Wait for 200 ms
Run native switchtool with parameters -F 4 -b 1 -g 4
New device on /dev/bus/usb/001/005
Class of interface 0 is 0x02
Looking at USB device 10a9:6064 with class 2
Device top dir: /sys/bus/usb/devices/1-1.3, active cfg: 1
Active configuration ID: 1
Device layout (config 1) - cl:02 sc:00 pr:00
if:0 as:0 - cl:02 sc:06 pr:00 - ir:82
if:1 as:0 - cl:0a sc:00 pr:00 -
if:1 as:1 - cl:0a sc:00 pr:00 - bi:81 bo:01
if:2 as:0 - cl:03 sc:00 pr:00 - ir:83 ir:02
if:3 as:0 - cl:03 sc:00 pr:00 - ir:84 ir:03
if:4 as:0 - cl:02 sc:02 pr:01 - ir:86
if:5 as:0 - cl:0a sc:00 pr:00 - bi:85 bo:04
if:6 as:0 - cl:02 sc:02 pr:01 - ir:88
if:7 as:0 - cl:0a sc:00 pr:00 - bi:87 bo:05

Found 2 serial ports
Opening port type ECM
Could not read descriptor for MAC address - result: -1
MAC idx: 7, raw descriptor: byteArrayToString: no data!
Trying to continue, use made-up MAC
Mar 5, 2017 20:00:34

Device manufacturer string: rockchip
Start manual search for USB devices
on kernel level ...
Found possible modem device 10a9:6064
Device not in initial mode; API bus search may detect it
Start search for USB devices
visible on Android OS level ...
No known modem found in install mode
Start search for USB devices
visible on Android OS level ...
Check device 10a9:6064, interface 2, might be a modem
Check device 10a9:6064, interface 2, might be a modem
Found possible 3G USB device 10a9:6064
New device on /dev/bus/usb/001/005
Class of interface 0 is 0x02
Looking at USB device 10a9:6064 with class 2
Device top dir: /sys/bus/usb/devices/1-1.3, active cfg: 1
Found possible 3G USB device 10a9:6064
New device on /dev/bus/usb/001/005
Class of interface 0 is 0x02
Looking at USB device 10a9:6064 with class 2
Device top dir: /sys/bus/usb/devices/1-1.3, active cfg: 1
Active configuration ID: 1
Device layout (config 1) - cl:02 sc:00 pr:00
if:0 as:0 - cl:02 sc:06 pr:00 - ir:82
if:1 as:0 - cl:0a sc:00 pr:00 -
if:1 as:1 - cl:0a sc:00 pr:00 - bi:81 bo:01
if:2 as:0 - cl:03 sc:00 pr:00 - ir:83 ir:02
if:3 as:0 - cl:03 sc:00 pr:00 - ir:84 ir:03
if:4 as:0 - cl:02 sc:02 pr:01 - ir:86
if:5 as:0 - cl:0a sc:00 pr:00 - bi:85 bo:04
if:6 as:0 - cl:02 sc:02 pr:01 - ir:88
if:7 as:0 - cl:0a sc:00 pr:00 - bi:87 bo:05

Found 2 serial ports
Opening port type ECM
Active configuration ID: 1
Device layout (config 1) - cl:02 sc:00 pr:00
if:0 as:0 - cl:02 sc:06 pr:00 - ir:82
if:1 as:0 - cl:0a sc:00 pr:00 -
if:1 as:1 - cl:0a sc:00 pr:00 - bi:81 bo:01
if:2 as:0 - cl:03 sc:00 pr:00 - ir:83 ir:02
if:3 as:0 - cl:03 sc:00 pr:00 - ir:84 ir:03
if:4 as:0 - cl:02 sc:02 pr:01 - ir:86
if:5 as:0 - cl:0a sc:00 pr:00 - bi:85 bo:04
if:6 as:0 - cl:02 sc:02 pr:01 - ir:88
if:7 as:0 - cl:0a sc:00 pr:00 - bi:87 bo:05

Found 2 serial ports
Opening port type ECM
Could not read descriptor for MAC address - result: -1
MAC idx: 7, raw descriptor: byteArrayToString: no data!
Trying to continue, use made-up MAC
Could not read descriptor for MAC address - result: -1
MAC idx: 7, raw descriptor: byteArrayToString: no data!
Trying to continue, use made-up MAC




On PC, I have the option to do IP pass through or NAT. I left it at NAT.

I can't ping the modem either at its address.


Offline
PostPosted: Mon Feb 06, 2017 4:52 am Reply with quote
Posts: 1175 Joined: Wed Jul 11, 2012 3:14 pm Location: Koh Samui, TH
UML295 will get the usb id 10a9:6074 when switched into qmi mode which is the IP pass-through mode and connection up/down is then controlled by qmi commands, it not possible to have a device internal web server on the public IP you get in pass-through mode.

I am not aware of any device having a web server behind a qmi interface, that is only used for cdc_ether or rndis interfaces for which there is no defined command protocol.
Most common is that cdc_ether is controlled over a serial interface using mfgr proprietary AT-cmds.


Offline
PostPosted: Mon Feb 06, 2017 6:26 am Reply with quote
Posts: 24 Joined: Tue Jan 24, 2017 6:23 am
I didn't plan on hosting a web server behind it.

I left it NATing, as its just a car radio


Offline
PostPosted: Mon Feb 06, 2017 8:58 am Reply with quote
Posts: 1175 Joined: Wed Jul 11, 2012 3:14 pm Location: Koh Samui, TH
k0nsol wrote:
its just a car radio


and that is most likely the root of your problem.
Car radio sounds so innocent and simple, isn't it a Car Dashboard Infotainment Head Unit with partial 3G support built in from factory?


Offline
PostPosted: Mon Feb 06, 2017 9:10 am Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
Sigh - the bottom line is that the modem is still not in QMI mode which was the whole purpose of the exercise.
The ECM mode is really unwanted, but it's the mode that gets 'auto-switched' after a while if no other mode is set. I'm not sure these car radios are affecting exotic modems like this one. They usually go just for a mainstream selection.

Maybe there is trouble with the native binary that I've included for those special mode cases. Let me try something else. New update tonight.


Offline
PostPosted: Mon Feb 06, 2017 7:44 pm Reply with quote
Posts: 24 Joined: Tue Jan 24, 2017 6:23 am
Eonom advertise 3g capability on these radios.

I wouldn't put it past them to have half assed support though.


Offline
PostPosted: Mon Feb 06, 2017 10:35 pm Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
The important point is that PPP Widget 3 works totally around the 'official' mobile data facility of Android. It might be better - with more reliable results - to disable the internal modem capability altogether, e.g. by renaming the central tools to some other name so that they are no longer found.

See this recent thread, also about a car system.

By the way, I've just uploaded the next update. Might be a while until it's available.


Offline
PostPosted: Wed Feb 08, 2017 6:35 am Reply with quote
Posts: 24 Joined: Tue Jan 24, 2017 6:23 am
just to confirm, i need to rename "/system/bin/rild" and reboot to disable the built in manager.


Offline
PostPosted: Wed Feb 08, 2017 8:47 pm Reply with quote
Site Admin Posts: 6439 Joined: Sat Nov 03, 2007 12:30 am
That should at least disable the modem grabbing by the system.

Now, did you test the new update already with the UML295? What does the USB log say?


Offline
PostPosted: Thu Feb 09, 2017 4:34 am Reply with quote
Posts: 24 Joined: Tue Jan 24, 2017 6:23 am
Up to date on widget.


Renamed RILD,

No change, still ECM. Here are the logs:


USB:

Mar 8, 2017 20:30:57

Device manufacturer string: rockchip
Start search for USB devices
visible on Android OS level ...
Check device 10a9:6064, interface 2, might be a modem
Found possible 3G USB device 10a9:6064
New device on /dev/bus/usb/001/005
Class of interface 0 is 0x02
Looking at USB device 10a9:6064 with class 2
Device top dir: /sys/bus/usb/devices/1-1.3, active cfg: 1
Active configuration ID: 1
Device layout (config 1) - cl:02 sc:00 pr:00
if:0 as:0 - cl:02 sc:06 pr:00 - ir:82
if:1 as:0 - cl:0a sc:00 pr:00 -
if:1 as:1 - cl:0a sc:00 pr:00 - bi:81 bo:01
if:2 as:0 - cl:03 sc:00 pr:00 - ir:83 ir:02
if:3 as:0 - cl:03 sc:00 pr:00 - ir:84 ir:03
if:4 as:0 - cl:02 sc:02 pr:01 - ir:86
if:5 as:0 - cl:0a sc:00 pr:00 - bi:85 bo:04
if:6 as:0 - cl:02 sc:02 pr:01 - ir:88
if:7 as:0 - cl:0a sc:00 pr:00 - bi:87 bo:05

Found 2 serial ports
Opening port type ECM
Could not read descriptor for MAC address - result: -1
MAC idx: 7, raw descriptor: byteArrayToString: no data!
Trying to continue, use made-up MAC



PPP:

Mar 8, 2017 20:31:14


Starting DHCP request ...
> Phase 3
ffffffffffffbc5ff4e95952080045100148000000008011399600000000ffffffff004400430134
<
ffffffffffffd0578569cbea080045000148a58100004011f379c0a82002ffffffff004300440134
NAK received
> Phase 1
ffffffffffffbc5ff4e95952080045100148000000008011399600000000ffffffff004400430134
<
bc5ff4e95952d0578569cbea080045000148149800004011a389c0a82002c0a82031004300440134
OFFER received
> Phase 3
d0578569cbeabc5ff4e95952080045100148000000008011399600000000ffffffff004400430134
<
bc5ff4e95952d0578569cbea080045000148149900004011a388c0a82002c0a82031004300440134
ACK received
> Phase 9
ffffffffffffbc5ff4e9595208060001080006040001bc5ff4e95952c0a82031000000000000c0a8
< (ARP, connection confirmed)
bc5ff4e95952d0578569cbea08060001080006040002d0578569cbeac0a82002bc5ff4e95952c0a8
Local IP: 192.168.32.49/24
Peer IP: 192.168.32.2
DNS1: 192.168.32.2
DNS2:

End of DHCP negotiation
Android VPN creation complete
VPN network device is up
Network notification accepted after 1200 ms

Connection is ready


***************

Would it be of any benefit to setup a laptop for you to remote into and take a look first hand at the USB modem? I don't have any spare working android systems unfortunately.

I have many laptops that are unused.


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 2 of 5
61 posts
Go to page   Previous 1 2 3 4 5 Next
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