vodafone mobile connect card driver

Discussion in 'HOWTO-Related Questions' started by Johnbb, Jan 30, 2008.

  1. Johnbb

    Johnbb New Member

    As I newcomer to linux ( am an old time dos & windows user ) I would appreciate answers to following quetions re above driver;

    1 To what directory do I download the driver prior to unpacking/etc
    2 Do I use dpkg with --unpack and then --configure or do I just use -i ie install in one step?
    3 To what directory do I install this package?

    I have read the HowTo for above I have Ubuntu 7.1 and use a hauwei e220 serial modem in XP

    I have read up on Debian basics, dpkg and find myself confused when I try the examples given but don't get the same results.

    many thanks
    John
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    It doesn't matter. You can use /tmp or your home directory, for example.

    You just run
    Code:
    dpkg -i [I]package.deb[/I]
    dpkg does everything for you so you don't have to worry about the directory. :)
     
  3. Johnbb

    Johnbb New Member

    further help sought on card driver problem

    thank you for your answer Falko I tried this and got the message shown below. I looked in the Ubuntu packge add/remove for python and was informed that python is present. so what gives? what do I need to download if anything and from where?

    john@johns-laptop:~$ sudo dpkg -i /home/john/Documents/vodafone-mobile-connect-card-driver-for-linux_1.0_gutsy_i386.deb
    Selecting previously deselected package vodafone-mobile-connect-card-driver-for-linux.
    (Reading database ... 152816 files and directories currently installed.)
    Unpacking vodafone-mobile-connect-card-driver-for-linux (from .../vodafone-mobile-connect-card-driver-for-linux_1.0_gutsy_i386.deb) ...
    dpkg: dependency problems prevent configuration of vodafone-mobile-connect-card-driver-for-linux:
    vodafone-mobile-connect-card-driver-for-linux depends on python-twisted; however:
    Package python-twisted is not installed.
    vodafone-mobile-connect-card-driver-for-linux depends on python-pysqlite2; however:
    Package python-pysqlite2 is not installed.
    vodafone-mobile-connect-card-driver-for-linux depends on python-serial; however:
    Package python-serial is not installed.
    dpkg: error processing vodafone-mobile-connect-card-driver-for-linux (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    vodafone-mobile-connect-card-driver-for-linux
    john@johns-laptop:~$ sudo apt-get install -f

    Thanks in advance
    John
     
  4. topdog

    topdog New Member HowtoForge Supporter

    you need to install these before you install that package.
    Code:
    sudo apt-get install python-twisted python-pysqlite2 python-serial
    
     
  5. Johnbb

    Johnbb New Member

    re reply by topdog

    thanks for your reply I did this but get message as below which mkes me ask "from where do I download missing files etc" as originally asked in my 1st posting
    thanks for all help offered
    John

    john@johns-laptop:~$ sudo apt-get install python-twisted python-pysqlite2 python-serial
    [sudo] password for john:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package python-twisted is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package python-twisted has no installation candidate
    john@johns-laptop:~$
     
  6. topdog

    topdog New Member HowtoForge Supporter

    From what i see you are running on gutsy which does have that package i have just checked on my machine try this
    Code:
    sudo apt-get update
    
    Then try installing again
     
  7. Johnbb

    Johnbb New Member

    reply to topdog's suggestion

    I tried tht only to get the following returned;

    john@johns-laptop:~$ sudu apt-get update
    bash: sudu: command not found
    john@johns-laptop:~$ sudo apt-get update
    [sudo] password for john:
    Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-en_ZA
    Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-en_ZA
    Reading package lists... Done
    john@johns-laptop:~$ sudo apt-get install python-twisted python-pysqlite2 python-serial
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package python-twisted is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package python-twisted has no installation candidate
    john@johns-laptop:~$

    What now? it looks like some of the packages needed for python are missing where cn I get them from?

    Thanks
    John
     
  8. topdog

    topdog New Member HowtoForge Supporter

    it seems like your /etc/apt/sources.list is incorrect. can you post it here lets see what the issue is.
     
  9. Johnbb

    Johnbb New Member

    /etc/apt/source.d

    this file is blank
    /etc/apt/sources.list gives a table of places where source software can be downloaded ie internet or cd rom does not list software
    am unable to paste copy of screen shot here

    tks
    John
     
  10. topdog

    topdog New Member HowtoForge Supporter

    Code:
    deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
    deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
    deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe
    deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe
    deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
    deb http://archive.canonical.com/ubuntu gutsy partner
    deb-src http://archive.canonical.com/ubuntu gutsy partner
    deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
    deb http://security.ubuntu.com/ubuntu gutsy-security universe
    deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
    deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
    deb-src http://security.ubuntu.com/ubuntu gutsy-security multivers
    
    If you have that in your /etc/apt/sources.list, and have run apt-get update, you should be able to download python-twisted as it is in gutsy's and i can install it.
     
  11. Johnbb

    Johnbb New Member

    Still have probs

    Hi Topdog I re-installed from cd (LXF100) then re-checked /etc/apt/sources.list this file appears to be empty
    cut and pasted listfrom yr reply ran get-apt install got 9 page error report
    Should the cd have been in drive when I ran get-apt install? or should I have done something else? :eek:
     
  12. topdog

    topdog New Member HowtoForge Supporter

    That is very strange, were you connected to the internet when you ran the update ?
     
  13. Johnbb

    Johnbb New Member

    reply to Topdog

    No! sorry but I can only use huawei e220 at present on Windows XP till I can resolve connection hassles on Ubuntu 7.1 hence my many queries
    I log on with XP submit/answer posts then reboot into Linux to try any suggestions:D
    tks John
     
  14. topdog

    topdog New Member HowtoForge Supporter

    Sorry all along i thought you were connected, the update will only work with a net connection. So in this case just add only this to your /etc/apt/sources.list
    Code:
    deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1)]/ gutsy main restricted
    
    then put the cdrom into the drive and the install using the command i gave you in older posts.
     
  15. Johnbb

    Johnbb New Member

    Hi Topdog have some queries

    edited etc/apt/sources.list as per yr last answer then tried apt-get update then ran apt-cdrom add as requested by software please advise on results pasted below Thanks John

    john@john-laptop:~$ sudo apt-cdrom add
    Using CD-ROM mount point /cdrom/
    Unmounting CD-ROM
    Waiting for disc...
    Please insert a Disc in the drive and press enter
    Mounting CD-ROM...
    Identifying.. [f38417f7ed4311386f5496706aea66ed-2]
    Scanning disc for index files..
    Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
    Found label 'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1)'
    This disc is called:
    'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1)'
    Copying package lists...gpgv: Signature made Tue 16 Oct 2007 01:24:30 SAST using DSA key ID FBB75451
    gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>"
    Reading Package Indexes... Done
    Writing new source list
    Source list entries for this disc are:
    deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1)]/ gutsy main restricted
    Unmounting CD-ROM...
    Repeat this process for the rest of the CDs in your set.
    john@john-laptop:~$ sudo apt-get update
    Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1) gutsy/main Translation-en_ZA
    Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1) gutsy/restricted Translation-en_ZA
    Ign cdrom://]Kubuntu 7.1_Gutsy Release.gpg
    Ign cdrom://]Kubuntu 7.1_Gutsy/Gibbon_-Release Translation-en_ZA
    Ign cdrom://]Kubuntu 7.1_Gutsy/i386(20071016.1)]/gutsy Translation-en_ZA
    Ign cdrom://]Kubuntu 7.1_Gutsy/main Translation-en_ZA
    Ign cdrom://]Kubuntu 7.1_Gutsy/restricted Translation-en_ZA
    Ign cdrom://]Kubuntu 7.1_Gutsy Release
    Ign cdrom://]Kubuntu 7.1_Gutsy/Gibbon_-Release Packages
    Ign cdrom://]Kubuntu 7.1_Gutsy/i386(20071016.1)]/gutsy Packages
    Ign cdrom://]Kubuntu 7.1_Gutsy/main Packages
    Ign cdrom://]Kubuntu 7.1_Gutsy/restricted Packages
    Err cdrom://]Kubuntu 7.1_Gutsy/Gibbon_-Release Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://]Kubuntu 7.1_Gutsy/i386(20071016.1)]/gutsy Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://]Kubuntu 7.1_Gutsy/main Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://]Kubuntu 7.1_Gutsy/restricted Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Failed to fetch cdrom:]Kubuntu/dists/7.1_Gutsy/Gibbon_-Release/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Failed to fetch cdrom:]Kubuntu/dists/7.1_Gutsy/i386(20071016.1)]/gutsy/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Failed to fetch cdrom:]Kubuntu/dists/7.1_Gutsy/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Failed to fetch cdrom:]Kubuntu/dists/7.1_Gutsy/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Reading package lists... Done
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    john@john-laptop:~$

    udo] password for john:
    john@john-laptop:~$ apt-get update
    E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
    E: Unable to lock the list directory
    john@john-laptop:~$ sudo apt-get update
    Ign cdrom://Kubuntu 7.10_Gutsy Gibbons_Release i386(20071016.1) main Release.gpg
    Ign cdrom://Kubuntu 7.10_Gutsy Gibbons_Release i386(20071016.1) main/restricted Translation-en_ZA
    Ign cdrom://Kubuntu 7.10_Gutsy Gibbons_Release i386(20071016.1) main Release
    Ign cdrom://Kubuntu 7.10_Gutsy Gibbons_Release i386(20071016.1) main/restricted Packages
    Err cdrom://Kubuntu 7.10_Gutsy Gibbons_Release i386(20071016.1) main/restricted Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Failed to fetch cdrom:[Kubuntu 7.10_Gutsy Gibbons_Release i386(20071016.1)]/gutsy/dists/main/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Reading package lists... Done
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    john@john-laptop:~$ apt-cdrom
    apt 0.7.6ubuntu14 for i386 compiled on Oct 15 2007 20:39:23
    Usage: apt-cdrom [options] command
     
  16. topdog

    topdog New Member HowtoForge Supporter

    Unfortunately i have not used the cdrom method, always do http i will try to simulate your problem and see.
     
  17. Johnbb

    Johnbb New Member

    is it possible to download required files to XP

    Is it not possible to download (using XP )the necessary files to a folder accessible to Ubuntu. Then copy folder to /home in Ubuntu and then run apt-get update from this folder?
    If this can work then I could possibly be al to get Ubuntu on line to download the latest updates.

    Many thanks for your help this far
    John
     
  18. topdog

    topdog New Member HowtoForge Supporter

    These are the packages you need
    Code:
    python-crypto python-twisted-bin python-twisted-conch python-twisted-core python-twisted-lore python-twisted-mail python-twisted-names
      python-twisted-news python-twisted-runner python-twisted-web python-twisted-words python-zopeinterface python-twisted
    
    Download and install using dpkg
     
  19. Johnbb

    Johnbb New Member

    Hi topdog allmost there just 1 or 2 questions

    Thanks for help sofar downloaded 15files for python installed 1x1 (very laborious) then installed vodafone mobile driver
    Questions raised are
    1. -zopeinterface installed ok with no errors but on 1st running the vodafone mobil card driver prg it gave an error stating this prg was incomplete and then deeted it. Do I need to re-install it?

    2. Splah screen fo vodafone driver now comes up on screen asks for psswd
    but does not connect fails after 3 tries is it possible tht I need to modify the wvdial.conf files? if so what do I need to enter to get it to work on vodacom sa?

    Many thanks
    John:)
     
  20. topdog

    topdog New Member HowtoForge Supporter

Share This Page