[Openswan Users] ipsec tncfg doesn't attach device
paul at xelerance.com
Wed Oct 10 12:00:14 EDT 2007
On Tue, 9 Oct 2007, Jean-Michel Bonnefond wrote:
> We are migrating our debian sarge server to etch. We currently use openswan
> 2.4.7 on kernel 2.6.8 with Klips stack. Our new OS is using openswan
> 2.4.9on kernel
> 2.6.18 still using klips.
> However, when we start ipsec on the upgraded server, we got this error
> message :
> ROOT at NEW-2.4.9:/home/jean-michel# /etc/init.d/ipsec start
> ipsec_setup: Starting Openswan IPsec 2.4.9...
> ipsec_setup: /usr/local/libexec/ipsec/tncfg: Socket ioctl failed on attach
> -- No such device. Is the physical device valid?
> ipsec_setup: SIOCSIFFLAGS: No such device
Are you running selinux?
> ROOT at NEW-2.4.9:/home/jean-michel# ipsec tncfg --attach --virtual ipsec0
> --physical eth0
> /usr/local/libexec/ipsec/tncfg: Socket ioctl failed on attach -- No such
> device. Is the physical device valid?
Or did you perhaps not compile properly? Perhaps put klips AND netkey in the
Building and integrating Virtual Private Networks with Openswan:
More information about the Users