How to tell them apart:
A. the hilink firmware is plug and play on raspbian. Once inserted, run `ifconfig` and you'll see a new `eth1` interface. Usually with an assigned IP of 192.168.8.100.
B. the stick firmware, once inserted, run `ifconfig` and you'll see a new `wwan0` interface, as well as these new devices: /dev/cdc-wdm0 , /dev/cdrom and probably /dev/sg0 , /dev/sg1 and /dev/sr0 .
How to set them up:
A. hilink firmware is plug and play
B. stick firmware needs setup. I found 2 methods that are supposed to work:
B.1. using mbimcli:
B.1.1. Run
sudo apt install libmbim-utils sudo mbimcli -d /dev/cdc-wdm0 --query-device-caps sudo mbim-network /dev/cdc-wdm0 startB.1.2. If it works (takes up to 90 seconds), automatically start it on boot:
Run
sudo nano /etc/mbim-network.confInsert
APN="internet" USERNAME="" PASSWORD="" IP="dhcp"Apn `internet` might be different for your ISP.
B.1.3.
sudo nano /etc/systemd/system/mbim-network.serviceInsert
[Unit] Description=MBIM network connection After=network.target usb-devices.target Wants=network.target [Service] Type=simple ExecStart=/usr/bin/mbim-network /dev/cdc-wdm0 start ExecStop=/usr/bin/mbim-network /dev/cdc-wdm0 stop RemainAfterExit=yes [Install] WantedBy=multi-user.targetB.1.4. Enable service:
sudo systemctl daemon-reload sudo systemctl enable --now mbim-network.serviceB.2. using network-manager
sudo apt update sudo apt install modemmanager modem-manager-gui nmcli connection add type gsm ifname cdc-wdm0 con-name stick apn internet gsm.pin **** nmcli connection.autoconnect yes nmcli connection up stickEntry apn `internet` might be different for your ISP.
(I think some commands are missing here, because modemmanager (mmcli) is installed but networkmanager (nmcli) is used.
Modifié par firened, 16 novembre 2025 - 03:23 .












