2010年12月14日 星期二

有時電腦的問題真的很奇怪...

上週某個工作日,對一台六年前的電腦灌了系統(Ubuntu10.10),裝好之後準備連上線上網更新,但是檢測硬體寫軟體參數改設定檔搞了半天網路就是死不正常,(ping都可以,然後上google很ok很順,但是其他網站就是點下去讀取超久的抓不到,連我放在校內的server也如此回應= ="),就連語系更新都怪怪的只有english可以選....

就在奮戰七小時正打算放棄時,我決定不顧一切直覺的拔下了電源線之後重插回去,網路就十分正常了.............

有沒有哪位好心的大德可以告訴我到底發生了什麼事?在這之前網路線我也拔過,也重開機N次了,還是一樣啊啊啊啊~~!!!!

我google不到啊,為什麼拔掉電源線可以解決網路問題?Why?!











如果您和我一樣倒楣透了,症狀也很像我所描述的那樣,希望下面的關鍵詞可以幫助您找到這篇文章,節省除錯的時間...讓我們一起接受神秘的力量感召...e04..!還我的寶貴光陰啦!! 

關鍵詞: ubuntu 網路異常 網路不正常 更新失敗 語系更新不正常

2010年12月12日 星期日

2010年12月7日 星期二

新安裝ubuntu的一些基本設定(10.10版)

1.因為ibus有一些問題,所以更改輸入法為scim
sudo apt-get install scim scim-chewing; sudo im-switch -s scim-bridge

2.參閱http://blog.jsdan.com/2759,將sources.list改為台灣區樹德科大10.10的來源:


#deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.

deb http://ubuntu.stu.edu.tw/ubuntu/ maverick main restricted

deb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the

## distribution.

deb http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates main restricted

deb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team. Also, please note that software in universe WILL NOT receive any

## review or updates from the Ubuntu security team.

deb http://ubuntu.stu.edu.tw/ubuntu/ maverick universe

deb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick universe

deb http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates universe

deb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as to

## your rights to use the software. Also, please note that software in

## multiverse WILL NOT receive any review or updates from the Ubuntu

## security team.

deb http://ubuntu.stu.edu.tw/ubuntu/ maverick multiverse

deb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick multiverse

deb http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates multiverse

deb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the ‘backports’

## repository.

## N.B. software from this repository may not have been tested as

## extensively as that contained in the main release, although it includes

## newer versions of some applications which may provide useful features.

## Also, please note that software in backports WILL NOT receive any review

## or updates from the Ubuntu security team.

# deb http://tw.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

# deb-src http://tw.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical’s

## ‘partner’ repository.

## This software is not part of Ubuntu, but is offered by Canonical and the

## respective vendors as a service to Ubuntu users.

# deb http://archive.canonical.com/ubuntu maverick partner

# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party

## developers who want to ship their latest software.

deb http://extras.ubuntu.com/ubuntu maverick main

deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://ubuntu.stu.edu.tw/ubuntu/ maverick-security main restricted

deb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-security main restricted

deb http://ubuntu.stu.edu.tw/ubuntu/ maverick-security universe

deb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-security universe

deb http://ubuntu.stu.edu.tw/ubuntu/ maverick-security multiverse


deb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-security multiverse

3.系統都更新完之後,記得直接在終端機當中打入gconf-editor修改gedit的編碼設定以加入BIG5編碼支援
(沒有sudo喔!!!加了sudo就變成改root的設定了,這樣平常怎麼開都還是認不出BIG5)
,加入方法網路上寫得很多,圖文並茂寫得又清楚的可參考:

電腦不難-[Ubuntu]解決gedit中文亂碼問題  http://pcnoproblem.twbbs.org/ubuntu-gedit/

簡單來說就是終端機下輸入 gconf-editor 後在裡面的apps/gedit-2/preferences/encodings/ 當中編輯auto_detected這一個值裡面,多加入一個BIG5來判別就好啦~