<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: RE: cipe compiled under debian 2.2 linux 2.4 does not read options
From: "Bort, Paul" <pbort,AT,tmwsystems,DOT,com>
Date: Tue, 29 May 2001 18:03:24 +0200

The only other thing I can think of is the permissions on the option file,
which should be read or read/write for the owner, and no read or write for
group and other. My CIPEs complain when this isn't set correctly, so I don't
know why you wouldn't be getting the error message, but it's worth checking.

> -----Original Message-----
> From: Peter T. Breuer [mailto:ptb,AT,it,DOT,uc3m,DOT,es
> Sent: Friday, May 25, 2001 3:41 PM
> To: cipe-l,AT,inka,DOT,de
> Subject: cipe compiled under debian 2.2 linux 2.4 does not 
> read options
> 
> 
> I've compiled cipe 1.5.2 just now on two debian 2.2 systems (one
> pure stable, one mostly testing, but also with glibc 2.1.3) with
> lkernels 2.4.2 and 2.4.3, and the daemon seems not to read its option
> file at startup. If I run it with just the "debug" parameter, I get:
> 
>     nbd:/usr/oboe/ptb/src/cipe-1.5.2% sudo /usr/local/sbin/ciped-cb
>     debug
>     CIPE daemon vers 1.5.2 (c) Olaf Titz 1996-2000
>     device=(none)
>     debug=yes
>     ipaddr=
>     ptpaddr=
>     mask=
>     bcast=
>     mtu=0
>     metric=0
>     cttl=0
>     me=
>     peer=
>     key=(none)
>     nokey=no
>     socks=
>     tokxc=0
>     tokey=0
>     ipup=(none)
>     ipdown=(none)
>     arg=(none)
>     maxerr=8
>     tokxts=0
>     ping=0
>     toping=0
>     dynip=no
>     hwaddr=(none)
>     ifconfig=no
>     checksum=no
>     missing argument: peer
> 
> 
> By the way, CIPE needs a short succinct manual page. The info file is
> incomprehensible. It doesn't give any examples of running the daemon
> any where. The options that appear when I do ciped -h are not 
> explained
> anywhere either. And the source is fairly inscrutable.
> 
> If I add a -o /etc/cipe/options (yes, it does exist), I get no output
> at all:
> 
>   nbd:/usr/oboe/ptb/src/cipe-1.5.2% sudo 
> /usr/local/sbin/ciped-cb debug -o /etc/cipe/options
>   nbd:/usr/oboe/ptb/src/cipe-1.5.2% 
> 
> The word "debug" does appear in the options file. Running the daemon
> with no options also produces nothing on stderr. A strace -f -eopen
> does not show the file being opened. Ldd shows it linked to libc and
> not much else:
> 
>   nbd:/usr/oboe/ptb/src/cipe-1.5.2% ldd /usr/local/sbin/ciped-cb
>   libc.so.6 => /lib/libc.so.6 (0x4001d000)
>   /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> Adding mounds of command line options does the trick. 
> 
> Is there any help for reading the options file?
> 
> Peter
> 
> 
> 
> --
> Message sent by the cipe-l,AT,inka,DOT,de mailing list.
> Unsubscribe: mail majordomo,AT,inka,DOT,de, "unsubscribe cipe-l" in body
> Other commands available with "help" in body to the same address.
> CIPE info and list archive: 
> <URL:http://sites.inka.de/~bigred/devel/cipe.html>
> 





<< | Thread Index | >> ]    [ << | Date Index | >> ]