Skip to content

Instantly share code, notes, and snippets.

@timotheos
Last active May 1, 2019 20:22
Show Gist options
  • Save timotheos/fce9955f6d78e8e5c0f10fa71c548580 to your computer and use it in GitHub Desktop.
Save timotheos/fce9955f6d78e8e5c0f10fa71c548580 to your computer and use it in GitHub Desktop.
Fresh Raspberry Pi setup with Ubuntu 16.04 server

Raspberry Pi ssh as access point

Still under construction

Steps

  1. Download from Official Ubuntu website or (Ubuntu Pi Flavour Maker)[https://ubuntu-pi-flavour-maker.org/download/]
  2. Flash to SD card.
  3. If downloaded from Official website, follow instructions before inserting sd card and booting.
  4. Plug Raspberry Pi in, SSH using ssh ubuntu@ip-address-here with password ubuntu, change password.
  5. Change username. Instructions here sudo adduser myUserName, sudo usermod -aG sudo myUserName && sudo userdel ubuntu ref
  6. Setup locale by editing .bashrc
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8

sudo reboot 7. change serverName in /etc/hostname && 127.0.1.1 serverName in /etc/hosts 8. Update the software

sudo apt-get update
sudo apt-get upgrade
  1. setup RPi3B wifi and update bootloaders from Official Ubuntu website then sudo reboot
  2. Install dhcpcd sudo apt-get install dhcpcd5
  3. Install iwconfig sudo apt install wireless-tools and check if wlan0 is enabled. If not, troubleshoot
  4. go through this to set up RPi as an access point in a standalone network

Using Ubuntu Mate might be easier

  1. install ubuntu mate 16.04 for raspberry pi
  2. install docker
  3. set up ssh and wifi config
    To connect to a wifi through nmcli

useful links

Resources

https://medium.com/a-swift-misadventure/how-to-setup-your-raspberry-pi-2-3-with-ubuntu-16-04-without-cables-headlessly-9e3eaad32c01

For future works

https://hologram.io/raspberry-pi-on-cellular-2/

notes

https://www.raspberrypi.org/learning/networking-lessons/lesson-3/plan/

@timotheos
Copy link
Author

adding/ fixing naming of networking deviceshttps://askubuntu.com/questions/767786/changing-network-interfaces-name-ubuntu-16-04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment