LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-03-2010, 01:05 PM   #1
coexistance
Member
 
Registered: Dec 2010
Location: Earth planet
Distribution: Debian GNU/Linux 6 (Squeeze) - AMD64
Posts: 50

Rep: Reputation: 9
USB Mobile broadband Huawei e1750 on Debian 5 LXDE 32-bits


Subject
USB mobile broadband Huawei e1750 on Debian 5 LXDE 32-bits working
Please, if you sir/miss don't want to read about my introduction and experiences, jump to Problem section, thanks for the attention.

Introduction

Hello everyone!

I was used to comercial OS and changed to the FOSS OS,
*kinda* recently.

Also I only recently learned the basics of the shell and some administratives command tasks.

I'm very grateful for everyone that created this wonderful
Quote:
Free/Libre
world and I want to help improve it(when ready).

I have about 1.5 years of experience with Ubuntu,
but have also tried Slackware and Trisquel GNU/Linux(my previous OS).
But now I want to change to Debian GNU/Linux.
What I have done

Backup throw remastersys, Trisquel GNU/Linux to my external drive,
which recognizes my mobile broadband and was used to download,
usbmodeswitch(and all the dependencies), sakis3G and wvdial.

Installed Debian GNU/Linux 5.0.7 32-bits LXDE/XFCE CD
(LXDE desktop choice).

Topics viewed:
http://www.linuxquestions.org/questi...driver-834185/
http://www.linuxquestions.org/questi...band-e-819192/
http://www.linuxquestions.org/questi...dongle-790954/
http://www.linuxquestions.org/questi...-modem-780533/
http://www.linuxquestions.org/questi...in-f12-775317/
Mounted the external drive.
So that I can install offline the missing packages.
I have viewed "man apt" and "man apt-get" but could not find anything saying it.

A thing that may work(not sure), is import a module from the Ubuntu 10.10 kernel (2.6.35.7), which have native support,
but I don't know if works.

I'm not trying to decline other options just pointing what I searched.
Problem

Do not know how to install packages offline throw the shell.
Only know throw Gdebi which isn't avaiable,
need it to install usb-modeswitch.


If anyone can point something(documentation, a small program without dependencies, is apreciated).

Making the device being recognized I think,
I can do it. (Done it on my previous system).
All I have to do is run the dmesg -c (wait 20 seconds),
conect device, lsusb, regist the informating and so on...

The only thing I need after it,
is know how to configure it with pppd or wvdial.
Since I don't have network manager.
But that's next...


Just to point out I'm using my Trisquel GNU/linux for download packages and view this site (I have to reboot the pc to boot on Debian).
Many thanks, and sorry if I missed something out.
 
Old 12-05-2010, 04:15 AM   #2
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 497

Rep: Reputation: 112Reputation: 112
If you do have the package in question (usb-modeswitch-whatever.deb) stored, all you have to do to install it is
Code:
dpkg -i usb-modeswich-whatever.deb
as root, but it won't take care of dependencies.

On the other hand, you can unload the modume "usb-storage", so that your stick won't be identified as a flash drive, and plug the stick in afterwards.
 
1 members found this post helpful.
Old 12-05-2010, 05:26 AM   #3
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 516

Rep: Reputation: 102Reputation: 102
Go to this site:

www.sakis3g.org

Download the full version (a single 200 kb or so file), copy it to your lenny desktop, double click on it and click connect (first make sure you plugged the broadband device in).
See if that works.
 
Old 12-05-2010, 05:07 PM   #4
coexistance
Member
 
Registered: Dec 2010
Location: Earth planet
Distribution: Debian GNU/Linux 6 (Squeeze) - AMD64
Posts: 50

Original Poster
Rep: Reputation: 9
Thank you very much for the posts jim_p and gradinaruvasile.

Just some doubts
jim_p
So... Dpkg doesn't have dependencies support.
That means, if I install usb-modeswitch first,
without installing libusb and the data first(the dependencies) for mistake,
will it corrupt the package recognation?

gradinaruvasile
Thanks a lot for the link, it seems to support my device,
I will try it and will post if all went right.

Thanks again.
 
Old 12-05-2010, 07:23 PM   #5
coexistance
Member
 
Registered: Dec 2010
Location: Earth planet
Distribution: Debian GNU/Linux 6 (Squeeze) - AMD64
Posts: 50

Original Poster
Rep: Reputation: 9
*Update*

DPKG
I have used the dpkg command as sugested by jim_p(thanks jim).

It worked very well for install the more recent tcl package(dependency).
Libusb, also gone well.

And, forget about the earlier questions, it seems that dpkg,
also gives the information of the dependencies.

But usb-modeswitch doesn't install...
It seems the udev version used by debian 5 isn't updated enought to be used(version +0.140 required).
Debian 5 as udev version 0.125-7.

Sakis3G
I have indeed executed the sakis3G script,
but without success.
It seems that my installation doesn't have bunzip2 (needed for decompression).
But after a search on sakis3G website and saw the instructions...
Seems that I misunderstood something.

I will download the bunzip2 program for my architure (also needs libbz2, just for precaution.
 
Old 12-06-2010, 03:31 AM   #6
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 497

Rep: Reputation: 112Reputation: 112
So... you either move to debian testing and get an internet connection, even wired, because downloading all dependecies beforehand will be a small nightmare, or do the rmmod suggestion so as to "force" its identification as a modem.
 
Old 12-06-2010, 11:13 AM   #7
coexistance
Member
 
Registered: Dec 2010
Location: Earth planet
Distribution: Debian GNU/Linux 6 (Squeeze) - AMD64
Posts: 50

Original Poster
Rep: Reputation: 9
RE

Alright, thanks for the support.

jim_p
I will probably give up of it.
Downloading dependencies is really boring (altough debian package search is very informative).

May I will give Debian 6 a chance.

*Sakis3G*
I indeed misunderstood.
All is needed is to install the pppd and chat package (and some dependencies),,,

Sadly, it didn't worked, tough the APN and device seems to be recognized (but as other model), it doesn't connect.

Again, thanks for the help.
 
Old 12-06-2010, 01:05 PM   #8
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 516

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by coexistance View Post
RE

Alright, thanks for the support.

jim_p
I will probably give up of it.
Downloading dependencies is really boring (altough debian package search is very informative).

May I will give Debian 6 a chance.

*Sakis3G*
I indeed misunderstood.
All is needed is to install the pppd and chat package (and some dependencies),,,

Sadly, it didn't worked, tough the APN and device seems to be recognized (but as other model), it doesn't connect.

Again, thanks for the help.
Just a quick question:

Did Sakis3g ask for a username and password? Because if it did, you must type something (doesnt matter what) in those 2 fields else it will quit.
 
1 members found this post helpful.
Old 12-06-2010, 03:11 PM   #9
coexistance
Member
 
Registered: Dec 2010
Location: Earth planet
Distribution: Debian GNU/Linux 6 (Squeeze) - AMD64
Posts: 50

Original Poster
Rep: Reputation: 9
gradinaruvasile
No, it didn't.
Is it suppose to ask for an username and password?

I will describe what I have done...

# First of all I have logged in as ROOT.
# Then, I have cleared the messages of the kernel.
Code:
dmesg -c
# Waited 20 seconds and plugged the modem.
# Get the information of the device which gives the Huawei e1552 model...(but e1750 & e1552 are identical)
Code:
lsusb
# Executed sakis3g (/usr/bin/sakis3G_i386) with Huawei device parameter and default vendor and product.
Code:
sakis3g -H -v 0x12d1 -p 0x1446
# The device recognition ends and says is an Huawei device, but gives no serial number.
# Then I execute sakis3G in order to connect the internet.
Code:
sakis3g connect
# After executed I notice the model changes for Huawei e620 and it asks me to put the provider I want.
Code:
sakis3g connect apn="kangurufixo"
# After all that, well it just ends with a message saying "Failed"...
Well, that's it and thanks for the patiente!
 
Old 12-07-2010, 02:52 AM   #10
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 516

Rep: Reputation: 102Reputation: 102
Launch it with the --console --interactive switches (you can add these to your already used switches, but first try it without those). Select set up+pin unlock+etc from the menu first.
Then try connecting. If it has PIN number set, you should specify it (it has to be 4 characters!) - you ca create a ~/.3gpin file (check the manual) that contains your pin number. When asked for password and user, enter anything (that is if you dont have user and password).
 
Old 12-07-2010, 08:48 AM   #11
coexistance
Member
 
Registered: Dec 2010
Location: Earth planet
Distribution: Debian GNU/Linux 6 (Squeeze) - AMD64
Posts: 50

Original Poster
Rep: Reputation: 9
gradinaruvasile
I will try it, read with more attention the manual and post if worked.
Thanks for the tip.
 
Old 12-08-2010, 10:18 AM   #12
coexistance
Member
 
Registered: Dec 2010
Location: Earth planet
Distribution: Debian GNU/Linux 6 (Squeeze) - AMD64
Posts: 50

Original Poster
Rep: Reputation: 9
Thumbs up Working!

*WORKING!!*

I'm happy to announce that this post was finally made with my debian 5!

And all thanks to Jim_p and gradinaruvasile (really thanks a ton!).

After 30 minutes reading the manual pages of sakis3g and sakis3g.conf,
I have finally manage to make it work!

Is easy after all.

What was added
All was needed to add was the username and password (as gradinarusavile pointed)
So in addition to the Huawei parameter, vendor, product and provider.
Is needed to give the User and Password (if not set, can be any).

Code:
sakis3g -H -v 0x12d1 -p 0x1001 APN="kangurufixo" APN_USER="name_here" APN_PASS="password_here_four_numbers_only"
And that's it!

I created a script to don't have to remember all this on /usr/bin and made it executable chmod u+x,
but is impressive how debian 5 even after some years can still detect newer hardware.

Thanks
I already thanked,
but I want to thank again to jim_p and gradinaruvasile,
for the existence of sakis3G, linux questions.org, debian and all their associatives.

In one day this thread will be treated as Resolved.
 
Old 12-08-2010, 02:33 PM   #13
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 516

Rep: Reputation: 102Reputation: 102
Well good to hear it.

Really nice this sakis3g tool is...
 
  


Reply

Tags
broadband, debian5, linux, network connectivity


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 Huawei e1750 usb modem driver kabugima2 Linux - Hardware 9 05-08-2012 09:43 PM
[SOLVED] Install HUAWEI E1552 HSDPA USB WIRELESS BROADBAND E antezi Suse/Novell 7 07-22-2010 04:01 AM
huawei e1752 mobile broadband dongle edgey8843 Linux - Hardware 1 02-23-2010 06:01 AM
udev-devel in slackware? problem with huawei e1750 3g modem... WiseDraco Slackware 9 01-08-2010 02:41 PM
mobile broadband huawei E1550 in f12 RudraB Linux - Networking 0 12-13-2009 07:32 AM


All times are GMT -5. The time now is 05:26 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration