출처:http://www.cyberciti.biz/faq/marvell-88w8335-chipset-netgear-wg311-pcicard-driver/
참고:http://blog.naver.com/PostView.nhn?blogId=luvweb&logNo=60011879419&widgetTypeCall=true
Step # 1: Install Ndiswrapper utilities
Open the terminal and type the following command:
$ sudo apt-get update
$ apt-cache search ndiswrapper-utils
$ sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9
이렇게 설치하면 안되고.. ndiswrapper를 수동으로 설치해야한다.
http://ndiswrapper.sourceforge.net/
압축을 푼 후에 tar -xvf *.tar.gz
make uninstall
make
make install
설치 끝 ^-^
Step # 2: Download Windows Driver for Marvell 88w8335 PCI chipset
$ cd /tmp/
www.zio.ne.kr의 자료실에서
X8드라이버를 다운 받는다.
$ unzip X8&X9-windows.zip
Step # 3: Install Driver
To install driver, enter:
$ cd "/tmp/Inf/WinXP_2K/"
$ sudo ndiswrapper -i netmw125.inf
Verify that driver was installed:
$ ndiswrapper -l
Output:
netmw125 : driver installed
device (11AB:1FAA) present
Finally, install ndiswrapper driver itself:
$ sudo modprobe ndiswrapper
여기서 부터 잘 안된다. --;;;
Run iwconfig to see wlan0 interface:
$ iwconfig
Step # 4: Install wpasupplicant
Now install wpasupplicant software, enter:
$ sudo apt-get install wpasupplicant
Step # 5: Configure WPA authentication
Open /etc/wpa_supplicant.conf file using gedit or other text editor, enter:
$ gksudo gedit /etc/wpa_supplicant.conf
Append following configuration for WPA:
network={
ssid="YOUR-NETWORK-ESSID"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="YOUR-PASSWORD"
}
Save and close the file. Start Wi-Fi Protected access client:
$ sudo wpa_supplicant -BW -c/etc/wpa_supplicant.conf -iwlan0
Step # 6: Grab IP address via DHCP
Type the following command:
$ sudo ifconfig wlan0 up
$ sudo dhclient wlan0
Output:
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:1e:2a:47:42:8d
Sending on LPF/wlan0/00:1e:2a:47:42:8d
Sending on Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.2 -- renewal in 37933 seconds.
Step # 7: Test connectivity
Type the following command
$ ping yahoo.com
$ host google.com
Fire a webbroser and open gmail or google.com.
Step # 8: Shell Script To Start Everything
Make sure your driver get loaded each time you boot your computer
via kernel module configuration /etc/modprobe.d/ndiswrapper file:
$ sudo ndiswrapper -m
Download and use a script called /root/wlan.up. Customize it according to your requirements:
$ gksudo gedit ~/wlan.up
Save and close the file:
$ sudo chmod +x ~/wlan.up
You can call this script from /etc/network/interfaces or your personal shell script startup file ~/.bash_profile or from GNOME.