Debian Admin - Your way to Debian World

December 13, 2006

Setting up Dial-up connection in Ubuntu

by @ 11:17 am. Filed under Other Linux

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Dial-up access is a form of Internet access through which the client uses a modem connected to a computer and a telephone line to dial into an Internet service provider’s (ISP) node to establish a modem-to-modem link, which is then routed to the Internet.

Most ISPs provide dial-up connections supporting PPP because it is a fast and efficient protocol for using TCP/IP over serial lines. PPP is designed for two-way networking; TCP/IP provides the transport protocol for data.

PPP (Point to Point Protocol) uses several components on your system. The first is a daemon called pppd, which controls the use of PPP. The second is a driver called the high-level data link control (HDLC), which controls the flow of information between two machines. A third component of PPP is a routine called chat that dials the other end of the connection for you when you want it to.

Configuring a Dial-Up Connection in Ubuntu

Ubuntu includes some useful utilities to get your dial-up connection up and running.Here is the following ways you can connect to your dialup connection

1)Using your networking option in Ubuntu

2)using gnome-ppp

3)using kppp (For Kubuntu)

4)using wvdialconf & wvdial

5)using pppconfig & pon/poff

first thing you need to make sure your modem drivers are installed or not.If you want more details about modem drivers in ubuntu and installation check here

Now we will see 3 ways how to configure dialup connection in ubuntu

Before Starting

Before configuring Dial-up connection you need to have the following information from your ISP

1)Username

2)Password

3)Dail-in number

Configuring a Dial-Up Connection using Networking option

you can go to System—>Administration —>Networking


Once it open the application you should see the following screen

In the above screen select modem connection option and click on properties you should see the following screen

The first thing you will need to do is to enable the connection by ticking the Enable this connection box,now you need enter your ISP’s phone number as well as your username and password

Next, click on the modem tab to specify details about your modem and also configure the speaker volume. Most telephone systems use tone dialling nowadays, so make sure this is selected . I have selected the speaker volume on medium.

Now you need to click on options tab If you are using a laptop, then you will probably want to uncheck Set modem as default route to the Internet whilst you are on a LAN, otherwise you may struggle to see anything! Tick it when you are expecting to use your dial-up connection though, and Ubuntu will use this connection to get out onto the Internet.You need to select other two options checked.

Now You can use the Gnome Modem Monitor and Network Monitor panel if you want to stop, start and monitor modem connections.

Configuring a Dial-Up Connection using pppconfig

configure a connection using pppconfig, a command line utility to help you to configure specific dial-up connection settings.This is a command line based option to manage dialup connections.

Open a terminal from Applications > System Tools > Terminal and type

sudo pppconfig

Now you should see the following screen here you need to select “Create Create a connection” select ok and press enter

Here you need to enter provider name and you can leave default one and in this example i am giving “comcast” select ok and press enter

Next screen you need to select “Dynamic Use dynamic DNS” select ok and press enter

You need to select Authentication method here i am selecting “chat :Use chat for login/password :Authentication” select ok and press enter

Select login prompt option leave default select ok and press enter

Select password prompt option leave default select ok and press enter

Enter the username given to you by your ISP in this example i am using “ruchiw” select ok and press enter

Enter the password given to you by your ISP in this example i am using “myfirstpassword” select ok and press enter

Enter the modem speed as “115200″ select ok and press enter

Select method of dialing as “Tone” select ok and press enter

Enter the number to dial select ok and press enter

Choose your modem configuration method if you want to detect your modem automatically select yes otherwise select no in this example i am selecting no select ok and press enter

Select the modem port and i leave the default option select ok and press enter

Here is the complete details you have choosen for your provider connection in this example comcast

Finished the connection settings select ok and press enter

Select “Quit Exit this utility”

Exit the terminal window using the following command

exit

Connecting to your ISP

Before you connect for the first time you need to add yourself to both the dip and dialout groups by using the commands

sudo adduser YOURNAMEHERE dip

sudo adduser YOURNAMEHERE dialout

# connect to the ISP configured as “comcast”

pon comcast

# disconnect the ISP configured as “comcast”

poff comcast

If you are trying to connect as default “provider” you need to use the following commands to connect and disconnect

pon

poff

You can check the last messages generated by these commands with

# shows the (status) messages generated by pon and poff

plog

Configuring a Dial-Up Connection using gnome-ppp

GNOME PPP is an easy to use graphical dialup connection configuring and dialing tool with system tray icon support.It uses GNOME/GTK+ for its graphical interface and integrates well in GNOME desktop environment, but it can be used in other environments.

It also uses WvDial dialer as its backend, providing simple configuration via config files. You can also use plain wvdial if you don’t have X running.

Install gnome-ppp Ubuntu

sudo apt-get install gnome-ppp

This will complete the installation.

If you want to open the application go to Application—>Internet—>GNOME PPP

Once application opens you should see the following screen

In the above screen you need to click on setup to configure your settings you should see the following screen configre the modem settings

Next click on networking tab to configure network settings

Next click on options tab to configure general options

Once you have all the details enter the details you can see the following screen

Tags: , , , , ,

You may also be interested in...

13 Responses to “Setting up Dial-up connection in Ubuntu”

  1. Bill Bithell Says:

    I’m trying to setup Ubuntu for the first time, and get dialup working to my
    ISP.
    The help info for modem drivers is hidden from me on a “secure webpage”
    https://help.ubuntu.com/community/DialupModemHowto/ScanModem
    I don’t understand why a help page is “secured”.
    I have a partially neutered winblowze without any Java and other web scripting
    components so…HTPPS is unreachable.

    Thanks, Bill

  2. Guy Says:

    I have successfully set up a dialup internet connection in Ubuntu 6.06 many times. I have also successfully set up a dialup internet connection in Fedora, each version of Windows, and other programs, many times. However, I have been unable to set up a dialup internet connection in Ubuntu 6.10. What could I be overlooking? Are other people having the same problem?

  3. hafeez Says:

    i am a new user to ubuntu 6.06. i have succesfully set up dailup internet connection using bluetooth modem with gprs in my nokia6600 phone in various version of windows.but idont know how to connect internet usng bletooth modem.please someone asist me how to pair my bluetooth with my phone or kindly recomended me with some links my email id is coolhafeez@yahoo.com

  4. Usman Says:

    HI, im also a new user of ubuntu 6.06, I have used many isp’s in my country availabe supporting “all MS windows” everyone tested on windows, but all aboove mentioned methods get fail in ubuntu when i try, i get errors (used Networking, Gnome-ppp, and ppp-config). sometimes I get error 16 in pon , even i have used pap, chat and chap explicitly for many connections in ppp-config. I get connected to by GnomePPP but for 30 seconds and with no “IP” :( . I called My ISP, they told me that there is not a single attempt made by me to connect to them, No nno diled there :( . Can anyone help me finding the potential problem im facing? Any Support will be gratly appriciated!
    Usman
    usman911@gmail.com

  5. derifo Says:

    I am having the same problem as HAFAAZ.That’s I need to know how to set up the BLUETOOTH connection.my email is….. fineguy@operamail.com.I’ll appreciate any help I can get.

  6. Tiller Says:

    I have the same problem like Guy, I’m using linux since 7 years and beeing not able to reach a working dial-up connection with ubuntu 6.10! Can’t understand why and need help!

  7. Shep Says:

    I’m a Ubuntu/Linux newbie and am having similar problems to Guy and Tiller. I have finally found a dialup modem that is recognized and can dial out but I appear to have problems at the authentication stage. I have tried the #auth suggestion that apear in various posts with no success. Any help or advice will be greatly appreciated. I’m about to return to the open arms of Bill and the gang in Redmond!

  8. Tom Morris Says:

    Obviously the network menu format is confusing, been playing with Linux since 1997 and have to agree, kind of a catch 22, need to go to internet to download gnome PPP, but can’t because can’t dialup. Since millions of folks still use dialup, odd it isn’t simpler perhaps there isn’t room on a single CD, but this is indeed a problem.

  9. Rizwan Yasin Says:

    Good!
    Nice tutorial. I was also fed with this problem. thanks for a solution. I will try it now. Let me start.
    thanks

  10. Leonti.us.to Says:

    Ubuntu Linux: Sebuah Pengalaman…

    Baru-baru ini gw baru coba pakai Ubuntu, sebuah distro Linux yang (katanya sih) cukup bagus. Ubuntu itu sebuah distro yang “serius”, terbukti dari adanya dana buat kirim-kirim CD gratis dan support bertahun-tahun. Orang-orang di forum juga banyak y…

  11. Metalic_Noodles Says:

    I tried the first two, I didn’t have the third program, and I still can’t connect on that computer. Oh, and you can’t exactly download something to a computer that can’t get on the net, so that one is kinda pointless.

  12. Eric Reed Says:

    Wow,,,,most excellent,,,,WAY better than the Ubuntu forums. Had to sift thru soooooo much stuff in the forums and still not get good instruction.

    Many,,many thanks. I’ll definitely utilize this service

  13. Amil - Sri Lanka Says:

    Very good detailed help. Thanks a lot.

    I also got “Cannot open /dev/modem: No such file or directory” errors initially, when trying to connect using “GNOME PPP”.

    But my problem solved as follows:
    1. enable “Software modem driver” via System->Administration->Restricted Device Manager (you need an internet connection)
    2. once the step 1 is over, replaced “/dev/modem” occurrences by “/dev/ttySL0″
    a. System->Administration->Network->Modem Connection->Properties->Modem->Modem port
    b. Applications->Internet->GNOME PPP->Setup->Device

    Please note that I’m using Ubuntu 7.10 (installed using downloaded ISO image) on hp Compaq nx6120 laptop computer. Also I was not in a position to dial to a real PPP server, but I could get a phone call on my mobile, but I hope it’ll work.

    - Amil

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

Related Links:


Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.