egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

my bot does not auto reconnect after a modem disconnect !?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Train.Deluxe
Voice


Joined: 25 May 2011
Posts: 1

PostPosted: Wed May 25, 2011 2:40 pm    Post subject: my bot does not auto reconnect after a modem disconnect !? Reply with quote

Hello everybody,

I run a windrop but this error I get surely applies to a possible eggdrop scenario.

My bot runs fine when I start it the first time. My problem ist that sometimes (like once in 3 days) my connection to the internet disconnects and reconnects again immediatly. Though I would expect the bot to notice this fact then reconnect and rejoin the irc it does not happen. Although its still loaded in the background, the bot never gets back online. The only thing I can do then ist to kill and restart it.

Does anyone know how to make the bot auto reconnect to the irc?


Cheers
Ben

P.S. I have set "set net-type 5"
Back to top
View user's profile Send private message
stormshadow
Voice


Joined: 11 Mar 2011
Posts: 7

PostPosted: Thu Jun 02, 2011 10:01 pm    Post subject: Reply with quote

Well that is strange, the bot shouldn't disconnect like that
it wouldn't ping out if it disconnects and reconnects instantly
What is the quit msg?

Did you add a crontab for the botchk file? (if not, click here)
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Jun 03, 2011 11:52 am    Post subject: Reply with quote

I'm not sure crontab's would make much sense with windows..
However, since the process is still running, a scheduled job (crontab or not) would'nt make much sense anyway..

Without further details though, I would suspect that what happens is your DHCP-lease expires, and upon renewal, you gain a new IP-address. Most likely, your eggdrop is still trying to use the old IP, preventing the connection from being properly routed.

One thing worth checking, is that the "check-stoned" setting is set to 1.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber