On Wed, 2011-02-23 at 23:57 +0100, Samuel Thibault wrote: > Svante Signell, le Wed 23 Feb 2011 10:20:43 +0100, a écrit : > > Something still seems to be wrong with the dhclient, since I cannot get > > out externally with eth0 set up with dhcp, and apt-get does not work. > > iface eth0 inet dhcp > > (and you mentioned pfinet was lacking --gateway in fsysopts) > > I'd tend to think that the dhclient script is missing something here, to > properly replace the route commands.
I have now working scripts dhclient-script.hurd and dhclient-script.hurd.udeb Both udeb for Linux and kfreeBSD have strange constructs I've not been able to find out about, e.g. new_mask="/$(ptom $new_subnet_mask)" Is the ptom command something in the Debian installer, or elsewhere. I've replaced it with another construct (same as the regular one) for now. Another issue is about inetutils-ifconfig: According to the help/manpage there should be commands for activating and shutting down the interface, but for Hurd they don't work. inetutils-ifconfig -i eth0 --up inetutils-ifconfig: SIOCSIFFLAGS failed: (os/device) invalid IO size inetutils-ifconfig -i eth0 --down Well, maybe it worked, I lost my remote ssh connection! Will check later on the real box. Nevertheless, if it does not work, the dhclient-scripts are only partly functional. However, they can at least successfully activate the interface.