
<?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"
	>

<channel>
	<title>mish</title>
	<atom:link href="http://mish.eggdrop.ph/feed/" rel="self" type="application/rss+xml" />
	<link>http://mish.eggdrop.ph</link>
	<description>*BSD notes, Eggdrop, and the random Blah</description>
	<pubDate>Thu, 12 Mar 2009 18:12:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Fortunes (11)</title>
		<link>http://mish.eggdrop.ph/2009/03/13/fortunes-11/</link>
		<comments>http://mish.eggdrop.ph/2009/03/13/fortunes-11/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 18:12:38 +0000</pubDate>
		<dc:creator>mish</dc:creator>
		
		<category><![CDATA[Blah]]></category>

		<guid isPermaLink="false">http://mish.eggdrop.ph/?p=223</guid>
		<description><![CDATA[
Boy, n.:
        A noise with dirt on it.

]]></description>
			<content:encoded><![CDATA[<p><em><br />
Boy, n.:<br />
        A noise with dirt on it.<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://mish.eggdrop.ph/2009/03/13/fortunes-11/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fortunes (10)</title>
		<link>http://mish.eggdrop.ph/2009/03/13/fortunes-10/</link>
		<comments>http://mish.eggdrop.ph/2009/03/13/fortunes-10/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 18:09:10 +0000</pubDate>
		<dc:creator>mish</dc:creator>
		
		<category><![CDATA[Blah]]></category>

		<guid isPermaLink="false">http://mish.eggdrop.ph/?p=222</guid>
		<description><![CDATA[
Coronation, n.:
        The ceremony of investing a sovereign with the outward and visible
        signs of his divine right to be blown skyhigh with a dynamite bomb.
                [...]]]></description>
			<content:encoded><![CDATA[<p><em><br />
Coronation, n.:<br />
        The ceremony of investing a sovereign with the outward and visible<br />
        signs of his divine right to be blown skyhigh with a dynamite bomb.<br />
                &#8212; Ambrose Bierce, &#8220;The Devil&#8217;s Dictionary&#8221;<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://mish.eggdrop.ph/2009/03/13/fortunes-10/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Eggdrop: Quick and dirty upgrade to 1.6.19</title>
		<link>http://mish.eggdrop.ph/2008/11/15/eggdrop-quick-and-dirty-upgrade-to-1619/</link>
		<comments>http://mish.eggdrop.ph/2008/11/15/eggdrop-quick-and-dirty-upgrade-to-1619/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 03:03:01 +0000</pubDate>
		<dc:creator>mish</dc:creator>
		
		<category><![CDATA[Eggdrop]]></category>

		<guid isPermaLink="false">http://mish.eggdrop.ph/?p=218</guid>
		<description><![CDATA[True to neglected-category form, I&#8217;ve just recently upgraded my eggdrops from 1.6.18 to&#8230; wow&#8230; 1.6.19, a little less than seven months after the latest incremental version was released last April 18. YAWN.

A one-liner was enough for the upgrade; platform is OpenBSD, running a vanilla GENERIC kernel  off 4.3-release:

[mish@shell ~]$ wget geteggdrop.com &#38;&#38; tar xvzf [...]]]></description>
			<content:encoded><![CDATA[<p>True to neglected-category form, I&#8217;ve just recently upgraded my eggdrops from 1.6.18 to&#8230; wow&#8230; 1.6.19, a little less than seven months after the latest incremental version was released last April 18. YAWN.<br />
<span id="more-218"></span><br />
<img src='/images/eggdrop.jpg' alt='' class='alignleft' />A one-liner was enough for the upgrade; platform is OpenBSD, running a vanilla GENERIC kernel  off 4.3-release:<br />
<code><br />
[mish@shell ~]$ wget geteggdrop.com &amp;&amp; tar xvzf eggdrop1.6.19.tar.gz &amp;&amp; cd eggdrop1.6.19 &amp;&amp; ./configure &amp;&amp; make config &amp;&amp; make &amp;&amp; make install &amp;&amp; cd ~/eggdrop &amp;&amp; ll<br />
</code><br />
The only odd thing I noticed was an additional symlink:<br />
<code><br />
rwxr-xr-x&nbsp;&nbsp; 1 mish&nbsp;&nbsp;wheel&nbsp;&nbsp; 14 Nov 15 10:39 modules -&gt; modules-1.6.19<br />
drwxr-xr-x 2 mish&nbsp;&nbsp;wheel 512 Nov 15 10:39 modules-1.6.19<br />
</code><br />
Up until 1.6.18, the install only put one symlink in the eggdrop directory; a symlink to the eggdrop binary itself:<br />
<code><br />
lrwxr-xr-x&nbsp;&nbsp;1 mish&nbsp;&nbsp;wheel&nbsp;&nbsp; 14 Nov 15 10:39 eggdrop -&gt; eggdrop-1.6.18<br />
-rwxr-xr-x 1 mish&nbsp;&nbsp;wheel 1824307 Nov 15 10:39 eggdrop-1.6.18<br />
</code><br />
What the change is about, I&#8217;ve no idea. I can&#8217;t find any file that explains the changes, either, so&#8230; YAWN. I&#8217;ll tool around in the docs directory maybe some other time. I&#8217;ve near-totally lost interest in eggdrop and IRC, but there&#8217;s still that remaining curiosity-pull.</p>
]]></content:encoded>
			<wfw:commentRss>http://mish.eggdrop.ph/2008/11/15/eggdrop-quick-and-dirty-upgrade-to-1619/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GMail now has voice and video chat</title>
		<link>http://mish.eggdrop.ph/2008/11/15/gmail-now-has-voice-and-video-chat/</link>
		<comments>http://mish.eggdrop.ph/2008/11/15/gmail-now-has-voice-and-video-chat/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 02:11:37 +0000</pubDate>
		<dc:creator>mish</dc:creator>
		
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://mish.eggdrop.ph/?p=217</guid>
		<description><![CDATA[Yey! GMail now officially joins the bandwidth-sucking bandwagon. *groan* How will their offering fare against Yahoo? Will people bite? How will this affect other VoIP providers? Who cares?

Somehow I can hear a collective groan from all over the world. It&#8217;s coming from sysadmins who will have to deal with yet another bandwidth hog that abusive [...]]]></description>
			<content:encoded><![CDATA[<p>Yey! GMail now officially joins the bandwidth-sucking bandwagon. *groan* How will their offering fare against Yahoo? Will people bite? How will this affect other VoIP providers? Who cares?<br />
<span id="more-217"></span><br />
<img src='/images/posts/gmail.jpg' alt='' class='alignleft' />Somehow I can hear a collective groan from all over the world. It&#8217;s coming from sysadmins who will have to deal with yet another bandwidth hog that abusive users can and will get their hands on. God help us.<br />
<br /></br><br />
<br /></br><br />
<br /></br><br />
Click <a href="http://mail.google.com/videochat/?hl=en">here</a> for the announcement link.</p>
]]></content:encoded>
			<wfw:commentRss>http://mish.eggdrop.ph/2008/11/15/gmail-now-has-voice-and-video-chat/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Globelines Broadband DSL DNS servers</title>
		<link>http://mish.eggdrop.ph/2008/11/15/globelines-broadband-dsl-dns-servers/</link>
		<comments>http://mish.eggdrop.ph/2008/11/15/globelines-broadband-dsl-dns-servers/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 01:40:44 +0000</pubDate>
		<dc:creator>mish</dc:creator>
		
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://mish.eggdrop.ph/?p=216</guid>
		<description><![CDATA[Think of your ISP&#8217;s DNS (Domain Name Service) servers as your Yellow Pages to the internet. They translate human-readable addresses (hostnames) into the numbers that computers understand (IP addresses).

For example, take a web page request for &#8220;www.google.com.&#8221; When you type www.google.com into your browser&#8217;s address bar, you are essentially telling your computer &#8220;Ok, here&#8217;s the [...]]]></description>
			<content:encoded><![CDATA[<p>Think of your ISP&#8217;s DNS (Domain Name Service) servers as your Yellow Pages to the internet. They translate human-readable addresses (hostnames) into the numbers that computers understand (IP addresses).<br />
<span id="more-216"></span><br />
For example, take a web page request for &#8220;www.google.com.&#8221; When you type <em>www.google.com</em> into your browser&#8217;s address bar, you are essentially telling your computer <em>&#8220;Ok, here&#8217;s the site. Now get that page&#8217;s address for me. I want to ogle Erica Hill, Mary Snow and Heidi Collins pics.&#8221;</em> Your computer will talk to your ISP&#8217;s DNS servers (computers too, of course) and throw that request to them. Your DNS server will reply with something like:<br />
<code><br />
www.google.com is an alias for www.l.google.com.<br />
www.l.google.com has address 64.233.189.147<br />
www.l.google.com has address 64.233.189.99<br />
www.l.google.com has address 64.233.189.104<br />
</code><br />
<img src='/images/posts/glines.jpg' alt='' class='alignleft' />Those numbers are the computers where Google&#8217;s pages live (not the only ones though; Google is huge). Now your computer knows what to do.<br />
<br /></br><br />
Here they are:<br />
<strong><br />
Globelines DNS Servers:<br />
</strong><br />
202.52.163.6<br />
202.52.163.7<br />
202.52.162.39 (ns1.globeidc.com.ph)<br />
202.52.162.40 (ns1.globeidc.com.ph)<br />
202.52.167.70<br />
202.52.167.71<br />
203.127.225.10 (g-net.globe.com.ph)<br />
203.127.225.11 (g-net1.globe.com.ph)<br />
203.177.3.100 (theboss.globenet.com.ph)</p>
<p>Your ISP&#8217;s DNS servers may not always be the best ones to use. Some might suck, others might suck even more. There&#8217;s no iron-clad rule that says you <em>have</em> to use them, and <em>only</em> them. There are alternatives out there, one of the best being those offered for free use by <a href="http://www.opendns.com">OpenDNS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mish.eggdrop.ph/2008/11/15/globelines-broadband-dsl-dns-servers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ishmael Bernal&#8217;s &#8220;Himala&#8221; voted Best Asian Film in history</title>
		<link>http://mish.eggdrop.ph/2008/11/12/himala-voted-best-asian-film-in-history/</link>
		<comments>http://mish.eggdrop.ph/2008/11/12/himala-voted-best-asian-film-in-history/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 02:00:48 +0000</pubDate>
		<dc:creator>mish</dc:creator>
		
		<category><![CDATA[Film]]></category>

		<guid isPermaLink="false">http://mish.eggdrop.ph/?p=214</guid>
		<description><![CDATA[Voters on CNN&#8217;s Entertainment Section chose Ishmael Bernal&#8217;s 1982 classic &#8220;Himala&#8221; as the &#8220;Best Asia-Pacific Movie&#8221; of all time. The film bested Akira Kurosawa’s “Seven Samurai” and Ang Lee’s “Crouching Tiger, Hidden Dragon,” among others.



The full (short) report here:
]]></description>
			<content:encoded><![CDATA[<p>Voters on CNN&#8217;s Entertainment Section chose Ishmael Bernal&#8217;s 1982 classic <em>&#8220;Himala&#8221; </em>as the &#8220;Best Asia-Pacific Movie&#8221; of all time. The film bested Akira Kurosawa’s <em>“Seven Samurai”</em> and Ang Lee’s <em>“Crouching Tiger, Hidden Dragon,”</em> among others.<br />
<span id="more-214"></span><br />
<br /></br><br />
<br /></br><br />
The full (short) report <a href="http://showbizandstyle.inquirer.net/breakingnews/breakingnews/view/20081112-171695/CNN-Himala-best-Asian-film-in-history">here</a>:</p>
]]></content:encoded>
			<wfw:commentRss>http://mish.eggdrop.ph/2008/11/12/himala-voted-best-asian-film-in-history/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OpenBSD: Changing 104-bit WEP keys</title>
		<link>http://mish.eggdrop.ph/2008/11/12/openbsd-changing-104-bit-wep-keys/</link>
		<comments>http://mish.eggdrop.ph/2008/11/12/openbsd-changing-104-bit-wep-keys/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 00:17:05 +0000</pubDate>
		<dc:creator>mish</dc:creator>
		
		<category><![CDATA[BSD]]></category>

		<guid isPermaLink="false">http://mish.eggdrop.ph/?p=213</guid>
		<description><![CDATA[The 104-bit WEP key our home network uses has been in place since the 2nd quarter of this year. Time to change it.

WEP is a pain to implement because after changing the key on the OpenBSD firewall/router/gateway/AP, I have to change it manually on all the stations that use wireless as well. Until I upgrade [...]]]></description>
			<content:encoded><![CDATA[<p>The 104-bit WEP key our home network uses has been in place since the 2nd quarter of this year. Time to change it.<br />
<span id="more-213"></span><br />
<img src='/images/obsd_shooter.png' alt='' class='alignleft' />WEP is a pain to implement because after changing the key on the OpenBSD firewall/router/gateway/AP, I have to change it manually on all the stations that use wireless as well. Until I upgrade this network&#8217;s security method to either WPA or authpf, that&#8217;s going to have to be the routine.</p>
<p>First off, go to a WEP key generator site and get a new pair of Hex and ASCII keys. One that I&#8217;d recommend would be <a href="http://www.warewolflabs.com/portfolio/programming/wlanskg/wlanskg.html">WareWolf Labs&#8217; Key Generator site</a>.</p>
<p>Let&#8217;s assume you end up with the following 104-bit key pair:<br />
<code><br />
ASCII: mywlanwepkeys (13 characters)<br />
HEX: 6d79776c616e7765706b657973<br />
</code><br />
<strong>I. On the router:</strong></p>
<p>On the OpenBSD router, edit your <strong>/etc/hostname.interface</strong> file (on my machine, that would be /etc/hostname.ral0) and integrate your new key. Remember to preface the HEX key with 0x.:<br />
<code><br />
# vi /etc/hostname.ral0<br />
</code><br />
After editing, it looks like this:<br />
<code><br />
## Default: 104-bit WEP<br />
up media autoselect mediaopt hostap mode 11g chan 1 nwid eggdropphair \ nwkey 0&#215;6d79776c616e7765706b657973 \<br />
inet 172.16.0.1 255.255.255.0<br />
</code><br />
Restart networking:<br />
<code><br />
# sh /etc/netstart<br />
</code><br />
<strong>II. On the stations:</strong></p>
<p>The procedure is the same as what was done on the router. On OpenBSD, you would edit <strong>/etc/hostname.interface</strong> and change the key. On FreeBSD, it&#8217;s <strong>/etc/rc.conf</strong> you have to change.</p>
<p><strong>OpenBSD (4.3-current)</strong><br />
<code><br />
# vi /etc/hostname.ral0<br />
</code><br />
After editing, mine looks like this:<br />
<code><br />
## Default: 104-bit WEP<br />
up media autoselect mode 11g chan 1 nwid eggdropphair nwkey \ mywlanwepkeys \<br />
dhcp NONE NONE NONE<br />
</code><br />
Restart networking:<br />
<code><br />
# sh /etc/netstart<br />
# dhclient ral0<br />
</code><br />
<strong>FreeBSD (7.0-RELEASE)</strong><br />
<code><br />
# vi /etc/rc.conf<br />
</code><br />
After editing, the relevant line looks like this:<br />
<code><br />
ifconfig_ral0=&quot;inet 172.16.0.4 netmask 255.255.255.0 ssid eggdropphair\ wepmode on wepkey mywlanwepkeys weptxkey 1 DHCP&quot;<br />
</code><br />
Restart networking:<br />
<code><br />
# /etc/rc.d/netif start<br />
# dhclient ral0<br />
</code><br />
Done.</p>
]]></content:encoded>
			<wfw:commentRss>http://mish.eggdrop.ph/2008/11/12/openbsd-changing-104-bit-wep-keys/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PATATAG: Nov. 21 reunion concert at 70s Bistro</title>
		<link>http://mish.eggdrop.ph/2008/11/11/patatag-nov-21-reunion-concert-at-the-70s-bistro/</link>
		<comments>http://mish.eggdrop.ph/2008/11/11/patatag-nov-21-reunion-concert-at-the-70s-bistro/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 05:57:11 +0000</pubDate>
		<dc:creator>mish</dc:creator>
		
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://mish.eggdrop.ph/?p=211</guid>
		<description><![CDATA[PATATAG will be holding a much-awaited reunion benefit concert on the 21st of this month at the 70s Bistro. Proceeds will be for the benefit of one of their ailing members.

Entrance will set you back P500.00, the cost of purchasing a 3-CD pack/set of their albums. If you think it&#8217;s too steep for 70s Bistro, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://patatag.multiply.com">PATATAG</a> will be holding a much-awaited reunion benefit concert on the 21st of this month at the <a href="http://www.70sbistro.com">70s Bistro</a>. Proceeds will be for the benefit of one of their ailing members.<br />
<span id="more-211"></span><br />
Entrance will set you back P500.00, the cost of purchasing a 3-CD pack/set of their albums. If you think it&#8217;s too steep for 70s Bistro, reconsider. It&#8217;s a benefit concert. For a sick person.<br />
<img src='/images/nagbabaganglupacover.jpg' alt='' class='alignleft' /><br />
Here&#8217;s the announcement email:<br />
<br /></br><br />
<br /></br><br />
<br /></br><br />
<br /></br><br />
<br /></br></p>
<blockquote><p>
November 21, 2008 fund-raising concert of PATATAG</p>
<p>It&#8217;s confirmed! Patatag&#8217;s fund-raising concert and re-launch of our 3 albums will be held on November 21, 2008 at 70&#8217;s Bistro in Anonas St., Quezon City. Showtime is from 6:00 to 9:00 p.m.</p>
<p>We will be singing old favourites &#8212; featuring new musical arrangements &#8212; and we will be joined by a new generation of Patatag &#8212; our very own children who have now become musicians and singers in their own right!</p>
<p>Also sharing the stage with us on the 21st of November is a member of Patatag&#8217;s family and dear friend, Susan Fernandez. Other performers will be making special appearances, we will keep you posted on the line-up!</p>
<p>How do you get to join us on this special night? Simple &#8212; purchase a 3-CD pack that Patatag will be releasing very soon &#8212; and the CD-pack becomes your ticket to the show. The 3-CD pack is a re-mastered (digital) release of our previous recordings, namely: &#8220;Nagbabagang Lupa,&#8221; &#8220;Batang Clark,&#8221; and &#8220;Masdan, O Yahweh.&#8221;</p>
<p>How do you buy the 3-CD pack?<br />
1. You can purchase an advanced-sales coupon from any Patatag member, entitling you to a 3-CD pack, which you can claim at the venue on 21st November;<br />
2. You can purchase a 3-CD pack, as soon as it becomes available, and bring the CDs on the 21st of November &#8212; it&#8217;s your ticket to the show;<br />
3. You can purchase a 3-CD pack at the venue gate on 21st November.</p>
<p>Confusing?<br />
Write us back, at Patatag84@gmail.com and we&#8217;ll try to clarify or arrange something! <img src='http://mish.eggdrop.ph/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Oh, and the price of the 3-CD pack (and a night of music with Patatag and friends)&#8230; is Php 500.00. All proceeds go to a support fund for a fellow Patatag member who is currently undergoing regular dialysis treatment.</p>
<p>We look forward to sharing music, memories, hopes and new aspirations with you on this night and beyond.</p>
<p>See you on the 21st of November!</p>
<p>Yours in music,<br />
PATATAG
</p></blockquote>
<p><img src='/images/batangclarkcover2.jpg' alt='' class='alignleft' /></p>
]]></content:encoded>
			<wfw:commentRss>http://mish.eggdrop.ph/2008/11/11/patatag-nov-21-reunion-concert-at-the-70s-bistro/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OpenBSD: Mounting a USB stick</title>
		<link>http://mish.eggdrop.ph/2008/11/11/openbsd-mounting-a-usb-stick/</link>
		<comments>http://mish.eggdrop.ph/2008/11/11/openbsd-mounting-a-usb-stick/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 05:06:37 +0000</pubDate>
		<dc:creator>mish</dc:creator>
		
		<category><![CDATA[BSD]]></category>

		<guid isPermaLink="false">http://mish.eggdrop.ph/?p=210</guid>
		<description><![CDATA[In the previous post, I wrote about mounting a USB stick on FreeBSD 7.0-RELEASE. Here&#8217;s how you do it on OpenBSD. OS version is 4.3-current; the pen drive is still the same 2Gb Imation stick used in the last post.


Plug the stick in, and check dmesg(8) output. Here&#8217;s how dmesg on OpenBSD sees the drive:




umass0 [...]]]></description>
			<content:encoded><![CDATA[<p>In the previous post, I wrote about <a href="http://mish.eggdrop.ph/2008/11/10/freebsd-mounting-a-usb-stick/">mounting a USB stick on FreeBSD 7.0-RELEASE</a>. Here&#8217;s how you do it on OpenBSD. OS version is 4.3-current; the pen drive is still the same 2Gb Imation stick used in the last post.<br />
<span id="more-210"></span><br />
<img src='/images/posts/imation-nano-2gb.jpg' alt='' class='alignleft' /><br />
Plug the stick in, and check <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dmesg&#038;apropos=0&#038;sektion=0&#038;manpath=OpenBSD+4.3&#038;arch=i386&#038;format=html">dmesg(8)</a> output. Here&#8217;s how dmesg on OpenBSD sees the drive:<br />
<br /></br><br />
<br /></br><br />
<br /></br><br />
<code><br />
umass0 at uhub0 port 2 configuration 1 interface 0 &quot;Imation Nano&quot; rev 2.00/1.10 addr 2<br />
umass0: using SCSI over Bulk-Only<br />
scsibus1 at umass0: 2 targets<br />
sd0 at scsibus1 targ 1 lun 0: &lt;Imation, Nano, PMAP&gt; SCSI0 0/direct removable<br />
sd0: 1911MB, 243 cyl, 255 head, 63 sec, 512 bytes/sec, 3913728 sec total<br />
</code><br />
Note that the system attaches the drive to the sd driver, and denotes it sd0.</p>
<p>su to root:<br />
<code><br />
[mish@blah ~]$ su<br />
Password:<br />
[root@blah /home/mish]#<br />
</code></p>
<p>Use <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=disklabel&#038;apropos=0&#038;sektion=8&#038;manpath=OpenBSD+4.3&#038;arch=i386&#038;format=html">disklabel(8)</a> to check how the drive is configured:<br />
<code><br />
[root@blah /home/mish]# disklabel sd0<br />
disklabel: warning, DOS partition table with no valid OpenBSD partition<br />
# /dev/rsd0c:<br />
type: SCSI<br />
disk: SCSI disk<br />
label: Nano<br />
flags:<br />
bytes/sector: 512<br />
sectors/track: 63<br />
tracks/cylinder: 255<br />
sectors/cylinder: 16065<br />
cylinders: 243<br />
total sectors: 3913728<br />
rpm: 3600<br />
interleave: 1<br />
trackskew: 0<br />
cylinderskew: 0<br />
headswitch: 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # microseconds<br />
track-to-track seek: 0&nbsp;&nbsp;# microseconds<br />
drivedata: 0<br />
&nbsp;<br />
16 partitions:<br />
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; offset&nbsp;&nbsp;fstype [fsize bsize&nbsp;&nbsp;cpg]<br />
&nbsp;&nbsp;c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3913728&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;unused&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;i:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3905664&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8064&nbsp;&nbsp; MSDOS<br />
[root@blah /home/mish]#<br />
</code><br />
Here you can see that the letter i denotes the relevant partition.</p>
<p>We&#8217;ve got the information we need. Now, mount it:<br />
<code><br />
[root@blah /home/mish]# mount -t msdos /dev/sd0i /mnt<br />
[root@blah /home/mish]#<br />
</code></p>
<p>Done.</p>
<p>Addendum: Here&#8217;s how dmesg reports it when you unplug the stick:<br />
<code><br />
sd0 detached<br />
scsibus1 detached<br />
umass0 detached<br />
</code></p>
<p>#####<br />
References:<br />
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dmesg&#038;apropos=0&#038;sektion=0&#038;manpath=OpenBSD+4.3&#038;arch=i386&#038;format=html">dmesg(8)</a><br />
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sd&#038;apropos=0&#038;sektion=0&#038;manpath=OpenBSD+4.3&#038;arch=i386&#038;format=html">sd(4)</a><br />
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=disklabel&#038;apropos=0&#038;sektion=8&#038;manpath=OpenBSD+4.3&#038;arch=i386&#038;format=html">disklabel(8)</a><br />
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount&#038;apropos=0&#038;sektion=0&#038;manpath=OpenBSD+4.3&#038;arch=i386&#038;format=html">mount(8)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mish.eggdrop.ph/2008/11/11/openbsd-mounting-a-usb-stick/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FreeBSD: Mounting a USB stick</title>
		<link>http://mish.eggdrop.ph/2008/11/10/freebsd-mounting-a-usb-stick/</link>
		<comments>http://mish.eggdrop.ph/2008/11/10/freebsd-mounting-a-usb-stick/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 00:52:48 +0000</pubDate>
		<dc:creator>mish</dc:creator>
		
		<category><![CDATA[BSD]]></category>

		<guid isPermaLink="false">http://mish.eggdrop.ph/?p=209</guid>
		<description><![CDATA[I keep forgetting basic stuff like this. So, here goes: I&#8217;ll be trying to mount a 2Gb Imation USB stick on FreeBSD 7.0-RELEASE. All of this will be done as root. Yeah, I know, evil and all that. Mounting it as an unprivileged user will be for another post.


After plugging the stick in, check dmesg(8) [...]]]></description>
			<content:encoded><![CDATA[<p>I keep forgetting basic stuff like this. So, here goes: I&#8217;ll be trying to mount a 2Gb Imation USB stick on FreeBSD 7.0-RELEASE. All of this will be done as root. Yeah, I know, evil and all that. Mounting it as an unprivileged user will be for another post.<br />
<span id="more-209"></span><br />
<img src='/images/posts/imation-nano-2gb.jpg' alt='' class='alignleft' /><br />
After plugging the stick in, check <a href="http://www.freebsd.org/cgi/man.cgi?query=dmesg&#038;apropos=0&#038;sektion=0&#038;manpath=FreeBSD+7.0-RELEASE&#038;format=html">dmesg(8)</a> output. Here&#8217;s how the FreeBSD machine sees it:<br />
<br /></br><br />
<br /></br><br />
<code><br />
umass0: &lt;Imation Nano, class 0/0, rev 2.00/1.10, addr 2&gt; on uhub0<br />
da0 at umass-sim0 bus 0 target 0 lun 0<br />
da0: &lt;Imation Nano PMAP&gt; Removable Direct Access SCSI-0 device<br />
da0: 1.000MB/s transfers<br />
da0: 1911MB (3913728 512 byte sectors: 255H 63S/T 243C)<br />
GEOM_LABEL: Label for provider da0s1 is msdosfs/NANO.<br />
</code></p>
<p>Note the last line. It indicates what filesystem is on the stick (<strong>msdosfs</strong>) and how the hardware/device is labelled/configured by the system (<strong>da0s1</strong>).</p>
<p>su to root:<br />
<code><br />
[mish@blah ~]$ su<br />
Password:<br />
[root@blah /home/mish]#<br />
</code></p>
<p>Mount the drive:<br />
<code><br />
[root@blah /home/mish]# mount -t msdosfs /dev/da0s1 /mnt<br />
[root@blah /home/mish]#<br />
</code></p>
<p>Do a listing:<br />
<code><br />
[root@blah /home/mish]# ll /mnt<br />
</code></p>
<p>You&#8217;re done. </p>
<p>Addendum: Here&#8217;s how dmesg reports the stick&#8217;s unplugging:<br />
<code><br />
umass0: at uhub0 port 1 (addr 1) disconnected<br />
(da0:umass-sim0:0:0:0): lost device<br />
(da0:umass-sim0:0:0:0): removing device entry<br />
GEOM_LABEL: Label msdosfs/NANO removed.<br />
umass0: detached<br />
</code>       </p>
<p>#####</p>
<p>References:<br />
<a href="http://www.freebsd.org/cgi/man.cgi?query=dmesg&#038;apropos=0&#038;sektion=0&#038;manpath=FreeBSD+7.0-RELEASE&#038;format=html">dmesg(8)</a><br />
<a href="http://www.freebsd.org/cgi/man.cgi?query=da&#038;apropos=0&#038;sektion=0&#038;manpath=FreeBSD+7.0-RELEASE&#038;format=html">da(4)</a><br />
<a href="http://www.freebsd.org/cgi/man.cgi?query=mount&#038;apropos=0&#038;sektion=0&#038;manpath=FreeBSD+7.0-RELEASE&#038;format=html">mount(8)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mish.eggdrop.ph/2008/11/10/freebsd-mounting-a-usb-stick/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
