[Openswan Users] OpenWrt, inet: Unknown host

Paul Wouters paul at xelerance.com
Sun Apr 8 16:42:18 EDT 2007


On Sun, 8 Apr 2007, Dave Chuha wrote:

> > ipsec_setup: ifconfig: inet: Unknown host

> I ran into this problem as well when trying to install Openswan on Openwrt White Russian 0.9 using X-Wrt based firmware file.  I spend quite a while on it until I searched for "ifconfig: inet: Unknown host" without the ipsec reference.  I believe the problem is that the X-Wrt firmware file includes Busybox 1.4.0 and the standard White Russian has Busybox 1.0.0.  Apparently the ifconfig in Busybox 1.4.0 does not like the inet parameter.
>
> Some additional information can be found with this Busybox bug report
>
> http://busybox.net/bugs/view.php?id=752
>
> Apparently, Busybox 1.0.0 will accept ifconfig commands with the inet parameter but will exit with error.  Busybox 1.4.0 will not accept them at all and errors out with "ifconfig: inet: Unknown host".
>
> An easy way to fix this is by removing the inet parameter from line 146 of the ifconfig command

Thanks a lot! I've changed this in CVS and it will be in 2.4.8.

Paul
-- 
Building and integrating Virtual Private Networks with Openswan:
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155


More information about the Users mailing list