jump to navigation

Dial-up Internet on Linux 09/10/2007

Posted by ubuntunigeria in Connectivity.
trackback

Dial-up Internet on Linux

To get online in Linux isn’t that hard and since this is Linux there are several ways of achieving this. to do this we can either use the terminal or kpp although there are others like gprsec although this is more oriented towards GPRS.

The terminal would be treated first.

Launch a terminal from Applications -> Accessories -> Terminal

terminal.jpg

A terminal comes up connet your phone through a usb serial cable and then type sudo wvdialconf and press enter. This command searches your computer for any modem attached to it. If it finds it would tell you modem found. If its a phone it would say new device found /dev/ttyACM0

Then now type in this command also sudo gedit /etc/wvdial.conf Now you’ll have to edit it removing the unnecessary semicolons and then when yours look like mine then press save

[Dialer Defaults]

Init1 = ATZ

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Modem Type = USB Modem

Baud = 460800

New PPPD = yes

Modem = /dev/ttyACM0

ISDN = 0

Phone = *99***1#

Password = internet

Username = internet

Then you return to the terminal and type sudo wvdial and press enter and it starts to connect once it does, don’t close that terminal because if you do that you go offline.

Now for the non terminal people, kpp is a very excellent tool, it does the job well.

You’ll have to download kpp, then go to http://packages.ubuntu.com and search for kpp, download and login into ubuntu and double click to install

After installation just press Alt and F2 together, a run dialog comes out like the one below and type kppp and run.

kpp.jpg

Now click on configure, and choose manual setup

Then input your connection name, i’ve named mine celtel, then click Add to add your dialup no (Vmobile is *99***1#, for starcomms it should be #777)

enter-your-number.jpg

Then now click OK and OK again you don’t need to worry about IP, DNS etc.

Now click on modem tab and choose new, here’s the tricky part Name your modem since am using Motorola L6 i named my modem L6.

To know what your modem is just open a new terminal and type sudo wvdialconf and it would show the name of your modem.

If you’re using a mobile phone it should be /dev/ttyACM0, then choose that.

confirm-modem.jpg

Now click on the modem tab and click query modem. This would confirm if that modem you choose exists.

exist.jpg

For those who use the terminal and are able to get online already but want to change to kpp just connect through the terminal first, then follow the instructions below

The first thing would be to install kppp from the synaptics. To do this click Applications then choose Add/Remove programs then search for Kppp

add-and-remove.jpg

Now mark it and choose okay then follow the previous instructions i gave.

If you have problem connecting to the net after following the above please call Afolabi 08025426934 *Nigeria Residence Only

Note Due to the frequent disconnection that has been experienced on starcoms and multilinks … you  can add this string    Init3 = AT+CRM=1;$LGPKT=3 to your wvdial config so it looks like this

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CRM=1;$LGPKT=3
Modem Type = USB Modem
ISDN = 0
New PPPD = yes
Phone = #777
Modem = /dev/ttyACM0
Username = 7525553@multilinks.com
Password = 482711
Baud = 460800

after you most have followed the guide above … i.e doing wvdialconf and all … run this command

sudo gedit /etc/wvdial.conf

this would open the wvdial.conf in a text editor ..

just add this string

Init3 = AT+CRM=1;$LGPKT=3

to the 3rd line .. so it would look like this

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CRM=1;$LGPKT=3
Modem Type = USB Modem
ISDN = 0
New PPPD = yes
Phone = #777
Modem = /dev/ttyACM0
Username = 7525553@multilinks.com
Password = 482711
Baud = 460800

once you have done that save and close the text editor

Advertisements

Comments»

1. Omede Nkem - 07/18/2008

Hello Ubuntu Master!
This tutorial was quite informative. Tried it. First let me start by saying that I am a completely newbie to Ubuntu or the Linux distributions. Switched to Ubuntu after going to some posts on Nairaland.
I just received the Ubuntu 8.04 LTS pack for desktops. I installed the package as an application on Windows in order to get used to Ubuntu. I can however dual boot into either Ubuntu/Windows at the startup.I have been browsing on Windows with this mobi-Kit dialup modem for some time now. Tried downloading the kppp application on Ubuntu but I received an error sign-I think the downloads was not compatible with the version of Ubuntu I have on.

Please I will need a “hand in hand” guide on how to browse with this modem on Ubuntu. UBUNTU IS STILL VERY STRANGE TO ME. HELP ME.My email address is nkemomede@yahoo.com.

2. ubuntunigeria - 07/20/2008

well i tried googling for the mobi kit .wanted to see if i can get some information about the product but alas i found non

for me to be able to help you i want you to do the following and paste the result here

first i want you to plug in the mobi-kit dongle to your ubuntu computer then run this command in terminal
terminal can be found here
Application/Accessories/Terminal
once you have opened Terminal paste in this command

lsusb

and this one

lspci

then come here and post the result so that i can know what hardware mobi-kit uses

on your own you can also plug the device and run

sudo wvdialconf

if the device is supported it would be configured just like i posted in the above guide .. once that is done you can mail me the result . please dont hesitate to also buzz me online (my yahoo id is bigbrovar ) so that i can give you a close up support .. all will be well .

3. Nkem Omede - 07/22/2008

Thanks v much Bigbrovar!
When I tried the terminal method I got d following error
“No such file or directory”

I downloaded kppp from the site you indicated on Nairaland, but when Itried instaling I got the following error
“Dependency is not satisfiable:kdelibs4c22a”

I tried downloading gnome-ppp seeing that Ubuntu 8.04 does not use the kppp application. Gnome-ppp installed but it couldn’t connect to the internet. It just didn’t connect.

I did what U said I should do, the result was:
SB UHCI Controller #1 (rev 03)
00:1d.1USB Controller: Intel Corporation 82801DB/DBL/DBM (…….
)

A page full of numbers and letters. I use MTN sim with the modem. On the Network places of the Window OS the Modem was refered to as Teltonika ModemUSB G10. I will love to know now how I will able to use gnome-kppp to run the internet

Thanks v much for all the assistance.

4. Ahmadu Mohammed - 09/30/2008

Thanks Bigbravar for your important how-to.
Unfortunately I use PUPPY LINUX version 4.00 and have not been able to connect to the internet with my Starcomms -Haier D1200P mobile phone. I use it to browse on a computer using Windows XP but not with Puppy Linux. I went to Starcomms office but they could not help me. I know this is a site for Ubuntu but I need your help to solve this problem. Thanks

5. Ahmadu Mohammed - 10/01/2008

Please refer to my earlier comment.
Following your How-to closely I have made some progress, but still can’t get connected to the internet. It gives a message – MODEM NOT RESPONDING.
I believe I am close to solving the problem but I need your help. Thanks


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: