Telnet

From Eggdrop Wiki

(Difference between revisions)
Jump to: navigation, search
(Created page with '= partyline = The partyline is very useful to find out why you bot won't come to irc or to see if scripts are working properly and so on. There are a lot common problems in order…')
(telnet)
 
(One intermediate revision not shown)
Line 3: Line 3:
There are different methods to get on the partyline.
There are different methods to get on the partyline.
-
* /dcc chat <botnick>
+
/dcc chat <botnick>
-
* /ctcp chat <botnick>
+
/ctcp chat <botnick>
-
* telnet <ipadress> <listen-port>
+
telnet <ipadress> <listen-port>
== dcc chat ==
== dcc chat ==
Line 12: Line 12:
* The local computer from where you want to establish a dcc connection needs to be able to open a server port. This means it needs to be reachable from outside. This is a major problem these days as most routers have NAT enabled by default. If you want to learn that, it's not really eggdrop related. Consult your routers manual for port forwarding or search the web.
* The local computer from where you want to establish a dcc connection needs to be able to open a server port. This means it needs to be reachable from outside. This is a major problem these days as most routers have NAT enabled by default. If you want to learn that, it's not really eggdrop related. Consult your routers manual for port forwarding or search the web.
* in this case it does not matter if the bot is running firewalled shell
* in this case it does not matter if the bot is running firewalled shell
-
* for many clients (mIRC, xchat, ...) type: '/dcc chat <botnick>'
+
* for many clients (mIRC, xchat, ...) type:
 +
/dcc chat <botnick>
== ctcp chat ==
== ctcp chat ==
Line 18: Line 19:
* in this case it does not matter if your local computer is firewalled
* in this case it does not matter if your local computer is firewalled
* the shell where the eggdrop may not run a firewall or must forward the listen port
* the shell where the eggdrop may not run a firewall or must forward the listen port
-
* you need to set 'listen <listen-port> all' in your eggdrop configuration file, consult eggdrop example configuration file for details
+
* you need to set the listen port in your eggdrop configuration file, consult eggdrop example configuration file for details
-
* for many clients (mIRC, xchat, ...) type: '/ctcp chat <botnick>'
+
listen <listen-port> all
 +
listen 55555 all
 +
* for many clients (mIRC, xchat, ...) type:
 +
/ctcp chat <botnick>
== telnet ==
== telnet ==
* most operating systems have a telnet client preinstalled (Windows 7 has not, google 'Windows 7 telnet client' how to install it)
* most operating systems have a telnet client preinstalled (Windows 7 has not, google 'Windows 7 telnet client' how to install it)
-
* when you eggdrop is running on a shell you can login into your shell and type 'telnet 127.0.0.1 <listen-port>' for example 'telnet 127.0.0.1 55555' - the advantage of this method is that no firewall can be in the way
+
* when you eggdrop is running on a shell you can login into your shell and type for example
-
* After you made sure that this is working you do not need to login into your shell. You can telnet from your local computer. 'telnet <shell-ip> <listen-port>'
+
telnet 127.0.0.1 <listen-port>
 +
telnet 127.0.0.1 55555
 +
the advantage of this method is that no firewall can be in the way
 +
* After you made sure that this is working you do not need to login into your shell. You can telnet from your local computer.
 +
telnet <shell-ip> <listen-port>
* You may be interested in a better telnet client. Note that those are not supported by the official eggdrop developers.
* You may be interested in a better telnet client. Note that those are not supported by the official eggdrop developers.
* eggdrop telnet client http://forum.egghelp.org/viewtopic.php?t=18625
* eggdrop telnet client http://forum.egghelp.org/viewtopic.php?t=18625
* or xchat telnet.tcl http://forum.egghelp.org/viewtopic.php?t=18701
* or xchat telnet.tcl http://forum.egghelp.org/viewtopic.php?t=18701
-
* Or if you are using sBNC 1.3. you can add 'source "scripts/telnetclient.tcl"' to sbnc.tcl. After being on your sBNC type '/sbnc addtelnet <shell-ip> <listen-port>'. If sBNC installed on the same shell you can also use 127.0.0.l as IP-adress and of course there will be also no firewall problems.
+
* Or if you are using sBNC 1.3. you can add the telnetclient.tcl to your sbnc.conf
 +
source "scripts/telnetclient.tcl"
 +
* After being on your sBNC type  
 +
/sbnc addtelnet <session-name> <shell-ip> <listen-port>
 +
If sBNC installed on the same shell you can also use 127.0.0.l as IP-adress and of course there will be also no firewall problems.
 +
/sbnc addtelnet lamestbot 127.0.0.l 55555

Current revision as of 20:08, 25 November 2011

Contents

partyline

The partyline is very useful to find out why you bot won't come to irc or to see if scripts are working properly and so on. There are a lot common problems in order to join the partyline.

There are different methods to get on the partyline.

/dcc chat <botnick>
/ctcp chat <botnick>
telnet <ipadress> <listen-port>

dcc chat

  • dcc chat will only work if the bot is already on IRC
  • needs server port on your local computer
  • The local computer from where you want to establish a dcc connection needs to be able to open a server port. This means it needs to be reachable from outside. This is a major problem these days as most routers have NAT enabled by default. If you want to learn that, it's not really eggdrop related. Consult your routers manual for port forwarding or search the web.
  • in this case it does not matter if the bot is running firewalled shell
  • for many clients (mIRC, xchat, ...) type:
/dcc chat <botnick>

ctcp chat

  • ctcp chat will only work if the bot is already on IRC
  • in this case it does not matter if your local computer is firewalled
  • the shell where the eggdrop may not run a firewall or must forward the listen port
  • you need to set the listen port in your eggdrop configuration file, consult eggdrop example configuration file for details
listen <listen-port> all
listen 55555 all
  • for many clients (mIRC, xchat, ...) type:
/ctcp chat <botnick>

telnet

  • most operating systems have a telnet client preinstalled (Windows 7 has not, google 'Windows 7 telnet client' how to install it)
  • when you eggdrop is running on a shell you can login into your shell and type for example
telnet 127.0.0.1 <listen-port>
telnet 127.0.0.1 55555

the advantage of this method is that no firewall can be in the way

  • After you made sure that this is working you do not need to login into your shell. You can telnet from your local computer.
telnet <shell-ip> <listen-port>
source "scripts/telnetclient.tcl"
  • After being on your sBNC type
/sbnc addtelnet <session-name> <shell-ip> <listen-port>

If sBNC installed on the same shell you can also use 127.0.0.l as IP-adress and of course there will be also no firewall problems.

/sbnc addtelnet lamestbot 127.0.0.l 55555
Retrieved from "http://eggwiki.org/Telnet"
Personal tools