Mobile Broadband
- Inicie sesión ou rexístrese para enviar comentarios
When I plug the modem (linked below) into my computer, an option called "Enable Mobile Broadband" appears in the networking menu with an unchecked box next to it, but the box won't become checked when I click on it.
https://www.thinkpenguin.com/gnu-linux/usb-4g-lte-advanced-modem-gnu-linux-tpe-usb4g2us
This is a bit old but in https://askubuntu.com/questions/24940/enable-mobile-broadband-found-unchecked, someone suggested to install the usb-modeswitch package, and from what "apt show" says about it, installing it might help (but not sure).
Is it safe to purge the package 'usb-modeswitch-data' ? I am advised that doing so will remove packages called 'trisquel*' and 'trisquel-desktop-common*'. I'm not sure if that is a good idea !
Which version of Trisquel are you using?
On my computer with Trisquel 12, usb-modeswitch and usb-modeswitch-data are already installed. Right now, I can only remotely access a computer with Trisquel 11 which has no graphical environment (it is a server). On that computer, I see:
LC_ALL=C apt -s install usb-modeswitch NOTE: This is only a simulation! apt needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libtcl8.6 tcl tcl8.6 usb-modeswitch-data Suggested packages: tcl-tclreadline comgt The following NEW packages will be installed: libtcl8.6 tcl tcl8.6 usb-modeswitch usb-modeswitch-data 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Inst libtcl8.6 (8.6.12+dfsg-1build1 Trisquel:11.0/aramo [amd64]) Inst tcl8.6 (8.6.12+dfsg-1build1 Trisquel:11.0/aramo [amd64]) Inst tcl (8.6.11+1build2 Trisquel:11.0/aramo [amd64]) Inst usb-modeswitch-data (20191128-4 Trisquel:11.0/aramo [all]) Inst usb-modeswitch (2.6.1-3ubuntu2 Trisquel:11.0/aramo [amd64]) Conf libtcl8.6 (8.6.12+dfsg-1build1 Trisquel:11.0/aramo [amd64]) Conf tcl8.6 (8.6.12+dfsg-1build1 Trisquel:11.0/aramo [amd64]) Conf tcl (8.6.11+1build2 Trisquel:11.0/aramo [amd64]) Conf usb-modeswitch-data (20191128-4 Trisquel:11.0/aramo [all]) Conf usb-modeswitch (2.6.1-3ubuntu2 Trisquel:11.0/aramo [amd64])
What does "apt -s install usb-modeswitch" say?
My version of Trisquel is 11.0.1
'apt -s install usb-modeswitch' says:
usb-modeswitch is already the newest version (2.6.1-3ubuntu2).
That askubuntu page recommended purging usb-modeswitch-data and reinstalling usb-modeswitch which I haven't done yet, because I didn't like the look of packages called 'trisquel*' and 'trisquel-desktop-common*' being removed.
trisquel and trisquel-desktop-common are metapackages. If they are uninstalled, no software is actually removed from your system, so it should be safe. I don't know how purging usb-modeswitch-data can help, but you could try it.
After you have installed usb-modeswitch-data again, you can ask to install the trisquel and trisquel-desktop-common metapackages again. This ensures that, if due to some update of Trisquel (not so likely maybe), a new package must be installed, it will be installed automatically.
Yeah, purging usb-modeswitch-data didn't help.
Ok, that is unfortunate.
Did you try the SIM card in a mobile phone, to make sure it is working? I'd also suggest disabling the PIN authentication using the mobile phone, if not already done.
I saw that Thinkpenguin has some guide to connect via terminal (https://www.thinkpenguin.com/gnu-linux/using-your-4g-lte-modem-terminal) but it looks old and uses the MBIM protocol to communicate with the modem while the page for the device says it uses the QMI protocol, so I have doubts whether this can work. You could ask Thinkpenguin about it.
I use the GL-inet X750 with LibreCMC, it has a similar modem. I can use the uqmi command from LibreCMC to check the modem status directly, there are examples of what to request at https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle#manual_validation. On Trisquel, I don't see uqmi but the libqmi-utils package has the qmicli that could allow issuing the same request. You could try finding how to issue the same commands like the ones suggested on the link, to see the status or start data. The commands might be "sudo qmicli --nas-xxx" or "sudo qmicli --wds-xxx" where xxx is to be determined. Check with qmicli --help-nas and qmicli --help-wds.
I actually have https://www.thinkpenguin.com/gnu-linux/usb-4g-lte-advanced-modem-w-em7455-chip-global-markets that I never managed to use. I could try it again.