Set up a Network in Ubuntu

Configuring networks such as a Digital Subscriber Line (DSL) or Asynchronous Digital Subscriber Line (ADSL) primarily used for accessing the internet can be a hassle, especially when you aren't using the same operating system as what the directions were originally written for. This article is a starting point for configuring DSL using Ubuntu Linux.

Steps

  1. Open Network Connections to set up network settings in Ubuntu. Go to “System”, “Preferences” and chose “Network Connections."
  2. Under the “Wired” tab, click on “Auto eth0” and select “Edit."
  3. Click on “IPV4 Settings” tab. Chose the “Automatic (DHCP)” option if your network has a DHCP server. The DHCP Server has automatically assigned the IP address to your system. Click "Apply."
    • You also chose the “Manual” option from the Method drop-down list and assign the IP address, netmask and gateway manually. You'll also have to assign the DNS Server address. Click "Apply."
  4. Check the IP address settings. Go to “Applications” “Accessories” and chose “Terminal."
  5. Type the following command into terminal: “sudo ifconfig” without quotes.
  6. Get your new addresses. The Ifconfig command will show the inet address, broadcast address and mask address.

Tips

  • If you have another way to get online, and don't understand what your service provider has told you (or if they can't help because they do not offer anything besides help with Windows), use an IRC chat program (such as MIRC or XChat) to connect to irc.freenode.net. Type /join #ubuntu and ask your questions there. You will not find out the IP address for your DSL router, but any Ubuntu specific questions should be answered.
  • If you have an ethernet modem instead of a router, you can use the command PPPOECONF, and a wizard will guide you through the configuration steps of a PPPoE Connection.
  • If you have a Live CD, try booting from that. If it successfully configures the network connection, open System->Administration->Networking and make a note of the settings. Reboot to the installation, and apply those settings, and it should work.
  • All internet companies are different. If these steps don't work, contact your service provider and ask if there is a way besides their configuration program to set up DSL. If need be, ask for level 2 support, or your provider's equivalent to higher level technical support
  • These tips are dependent on the DSL router that you receive from your ISP. Some do not have an IP address, and require a different configuration method. Always consult your ISP to find out the best configuration method without installing any programs.

Warnings

  • If you are inexperienced with computers, don't do anything that you are not told to do. You can do more harm than good by not following directions provided by technical support, and it could mean that you have to spend more time setting things up for DSL because your box may need to be reset.

Related Articles

Sources and Citations