Step 1:- Get yourself the Firmware file and burn the image to a Micro SD Card
Step 2:- Get your router online
Step 3:- Configure your apps and system
Step 4:- Your Micros SD card will be partioned automaticaly with a Root partion of 256Mb. This is quite unsatisfactory for myself. Installing apps will soon fill this space. So step 4 will be to repartion and utilise the whole Sd card for the raspberry LEDE system.
MORE INFORMATON ON RASPBERRY LEDE / FLASHING THE SD CARD
https://wiki.openwrt.org/toh/raspberry_pi_foundation/raspberry_pi
https://wiki.openwrt.org/toh/raspberry_pi_foundation/raspberry_pi
https://medium.com/openwrt-iot/lede-openwrt-installing-firmware-on-a-raspberry-pi-f20af38071d5
Latest Packages :- https://downloads.lede-project.org/snapshots/targets/brcm2708/bcm2710/
Step 1:
SEARCH FOR / DOWNLOAD :-
lede-17.01.0-r3205-59508e3-brcm2708-bcm2710-rpi-3-ext4-sdcard.img.gz
The above image will have Luci web inteface completed and the lan IP will be 192.168.1.1 You may ssh into this immediately via the IP and install the Luci web interface if you wish.
The following file LEDE Snapshot , you will need to install "Luci" for the web interface. (Not a difficult task)
https://downloads.lede-project.org/snapshots/targets/brcm2708/bcm2710/
https://downloads.lede-project.org/snapshots/targets/brcm2708/bcm2710/lede-brcm2708-bcm2710-rpi-3-ext4-sdcard.img.gz
Once booted to install Luci Web Interface :-
$ opkg update
$ opkg install luci
https://downloads.lede-project.org/snapshots/targets/brcm2708/bcm2710/lede-brcm2708-bcm2710-rpi-3-ext4-sdcard.img.gz
To Flash the SD card on a Mac, use ETCHER a small "GREAT" program which is free, however all the information required for flashing is here :-
https://www.raspberrypi.org/documentation/installation/installing-images/windows.md
https://etcher.io
To flash on a windows machine, win32 disk imager, however all the information needed for flashing is here:-
http://www.runeaudio.com/documentation/quick-start/sd-card-setup-windows/
https://www.raspberrypi.org/documentation/installation/installing-images/windows.md
Step 2:-
Access Via HDMI,
Once you have sucessfully burnt the image to a Micro SD card, place it in the raspberry and boot up your new router. In a few seconds you will prompted to create a password using the passwd command. Create the password.
Begin basic setup :-
Installing within a current network just to get internet connectivity , internet access and the web interface working on the Raspberry:-
DHCP Settings:-
Now plug the ethernet cable of your Rapberry into a ethernet hub or switch.
ifconfig ( this will give you a readout of the Rapberry current Lan IP address)
You may now connect to this Raspberry via ssh if you wish.
If your raspberry is connected and set to DHCP it will have recieved an address from the current router and you will see this reflected on the Lan details of ifconfig. if the address is present you will be on the internet.
ping google.com and see the result
install Luci Web Interface :-
$ opkg update
$ opkg install luci
Then you can log into the WEB interface of the Raspberry OPENWRT at the IP address noted previously when you did the ifconfig command.
Static Settings:-
uci set network.lan.proto=static
Now plug the ethernet cable of your Rapberry into a ethernet hub / switch. plug your computer into the same hub / switch. If no other computers and routers are on this hub you should be able to access your router immediately. The nework loging for LEDE is 192.168.1.1 Set your pc's network card to 192.168.1.2 if you do cannot open the page or cannot access the network.
Its simple and usually works flawlesly.
The only pain is the second network adaptor, it has to be a USB adaptor and it must be supported within the USB drivers list within the Sofware Updates inside LEDE.
Go to adpators and adjust as required.
Go to wireless and enable your wireless system with the necessary settings to suit your situation.
As the Rapberry has only one network card and an additional wireless card to enable a quikc start i configured my wireless on the Raspberry to connect to the internet modem so that i could get internet access through my Raspberry Router.
To do this you need to ;- Go to Wireless once you have enabled your wireless in LEDE. Once in the wireless overview click on Scan. this will scan wireless networks in your vicinity. Connect to the one you wish to connect with the appropriate wireless key. Once connected your Raspberry Lan is the LAN and the WIRELESS is now the WWAN . Your Raspberry should be online and working as a router.
Step 3 :-
Look at setings, software etc and get a feel for the new inteface. You will need to get USB support and drivers from the software section so that you can add another USB Network card in future and continue configurations.
Step 4:-
As mentioned above Your Micros SD card will be partioned automaticaly with a Root partion of 256Mb. You will soon find that space has diminished.
You will need to download a copy of gParted so as to repartion the SD Card. Its free and you will create a live boot cd so as to boot into the gParted program and repartion the card. Further information can be found on the internet. Once you increase the size of the partion your raspberry will be a full blown fast secure and performanced based router. Actually somewhat overkill compared to a general off the shelf router. But hey, its fun.
https://gparted.sourceforge.io
If you cannot find the download for the PI3 Image please leave a message and i will provide the link.\\Regards
Troubleshooting:-
Networking Basics:- https://openwrt.org/docs/guide-user/base-system/basic-networking
Basic Commands:-
opkg update
opkg list-installed
opkg list-upgradable
opkg install PACKAGE-NAME
opkg update PACKAGE-NAME
opkg remove PACKAGE-NAME
https://wiki.openwrt.org/doc/howto/generic.sysupgrade
In order to set it up as a DHCP client, attach a serial console and do the following:
In order to set it up with a fixed IP different from the default 192.168.1.1 to 192.168.10.199 do the following:-
ifconfig command for network details.
uci set network.lan.proto=dhcp
uci set network.lan.proto=static
You may set your IP address to whatever you wish