PDA

View Full Version : Anything I Need To Know


bvagnoni
02-21-2009, 12:51 PM
Anything I need to know before trying to upgrade to the latest version of of Open-WRT beside yelling Banzai!? Or do I need to yell the hacker war cry "Crack da wepz" before upgrading; just kidding of course. Trying to get "Hack the Planet" changed to 'Crack Da WEPz"? :-)

Actually being a little new at this when people are talking about trunk and svn what exactly to they mean? Assume I'm not a software developer. If I want to make use of the latest development branches what do I have to do?

Also, besides DD-WRT doesn't the new 8.09 support SR-71A?

Are there .bin and .tgz files with the new 8.09 available for download from UBNT?

I take in I'm suppose to compile the .tgz file from the factory post where and how do I do that since make isn't installed?

I see people here using svn, but again on the device it's not installed.

Also, how do you get the packages? I understand the most likely I will need attached storage depending on what I put in.

Thanks

Brian

PS Though I can SSH in, I've never been able to bring up the http://192.168.1.20 web page does that mean there is something wrong? I can port scan the 192.168.1.20 and see an http service running on it. This is on either that LAN or WAN interfaces.

Well there is apparently a lot I need to know.

Do I need to flash each section?:

openwrt-ar71xx-root.squashfs
openwrt-ar71xx-uImage.gz
openwrt-ar71xx-vmlinux.lzma

I take it I'm missing something very important that I just can't find. I get the sense from what I'm reading all over the place I need to setup a development environment on a laptop or desktop so that I can customize and create images. Is that correct? Can anyone recommend any books, I imagine Linux Embedded books would be the way to go.

bvagnoni
02-21-2009, 07:26 PM
//Light Bulb Goes On

Ok Image Builder. I would still welcome confirmation even though I feel like a tool.

Brian

UBNT-Mike.Taylor
02-24-2009, 10:45 PM
bvagnoni,

I don't know if "image builder" is in good repair or not, but if you build the head revision of Kamikaze (8.09) then it will make you a .bin file you can upload in recovery mode.

Look at /target/linux/ar71xx/image/Makefile

You will find it makes an image that winds up in the bin directory and has "ubnt" in the name.

The line will look something like this:

-$(STAGING_DIR_HOST)/bin/mkfwimage -k $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma \
-r $(BIN_DIR)/openwrt-$(BOARD)-root.$(1) \
-v RSx.ar7100.OpenWRT \
-B RS \
-o $(BIN_DIR)/openwrt-$(BOARD)-ubnt-$(1).bin

Basically it takes the kernel (-k) and the root filesystem (-r) and slaps a header on them with a version number (-v) and spits out a ".bin" file which our recovery mode will take.

There are lots of helpful instructions for this on the Wiki guide. See RouterStation Quick Setup Guide (http://ubnt.com/forum/viewtopic.php?t=7978).

If something is confusing or unclear, please let me know.

Thanks,

Mike

yaadgiri
10-01-2009, 06:11 PM
bvagnoni,

I don't know if "image builder" is in good repair or not, but if you build the head revision of Kamikaze (8.09) then it will make you a .bin file you can upload in recovery mode.

Look at /target/linux/ar71xx/image/Makefile

You will find it makes an image that winds up in the bin directory and has "ubnt" in the name.

The line will look something like this:

-$(STAGING_DIR_HOST)/bin/mkfwimage -k $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma \
-r $(BIN_DIR)/openwrt-$(BOARD)-root.$(1) \
-v RSx.ar7100.OpenWRT \
-B RS \
-o $(BIN_DIR)/openwrt-$(BOARD)-ubnt-$(1).bin

Basically it takes the kernel (-k) and the root filesystem (-r) and slaps a header on them with a version number (-v) and spits out a ".bin" file which our recovery mode will take.

There are lots of helpful instructions for this on the Wiki guide. See RouterStation Quick Setup Guide (http://ubnt.com/forum/viewtopic.php?t=7978).

If something is confusing or unclear, please let me know.

Thanks,

Mike

I had this working in June and after a gap I am trying to get started again. If I download the binary file from ubnt, it works well but when I build it myself the RS is not booting up. Can you please share some insights please? Some folks are using a later openwrt revision number(16xxxx) than the one given on ubnt site (15xxxx). Does the release version matter?

CzechEnglishFrenchGermanItalianPolishPortugueseRussianSpanish
Translations supported by vBET Translator 3.5.4