<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.181.97.138&amp;*</id>
		<title>MohidWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.181.97.138&amp;*"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Special:Contributions/89.181.97.138"/>
		<updated>2026-04-05T01:01:46Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Nslu2&amp;diff=713</id>
		<title>Nslu2</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Nslu2&amp;diff=713"/>
				<updated>2007-12-16T13:57:27Z</updated>
		
		<summary type="html">&lt;p&gt;89.181.97.138: /* telnet your slug */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [http://en.wikipedia.org/wiki/NSLU2 NSLU2] is a [http://en.wikipedia.org/wiki/Linksys Linksys] Network Attached Storage ([http://en.wikipedia.org/wiki/Network-attached_storage NAS]) unit designed to share USB 2 hard disks and flash drives on the network. Provided with a web-interface, its [http://en.wikipedia.org/wiki/Firmware firmware] can be upgraded with [http://www.nslu2-linux.org/wiki/Unslung/HomePage unslung] or [http://www.nslu2-linux.org/wiki/OpenSlug/HomePage openslug], which are small linux distros built specifically for the NSLU2. [http://en.wikipedia.org/wiki/Telnet Telnet], [http://en.wikipedia.org/wiki/Thttpd thttpd] and even [http://en.wikipedia.org/wiki/Openssh OpenSsh] may be installed through its [http://www.nslu2-linux.org/wiki/Optware/Packages OptWare] package manager, although a hard disk installation of the packages is recommended as its [http://en.wikipedia.org/wiki/ROM_image rom] is limited in size. Hence the [http://en.wikipedia.org/wiki/NSLU2 NSLU2] can be converted into a web-server or a media-streamer.&lt;br /&gt;
&lt;br /&gt;
==General guidelines for installing==&lt;br /&gt;
*Follow the instructions provided with the NSLU2 package. &lt;br /&gt;
*Basically before you turn it on, it's recommended to have all the hard drives and the network previously connected and turned on. &lt;br /&gt;
*Also, '''hard drives hot-swapping is not allowed!'''. Flash disks hot-swapping is allowed provided it's done with the '''Flash map''' tool (a utility provided with the [http://en.wikipedia.org/wiki/NSLU2 NSLU2] from [http://en.wikipedia.org/wiki/Linksys Linksys]).&lt;br /&gt;
&lt;br /&gt;
==NSLU2 webinterface==&lt;br /&gt;
*login:admin&lt;br /&gt;
*pass:admin&lt;br /&gt;
&lt;br /&gt;
==Installing [http://www.nslu2-linux.org/wiki/Unslung/HomePage uNSLUng] [http://en.wikipedia.org/wiki/Firmware firmware]==&lt;br /&gt;
NOTE: NO DISKS PLUGGED IN!&lt;br /&gt;
&lt;br /&gt;
#Get the Unslung rom and extract it to a location on your computer.&lt;br /&gt;
#Go to the [http://en.wikipedia.org/wiki/NSLU2 NSLU2] web-interface, enter as admin, and click on the upgrade button.&lt;br /&gt;
#Then, select your [http://en.wikipedia.org/wiki/Firmware firmware] (i.e. the [http://www.nslu2-linux.org/wiki/Unslung/HomePage unslung] rom) and flash it.&lt;br /&gt;
#It should take a few minutes to install, after that the [http://en.wikipedia.org/wiki/NSLU2 NSLU2] reboots and you're set!&lt;br /&gt;
&lt;br /&gt;
The first thing to note is that the web-interface is slightly modified. In particular it has &lt;br /&gt;
a [http://en.wikipedia.org/wiki/Telnet telnet] management. Enable [http://en.wikipedia.org/wiki/Telnet telnet], then [http://en.wikipedia.org/wiki/Telnet telnet] to the [http://en.wikipedia.org/wiki/NSLU2 NSLU2] on your network.&lt;br /&gt;
&lt;br /&gt;
==NSLU2 unslung syntax==&lt;br /&gt;
===telnet your slug===&lt;br /&gt;
Enable telnet if it's not enabled.&lt;br /&gt;
 &amp;gt; telnet nslu2&lt;br /&gt;
 login&amp;gt; root&lt;br /&gt;
 password&amp;gt; uNSLUng&lt;br /&gt;
NOTE: with a hard disk installed, the login/password are typically ''admin/admin''.&lt;br /&gt;
&lt;br /&gt;
'''WARNING''': When using [[vim|vi]] with [[putty]] don't press the ''end'' key! It'll freeze the telnet connection.&lt;br /&gt;
&lt;br /&gt;
===reboot your slug===&lt;br /&gt;
 &amp;gt; reboot&lt;br /&gt;
&lt;br /&gt;
===Finding where are my drives===&lt;br /&gt;
 &amp;gt; fdisk -l /dev/sda&lt;br /&gt;
or&lt;br /&gt;
 &amp;gt; fdisk -l /dev/sdb&lt;br /&gt;
&lt;br /&gt;
===[[Mount]] a FAT32 drive===&lt;br /&gt;
 &amp;gt; mkdir /share/hddvfat&lt;br /&gt;
 &amp;gt; mount -t vfat /dev/sdb5 /share/hddvfat&lt;br /&gt;
&lt;br /&gt;
==Permanent mount of a USB drive==&lt;br /&gt;
1. Install Unslung firmware &lt;br /&gt;
&lt;br /&gt;
2. Telnet into NSLU &lt;br /&gt;
&lt;br /&gt;
3. Create mount point /share/hddvfat &lt;br /&gt;
&lt;br /&gt;
4. Create /unslung directory (if does not exist) &lt;br /&gt;
&lt;br /&gt;
5. Create rc.local file in /unslung directory and modify as follows &lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   /bin/mount -t vfat /dev/sdb5 /share/hddvfat &amp;gt; /dev/null&lt;br /&gt;
   df &amp;gt; /share/hddvfat/df.log&lt;br /&gt;
   return 1&lt;br /&gt;
&lt;br /&gt;
6. Create rc.samba file in /unslung directory and modify as follows &lt;br /&gt;
   #!/bin/sh&lt;br /&gt;
   rm -f /etc/samba/smb.conf&lt;br /&gt;
   ln -s /opt/etc/smb.conf /etc/samba/smb.conf&lt;br /&gt;
   rm -f /etc/samba/user_smb.conf&lt;br /&gt;
   ln -s /opt/etc/user_smb.conf /etc/samba/user_smb.conf&lt;br /&gt;
   rm -f /etc/samba/smbpasswd&lt;br /&gt;
   ln -s /opt/etc/smbpasswd /etc/samba/smbpasswd&lt;br /&gt;
   return 1 &lt;br /&gt;
&lt;br /&gt;
7. Create /opt/etc directory (if does not exist) &lt;br /&gt;
&lt;br /&gt;
8. Use smbpasswd -a to create the Samba users you need (skip if you do not want to enable security on your share) &lt;br /&gt;
&lt;br /&gt;
9. Edit /etc/samba/user_smb.conf file as neeeded (at the very least you will need to create a share) &lt;br /&gt;
   [USB-DRIVE]&lt;br /&gt;
   comment=FAT32? USB hard drive&lt;br /&gt;
   path=/share/hddvfat/&lt;br /&gt;
   public=yes&lt;br /&gt;
   read only=no&lt;br /&gt;
Please note the above share has no security, it is writeable by everyone, to enable security, see www.samba.org &lt;br /&gt;
&lt;br /&gt;
10. Copy /etc/samba/smbpasswd, /etc/samba/smb.conf and /etc/samba/user_smb.conf files to /opt/etc &lt;br /&gt;
&lt;br /&gt;
11. Reboot NSLU (type &amp;quot;reboot&amp;quot; without the quotes and hit enter)&lt;br /&gt;
&lt;br /&gt;
==External References==&lt;br /&gt;
*[http://en.wikipedia.org/wiki/NSLU2 NSLU2 Wikipedia],&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Linksys Linksys Wikipedia],&lt;br /&gt;
*[http://www.nslu2-linux.org nslu2-linux.org].&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
[[Category:Technology]]&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>89.181.97.138</name></author>	</entry>

	</feed>