How To Install E220 and other Modems on A110 Linux - Simple

Discussion in 'Networking' started by tomrowley20287, Sep 25, 2008.

  1. tomrowley20287

    tomrowley20287

    Joined:
    Sep 5, 2008
    Messages:
    12
    Likes Received:
    0
    Use a windows computer and Download wvdial from this link

    ftp://rpmfind.net/linux/fedora/developm ... 0.i386.rpm

    Using a windows computer download gnome ppp from this link

    http://rpm.pbone.net/index.php3/stat/3/ ... c9.src.rpm

    move both files to your downloads folder on your one using a usb key or what ever you chooose.


    Double click the wvdial rpm first. Install this file following the prompts.

    Double click the Gnome-PPP rpm. Install this following the prompts.

    Using the guide on this forum activate the 'advanced mode' desktop and open a terminal.

    Type in the following exactly;

    sudo mousepad /etc/wvdial.conf

    press return
    for UK 3 settings remove all the existing text and copy this information in;

    [Dialer defaults]

    Init2 = ATZ
    Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Stupid Mode = 1
    Modem Type = Analog Modem
    ISDN = 0
    Phone = *99\#
    Modem = /dev/ttyUSB0
    username = three
    Password = three
    Dial Command = ATDT
    Baud =466600
    Init4 = AT+CGDCONT=1,"IP","three.co.uk"

    For all other networks get your settings from this link and type them in instead. Save the file and close.

    http://ubuntuforums.org/showthread.php?t=633981


    Now open Gnome-PPP by right-clicking your desktop and choosing the Run Program option.

    Type in to here sudo Gnome-PPP and press enter

    click set up

    In the modems tab;

    change device to /Dev/ttyUSB0

    click phone numbers and enter the phone number *99/# NOTE you need to click the second phone number box for Gnome-ppp to save the number. this also stands for the INIT strings.

    Close that box.

    Click INIT Strings

    Copy the information from your Wvdial.conf file in to each line for the relevant init string.

    For example in my gnome-ppp the boxes read as follows

    Init 2 ATZ
    Init 3 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init 4 AT+CGDCONT=1,"IP","three.co.uk"

    Remember to click out of box 4 and close that window.

    If 'wait for dial tone' box is checked, uncheck it.

    Open the options tab

    check the top two boxes for minimize and dock in notification area.

    Uncheck everything except for the following which should remain checked.

    Auto Reconnect
    Check Default Route
    Ignore Terminal Strings (Stupid Mode)


    Close the setup window.

    for three use the user name 'three'
    and for a password 'three'
    enter the phone number *99\# (evidently it doesn't matter which direction the slash goes in as mine as both different and it still works)

    Click to remember password.

    Restart your one with your modem connected before boot.

    When your desktop starts up, open the run program command, Gnome-ppp should still be in the box, press return. If it isn't just retype 'sudo gnome-ppp'.

    Press return again when the gnome dialer appears.

    Wait a few seconds, your modem should be lit permanently, you will have a network icon in your task bar and you are now connected to the internets on your one with a USB dongle. simple.

    If you want to use a different modem I think all you need to do is find out which USB device it is (for example mine is /dev/ttyUSB0) and change it to your relevent port.

    Using the ubuntu list of conf setting everyone in any country should be able to get connected.

    Thank you and good night.

    EDIT Corrected as below
     
    tomrowley20287, Sep 25, 2008
    #1
  2. tomrowley20287

    speedyrite

    Joined:
    Aug 6, 2008
    Messages:
    5
    Likes Received:
    0
    Possible typo:

    wcdial.conf


    should be


    wvdial.conf


    ?
     
    speedyrite, Sep 25, 2008
    #2
  3. tomrowley20287

    cgk

    Joined:
    Sep 25, 2008
    Messages:
    34
    Likes Received:
    0
    Gnome PPP doesn't install?
     
    cgk, Sep 26, 2008
    #3
  4. tomrowley20287

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    Duncan_Rowland, Sep 26, 2008
    #4
  5. tomrowley20287

    andrewockenden

    Joined:
    Sep 23, 2008
    Messages:
    3
    Likes Received:
    0
    I also installed the vodafone driver - and its working sreally well so I'm reluctant to shift - but every time I want to use it I have to type out the whole "sudo vodafone mobile internet etc etc" bit. Is there any way I can set up something which will open terminal, and type in this text automatically (apols if this is really obvious, but new to linux!)
     
    andrewockenden, Sep 27, 2008
    #5
  6. tomrowley20287

    Motoko.A150L

    Joined:
    Sep 6, 2008
    Messages:
    27
    Likes Received:
    0
    During the installation of the vodafone software it would have asked you which users you want to give permission to use it. You should have entered 'user' (without the quote marks). If so then if you also have the desktop right-click menu enabled (see here viewtopic.php?f=13&t=28 ) then you would find it in networks submenu when you right click the desktop. No need to open the terminal and sudo it anymore :)

    I'm sure you could try running the installation script again and see if it fixes the permissions (making sure you enter 'user').
     
    Motoko.A150L, Sep 27, 2008
    #6
  7. tomrowley20287

    andrewockenden

    Joined:
    Sep 23, 2008
    Messages:
    3
    Likes Received:
    0
    :?
    thanks for this. I tried it - reinstalling and putting user with permission. And all seemed to be going well - this does allow me to click on the programme - but then the programme start screen comes up, and it just hangs and doesn't open. I can still only open through the terminal instruction line. Any further advice would be very welcome
     
    andrewockenden, Sep 27, 2008
    #7
  8. tomrowley20287

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    hmm.. does it get as far as "Authenticated!" and then hang?
    Same happens for me from the command line, but if I click cancel, then try again it works the second time...
    Alternatively, you could make a script...
    echo vodafone-mobile-connect-card-driver-for-linux > go
    chmod +x go
    ./go
    Either way, it usually needs starting twice, but after that it works perfectly for me
    (also, this way you can send/receive sms which is helpful if you're on pay-as-you-go...)
     
    Duncan_Rowland, Sep 27, 2008
    #8
  9. tomrowley20287

    westonpf

    Joined:
    Aug 28, 2008
    Messages:
    39
    Likes Received:
    0
    I have the e160 modem working:

    Gnome-ppp is in the main package manager and can be installed from there.

    wvdial is already installed on linpus.

    entered 'sudo wvdialconf' into terminal with modem installed and script auto generates.

    changed APN in wvdial.conf by editing as first post.

    In Gnome-ppp used the detect modem and it found the modem, all I have to do was change username and password to 3uk

    I found the vodafone package a bit buggy.
     
    westonpf, Sep 27, 2008
    #9
  10. tomrowley20287

    andrewockenden

    Joined:
    Sep 23, 2008
    Messages:
    3
    Likes Received:
    0
    No - doesn't get as far as authenticating. I will try the script tomorrow (can't miss the x factor). And will let you know if I can make that work. many thanks for your help. much appreciated Andrew
     
    andrewockenden, Sep 27, 2008
    #10
  11. tomrowley20287

    tomrowley20287

    Joined:
    Sep 5, 2008
    Messages:
    12
    Likes Received:
    0
    I posted the above technique as I also had problems with vodafone mobile connect hanging.

    If I could use that I probably would but for those who also have problems, the above works. I provided the links for download on a windows computer as if in my case my only internet connection is through my usb modem, I can't use the package manager to install Gnome-PPP.

    I am just waiting for an official usb modem patch to provide support as it took me days to get mine working!
     
    tomrowley20287, Sep 28, 2008
    #11
  12. tomrowley20287

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    hmm.. odd, Ive honestly never seen this and I use the vodaphone thing all the time. The first time I start it after a reboot it does stop after Authenticated!, but then I just click cancel and it always starts second go... Anyway, glad we've got multiple solutions, a little redundancy is rarely a bad thing, me thinks :)
     
    Duncan_Rowland, Sep 28, 2008
    #12
  13. tomrowley20287

    ChrisPink

    Joined:
    Oct 9, 2008
    Messages:
    5
    Likes Received:
    0
    Having problems with this stage; i get the message "can't install source".

    I went to rpm to get the compiled version gnome-ppp-0.3.23-5-fc9.x86_64.rpm but this won't install

    What am i missing here? Thanks for any help.
     
    ChrisPink, Oct 14, 2008
    #13
  14. tomrowley20287

    tomrowley20287

    Joined:
    Sep 5, 2008
    Messages:
    12
    Likes Received:
    0
    You need to download the i386 version.

    Tom
     
    tomrowley20287, Oct 19, 2008
    #14
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.