[ previous ] [ next ] [ threads ]
 
 From:  Manuel Kasper <mk at neon1 dot net>
 To:  Roberto Greiner <mrgreiner at gmail dot com>
 Cc:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall-dev] VLANs in 1.3
 Date:  Mon, 14 Dec 2009 19:15:48 +0100
On 14.12.2009, at 19:09, Roberto Greiner wrote:


have to add this command manually each time?

You can add it to the <system> section of your config.xml (use the backup/restore feature), wrapped
in <shellcmd> tags, like so:

<system>
    ...
    <shellcmd>/sbin/ifconfig re0 -vlanhwtag</shellcmd>
    <shellcmd>/sbin/ifconfig re1 -vlanhwtag</shellcmd>
</system>

See also: http://doc.m0n0.ch/handbook/faq-hiddenopts.html

- Manuel
smime.p7s (5.2 KB, application/pkcs7-signature)