I want to use a rpi for router/firewall, with usb tethered smartphone for the internet connection. OpenWrt seemed a good choice, the essential features builtin and useful addons available without a lot of unnecessary programs/services to bloat it.
I found your release and decided to try it. Here are some thoughts and comments, sorry about the length.
Setup is early Model B 256MB (may try 512MB version later) connected to Plugable 7-port usb powered hub, which is providing power to both rpi and smartphone. Chose Plugable because manufacturer actually tested their hubs with rpi. Looks a bit strange with rpi connected to both hub input and output, but only one power adapter needed.
Downloaded gz of image, could not get md5sum to match, but extracted image from downloaded gz file did match the md5sum.
Wrote to sdcard, booted first time, great work jake1981.
The usb keyboard and hdmi console are very useful when the network settings get messed up, which I have done a few times.
Could not get to failsafe mode, no buttons. May look at adding buttons and extra leds later.
Tweaked "config.txt" to set "gpu_mem=16", seemed rather unnecessary to have more where gpu is only expected to provide emergency text console.
Used "rpi-extendfs" to get 100MB root partition, looks small for modern system, but seems to be very generous compared with what OpenWrt often runs on. Had to use set last sector to 262143 to get exact 100MB partition. Wanted that to simplify taking a backup.
Used "dd if=/dev/sdb bs=4096 count=32768 | gzip >bak_2014-04-13.img.gz" on another system to backup first 128MB of sdcard, including partition table, boot & root partitions. Very useful to be able to restore after I completely messed things up.
Is there a reason for the strange partition layout? 4MB unused, 20MB boot, 4MB unused, ??MB root.
Code: Select all
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 8192 49151 20480 c W95 FAT32 (LBA)
/dev/mmcblk0p2 57344 262143 102400 83 Linux
Downloaded several of your packages to usb stick and used that as opkg source for installing packages.
Followed OpenWrt guides and got smartphone tethering working (eventually), this is being posted from laptop, via rpi and smartphone.
I noticed that some things like usb storage seemed to work without the expected kmod packages being installed, suspect that this may be because the support is already builtin to the kernel used.
Tried "rpi-update", works after fixing a couple of little bugs, "LICENCE" is misspelt and "fixup_cd.dat" file is not downloaded/updated. From other posts I think the "*_cd.dat" files may be used when "gpu_mem" is set to a low value.
Code: Select all
--- /sbin/rpi-update 2014-02-16 23:20:38.000000000 +0000
+++ rpi-update 2014-04-13 11:32:20.000000000 +0000
@@ -15,3 +15,3 @@
TMP_PATH="/tmp/rpi-fw-upgrade"
-AMOUNT_FILES=6
+AMOUNT_FILES=7
CURRENT_FILE=1
@@ -61,5 +61,6 @@
download_file "COPYING.linux"
- download_file "LICENSE.broadcom"
+ download_file "LICENCE.broadcom"
download_file "bootcode.bin"
download_file "fixup.dat"
+ download_file "fixup_cd.dat"
download_file "start.elf"
@@ -71,5 +72,6 @@
upgrade_file "COPYING.linux"
- upgrade_file "LICENSE.broadcom"
+ upgrade_file "LICENCE.broadcom"
upgrade_file "bootcode.bin"
upgrade_file "fixup.dat"
+ upgrade_file "fixup_cd.dat"
upgrade_file "start.elf"
This release seems to be based on the brcm2708 version of OpenWrt, am I correct in thinking that the normal brcm2708 packages will not work and needed to be recompiled because the kernel has been rebuilt? If I want to use other Openwrt packages will I have to setup a build environment and compile them to match this kernel?
Some of the OpenWrt guides suggest installing "relayd" package, your repository only contains "6relayd" which I suspect is the IPv6 version, if "relayd" is a generally useful package could you please include it. Not sure if I actually need it, still trying to understand how routing in OpenWrt works.
As I said before great work jake1981, hope this release is popular, it should be.
afox