On Wed, Sep 12, 2012 at 06:29:12PM -0700, Yuri wrote: > I have the ndis based driver preloaded during boot. It creates ndis0 > interface. > /etc/rc.conf has the following lines: > wlans_ndis0="wlan0" > ifconfig_wlan0="WPA DHCP" > > However, wlan0 device isn't being created during system boot or during > '/etc/rc.d/netif start'. > '/etc/rc.d/wpa_supplicant start' also silently doesn't do anything. > > Only commands typed manually: > > ifconfig wlan create wlandev ndis0 > > wpa_supplicant -D ndis -i wlan0 -c /etc/wpa_supplicant.conf > > dhclient wlan0 > start wireless network. > > On another machine with ath0 wireless interface similar configuration > works fine. > > How can I understand why wireless doesn't start during boot? >
What is 'uname -a'? I'm surprised you can have ndis(4) load during boot. Recent machines I tried to do that have panic'd during boot. Can you try creating a crontab entry to load ndis(4) post-boot? # start ndis(4) post-boot @reboot root /sbin/kldload /boot/kernel/if_ndis.ko >/dev/null 2>&1 Something similar to that worked for me to get the device to work close to boot time, without panic. Once loaded, wpa_supplicant(8) worked fine. Please also see: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/165630 which I would would be MFC'd already... Glen
pgpc1fhM86ITX.pgp
Description: PGP signature