How to Set up a Dial up Internet Connection in Linux Via the Command Line

A walkthrough of dial-up Internet with Linux command line. Your modem should be detected automatically by your distribution.
Method 1 of 3:

Detecting your modem

  1. How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 1How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 1
    Your modem should be detected automatically by your distribution.
  2. How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 2How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 2
    Typing the command lshw into the terminal will list hardware. Typing the command lspci into the terminal will list PCI devices. Typing the command lsusb into the terminal will list USB devices (though these are poorly supported in Linux). These commands can determine whether your modem has been detected.
  3. How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 3How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 3
    If it hasn't try wvdialconf and see if it says "no modem found".
  4. How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 4How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 4
    Output the results by typing wvdialconf /etc/wvdial.conf
Method 2 of 3:

Connecting to the internet

  1. How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 5How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 5
    Type wvdial
Method 3 of 3:

Connecting to the internet on boot

  1. How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 6How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 6
    Add those commands to /etc/rc.local
  2. How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 7How to Set up a Dial up Internet Connection in Linux Via the Command Line Picture 7
    Make /etc/rc.local executable with chmod
4.5 ★ | 10 Vote