Live data from Hacker News

FreeBSD 10.0 on Ubiquiti EdgeRouter Lite

rtfm.net

11–20 of 58 posts

Re: FreeBSD 10.0 on Ubiquiti EdgeRouter Lite

#11
The downside of this right now is that there are no binary packages for mips64 and there is no space on the device to store a ports tree so you need to cross compile everything.

I am running gentoo on mine at the minute, I did have FreeBSD on it for a bit.

I tried a larger flash drive but the driver doesn't like it and won't mount the root partition, need to find one it likes. Or use nfs/smb but that is a pain.

Re: FreeBSD 10.0 on Ubiquiti EdgeRouter Lite

#12
I've been running Gentoo Linux on my EdgeRouter Lite for a long time now. " rel="nofollow">https://wiki.gentoo.org/wiki/MIPS/ERLite-3>

I must say: the ERL is terrible hardware.

You can get some performance out of it if you're using Ubiquiti's kernel, because it ships with a series of highly specialized proprietary modules that offload packet handling to hardware accelerated modules, for their custom proprietary network stack. But their kernel is old and shitty, and if you want to do anything interesting with the ERL, you have to build your own kernel.

So for any mildly interesting usage, it fails considerably hard.

And even if you do opt to use their closed-source binary blob kernel modules and software stack, as soon as you try to do any sort of advanced networking, you run up against the limits of their acceleration modules, and the OS is forced to fall back to standard non-accelerated mode, and performance drops. Try using PPP, any interesting iptables, MPTCP, OpenVPN, interesting routing tables, or anything cool: performance drops.

I would be very happy to see some small networking hardware with multiple independent Ethernet controllers pop up on the market for a decent price; every other month or so my disappointment with the ERL moves me to re-research this. Unfortunately, the EdgeRouter Lite is not the hardware anybody wants for interesting low-cost networking.

Re: FreeBSD 10.0 on Ubiquiti EdgeRouter Lite

#13

The downside of this right now is that there are no binary packages for mips64 and there is no space on the device to store a ports tree so you need to cross compile everything. I am running gentoo on mine at the minute, I did have FreeBSD on it for a bit. I tried a larger flash drive but the driver doesn't like it and won't mount the root partition, need to find one it likes. Or use nfs/smb but that is a pain.

I successfully connected a USB hard drive to mine. If you're interested enough, email me and I'll go look up which inexpensive model of enclosure I'm using. The bootloader is indeed finicky but I guess I got lucky enough to have a HDD enclosure that just worked.

Re: FreeBSD 10.0 on Ubiquiti EdgeRouter Lite

#14
post #4

Related: I picked up a couple of Neoware CA21 thin clients on eBay real cheap recently. 800 MHz, 512 MB RAM, and 1 GB disk-on-module. I built customized (NanoBSD) images and run them read-only off of a flash drive. I connected a Garmin GPS 18 LVC to one and have my own stratum 1 NTP server for < $100.

Unfortunately, only one shitty Ethernet port. I'd love to find fast hardware with multiple independent gigabit ports for an affordable price.

Re: FreeBSD 10.0 on Ubiquiti EdgeRouter Lite

#15
post #2

Note that UBNT claims line rate throughput and provides proof via a commissioned Tolly report (no idea on their legitimacy). The fbsd image yields ~250mbps between two gigabit hosts. I've been eyeing one of these for a while and putting fbsd on it interests me, but not if it means a huge peformance drop (even if I wouldn't really miss it).

To get any decent performance you have to use a horrible binary blob kernel module that offloads (certain very specific use cases) to hardware acceleration. See this post for more info: https://news.ycombinator.com/item?id=7282258

Re: FreeBSD 10.0 on Ubiquiti EdgeRouter Lite

#16
post #12

I've been running Gentoo Linux on my EdgeRouter Lite for a long time now. " rel="nofollow">https://wiki.gentoo.org/wiki/MIPS/ERLite-3> I must say: the ERL is terrible hardware. You can get some performance out of it if you're using Ubiquiti's kernel, because it ships with a series of highly specialized proprietary modules that offload packet handling to hardware accelerated modules, for their custom proprietary netwo…

[deleted]

Re: FreeBSD 10.0 on Ubiquiti EdgeRouter Lite

#17
post #12

I've been running Gentoo Linux on my EdgeRouter Lite for a long time now. " rel="nofollow">https://wiki.gentoo.org/wiki/MIPS/ERLite-3> I must say: the ERL is terrible hardware. You can get some performance out of it if you're using Ubiquiti's kernel, because it ships with a series of highly specialized proprietary modules that offload packet handling to hardware accelerated modules, for their custom proprietary netwo…

I also do not like Vyatta's weirdness. It looks like Linux, acts like Linux, but then you have to use all of the awful Vyatta commands to actually do anything.

Re: FreeBSD 10.0 on Ubiquiti EdgeRouter Lite

#18

The downside of this right now is that there are no binary packages for mips64 and there is no space on the device to store a ports tree so you need to cross compile everything. I am running gentoo on mine at the minute, I did have FreeBSD on it for a bit. I tried a larger flash drive but the driver doesn't like it and won't mount the root partition, need to find one it likes. Or use nfs/smb but that is a pain.

Could you store the ports tree on a network share, mount that share on the device, and compile that way? Seems like that would be easier than cross-compiling, if it'll work.

Re: FreeBSD 10.0 on Ubiquiti EdgeRouter Lite

#19
post #14
post #4

Related: I picked up a couple of Neoware CA21 thin clients on eBay real cheap recently. 800 MHz, 512 MB RAM, and 1 GB disk-on-module. I built customized (NanoBSD) images and run them read-only off of a flash drive. I connected a Garmin GPS 18 LVC to one and have my own stratum 1 NTP server for < $100.

Unfortunately, only one shitty Ethernet port. I'd love to find fast hardware with multiple independent gigabit ports for an affordable price.

Right, but they weren't designed to be fast routers. They make awesome single-purpose servers, though (DNS recursors and NTP, in my case).
Post reply on HN