Ubuntu Pastebin

Paste from ayrus at Tue, 6 Sep 2016 05:47:13 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Step 1: 

sudo vi /etc/network/interfaces

Step 2: 
## To configure a dynamic IP address write below content to the file
auto eth0
iface eth0 inet dhcp

## Or configure a static IP write below content to the file. don't write both.
auto eth0
iface eth0 inet static
address 192.168.1.14
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255

Step 3: 
sudo /etc/init.d/networking restart

Step 4: check the ip is assigned on not in case of "dhcp"
ifconfig

or ping www.google.com

then peform the installation
Download as text