thuy linh
Trả lời 14 năm trước
Cài đặt card wireless Atheros AR5007EG trên ubuntu
1. Đầu tiên là download ndiswrapper và driver windows của card này tại:
ndiswrapper: http://wifix.sourceforge.net/softwar...le=ndiswrapper
driver 32bit: http://blakecmartin.googlepages.com/...-32-0.2.tar.gz
driver 64bit: http://blakecmartin.googlepages.com/...-64-0.2.tar.gz
sau đó thì bung các file nén ra để đấy đã
2. Kiểm tra xem có các file header & build essential chưa, nếu chưa thì phải cài bằng lệnh:
sudo aptitude update && sudo aptitude install linux-headers-$(uname -r) build-essential
3. Blacklist cái cấu hình cũ (cái tự nhận này không làm việc):
echo "blacklist ath_pci" | sudo tee -a /etc/modprobe.d/blacklist
4. Nhảy vào thư mục ndiswrapper để cài nó ra:
sudo make
sudo make install
5. Sau đó nhảy vào thư mục ar5007eg đã bung ra ở trên để cài driver:
sudo ndiswrapper -i net5211.inf
6. Tiếp đến cấu hình ndiswrapper để nó tự chạy mỗi khi khởi động ubuntu:
sudo modprobe ndiswrapper
echo "ndiswrapper" | sudo tee -a /etc/modules
7. Khởi động lại máy để kết thúc cài đặt driver.
8. Cài thêm ứng dụng Wifi-radar hoặc wicd để quản lý cho dễ
Với wifi-radar, chỉ việc vào Applications-->Add/Remove... chọn và cài
Với wicd thì làm như sau (có thể lưu lại thành file sh sau này tái sử dụng):
echo "deb http://wicd.longren.org feisty extras" | sudo tee /etc/apt/sources.list.d/wicd.list
sudo apt-get update
sudo apt-get install wicd
sudo ln -s /opt/wicd/gui.py /usr/local/bin/wicd
sudo wget -O /usr/local/bin/wicd-tray http://blakecmartin.googlepages.com/wicd-tray
sudo chmod 755 /usr/local/bin/wicd-tray
9. Sau đó vào System-->Preferences-->Session để cấu hình wicd-tray chạy mỗi khi login.