

<?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>chappy::lol</title>
	<atom:link href="http://lol.pman.biz/feed" rel="self" type="application/rss+xml" />
	<link>http://lol.pman.biz</link>
	<description>うだうだ書いてるだけですぜ</description>
	<lastBuildDate>Fri, 10 Feb 2012 06:22:57 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>記事入力中にハングする。。</title>
		<link>http://lol.pman.biz/archives/764</link>
		<comments>http://lol.pman.biz/archives/764#comments</comments>
		<pubDate>Fri, 10 Feb 2012 06:22:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[独り言]]></category>

		<guid isPermaLink="false">http://lol.pman.biz/?p=764</guid>
		<description><![CDATA[記事を書いている最中に、たまにハングします。 Mac + wordpressの時に多い気がします。 Mac版chromeで日本語入力のフリーズを解消したい！ こんな記事がありましたので、設定してみました。 さーてどうでしょう。当分様子みないとわかりませんが。 &#160;]]></description>
			<content:encoded><![CDATA[<p>記事を書いている最中に、たまにハングします。<br />
Mac + wordpressの時に多い気がします。</p>
<p><a href="http://mag.torumade.nu/?p=2903" target="_blank">Mac版chromeで日本語入力のフリーズを解消したい！<br />
</a></p>
<p>こんな記事がありましたので、設定してみました。<br />
さーてどうでしょう。当分様子みないとわかりませんが。</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: '記事入力中にハングする。。 on chappy::lol',url: 'http://lol.pman.biz/archives/764',contentID: 'post-764',suggestTags: '',providerName: 'chappy::lol',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://lol.pman.biz/archives/764/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESXi 5.0 with 82579LM is working</title>
		<link>http://lol.pman.biz/archives/752</link>
		<comments>http://lol.pman.biz/archives/752#comments</comments>
		<pubDate>Wed, 16 Nov 2011 10:50:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[82579LM]]></category>
		<category><![CDATA[DQ67]]></category>

		<guid isPermaLink="false">http://lol.pman.biz/?p=752</guid>
		<description><![CDATA[Intel 82579LM NICがESXi 5.0で動作しました！ Chillyさん！ありがとう。。（まだ安定しているかはわからないけど） ※自己責任ですね。（おいらは、とりあえず動作して、通信できている） http://hardforum.com/showthread.php?t=1607992&#038;page=4 http://esxi-customizer.v-front.de/ に従ってカスタムイメージの作成をします。 ・ESXi-Customizerをダウンロードします。(v2.5) ・VMwareからESXi 5.0のイメージをダウンロードします。 　(VMware-VMvisor-Installer-5.0.0-469512.x86_64.iso) ・Chillyさんが作ったE1001E.tgzをダウンロード ESXi-Customizerを展開して、ESXi-Customizer.cmdを実行します。 GUIよりESXi 5.0のisoイメージ、OEZ.tgz(E1001E.tgz)の場所を指定して実行します。 すると、 ESXi-5.0-Custom.isoイメージができあがります。 このイメージを使って、インストールすればOKです。 おいらは、USBにインストールしています。 新規インストールおよび、Force Migrate(強制アップグレード)の両方を試して問題ありませんでした。 4.1からの強制アップグレードではWarningはでますが、問題なく動作しました。 E1001E.tgzの中のファイルがちゃんとインストールしていたので問題ないでしょう。。 E1001E.tgzの中身は以下の３ファイル。。 ./etc/vmware/driver.map.d/e1001e.map ./usr/lib/vmware/vmkmod/e1001e ./usr/share/hwdata/driver.pciids.d/e1001e.ids &#160;]]></description>
			<content:encoded><![CDATA[<p>Intel 82579LM NICがESXi 5.0で動作しました！<br />
Chillyさん！ありがとう。。（まだ安定しているかはわからないけど）<br />
※自己責任ですね。（おいらは、とりあえず動作して、通信できている）</p>
<p><a href="http://hardforum.com/showthread.php?t=1607992&#038;page=4" target="_blank">http://hardforum.com/showthread.php?t=1607992&#038;page=4</a></p>
<p><a href="http://esxi-customizer.v-front.de/" target="_blank">http://esxi-customizer.v-front.de/</a><br />
に従ってカスタムイメージの作成をします。</p>
<p>・ESXi-Customizerをダウンロードします。(v2.5)<br />
・VMwareからESXi 5.0のイメージをダウンロードします。<br />
　(VMware-VMvisor-Installer-5.0.0-469512.x86_64.iso)<br />
・Chillyさんが作ったE1001E.tgzをダウンロード</p>
<p>ESXi-Customizerを展開して、ESXi-Customizer.cmdを実行します。<br />
GUIよりESXi 5.0のisoイメージ、OEZ.tgz(E1001E.tgz)の場所を指定して実行します。<br />
すると、<br />
ESXi-5.0-Custom.isoイメージができあがります。<br />
このイメージを使って、インストールすればOKです。<br />
おいらは、USBにインストールしています。<br />
新規インストールおよび、Force Migrate(強制アップグレード)の両方を試して問題ありませんでした。<br />
4.1からの強制アップグレードではWarningはでますが、問題なく動作しました。<br />
E1001E.tgzの中のファイルがちゃんとインストールしていたので問題ないでしょう。。</p>
<p><a href="http://lol.pman.biz/wp-content/uploads/2011/11/82579LM-esxi50.png"><img src="http://lol.pman.biz/wp-content/uploads/2011/11/82579LM-esxi50-150x150.png" alt="" title="82579LM-esxi50" width="150" height="150" class="alignnone size-thumbnail wp-image-753" /></a></p>
<p>E1001E.tgzの中身は以下の３ファイル。。</p>
<pre>
./etc/vmware/driver.map.d/e1001e.map
./usr/lib/vmware/vmkmod/e1001e
./usr/share/hwdata/driver.pciids.d/e1001e.ids
</pre>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'ESXi 5.0 with 82579LM is working on chappy::lol',url: 'http://lol.pman.biz/archives/752',contentID: 'post-752',suggestTags: '82579LM,DQ67',providerName: 'chappy::lol',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://lol.pman.biz/archives/752/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHCPv6を試してみた。。。その１</title>
		<link>http://lol.pman.biz/archives/743</link>
		<comments>http://lol.pman.biz/archives/743#comments</comments>
		<pubDate>Tue, 15 Nov 2011 04:39:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Vyatta]]></category>
		<category><![CDATA[dhcpv6]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Lion]]></category>

		<guid isPermaLink="false">http://lol.pman.biz/?p=743</guid>
		<description><![CDATA[ようやくL2が安定したようなので、DHCPv6をもう少し試してみます。 DHCPv6理解していません！なので試すだけ。 vyattaをDHCPv6 serverにする場合と、vyattaをDHCPv6-relayにする場合を試してみた。 iPhone(IOS5)もMac(Lion)もとりあえずアドレス取得とDNS serverの取得もできました。 しかし、ブラウザとか使ってアクセスすると一時アドレスを使っている。。。 DHCPv6で割り当てられたアドレスを使ってくれない。。。そんなもの？ iPhoneもWindows7も、Lion君も同じだったので、一時アドレスが強いってこと？ うーん。これじゃ意味がないんだよな。。。 とりあえず、メモ。 ■vyattaをDHCPv6 serverにする RAでm/oフラグをon/onにします。 interfaces { ... bridge br2 { ... ipv6 { ... router-advert { ... managed-flag true other-config-flag true prefix 2001:470:xxx:yyy::/64 { ... } ... } } } &#8230; <a href="http://lol.pman.biz/archives/743">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>ようやくL2が安定したようなので、DHCPv6をもう少し試してみます。<br />
DHCPv6理解していません！なので試すだけ。</p>
<p>vyattaをDHCPv6 serverにする場合と、vyattaをDHCPv6-relayにする場合を試してみた。<br />
iPhone(IOS5)もMac(Lion)もとりあえずアドレス取得とDNS serverの取得もできました。</p>
<p>しかし、ブラウザとか使ってアクセスすると一時アドレスを使っている。。。<br />
DHCPv6で割り当てられたアドレスを使ってくれない。。。そんなもの？<br />
iPhoneもWindows7も、Lion君も同じだったので、一時アドレスが強いってこと？<br />
うーん。これじゃ意味がないんだよな。。。</p>
<p>とりあえず、メモ。</p>
<p>■vyattaをDHCPv6 serverにする<br />
RAでm/oフラグをon/onにします。</p>
<pre>
interfaces {
 ...
 bridge br2 {
   ...
   ipv6 {
     ...
     router-advert {
        ...
        managed-flag true
        other-config-flag true
        prefix 2001:470:xxx:yyy::/64 {
          ...
        }
        ...
      }
    }
  }
}

service {
  ...
  dhcpv6-server {
    shared-network-name homev6 {
      subnet 2001:470:xxx:yyy::/64 {
         address-range {
            start 2001:470:xxx:yyy:beef::100 {
              stop 2001:470:xxx:yyy:beef::200
         }
      }
      domain-search pman.biz
      name-server 2001:470:zzz::111
    }
  }
...
}
</pre>
<p>m/oフラグをoff/onにした場合は、DNS serverのアドレスを取得できませんでした。<br />
IPv6アドレスは割り当てられないのは、mフラグがoffなので良いのでしょう。。<br />
パケットを見ていると、clientからmessage type: Information Requestが飛んで、<br />
ReplyのパケットにDNS Serverアドレスの情報が空っぽ。。。<br />
※どちらが悪いのか、またはこれが正しいのかは謎。。。調べる気はまだない。</p>
<p>m/oフラグをon/onにした場合は、DNS serverのアドレスも取得できました。<br />
パケットを見ていると、clientからmessage type: solicit飛んで、Replyのパケットに<br />
IPv6アドレスとDNS Serverの情報が入っていました。<br />
これが正しい動きなのかな。。。</p>
<p>■vyattaをDHCPv6 Relayにする (DHCPv6サーバは別サーバ上でiscのdhcp 4.2.3を稼働）</p>
<pre>
interfaces {
 ...
 bridge br2 {
   ...
   ipv6 {
     ...
     router-advert {
        ...
        managed-flag true
        other-config-flag true
        prefix 2001:470:xxx:yyy::/64 {
          ...
        }
        ...
      }
    }
  }
}

service {
  ...
  dhcpv6-relay {
    listen-interface br2 {
    }
    upstream-interface eth1 {
      address 2001:470:zzz::111
    }
  }
...
}
</pre>
<p>DHCPサーバ(4.2.3)の/usr/local/etc/dhchpd6.confは、こんな感じ</p>
<pre>
...
subnet6 2001:470:zzz::/64 {
  deny unknown-clients;
}
subnet6 2001:470:xxx:yyy::/64 {
  range6 2001:470:xxx:yyy::beef:100 2001:470:xxx:yyy::beef:200;
  option dhcp6.domain-search "pman.biz";
  option dhcp6.name-servers 2001:470:zzz::111;
}
</pre>
<p>こちらも当然、m/oフラグは同じ挙動。。。m/oフラグはon/onにしないとダメみたい。</p>
<p>Lionの/etc/resolv.confにIPv6のDNS serverも加わっている！</p>
<pre>
$ cat /etc/resolv.conf
#
# Mac OS X Notice
#
# This file is not used by the host name and address resolution
# or the DNS query routing mechanisms used by most processes on
# this Mac OS X system.
#
# This file is automatically generated.
#
search pman.biz
nameserver 192.168.xxx.111
nameserver 2001:470:zzz::111
</pre>
<p>iPhoneで確かめる方法がわからないけど、DNS serverのアドレスが割当たっているのがなんとかわかる。。。<br />
<a href="http://lol.pman.biz/wp-content/uploads/2011/11/dhcpv6-ios5.png"><img src="http://lol.pman.biz/wp-content/uploads/2011/11/dhcpv6-ios5-150x150.png" alt="" title="dhcpv6-ios5" width="150" height="150" class="alignnone size-thumbnail wp-image-748" /></a></p>
<p>DHCPv6アドレスを使ってアクセスするようにするにはどうすればいいんでしょう。。。<br />
クライアントに手を入れるなんてことは避けたい。。。<br />
DHCPv6でstaticにIPv6アドレス振る方法も後々試そう。。。</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'DHCPv6を試してみた。。。その１ on chappy::lol',url: 'http://lol.pman.biz/archives/743',contentID: 'post-743',suggestTags: 'dhcpv6,iphone,Lion',providerName: 'chappy::lol',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://lol.pman.biz/archives/743/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>firefly(mt-daaped)へパッチ</title>
		<link>http://lol.pman.biz/archives/739</link>
		<comments>http://lol.pman.biz/archives/739#comments</comments>
		<pubDate>Tue, 15 Nov 2011 01:02:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[itunes]]></category>

		<guid isPermaLink="false">http://lol.pman.biz/?p=739</guid>
		<description><![CDATA[iTunes 10.5.1がリリースされましたが、fireflyで楽曲リストが表示されない。。 うーん。Appleは今回は修正する気がないのだろうか。。。仕様変更か？ (iTunes 10の時は修正されたのにな〜） 待ってもられないので、またしてもfireflyへパッチを適用して対応することにしました。 https://discussions.apple.com/message/16489758#16489758 前回適用したパッチを見比べると、やってることは同じっぽいね。 前回の記事はここ。 --- mt-daapd-0.9~r1696.dfsg.orig/src/plugins/out-daap.c 2007-10-13 15:10:06.000000000 -0700 +++ mt-daapd-0.9~r1696.dfsg/src/plugins/out-daap.c 2011-10-16 18:08:53.207764000 -0700 @@ -1392,11 +1393,9 @@ size = sizeof(servername); pi_server_name(servername,&#038;size); - // supports_update = conf_get_int("daap","supports_update",1); + supports_update = pi_conf_get_int("daap","supports_update",1); actual_length=139 + (int) strlen(servername); &#8230; <a href="http://lol.pman.biz/archives/739">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>iTunes 10.5.1がリリースされましたが、fireflyで楽曲リストが表示されない。。<br />
うーん。Appleは今回は修正する気がないのだろうか。。。仕様変更か？<br />
(iTunes 10の時は修正されたのにな〜）</p>
<p>待ってもられないので、またしてもfireflyへパッチを適用して対応することにしました。</p>
<p><a href="https://discussions.apple.com/message/16489758#16489758">https://discussions.apple.com/message/16489758#16489758</a><br />
前回適用したパッチを見比べると、やってることは同じっぽいね。<br />
前回の記事は<a href="http://lol.pman.biz/archives/427">ここ</a>。</p>
<pre>
--- mt-daapd-0.9~r1696.dfsg.orig/src/plugins/out-daap.c   2007-10-13 15:10:06.000000000 -0700
+++ mt-daapd-0.9~r1696.dfsg/src/plugins/out-daap.c        2011-10-16 18:08:53.207764000 -0700
@@ -1392,11 +1393,9 @@

     size = sizeof(servername);
     pi_server_name(servername,&#038;size);
-    //    supports_update = conf_get_int("daap","supports_update",1);
+    supports_update = pi_conf_get_int("daap","supports_update",1);

     actual_length=139 + (int) strlen(servername);
-    if(!supports_update)
-        actual_length -= 9;

     if(actual_length > sizeof(server_info)) {
         pi_log(E_FATAL,"Server name too long.\n");
@@ -1434,6 +1433,8 @@
     current += dmap_add_int(current,"msdc",1);          /* 12 */

     if(supports_update)
+        current += dmap_add_char(current,"msup",1);         /* 9 */
+    else
         current += dmap_add_char(current,"msup",0);         /* 9 */

     out_daap_output_start(pwsc,ppi,actual_length);
</pre>
<p>portsをcleanしていたので、一度makeしてパッチを適用して、objectファイルを消して<br />
再コンパイルを実施して対応。</p>
<pre>
# cd /usr/ports/audio/firefly
# make
# cd work/mt-daapd-svn-1696/src/plugins
# rm out-daap.o
# vi out-daap.c (パッチ適用)
# cd /usr/ports/audio/firefly/work/mt-daapd-svn-1696
# make
# cd /usr/ports/audio/firefly
# make install
</pre>
<p>iTunes 10.5.1でもリストが表示されるようになりました。</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'firefly(mt-daaped)へパッチ on chappy::lol',url: 'http://lol.pman.biz/archives/739',contentID: 'post-739',suggestTags: 'itunes',providerName: 'chappy::lol',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://lol.pman.biz/archives/739/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>更新メモ</title>
		<link>http://lol.pman.biz/archives/733</link>
		<comments>http://lol.pman.biz/archives/733#comments</comments>
		<pubDate>Fri, 11 Nov 2011 04:03:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://lol.pman.biz/?p=733</guid>
		<description><![CDATA[pcreをバージョンアップ portsからバージョンアップ apacheをバージョンアップ 特に問題なく完了。pcreのオプションつけているくらい phpをバージョンアップ portsから実施 Makefileを編集（apacheは自身でコンパイルしているので） APACHE "Build Apache module" on (*) off から onへ変更 #USE_APACHE= 13+ #.include "${PORTSDIR}/Mk/bsd.apache.mk" #.if ${APACHE_VERSION} > 13 #.if defined(WITH_AP2FILTER) #CONFIGURE_ARGS+=--with-apxs2filter=${APXS} #.else CONFIGURE_ARGS+=--with-apxs2=/usr/local/apache/bin/apxs #.endif #.else #CONFIGURE_ARGS+=--with-apxs=${APXS} #.endif php5-extensionもportsからインストール mysqlをバージョンアップ portsから実施 cactiをバージョンアップ include/config.phpを適切に設定 rraディレクトリの中身をそのままコピー GUIからupgradeを実施 &#8230; <a href="http://lol.pman.biz/archives/733">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>pcreをバージョンアップ<br />
portsからバージョンアップ</p>
<p>apacheをバージョンアップ<br />
特に問題なく完了。pcreのオプションつけているくらい</p>
<p>phpをバージョンアップ<br />
portsから実施<br />
Makefileを編集（apacheは自身でコンパイルしているので）</p>
<pre>
APACHE "Build Apache module" on (*) off から onへ変更

#USE_APACHE=  13+
#.include "${PORTSDIR}/Mk/bsd.apache.mk"
#.if ${APACHE_VERSION} > 13
#.if defined(WITH_AP2FILTER)
#CONFIGURE_ARGS+=--with-apxs2filter=${APXS}
#.else
CONFIGURE_ARGS+=--with-apxs2=/usr/local/apache/bin/apxs
#.endif
#.else
#CONFIGURE_ARGS+=--with-apxs=${APXS}
#.endif
</pre>
<p>php5-extensionもportsからインストール</p>
<p>mysqlをバージョンアップ<br />
portsから実施</p>
<p>cactiをバージョンアップ<br />
include/config.phpを適切に設定<br />
rraディレクトリの中身をそのままコピー<br />
GUIからupgradeを実施</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: '更新メモ on chappy::lol',url: 'http://lol.pman.biz/archives/733',contentID: 'post-733',suggestTags: '',providerName: 'chappy::lol',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://lol.pman.biz/archives/733/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

