<?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>梦.:如此短暂</title> <atom:link href="http://d.ream.at/feed/" rel="self" type="application/rss+xml" /><link>http://d.ream.at</link> <description>WindyWinter的梦::上善若水，水利万物而不争，处众人之所恶，故几于道。</description> <lastBuildDate>Sat, 04 Feb 2012 06:45:56 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel='hub' href='http://d.ream.at/?pushpress=hub'/> <item><title>Ubuntu修改显示器分辨率</title><link>http://d.ream.at/ubuntu%e4%bf%ae%e6%94%b9%e6%98%be%e7%a4%ba%e5%99%a8%e5%88%86%e8%be%a8%e7%8e%87/</link> <comments>http://d.ream.at/ubuntu%e4%bf%ae%e6%94%b9%e6%98%be%e7%a4%ba%e5%99%a8%e5%88%86%e8%be%a8%e7%8e%87/#comments</comments> <pubDate>Sat, 04 Feb 2012 06:43:12 +0000</pubDate> <dc:creator>WindyWinter</dc:creator> <category><![CDATA[学习笔记]]></category> <category><![CDATA[Ubuntu]]></category><guid isPermaLink="false">http://d.ream.at/?p=1384</guid> <description><![CDATA[用开源驱动的时候没有图形化的工具可以修改分辨率，需要用xorg.conf改。
下面都是在控制台下操作。
1. 生成一个新的xorg.conf（在这之前最好把原来的备份一下）。<a class="more-link" href="http://d.ream.at/ubuntu%e4%bf%ae%e6%94%b9%e6%98%be%e7%a4%ba%e5%99%a8%e5%88%86%e8%be%a8%e7%8e%87/" title="Ubuntu修改显示器分辨率  共945字">Read more</a><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="Ubuntu 6.10 edgy eft 入门全程导用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fubuntu-610-edgy-eft-guide%2F&from=http%3A%2F%2Fd.ream.at%2Fubuntu%25E4%25BF%25AE%25E6%2594%25B9%25E6%2598%25BE%25E7%25A4%25BA%25E5%2599%25A8%25E5%2588%2586%25E8%25BE%25A8%25E7%258E%2587%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Ubuntu 6.10 edgy eft 入门全程导用</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="在Ubuntu下简易配置Tex UTF-8中文环境" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fsetup-tex-utf-8-cjk-enviroment-in-ubuntu%2F&from=http%3A%2F%2Fd.ream.at%2Fubuntu%25E4%25BF%25AE%25E6%2594%25B9%25E6%2598%25BE%25E7%25A4%25BA%25E5%2599%25A8%25E5%2588%2586%25E8%25BE%25A8%25E7%258E%2587%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在Ubuntu下简易配置Tex UTF-8中文环境</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Ubuntu 9.10 安装设置笔记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fubuntu-910-configuration%2F&from=http%3A%2F%2Fd.ream.at%2Fubuntu%25E4%25BF%25AE%25E6%2594%25B9%25E6%2598%25BE%25E7%25A4%25BA%25E5%2599%25A8%25E5%2588%2586%25E8%25BE%25A8%25E7%258E%2587%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Ubuntu 9.10 安装设置笔记</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Ubuntu 8.04 安装设置笔记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fubuntu-804-configuration%2F&from=http%3A%2F%2Fd.ream.at%2Fubuntu%25E4%25BF%25AE%25E6%2594%25B9%25E6%2598%25BE%25E7%25A4%25BA%25E5%2599%25A8%25E5%2588%2586%25E8%25BE%25A8%25E7%258E%2587%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Ubuntu 8.04 安装设置笔记</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Ubuntu 7.10 安装设置笔记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fubuntu-710-configuration%2F&from=http%3A%2F%2Fd.ream.at%2Fubuntu%25E4%25BF%25AE%25E6%2594%25B9%25E6%2598%25BE%25E7%25A4%25BA%25E5%2599%25A8%25E5%2588%2586%25E8%25BE%25A8%25E7%258E%2587%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Ubuntu 7.10 安装设置笔记</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table>]]></description> <content:encoded><![CDATA[<p>用开源驱动的时候没有图形化的工具可以修改分辨率，需要用xorg.conf改。<br /> 下面都是在控制台下操作。<br /> 1. 生成一个新的xorg.conf（在这之前最好把原来的备份一下）。</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1384code4'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13844"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p1384code4"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> service gdm stop
<span style="color: #c20cb9; font-weight: bold;">sudo</span> Xorg <span style="color: #660033;">-configure</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> ~<span style="color: #000000; font-weight: bold;">/</span>xorg.conf.new <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf</pre></td></tr></table></div><p>2. 用gtf计算合适的mode line，比如1440×900 60Hz刷新率。</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1384code5'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13845"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1384code5"><pre class="bash" style="font-family:monospace;">gtf <span style="color: #000000;">1440</span> <span style="color: #000000;">900</span> <span style="color: #000000;">60</span></pre></td></tr></table></div><p>3. 将mode line（gtf生成的内容）插入到/etc/X11/xorg.conf的Section "Monitor"段里。</p><blockquote><pre>
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        <font color="red">Modeline     "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync</font>
EndSection
</pre></blockquote><p>4. 查出显示器的水平频率（Horizsync）和垂直频率（Vertrefresh），插入到/etc/X11/xorg.conf的Section "Monitor"段里。没查到就别瞎写，会搞坏显示器的。</p><blockquote><pre>
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Modeline     "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
        <font color="blue">Horizsync    24.0-82.0</font>
        <font color="blue">Vertrefresh  50.0-75.0</font>
EndSection
</pre></blockquote><p>5. 清理掉Section "Screen"里不需要的颜色深度，增加Modes指定分辨率。</p><blockquote><pre>
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport 0 0
                Depth    24
                <font color="green">Modes    "1440x900"</font>
        EndSubSection
EndSection
</pre></blockquote><p>6. 重启Xorg。</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1384code6'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13846"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1384code6"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> service gdm start</pre></td></tr></table></div><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="Ubuntu 6.10 edgy eft 入门全程导用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fubuntu-610-edgy-eft-guide%2F&from=http%3A%2F%2Fd.ream.at%2Fubuntu%25E4%25BF%25AE%25E6%2594%25B9%25E6%2598%25BE%25E7%25A4%25BA%25E5%2599%25A8%25E5%2588%2586%25E8%25BE%25A8%25E7%258E%2587%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Ubuntu 6.10 edgy eft 入门全程导用</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="在Ubuntu下简易配置Tex UTF-8中文环境" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fsetup-tex-utf-8-cjk-enviroment-in-ubuntu%2F&from=http%3A%2F%2Fd.ream.at%2Fubuntu%25E4%25BF%25AE%25E6%2594%25B9%25E6%2598%25BE%25E7%25A4%25BA%25E5%2599%25A8%25E5%2588%2586%25E8%25BE%25A8%25E7%258E%2587%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在Ubuntu下简易配置Tex UTF-8中文环境</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Ubuntu 9.10 安装设置笔记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fubuntu-910-configuration%2F&from=http%3A%2F%2Fd.ream.at%2Fubuntu%25E4%25BF%25AE%25E6%2594%25B9%25E6%2598%25BE%25E7%25A4%25BA%25E5%2599%25A8%25E5%2588%2586%25E8%25BE%25A8%25E7%258E%2587%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Ubuntu 9.10 安装设置笔记</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Ubuntu 8.04 安装设置笔记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fubuntu-804-configuration%2F&from=http%3A%2F%2Fd.ream.at%2Fubuntu%25E4%25BF%25AE%25E6%2594%25B9%25E6%2598%25BE%25E7%25A4%25BA%25E5%2599%25A8%25E5%2588%2586%25E8%25BE%25A8%25E7%258E%2587%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Ubuntu 8.04 安装设置笔记</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Ubuntu 7.10 安装设置笔记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fubuntu-710-configuration%2F&from=http%3A%2F%2Fd.ream.at%2Fubuntu%25E4%25BF%25AE%25E6%2594%25B9%25E6%2598%25BE%25E7%25A4%25BA%25E5%2599%25A8%25E5%2588%2586%25E8%25BE%25A8%25E7%258E%2587%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Ubuntu 7.10 安装设置笔记</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table><img src="http://d.ream.at/?ak_action=api_record_view&id=1384&type=feed" alt="" />]]></content:encoded> <wfw:commentRss>http://d.ream.at/ubuntu%e4%bf%ae%e6%94%b9%e6%98%be%e7%a4%ba%e5%99%a8%e5%88%86%e8%be%a8%e7%8e%87/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Poptop+Freeradius不支持MPPE的问题</title><link>http://d.ream.at/poptop-freeradius%e4%b8%8d%e6%94%af%e6%8c%81mppe%e7%9a%84%e9%97%ae%e9%a2%98/</link> <comments>http://d.ream.at/poptop-freeradius%e4%b8%8d%e6%94%af%e6%8c%81mppe%e7%9a%84%e9%97%ae%e9%a2%98/#comments</comments> <pubDate>Sat, 14 Jan 2012 13:43:22 +0000</pubDate> <dc:creator>WindyWinter</dc:creator> <category><![CDATA[学习笔记]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[freeradius]]></category> <category><![CDATA[PPTP]]></category> <category><![CDATA[VPN]]></category><guid isPermaLink="false">http://d.ream.at/?p=1375</guid> <description><![CDATA[Debian的Poptop服务器端配置了用Freeradius验证后，PPTP客户端连接时如果选择加密，即默认配置，会被提示“服务器端不支持加密”。实际上问题出在debian的freeradius包的默认配置文件，/etc/freeradius/modules/mschap中use_mppe项默认是no，将其改为yes问题就解决了。这个卡了我近1年的问题终于解决了。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="免费VPN资源" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.hello1988.com%2Farchives%2F174&from=http%3A%2F%2Fd.ream.at%2Fpoptop-freeradius%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581mppe%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/19/2846798.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">免费VPN资源 (@hello1988)</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="谁懂VPN？" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.daibei.org%2Fwho-understand-vpn.html&from=http%3A%2F%2Fd.ream.at%2Fpoptop-freeradius%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581mppe%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/11/23/1055148.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">谁懂VPN？ (@daibei)</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Debian配置LANMP笔记（Debian+Apache+Nginx+MySQL+PHP）" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fconfigure-lanmp-on-debian%2F&from=http%3A%2F%2Fd.ream.at%2Fpoptop-freeradius%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581mppe%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Debian配置LANMP笔记（Debian+Apache+Nginx+MySQL+PHP）</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Debian VE producing FATAL error messages with iptables" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fdebian-ve-producing-fatal-error-messages-with-iptables%2F&from=http%3A%2F%2Fd.ream.at%2Fpoptop-freeradius%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581mppe%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Debian VE producing FATAL error messages with iptables</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="IPv6 VPN" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fipv6-vpn%2F&from=http%3A%2F%2Fd.ream.at%2Fpoptop-freeradius%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581mppe%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">IPv6 VPN</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table>]]></description> <content:encoded><![CDATA[<p>Debian的Poptop服务器端配置了用Freeradius验证后，PPTP客户端连接时如果选择加密，即默认配置，会被提示“服务器端不支持加密”。实际上问题出在debian的freeradius包的默认配置文件，/etc/freeradius/modules/mschap中use_mppe项默认是no，将其改为yes问题就解决了。</p><p>这个卡了我近1年的问题终于解决了。</p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="免费VPN资源" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.hello1988.com%2Farchives%2F174&from=http%3A%2F%2Fd.ream.at%2Fpoptop-freeradius%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581mppe%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/19/2846798.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">免费VPN资源 (@hello1988)</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="谁懂VPN？" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.daibei.org%2Fwho-understand-vpn.html&from=http%3A%2F%2Fd.ream.at%2Fpoptop-freeradius%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581mppe%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/11/23/1055148.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">谁懂VPN？ (@daibei)</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Debian配置LANMP笔记（Debian+Apache+Nginx+MySQL+PHP）" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fconfigure-lanmp-on-debian%2F&from=http%3A%2F%2Fd.ream.at%2Fpoptop-freeradius%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581mppe%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Debian配置LANMP笔记（Debian+Apache+Nginx+MySQL+PHP）</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Debian VE producing FATAL error messages with iptables" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fdebian-ve-producing-fatal-error-messages-with-iptables%2F&from=http%3A%2F%2Fd.ream.at%2Fpoptop-freeradius%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581mppe%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Debian VE producing FATAL error messages with iptables</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="IPv6 VPN" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fipv6-vpn%2F&from=http%3A%2F%2Fd.ream.at%2Fpoptop-freeradius%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581mppe%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">IPv6 VPN</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table><img src="http://d.ream.at/?ak_action=api_record_view&id=1375&type=feed" alt="" />]]></content:encoded> <wfw:commentRss>http://d.ream.at/poptop-freeradius%e4%b8%8d%e6%94%af%e6%8c%81mppe%e7%9a%84%e9%97%ae%e9%a2%98/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Merry Christmas 4</title><link>http://d.ream.at/merry-christmas-4/</link> <comments>http://d.ream.at/merry-christmas-4/#comments</comments> <pubDate>Sat, 24 Dec 2011 16:00:41 +0000</pubDate> <dc:creator>WindyWinter</dc:creator> <category><![CDATA[心情文字]]></category> <category><![CDATA[Christmas]]></category><guid isPermaLink="false">http://d.ream.at/?p=1357</guid> <description><![CDATA[Merry Christmas to everyone. We shall never give up because God love us.<a class="more-link" href="http://d.ream.at/merry-christmas-4/" title="Merry Christmas 4  共1158字">Read more</a><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="Merry Christmas 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-2%2F&from=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-4%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606152.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Merry Christmas 2</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Merry Christmas 3" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-3%2F&from=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-4%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2605968.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Merry Christmas 3</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Merry Christmas" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmerry-christmas%2F&from=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-4%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Merry Christmas</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="The 2007 ACM Asia Programming Contest - Changchun Site 祝贺专帖" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fcongratulations-on-changchun-site%2F&from=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-4%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/08/2606337.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">The 2007 ACM Asia Programming Contest - Changchun Site 祝贺专帖</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="WrightEagleBASE代码导读之二" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fintroduction-to-wrighteaglebase-2%2F&from=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-4%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2605981.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WrightEagleBASE代码导读之二</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table>]]></description> <content:encoded><![CDATA[<p>Merry Christmas to everyone. We shall never give up because God love us.</p><p><a href="/wp-content/media/christmas_2011.jpg" rel="shadowbox[sbpost-1357];player=img;" title="christmas_2011"><img src="/wp-content/media/christmas_2011.jpg" alt="" title="christmas_2011" width="560" height="350" class="aligncenter size-full wp-image-1360" /></a></p><blockquote><p> STAR OF HOPE<br /> - by Del "Abe" Jones</p><p>They came to pray, on Christmas Day<br /> When, the Christ Child was born -<br /> They came to see, Virgin Mary<br /> Bear hope for the forlorn.</p><p>Some from afar, followed that star<br /> Though why, they were not sure -<br /> At great expense, brought frankincense -<br /> And gifts of spice and myrrh.</p><p>They gathered 'round, as if spellbound -<br /> Their eyes lit by the glow -<br /> For, from the bed, o'er Jesus' head<br /> There was a bright halo.</p><p>That Child did things, to poor and kings<br /> With the gaze of His eye -<br /> He gave some hope, helped others cope<br /> And some, He made them cry.</p><p>Down on their knees, they said, "Lord, please<br /> Stop pain and suffering.<br /> Make all on Earth, of the same worth<br /> With the joy, that you can bring."</p><p>"Please teach of love, from God above<br /> Shared, by each fellow man.<br /> Show us the way, what we must say<br /> To fit, the Heavenly plan."</p><p>He tried for years, to end mans' fears -<br /> Brought miracles each day -<br /> He taught His word, (not always heard)<br /> And for our souls, He'd pray.</p><p>But, it seems greed, had sown its' seed<br /> For some, 'twas much too late.<br /> And though He cared and, always shared<br /> The Cross had sealed His fate.</p><p>Now, all mankind, for being blind<br /> Must someday, pass the test.<br /> But, if lived right, both day and night<br /> Mans' future could be blessed.</p><p>So Christmas Day, take time to pray<br /> To bow your head and see<br /> That God above, will send His love<br /> For all eternity.</p></blockquote><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="Merry Christmas 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-2%2F&from=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-4%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606152.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Merry Christmas 2</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Merry Christmas 3" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-3%2F&from=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-4%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2605968.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Merry Christmas 3</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Merry Christmas" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmerry-christmas%2F&from=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-4%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Merry Christmas</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="素棺" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F%25E7%25B4%25A0%25E6%25A3%25BA%2F&from=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-4%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606209.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">素棺</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Yaris雅力士彩绘设计网络大赛火热揭幕" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fyaris-design-competition%2F&from=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-4%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606299.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Yaris雅力士彩绘设计网络大赛火热揭幕</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table><img src="http://d.ream.at/?ak_action=api_record_view&id=1357&type=feed" alt="" />]]></content:encoded> <wfw:commentRss>http://d.ream.at/merry-christmas-4/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Bitcoin：千里之行</title><link>http://d.ream.at/bitcoin%ef%bc%9a%e5%8d%83%e9%87%8c%e4%b9%8b%e8%a1%8c/</link> <comments>http://d.ream.at/bitcoin%ef%bc%9a%e5%8d%83%e9%87%8c%e4%b9%8b%e8%a1%8c/#comments</comments> <pubDate>Mon, 05 Sep 2011 04:47:13 +0000</pubDate> <dc:creator>WindyWinter</dc:creator> <category><![CDATA[学习笔记]]></category> <category><![CDATA[Bitcoin]]></category> <category><![CDATA[P2P]]></category> <category><![CDATA[货币]]></category><guid isPermaLink="false">http://d.ream.at/?p=1280</guid> <description><![CDATA[1998年，邮件列表cypherpunks的一位成员提议构造一种数字的、分布式的、匿名的货币——b-money，来摆脱政府的控制。十年后，Satoshi Nakamoto用Bitcoin把这个理想带进了现实。技术铲除必要之恶
Satoshi Nakamoto的论文描述了Bitcoin货币流通的原理。
<a class="more-link" href="http://d.ream.at/bitcoin%ef%bc%9a%e5%8d%83%e9%87%8c%e4%b9%8b%e8%a1%8c/" title="Bitcoin：千里之行  共3377字">Read more</a><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="《货币战争》读书笔记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fnote-on-currency-war%2F&from=http%3A%2F%2Fd.ream.at%2Fbitcoin%25EF%25BC%259A%25E5%258D%2583%25E9%2587%258C%25E4%25B9%258B%25E8%25A1%258C%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">《货币战争》读书笔记</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Merry Christmas 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-2%2F&from=http%3A%2F%2Fd.ream.at%2Fbitcoin%25EF%25BC%259A%25E5%258D%2583%25E9%2587%258C%25E4%25B9%258B%25E8%25A1%258C%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606152.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Merry Christmas 2</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Thanks giving 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fthanks-giving-2%2F&from=http%3A%2F%2Fd.ream.at%2Fbitcoin%25EF%25BC%259A%25E5%258D%2583%25E9%2587%258C%25E4%25B9%258B%25E8%25A1%258C%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Thanks giving 2</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="准备看两部书" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fgoing-to-read-two-books%2F&from=http%3A%2F%2Fd.ream.at%2Fbitcoin%25EF%25BC%259A%25E5%258D%2583%25E9%2587%258C%25E4%25B9%258B%25E8%25A1%258C%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">准备看两部书</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Thanksgiving 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fthanksgiving-2%2F&from=http%3A%2F%2Fd.ream.at%2Fbitcoin%25EF%25BC%259A%25E5%258D%2583%25E9%2587%258C%25E4%25B9%258B%25E8%25A1%258C%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Thanksgiving 2</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table>]]></description> <content:encoded><![CDATA[<p>1998年，邮件列表cypherpunks的一位成员提议构造一种数字的、分布式的、匿名的货币——b-money，来摆脱政府的控制。十年后，Satoshi Nakamoto用<a href="http://bitcoin.org/">Bitcoin</a>把这个理想带进了现实。</p><h4>技术铲除必要之恶</h4><p>Satoshi Nakamoto的<a href="http://bitcoin.org/bitcoin.pdf">论文</a>描述了Bitcoin货币流通的原理。</p><p>BTC（Bitcoin的货币单位）的流通是基于“账户”的，每个“账户”其实是一对公钥和私钥，私钥由账户的主人保密，公钥向整个网络公开（在Bitcoin中表现为“地址”），信息用私钥签名后可用公钥验证，但第三方无法冒充账户主人发送信息。如果要从A账户向B账户转一笔钱，就把钱的数量和B账户的公钥，用A账户的私钥签名后广播到bitcoin的P2P网络上，任何人看到这个信息，如果用A账户的公钥验证成功，就可以确定这次转账确实是A账户的主人授权的。Bitcoin使用的签名算法是<a href="http://en.wikipedia.org/wiki/ECDSA">ECDSA</a>。Bitcoin的匿名性体现在，持有私钥的人便是账户的主人，不持有私钥的人便不是账户的主人，转账的信息对整个网络公开，但无从推断每个账户的主人身份，BTC如同现金一般，不记名、不挂失。</p><p>BTC并不像在银行体系中一样以“余额”的形式存在于账户中，而是存在于账户到账户的转账交易中。整个Bitcoin网络上每个节点都记录了Bitcoin诞生以来的每笔转账的详单，从中可以推测出每个账户拥有多少BTC，这样所有人都可以知道A账户有没有足够的BTC完成向B账户的这次转账。传统的电子支付手段是由具有公信力的机构为一笔转账做担保，Bitcoin转账的担保人是整个Bitcoin网络。</p><p>Bitcoin的P2P网络并不是在分散的传递各种转账信息，而是由一些节点收集转账信息，核实后将它们打包成账单（block），对转账进行“确认”，然后再广播出去，其它节点只接收和验证账单。每个账单还包括对前一个账单的“确认”，账单对账单的“确认”将所有的账单连接成一条链，当这个链出现多个合法的分支时，只有那个最长的分支被其它节点接受并延续下去。一笔转账想得到Bitcoin网络的担保，就必须得到账单的“确认”，并且这个账单要能得到后续账单的“确认”。账单生成的过程用到一个类似<a href="http://en.wikipedia.org/wiki/Hashcash">Hashcash</a>的系统，并由网络自动调整难度，以保证整个Bitcoin网络总是大约每10分钟生成一个新的账单。理论上，一个人能够生成欺骗性的账单，这些账单上不包括他以前发送过的转账，作为那些BTC仍然属于他的证据，然而，以前的转账已经被发送给了Bitcoin网络中很大数量的节点，有一个账单已经“确认”了它并且又得到了后续几个账单的“确认”，欺骗性的账单不太可能被其它节点接受和得到“确认”，以前的转账和所属的账单得到的“确认”越多，欺骗性账单被接受的概率就越低。如果一笔转账总共得到了多于6个“确认”，即在被打包进某个账单后这个账单又获得了至少5个“确认”，那么转账的发起方伪造账单的成功概率就微乎其微了。</p><p>BTC的发行与账单的生成是融合在一起的。生成账单是BTC流通的核心环节，而账单生成过程非常消耗计算资源，所以生成了账单的节点自动获得50 BTC的奖励，就像挖金矿的人挖到金子一样。生成账单的节点有权选择仅将一部分转账打包进新的账单，所以转账的发起人为了使转账得到Bitcoin网络的担保，可以支付一笔转账费来鼓励生成账单的节点优先选择将自己的转账打包进账单，除了50 BTC的奖励之外，转账费也是支持这些节点运作下去的重要动力。</p><p>人们选择贵金属作为货币来代表财富，看中的是贵金属能够“眼见为实”，难以造假。当贵金属的产量无法满足经济的需求时，就只能纵容政府拥有种种特权。然而政府总是用这些特权制造通货膨胀。这种“必要之恶”的存在，只是因为没有更好的解决方法。Bitcoin开创性的用数学方法和网络协议保证了一种数字货币无法被伪造、供应量稳定，让人们看到了技术铲除必要之恶的曙光。</p><h4>数字千年货币实验</h4><p>Bitcoin并不是第一种数字货币，早在1998年，就出现了<a href="http://en.wikipedia.org/wiki/Beenz">Beenz</a>，然而从Beenz到<a href="http://en.wikipedia.org/wiki/E-Gold">E-Gold</a>，无不得到了各种国家暴力机构的敌视而殒落。这些数字货币先驱，皆存在一个中央发行和控制机构，成为了它们最大的弱点。</p><p>Bitcoin的P2P和匿名特性使得这些善于扼杀革命的机构无从下手。Bitcoin的创始人，Satoshi Nakamoto，是一个虚构的人物，没有人知道“他”到底是一个人还是一个团体，也没有人知道他是地球人还是外星人，他留下的Email地址来自匿名电子邮件账户服务商，他从未写过任何无关Bitcoin的文字，他在创造了第一个Bitcoin账单（Genesis block）之后就彻底消失了。然而一场新的货币实验却由此开始。</p><p>Bitcoin被设计为与贵金属货币一样具有通缩属性，其供应量，也就是由生成账单获得的奖励，每210,000个账单（大约4年时间）衰减一半。BTC总量的极限是21,000,000 BTC，但BTC并不是Bitcoin的最小货币单位，最小单位是0.00000001 BTC，也就是Bitcoin最终会有2,100,000,000,000,000个货币单位。下图是BTC总量随时间变化的曲线。<br /> <a href="/wp-content/media/total_bitcoins_over_time.png" rel="shadowbox[sbpost-1280];player=img;" title="total_bitcoins_over_time"><img src="/wp-content/media/total_bitcoins_over_time-600x486.png" alt="" title="total_bitcoins_over_time" width="600" height="486" class="aligncenter size-thumbnail wp-image-1288" /></a><br /> BTC的价值并不由任何实物担保，而是像纸币一样取决于使用者的信心。事实上，在现代，贵金属的价值一样也是取决于人们的信心，当1980年投资者信心尽失之后，黄金经历了长达20年的熊市，价格跌去了70%。</p><p>第一笔用BTC结算的交易是<a href="http://bitcointalk.org/?topic=137.msg1195#msg1195">2010年5月22日laszlo用10,000 BTC买了一个价值$25的皮萨</a>，BTC兑USD的汇率折算为0.0025。之后随着人们对BTC的信心不断增强，BTC兑USD汇率开始飙升，到2011年6月8日到达31.8的高位，上涨了12720倍。<br /> <a href="/wp-content/media/btc_usd.png" rel="shadowbox[sbpost-1280];player=img;" title="btc_usd"><img src="/wp-content/media/btc_usd-600x119.png" alt="" title="btc_usd" width="600" height="119" class="aligncenter size-thumbnail wp-image-1296" /></a><br /> 下面是bitcoin的Google Trend。<br /> <a href="/wp-content/media/btc_trend.png" rel="shadowbox[sbpost-1280];player=img;" title="btc_trend"><img src="/wp-content/media/btc_trend.png" alt="" title="btc_trend" width="580" height="260" class="aligncenter size-full wp-image-1298" /></a><br /> 随后的一系列事件，包括主要交易所Mt.Gox被黑、某个人丢失25,000 BTC、在线银行mybitcoin.com倒闭等等，打击了人们的信心。从2011年8月开始，BTC兑USD汇率进入调整阶段，徘徊在7~14之间。目前BTC兑USD汇率的短线技术指标指向平稳，长线来看，Bitcoin经历接连噩耗而屹立不倒，已经获得了相当的生命力，其通缩属性会使得升值倾向不断显露。</p><p>虽然Bitcoin拥有一些<a href="http://en.wikipedia.org/wiki/Electronic_funds_transfer">电子支付手段</a>的特性，但它的确是被设计为一种新的<a href="http://en.wikipedia.org/wiki/Currency">货币</a>。而围绕这种新的货币的金融体系，还没有被建立起来，Bitcoin的使用者仍然处在自己运行完整版的客户端，每次转账等待大约1小时（获得6个“确认”需要的时间）的阶段。Bitcoin系统缺少银行、缺少快捷的支付通道，Bitcoin兑换市场也都不支持卖空和杠杆交易。当然，Bitcoin面临的最大问题仍然是大部分人都把它当作绝佳的投机品，以BTC结算的经济规模不足。</p><p>匿名性使得Bitcoin特别适宜作为一些监管机构不愿看到的交易的支付手段。在Bitcoin还不知名的时候，<a href="http://www.silkroadmarket.org/">Silk Road毒品交易市场</a>就已经专用BTC结算了。<a href="http://wikileaks.org">维基解密</a>在被信用卡公司和Paypal围剿之后，Bitcoin捐款通道一跃而成主要善款来源。Bitcoin被用于行贿的消息还没有出现过，一方面可能是因为Bitcoin知名度还不够高，另一方面也可能是因为已经发行的710万BTC总市值只有6000万美元，还不足以支撑灰色交易。</p><p>Bitcoin的原理和程序代码都是完全公开的，任何人想复制和改进都非常容易，现在已经出现了诸多竞争者。但是开源时代的复制是无法成功的，Ixcoin是一个Bitcoin的复制品，除了几个参数不同外，运作模式完全一致，现在Ixcoin已经完全失败，人们甚至创造了I0coin用于讽刺它。<a href="http://solidcoin.info/">SolidCoin</a>是第一个真正有意义的Bitcoin改进版，其设计者看到了Bitcoin转账过慢的问题，改变了协议中的一些设定来加速转账过程。<a href="http://dot-bit.org">Namecoin</a>根据Bitcoin的原理构造了一个P2P的DNS系统，但Namecoin的协议存在一些匪夷所思设定，为更新DNS记录而支付的费用不给任何人，而是在网络上湮灭，整个系统无人可以获益。</p><p>针对Bitcoin的经济学分析已经连篇累牍，但Bitcoin的意义却远不止创造了一种新的货币——自由主义者们刚刚在千里之行中迈出了一小步，路漫漫其修远兮。</p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="《货币战争》读书笔记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fnote-on-currency-war%2F&from=http%3A%2F%2Fd.ream.at%2Fbitcoin%25EF%25BC%259A%25E5%258D%2583%25E9%2587%258C%25E4%25B9%258B%25E8%25A1%258C%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">《货币战争》读书笔记</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Merry Christmas 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-2%2F&from=http%3A%2F%2Fd.ream.at%2Fbitcoin%25EF%25BC%259A%25E5%258D%2583%25E9%2587%258C%25E4%25B9%258B%25E8%25A1%258C%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606152.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Merry Christmas 2</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Thanks giving 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fthanks-giving-2%2F&from=http%3A%2F%2Fd.ream.at%2Fbitcoin%25EF%25BC%259A%25E5%258D%2583%25E9%2587%258C%25E4%25B9%258B%25E8%25A1%258C%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Thanks giving 2</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="准备看两部书" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fgoing-to-read-two-books%2F&from=http%3A%2F%2Fd.ream.at%2Fbitcoin%25EF%25BC%259A%25E5%258D%2583%25E9%2587%258C%25E4%25B9%258B%25E8%25A1%258C%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">准备看两部书</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Thanksgiving 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fthanksgiving-2%2F&from=http%3A%2F%2Fd.ream.at%2Fbitcoin%25EF%25BC%259A%25E5%258D%2583%25E9%2587%258C%25E4%25B9%258B%25E8%25A1%258C%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Thanksgiving 2</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table><img src="http://d.ream.at/?ak_action=api_record_view&id=1280&type=feed" alt="" />]]></content:encoded> <wfw:commentRss>http://d.ream.at/bitcoin%ef%bc%9a%e5%8d%83%e9%87%8c%e4%b9%8b%e8%a1%8c/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>谁谓河广，一苇杭之</title><link>http://d.ream.at/%e8%b0%81%e8%b0%93%e6%b2%b3%e5%b9%bf%ef%bc%8c%e4%b8%80%e8%8b%87%e6%9d%ad%e4%b9%8b/</link> <comments>http://d.ream.at/%e8%b0%81%e8%b0%93%e6%b2%b3%e5%b9%bf%ef%bc%8c%e4%b8%80%e8%8b%87%e6%9d%ad%e4%b9%8b/#comments</comments> <pubDate>Sat, 27 Aug 2011 10:13:29 +0000</pubDate> <dc:creator>WindyWinter</dc:creator> <category><![CDATA[心情文字]]></category> <category><![CDATA[redsky]]></category><guid isPermaLink="false">http://d.ream.at/?p=1266</guid> <description><![CDATA[上个月这时候订的笔记本终于到了……原来的本子在被我粗暴对待了6年之后已经一副随时散架的样子了，从Istanbul回来后决定换个笔记本。定下的型号是HP Pavilion dv6t Quad Edition LM720AV。虽然大家都说HP家用本做的不好，但商务本实在是买不起……而这个Intel Core i7 2630QM + ATI Radeon HD6770M + 1080p高分辨率屏，美国官网打完折只要$927.49。不过这个配置不在中国销售，淘宝也没人代购（半个月后才有代购报价9000），于是只好走一走海淘的路了。
<a class="more-link" href="http://d.ream.at/%e8%b0%81%e8%b0%93%e6%b2%b3%e5%b9%bf%ef%bc%8c%e4%b8%80%e8%8b%87%e6%9d%ad%e4%b9%8b/" title="谁谓河广，一苇杭之  共974字">Read more</a><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="朔方纪事" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fchampion-at-ordos-robocup-chinaopen-2010%2F&from=http%3A%2F%2Fd.ream.at%2F%25E8%25B0%2581%25E8%25B0%2593%25E6%25B2%25B3%25E5%25B9%25BF%25EF%25BC%258C%25E4%25B8%2580%25E8%258B%2587%25E6%259D%25AD%25E4%25B9%258B%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606182.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">朔方纪事</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="赠祝元宠" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F%25E8%25B5%25A0%25E7%25A5%259D%25E5%2585%2583%25E5%25AE%25A0%2F&from=http%3A%2F%2Fd.ream.at%2F%25E8%25B0%2581%25E8%25B0%2593%25E6%25B2%25B3%25E5%25B9%25BF%25EF%25BC%258C%25E4%25B8%2580%25E8%258B%2587%25E6%259D%25AD%25E4%25B9%258B%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">赠祝元宠</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="It's time for me to go" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fits-time-for-me-to-go%2F&from=http%3A%2F%2Fd.ream.at%2F%25E8%25B0%2581%25E8%25B0%2593%25E6%25B2%25B3%25E5%25B9%25BF%25EF%25BC%258C%25E4%25B8%2580%25E8%258B%2587%25E6%259D%25AD%25E4%25B9%258B%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/08/2606349.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">It's time for me to go</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="今天没事儿逗小i玩儿了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fkidding-with-xiaoi%2F&from=http%3A%2F%2Fd.ream.at%2F%25E8%25B0%2581%25E8%25B0%2593%25E6%25B2%25B3%25E5%25B9%25BF%25EF%25BC%258C%25E4%25B8%2580%25E8%258B%2587%25E6%259D%25AD%25E4%25B9%258B%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/08/21/23801085.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">今天没事儿逗小i玩儿了</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Champion, RoboCup 2009" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fchampion-robocup-2009%2F&from=http%3A%2F%2Fd.ream.at%2F%25E8%25B0%2581%25E8%25B0%2593%25E6%25B2%25B3%25E5%25B9%25BF%25EF%25BC%258C%25E4%25B8%2580%25E8%258B%2587%25E6%259D%25AD%25E4%25B9%258B%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606244.gif" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Champion, RoboCup 2009</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table>]]></description> <content:encoded><![CDATA[<p>上个月这时候订的笔记本终于到了……</p><p>原来的本子在被我粗暴对待了6年之后已经一副随时散架的样子了，从Istanbul回来后决定换个笔记本。定下的型号是<a href="http://www.shopping.hp.com/webapp/shopping/product_detail.do?product_code=LM720AV">HP Pavilion dv6t Quad Edition LM720AV</a>。虽然大家都说HP家用本做的不好，但商务本实在是买不起……而这个Intel Core i7 2630QM + ATI Radeon HD6770M + 1080p高分辨率屏，美国官网打完折只要$927.49。不过这个配置不在中国销售，淘宝也没人代购（半个月后才有代购报价9000），于是只好走一走海淘的路了。</p><p>HP的美国官网，不止HP，几乎所有卖笔记本的，都是不送到海外的，连外国信用卡都不接受，好在有肉身翻墙的师兄和转运公司能把这两个障碍扫除掉。</p><p>7月28号下单，笔记本是先下单后生产的，8月8号HP发货。嗯，发货地点——中国上海。</p><p><a href="/wp-content/media/fedex_tracking_laptop.png" rel="shadowbox[sbpost-1266];player=img;" title="fedex_tracking_laptop"><img src="/wp-content/media/fedex_tracking_laptop-600x767.png" alt="" title="fedex_tracking_laptop" width="600" height="767" class="aligncenter size-medium wp-image-1276" /></a></p><p>下面是转运公司用EMS发给我的快递单。</p><p><a href="/wp-content/media/ems_tracking_laptop.png" rel="shadowbox[sbpost-1266];player=img;" title="ems_tracking_laptop"><img src="/wp-content/media/ems_tracking_laptop-600x440.png" alt="" title="ems_tracking_laptop" width="600" height="440" class="aligncenter size-thumbnail wp-image-1274" /></a></p><p>如果我在上海的话，不知道会不会更囧一点……半个月，就为了兜个圈子。笔记本发到转运公司后再往回寄的过程是最纠结的，这种转运公司是毫无法律保障可言的，一切全凭信用——转运公司大多都是中国人开的，中国人到底有多少“信用”我们自然心知肚明。</p><p>8月23号，我还在兰州的时候EMS快递员打了电话来，说包裹到了——当时着实吓得我七魂出窍——前人都说的是笔记本100%被税（海关的仪器可以检测出是电子产品，他们乐意的话完全能做出全自动收关税来），寄的时候也就根本没打偷税的主意，申报品名老老实实写的“笔记本电脑”，关税不过500而已；现在居然没发税单来让我缴税，直接把包裹送了来，只能说明里面不是“电子产品”了……</p><p>不过看来前人所言未必可靠，海关也有严重失职的时候，去拆包的redsky最后还是抱了笔记本电脑回去了。</p><p>拆之前的样子：</p><p><a href="/wp-content/media/100_1840.jpg" rel="shadowbox[sbpost-1266];player=img;" title="100_1840"><img src="/wp-content/media/100_1840-600x450.jpg" alt="" title="100_1840" width="600" height="450" class="aligncenter size-thumbnail wp-image-1268" /></a></p><p><a href="/wp-content/media/100_1841.jpg" rel="shadowbox[sbpost-1266];player=img;" title="100_1841"><img src="/wp-content/media/100_1841-600x450.jpg" alt="" title="100_1841" width="600" height="450" class="aligncenter size-thumbnail wp-image-1270" /></a></p><p>拆之后的样子：</p><p><a href="/wp-content/media/DSCF2645.jpg" rel="shadowbox[sbpost-1266];player=img;" title="DSCF2645"><img src="/wp-content/media/DSCF2645-600x450.jpg" alt="" title="DSCF2645" width="600" height="450" class="aligncenter size-thumbnail wp-image-1272" /></a></p><p>总共花了$927.49+$75.31=$1002.8，合6500块钱不到，省了500块钱关税，一下就显得便宜了。</p><p>HP预装的系统太坑爹了——700G的硬盘分了四个主分区，100M / 680G / 20G / 100M，20G的是系统恢复区，只能自己格掉重来……</p><p>新系统装驱动折腾了一整天，这个本是没有A卡和集显手动切换开关的，像N卡一样用驱动控制，所以装驱动的时候不能直接装催化剂和Intel集显驱动，只能装HP给的驱动。装了正确的驱动后跑起来不错了，A卡不开的话，基本没温度。</p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="朔方纪事" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fchampion-at-ordos-robocup-chinaopen-2010%2F&from=http%3A%2F%2Fd.ream.at%2F%25E8%25B0%2581%25E8%25B0%2593%25E6%25B2%25B3%25E5%25B9%25BF%25EF%25BC%258C%25E4%25B8%2580%25E8%258B%2587%25E6%259D%25AD%25E4%25B9%258B%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606182.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">朔方纪事</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="赠祝元宠" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F%25E8%25B5%25A0%25E7%25A5%259D%25E5%2585%2583%25E5%25AE%25A0%2F&from=http%3A%2F%2Fd.ream.at%2F%25E8%25B0%2581%25E8%25B0%2593%25E6%25B2%25B3%25E5%25B9%25BF%25EF%25BC%258C%25E4%25B8%2580%25E8%258B%2587%25E6%259D%25AD%25E4%25B9%258B%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">赠祝元宠</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="北海明珠" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fchampion-at-dalian-robocup-chinaopen-2009%2F&from=http%3A%2F%2Fd.ream.at%2F%25E8%25B0%2581%25E8%25B0%2593%25E6%25B2%25B3%25E5%25B9%25BF%25EF%25BC%258C%25E4%25B8%2580%25E8%258B%2587%25E6%259D%25AD%25E4%25B9%258B%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606212.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">北海明珠</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Merry Christmas 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmerry-christmas-2%2F&from=http%3A%2F%2Fd.ream.at%2F%25E8%25B0%2581%25E8%25B0%2593%25E6%25B2%25B3%25E5%25B9%25BF%25EF%25BC%258C%25E4%25B8%2580%25E8%258B%2587%25E6%259D%25AD%25E4%25B9%258B%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606152.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Merry Christmas 2</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="多毛猫" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fduomaocat%2F&from=http%3A%2F%2Fd.ream.at%2F%25E8%25B0%2581%25E8%25B0%2593%25E6%25B2%25B3%25E5%25B9%25BF%25EF%25BC%258C%25E4%25B8%2580%25E8%258B%2587%25E6%259D%25AD%25E4%25B9%258B%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/08/2606492.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">多毛猫</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table><img src="http://d.ream.at/?ak_action=api_record_view&id=1266&type=feed" alt="" />]]></content:encoded> <wfw:commentRss>http://d.ream.at/%e8%b0%81%e8%b0%93%e6%b2%b3%e5%b9%bf%ef%bc%8c%e4%b8%80%e8%8b%87%e6%9d%ad%e4%b9%8b/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Introduction to Algorithms, 3rd Edition</title><link>http://d.ream.at/introduction-to-algorithms-3rd-edition/</link> <comments>http://d.ream.at/introduction-to-algorithms-3rd-edition/#comments</comments> <pubDate>Sat, 13 Aug 2011 11:15:03 +0000</pubDate> <dc:creator>WindyWinter</dc:creator> <category><![CDATA[资源共享]]></category> <category><![CDATA[算法]]></category><guid isPermaLink="false">http://d.ream.at/?p=1258</guid> <description><![CDATA[一直想用第三版的替换收藏品里的第二版……可是国内没引进，Amazon直接买好贵……今天发现第三版也有电子版了，http://www.fileserve.com/file/nhnapmE，高清带书签，非扫描版。<a class="more-link" href="http://d.ream.at/introduction-to-algorithms-3rd-edition/" title="Introduction to Algorithms, 3rd Edition  共207字">Read more</a><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="“算法与数据结构”的镜像" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmirror-of-algorithm126com%2F&from=http%3A%2F%2Fd.ream.at%2Fintroduction-to-algorithms-3rd-edition%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">“算法与数据结构”的镜像</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="3年来我收集的有关数据结构与算法的资料" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fpack-of-data-structures-and-algorithms%2F&from=http%3A%2F%2Fd.ream.at%2Fintroduction-to-algorithms-3rd-edition%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">3年来我收集的有关数据结构与算法的资料</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="我的ICPC之路" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmy-icpc-road%2F&from=http%3A%2F%2Fd.ream.at%2Fintroduction-to-algorithms-3rd-edition%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/08/2606340.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">我的ICPC之路</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="SGU 231 解题手记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fsgu-231%2F&from=http%3A%2F%2Fd.ream.at%2Fintroduction-to-algorithms-3rd-edition%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">SGU 231 解题手记</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="SGU 175 解题手记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fsgu-175%2F&from=http%3A%2F%2Fd.ream.at%2Fintroduction-to-algorithms-3rd-edition%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">SGU 175 解题手记</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table>]]></description> <content:encoded><![CDATA[<p>一直想用第三版的替换收藏品里的第二版……可是国内没引进，Amazon直接买好贵……</p><p>今天发现第三版也有电子版了，<a href="http://www.fileserve.com/file/nhnapmE">http://www.fileserve.com/file/nhnapmE</a>，高清带书签，非扫描版。</p><p>想买正版实体书收藏的童鞋，这里有两家印度的书店提供比较便宜的印度版：</p><ol><li><a href="http://www.bookshopofindia.com/search.asp?action1=default&#038;bookid=9070043">Bookshop of India</a>，书$10.62，运费$13。</li><li><a href="http://www.nbcindia.com/Descriptions.asp?6v6yr_vq=FEGFILF&#038;Book=Introduction-to-Algorithms-Third-Edition">NBCIndia.com</a>，书Rs. 298（合$6.57），运费Rs. 1200。</li></ol><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="“算法与数据结构”的镜像" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmirror-of-algorithm126com%2F&from=http%3A%2F%2Fd.ream.at%2Fintroduction-to-algorithms-3rd-edition%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">“算法与数据结构”的镜像</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="3年来我收集的有关数据结构与算法的资料" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fpack-of-data-structures-and-algorithms%2F&from=http%3A%2F%2Fd.ream.at%2Fintroduction-to-algorithms-3rd-edition%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">3年来我收集的有关数据结构与算法的资料</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="我的ICPC之路" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fmy-icpc-road%2F&from=http%3A%2F%2Fd.ream.at%2Fintroduction-to-algorithms-3rd-edition%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/08/2606340.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">我的ICPC之路</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="SGU 231 解题手记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fsgu-231%2F&from=http%3A%2F%2Fd.ream.at%2Fintroduction-to-algorithms-3rd-edition%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">SGU 231 解题手记</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="SGU 175 解题手记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fsgu-175%2F&from=http%3A%2F%2Fd.ream.at%2Fintroduction-to-algorithms-3rd-edition%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">SGU 175 解题手记</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table><img src="http://d.ream.at/?ak_action=api_record_view&id=1258&type=feed" alt="" />]]></content:encoded> <wfw:commentRss>http://d.ream.at/introduction-to-algorithms-3rd-edition/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>圣城风云</title><link>http://d.ream.at/champion-at-istanbul-robocup-2011/</link> <comments>http://d.ream.at/champion-at-istanbul-robocup-2011/#comments</comments> <pubDate>Sat, 30 Jul 2011 12:53:42 +0000</pubDate> <dc:creator>WindyWinter</dc:creator> <category><![CDATA[心情文字]]></category> <category><![CDATA[RoboCup]]></category> <category><![CDATA[WrightEagle]]></category><guid isPermaLink="false">http://d.ream.at/?p=1102</guid> <description><![CDATA[On July 4th 2011, we set foot in Istanbul for RoboCup 2011. Istanbul, a holy city which has been compromised for a thousand years.Arriving. Morning Istanbul.<a class="more-link" href="http://d.ream.at/champion-at-istanbul-robocup-2011/" title="圣城风云  共565字">Read more</a><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="山大网络风云榜" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.daibei.org%2Falexandernetwork.html&from=http%3A%2F%2Fd.ream.at%2Fchampion-at-istanbul-robocup-2011%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://f27crq.blu.livefilestore.com/y1p12XZhBWy5IBcqT3yqBELZX69Gu0efy2kioxuAoa8AErkZ3r72lwrR2YnS47WpB5SP17ScmA8VZxhrYwFPl66fHAfeLwVZLcs/DB.jpg?psid=1" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">山大网络风云榜 (@daibei)</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="《笑看风云》主题曲--影视歌曲/IT连接--【一路告别】" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.uuxiao.com%2Flink_show.asp%3Fid%3D356&from=http%3A%2F%2Fd.ream.at%2Fchampion-at-istanbul-robocup-2011%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/04/3071816.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">《笑看风云》主题曲--影视歌曲/IT连接--【一路告别】 (@uuxiao)</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="WrightEagle Base Code Release 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fwrighteagle-base-code-release-2%2F&from=http%3A%2F%2Fd.ream.at%2Fchampion-at-istanbul-robocup-2011%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WrightEagle Base Code Release 2</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="A Prayer for WrightEagle" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fa-prayer-for-wrighteagle%2F&from=http%3A%2F%2Fd.ream.at%2Fchampion-at-istanbul-robocup-2011%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">A Prayer for WrightEagle</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Champion, RoboCup 2009" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fchampion-robocup-2009%2F&from=http%3A%2F%2Fd.ream.at%2Fchampion-at-istanbul-robocup-2011%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606244.gif" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Champion, RoboCup 2009</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table>]]></description> <content:encoded><![CDATA[<p>On July 4th 2011, we set foot in Istanbul for RoboCup 2011. Istanbul, a holy city which has been compromised for a thousand years.</p><p><strong>Arriving</strong>. Morning Istanbul.<br /> <a href="/wp-content/media/DSCF2363.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Arrving"><img src="/wp-content/media/DSCF2363.jpg" alt="" title="RoboCup 2011 - Arrving" width="600" height="450" class="aligncenter size-full wp-image-1105" /></a><br /> <a href="/wp-content/media/DSCF2369.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Arriving 2"><img src="/wp-content/media/DSCF2369.jpg" alt="" title="RoboCup 2011 - Arriving 2" width="600" height="450" class="aligncenter size-full wp-image-1106" /></a></p><p>龙哥V5！<br /> <a href="/wp-content/media/DSCF2370.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - 龙哥V5"><img src="/wp-content/media/DSCF2370.jpg" alt="" title="RoboCup 2011 - 龙哥V5" width="600" height="450" class="aligncenter size-full wp-image-1107" /></a><br /> 第一天的午餐是个悲剧啊……<br /> <a href="/wp-content/media/DSCF2371.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - 悲剧的午餐"><img src="/wp-content/media/DSCF2371.jpg" alt="" title="RoboCup 2011 - 悲剧的午餐" width="600" height="450" class="aligncenter size-full wp-image-1108" /></a><br /> 这些鸟人，吃完就睡，睡完了就吃。<br /> <a href="/wp-content/media/DSCF2380.jpg" rel="shadowbox[sbpost-1102];player=img;" title="Robocup 2011 - 除了吃就是睡"><img src="/wp-content/media/DSCF2380.jpg" alt="" title="Robocup 2011 - 除了吃就是睡" width="600" height="450" class="aligncenter size-full wp-image-1112" /></a><br /> 所有的伊朗队都把队名贴纸涂成了这样子，不知道是什么风俗。Marlik，今年第三。<br /> <a href="/wp-content/media/DSCF2391.jpg" rel="shadowbox[sbpost-1102];player=img;" title="Robocup 2011 - Marlik"><img src="/wp-content/media/DSCF2391.jpg" alt="" title="Robocup 2011 - Marlik" width="600" height="450" class="aligncenter size-full wp-image-1117" /></a></p><p><strong>@Home.</strong> One of our robot.<br /> <a href="/wp-content/media/DSCF2379.jpg" rel="shadowbox[sbpost-1102];player=img;" title="Robocup 2011 - Our robot"><img src="/wp-content/media/DSCF2379-450x600.jpg" alt="" title="Robocup 2011 - Our robot" width="450" height="600" class="aligncenter size-thumbnail wp-image-1111" /></a><br /> And Hundreds of others. These are new faces this year.<br /> <a href="/wp-content/media/DSCF2411.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Robot 1"><img src="/wp-content/media/DSCF2411-450x600.jpg" alt="" title="RoboCup 2011 - Robot 1" width="450" height="600" class="aligncenter size-thumbnail wp-image-1127" /></a><br /> <a href="/wp-content/media/DSCF2396.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Robot 2"><img src="/wp-content/media/DSCF2396-450x600.jpg" alt="" title="RoboCup 2011 - Robot 2" width="450" height="600" class="aligncenter size-thumbnail wp-image-1120" /></a><br /> <a href="/wp-content/media/DSCF2397.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Robot 3"><img src="/wp-content/media/DSCF2397-450x600.jpg" alt="" title="RoboCup 2011 - Robot 3" width="450" height="600" class="aligncenter size-thumbnail wp-image-1121" /></a><br /> <a href="/wp-content/media/DSCF2408.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Robot 5"><img src="/wp-content/media/DSCF2408-450x600.jpg" alt="" title="RoboCup 2011 - Robot 5" width="450" height="600" class="aligncenter size-thumbnail wp-image-1126" /></a><br /> <a href="/wp-content/media/DSCF2399.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Robot 6"><img src="/wp-content/media/DSCF2399-450x600.jpg" alt="" title="RoboCup 2011 - Robot 6" width="450" height="600" class="aligncenter size-thumbnail wp-image-1123" /></a><br /> No, this can't be true... OK, I'm joking. It's just an advertisement.<br /> <a href="/wp-content/media/DSCF2403.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Ad"><img src="/wp-content/media/DSCF2403.jpg" alt="" title="RoboCup 2011 - Ad" width="600" height="450" class="aligncenter size-full wp-image-1125" /></a><br /> They are the champion of @Home this year.<br /> <a href="/wp-content/media/DSCF2398.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Robot 4"><img src="/wp-content/media/DSCF2398-450x600.jpg" alt="" title="RoboCup 2011 - Robot 4" width="450" height="600" class="aligncenter size-thumbnail wp-image-1122" /></a></p><p>And, <strong>WE are the champion</strong> of Soccer Simulation 2D this year!<br /> <a href="/wp-content/media/DSCF2416.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Champion"><img src="/wp-content/media/DSCF2416-450x600.jpg" alt="" title="RoboCup 2011 - Champion" width="450" height="600" class="aligncenter size-thumbnail wp-image-1128" /></a><br /> So, what a happy banquet!<br /> <a href="/wp-content/media/DSCF2425.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Banquet 1"><img src="/wp-content/media/DSCF2425.jpg" alt="" title="RoboCup 2011 - Banquet 1" width="600" height="450" class="aligncenter size-full wp-image-1132" /></a><br /> <a href="/wp-content/media/DSCF2426.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Banquet 2"><img src="/wp-content/media/DSCF2426.jpg" alt="" title="RoboCup 2011 - Banquet 2" width="600" height="450" class="aligncenter size-full wp-image-1133" /></a></p><p>Time always seems to fly so fast. Goodbye Istanbul.<br /> <a href="/wp-content/media/DSCF2610.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Maiden&#039;s Tower"><img src="/wp-content/media/DSCF2610.jpg" alt="" title="RoboCup 2011 - Maiden&#039;s Tower" width="600" height="450" class="aligncenter size-full wp-image-1223" /></a><br /> (PS. This is the Maiden's Tower which was first built by ancient Athenian.)<br /> And see you next year in Mexico!<br /> <a href="/wp-content/media/DSCF2424.jpg" rel="shadowbox[sbpost-1102];player=img;" title="RoboCup 2011 - Mexico"><img src="/wp-content/media/DSCF2424.jpg" alt="" title="RoboCup 2011 - Mexico" width="600" height="450" class="aligncenter size-full wp-image-1131" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="山大网络风云榜" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.daibei.org%2Falexandernetwork.html&from=http%3A%2F%2Fd.ream.at%2Fchampion-at-istanbul-robocup-2011%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://f27crq.blu.livefilestore.com/y1p12XZhBWy5IBcqT3yqBELZX69Gu0efy2kioxuAoa8AErkZ3r72lwrR2YnS47WpB5SP17ScmA8VZxhrYwFPl66fHAfeLwVZLcs/DB.jpg?psid=1" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">山大网络风云榜 (@daibei)</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="《笑看风云》主题曲--影视歌曲/IT连接--【一路告别】" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.uuxiao.com%2Flink_show.asp%3Fid%3D356&from=http%3A%2F%2Fd.ream.at%2Fchampion-at-istanbul-robocup-2011%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/04/3071816.jpg" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">《笑看风云》主题曲--影视歌曲/IT连接--【一路告别】 (@uuxiao)</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="WrightEagle Base Code Release 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fwrighteagle-base-code-release-2%2F&from=http%3A%2F%2Fd.ream.at%2Fchampion-at-istanbul-robocup-2011%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WrightEagle Base Code Release 2</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="A Prayer for WrightEagle" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fa-prayer-for-wrighteagle%2F&from=http%3A%2F%2Fd.ream.at%2Fchampion-at-istanbul-robocup-2011%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">A Prayer for WrightEagle</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="Champion, RoboCup 2009" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fchampion-robocup-2009%2F&from=http%3A%2F%2Fd.ream.at%2Fchampion-at-istanbul-robocup-2011%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/07/2606244.gif" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Champion, RoboCup 2009</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table><img src="http://d.ream.at/?ak_action=api_record_view&id=1102&type=feed" alt="" />]]></content:encoded> <wfw:commentRss>http://d.ream.at/champion-at-istanbul-robocup-2011/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Linux的重启</title><link>http://d.ream.at/linux-reboot/</link> <comments>http://d.ream.at/linux-reboot/#comments</comments> <pubDate>Fri, 24 Jun 2011 09:23:11 +0000</pubDate> <dc:creator>WindyWinter</dc:creator> <category><![CDATA[学习笔记]]></category> <category><![CDATA[Linux]]></category><guid isPermaLink="false">http://d.ream.at/?p=1096</guid> <description><![CDATA[init 6和reboot
如果直接搜索“init 6和reboot的区别”，会得到大量的以讹传讹的网页，它们纷纷表示init 6才是正确的重启命令。而实际上，在现在的大多数发行版中，init和reboot来自于同一个软件包（sysvinit、upstart或者systemd等等）。reboot最终仍然是通过init进程完成的。reboot在正常情况下会做两件事——1.通知所有用户系统要重启 2.init 6。
<a class="more-link" href="http://d.ream.at/linux-reboot/" title="Linux的重启  共957字">Read more</a><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="A Chinese Company Registed 'How to startup Linux operating system on mobile hard disks' as a PATENT" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fpatent-on-linux%2F&from=http%3A%2F%2Fd.ream.at%2Flinux-reboot%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">A Chinese Company Registed 'How to startup Linux operating system on mobile hard disks' as a PATENT</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="I Did Something Evil" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fi-did-something-evil%2F&from=http%3A%2F%2Fd.ream.at%2Flinux-reboot%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">I Did Something Evil</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="解决错误的IPv6路由广播总结" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F%25E8%25A7%25A3%25E5%2586%25B3%25E9%2594%2599%25E8%25AF%25AF%25E7%259A%2584ipv6%25E8%25B7%25AF%25E7%2594%25B1%25E5%25B9%25BF%25E6%2592%25AD%25E6%2580%25BB%25E7%25BB%2593%2F&from=http%3A%2F%2Fd.ream.at%2Flinux-reboot%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">解决错误的IPv6路由广播总结</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="定之方中，作于楚宫" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F%25E5%25AE%259A%25E4%25B9%258B%25E6%2596%25B9%25E4%25B8%25AD%25EF%25BC%258C%25E4%25BD%259C%25E4%25BA%258E%25E6%25A5%259A%25E5%25AE%25AB%2F&from=http%3A%2F%2Fd.ream.at%2Flinux-reboot%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">定之方中，作于楚宫</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="在Ubuntu下简易配置Tex UTF-8中文环境" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fsetup-tex-utf-8-cjk-enviroment-in-ubuntu%2F&from=http%3A%2F%2Fd.ream.at%2Flinux-reboot%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在Ubuntu下简易配置Tex UTF-8中文环境</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table>]]></description> <content:encoded><![CDATA[<h4>init 6和reboot</h4><p>如果直接搜索“init 6和reboot的区别”，会得到大量的以讹传讹的网页，它们纷纷表示init 6才是正确的重启命令。</p><p>而实际上，在现在的大多数发行版中，init和reboot来自于同一个软件包（sysvinit、upstart或者systemd等等）。reboot最终仍然是通过init进程完成的。reboot在正常情况下会做两件事——1.通知所有用户系统要重启 2.init 6。</p><p>在sysvinit的早期版本（2.74以前）中，reboot会不经过init而直接通知内核重启。upstart和systemd中的reboot一直是经过init的。在新的sysvinit中，reboot仍然保留的这种方式（-f参数）。</p><h4>内核快捷键重启</h4><p>无论reboot还是init 6都会等到所有进程被正确关闭之后才会通知内核重启。那么当你遇到一大堆因为等待IO而被挂起到D状态的进程怎么办？这种进程在回归正常之前是不能被kill的，所以reboot会被挂起。</p><p>一种方法是给reboot增加-f参数以强制重启，另一种方法是通过内核预留（内核编译时开启CONFIG_MAGIC_SYSRQ ，大多数发行版默认都开启）的内核快捷键接口，/proc/sys/kernel/sysrq置1时，可以通过向/proc/sysrq-trigger写入内核快捷键来强制重启。</p><p>一个典型的强制重启过程大致如下：</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1096code8'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p10968"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p1096code8"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>kernel<span style="color: #000000; font-weight: bold;">/</span>sysrq
<span style="color: #7a0874; font-weight: bold;">echo</span> b <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>sysrq-trigger</pre></td></tr></table></div><p>如果服务器的ssh已经挂掉，而且没有serial console的情况下怎么办？如果提前安装过<a href="http://marek.terminus.sk/prog/ipt_sysrq.shtml">ipt_sysrq</a>的话大概还有救，只要网络还通，那么可以通过发送特殊的数据包来触发内核快捷键。</p><p>如果是桌面系统，那么用Alt+SysRq触发内核快捷键更方便一些。比如显卡驱动挂掉之后可以尝试用Alt+SysRq+REISUB重启。</p><p>完整的内核快捷键列表可以看<a href="http://www.thegeekstuff.com/2008/12/safe-reboot-of-linux-using-magic-sysrq-key/">这里</a>。</p><h4>高级的重启</h4><p>传统的重启基本上相当于关机+开机的过程，特别是开机自检这一步实在太慢了，<a href="http://www.ibm.com/developerworks/linux/library/l-kexec/index.html">kexec</a>提出了另外的重启方式——置换内核，重新init。</p><p>更多的情况下重启linux系统仅仅是为了更新内核，<a href="http://www.ksplice.com">ksplice</a>可以直接将更新patch到正在运行的内核上，于是干脆将重启这一步省了。</p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="A Chinese Company Registed 'How to startup Linux operating system on mobile hard disks' as a PATENT" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fpatent-on-linux%2F&from=http%3A%2F%2Fd.ream.at%2Flinux-reboot%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">A Chinese Company Registed 'How to startup Linux operating system on mobile hard disks' as a PATENT</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="I Did Something Evil" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fi-did-something-evil%2F&from=http%3A%2F%2Fd.ream.at%2Flinux-reboot%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">I Did Something Evil</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="解决错误的IPv6路由广播总结" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F%25E8%25A7%25A3%25E5%2586%25B3%25E9%2594%2599%25E8%25AF%25AF%25E7%259A%2584ipv6%25E8%25B7%25AF%25E7%2594%25B1%25E5%25B9%25BF%25E6%2592%25AD%25E6%2580%25BB%25E7%25BB%2593%2F&from=http%3A%2F%2Fd.ream.at%2Flinux-reboot%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">解决错误的IPv6路由广播总结</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="定之方中，作于楚宫" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F%25E5%25AE%259A%25E4%25B9%258B%25E6%2596%25B9%25E4%25B8%25AD%25EF%25BC%258C%25E4%25BD%259C%25E4%25BA%258E%25E6%25A5%259A%25E5%25AE%25AB%2F&from=http%3A%2F%2Fd.ream.at%2Flinux-reboot%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">定之方中，作于楚宫</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="在Ubuntu下简易配置Tex UTF-8中文环境" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2Fsetup-tex-utf-8-cjk-enviroment-in-ubuntu%2F&from=http%3A%2F%2Fd.ream.at%2Flinux-reboot%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在Ubuntu下简易配置Tex UTF-8中文环境</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table><img src="http://d.ream.at/?ak_action=api_record_view&id=1096&type=feed" alt="" />]]></content:encoded> <wfw:commentRss>http://d.ream.at/linux-reboot/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>有些动物比其他动物更加平等</title><link>http://d.ream.at/64-memorial-5/</link> <comments>http://d.ream.at/64-memorial-5/#comments</comments> <pubDate>Fri, 03 Jun 2011 16:00:54 +0000</pubDate> <dc:creator>Allan</dc:creator> <category><![CDATA[他山之石]]></category> <category><![CDATA[64]]></category><guid isPermaLink="false">http://d.ream.at/?p=1074</guid> <description><![CDATA[节选自《动物庄园》（乔治·奥威尔著，张毅、高孝先译）。现在的庄园更是欣欣向荣，也更是井然有序了。庄园里增加了两块地，这两块地是从皮尔金顿先生那里买来的。风车最终还是成功地建成了，庄园里也有了自己的一台打谷机及草料升降机。另外，还加盖了许多种类不一的新建筑。温普尔也为自己买了一辆双轮单驾马车。不过，风车最终没有用来发电，而是用来磨谷子啦，并且为庄园创收了数目可观的利润。如今，动物们又为建造另一座风车而辛勤劳作，据说，等这一座建成了，就要安装上发电机。但是，当年谈论风车时，斯诺鲍引导动物们所想像的那种享受不尽的舒适，那种带电灯和冷热水的窝棚，那种每周三天工作制，如今不再谈论了。拿破仑早就斥责说，这些想法是与动物主义的精神背道而驰的。他说，最纯粹的幸福在于工作勤奋和生活俭朴。
<a class="more-link" href="http://d.ream.at/64-memorial-5/" title="有些动物比其他动物更加平等  共2703字">Read more</a><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="无花的蔷薇之二" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F64-memorial-1%2F&from=http%3A%2F%2Fd.ream.at%2F64-memorial-5%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">无花的蔷薇之二</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="从中西文化差别看六·四" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F64-memorial-4%2F&from=http%3A%2F%2Fd.ream.at%2F64-memorial-5%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">从中西文化差别看六·四</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="纪念刘和珍君" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F64-memorial-2%2F&from=http%3A%2F%2Fd.ream.at%2F64-memorial-5%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">纪念刘和珍君</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="爱里没有惧怕" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F%25E7%2588%25B1%25E9%2587%258C%25E6%25B2%25A1%25E6%259C%2589%25E6%2583%25A7%25E6%2580%2595%2F&from=http%3A%2F%2Fd.ream.at%2F64-memorial-5%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">爱里没有惧怕</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="二十年生死两茫茫" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F64-memorial-3%2F&from=http%3A%2F%2Fd.ream.at%2F64-memorial-5%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">二十年生死两茫茫</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table>]]></description> <content:encoded><![CDATA[<blockquote><p>节选自<a href="http://www.tianyabook.com/waiguo2005/a/aoweier/dwzy/index.html">《动物庄园》</a>（乔治·奥威尔著，张毅、高孝先译）。</p></blockquote><p>现在的庄园更是欣欣向荣，也更是井然有序了。庄园里增加了两块地，这两块地是从皮尔金顿先生那里买来的。风车最终还是成功地建成了，庄园里也有了自己的一台打谷机及草料升降机。另外，还加盖了许多种类不一的新建筑。温普尔也为自己买了一辆双轮单驾马车。不过，风车最终没有用来发电，而是用来磨谷子啦，并且为庄园创收了数目可观的利润。如今，动物们又为建造另一座风车而辛勤劳作，据说，等这一座建成了，就要安装上发电机。但是，当年谈论风车时，斯诺鲍引导动物们所想像的那种享受不尽的舒适，那种带电灯和冷热水的窝棚，那种每周三天工作制，如今不再谈论了。拿破仑早就斥责说，这些想法是与动物主义的精神背道而驰的。他说，最纯粹的幸福在于工作勤奋和生活俭朴。</p><p>不知道为什么，反正看上去，庄园似乎已经变得富裕了，但动物们自己一点没有变富，当然猪和狗要排除在外。也许，其中的部分原因是由于猪和狗都多吧。处在他们这一等级的动物，都是用他们自己的方式从事劳动。正像斯奎拉乐于解释的那样，在庄园的监督和组织工作中，有很多没完没了的事，在这类事情中，有大量工作是其它动物由于无知而无法理解的。例如，斯奎拉告诉他们说，猪每天要耗费大量的精力，用来处理所谓“文件”、“报告”、“会议记录”和“备忘录”等等神秘的事宜。这类文件数量很大，还必须仔细填写，而且一旦填写完毕，又得把它们在炉子里烧掉。斯奎拉说，这是为了庄园的幸福所做的最重要的工作。但是至今为止，无论是猪还是狗，都还没有亲自生产过一粒粮食，而他们仍然为数众多，他们的食欲还总是十分旺盛。</p><p>至于其它动物，迄今就他们所知，他们的生活还是一如既往。他们普遍都在挨饿，睡的是草垫，喝的是池塘里的水，干的是田间里的活，冬天被寒冷所困，夏天又换成了苍蝇。有时，他们中间的年长者绞尽脑汁，竭尽全力从那些淡漠的印象中搜索着回忆的线索，他们试图以此来推定起义后的早期，刚赶走琼斯那会，情况是比现在好呢还是糟，但他们都记不得了。没有一件事情可以用来和现在的生活做比较，除了斯奎拉的一系列数字以外，他们没有任何凭据用来比较，而斯奎拉的数字总是千篇一律地表明，所有的事正变得越来越好。动物们发现这个问题解释不清，不管怎么说，他们现在很少有时间去思索这类事情。唯有老本杰明与众不同，他自称对自己那漫长的一生中的每个细节都记忆犹新，还说他认识到事物过去没有，将来也不会有什么更好或更糟之分。因此他说，饥饿、艰难、失望的现实，是生活不可改变的规律。</p><p>不过，动物们仍然没有放弃希望。确切地说，他们身为动物庄园的一员，从来没有失去自己的荣誉感和优越感，哪怕是一瞬间也没有过。他们的庄园依然是整个国家——所有英伦三岛中——唯一的归动物所有、并由动物管理的庄园。他们中间的成员，就连最年轻的，甚至还有那些来自十英里或二十英里以外庄园的新成员，每每想到这一点，都无不感到惊喜交加。当他们听到鸣枪，看到旗杆上的绿旗飘扬，他们内心就充满了不朽的自豪，话题一转，也就时常提起那史诗般的过去，以及驱除琼斯、刻写“七诫”、击退人类来犯者的伟大战斗等等。那些旧日的梦想一个也没有丢弃。想当年麦哲预言过的“动物共和国”，和那个英格兰的绿色田野上不再有人类足迹践踏的时代，至今依然是他们信仰所在。他们依然相信：总有一天，那个时代会到来，也许它不会马上到来，也许它不会在任何现在健在的动物的有生之年到来，但它终究要到来。而且至今，说不定就连“英格兰兽”的曲子还在被到处偷偷得哼唱着，反正事实上，庄园里的每个动物都知道它，尽管谁也不敢放声大唱。也许，他们生活艰难；也许，他们的希望并没有全部实现，但他们很清楚，他们和别的动物不一样。 如果他们还没有吃饱，那么也不是因为把食物拿去喂了暴虐的人类；如果他们干活苦了，那么至少他们是在为自己辛劳。在他们中间，谁也不用两条腿走路，谁也不把谁称做“老爷”，所有动物一律平等。</p><p>初夏的一天，斯奎拉让羊跟着他出去，他把他们领到庄园的另一头，那地方是一块长满桦树苗的荒地。在斯奎拉的监督下，羊在那里吃了整整一天树叶子，到了晚上，斯奎拉告诉羊说，既然天气暖和了，他们就呆在那儿算了。然后，他自己返回了庄主院。羊在那里呆了整整一个星期。在这期间，别的动物连他们的一丝影子也没见着。斯奎拉每天倒是耗费大量时间和他们泡在一起。他解释说，他正在给他们教唱一首新歌，因此十分需要清静。</p><p>那是一个爽朗的傍晚，羊回来了。当时，动物们才刚刚收工，正走在回窝棚的路上。突然，从大院里传来了一声马的悲鸣，动物们吓了一跳，全都立即停下脚步。是克拉弗的声音，她又嘶叫起来。于是，所有的动物全都奔跑着冲进了大院。这一下，他们看到了克拉弗看到的情景。</p><p>是一头猪在用后腿走路。</p><p>是的，是斯奎拉。他还有点笨拙好象还不大习惯用这种姿势支撑他那巨大的身体，但他却能以熟练的平衡，在院子里散步了。不大一会，从庄主院门里又走出一长队猪，都用后腿在行走。他们走到好坏不一，有一两头猪还有点不稳当，看上去好像他们本来更适于找一根棍子支撑着。不过，每头猪都绕着院子走得相当成功。最后，在一阵非常响亮的狗叫声和那只黑公鸡尖细的啼叫声中，拿破仑亲自走出来了，他大模大样地直立着，眼睛四下里轻慢地瞥了一下。他的狗则活蹦乱跳地簇拥再他的周围。</p><p>他蹄子中捏着一根鞭子。</p><p>一阵死一般的寂静。惊讶、恐惧的动物们挤在一堆，看着那一长溜猪慢慢地绕着院子行走。仿佛这世界已经完全颠倒了。接着，当他们从这场震惊中缓过一点劲的时候，有那么一瞬间，他们顾不上顾虑任何事——顾不上他们对狗的害怕，顾不上他们多少年来养成的，无论发生什么事，他们也从来不抱怨、从批评的习惯——他们马上要大声抗议了，但就在这时，象是被一个信号激了一下一样，所有的羊爆发出一阵巨大的咩咩声——</p><p>“四条腿好，两条腿更好！四条腿好，两条腿更好！四条腿好，两条腿更好！”</p><p>喊叫声不间歇地持续了五分钟。等羊安静下来后，已经错过了任何抗议的机会了，因为猪已列队走回庄主院。</p><p>本杰明感觉到有一个鼻子在他肩上磨蹭。回头一看，是克拉弗。只见她那一双衰劳的眼睛比以往更加灰暗。她没说一句话，轻轻地拽他的鬃毛，领着他转到大谷仓那一头，那儿是写着“七诫”的地方。他们站在那里注视着有白色字体的柏油墙，足有一两分钟。</p><p>“我的眼睛不行了”，他终于说话了，“就是年轻时，我也认不得那上面所写的东西。可是今天，怎么我看这面墙不同以前了。‘七诫’还是过去那样吗？本杰明？”</p><p>只有这一次，本杰明答应破个例，他把墙上写的东西念给她听，而今那上面已经没有别的什么了，只有一条诫律，它是这样写的：</p><blockquote><p>所有动物一例平等<br /> 但有些动物比其他动物<br /> 更加平等</p></blockquote><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;"><tr><td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;"></font></b></td></tr><tr><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;"> <a target="_blank" title="无花的蔷薇之二" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F64-memorial-1%2F&from=http%3A%2F%2Fd.ream.at%2F64-memorial-5%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">无花的蔷薇之二</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="从中西文化差别看六·四" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F64-memorial-4%2F&from=http%3A%2F%2Fd.ream.at%2F64-memorial-5%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">从中西文化差别看六·四</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="纪念刘和珍君" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F64-memorial-2%2F&from=http%3A%2F%2Fd.ream.at%2F64-memorial-5%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">纪念刘和珍君</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="爱里没有惧怕" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F%25E7%2588%25B1%25E9%2587%258C%25E6%25B2%25A1%25E6%259C%2589%25E6%2583%25A7%25E6%2580%2595%2F&from=http%3A%2F%2Fd.ream.at%2F64-memorial-5%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">爱里没有惧怕</font> </a></td><td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #ddd !important;"> <a target="_blank" title="二十年生死两茫茫" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fd.ream.at%2F64-memorial-3%2F&from=http%3A%2F%2Fd.ream.at%2F64-memorial-5%2F"> <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #ddd !important; width: 96px !important; height: 96px !important;" src="http://d.ream.at/wp-content/themes/Oneiro/images/wumii-default.png" width="96px" height="96px" /><br /> <font size="-1" color="#888" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">二十年生死两茫茫</font> </a></td></tr><tr><td colspan="5" align="right"> <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件"> <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font> </a></td></tr></table><img src="http://d.ream.at/?ak_action=api_record_view&id=1074&type=feed" alt="" />]]></content:encoded> <wfw:commentRss>http://d.ream.at/64-memorial-5/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Build OpenVPN 2.2.0 with Visual Studio 2010</title><link>http://d.ream.at/build-openvpn-2-2-0-with-visual-studio-2010/</link> <comments>http://d.ream.at/build-openvpn-2-2-0-with-visual-studio-2010/#comments</comments> <pubDate>Fri, 29 Apr 2011 09:23:06 +0000</pubDate> <dc:creator>WindyWinter</dc:creator> <category><![CDATA[学习笔记]]></category> <category><![CDATA[IPv6]]></category> <category><![CDATA[OpenVPN]]></category> <category><![CDATA[Visual Studio]]></category> <category><![CDATA[VPN]]></category><guid isPermaLink="false">http://d.ream.at/?p=1064</guid> <description><![CDATA[For building OpenVPN 2.1.4 please refer to Build OpenVPN 2.1.4 with Visual Studio 2010.
For building with Visual Studio 2008 please refer to BuildingOnWindows.
For building with MinGW please refer to Windows下编译OpenVPN 2.1.1.
<a class="more-link" href="http://d.ream.at/build-openvpn-2-2-0-with-visual-studio-2010/" title="Build OpenVPN 2.2.0 with Visual Studio 2010  共6396字">Read more</a>]]></description> <content:encoded><![CDATA[<p>For building OpenVPN 2.1.4 please refer to <a href="http://d.ream.at/build-openvpn-2-1-4-with-vs2010/">Build OpenVPN 2.1.4 with Visual Studio 2010</a>.<br /> For building with Visual Studio 2008 please refer to <a href="https://community.openvpn.net/openvpn/wiki/BuildingOnWindows">BuildingOnWindows</a>.<br /> For building with MinGW please refer to <a href="http://yegle.net/2010/05/19/compile-openvpn-2-1-1-in-windows/">Windows下编译OpenVPN 2.1.1</a>.</p><p>The building procedure is very similar with building OpenVPN2.1.4 but slightly different.</p><h5>Why Build OpenVPN Yourself</h5><ol><li>The official build does not support tunneling through IPv6.</li><li>The official build comes with a 10Mbps TAP-win32 driver. Although theoretically the port speed doesn't affect the actual performance, but some people do claim they <a href="http://twitter.com/#!/lyzgeorge/status/63464738956390400">get better speed with custom built higher speed driver</a>.<li>You may want to use your own logo or add customized configuration files if you are offering VPN service.</li></ol><h5>Prequisites</h5><h6>A Clean System</h6><p>Windows XP SP3 or later versions are required. I cannot suggest you to install a clean system in a virtual machine.</p><h6>Visual Studio 2010</h6><p>Express edition is OK and Professional is better. Note there is a small difference in the building procedure between Express edition and Professional / Premium / Ultimate editions. Express edition does not come with <a href="http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84">Microsoft Visual C++ 2010 Redistributable Package</a>, you have to install it manually.</p><h6>Windows Driver Kit</h6><p><a href="http://www.microsoft.com/whdc/devtools/WDK/default.mspx">Windows Driver Kit</a> is required to build the TUN/TAP driver.</p><h6>Python</h6><p>The new OpenVPN Windows build system is written in <a href="http://www.python.org/">Python</a>. Version 2.7 is fine. The Windows installer does not seem to add the python.exe to the PATH, so you need to do it manually.</p><h6>ActivePerl</h6><p><a href="http://www.activestate.com/activeperl">ActivePerl</a> is required to build OpenSSL, which in turn is required to build OpenVPN.</p><h6><a href="http://www.nasm.us/">NASM assembler</a></h6><p>Also required by OpenSSL. And you'll need to add nasm.exe to PATH as well.</p><h5>Building OpenSSL</h5><p>First download OpenSSL from <a href="http://www.openssl.org/source">here</a> and extract it somewhere. Using the latest one ensures there are no (known) security holes in OpenSSL or 1.0.0a if you want to apply the <a href="http://rt.openssl.org/Ticket/Display.html?id=2065&#038;user=guest&#038;pass=guest">AES-NI patch</a>. For the most part you can then follow the instructions in INSTALL.W32 and INSTALL.W64 files. Before you start, though, launch the Visual Studio Command Prompt (2010), which can be found from the Start menu. Unlike the standard command prompt it has all the paths to VC binaries set correctly.</p><p>From within this command prompt you'll first configure OpenSSL using the provided Perl script:</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1064code19'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p106419"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1064code19"><pre class="dos" style="font-family:monospace;">C:\openssl-1.0.0d&gt; perl Configure VC-WIN32 --prefix=c:/&lt;openssl-install-directory&gt;</pre></td></tr></table></div><p>Some of the crypto routines are written in assembler to increase performance, so you need to/should use an assembler in the next step.</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1064code20'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p106420"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1064code20"><pre class="dos" style="font-family:monospace;">C:\openssl-1.0.0d&gt; ms\do_nasm</pre></td></tr></table></div><p>Next compile OpenSSL using the generated makefile:</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1064code21'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p106421"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p1064code21"><pre class="dos" style="font-family:monospace;">C:\openssl-1.0.0d&gt; nmake -f ms\ntdll.mak
C:\openssl-1.0.0d&gt; nmake -f ms\ntdll.mak test
C:\openssl-1.0.0d&gt; nmake -f ms\ntdll.mak install</pre></td></tr></table></div><h5>Building LZO</h5><p>The <a href="http://www.oberhumer.com/opensource/lzo/">LZO library</a> is required to build OpenVPN. Once you've unpacked the source package, open the B/00README.txt file to get an overview of the Windows build process. If all goes well, you'll only need to run one .bat file:</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1064code22'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p106422"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1064code22"><pre class="dos" style="font-family:monospace;">C:\lzo-2.0.4&gt; B\win32\vc_dll.bat</pre></td></tr></table></div><p>Note that this does not install lzo; in fact, you need to copy the relevant files to openvpn's build directory manually as shown below.</p><h5>Building pkcs11-helper</h5><p>Download latest release of pkcs11-helper from <a href="http://www.opensc-project.org/">http://www.opensc-project.org</a> and extract it somewhere. The install process for Visual Studio is described in the INSTALL file.</p><p>To build pkcs11-helper, do the following:</p><ol><li> Go to pkcs11-helper-&lt;version>\lib.</li><li> Copy &lt;openssl-install-directory>\lib\libeay32.lib to that directory - this is required by the linker.</li><li><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1064code23'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p106423"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1064code23"><pre class="dos" style="font-family:monospace;">C:\pkcs11-helper-<span style="color: #cc66cc;">1.07</span>\lib&gt; nmake -f Makefile.w32-vc OPENSSL=<span style="color: #cc66cc;">1</span> OPENSSL_HOME=&lt;path-to-openssl-sources&gt;</pre></td></tr></table></div></li></ol><p>OpenVPN is only interested is lib/libpkcs11-helper-1.dll and uses it when generating the NSI installer.</p><h5>Building OpenVPN</h5><p>OpenVPN source package can be downloaded <a href="http://openvpn.net/index.php/open-source/downloads.html">here</a>.</p><p>In socket.c there is a MACRO <em>IF_NAMESIZE</em> at line 2500, which is <a href="http://msdn.microsoft.com/en-us/library/bb408408%28v=vs.85%29.aspx">defined</a> in Windows DDK but it seems to be broken. Replace it by value <em>256</em> (this is the correct value and will not cause any problems).</p><p>In win\settings.in, change the <em>!define MSVC "C:/Program Files/Microsoft Visual Studio 9.0"</em> to the correct path VS2010 installed to. Change <em>Microsoft.VC90.CRT</em> to <em>Microsoft.VC100.CRT</em>.</p><p>In win\make_dist.py, comment or delete any line contains <em>manifest</em>. Visual Studio 2010 doesn't generate manifest at all.</p><p>If you want a higher speed TAP-win32 driver, you may modify line 1142 in tap-win32\tapdrvr.c .</p><p>If you want to setup <a href="http://d.ream.at/ipv6-vpn/">IPv6 VPN</a>, I suggest you to use <a href="https://github.com/downloads/jjo/openvpn-ipv6/openvpn-2.2-RC2-ipv6-0.4.16.patch.gz">jjo's openvpn-2.2-RC2-ipv6-0.4.16.patch</a>. But there are still several patches have to be done.</p><p>In win\config.h.in, add <em>#define USE_PF_INET6 1</em> after <em>#define USE_LZO 1</em> (other places are fine too).</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1064code24'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p106424"><td class="line_numbers"><pre>259
260
261
</pre></td><td class="code" id="p1064code24"><pre class="c" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* Use LZO compression library */</span>
<span style="color: #339933;">#define USE_LZO 1</span>
<span style="color: #339933;">#define USE_PF_INET6 1</span></pre></td></tr></table></div><p>Comment or delete <em>#define socklen_t unsigned int</em>.</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1064code25'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p106425"><td class="line_numbers"><pre>279
280
</pre></td><td class="code" id="p1064code25"><pre class="c" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* type to use in place of socklen_t if not defined */</span>
<span style="color: #666666; font-style: italic;">//#define socklen_t unsigned int</span></pre></td></tr></table></div><p>In options.c, socket.c, comment or delete all <em>#ifdef USE_PF_INET6</em> &#038; the matched <em>#endif</em>. Those codes are not supported in VC.</p><p>socket.c, line 637, <em>CLEAR(sin6);</em> generates a CE and I have no idea on what lead to this. Simply commenting it will get passed.</p><p>Now the pre-steps are almost complete, but the Python-based OpenVPN build system is pretty picky about it's directory layout, which should be like this:</p><ul><li><strong>C:\openvpn-build</strong>: root build directory.</li><li><strong>C:\openvpn-build\openvpn-2.2.0</strong>: openvpn sources.</li><li><strong>C:\openvpn-build\pkcs11-helper</strong>: pkcs11-helper build directory.</li><li><strong>C:\openvpn-build\pkcs11-helper\lib</strong>: must contain libpkcs11-helper-1.dll, the product of pkcs11-helper build.</li><li><strong>C:\openvpn-build\openssl</strong>: copy of the openssl install directory which contains the openssl libraries you built earlier. It's location depends on the parameter --prefix paramter you when configuring the openssl build.</li><li><strong>C:\openvpn-build\lzo\include</strong>: this directory is a copy of the include directory in the lzo source package.</li><li><strong>C:\openvpn-build\lzo\bin</strong>: this directory must contain the lzo2.dll file generated during lzo build.</li><li><strong>C:\openvpn-build\lzo\lib</strong>: this directory must contain the lzo2.lib file generated during lzo build.</li><li><strong>C:\openvpn-build\Microsoft.VC100.CRT</strong>: this directory is a copy of C:\Program Files\MicrosofT Visual Studio 10.0\VC\redist\x86\Microsoft.VC100.CRT directory. The exact path may vary. Visual Studio Express does not have this directory, and you may make a blank directory named that and obtain msvcr100.dll from C:\WINDOWS\system32 (the file comes from Microsoft Visual C++ 2010 Redistributable Package).</li></ul><p>Next fire up a Visual Studio Command Prompt in win directory and start the build:</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1064code26'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p106426"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1064code26"><pre class="dos" style="font-family:monospace;">C:\openvpn-build\openvpn-2.2.0\win&gt; python build_all.py --unsigned</pre></td></tr></table></div><p>The --unsigned switch disables TAP driver signing, which would not work anyway because the Sign Python module is only available internally at OpenVPN Technologies. If you intend to use signed TAP drivers (unsigned drivers will not be accepted on Windows Vista/7 64bit) from an existing OpenVPN installer, you can extract signed TAP drivers from an existing installer and skip building the TAP driver altogether:</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1064code27'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p106427"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1064code27"><pre class="dos" style="font-family:monospace;">C:\openvpn-build\openvpn-2.2.0\win&gt; python build_all.py --unsigned --notap</pre></td></tr></table></div><p>When building finishes without any errors, openvpn.exe and all DLLs it needs will lie in dist\bin directory.</p><h5>Building OpenVPN Installer</h5><p>This is not necessary if you only plan to install the built version yourself, but if you are going to distribute it, building a installer is a more professional way.</p><p>You need <a href="http://sourceforge.net/projects/nsis/">NSIS</a> and <a href="http://openvpn.se/files/binary/openvpn-gui-1.0.3.exe">http://openvpn.se/files/binary/openvpn-gui-1.0.3.exe</a>.</p><p>Put openvpn-gui-1.0.3.exe in C:\openvpn-build\openvpn-gui an run</p><div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1064code28'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p106428"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1064code28"><pre class="dos" style="font-family:monospace;">C:\&gt; &quot;C:\Program Files\NSIS\makensis.exe&quot; C:\openvpn-build\openvpn-2.2.0\win\openvpn.nsi</pre></td></tr></table></div><img src="http://d.ream.at/?ak_action=api_record_view&id=1064&type=feed" alt="" />]]></content:encoded> <wfw:commentRss>http://d.ream.at/build-openvpn-2-2-0-with-visual-studio-2010/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> </channel> </rss>
