There are many ways to make your CDMA modem work in Linux. I use these steps to make my CDMA Hisense mobile working with Yemen Mobile network. Using this configuration:
The user and password: ymobile
Dial number: #777
baud: 115200
- Login as root.
- Be sure you have installed these softwares: smpppd, udev, wvdial, and kinternet.
- Do this command: dmesg at the end of the result you will see something like this (not important)
[ 2879.028201] sd 5:0:0:0: [sdb] Assuming drive cache: write through[ 2879.028218] sd 5:0:0:0: [sdb] Attached SCSI removable disk[ 3327.318366] usb 1-1: USB disconnect, address 2[ 3701.313639] input: Virtual pam_fp Keyboard as /devices/virtual/input/input14
- Connect your (USB) mobile, then execute the command dmesg again. Note the change it may look similar to this:
[ 3701.313639] input: Virtual pam_fp Keyboard as /devices/virtual/input/input14[ 4339.456859] usb 3-1: new full speed USB device using uhci_hcd and address 2[ 4339.664308] usb 3-1: New USB device found, idVendor=109b, idProduct=3197[ 4339.664327] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3[ 4339.664340] usb 3-1: Product: COMMON,USB[ 4339.664349] usb 3-1: Manufacturer: COMMON,USB[ 4339.664358] usb 3-1: SerialNumber: Serial Number[ 4339.664540] usb 3-1: configuration #1 chosen from 1 choice
-
Using the results (idVendor=109b, idProduct=3197), write this commandmodprobe -v usbserial vendor=0x109b product=0x3197
- Run the dmesg again. You should see ttyUSB like this.
[ 4339.664540] usb 3-1: configuration #1 chosen from 1 choice[ 4787.132839] usbcore: registered new interface driver usbserial[ 4787.133124] USB Serial support registered for generic[ 4787.133517] usbserial_generic 3-1:1.0: generic converter detected[ 4787.135810] usb 3-1: generic converter now attached to ttyUSB0[ 4787.135848] usbserial_generic 3-1:1.1: generic converter detected[ 4787.136128] usb 3-1: generic converter now attached to ttyUSB1[ 4787.136772] usbcore: registered new interface driver usbserial_generic[ 4787.136783] usbserial: USB Serial Driver corev
-
That means: your modem has installed successfully and you can use it. The device installed at /dev/ttyUSB0
-
check the wvdial configuration by the command cat /etc/wvdial.conf. If the result not like the one below, configure it manually, or by using ether kinternet or wvdialconf.[Dialer Defaults]Init1 = ATZInit2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0Modem = /dev/ttyUSB0Phone = 0Idle Seconds = 300Password = ymobileModem Type = Analog ModemStupid Mode = 1Compuserve = 0Baud = 115200Auto DNS = 1Dial Command = ATDTAsk Password = 0ISDN = 0Username = ymobile
When your configuration is ready, use kinternet to connect to the network. If the connection do not start check the smpppd service.
- Start smpppd service like this:
run yast , insert the root password > system > system services (runlevel) > expert modethen choose the run level 2,3, and 5then start the service, the OK