On Tue, Aug 18, 2015 at 10:33:37PM -0400, dominik...@openmailbox.org wrote:
> On 2015-08-18 11:42, Tobias Ulmer wrote:
> >On Tue, Aug 18, 2015 at 01:59:49PM +0000, Jona Joachim wrote:
> >>On 2015-08-18, Ted Unangst <t...@tedunangst.com> wrote:
> >>> Predrag Punosevac wrote:
> >>>> Dear All,
> >>>>
> >>>> I am contemplating buying a new machine which will act as a router/DNS
> >>>> caching server for my home network. Is anybody currently running OpenBSD
> >>>> on the Ubiquiti Networks EdgeRouter LITE in that capacity? I saw that in
> >>>> June 2015 USB support was added which allows installing to local disk on
> >>>> machine. Can anybody point me to a work in progress documentation diff
> >>>> for installing 5.8 octeon port.  I am reading right now
> >>>
> >>> Here are my notes, which are basic, but should be enough to get you 
> >>> through if
> >>> you're familiar with openbsd.
> >>> http://www.tedunangst.com/flak/post/OpenBSD-on-ERL
> >>
> >>Thank you very much for the write-up! I'm looking into buying hardware
> >>to build a small OpenBSD home router and this looks interesting.
> >>You say that the machine will not be able to serve as an IPSEC gateway.
> >>Is that when you consider Gigabit ethernet or do you think that even a
> >>10 Mbit connection will require too much computational power to do
> >>IPSEC on this machine?
> >>You also mention the usb driver which is not so reliable. I don't see a
> >>USB port on the machine. Is this an internal bus? I would be interested
> >>to use it with hostapd with a usb wifi nic.
> >
> >There is only one internal port, and you need that for storage. The
> >internal flash is not supported and it's not all that much anyway.
> >
> >I've not tested it, but have my doubts uboot will boot from a usb
> >storage device with a hub in between.
> >
> >>
> >>Kindly,
> >>Jona Joachim
> 
> You can upgrade the internal usb storage capacity. Not all usb keys seems to
> work though. A couple functioning models can be found at the Gentoo
> MIPS/ERLite-3 page (https://wiki.gentoo.org/wiki/MIPS/ERLite-3).
> 

That's because the usb timeout in uboot is pretty short. I'm using an
external sata disk (1TB), works fine when you power sequence them right.
Of course when the device draws its power from the internal bus, it
needs to initialize quickly in order to respond to uboot probing in
time.

> I bought a 16 GB one to use in my ERL with OpenBSD but I haven't tested it
> since I can't connect to the router's serial port. Seems it could be caused
> by my cheap usb-to-serial cable with an CH340/341 which returns me only
> garbage. I can type commands and see that they have an effect but all text
> is garbage.

Are you sure you're using the right baudrate? I've had no trouble with a
self-made cable and ftdi/pl2302 converters. The ERL doesn't seem
particularly sensitive. You might indeed have an adapter from the famous
One Hung Lo factory...
Do you not have some old box with a real serial port to test your
theory?

> 
> Do you guys have any idea? Or do I just need to buy a better usb-to-serial
> converter with an FTDI processor like this one:
> http://www.usconverters.com/usb-serial-adapter-xs882
> 
> Thanks for the help.
> 
> Dom

Reply via email to