Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-21-2013, 09:30 AM   #1
Registered: Oct 2006
Posts: 61

Rep: Reputation: 15
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
Old 02-21-2013, 09:40 AM   #2
Registered: Nov 2006
Posts: 91

Rep: Reputation: 27
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 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.

Old 02-21-2013, 10:02 AM   #3
Registered: Oct 2006
Posts: 61

Original Poster
Rep: Reputation: 15
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing Traffic to a Virtual Network Interface medized Linux - Networking 4 05-21-2010 04:12 AM
[OpenSUSE 10.3] virtual network interface noir911 Linux - Server 3 10-23-2008 03:26 AM
Network Traffic Stats on virtual interface santhosh rao Linux - Newbie 2 02-14-2008 03:33 AM
Activating a virtual network interface bolek Programming 1 02-06-2008 09:50 PM
Activating a virtual network interface bolek Linux - Networking 1 02-05-2008 11:12 AM

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration