Re: [Openvpn-devel] Porting to an embedded linux

2002-06-13 Thread Sampo Nurmentaus
Thanks James, It really helped. Simple recrosscompiling first kernel and then openvpn fixed it. And now I have faced a new one :-( ioctl on line 216 in tun.c (TUNSETIFF) seems to fail complainin' about Invalid argument with errno 22. I use tun driver shipped with 2.4.14 kernel and if_tun.h whi

Re: [Openvpn-devel] Porting to an embedded linux

2002-06-13 Thread Sampo Nurmentaus
Forget it, It works now. I just found out that setting the name of the device couses the ioctl to fail. Don't know if this is a platform dependent issue or a feature of the tun driver in 2.4.14 I suppose the latter since tun driver is after all a quite high level one. I also added a new option

Re: [Openvpn-devel] Porting to an embedded linux

2002-06-13 Thread James Yonan
> Forget it, > > It works now. I just found out > that setting the name of the device > couses the ioctl to fail. > Don't know if this is a > platform dependent issue or > a feature of the tun driver in 2.4.14 Note the distinction between --dev and --dev-type with respect to device selection and n