<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>2718.us blog &#187; unsling</title>
	<atom:link href="http://2718.us/blog/tag/unsling/feed/" rel="self" type="application/rss+xml" />
	<link>http://2718.us/blog</link>
	<description>Miscellaneous Technological Geekery</description>
	<lastBuildDate>Tue, 18 May 2010 02:42:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Steps to &#8220;Unsling&#8221; the NSLU2</title>
		<link>http://2718.us/blog/2008/07/13/steps-to-unsling-the-nslu2/</link>
		<comments>http://2718.us/blog/2008/07/13/steps-to-unsling-the-nslu2/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 00:39:33 +0000</pubDate>
		<dc:creator>2718.us</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[linksys]]></category>
		<category><![CDATA[nslu2]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[slug]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[step by step]]></category>
		<category><![CDATA[unsling]]></category>
		<category><![CDATA[unslung]]></category>

		<guid isPermaLink="false">http://2718.us/blog/?p=52</guid>
		<description><![CDATA[Since I&#8217;m on my second of what will probably be 4 or 5 unslung NSLU2 &#8220;slug&#8221; units (with identical 1GB flash drives from eBay), I figured it was time to write down specific step-by-step directions, if perhaps only for my own use later.  (As an aside, having the two ethernet ports on my Mac Pro [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;m on my second of what will probably be 4 or 5 unslung NSLU2 &#8220;slug&#8221; units (with identical 1GB flash drives from eBay), I figured it was time to write down specific step-by-step directions, if perhaps only for my own use later.  (As an aside, having the two ethernet ports on my Mac Pro is really helpful at times like this when I&#8217;m monkeying around with some piece of hardware that doesn&#8217;t do DHCP out of the box, forcing me onto some specific subnet.)  <strong>CAUTION:</strong> I take absolutely no responsibility for what you may do to your hardware/software/life/etc. if you follow these directions.  You should <strong>read lots of other, more thorough instructions</strong> like the how-to&#8217;s at <a href="http://www.nslu2-linux.org/wiki/Unslung/HomePage">the Unslung HomePage</a>.<span id="more-52"></span></p>
<ol>
<li><a href="http://www.nslu2-linux.org/wiki/HowTo/UseTheResetButtonToEnterUpgradeMode">Verify that the slug can do Reset Button Upgrade Mode</a>.</li>
<li><a href="http://www.slug-firmware.net/u-dls.php">Get the Unslug firmware</a>.</li>
<li>On the admin web page for the slug (default IP is 192.168.1.77), go to Administration &gt; Advanced &gt; Upgrade (default username/password is admin/admin), browse to the unslung firmware, and do the upgrade.  (This step takes a few minutes.)  Wait for the reboot.</li>
<li>Verify that the admin web page now shows the unslung firmware version.</li>
<li>Do any network config you need (set IP address, etc.)—avoid DHCP as it doesn&#8217;t seem to work (the slug does a DHCPDISCOVER, my server(s) do DHCPOFFER, but the exchange goes no further).</li>
<li>Enable telnet access (Home &gt; Manage Telnet).  Note that this must be done before any disks are connected.</li>
<li>Telnet into the slug (username/password is root/uNSLUng).  Keep this session open through the next steps, so there&#8217;s guaranteed root access.</li>
<li>Plug the 1GB flash drive into the upper USB port (closer to the ethernet jack).</li>
<li>Once the slug recognizes the disk, go to Administration &gt; Advanced &gt; Disk and format the flash drive (Disk 2).  This again takes several minutes (especially with the cheapo slow 1GB flash drives I&#8217;m using).  When the page shows &#8220;Formatted (EXT3)&#8221; for Disk 2, it&#8217;s ready for the next step.</li>
<li>In the telnet session from step 7, type &#8220;unsling disk2&#8243;.  Enter a new root password here.</li>
<li>Reboot by typing &#8220;DO_Reboot&#8221; in the telnet session.  The device will beep when it&#8217;s fully booted.</li>
<li>Go to the admin web page and verify that it says &#8220;<span class="mainmenu">uNSLUng status:   Unslung to disk2, /dev/sda1&#8243; in the bottom blue bar.</span></li>
<li><span class="mainmenu">Enable telnet again and connect to the device again, verifying that the &#8220;NOTE: THIS SYSTEM IS CURRENTLY UNSLUNG&#8221; banner shows upon login.</span></li>
<li><span class="mainmenu">Run &#8220;touch /.ext3flash&#8221; so that (after the next boot) <a href="http://www.nslu2-linux.org/wiki/Unslung/Ext3flash">the OS will try not to thrash the flash drive</a>.</span></li>
<li><span class="mainmenu">Verify internet connectivity (e.g. ping google.com).</span></li>
<li><span class="mainmenu">Run &#8220;ipkg update&#8221; to update the package system.</span></li>
<li><span class="mainmenu">Run &#8220;ipkg install openssh&#8221; so we can <a href="http://www.nslu2-linux.org/wiki/HowTo/UseOpenSSHForRemoteAccess">get to the slug without having to enable telnet</a>.</span></li>
<li><span class="mainmenu">Verify that SSH works by logging into the slug over SSH.  Disable telnet.</span></li>
<li><span class="mainmenu">Run &#8220;ipkg install openssh-sftp-server&#8221; so we can use SFTP to edit files on the slug.<br />
</span></li>
<li><span class="mainmenu">Set the admin web page password (it is independent of the root password).<br />
</span></li>
</ol>
<p>Other notes:</p>
<ul>
<li>The MAC address label on the bottom of the device is the default device name and seems to be &#8220;LKG&#8221; + the latter half of the MAC address; it seems that the correct MAC address is found by replacing &#8220;LKG&#8221; with &#8220;00:18:39&#8243;.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://2718.us/blog/2008/07/13/steps-to-unsling-the-nslu2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

