Ticket #3083 (closed defect: fixed)
Double Standard Gateway Entry after installation
| Reported by: | r.hoelzemer@… | Owned by: | cperez@… |
|---|---|---|---|
| Milestone: | 2.2 | Component: | installer |
| Severity: | normal | Keywords: | double gateway entry |
| Cc: |
Description
After installation, there are two standard gateways configured in the "Gateways Configuration" list.
This happens when you have already configured the network card in debian-installer and use the same configuration later in the Zentyal install Wizard.
Let's assume for a momemt that i have choosen to configure my network card in the debian-installer manually with a gateway at 192.168.0.1, finished installation and rebooted.
Here's what happens:
After installing the Zentyal "Network Configuration" module, but before going through the Wizard, there is already a standard gateway listed in the "Gateways Configuration" with the name "default" and an IP address of "192.168.0.1" - perfect!
Now, if you go through the Zentyal first installation Wizard and use the same gateway address, another standard gateway appears in the "Gateways Configuration" list with the name "192.168.0.1" and an IP address of "192.168.0.1".
I usually delete the second entry and go on with my business, but I think that the Wizard could be a lot smarter here. One way could be to just check if some IP address is already configured in that list and skip creating a seconf entry. Another way, and I think previous EBox Versions (1.5) already did that, is for the wizard to pre-fill the configuration fields in the wizard with what is already there. This also would include dynamic/static configuration and of course ip address, network mask, gateway and nameserver.