Re: NDIS wlan driver trouble, 6.0Beta5, DELL D610, Broadcom 4320 miniPCI
AT Matik <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Organization | Infomatik |
| Message-ID | <[email protected]> |
On Sunday 02 October 2005 15:39, Andreas Klemm wrote:
>
> Either a long ifconfig line or using DHCP statement
> but then open lan.
>
> Some solution for this ?
may be you like this, you save it and chmod +x it and exec it whenever you
need
##########################
#!/bin/sh
loaded="`/sbin/kldstat | grep bcm`"
logit () {
(/usr/bin/logger -s ${logmsg})
}
loadit () {
(/sbin/kldload bcmwl5_sys)
sleep 4
}
configure () {
ifconfig ndis0 up 200.152.83.34/27 ssid casa \
media DS/11Mbps mode 11b bssid any \
route add default 200.152.83.33
}
if [ "${loaded}" ]; then
configure
echo -n
logmsg="ndis0 configurado para ssid casa"
logit
else
loadit
configure
echo -n
logmsg="bcm-wl carregado como ndis0 e configurado para ssid casa"
logit
fi
################################
A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"