Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
1
answers
2275
views
Command not found when In chroot
Im currently Porting Arch Linux to My phone and I am trying to set up the rootfs properly - have it installed to an external scdard and am using busybox to chroot into it with busybox chroot /data/ local/mnt sh I can see pacman exists when I search for it: /usr/bin # type -a pacman returns /sbin/pac...
Im currently Porting Arch Linux to My phone and I am trying to set up the rootfs properly - have it installed to an external scdard and am using busybox to chroot into it with
busybox chroot /data/ local/mnt sh
I can see pacman exists when I search for it:
/usr/bin # type -a pacman returns
/sbin/pacman
but whenever I try to install the base system with:
pacman -S base-devel 1lightdm xorg-xinit xfce4 networkmanager --needed
I
get
sh: pacman: not found
Bilal Ahmed
(11 rep)
Mar 13, 2022, 10:57 PM
• Last activity: Jun 16, 2025, 01:01 AM
2
votes
1
answers
3044
views
Troubles establishing connection with wvdial - Invalid dial command error
I am trying to run internet via HUAWEI E3372 on Debian. It worked on Windows but did not work on Debian.The error is this: ATDT*99# ERROR --> Invalid dial command. wvdial: utils/wvtask.cc:303: static int WvTaskMan::yield(int): Assertion *current_task->stack_magic == WVTASK_MAGIC' failed. Aborted Her...
I am trying to run internet via HUAWEI E3372 on Debian. It worked on Windows but did not work on Debian.The error is this:
ATDT*99#
ERROR
--> Invalid dial command.
wvdial: utils/wvtask.cc:303: static int WvTaskMan::yield(int): Assertion
*current_task->stack_magic == WVTASK_MAGIC' failed.
Aborted
Here you are the issue info:
*wvdial.conf*
root@debian:/home/b# cat /etc/wvdial.conf
[Dialer orange]
Modem = /dev/ttyUSB1
Phone = *99#
Username =;
Password =;
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","internet","",0,0
Auto DNS = on
root@debian:/home/b#
*dmesg | grep tty*
root@debian:/home/b# dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 4.288912] usb 2-8: GSM modem (1-port) converter now attached to ttyUSB0
[ 4.288990] usb 2-8: GSM modem (1-port) converter now attached to ttyUSB1
root@debian:/home/b#
*wvdial orange*
root@debian:/home/b# wvdial orange
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet","",0,0
AT+CGDCONT=1,"IP","internet","",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
ERROR
--> Invalid dial command.
wvdial: utils/wvtask.cc:303: static int WvTaskMan::yield(int): Assertion `*current_task->stack_magic == WVTASK_MAGIC' failed.
Aborted
root@debian:/home/b#
*lsusb*
root@debian:/home/b# lsusb
Bus 002 Device 002: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0bf8:1004 Fujitsu Siemens Computers
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@debian:/home/b#
## UPDATE ##
The configuration worked and internet got present actually. It was empty
resolve.conf
simlink so I copied /etc/ppp/resolve.conf
one and it worked.
Anyway **the error still remains** and I would like to get rid of it.
Also note that I am doing all with Network Manager
service disabled.
trzczy
(680 rep)
Jun 9, 2018, 09:35 PM
• Last activity: Apr 11, 2025, 08:06 AM
0
votes
0
answers
226
views
How to dualboot oneplus 7 pro
I have an extra mobile (one plus 7 pro) lying around, it has really good processor and alot of storage I am thinking of making it *remote server* type something in which I can **ssh** into. Store my files or maybe learn about `arm` programming One plus 7 pro comes with its propriety flavour of andro...
I have an extra mobile (one plus 7 pro) lying around, it has really good processor and alot of storage
I am thinking of making it *remote server* type something in which I can **ssh** into. Store my files or maybe learn about
arm
programming
One plus 7 pro comes with its propriety flavour of android called oxygen OS,
Is there any linux based OS that supports it. I think ubuntu touch may work.
But the problem is that most of these opensource OS, do not work on their proprietary hardware. At least not fully
Hence I want to be able to move back to Oxyge os, whenever I want.
The only option i see is dual boot. But how do I dual boot. In PC you just press the boot key and the boot menu shows up, you can then boot from a pendrive.
How does this work in phones
Tux
(1 rep)
Jun 17, 2024, 09:02 AM
8
votes
3
answers
10760
views
Convert android phone into linux server(bare metal performance)?
I want to convert some old android phones(2017+) into SSH only servers, is it possible? My objectives are: - run the phones 24/7 without a battery - I don't want to use anything besides the motherboard and the wifi(or if possible to get internet from USB), and scrap display, battery, camera and othe...
I want to convert some old android phones(2017+) into SSH only servers, is it possible? My objectives are:
- run the phones 24/7 without a battery
- I don't want to use anything besides the motherboard and the wifi(or if possible to get internet from USB), and scrap display, battery, camera and other sensors for money
- bare metal performance, no android junk inside that eats cpu and ram
- root access, just like in a server
- run ubuntu server or debian
The scope of my project is being able to reuse old phones as linux servers and run stuff like nginx, posgresql, nodejs, ruby. And even docker if possible.
Andrew
(89 rep)
Sep 20, 2021, 10:07 PM
• Last activity: May 29, 2024, 11:16 AM
0
votes
2
answers
102
views
How to get SMS 2FA verification on PC using Linux Mint
I do not like having a mobile cellphone and having to carry it around all the time and do 2FA by SMS, but many services I use require it, as does my school. I also lost my phone and cannot afford a new one at the moment. I do have a SIM card with a mobile plan; is there any way I can get the SMS mes...
I do not like having a mobile cellphone and having to carry it around all the time and do 2FA by SMS, but many services I use require it, as does my school. I also lost my phone and cannot afford a new one at the moment. I do have a SIM card with a mobile plan; is there any way I can get the SMS messages on my PC?
OS: Linux Mint
PC: Thinkpad X220
Carrier: Koodo
Location: Canada
Thank you
Logan Yu
(1 rep)
Feb 12, 2024, 08:20 PM
• Last activity: Feb 13, 2024, 03:41 AM
0
votes
0
answers
1590
views
Unisoc T606 smartphone
Oukitel WP23Pro specs: https://www.gsmarena.com/oukitel_wp23pro-12650.php This has to be the hardest platform I come across for unlocking bootloader and rooting. 1. There is no downloadable firmware, so I don't know how to extract the boot.img and vbmeta-sign.img from the phone, so I can't unlock th...
Oukitel WP23Pro specs: https://www.gsmarena.com/oukitel_wp23pro-12650.php
This has to be the hardest platform I come across for unlocking bootloader and rooting.
1. There is no downloadable firmware, so I don't know how to extract the boot.img and vbmeta-sign.img from the phone, so I can't unlock the bootloader and install TWRP etc.
2. Looking at the WP23Pro's little brother WP23, which has a downloadable pac images you can flash, extracting boot and vbmeta-sign.img from. You will find Manufacturer used its own OEM key. So I assume it's the same in WP23Pro version two.
3. I have tried every known: fastboot oem unlock, fastboot flashing unlock commands for unlocking the bootloader, inkluderad oem get_identifier_token and using the key in : ./signidentifier_unlockbootloader.sh XXXXXX rsa4096_vbmeta.pem signature.bin, and trying to flash the key:
fastboot flashing unlock signature.bin /
fastboot flashing unlock_bootloader signature.bin /
fastboot flashing --force unlock signature.bin
Nothing I do seems to work.
So how can I root existing firmware or flash a prerooted GSI?.
SamirOnof
(1 rep)
Nov 25, 2023, 06:14 AM
1
votes
0
answers
955
views
Use SIM module in HP 8440p Elite Book under Kali Linux 2.0
How can I use SIM slot in HP 8440p Elite Book? I tried every thing on the Internet, but I can't use it. I want to use it to send messages and calls, etc. I mean all SIM functions. I'm using Kali Linux 2.0 which is Debian based. root@Unknown:~# lsusb Bus 002 Device 003: ID 0bb4:0ff9 HTC (High Tech Co...
How can I use SIM slot in HP 8440p Elite Book? I tried every thing on the Internet, but I can't use it.
I want to use it to send messages and calls, etc. I mean all SIM functions. I'm using Kali Linux 2.0 which is Debian based.
root@Unknown:~# lsusb
Bus 002 Device 003: ID 0bb4:0ff9 HTC (High Tech Computer Corp.) Desire / Desire HD / Hero / Thunderbolt (Charge Mode)
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 090c:037c Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 300k Pixel Camera
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Danny Rock
(11 rep)
Oct 12, 2015, 02:28 PM
• Last activity: Nov 19, 2023, 03:56 AM
2
votes
0
answers
87
views
Can I play a sound or display things in Ubuntu on mobile device?
Some time ago I installed Termux terminal on my phone just to have some fun with it. Later I discovered I can have an Ubuntu distribution running with it so I decided to give it a try. It's working nicely but all things that need to display something or play some sort of sound do not work. I suppose...
Some time ago I installed Termux terminal on my phone just to have some fun with it. Later I discovered I can have an Ubuntu distribution running with it so I decided to give it a try.
It's working nicely but all things that need to display something or play some sort of sound do not work. I suppose my Ubuntu is just trying to do the exact thing it would on a PC but things are a little bit diffrent on mobile.
I can hovewer play sound and display things when using Termux without Ubuntu so things like VLC work for example. I just wonder if it's possible to fix this issue or develop some workaround.
BattleritePump
(21 rep)
Aug 13, 2023, 12:30 AM
• Last activity: Aug 16, 2023, 11:21 AM
1
votes
1
answers
684
views
ModemManager - Unable to to send SMS with curly braces
I'm stuck on a problem using ModemManager (mmcli 1.14.2) to programmatically send SMS which contains a certain combination of special characters which I have yet to identify. The SMS I'm trying to send is the following: OK({ yRgK1DNXQKo4C7uK43WnHArW1XbNekn6JJ80qgMTRcPM8pgGTJMwYDgseRRYOEA6NdCgQNgiSoh...
I'm stuck on a problem using ModemManager (mmcli 1.14.2) to programmatically send SMS which contains a certain combination of special characters which I have yet to identify.
The SMS I'm trying to send is the following:
OK({ yRgK1DNXQKo4C7uK43WnHArW1XbNekn6JJ80qgMTRcPM8pgGTJMwYDgseRRYOEA6NdCgQNgiSoheRZnK0czZy5P0GTny3rRrSEE9HTiFepFnhDxM6B2J3bpbHnHJiYbSQt40rt0dwIoZYeiEYyo7glw1kswTrg7He5Ojl8ysyxF4X54SCQomZrKRPsrEHpT2vLjCLfGn9pDGHxodwXbbKADm8j4waiGVnZfRBJBDSx8VUO28Yit068aM32t9a91NC0eUVkyUEGkNsm75cVQ7KJ0rpzucTRSudO7DJLxrgetz })
*I'm using a random string here just to simulate a large payload. In reality, the payload between curly braces is a more structured model*.
**The problem is that whenever I use the curly braces to encapsulate the payload, the message is not delivered to the recipient.**
I'm facing this issue using the following send methods.
Using MMCLI
------------
Sending SMS using mmcli with:
mmcli -m 1 --messaging-create-sms="number=,text='OK({yRgK1DNXQKo4C7uK43WnHArW1XbNekn6JJ80qgMTRcPM8pgGTJMwYDgseRRYOEA6NdCgQNgiSoheRZnK0czZy5P0GTny3rRrSEE9HTiFepFnhDxM6B2J3bpbHnHJiYbSQt40rt0dwIoZYeiEYyo7glw1kswTrg7He5Ojl8ysyxF4X54SCQomZrKRPsrEHpT2vLjCLfGn9pDGHxodwXbbKADm8j4waiGVnZfRBJBDSx8VUO28Yit068aM32t9a91NC0eUVkyUEGkNsm75cVQ7KJ0rpzucTRSudO7DJLxrgetz})'"
and then
mmcli -m 1 --sms --send
Which gives the following result:
> successfully sent the SMS
Using DBUS
----------
I use the Messaging DBUS interface to create a new SMS , set its "number" and "text" (UTF8 string) properties and then send it using its
Send()
method.
I use C# and Tmds.Dbus to interact with the bus.
## The problem ##
Using both methods, I'm unable to receive the message on the recipient's phone.
If I try to send the same message **without** curly braces, it gets delivered without any problme.
If I try to send another message **with** curly braces (something like "*OK({Test})*" it still gets delivered without any problem.
If I try to send any of the above messages from a phone to the device I'm using (with modem manager) they get received without any problem (with or without curly braces, long and short version).
It seems like there's a special combination of chars which causes problem to ModemManager and therefore does not get sent.
The fact the same message can be sent from a phone to ModemManager makes me think there isn't any problem on the mobile operator side.
Unluckly, since the actual payload contains a JSON encoded model, curly braces are important.
Andrew
(11 rep)
Jun 4, 2021, 02:00 PM
• Last activity: Nov 3, 2022, 12:10 PM
0
votes
1
answers
892
views
USB Tethering shows as Ethernet
I have NetworkManager on my Arch Linux machine. Output of `ifconfig`: ``` enp0s18f2u1: flags=4163 mtu 1500 inet 192.168.241.167 netmask 255.255.255.0 broadcast 192.168.241.255 inet6 fe80::f4cb:ecbe:eb8e:c961 prefixlen 64 scopeid 0x20 ether 46:0b:4a:d9:56:dd txqueuelen 1000 (Ethernet) RX packets 9132...
I have NetworkManager on my Arch Linux machine. Output of
ifconfig
:
enp0s18f2u1: flags=4163 mtu 1500
inet 192.168.241.167 netmask 255.255.255.0 broadcast 192.168.241.255
inet6 fe80::f4cb:ecbe:eb8e:c961 prefixlen 64 scopeid 0x20
ether 46:0b:4a:d9:56:dd txqueuelen 1000 (Ethernet)
RX packets 9132 bytes 11251343 (10.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6571 bytes 998708 (975.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp3s0: flags=4099 mtu 1500
ether 90:2b:34:96:0c:2e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 8 bytes 1021 (1021.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 1021 (1021.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp0s18f2u1
is my USB tethering interface. Why do I have enp3s0
? Why does my connection speed drops to rock-bottom after I replug the cable until I reboot my PC?
dmesg:
[ 31.007291] usb 1-1: USB disconnect, device number 3
[ 31.438343] usb 1-1: new high-speed USB device number 4 using ehci-pci
[ 31.585979] usb 1-1: New USB device found, idVendor=0e8d, idProduct=2004, bcdDevice= 2.23
[ 31.585989] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 31.585995] usb 1-1: Product: Nokia 2.2
[ 31.585999] usb 1-1: Manufacturer: HMD Global
[ 31.586003] usb 1-1: SerialNumber: HZAL1670CAJ61222625
[ 31.664819] usbcore: registered new interface driver cdc_ether
[ 31.675846] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:12.2-1, RNDIS device, 92:38:f4:ee:51:a2
[ 31.675882] usbcore: registered new interface driver rndis_host
[ 31.686275] rndis_host 1-1:1.0 enp0s18f2u1: renamed from usb0
[ 31.905225] kauditd_printk_skb: 7 callbacks suppressed
[ 1365.294661] usb 1-1: new high-speed USB device number 5 using ehci-pci
[ 1365.418013] usb 1-1: device descriptor read/64, error -32
[ 1365.672302] usb 1-1: New USB device found, idVendor=0e8d, idProduct=2008, bcdDevice= 2.23
[ 1365.672313] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1365.672319] usb 1-1: Product: Nokia 2.2
[ 1365.672323] usb 1-1: Manufacturer: HMD Global
[ 1365.672326] usb 1-1: SerialNumber: HZAL1670CAJ61222625
[ 1375.172543] usb 1-1: USB disconnect, device number 5
[ 1375.604696] usb 1-1: new high-speed USB device number 6 using ehci-pci
[ 1375.752534] usb 1-1: New USB device found, idVendor=0e8d, idProduct=2004, bcdDevice= 2.23
[ 1375.752541] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1375.752544] usb 1-1: Product: Nokia 2.2
[ 1375.752546] usb 1-1: Manufacturer: HMD Global
[ 1375.752549] usb 1-1: SerialNumber: HZAL1670CAJ61222625
[ 1375.754881] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:12.2-1, RNDIS device, be:c0:2b:4b:c4:a9
[ 1375.792804] rndis_host 1-1:1.0 enp0s18f2u1: renamed from usb0
[ 1375.963532] kauditd_printk_skb: 1 callbacks suppressed
Why does rndis_host 1-1:1.0 enp0s18f2u1: renamed from usb0
happens?
Monsieur Pierre Doune
(167 rep)
Apr 22, 2022, 04:59 AM
• Last activity: Jul 26, 2022, 12:25 PM
0
votes
0
answers
312
views
Debian 9 failover between WAN and cellular module
I'm trying to configure a debian 9 device to have cellular failover in case WAN fails (or vice versa). I tried doing this with `ifenslave`, the failover works in general but it doesn't switch gateways. It keeps the primary one. Here is the config from `/etc/network/interfaces` (I used the example 3...
I'm trying to configure a debian 9 device to have cellular failover in case WAN fails (or vice versa). I tried doing this with
ifenslave
, the failover works in general but it doesn't switch gateways. It keeps the primary one.
Here is the config from /etc/network/interfaces
(I used the example 3 from here: https://wiki.debian.org/Bonding) :
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eth1 lo
iface lo inet loopback
auto bond0
iface bond0 inet dhcp
bond-slaves eth0 eth1 eth2
bond-mode active-backup
bond-primary eth0
bond-miimon 100
bond_downdelay 200
bond_updelay 200
allow-bond0 eth0
iface eth0 inet manual
allow-bond0 eth1
iface eth1 inet manual
allow-bond0 eth2
iface eth2 inet manual
iface eth1 inet static
address 192.168.4.127
network 192.168.4.0
netmask 255.255.255.0
broadcast 192.168.4.255
gateway 192.168.4.1
I added eth1 as well for general testing.
This is the output from ip r
before I unplug the cable from eth0:
default via 192.168.22.2 dev bond0
10.0.0.0/8 dev eth2 proto kernel scope link src 10.197.68.254
192.168.4.0/24 dev eth1 proto kernel scope link src 192.168.4.127
192.168.22.0/24 dev bond0 proto kernel scope link src 192.168.22.31
And after I unplug the cables:
default via 192.168.22.2 dev bond0
10.0.0.0/8 dev eth2 proto kernel scope link src 10.197.68.254
192.168.4.0/24 dev eth1 proto kernel scope link src 192.168.4.127 linkdown
192.168.22.0/24 dev bond0 proto kernel scope link src 192.168.22.31
As you can see, eth0 and the cellular interface eth2 receive different gateways via DHCP. So I can't set static GW for the cellular interface since it might change over time.
Why isn't this working properly? Or do you have a better idea how I could configure this?
deschuele
(1 rep)
Jul 13, 2022, 02:20 PM
• Last activity: Jul 13, 2022, 02:59 PM
5
votes
1
answers
6256
views
SSH connections frequently disconnected when using a mobile hotspot for internet access
My ssh sessions are frequently disconnected when I use a provider that offers internet service via cellphone towers. They seem to "freeze" and stop responding to anything I've typed, but sometimes don't give an actual disconnect message until several minutes after they have frozen. I'm answering my...
My ssh sessions are frequently disconnected when I use a provider that offers internet service via cellphone towers. They seem to "freeze" and stop responding to anything I've typed, but sometimes don't give an actual disconnect message until several minutes after they have frozen.
I'm answering my own question in "Q&A style" below - this is a problem I've spent the last year trying to work around, and I wanted to consolidate and share all of the solutions I've found so far. (Feel free to add your own answers too if you have other solutions I haven't found yet!)
TiredSquirrel
(211 rep)
Aug 28, 2021, 09:05 PM
• Last activity: Aug 28, 2021, 10:16 PM
0
votes
0
answers
340
views
How to broadcast a linux machine on LAN before wifi or ethernet connection
If I have a mobile app, capable of scanning devices on my LAN, how can I set up my linux machine (to be present as a device on the LAN), lets say a Raspberry Pi, so that the mobile app can help the machine to connect to WiFi. From the machine I can connect to WiFi with `nmcli` `nmcli dev wifi connec...
If I have a mobile app, capable of scanning devices on my LAN, how can I set up my linux machine (to be present as a device on the LAN), lets say a Raspberry Pi, so that the mobile app can help the machine to connect to WiFi.
From the machine I can connect to WiFi with
nmcli
nmcli dev wifi connect password
And this gives the machine an IP on the LAN.
This is not what I need. I want that when the linux machine is introduced first time in a LAN, without any changes from the machine, I want to connect it to WiFi from my mobile app. An example of this is how Amazon Echo devices connect to Wifi.
xiki
(1 rep)
Jun 22, 2021, 05:08 AM
19
votes
2
answers
56555
views
Difference between ppp0 vs wwan0
I am Running Raspian on a RaspberryPi. When I plug in a GSM modem I see two interfaces - *wwan0* & *ppp0*. - `wwan0` exists even when the GSM modem is plugged but not connected - `ppp0` exists only when the GSM modem is connected ### Questions 1. What is the difference between `wwan0` and `ppp0`, an...
I am Running Raspian on a RaspberryPi.
When I plug in a GSM modem I see two interfaces - *wwan0* & *ppp0*.
-
wwan0
exists even when the GSM modem is plugged but not connected
- ppp0
exists only when the GSM modem is connected
### Questions
1. What is the difference between wwan0
and ppp0
, and why do I see ppp0
in addition to wwan0
?
2. Why is the IP address assigned to ppp0
and not wwan0
after a connection is established?
OneGuyInDc
(353 rep)
Oct 3, 2014, 03:07 PM
• Last activity: Apr 7, 2020, 06:16 PM
0
votes
1
answers
525
views
What are the device limitations for installing Linux-based Android alternatives?
I have a new Samsung Galaxy A40 and would like to use a Linux-based alternative to Android. Reasons: Privacy/security, hackability, moving away from Google. 1.) Can I install an alternative OS even though my device is not explicitly supported? If not, what are the limiting factors? Does each device...
I have a new Samsung Galaxy A40 and would like to use a Linux-based alternative to Android. Reasons: Privacy/security, hackability, moving away from Google.
1.) Can I install an alternative OS even though my device is not explicitly supported? If not, what are the limiting factors? Does each device require a specific set of drivers (e.g. graphics, audio, peripherals)?
2.) Are there any good OS options? Is anyone using Ubuntu Touch? The OS should be safe, stable and user-friendly. Also, using standard device functions and installing/sideloading APKs of standard apps (e.g. WhatsApp/Telegram/KakaoTalk) should be straightforward with no extensive workarounds required.
PS.: I have no experience as a mobile developer.
david
(359 rep)
Feb 6, 2020, 04:39 PM
• Last activity: Feb 6, 2020, 05:51 PM
12
votes
3
answers
15980
views
How to read SMS stored on a SIM card?
I have an old phone with a telephone card (SIM card) inside. The telephone has an infrared interface on the side. I want to read out my contacts and stored SMS messages from the phone, either via infrared, or by connecting the SIM to the computer by means of some kind of card reader. I once managed...
I have an old phone with a telephone card (SIM card) inside. The telephone has an infrared interface on the side.
I want to read out my contacts and stored SMS messages from the phone, either via infrared, or by connecting the SIM to the computer by means of some kind of card reader.
I once managed to read the data via infrared, but I cannot recreate the needed setup because I have no computer with irda interface anymore. So I've bought a card reader, which unfortunately only works on Windows. The application that comes with it is absolute trash and does not allow saving of data (WTF?!?! Who designed THIS?). Whatever, this reader has a credit-card sized plastic card where you can plug in the SIM card, so I plug the SIM into any kind of card reader. So my question:
- How can I get the stored data from the SIM using this Adapter? I have access to a computer that contains an integrated card reader, but I would have to check how to do it beforehand.
- If I get hold of an infrared interface somehow, which program is the best choice to read out stored SMS messages and pohonebooks? How is this done? (cmd-lines/link to howto preferred).
I hope someone can help, since the phone starts to die, and I want to save all my SMS which don't all fit on the SIM (I would have to copy them from phone memory to the SIM, delete them and copy the next batch, since the SIM can only store 10 messages ...).
hochl
(457 rep)
Jan 5, 2012, 02:29 PM
• Last activity: Apr 26, 2019, 04:58 PM
3
votes
1
answers
4202
views
Using the Fibocom L830-EB in ArchLinux on a ThinkPad T480s
I want to have mobile broadband on my T480s. First I ordered the L850-GL which didn't work because it uses the PCI interface. [As you can see in this forum.][1] People in the same thread claim to have a working L830-EB on their devices and in [this (german) forum][2] someone has managed to use the s...
I want to have mobile broadband on my T480s. First I ordered the L850-GL which didn't work because it uses the PCI interface. As you can see in this forum. People in the same thread claim to have a working L830-EB on their devices and in this (german) forum someone has managed to use the same module with Kubuntu.
I could successfully use the module in a Windows 10 VM. This and the fact that I could not find a "Lenovo Activation App" for my system lets me assume that the activation is successful or not necessary.
I tried following this guide but the result is:
$ sudo ./qmi_setup.sh start
error: couldn't open the QmiDevice: Operation timed out: device is closed
your wwan device may be RFKilled?
The censored output of
I don't know what else to check now. Can you please give me some pointers?
**Update:**
Checking the status of ModemManager reveals that the device is not supported. I wonder how the other people managed to connect...
Apr 09 18:31:55 tinkerpad ModemManager: Couldn't check support for device '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.3': not supported by any plugin
Apr 09 18:31:55 tinkerpad ModemManager: Couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.6/0000:3d:00.0': not supported by any plugin
Apr 09 18:31:55 tinkerpad ModemManager: Couldn't check support for device '/sys/devices/pci0000:00/0000:00:1f.6': not supported by any plugin
Apr 09 18:31:55 tinkerpad ModemManager: opening device...
Apr 09 18:31:55 tinkerpad ModemManager: [/dev/cdc-wdm0] Read max control message size from descriptors file: 512
Apr 09 18:31:55 tinkerpad ModemManager: [/dev/cdc-wdm0] channel destroyed
Apr 09 18:31:56 tinkerpad ModemManager: [device /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6] creating modem with plugin 'Fibocom' and '3' ports
Apr 09 18:31:56 tinkerpad ModemManager: Modem for device '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6' successfully created
Apr 09 18:31:56 tinkerpad ModemManager: opening device...
Apr 09 18:31:56 tinkerpad ModemManager: [/dev/cdc-wdm0] Read max control message size from descriptors file: 512
Apr 09 18:31:56 tinkerpad ModemManager: [/dev/cdc-wdm0] Opening device with flags 'version-info, proxy, mbim, expect-indications'...
Apr 09 18:31:56 tinkerpad ModemManager: [/dev/cdc-wdm0] loaded driver of cdc-wdm port: cdc_mbim
Apr 09 18:31:56 tinkerpad ModemManager: [/dev/cdc-wdm0] creating MBIM device...
Apr 09 18:31:56 tinkerpad ModemManager: [/dev/cdc-wdm0] MBIM device created
Apr 09 18:31:56 tinkerpad ModemManager: [/dev/cdc-wdm0] opening MBIM device...
Apr 09 18:31:56 tinkerpad ModemManager: opening device...
Apr 09 18:31:56 tinkerpad ModemManager: [/dev/cdc-wdm0] Read max control message size from descriptors file: 512
Apr 09 18:31:56 tinkerpad ModemManager: [/dev/cdc-wdm0] MBIM device open
Apr 09 18:31:56 tinkerpad ModemManager: [/dev/cdc-wdm0] Checking version info (15 retries)...
Apr 09 18:31:56 tinkerpad ModemManager: [/dev/cdc-wdm0] sending message as MBIM...
Apr 09 18:31:57 tinkerpad ModemManager: [cdc-wdm0] MBIM device is not QMI capable
Apr 09 18:31:57 tinkerpad ModemManager: [/dev/cdc-wdm0] MBIM device wasn't explicitly closed
Apr 09 18:31:57 tinkerpad ModemManager: [/dev/cdc-wdm0] channel destroyed
Apr 09 18:31:57 tinkerpad ModemManager: Unexpected band value: 1-2
Apr 09 18:31:58 tinkerpad ModemManager: Modem: state changed (unknown -> locked)
Apr 09 18:31:58 tinkerpad ModemManager: couldn't load Operator identifier: 'PinRequired'
Apr 09 18:31:58 tinkerpad ModemManager: couldn't load Operator name: 'PinRequired'
Apr 09 18:32:10 tinkerpad ModemManager: Modem /org/freedesktop/ModemManager1/Modem/1: state changed (locked -> initializing)
Apr 09 18:32:21 tinkerpad ModemManager: couldn't load initial EPS bearer settings: 'Transaction timed out'
Apr 09 18:32:21 tinkerpad ModemManager: couldn't load SUPL server: 'Operation not supported'
Apr 09 18:32:21 tinkerpad ModemManager: Modem /org/freedesktop/ModemManager1/Modem/1: state changed (initializing -> disabled)
Apr 09 18:32:21 tinkerpad ModemManager: Modem /org/freedesktop/ModemManager1/Modem/1: state changed (disabled -> enabling)
Apr 09 18:32:31 tinkerpad ModemManager: Modem /org/freedesktop/ModemManager1/Modem/1: state changed (enabling -> enabled)
Apr 09 18:32:31 tinkerpad ModemManager: Modem /org/freedesktop/ModemManager1/Modem/1: 3GPP Registration state changed (unknown -> registering)
Apr 09 18:32:31 tinkerpad ModemManager: Modem /org/freedesktop/ModemManager1/Modem/1: 3GPP Registration state changed (registering -> home)
Apr 09 18:32:31 tinkerpad ModemManager: Modem /org/freedesktop/ModemManager1/Modem/1: state changed (enabled -> registered)
mmcli
is:
$ mmcli -m 0
--------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: 8f2545cc6e144c03ae986f13ea3a5ed42b03ecfd
--------------------------------
Hardware | manufacturer: FIBOCOM
| model: L830-EB-00
| revision: 18300.1002.00.01.01.11
| h/w revision: L830-EB-02 v1.0.1
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: XXXXXXXXX
--------------------------------
System | device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6
| drivers: cdc_acm, cdc_mbim
| plugin: Fibocom
| primary port: cdc-wdm0
| ports: cdc-wdm0 (mbim), ttyACM0 (at), wwp0s20f0u6 (net)
--------------------------------
Numbers | own: XXXXXXXX
--------------------------------
Status | unlock retries: sim-pin (3)
| state: registered
| power state: on
| access tech: lte
| signal quality: 12% (recent)
--------------------------------
Modes | supported: allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 3g, 4g; preferred: none
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g
| current: allowed: 3g, 4g; preferred: 4g
--------------------------------
Bands | supported: utran-1, utran-5, utran-8, eutran-1, eutran-3, eutran-5,
| eutran-7, eutran-8, eutran-20, eutran-28
| current: utran-1, utran-5, utran-8, eutran-1, eutran-3, eutran-5,
| eutran-7, eutran-8, eutran-20, eutran-28
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
3GPP | imei: XXXXXX
| enabled locks: sim
| operator id: 26202
| operator name: Vodafone.de
| registration: home
--------------------------------
3GPP EPS | ue mode of operation: csps-2
--------------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
When the desktop environment starts I get asked for the SIM pin. When I want to choose a Network in NetworkManager the only option is to "Add a new connection". When I choose this option the NetworkManager window closes.

Benjamin
(191 rep)
Apr 9, 2019, 11:50 AM
• Last activity: Apr 9, 2019, 05:05 PM
5
votes
1
answers
7520
views
Gentoo Linux Still Popular Today?
I have a set of Thinkpad X-series (x86) for a fresh installation of Linux OS. **I want to ask based on today's trend for mobility, such as android, is Gentoo development catching up with today's popularity, if not what would be equivalent to Gentoo?** Looking at Linux Distro from Wikipedia, the time...
I have a set of Thinkpad X-series (x86) for a fresh installation of Linux OS.
**I want to ask based on today's trend for mobility, such as android, is Gentoo development catching up with today's popularity, if not what would be equivalent to Gentoo?**
Looking at Linux Distro from Wikipedia, the timeline based on initial release over 10 years are Slackware, Debian, FreeBSD, Gentoo. But the Gentoo hasn't been growing in its popularity since then. http://en.wikipedia.org/wiki/Linux_distribution
The equivalent closest to Gentoo I have seen in Wiki page is Chromium OS,
> "designed by Google that primarily runs web applications, using Gentoo
> as its foundation." - Wiki
However, though, nothing seem to have mentioned in particularly about Gentoo OS in Chromium Website. The relatable term I can see is "Portage", which is Gentoo's Package Manager.
http://en.wikipedia.org/wiki/Chromium_OS
**My next question is could Chromium OS be the future Gentoo-alike OS based on future key trend of mobility?**
Edwin
(51 rep)
Feb 4, 2014, 06:43 AM
• Last activity: Nov 24, 2018, 11:01 PM
3
votes
0
answers
1272
views
4G (LTE) Mobile Broadband, Slow upload speed
I'm using Huawei E3276 mobile modem for 4G LTE connection with Linux Manjaro XFCE 64bit, works out of the box without driver installs made by user. Problem is that while download is working normally as it should, upload is very slow. While on Windows 7 upload is steady 30-40Mbps depending on day, bu...
I'm using Huawei E3276 mobile modem for 4G LTE connection with Linux Manjaro XFCE 64bit, works out of the box without driver installs made by user.
Problem is that while download is working normally as it should, upload is very slow. While on Windows 7 upload is steady 30-40Mbps depending on day, but on Linux it barely hits 4Mbps.
Could it be a driver problem or a bug as a friend of mine suggested? And is it possible to fix it and how? This is as for now only thing for me that is kind of pulling me back to Windows so would love to get this fixed ASAP.
Edit 1: While other Linux distros have this upstream throttle, on Linux Mint Debian Edition 201403 upload is working as it should, usually being around 30-45Mbps.
Addition:
The same symptoms seem to be present in different hardware and Linux distributions: also with Ubuntu 14.04 LTS (64 bit workstation, kernel 3.16) and Raspbian Jessie for Raspberry PI (kernel 3.14).
Upstream seems to be always limited to about 5 Mbit/s whenever checking the speed from the Linux computer that is used as an LTE router. The other computers in the LAN always get much more upstream (2 to 3 times as much), even though the traffic is routed through the same Linux computer suffering from seemingly capped uplink.
A Windows 7 installation in the same hardware as Ubuntu does not have this uplink limitation. So the problem is not with E3276 device itself or in the mobile subscription, but in the Huawei E3276 Linux compatibility. Maybe something in the kernel?
It is not a matter with
iptables
rules: the speed does not noticeably increase when iptables
is disabled. Turning off IPv4 forwarding does not improve speed either.
Thatsafy
(31 rep)
Aug 11, 2014, 07:18 PM
• Last activity: Aug 21, 2018, 02:21 AM
6
votes
4
answers
2562
views
Fedora 20 dosen't accept correct PIN for mobile broadband
I have a problem with the WWAN (Qualcomm Gobi 2000) in my Lenovo ThinkPad W510. I can not unlock my SIM card with the correct PIN. I enter the PIN in this dialog and after this ![SIM PIN][1] I get immediately this dialog ![SIM PIN2][2] After I enter the SIM PIN2 the only thing that happens is that I...
I have a problem with the WWAN (Qualcomm Gobi 2000) in my Lenovo ThinkPad W510.
I can not unlock my SIM card with the correct PIN. I enter the PIN in this dialog
and after this
I get immediately this dialog
After I enter the SIM PIN2 the only thing that happens is that I get a notification that says that the connection is disabled.
I know that this is not a problem with the PIN or the SIM card because I checked both with my Windows 8 notebook.
What I have to do to use the WWAN in my notebook.
Update from 2014-04-29
Just found this via
: Starting PackageKit Daemon...
Apr 29 17:46:40 PackageKit: daemon start
Apr 29 17:46:40 dbus-daemon: dbus: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 29 17:46:40 dbus: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 29 17:46:40 systemd
: Started PackageKit Daemon.
Apr 29 17:46:44 PackageKit: get-updates transaction /395_dedbecee from uid 1000 finished with success after 4026ms
Update from 2014-05-02
AFAIK the WWAN firmware is loaded and the device is successfully initialized:
nmcli -p n
============
Netzwerk
============
NETZWERK
------------
aktiviert
[root@uss-titan marceljanus]# nmcli -p d
======================================
Status der Geräte
======================================
GERÄT TYP STATUS
--------------------------------------
wlp3s0 wifi verbunden
cdc-wdm0 gsm nicht verbunden
em1 ethernet nicht verfügbar
lo loopback nicht verwaltet
lsusb
Bus 002 Device 004: ID 05c6:9205 Qualcomm, Inc.
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 003 Device 002: ID 04b3:310d IBM Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 004: ID 0a5c:217f Broadcom Corp. BCM2045B (BDC-2.1)
Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Output from


journalctl
Apr 29 17:43:32 NetworkManager: Activation (cdc-wdm0) starting connection 'O2'
Apr 29 17:43:32 NetworkManager: (cdc-wdm0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Apr 29 17:43:32 NetworkManager: Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 29 17:43:32 NetworkManager: Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) started...
Apr 29 17:43:32 NetworkManager: Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) complete.
Apr 29 17:43:32 ModemManager: Simple connect started...
Apr 29 17:43:32 ModemManager: Simple connect state (3/8): Enable
Apr 29 17:43:32 ModemManager: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled -> enabling)
Apr 29 17:43:32 NetworkManager: (cdc-wdm0) modem state changed, 'disabled' --> 'enabling' (reason: user-requested)
Apr 29 17:43:32 ModemManager: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> disabled)
Apr 29 17:43:32 NetworkManager: (cdc-wdm0) modem state changed, 'enabling' --> 'disabled' (reason: unknown)
Apr 29 17:43:32 NetworkManager: (cdc-wdm0) failed to connect modem: Couldn't set operating mode: QMI protocol error (60): 'InvalidTransaction'
Apr 29 17:43:32 NetworkManager: (cdc-wdm0): device state change: prepare -> failed (reason 'unknown') [40 120 1]
Apr 29 17:43:32 NetworkManager: Activation (cdc-wdm0) failed for connection 'O2'
Apr 29 17:43:32 NetworkManager: (cdc-wdm0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Apr 29 17:43:32 NetworkManager: (cdc-wdm0): deactivating device (reason 'none')
Apr 29 17:43:32 firewalld: 2014-04-29 17:43:32 ERROR: UNKNOWN_INTERFACE: cdc-wdm0
Apr 29 17:43:32 NetworkManager: (cdc-wdm0) firewall zone remove failed: (32) UNKNOWN_INTERFACE: cdc-wdm0
Apr 29 17:45:52 PackageKit: daemon quit
Apr 29 17:46:40 dbus-daemon: dbus: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service'
Apr 29 17:46:40 dbus: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service'
Apr 29 17:46:40 systemd

/var/log/messages
after trying to enable the connection:
May 2 15:11:34 NetworkManager: Activation (cdc-wdm0) starting connection 'O2'
May 2 15:11:34 NetworkManager: (cdc-wdm0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 2 15:11:34 NetworkManager: Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) scheduled...
May 2 15:11:34 NetworkManager: Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) started...
May 2 15:11:34 NetworkManager: Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) complete.
May 2 15:11:34 ModemManager: Simple connect started...
May 2 15:11:34 ModemManager: Simple connect state (3/8): Enable
May 2 15:11:34 ModemManager: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled -> enabling)
May 2 15:11:34 NetworkManager: (cdc-wdm0) modem state changed, 'disabled' --> 'enabling' (reason: user-requested)
May 2 15:11:34 ModemManager: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> disabled)
May 2 15:11:34 NetworkManager: (cdc-wdm0) modem state changed, 'enabling' --> 'disabled' (reason: unknown)
May 2 15:11:34 NetworkManager: (cdc-wdm0) failed to connect modem: Couldn't set operating mode: QMI protocol error (60): 'InvalidTransaction'
May 2 15:11:34 NetworkManager: (cdc-wdm0): device state change: prepare -> failed (reason 'unknown') [40 120 1]
May 2 15:11:34 NetworkManager: Activation (cdc-wdm0) failed for connection 'O2'
May 2 15:11:34 NetworkManager: (cdc-wdm0): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 2 15:11:34 NetworkManager: (cdc-wdm0): deactivating device (reason 'none')
May 2 15:11:34 firewalld: 2014-05-02 15:11:34 ERROR: UNKNOWN_INTERFACE: cdc-wdm0
May 2 15:11:34 NetworkManager: (cdc-wdm0) firewall zone remove failed: (32) UNKNOWN_INTERFACE: cdc-wdm0
Marcel Janus
(111 rep)
Apr 27, 2014, 02:41 PM
• Last activity: May 14, 2018, 09:53 PM
Showing page 1 of 20 total questions