How to configure internet connection from the command line?

Reý Aetar May 15, 2012

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?

  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, ...).

    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

    alternative to Network Manager is Wicd

    home of wicd

    Network Configuration
    [Broken Link Removed]

    How To: Manual Network Configuration without the need for Network Manager