2016-06-13 - Raspberry Pi2 Grase install Step by Step

Header Data

From: Eliot Ness <sc***7@googlemail.com>
Message Hash: 43736131c8cfd4be74fed4018f3721a0f1315a854641a8cea0f74d41606e1531
Message ID: <56fd7df8-835c-43af-b672-d3ddfee193ca@grasehotspot.org>
Reply To: N/A
UTC Datetime: 2016-06-13 00:43:20 UTC
Raw Date: Mon, 13 Jun 2016 00:43:20 -0700

Raw message

Before write any line i have to say that tested and working on Pi2 with 
16gb Adata card.

1) Download image from 
https://wiki.ubuntu.com/ARM/RaspberryPi#Ubuntu_14.04_LTS   (14.04 works 
great on Pi2)
You need HD on boot to see terminal, so in my case i use my tv, cause pc 
monitor have no HD!!!

2) # boot the Pi
    # login: ubuntu password: ubuntu
*sudo fdisk /dev/mmcblk0*
d [enter]
2 [enter]
n [enter]
p [enter]
2 [enter]
[enter]
[enter]
w [enter]
*sudo reboot*
# system reboots
# you log back in






*sudo resize2fs /dev/mmcblk0p2sudo apt-get install taskselsudo taskselThen 
select and install "lamp server" and " open ssh server "*3) Pi2 got only 1 
NIC so you need another one. Before buy any china cheap imitation have a 
look at http://elinux.org/RPi_USB_Ethernet_adapters
In my case i use asus with ASIX AX88772B chip and working like a charm.

4) Set this usb to Ethernet adapter as tim says : iface eth1 inet manual 

5) Install: In my case i love nightly so i use 
https://grasehotspot.org/documentation/nightly-builds/  but you can use 
stable too ( tested and working also )

6) It will finish install about 5 min later. Your default Pi2 nic must go 
to WAN, and your usb to ethernet adapter must go to LAN

7) Lan router must have a static ip ( example here is 10.0.0.1 )  subnet ( 
255.255.255.0 as default except if you need more ip) and gateway i add 
10.1.0.20 ( this is also grase ip change)

8) Add extra Webmin, will help a lot. You can find out guides how to, but i 
post also one here 
:https://www.digitalocean.com/community/tutorials/how-to-install-webmin-with-ssl-on-ubuntu-14-04

9) By default squid proxy is not correct cache conf so need a little mod
In /etc/squid3/squid.conf and uncomment
cache_dir ufs /var/spool/squid3 100 16 256

100 is the cache that squid use, change to what you need and restart
In my case i use 2048 but can be any...

10) On finish call a reboot, and you just finish. 

Good Luck :)






Thread