summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
Commit message (Collapse)AuthorAgeFilesLines
...
* Change order slightly.Ermal Luçi2008-11-171-2/+1
|
* Introduce 2 new functionsErmal Luçi2008-11-161-3/+18
| | | | | | | find_interface_subnet and get_interface_subnet similar to their ip ones find_interface_ip and get_interface_ip to easy getting this info for dynamic interfaces.
* Update list of altq suppported interfaces with some of our custom internal ↵Ermal Luçi2008-11-161-1/+2
| | | | names wich actually are really ng_iface(4) type.
* Obey the dnsallowoverride option even for secondary dns on pppoe interface.Ermal Luçi2008-11-161-2/+2
|
* Use product_nameScott Ullrich2008-11-101-6/+6
|
* Try to use where possible filter_configure so upcoming event modifications ↵Ermal Luçi2008-11-081-2/+2
| | | | can be easily integrated.
* Call a backtrace and log it if we have a failed interface variable.Scott Ullrich2008-11-081-0/+1
|
* * Add interfaces_bring_up()Scott Ullrich2008-11-071-20/+29
| | | | | * Fix log_error (missinge else) * Remove blank line after ?> that ermal just added
* Better check if the knob is defined or has no value.Ermal Luçi2008-11-071-2/+2
|
* Reorder the calling.Ermal Luçi2008-11-071-2/+2
|
* * Log an error when an ifconfig up command is missing its interfaceScott Ullrich2008-11-071-88/+128
| | | | * Cleanup formatting
* * Use interface_bring_down to not duplicate codeErmal Luçi2008-11-071-31/+21
| | | | | * If we are reconfiguring check bridge/gif/gre interfaces if they need to be reloaded. * Invalidate array cache to avoid stale information
* * Rename link_int_to_bridge_interface to link_interface_to_bridgeErmal Luçi2008-11-071-1/+1
| | | | * Create two new function link_interface_to_{gif,gre}
* Surpress message when trying to remove alias addressSeth Mos2008-11-061-1/+1
|
* Fix typo.Ermal Luçi2008-11-051-1/+1
|
* Make sure to have an interface as a bridge member after reconfiguring.Ermal Luçi2008-11-051-0/+5
|
* Be smarter at finding the smallest mtu.Ermal Luçi2008-11-051-5/+16
|
* Fix mtu handling on bridge and lagg interfaces. Reported-by: SethErmal Luçi2008-11-051-16/+30
|
* Some better checks to avoid errors.Ermal Luçi2008-11-051-30/+40
|
* Do some better checking before acting on the bridge.Ermal Luçi2008-11-051-30/+42
|
* Add each member to the bridge individually rather than in one single command.Ermal Luçi2008-11-051-14/+10
|
* Restore correct stubScott Ullrich2008-10-241-3/+3
|
* Add stub functions for code that references old names(mostly pacakges).Ermal Luçi2008-10-231-0/+10
| | | | Suggested-by: Scott
* * Rename get_current_wan_address to get_interface_ipErmal Luçi2008-10-231-98/+27
| | | | | | * Rename get_real_wan_interface to get_real_interface * Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@ * Cleanup some code when passing or remove some unused one.
* Improve vlan interface code to try to activate as much as possible on the ↵Ermal Luçi2008-10-231-18/+3
| | | | parent, this allows to not maintain a supported list.
* Oops, use tunnel address not network.Ermal Luçi2008-10-191-2/+2
|
* Clenup some more when bringing down an interface.Ermal Luçi2008-10-191-1/+13
|
* Clear the arp entries for the interface going down.Ermal Luçi2008-10-191-0/+2
|
* Slightly change order of commands for dhcp.Ermal Luçi2008-10-191-2/+2
|
* Refactor some code so frontend does not need to know about details that ↵Ermal Luçi2008-10-191-68/+43
| | | | | | might change during development.
* style(9)Ermal Luçi2008-10-191-53/+84
|
* Move from $debugging to $g["debug"].Ermal Luçi2008-10-191-4/+4
|
* When interface is configured for pppoe and mtu is also configured then ↵Ermal Luçi2008-10-191-1/+9
| | | | | | adjust the pppoe mtu c orrespondingly as to us this means pppoe mtu and not parent interface mtu.
* Restore accidentally removed code with bigpond removal which is causing ↵Ermal Luçi2008-10-171-0/+12
| | | | issues with pppoe/pptp.
* * Remove bigpond support from backend.Ermal Luçi2008-10-061-78/+8
| | | | | * Use killbypid instead of sigkillbypid SIGUSR2 is not doing what is expected. * Actually start pppoe/pptp when the routing is called for this.
* Actually take a shorter route at saving the gateway.Ermal Luçi2008-10-041-1/+1
|
* Use correct interface to record gateway.Ermal Luçi2008-10-041-1/+1
|
* run hostap later in script, fixes ral(4) card difference in FreeBSD 7.0. ↵Chris Buechler2008-09-281-1/+1
| | | | | | Works with ath(4) also. Ticket #1813
* Take into consideration the subnet mask configured.Ermal Luçi2008-09-231-2/+2
|
* Use correct variable name for parent interface.Ermal Luçi2008-09-221-2/+2
|
* kill(1) does not need SIG in front of signals anymore. Though i do not think ↵Ermal Luçi2008-09-201-4/+4
| | | | mpd4 responds to SIGUSR[1,2] the same as mpd3.
* Seems that mtu and up parameters of ifconfig cannot be specified together, ↵Ermal Luçi2008-09-201-1/+2
| | | | at least on lagg(4) case.
* Disable the second call to the same script for configuring wireless ↵Ermal Luçi2008-09-151-1/+2
| | | | interfaces it seems redundant.
* Fix ppp(3G) backend code and make it possible to create more the one.Ermal Luçi2008-09-111-9/+31
| | | | | Although it needs to be though how would we want to setup something as failover with such setups since we cannot expect for them to be always connected. Maybe dial on request or some such might be needed!?
* * Rename $debug to $g['debug']Ermal Luçi2008-09-111-8/+9
| | | | | * Fix renamed functions call especially the wireless config * Fix some ppp code backend
* Mostly missed renaming and typos.Ermal Luçi2008-09-111-2/+2
| | | | | * Missed function call rename * This needs to be gif not gre
* Bring up to more sane config.Ermal Luçi2008-09-101-5/+13
|
* PPP forgotten knobs syncronization.Ermal Luçi2008-09-101-1/+1
|
* * Fixup stray dots('...') on bootup and add some comments since we do ↵Ermal Luçi2008-09-101-39/+104
| | | | | | | loading of the filters twice during bootup?! * Merge all interface related bootstraps under interfaces_configure so this allows us to handle propperly assigned bridge/gre/gif/.. devices that might are initialized later than assigned interfaces. * Make possible configuring multiple dial-out(ppp) interfaces/configs. Though i am not configdent on the quality of the ppp code that was imported before since GUI and backend have some inconsistencies in the fields. While i fixed most of them still 1 or 2 remain which needs propper investigation on the config.
* * Remove the wan word from most of the functions in this file.Ermal Luçi2008-09-101-55/+43
| | | | | * Remove the 's' from functions that deal only with one interface. * Some other fixes in general.
OpenPOWER on IntegriCloud