summaryrefslogtreecommitdiff
path: root/net/vlan.sh
Commit message (Collapse)AuthorAge
* Typo FixWilliam Hubbs2013-02-17
| | | | | | Reported-by: vitalyb@telenet.dn.ua X-Gentoo-Bug: 452544 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=452544
* net/vlan: checkbashisms.Robin H. Johnson2012-11-06
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* 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: net.lo, lots of scriptsRobin H. Johnson2012-01-08
| | | | | | | | | | | The program function in depend blocks is now able to search paths by itself. If passed multiple arguments or multiple calls, at least one of the arguments passed must be a program or a shell builtin (eg ip built into busybox). If a qualified path is specified, only that path will be checked, otherwise it will be checked as a builtin, then $PATH will be checked for the named binary (via type). Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net: make lookup of iproute2 dynamicWilliam Hubbs2012-01-07
| | | | | The iproute2, macvlan and vlan modules had several possible hard coded paths for the iproute2 binary. Now we look for it in the path.
* net/vlan: Fix prestop when device was hard-removed alreadyRobin H. Johnson2011-12-26
| | | | | | | | | During stop of an interface, if it has been removed already (eg hotunplug), not existing is fine. X-Gentoo-Bug: 395859 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=395859 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/vlan, net/macvlan: iproute2 is required for new VLAN configurationRobin H. Johnson2011-12-26
| | | | | | | | | | | | Since commit 683a21b0a in Feburary 2011, iproute2 has been required for new VLAN configuration. MACVLAN is also impossible to configure without iproute2. However we did not check if iproute2 was actually in the modules for a given interface, so it could end up hanging or giving weird errors. Check for iproute2 before usage now. X-Gentoo-Bug: 389437 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=389437 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/vlan: Fix mtu settingRobin H. Johnson2011-12-12
| | | | | | | | Fix minor shell typo that broke setting mtu on vlans. X-Gentoo-Bug: 392971 X-Gentoo-Bug-URL: https://bugs.gentoo.org/392971 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/vlan: respect txqueuelen/mac/broadcast/mtu options during creation.Robin H. Johnson2011-10-07
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Shutdown VLAN's before the actual/parent interfaceChristian Ruppert2011-09-21
| | | | | | | | | | | Make sure the VLAN interfaces as well as its rules will be removed prior to the actual/parent interface. The VLAN configs are gone in vlan_post_stop() already so we have to use vlan_pre_stop() instead. Reported-by: Bernd Bednarz <bernd.bednarz@avira.com> X-Gentoo-Bug: 380603 X-Gentoo-Bug-URL: https://bugs.gentoo.org/380603
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 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>
* fix detection of renamed vlan interfacesWilliam Hubbs2010-08-19
| | | | This fixes bug 327059, thanks to Jonathan for reporting this and for the patch.
* Use IFACE variable instead of iface.Daniel Mierswa2009-12-31
| | | | Signed-off-by: Daniel Mierswa <impulze@impulze.org>
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Fix vlans, #49.Roy Marples2008-04-01
|
* Merge net.OS into netRoy Marples2008-03-26