UPDATE - 2/26/2011 0912UTCThe new 2.1.1 core module (zentyal-core_2.1.1_all.deb or .tar.gz) which is available (download below) does indeed fix the gateway error. I love the manual method of installation, so I just downloaded the .tar.gz file and did a quick: $sudo ./configure && make && make install to update the package. Most users will just upgrade or update according to their likes. The version number in the dashboard also reflects 2.1.1
Manually download/install 2.1.1 zentyal-core package link: https://launchpad.net/~zentyal/+archive/2.1/+sourcepub/1525781/+listing-archive-extraThe GUI comes back with a script error when trying to add a gateway via the GUI. The following is a simple workaround until the code is corrected.
For those that are having problems adding a default gateway via the GUI, just make your way to the CLI (a terminal/console) and run the following command:
$ sudo route add default gw x.x.x.x.x eth1In this case, the
default gateway to the Inet is via
x.x.x.x (your ISP's GW address) and routes through the ethernet adapter
eth1...which is your WAN NIC.
This will bind eth1 to your ISP's gateway and will allow you to access the Inet. Replace the xxxxx and eth1 options with your own values of course
The following is the specific error. As you can see, it is a simple script error.
This bug hsa been reported and a fix is pending. - Fixed!
\n$VAR1 = bless( {
'-stacktrace' => 'Missing argument: IP address at /usr/share/perl5/EBox/Network/Model/GatewayTable.pm line 268
EBox::Network::Model::GatewayTable::validateRow(\'EBox::Network::Model::GatewayTable=HASH(0x7fa5845b6bf0)\', \'add\', \'EBox::Network::Model::GatewayTable=HASH(0x7fa5845b6bf0)\', \'filter\', \'\', \'ip\', 208.71.147.193, \'name\', \'airlogic\', ...) called at /usr/share/perl5/EBox/Model/DataTable.pm line 801
EBox::Model::DataTable::addRow(\'EBox::Network::Model::GatewayTable=HASH(0x7fa5845b6bf0)\', \'filter\', \'\', \'ip\', 208.71.147.193, \'name\', \'airlogic\', \'default\', \'on\', ...) called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 79
EBox::CGI::Controller::DataTable::addRow(\'EBox::CGI::Controller::DataTable=HASH(0x7fa585593980)\') called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 231
EBox::CGI::Controller::DataTable::_process(\'EBox::CGI::Controller::DataTable=HASH(0x7fa585593980)\') called at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 171
EBox::CGI::ClientRawBase::run(\'EBox::CGI::Controller::DataTable=HASH(0x7fa585593980)\') called at /usr/share/perl5/EBox/CGI/Run.pm line 119
EBox::CGI::Run::run(\'EBox::CGI::Run\', \'Network/Controller/GatewayTable\', \'EBox\') called at /usr/share/zentyal/cgi/ebox.cgi line 35
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler(\'Apache2::RequestRec=SCALAR(0x7fa5805a0200)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run(\'ModPerl::Registry=HASH(0x7fa5805a0368)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler(\'ModPerl::Registry=HASH(0x7fa5805a0368)\') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler(\'ModPerl::Registry\', \'Apache2::RequestRec=SCALAR(0x7fa5805a0200)\') called at -e line 0
eval {...} called at -e line 0
',
'-file' => '/usr/share/perl5/EBox/Network/Model/GatewayTable.pm',
'-text' => 'Missing argument: IP address',
'-line' => 268,
'-package' => 'EBox::Network::Model::GatewayTable',
'silent' => 0
}, 'EBox::Exceptions::MissingArgument' );