aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2011-12-26net: Add up_before_preup variable for CAN devicesRobin H. Johnson
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>
2011-12-13net/iproute2: Support routing policy for IPv6 per bug #385833Robin H. Johnson
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>
2011-12-12Tuntap: add iproute2 supportSalah Coronya
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
2011-11-14net.example: Fix the bridge configuration exampleWilliam Hubbs
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
2011-11-12net example: fix up grammarMike Frysinger
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>
2011-10-29Use pattern rules instead of suffix rulesWilliam Hubbs
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.
2011-10-26Add macvlan supportStef Simoens
X-Gentoo-Bug: 384029 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=384029
2011-10-20further clean up OS differences in makefilesMike Frysinger
No need for if() logic. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-10-19Make variable references in Makefiles consistentWilliam Hubbs
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.
2011-10-18consolodate MakefilesWilliam Hubbs
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
2011-04-26change udhcpc support to busybox udhcpcWilliam Hubbs
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
2011-04-19[oldnet] Bug #363959: Improve plug_timeout ifplugd/netplugd code.Robin H. Johnson
- 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>
2011-04-15revert changes for bug #292894William Hubbs
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
2011-04-10bring up the loopback interface earlierWilliam Hubbs
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>
2011-04-09add fallback_routes support to network scriptsWilliam Hubbs
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
2011-03-29Bug #360963: Improve interface naming/set_name_type documentation on new ↵Robin H. Johnson
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>
2011-02-22net/ethtool: official interface for changing ethtool params (bug #195479)Robin H. Johnson
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
2011-02-21net/vlan: update to use modern iproute2 interfaceRobin H. Johnson
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
2011-01-17more whitespace cleanupMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-12Final documentation cleanup for updated bridge code.Robin H. Johnson
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'
2010-12-11Merge support for Routing Policy Database (RPDB)Robin H. Johnson
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.
2010-12-11Revamp of bridging code.Robin H. Johnson
- 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.
2010-07-28fix bug #330173William Hubbs
This fixes a typo in the comments in net.example.
2010-07-12Fix bug #301237, update example to list proper package for mii-toolJory A. Pratt
2010-01-08random spelling fixesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-12-21Fix comments.Christopher Head
2009-12-21Remove non working bash sequence expansion examples.Roy Marples
2009-10-11Multihomed rules show not be applied to the interface, Gentoo #273303.Roy Marples
2009-08-17Fix exampleRoy Marples
2009-06-05Ignore more fooRoy Marples
2008-12-04Punt .gitignore files.Roy Marples
2008-09-19Allow configuration of bond via extra sysfs entries, #105.Roy Marples
2008-09-18Enable bonding via sysfs, #104 thanks to Wolfram SchlichRoy Marples
2008-06-03Let ifdown control all interfaces.Roy Marples
2008-05-09Add ifdown_eth0=NO so that the interface stays up for WakeOnLan, Gentoo #220875Roy Marples
2008-03-26Ignore more files.Roy Marples
2008-03-26use $CP and $SED instead of cp and sedRoy Marples
2008-03-26Merge doc dirs.Roy Marples