HOWTO: Configurar Ndiswrapper en Fedora (6,7,8) ?
Necesitás el driver para windows, básicamente el .INF y el .SYS
1. Instalar Ndiswrapper
Usando Livna, ve a http://rpm.livna.org e instalá el repositorio que necesités. Para Fedora 8:
rpm -Uvh http://rpm.livna.org/livna-release-8.rpm
Luego instalá ndiswrapper y familia:
yum install ndiswrapper
Podés tambien claro bajar el source y compilar. http://ndiswrapper.sourceforge.net/
2. Copia los drivers
El .inf y el .sys, supongamos son net2140b.inf y net2140b.sys, asumiendo estan en /media/CD-Drivers/WinXp/
# mkdir /root/net2140b # cp /media/CD-Drivers/WinXp/* /root/net2140b/
3. Instalar el driver
# ndiswrapper -i /root/net2140b/net2140b.inf
Verificar si no sólo se instaló el driver sino si el hardware está presente:
# ndiswrapperl -l net2140b : driver installed device (0BDA:8189) present
4. Cargar Ndiswrapper con el driver
# depmod -a # modprobe ndiswrapper
Verifica si se configuró correctamente:
# dmesg | grep wlan0 wlan0: ethernet device 00:06:4f:4c:b4:c6 using NDIS driver: net2140b, version: 0x1, NDIS version: 0x500, vendor: 'Vendor Example NET2140 Wireless LAN USB NIC ', 0BDA:8189.F.conf wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
Podés usar iwconfig, iwlist wlan0 scanning, y otros para verificar el funcionamiento.
5. Hacer cambios permanentes
Configura modprobe.conf, o modprobe.d/ndiswrapper, según la versión de Fedora:
# ndiswrapper -ma # echo "alias wlan0 ndiswrapper" >> /etc/modprobe.conf
Finalmente podes correr la configuración, en el hardware ya debe aparecer ndiswrapper:
# system-config-network
Sí usas NetworkManager, es más sencillo, una vez que es detectada puede usarse, es decir si funciona con iwconfig, debe funcionar con NetworkManager.
6. Otros
Si acaso el driver entra en conflicto con otro que Fedora esta cargando debés ponerlo en /etc/modprobe.d/blacklist:
echo "blacklist ex21b" >> /etc/modprobe.d/blacklist