IRC Eggdrop
started by: ZiumZium
on: 1191182949|%e %b %Y, %H:%M %Z|agohover
number of posts: 10
rss icon RSS: new posts
summary:
How to install an IRC eggdrop ?
IRC Eggdrop
ZiumZium 1191182949|%e %b %Y, %H:%M %Z|agohover

This post won't explain how to configure the eggdrop, you're supposed to be familar with.
It only explains how to setup on the MyBook. (Tested on MBWE1)
Name "user" is used to replace a username of your choice.

First of all you need to install tcl

1) TCL install ( as root )

Log into root
Change to a folder where you will download files.
Download then install tcl :

wget http://prdownloads.sourceforge.net/tcl/tcl8.4.16-src.tar.gz
tar -zxvf tcl8.4.16-src.tar.gz
cd tcl8.4.16/unix
./configure
make ( it's quite long )
make install

Tcl is now installed but linked linked libraries need to be added.

edit /etc/ld.so.conf
add this line : /usr/local/lib

type ldconfig -v
At the end of the list, you can see
/usr/local/lib:
libtcl8.4.so => libtcl8.4.so

2) Eggdrop install ( as user )

Log into user (it's better to run eggdrop with another user than root, for security reason)
Change to a folder where you will download files.

Download then install eggdrop :

wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.18.tar.gz
tar zxvf eggdrop1.6.18.tar.gz
cd eggdrop1.6.18
./configure
make config
make (quite long)
make install DEST=/home/user/eggdrop

edit the config file of the eggdrop as usual

3) Using crontab

Crontab is usefull to start eggdrop and check from times to times if still alive

Log into root
Copy /etc/crontabs/root to /etc/crontabs/user
edit /etc/crontabs/user, remove the existing cron (writing time)
add the following lines :

0,10,20,30,40,50 * * * * /home/user/eggdrop/botchk >/dev/null 2>&1

Be sure to edit /home/user/eggdrop/botchk to match your eggdrop setup.

Reboot may be needed

last edited on 1191965130|%e %b %Y, %H:%M %Z|agohover by Zium + show more
unfold IRC Eggdrop by ZiumZium, 1191182949|%e %b %Y, %H:%M %Z|agohover
Re: IRC Eggdrop
tcblacktcblack 1191189325|%e %b %Y, %H:%M %Z|agohover

well I'm not. But this is the right place to post such an how-to.

unfold Re: IRC Eggdrop by tcblacktcblack, 1191189325|%e %b %Y, %H:%M %Z|agohover
Re: IRC Eggdrop
starkstark 1205826519|%e %b %Y, %H:%M %Z|agohover

i dont getting the eggdrop config. can you post yout config file to eggdrop?

last edited on 1205826553|%e %b %Y, %H:%M %Z|agohover by stark + show more
unfold Re: IRC Eggdrop by starkstark, 1205826519|%e %b %Y, %H:%M %Z|agohover
Re: IRC Eggdrop
ZiumZium 1205873702|%e %b %Y, %H:%M %Z|agohover

The config file is named eggdrop.conf and is installed in its default state in the eggdrop install folder.
Are you used to install eggdrop ?

unfold Re: IRC Eggdrop by ZiumZium, 1205873702|%e %b %Y, %H:%M %Z|agohover
Re: IRC Eggdrop
starkstark 1206272392|%e %b %Y, %H:%M %Z|agohover

damit, my english sux, what i ment was i edited one of the 1350 lines wrong. but now it its working (not perfect but working)
Is there a way to shutdown eggdrop manualy? (aka dont do a complete reboot)
who mutch memory uses your eggdrop? mine is 80~85 K.

unfold Re: IRC Eggdrop by starkstark, 1206272392|%e %b %Y, %H:%M %Z|agohover
Re: IRC Eggdrop
ZiumZium 1206385504|%e %b %Y, %H:%M %Z|agohover

Ok, no problem. I'm french, if you prefer to speak just between us.
Sure there's a way. Access your eggdrop from irc using dcc chat, or do a telnet to it using the listen-port (3333 i think by default).
Once identified, just type .die

Another way is, using ssh, type
kill -9 <pid>
(find out the pid by using ps)
This will kill he process, like for any other linux process.

unfold Re: IRC Eggdrop by ZiumZium, 1206385504|%e %b %Y, %H:%M %Z|agohover
Re: IRC Eggdrop
starkstark 1206411953|%e %b %Y, %H:%M %Z|agohover

tnx kill -9 <pid> worked :) (pid=Process ID?) the bot won't repy om dcc chat, do you have to enable it in the conf file?

unfold Re: IRC Eggdrop by starkstark, 1206411953|%e %b %Y, %H:%M %Z|agohover
Re: IRC Eggdrop
ZiumZium 1206472846|%e %b %Y, %H:%M %Z|agohover

Yes for PID.
Check in your config file is this is enable :
listen 3333 all
I think you've to have some rights as eggdrop user (owner and master if it's your bot)

My eggdrop use 5% of memory, no clue how to know how much it is in K, let me know how :)

unfold Re: IRC Eggdrop by ZiumZium, 1206472846|%e %b %Y, %H:%M %Z|agohover
Re: IRC Eggdrop
starkstark 1206473867|%e %b %Y, %H:%M %Z|agohover

okay, ill try it later.

If u try to:

/msg <botname> MEMORY <youPW>

Then the bot will respond: Think I'm using about 91k.
unfold Re: IRC Eggdrop by starkstark, 1206473867|%e %b %Y, %H:%M %Z|agohover
Re: IRC Eggdrop
ZiumZium 1206700066|%e %b %Y, %H:%M %Z|agohover

Ok i thought you asked linux memory usage.
So in partyline i typed .status and got :

I am ….., running eggdrop v1.6.18: 47 users (mem: 117k).
Online since 49 days, 15:53 (background) - CPU: 03:17 - Cache hit: 32.2%
Admin: Zium <email: ……>
Config file: eggdrop.conf
OS: Linux 2.6.17.14
librairie Tcl: /usr/local/lib/tcl8.4
Tcl version: 8.4.16 (header version 8.4.16)

unfold Re: IRC Eggdrop by ZiumZium, 1206700066|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License