請問站上有朋友是1000h安裝ubuntu的嗎??
小弟是剛接觸llinux的新手,今天安裝ubuntu 8.04發覺都沒有抓到網路卡,所以根本沒辦法上網,因為又是剛接觸linux所以甚麼都不懂,想請問站上的大大們可否教小弟驅動網路卡,因為沒有linux基礎所以希望越簡單越好,感謝~~~
羽楓飄淚 wrote:
請問站上有朋友是10...(恕刪)
首先假設你的1000H有線網路設定沒問題,可作用,可連網。
點選--系統--管理--更新管理員
點選--更新
如果有需要,重開機或重新登入。
(為什麼要這麼做的原因是,更新到最新的patch,也許新的kernel已經有支援,但我不確定。因為我偷懶,更新後還是使用舊的kernel)
更新完後,如果系統沒有自動抓到無線網卡,那請執行下列步驟(先準備好無線網卡的驅動程式for xp):
參考連結:https://help.ubuntu.com/community/EeePC/Fixes#Wireless
Workaround: Madwifi (recommended)(使用madwifi,但我不確定1000H的無線網卡是否可行。跳過此區間)
You will need wired internet access for the following steps. Depending on your BIOS version, you may need to have the wired network connected on boot to be recognized properly.
First remove startup for linux-restricted-modules-common because it causes conflicts with the madwifi drivers.
sudo update-rc.d -f linux-restricted-modules-common remove
Update your apt package list
sudo apt-get update
Install the madwifi driver.
sudo apt-get install build-essential
wget http://snapshots.madwifi.org/special/madwifi-hal-0.10.5.6-r3698-20080604.tar.gz
tar zxvf madwifi-hal-0.10.5.6-r3698-20080604.tar.gz
cd madwifi-hal-0.10.5.6-r3698-20080604
make clean
make
sudo make install
sudo reboot
Once the machine is rebooted you should have full wireless support through the network manager.
Workaround: Ndiswrapper(使用Ndiswrapper安裝driver)
If the madwifi drivers do not work, or you prefer to use the ndiswrapper method you can follow the steps below.
如果madwifi安裝後無法正常工作,或是你比較偏好使用ndiswrapper來處理無線網卡驅動的話請按照下列步驟.
First you'll need to remove and blacklist any existing madwifi drivers:
因為我們沒有測試madwifi是否能正常於1000H上正常工作,沒安裝,所以跳過此步驟。
sudo modprobe -r ath_pci(跳過)
Then edit the /etc/modprobe.d/blacklist file and add the following line to the bottom:(跳過)
blacklist ath_pci(跳過)
You'll need to then install the ndiswrapper utilities:
安裝ndiswrapper這個工具程式(點選應用程式--附屬應用程式--終端機):
sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9(輸入,或是直接copy貼上)
你也可以這樣做:點選--系統--Synaptic套件管理程式
輸入管理者密碼
點選--搜尋
輸入--ndiswrapper,然後點選--搜尋
正常的話,會出現3個--ndisgtk(圖形化介面工具)+ndiswrapper-common+ndiswrapper-utils-1.9
點選--這3個,然後點選滑鼠右鍵,選--標記為安裝
點選--套用
下載中然後安裝中.......
安裝完成後
點選--系統--管理--windows無線網路驅動程式
點選--安裝新的驅動程式
將檔案位置指向你存放那兩個inf與sys檔案的路徑。然後,點--安裝。
這種方式安裝也行。
The windows drivers that we'll use for this method are either available on the EeePC DVD that should have accompanied your machine, or are available from the Asus website.
接下來我們要使用ndiswrapper安裝的驅動程式可以在EeePC附帶的DVD光碟上的驅動程式資料夾找到,或是到華x的支援網頁下載。
* The drivers are located on the DVD in: /Drivers/Wireless/ndis5x/. You will certainly need the net5211.inf and ar5211.sys files, but it's probably best to copy the entire folder.
在1000H的附帶光碟尋找副檔名inf與sys的檔案。
* The drivers are available for download: http://dlsvr01.asus.com/pub/ASUS/EeePC/EeePC4G(701)/Wireless_XP_071011.zip
這是701的無線網卡驅動連結,1000H的應該不一樣。您要找一找。
Navigate to the folder containing the net5211.inf and run these commands:
確認cp了那兩個相關的檔案後,比如我們直接放在桌面上
於終端機輸入:cd Desktop
sudo ndiswrapper -i net5211.inf(輸入,或是直接copy貼上,如果檔名不一樣記得修改為正確的)
You should then be able to load the ndiswrapper module:(載入ndiswrapper模組)
sudo ndiswrapper -m
Finally, set the ndiswrapper module to load at each boot:(將ndiswrapper模組設定在開機時自動載入)
sudo ndiswrapper -ma && sudo ndiswrapper -mi
You may need to reboot for everything to take effect, but you should have a working wireless connection at this point.
重開機讓剛剛的變動生效,如果老天保佑的話,重開機之後,你的無線網卡已經可以搜尋到無線基地台的訊號了,嘿嘿。
Kernel 的下載網址在Array.org EeePC Ubuntu Repository - Custom Linux Kernel,作者針對 Eee PC(包括901/1000/1000H) 製作了 Ubuntu 客制化的 Kernel Image 和 Module,並且持續提供更新。
目前它提供的 Kernel 包括下列部份:
1. Wired ethernet support (via atl1e module from Asus) (提供 EeePC 有線網路卡的 module 支援)
2. Wireless ethernet support (via rt2860sta module from Ralink) (提供 EeePC 無線網路卡的 module 支援)
3. Complete WEP and WPA wireless encryption support (via unreleased Ralink patch) (無線網路卡的 module 已經 patch 過,可以直接支援 WEP 和 WPA 無線網路模式)
4. Complete sound card support (via unreleased AlsaProject code) (完整音效卡支援)
5. ACPI with Bluetooth support (via patched eeepc-acpi module) (EeePC 內的 ACPI 能夠支援藍牙)
6. SMP enabled (for hyperthreading your Intel Atom CPU) (能支援 EeePC 中 ATOM CPU 的 HT 功能)
7. Simplified Persistent USB support (via an "always-on" patch) (USB 不知道什麼碗糕的 patch )
此外,根據網頁介紹,這個針對 EeePC 客制化的 Kernel,能讓開機時間快上 20~30 秒。
原文:Along with routine upstream updates, additional benefits include faster boot times (20-23 seconds), and pre-compiled eeepc & madwifi modules.
我的經驗是,使用它的 kernel 之後,有線網路直接就能看到,wireless 的部份還不太會開,需要 patch 讓 wireless 的功能鍵能夠動作。
設定 wireless 功能鍵,我是參考EeeUser ASUS Eee PC Forum / [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H的這個設定。
設定方法就按照它作法即可。
這時候也許會問,我 EeePC 現在裝好 Ubuntu 8.04 就是沒網路,那這些要怎麼搞?
可以準備一個 SD,容量不拘,大概只需要 128MB 就夠了。
把前面提到的 Kernel、Module 和 wireless 功能鍵 的 patch 檔案放進 SD,連結分別是:
ACPI_scripts-EeePC_901_1000.tar.gz
Linux Kernel(linux-image-2.6.24-21-eeepc_2.6.24-21.39eeepc1_i386.deb)
Linux Module(linux-ubuntu-modules-2.6.24-21-eeepc_2.6.24-21.30eeepc3_i386.deb)
把 SD 插入 EeePC 當中,Ubuntu 就能自動找到並掛載了。
接著打開終端機,並按照下列動作操作:
1. 切換到 SD 的路徑 cd /media/disk 2. 安裝 Linux Kernel 和 Module sudo dpkg -i linux-image*.deb linux-ubuntu-modules*.deb 3. 切換到 暫存區 路徑 cd /tmp 4. 將 wireless 功能鍵 patch 壓縮檔解開 tar zxvf /media/disk/Ubuntu_ACPI_scripts-EeePC_901_1000.tar.gz 5. 安裝 wireless 功能鍵 patch cd Ubuntu_ACPI_scripts-EeePC_901_1000/ chmod +x install.sh sudo ./install.sh 6. 重新開機,並享用 EeePC 上的 Ubuntu reboot |
目前我所感覺到還需要 patch 的部份,大概就是 wireless 功能鍵,上述的 patch 似乎只有 wireless 的開關,沒有 wireless開 / 藍牙開 / wireless+藍牙 開 / 全關 這樣的切換,看起來需要在翻些資料來修改它的內容,不過目前我都還沒用到 藍牙,因此這對我還不是個問題。
最後一點,以上動作我都操作過沒問題,我的環境是 EeePC 901。
關閉廣告