summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
Commit message (Collapse)AuthorAgeFilesLines
* Protect from strange situations on bootup by testing for is_array(). Do not ↵Ermal2010-11-021-3/+2
| | | | add anymore the 127.0.0.2 route its not needed anymore. Also during bootup bring up all interfaces so the assignment process can deal with them(Possibly should be done in another code flow!).
* Ticket #927. Increase timeout to gice mpd the time needed to exit gracefully.Ermal2010-10-151-1/+1
|
* Resolves #944. Actually bring down the vlan interface if it existed ↵Ermal2010-10-121-1/+1
| | | | previously. This is a regression from the ppp dance/requests/whatever.
* This one looks safe, and might improve speed. Add it back.jim-p2010-10-051-1/+1
|
* This ref should be safe toojim-p2010-10-051-1/+1
|
* Whoops this reference was good (for speed) and should stay.jim-p2010-10-051-1/+1
|
* More unneeded references.jim-p2010-10-051-3/+3
|
* Remove unneeded reference.jim-p2010-10-051-1/+1
|
* Remove support for this legacy code. The upgrade path handles this.Ermal2010-09-301-3/+0
|
* Restart dnsmasq first because dyndns might depend on it. Possibly these all ↵Ermal2010-09-221-3/+3
| | | | should be sent through evnets to check_reload_status
* Add as a search domain the domains suggested by dhcp.Ermal2010-09-161-0/+2
|
* Ticket #867. Flush the cache when restarting apinger and also when ↵Ermal2010-09-141-0/+4
| | | | rc.newwanip is called. also restart apinger earlier in to be on latest address asap.
* Use the new events mechanisms to dispatch events.Ermal2010-09-071-1/+1
|
* Do this check earlier rather than later, instead of moving the ↵Erik Fonnesbeck2010-09-031-1/+12
| | | | interface_bring_down call.
* Revert "Rearrange function calls for wireless to prevent killing ↵Erik Fonnesbeck2010-09-031-6/+5
| | | | | | hostapd/wpa_supplicant at the wrong time." This reverts commit e93385d06ddf0e2888b3f5ee5764992a19f99120.
* Revert "Ticket #867. Do not destory interfaces other than preventing a loop ↵Erik Fonnesbeck2010-09-031-5/+1
| | | | | | for ppp interfaces during interface configuration." This reverts commit 990fb7a9a9b03f744c56792011f1c1e2950ce764.
* Protect against wpa_supplicant dying when bringing down interfaces to change ↵Erik Fonnesbeck2010-09-031-0/+14
| | | | wireless regulatory configuration.
* Rearrange function calls for wireless to prevent killing ↵Erik Fonnesbeck2010-09-031-5/+6
| | | | | | | hostapd/wpa_supplicant at the wrong time. - Moved interface_wireless_configure call to after the new location of the interface_bring_down call to prevent it from killing hostapd and wpa_supplicant right after they start. - Replaced the original interface_wireless_configure call with the call to the wireless cloning function so that the interface still exists soon enough in the function.
* Ticket #843. Disable for now bringing down the interface unless we want to ↵Ermal2010-09-031-2/+4
| | | | destroy it. While this is not all correct this seems to help alleviate problems when the parent is shared on cloned types.
* Ticket #866 #632. Save old settings or actions to be taken for reconfiguring ↵Ermal2010-09-011-3/+5
| | | | a route/vip on a tmp file and make use that information when apply settings buttons is clicked. This makes the gui behave as expected.
* Ticket #867. Do not destory interfaces other than preventing a loop for ppp ↵Ermal2010-09-011-1/+5
| | | | interfaces during interface configuration.
* Correct binaries and find_dhclient_processErmal2010-08-311-2/+4
|
* Make this more readble.Ermal2010-08-311-1/+1
|
* Ticket #860. Honor the parameter if passed.Ermal2010-08-311-0/+3
|
* Ticket #860. Correct code for proxyarp/choparp starting. Not sure why php ↵Ermal2010-08-311-5/+10
| | | | did not bail at some code here missing curlies :).
* Actually it should test the other way.Ermal2010-08-301-1/+1
|
* Ticket #846. Do not try to add an interface to the bridge during an event of ↵Ermal2010-08-301-5/+7
| | | | LINK_UP.
* Allow carp interfaces to sit on top of aliases. Also add safety belts to ↵Ermal2010-08-261-1/+20
| | | | ipalias deletion for this to avoid breakage. Trigered-by: http://forum.pfsense.org/index.php/topic,27834.0.html
* Fixes #847. Check even interface groups before allowing deletion of an ↵Ermal2010-08-261-0/+19
| | | | interface. Also try to readd to a group an interface when configuring.
* Revert "Use get_real_interface here and compare to that to make it more ↵Erik Fonnesbeck2010-08-261-1/+1
| | | | | | generic instead of doing this wireless-specific stuff." which probably ended up doing some recursion in various cases, especially slowing down as it goes down a larger list in this foreach loop. This reverts commit b635c0601c65628807d844911adae3c4ef00d240.
* Tiny change to boot message to remove redundant info and make it pretty.gnhb2010-08-241-1/+1
|
* Add bwn to interface lists too.jim-p2010-08-231-1/+1
|
* Add run(4) to known wireless nics. Reported-by: ↵Ermal2010-08-231-1/+1
| | | | http://forum.pfsense.org/index.php/topic,27744.0.html
* When booting up do not try to configure ovpn[c|s] interfaces if present also ↵Ermal2010-08-201-1/+4
| | | | try to configure openvpn eariler just after the interfaces have been setup.
* Ticket #684. Dispatch the reloading of the interface in dial-on-demand case ↵Ermal2010-08-201-3/+2
| | | | to easy the GUI responsivess.
* Make dhcrelay GUI be simple and easy to use by collapsing the interface tabs ↵Ermal2010-08-191-1/+1
| | | | to a multiselect control. Remove proxydhcp option because it is broken and is not trivial to make it usable(if user request for it a reconsideration will be made). Allow multiple server ips on the server input box separated by commas. Also on the interface list do not show interfaces without an ip because dhcrelay will not be happy with them. Upgrade code is also included in this commit.
* Ticket #684. Actually when reconfiguring an interface send the destory flag ↵Ermal2010-08-191-1/+1
| | | | to avoid a loop with ppp-on-demand.
* Setup polling per interface rather only at bootup. This is a proper fix and ↵Ermal2010-08-191-2/+9
| | | | a optimization on large interface cases. Also setup_microcode and polling defaults before configuring interfaces.
* Fixes #88. Actually fix all the mess that was caused by setup_microcode() ↵Ermal2010-08-171-13/+51
| | | | which overwrote the whole decisions being made on boot from other code. Solve this by moving the setting of all interface capabilities to interface_configure() and just leaving microcode setup to setup_microcode. Also optimize and make more readble the polling setup if activated/deactivated. This also fixes the ticket issue because the settings are now kept after booting up and not overwritten by other code.
* Reshufling for better reading of code.Ermal2010-08-171-3/+2
|
* Ticket #88. When creating the bridge find the common flags needed related to ↵Ermal2010-08-171-4/+24
| | | | rxcsum/txcsum so that the bridge actually works.
* Also mark wlan cloned interfaces as altq capable.Ermal2010-08-161-1/+3
|
* Add l2tp where missing. Also add l2tp and igb to altq capable interfaces.Ermal2010-08-161-2/+3
|
* If mpd.conf files exists in the /conf directory, link to it instead ofgnhb2010-08-131-10/+14
| | | | | | | generating a new one from config.xml data. This allows power users to tweak mpd conf to their delight, and gives devs a way of testing out conf tweaks without needing to alter php code.
* Expose MRRU settings in the GUI for PPPoE (MLPPP).gnhb2010-08-131-0/+6
|
* Do not require a refernce passed because seems php likes to screw with it ↵Ermal2010-08-111-2/+2
| | | | internally. This should have be the second belt at Ticket #819.
* Add 8021.x preauth (rsn_preauth)Scott Ullrich2010-08-111-4/+10
|
* Fixes #684. Test file existence before trying to kill the process. Also ↵Ermal2010-08-101-3/+5
| | | | correct interface name passed as parameter to interface_configure function, it should fix another ticket as a byproduct.
* Use correct type so a proper config is generated. Reported ↵Ermal2010-08-101-3/+3
| | | | by:http://forum.pfsense.org/index.php/topic,25465.msg141966.html#msg141966
* Get the real flags set on the interface to make code below work properly! ↵Ermal2010-08-091-1/+1
| | | | Ticket #88.
OpenPOWER on IntegriCloud