Skip to content

Instantly share code, notes, and snippets.

@keijiro
Last active March 12, 2017 04:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keijiro/ba0f8392ebc1a5bc21ae83c2243aa795 to your computer and use it in GitHub Desktop.
Save keijiro/ba0f8392ebc1a5bc21ae83c2243aa795 to your computer and use it in GitHub Desktop.
My Raspberry Pi Setup Log
  • 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 to 3 (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.

How to find the IP address

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment