Use if(isset($wlcfg['channel']))
Do not return so early so that pfsync gets redirected to loopback
Ticket #761
Bring the WAN interface up regardless.
Ticket #757
Up the interface
Do not setup STP on wireless interfaces
Setup STP correctly when interfaces are not wireles
If we've waited for over 30 seconds, then simply exit
Only process when booting
Do not enable STP on wireless interfaces
Destroy carp interfaces before config so that after sync deleted interfaces are destroyed
Bring bridge up later
$bridges_total++ after each new bridge bringup
Adjust bringup order. Bring up bridge on wan too
Echo out when waiting to bring up carp final
Bring up optional and or LAN interface too
Down the bridge then bring it up
Bring bridgeX up
MFC 8313If no stationname is set, we still need stationname in front of the "pfsense" default we add.
If carp is not enabled then do not process
MFC 8165Add 802.11g protection mode. (ticket #715)
No need to use () when setting string variables.
Use fwrite to write out ath command
MFC 7717Add wireless distance tuning.
MFC 7683Fix getting dhclient pid correctly.
MFC 7677Fix wpa_supplicant startup issue and fix macaddress filtering backend function (ticket 684).
MFC 7667Fix wpa_supplicant startup issue and fix macaddress filtering backend function (ticket 684).
dhclient -cf -> dhclient -c
Go back to 6's dhclient. I don't feel like chasing all this crap back down.
Add -nw to dhclient command
Remove commented out code while here.
Do not check if hostapd is running. Simply kill it.
Switch back to FreeBSD 5's dhclient
MFC 7511olsrd gets told to load 'interfacename'_olsrd.conf, but the ticks get stripped in the call... so olsrd looks for interfacename_olsrd.conf (just a guess, did not look into it to much)
Ticket #681
MFC 7509Bring carp interface up in carp.sh too for debugging
Assign carp the old way since we are now done debugging
Use full path to sysctl
Hold down for 60 seconds before switching to primary. If for some reason the backup fails the machine will assume master immediately.
Execute carp.sh twice. It doesn't pick up all addresses on the first run!?
Do not execute file on bootup. Let the final carp routine bring up the carp interfaces
Work around some weird race condition where half the carp information is not populated.
Write out carp commands to a temp file and execute on bootup/
Sleep for 15 seconds before changing advskew
Revert to old carp methods
Surpress handback for 15 seconds after suppress_prempt reads 0.
Without this change a active SIP call will experience a 13 second "drop". With this change there is no drop during handback.
Tested-at: Bluegrass.net
unmute kernel spew before echoing done and returning
Only echo done when booting
Remove the LAN IP address if user has cleared value
Ticket #654
echo "done.\n"; if carp is not configured
MFC 7138Back out alias fix and return to 1.566
Add ste interface to compatible ALTQ interfaces
Add space after ppp-linkup
MFC 7125If ppp-linkdown script exists, add it to mpd for pptp and pppoe
MFC 7035Fix bug with turbomode and reboot (hopefully) Removed a space that shouldn't be there.
MFC 7034Fix bug with turbomode and reboot (hopefully)
MFC 7016Add vlan to altq capable list.
MFC 7010Only hold down boot while waiting on PPPOE to come up for a maximum of 30 seconds.
Echo done after configuring carp
MFC 6906 6907Use /var/etc/ for storing configuration files MFC: ASAP (By sullrich)Use /var/etc/ for storing configuration files MFC: ASAP (By sullrich)
MFC 6899Allow bridging on ath0 + wpa
MFC 6897Write out to /tmp/ file commands used when adjusting mtu during bridging operations
MFC 6894Force all members of a bridge to the bridging from interface mtu.
MFC 6892Setup span tree on all ports correctly.
MFC 6871If WAN is pppoe, hold down boot until connection is established This will help anyone with PPPOE on WAN and DHCP on OPTx not get incorrect gateways assigned.
MFC 1.178successfully kill hostapd if changing settings back from WPA to WEP (fix by lsf, noticed by marcusah)
Correct sysctl location
Patch-tested-by: BillM
Make get_number_of_bridged_interfaces() a little more industrial strength by actually looking at the bridge numbers instead of the quantity of bridges
Missing }
Do not call ifconfig on non-existant interfaces when testing
Remove debugging line
Start at 0
Use consistent variable names
Trim whitespace
Change get_number_of_bridged_interfaces() behavior
Correctly return # of bridges
Set $x = 0 before for()
Sync with 1.2
Sleep between down, delete and destroy. Race conditions are bad, mmmmkay?
Return a numerical value instead of "bridge{$x}"
++ bridge count
Move wan gateway to interfaces->wan->gateway
Correctly define () brackets
Test for active bridge better
Down bridge before deleting and destroying