Author Topic: pppoe on vlan  (Read 1666 times)

arisan

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
pppoe on vlan
« on: September 10, 2012, 07:02:55 pm »
PPPoE can be configured on a vlan?

zentyal 2.2.6
############errors#############
user@user:~$ tail -f /var/log/zentyal/zentyal.log
                 'source' => 'state',
                 'compMessage' => undef,
                 'level' => 'info',
                 'dispatchers' => [
                                    'any'
                                  ],
                 'timestamp' => 1347296248,
                 'duration' => 0,
                 'message' => 'Zentyal está activo y ejecutándose'
               }, 'EBox::Event' );
2012/09/10 12:59:04 INFO> GlobalImpl.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: network antivirus bwmonitor dhcp dns ids openvpn samba squid trafficshaping remoteservices monitor firewall captiveportal
2012/09/10 12:59:04 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: network
2012/09/10 12:59:05 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command set -e
/sbin/sysctl -q -w net.ipv4.conf.all.rp_filter=0
/sbin/sysctl -q -w net.ipv4.conf.eth0.rp_filter=0
/sbin/sysctl -q -w net.ipv4.conf.vlan296.rp_filter=0
/sbin/sysctl -q -w net.ipv4.conf.eth1.rp_filter=0
/sbin/sysctl -q -w net.ipv4.conf.vlan3391.rp_filter=0 failed.
Error output: error: "net.ipv4.conf.vlan3391.rp_filter" is an unknown key

Command output: .
Exit value: 255
2012/09/10 12:59:05 ERROR> GlobalImpl.pm:612 EBox::GlobalImpl::__ANON__ - Failed to save changes in module network: root command set -e
/sbin/sysctl -q -w net.ipv4.conf.all.rp_filter=0
/sbin/sysctl -q -w net.ipv4.conf.eth0.rp_filter=0
/sbin/sysctl -q -w net.ipv4.conf.vlan296.rp_filter=0
/sbin/sysctl -q -w net.ipv4.conf.eth1.rp_filter=0
/sbin/sysctl -q -w net.ipv4.conf.vlan3391.rp_filter=0 failed.
Error output: error: "net.ipv4.conf.vlan3391.rp_filter" is an unknown key

Command output: .
Exit value: 255
2012/09/10 12:59:05 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: antivirus
2012/09/10 12:59:10 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: bwmonitor
2012/09/10 12:59:10 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: dhcp
2012/09/10 12:59:11 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: dns
2012/09/10 12:59:12 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: ids
2012/09/10 12:59:13 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: openvpn
2012/09/10 12:59:21 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: samba
2012/09/10 12:59:23 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: squid
2012/09/10 12:59:29 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: trafficshaping
2012/09/10 12:59:29 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: remoteservices
2012/09/10 12:59:30 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: monitor
2012/09/10 12:59:32 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: firewall
2012/09/10 12:59:34 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: captiveportal
2012/09/10 12:59:35 ERROR> GlobalImpl.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: network
2012/09/10 12:59:35 INFO> CaptiveDaemon.pm:233 main:: - Starting Captive Portal Daemon


thanks for the help

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: pppoe on vlan
« Reply #1 on: March 07, 2013, 06:24:13 pm »
could you try this patch?

https://github.com/Zentyal/zentyal/commit/e010c8294b32abe487d434b6b71a805f32f849df

You can patch your machine with the following:

Code: [Select]
wget https://raw.github.com/Zentyal/zentyal/e010c8294b32abe487d434b6b71a805f32f849df/main/network/src/EBox/Network.pm
sudo cp Network.pm /usr/share/perl5/EBox/Network.pm
sudo service zentyal apache restart

And try again.

Thanks in advance!
Zentyal Server Lead Developer