lpm
11-16-2009, 07:23 AM
Hello,
I followed the steps presented in this url:
http://linux.devel.ws/openwrt-nanostation-2-howto
in order to load an image into a Nanostation2. This procedure did not work, even when I turned on the BOOTP. The NS2 simply did not initiate the tftp client to download the image, although the tftp is running well and the dhcp server is doing the correct lease.
###configuration of the dhcp server:
default-lease-time 600;
max-lease-time 7200;
allow bootp;
allow booting;
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.30 10.10.10.50;
option routers 10.10.10.2;
host ns2 {
hardware ethernet 00:15:6D:DB:DF:56;
fixed-address 10.10.10.20;
filename "flashimage";
server-identifier 10.10.10.2;
}
}
###configuration of the tftp server:
USE_INETD=false
OPTIONS="--tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=5 --daemon /tftp_dir"
So, I tried another way of doing it... I started RedBoot, but instead of hopping the tftp client to run, I tried to load the image manualy:
load -h 10.10.10.2 flashimage
With this procedure I got an error message like:
"Unrecognized image type: 0x55424e54"
Since my image is the original Ubiquiti Nanostation2 firmware, but renamed, I do not understand why it is not recognizable. My guess is that I must run fwsplit in order to load only the kernel (or the filesystem... not sure about this :s ) instead of the whole image. Anyway, that is just a guess...
Please, help.
Thanks
LPM
I followed the steps presented in this url:
http://linux.devel.ws/openwrt-nanostation-2-howto
in order to load an image into a Nanostation2. This procedure did not work, even when I turned on the BOOTP. The NS2 simply did not initiate the tftp client to download the image, although the tftp is running well and the dhcp server is doing the correct lease.
###configuration of the dhcp server:
default-lease-time 600;
max-lease-time 7200;
allow bootp;
allow booting;
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.30 10.10.10.50;
option routers 10.10.10.2;
host ns2 {
hardware ethernet 00:15:6D:DB:DF:56;
fixed-address 10.10.10.20;
filename "flashimage";
server-identifier 10.10.10.2;
}
}
###configuration of the tftp server:
USE_INETD=false
OPTIONS="--tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=5 --daemon /tftp_dir"
So, I tried another way of doing it... I started RedBoot, but instead of hopping the tftp client to run, I tried to load the image manualy:
load -h 10.10.10.2 flashimage
With this procedure I got an error message like:
"Unrecognized image type: 0x55424e54"
Since my image is the original Ubiquiti Nanostation2 firmware, but renamed, I do not understand why it is not recognizable. My guess is that I must run fwsplit in order to load only the kernel (or the filesystem... not sure about this :s ) instead of the whole image. Anyway, that is just a guess...
Please, help.
Thanks
LPM