| View previous topic :: View next topic |
| Author |
Message |
toxicpc Voice
Joined: 24 Feb 2008 Posts: 16
|
Posted: Sun Feb 24, 2008 7:52 am Post subject: Cant connect via DCC or Telnet |
|
|
Hi im running this bot on my PC not a paid host, im just using it for testing but I cant connect via DCC or telnet.
I have forwarded the port in my router: 2654 and set it in the config file.
When i try to connect via /ctcp botnick chat it responds:
DCC chat request from (Botnick)/(127.0.1.1) received. Trying to chat through port (2654)...
and
Acknowledging chat request...
Unable to connect
DCC session closed
I have tried changing the ports etc but it wont work and I have set the right range in mirc, i have read the help us to help you topic but dont understand the bit about NAT.
With telnet i have tried connecting via putty with
127.0.1.1 Port 2654
My External IP Port 2654
192.168.0.2 Port 2654
But all of them dont respond and putty closes.
Thanks for any help
 |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Feb 24, 2008 10:51 am Post subject: |
|
|
If this eggdrop is on your own box then you set the following:
| Quote: | | set my-hostname "localhost" |
.. and comment out 'set my-ip'.
There's nothing particularly special about it (I DCC to my eggdrop without any dramas) unless a router exists. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
toxicpc Voice
Joined: 24 Feb 2008 Posts: 16
|
Posted: Sun Feb 24, 2008 10:59 am Post subject: |
|
|
OK ill try that, I do have a router as well:
Netgear DG834G
Edit: still doesnt work with it set to localhost :S |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Feb 24, 2008 12:10 pm Post subject: |
|
|
Setting either my-ip or my-hostname will restrict your eggdrop to only listen for incoming connections on this speciffic ip. You really should'nt set it unless you really need to.
I have a faint memory that the DG834G is based on iptables, which has an issue with NAT:ing when you connect to a forwarded port from within the lan-side of the router.
If you wish to specify which ip your eggdrop should advertise in dcc chat requests, aswell as file transfers and such, see the "nat-ip" setting. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
toxicpc Voice
Joined: 24 Feb 2008 Posts: 16
|
Posted: Sun Feb 24, 2008 12:50 pm Post subject: |
|
|
| I set nat-ip to my external ip but i still cant connect on dcc or telnet |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Feb 24, 2008 2:24 pm Post subject: |
|
|
And you made sure neither my-ip nor my-hostname is set? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
toxicpc Voice
Joined: 24 Feb 2008 Posts: 16
|
Posted: Sun Feb 24, 2008 3:31 pm Post subject: |
|
|
| Yes neither of them set. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Feb 24, 2008 4:00 pm Post subject: |
|
|
If telnet to neither localhost nor localnet works, it would seem your eggdrop either failed to open the listening socket, or some firewall (iptable/ipchains/ipfw/etc) rules is blocking.
See any error messages during startup, or any messages saying bot is listening on port something or similar? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
toxicpc Voice
Joined: 24 Feb 2008 Posts: 16
|
Posted: Sun Feb 24, 2008 4:29 pm Post subject: |
|
|
no error messages but it says:
Listening at telnet port 2654 (all) |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Feb 24, 2008 5:04 pm Post subject: |
|
|
Would seem it opens the port properly then..
All I can think of then is some iptable/ipchains/ipfw/etc rules blocking the connection. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
toxicpc Voice
Joined: 24 Feb 2008 Posts: 16
|
Posted: Sun Feb 24, 2008 5:16 pm Post subject: |
|
|
Hmm how would I fix them?
I have my software firewall disabled in windows (linux is in vmware). |
|
| Back to top |
|
 |
toxicpc Voice
Joined: 24 Feb 2008 Posts: 16
|
Posted: Tue Feb 26, 2008 4:05 am Post subject: |
|
|
| Anyone? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Feb 26, 2008 11:25 am Post subject: |
|
|
I am unfortunately not that familiar with vmware; as for linux, if you're running a recent distro, you'd most likely be using iptables.
As root, run iptables --list filter --verbose --list to list any present firewalling rules within linux. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
toxicpc Voice
Joined: 24 Feb 2008 Posts: 16
|
Posted: Sat Mar 01, 2008 6:10 pm Post subject: |
|
|
I still have not figured out how to get dcc or telnet working but I found out i can type commands into the terminal window so I have been.
But .console and other commands such as .adduser do not work it just replys:
What? You need '.help'
Can anyone help? |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Sun Mar 02, 2008 12:58 am Post subject: |
|
|
the bot is probably having a hostmask and/or flag issue. Type .whom in the partyline to see who the bot thinks you are, then use .match <mynick> to see your personal information _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
|