Some modems can be managed or slightly modified directly through native Linux utilities.
If Wine fails, consider these native Linux tools for similar purposes: dc unlocker for linux
Map your Linux serial device to a Windows COM port: Some modems can be managed or slightly modified
git clone https://github.com/red-motion/huawei_unlock cd huawei_unlock python3 huawei_modem_unlock.py --port /dev/ttyUSB0 --imei YOUR_IMEI routers and phones with DC-unlocker software
Some brands (like Xiaomi) have community-driven Linux unlockers, though these are often unofficial and may become obsolete with firmware updates. Unlock modems, routers and phones with DC-unlocker software