NSLU2-Linux
view · edit · print · history

In Ubuntu follow this steps to install tfpd:

$ sudo apt-get install tftpd-hpa netbase debconf

Review the settings of ftpd:

$ sudo nano /etc/default/tftpd-hpa

To run tftp as a deamon set this value:

RUN_DAEMON=”yes”

Notice also that the default download folder is:

OPTIONS="-l -s /var/lib/tftpboot"

To test your tftpd server:

(1) run netstat as follows. You should see an output similar to this:

$ netstat -uap
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
...
udp        0      0 *:tftp                  *:*    
...

(2) copy the binary file to the tftp default directory /var/lib/tftpboot and test copying before doing the real thing in RedBoot. But first, there is one step to do: place the firmware binary file NSLU2_V23R63.bin in the folder /var/lib/tftpboot (see config file above), which will be your tftpd server home directory. Once you have copied the binary file, copy the file just for the sake of testing:

tftp localhost -c get NSLU2_V23R63.bin

When you run this line ( load -r -v -b 0x01000000 -h xxx.xxx.x.x NSLU2_V23R63.bin ) in your NSLU2 it will pick up the file from that folder in the tftpd server.

Now, you are ready to continue your flash process.

view · edit · print · history · Last edited by Alfonso Reyes.
Based on work by Alfonso Reyes and alfonso reyes.
Originally by alfonso reyes.
Page last modified on August 10, 2008, at 12:03 PM