Batteries included
Post Reply
cert_
Posts: 4
Joined: 20 May 2021, 23:40

pppwidget with internal modem

Post by cert_ » 20 May 2021, 23:47

hello,

my acer w701 tablet (intel i5) has a build in Huawei 3G USB modem. It's works with ubuntu linux out of the box. pppwidget is not working. no modem found. i don't think
i need usb modeswitch or something because i can get some feedback from the stick with

busybox tr -s "\n" < /dev/ttyUSB0
echo -e "ATi\r" > /dev/ttyUSB0
echo -e "AT+CGDCONT=1,\"IP\",\"www\"\r" > /dev/ttyUSB0
echo -e "ATDT*99#\r" > /dev/ttyUSB0

these steps are explained here: https://forum.xda-developers.com/t/conn ... t.2172914/

i can see a CONNECT and some random data when i try these commands, but the connection is lost after some seconds. can i modify some connections scripts
form pppwidget to get it to work?

cert_

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

Re: pppwidget with internal modem

Post by LOM » 21 May 2021, 13:18

cert_ wrote: 20 May 2021, 23:47 pppwidget is not working. no modem found.
pppwidget supports all the Huawei modems that Ubuntu linux supports so it is not a matter of an unknown modem.
Some app has created the ttyUSB you see and that app owns the modem.

cert_
Posts: 4
Joined: 20 May 2021, 23:40

Re: pppwidget with internal modem

Post by cert_ » 21 May 2021, 18:51

But there is no app in BlissOS or Android X86. It a new installation and i can't use the internal USB modem, there is no way to connect and no connection symbol is shown, only a WLAN symbol :o :) :)

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

Re: pppwidget with internal modem

Post by LOM » 22 May 2021, 03:03

cert_ wrote: 21 May 2021, 18:51 But there is no app in BlissOS or Android X86. It a new installation and i can't use the internal USB modem, there is no way to connect and no connection symbol is shown, only a WLAN symbol :o :) :)
Neither BlissOS nor Android X86 are official Android versions and I have no idea of how they handle modems internally and how/if they block pppwidget from accessing USB or the modem.
The creators of these Android variants are the ones who can tell you more about that.
You are aware that pppwidget needs root access in order to work?

cert_
Posts: 4
Joined: 20 May 2021, 23:40

Re: pppwidget with internal modem

Post by cert_ » 22 May 2021, 10:01

Ok thank you LOM for your help/ information :) :) :) lsof | grep USBx shows that no process is using USB 0-4. Android X86 has su superuser in terminal so i root access is no problem. I think the first time i started pppwidget the system asked my to give USB access to this app.

cert_
Posts: 4
Joined: 20 May 2021, 23:40

Re: pppwidget with internal modem

Post by cert_ » 22 May 2021, 10:05

Ok, i can confirm that the system asked mit to give access to USB. My system partition is read only, i this a problem? USB log in pppwidget is always empty.

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

Re: pppwidget with internal modem

Post by LOM » 22 May 2021, 10:21

cert_ wrote: 22 May 2021, 10:05 Ok, i can confirm that the system asked mit to give access to USB. My system partition is read only, i this a problem?
I don't know, that is a question Josh has to answer.
I have a feeling though that read-only is not kosher, I think pppwidget has to create a WAN device among other things and that might be difficult if it isn't allowed to write.
cert_ wrote: 22 May 2021, 10:05 USB log in pppwidget is always empty.
Hmm, where can pppwidget write its log? :?

Post Reply