NSLU2-Linux
view · edit · print · history

Once your NSLU2 is flashed with the new firmware, you'll probably want to upgrade to the newer version of Busybox. Generally, this will do it:

  1. ipkg update
  2. ipkg install busybox

Once this is done, the newer busybox will be installed into /opt/bin/busybox. The problem here is that the existing busybox in /bin will be first in your PATH environment variable. In order to fix this, change the shell portion in /etc/passwd like:

dbixler:XXXXXXXXXX:2000:501::/share/hdd/data/public:/opt/bin/sh

and create a /etc/shells file like:

~ $ cat /etc/shells
/opt/bin/sh
/bin/sh

You need the /etc/shells so that dropbear (if it's installed) allows the /opt/bin/sh as a valid shell upon login.

view · edit · print · history · Last edited by dbixler.
Originally by dbixler.
Page last modified on April 14, 2005, at 03:26 PM