Hello.
I can't get the two servers to connect.
I am a complete beginner at this and so much irc.
Here are my settings:
ircd.conf:
/* server name and administration info */
global {
name "domain.ext"; # IRC name of the server
info "-"; # A short info line
admin {
"An unconfigured server"; # Three information lines sent
"An unknown administrator"; # in reply to ADMIN command
"-@-.-";
};
};
/* server options */
options {
network_name "domain.ext"; # A name is needed even if not linked
local_kline -@-.-; # Contact email for server bans
show_links; # Show servers in LINKS
allow_split_ops; # Give ops in empty channels
// use these options when services is on the network
services_name anope; # Name of services (NS/CS/MS/RS) server
stats_name anope; # Name of stats (OS/SS/HS) server
network_kline -@-.-; # Contact email for network bans
nshelpurl "http://same.as.network.name&global.name.urls"; # Nick registration help page
// if you need to link more than 1 server, uncomment the following line
# servtype hub;
};
/* where to listen for connections */
port {
port 1234; # Port to listen on
bind 4.3.2.1; # IP address to listen on
};
/* more listening ports */
port { port 1234; bind 4.3.2.2; };
port { port 1234; bind 4.3.2.3; };
port { port 1234; bind 4.3.2.4; };
port { port 1234; bind 4.3.2.5; };
# port { port 1234; bind same.as.network.name&global.name.urls; };
port { port 1234; bind 127.0.0.1; };
/* allow clients to connect */
allow {
host *@*; # Allow anyone
class users; # Place them in the users class
};
/* connection class for users */
class {
name users; # Class name
maxusers 100; # Maximum connections
pingfreq 90; # Check idle connections every N seconds
maxsendq 100000; # 100KB send buffer limit
};
/* connection class for server operators */
class {
name opers;
pingfreq 90;
maxsendq 500000; # 500KB limit for opers
};
/* the server administrator */
oper {
name name; # Username
passwd pass; # Password
access *OAaRD; # Server Administrator
host *@ip*; # Must be connecting from here
host *@ip*; # Must be connecting from here
# host *@0.0.0.*; # Or from here
// insert other other hostmasks here
class opers; # Belongs in the opers class
};
/* for services */
super {
"irc.same.as.network.name&global.name.urls";
"irc-service@same.as.network.name&global.name.urls";
"irc-service.same.as.network.name&global.name.urls";
"anope";
// insert any other special servers here
};
/* class for uplink hub */
class {
name hub;
pingfreq 120; # Idle check every 2 minutes
connfreq 300; # Try autoconnect every 5 minutes
maxsendq 1000000; # 1MB send queue
maxlinks 1; # Autoconnect to only 1 hub at a time
};
/* our uplink hub */
connect {
name UGS.Hub; # Hub's IRC name
# host 172.16.4.2; # Hub's IP address
host 4.3.2.1; # Hub's IP address
port 1234; # Autoconnect to hub's port 7325
bind 127.0.0.1; # We connect from this IP
apasswd pass; # We accept this password from hub
cpasswd pass; # We send this password to hub
flags H; # It is a hub
class hub; # Use hub class
};
All passwords (pass), ports (1234) and name (same.as.network.name&global.name.urls) are the same. Edited for security reasons.
Services.conf:
IRCDModule "bahamut"
EncModule "enc_md5"
RemoteServer localhost 1234 "pass"
RemoteServer2 irc.same.as.network.name&global.name.urls 1234 "pass"
RemoteServer3 4.3.2.1 1234 "pass"
#LocalAddress nowhere. 0
ServerName "irc-service.same.as.network.name&global.name.urls"
ServerDesc "Services for IRC Networks"
ServiceUser "irc-service@same.as.network.name&global.name.urls"
# Numeric [OPTIONAL]
# Many ircd identify themselves with a Numeric ID when using this option
# consult your ircds documentation before using this
Numeric "64"
Started the IRCD server first with normal ./ircd command.
Started anope with ./anoperc start
Go into mirc channel and type: /chanserv to return:
Services is currently down. Please wait a few moments, and then try again.
Please help.
Thank you.
Ant.