Debian sim card over usb, which app, answer short · The Chat Archive
To use a SIM card over USB on a Debian system, you typically need a USB SIM card dongle and appropriate software to manage it. Here are short answers for the most common applications you can use:
ModemManager:
Description: ModemManager is a service that manages mobile broadband devices, including USB SIM card dongles.
Installation:
sudo apt update
sudo apt install modemmanager
Usage: Once installed, plug in your USB SIM card dongle. ModemManager will automatically detect and manage it. You can check the status with mmcli:
mmcli -L # List all connected modems
mmcli -m <index> # Get details about a specific modem
NetworkManager:
Description: NetworkManager can work in conjunction with ModemManager to provide a GUI and CLI for managing network connections, including those from USB SIM card dongles
Installation:
sudo apt update
sudo apt install network-manager
Usage: After plugging in your USB SIM card dongle, open the NetworkManager applet in your system tray. You should see an option to connect to the mobile broadband network. Follow the prompts to enter your SIM card's PIN and APN settings.
GNOME Connections (for GNOME desktop):
Description: A GUI tool that integrates with NetworkManager to manage mobile broadband connections.
Installation:
sudo apt install gnome-connections
Usage: Open GNOME Connections from your application menu. It will detect your USB SIM card dongle and guide you through setting up the mobile broadband connection.
wmmppd (for CLI users)
Description: A command-line interface for managing GSM modems.
Installation:
sudo apt install wmmppd
Usage
sudo wmpppd -i # To initialise the modem
sudo wmpppd -c # To connect using the modem
Choose the one that best fits your needs. For most users, NetworkManager with the GNOME Connections GUI is the easiest and most user-friendly option.
User
Have sway, there was an app where i had to input provider etc
Assistant
If you are using Sway (a tiling Wayland window manager), you won't have NetworkManager's GUI applet available, as Sway does not use a traditional desktop environment. However, you can still manage your USB SIM card dongle through the command line. The app you are thinking of is likely nmcli, the command-line interface for NetworkManager. Here’s how you can use nmcli to manage your USB SIM card dongle in a Sway environment:
Using nmcli
Install NetworkManager (if not already installed):
Replace <index> with the modem's index and <APN> with your provider's Access Point Name. If your SIM has a PIN you will also need to add pin=<your-pin> to the command.
Both nmcli and mmcli will allow you to input your provider information and manage your USB SIM card dongle entirely from the command line, which is perfect for a Sway environment.