summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
Commit message (Collapse)AuthorAgeFilesLines
* Remove wireless cards from ALTQ-capable interfaces, since ALTQ is broken on ↵Chris Buechler2015-03-281-4/+5
| | | | wlandev in FreeBSD 10.x at the moment. Ticket #4406
* Add option for wireless standard "auto", to omit "mode" entirely from ↵Chris Buechler2015-03-181-4/+10
| | | | ifconfig. This shouldn't be necessary, but specifying mode has proven to trigger driver problems that don't exist if it's left unspecified (such as FreeBSD PR 198680). Chosing "auto" fixes ath(4) BSS mode issues otherwise preventing it from connecting.
* txpower was disabled for good reason it would appear, it triggers syntax ↵Chris Buechler2015-03-131-1/+3
| | | | errors in some configurations. Disable it again since it's been disabled for years, and comment out the user-facing config portion for now since it doesn't do anything. Ticket #4516
* Set txpower since that seems to work fine now. Explicitly set authmode wpa ↵Chris Buechler2015-03-121-2/+5
| | | | here, though it's also handled by the supplicant/authenticator. Ticket #4516
* Destroy stf interface when 6rd or 6to4 tunnel is disabled. Fixes #4471Chris Buechler2015-03-051-45/+59
| | | | | Conflicts: etc/inc/interfaces.inc
* interface_netgraph_needed can miss setting found equals truePhil Davis2015-02-261-1/+2
| | | | | | | This routine seems to go looking to see if the passed-in interface is PPP-style. At the end, if it is not PPP-style then it calls pfsense_ngctl_detach. This foreach loop in its current state will always exit after the first iteration that is not mode "server". But it looks like it should look through all the 'pppoe' entries until it finds the interface or gets to the end. In theory the code will sometimes miss setting $found = true when it should have. And thus pfsense_ngctl_detach would get called later for a PPP-style interface. I noticed this while reviewing for code style guide - it is an example where the indenting shows the intention but there are no curlies to implement it.
* Log ifconfig commands used to setup wireless interfacesChris Buechler2015-02-261-0/+7
|
* remove old, unused codeChris Buechler2015-02-251-2/+0
|
* Initialize var and move unset outside the loopRenato Botelho2015-02-241-1/+3
|
* Do not request prefix delegation if no tracking interfaces are setup tok-paulius2015-02-241-14/+17
| | | | use it. Ticket #4436
* Fixes #4390 Properly return the vip subnet now that the CARP might not match ↵Ermal LUÇI2015-02-111-8/+6
| | | | its parent interface subnet.
* Fixes #4389 The VIP interfaces cannot be assigned since they are just an ↵Ermal LUÇI2015-02-111-8/+2
| | | | identification of the VIP for tracking. Consider that when configuring gif/gre. Also on bridges you cannot set a vip interface as its member.
* Random text typosPhil Davis2015-02-111-8/+8
| | | | that I noticed.
* Fixes #4397 Make mtu configuration before the ip address assignment. This ↵Ermal LUÇI2015-02-101-45/+46
| | | | fixes the issues of link routes having the wrong mtu configured on them.
* Properly calculate the 6rd default gateway honoring netmasks other than /32Ermal LUÇI2015-02-021-1/+5
|
* Fix typo in function nameRenato Botelho2015-01-221-1/+1
|
* Fixes #3281 do not undo any changes already done for gif/gre interface.Ermal LUÇI2015-01-101-9/+13
|
* some lagg modes are missing vlanmtu, but work fine with VLANs. Work around ↵Chris Buechler2015-01-081-0/+4
| | | | it for now at least. Ticket #4186
* split is deprecated move to explodeErmal LUÇI2015-01-071-4/+4
|
* Remove useless check, CARP does not depend of interface having another IP ↵Renato Botelho2015-01-061-16/+0
| | | | set before
* Revert "FreeBSD fails to set advskew back to 0 after you set it to any other"Renato Botelho2015-01-061-16/+4
| | | | | | A patch was added to allow set advskew back to 0 This reverts commit eea2ad5d61b2cbcf2957207fb0f13769c203cb36.
* Correct issue with not reloading CP properly on calling interface configure.Ermal LUÇI2014-12-221-2/+3
|
* Fix issue reported on https://forum.pfsense.org/index.php?topic=85737.0Ermal LUÇI2014-12-221-1/+1
|
* Check if interface exist before try to add it to groupRenato Botelho2014-12-181-2/+3
|
* Make logic more visible as suggested by ErmalRenato Botelho2014-12-161-1/+6
|
* Teach interface_vip_bring_down() to deal with IP Alias over CARPRenato Botelho2014-12-161-1/+7
|
* Don't try to launch 3gstats unless it's on a valid device.Chris Buechler2014-12-041-2/+4
|
* replace spaces with tabsChris Buechler2014-12-041-2/+2
|
* After discussion with Ermal, remove this to force consumers to send thingsChris Buechler2014-12-041-7/+0
| | | | | properly. I fixed the scenario in Unbound where it was sending IPs to these functions rather than an interface, so this has no functional diff.
* change the ordering of dhcpd_configure and unbound_configure here, claims on ↵Chris Buechler2014-12-041-3/+3
| | | | forum it fixes issue I can't seem to replicate.
* reload Unbound here, fixes some instances of PD-assigned v6 IPs missing from ↵Chris Buechler2014-12-021-0/+3
| | | | unbound.conf
* If get_interface_ip(v6) is passed an IP, return the IP.Chris Buechler2014-12-021-0/+8
| | | | | | Properly set up interface binding for v6 link local IPs. Ticket #4021 except had to comment out the fix for now because of #4062 to avoid config breakage.
* Preserve exit code lost from s/exit/return/Ermal LUÇI2014-12-021-1/+1
|
* Comment out copy paste of v4 code. No need to delete arp entries on v6.Ermal LUÇI2014-12-021-1/+1
|
* Comment out copy paste of v4 code. No need to delete arp entries on v6.Ermal LUÇI2014-12-021-1/+1
|
* Bring back the old way of waiting for 3 times of 10seconds on bootup for a ↵Ermal LUÇI2014-11-281-6/+4
| | | | ppp type interface to come up. while here also do bringup of virtual interfaces only when not booting
* Use function for determining if its ppp typeErmal LUÇI2014-11-281-7/+1
|
* Cleanup some code and use function for easier managementErmal LUÇI2014-11-281-25/+3
|
* Fixes #4040 for pppoe use static route with -iface option to help when more ↵Ermal LUÇI2014-11-271-0/+19
| | | | than one pppoe has the same gateway. Also kill states when reloading apinger to catch up with new route
* Correct logic of skipping for gif/gre/bridge on top of _vips. Even though ↵Ermal LUÇI2014-11-271-3/+3
| | | | this is not anymore a problem in 10 since the vip is on the physical interface but for now its ok.
* Actually comment this code out since it causes more troubles than solves for ↵Ermal LUÇI2014-11-261-1/+3
| | | | any type
* Make at least the code correct here even though it does not make sense on ↵Ermal LUÇI2014-11-261-1/+2
| | | | what it does!
* Mute this since only spams logs when interface is not thereErmal LUÇI2014-11-261-1/+1
|
* Move these functions nearby since thy are relatedErmal LUÇI2014-11-261-18/+18
|
* Actually get the correct value here!Ermal LUÇI2014-11-261-1/+1
|
* Actually consider parentmtu 0 here to get the real value when unassginedErmal LUÇI2014-11-261-1/+1
|
* Properly respect other configured MTUs for other vlans. Properly respect ↵Ermal LUÇI2014-11-261-9/+14
| | | | parent of vlan MTU if configured. Also avoid errors when possible. This helps VLANs MTU handling but all the other interfaces as gre/gif/... needs the same handling. It is better to require reboot on MTU changes especially on complex configurations.
* Partially revert the previous modification on vlan mtu. The function job is ↵Ermal LUÇI2014-11-261-11/+5
| | | | to find the biggest mtu between vlans and let it do that
* convert_real_interface_to_friendly_interface_name() goes and checks the ↵Ermal LUÇI2014-11-261-2/+5
| | | | parent and this gives wrong information 99.9 percent of the time on scenarios like when this is called for unassigned vlans etc, while its real purpose is just to check if the interface is assigned and return the intermeddiate/config name of the interface. Leave the get_parent_option there in the function but it needs to be asked specifically for.
* Skip the interface being configured from the list to check the mtuErmal LUÇI2014-11-261-2/+5
|
OpenPOWER on IntegriCloud