LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-30-2014, 10:48 AM   #1
PahKoh
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Rep: Reputation: Disabled
Get Huawei dongle E3531 (tele2.ee) working with Debian 7


Hi!

It may have been due to my ignorance to abridge the code written for other dongles in other threats, but althoughI have tried different ways of getting the dongle working (including usb_modeswitch and udev config files) I have not yet managed it with Debian 7 while it works perfectly well with Win7.
I am looking forward to any advice you have.

Regards
PahKoh
 
Old 08-30-2014, 04:34 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,651

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by PahKoh View Post
Hi!
It may have been due to my ignorance to abridge the code written for other dongles in other threats, but althoughI have tried different ways of getting the dongle working (including usb_modeswitch and udev config files) I have not yet managed it with Debian 7 while it works perfectly well with Win7.
I am looking forward to any advice you have.
Did you try to look this up?? You would have seen the bug reports on this very issue with Debian/Ubuntu:
https://bugs.launchpad.net/ubuntu/+s...h/+bug/1308895
https://bugs.launchpad.net/ubuntu/+s...r/+bug/1330262

It seems to work with other versions of Linux, and there are a couple of possible routes in those threads. Since you don't tell us what you've tried, what the message(s) were, or details, there's not much we can guess at.
 
Old 09-01-2014, 02:24 PM   #3
PahKoh
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi TB0ne,

thanks for your instant reply (and sorry for my late one).
I generally followed the advice given in this thread: http://ubuntuforums.org/showthread.php?t=1246293&.

These are the results:
Code:
root@DeepThought# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 2232:1020  
Bus 001 Device 002: ID 12d1:15ca Huawei Technologies Co., Ltd.
root@DeepThought#
Code:
root@DeepThought# echo 'SUBSYSTEM=="usb", SYSFS{idProduct}=="15ca", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x15ca --type option-zerocd"' | sudo tee  /etc/udev/rules.d/45-huawei3531.rules
SUBSYSTEM=="usb", SYSFS{idProduct}=="15ca", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x15ca --type option-zerocd"
root@DeepThought#
Code:
root@DeepThought# dmesg
[...]
[  238.084405] usb 1-2: new high-speed USB device number 2 using ehci_hcd
[  238.219511] usb 1-2: New USB device found, idVendor=12d1, idProduct=15ca
[  238.219526] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  238.219535] usb 1-2: Product: HUAWEI Mobile
[  238.219542] usb 1-2: Manufacturer: HUAWEI
[  238.219549] usb 1-2: SerialNumber: FFFFFFFFFFFFFFFF
[  238.393044] Initializing USB Mass Storage driver...
[  238.393423] scsi6 : usb-storage 1-2:1.0
[  238.393707] usbcore: registered new interface driver usb-storage
[  238.393714] USB Mass Storage support registered.
[  239.407259] scsi 6:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[  239.408744] scsi 6:0:0:1: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[  239.414565] sr1: scsi-1 drive
[  239.415777] sr 6:0:0:0: Attached scsi CD-ROM sr1
[  239.416618] sr 6:0:0:0: Attached scsi generic sg2 type 5
[  239.419216] sd 6:0:0:1: Attached scsi generic sg3 type 0
[  239.421742] sd 6:0:0:1: [sdb] Attached SCSI removable disk
[  239.797301] ISO 9660 Extensions: Microsoft Joliet Level 1
[  239.804959] ISOFS: changing to secondary root
[  374.952822] WARNING! power/level is deprecated; use power/control instead
[  375.052539] usb 1-2: USB disconnect, device number 2
[  382.308248] usb 1-2: new high-speed USB device number 3 using ehci_hcd
[  382.451493] usb 1-2: New USB device found, idVendor=12d1, idProduct=15ca
[  382.451508] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  382.451518] usb 1-2: Product: HUAWEI Mobile
[  382.451525] usb 1-2: Manufacturer: HUAWEI
[  382.451531] usb 1-2: SerialNumber: FFFFFFFFFFFFFFFF
[  382.526045] scsi7 : usb-storage 1-2:1.0
[  383.538753] scsi 7:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[  383.539411] scsi 7:0:0:1: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[  383.546061] sr1: scsi-1 drive
[  383.547644] sr 7:0:0:0: Attached scsi CD-ROM sr1
[  383.548374] sr 7:0:0:0: Attached scsi generic sg2 type 5
[  383.551470] sd 7:0:0:1: Attached scsi generic sg3 type 0
[  383.555181] sd 7:0:0:1: [sdb] Attached SCSI removable disk
[  383.874357] ISO 9660 Extensions: Microsoft Joliet Level 1
[  383.874731] ISOFS: changing to secondary root
[...]
root@DeepThought#
Code:
root@DeepThought# dmesg | grep ttyU
root@DeepThought#
Code:
root@DeepThought# ls /dev/ttyU*
ls: cannot access /dev/ttyU*: No such file or directory
root@DeepThought#
Code:
root@DeepThought# wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
root@DeepThought#
Code:
root@DeepThought# /lib/udev/usb_modeswitch --vendor 0x12d1 --product 0x15ca --type option-zerocd
root@DeepThought#
Code:
root@DeepThought# ls /dev/ttyU*
ls: cannot access /dev/ttyU*: No such file or directory
root@DeepThought#
Additionally I tried installing the Backports-Kernel (3.14), but this did not seem to work either, although I did not try everything with it I tried with the stable one.

All this did not change that the dongle was shown as a CD-drive in Nautilus.

PahKoh
 
Old 09-01-2014, 03:17 PM   #4
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Maybe try:
Code:
modprobe usbserial vendor=0x12d1 product=0x15ca
 
Old 09-01-2014, 05:55 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,651

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by PahKoh View Post
Hi TB0ne,

thanks for your instant reply (and sorry for my late one).
I generally followed the advice given in this thread: http://ubuntuforums.org/showthread.php?t=1246293&.
Why would you do that? The last post in that thread was from FOUR YEARS AGO. Did you check the threads which have the CURRENT information in them???
Quote:
Additionally I tried installing the Backports-Kernel (3.14), but this did not seem to work either, although I did not try everything with it I tried with the stable one.
Right...because again, there are known bugs with the latest versions of Debian/Ubuntu.
 
Old 09-02-2014, 06:12 AM   #6
PahKoh
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by metaschima View Post
Maybe try:
Code:
modprobe usbserial vendor=0x12d1 product=0x15ca
Thanks for the advice, but it did not help either, no change at all.
Quote:
Originally Posted by TB0ne View Post
Why would you do that? The last post in that thread was from FOUR YEARS AGO. Did you check the threads which have the CURRENT information in them???
This was the one being nearest at my problem, most of the other ones I found did not really bother about getting the dongle recognised as such.
Quote:
Originally Posted by TB0ne View Post
Right...because again, there are known bugs with the latest versions of Debian/Ubuntu.
Does that mean there is no solution or is there already a patch?
 
Old 09-02-2014, 10:17 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,651

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by PahKoh View Post
This was the one being nearest at my problem, most of the other ones I found did not really bother about getting the dongle recognised as such.
...except for the thousands that come up when putting in your model and Debian 7, which is what you're asking about.
Quote:
Does that mean there is no solution or is there already a patch?
If you read the two links that I gave you, you would have seen several possible solutions, both combinations of different modprobe statements, a firmware flash onto the device, and suggestions about network manager. And that was just from the first two links that Google gave me.
 
Old 09-04-2014, 06:28 AM   #8
PahKoh
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi TB0ne,

thank you for your patience and explaining the same thing three times, thanks to you I eventually got it working.
Not that I want to annoy you with another stupid question you have already answered, but does anyone know how I can make the software used to recharge the prepaid card recognise the dongle (it works with WINE, but does not recognise the dongle as being connected)? Or is there an other way for this with Linux?
 
Old 09-04-2014, 11:49 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
tricky.
maybe the software itself provides some hints why it can't do what it needs to do?
there's probably no way to repair this, because it relies on windows and because it's closed source (i guess).
is it possible to reload the card without the software? basically, i guess, it makes a phonecall somewhere and enters some pin?
you can also try wine forums: https://forum.winehq.org/
 
  


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
Running Huawei E3531 for sending sms from bash astros Linux - Hardware 1 07-09-2014 08:39 AM
Unable to configure Huawei 3G E3531 Datacard in Ubuntu 14.04 chiller Linux - Hardware 9 06-04-2014 09:16 AM
how to use Huawei E153 3g dongle in FC13 hasitha9 Linux - Hardware 1 05-08-2011 02:29 PM
Huawei E 1550 3G broadband dongle on Three UK in Slackware 13 How to vdemuth LinuxAnswers Discussion 1 06-15-2010 01:51 PM
huawei e1752 mobile broadband dongle edgey8843 Linux - Hardware 1 02-23-2010 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:22 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