If you want to have the network interface be known as //wlan0// then you can either run <code>ndiswrapper -m</code> which adds a line <code>alias wlan0 ndiswrapper</code> to /etc/modprobe.d/ndiswrapper (2.6.15 kernels and onward) or you can write that line yourself, in ''/etc/modules.conf'' (for 2.4 kernels) or ''/etc/modprobe.conf'' (older 2.6 kernels).

If you want to have the network interface be known as //wlan0// then you can either run <code>ndiswrapper -m</code> which adds a line <code>alias wlan0 ndiswrapper</code> to /etc/modprobe.d/ndiswrapper (2.6.15 kernels and onward) or you can write that line yourself, in ''/etc/modules.conf'' (for 2.4 kernels) or ''/etc/modprobe.conf'' (older 2.6 kernels).

+

===== Network configuration =====

===== Network configuration =====

-

Your card will be loaded with the name **wlan0**. Detailed information about how to configure your wlan0 interface can be found in my [[:slackware:madwifi#network_configuration|madwifi page]], if you change the string **ath0** to **wlan0**.

+

Using ndiswrapper as the driver, your wireless network interface will be assigned the name **//wlan0//**. Detailed information about how to configure your wlan0 interface can be found in my Wiki page describes Slackware's [[:slackware:network#wireless_configuration_in_rc.inet1.conf|wireless network configuration]] in detail. Just change the string '**ath0**' I use in the examples to '**wlan0**'.

Line 69:

Line 71:

For more information about how to configure WPA using [[http://hostap.epitest.fi/wpa_supplicant/|wpa_supplicant]], read my [[:slackware:network#wpa_encryption|WPA chapter]] in the //[[:slackware:network|Slackware network configuration]]// page.

For more information about how to configure WPA using [[http://hostap.epitest.fi/wpa_supplicant/|wpa_supplicant]], read my [[:slackware:network#wpa_encryption|WPA chapter]] in the //[[:slackware:network|Slackware network configuration]]// page.

-

//NOTE//: With ndiswrapper version 1.12 and later, you should use wpa_supplicant's //wext// driver instead of the //ndiswrapper// driver: '''-Dwext''' instead of '''-Dndiswrapper'''.

+

<note>With ndiswrapper version 1.12 and later, you should use wpa_supplicant's **//wext//** driver instead of the //ndiswrapper// driver: the argument to wpa_supplicant would become '''-Dwext''' instead of '''-Dndiswrapper'''\\ A typical configuration line in ''rc.inet1.conf'' would then become (adjust my example index [**1**] to the value you use for your card): <code>