Finally, give your user permission to access the modem by creating a udev rule:
sudo apt install usb_modeswitch # Debian/Ubuntu Then, find your modem's Vendor and Product ID:
sudo dnf install wine usbutils
wine dc-unlocker.exe You will see the DC Unlocker CLI menu. First, detect your modem:
lsusb Example output: Bus 001 Device 003: ID 12d1:1506 Huawei Technologies Co., Ltd. dc unlocker for linux
sudo pacman -S wine usbutils Download the latest command-line version (not the GUI) from the official DC Unlocker website.
sudo dpkg --add-architecture i386 sudo apt update sudo apt install wine wine32 wine64 usbutils Finally, give your user permission to access the
Now go unlock that modem and enjoy carrier freedom from your Linux machine.
echo 'SUBSYSTEM=="usb", ATTRSidVendor=="12d1", MODE="0666"' | sudo tee /etc/udev/rules.d/50-modem.rules sudo udevadm control --reload-rules sudo udevadm trigger Replace 12d1 with your actual vendor ID. Navigate to the directory containing dc-unlocker.exe and run: sudo dpkg --add-architecture i386 sudo apt update sudo
For years, DC Unlocker has been the gold standard utility for unlocking 3G/4G/5G modems, routers, and dongles—freeing them from carrier restrictions. However, its native client is Windows-based, leaving Linux users feeling locked out of the unlocking process.