347
Comment:
|
1217
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
Now, you have a working madwifi-ng install, but you need to know how to use it. To configure for wifi without encryption (not advised): {{{ (File: /etc/network/interfaces) auto ath0 iface ath0 inet dhcp pre-up ifconfig ath0 up pre-up iwconfig ath0 essid "router ID" }}} To configure for wifi with WPA(2)-PSK encryption, you have to "aptitude install wpasupplicant". Open a text file and paste this and save it as /etc/wpa_supplicant/wpa_supplicant.conf: {{{ ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ap_scan=1 fast_reauth=1 eapol_version=1 network={ ssid="ROUTER ID" psk="your password" priority=5 } }}} Then edit /etc/network/interfaces with this: {{{ auto ath0 iface ath0 inet dhcp wpa-driver wext wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf }}} Reboot and you have wifi :) |
At the moment, the only way to enable wifi support is to use a custom build of madwifi with an Atheros patch. You can get it from here: http://bbqsrc.net/eeepc/debian/madwifi-ng.tar.gz
Incase you already haven't, aptitude install build-essential linux-headers-$(uname -r). Then untar the tarball, cd into the directory and "make install".
Now, you have a working madwifi-ng install, but you need to know how to use it.
To configure for wifi without encryption (not advised):
(File: /etc/network/interfaces) auto ath0 iface ath0 inet dhcp pre-up ifconfig ath0 up pre-up iwconfig ath0 essid "router ID"
To configure for wifi with WPA(2)-PSK encryption, you have to "aptitude install wpasupplicant". Open a text file and paste this and save it as /etc/wpa_supplicant/wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ap_scan=1 fast_reauth=1 eapol_version=1 network={ ssid="ROUTER ID" psk="your password" priority=5 }
Then edit /etc/network/interfaces with this:
auto ath0 iface ath0 inet dhcp wpa-driver wext wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Reboot and you have wifi