Virtual network interface for USB modem
Hello, I have qualcomm USB modem on /dev/ttyUSB0 and creating custom python script for connection. How can I create new network interface for the modem when connection is established? (like pppd is creating ppp0 when connected). Thank You in advance
|
Does your modem emulate a traditional dialup modem (i.e. where you have to send AT Hayes commands at it) or is it a network interface?
Some newer 3G et.al. modems provide an actual network interface, like an ethX interface. If you are getting a ttyUSB device, you probably have a traditional dialup device. I have no idea if it's still around but I used to use a tool called "wvdial" ages ago. It would dial up your connection as per a config file and startup pppd as needed to create the ppp0 interface. F |
Yes, its standard modem with /dev/ttyUSB where I can send AT commands. I know, its working with wvdial, but I am creating my own script for connecting and need to create the interface when connected without any tool like wvdial or pppd. Thank You
|
All times are GMT -5. The time now is 10:13 AM. |