May152012

How to configure internet connection from the command line?

Reý Aetar asks:

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?


Browser: Firefox 12
System: Linux
Tagged: , , , ,

Comments for this Question are closed.

If you are looking for help, please ask a new question here.

We will be happy to help you!

5 Answers -

0 votes

ha14

May 15, 2012
0 votes

Mike

May 15, 2012

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.

0 votes

Anandu B Ajith

August 7, 2012

find the network card driver name and sudo

0 votes

Freud Iomc

October 26, 2012

man ifconfig