I’m using the Linux QMI sdk with the GobiNet and GobiSerial. I’m able to create a data session and if I run:
~ip addr add [THE IP I GET FROM THE API] dev [THE IFACE I SEE IN THE IFCONFIG]
I can send ping and everything seems fine.
Is there a way to programmatically find the Linux iface that related to the qcqmi I’m using?
I can’t find anything documented about it or any example.
How about using udhcpc tool (or dhclient tool)with -i option?
Btw, you can use ping command with -i option to specify which network interface you want to use?