Vodaphone Huawei K3520 wireless broadband driver and configuring

Asked by Tom

Hi

I'm having real trouble trying to get this device working in Jaunty 9.04. With 8.04 and 8.10 it was fine but since then Vodaphone seem to have deleted their linux drivers off their website!! Shockingly i have also lost the download on one of my drives.

I also don't quite understand how to make sure i get all the updates that the laptop system will need onto a cd to make deployment easier. At the moment each machine has to separately download all it's own updates and that's beginning to be a bit of a pain, especially when laptops have limited download access and 'on-time' (due to batteries).

I'm back on the boat now so can only access the internet through Windows :( I have WvDial bt don't know how to configure it at all. I'm a real noob at this

Thanks in advance, regards from
Tom

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#1

Hi Tom,

Please follow the instructions in the following guide:

https://help.ubuntu.com/community/DialupModemHowto/Huawei

The vodafone-mobile-connect-card-driver-for-linux program even works for my 3G modem, which is not a Huawei modem....

You can download the most recent versions of vodafone-mobile-connect here:

https://forge.betavine.net/frs/?group_id=12

Regards,

Mark

Revision history for this message
Tom (tom6) said :
#2

Hi Mark :) Thanks again, hopefully i can get further this time even tho downloading stuff and getting updates is very tough because there's no other internet connecton for this machine - using Windows to download stuff is unpleasant ;)

I have tried the vodafone-mobile-connect-card-driver-for-linux program but it just gives error messages about either Gtk or some library being too old! I'm trying to find out how to use an "offline repository" which might help, if i could understand it. lol

Also i saved the Huawei howto you've linked to but i got this for "ls -la /dev/ttyU*"
user@Rosy:~$ ls -la /dev/ttyU*
crw-rw---- 1 root dialout 188, 0 2009-06-06 16:33 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 2009-06-06 16:33 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 2009-06-06 16:33 /dev/ttyUSB2
user@Rosy:~$

In a general linux forum, not Ubuntu, i was told I would need
/etc/sysconfig/network-scripts/chat-ppp0
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-ppp0
/etc/sysconfig/network
/etc/ppp/peers/ppp0
/etc/ifplugd/ifplugd.conf
/etc/resolv.conf
if i was trying this in Mandriva but I couldn't find
/etc/sysconfig/
nor ppp0 in ~/peers, nor ifplugd.conf in ~/ifplugd.conf, nor resolv.conf in /etc

The non-ubuntu forum said
“Resolv.conf has the dns addresses, and will attempt to get these from the modem” and also said that the username and password in wvdial.conf are specific to the program and not to the dongle, wich is a elief because the main user keeps forgetting their passwords! (Windows kindly remembers passwords to help make it even less secure, this is seen as an advantage!)

Errr, i'm trying to help but am a bit clueless about this really techi stuff :(
Thanks for continuing to try to help me!
Regards from
Tom :)

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Hi Tom,

Please send us the exact output of the following commands:

wget https://forge.betavine.net/frs/download.php/503/vodafone-mobile-connect_svn20090502_all.deb
sudo dpkg -i vodafone-mobile-connect_svn20090502_all.deb

Regards,

Mark

Revision history for this message
Tom (tom6) said :
#4

Hi Mark, i got

user@Rosy:~$ wget https://forge.betavine.net/frs/download.php/503/vodafone-mobile-connect_svn20090502_all.deb

--2009-06-07 10:02:39-- https://forge.betavine.net/frs/download.php/503/vodafone-mobile-connect_svn20090502_all.deb

Resolving forge.betavine.net... failed: Name or service not known.

wget: unable to resolve host address `forge.betavine.net'

user@Rosy:~$ sudo dpkg -i vodafone-mobile-connect_svn20090502_all.deb

[sudo] password for user:

dpkg: error processing vodafone-mobile-connect_svn20090502_all.deb (--install):

 cannot access archive: No such file or directory

Errors were encountered while processing:

 vodafone-mobile-connect_svn20090502_all.deb

user@Rosy:~$

I think the 2nd command didn't work because the first one didn't either. I think the first one didn't work because i have no internet connection here in the boat except when i use Windows. Vodafone let me have the drivers and gave a neat package for sorting the dongle out for Windows but seem to think it happens by magic in linux.

I have been able to download a package called "vodafone-mobile-connect_2.00.00-1_all.deb". If this is the right package where should I move it before running it. I know I could probably run it where it is but how could I make sure the files go to the right places? I can't remember how, but I managed to access the Ubuntu repositories last night. Hopefully, i will remember how or find a handy link I saved somewhere.

Thanks and regards from
Tom

Revision history for this message
Tom (tom6) said :
#5

Ahh, i found this site for getting packages via Windows
http://packages.ubuntu.com/jaunty/allpackages
but trying to sort the dependencies is tricky

Revision history for this message
Tom (tom6) said :
#6

I found some instructions for all this but it really wanted a working connection. However i managed to get
usb-modeswitch
vodafone-mobile-connect
downloaded. While the modeswitch did manage to stop the device from automatically trying (and failing) to install Windows stuff into linux the other one gave me some odd error messages. I think the one at the end might be the major blocker for me getting this working at the moment but the gtk ones worried me a bit has my upgrade to 9.04 gone very wonky? Err, i got nothing without sudo, with sudo I got ...

user@Rosy:~$ sudo vodafone-mobile-connect-card-driver-for-linux
[sudo] password for user:
/opt/vmc/lib/python/site-packages/twisted/persisted/sob.py:13: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import os, md5, sys
/opt/vmc/lib/python/site-packages/twisted/web/microdom.py:157: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert (oldChild.parentNode is self,
/opt/vmc/lib/python/site-packages/twisted/trial/unittest.py:13: DeprecationWarning: the sets module is deprecated
  import os, warnings, sys, tempfile, sets, gc
/opt/vmc/lib/python/site-packages/twisted/python/filepath.py:10: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
Traceback (most recent call last):
  File "/opt/vmc/lib/python/site-packages/twisted/python/usage.py", line 333, in <lambda>
    fn = lambda name, value, m=method: m(value)
  File "/opt/vmc/lib/python/site-packages/twisted/application/app.py", line 276, in opt_reactor
    installReactor(shortName)
  File "/opt/vmc/lib/python/site-packages/twisted/application/reactors.py", line 78, in installReactor
    for installer in getReactorTypes():
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 227, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 178, in getCache
    provider = namedAny(module.__name__ + '.' + moduleName)
  File "/opt/vmc/lib/python/site-packages/twisted/python/reflect.py", line 357, in namedAny
    topLevelPackage = __import__(trialname)
  File "/usr/lib/python2.6/dist-packages/twisted/plugins/cred_memory.py", line 13, in <module>
    from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
Traceback (most recent call last):
  File "/opt/vmc/lib/python/site-packages/twisted/python/usage.py", line 333, in <lambda>
    fn = lambda name, value, m=method: m(value)
  File "/opt/vmc/lib/python/site-packages/twisted/application/app.py", line 276, in opt_reactor
    installReactor(shortName)
  File "/opt/vmc/lib/python/site-packages/twisted/application/reactors.py", line 78, in installReactor
    for installer in getReactorTypes():
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 227, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 178, in getCache
    provider = namedAny(module.__name__ + '.' + moduleName)
  File "/opt/vmc/lib/python/site-packages/twisted/python/reflect.py", line 357, in namedAny
    topLevelPackage = __import__(trialname)
  File "/usr/lib/python2.6/dist-packages/twisted/plugins/cred_file.py", line 16, in <module>
    from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
Traceback (most recent call last):
  File "/opt/vmc/lib/python/site-packages/twisted/python/usage.py", line 333, in <lambda>
    fn = lambda name, value, m=method: m(value)
  File "/opt/vmc/lib/python/site-packages/twisted/application/app.py", line 276, in opt_reactor
    installReactor(shortName)
  File "/opt/vmc/lib/python/site-packages/twisted/application/reactors.py", line 78, in installReactor
    for installer in getReactorTypes():
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 227, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 178, in getCache
    provider = namedAny(module.__name__ + '.' + moduleName)
  File "/opt/vmc/lib/python/site-packages/twisted/python/reflect.py", line 357, in namedAny
    topLevelPackage = __import__(trialname)
  File "/usr/lib/python2.6/dist-packages/twisted/plugins/cred_unix.py", line 13, in <module>
    from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
Traceback (most recent call last):
  File "/opt/vmc/lib/python/site-packages/twisted/python/usage.py", line 333, in <lambda>
    fn = lambda name, value, m=method: m(value)
  File "/opt/vmc/lib/python/site-packages/twisted/application/app.py", line 276, in opt_reactor
    installReactor(shortName)
  File "/opt/vmc/lib/python/site-packages/twisted/application/reactors.py", line 78, in installReactor
    for installer in getReactorTypes():
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 227, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 178, in getCache
    provider = namedAny(module.__name__ + '.' + moduleName)
  File "/opt/vmc/lib/python/site-packages/twisted/python/reflect.py", line 357, in namedAny
    topLevelPackage = __import__(trialname)
  File "/usr/lib/python2.6/dist-packages/twisted/plugins/cred_anonymous.py", line 14, in <module>
    from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
/opt/vmc/lib/python/site-packages/twisted/persisted/sob.py:13: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import os, md5, sys
Traceback (most recent call last):
  File "/opt/vmc/lib/python/site-packages/twisted/python/usage.py", line 333, in <lambda>
    fn = lambda name, value, m=method: m(value)
  File "/opt/vmc/lib/python/site-packages/twisted/application/app.py", line 276, in opt_reactor
    installReactor(shortName)
  File "/opt/vmc/lib/python/site-packages/twisted/application/reactors.py", line 78, in installReactor
    for installer in getReactorTypes():
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 227, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 178, in getCache
    provider = namedAny(module.__name__ + '.' + moduleName)
  File "/opt/vmc/lib/python/site-packages/twisted/python/reflect.py", line 357, in namedAny
    topLevelPackage = __import__(trialname)
  File "/usr/lib/python2.6/dist-packages/twisted/plugins/cred_memory.py", line 13, in <module>
    from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
Traceback (most recent call last):
  File "/opt/vmc/lib/python/site-packages/twisted/python/usage.py", line 333, in <lambda>
    fn = lambda name, value, m=method: m(value)
  File "/opt/vmc/lib/python/site-packages/twisted/application/app.py", line 276, in opt_reactor
    installReactor(shortName)
  File "/opt/vmc/lib/python/site-packages/twisted/application/reactors.py", line 78, in installReactor
    for installer in getReactorTypes():
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 227, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 178, in getCache
    provider = namedAny(module.__name__ + '.' + moduleName)
  File "/opt/vmc/lib/python/site-packages/twisted/python/reflect.py", line 357, in namedAny
    topLevelPackage = __import__(trialname)
  File "/usr/lib/python2.6/dist-packages/twisted/plugins/cred_file.py", line 16, in <module>
    from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
Traceback (most recent call last):
  File "/opt/vmc/lib/python/site-packages/twisted/python/usage.py", line 333, in <lambda>
    fn = lambda name, value, m=method: m(value)
  File "/opt/vmc/lib/python/site-packages/twisted/application/app.py", line 276, in opt_reactor
    installReactor(shortName)
  File "/opt/vmc/lib/python/site-packages/twisted/application/reactors.py", line 78, in installReactor
    for installer in getReactorTypes():
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 227, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 178, in getCache
    provider = namedAny(module.__name__ + '.' + moduleName)
  File "/opt/vmc/lib/python/site-packages/twisted/python/reflect.py", line 357, in namedAny
    topLevelPackage = __import__(trialname)
  File "/usr/lib/python2.6/dist-packages/twisted/plugins/cred_unix.py", line 13, in <module>
    from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
Traceback (most recent call last):
  File "/opt/vmc/lib/python/site-packages/twisted/python/usage.py", line 333, in <lambda>
    fn = lambda name, value, m=method: m(value)
  File "/opt/vmc/lib/python/site-packages/twisted/application/app.py", line 276, in opt_reactor
    installReactor(shortName)
  File "/opt/vmc/lib/python/site-packages/twisted/application/reactors.py", line 78, in installReactor
    for installer in getReactorTypes():
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 227, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/opt/vmc/lib/python/site-packages/twisted/plugin.py", line 178, in getCache
    provider = namedAny(module.__name__ + '.' + moduleName)
  File "/opt/vmc/lib/python/site-packages/twisted/python/reflect.py", line 357, in namedAny
    topLevelPackage = __import__(trialname)
  File "/usr/lib/python2.6/dist-packages/twisted/plugins/cred_anonymous.py", line 14, in <module>
    from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 2: IOR file '/tmp/gconfd-root/lock/ior' not opened successfully, no gconfd located: No such file or directory)
Fontconfig warning: "/etc/fonts/conf.d/11-lcd-filter-lcddefault.conf", line 9: invalid constant used : lcddefault
Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : lcdlegacy

and then 2 popup boxes, the error one said

"Your device "Huawei E660A" is not properly registered with the kernel. Vodafone Mobile Connect Card driver for Linux needs at least two serial ports to communicate with your Huawei E660A. The program includes a set of udev rules plus some binaries that make sure that your device is always recognised properly. If you've installed from source, then make sure to copy the relevant files in the contrib dir"

The other looked like a 'proper vodafone' box but vanished when I clicked Ok on the error one. I wasn't given a splitter lead with the dongle and don't have one with me this time. Aaaargh, looks like i will have to make another journey here!

Thanks so far
Good luck and regards from
Tom :(

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#7

Hi Tom,

Try doing a fresh install of Ubuntu 9.04

Then follow the instructions here:

https://forge.betavine.net/forum/message.php?msg_id=1708

If that does not work either, I am out of idea's and cannot help you further.

Regards,

Mark

Revision history for this message
Tom (tom6) said :
#8

Thanks Mark Rijckenberg, that solved my question.

Revision history for this message
Tom (tom6) said :
#9

I still haven't been able to solve this problem but that's mainly because of the inflexibility of the systems on the boat. It looks like the first answer gave me plenty to read but i couldn't read it all on the boat because of the various restrictions there. Now i'm at home i can't try any of the things out to see if they make a difference but might be able to prepare a list of things to try - after doing a full reinstall which is likely to take 2 or 3 days at the 1 hour a day i'm allowed to use the machine there! I've got to try soldering in electrical systems to try to get a bit more flexibility there because the restrictions there are untenable.

Sorry if i was rude, abrupt or unhelpful
Thanks and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#10

Lets hope this works in 10.04. I got to remind myself to try the back-up dongle on 10.04 soon

Regards from
Tom :)