The Unslung firmware contains the following changes from the stock Linksys firmware:
Unslung 6.x changes from Unslung 5.x
The list of changes described herein reflect the changes as of Unslung 6.8-beta.
Unslung 6.x is based on the Linksys 2.3R63 source code. As the huge leap in Linksys release numbers would suggest, a lot changed in the base Linksys firmware, and as such Unslung 6.x has some significant new features, along with potentially significant changes in disk handling that may affect those upgrading or existing packages. For a little more information on the way the 2.3R63 firmware handles disks and ports, see Unslung.R63DiskBehaviour. Upgrading Unslung users should take care to read the README and search the wiki for details as the new release may require that the devices on the ports be swapped during the upgrade process. New users should be careful when reviewing information on the wiki related to the NSLU2 USB ports and the disk drives, as some of the information may not be pertinent with the Unslung 6.x release.
Changes in Unslung 6.x include:
- New features available with the new firmware provide:
- Support for NTFS volumes
- Limited support for mult-LUN card readers and storage devices
- Limited support for USB hubs on USB Port 1 on the NSLU2
- Upgrade the built-in Samba to the 3.0 release
- Usability changes:
- "Unslung" status (i.e. Unslung to disk, or running from internal flash) is now displayed on the home page in the Web GUI, as well as displayed at login.
- Using "ipkg" when running from internal flash now displays a helpful message indicating why ipkg won't run.
unsling script now contains a number of sanity checks, and prints (hopefully) helpful error messages if the system will be unlikely to unsling correctly.
unsling script now prompts for a new root password, and sets the password for both booting with as well as without drives attached. (A new argument "-nopw" can be given to
unsling to have it skip prompting for and setting the root password.)
- The "Enable Telnet" web gui page can now be reached from the home page in the Linksys Web GUI.
- The new Unslung logo is now featured in the Web GUI.
- The special handling for unslinging to flash devices Ext3flash now works for both USB Port 1 and 2.
- The utmp and wtmp files are now created by
unsling, and will be "emptied" at each boot. Additionally, the .pid files in
/var/log are cleaned out at boot; this avoids a number of strange and difficult-to-reproduce problems.
- Additional kernel modules provided:
- Sundry bugfixes.
Unslung 5.x changes from Unslung 4.x
- Updated to the Linksys 2.3R29 source. However, we did not include their Genesys patch (as it is inferior to our existing Genesys patch).
- Removed the ipkg symlink, and changed unsling to add it back in on an external rootfs.
- Removed maintenance mode completely. Made RedBoot Upgrade Mode the only supported firmware upgrade mechanism.
- Removed the undocumented unsling option of having the rootfs on jffs2 and packages on an external disk. This also means that /mnt/sda1, /mnt/sda2, /mnt/sdb1 and /mnt/sdb2 no longer exist. Diversion scripts are only executed from /unslung on the real rootfs.
- Disabled the Linksys /usr/sbin/download process. It's insecure, and won't work properly with Unslung firmware anyway. Use the new RedBoot Upgrade Mode instead.
- Disabled the generation of the "ourtelnetrescue" user. It's insecure, and isn't used for anything as far as we know.
- Added a disk auto-wait countdown in /linuxrc which waits up to 20 seconds for your USB disk to be recognised.
Unslung 4.x changes from Unslung 3.x
/proc/bus/usb, to support communication with other kinds of USB devices via new drivers loaded as kernel modules or user-space programs that communicate with the device from user space via entries in
- Disabled support for multiple LUNs. The standard Linksys firmware only allows one drive per port. Any enclosures with multiple LUNs, such as X'S Drive II, end up appearing with only the last LUN attached. This is because as each LUN is found, the previous LUN attached by that device is dettached and the new one attached in it's place. The Unslung firmware will not iterate through all the LUNs, instead it will only attach the first one. This behaviour is prefered, because by convention the main function of a device appears at the first LUN. In the case of the X'S Drive II, the HDD will be attached, instead of the usually empty memory stick slot.
- Changed the kernel command line arguments to run a special /linuxrc script which determines the desired root filesystem location (jffs2, disk1, disk2, nfs, etc) and loads the root filesystem from that location.
Unslung 3.x and earlier changes
- Changed the size constant in the Linksys modifications to the USB SCSI scan routines such that the "Flash Detection" threshold is 1GB instead of 10GB. This was done to enable the use of Cornice devices as hard drives instead of flash.
- Changed the kernel USB detection routines so that when a flash disk is plugged into Disk1, a /proc/hd_conn file is created instead of a /proc/usb_conn file. This fools the Linksys applications into expecting ext3 partitions on that disk (just like a hard disk). Note that your flash disk needs to be 256MB or larger for this to work properly.
- Changed the root password to "uNSLUng".
- Added /sbin/unsling, a script to copy the root filesystem from jffs2 to the new location of / (/share/hdd/data or /share/flash/data).
- Added /bin/slingbox (and a number of symbolic links to that executable in /bin and /sbin) to provide the utilities required for the unsling and flashfs scripts. It also provides an upgraded version of /bin/tar which supports gzipped archives.
- Modified lines in each of the rc scripts to check for the presence of a diversion scripts in /unslung.
- Added /etc/rc.d/rc.unslung-start and /etc/rc.d/rc.unslung-stop scripts to run init files in the /opt/init.d directory (this is where Unslung packages place their startup and shutdown scripts).
- Added /usr/bin/ipkg, /etc/ipkg.conf, and /usr/bin/wget to support the download of installable packages.
- Added /sbin/flashfs to support copying modified files to/from a flash key on Disk 2. This makes it much easier to wipe an Unslung disk, and then reinstall all your local modifications.