TINC and REDHAT

Deon George deon at wurley.net
Tue Jan 16 13:09:20 CET 2001


G'day,

I've just downloaded the tinc-1.0pre3 and compiled it - it seems to work
fine.

I tried your tinc start script in the redhat directory, first adding the

MyOwnVPNIP = 10.1.3.1/16
VpnMask = 255.255.0.0

to my tinc.conf file as suggested.
But now when TINC is invoked, tinc exits with the following error.

[root at platypus tinc-1.0pre3]# /usr/local/sbin/tincd -n wurley.vpn
Failed to read `/usr/local/etc/tinc/wurley.vpn/tinc.conf': No such file
or directory

[root at platypus tinc-1.0pre3]# ls -al
/usr/local/etc/tinc/wurley.vpn/tinc.conf
-rw-------    1 root     root          353 Jan 16 23:05
/usr/local/etc/tinc/wurley.vpn/tinc.conf

And just so you know that it is actually there, here is a strace output.

[root at platypus tinc-1.0pre3]# strace -o /tmp/f /usr/local/sbin/tincd -n
wurley.vpn

...
open("/usr/local/etc/tinc/wurley.vpn/tinc.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=353, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0
read(4, "Name = wurley\nTapDevice = /dev/t"..., 4096) = 353
brk(0x8059000)                          = 0x8059000
...

If I comment out the 2 lines that I added (above), tincd starts fine. It
seems that it doesn't like anything else in the tinc.conf file except
for the options that you have defined in conf.c?

Have I done something wrong?

--
...deon
---
 _--_|\   | Deon George
/      \  | For a PGP key finger me!
\_.--.*/  |
      v   | This email coming to you from the 'burbs of Melbourne, Australia.


-
Tinc:         Discussion list about the tinc VPN daemon
Archive:      http://mail.nl.linux.org/lists/
Tinc site:    http://ftp.nl.linux.org/pub/linux/tinc/



More information about the Tinc mailing list