LEDE on Raspberry Pi 3

Requirements

  • Platform: Raspberry Pi 3
  • SD Card: 8G
  • OS: lede-brcm2708-bcm2710
  • Internet

Flash Image

$ wget https://downloads.lede-project.org/snapshots/targets/brcm2708/bcm2710/lede-brcm2708-bcm2710-rpi-3-ext4-sdcard.img.gz

$ wget -qO- https://downloads.lede-project.org/snapshots/targets/brcm2708/bcm2710/md5sums | grep img.gz | md5sum -c

$ diskutil list

$ diskutil umountDisk disk2

$ gunzip -c lede-brcm2708-bcm2710-rpi-3-ext4-sdcard.img.gz | dd of=/dev/rdisk2

Expand Filesystem

$ fdisk /dev/sdX
$ resize2fs /dev/sdX2
$ eject /dev/sdX

Config Network

Unplug ethernet cable, login via usb2ttl.

$ uci set network.lan.proto=dhcp
$ uci delete wireless.radio0.disabled
$ uci changes
$ uci commit
$ reload_config
$ ip -4 a s br-lan | grep inet
    inet 192.168.31.231/24 brd 192.168.31.255 scope global br-lan

LEDE is ready to accept WiFi connection.

Install Luci

Plug ethernet cable, login via ssh.

# ssh root@192.168.31.231
$ opkg update
$ opkg install luci

Config Luci

  • Open http://192.168.31.231
  • Network ▷ Interfaces
    • Add wan interface:
      • Name of the new interface: wan
      • Protocol of the new interface: DHCP client
      • Cover the following interface: eth0
      • Save
    • Edit lan interface:
      • General Setup:
        • Protocol: Static address
        • IPv4 address: 192.168.0.1
        • IPv4 netmask: 255.255.255.0
      • Physical Settings:
        • Uncheck Interface eth0
      • Save
    • Save & Apply

LEDE is connected to Internet.

Additional Settings

Issues

  • You need to install wpad-mini manually on Pi2.