Configuring Wired LAN(internet) on Ubuntu


In this post I will explain the ways we can configure Wired LAN connection on Ubuntu. While configuring any network resource we always need the IP Address to connect to the Domain/Network System. And this IP Address we configure either manually or using DHCP option(DHCP – the Dynamic Host Configuration Protocol – allows network devices to automatically obtain a valid IP address from a server.). There are many networking utilities we can use to configure the network, Now let see Network Interface configuration Using Command-Line.

Step 1: Go to Terminal and Type the below command.

gksudo gedit /etc/network/interfaces (if you have GUI)
sudo vi /etc/network/interfaces (use vi if no GUI installed)

Step 2:
-> Change to set if using DHCP

auto eth0
iface eth0 inet manually
auto eth0
iface eth0 inet dhcp

-> Change to set if using Static IP

auto eth0
iface eth0 inet static

Step 3: Save the file.

Step 4: After you save the file, Its time to restart networking services.

sudo /etc/init.d/networking restart

Now go to Administration -> System Monitor and click on the Resources Tab and observe the Network History to see the Network connection graph.

Yepeee.. you are now connected 🙂

R Vashi


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.