December 14, 2006 · General · Email This Post

Sponsored Link
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

Sponsored Link

Incoming search terms:

Related posts

111 Comments to “Setting up Dial-up connection in Ubuntu”

  1. vinay says:

    I have ubuntu 9.04.i want to access net through my mobile via bluetooth what should i do????

    [Reply]

  2. I have Huawei ETS2052. With root@ubuntu:~# lsusb command it recognize as: Bus 002 Device 004: ID 12d1:1010 Huawei Technologies Co., Ltd. But my ubuntu 9.04 doesn’t recognize it as a modem device. What should i do? Thanks!

    [Reply]

  3. Erman says:

    Hi ,

    I am using ubuntu 9.10 karmic.

    I am using Gnome-ppp to connect to my phone (sony ericsson k600i) as my broadband modem via usb. Connection via bluetooth is ok (using blueman gtk+), but i can’t seem to establish a connection due to my id and pass.

    When i dial the phone tries to connects but connection failed, the reason being my provider doesnt have a login id and password specified. And i must input the id and pass.

    Any way for me to bypass the login and id requirements ?

    Thanks.

    [Reply]

  4. khurram farooq says:

    Dear…..,
    how r u ?
    i am using ubuntu 9.014 i want use internet from mobile via bluetooth, but i cant find any thing or any option……
    plz help me
    can ???????????

    [Reply]

  5. helo says:

    generally to connect to the internet via the mobile provider network and bt you generally do the following.
    1. make sure that the bt device is active and has the correct kernel device driver
    2. connect your computer to the phone via the dialup channel
    3. prepare the pppd and chat scripts with the correct parameters
    take a look at http://www.kirya.net/articles/bluetooth-gprs-mobile-phone-with-debian-gnulinux/

    [Reply]

  6. I don't have Networking? says:

    I JUST DOWNLOADED UBUNTU 9.10 AND IT DOESN’T EVEN HAVE “NETWORKING” IN ADMINISTRATION.

    WVDIAL WONT EVEN INSTALL WHAT THE HELL? IS THERE ANY WAY TO GET ONLINE? THEY SHOULD INCLUDE THIS STUFF WITH THE ISO DOWNLOAD IT’S PRETTY USELESS TO FORCE PEOPLE TO GO “ONLINE” TO DOWNLOAD ADITOINAL THINGS JUST TO GET “ONLINE” THATS A MAJOR FAIL THAT NEEDS TO BE ADDRESSED. THIS ISN’T A RANT JUST REAL REAL REAL REAL REAL POSITIVE CRITICISIM CUZ UBUNTU HAS A BEAUTIFUL INTERFACE AND WHAT NOT BUT IF U CAN’T GET ONLINE WTF IS THE POINT? HOW ARE U GUNA DOWNLOAD COOL THINGS THAT BRING OUT THE ELEGANCE OF THIS OPERATING SYSTEM IF U CANT GET ONLINE?

    UBUNTU COMMUNITY DO NOT PASS UP MY MESSAGE AS HATE COMMENT! READ AND DO IT CUZ ITS ILOGICAL CUZ IF U EXPECT PPL TO DITCH MICROSHIT TO JOIN UR COMMUNITY JUST SO THEY NEED TO GET BACK ON MICROSHIT TO GET BACK ON UR OS AND THEN INSTALL THIS DEB FILE THEN RESTART GET BACK ON MICROSHIT GOOGLE ON MICROSHIT FOR HELP FOR UR OS THAT COMES WITH NO GARUNTEE OR NO REASONABLE WAY TO GET ONLINE (FOR SOME USERS LIKE ME THAT USE DIALUP OR PPL IN THIRDWORLD COUNTRIES WHERE DIALUP IS ALL THEY GOT IN SOME AREAS) THEN UR SERIOUSLY MISTAKEN. CONSIDER MAKING THE INTERNET PROGRAMS MORE COMPATIBLE.

    MUCH LOVE,

    AN UBUNTU NOOB

    PS
    I FEEL HORRIBLY WICKED FOR ALL OF THOSE VISTA/XP/MAC/WIN7 USERS WHO CONVERTED TO UBUNTU AND ARE NOW FUCKED BECUASE UBUNTU WONT LET THEM GET ONLINE.

    INCLUDE BETTER INTERNET SUPPORT PLEASE!!!!! UBUNTU AND WINDOWS ARE SOME OF THE GREATEST OS OUT THERE BUT INTERNET MAKES IT MORE COMPLETE. THAT SHOULD BE TOP PRIORITY FOR UR NEXT RELEASE! THAT AND INCLUDING ALL MODEM/PHONE MODEM- DRIVERS/RECOGNITION SOFTWARE.

    [Reply]

  7. Greg says:

    Trying to sell my brother on Ubuntu, since he is dollar challenged and has to use dial up. Sent him my older version of Ubuntu, and had 9.10 sent to him.

    Disappointing. Clearly, as much as I want to move myself completely off Windows to Ubuntu, I cannot. Nor can I get someone who simply wants the internet and email via dial up…

    Ubuntu, in order to garner market share and get peoples attention, MUST be ready out of the box! It absolutely must connect to the internet via dial up, hard wire network, or wireless.

    I would really like to be able to tell my Brother how to set up his dial up, but I cannot even get it up on my HP Pavillion Laptop to look.

    If you know how to tell a VERY LIMITED NOOB how to set up his dial up… perhaps I can get an email from the board.

    [Reply]

  8. Pranananda says:

    To get dialup to work in Ubuntu 9.10, I had to remove modemmanager using Synaptics and then kill the modemmanager process (or reboot). After that, I was able to connect using gnome-ppp given the instructions above.

    [Reply]

  9. Pranananda says:

    In my previous comment, this problem with modemmanager was when I used a Linux compatible USB 56K modem (in this case, a US Robotics 5637 56K USB modem or a BestData USBP 56K USB external controller modem).

    [Reply]

  10. John Kohler says:

    I have written up a bug on this. Gnome-ppp with a linuxant driver dgc 1.11……deb work fine at the root level, not the user. Firefox comes up “work offline” but the inconvenience is minor under Ubuntu 9.04.

    Total failure under Ubuntu 9.10 Gnome-ppp cannot even find the modem which is in a USB port.

    [Reply]

  11. John says:

    Total failure, no program in Ubuntu 9.10 will find a USB port modem. Shame on Ubuntu for falling short on networking.

    [Reply]

  12. nashmia says:

    Hello,
    I want to connect internet using a dialup modem on ubuntu 9.10, for that i have downloaded scanmodem and hav decompressed it in ubuntu but i dun know thw next step. kindly help me to get online with ubuntu.

    [Reply]

  13. nashmia says:

    hey me again i also dun hav a networking option in administration…. help me

    [Reply]

  14. Ice Warrior says:

    Nashmia, No one has a “Networking” option in Administration. It is a glitch or over sight that has been in Ubuntu since 8.10 Intrepid. About your attempt with scan modem. It will very likely fail. Sorry to tell you that but Linux/Ubuntu and so forth just does not work with most PCI modems, You need an External Serial Modem. ActionTec is a very cheap brand you can find at Amazon for about $25.00(price varies). It is basic but will work out of the box. If you follow the advice above for Wvdial…You will be able to get your dialup setup online instantly. If your computer does not have a Serial Modem then look for a Robotics Brand USB modem…Robotics Brand is expensive but works. Search for a good price if you must use USB. Good Luck.

    [Reply]

  15. (Mrs) Nityanandi says:

    Grateful this is here. Just downloaded in library to read at home.

    Blessings. Love.

    Nityanandi

    [Reply]

  16. Martijn010 says:

    good page. Anyway I seem to be very unlucky since my dial-up internet provider requires a blank password, and it seems that the software doesn’t continue without one provided……

    [Reply]

  17. Ice Warrior says:

    @ Martijn010,

    Are you trying to setup your dialer with your ISP’s software? If that is the case–you can easily work around the issue. Look at the PPPconfig tutorial at the top of the page. Esp in the 5th and 6th graphics. Follow the procedure in your Terminal Application…Then as you continue notice how your dial up info is presented in the “finish connection settings” graphics at the bottom of the tutorial. The Blank password is contained in the Setup. Attempt to dial in with Wvdial, all those details will run automatically in Terminal when your modem communicates the internet provider. Remember you, Open Terminal>type wvdial>press enter> and watch it connect. You won’t need to bother with any other software. Good Luck.

    [Reply]

  18. NoNamed says:

    @ scanModem people:

    1- Create a temporary folder in the Desktop (name it “modem”, without the quotes).
    2- Using Archiver, decompress he contents of your scanModem to the temporary folder.
    3- Open the folder in the desktop and rename “scanModem-XXXXXXXXXX” to “scanModem”.
    4- Start a Terminal session, change to the temporary folder (type “cd Desktop/modem” without the quotes, preserving the uppercase “D”).
    5- Type “chmod +x scanModem”, no quotes.
    6- Type “sudo ./scanModem” (no quotes); it will ask for your password (the one you type to logon to Ubuntu); type it and hit Enter.

    Once processing is finished, you’ll have plenty of (somewhat obscure) low-level info on your LinModem under subfolders in the “modem” folder you created. Just start reading what the script tells you to read.

    You can then access http://linmodems.technion.ac.il to subscribe to the linmodems discussion list and email them your just-created “ModemData.txt” with a plea for help. Remember to use purely plintext email; HTML email will be ignored by the list. These guys are really helpful.

    I managed to have my LinModem (it’s an Agere modem on an Intel HDA chip) ‘almost’ working on my laptop. I mean, it dials OK, but cannot yet start pppd after it dialed. Dunno why, still looking. But it IS both fun and rewarding to discover what’s wrong and make progress.

    [Reply]

  19. Masud says:

    hello sir,
    im using ubuntu server9….i want to connect internet through edge modem from command line….what should i do now???how can i configure my modem from command line in ubuntu server….
    thnx
    masud

    [Reply]

  20. HanifBaloch says:

    I have just installed Ubuntu Lucid Lynx and as far as i use a usb modem its not hard for me to connect to the net vide wvdial. But i used to use gnome-ppp and surprisingly when i installed gnome-ppp it denied to connect me to my usb modem it always show dialing but never connects. what can i do. I have also googled and seen somewhere that gnome-ppp is not well working on Lucid Lynx. Is it true? or its just beginning of the OS thats why people don’t know what and how to do.

    [Reply]

  21. Ice Warrior says:

    I am sorry to tell you that you are not alone. Many people, myself included, are having trouble connecting with Lucid Lynx esp trying to connect to wireless. As for your specific problem maybe checking that your Root has Permission to dial will help. I did had a similar problem in Karic Koala 9.10. Try the following: Goto>System>Administration>Users and Groups(or Accounts)>Click Unlock>Give Password>Click Manage Groups> You should see at 3 groups(or more depending on your setup) Your Name/Root/PPPConf>Select PPPConf>Select Privileges and check if Modem Permission is Ticked of not Check the box and Close…See if this works.

    [Reply]

  22. Ramesh says:

    i am unable to see network manager in adminstration

    [Reply]

  23. Ice Warrior says:

    You can not see it because it does not exist in that location and it is very confusing because you will find directions that specifically say look in that location.

    [Reply]

  24. Al says:

    I have been unable to get my connection up and running using the three different methods on this page. Here are the problems:

    Networking Option:
    No Networking option under Administration

    Using pppconfig:
    “pon Clear.net” // Nothing happens
    “plog”
    In file /etc/ppp/peers/provider: unrecognized option ‘/dev/modem’
    pppd 2.4.5 started by alexander, uid 1000
    Can’t get terminal parameters: Input/output error
    Script /usr/sbin/chat -v -f /etc/chatscripts/Clear.net finished (pid 1575), status = 0x2
    Connect script failed
    Exit

    Using gnome-ppp:
    E: Couldn’t find package gnome-ppp

    [Reply]

  25. Ice Warrior says:

    Try to work around your networking problem.

    Type(In Terminal): sudo gedit /etc/wvdial.conf

    Give password when prompted-press Enter

    A Text Editor Window will open.

    Type(You will see the appropriate location to place your info):

    Username( example [email protected])
    Password: whatever your PW
    Tel: 1234567

    Save.

    Next- In Terminal type

    wvdial (press enter)

    This will make your computer dial out without using Gnome or KPPP and connect to your ISP.

    Make sure that you have your serial modem turned on and connected correctly.

    Once you connect to the Internet. You can then install GnomePPP with the ADD/Remove(or Ubuntu Software Center).

    I hope this helps. Good Luck.

    [Reply]

  26. roby718 says:

    i have a gateway m-1629 laptop with a modem. but i dont have dev/modem so ppp wont work i have dev/ppp but i dont know what to do…

    [Reply]

  27. Ice Warrior says:

    Hello. I suggest try a USB serial modem. U S Robotics is a major name brand that makes a simple plug and play device. It is powered through the USB port so need to bother with external power. On the down side it is an expensive brand. So shop around as I’ve seen a $20.00 difference price on the exact same model.

    A less well known brand is Keyspan. Keyspan USB modems can be found at Amazon is approximately 1/2 the price of US Robotics but I would still shop around and compare prices and models before buying. Good Luck.

    [Reply]

  28. Abu Anand says:

    I am using Ubuntu 8.10 When i tried to establish a dial up connection using networking option i cannot find modem connection Please help me

    [Reply]

Leave a Reply