02-27-2018 06:29 PM
Nice to hear it's working out well for you
On a slightly related note, I don't think we'll see much more from SFE. There's now a similar system in the linux -next tree, that I'm hoping makes it into 4.16. I know nbd has backported the patches to 4.14 in his OpenWrt staging tree, so I'm planning to do a build from his tree for the ERL and do some tests.
I won't even try to backport it for 3.10. I prefer to avoid very painful things. But, if we do get 4.9 in EdgeOS 2.0, the effort will probably be worthwhile.
03-01-2018 07:06 PM
I am very interested to try SFE (and eventually CAKE). I am on a FIOS 150/150 connection with ERL in the US and am going back and forth between Smartque on with throughput reduced to about 70/70 and no QoS at all. I am on EdgeOS 1.10 and it works well for me.
I have been trying to install SFE using Lochnair's instructions in the OP, logged in from terminal on OSX over SSH from the same subnet.
I can enter commands OK but when entering "mkdir /mnt/boot" the command fails with: " mkdir: can't create directory '/mnt/boot': Permission denied" .
Any suggestions on how to fix greatly appreciated.
03-04-2018 10:29 AM - edited 03-04-2018 10:32 AM
Thanks for pointing me to the new address, but I don't see a compiled kernel bz2 archive for the E50 series, only a "ulmage" file which I am not sure what to do with. I don't have a TTL handy and the device is in a hard to reach location so I would like to avoid bricking it.
There is a ksrc available but I don't have a build environment for this device at hand.
03-04-2018 10:41 AM - edited 03-04-2018 10:49 AM
I can't help you out, I don't have an ER-X. On page 7 of this thread there is a post by Arie on how to install it, it looks like you need physical access to it and a TTL cable.
03-04-2018 02:27 PM
The ER-X works differently than the others. To replace the kernel manually you'd have to use dd and write it directly to the right MTD partition.
Below I've written up the steps I've taken to add SFE support to the firmware image. This will give you a firmware image that you can flash as usual.
mkdir repack cd repack tar xf ../ER-e50.v184.108.40.20656246.tar # Change the version string echo 'Version: v220.127.116.1156246.180125.0954-SFE' > version.tmp # Replace the kernel image wget -O vmlinux.tmp 'https://build.lochnair.net/job/ubiquiti/job/kernel_e50/job/v1.10.0%252Fsfe/lastSuccessfulBuild/artifact/uImage' md5sum vmlinux.tmp | cut -d' ' -f1 > vmlinux.tmp.md5 # Add modules from SFE tree sudo unsquashfs squashfs.tmp rm squashfs.tmp wget -O- https://build.lochnair.net/job/ubiquiti/job/kernel_e50/job/v1.10.0%252Fsfe/lastSuccessfulBuild/artifact/e50-modules.tar.bz2 | sudo tar --overwrite -v -x -j -C squashfs-root sudo mksquashfs squashfs-root squashfs.tmp sudo rm -rf squashfs-root md5sum squashfs.tmp | cut -d' ' -f1 > squashfs.tmp.md5 # Repack tar tar -cvf ../ER-e50.v18.104.22.16856246-SFE.tar * cd ..
Now I can easily swap between the stock image and the one with SFE.
ubnt@ubnt:~$ show system image The system currently has the following image(s) installed: v22.214.171.12456246.180125.0954-SFE (running image) (default boot) v126.96.36.19956246.180125.0954
03-05-2018 12:09 PM
I am also interested in that. Before I start, I want to see whether it has some fail over procedure to recover the router? How to reset to the facotry default kernel? Also, will it wipe my firewall/vpn configuration? What is the reason that not use it in production?
03-06-2018 10:29 AM
As far as I know, there's still no way to switch firmwares on the ER-X without opening it to connect a serial cable, other models with a console port isn't too hard to recover. When you're using a custom FW image, the upgrade procedure will copy over the config as it always does.
I mostly don't recommend using it production do to this being a mostly untested backport of SFE. I did the backport because someone asked, but I don't actively use it myself, and thus can't give any guarantees as to it's stability.
There's nothing wrong with using in production per se, but you should make sure to test it for your use-case properly before deploying it to production.
05-15-2018 04:55 AM
06-05-2018 01:21 PM
06-07-2018 11:33 AM
Nice to see they've got an alpha release out now. I'm curious to see how long I'll have to wait to get my hands on the updated kernel tree this time. In the meantime I guess I'll update my build environment.
06-07-2018 01:05 PM
@Lochnair Lets just hope they alpha/beta test longer than usual so there isn't a bunch of hotfixes after the initial release. I guess it will be August or September before it gets released.