LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-21-2013, 09:30 AM   #1
fandar
Member
 
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
fmillion
Member
 
Registered: Nov 2006
Posts: 93

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 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
 
Old 02-21-2013, 10:02 AM   #3
fandar
Member
 
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:16 AM.

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