Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2007-12-09 00:58:08
Size: 347
Editor: ?BrendanMalias
Comment:
Revision 3 as of 2007-12-09 01:08:23
Size: 1217
Editor: ?BrendanMalias
Comment:
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 :)