PDA

View Full Version : OpenWrt with NS5


holub152
03-13-2008, 07:43 AM
Hi all,

in http://ubnt.com/forum/viewtopic.php?t=800 there is written that one can use openwrt with NS2. My question is obvious: Does openwrt run on NS5 as well? I assume the only difference is the radio driver. Does openwrt support it? Please advise.

Thanks in advance.

UBNT-keba
03-13-2008, 02:08 PM
Hi,

If you have working LS5/PS5 OpenWRT fw (http://ubnt.com/downloads/LS5.ar2313.OpenWRT-kamikaze.v7.09.bin) then just follow the procedure decribed in http://ubnt.com/forum/viewtopic.php?t=800 just change the names where is needed (aka PS2->PS5 and so on)

Just remember that antennas will not work as in original UBNT fw.

adrianatkins
03-17-2008, 12:03 AM
To get mkfwimage and fwsplit to compile on my system, i needed to add

#include "getopt.h"
#include "unistd.h"

to src/fw.h

just beneath:-

#include <sys/types.h>

adrianatkins
03-17-2008, 01:14 AM
Got it compiled, but then there's another gotcha - it needs '-i' :-

./fwsplit -i PS2.ar2316.OpenWRT-kamikaze.v7.09.bin

and then i get this error :-

ERROR: Invalid part count '0'
ERROR: Failed validating firmware layout - error code: -1

Same happens with all the firmwares that i have downloaded.

Any ideas ?

UBNT-keba
03-18-2008, 01:20 PM
./fwsplit has no -i option.

adrianatkins
03-20-2008, 02:15 AM
./fwsplit PS2.ar2316.OpenWRT-kamikaze.v7.09.bin
ERROR: Input file is not specified, cannot continue
Version 1.2
Usage: ./fwsplit [options]
-v <version string> - firmware version information, default: UNKNOWN
-o <output file> - firmware output file, default: firmware-image.bin
-i <input file> - firmware layout file, default: none
-h - this help

adrianatkins
03-20-2008, 02:21 AM
whoops.

my mistake.

Re-installing it, then adding the includes, then a 'make' and now it works.

adrianatkins
03-21-2008, 04:15 PM
Update: fwspilt and mkfwimage work ok with the fixes, but i can't find the PS2/PS5 images anywhere, and don't have debian, so can't make images myself with the SDK, as the toolchain is a .deb file. Please gimme a .tar.gz/bz2

I messed with buildroot for a while, but then found that it really needs to be debian, like you Ubiquiti folks have.

Anyone know of a place i can get useable PS2/PS5 images from ?

Or maybe i'll just set up a PC with debian. Not giving up yet.

These things are *so* cheap, er, Good that they are worth the effort.

The 'closed' antenna thing is insane. We'll buy these babies in BIG numbers on price/performance, not cos you're the only guys that can make antennae work.

AAP means nothing to me - i'll mount it straight up or sideways if i need to ! Software controlable/selectable antenna polarisation isn't why i'd buy lots of them.

They're great ! *almost* a world beater. But not quite yet.

The antenna isn't brilliant. I'd prefer a 23db like the Mikrotik RIC/522C, but at less than half price, man, it takes some beating.

Great product, but missing just a few features.

And being a bit more 'open' will make those features exist at zero cost to Ubiquiti.

UBNT-keba
09-30-2008, 11:11 PM
Hi,

How can you not find fw images? They all are on ubnt.com (http://www.ubnt.com/support/airos.php for example)

jknapp
09-30-2008, 11:19 PM
This may be slightly off topic for this thread. But how is OpenWRT working in comparison to AirOS?

If you don't mind me asking are you using this as a CPE or AP and for what reasons?

physical
10-01-2008, 07:26 AM
OpenWRT is more of a roll your own option... AirOS is a neat little package with a bow

Both have their uses, if you are not satisfied with AirOS, you might be able to find a method to extend OpenWRT to your needs... it requires a bit o energy, but prolly a lil less than extending the AirOS sdk

What Features are you looking for?

dalareich
04-24-2009, 01:43 AM
i compile AirOS v3.3.2 SDK ns5 but i got this error message at the end of the compilation:
ERROR: Invalid part count '0'
ERROR: Failed validating firmware layout - error code: -1

how can i fix this?
i am very new about AirOS...i hope somebody can help me

CzechEnglishFrenchGermanItalianPolishPortugueseRussianSpanish
Languages translations made by vBET 3.5.4