[Ubuntu-ZW] Can anyone help with this FAQ:Connecting CDMA Modems to Ubuntu?

O. Sinclair o.sinclair at gmail.com
Wed Jun 29 12:30:16 UTC 2011


CDMA USB Modem how-to / FAQ

As the modem will not "autoinstall" any parameters you must first of all 
get from the internet provider:
1. username
2. password
3. number to dial

You may or may not need the package "usb-modeswitch" installed. This 
"switches" the usb from appearing as a disk to appearing as a modem. If 
the modem appears as a disk on insert and it does not help to "eject" 
it, try installing usb-modeswich.

There are 2 ways (that we are aware of) to get CDMA modems working:
1. NetworkManager, KNetworkManager or KDE Network Manager widget 
depending on system setup
2. command line wvdial

If you are lucky the usb modem is recognised on insert and shows up in 
the network manager as a "mobile broadband" device. In that case, simply 
fill in the necessary parameters (number to dial, username, password) 
and then connect.

If it does not (can take up to 10 seconds) try these steps:

1. Open a command line console
2. type command "dmesg" and look at the output. It should mention a 
"GSM-modem" somewhere at then connected to something like /dev/ttyUSB0 
or USB1 up to USB3

If NOT try installing the usb-modeswitch package with your favourite 
package installer. Once that is done reinsert the USB modem

If it now shows up in dmesg as a GSM-modem you are almost there. If not 
- I suggest you try another one...

You can also look at the output from "lsusb" and see if/what the usb 
modem is identified as

Once it shows up as a GSM-modem it might then show up as a "mobile 
broadband" in your network manager.

If NOT install the wvdial package using your favourite package manager
After that from commandline run "sudo wvdialconf"

it should find the modem. Then edit /etc/wvdial.conf to something like 
below:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0 (or what wvdial gives here, you might have to try 
USB0 up to USB2 before it connects)
ISDN = 0
Phone = #777 (replace with number from your provider)
Password = what the provider gave you
Username = what the provider gave you

then to connect run "sudo wvdial" from command line to connect



More information about the Ubuntu-zw mailing list