confconsole: default route not saved when configuring a static IP

Bug #303498 reported by Liraz on 2008-11-29
Affects Status Importance Assigned to Milestone
TurnKey Linux
Fix Released
Alon Swartz

Bug Description

Jewok discovered that the default gateway is not setup correctly in /etc/network/interfaces when configuring a static IP with the configuration console.

Liraz (liraz-siri) on 2008-11-29
Changed in turnkeylinux:
assignee: nobody → alonswartz
importance: Undecided → High
status: New → Confirmed
Alon Swartz (alonswartz) wrote :

This issue has been solved, and a fix commited to the turnkeylinux code repository and package archive.
Version: confconsole_0.9.1+2+g5e40435

The fix will be included in all new appliances, and current appliances can update using APT.

Changed in turnkeylinux:
status: Confirmed → Fix Committed
Jim Ewald (jewald) wrote :

The latest patch version is generating a Python TypeError when setting a static IP address on the appliance. I set all four fields in the static IP GUI and then selcted <OK>. Here is the traceback:

Traceback (most recent call last):
  File "/usr/bin/confconsole", line 208, in <module>
  File "/usr/bin/confconsole", line 204, in main
  File "/usr/bin/confconsole", line 201, in loop
  File "/usr/bin/confconsole", line 144, in dialog_adv
  File "/usr/bin/confconsole", line 167, in _adv_staticip
    err - ifutil.set_ipconf(*input)
  File "/usr/lib/confconsole/", line 234, in set_ipconf
    net.set_staticip(addr, netmask, gateway)
TypeError: set_staticIP() takes exactly 3 arguments (4 given)

The /etc/network/interfaces file is not updated after this error occurs.

Alon Swartz (alonswartz) wrote :

oh my, what a blunder...
I've updated the code and archive repositories with a fix: confconsole_0.9.1+3+g6fb0bec

Jim Ewald (jewald) wrote :

I wanted to confirm that the latest patch is working correctly. Thanks!

Alon Swartz (alonswartz) wrote :

fixed along with alot of other confconsole fixes and improvements in 2009.02 release

Changed in turnkeylinux:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers