LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-18-2011, 08:51 PM   #1
actmnophn
Member
 
Registered: Mar 2008
Posts: 53

Rep: Reputation: 15
udev rules 3g modem cdc acm


I am setting up my laptop as a router. I have it all working fine except for one thing I would like. I want to be able to plug in a 3g modem and have it available on demand. I am assuming some kind of udev rule to recognize when it is plugged in and start a connection script. Here is the dmesg output when the modem is plugged in.
Code:
[ 2267.148066] usb 3-1: new full speed USB device using ohci_hcd and address 3
[ 2267.355185] usb 3-1: New USB device found, idVendor=1004, idProduct=6000
[ 2267.355197] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2267.355205] usb 3-1: Product: LG CDMA USB Modem
[ 2267.355211] usb 3-1: Manufacturer: LG CDMA USB Modem
[ 2267.357371] usb 3-1: configuration #1 chosen from 1 choice
[ 2267.358385] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
I would need help with (1)creating the script to dial , and (2)actually dialing it when plugged in. I also would want it to (3)only dial when it is needed. Maybe this can be done in /etc/network/interfaces.

I can post the wvdial.conf file or something else if needed. I currently manually dial and it does work fine that way so DHCP server and NAT masquerading etc.. are working how I like.

Thanks.
 
  


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
missing /dev/ttyACM0 , modprobe cdc-acm agentchange Linux - Software 5 01-25-2010 11:46 PM
USB -> CDC-ACM with TI eZ430u OMAP3 Linux - Hardware 2 04-15-2009 07:18 AM
BUG in cdc-acm driver, kppp, pppd don't know which or how to find out. rbees Programming 1 09-22-2008 07:15 PM
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory rcg1984 Linux From Scratch 2 09-17-2008 07:02 AM
cdc-acm does not run at startup LeeJam Mandriva 0 06-01-2004 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:11 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