USB 3g modem not detecting in linux mint 8

Questions about WIFI networks and devices
Forum rules
Before you post please read this

USB 3g modem not detecting in linux mint 8

Postby sharaths_81 on Wed Apr 28, 2010 5:24 am

Hi Team,

I am great fan of linux mint and looking forward for the mint isadora version. Great job guys..
I have an issue with my usb 3g modem not being detected in my mint helena version. I have the package gnome ppp and wvdial. i have tried a few solutions given in the net
like running modprobe command using the product and vendor parameters. tried manually editing the /etc/wvdial.conf file and tried using the gnome ppp dialer. my modem is not being detected.

kindly let me know if you require any information regarding this. Please find some information below which might be of some information to you. please let me know and help me resolve this issue. It works perfectly on windows xp though.




#############################################################
### lspci output
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller (rev 03)
00:1f.5 IDE interface: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller (rev 03)
02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
0d:00.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
0d:00.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
0d:00.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
0d:00.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
0d:00.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)

## lsusb output with a usb pen drive plugged in
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 011: ID 0bb4:0c13 High Tech Computer Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

## lsusb output with all usb devices unplugged
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

## lsusb output with the usb modem plugged in
Bus 007 Device 010: ID 1c9e:9e00
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

wvdial output
-> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
A
A
--> Cannot open /dev/ttyUSB0: No such file or directory

##df -h output

Filesystem Size Used Avail Use% Mounted on
/dev/sda2 20G 3.5G 15G 20% /
udev 990M 308K 990M 1% /dev
none 990M 164K 990M 1% /dev/shm
none 990M 312K 990M 1% /var/run
none 990M 0 990M 0% /var/lock
none 990M 0 990M 0% /lib/init/rw
/dev/sda6 20G 2.0G 17G 11% /home
/dev/sda7 86G 78G 4.1G 95% /data
/dev/sr1 6.7M 6.7M 0 100% /media/Modem
sharaths_81
Level 1
Level 1
 
Posts: 4
Joined: Tue Apr 27, 2010 1:53 pm

Linux Mint is funded by ads and donations.
 

Re: USB 3g modem not detecting in linux mint 8

Postby vrkalak on Wed Apr 28, 2010 10:54 pm

Let's go back ... which USB Modem is it, exactly? (manufactures name and model numbers)

With USB 3G Modems not all are supposrted by every Linux Kernel.

And if this Modem has a memory chip included, the Kernel will first identify it as an External Memory device.
You would then, need to install the "usb_modeswitch" application. It is in the Synaptic Manager already, just 'click' to install.
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3311
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: USB 3g modem not detecting in linux mint 8

Postby sharaths_81 on Thu Apr 29, 2010 11:04 am

Hi,
tried installing the usb-modeswitch still it is not detecting... :cry:
sharaths_81
Level 1
Level 1
 
Posts: 4
Joined: Tue Apr 27, 2010 1:53 pm

Re: USB 3g modem not detecting in linux mint 8

Postby vrkalak on Thu Apr 29, 2010 4:54 pm

Let's go back ... which USB Modem is it, exactly? (manufactures name and model numbers)

And which Internet Service provider?
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3311
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: USB 3g modem not detecting in linux mint 8

Postby sharaths_81 on Thu May 06, 2010 6:55 am

Hi,
It is a USB 3g modem manufacturer is CAPITEL. I have seen in one another forum with a similar issue who was using ubuntu 9.10 and was resolved. I have done the same as instructed. Installed usbmodeswitch. As the usb modem is detected as a cd rom i had to install the modeswitch and please check the file below.

sudo gedit /usr/sbin/initmodem.sh
Copy following in it and replace your Vendor and Product ID where ever required.
##################################################
#!/bin/sh
sudo usb_modeswitch -v 0x<YOUR_VENDOR_ID> -p 0x<YOUR_PRODUCT_ID> -V 0x1c9e -P 0x9e00 -M 55534243123456780000000000000606f50402527000000000000000000000
sleep 10
sudo modprobe usbserial vendor=0x<YOUR_VENDOR_ID> product=0x<YOUR_VENDOR_ID>
#######################END#########################
I have modified the same. And ran the command on terminal as root . "sudo /usr/sbin/initmodem.sh" and was able to swap the device. It was detected as a wireless broadband access point. But was unable to connect to the same. P

I was unable to connect using wvdial or gnome ppp.
please find the users complete detailed solution below. Kindly let me know if i should try installing ubuntu 9.1 as it has worked in the case of the below user. But i still have a doubt as linux mint is also based on the same ubuntu 9.1 kernel.

Kindly help

Registered Posts: 2
Joined: Apr 2010
RE: How to install new usb modem from Capitel on linux?
Ok guys, since nobody replied to my question so far I tried to find an answer by myself...and I found the solution... Guests cannot see images in the messages. Please register in our forum for free by clicking here to see images.
and I'll share it so if someone face the same problem, he/she won't have to waste his/her time....

So, I think the problem is that, the new USB Modem from "Capitel" has inbuilt driver for windows. When you plug in the device in your computer it is shown as a virtual CD ROM. Hence the Linux (Ubuntu 9.10 in my case) can not figure out how to use it as a modem. So, to overcome this problem we you have to flip the device from virtual CD ROM mode to USB Modem mode. To do that, you need to have usb_modeswitch installed on your system.
Download u8sb_mode switch from here Guests cannot see links in the messages. Please register in our forum for free by clicking here to see links. and install it on your system [First install "usb-modeswitch-data" and then "usb_modeswitch-x.x.x"].

Also before doing anything further I would suggest you to configure Network Manager for your device.
Open Network Manager, go to edit connections and then click on tab of Mobile Broadband. Here, click on "Add". You will get a window saying "Set up a Mobile Broadband Connection". Click Forward. Select Country. When You reach "Select Your Provider" DO NOT SELECT BSNL FROM THE LIST. Click on radio button below that list which says "I can't find my provider and I wish to enter manually". Enter some name e.g. BSNL and select second option "My provider uses CDMA Technology (1xRTT, EVDO)" from the list. Now in next window enter your "Username" and "Password" (your telephone number for both). Keep "Number" as #777. Select "Connect Automatically". click on "Apply" and "Close" the Network Manager.

Now again let's get back to flipping the USB Modem from Virtual CD ROM to USB Modem. Do the following.
Attach USB Modem to the computer.
Open the Terminal.
Type command lsusb and enter.
You will get the Vendor and Product ID fo your device.
Something like this: "Bus 005 Device 003: ID 1c9e:9e00" (First one is vendor id [1c9e] and second is product id [9e00]).
Note it down.

Now type following command in terminal
sudo gedit /usr/sbin/initmodem.sh
Copy following in it and replace your Vendor and Product ID where ever required.
##################################################
#!/bin/sh
sudo usb_modeswitch -v 0x<YOUR_VENDOR_ID> -p 0x<YOUR_PRODUCT_ID> -V 0x1c9e -P 0x9e00 -M 55534243123456780000000000000606f50402527000000000000000000000
sleep 10
sudo modprobe usbserial vendor=0x<YOUR_VENDOR_ID> product=0x<YOUR_VENDOR_ID>
#######################END#########################

Save it and close it.
Do a chmod +x /usr/sbin/initmodem.sh to make it executable.

Run the following command.
sudo /usr/sbin/initmodem.sh

After successful run wait for some time and you will see that your BSNL Modem will appear in Network Manager's Wireless Broadband list.
It should automatically get connected or else try to connect to it by clicking on it in the list.

It works for me perfectly. I hope it will work for you too if you face the same problem. Guests cannot see images in the messages. Please register in our forum for free by clicking here to see images.
The only drawback is that you have to run the command "sudo /usr/sbin/initmodem.sh" every time you insert the USB Modem in your computer. Guests cannot see images in the messages. Please register in our forum for free by clicking here to see images.
If anyone knows how to make it automatically please share. Hope my experience will help you if you face this problem. Good
sharaths_81
Level 1
Level 1
 
Posts: 4
Joined: Tue Apr 27, 2010 1:53 pm

Re: USB 3g modem not detecting in linux mint 8

Postby vpm747 on Sun Mar 17, 2013 4:18 am

am having same problem of bsnl capitel 3g qualcomm cdma technology connection problem;
my lap is acer aspire 4710,centrino duo,1.73ghz,2gbram,
dual booting with debian 6.0.7 gnome and linuxmint 14 cinnamon

[(debian connects automatically after first detail scribbling,good speed,stable network connectivity.)
here lsusb shows Bus 002 Device 004: ID 1c9e:9e00]

linuxmint doesnt recognize my device;usb_modeswitch,tcl are installed,
lsusb shows Bus 002 Device 004: ID 1c9e:9e00 OMEGA TECHNOLOGY;
i must say linuxmint usb_modeswitvh is of 2012 whereas debian is still in 2010
vpm747
Level 1
Level 1
 
Posts: 1
Joined: Sun Mar 17, 2013 4:01 am


Return to Wireless

Who is online

Users browsing this forum: No registered users and 6 guests