Dear Alex,
Is it possible to connect couple of ngircds using '/connect <IP-address>' command when you are IRCOP?
I tried such command in irc-client (Xchat):
/connect 192.168.1.2 /connect 192.168.1.2 6667
In both cases I saw message: ' 192.168.1.2 : No such server '
In configuration file I have no any [Server] sections except default where all directives are commented. Hmm... config file is fully default actually :)
Hello Ivan,
Am 01.09.2014 um 13:52 schrieb Иван Дементьев dementevia@mail.ru:
Is it possible to connect couple of ngircds using '/connect <IP-address>' command when you are IRCOP?
I tried such command in irc-client (Xchat):
/connect 192.168.1.2 /connect 192.168.1.2 6667
In both cases I saw message: '192.168.1.2 : No such server'
In configuration file I have no any [Server] sections except default where all directives are commented. Hmm... config file is fully default actually :)
The CONNECT command requires an already configured server in ngircd.conf, then you can use „CONNECT <server_name>“ to connect to it. Please don’t confuse <server_name> with a DNS host name or IP address! Its completely independent.
Example ngircd.conf section:
[Server] Name = some.name Host = irc.example.com Port = 6667 MyPassword = my-pass PeerPassword = peer-pass
Now you can use „CONNECT some.name“ to let it connect to irc.example.com port 6667.
The most minimal [server] block that is required looks like this:
[server] name = some.name
Now you can use „CONNECT some.name 6667 irc.example.com my-pass peer-pass“ to let it connect just like above.
You can find the documentation for the CONNECT command here: http://ngircd.barton.de/doc/Commands.txt – or using „/QUOTE HELP CONNECT“ in your IRC client connected to an ngIRCd daemon ;-)
Ah, and if you don’t have a [server] block and don’t want to restart the daemon (and disconnect all connected users), just add it to your configuration file and send a HUP signal to the daemon („killall -HUP ngircd“) or issue a „REHASH“ command as IRC operator.
Thanks! Alex