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

Joined
Sep 5, 2008
Messages
12
Reaction score
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
 
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 said:
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!)

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').
 
:?
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 said:
:?
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

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...)
 
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.
 
Duncan_Rowland said:
andrewockenden said:
:?
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

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
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
 
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 said:
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!

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 :)
 
tomrowley20287 said:
Use a windows computer and Download wvdial from this link


Using a windows computer download gnome ppp from this link

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

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

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.
 

Latest threads

Back
Top