I really like this sever but I'm having a bit of a problem setting up my ngircd.conf. Yes this should be a simple thing but it not working like I expected.
I have 3 servers setup and would like them to connect to each other. main server main.com 2nd server second.com 3rd server third.com
on main.com ------------ [SERVER] Name = main.com Host = Port = 0 MyPassword = PeerPassword = Group = -1 Passive = no [SERVER] Name = second.com Host = Port = 0 MyPassword = PeerPassword = pleaseLetMeIn Group = -1 Passive = no
[SERVER] Name = third.com Host = Port = 0 MyPassword = PeerPassword = pleaseLetMeIn Group = -1 Passive = no --------------------------------------------
on 2nd server ------------ [SERVER] Name = second.com Host = main.com Port = 6667 MyPassword = pleaseLetMeIn PeerPassword = Group = -1 Passive = no ---------------------------------
on 3rd server ------------ [SERVER] Name = third.com Host = main.com Port = 6667 MyPassword = pleaseLetMeIn PeerPassword = Group = -1 Passive = no
-------------------------------------------------
What am I missing???
Jim
Jim Wirtz jdwirtz@cox.net wrote:
I really like this sever but I'm having a bit of a problem setting up my ngircd.conf. Yes this should be a simple thing but it not working like I expected.
And the error message is...?
I have 3 servers setup and would like them to connect to each other. main server main.com 2nd server second.com 3rd server third.com
on main.com
[SERVER] Name = main.com Host = Port = 0 MyPassword = PeerPassword = Group = -1 Passive = no
No, main.com does not need a server entry for itself. This should be [Global] Name = main.com etc.
[SERVER] sections are only needed for peers, in your case second/third.example.com
[SERVER] Name = second.com Host = Port = 0 MyPassword = PeerPassword = pleaseLetMeIn Group = -1 Passive = no
a zero-length MyPassword is probably invalid (I didn't verify this yet; if so thats a bug; ngircd should enforce this and complain loudly if it is empty).
[SERVER] Name = third.com
[..]
MyPassword =
see above.
on 2nd server
[SERVER] Name = second.com
Hmm, this should be "main.com"?
Host = main.com Port = 6667 MyPassword = pleaseLetMeIn PeerPassword = Group = -1 Passive = no
looks ok, except PeerPassword, it should be the same as the MyPassword set on main.example.com. (Yes, both the server that initiates and the server that accepts the connection send a password).
same goes for the [Server] section on server #3.