In this simple post, we are going see the procedure to setup a static IP address in Ubuntu 14.04 host computer.
Setting a static IP address in Ubuntu is useful during embedded Linux development. You may need to setup TFTP boot, NFS boot, and other network related testing with a static IP address.
Unlike older Ubuntu versions, to make newbie life easier, ubuntu 14.04 provides a pretty easy graphical interface to change the network information. In this post we will use that graphical interface and setup a static IP address.
Setup Host Computer IP address:
Step 1: Click on the Network connections and choose “Edit Connections”
Step 2: You will be presented with below pop up. Click on ‘Add’
Step 3: In “Choose a connection Type”, select ‘Ethernet’ and click ‘Create’.
Step 4 : This is the major step in this task. Change all the parameters as mentions below
- Connection name – Any name (BeagleBone Black)
- Method – Manual
- Click Add
- Address – 192.168.1.10 (Required IP address)
- Netmask – 255.0.0.0
- Gateway – 0.0.0.0
- Select “Require IPV4 addressing …..”
Step 5 : Now select your Ethernet connection.
Step 6 : Run ‘ifconfig eth0 ‘ to verify network configuration.
In the upcoming posts, we are going to see the procedure to setup TFTP and NFS boot for different embedded Linux target. This post will be more useful at that time.