summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* oldnet: add firewalld supportDoug Goldstein2012-11-10
|
* Oldnet: make carrier timeout documentation consistentWilliam Hubbs2012-10-28
|
* oldnet: document the carrier_timeout optionWilliam Hubbs2012-10-28
|
* Add documentation for subsuming supportWalter2012-10-16
| | | | | X-Gentoo-Bug: 428604 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=428604
* Bug #427152: Port of VLAN code to sysfs/iproue2 from vconfig lost the ↵Robin H. Johnson2012-07-20
| | | | | | ability to create different vlans with the same ID but different interfaces on a single system. Implement it now. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net: clarify how to prefer ifconfig over iproute2William Hubbs2012-06-06
| | | | | | reported-by: <vsync@quadium.net> X-Gentoo-Bug: 417899 X-Gentoo-Bug-Url: https://bugs.gentoo.org/show_bug.cgi?id=417899
* doc/net.example: Add warnings that changing MAC on bonds can break things.Robin H. Johnson2012-03-19
| | | | | | | | | | | | | In most cases, changing the MAC on a bond manually is wrong. The bonding module will do it as needed to failover between interfaces, or to get multiple interfaces to correctly have the same MAC. We cannot however enforce it, as there are some corner cases where it is actually valid (hardware that requires specific MAC configuration, like some quad-port NICs). Suggested-by: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* doc/net.example: Update bonding exampleRobin H. Johnson2012-03-19
| | | | | | | | | | | | | The newer bonding code using sysfs does not clearly show the most common bond parameter: mode Also include a path to the referenced kernel documentation for the other settings. X-Gentoo-Bug: 408333 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=408333 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net: fix documentation for interface dependenciesWilliam Hubbs2012-02-18
| | | | | | | | | The network script had a separate case for handling network interface dependencies using variables of the form rc_before/after/use/need/provide_ifname. This is unnecessary since openrc already supports rc_net_ifname_need/use/before/after/provide. This commit updates the documentation to use this more generally supported form.
* net: allow parameters to a single address configRobin H. Johnson2012-01-13
| | | | | | | | | | | | | | | | In the case of a single line of configuration, where the address has parameters, the parameters were being treated as seperate addresses. Eg: config_eth0="4321:0:1:2:3:4:567:89ab/64 nodad home preferred_lft 0" Also document usage of parameters in the net example, and note that multiple addresses on a single line cannot be mixed with parameters. Newlines are required to seperate the addresses. X-Gentoo-Bug: 398827 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=398827 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net: document up_before_preup for BSDWilliam Hubbs2011-12-28
|
* net: clean up documentation for up_before_preupWilliam Hubbs2011-12-28
|
* net: Add up_before_preup variable for CAN devicesRobin H. Johnson2011-12-26
| | | | | | | | | | | | Historically, we have tried to up interfaces before running preup, so that the kernel setups up the device and makes things like ethtool work (some hardware cannot be correct probed until then). However this ends up breaking other hardware, so a variable has been introduced to allow the up prior to preup to be disabled: up_before_preup_IFVAR=no X-Gentoo-Bug: 389475 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=389475 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/iproute2: Support routing policy for IPv6 per bug #385833Robin H. Johnson2011-12-13
| | | | | | | | | For creation of routing policy entries for IPv6, the family must be explicitly specified to 'ip'. X-Gentoo-Bug: 385833 X-Gentoo-Bug-URL: https://bugs.gentoo.org/385833 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Tuntap: add iproute2 supportSalah Coronya2011-12-12
| | | | | | | | This patch was modified by William Hubbs <williamh@gentoo.org> to document the new usage in net.example. X-Gentoo-Bug: 394281 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=394281
* net.example: Fix the bridge configuration exampleWilliam Hubbs2011-11-14
| | | | | | | | | | The example of how to configure the bridge was invalid. It showed invalid timer settings along with turning off stp. This update shows how to turn on stp and set the timer settings to the defaults. Reported-by: Sergey S. Starikoff < Ikonta@yandex.ru> X-Gentoo-Bug: 389209 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=389209
* net example: fix up grammarMike Frysinger2011-11-12
| | | | | | | X-Gentoo-Bug: 390295 X-Gentoo-Bug-URL: https://bugs.gentoo.org/390295 Reported-by: Patrick Lauer <patrick@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Use pattern rules instead of suffix rulesWilliam Hubbs2011-10-29
| | | | | | Rework the makefiles to use pattern rules instead of suffix rules. This is the preferred way to write implicit rules according to the gnu make manual.
* Add macvlan supportStef Simoens2011-10-26
| | | | | X-Gentoo-Bug: 384029 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=384029
* further clean up OS differences in makefilesMike Frysinger2011-10-20
| | | | | | No need for if() logic. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Make variable references in Makefiles consistentWilliam Hubbs2011-10-19
| | | | | | Some variable references were written as $(foo), but the majority were written as ${foo}. This commit changes all of the variable references to using braces.
* consolodate MakefilesWilliam Hubbs2011-10-18
| | | | | | | | | | The tree contained many operating system specific Makefiles which were being included in other Makefiles. This commit removes those and adds the code to the makefiles which included them using make's conditional processing. X-Gentoo-Bug: 387441 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=387441
* change udhcpc support to busybox udhcpcWilliam Hubbs2011-04-26
| | | | | | | | | | | This updates the udhcpc support to use busybox's udhcpc instead of the stand alone version. I would like to thank jackieku <kjackie@gmail.com> for assisting with this update. X-Gentoo-Bug: 205286 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=205286
* [oldnet] Bug #363959: Improve plug_timeout ifplugd/netplugd code.Robin H. Johnson2011-04-19
| | | | | | | | - Add support for a global plug_timeout setting to match the documentation. - Update the documentation to also show per-interface configuration. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* revert changes for bug #292894William Hubbs2011-04-15
| | | | | | | | This is being done because these dependency changes caused a regression. We will need to revisit the previously mentioned bug. X-Gentoo-Bug: 363693 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=363693
* bring up the loopback interface earlierWilliam Hubbs2011-04-10
| | | | | | | | | | | | | | | For most situations, the loopback interface can depend on root instead of localmount, so this patch makes that happen. It also adds comments to the net.example files explaining when a user might want to change this and giving an example. I would like to thank Robin Johnson for the original patch and suggested examples. X-Gentoo-Bug: 292894 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=292894 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* add fallback_routes support to network scriptsWilliam Hubbs2011-04-09
| | | | | | | | | | | | Add support for optional fallback_routes_* variables in the network scripts. This is similar to the fallback_route_* support in baselayout-1. However, if you do not have fallback_routes set for an interface but you do have routes set, that setting will be used, so you do not need this variable unless you want the fallback routes to be different from the primary routes. X-Gentoo-Bug: 250978 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=250978
* Bug #360963: Improve interface naming/set_name_type documentation on new ↵Robin H. Johnson2011-03-29
| | | | | | | | | vlan code. This is primarily for users with set_name_type settings from previous sysadmins can easily see what changes to make. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/ethtool: official interface for changing ethtool params (bug #195479)Robin H. Johnson2011-02-22
| | | | | | | | | | Implement a consistent interface for changing ethtool parameters, as suggested in bug 195479. All variable names are based on the long option to ethtool to set each group of parameters. Multiple entries seperated by newlines are permitted for variable values. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 195479
* net/vlan: update to use modern iproute2 interfaceRobin H. Johnson2011-02-21
| | | | | | | | | | | | This replaces the vlan setup code that previously used the old vconfig binary with a new implementation using the iproute2 interface. vconfig does not handle many of the newer setups. No automatic migration path is provided, as altering the configuration is non-trivial. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Written-by: Guillaume Castagnino <casta@xwing.info> X-Gentoo-Bug: 346365
* more whitespace cleanupMike Frysinger2011-01-17
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Final documentation cleanup for updated bridge code.Robin H. Johnson2010-12-12
| | | | | | | | Specifically document how to handle the case of explicitly starting a bridge and then dynamically adding interfaces to it. brctl_br0='' bridge_add_eth0='br0'
* Merge support for Routing Policy Database (RPDB)Robin H. Johnson2010-12-11
| | | | | | | | | | | | | | | | | | | | This can be used for multi-homed connections and other advanced routing in Linux. See the documentation links for more information about doing this in linux. The code was a originally pure addon into the conf.d/net files, written in mid-2004 for doing multi-homing between two internet connections. I have finally cleaned this up and integrated it. Thanks to Jonathan Kwan for giving me the original impetus to develop this for Gentoo (it was his dual internet connections...). In the intervening years, it was a example of postup/postdown in the net.example file, however that suffered from a few corner case issues. If you were using the code from net.example, please see the updated section 'Advanced Routing' on syntax, and drop your old function blocks. Additionally, note that the rules added are now directly saved for removal when the interface is taken down.
* Revamp of bridging code.Robin H. Johnson2010-12-11
| | | | | | | | | | | - Use sysfs to read bridge information from the system instead of parsing the brctl outputs. - Allow setting of all bridge configuration parameters using new sysfs methods, modelled after bonding configuration. Also works for per-port bridge interface parameters. - Document pre-starting an empty bridge for dynamic add. - Check for interface existence before adding to bridge. - Should fix bug #293046, #309185.
* fix bug #330173William Hubbs2010-07-28
| | | | This fixes a typo in the comments in net.example.
* Fix bug #301237, update example to list proper package for mii-toolJory A. Pratt2010-07-12
|
* random spelling fixesMike Frysinger2010-01-08
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix comments.Christopher Head2009-12-21
|
* Remove non working bash sequence expansion examples.Roy Marples2009-12-21
|
* Multihomed rules show not be applied to the interface, Gentoo #273303.Roy Marples2009-10-11
|
* Fix exampleRoy Marples2009-08-17
|
* Ignore more fooRoy Marples2009-06-05
|
* Punt .gitignore files.Roy Marples2008-12-04
|
* Allow configuration of bond via extra sysfs entries, #105.Roy Marples2008-09-19
|
* Enable bonding via sysfs, #104 thanks to Wolfram SchlichRoy Marples2008-09-18
|
* Let ifdown control all interfaces.Roy Marples2008-06-03
|
* Add ifdown_eth0=NO so that the interface stays up for WakeOnLan, Gentoo #220875Roy Marples2008-05-09
|
* Ignore more files.Roy Marples2008-03-26
|
* use $CP and $SED instead of cp and sedRoy Marples2008-03-26
|
* Merge doc dirs.Roy Marples2008-03-26