aboutsummaryrefslogtreecommitdiff
path: root/net
AgeCommit message (Collapse)Author
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
2009-01-21Allow wpa_cli_$IFACE to too send args to wpa_cli.Roy Marples
2009-01-05Remove leading and trailing space on the ctrl_interface line.Roy Marples
2008-12-23Whitespace.Roy Marples
2008-12-23Allow working with the new ctrl_iface=DIR=foo directive.Roy Marples
2008-12-04Punt .gitignore files.Roy Marples
2008-10-28Style and typo.Roy Marples
2008-10-26Don't quote $tunnel, Gentoo #218123.Roy Marples
2008-10-10Shorten common messages for prefixed output.Roy Marples
2008-09-21Typo.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-09-18Allow an empty bridge with no options, Gentoo #237485.Roy Marples
2008-09-04Fix iwconfig parsing on Linux, #111 thanks to Andrew Gaffney.Roy Marples