How to configure internet connection from the command line?

ReĆ½ Aetar May 15, 2012
Pinterest Stumbleupon Whatsapp

I have a connection from telephone line that is connected to my computer using modem.

In GUI I just open the “Network Connections”, select DSL > ADD > Then just give the connection name, user name and password and close that window. After that I click that network icon in the top bar and select the connection name and my connection is established.

Now how can I do this entire process from the command line in Ubuntu and some other common Linux distros?

Ads by Google

  1. Freud Iomc
    October 26, 2012 at 6:44 pm

    man ifconfig

  2. Anandu B Ajith
    August 7, 2012 at 11:47 am

    find the network card driver name and sudo

  3. Mike
    May 15, 2012 at 9:22 pm

    First you will have to know what type of DSL Dial-in your connection requires (e.g. PPPoE, PPPoA, ...).

    https://help.ubuntu.com/community/ADSLPPPoE
    https://help.ubuntu.com/community/UsbAdslModem/SpeedTouch

    The necessary termianl command or GUI menus may be different depending on the Linux distribution, version and connection manager installed.

    Finally, there is always the chance you have to manually set certain parameters like the DSL modulation, multiplexing and virtual circuit (VPI, VCI). So you probably want to google those for your provider.

  4. ha14
    May 15, 2012 at 8:35 pm