<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type='text/xsl' href='http://erictsai.spaces.live.com/mmm2008-07-24_12.50/rsspretty.aspx?rssquery=en-US;http%3a%2f%2ferictsai.spaces.live.com%2fcategory%2f%e9%9b%bb%e8%85%a6%e5%92%8c%e7%b6%b2%e9%9a%9b%e7%b6%b2%e8%b7%af%2ffeed.rss' version='1.0'?><rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:msn="http://schemas.microsoft.com/msn/spaces/2005/rss" xmlns:live="http://schemas.microsoft.com/live/spaces/2006/rss" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Eric Tsai: 電腦和網際網路</title><description /><link>http://erictsai.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;_c=BlogPart&amp;partqs=cat%25E9%259B%25BB%25E8%2585%25A6%25E5%2592%258C%25E7%25B6%25B2%25E9%259A%259B%25E7%25B6%25B2%25E8%25B7%25AF</link><language>en-US</language><pubDate>Tue, 19 Aug 2008 16:58:10 GMT</pubDate><lastBuildDate>Tue, 19 Aug 2008 16:58:10 GMT</lastBuildDate><generator>Microsoft Spaces v1.1</generator><docs>http://www.rssboard.org/rss-specification</docs><ttl>60</ttl><cf:parentRSS>http://erictsai.spaces.live.com/blog/feed.rss</cf:parentRSS><live:type>blogcategory</live:type><live:identity><live:id>6729600980943835003</live:id><live:alias>erictsai</live:alias></live:identity><cf:listinfo><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="typelabel" label="Type" /><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="tag" label="Tag" /><cf:group element="category" label="Category" /><cf:sort element="pubDate" label="Date" data-type="date" default="true" /><cf:sort element="title" label="Title" data-type="string" /><cf:sort ns="http://purl.org/rss/1.0/modules/slash/" element="comments" label="Comments" data-type="number" /></cf:listinfo><item><title>FON as bridge (讓FON跑橋接模式)</title><link>http://erictsai.spaces.live.com/Blog/cns!5D64586FED470F7B!397.entry</link><description>&lt;font size=3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://stefans.datenbruch.de/lafonera"&gt;Login with a SSH client&lt;/a&gt;. 
&lt;li&gt;Save the following (modified from this &lt;a href="http://mrmuh.blogspot.com/2006/11/updates-explained-and-bridging-mode.html"&gt;script&lt;/a&gt;) as /etc/init.d/N15bridge. Modify the &amp;quot;# Set IP for the bridge&amp;quot; section to meet your needs.&lt;br&gt;&lt;font style="background-color:#999999" color="#00ffff"&gt;#!/bin/ash&lt;br&gt;echo &amp;quot;Setting up LAN bridge&amp;quot;&lt;br&gt;&lt;br&gt;# Kill DHCP server+ client&lt;br&gt;/usr/bin/killall dnsmasq&lt;br&gt;/usr/bin/killall -9 udhcpc&lt;br&gt;&lt;br&gt;# create bridge interface&lt;br&gt;/usr/sbin/brctl addbr br0&lt;br&gt;/usr/sbin/brctl stp br0 off&lt;br&gt;/usr/sbin/brctl setfd br0 0&lt;br&gt;&lt;br&gt;# shutdown/remove IPs from the old interfaces&lt;br&gt;/sbin/ifconfig eth0:1 down&lt;br&gt;/sbin/ifconfig eth0 0.0.0.0&lt;br&gt;/sbin/ifconfig ath1 0.0.0.0&lt;br&gt;&lt;br&gt;# bring up the bridge interface&lt;br&gt;/sbin/ifconfig br0 up&lt;br&gt;&lt;br&gt;# add the old interfaces to the bridge&lt;br&gt;/usr/sbin/brctl addif br0 ath1&lt;br&gt;/usr/sbin/brctl addif br0 eth0&lt;br&gt;&lt;br&gt;# set IP of the bridge for FON remote admin&lt;br&gt;/sbin/udhcpc -i br0 -R # get new IP via dhcp&lt;br&gt;#/sbin/ifconfig br0 192.168.0.4 # remove the leading # to specify a static IP&lt;br&gt;#/sbin/route add default gw 192.168.0.254 # remove the leading # to specify the default gateway&lt;br&gt;&lt;br&gt;# set firewall rules&lt;br&gt;iptables -I INPUT -i br0 -j ACCEPT&lt;br&gt;iptables -I OUTPUT -o br0 -j ACCEPT&lt;br&gt;&lt;br&gt;# add bridge to hostapd.conf and restart hostapd (allows to use WPA)&lt;br&gt;echo bridge=br0 &amp;gt;&amp;gt; /tmp/hostapd.conf&lt;br&gt;/usr/bin/killall hostapd&lt;br&gt;/usr/sbin/hostapd -B /tmp/hostapd.conf&lt;br&gt;&lt;br&gt;# restarting dnsmasq but without dhcp&lt;br&gt;dnsmasq&lt;br&gt;&lt;/font&gt;
&lt;li&gt;&lt;font color="#00b050"&gt;chmod +x /etc/init.d/N15bridge&lt;/font&gt; 
&lt;li&gt;&lt;font color="#00b050"&gt;vi /sbin/ifup&lt;/font&gt;, replace &amp;quot;wan_ifname=${wan_ifname:-eth0}&amp;quot; with &amp;quot;wan_ifname=${wan_ifname:-br0}&amp;quot;, save the file. 
&lt;li&gt;Go to &lt;a href="http://www.fon.com/"&gt;www.fon.com&lt;/a&gt;, log in and update shared bandwidth. 
&lt;li&gt;&lt;font color="#00b050"&gt;reboot&lt;/font&gt;&lt;/ol&gt;
&lt;p&gt;If /sbin/ifup has been updated in future updates, you must modify it again after the update and reboot.&lt;/font&gt;&lt;img height=0 src="http://js.tongji.yahoo.com.cn/1/412/433/ystat.gif" width=0&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=6729600980943835003&amp;page=RSS%3a+FON+as+bridge+(%e8%ae%93FON%e8%b7%91%e6%a9%8b%e6%8e%a5%e6%a8%a1%e5%bc%8f)&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=erictsai.spaces.live.com&amp;amp;GT1=erictsai"&gt;</description><comments>http://erictsai.spaces.live.com/Blog/cns!5D64586FED470F7B!397.entry#comment</comments><guid isPermaLink="true">http://erictsai.spaces.live.com/Blog/cns!5D64586FED470F7B!397.entry</guid><pubDate>Mon, 02 Apr 2007 14:04:21 GMT</pubDate><slash:comments>6</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://erictsai.spaces.live.com/blog/cns!5D64586FED470F7B!397/comments/feed.rss</wfw:commentRss><wfw:comment>http://erictsai.spaces.live.com/Blog/cns!5D64586FED470F7B!397.entry#comment</wfw:comment><dcterms:modified>2008-08-17T12:33:31Z</dcterms:modified></item><item><title>Nero AAC Codec - A Free MPEG-4 Audio Encoder</title><link>http://erictsai.spaces.live.com/Blog/cns!5D64586FED470F7B!362.entry</link><description>&lt;font size=3&gt;
&lt;div&gt;Download: &lt;a href="http://www.nero.com/eng/nero-aac-codec.html"&gt;http://www.nero.com/eng/nero-aac-codec.html&lt;/a&gt;&lt;a href="http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Command to encode all *.wav files from a specific folder:&lt;/div&gt;
&lt;div&gt;for /r &amp;quot;D:\WAV Files\&amp;quot; %F in (*.wav) do neroAacEnc.exe -q 0.4 -lc -if &amp;quot;%F&amp;quot; -of &amp;quot;%~dpnF.mp4&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The encoder will automatically choose which is the appropriate AAC profile to use based on the bit rate level chosen (or what bit rate the -q value you've chosen relates to), as follows (this may change over time):&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;table width="80%" border=0&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=top align=middle width="33%"&gt;&lt;b&gt;AAC Profile&lt;/b&gt; 
&lt;td valign=top align=middle width="47%"&gt;&lt;b&gt;Full name of profile&lt;/b&gt; 
&lt;td valign=top align=middle width="36%"&gt;&lt;b&gt;Bit Rate Range&lt;br&gt;kbps&lt;/b&gt; 
&lt;tr&gt;
&lt;td align=middle width="33%"&gt;LC-AAC 
&lt;td align=middle width="47%"&gt;Low Complexity (normal AAC) 
&lt;td align=middle width="36%"&gt;&amp;gt;= 85 kbps 
&lt;tr&gt;
&lt;td align=middle width="33%"&gt;HE-AAC 
&lt;td align=middle width="47%"&gt;High Efficiency AAC 
&lt;td align=middle width="36%"&gt;&amp;lt; 85 kbps 
&lt;tr&gt;
&lt;td align=middle width="33%"&gt;HE-AAC v2 
&lt;td align=middle width="47%"&gt;High Efficiency AAC version 2 
&lt;td align=middle width="36%"&gt;&amp;lt; 40 kbps&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;根據 &lt;a href="http://www.mainconcept.com/site/index.php?id=7826"&gt;MainConcept AAC-HE SDK 介紹網頁&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; HE AAC itself can not achieve transparency, so it is not a replacement for LC AAC but rather its extension and should be the audio codec of choice for internet, mobile, and broadcasting arenas.&lt;/div&gt;
&lt;div&gt;所以看來要保存還是用LC-AAC好了&lt;/div&gt;&lt;/font&gt;&lt;img height=0 src="http://js.tongji.yahoo.com.cn/1/412/433/ystat.gif" width=0&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=6729600980943835003&amp;page=RSS%3a+Nero+AAC+Codec+-+A+Free+MPEG-4+Audio+Encoder&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=erictsai.spaces.live.com&amp;amp;GT1=erictsai"&gt;</description><comments>http://erictsai.spaces.live.com/Blog/cns!5D64586FED470F7B!362.entry#comment</comments><guid isPermaLink="true">http://erictsai.spaces.live.com/Blog/cns!5D64586FED470F7B!362.entry</guid><pubDate>Thu, 14 Dec 2006 09:49:29 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://erictsai.spaces.live.com/blog/cns!5D64586FED470F7B!362/comments/feed.rss</wfw:commentRss><wfw:comment>http://erictsai.spaces.live.com/Blog/cns!5D64586FED470F7B!362.entry#comment</wfw:comment><dcterms:modified>2008-04-12T19:49:23Z</dcterms:modified></item></channel></rss>