Page 1 of 1

Linking .. GGRRR!!!

Posted: Sat Oct 02, 2004 10:22 pm
by VegetaSan
Linking .... a Pain in the ass

Ok, Iam trying to link 2 servers to eachother. but .. it's not going too well

Server1 = 1.1.1.1
Server2 = 2.2.2.2

me::name (Server1) = Anime.Anime
me::name (Server2) = Lighting.Lighting

(for example ofcourse)

Server1 Numeric = 4
Server2 Numeric = 5

(You couldnt link 2 server with the same Numeric)

Server1's Link.conf

Code: Select all

link Anime.Anime { 
   username *; 
   hostname 2.2.2.2; 
   bind-ip *; 
   port *; 
   hub *; 
   password-connect "l33t";
   password-receive "l33t";
   class servers; 
};

Server2's Link.conf

Code: Select all

link Lighting.Lighting { 
   username *; 
   hostname 1.1.1.1; 
   bind-ip *; 
   port *; 
   hub *; 
   password-connect "l33t";
   password-receive "l33t";
   class servers; 
};
Ok, Unreal was running succesfully, and when I used
/connect Lighting.Lighting on the Anime.Anime Server

Then ..the server noticed me with this 'error':
server wrote: *** Connecting to Lighting.Lighting[2.2.2.2].
*** LocOps -- Link denied for Lighting.Lightning([email protected]) (No link block named 'Lighting.Lightning') Lighting.Lighting[@2.2.2.2.0]
And ... I got the same problem if I did a /connect Anime.Anime at the Lighting.Lighting Server.

Could somebody please explain me what to do .. did I miss something ... or forgot something?


Thank you.

With Regards, Nabil a.k.a VegetaSan

Posted: Sat Oct 02, 2004 11:54 pm
by aquanight
Hm... I think you have your link pastes backwards, because if those are what you really have, then that means both servers have a link block for themselves (not what you want :P ).

Posted: Sun Oct 03, 2004 12:00 am
by Syzop
You also seem to be using 'Lighting.Lighting' in one place and 'Lighting.Lightning' in the other.

Posted: Sun Oct 03, 2004 2:29 am
by jewles
hmmm... suppose all the linking post in here are worthless? not to mention the documentation...

over 50+ post dealing with linking... and a nice How-To

Posted: Sun Oct 03, 2004 4:12 am
by Winbots
Server2

Code: Select all

link Anime.Anime { 
   username *; 
   hostname 1.1.1.1; 
   bind-ip *; 
// change to w/e port you want, i am just going to use port 6667
   port 6667; 
   hub *; 
   password-connect "l33t"; 
   password-receive "l33t"; 
   class servers; 
           options {
        autoconnect;
// uncomment the following line for ziplinks
//        zip;
// uncomment the following line for ssl
//        ssl;
        };
}; 
Server1

Code: Select all

link Lighting.Lighting { 
   username *; 
   hostname 2.2.2.2; 
   bind-ip *; 
// assuming both servers have a listen block for port 6667 without the 
// clients only flag
   port 6667; 
   hub *; 
   password-connect "l33t"; 
   password-receive "l33t"; 
   class servers; 
           options {
        autoconnect;
// uncomment the following line for ziplinks
//        zip;
// uncomment the following line for ssl
//        ssl;
        };
}; 
/rehash both servers and they should link perfectly :)

Posted: Sun Oct 03, 2004 10:48 am
by VegetaSan
still doesnt work :roll:
server: /connect Lighting.Lighting 6667 at Anime.Anime wrote: *** Notice -- Connection to Lighting.Lighting[2.2.2.2] activated.
*** LocOps -- Link denied for Lighting.Lighting([email protected]) (No link block named 'Lighting.Lighting') Lighting.Lighting[@2.2.2.2.0]
*** LocOps -- Link denied for Lighting.Lighting([email protected]) (No link block named 'Lighting.Lighting') [@2.2.2.2.4978]
server: /connect Anime.Anime 6667 at Lighting.Lighting wrote: *** Notice -- (link) Link Lighting.Lightning -> Anime.Anime[@1.1.1.1.4563] established
*** LocOps -- ERROR :from Anime.Anime[1.1.1.1.139] -- Link denied (No matching link configuration) Lighting.Lighting[@2.2.2.2.0]
*** LocOps -- ERROR :from Anime.Anime[1.1.1.1.139] -- Closing Link: Lighting.Lighting[2.2.2.2] (Link denied (No matching link configuration))
*** LocOps -- Server Anime.Anime[1.1.1.1.139] closed the connection
Anime.Anime: Lighting.Lighting.conf

Code: Select all

link Lighting.Lighting { 
   username *; 
   hostname 2.2.2.2; 
   bind-ip *; 
   port 6667; 
   hub *; 
   password-connect "l33t"; 
   password-receive "l33t"; 
   class servers; 
           options { 
        autoconnect; 
        }; 
}; 
Lighting.Lighting: Anime.Anime.conf

Code: Select all

link Anime.Anime { 
   username *; 
   hostname 1.1.1.1;
   bind-ip *; 
   port 6667; 
   hub *; 
   password-connect "l33t"; 
   password-receive "l33t"; 
   class servers; 
           options { 
        autoconnect; 
        }; 
}; 
Still no success :(

Posted: Sun Oct 03, 2004 3:47 pm
by aquanight
From your error messages, I can say that the problem lies on Anime.Anime. What it is exactly, I have no clue. Apparently, Anime.Anime doesn't think your link block for Lighting.Lighting exists. I would suggest run /stats link on that server. If you see a C for your server, then something else might be wrong, but if not, there may be configuration problems (a /* that wasn't closed correctly?) that is preventing it from seeing the link block.

Posted: Sun Oct 03, 2004 6:03 pm
by Winbots
does your server have a address? if so can i see it so i can connect and help you on irc itself?

Posted: Sun Oct 03, 2004 10:55 pm
by katsklaw
has a /rehash or /restart been done since these changes?

Posted: Mon Oct 04, 2004 1:09 am
by jailmann
Hello

i dont no if you can use this but that help me to link my server up

remember to do /rehash on both serveres when you change conf files



Master Server
---------------------
irc.xx.com
IP:1234


Server 2
-----------
tux.xx.com
IP: 5678

---------------------------------------------

how woukd the linkg then be like i have tried many things but i cant link the 2 serveres


I really shouldn't do this, but I will regardless...

Master Server Config:
link tux.xx.com
{
username *;
hostname 5678;
bind-ip *;
port 4000;
hub *;
password-connect "password";
password-receive "password";
class servers;
options {
autoconnect;
};
};

link irc.xx.com
{
username *;
hostname 1234;
bind-ip *;
port 4000;
hub *;
password-connect "password";
password-receive "password";
class servers;
options {
autoconnect;
};
};

Posted: Mon Oct 04, 2004 8:19 am
by VegetaSan
Ggrr. Ok I got it thx all. Stupid mistake in the me::name of Lighting.Lighting
ok. But there is another question.

I want to have this. When someone types /server -m irc.myserver.net

Then he shouldnt get connected to irc.myserver.net. But another server .. that is linked to irc.myserver.net how do I do this ?

just like Rizon has .. and ofcourse other servers too

/server irc.Rizon.net > you wont connect to irc.rizon.net ... but irc.sex0rz.us, irc.hacked.us, or any other server that is linked to irc.Rizon.net.

How can I do this ?

Posted: Mon Oct 04, 2004 11:29 am
by AngryWolf
It's called round robin DNS, and have been discussed here.

Posted: Tue Oct 05, 2004 8:01 pm
by VegetaSan
Ah, Thank you all guys for the help. =)