Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 05-31-2008, 08:22 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 6

Rep: Reputation: 0
Detect USB CDMA Modem in Fedora 8

Dear Linux Experts,

I have a USB CDMA modem. It works fine in Windows. I want to use it at Linux (Fedora) to build internet connection.
At Fedora, I try to configure the internet USB Modem internet connection using "kppp" application, but I still can not connect to the internet (for internet connection , i should use username "starone", password "indosat", and phone number "#777")
1. How can I know that my USB modem has been detected by Fedora?
2. How can I know that what modem port the USB modem using? (whether it is /dev/ttyS0? , /dev/tty/USB0?, etc)
3. How to configure internet connection via USB modem in Fedora?

Kindly need your help, please

Thanks and regards,

Old 05-31-2008, 09:19 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I just got my Sprint Wireless Aircard 595U working on Kubuntu 8.04. The steps will be the same as on your distro. Kubuntu already had all of the required software. Let's say that your distro also already has all of the required software.

Log on as root. You can do this from within a normal user session. Just open a terminal window and use the su command to log on as root within that terminal.

Run the dmesg command to see the last entries in the system message buffer.

Plug your modem into a USB port and wait about 10 seconds.

Run the dmesg command again to see what Linux did when it saw the card. Hopefully you will see something like this.
[ 1038.060581] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 1038.220807] usb 3-1: configuration #1 chosen from 1 choice
[ 1038.370812] usbcore: registered new interface driver usbserial
[ 1038.371203] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 1038.371647] usbcore: registered new interface driver usbserial_generic
[ 1038.371654] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 1038.379409] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem (1 port)
[ 1038.379949] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem (3 port)
[ 1038.380525] sierra 3-1:1.0: Sierra USB modem (3 port) converter detected
[ 1038.382712] usb 3-1: Sierra USB modem (3 port) converter now attached to ttyUSB0
[ 1038.383160] usb 3-1: Sierra USB modem (3 port) converter now attached to ttyUSB1
[ 1038.383660] usb 3-1: Sierra USB modem (3 port) converter now attached to ttyUSB2
[ 1038.383986] usbcore: registered new interface driver sierra
[ 1038.383994] /build/buildd/linux-2.6.24/drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.2.5b
You can see that the modem is identified by name and its mapping is listed. The only confusing thing is that it is mapped to three devices; ttyUSB0, ttyUSB1, and ttyUSB2. I have found that pointing Kppp to the first device, /dev/ttyUSB0, will work.

As for Kppp the only thing to remember is that you don't have to fill in all of the fields when you configure the modem and the connection. The USB modem already has your user name and password. When you tell it to dial #777 it will automatically log on to the network without any input from you.

Start Kppp.

Click the Configure button to configure both the modem and a connection.

On the Accounts tab click New.

Select Manual Setup

On the Dial tab enter a name for the Connection name box.

Next to the Phone number box click on the Add box.

In the Enter a phone number box enter #777

Next to Authentication select Script-based.

Click on the OK button.

Back in the KPPP Configuration box click on the Modems tab.

Click on the New button.

In the Device tab next to Modem name enter a name for the modem.

In the Modem device select the device that you saw the modem connected to in the dmesg output. In my case it is /dev/ttyUSB0.

In the Connection speed box select 115200.

Click on the OK button.

Back in the KPPP Configuration window click on the OK button.

In the original configuration box click on the OK button.

At this point the only window open should be the KPPP startup window. Click on the Connect box. Hopefully you will soon be connected to your service provider.

I find that when I first connect to my wireless service provider Firefox doesn't recognize the connection. When I tell it to connect to a web site I get an error message saying that Firefox is running in off line mode. I click on the File menu, click on the off line item, then try to connect again. This time it always works. I haven't tried other applications yet. Just be aware that you may have to coax your applications to use this network connection.

Other people reading this should be aware that you MUST configure your 3G modem in Windows using the software that your ISP provided. This will put your user name and password into the modem. After that is done you can use the modem in Linux. I believe that my ISP set up the modem before they shipped it to me. I never had to enter my user name or password. Nevertheless I got it working in Windows before I got it running in Linux.

Last edited by stress_junkie; 05-31-2008 at 09:38 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem connectiong with WS-806 CDMA usb modem in fedora 8? shams Linux - Hardware 2 04-12-2010 09:29 AM
i have this error message when i connected cdma usb modem debianlam Linux - Networking 1 05-04-2008 07:38 AM
lg cdma usb modem drivers required ummer k m Fedora 1 11-19-2007 02:29 AM
CDMA Modem via USB not working in SuSE 10 akabatman2 SUSE / openSUSE 3 11-09-2005 10:02 PM
USB to serial convertor + CDMA modem priya_siddharth Linux - Hardware 1 04-11-2004 07:34 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:58 AM.

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