I try to set up an asus 167g wlan usb device with ndiswrapper and wpa_supplicant. Ndiswrapper module loads fine at boot time, but I didn't manage wpa_supplicant to start automatically, too.
I wrote following into the /etc/network/interfaces file:
iface wlan0 inet static
post-up /sbin/ifconfig wlan0 mtu 1472
post-up /sbin/wpa_supplicant -B -D ndiswrapper -i wlan0 -c /home/clemens/wpaconf
After reboot, ps aux | grep wpa shows no running process. If started on console, wpa_supplicant works. I tried a
post-up echo "Hello world!" >> /tmp/ifconfigtest
in the interfaces file. No output in the specified file.
Does the ifup routine ignore some post-up/pre-up statements? And why? And how can I start the wpa_supplicant?
Thanks a lot,