Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old June 25th, 2009   #21
farbird
A Carafe of Ubuntu
 
Join Date: Sep 2006
Beans: 93
Re: Huawei E1550 settings

btw, this is posted in ubuntu using my e1550..

rebooting again to test if it works later.
farbird is offline   Reply With Quote
Old June 25th, 2009   #22
farbird
A Carafe of Ubuntu
 
Join Date: Sep 2006
Beans: 93
Re: Huawei E1550 settings

cool... it works after reboot and I do not have to blacklist usb-storage and I do not have to modprobe usbserial at all.

all that is needed now is
sudo usb_modeswitch

i feel proud of myself!
farbird is offline   Reply With Quote
Old June 27th, 2009   #23
farbird
A Carafe of Ubuntu
 
Join Date: Sep 2006
Beans: 93
Re: Huawei E1550 settings

use this thread to ask me questions if u need help with the e1550 or usb_modeswitch.

I will try to come out with a step by step guide by today..
farbird is offline   Reply With Quote
Old June 29th, 2009   #24
farbird
A Carafe of Ubuntu
 
Join Date: Sep 2006
Beans: 93
Re: Huawei E1550 settings

how to install huawei e1550 in ubuntu jaunty 9.04..

Downloaded the modeswitch file into your desktop

run "terminal"
"cd ~/Desktop"
"sudo mv usb_modeswitch-1.0.2.tar.bz2 /usr/src"
"cd /usr/src"
"sudo tar -xvf usb_modeswitch-1.0.2.tar.bz2"
"cd usb_modeswitch-1.0.2.tar.bz2"
"sudo make clean"
"sudo make install"

that will get usbmodeswitch installed.

next boot into windows
download the sniffusb exe

install in xp.
run the sniffusb.
plug in your 12d1:1446 stick

now in the sniffusb screen, click on the "list device not present"
you shd see 3-4 devices with the id 12d1:1446

select them all and click on "install" under "filter control" on rightside.

u shd see in the main top window that the 3-4 devices with 12d1:1446 have the "filter installed" beside their id.

now, unplug the huawei usb and plug it back in after 5seconds.
if u do that, u shd see the log file size increased.

now view the log and save the logfile into a thumbdrive.

now we restart XP and boot into ubuntu. remove the stick before ubuntu starts booting.

once ubuntu starts. plug in the thumb drive, copy the log file into your desktop.

then run terminal

"cd ~/Desktop"
"sudo gedit snifflog.log" or whatever filename u saved before

once gedit opens up on the gnome desktop, look for this by Control-F
"TransferBufferMDL"

there should be about 8 instances of it within the log file.
the one critical is the one that appears 4 rows after the line
Code:
PipeHandle           = 88bced1c [endpoint 0x00000005]
  TransferFlags        = 00000000 (USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)"
important here is the "out".
And there must be 2 long row of numbers below the transfermdl line which looks like this
Code:
   00000000: 55 53 42 43 90 4e d6 8a 24 00 00 00 80 00 08 ff
   00000010: 02 44 45 56 43 48 47 00 00 00 00 00 00 00 00
ignore the numbers before the colon and delete the spaces between the hex numbers. Join the 2 lines up so that it shows
Code:
55534243904ed68a24000000800008ff024445564348470000000000000000
take note, this is just an example

you will also need the "pipehandle" output which will show the endpoint hex, in this example, its endpoint 0x00000005.

now with these details, you can then create a usbmodeswitch config file

open another terminal
"sudo gedit /etc/usb_modeswitch.conf"
clear away all the contents of this file.
put in these lines instead
Code:
DefaultVendor = 0x12d1
DefaultProduct = 0x1446

MessageEndpoint = 0x05
MessageContent = "55534243904ed68a24000000800008ff024445564348470000000000000000"
make sure you use your own endpoint and messengecontent here n not directly clone the example above.

now save the file in gedit.

next plug in the huawei usb stick, run terminal

"sudo usb_modeswitch"

u shd then be able to connect after u configure the network settings of your isp [ ie 3g access point name etc ]

there is also a way to automate it.

run terminal again
"sudo gedit /etc/udev/rules.d/45-huawei1660.rules"

gedit shd open an empty file
paste this code into it
Code:
SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"
since your vendor and product id is sames mine, u can clone the code above directly.
However, if u are following this guide to get your own huawei device, not 12d1:1446, working, u shd input the original vendor,product id [ ie the one shown in lsusb before switching]

enjoy

This works for me in Singapore using Starhub.
farbird is offline   Reply With Quote
Old July 15th, 2009   #25
Macchi
Gee! These Aren't Roasted!
 
Macchi's Avatar
 
Join Date: Feb 2006
Location: Stockholm, Sweden
Beans: 210
Ubuntu 9.10 Karmic Koala
Re: Huawei E1550 settings

I have a simpler workaround for the Huawei E1550 in three steps, using software from standard repositories and the network manager.

This uses udev-extras and modem-modeswitch (that is similar but NOT the same as usb-modeswitch!)

Check here: http://ubuntuforums.org/showpost.php...63&postcount=3
__________________
Ciao, Cheers,
/Macchi
Macchi is offline   Reply With Quote
Old August 8th, 2009   #26
iksu
First Cup of Ubuntu
 
Join Date: Sep 2007
Beans: 6
Re: Huawei E1550 settings

Huawei E1550 mobile broadband modem on 3 (three) network in the UK works using this method (for the sake of googlers!)

Within seconds of running usb_modeswitch as described by farbird, Ubuntu brought up the mobile broadband wizard automatically and all i had to do was to choose the service provider. Thanks a lot guys for making this work.

Note, some of the posts mentioned adding target vendor and product ids to the usb_modeswitch.conf file. This is not mandatory and at least in my case made usb_modeswitch think that the switching had failed (although it had been successful).
iksu is offline   Reply With Quote
Old August 10th, 2009   #27
bobby_d
Spilled the Beans
 
Join Date: Jan 2008
Beans: 13
Re: Huawei E1550 settings

Even with Macchi's method, I had some problems with finding the correct serial port to use with wvdial - the procedure that worked for me is listed here:

Bug 591047 - Huawei E1550 3G USB modem (HSDPA USB Stick) cannot connect (NetworkManager)
http://bugzilla.gnome.org/show_bug.cgi?id=591047
bobby_d is offline   Reply With Quote
Old September 7th, 2009   #28
seuzo
5 Cups of Ubuntu
 
Join Date: Aug 2007
Beans: 24
Ubuntu 9.04 Jaunty Jackalope
Re: Huawei E1550 settings

Quote:
Originally Posted by Macchi View Post
I have a simpler workaround for the Huawei E1550 in three steps, using software from standard repositories and the network manager.

This uses udev-extras and modem-modeswitch (that is similar but NOT the same as usb-modeswitch!)

Check here: http://ubuntuforums.org/showpost.php...63&postcount=3
Hi,

wow nice i just type two command and it works! thanx.
seuzo is offline   Reply With Quote
Old September 22nd, 2009   #29
jacobdongon
First Cup of Ubuntu
 
Join Date: Sep 2009
Beans: 2
Re: Huawei E1550 settings

Honestly, i am not as tech savvy as the other people here, but I noticed when I reinstalled Ubuntu in my computer out of desperation I found out that Ubuntu recognized my modem (Huawei e1550) provided by sun cellular here in the Philippines. I hate windows and my computer crashes a lot so I always have a back up and I use Ubuntu ever since then. I just noticed when Ubuntu starts to go online it pops a window called "Update Manager", the first batch was of updates was ok it didn't affect the modem whatsoever even after rebooting it several times, then after 5 hours, a new update came in and I downloaded it, right after rebooting the modem stopped working. Thought it was over but if you try to check the grub loader, everytime the system gets updated the older version stays at the bottom of the list, tried loading that and my modem still works.

If you want to try and reformat your computer and plug the modem while the system is installing, Ubuntu will automatically recognizes it. It worked for me with no problems though I'm not sure if it works with the downloaded version.

My Ubuntu was mailed to me by Linux and the version is:

Kernel Linux 2.6.28-11-generic it upgraded to -15 that didn't work.
jacobdongon is offline   Reply With Quote
Old September 23rd, 2009   #30
chkhurum
First Cup of Ubuntu
 
Join Date: Aug 2009
Beans: 12
Re: Huawei E1550 settings

Quote:
Originally Posted by Macchi View Post
I have a simpler workaround for the Huawei E1550 in three steps, using software from standard repositories and the network manager.

This uses udev-extras and modem-modeswitch (that is similar but NOT the same as usb-modeswitch!)

Check here: http://ubuntuforums.org/showpost.php...63&postcount=3

Note: This method does not work on Ubuntu 8.0.4
chkhurum is offline   Reply With Quote

Bookmarks

Tags
e1550, huawei, starhub

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:04 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry