Bekijk de volledige versie : BTPD on Oleg-firmware

11-01-2008, 19:22
I'm trying to use BTPD on this firmware, but without success.
Infact I've done

ipkg install btpd

from optware, and I'm able to execute "btpd", but whe I try to add a torrent with btcli I have got error on CLOCK_GETTIME.

Can someone help me ?


14-01-2008, 07:59
I can not help you with btpd, but i recommend using transmission.


20-02-2009, 12:36
In btpd's source file timer.c ther is a call to clock_gettime

evtimer_gettime(struct timespec *ts)
return clock_gettime(TIMER_CLOCK, ts);

but on clock_gettime (http://www.freebsd.org/cgi/man.cgi?query=clock_gettime) man page it says:

The clock_id argument can be one of five values: CLOCK_REALTIME for time
that increments as a wall clock should, CLOCK_MONOTONIC which increments
in SI seconds, CLOCK_UPTIME which starts at zero when the kernel boots
and increments monotonically in SI seconds while the machine is running,
CLOCK_VIRTUAL for time that increments only when the CPU is running in
user mode on behalf of the calling process, or CLOCK_PROF for time that
increments when the CPU is running in user or kernel mode.

Possible bug in there?