- Install Raspbian.
- Change the boot option to CLI.
- Tweak the configuration file. In most cases
the default screen resolution is too high. Change
hdmi_mode
to3
(480p). - Install the following packages with apt-get.
ufw
pppoe
pppoeconf
- Set up ufw firewall.
ufw default deny
ufw limit ssh
ufw enable
- Set up PPPoE with
pppoeconf
. It's quite easy and straightforward -- just following the instructions is enough.
It's troublesome to set up DDNS to notify which IP address is assigned to the host by PPP. In my opinion, using DDNS is overkill for such personal use.
I'm not sure it's a proper way to use the service, but posting the host information to a snippet sharing service like Pastebin is a handy way to notify the IP address.
For instance, the PPP daemon automatically posts the assigned IP address
to ix.io by adding the following line to /etc/ppp/ip-up
.
hostname -I | curl -F 'f:1=<-' --basic -u user:pw ix.io