This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 13 matches

by hotrs
Tue Apr 10, 2007 2:39 am
Forum: Eggdrop Help
Topic: let the bot say something from outside
Replies: 4
Views: 3392

Not the simplest solution but you could probably use netcat or expect to connect to the telnet console on the bot and issue commands from there.. Good point. I don't know netcat or expect, but I will have a look. Me, I would just use a tcl script with a time bind, and have my shell/cron script crea...
by hotrs
Tue Apr 10, 2007 2:31 am
Forum: Eggdrop Help
Topic: let the bot say something from outside
Replies: 4
Views: 3392

rosc2112 has written a shell script for pisg that I found very usefull. Seach for "sendftp". As for the other, a simple announce script should do it; heaps in the archive. I don't think that works for me: First, perl - and therefore pisg - isn't available in the chroot environment eggdrop...
by hotrs
Mon Apr 09, 2007 12:07 pm
Forum: Eggdrop Help
Topic: [solved] Eggdrop install problem: will not run as root
Replies: 1
Views: 5790

Re: Eggdrop install problem: will not run as root

DA_ISCH wrote: [17:22] * ERROR: Eggdrop will not run as root!
what can i do?
eggdrop won't run as root - for security reasons. You should add a new user (e.g eggdrop) and start eggdrop from it. I myself put eggdrop in a chroot environment and run it as the restricted user eggdrop.

hth,
hotrs
by hotrs
Mon Apr 09, 2007 10:20 am
Forum: Eggdrop Help
Topic: let the bot say something from outside
Replies: 4
Views: 3392

let the bot say something from outside

Hi *.*. Is it possible, e.g. through a shell script, to let the bot say something? I want to use pisg for generating channel stats, but I can't use a eggdrop script because the bot has no access to the web directory (chroot environment). So my idea was to use a cron job for generating the stats - bu...
by hotrs
Mon Apr 09, 2007 10:06 am
Forum: Eggdrop Help
Topic: [solved] starting eggdrop not within its directory
Replies: 12
Views: 7158

/* cdandexec.c change dir and execute usage: cdandexec dir cmd [arg] Version 1.0 (c) 2007 Björn Schreiber */ #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { // check argv if (argc < 3) { printf("usage: %s dir cmd [arg]\n", argv[0]); return EXIT_FAILURE; } // chdi...
by hotrs
Thu Apr 05, 2007 2:16 pm
Forum: Eggdrop Help
Topic: Egg wont start
Replies: 4
Views: 3207

Re: Egg wont start

[12:03] Can't load modules dns: Cannot open "/eggdrop/modules/dns.so" [12:03] Can't load modules channels: Cannot open "/eggdrop/modules/channels.so" [12:03] Can't load modules server: Cannot open "/eggdrop/modules/server.so" I had the same problem when I tried to chro...
by hotrs
Thu Apr 05, 2007 10:08 am
Forum: Eggdrop Help
Topic: wierd characters when dcc chatting
Replies: 12
Views: 6660

try

Code: Select all

.fixcodes
in the chat console.

But I still search a way to modify it permanent ...

hth,
hotrs
by hotrs
Thu Apr 05, 2007 2:48 am
Forum: Eggdrop Help
Topic: [solved] starting eggdrop not within its directory
Replies: 12
Views: 7158

DragnLord wrote:you could also edit src/eggdrop.h before compile:
Yes, this was allready mentioned by nml375, but I want to avoid changing the source. And it doesn't solve the problems with other scripts using relative paths.

greets,
hotrs
by hotrs
Wed Apr 04, 2007 3:40 pm
Forum: Eggdrop Help
Topic: [solved] starting eggdrop not within its directory
Replies: 12
Views: 7158

Both solutions work. I can start chrootuid with a manipulated EGG_LANGDIR environment and I can put a "cd /usr/local/eggdrop" at the beginning of eggdrop.conf. The first solution could be a problem for other scripts if they use relative paths without a way to set them - I have to test chan...
by hotrs
Wed Apr 04, 2007 9:15 am
Forum: Eggdrop Help
Topic: [solved] starting eggdrop not within its directory
Replies: 12
Views: 7158

Sure, you could always use the "cd" command to change current directory. I'm not too familiar with chrootuid. I don't suppose your eggdrop inherits the environment from where chrootuid were run? I will test both, this evening. And I will post the results here. Thx so far. greets, hotrs
by hotrs
Wed Apr 04, 2007 8:14 am
Forum: Eggdrop Help
Topic: [solved] starting eggdrop not within its directory
Replies: 12
Views: 7158

There are a few other tricks that could be tried aswell, depending on how you start your eggie... I use something like this: chrootuid /chroot/eggdrop/ eggdrop /usr/local/eggdrop/eggdrop /usr/local/eggdrop/eggdrop.conf (eggdrop was installed in /chroot/eggdrop/usr/local/eggdrop) If I can use a spec...
by hotrs
Wed Apr 04, 2007 8:02 am
Forum: Eggdrop Help
Topic: [solved] starting eggdrop not within its directory
Replies: 12
Views: 7158

As I recall, the only way of relocating language-files is either to edit the source (LANGDIR macro in src/eggdrop.h), or use the environment variable EGG_LANGDIR Thx for your answer. I allready have done a search BEFORE I post my question - but perhaps I missed the right key words. I don't want to ...
by hotrs
Tue Apr 03, 2007 3:33 am
Forum: Eggdrop Help
Topic: [solved] starting eggdrop not within its directory
Replies: 12
Views: 7158

[solved] starting eggdrop not within its directory

Hi *.*. I try to run eggdrop in a chroot environment with a restricted user account without a shell, therefore I can't execute a shell script to change the current directory. I try to change all relative paths to absolute paths, f.e. modules/ to /usr/local/eggdrop/modules/ which seems to work, but I...