|
|
Message-ID: <20110307081808.GA24760@drozd.smutek.pl>
Date: Mon, 7 Mar 2011 09:18:08 +0100
From: Piotr Meyer <aniou@...tek.pl>
To: owl-dev@...ts.openwall.com
Subject: VLANs in Owl way?
I think about adding vlan (8021q) support to Owl's network scripts.
Task looking to be not so hard, code (http://wklej.to/Y5jZT) can be
copy-pasted (with cosmetic changes), only 'is_available' needs some
work (can we rely on sysfs on /sys presence?). But I have question:
Are following compatible with Owl way? This is standard approach
in others distros but I don't know what Owl say about modules loaded
automagically by scripts? In typical Owl kernel 8021q this module
is compiled-in and, with non-standard kernel, module can be explicitly
added to /etc/rc.d/rc.modules by admin.
if [ ! -d /proc/net/vlan ]; then
if ! modprobe 8021q >/dev/null 2>&1 ; then
echo $"No 802.1Q VLAN support available in kernel for device ${DEVICE}"
exit 1
fi
fi
--
Piotr 'aniou' Meyer
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.