Re: HostAP Bridge startup script
Lars Eggert <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
Bill Wadsworth (250-539-3196) wrote: > > Does anyone have a the above. I've tried writing a couple but keep getting a watchdog timeout when > the system loads. I believe this is due to the script running before the cards have been > initialized. > > We're trying to create a bridged cluster of 3 wireless cards (wi0, wi1, wi2, fxp0) into fxp0 Attached, but the issue your describing might also be caused by your (old?) firmware version. Lars -- Lars Eggert <[email protected]> USC Information Sciences Institute
start_if.wi0
(text/plain, 747 B)
# Each file should have the ID line below for web version-checking: # $Id: start_if.wi0,v 1.7 2002/11/01 19:43:10 larse Exp $ WIFI_CHANNEL=11 WIFI_SSID="TetherNet" WIFI_WEP="off" WIFI_KEY="-" WIFI_DENSITY=1 WIFI_UP="up" /sbin/sysctl net.link.ether.bridge_cfg="wi0 sis1" /sbin/sysctl net.link.ether.bridge=0 /sbin/ifconfig wi0 down /usr/sbin/wicontrol -a $WIFI_DENSITY /sbin/ifconfig wi0 inet up \ -powersave \ ssid "$WIFI_SSID" \ stationname "$WIFI_SSID" \ channel $WIFI_CHANNEL \ authmode open \ wepkey "$WIFI_KEY" \ weptxkey 1 \ wepmode $WIFI_WEP \ mediaopt hostap \ $WIFI_UP # turning on briding brings the interface up, only do it when it should be up if [ "$WIFI_UP" = "up" ]; then /sbin/sysctl net.link.ether.bridge=1 fi
smime.p7s
(application/x-pkcs7-signature, 3.4 KB) - not displayed