aboutsummaryrefslogtreecommitdiff
path: root/net
AgeCommit message (Collapse)Author
2011-07-04eat trailing whitespaceMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-28net: ccwgroup: smooth up/down processMike Frysinger
We need to bring the link up ourselves after we've properly configured the device. The common code tries to bring the link up itself, but it does so before things are configured, and so it ends up failing. When shutting down, we need to wait for the kernel to finish destroying the interface. Otherwise, when doing a restart, openrc is quick enough to tell the kernel to destroy things, but then start trying to bring it back up before the kernel has finished. X-Gentoo-Bug: 367467 X-Gentoo-Bug-URL: http://bugs.gentoo.org/367467 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-05-16net:bonding small style change for readabilityWilliam Hubbs
2011-05-16Do not add slaves to bond interface if they are already addedKfir Lavi
X-Gentoo-Bug: 366653 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=366653 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2011-05-16net: ccwgroup: forward port changes from baselayout-1Mike Frysinger
Quite a bit of work happened in baselayout-1 on the ccwgroup module, but seems it didn't make it into openrc. So forward port all the existing code so we can work with more than just qeth and layer2 options. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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-07fix typo in ethtool.shWilliam Hubbs
This was causing the ethtool interface to not work. X-Gentoo-Bug: 360481 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=360481
2011-03-27remove bashism from ethtool moduleMarc Joliet
X-Gentoo-Bug: 360367 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=360367
2011-03-18net: bonding: avoid using bash string replaceMike Frysinger
X-Gentoo-Bug: 359311 X-Gentoo-Bug-URL: http://bugs.gentoo.org/359311 Reported-by: Raffaello D. Di Napoli <fastijum@gmail.com> Signed-off-by: Mike Frysinger <vapier@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/iproute2: Pass required explicit -6 for IPv6 tunnels (#347657)Robin H. Johnson
Tunnel modes ipip6 and ip6ip6 require an explicit family selection for the ip tunnel call. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 347657
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-02-12fix typo in iproute2 moduleChristian Wetzig
X-Gentoo-Bug: 354511 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=354511
2011-02-05bridge.sh: use correct POSIX test, = not ==Christian
X-Gentoo-Bug: 353124 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=353124
2011-01-17more whitespace cleanupMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-15Move the ip rule extra output to verbose mode only, and support verbose ↵Robin H. Johnson
output on addresses and routes.
2010-12-15Fix pointopoint->peer for iproute.Robin H. Johnson
2010-12-15Fix pointopoint typo in old ifconfig setup.Robin H. Johnson
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-12-06Bug #345281: If wpa_supplicant is built w/ USE=dbus, we need to start after ↵Robin H. Johnson
DBus is up.
2010-11-18Revert "allow ifplugd to work on wireless interfaces"William Hubbs
This reverts commit 4ea75dd1d6c1e475f103f027fd05861d237add4d. This caused a regression, see bug #345795. Ifplugd is only designed to support wireless interfaces that use the older wireless extentions.
2010-10-31ensure bonding interface is down before we attempt to configure, alsoJory A. Pratt
mode has to be configure before any other arguements are passed. Thanks Ed Wildgoose <gentoo@wildgooses.com> for patch.
2010-09-14allow ifplugd to work on wireless interfacesWilliam Hubbs
this fixes bug #335494.
2010-09-02Revert "fix bug 266395"William Hubbs
This reverts commit 1a188f8f725186b2c2d6d7c67e79c2ff5ea9d05e. This revert fixes bug #334663.
2010-08-19fix detection of renamed vlan interfacesWilliam Hubbs
This fixes bug 327059, thanks to Jonathan for reporting this and for the patch.
2010-08-18fix bug 266395William Hubbs
Do not stop wpa_supplicant or wpa_cli if they are in the background. Thanks to Slava Gorbunov for the patch.
2010-08-13Fixes bug #332383. Thanks Lutz Heermann.Anthony G. Basile
2010-08-13Fix bug #332181. Thanks Lutz Heermann.Anthony G. Basile
2010-08-09allow ip to be in /sbin or /binWilliam Hubbs
This makes it possible for the "ip" program in iproute2 to be installed in /sbin or /bin.
2010-07-07fix metricWilliam Hubbs
This change was also taken from Roy Marples' git.
2010-03-30Allow dhclient per $IFACE arguments.Seth Robertson
2010-03-24Try and describe bonding errors a bit more.Roy Marples
2010-02-09Allow bridge interfaces to be called bridge.Trevor Summers Smith
2010-01-08random spelling fixesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-12-31Use IFACE variable instead of iface.Daniel Mierswa
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
2009-12-05Support phy80211, fixes #209.Alon Bar-Lev
2009-11-25Only add metric to dhcpcd if not given.Roy Marples
Fixes Gentoo #294312
2009-11-04Fix ppp options ordering.Nao Nakashima
Fixes #205.
2009-09-04Timeout for ipv6 addresses being tentative.Roy Marples
2009-07-08Apply MTU and txqueuelen after creating the tunnel.Roy Marples
2009-06-01nexthop routes don't use metricsRoy Marples
2009-05-28Ignore more fooRoy Marples
2009-05-23Move non compiled libraries from /lib/rc to /libexec/rcRoy Marples
OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well.
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-23Fix logic, thanks to Maryasin SemenRoy Marples
2009-04-19Allow family on routes, #152Roy Marples