LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-05-2010, 11:31 PM   #1
malkor
LQ Newbie
 
Registered: May 2006
Location: Muscatine, IA
Distribution: Red Hat
Posts: 14

Rep: Reputation: 1
Unhappy Sprint (Franklin/CMOtech) U301 wireless modem


Trying to get a U301 (CMOtech 16d8:6008), under Fedora12, without luck. I've tried the "official" (unsupported) instructions from Sprint [sprint.com/pcsbusiness/downloads/Sprint_Mobile_Broadband_Setup_Guide.pdf] as well as many tips from the various Ubuntu and Fedora forums without success.

lsusb shows...
] Bus 002 Device 003: ID 16d8:6008 CMOTECH Co., Ltd.
] Bus 002 Device 002: ID 1a40:0101 TERMINUS TECHNOLOGY INC.
] Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
] Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsusb -v shows...
[lsusb_-v.txt]

I've created a UDEV rule...
] ACTION!="add", GOGO="3G_End"
]
] SUBSYSTEMS=="usb", ATTRS{idProduct}=="6008", ATTRS{idVendor}=="16d8", RUN+="/sbin/modprobe usbserial vendor=
] 0x16d8 product=0x6008"
] LABEL="3G_End"

dmesg|grep -i ttyUSB shows...
] usb 2-1.2: generic converter now attached to ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB1
] usb 2-1.2: generic converter now attached to ttyUSB2
] usb 2-1.2: generic converter now attached to ttyUSB3
] generic ttyUSB3: generic converter now disconnected from ttyUSB3
] generic ttyUSB2: generic converter now disconnected from ttyUSB2
] generic ttyUSB1: generic converter now disconnected from ttyUSB1
] generic ttyUSB0: generic converter now disconnected from ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB1
] usb 2-1.2: generic converter now attached to ttyUSB2
] usb 2-1.2: generic converter now attached to ttyUSB3
] generic ttyUSB0: generic converter now disconnected from ttyUSB0
] generic ttyUSB1: generic converter now disconnected from ttyUSB1
] generic ttyUSB2: generic converter now disconnected from ttyUSB2
] generic ttyUSB3: generic converter now disconnected from ttyUSB3
] usb 2-1.2: generic converter now attached to ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB1
] usb 2-1.2: generic converter now attached to ttyUSB2
] usb 2-1.2: generic converter now attached to ttyUSB3
] generic ttyUSB3: generic converter now disconnected from ttyUSB3
] generic ttyUSB2: generic converter now disconnected from ttyUSB2
] generic ttyUSB1: generic converter now disconnected from ttyUSB1
] generic ttyUSB0: generic converter now disconnected from ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB1
] usb 2-1.2: generic converter now attached to ttyUSB2
] usb 2-1.2: generic converter now attached to ttyUSB3
] generic ttyUSB3: generic converter now disconnected from ttyUSB3
] generic ttyUSB2: generic converter now disconnected from ttyUSB2
] generic ttyUSB1: generic converter now disconnected from ttyUSB1
] generic ttyUSB0: generic converter now disconnected from ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB1
] usb 2-1.2: generic converter now attached to ttyUSB2
] usb 2-1.2: generic converter now attached to ttyUSB3

After doing "modprobe usbserial vendor=16d8 product=6008", dmesg gets...
] usbcore: deregistering interface driver usbserial_generic
] generic ttyUSB3: generic converter now disconnected from ttyUSB3
] usbserial_generic 2-1.2:1.3: device disconnected
] generic ttyUSB2: generic converter now disconnected from ttyUSB2
] usbserial_generic 2-1.2:1.2: device disconnected
] generic ttyUSB1: generic converter now disconnected from ttyUSB1
] usbserial_generic 2-1.2:1.1: device disconnected
] generic ttyUSB0: generic converter now disconnected from ttyUSB0
] usbserial_generic 2-1.2:1.0: device disconnected
] USB Serial deregistering driver generic
] usbcore: deregistering interface driver usbserial
] usbcore: registered new interface driver usbserial
] USB Serial support registered for generic
] usbserial_generic 2-1.2:1.0: generic converter detected
] usb 2-1.2: generic converter now attached to ttyUSB0
] usbserial_generic 2-1.2:1.1: generic converter detected
] usb 2-1.2: generic converter now attached to ttyUSB1
] usbserial_generic 2-1.2:1.2: generic converter detected
] usb 2-1.2: generic converter now attached to ttyUSB2
] usbserial_generic 2-1.2:1.3: generic converter detected
] usb 2-1.2: generic converter now attached to ttyUSB3
] usbcore: registered new interface driver usbserial_generic
] usbserial: USB Serial Driver core

Also tried the "modprobe -v option" with "echo "16d8 6008" > /sys/bus/usb-serial/drivers/option1/new_id" and still can't get kPPP to recognise it.

I followed the kPPP setup instructions in the PDF and, when I query the mdm, I get "Unable to open modem"


Any ideas? Thanks much.
Attached Files
File Type: txt lsusb_-v.txt (14.2 KB, 2 views)
 
Old 03-22-2011, 01:47 AM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Did you happen to find a fix for this one?
 
Old 08-02-2011, 02:02 PM   #3
rerek
LQ Newbie
 
Registered: Aug 2011
Location: Woodstock, GA
Posts: 2

Rep: Reputation: Disabled
Based on the input from your post, and after trying a few things, I got it to work with these instructions:

This is certainly not the most eloquent or the best solution, but it worked for me..

As root, issue lsusb after plugging on the device. Note the “CMOTECH” and the vendor/product numbers to the left. These instructions are for 16d8/6008...

Bus 001 Device 022: ID 046d:c062 Logitech, Inc.
Bus 001 Device 018: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
Bus 001 Device 012: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 013: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 008: ID 16d8:6008 CMOTECH Co., Ltd.
Bus 002 Device 006: ID 1a40:0101 TERMINUS TECHNOLOGY INC. USB-2.0 4-Port HUB
Bus 002 Device 004: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 0000:0000

uname -a results
Linux xxx.xxx.xxx 2.6.18-238.el5PAE #1 SMP Sun Dec 19 14:42:44 EST 2010 i686 i686 i386 GNU/Linux

Unplug the USB device, then add these lines to /etc/udev/rules.d/50-udev.rules

ACTION!="add", GOTO="3G_End"
SUBSYSTEM=="usb", SYSFS{idProduct}=="6008", SYSFS{idVendor}=="16d8", \
RUN+="/sbin/modprobe usbserial vendor=0x16d8 product=0x6008"
LABEL="3G_End"

Reboot

Issue “sudo wvdialconf”

Use your favorite editor and edit wvdial.conf like this one:

[Dialer Defaults]
Modem = /dev/ttyUSB1
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = #777
Username = ''
Password = ''
Carrier Check = no
Stupid Mode = yes

Plug in the USB Modem. The dmesg command should show something like:
usb 2-1.2: new high speed USB device using ehci_hcd and address 6
usb 2-1.2: configuration #1 chosen from 1 choice
hub 2-1.2:1.0: USB hub found
hub 2-1.2:1.0: 4 ports detected
usb 2-1.2.2: new full speed USB device using ehci_hcd and address 8
usb 2-1.2.2: configuration #1 chosen from 1 choice
usbserial_generic 2-1.2.2:1.0: generic converter detected
usb 2-1.2.2: generic converter now attached to ttyUSB0
usbserial_generic 2-1.2.2:1.1: generic converter detected
usb 2-1.2.2: generic converter now attached to ttyUSB1
usbserial_generic 2-1.2.2:1.2: generic converter detected
usb 2-1.2.2: generic converter now attached to ttyUSB2
usbserial_generic 2-1.2.2:1.3: generic converter detected
usb 2-1.2.2: generic converter now attached to ttyUSB3
usbserial_generic 2-1.2.2:1.4: generic converter detected
usb 2-1.2.2: generic converter now attached to ttyUSB4

Issue the wvdial command.. the following should appear
--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Aug 2 09:33:10 2011
--> pid of pppd: 30088
--> Using interface ppp0
--> local IP address 184.244.20.23
--> remote IP address 68.28.153.71
--> primary DNS address 68.28.154.91
--> secondary DNS address 68.28.146.91

You should now be connected at 3G.
 
  


Reply

Tags
kppp, sprint, usb, wireless


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
How to install the Sprint Broadband USB Modem in Linux? william2 Linux - Newbie 4 08-02-2011 10:37 AM
Franklin cdu650 cell modem Fredrick Bell Linux - Newbie 1 12-09-2009 08:07 AM
Sprint u300 3g/4g modem m-jackson Linux - Hardware 1 04-17-2009 01:35 AM
Sprint Wireless Pantech PX-500 WORKS GREAT! halo14 Linux - Hardware 2 03-12-2009 09:44 PM
Dell Wireless 5720 EVDO Mini Card, Sprint KNx2 Linux - Hardware 4 02-29-2008 04:53 PM


All times are GMT -5. The time now is 05:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration