<?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>&#124;.::六条线::.&#124;</title>
	<atom:link href="http://blog.donews.com/6lines/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.donews.com/6lines</link>
	<description>For A World Without Limitations !</description>
	<lastBuildDate>Mon, 25 Apr 2011 07:14:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>你抗议了吗? (转自天涯)</title>
		<link>http://blog.donews.com/6lines/1576800</link>
		<comments>http://blog.donews.com/6lines/1576800#comments</comments>
		<pubDate>Mon, 25 Apr 2011 07:14:43 +0000</pubDate>
		<dc:creator>orez</dc:creator>
				<category><![CDATA[0.1 ::> 我本向善]]></category>

		<guid isPermaLink="false">http://blog.donews.com/6lines/?p=1576800</guid>
		<description><![CDATA[

为了GDP，有人疯狂违规卖地，几十万亿亩强行收来，转手就是几百万，你抗议了吗？
房价暴涨，多少人穷其一生收入都买不起一个容身之所，你抗议了吗？
看一次病，都能收你550万，你抗议了吗？
墓地XX万，骨灰盒XX千，都快死不起了，你抗议了吗？
几百亿养老钱，让人拿去随意投资，你抗议了吗？
倾家荡产供一个大学生，却换来毕业即失业的结果，你抗议了吗？
非典当前，掷百姓的生命安全于不顾，可以隐瞒疫情，你抗议了吗？
XX省的AIDS疫情被人为的隐瞒了多少年，你抗议了吗？
彩票造假，多少彩民的血汗钱被人私分，你抗议了吗？
可以深更半夜调印花税，你抗议了吗？
用自己手中的非流通股肆意掠夺股民的血汗钱，你抗议了吗？
保险公司想圈钱就圈钱，想融资就融资，你抗议了吗？
口口声声保证“人民币绝不升值！”，现在都快升了16%了，你抗议了吗？
一张虎照，颠倒黑白的指鹿为马，快半年了，都没个交待，你抗议了？
多少十几岁的孩子被人卖入黑窑当奴隶，你抗议了吗？
矿难曾出不穷，几十上百的生命一次又一次的被埋入地下，你抗议了吗？
大火当前，有人高呼“让领导先走！”上百名小学生被烧成焦炭，你抗议了吗？
毒大米、毒食用油、毒奶粉、独火腿肠、毒鱼、毒水&#8230;&#8230;快到了无物可食的地步，你抗议了吗？
有了点权，就可以开着宝马、奔驰到处撞人，你抗议了吗？
因为没有暂住证，就要被人打死，你抗议了吗？
为了糊口摆个摊，被人追着满街逃，你抗议了吗？
属于你的那个小本上写着“农业”二字，你就要被另一些人歧视一辈子，你抗议了吗？
夜总会、娱乐城前，很多车都挂着某种特殊牌照，你抗议了吗？
神州大地上，无数顶着国徽的豪华大楼拔地而起，你抗议了吗？
对面的小学却没有一间像样的教室，你抗议了吗？
几千万在一些人的嘴里竟成了“喝茶钱”，你抗议了吗？
运营商提供发展中国家的服务，却按照发达国家的标准收费，你抗议了吗？
年薪十万的抄表工，年薪6000万的国企老总，你抗议了吗？
雪灾的列车上我们这些贱民受冻受饿时，50名韩国游客被转移到软卧车厢你抗议了吗？
一个黄皮肤的中国女孩不知原因的和外国人有关系从楼上跳下去，警方草草结案，你抗议了吗？
去广交会，要收取外国人不用而中国人要用到良民证，你抗议了吗？



国企私有，肥了领导，下岗了职工称为被贪官耻笑的40、50人员，你抗议了吗？
香港回归多年，你们可以自由去吗，如果是日本等外国人却可以自由出入没有限期，文字货币都没有统一，连秦始皇都不如，你抗议了吗？
中国人在自己国家要办暂住证，你抗议了吗？

1.为什么在一千点时放QFII进场？ 2.为什么B股在最高点对国内开放？3.为什么中石油香港发行价格仅1.1港元.大陆发行价格16.7元人民币,高达10多倍.仅0.1元面值的紫金矿业A股发行价人民币7.13元,H股复权发行价0.33港元.相差20倍.公平原则在哪里? 4.为什么一开始就把泡沫化的股票发行给国人,而有投资价值的发行价格1.1港币发 给外国人？5.为什么在国外股市最高点对内放行QDII基金？ 6.为什么平安(名为“中国平安”，实为洋人控股)可以如此大规模疯狂抢劫国人的血汗钱？7.为什么美国次债危机刚刚开始发作的时候，却正是QDII出海的时候要国人去买单，这些都是巧合吗？这些你抗议了吗？

是谁拿着国家的钱去买黑石基金和美国国债，亏空国有资产，你抗议了吗

中国在国际上的形象不是普通老百姓树立的，老外对中国的印象是通过政府获得的，一个欺内媚外的政府是不会有朋友和地位的。




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



几个领导者用公款点了一桌丰盛的酒席，飞禽走兽山珍海味 应有尽有.这时旁边有几个乞丐在一旁眼巴巴地看着，嘴里不断地流着哈喇子。但是这些领导却不把吃剩下的东西给这几个乞丐，因为领导的脚下还养了几只狗，残羹剩饭是要喂这几只狗的。当然了，这些乞丐连剩汤都喝不着，而领导看着这几个乞丐也很不爽，以至影 响了他们喝酒的兴致。这时来了两个外国人看到如此场面,一下子将领导的酒席给掀翻了。这一下领导想起了那几个乞丐，对乞丐说：“帝国主义要来灭亡我们的民族了，必须和他们拼了，这样才能挽救 我们的民族。”几个乞丐一听，立即高喊：“领导吃什么是我们自己的事儿，列强掀桌子是我们民族的耻辱。”然后高唱： “起来，不愿意做奴隶的人们&#8230;..”抄起打狗棍追着两个外 国人打去了.外国人打跑了,几个领导马上高喊：“再来上一桌。”然后又胡吃海喝起来。


]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">
<div id="_mcePaste"></div>
<div>为了GDP，有人疯狂违规卖地，几十万亿亩强行收来，转手就是几百万，你抗议了吗？</div>
<div id="_mcePaste">房价暴涨，多少人穷其一生收入都买不起一个容身之所，你抗议了吗？</div>
<div id="_mcePaste">看一次病，都能收你550万，你抗议了吗？</div>
<div id="_mcePaste">墓地XX万，骨灰盒XX千，都快死不起了，你抗议了吗？</div>
<div id="_mcePaste">几百亿养老钱，让人拿去随意投资，你抗议了吗？</div>
<div id="_mcePaste">倾家荡产供一个大学生，却换来毕业即失业的结果，你抗议了吗？</div>
<div id="_mcePaste">非典当前，掷百姓的生命安全于不顾，可以隐瞒疫情，你抗议了吗？</div>
<div id="_mcePaste">XX省的AIDS疫情被人为的隐瞒了多少年，你抗议了吗？</div>
<div id="_mcePaste">彩票造假，多少彩民的血汗钱被人私分，你抗议了吗？</div>
<div id="_mcePaste">可以深更半夜调印花税，你抗议了吗？</div>
<div id="_mcePaste">用自己手中的非流通股肆意掠夺股民的血汗钱，你抗议了吗？</div>
<div id="_mcePaste">保险公司想圈钱就圈钱，想融资就融资，你抗议了吗？</div>
<div id="_mcePaste">口口声声保证“人民币绝不升值！”，现在都快升了16%了，你抗议了吗？</div>
<div id="_mcePaste">一张虎照，颠倒黑白的指鹿为马，快半年了，都没个交待，你抗议了？</div>
<div id="_mcePaste">多少十几岁的孩子被人卖入黑窑当奴隶，你抗议了吗？</div>
<div id="_mcePaste">矿难曾出不穷，几十上百的生命一次又一次的被埋入地下，你抗议了吗？</div>
<div id="_mcePaste">大火当前，有人高呼“让领导先走！”上百名小学生被烧成焦炭，你抗议了吗？</div>
<div id="_mcePaste">毒大米、毒食用油、毒奶粉、独火腿肠、毒鱼、毒水&#8230;&#8230;快到了无物可食的地步，你抗议了吗？</div>
<div id="_mcePaste">有了点权，就可以开着宝马、奔驰到处撞人，你抗议了吗？</div>
<div id="_mcePaste">因为没有暂住证，就要被人打死，你抗议了吗？</div>
<div id="_mcePaste">为了糊口摆个摊，被人追着满街逃，你抗议了吗？</div>
<div id="_mcePaste">属于你的那个小本上写着“农业”二字，你就要被另一些人歧视一辈子，你抗议了吗？</div>
<div id="_mcePaste">夜总会、娱乐城前，很多车都挂着某种特殊牌照，你抗议了吗？</div>
<div id="_mcePaste">神州大地上，无数顶着国徽的豪华大楼拔地而起，你抗议了吗？</div>
<div id="_mcePaste">对面的小学却没有一间像样的教室，你抗议了吗？</div>
<div id="_mcePaste">几千万在一些人的嘴里竟成了“喝茶钱”，你抗议了吗？</div>
<div id="_mcePaste">运营商提供发展中国家的服务，却按照发达国家的标准收费，你抗议了吗？</div>
<div id="_mcePaste">年薪十万的抄表工，年薪6000万的国企老总，你抗议了吗？</div>
<div id="_mcePaste">雪灾的列车上我们这些贱民受冻受饿时，50名韩国游客被转移到软卧车厢你抗议了吗？</div>
<div id="_mcePaste">一个黄皮肤的中国女孩不知原因的和外国人有关系从楼上跳下去，警方草草结案，你抗议了吗？</div>
<div id="_mcePaste">去广交会，要收取外国人不用而中国人要用到良民证，你抗议了吗？</div>
<div id="_mcePaste"></div>
<div id="_mcePaste"></div>
<div id="_mcePaste"></div>
<div id="_mcePaste">国企私有，肥了领导，下岗了职工称为被贪官耻笑的40、50人员，你抗议了吗？</div>
<div id="_mcePaste">香港回归多年，你们可以自由去吗，如果是日本等外国人却可以自由出入没有限期，文字货币都没有统一，连秦始皇都不如，你抗议了吗？</div>
<div id="_mcePaste">中国人在自己国家要办暂住证，你抗议了吗？</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">1.为什么在一千点时放QFII进场？ 2.为什么B股在最高点对国内开放？3.为什么中石油香港发行价格仅1.1港元.大陆发行价格16.7元人民币,高达10多倍.仅0.1元面值的紫金矿业A股发行价人民币7.13元,H股复权发行价0.33港元.相差20倍.公平原则在哪里? 4.为什么一开始就把泡沫化的股票发行给国人,而有投资价值的发行价格1.1港币发 给外国人？5.为什么在国外股市最高点对内放行QDII基金？ 6.为什么平安(名为“中国平安”，实为洋人控股)可以如此大规模疯狂抢劫国人的血汗钱？7.为什么美国次债危机刚刚开始发作的时候，却正是QDII出海的时候要国人去买单，这些都是巧合吗？这些你抗议了吗？</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">是谁拿着国家的钱去买黑石基金和美国国债，亏空国有资产，你抗议了吗</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">中国在国际上的形象不是普通老百姓树立的，老外对中国的印象是通过政府获得的，一个欺内媚外的政府是不会有朋友和地位的。</div>
</div>
<div></div>
<div></div>
<div></div>
<div>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div></div>
<div></div>
<div>
<div id="_mcePaste">几个领导者用公款点了一桌丰盛的酒席，飞禽走兽山珍海味 应有尽有.这时旁边有几个乞丐在一旁眼巴巴地看着，嘴里不断地流着哈喇子。但是这些领导却不把吃剩下的东西给这几个乞丐，因为领导的脚下还养了几只狗，残羹剩饭是要喂这几只狗的。当然了，这些乞丐连剩汤都喝不着，而领导看着这几个乞丐也很不爽，以至影 响了他们喝酒的兴致。这时来了两个外国人看到如此场面,一下子将领导的酒席给掀翻了。这一下领导想起了那几个乞丐，对乞丐说：“帝国主义要来灭亡我们的民族了，必须和他们拼了，这样才能挽救 我们的民族。”几个乞丐一听，立即高喊：“领导吃什么是我们自己的事儿，列强掀桌子是我们民族的耻辱。”然后高唱： “起来，不愿意做奴隶的人们&#8230;..”抄起打狗棍追着两个外 国人打去了.外国人打跑了,几个领导马上高喊：“再来上一桌。”然后又胡吃海喝起来。</div>
<div id="_mcePaste"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/6lines/1576800/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Blues学习交流群，欢迎各位Geek加入~</title>
		<link>http://blog.donews.com/6lines/1576736</link>
		<comments>http://blog.donews.com/6lines/1576736#comments</comments>
		<pubDate>Fri, 16 Apr 2010 04:59:27 +0000</pubDate>
		<dc:creator>orez</dc:creator>
				<category><![CDATA[0.4 ::> Guitar]]></category>

		<guid isPermaLink="false">http://blog.donews.com/6lines/?p=1576736</guid>
		<description><![CDATA[群号：105434039
名称：Blues Fans
群主：Orez （zero的反写~~）
主题：音乐要分享才会快乐，本群讨论以Blues为主，其它风格涉及Jazz, Funk等（木，电），只想真诚交几个有共同爱好的朋友一起玩，人不用太多真诚为要。此群以技术为主，各广告商请绕行一经发现立删。
截止目前已经有多位GuitarChina牛淫加盟，更有专业老师担任管理员~~
]]></description>
			<content:encoded><![CDATA[<p>群号：105434039<br />
名称：Blues Fans<br />
群主：Orez （zero的反写~~）<br />
主题：音乐要分享才会快乐，本群讨论以Blues为主，其它风格涉及Jazz, Funk等（木，电），只想真诚交几个有共同爱好的朋友一起玩，人不用太多真诚为要。此群以技术为主，各广告商请绕行一经发现立删。</p>
<p>截止目前已经有多位GuitarChina牛淫加盟，更有专业老师担任管理员~~</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/6lines/1576736/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>语言交流学习QQ群</title>
		<link>http://blog.donews.com/6lines/1576669</link>
		<comments>http://blog.donews.com/6lines/1576669#comments</comments>
		<pubDate>Wed, 17 Mar 2010 16:19:09 +0000</pubDate>
		<dc:creator>orez</dc:creator>
				<category><![CDATA[0.1 ::> 我本向善]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[French]]></category>
		<category><![CDATA[Language]]></category>
		<category><![CDATA[Spanish]]></category>

		<guid isPermaLink="false">http://blog.donews.com/6lines/?p=1576669</guid>
		<description><![CDATA[群号：　103373048
中文/英语/法语/西班牙语&#8230; 交流，想进的请加~~
]]></description>
			<content:encoded><![CDATA[<p style="margin-top: 0px;margin-right: 0px;margin-bottom: 0.8em;margin-left: 0px"><span style="color: #000000">群号：　103373048</span></p>
<p style="margin-top: 0px;margin-right: 0px;margin-bottom: 0.8em;margin-left: 0px"><span style="color: #000000">中文/英语/法语/西班牙语&#8230; 交流，想进的请加~~</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/6lines/1576669/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Original] An Introduction to The ADSL</title>
		<link>http://blog.donews.com/6lines/1545473</link>
		<comments>http://blog.donews.com/6lines/1545473#comments</comments>
		<pubDate>Thu, 30 Jul 2009 03:43:00 +0000</pubDate>
		<dc:creator>orez</dc:creator>
				<category><![CDATA[0.7 ::> 杂项]]></category>
		<category><![CDATA[ADSL]]></category>

		<guid isPermaLink="false">http://blog.donews.com/6lines/archive/2009/07/30/1545473.aspx</guid>
		<description><![CDATA[By .orez. http://blog.donews.com/6linesADSL stands for Asymmetric Digital Subscriber Line, is a common form for internet link from ISP to premise. The word &#34;asymmetric&#34; indicates that the data flows faster in one direction than the other, usually, the downlink speed is 6-10 times than the uplink speed(should I use downloa]]></description>
			<content:encoded><![CDATA[<p>By .orez. http://blog.donews.com/6lines</p>
<p>ADSL stands for Asymmetric Digital Subscriber Line, is a common form for internet link from ISP to premise. The word &#8220;asymmetric&#8221; indicates that the data flows faster in one direction than the other, usually, the downlink speed is 6-10 times than the uplink speed(should I use download/upload here?) varies with the standards and specific implementations. Like in ANSI T1.413 standard(approved in 1998, the first standardized ADSL specification), the downlink speed is 8Mbit/s and uplink speed is 1.0Mbit/s; in ITU G.992.3 standard(approved in 2002, ADSL2), the downlink speed is 12Mbit/s and uplink speed is 1.0Mbit/s. The ITU G.992.5(ADSL2+) extends the capability in data rate to 24Mbit/s downstream and 1.0Mbit/s upstream.</p>
<p>The ADSL transmit data over the conventional copper telephone lines, it does this by employing the frequencies that are not used for voice call. We all know that our hearing covers about 20kHz, our voice have a band of 300~4000 Hz, thus, the telephone network use the 0~4kHz band of the line. Simply, we acknowledge that 0~1104 kHz are used in ADSL1 and ADSL2, 0~2.2MHz are used in ADSL2+. In this article, we only discuss the general concept and all the principles are illustrated according the standand ANSI T1.413.</p>
<p>Before we start talking the ADSL, we need to understand some basic definitions first:</p>
<p>&gt;&gt; Acknowledgement(ACK): is one or several transmission control packets/frames/bytes/bits transmitted by the receiving station as an affirmative response to the sending station.</p>
<p>&gt;&gt; Gain: is a power/amplitude ratio between a output signal of a system and a input signal of the same system, usually refered in amplifier circuit.</p>
<p>&gt;&gt; Equalizer: an electronic element or a digital algorithm used to flat(sometimes alter) the amplitude/frequency characteristics of a system.</p>
<p>&gt;&gt; Attenuation: is the energy loss of the signal transmitted through a medium. The atenuation mainly depends on the line physical properties/signal frequency/line joins/line length, in some means, the attenuation can be lessened by using a advanced technologies.</p>
<p>&gt;&gt; Noise: noise can be generated by any device near the line that can produce electromagnetic pulses at a frequency band of 0~1.1MHz, noise can be reduced by using a line protector or by filtering the signal(using a filter).</p>
<p>&gt;&gt; Crosstalk: when telephone lines are laid from the ISP to your premise, they are tightly bundled together. As an ADSL signal flows through line A, it will create electromagnetic signals in the adjacent line B/C/D&#8230; likewise, the signal travels down the line B wil also generate signals in other neighboring lines. This type of signals is crosstalk, and the crosstalk is not a part of the original signal we desire.</p>
<p>&gt;&gt; SNR: signal to noise ratio, this parameter can be simply get by calculating the ratio of the signal amplitude and noise amplitude. SNR is a total measurement of the transmission quality, a higher SNR means a higher transmission quality.</p>
<p>&gt;&gt; QAM: stands for Quadrature Amplitude Modulation, this type of modulation is a combination of amplitude modulation(data is represented by differing amplitudes) and phase shift keying modulation(data is represented by shifting each wave relative to the wave came before it). In a QAM signal, there two carriers(I signal and Q signal), each having the same frequency but having a phase-shift of 90 degrees(1/4 of a cycle -&gt; quadrature). Mathematically, one of the signal can be represented by a sine wave while the other can be represented by a cosine wave. Each of these two carriers are modulated via two separate balanced modulators, and then combined(algebraically summed) at the source for transmission. At the destination, the carriers are separated, the data is extracted from each, and combined into the original modulating information.</p>
<p>&gt;&gt; DMT: stands for Discrete Multi Tone(modulation). DMT is a version of modulation which the date is distributed over a large number of sub-frequency-band(Tone), each of the sub-band uses a form of QAM modulation. ADSL employs this type of modulation. In ADSL ANSI standard, the whole frequency bandwidth(0~1104kHz) is devided into 256 separated 4.3125kHz wide spans called Tone. Usually, Tone 1~8(0kHz~34.5kHz) is conserved for voice call and as a guard between voice signals and ADSL signals, Tone 9~32 is utilized for uplink channels, Tone 33~256 is kept for downlink stream.</p>
<p>Now, let&#8217;s see how a raw signal be processed and then transmitted on ADSL scheme&#8230; Go dig it&#8230;</p>
<p>==&gt; Initialization</p>
<p>The objective of the initialization is to measure the cable and tone properties, hence determine the best system configuration to maxmize data rate and system reliability. The initialization process can be divided into 4 stages:</p>
<p>1. Activation &amp; Acknowledgement</p>
<p>After both ADSL modems powered up, the sender modem starts sending a request to the receiver modem to commence the training procedure. The requests and the acknowledgements between the two modems are used to config the transmission and reception gains at both sides. At the end of this process, both modems are operating at an optimum level to max the sensitivity of the system.</p>
<p>2. Training</p>
<p>During this process, the modems send known frames in both directions.By comparing the received frames and the original frames, the system complete the following tasks:</p>
<p>I. Determine time and frequency domain equalizer parameters.</p>
<p>II. Time synchronization in both modems.</p>
<p>III. Frame alignment.</p>
<p>3. Channel Analysis</p>
<p>After all the adaptive parameters are adjusted, the modems calculate the SNR of each tone, using this information, the modems allocate the number of bits(2~16) will be transmitted in each individual tone. If a tone has too low SNR to transmit data, this tone will be directly abandoned.</p>
<p>4. Synchronization &amp; Data Exchange</p>
<p>Finally, each modem communicates to the other modem the ultimate transmission parameters. After this, both modems are synchronized and ready for data exchange.</p>
<p>==&gt; Data Framing</p>
<p>Data transmitted in ADSL scheme is organized into frames and superframes. The frame size is not fixed, but each frame has a time duration of 246 us(a frame must be sent every 246 microseconds), with different frame size we can implement a different link speed. A superframe is built with 68 ADSL data frames and one synchromization frame, the sync frame is used to provide superframe synchronization and identify the start of the superframe. Size of superframe is not fixed either as the frame size is not fixed, and from the duration of one frame, the time duration of a superframe can be get: 246 us * 69 f/sf = 17 ms.</p>
<p>Remember, the data operated here and the following processes befor DAC is digital 1s and 0s.</p>
<p>==&gt; Forward Error Correction</p>
<p>After the data are framed, about 10%~20% of redundant error correction bytes will be inserted to the data stream(vary with frame size). Forward error correction bytes are also called Reed-Solomon Bytes(sounds unfamiliar? Let me name some of its applications: CD/DVD/Blue-Ray Discs/DSL/WiMax/Raid 6/DVB/ATSC&#8230;), they are used to detect and correct data errors at the receiver side. In a basic sense. A R-S byte is a sum of several preceding bytes, at the receiver side, if anything is lost from the data stream it can be recalculated from the sum.</p>
<p>We need to bear in mind that if the number of bytes wither errors is more than half of the error correction bytes, the data cannot be corrected, the decoder raises a flag, these data bytes are discarded. In this case, as the data transmission is based on TCP/IP protocol, the sender does not receive acknowledgement of successful data delievery, the missing packet has to be retransmitted.</p>
<p>==&gt; Modulation</p>
<p>As mentioned before, ADSL employs discreted tones for data transmission, during the initialization process, the modems estimate the SNR of each single tone and then assign the number of bits will be transmitted in each tone. At current phase, the data processed before are distributed whith the selected tones. A tone with a higher SNR may accommodate a higher number of bits, correspondingly, a tone with a poor SNR will lodge a low number of bits. This process of allocating bits to specific tones is called Tone Ordering.</p>
<p>Once the tone ordering is done, the data is modulated in QAM for each of the tone.The QAM use a constellation to modulate the signal depends on the number of bits assigned to each particular tone. For example, the 4 bits constellation(16 points are needed to represent the 4 bits data), these points are plotted in the X-Y plane distributed equally in each quadrant. Different 4-bits-data are defined by differing amplitudes(Ax,Ay) of the I and Q signal(sine and cosine wave). Take the points m and n for example, point m(0011) may be represented by 2*Sin(wt)+2*Cos(wt), and point n(1001) may be represented by 1*Sin(wt)-2*Cos(wt).</p>
<p>This process is repeated with all the other tones being used for data link. The ultimate output of this QAM block is a list of Ax and Ay amplitudes for each tone(still digital signals), at this point, the amplitude values, in reality, are a representation of the digital data in the frequency domain.</p>
<p>Y</p>
<p>|</p>
<p>0000  0001  |  0010  0011</p>
<p>|          m</p>
<p>|</p>
<p>0100.    .    |    .    .</p>
<p>|</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&gt; X</p>
<p>|</p>
<p>.    .    |    .    .</p>
<p>|</p>
<p>.    .n   |    .    . 1111</p>
<p>1100       |   1110</p>
<p>|</p>
<p>4bits &#8211; 16points(0000~1111) QAM Constellation (Set Font = Courier New)</p>
<p>==&gt; Inverse Fast Fourier Transform (IFFT)</p>
<p>During this process, the IFFT block loads the 224(tone 33~256) pairs of Ax-Ay amplitudes delivered by QAM module as its input, and generates appropriate sin and cos waves for each tone. As mentioned before, these signals processed now are frequency domain signals and the DMT is a time domain scheme, so, the signals are processed using a IFFT algorithm to be converted from frequency domain to time domain. Afterwards, signals are summed up producing a time domain waveform.</p>
<p>==&gt; DAC</p>
<p>Ultimately, the waveform is loaded at a buffer and then downloaded to a DAC chip to convert to analog signals for line transmission. The output of this chip the routed to some analog devices(filter, driver&#8230;) to be transmitted through the copper line.</p>
<p>Reference:</p>
<p>wikipedia.org: ADSL, ANSI T1.413, ITU G.992.3, DSL, ADSL Modem, Modulation, QAM, DMT, TCP, Equalization,Gain&#8230;</p>
<p>google.com: ADSL, ADSL Theory, DSL, DMT, QAM&#8230;</p>
<p>http://whirlpool.net.au/wiki/?tag=ADSL_Theory</p>
<p>http://www2.rad.com/networks/2005/adsl/main.htm</p>
<p>Halliburton Gamma Telemetry Tool Service Manual</p>
<p>Halliburton Gamma Telemetry Tool Field Operation Manual</p>
<p>http://www.iol.unh.edu/services/testing/dsl/training/ (There are plenty of materials about DSL, and it&#8217;s a pity that I almost complete this article when I found this site)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/6lines/1545473/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Original]An Introduction to Digital Signal Encoding</title>
		<link>http://blog.donews.com/6lines/1542823</link>
		<comments>http://blog.donews.com/6lines/1542823#comments</comments>
		<pubDate>Thu, 16 Jul 2009 03:31:00 +0000</pubDate>
		<dc:creator>orez</dc:creator>
				<category><![CDATA[0.7 ::> 杂项]]></category>
		<category><![CDATA[DSP]]></category>
		<category><![CDATA[Encoding]]></category>

		<guid isPermaLink="false">http://blog.donews.com/6lines/archive/2009/07/16/1542823.aspx</guid>
		<description><![CDATA[The &#34;Encoding&#34; refered here means the &#34;Communication Channel Encoding&#34; which is the mapping of the known binary signals(1 &#38; 0) to a physical signals(usually different voltages) for better transmission by a wireline/wave, not the transformation from Infomation to Binary Bit(Communication Source Encoding, like ASCII/UTF-8/GB2312...). So, the objective of Souce Encoding is to transform information used by humen to signal]]></description>
			<content:encoded><![CDATA[<p>The &#8220;Encoding&#8221; refered here means the &#8220;Communication Channel Encoding&#8221; which is the mapping of the known binary signals(1 &amp; 0) to a physical signals(usually different voltages) for better transmission by a wireline/wave, not the transformation from Infomation to Binary Bit(Communication Source Encoding, like ASCII/UTF-8/GB2312&#8230;). So, the objective of Souce Encoding is to transform information used by humen to signals can be transmitted by some transmission media(In some aspects, compression is another objective of Source Encoding), the reason we do Channel Encoding is to increase the ability of Anti-Interference &amp; Error-Correcting(Better Data Transmission Rate &amp; Lower Error Rate). Since we know the differences of the 2 type of encoding, the process of the data transimission may like this:</p>
<p>Information =&gt; Source Encoding =&gt; Channel Encoding =&gt; Channel Transmission + Noise =&gt; Channel Decoding =&gt; Source Decoding =&gt; Information</p>
<p>1.  Non-Return To Zero (NRZ)</p>
<p>NRZ is the most common form of binary data in telecommunication. In this encoding, the voltage level of the NRZ data determines binary values. &#8220;1s&#8221; are represented by one physical voltage level and &#8220;0s&#8221; are represented by another voltage level. Usually, a positive voltage level and a negative voltage level is prefered to represent the two binary values, but sometimes, a positive voltage+zero voltage or a negative voltage+zero voltage also can be used.</p>
<p>NRZ encoding is a simple way for short-distance transmission, and in the earlier Halliburton DITS logging system, is employed in EXCELL-2K surface system to transmit information between DITS Modem Panel to Front-End.</p>
<p>2.  NRZ Inverted (NRZI)</p>
<p>Signals are represented in a different format in NRZI, 1s &amp; 0s are determined by the voltage transition state at a clock leading boundary rather than the straight encoding in NRZ:</p>
<p>&#8216;1&#8242;:  A physical voltage level transition happens over the last physical voltage level.</p>
<p>&#8216;0&#8242;:  No physical voltage level transition happens over the last physical voltage level.</p>
<p>The defination of the binary can be swapped, depends on the implementation of the protocol.</p>
<p>The biggest advantage of detecting transition is that it is often less error-prone than comparing against a threshold in a noisy environment(The following encodings have the same property).</p>
<p>NRZI now is used in USB, 100Base-FX(Fast Ethernet) etc.</p>
<p>3.  Manchester Encoding (ME)</p>
<p>In Manchester Encoding, A falling or rising transition from one voltage level to another, in the middle of the bit-time, determines the binary value. Generally, Manchester signals are bi-polar in that one voltage is positive and the other voltage is negative. A binary 1 is designated has a falling transition from the positive voltage level, through zero, to the negative voltage level in the middle of the bit-time. Conversely, a binary zero is designated has a rising transition from the negative voltage level, through zero, to the positive voltage level in the middle of the bit-time. These transitions represent binary only when it occurs in the middle of the bit-time. Same as the NRZI, this defination can be swapped, depends on the implementation.</p>
<p>A Manchester encoded signal contains frequent level transitions which allow the receiver to extract the clock signal using a Digital Phase Locked Loop(DLLP), this makes the method suitable for use on single-core systems such as optical fiber and coaxial cable. The weakness compared with NRZ is the modulation bandwidth is twice that of NRZ and it needs complex decoding circuitry.</p>
<p>Manchester Encoding commonly accompanys with 1553 tool bus. In Halliburton older DITS logging system, 1553 tool bus is employed to transmit data between each logging tool and telemetry unit. One advantage of this bus is that entire telemetry system would not shutdown if one of the tools fail, as all devices are connected in parallel. Besides, the downlink commands of the logging system are transmitted in Manchester Format.</p>
<p>You are using Manchester Encoding too if you read this article through the internet (ME is widely used in ethernet).</p>
<p>4.  Differential Manchester Encoding (DME)</p>
<p>Differential Encoding(also known as CDP; Conditioned Diphase Encoding) is a technique that makes data to be transmitted not only depend on the current bit, but also the previous one. As implied in the name, DME is one type of Differential Encoding(NRZI too), a 1 is indicated by making the first half of the signal equ to last half of the previous signal, means no transition at the beginning of the bit-time; a 0 is indicated by making the first half of the signal opposite to the last half of the previous bit, means a transition from 0 to 1 or 1 to 0 happens at the start of the bit-time. In the middle of the bit-time, there is always a transition, this property makes it a single self-synchroizing data stream, which means clock signals are combined with the data signals.</p>
<p>DME is specified in the IEEE 802.5 standard for token ring LANs with twisted pair, and is used for many other applications, including magnetic and optical storage.</p>
<p>5. Unmodulated &amp; Modulated Duo-Binary Encoding (UDBE &amp; MDBE)</p>
<p>The value of Unmodulated Duo-Binary date depends on the voltage level, binary 0 is always the ground potential(0 volts), a binary 1 can either a positive voltage or negative voltage, depends on the number of 0s follows the previous binary 1. If a given polarity of a binary 1 is followed by an odd number of binary 0s, the next binary 1 will be of the opposite polarity. Consequently, if a given polarity of binary 1 is followed by an even number of binary 0s, then the next 1 will remain the same polarity.</p>
<p>In Modulated Duo-Binary, a 0 is indicated by a bit-time of ground potential(0 volts), a 1 is represented by one complete cycle of the clock signal. The number of 0s determines the polarity of the next binary 1. If a given phase of a binary 1 is followed by an odd number of 0s, the next binary 1 will be 180-degrees out of phase from the preceding binary 1. Therefore, if a given phase of binary 1 is followed by an even number of  0s, then the next 1 will be in phase with the preceding 1.</p>
<p>DBE and NRZ has a similar transmission properties, both are equally efficient for short distance. Since DBE is more resilient to dispertion(Simple to encode and decode is another advantage), it is a better choice for a long distance transmission than NRZ, which requires much more compensation and equalization.</p>
<p><a href="http://blog.donews.com/6lines/files/2011/01/encoding.jpg"><img class="aligncenter size-full wp-image-1576786" title="encoding" src="http://blog.donews.com/6lines/files/2011/01/encoding.jpg" alt="" width="515" height="602" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/6lines/1542823/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[原创]Geek Gentoo+BackTrack+DOS+Slax+Puppy on one Ext3 USB Disk</title>
		<link>http://blog.donews.com/6lines/1519891</link>
		<comments>http://blog.donews.com/6lines/1519891#comments</comments>
		<pubDate>Sun, 14 Jun 2009 08:19:00 +0000</pubDate>
		<dc:creator>orez</dc:creator>
				<category><![CDATA[0.2 ::> OS]]></category>
		<category><![CDATA[BackTrack]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Puppy]]></category>
		<category><![CDATA[Slax]]></category>
		<category><![CDATA[USB System]]></category>

		<guid isPermaLink="false">http://blog.donews.com/6lines/archive/2009/06/14/1519891.aspx</guid>
		<description><![CDATA[　　前一段时间换了一个大一点的硬盘，然后想在上面装一个linux，结果安装grub后总是提示内核镜像的位置已经超过了BISO的寻址范围。想要在本地硬盘上面安装看来是只能是在windows系统分区后面再分两个分区，不过这么一弄分区麻烦不说，所有软件又要重装一遍了（我的软件一般都放在Ｄ盘）。想想还不如在一个Ｕ盘上面东西都弄好，既可以用来当急救系统也可以做Ghost，而且用PNY的那个薄片Ｕ盘，还可以装钱包里随身带着。　　好了，废话不多说，计划如下：　　１.　Ｕ盘用PNY 8G的，比较小巧可以随身携带。　　２.　Ｕ盘格式化为linux ext3类型，不说在fat上面装linux觉得怪异，而且fat格式也不支持linux的链接。　　３.　用extlinux做BootLoader。　　４.　Gentoo为这个U盘系统的主要系统，所在直接安装在U盘上，而不是像网上说的那样用光盘版的系统直接拷贝然后用extlinux的changes参数来保存系统变化。　　在开始这前先简单介绍一下安装的这几个系统：Gentoo是一个比较轻巧]]></description>
			<content:encoded><![CDATA[<p>　　前一段时间换了一个大一点的硬盘，然后想在上面装一个linux，结果安装grub后总是提示内核镜像的位置已经超过了BISO的寻址范围（升级BIOS后仍然不行，HP的BIOS好像是自己出的&#8230;）。想要在本地硬盘上面安装看来是只能是在windows系统分区后面再分两个分区，不过这么一弄分区麻烦不说，所有软件又要重装一遍了（我的软件一般都放在Ｄ盘）。想想还不如在一个Ｕ盘上面东西都弄好，既可以用来当急救系统也可以做Ghost，而且用PNY的那个薄片Ｕ盘，还可以装钱包里随身带着。<br />　　好了，废话不多说，计划如下：<br />　　１.　Ｕ盘用PNY 8G的，比较小巧可以随身携带。<br />　　２.　Ｕ盘格式化为linux ext3类型，不说在fat上面装linux觉得怪异，而且fat格式也不支持linux的链接。<br />　　３.　用extlinux做BootLoader。<br />　　４.　Gentoo为这个U盘系统的主要系统，所在直接安装在U盘上，而不是像网上说的那样用光盘版的系统直接拷贝然后用extlinux的changes参数来保存系统变化。<br />　　在开始这前先简单介绍一下安装的这几个系统：Gentoo是一个比较轻巧干净的linux发行版，它使用基于源代码分发方式的portage为包管理系统（当然也有预编译的软件），这意味着你可以完全控制你的系统，要装哪些软件不要装哪些软件，一个软件要装哪些模块，还可以针对自己的系统作出优化。BackTrack是一个在安全界备受推宠的专门用于安全检测审计的linux发行版，它里面包含了无数个专门的安全工具，在无线破解方面尤其擅长。slax和puppy是两个轻量级的linux发行版本，slax 200Ｍ左右puppy 100M左右，但都包含一个桌面系统和常用的软件。MaxDos v7.1光盘启动版，集成了ghost 11.5, PQ, DM, Windows密码破解等，最主要的是可以用来ghost备份和恢复我的windows系统。<br />　　好了，现在一步步开始正式安装，以下安装命令为我安装过后凭记忆写出，如果有不妥之处留言或写邮件到<a href="mailto:DarkThorn@163.com">DarkThorn@163.com</a>。</p>
<p>一、准备工作<br />　　准备一个网络连接，在安装gentoo及软件的时候我们要用到网络。如果是gentoo新手，然后最好手边有一份gentoo安装手册，在本文中只简单介绍gentoo安装过程。<br />　　然后下载软件（不知道下载地址google之）：<br />　　１.　最新版的Gentoo minimal installation CD、Stage Tarball、Portage Snapshot，我用20090602的那个。<br />　　２.　下载光盘版本的BackTrack，我这里用BT4 Beta版。<br />　　３.　下载slax linux和puppy linux，然后各自解压到一文件夹下。<br />　　４.　下载MaxDOS v7.1光盘版。<br />　　５.　UltraISO，用来从ISO中提取文件。<br />　　６.　GDParam，用来获取磁盘镜像文件的c/h/s参数。<br />　　下载完成后将Gentoo Minimal Installaton CD刻盘。<br />二：提取DOS镜像<br />　　将下载的maxdos_71plus_iso.rar 解压得到maxdos_71plus_iso.iso，用UltraISO打开镜像文件，提取其中maxdos文件夹下面的maxs.sys文件。将maxs.sys改名为maxs.gz，用winrar打开解压出其中的maxdos.exe文件。最后将解压出的maxdos.exe改名为MaxDOS.img，这就是我们要用的DOS镜像，与上面下载好的软件一起保存好，在安装完gentoo后我们要把他们拷贝到U盘里。<br />三、安装gentoo<br />　　将U盘与gentoo安装盘插入计算机，从光驱启动。启动完成后将Ｕ盘分为一个区格式化ext3类型（请将以下命令中的U盘设备号以你自己系统做相应调整）：<br />　　１.　用fdisk命令将Ｕ盘所有分区删除，然后重新建立一个新分区，分区大小为全Ｕ盘大小：<br />　　　　#fdisk /dev/sda<br />　　　　Command (m for help): d<br />　　　　Partition number (1-?): 1<br />　　在command后面输入p可以查看当前分区状况，一般来说默认Ｕ盘只有一个分区，如果有多个分区再重复上面的命令，直到删除完为止。删除完以后新建一个主分区并将其设为可启动：<br />　　　　Command (m for help): n<br />　　　　p<br />　　　　Command (m for help): a<br />　　２.　格式化Ｕ盘为ext3:<br />　　　　#mkfs.ext3 /dev/sda1<br />　　下面可以按手册安装gentoo了，不过要注意的是，如果内存在1G以上我们就不用swap分区了（你也可以在Ｕ盘上再划出一个分区做为swap），并且boot分区也不用另分。还有就是我们使用gentoo的genkernel，这样Ｕ盘应当可以在不同的机子上使用（当然你也可以拷贝光盘里的内核）。<br />　　３.　gentoo基本系统安装：<br />　　　　dhcpcd eth0<br />　　　　mount /dev/sda1 /mnt/gentoo<br />　　　　mkdir /mnt/gentoo/boot<br />　　　　cd /mnt/gentoo<br />　　(挂载你下载gentoo stage/portage的windows分区，将stage/portage拷贝到当前目录即/mnt/gentoo下)<br />　　　　tar xvfp stage3-i686-20090602.tar.bz2<br />　　　　tar xvf portage-latest.tar.bz2 -C usr<br />　　　　mirrorselect -i -o &gt;&gt; etc/make.conf<br />　　　　mirrorselect -i -r -o &gt;&gt; etc/make.conf<br />　　　　cp -L /etc/resolv.conf etc/<br />　　　　mount -t proc none proc<br />　　　　mount -o bind /dev dev<br />　　　　chroot /mnt/gentoo /bin/bash<br />　　　　env-update<br />　　　　source /etc/profile<br />　　　　export PS1=&quot;(chroot) $PS1&quot;<br />　　　　emerge &#8211;sync<br />　　　　(if a new portage version is available)&nbsp; emerge &#8211;oneshot portage<br />　　　　(if you use vim) emerge vim<br />　　　　vim /etc/locale.gen<br />　　(add to the file):<br />　　　　　　zh_CN GB18030<br />　　　　　　zh_CN.UTF-8 UTF-8<br />　　　　　　zh_CN.GB2312 GB2312<br />　　　　　　zh_CN.GBK GBK<br />　　　　locale-gen<br />　　　　cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime<br />　　　　emerge gentoo-source<br />　　注意，下面的命令与手册上的不同，手册上说的默认的内核配置文件的路径应当是错的，正确的应当是下面命令中的那个路径。在执行前先备份：<br />　　（mv /usr/share/genkernel/arch/x86/kernel-config /usr/share/genkernel/arch/x86/kernel-config.bak）<br />　　　　zcat /proc/config.gz &gt; /usr/share/genkernel/arch/x86/kernel-config<br />　　　　genkernel all<br />　　将在/boot目录下生成的kernel&#8230;与initramfs&#8230;名字记下或改个名，我改为vmlinuz和initramfs。<br />四、完善gentoo基本系统<br />　　在/etc/fstab中将根目录挂载如下，将其它的项注释掉：<br />　　　　/dev/sda1&nbsp;&nbsp;/&nbsp;ext3&nbsp;noatime&nbsp;0 1<br />　　设置你喜欢的hostname：<br />　　　　vim /etc/conf.d/hostname<br />　　如果使用dhcp，并且开机要自动启用，将下一行加入/etc/conf.d/net：<br />　　　　config_eth0=(&quot;dhcp&quot;)<br />　　并执行：<br />　　　　rc-update add net.eth0 default<br />　　为系统设置密码：<br />　　　　passwd<br />　　其它相应的自己设置即可。<br />五、安装基本软件<br />　　一般来说要安装的软件有syslog-ng, slocate, reiserfsprogs, jfsutils, dhcpcd, ppp等，自己视情况emerge。<br />六、安装syslinux<br />　　　　emerge syslinux<br />　　安装完成以后将extlinux安装在目录/extlinux下：<br />　　　　cd /<br />　　　　mkdir extlinux<br />　　　　extlinux -i /extlinux<br />　　　　cd /usr/share/syslinux<br />　　在syslinux目录或子目录下找到mbr.bin，然后安装mbr：<br />　　　　cat mbr.bin &gt; /dev/sda<br />　　然后在syslinux目录或子目录下面找到下面五个文件，复制到/extlinux/下：<br />　　　　memdisk<br />　　　　vesamenu.c32<br />　　　　menu.c32<br />　　　　chain.c32<br />　　　　reboot.c32<br />七、安装其它系统<br />　　１.　DOS<br />　　回到根目录，在根目录下新建文件夹命名为dos，将我们做好的MaxDOS.img文件放于此目录下。\<br />　　　　mkdir dos<br />　　　　cp /mnt/winfs/&#8230;/MaxDOS.img /dos/<br />　　２.　BackTrack<br />　　挂载我们下载回来的BackTrack的iso:<br />　　　　mount -o loop /mnt/winfs/&#8230;/bt4-beta.iso /mnt/cdrom<br />　　在根目录下新建文件夹/btboot，复制iso/boot/下面的vmlinuz, initrd.gz到/btboot，然后复制整个BT4文件夹到根目录，注意BT4文件夹不能改名字：<br />　　　　mkdir btboot<br />　　　　cp /mnt/cdrom/boot/vmlinuz /btboot/<br />　　　　cp /mnt/cdrom/boot/initrd.gz /btboot/<br />　　　　cp -pPr /mnt/cdrom/BT4 /<br />　　３.　slax<br />　　在根目录下新建文件夹/slaxboot，将slax/boot下的文件vmlinuz, initrd.gz复制到/slaxboot下，然后复制整个slax文件夹到根目录，注意slax文件夹不能改名字：<br />　　　　mkdir slaxboot<br />　　　　cp /mnt/winfs/&#8230;/slax/boot/vmlinuz /slaxboot/<br />　　　　cp /mnt/winfs/&#8230;/slax/boot/initrd.gz /slaxboot/<br />　　　　cp -r /mnt/winfs/&#8230;/slax/slax /<br />　　４.　puppy<br />　　将整个puppy文件夹复制到根目录下，可以将puppy目录下的[boot]文件夹删除：<br />　　　　cp /mnt/winfs/&#8230;/puppy /<br />　　　　rm -r /puppy/[boot]<br />八、完成extlinux配置<br />　　在目录/extlinux下新建文件extlinux.conf，其内容如下：</p>
<p>PROMPT 0<br />TIMEOUT 100<br />DEFAULT vesamenu.c32<br />MENU BACKGROUND splash.png</p>
<p>F1 readme.txt<br />F2 extlinux.conf<br />MENU WIDTH 80<br />MENU MARGIN 10<br />MENU ROWS 12<br />MENU TABMSGROW 18<br />MENU CMDLINEROW 18<br />MENU ENDROW -1<br />MENU PASSWORDROW 11<br />MENU TIMEOUTROW 20<br />MENU HELPMSGROW 22<br />MENU HELPMSGENDROW -1<br />MENU HIDDENROW -1<br />MENU HSHIFT 0<br />MENU VSHIFT 0<br />MENU COLOR border 0 #0000 #0000 none</p>
<p>MENU TITLE <a title="" target="_blank" href="http://blog.donews.com/6lines"></a>&#8217;s Tool Box</p>
<p>LABEL gentoo<br />　　　　MENU LABEL ^Gentoo Linux<br />　　　　kernel /boot/vmlinuz<br />　　　　append initrd=/boot/initramfs ramdisk_size=8192 root=/dev/ram0 real_root=/dev/sda1 vga=0&#215;318 rw<br />　　　　TEXT HELP<br />　　　　Gentoo Gen-Kernel 2.6.29&#8230;<br />　　　　ENDTEXT</p>
<p>LABEL bt<br />　　　　MENU LABEL ^BackTrack 4<br />　　　　kernel /btboot/vmlinuz<br />　　　　append initrd=/btboot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw vga=0&#215;318 changes=/BT4/changes/</p>
<p>LABEL slax<br />　　　　MENU LABEL ^Slax v6.2<br />　　　　kernel /slaxboot/vmlinuz<br />　　　　append initrd=/slaxboot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw vga=0&#215;318 changes=/slax/grach/ autoexec=xconf;telinit~4</p>
<p>LABEL slax-txt<br />　　　　MENU LABEL Slax v6.2 &#8211; Text Mode<br />　　　　kernel /slaxboot/vmlinuz<br />　　　　append initrd=/slaxboot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw vga=0&#215;317 changes=/slax/txtch/</p>
<p>LABEL puppy<br />　　　　MENU LABEL ^Puppy Linux v4.2<br />　　　　kernel /puppy/vmlinuz<br />　　　　append initrd=/puppy/initrd.gz pmedia=cd</p>
<p>LABEL dos<br />　　　　MENU LABEL Max^DOS v7.1<br />　　　　kernel /extlinux/memdisk c=555 h=2 s=18 floppy<br />　　　　append initrd=/dos/MaxDOS.img</p>
<p>LABEL reboot<br />　　　　MENU LABEL ^Reboot<br />　　　　kernel /extlinux/reboot.c32</p>
<p>　　其中第四行menu background splash.png表明启动菜单的的背景图片为splash.png（保存于/extlinux下），它应当是一张640*480大小的png, jpg, gif, jmp格式图片。如果不喜欢可以将这一行去掉。<br />　　好了，到这里我们的整个系统就完成了，将所有挂载的系统umount，然后重启，将第一启动方式设置为USB-HDD方式，然后就可以看见可爱的extlinux启动界面了~~~<br />　　这样做出来的系统启动速度比光盘快多了，个人感觉与硬盘启动速度差不了多少，不过不知道以后用着会不会出什么问题。后面是一些我安装完成后的图片，是刚装完后半夜照的不是太清楚，呵呵，拿出来小秀一下，如果有什么问题及指正，请留言或写邮件到<a href="mailto:DarkThron@163.com">DarkThron@163.com</a>，我的Blog: <a href="http://blog.donews.com/6lines">http://blog.donews.com/6lines</a>，欢迎交流。</p>
<p>Menu:</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_menu.jpg" /></p>
<p>gentoo:</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_gentoo.jpg" /></p>
<p>BackTrack 4 :</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_BackTrack (0).jpg" /></p>
<p>BackTrack 4 &#8211; FVWM:</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_BackTrack (1).jpg" /></p>
<p>BackTrack 4 &#8211; FVWM:</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_BackTrack (2).jpg" /></p>
<p>BackTrack 4 &#8211; KDE:</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_BackTrack (3).jpg" /></p>
<p>Slax &#8211; Text Mode:</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_slax-txt.jpg" /></p>
<p>Slax:</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_slax.jpg" /></p>
<p>Puppy:</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_puppy.jpg" /></p>
<p>DOS:</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_dos.jpg" /></p>
<p>DOS &#8211; Ghost:</p>
<p><img alt="" src="http://blog.donews.com/images/blog_donews_com/6lines/125329/r_dos-ghost.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/6lines/1519891/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>[原创]几个有用的小脚本</title>
		<link>http://blog.donews.com/6lines/1498242</link>
		<comments>http://blog.donews.com/6lines/1498242#comments</comments>
		<pubDate>Wed, 13 May 2009 14:52:00 +0000</pubDate>
		<dc:creator>orez</dc:creator>
				<category><![CDATA[0.7 ::> 杂项]]></category>

		<guid isPermaLink="false">http://blog.donews.com/6lines/archive/2009/05/13/1498242.aspx</guid>
		<description><![CDATA[1. 将本地连接获得IP地址与DNS地址的方式改为DHCP（AutoIP.cmd）：　　首先，将第二、三行中name后面双引号里面的内容改为你本地连接的名字，一般在中文版文版的系统里为&#34;本地连接&#34;，在英文版的系统里为&#34;Local Area Connection&#34;（默认为这个），双引号为英文半角。２.将IP地址与DNS地址改为静态地址（StaticIP.cmd）：　　将第二、三行中name后面双引号里面的内容改为你本地连接的名字，一般在中文版文版的系统里为&#34;本地连接&#34;，在英文版的系统里为&#34;Local Area Connection&#34;（默认为这个），双引号为英文半角。第二行的addr,mask,gateway为你要修改的IP地址、子网掩码、网关，第三行addr后面的IP地址为你要修改的DNS地址。３.选中IE &#8221;Internet选项=&#62;连接=&#62;局域网设置=&#62;使用自动配置脚本&#8220;选项，将C:\...那些内容改为你自己的脚]]></description>
			<content:encoded><![CDATA[<p>1. 将本地连接获得IP地址与DNS地址的方式改为DHCP（AutoIP.cmd）：<br />　　首先，将第二、三行中name后面双引号里面的内容改为你本地连接的名字，一般在中文版文版的系统里为&quot;本地连接&quot;，在英文版的系统里为&quot;Local Area Connection&quot;（默认为这个），双引号为英文半角。<br />２.将IP地址与DNS地址改为静态地址（StaticIP.cmd）：<br />　　将第二、三行中name后面双引号里面的内容改为你本地连接的名字，一般在中文版文版的系统里为&quot;本地连接&quot;，在英文版的系统里为&quot;Local Area Connection&quot;（默认为这个），双引号为英文半角。第二行的addr,mask,gateway为你要修改的IP地址、子网掩码、网关，第三行addr后面的IP地址为你要修改的DNS地址。<br />３.选中IE &rdquo;Internet选项=&gt;连接=&gt;局域网设置=&gt;使用自动配置脚本&ldquo;选项，将C:\&#8230;那些内容改为你自己的脚本路径（EnableProxy.cmd）。<br />４.取消上面的选项（DisProxy.cmd）。</p>
<p>下载：　　<a target="_blank" href="http://cid-ade735cf80ea4224.skydrive.live.com/browse.aspx/Tricks">Scripts Download</a></p>
<p>有问题可留言或邮件至：<a href="mailto:DarkThorn@163.com">DarkThorn@163.com</a><br />　　　　<a title="" target="_blank" href="http://blog.donews.com/6lines"></a><br />　　　　<a href="http://blog.donews.com/6lines">http://blog.donews.com/6lines</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/6lines/1498242/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[原创]工行网银控件+IE7+Ｕ盾驱动 —— 去除IE“当前安全设置会使计算机有风险”的安全提示</title>
		<link>http://blog.donews.com/6lines/1490630</link>
		<comments>http://blog.donews.com/6lines/1490630#comments</comments>
		<pubDate>Mon, 27 Apr 2009 13:49:00 +0000</pubDate>
		<dc:creator>orez</dc:creator>
				<category><![CDATA[0.7 ::> 杂项]]></category>
		<category><![CDATA[ICBC]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[工行]]></category>

		<guid isPermaLink="false">http://blog.donews.com/6lines/archive/2009/04/27/1490630.aspx</guid>
		<description><![CDATA[<p>注意：<br />　　如果你是第一次登录网银，可能还会要下载一个证书，下载证书的过程在本文中并未涉及。<br />　　下文中[]内的内容为本人根据英文选项直译，可能会和实际有一点出入。</p>
<p>１.网上银行控件+IE7<br />　　登录工行个人版网上银行是要求先安装一个安全登录控件的，如果IE的版本是7.0或是更高安装完以后每打开一个页面在工具栏下面都会有一个&#34;Your current security settings put your computer at risk[当前安全设置会使计算机有风险]&#34;的安全提示。当然还有一种情况是安装完那个控件以后IE7的设置没有被改过来（所以没有那个提示），那么登录到网银以后会有一个ActiveX控件的提示，当你点那个允许选项的时候网银会自动退出。如果是这种情况，需要自己动手更改：Internet Options [Internet选项]-&#62; Security [安全] -&#62; Custom Level [自定义级别] 中将&#34;Download signed ActiveX controls(</p>]]></description>
			<content:encoded><![CDATA[<p>注意：<br />　　如果你是第一次登录网银，可能还会要下载一个证书，下载证书的过程在本文中并未涉及。<br />　　下文中[]内的内容为本人根据英文选项直译，可能会和实际有一点出入。</p>
<p>１.网上银行控件+IE7<br />　　登录工行个人版网上银行是要求先安装一个安全登录控件的，如果IE的版本是7.0或是更高安装完以后每打开一个页面在工具栏下面都会有一个&quot;Your current security settings put your computer at risk[当前安全设置会使计算机有风险]&quot;的安全提示。当然还有一种情况是安装完那个控件以后IE7的设置没有被改过来（所以没有那个提示），那么登录到网银以后会有一个ActiveX控件的提示，当你点那个允许选项的时候网银会自动退出。如果是这种情况，需要自己动手更改：Internet Options [Internet选项]-&gt; Security [安全] -&gt; Custom Level [自定义级别] 中将&quot;Download signed ActiveX controls(not secure)[下载标识为安全的ActiveX控件]&quot;选为&quot;Enable(not secure)[启用]&quot;，改过这个以后网银是可以正常使用了（如果还是不行请适当放宽IE关于ActiveX的设置），当然那个安全提示也就出来了。<br />　　但是怎么去掉那个烦人的安全提示呢？在网上搜一下有一种更改组策略的方法（运行 -&gt; gpedit.msc -&gt; Computer Configuration[计算机配置] -&gt; Administrative Templates[管理模块] -&gt; Windows Components[Windows组件] -&gt; Internet Explorer，在右边的窗口中找到&quot;Turn off security settings check[关闭安全设置检查功能]&quot;策略项，双击此项打开属性对话框，在&quot;Settings[设置]&quot;选项中选择 &quot;Enable[启用]&quot;项），记得第一次用网银的时候用这种方法是可以的，可是这次公司的ghost系统里面根本就找不到那个项，没办法，只好找到组策略相应的键值更改注册表了（关闭IE）：<br />　　a.开始 -&gt; 运行 -&gt; regedit<br />　　b.到HKLM\Software\Policies\Microsoft\Internet Explorer\Security键下，如果这些键不存在，自己新建，在新建过程中注意大小写。<br />　　c.在上面的键下面新建一个双字（DWORD）型值项（Value Entry）：DisableSecuritySettingsCheck，赋于键值：&quot;1&quot;（无引号）。同样，在新建值项的时候注意大小写。<br />　　打开IE后看看，是不是那个安全提示已经被去掉了？</p>
<p>２.Ｕ盾驱动<br />　　刚开始安装Ｕ盾的驱动程序就提示：对不起，本软件不支持你的操作系统。由于公司的操作系统都是英文版XP SP3，所以我以为是语言问题。于是在控制面版里的区域与语言选项里面将能改的选项都改为Chinese(PRC),然后重启，结果还是那个提示。难道是繁体中文不成？没关系，再试！更改选项，重启&#8230;又是那个提示。真搞不懂，icbc把软件不做成英文，不做成中文，难道还做成法文不成？应当不可能吧。看来只有霸王硬碰硬了，跳过那个setup的包装程序，直接到光盘里找驱动安装程序。打开光盘personal文件夹，除了那个setup.exe文件之外，还有两个可执行程序：SafeSign_ICBC_per.exe和Setup_per.exe，分别运行之&#8230; 看那个程序安装过程中的提示居然一个是SafeSign 2.0 for ICBC per，另一个是SafeSign 2.3 for ICBC per&#8230; 晕呢&#8230; 先不管，都装了再说（先2.0后2.3）&#8230; 打开网银插入Ｕ盾转账测试&#8230; 仍然提示没有Ｕ盾&#8230; 我的上帝耶稣马克思以及莎士比亚啊，装个这么个小软件你们都要玩死我啊&#8230;<br />　　没办法，知之为知之，不知google之&#8230; 网上有人说是那个光盘软件版本太老，应当在icbc网上下载驱动。暂且先试试吧，在网上点个人网银登录后弹出的那个页面中找到相应的驱动，下载安装&#8230;进入网银以后&#8230;提示找不到Ｕ盾~~~看来驱动还是没有被正确安装。<br />　　没办法，看来网上下的那个驱动也是有点问题的。突然想想光盘里面也有一个2.3版本的驱动，是不是网上下的那个少点东西？把刚才安装的驱动、控件全部卸载，重启。然后安装登录控件，再安装从网上下载的那个驱动，然后再到光盘目录下面安装那个Setup_per.exe（修复）&#8230; 登录，转账&#8230; 哈，居然成功了？<br />　　后来看了一下，从网上下载的那个驱动原本光盘里面的那个Setup_per.exe大小版本也都是一样的，理论上来说不应该安装两次的。猜想是不是先前单独安装光盘里面的程序对网上下载的驱动有影响？那么是不是刚一开始就安装网上的控件和驱动就可以了？如果有人一开始只下载网上的驱动就成功的麻烦留个言交流一下。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/6lines/1490630/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>中石油的决策层是畜生还是蠢猪？</title>
		<link>http://blog.donews.com/6lines/1486104</link>
		<comments>http://blog.donews.com/6lines/1486104#comments</comments>
		<pubDate>Wed, 15 Apr 2009 15:15:00 +0000</pubDate>
		<dc:creator>orez</dc:creator>
				<category><![CDATA[0.1 ::> 我本向善]]></category>
		<category><![CDATA[中石油]]></category>

		<guid isPermaLink="false">http://blog.donews.com/6lines/archive/2009/04/15/1486104.aspx</guid>
		<description><![CDATA[<p>　　Just for fun... Donnot buy it !<br />　　去年中石油的股票一起一落，害的无数冤大头欲哭无泪，且不分析里面具体过程，只来看看那么一大笔钱最终到了哪？<br />　　假设这笔钱的去向有两个：中石油和某一部分外国人（没人会认为股民赚到这笔钱了吧？）...<br />　　先说两个极端：<br />　　如果这部分钱全被中石油拿走了，那么中石油实在是太畜牲了，垄断了国家的资源来赚大家的钱不说，还要在股市摆大家一刀。<br />　　如果这部分钱全被外国人拿走了（或者中石油还倒贴钱在里面？有这个可能吧...），那么...中石油决策层...也太蠢了吧...<br />　　不管怎么在这两个极端里面取平均，中石油决策层也只能是这两个其中之一...　最好的结果莫过于中石油赚一半，外国人赚一半。那么中石油决策层...就是...半个畜牲半个蠢猪...</p>
<p><br /></p>]]></description>
			<content:encoded><![CDATA[<p>　　Just for fun&#8230; Donnot buy it !<br />　　去年中石油的股票一起一落，害的无数冤大头欲哭无泪，且不分析里面具体过程，只来看看那么一大笔钱最终到了哪？<br />　　假设这笔钱的去向有两个：中石油和某一部分外国人（没人会认为股民赚到这笔钱了吧？）&#8230;<br />　　先说两个极端：<br />　　如果这部分钱全被中石油拿走了，那么中石油实在是太畜牲了，垄断了国家的资源来赚大家的钱不说，还要在股市摆大家一刀。<br />　　如果这部分钱全被外国人拿走了（或者中石油还倒贴钱在里面？有这个可能吧&#8230;），那么&#8230;中石油决策层&#8230;也太蠢了吧&#8230;<br />　　不管怎么在这两个极端里面取平均，中石油决策层也只能是这两个其中之一&#8230;　最好的结果莫过于中石油赚一半，外国人赚一半。那么中石油决策层&#8230;就是&#8230;半个畜牲半个蠢猪&#8230;</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/6lines/1486104/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>临江仙（梦后楼台高锁）- 晏几道</title>
		<link>http://blog.donews.com/6lines/1460061</link>
		<comments>http://blog.donews.com/6lines/1460061#comments</comments>
		<pubDate>Fri, 16 Jan 2009 02:53:00 +0000</pubDate>
		<dc:creator>orez</dc:creator>
				<category><![CDATA[0.8 ::> 古文/杂文]]></category>
		<category><![CDATA[词]]></category>

		<guid isPermaLink="false">http://blog.donews.com/6lines/archive/2009/01/16/1460061.aspx</guid>
		<description><![CDATA[<p>梦后楼台高锁，酒醒帘幕低垂。<br />去年春恨却来时，落花人独立，微雨燕双飞。</p>
<p>记得小苹初见，两重心字罗衣。<br />琵琶弦上说相思，当时明月在，曾照彩云归。</p>
<p><br />【注释】：<br />　　①春恨：春日离别的情思。却来：又来。<br />　　②小苹：是晏几道朋友家歌女的名字。<br />　　③彩云：这里指小苹。</p>
<p>&#160;</p>]]></description>
			<content:encoded><![CDATA[<p>梦后楼台高锁，酒醒帘幕低垂。<br />去年春恨却来时，落花人独立，微雨燕双飞。</p>
<p>记得小苹初见，两重心字罗衣。<br />琵琶弦上说相思，当时明月在，曾照彩云归。</p>
<p>【注释】：<br />　　①春恨：春日离别的情思。却来：又来。<br />　　②小苹：是晏几道朋友家歌女的名字。<br />　　③彩云：这里指小苹。</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/6lines/1460061/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.321 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-11 12:53:19 -->
<!-- Compression = gzip -->
