Skip to content

Instantly share code, notes, and snippets.

@janstuemmel
Last active January 21, 2018 23:49
Show Gist options
  • Select an option

  • Save janstuemmel/5f743e4c293d79df0db7c688ea18fd97 to your computer and use it in GitHub Desktop.

Select an option

Save janstuemmel/5f743e4c293d79df0db7c688ea18fd97 to your computer and use it in GitHub Desktop.
OpenWRT on Raspberry PI

OpenWRT on Raspberry PI

Flash Image

  1. Download Image at RasPi OpenWRT Wiki
  2. Flash SDCard sudo dd if=openwrt-brcm2708-bcm270*-sdcard-vfat-ext4.img of=/dev/sdX bs=2M
  3. Put SDCard into your RasPi and start

Configue

Normally you connect your RasPi on an Router with your default ethernet port. So you have to access your Pi over WAN.

  1. Login with root/admin
  2. Goto Network - Firewall - Traffic Rules
  3. Goto Open ports on router
  4. Add ssh-wan with protocol TCP and port 22
  5. Add luCi-wan with protocol TCP and port 80
  6. Click Save and Apply
  7. Goto Network - Interfaces
  8. Edit LAN interface
  9. Change Protocol to DHCP Client and hit Switch protocol
  10. Click Save & Apply

Now you can access the Pi via an IP-Address given by your router for further configuration and downloading packages over the internet. Find out the IP and open in your browser.

Configure USB

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