1) Insert your usb modem and observe your /var/log/messages log file, you should see something like
Dec 11 16:44:56 poison kernel: ohci_hcd 0000:00:13.0: wakeup
Dec 11 16:44:56 poison kernel: usb 1-3: new full speed USB device using ohci_hcd and address 2
Dec 11 16:44:56 poison kernel: usb 1-3: new device found, idVendor=1004, idProduct=6000
Dec 11 16:44:56 poison kernel: usb 1-3: new device strings: Mfr=1, Product=2, SerialNumber=3
Dec 11 16:44:56 poison kernel: usb 1-3: Product: Qualcomm CDMA Technologies MSM
Dec 11 16:44:56 poison kernel: usb 1-3: Manufacturer: LG CDMA USB Modem
Dec 11 16:44:56 poison kernel: usb 1-3: SerialNumber: Serial Number
Dec 11 16:44:56 poison kernel: usb 1-3: configuration #1 chosen from 1 choice
Dec 11 16:44:57 poison kernel: cdc_acm 1-3:1.0: ttyACM0: USB ACM device
Dec 11 16:44:57 poison kernel: usbcore: registered new driver cdc_acm
Dec 11 16:44:57 poison kernel: drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
Here we are interested in knowing the port on which modem is connected, which is ttyACM0
2) Copy and past the following lines into your /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 57600
Init1 = AT+CRM=1
Phone = 777
Username = internet
Password = internet
Stupid Mode = 1
Compuserve = 0
Idle Seconds = 30
3) Run the following command to update any missing parameter in /etc/wvdial.conf file
poison:/etc # wvdialconf update
4) Run the following command to start the internet connection
poison:/etc # wvdial
I have tested this on Ferdora and Suse Linux and I believe that it should also work for you all.
0 comments:
Post a Comment