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 

[SOLVED] DCC connect problem

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


Joined: 13 Mar 2007
Posts: 18

PostPosted: Sun Mar 18, 2007 5:23 pm    Post subject: [SOLVED] DCC connect problem Reply with quote

i cant connect via dcc with my bot.

ive been through the help pages and guide, set all the right settings i think.

if i try to initiate the dcc chat, it just stays on waiting for aknowledgement.
if i make the bot try and dcc me, i always get the error 'lost connection while identing' ... 'password timeout on dcc chat' in the telnet window.

any ideas?


Last edited by veblen on Mon Mar 19, 2007 12:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Mar 18, 2007 7:06 pm    Post subject: Reply with quote

Read this thread for help with DCC problems.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
veblen
Voice


Joined: 13 Mar 2007
Posts: 18

PostPosted: Sun Mar 18, 2007 10:02 pm    Post subject: Reply with quote

already have done & tried everything there Confused
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Mar 18, 2007 10:13 pm    Post subject: Reply with quote

veblen wrote:
already have done & tried everything there Confused

Then try: CTCP <nick> CHAT
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
veblen
Voice


Joined: 13 Mar 2007
Posts: 18

PostPosted: Mon Mar 19, 2007 7:35 am    Post subject: Reply with quote

ive tried ctcp <bot> chat, like i said...

when i do that i get the messages:

'lost connection while identing'
'password timeout on dcc chat'

in the telnet window.

the bot is on the same local machine, i have my ip's set correctly in the config file, port forwarded and set correctly, and the right port and ip set in mirc, and the lookup method is set to normal.

ive tried all the suggested steps.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Mar 19, 2007 8:51 am    Post subject: Reply with quote

Quote:
# If you're using virtual hosting (your machine has more than 1 IP), you
# may want to specify the particular IP to bind to. You can specify either
# by hostname or by IP. You may also want to set the hostname here if
# Eggdrop has trouble detecting it when it starts up.
#set my-hostname "virtual.host.com"
#set my-ip "99.99.0.0"

Try setting my-ip to "localhost"?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
veblen
Voice


Joined: 13 Mar 2007
Posts: 18

PostPosted: Mon Mar 19, 2007 9:17 am    Post subject: Reply with quote

i just tried that, and it didnt make any difference.

still the same errors.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Mar 19, 2007 9:39 am    Post subject: Reply with quote

I use a Windrop and have "set my-ip" to my actual IP and it works like a charm; but I also do not have a router.

I believe there's a DMZ zone that needs to be set?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Mar 19, 2007 10:25 am    Post subject: Reply with quote

One thing worth mentioning, depending on your router/nat solution, is that NAT's based on ipchains/iptables do not send packets through the nat-prerouting table that are of "local origin". Unfortunately, outbound packets (from a host behind the nat), with a destination to one of the addresses of the router will be considdered of "local origin".

Keep in mind that nat-routers using a different technique than iptables/ipchains might operate in different manners and might not be affected by this issue.


Does manually telnetting to your bot work with either lan or external ip?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
veblen
Voice


Joined: 13 Mar 2007
Posts: 18

PostPosted: Mon Mar 19, 2007 11:24 am    Post subject: Reply with quote

i can open a telnet connection with the bot using the internal router assigned ip, but not by using my external ip address.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Mar 19, 2007 11:27 am    Post subject: Reply with quote

Then I would suspect your nat/router uses iptables or such. Unfortunately there is no easy fix for this, as if you would alter nat-ip to send the lan-ip you'd be able to atleast use ctcp-chat, but anyone else would'nt. Same would go with changing mIRC's local address to the lan-ip (allows you to dcc your bot, but you wont be able to dcc anyone else)
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
veblen
Voice


Joined: 13 Mar 2007
Posts: 18

PostPosted: Mon Mar 19, 2007 12:11 pm    Post subject: Reply with quote

changing to my internal ip in mirc worked.

im happy enough with that. thankyou for the help Very Happy
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