The reason to connect multiple modems is to test the network bonding over WWAN
oem@lamhas-pro:/var/log$ sudo echo Y > /sys/class/net/wwan0/qmi/raw_ip
echo: write error: Device or resource busy
As of now, I am connected remotely so cant physically remove other modems
now modems are not even getting connected
your device is too complicated with too many modem
I don’t even know what port or network interface belongs to which module.
This is very hard to debug unless just one modem is connected to the host device
Thanks for your help, I can connect a single modem successfully after removing other modems and disabling the LAN connection, Now can you pls help me understand if I can connect multiple modems simultaneously without getting disconnected and also “nmcli c” is not showing the status of the modems, is there any other way I can check the modem connection status.
yes correct I just remove all modems and disconnect LAN and repeated all steps given in document , now If you can help me to connect multiple modem simultaneously would be great help for me
Here is the summary of all the workaround
To connect the modem I reboot the system
disconnect LAN connection
Run the following command
4. Type the following to enable RAW IP communication
sudo chmod 777 /sys/class/net/wwan0/qmi/raw_ip
sudo echo Y > /sys/class/net/wwan0/qmi/raw_ip
5. Type the following to allocate WDS client ID
sudo qmicli --device=/dev/cdc-wdm0 --wds-noop --client-no-release-cid
6. Use minicom to type AT command through /dev/ttyUSB2
AT!GSTATUS? should return network registered
AT+CGDCONT to enter the APN for profile 1
AT!SCACT=1,1 should return OK
sudo udhcpc -i wwan0
now it gets connected
The question here is why I always need to repeat all the steps every time
why do I need to disconnect the LAN
Is it not possible to have multiple modems work simultaneously?
Is there any permanent solution where I will install and configure one time and when the system boots network gets connected irrespective of which ISP SIM is connected?