LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-23-2010, 10:33 PM   #1
thushanga
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
how to install ZTE MF100 3g hsdpa


Hi dear all,

Please help me on this , i bought 3g internet connection. which is a usb ZTE MF 100 device. as a i am very beginner to Linux , i want to install it on Debian Lenny.Please help me anyone for this , because i am trying it very very hardly.

Thanks lot.
Emil
 
Old 10-24-2010, 03:17 AM   #2
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
Plug it in and tell us how is it identified in lsusb please.
 
Old 10-25-2010, 04:51 AM   #3
thushanga
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
this is what i get for lsusb

Following are the results i get. please help me future.

emil@emil:~$ lsusb
Bus 003 Device 006: ID 19d2:2000 ONDA Communication S.p.A. ZTE MF627/MF628/MF628+ HSDPA
Bus 003 Device 005: ID 0781:5530 SanDisk Corp.
Bus 003 Device 003: ID 19d2:2000 ONDA Communication S.p.A. ZTE MF627/MF628/MF628+ HSDPA
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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


emil:/home/emil# dmesg | grep -i usb
[ 12.760986] usbcore: registered new interface driver usbfs
[ 12.761051] usbcore: registered new interface driver hub
[ 12.761131] usbcore: registered new device driver usb
[ 12.763589] USB Universal Host Controller Interface driver v3.0
[ 12.764015] uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
[ 12.764237] usb usb1: configuration #1 chosen from 1 choice
[ 12.764303] hub 1-0:1.0: USB hub found
[ 12.864988] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 12.864999] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 12.865006] usb usb1: Product: UHCI Host Controller
[ 12.865011] usb usb1: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[ 12.865017] usb usb1: SerialNumber: 0000:00:10.0
[ 12.865364] uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
[ 12.865656] usb usb2: configuration #1 chosen from 1 choice
[ 12.865730] hub 2-0:1.0: USB hub found
[ 12.968840] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 12.968850] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 12.968857] usb usb2: Product: UHCI Host Controller
[ 12.968862] usb usb2: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[ 12.968867] usb usb2: SerialNumber: 0000:00:10.1
[ 13.490588] usb 2-2: new low speed USB device using uhci_hcd and address 2
[ 13.621172] ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 3
[ 13.633077] ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 13.633229] usb usb3: configuration #1 chosen from 1 choice
[ 13.633307] hub 3-0:1.0: USB hub found
[ 13.736878] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 13.736886] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 13.736892] usb usb3: Product: EHCI Host Controller
[ 13.736897] usb usb3: Manufacturer: Linux 2.6.26-2-686 ehci_hcd
[ 13.736902] usb usb3: SerialNumber: 0000:00:10.4
[ 14.039255] usb 2-2: device not accepting address 2, error -71
[ 14.095099] hub 2-0:1.0: unable to enumerate USB device on port 2
[ 14.521778] usb 2-2: new low speed USB device using uhci_hcd and address 4
[ 14.694643] usb 2-2: configuration #1 chosen from 1 choice
[ 14.708564] usb 2-2: New USB device found, idVendor=09da, idProduct=000a
[ 14.708564] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 14.708564] usb 2-2: Product: PS/2+USB Mouse
[ 14.708564] usb 2-2: Manufacturer: A4Tech
[ 14.758870] usbcore: registered new interface driver hiddev
[ 14.775513] input: A4Tech PS/2+USB Mouse as /class/input/input1
[ 14.775513] input,hidraw0: USB HID v1.10 Mouse [A4Tech PS/2+USB Mouse] on usb-0000:00:10.1-2
[ 14.775513] usbcore: registered new interface driver usbhid
[ 14.775513] usbhid: v2.6:USB HID core driver
[ 3765.055278] usb 3-1: new high speed USB device using ehci_hcd and address 3
[ 3765.200723] usb 3-1: configuration #1 chosen from 1 choice
[ 3765.202303] usb 3-1: New USB device found, idVendor=19d2, idProduct=2000
[ 3765.202312] usb 3-1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[ 3765.202319] usb 3-1: Product: ZTE WCDMA Technologies MSM
[ 3765.202324] usb 3-1: Manufacturer: ZTE,Incorporated
[ 3765.202329] usb 3-1: SerialNumber: P671A1MBTD010000
[ 3765.323793] Initializing USB Mass Storage driver...
[ 3765.331115] usb-storage: device ignored
[ 3765.331212] usbcore: registered new interface driver usb-storage
[ 3765.331212] USB Mass Storage support registered.
[ 4961.895902] usb usb1: root hub lost power or was reset
[ 4961.895969] usb usb2: root hub lost power or was reset
[ 4961.895969] usb usb3: root hub lost power or was reset
[ 4963.750844] usb 2-2: USB disconnect, address 4
[ 4981.345050] usb 3-4: new high speed USB device using ehci_hcd and address 4
[ 4981.478070] usb 3-4: configuration #1 chosen from 1 choice
[ 4981.479102] scsi3 : SCSI emulation for USB Mass Storage devices
[ 4981.481017] usb-storage: device found at 4
[ 4981.481017] usb-storage: waiting for device to settle before scanning
[ 4981.481017] usb 3-4: New USB device found, idVendor=0781, idProduct=5530
[ 4981.481017] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4981.481017] usb 3-4: Product: Cruzer
[ 4981.481017] usb 3-4: Manufacturer: SanDisk
[ 4981.481017] usb 3-4: SerialNumber: 500183143DD2C729
[ 4986.488571] usb-storage: device scan complete
[ 5540.154641] usb 3-4: USB disconnect, address 4
[ 6627.174872] usb usb1: root hub lost power or was reset
[ 6627.174948] usb usb2: root hub lost power or was reset
[ 6627.175006] usb usb3: root hub lost power or was reset
[ 6713.482281] usb 3-4: new high speed USB device using ehci_hcd and address 5
[ 6713.614983] usb 3-4: configuration #1 chosen from 1 choice
[ 6713.615992] scsi4 : SCSI emulation for USB Mass Storage devices
[ 6713.617039] usb-storage: device found at 5
[ 6713.617039] usb-storage: waiting for device to settle before scanning
[ 6713.617039] usb 3-4: New USB device found, idVendor=0781, idProduct=5530
[ 6713.617039] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6713.617039] usb 3-4: Product: Cruzer
[ 6713.617039] usb 3-4: Manufacturer: SanDisk
[ 6713.617039] usb 3-4: SerialNumber: 500183143DD2C729
[ 6718.621461] usb-storage: device scan complete
[ 6921.445046] usb 3-2: new high speed USB device using ehci_hcd and address 6
[ 6921.600023] usb 3-2: configuration #1 chosen from 1 choice
[ 6921.600023] usb-storage: device ignored
[ 6921.600023] usb 3-2: New USB device found, idVendor=19d2, idProduct=2000
[ 6921.600023] usb 3-2: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[ 6921.600023] usb 3-2: Product: ZTE WCDMA Technologies MSM
[ 6921.600023] usb 3-2: Manufacturer: ZTE,Incorporated
[ 6921.600023] usb 3-2: SerialNumber: P671A1MBTD010000
emil:/home/emil# clear
 
Old 10-25-2010, 10:43 AM   #4
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
Isolating lines of dmesg that contain "usb" is not that helpful
I would prefer the 10-15 last lines of demesg when you connect the stick in, but nevermind.

The scenario.
Most 3g modems are actually a modem and a flash drive on the same device, so as to get their drivers auto-installed when plugged in under windows. You may agree with me that this behaviour is stupid, but there is only one solution to it.

The solution.
Before plugging the device in, unload module usb-storage.
This is done by running
Code:
rmmod usb-storage
as root.
After that, plug the device in and it will be identified as a 3g modem and appear on network manager. There you can configure the relevant details for the 3g connection and connect to the internet with it.

Keep in mind that while the above module is unloaded, anything "storage related" that is connected on usb will not work.
 
Old 10-27-2010, 01:02 AM   #5
thushanga
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
still unable to get it worked

In my Dabain Lenny installation , i could not find network manager which i have seen in fedora. and your command is working perfectly but it s not detected , or i don't have an idea how to check it . So i am going to install Fedora then i will be able to do as you said. i ll try it and come. thanks in advance
 
Old 10-27-2010, 01:24 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Even if you don't speak Spanish, I think the following may help:

http://xh23.wordpress.com/2010/01/24...bian-gnulinux/

Cheers,

Evo2.
 
Old 10-27-2010, 01:25 AM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Even if you don't speak Spanish, I think the following may help:

http://xh23.wordpress.com/2010/01/24...bian-gnulinux/

Cheers,

Evo2.
 
Old 10-27-2010, 07:17 AM   #8
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
Package usb-modeswitch is only available on testing and unstable at the moment
 
Old 10-27-2010, 11:42 AM   #9
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
There is a script named sakis3g that does not need any other packages (apart from vwdial and pppd, but i think those are installed by default).


http://www.sakis3g.org/

I tried it and it really works (i think that my device is a zte too, but i use squeeze and nm can use it directly). I did use it for another 3g device that was not detected correctly by the kernel and i could connect to the internet with it after setting it up with sakis3g (after switching it, even network-manager had it listed and accesible).

Edit: use the full version. Look around for set-up instructions, they are straightforward. You probably will have to compile the embedded usb-modeswitch as lenny does not have it by default, but that operation is a simple command from within sakis3g.

Last edited by gradinaruvasile; 10-27-2010 at 11:48 AM.
 
1 members found this post helpful.
Old 10-28-2010, 02:43 AM   #10
thushanga
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I ll try on it

It seems like great option , i ll try it on Debian and see.

Is this problems only have with Dabian Linux, if i used fedora will i be able to overcome.

Thanks in advance
 
Old 10-31-2010, 09:54 AM   #11
thushanga
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up It is really working!

Dear All,

Thanks A lot. It is really working. sakis3g is a magic tool.

Following are the steps,

01) plug the USB device
02) unzip and run the sakis3g script with the following command

./sakis3g --interactive (In the root terminal)

03) Then select the internet provider(It is listed there)
04) Enter the user name and password (I entered null for both)
05) then it is connected.now you have internet.

Thanks for the help with the sakis3g web site and the other suggestions.
now i can enjoy Debian as i was hoping. wow wow wow !!!!!.

Emil.
 
Old 10-31-2010, 01:02 PM   #12
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
You welcome. Spread the word.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] Install HUAWEI E1552 HSDPA USB WIRELESS BROADBAND E antezi SUSE / openSUSE 7 07-22-2010 03:01 AM
Unable to Install ZTE AC8710 CDMA Hi Speed Modem on Fedora 10 x86. maheshkuruganti Linux - Hardware 7 10-09-2009 06:18 PM
How to Install ZTE HSDPA USB MODEM (Model : MF626) at ubuntu 8.10 Dimuthub Linux - Hardware 1 02-17-2009 05:13 PM
ZTE connector need to be install in fedora9 almofti Linux - Newbie 1 06-09-2008 08:38 AM
Installing ZTE MF620 HSDPA USB Modem melinda_sayang Linux - Hardware 0 10-18-2007 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:53 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration