want to change the default lan ip address from "192.168.8.1" to something else of device huawei usb modem e3531i-2 (HiLink), cause if i plug two of the modems there will be ip conflict and the latter will block the first modem, thanks. "usb stick model" - "hilink web app"
i want to plug multiple huawei modems e3531i-2 in a single pc without getting ip conflict.
my os is ubuntu 22.04 LTS, modem huawei e3531i-2, but i hope it can works for other modems.
lsusb | grep Huawei
it should look like this: Bus 001 Device 002: ID 12d1:1f01 Huawei Technologies Co., Ltd.
sudo nano /etc/usb_modeswitch.d/12d1:1f01
# Huawei E3531
DisableSwitching=1
TargetVendor=0x12d1
TargetProduct=0x1001
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NoDriverLoading=1
re-plug your modem again and now if you type lsusb | grep Huawei
it should look like this : Bus 001 Device 003: ID 12d1:1001 Huawei Technologies Co.,
, If the modem doesn’t switch into 12d1:1001 mode, try rerunning the above command with -I.
now you're able to run AT commands using screen /dev/ttyUSB0
or controlling it using modemmanager "i would recommend not using the GUI but instead use mmcli"