navigation

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

Method 1 of 3:

Detecting your modem

  1. Your modem should be detected automatically by your distribution.
  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. If it hasn't try wvdialconf and see if it says "no modem found".
  4. Output the results by typing wvdialconf /etc/wvdial.conf
Method 2 of 3:

Connecting to the internet

  1. Type wvdial
Method 3 of 3:

Connecting to the internet on boot

  1. Add those commands to /etc/rc.local
  2. Make /etc/rc.local executable with chmod
Update 04 March 2020