Changes

Jump to navigation Jump to search
1,459 bytes added ,  17:21, 22 February 2016
no edit summary
install GRUB bootloader to /dev/sda and /dev/sdb. It works!
 
== Network Configuration (2/22/2016) ==
 
As with the [[Test_Web_Server_Documentation|test web server]], network configuration can be annoying. First, I had to figure out the right LAN port on the mobo by plugging the RJ45 cable in and waiting for the LED to light up (it took about 5 seconds and a couple of tries). Then I went to the terminal to check on the network interfaces:
 
$ ifconfig
$ ifconfig -a
$ sudo ifconfig eth0 up
$ cat /etc/network/interfaces
 
After bringing up the eth0 interface (it's down if it's not listed in the output of ifconfig), I then modified /etc/network/interfaces to set up the eth0 interface:
 
$ sudo vi /etc/network/interfaces
 
And added these lines:
 
auto eth0
iface eth0 inet dhcp
dns-nameservers 8.8.8.8 8.8.4.4
 
Then I used ifdown/ifup to reconfigure the interface:
 
$ sudo ifdown eth0
$ sudo ifup eth0
 
There's a couple of configuration files that you can check to make sure that the network configured correctly (I compared them to the corresponding files in the test web server):
 
$ hostname -I
$ cat /etc/resolv.conf
$ cat /etc/hosts
$ cat /var/lib/dhcp/dhclient.eth0.leases
 
Then I checked if it was connected to the internet:
 
$ ping google.com
$ sudo apt-get update
 
I got a GPG error on the apt-get update a couple of times, so I tried sudo ifdown eth0 and sudo ifup eth0 a couple of times. Then I rebooted the machine and tried to update the package manager again, and it still didn't work.
Anonymous user

Navigation menu