<?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>嘉佑中文博客 &#187; Fedora</title>
	<atom:link href="http://pengjiayou.com/blog/tag/fedora-notes/feed" rel="self" type="application/rss+xml" />
	<link>http://pengjiayou.com</link>
	<description>彭嘉佑的个人博客，分享自己感兴趣的东西。</description>
	<lastBuildDate>Sat, 19 May 2012 20:23:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Fedora Update 服务已恢复，Fedora 8&amp;9已可以升级</title>
		<link>http://pengjiayou.com/blog/fedora-update-service-has-been-restored-fedora-8-9-can-now-be-upgraded</link>
		<comments>http://pengjiayou.com/blog/fedora-update-service-has-been-restored-fedora-8-9-can-now-be-upgraded#comments</comments>
		<pubDate>Fri, 12 Sep 2008 01:05:25 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=1150</guid>
		<description><![CDATA[继昨天看到通过下载fedora-release-9-5.transition.noarch.rpm包，然后用rpm -Uvh命令安装好，系统会自动导入最新的gpg，然后就可以升级系统软件和安装系统补丁包了。 昨天晚上回家试了一下，发现安装好这个 rpm 包之后，系统自带的 PackageKit 的确提示有几十个更新需要升级，而且用 yum -y update 命令之后，的确可以看到升级包了，但是到最后一步的时候，我隐约记得，好像说 yum 和 xin-lib 的版本太低，而终止了升级过程。不过在 PackageKit 图形界面下仍然可以升级，我想，如果用 PackageKit 更新所有系统文件之后，应该就可以用命令升级。 可以确定的是，上次受入侵的Fedora更新服务器目前已经恢复，尽管这次入侵导致的具体损害报告还没有放出，为了安全期间， Fedora 社区更改了用于签名的公钥，所以本次更新的过程略有不同： 首先，在终端中输入 su -c &#8216;yum update&#8217;，或者使用 PackageKit-gnome 。等待软件仓库列表下载完毕后会提醒有一个名为 fedora-release 的包需要更新，请确定并安装更新。 之后，再次运行 su -c &#8216;yum update&#8217;，会发现多了一个软件仓库地址 updates-newkey。 依据系统中已安装的软件包数量，会提示有大量的软件包需要更新，此时请确认此更新。 在更新的软件包下载完毕后，会提醒有一个新的 GPG Key 需要导入，此时确认即可开始安装刚下载的更新了。 注意此过程仅对 Fedora 8 和 Fedora 9 的这两个版本有效，对生命周期已经结束的 Fedora 7 及更早的版本将不会重新签名。很快将会有一个更新包负责删除系统中已经废弃不用的 GPG Key 和软件仓库信息。 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="Fedora" src="http://dodoinc.files.wordpress.com/2008/06/fedora1.jpg" alt="" width="136" height="118" /></p>
<p>继昨天<a href="http://roclinux.cn/?p=115" target="_blank">看到</a>通过下载<a href="http://kojipkgs.fedoraproject.org/packages/fedora-release/9/5.transition/data/signed/4f2a6fd2/noarch/fedora-release-9-5.transition.noarch.rpm">fedora-release-9-5.transition.noarch.rpm</a>包，然后用rpm -Uvh命令安装好，系统会自动导入最新的gpg，然后就可以升级系统软件和安装系统补丁包了。</p>
<p>昨天晚上回家试了一下，发现安装好这个 rpm 包之后，系统自带的 PackageKit 的确提示有几十个更新需要升级，而且用 yum -y update 命令之后，的确可以看到升级包了，但是到最后一步的时候，我隐约记得，好像说 yum 和 xin-lib 的版本太低，而终止了升级过程。不过在 PackageKit 图形界面下仍然可以升级，我想，如果用 PackageKit 更新所有系统文件之后，应该就可以用命令升级。</p>
<p><span id="more-1150"></span></p>
<p>可以确定的是，上次受入侵的Fedora更新服务器目前<a title="Fedora 更新服务器已恢复" href="http://www.linuxeden.com/plus/view.php?aid=61207" target="_blank">已经恢复</a>，<span id="zoom" class="a14c">尽管这次入侵导致的具体损害报告还没有放出，为了安全期间， Fedora 社区更改了用于签名的公钥，所以本次更新的过程略有不同：</span></p>
<ul>
<li>首先，在终端中输入 su -c &#8216;yum update&#8217;，或者使用 PackageKit-gnome 。等待软件仓库列表下载完毕后会提醒有一个名为 fedora-release 的包需要更新，请确定并安装更新。</li>
<li>之后，再次运行 su -c &#8216;yum update&#8217;，会发现多了一个软件仓库地址 updates-newkey。 依据系统中已安装的软件包数量，会提示有大量的软件包需要更新，此时请确认此更新。</li>
<li>在更新的软件包下载完毕后，会提醒有一个新的 GPG Key 需要导入，此时确认即可开始安装刚下载的更新了。</li>
</ul>
<p>注意此过程仅对 Fedora 8 和 Fedora 9 的这两个版本有效，对生命周期已经结束的 Fedora 7 及更早的版本将不会重新签名。很快将会有一个更新包负责删除系统中已经废弃不用的 GPG Key 和软件仓库信息。</p>
<p>详见 Fedoraforum.org 的<a href="http://forums.fedoraforum.org/showthread.php?t=198892" target="_blank">公告</a></p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/09/12 |
<a href="http://pengjiayou.com/blog/fedora-update-service-has-been-restored-fedora-8-9-can-now-be-upgraded#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/fedora-update-service-has-been-restored-fedora-8-9-can-now-be-upgraded&title=Fedora Update 服务已恢复，Fedora 8&#038;9已可以升级">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/fedora-update-service-has-been-restored-fedora-8-9-can-now-be-upgraded">http://pengjiayou.com/blog/fedora-update-service-has-been-restored-fedora-8-9-can-now-be-upgraded</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/fedora-notes" rel="tag">Fedora</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/fedora-update-service-has-been-restored-fedora-8-9-can-now-be-upgraded/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>终于可以升级 Fedora 9 了</title>
		<link>http://pengjiayou.com/blog/can-finally-upgrade-the-fedora-9</link>
		<comments>http://pengjiayou.com/blog/can-finally-upgrade-the-fedora-9#comments</comments>
		<pubDate>Thu, 11 Sep 2008 03:33:53 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=1137</guid>
		<description><![CDATA[最近一个月以来，喜欢晚上下班之后去网吧下载 PPlive 或者是 PPstream 看电影，很多经典的功夫片，成龙的、李连杰的、甄子丹的基本上我全看过了，当然也不是每天晚上都去，有时候在家上上网，看看网页，听听歌，我家里的笔记本全盘安装了 Fedora 9 ，由于在外面混很不方便，上网用的是移动的无线宽带，那网速，浏览一下网页证明我足够有耐心了，根本看不了视频。 接连有两个星期，我发现我的 Fedora 9 根本就没有更新包，用yum -y upgrade命令，根本找不到任何更新包，我还怀疑Fedora全力以赴开发Fedora 10去了，刚才才发现原来Fedora 9的服务器被入侵，虽然之后官方发表申明表示并没有对服务器造成任何影响，但是这次入侵事件导致Fedora的更新服务器一个月以来一直没有更新，很多软件和补丁包不能及时得到升级。 不过这一情况已经得到解决，从现在起只要你下载fedora-release-9-5.transition.noarch.rpm包，然后用rpm -Uvh命令安装好，系统会自动导入最新的gpg，然后就可以升级系统软件和安装系统补丁包了。via © 嘉佑 for 嘉佑中文博客 on 2008/09/11 &#124; No comment &#124; Add to del.icio.us Permalink: http://pengjiayou.com/blog/can-finally-upgrade-the-fedora-9 Post tags: Fedora]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="Fedora 9" src="http://dodoinc.files.wordpress.com/2008/06/fedora1.jpg" alt="" width="136" height="118" /></p>
<p>最近一个月以来，喜欢晚上下班之后<a title="胡言乱语" href="http://m.pengjiayou.com/2008/09/167/" target="_blank">去网吧</a>下载 <a title="PPlive" href="http://www.pplive.com" target="_blank">PPlive</a> 或者是 <a title="PPstream" href="http://www.pps.tv" target="_blank">PPstream</a> 看<a title="电影 胡言乱语" href="http://m.pengjiayou.com/tag/%E7%94%B5%E5%BD%B1/" target="_blank">电影</a>，很多经典的功夫片，成龙的、李连杰的、甄子丹的基本上我全看过了，当然也不是每天晚上都去，有时候在家上上网，看看网页，听听歌，我家里的笔记本全盘安装了 Fedora 9 ，由于在外面混很不方便，上网用的是移动的无线宽带，那网速，浏览一下网页证明我足够有耐心了，根本看不了视频。</p>
<p><span id="more-1137"></span></p>
<p>接连有两个星期，我发现我的 Fedora 9 根本就没有更新包，用yum -y upgrade命令，根本找不到任何更新包，我还怀疑Fedora全力以赴开发Fedora 10去了，刚才才<a title="Fedora 9终于可以更新了" href="http://roclinux.cn/?p=115" target="_blank">发现</a>原来Fedora 9的服务器被<a title="Fedora 服务器被入侵" href="http://www.linuxeden.com/html/news/20080823/60655.html" target="_blank">入侵</a>，虽然之后官方发表申明表示并没有对服务器造成任何影响，但是这次入侵事件导致Fedora的更新服务器一个月以来一直没有更新，很多软件和补丁包不能及时得到升级。</p>
<p>不过这一情况已经得到解决，从现在起只要你下载<a href="http://kojipkgs.fedoraproject.org/packages/fedora-release/9/5.transition/data/signed/4f2a6fd2/noarch/fedora-release-9-5.transition.noarch.rpm">fedora-release-9-5.transition.noarch.rpm</a>包，然后用rpm -Uvh命令安装好，系统会自动导入最新的gpg，然后就可以升级系统软件和安装系统补丁包了。<a href="http://roclinux.cn/?p=115" target="_blank">via</a></p>
<p><img class="alignnone" title="Fedora 9 恢复升级" src="http://roclinux.cn/wp-content/uploads/2008/09/fedora-updates-recovery-300x161.jpg" alt="" width="300" height="161" /></p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/09/11 |
<a href="http://pengjiayou.com/blog/can-finally-upgrade-the-fedora-9#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/can-finally-upgrade-the-fedora-9&title=终于可以升级 Fedora 9 了">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/can-finally-upgrade-the-fedora-9">http://pengjiayou.com/blog/can-finally-upgrade-the-fedora-9</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/fedora-notes" rel="tag">Fedora</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/can-finally-upgrade-the-fedora-9/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 9升级后又出现问题</title>
		<link>http://pengjiayou.com/blog/fedora-9-after-the-escalation-of-problems</link>
		<comments>http://pengjiayou.com/blog/fedora-9-after-the-escalation-of-problems#comments</comments>
		<pubDate>Wed, 30 Jul 2008 13:42:12 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Compiz]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=671</guid>
		<description><![CDATA[前天晚上又提示很多软件需要升级，就升级了一下系统，记得几个 xor＊的文件我也升级了，不过昨天晚上再打开笔记本的时候发现系统又出了点问题：桌面虽然还能进去，但是进来之后任务栏就显示有两个“未命名窗口”，不能打开也不能关闭掉，任何新打开的程序都没有标题栏，鼠标也拖不动。 我虽然也更新了内核，但仍然使用的是 2.6.25-14.fc9.i686 这个版本的内核，而且只记得只更新了两个 xorg 打头的文件，由于我刚用Linux不长时间，所以很多问题不能自己解决，起初还想到恢复那两个 xorg 的文件来解决呢，通过 PackageKit （系统／管理／Add/Remove Software）发现很多xorg的文件，我试着删除最新的 xorg 的文件，却发现删除不掉，因此也不能安装旧的稳定版本的那个 xorg 文件，还试着重装过 Nautilus ，好傻，和 Nautilus 这个文件管理器有什么关系呢？折腾了很长时间也没有解决问题冏 没办法，只好发帖求助，有人很快报告说是由于 compiz 引起的，于是立即在 系统／首选项／桌面特效 取消了桌面特效，果然是 compiz 的问题，现在是正常了，但是没有桌面 3D 特效，用着总感觉不舒服。 今天晚上回来，重装了一下 nvidia 驱动，我用的是 2.6.25-14.fc9.i686 内核和 NVIDIA-Linux-x86-173.14.09-pkg1.run 显卡驱动，之后又用 nvidia-xconfig-1.0.tar.gz 对 Xorg 配置了一下，之后重启桌面特效，现在似乎正常多了，不过Firefox刚刚启动的时候有有点花屏，而且 compiz 又要配置一番，真是划不来，我发现Fedora 9本来就是一个不很稳定的操作系统，好好的用着就别升级，升级也是有风险的，虽然能解决问题，但是要浪费不少时间。 还有升级的时候发现，avidemux-2.4.3-15.fc9 这个软件并不能正常升级。有如下的错误。 还希望高手能帮我看看是什么问题呢？不过我现在也不太需要使用 avidemux ，能不能升级到最新版本无所谓。 © 嘉佑 for 嘉佑中文博客 on 2008/07/30 &#124; [...]]]></description>
			<content:encoded><![CDATA[<p>前天晚上又提示很多软件需要升级，就升级了一下系统，记得几个 xor＊的文件我也升级了，不过昨天晚上再打开笔记本的时候发现系统又出了点问题：桌面虽然还能进去，但是进来之后任务栏就显示有两个“未命名窗口”，不能打开也不能关闭掉，任何新打开的程序都没有标题栏，鼠标也拖不动。</p>
<p>我虽然也更新了内核，但仍然使用的是 2.6.25-14.fc9.i686 这个版本的内核，而且只记得只更新了两个 xorg 打头的文件，由于我刚用Linux不长时间，所以很多问题不能自己解决，起初还想到恢复那两个 xorg 的文件来解决呢，通过 PackageKit （系统／管理／Add/Remove Software）发现很多xorg的文件，我试着删除最新的 xorg 的文件，却发现删除不掉，因此也不能安装旧的稳定版本的那个 xorg 文件，还试着重装过 Nautilus ，好傻，和 Nautilus 这个文件管理器有什么关系呢？折腾了很长时间也没有解决问题冏</p>
<p><span id="more-671"></span></p>
<p><a href="http://picasaweb.google.com/linux.usrs/VJeKDC/photo#5228795549426357826"><img src="http://lh5.ggpht.com/linux.usrs/SJBp2U6zlkI/AAAAAAAAAkI/wS5sSfUrQhM/s400/Screenshot-14.png"  width="400" height="250"/></a></p>
<p><a href="http://picasaweb.google.com/linux.usrs/VJeKDC/photo#5228795554795902018"><img src="http://lh3.ggpht.com/linux.usrs/SJBp2o7AVEI/AAAAAAAAAkQ/T6zcn31F_i4/s400/Screenshot-15.png"  width="400" height="250"/></a></p>
<p>没办法，<a href="http://www.linuxsir.org/bbs/thread334233.html">只好发帖求助</a>，有人很快报告说是由于 compiz 引起的，于是立即在 系统／首选项／桌面特效 取消了桌面特效，果然是 compiz 的问题，现在是正常了，但是没有桌面 3D 特效，用着总感觉不舒服。</p>
<p>今天晚上回来，重装了一下 nvidia 驱动，我用的是 2.6.25-14.fc9.i686 内核和 NVIDIA-Linux-x86-173.14.09-pkg1.run 显卡驱动，之后又用 nvidia-xconfig-1.0.tar.gz 对 Xorg 配置了一下，之后重启桌面特效，现在似乎正常多了，不过Firefox刚刚启动的时候有有点花屏，而且 compiz 又要配置一番，真是划不来，<strong>我发现Fedora 9本来就是一个不很稳定的操作系统，好好的用着就别升级，升级也是有风险的，</strong>虽然能解决问题，但是要浪费不少时间。</p>
<p>还有升级的时候发现，avidemux-2.4.3-15.fc9 这个软件并不能正常升级。有如下的错误。</p>
<p><a href="http://picasaweb.google.com/linux.usrs/VJeKDC/photo#5228795553728679154"><img src="http://lh6.ggpht.com/linux.usrs/SJBp2k8jzPI/AAAAAAAAAkY/7IeT08SXFu0/s400/Screenshot-Update%20System.png"  width="400" height="237"/></a></p>
<p>还希望高手能帮我看看是什么问题呢？不过我现在也不太需要使用 avidemux ，能不能升级到最新版本无所谓。</p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/07/30 |
<a href="http://pengjiayou.com/blog/fedora-9-after-the-escalation-of-problems#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/fedora-9-after-the-escalation-of-problems&title=Fedora 9升级后又出现问题">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/fedora-9-after-the-escalation-of-problems">http://pengjiayou.com/blog/fedora-9-after-the-escalation-of-problems</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/compiz" rel="tag">Compiz</a>, <a href="http://pengjiayou.com/blog/tag/fedora-notes" rel="tag">Fedora</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/fedora-9-after-the-escalation-of-problems/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetworkManager: Secret weapon for the Linux road warrior</title>
		<link>http://pengjiayou.com/blog/networkmanager-secret-weapon-for-the-linux-road-warrior</link>
		<comments>http://pengjiayou.com/blog/networkmanager-secret-weapon-for-the-linux-road-warrior#comments</comments>
		<pubDate>Wed, 23 Jul 2008 00:37:12 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Network Manager]]></category>
		<category><![CDATA[无线]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=607</guid>
		<description><![CDATA[For years I have envied how easy my Windows- and Mac-based peers had it when traveling with their laptops. They connect to hotspots with ease, get online while I was still logging into root and running some tools. It just wasn’t fair. I wanted an integrated easy-to-use tool that did not require bringing up a [...]]]></description>
			<content:encoded><![CDATA[<p>For years I have envied how easy my Windows- and Mac-based peers had it when traveling with their laptops. They connect to hotspots with ease, get online while I was still logging into root and running some tools. It just wasn’t fair. I wanted an integrated easy-to-use tool that did not require bringing up a shell or logging into root.</p>
<p>I now have that tool in NetworkManager. In this article I will explain what NetworkManager is, what capabilities exist in the tool (in both Fedora and Red Hat Enterprise Linux), and what you can do to extend it to give you more control over your system than before.</p>
<p><span id="more-607"></span></p>
<p><strong>What is NetworkManager?</strong></p>
<p>NetworkManager is a software utility that allows a desktop user to manage wired, wireless, modem, WWAN/3G, and VPN network connectivity from a single source. It does not require root access or manual editing of configuration files.</p>
<p>NetworkManager started as a Gnome project and initially appeared in Fedora. It is now supported on multiple desktop environments (Gnome, KDE, Xfce, etc.) and in multiple distributions (Fedora, SuSE, Ubuntu, Gentoo, Debian, etc.). NetworkManager uses dbus and hal to provide network status updates to other desktop applications, allowing them to alter their operation based on this information. For instance, if NetworkManager shows the network is offline, then apps like Evolution and Pidgin will put themselves into offline mode andwait for the network to come online.<br />
How is the NetworkManager software deployed on the system?</p>
<p>NetworkManager is deployed in two parts. The first part is the NetworkManager daemon, which is found in the package NetworkManager. This daemon should be set to start while the system is booting. This can be accomplished by entering the following command as root:</p>
<p># /sbin/chkconfig NetworkManager on</p>
<p>You can also start NetworkManager manually by entering the following command as root:</p>
<p># /sbin/service NetworkManager start</p>
<p>The second part is the user client, which normally takes the form of an applet. This applet (nm-applet) can be found in the NetworkManager-gnome package, and should be part of the basic Gnome desktop installation. You will not need to add this applet to your desktop. Gnome will add the nm-applet control to the Notification Area applet when the NetworkManager daemon is active.</p>
<p><strong>How does NetworkManager work?</strong></p>
<p>For the user, most everything will be done via the NetworkManager applet. Exactly what needs to be done depends on the type of networking the user needs to activate.</p>
<p><em><strong>Wired network</strong></em></p>
<p>If the system the user is logged into is on a wired network (Ethernet), the user does not need to do anything. NetworkManager will look for the link on the network port. When the link is active, it will bring up the interface and then ask for network information via DHCP.</p>
<p><em><strong>Wireless Network</strong></em></p>
<p>If the user is trying to connect via wireless, NetworkManager is especially helpful. As long as the wireless device is active, NetworkManager will scan for available networks and will attempt to connect to the last network you connected to that it can see. If the network it is trying to connect to is a secure network (using WEP, WPA, WPA2, or LEAP) it will request the appropriate security information. Once the information is entered, NetworkManager will try to store this information into the GNOME keyring manager.</p>
<p>To connect to a different network than the one that NetworkManager chooses, simply click on the applet and choose a different wireless network.</p>
<p><strong>WWAN network (3G/EVDO/HSDPA/RTTx1/EDGE)</strong></p>
<p>With the release of NetworkManager 0.70, users can now choose WWAN networking. Most of these cards require activation in Windows, but NetworkManager can handle the auto-configuration some cards need for use under Linux. Other cards may still require some minimal account information to activate and use.</p>
<p><em></em>If the card is plugged in when NetworkManager starts, it will be autodetected and an attempt to auto-configure the card will be made when you request a connection to the network. If auto-configuration is successful, the user can then just select the card in the applet menu and connect.</p>
<p><img class="alignnone" title="Network Manager" src="http://farm4.static.flickr.com/3272/2693123353_311e143803_o.png" alt="" width="398" height="430" /></p>
<p><strong>VPN connectivity</strong><br />
Once a successful network connection has been made, the user can also use NetworkManager to activate a VPN connection. Currently, there are modules providing support for OpenVPN and Cisco (via vpnc) VPN connectivity.</p>
<p>The VPN connection will be configured, activated, and deactivated via the applet. Username, password, group passwords, and other information can be stored in the GNOME keyring manager, or the user can choose to be prompted to enter some—or all—of the information at each login.</p>
<p><img class="alignnone" title="Network Manager" src="http://farm4.static.flickr.com/3151/2693937432_99df6a5ed0_o.png" alt="" width="398" height="301" /></p>
<p><strong>What else can NetworkManager do?</strong></p>
<p>Beside managing your network connectivity, NetworkManager has another key feature. NetworkManager can run scripts when there is a network state change on any interface, using the network interface and the up/down state as variables. In prior releases, this functionality was provided by a separate daemon called NetworkManagerDispatcher. As of NetworkManager 0.70 in Fedora 9, this functionality is now integrated into NetworkManager itself.</p>
<p>In Bash scripts written for NetworkManager, the variable $1 equals the interface whose state has changed and triggered the script. Variable $2 equals the state of the interface (up or down). No other variables are needed.</p>
<p>Let’s take a look at one of the scripts that is included with Fedora 9:</p>
<p># cat /etc/NetworkManager/dispatcher.d/05-netfs</p>
<p>#!/bin/sh</p>
<p>export LC_ALL=C</p>
<p>if [ "$2" = "down" ]; then<br />
/sbin/ip route ls | grep -q ^default || {<br />
[ -f /var/lock/subsys/netfs ] &amp;&amp; /etc/rc.d/init.d/netfs stop<br />
}<br />
fi</p>
<p>if [ "$2" = "up" ]; then<br />
/sbin/ip -o route show dev &#8220;$1&#8243; | grep -q &#8216;^default&#8217; &amp;&amp; {<br />
/sbin/chkconfig netfs &amp;&amp; /etc/rc.d/init.d/netfs start<br />
}<br />
fi</p>
<p>When an interface comes up and adds itself as the default route, the script starts the netfs service. This script also stops the netfs service when an interface goes down and no default route remains. Effectively, this will mount your NFS and CIFS shares when you have access to the network, and will unmount those same shares when the network goes down. Using this script as an example, you can easily write your own scripts to run various commands as the network state changes.</p>
<p><strong>How can I best use NetworkManager in the field?</strong></p>
<p>Now that you have a good idea of how NetworkManager works and what it can do, let’s talk about how to best use NetworkManager in the field. Now that you have NetworkManager managing your network connectivity, make sure your network interfaces are not trying to start on boot. Nothing is more annoying than having your laptop tell you that your wired network is not available when you are sitting on a plane. If you are using NetworkManager 0.70 (currently in Fedora 9), you should also disable the network service itself, as it may conflict with NetworkManager.</p>
<p>You can go further, writing NetworkManager scripts to activate various services only when they are needed. Many of the init scripts in Linux make the assumption that your system is a server or a workstation with continuous access to the network. Things like ntp, cups, sshd, even rhnsd do not need to be running while you have no network connectivity. These services can be disabled, set to run only when NetworkManager starts them via a custom script on a network state change.</p>
<p>Using the previously posted script as a guide, a script to manage sshd might look like this:</p>
<p># cat /etc/NetworkManager/dispatcher.d/10-sshd</p>
<p>#!/bin/sh<br />
#<br />
# Start and stop sshd based on network availability using NetworkManager<br />
#</p>
<p>export LC_ALL=C</p>
<p>if [ "$2" = "down" ]; then<br />
/sbin/ip route ls | grep -q ^default || {<br />
[ -f /var/lock/subsys/sshd ] &amp;&amp; /etc/rc.d/init.d/sshd stop<br />
}<br />
fi</p>
<p>if [ "$2" = "up" ]; then<br />
/sbin/ip -o route show dev &#8220;$1&#8243; | grep -q &#8216;^default&#8217; &amp;&amp; {<br />
/sbin/chkconfig sshd &amp;&amp; /etc/rc.d/init.d/sshd start<br />
}<br />
fi</p>
<p>You could substitute “rhnsd” or “cups” for “sshd”, and the script should work equally well for those tasks..</p>
<p>If you are a administrator tasked with managing Red Hat or Fedora systems of remote employees, the scripting functionality can be even more handy. You can write a script that looks for the activation of the VPN interface then sends an email letting you know the system is online. You could have the system check in with a Satellite server located within your firewall, installing updates you previously scheduled for it. The possible uses here are many.</p>
<p><strong>The student is now the master</strong></p>
<p>No longer do envy my Windows-based peers and their easy mobile connectivity. NetworkManager is constantly impressing me, adding functionality and allowing me to be more efficient on the road. This Swiss Army knife of Linux networking gives me the control I need over my connectivity whether at home, coffee house, or airport. Now that you know what NetworkManager is, how it works, and how best to use it, try it out of your own system. I trust you will find NetworkManager works as well for you as it did for me.</p>
<p>好一篇关于Fedora 9下Network Manager的文章，摘自<a title="Red Hat Magazine" href="http://www.redhatmagazine.com/2008/07/22/networkmanager-secret-weapon-for-the-linux-road-warrior/" target="_blank">Red Hat Magazine</a> ，备份一下，有空研究研究，正好我使用中国移动的GSM无线宽带问题多多。</p>
<p>关于Network Manager的其他有用链接：</p>
<ul>
<li><a title="NetworkManager" href="http://www.gnome.org/projects/NetworkManager/" target="_blank">NetworkManager main project page</a></li>
<li><a title="NetworkManager in Fedora" href="http://fedoraproject.org/wiki/Tools/NetworkManager" target="_blank">NetworkManager in Fedora</a></li>
<li><a title="dbus" href="http://www.freedesktop.org/wiki/Software/dbus" target="_blank">dbus</a> and <a title="hal" href="http://www.freedesktop.org/wiki/Software/hal%3Cbr%20/%3E" target="_blank">hal</a></li>
<li><a title="KNetworkManager" href="http://en.opensuse.org/Projects/KNetworkManager" target="_blank">KNetworkManager</a></li>
</ul>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/07/23 |
<a href="http://pengjiayou.com/blog/networkmanager-secret-weapon-for-the-linux-road-warrior#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/networkmanager-secret-weapon-for-the-linux-road-warrior&title=NetworkManager: Secret weapon for the Linux road warrior">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/networkmanager-secret-weapon-for-the-linux-road-warrior">http://pengjiayou.com/blog/networkmanager-secret-weapon-for-the-linux-road-warrior</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/fedora-notes" rel="tag">Fedora</a>, <a href="http://pengjiayou.com/blog/tag/network-manager" rel="tag">Network Manager</a>, <a href="http://pengjiayou.com/blog/tag/%e6%97%a0%e7%ba%bf" rel="tag">无线</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/networkmanager-secret-weapon-for-the-linux-road-warrior/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>为什么使用Fedora 9？</title>
		<link>http://pengjiayou.com/blog/why-use-fedora-9</link>
		<comments>http://pengjiayou.com/blog/why-use-fedora-9#comments</comments>
		<pubDate>Tue, 22 Jul 2008 03:07:44 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linus]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=587</guid>
		<description><![CDATA[现在流行的Linux发行版很多，像是Ubuntu，Fedora，Gentoo，Debian，Arch等等，为什么我要安装Fedora 9作为我笔记本的桌面操作系统呢？老实说，在用Fedora 9之前，我只在 06 年在单位的电脑上安装过Windows XP + Ubuntu 6.06 的双系统，而大约在 2005 年左右，我只是在学校的网吧的电脑上安装过我买的Red Hat Linux 9.0 ，我认识网吧的网管，安装还是在他的协助下完成的。真正意义上接触并学习linux其实是在06年上班的时候安装Ubuntu 6.06开始的。我当时对linux不太了解，安装windows和Linux的双系统，不知道为什么，Windows下已出现错误，Grub就出现问题，恢复了Windows的Grub，Linux就启动不了了。非常郁闷。 在我买笔记本之后，删除了笔记本上自带的Red-flag操作系统，由于Fedora 9刚刚发布，就在网上买了光盘，立即安装了全新的Fedora 9~ 当时对Linux也了解不够多，安装Fedora 9，只是因为Fedora 9的界面比黄黄的Ubuntu 8.04（Ubuntu 8.04也是那个时候发布的）更美观。当然，它们都非常易用，完全没有几年前我安装Redhat 9的时候那种感觉。现在的Firefox也非常好，而Redhat 9显示网页那乱七八糟的样子，至今仍记忆犹新！而且主流的Linux发行版并没有本质的区别，不管是什么样的操作系统，你每天都要看着它，所以我选择了我自己喜欢的Fedora 9，因为它的界面更美观（当然Ubuntu 8.04也可以通过更换Gnome的皮肤是界面更漂亮）。Fedora 9带来了很多Linux的最新技术，当时因为我没有宽带，只能通过Fedora 9的GSM无线上网的支持来连接互联网。 其实，Linux 支付 Linus ，大家知道他用什么操作系统吗？从采访Linux之父的记录当中我知道了老大原来在用Fedora 9！他还说他一直都在用 Fedora ，看看Fedora的魅力吧。 Linus，很伟大的一个人，把这个系统贡献出来，自己没能从这个系统当中得到很多金钱，你要清楚，连美国战机也是用Linux的，它多重要我就不用说了吧。 同样，Redhat也是一个非常成功的公司，尤其是在Linux服务器领域。Fedora 9主要面向桌面系统，作为Redhat新技术的试验场，Fedora 9也带来了很多Linux顶尖技术，也因此，它非常不稳定，刚刚安装了Fedora 9，由于自己也刚刚才开始学习Linux，因此遇到很多问题，不过，每个学习Linux的人，肯定会或多或少的遇到各种各样的问题，Linux喜欢那些勇于尝试，喜欢懂脑筋，喜欢查资料，喜欢动手自己解决问题的人！ 喜欢linux，爱上Fedora 9！ © 嘉佑 for 嘉佑中文博客 on 2008/07/22 &#124; No comment &#124; [...]]]></description>
			<content:encoded><![CDATA[<p>现在流行的Linux发行版很多，像是Ubuntu，Fedora，Gentoo，Debian，Arch等等，为什么我要安装Fedora 9作为我笔记本的桌面操作系统呢？老实说，在用Fedora 9之前，我只在 06 年在单位的电脑上安装过Windows XP + Ubuntu 6.06 的双系统，而大约在 2005 年左右，我只是在学校的网吧的电脑上安装过我买的Red Hat Linux 9.0 ，我认识网吧的网管，安装还是在他的协助下完成的。真正意义上接触并学习linux其实是在06年上班的时候安装Ubuntu 6.06开始的。我当时对linux不太了解，安装windows和Linux的双系统，不知道为什么，Windows下已出现错误，Grub就出现问题，恢复了Windows的Grub，Linux就启动不了了。非常郁闷。</p>
<p>在我买笔记本之后，删除了笔记本上自带的Red-flag操作系统，由于Fedora 9刚刚发布，<a href="http://pengjiayou.com/wordpress/fedora-9-degrade-x-server-and-install-nvidia-173-08-video-card-driver-and-enable-3d-effect-how-to-part-1">就在网上买了光盘</a>，立即安装了全新的Fedora 9~</p>
<p><span id="more-587"></span></p>
<p>当时对Linux也了解不够多，安装Fedora 9，只是因为Fedora 9的界面比黄黄的Ubuntu 8.04（Ubuntu 8.04也是那个时候发布的）更美观。当然，它们都非常易用，完全没有几年前我安装Redhat 9的时候那种感觉。现在的Firefox也非常好，而Redhat 9显示网页那乱七八糟的样子，至今仍记忆犹新！而且主流的Linux发行版并没有本质的区别，不管是什么样的操作系统，你每天都要看着它，所以我选择了我自己喜欢的Fedora 9，因为它的界面更美观（当然Ubuntu 8.04也可以通过更换Gnome的皮肤是界面更漂亮）。Fedora 9带来了很多Linux的最新技术，当时因为我没有宽带，只能通过Fedora 9的GSM无线上网的支持来连接互联网。</p>
<p>其实，Linux 支付 Linus ，大家知道他用什么操作系统吗？从采访Linux之父的记录当中我知道了老大原来在用Fedora 9！他还说他一直都在用 Fedora ，看看Fedora的魅力吧。</p>
<p>Linus，很伟大的一个人，把这个系统贡献出来，自己没能从这个系统当中得到很多金钱，你要清楚，连美国战机也是用Linux的，它多重要我就不用说了吧。</p>
<p>同样，Redhat也是一个非常成功的公司，尤其是在Linux服务器领域。Fedora 9主要面向桌面系统，作为Redhat新技术的试验场，Fedora 9也带来了很多Linux顶尖技术，也因此，它非常不稳定，刚刚安装了Fedora 9，由于自己也刚刚才开始学习Linux，因此遇到很多问题，不过，每个学习Linux的人，肯定会或多或少的遇到各种各样的问题，Linux喜欢那些勇于尝试，喜欢懂脑筋，喜欢查资料，喜欢动手自己解决问题的人！</p>
<p>喜欢linux，爱上Fedora 9！</p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/07/22 |
<a href="http://pengjiayou.com/blog/why-use-fedora-9#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/why-use-fedora-9&title=为什么使用Fedora 9？">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/why-use-fedora-9">http://pengjiayou.com/blog/why-use-fedora-9</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/fedora-notes" rel="tag">Fedora</a>, <a href="http://pengjiayou.com/blog/tag/linus" rel="tag">Linus</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/why-use-fedora-9/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>终于解决了Fedora 9因为升级带来的麻烦</title>
		<link>http://pengjiayou.com/blog/finally-solved-the-fedora-9-because-of-the-escalation-of-trouble</link>
		<comments>http://pengjiayou.com/blog/finally-solved-the-fedora-9-because-of-the-escalation-of-trouble#comments</comments>
		<pubDate>Sat, 19 Jul 2008 17:19:49 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=564</guid>
		<description><![CDATA[自从装好系统，通过降级X Server的方式安装好Nvidia 173.08的驱动以来，系统一直都没有升级过，每天看着系统需要升级的对话框，和越来越多的高级版本的软件，终于在我回家来的时候住宿的宾馆忍受不住诱惑而动手升级了，我用的浙江台州移动的USB无线网卡，上网速度慢，那天晚上是宽带，比较快一点。 系统升级是好事，可以修复系统和软件的bug，但是这次把我整惨了。由于总的软件升级包有800M之多，那天晚上在宾馆也没有全部下载完，昨天晚上闲来没事，有接着升级了，升级了所有 xorg＊，可是今天晚上回来上网，是无论如何也进不了桌面了。挣扎并使劲折腾了一番，才最终解决问题。 我知道引起这个问题的原因是，173.08的驱动和最新的xorg不兼容造成的。那既然已经安装好最新的xorg了，那么解决问题的办法就是升级nvidia的驱动。于是去了网吧，带着U盘，其实我刚开始的时候也不知道具体怎么才能解决，是尝试最新的nvidia的驱动呢？还是和上次那样再降级回去呢？ 也很迷茫，在网吧看了一下上次降级的教程，发现连桌面都进不去，根本是不行的了，那么只有尝试最新的nvidia的驱动了。 去了网吧就打开了Nvidia的官方网站 Linux Display Driver Archive，下载最新的171.06.01驱动，在fedoraforums看了一些教程，发现Nidia的确已经发布了支持X server 1.5的驱动了，无需再降级到X server 1.3了，呵呵，这让我很高兴。但是人家教程里面使用的是nvidia-x11-drv-173.14.05-1.beta.fc9.i386.rpm驱动，那个链接已经失效下载不下来了，于是有搜索，看教程，终于找到了一个NVIDIA-Linux-x86-173.14.09-pkg1.run的驱动，看起来应该是非常新的，就下载到了U盘。 当时也遇到很多问题，毕竟人家写howto的时候，xorg也不是现在这个版本呢，没办法，我的内核好像也被升级过，我也没有办法，只好多下载了几个最新版本的nvidia驱动。 遇到的第二个问题就是，进不了桌面，只能是文本模式来操作我的笔记本，那么如何才能将U盘的文件复制到电脑呢？我当时也不知道，哎，问谁都不如问百度，终于找到了答案，Linux早就支持在文本模式下挂在U盘了。方法如下： 在 /mnt 目录下新建一个目录 udisk , mkdir /mnt/udisk ，然后 mount /dev/sda /mnt/udisk 就可以了。我抄了这些之后就回来了。没有想到回来，如何都mount不了U盘，我也不知道我的U盘在 /dev/sda /dev/sda1 到底在哪个里面，也不知道用什么命令来查看他们。我又是重启电脑，又是man mount的足足研究了一个小时，均没有成功。 又有想去网吧的冲动了，不过，突然将想起了我那Blackberry 1700V，哎，我的黑莓有点问题了，自带的浏览器不能上网了，不过才发现我手机上装Opera Mini了，打开Opera，还好，还能上网，于是就打开wap.baidu.com搜索，终于找到问题的答案了，原来要用这样的命令才可以。 mount -t vfat /dev/sda1 /mnt/udisk 可是我是无论如何也在 /mnt/udisk 目录下看不到任何文件，要知道我所下载所有的驱动文件都应该出现在那里呢。正在我郁闷的时候，突然看到了如下的命令： 如果你的电脑上还有SCSI/SATA硬盘或内置读卡器，则U盘上的分区就不是/dev/sda1了，可用命令 fdisk -l 来查看它到底是 sda1还是sdb1、sdc1、sdd1 这才最终解决了我的问题，这下挂在成功了，赶紧 sh NVIDIA-Linux-x86-171.06.01-pkg1.run 也忘记提示我什么了，装不上，我那个失望啊，他应该是最新的才对啊。为什么装不上呢？ 哎，本来就是抱着试了试的态度，sh NVIDIA-Linux-x86-173.14.09-pkg1.run [...]]]></description>
			<content:encoded><![CDATA[<p>自从装好系统，通过<a href="http://pengjiayou.com/wordpress/fedora-9-degrade-x-server-and-install-nvidia-173-08-video-card-driver-and-enable-3d-effect-how-to-part-2" target="_blank">降级X Server的方式安装好Nvidia 173.08的驱动</a>以来，系统一直都没有升级过，每天看着系统需要升级的对话框，和越来越多的高级版本的软件，终于在我回家来的时候住宿的宾馆忍受不住诱惑而动手升级了，我用的浙江台州移动的USB无线网卡，上网速度慢，那天晚上是宽带，比较快一点。</p>
<p>系统升级是好事，可以修复系统和软件的bug，但是这次把我整惨了。由于总的软件升级包有800M之多，那天晚上在宾馆也没有全部下载完，昨天晚上闲来没事，有接着升级了，升级了所有 xorg＊，可是今天晚上回来上网，是无论如何也进不了桌面了。挣扎并使劲折腾了一番，才最终解决问题。</p>
<p><span id="more-564"></span></p>
<p>我知道引起这个问题的原因是，173.08的驱动和最新的xorg不兼容造成的。那既然已经安装好最新的xorg了，那么解决问题的办法就是升级nvidia的驱动。于是去了网吧，带着U盘，其实我刚开始的时候也不知道具体怎么才能解决，是尝试最新的nvidia的驱动呢？还是和上次那样再降级回去呢？</p>
<p>也很迷茫，在网吧看了一下上次降级的教程，发现连桌面都进不去，根本是不行的了，那么只有尝试最新的nvidia的驱动了。</p>
<p>去了网吧就打开了Nvidia的官方网站 <a href="http://www.nvidia.com/object/linux_display_archive.html" target="_blank">Linux Display Driver Archive</a>，下载最新的171.06.01驱动，在<a title="fedoraforums" href="http://forums.fedoraforum.org" target="_blank">fedoraforums</a>看了一些教程，发现Nidia的确已经发布了<a href="http://forums.fedoraforum.org/showpost.php?p=1021008&amp;postcount=135" target="_blank">支持X server 1.5的驱动</a>了，无需再降级到X server 1.3了，呵呵，这让我很高兴。但是人家教程里面使用的是nvidia-x11-drv-173.14.05-1.beta.fc9.i386.rpm驱动，那个链接已经失效下载不下来了，于是有搜索，看教程，终于找到了一个NVIDIA-Linux-x86-173.14.09-pkg1.run的驱动，看起来应该是非常新的，就下载到了U盘。</p>
<p>当时也遇到很多问题，毕竟人家写<a href="http://forums.fedoraforum.org/showpost.php?p=1021008&amp;postcount=135" target="_blank">howto</a>的时候，xorg也不是现在这个版本呢，没办法，我的内核好像也被升级过，我也没有办法，只好多下载了几个最新版本的nvidia驱动。</p>
<p>遇到的第二个问题就是，进不了桌面，只能是文本模式来操作我的笔记本，那么如何才能将U盘的文件复制到电脑呢？我当时也不知道，哎，问谁都不如问百度，终于找到了答案，Linux早就支持在文本模式下挂在U盘了。方法如下：</p>
<p>在 /mnt 目录下新建一个目录 udisk , mkdir /mnt/udisk ，然后 mount /dev/sda /mnt/udisk 就可以了。我抄了这些之后就回来了。没有想到回来，如何都mount不了U盘，我也不知道我的U盘在 /dev/sda /dev/sda1 到底在哪个里面，也不知道用什么命令来查看他们。我又是重启电脑，又是man mount的足足研究了一个小时，均没有成功。</p>
<p>又有想去网吧的冲动了，不过，突然将想起了我那Blackberry 1700V，哎，我的黑莓有点问题了，自带的浏览器不能上网了，不过才发现我手机上装Opera Mini了，打开Opera，还好，还能上网，于是就打开wap.baidu.com搜索，终于找到问题的答案了，原来要用这样的命令才可以。</p>
<p>mount -t vfat /dev/sda1 /mnt/udisk</p>
<p>可是我是无论如何也在 /mnt/udisk  目录下看不到任何文件，要知道我所下载所有的驱动文件都应该出现在那里呢。正在我郁闷的时候，突然看到了如下的命令：</p>
<p>如果你的电脑上还有SCSI/SATA硬盘或内置读卡器，则U盘上的分区就不是/dev/sda1了，可用命令 fdisk -l 来查看它到底是 sda1还是sdb1、sdc1、sdd1 </p>
<p>这才最终解决了我的问题，这下挂在成功了，赶紧 sh NVIDIA-Linux-x86-171.06.01-pkg1.run 也忘记提示我什么了，装不上，我那个失望啊，他应该是最新的才对啊。为什么装不上呢？</p>
<p>哎，本来就是抱着试了试的态度，sh NVIDIA-Linux-x86-173.14.09-pkg1.run 这次奇迹出现了，能安装了，不过还是有个地方提示我有问题，心里咯噔一下过去了。最后还是顺利安装成功了，谢天谢地阿。</p>
<p>赶紧 umount /mnt/udisk 拔下U盘，reboot ，我的天，nvidia 的logo居然出现了，还没了Beta字样。我心里那个高兴ing</p>
<p>系统升级了就是好，发现巨蟒输入法也比较好用了，而且，屏幕也看的更清晰了，因该这个驱动比 173.08 新的缘故吧，但fusion还是能用，终于解决问题了，哎，花了我两三小时的时间阿。</p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/07/20 |
<a href="http://pengjiayou.com/blog/finally-solved-the-fedora-9-because-of-the-escalation-of-trouble#comments">5 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/finally-solved-the-fedora-9-because-of-the-escalation-of-trouble&title=终于解决了Fedora 9因为升级带来的麻烦">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/finally-solved-the-fedora-9-because-of-the-escalation-of-trouble">http://pengjiayou.com/blog/finally-solved-the-fedora-9-because-of-the-escalation-of-trouble</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/fedora-notes" rel="tag">Fedora</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/finally-solved-the-fedora-9-because-of-the-escalation-of-trouble/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fedora 9 下面使用VirtualBox-1.6.2安装Windows XP</title>
		<link>http://pengjiayou.com/blog/fedora-9-below-use-virtualbox-162-installation-of-windows-xp</link>
		<comments>http://pengjiayou.com/blog/fedora-9-below-use-virtualbox-162-installation-of-windows-xp#comments</comments>
		<pubDate>Mon, 30 Jun 2008 03:41:31 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Vitualbox]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[虚拟机]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=528</guid>
		<description><![CDATA[一、vbox安装 1、到virtualBox官方主页http://www.virtualbox.org下载Virtu&#8230;ra9-1.i586.rpm 进行安装。 rpm -Uvh VirtualBox-1.6.2_31466_fedora9-1.i586.rpm 2、配置 2.1添加软件包：安装kernel-devel包。 注意：在安装都时候不要用 yum install kernel-devel,这里如果用yum获取都是最新都内核包。可能与系统的版本不一致，会导致下面第三步失败。 先用uname -rm 看看你内核版本。我的是下面的结果： [root@localhost ~]# uname -rm 2.6.25-14.fc9.i686 i686 到http://rpmfind.net/找到上面对应版本的软件并下载。 我下载的是kernel-devel-2.6.25-14.fc9.i686.rpm，然后安装： [root@localhost ~]# rpm -Uvh kernel-devel-2.6.25-14.fc9.i686.rpm 然后在 /usr/src/kernels/2.6.25-14.fc9.i686 目录下你就可以看到内核代码。 2.2、将自己添加到vboxusers组：sudo /usr/sbin/usermod -a -G vboxusers yourname. 2.3、重新编译并启动vboxdrv：sudo /etc/init.d/vboxdrv setup. [OrientSun@localhost ~]$ sudo /etc/init.d/vboxdrv setup Stopping VirtualBox kernel module [确定] Recompiling VirtualBox kernel module [确定] [...]]]></description>
			<content:encoded><![CDATA[<p>一、vbox安装<br />
1、到virtualBox官方主页<a href="http://www.virtualbox.org">http://www.virtualbox.org</a>下载Virtu&#8230;ra9-1.i586.rpm 进行安装。<br />
rpm -Uvh VirtualBox-1.6.2_31466_fedora9-1.i586.rpm<br />
2、配置<br />
2.1添加软件包：安装kernel-devel包。<br />
注意：在安装都时候不要用 yum install kernel-devel,这里如果用yum获取都是最新都内核包。可能与系统的版本不一致，会导致下面第三步失败。<br />
先用uname -rm 看看你内核版本。我的是下面的结果：<br />
[root@localhost ~]# uname -rm<br />
2.6.25-14.fc9.i686 i686<br />
到http://rpmfind.net/找到上面对应版本的软件并下载。<br />
我下载的是kernel-devel-2.6.25-14.fc9.i686.rpm，然后安装：<br />
[root@localhost ~]# rpm -Uvh kernel-devel-2.6.25-14.fc9.i686.rpm 然后在<br />
/usr/src/kernels/2.6.25-14.fc9.i686 目录下你就可以看到内核代码。<br />
2.2、将自己添加到vboxusers组：sudo /usr/sbin/usermod -a -G vboxusers yourname.<br />
2.3、重新编译并启动vboxdrv：sudo /etc/init.d/vboxdrv setup.<br />
[OrientSun@localhost ~]$ sudo /etc/init.d/vboxdrv setup</p>
<p>Stopping VirtualBox kernel module                          [确定]<br />
Recompiling VirtualBox kernel module                     [确定]<br />
Starting VirtualBox kernel module                            [确定]<br />
现在你就安装成功了。接着你就安装你的系统吧，我安装都是windows xp</p>
<p><span id="more-528"></span></p>
<p>二、vbox与宿主机实现文件共享。<br />
安装完vbox你马上就会想到要与宿主机实现文件共享。用过vmware和vitualpc的朋友马上就会发现vbox不能像前面那两种软件搭建一个 samba服务器，或者使用ftp服务器。因为虚拟机和宿主机根本就不在一个网段。我尝试把他们配置在同一个网段，没有弄好，要是有哪个高手弄好了希望赐教。<br />
vbox自带都有一个数据空间，好像以前都版本就叫文件共享，现在1.6.2版本改为数据空间了。但你必须安装VirtualBox Guest Addition包。<br />
下面就列出实现文件共享的具体安装步骤：<br />
注意：不要小看以下步骤，你第一次安装的话很多细节你都不会注意。因为这些细节你会花很多时间去解决。就像前面安装都时候，那个内核版本的问题，如果你直接yum的话，你肯定无法安装成功。<br />
1.启动虚拟windows xp安装VirtualBox Guest Addition。<br />
在你点击了设备菜单下面的安装增强功能后你会发现没有反应。o(∩_∩)o&#8230;哈哈，不要急。<br />
在设备菜单下点击释放光驱，然后再点击设备菜单下面的安装增强功能，仔细看看你的光驱是不是又激活了，然后依然是什么反应没有。^_^，还是不要急嘛，仔细看看你的光驱里面是什么文件，有一个ISO吧。进入虚拟机系统去把光驱里面的软件安装好吧。<br />
2.点击设备菜单下面的分配数据空间，添加你需要共享的文件夹路径<br />
3.按照网上说的方法，进入你的虚拟机系统，右击我的电脑－》映射网络驱动器。当你选择浏览的时候你可能就晕了，里面明明出来了vitualbox shared folders.可是自己在上一步设置的文件夹就是没有添加进来，说句实话，这个地方确实很变态。我在这里摸索了几个小时，在中文网站上是没有找到解决办法，后来我在一个英文论坛里面找到都解决办法。你也可以看看：</p>
<p>http://forums.virtualbox.org/viewtop&#8230;8db8636a9a5098</p>
<p>在dos窗口下面我用他们说的net use x: \\vboxsvr\sharename也是有错。有点不好搞定吧，快成功了，还是不要急。<br />
4.把在第一步里面的VirtualBox Guest Addition再安装一遍，然后重启你的虚拟机，你再到虚拟机里面，右键点击映射网络驱动器，看看里面是不是有你前面添加的共享文件夹，应该是有的，要是没有的话我就不知道怎么解决了，反正我按照以上的步骤是操作成功了。至于为什么要安装两遍VirtualBox Guest Addition我也没有搞清楚，要是有高手知道分享。<br />
5.o(∩_∩)o&#8230;哈哈，大功告成了。</p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/06/30 |
<a href="http://pengjiayou.com/blog/fedora-9-below-use-virtualbox-162-installation-of-windows-xp#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/fedora-9-below-use-virtualbox-162-installation-of-windows-xp&title=Fedora 9 下面使用VirtualBox-1.6.2安装Windows XP">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/fedora-9-below-use-virtualbox-162-installation-of-windows-xp">http://pengjiayou.com/blog/fedora-9-below-use-virtualbox-162-installation-of-windows-xp</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/fedora-notes" rel="tag">Fedora</a>, <a href="http://pengjiayou.com/blog/tag/vitualbox" rel="tag">Vitualbox</a>, <a href="http://pengjiayou.com/blog/tag/windows-xp" rel="tag">Windows XP</a>, <a href="http://pengjiayou.com/blog/tag/%e8%99%9a%e6%8b%9f%e6%9c%ba" rel="tag">虚拟机</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/fedora-9-below-use-virtualbox-162-installation-of-windows-xp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pidgin最新升级后QQ故障</title>
		<link>http://pengjiayou.com/blog/pidgin-qq-after-the-latest-escalation-of-fault</link>
		<comments>http://pengjiayou.com/blog/pidgin-qq-after-the-latest-escalation-of-fault#comments</comments>
		<pubDate>Mon, 30 Jun 2008 03:36:46 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[libqq]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[QQ]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=527</guid>
		<description><![CDATA[进行了Pidgin的最新升级后，其中的QQ出现故障： 1、所有群的名称都变成了NULL，且不能修改； 2、进入群后只能看见一部分群成员； 3、此时，如果再点击进入其它的群，则会把两个群的部分群成员显示在同一个“群”中！（这个看上去很诡异！） 4、要登录多次方能成功。 Pidgin下的Msn能正常使用。曾经尝试将.purple目录转移，重新启动Pidgin，加入QQ群后，故障依旧。不知有没有朋友遇到这样的问题？我该如何解决呢？ 解决办法：该故障源于Pidgin中负责QQ功能的Plugin：libqq.so，用其他版本Pidgin所使用的将该文件替换后，故障排除。 请将 libqq.so 覆盖 /usr/lib/purple-2/libqq.so 即可。 libqq.so 下载 © 嘉佑 for 嘉佑中文博客 on 2008/06/30 &#124; No comment &#124; Add to del.icio.us Permalink: http://pengjiayou.com/blog/pidgin-qq-after-the-latest-escalation-of-fault Post tags: Fedora, libqq, Pidgin, QQ]]></description>
			<content:encoded><![CDATA[<p>进行了Pidgin的最新升级后，其中的QQ出现故障：</p>
<p>1、所有群的名称都变成了NULL，且不能修改；<br />
2、进入群后只能看见一部分群成员；<br />
3、此时，如果再点击进入其它的群，则会把两个群的部分群成员显示在同一个“群”中！（这个看上去很诡异！）<br />
4、要登录多次方能成功。</p>
<p>Pidgin下的Msn能正常使用。曾经尝试将.purple目录转移，重新启动Pidgin，加入QQ群后，故障依旧。不知有没有朋友遇到这样的问题？我该如何解决呢？</p>
<p><span id="more-527"></span></p>
<p>解决办法：该故障源于Pidgin中负责QQ功能的Plugin：libqq.so，用其他版本Pidgin所使用的将该文件替换后，故障排除。<br />
请将 libqq.so 覆盖 /usr/lib/purple-2/libqq.so 即可。</p>
<p>libqq.so <a href="http://rapidshare.com/files/125988674/libqq.zip.html">下载</a></p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/06/30 |
<a href="http://pengjiayou.com/blog/pidgin-qq-after-the-latest-escalation-of-fault#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/pidgin-qq-after-the-latest-escalation-of-fault&title=Pidgin最新升级后QQ故障">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/pidgin-qq-after-the-latest-escalation-of-fault">http://pengjiayou.com/blog/pidgin-qq-after-the-latest-escalation-of-fault</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/fedora-notes" rel="tag">Fedora</a>, <a href="http://pengjiayou.com/blog/tag/libqq" rel="tag">libqq</a>, <a href="http://pengjiayou.com/blog/tag/pidgin" rel="tag">Pidgin</a>, <a href="http://pengjiayou.com/blog/tag/qq" rel="tag">QQ</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/pidgin-qq-after-the-latest-escalation-of-fault/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 9源更新太慢？</title>
		<link>http://pengjiayou.com/blog/fedora-9-source-of-updated-too-slow</link>
		<comments>http://pengjiayou.com/blog/fedora-9-source-of-updated-too-slow#comments</comments>
		<pubDate>Mon, 30 Jun 2008 03:20:08 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[源]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=526</guid>
		<description><![CDATA[yum -y install yum-fastestmirror yum install yum-presto Fedora 9：修改/etc/yum.repos.d/fedora-updates.repo中的baseurl，使之指向以下地址(加粗部分)，同时把mirrorlist一行注释掉: baseurl=http://lesloueizeh.com/f9/i386/updates 然后yum update , 九十几兆的更新一会就好了 瞬时速度居然可以飚到600k左右，莫非真是presto的作用？还是源比较好？ © 嘉佑 for 嘉佑中文博客 on 2008/06/30 &#124; No comment &#124; Add to del.icio.us Permalink: http://pengjiayou.com/blog/fedora-9-source-of-updated-too-slow Post tags: Fedora, 源]]></description>
			<content:encoded><![CDATA[<p>yum -y install yum-fastestmirror<br />
yum install yum-presto</p>
<p>Fedora 9：修改/etc/yum.repos.d/fedora-updates.repo中的baseurl，使之指向以下地址(加粗部分)，同时把mirrorlist一行注释掉: baseurl=<strong>http://lesloueizeh.com/f9/i386/updates</strong></p>
<p>然后yum update , 九十几兆的更新一会就好了 瞬时速度居然可以飚到600k左右，莫非真是presto的作用？还是源比较好？</p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/06/30 |
<a href="http://pengjiayou.com/blog/fedora-9-source-of-updated-too-slow#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/fedora-9-source-of-updated-too-slow&title=Fedora 9源更新太慢？">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/fedora-9-source-of-updated-too-slow">http://pengjiayou.com/blog/fedora-9-source-of-updated-too-slow</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/fedora-notes" rel="tag">Fedora</a>, <a href="http://pengjiayou.com/blog/tag/%e6%ba%90" rel="tag">源</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/fedora-9-source-of-updated-too-slow/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora下装软件可以这么装</title>
		<link>http://pengjiayou.com/blog/fedora-downloading-software-can-be-installed-so</link>
		<comments>http://pengjiayou.com/blog/fedora-downloading-software-can-be-installed-so#comments</comments>
		<pubDate>Mon, 30 Jun 2008 03:06:54 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[evaQQ]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=525</guid>
		<description><![CDATA[今天上班很无聊，继续学习Fedora 9，原来Fedora 9下装软件可以这么装：（以evaQQ为例） 我下的是 eva-0.4.2-2.cvs20060913.i386.rpm的软件包，放在/usr/local目录下。 接下来的步骤如下：#yum eva-0.4.2-2.cvs20060913.i386.rpm 提示信息：&#8230;..（省略）Total download size: 25 M Is this ok [y/N]: y Downloading Packages: (1/12): libfreebob-1.0.3- 100% &#124;=========================&#124; 154 kB 00:11 (2/12): OpenEXR-1.4.0a-3. 100% &#124;=========================&#124; 416 kB 00:24 (3/12): arts-1.5.9-1.fc7. 100% &#124;=========================&#124; 1.2 MB 00:06 (4/12): kdnssd-avahi-0.1. 100% &#124;=========================&#124; 43 kB 00:04 (5/12): jasper-1.900.1-2. 100% &#124;=========================&#124; 174 kB 00:02 (6/12): [...]]]></description>
			<content:encoded><![CDATA[<p>今天上班很无聊，继续学习Fedora 9，原来Fedora 9下装软件可以这么装：（以evaQQ为例）</p>
<p>我下的是 eva-0.4.2-2.cvs20060913.i386.rpm的软件包，放在/usr/local目录下。<br />
接下来的步骤如下：#yum eva-0.4.2-2.cvs20060913.i386.rpm<br />
提示信息：&#8230;..（省略）Total download size: 25 M<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
(1/12): libfreebob-1.0.3- 100% |=========================| 154 kB 00:11<br />
(2/12): OpenEXR-1.4.0a-3. 100% |=========================| 416 kB 00:24<br />
(3/12): arts-1.5.9-1.fc7. 100% |=========================| 1.2 MB 00:06<br />
(4/12): kdnssd-avahi-0.1. 100% |=========================| 43 kB 00:04<br />
(5/12): jasper-1.900.1-2. 100% |=========================| 174 kB 00:02<br />
(6/12): kde-settings-3.5- 100% |=========================| 15 kB 00:00<br />
(7/12): fltk-1.1.8-0.3.r5 100% |=========================| 424 kB 00:21<br />
(8/12): kdelibs-3.5.9-5.f 100% |=========================| 17 MB 02:03<br />
(9/12): kde-filesystem-4- 100% |=========================| 20 kB 00:01<br />
(10/12): jack-audio-conne 100% |=========================| 139 kB 00:02<br />
(11/12): avahi-qt3-0.6.17 100% |=========================| 17 kB 00:02<br />
(12/12): nas-1.9.1-2.fc7. 100% |=========================| 646 kB 00:06</p>
<p><span id="more-525"></span></p>
<p>然后#rpm -ihv eva&#8230;..i386.rpm<br />
提示信息：[root@localhost local]# rpm -ivh eva-0.4.2-2.cvs20060913.i386.rpm<br />
Preparing&#8230; ########################################### [100%]<br />
package eva-0.4.2-2.cvs20060913 is already installed<br />
然后应用程序－>Interenet->Eva</p>
<p>步骤：将下载下来的文件放到 /usr/local 目录，然后 yum xx.rpm ，yum 会自动搞定关联的包，然后在 rpm -hiv xx.rpm 就可以了</p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/06/30 |
<a href="http://pengjiayou.com/blog/fedora-downloading-software-can-be-installed-so#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/fedora-downloading-software-can-be-installed-so&title=Fedora下装软件可以这么装">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/fedora-downloading-software-can-be-installed-so">http://pengjiayou.com/blog/fedora-downloading-software-can-be-installed-so</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/evaqq" rel="tag">evaQQ</a>, <a href="http://pengjiayou.com/blog/tag/fedora-notes" rel="tag">Fedora</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/fedora-downloading-software-can-be-installed-so/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

