view · edit · print · history


If your goal is to use puppy without a flash drive then this info may help you. The following instructions will hopefully guide you in setting up your nslu2 to be able to transfer files to and from your Toppy. My setup is using telnet or Hyperterminal under Windows XP.

Installation of Firmware

The only things that I needed to install were the new unslung firmware and puppy. Busybox seems to be inclued with the unslung firmware. Using the information from EndUserPuppyInstall and ConfiguringNSLU2 you must do the following.

Basically you should follow the instructions for Preinstall Step and New firmware install on the EndUserPuppyInstall page. Use only steps 1 to 4 and 1 to 7 on the New firmware install as you do not wish to unsling. You will need a flash drive or usb hdd to use during installation. user comment: this wasn't true for me; I successfully installed unslung, puppy and busybox with no flash disk attached.

Note in unslung version 5.5 ipkg has been renamed to ipkg-cl.

Permanently Enable Telnet:

This procedure enables the NSLU2 for telnet every time it boots.

 Unsling has a built in editor called VI.
 You can run VI from root and 
 it will place a bunch ~ down the side of the screen. You can be in command mode,
 in which case you can enter commands like below to edit your text, or type I to
 start inserting your text. Hit ESC to go back to command mode.

Some simple VI commands

 i	start inserting characters (you can type your text after pushing i)
 ESC	stop inserting characters
 dd	delete a whole line
 x	delete a single character
 :w	write the file
 :q	quit VI
 :q!	quit vi and lose any changes you made.

 To create the diversion script you may have to make a new directory before you 
 create a new rc.xinetd file. Type the following:
 cd /
 mkdir unslung
 cd unslung
 vi rc.xinetd
 This will put you in VI’s command mode. Type i and then all the following text (
 including #’s)  You can cut and paste one line
 at a time if you wish.
 echo "telnet  stream  tcp     nowait  root /usr/sbin/telnetd" > /etc/inetd.conf
 # Additional lines must append (using >>), ie:
 # echo "ftp   stream  tcp     nowait  root /usr/sbin/ftpd -a=passwd" >> /etc/
 return 1
 Then type :w or :q to get back to the # prompt. Typing ls should show your new 

Installing Puppy

After successfull installation of unslung firmware you should perminantly enable telnet.

Install Puppy. In my case i had to do this using the ManualPuppyInstall instructions as my setup is done via a crossover cable between my network card and nslu2. After you install puppy you can telnet to your nslu2 and typing the folowing

  • Stuff in green boxes is what you should be typing in at the shell prompt.
 echo 'PATH=$PATH:/opt/bin' >> .profile
 echo 'export PATH' >> .profile

this will allow you to run puppy from the root directory after you connect a telnet session.

Setting up a shared drive on your pc

To set up your computer so that you can submount your nslu2 to it you must know the network name of you computer.

 Look in 
My Network Places
Entire Network
Microsoft Windows Network
  • Next open you workgroup and you should see you pc and you nslu2.
 Note you pc name you will need this. ie Computername
  • Go to My Computer and enable sharing on the drive you wish to transfer file to and from and give it a name ie. mydrive
 Also you can create a folder ie. mytoppyfolder to copy to and from.
  • Next use the instructions of how to Mounting a share from a network connected PC on the ConfiguringNSLU2 page. Remember to insert your pc name and share name.

You now should be able to transfer with puppy

ie. puppy -t -c get 'DataFiles\Recording.rec' mydrive/mytoppyfolder/Recording.rec
view · edit · print · history · Last edited by Erzherzog Wuzel.
Based on work by Graeme Robinson, Thomas, and belly.
Originally by belly.
Page last modified on February 22, 2006, at 09:21 AM