Univention Bugzilla – Attachment 3388 Details for
Bug 22967
VLAN-Konfiguration über UCR
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
VLAN-Support für UCR-Module interfaces.py
vlan.patch (text/plain), 465 bytes, created by
Jan Christoph Ebersbach
on 2011-07-06 17:53 CEST
(
hide
)
Description:
VLAN-Support für UCR-Module interfaces.py
Filename:
MIME Type:
Creator:
Jan Christoph Ebersbach
Created:
2011-07-06 17:53 CEST
Size:
465 bytes
patch
obsolete
>--- interfaces.py.orig 2011-07-06 16:13:00.000000000 +0200 >+++ interfaces.py 2011-07-06 16:22:30.000000000 +0200 >@@ -41,6 +41,11 @@ > > def start_iface(iface): > if iface: >+ # configure VLAN >+ vlan = iface.split('.') >+ if len(vlan) == 2 and vlan[0].strip() and vlan[1].strip(): >+ os.system('modprobe 8021q') >+ os.system('vconfig add %s %s >/dev/null 2>&1' % (vlan[0].strip(), vlan[1].strip())) > os.system('ifup %s' % iface) > > def restore_gateway(gateway):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 22967
: 3388