The error message says it can't set the default gateway. I'm using static IP addresses and I can ping stuff on the internet and on my network, ifconfig is OK. "route -n" gives the correct gateway - stating the obvious.. Specified stage3 from CD after it failed to download stage3 from the mirror. Exception received: DefaultRouteError :FATAL: configure_networking: Could not set the default route! Please submit a bug report (after searching to make sure it's not a known issue and verifying you didn't do something stupid) with the contents of /var/log/installer.log.fail ed, /tmp/installprofile.xml, the last ~50 lines of /tmp/compile_output.log, and the version of the installer you used (release or CVS snapshot w/ date) # less /installer.log.failed GLI: September 04 2006 22:58:20 - Gentoo Linux Installer version 0.4.1 GLI: September 04 2006 22:58:20 - Setting root password. GLI: September 04 2006 22:58:20 - Livecd root password set. GLI: September 04 2006 22:58:20 - Exception received during pre-install function '<bound method GLIClientController.configure_networking of <GLIClientController(Thread-1, sta rted daemon)>>': DefaultRouteError :FATAL: configure_networking: Could not set the default route! GLI: September 04 2006 22:58:20 - Traceback (most recent call last): GLI: September 04 2006 22:58:20 - File "/opt/installer/GLIClientController.py", line 111, in run step() GLI: September 04 2006 22:58:20 - File "/opt/installer/GLIClientController.py", line 369, in configure_networking raise GLIException("DefaultRouteError", 'fatal','configure_networking', "Could not set the default route!") GLI: September 04 2006 22:58:20 - GLIException: DefaultRouteError :FATAL: configure_networking: Could not set the default route! /tmp/installprogfile.xml correctly says: <default-gateway interface="eth0"> 192.168.10.102 </default-gateway>
I just tested this. 'route' is actually returning non-zero in this case. It happens when you try to add a default route with a gateway that is already in the routing table. For example, if you already had an IP through DHCP, or you ran the installer twice with the static IP information. I'm not sure exactly how to handle this one. I suppose we could call 'route del default gw 1.2.3.4' before calling 'route add default gw 1.2.3.4'. This appears to work properly (doesn't remove any other "default" route). Anyone have any objections?
I have allowed it to use the network config acquired via dhcp and that gets over the error. After the install is finished, I can alter it to fixed IP address and gateway.
The problem lies in the configuration file (/etc/conf.d/net) that is placed by the installer when static configuration is chosen. The following two lines in /etc/conf.d/net, that gets installed: routes_eth0="( "default via 10.1.1.10" )" iface_eth0="10.1.1.1 broadcast 10.1.1.255 netmask 255.255.255.0" should be: routes_eth0=( "default via 10.1.1.10" ) config_eth0=( "10.1.1.1/24 brd 10.1.1.255" ) Note the extra quotes in the default gateway configuration and that the installer uses the old syntax for the network interface which results in an extra iface eth0.1 whith IP 10.1.1.255 (confused by the broadcast parameter).
Uhh, no. That's an entirely different bug (that's already been fixed) in an entirely different situation.
Code is in SVN to delete the default route with the same gateway IP first before adding. This will prevent this situation.