How do build your own disk mini server for the PSP
Part THREEI would like to thank all the other people that I am drawing resources from to
write this tutorial. There are so many but I will provide a link that will
get you started on the road to linux on the NSLU2
Go here when you want to learn more about what we are doing
http://www.nslu2-linux.orgWe left off measuring the clock speed of your NSLU2
Tools needed for this mod
1. Small fingernail clippers
So if you have one of the 133 Mhz NSLU2 read on, if you don't skip this point
Lets clear a work space to work on the NSLU2. Make sure you ground yourself to release
the static electricity.
Now the NSLU2 has no screws in it so it is only matter of squeezing in the right places
to release the tabs that hold the unit together.
OpenTheCase
1. There are no screws - the case is held together by 6 small tabs along the vertical
junction between the light grey and dark grey parts of the case, and one at the
bottom (covered by sticker)
2. Hold the NSLU2 upright in front of you, with the vertical side of the case with the
rubber feet facing you, and with the rear connectors on your left, and the front LEDs
and power switch on your right.
3. Gently squeeze the dark grey sides of the unit with your left hand thumb and forefinger
just about where the uppermost rubber foot is on the left hand (or rear) part of the
case, and with your right thumb and forefinger gently (seriously) pull the top of the
light grey part of the case away from the dark grey part of the case, wiggling the
light grey part as you pull it. It should start to separate at the top of the unit at
the boundary of the dark grey and light grey parts of the case (about a millimeter
separation is all you are looking for at this stage - don't try and separate it more
than a millimeter or you will break the tabs). You might even hear a soft "click" as
the tabs near the topmost side rubber foot are dislodged, but don't be concerned if
you don't hear the click in this step - you will definitely hear it in the next step.
4. While continuing to apply gentle pressure on the case so that the slight 1mm separation
remains at the top, move your left hand thumb and forefinger down to the middle of
the case to the top of the area with holes in it (just under the "Linksys Network
Storage Link" text on the sides of the unit) and continue gently squeezing the dark
grey part of the case whilst gently pulling and wiggling the light grey part of the
case.
5. At this point, the top-most tabs will definitely be dislodged, and the middle tabs may
also come apart. The separation at the top of the unit at the boundary of the dark
grey and light grey parts of the case will now be about 3 or 4 millimetres - again
don't try and separate the case at this point or you will break something. You will
now be able to clearly see the tab near the top-most rubber feet. There is one set
of tabs at the top near the rubber feet, one set in the middle just below the top of
the holed area, and a third set of tabs at the bottom of the case (just above the
bottom set of rubber feet).
6. Again, move your left hand thumb and forefinger down to the bottom of the left hand
(or rear) part of the case, just on the bottom set of rubber feet near the boundary
of the dark grey and light grey parts of the case, and move your right hand thumb and
forefinger down to the bottom of the right hand (or front) part of the case, this
time grabbing the bottom front dark grey curved section (on the sides of where the
power switch is).
7. This time you should squeeze (with the left hand) quite a bit harder than you needed
to for the other two sets of tabs, and instead of trying to angle the top of the light
grey part of the case away from the top of the dark grey area of the case, you are
now trying to pull the bottom of the right hand (or front) part of the case away from
the left hand (or rear) part of the case so that the two parts of the case are
separated by a vertical gap of about 3 to 4 millimetres equally from the top to the
bottom.
8. All three sets of tabs should now be dislodged, and you should be able to slide the
two parts of the case apart. On the bottom of right hand part there is an additional
tab which you can (see note 2 below) loosen with a little pressure of a knife from
the bottom in upright direction. The right hand (or front) part of the case slides
away freely, with the PCB remaining in the left hand (or rear) part of the case.
9. You can now just slide the PCB out of the left hand (or rear) part of the case, and
you are done.
Note:
If you decide to put the unit back together again, make sure that the clear plastic
power button is aligned with the hole in the front cover before you attempt to snap
the case front to the case back. If the button is not lined up, it will place too
much pressure on the power switch. From experience, the force of snapping the two
halves of the case together will be sufficient to break the power switch (by
snapping the black plastic out of the switch frame).
Now your left with this:
Make sure and ground yourself again before you handle the board
Now inspect the board and you will see the flash chips. This resistor
we are interested in.
You will need a pair of fingernail clippers and an anti-static wristband. I suggest
you have an anti-static wristband to prevent possible static electricity frying the NSLU2.
If you do not have an anti-static band, I suggest you touch something metal before you
do this and do it in a room around 70 degrees and no carpet.
Find the R83 resistor, grab it with the finger nail clippers, apply a little pressure and
pull it straight off. It should come right off, usually in one piece. If it doesn't come
off in one piece, turn the unit upside down and shake it gently a bit to make sure it all
comes off (or you can blow on it a little, just be sure not to spit on it).
Thats it you have just raised your NSLU2 to 266 Mhz.
So I know the people that did not do the mod followed along and you can remove your NSLU2
from its case also.
We are now going to make another change to the board.
As supplied from the factory only USB 1 supplies power to the USB port. There is no logical
reason they did not do this for port 2 but they didn't.
So we are going to add it.
Look at this picture:
See the pads at FB12.
We want to solder a jumper across FB12 to enable power to USB 2
Thats all there is to it. Both USB ports are now powered and we can put the unit back in
the case for now. This will protect it from static damage and you can use it in the case.
Now all the units everyone has are at the same level they all run at 266Mhz and they all power]
both USB ports.
So now we are going to install some software to make the system easier to work with.
Power the unit back up and wait for it to beep telling you it is ready.
Open your browser.
Remember the IP address we set the NSLU2 to so it would exist
on your network ?
Mine was 192.168.1.77
So we enter
http://192.168.1.77 and press enter
You should now see a screen that looks like this:
If you have the unslung logo in the upper left hand corner and the
message uNSLUng status: Running from Internal Flash
Congratulations you are now running custom linux on your NSLU2 !!!!
Next step:
Click on Manage Telnet
You will get a screen that looks like this:
Click on the Enable Telnet button and wait until the screen goes white
Click the back arrow and then click on refresh and you should see this:
You see now the red text says the telnet is enabled
Minimize your browser.
Click on Putty.exe
It should now look like this:
Type in your NSLU2's ip number
Select the telnet radio button
Click on the Open button
It will now open a screen that looks like this:
Case is sensitive and type the entries just as I show them
The login name is root
The password is uNSLUng
You will now get this screen
Now we need the usb flash drive you had at the beginning of the previous Tutorial
Plug the usb drive into USB2 ( thats the top one )
Note: ( We can do this now because we jumpered power to the top USB port )
- Wait for a minute or two while the disk is mounted.
Maximize your browser and keep refreshing until the drive shows up like this:
See the memory stick on PORT 2 ?
If not keep refreshing until it shows up or if it refuses plug it into your PC
and format it. Then plug it back into the NSLU2 and refresh till it shows up.
Click on Administration
The screen will look like this:
Enter the use admin and the pass admin
The screen will now look like this:
Click on Advanced
The screen will look like this:
Click on DISK
The screen will look like this:
Disk 2 status will say formatted Fat16/32
Click on the format disk 2 button
The screen will look like this:
Click OK and then OK again and the screen will look like this
when it is done formatting
Minimize the browser we are now set to continue with the software
Do not continue if the drive is not marked as "Formatted (ext3)" in the
NSLU2 web GUI.
Open the Putty window you had minimized
Enter the command "unsling disk2"
Your screen will now look like this:
Enter a new root password - this password will replace the
uNSLUng password.
You will have to do it twice to make sure you typed it correctly.
Note Remember this password it is now the password to access this system.
When the unsling is complete, reboot the NSLU2.
Type DO_Reboot on the terminal screen
The screen will look like this and disappear
Now Maximize your browser and hit refresh
It Should look like this:
Confirm That Your NSLU2 is Unslung:
Confirm that the text at the bottom of the page reads "uNSLUng status:
Unslung to disk2, /dev/sda1"
Click the "Manage Telnet" link, and enable telnet as before.
Now we need to make sure the NSLU2 has access to the Internet
Click on the Administration button
You will get a screen that looks like this after you enter the admin user and admin
password
You have to make sure all the boxes are filled out
My IP address is 192.168.1.77
and I have a subnet mask of 255.255.255.0
The next number is the number of your router on your network. This number would be the one
you wrote down when we first started the project.
It has to be on the same network segment that my computers are on.
So mine is at 192.168.1.1
The next boxes for the dns servers that I have can be used by anyone. These are the DNS servers
maintained by verizon. Anyone can use these servers and in over ten years I have never seen them
down.
So put 4.2.2.1 in the first one and 4.2.2.2 in the second one.
Leave the third one blank
Again if you do not understand this part PM me and I will give you a hand. It is beyond
the scope of this tutorial to teach IP addressing and routing.
Now click on save to save the values in flash memory of your NSLU2
Wait till the NSLU2 is done and your screen will look like this:
Minimize your browser
Start Putty and enter the IP address of your NSLU2 check telnet radio button
Enter root for the login and your NEW password for the Password
It will give you a screen that looks like this:
Enter the command "ipkg update" to update the list of software packages
("optware") available for Unslung.
Your screen will look like this:
Now we are going to install our first software package to the NSLU2
Enter the command "ipkg install openssh".
Your screen will look like this:
Congratulations you have just installed your first software package
Type exit in the terminal screen and the screen will disappear
Start Putty again
Enter your IP address and but this time make sure you have the SSH radio button
checked
It should look like this:
Click on Open and you will be greeted with this:
Click on yes to accept the encryption key
Your screen will now look like this:
Enter your password
The screen will now look like this:
Congratulations you are now running encrypted communications to your NSLU2
No one else on the network could watch your communications.
Go ahead and power down your NSLU2. Put the usb drive in a safe place because the only
time we will use it is when we are installing software. Do not lose this as you will
have to start the install process all over from the beginning.
Thats enough for this section. I hope you liked and followed along with it.
If you have any problems or comments if I made any mistakes please make sure and message
me.
Till the next section have fun.
The next section we will install usbhostfs and you will be able to play games from the usb
media we have plugged into the NSLU2. Can't wait ......