This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorials:weechat_relay [2014/01/18 13:02] – Adding weechat's weechat protocol explanation apart from the irc one. chals | tutorials:weechat_relay [2017/02/14 07:17] (current) – Fixing grammar chals | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | Quoting the official //weechat// documentation: | ||
| + | |||
| + | Weechat supports two different relay protocols: '' | ||
| + | |||
| + | **Using the IRC protocol:** | ||
| + | |||
| + | Configuring // | ||
| + | |||
| + | // | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | Only the //uid// part is relevant here, **uid=007(bond)** which means that **007** is the ' | ||
| + | |||
| + | To begin with, start // | ||
| + | |||
| + | **1.- Inside // | ||
| + | |||
| + | * First check that you have the relay plugin installed typing: | ||
| + | |||
| + | /plugin | ||
| + | |||
| + | The relay plugin should be loaded by default. If it is not, for any reason, you can load it with: | ||
| + | |||
| + | /plugin load relay | ||
| + | |||
| + | Then, start the configuration as follows: | ||
| + | |||
| + | * Add the irc proxy, for all servers | ||
| + | |||
| + | /relay add irc port #Remember that your port is your id number | ||
| + | |||
| + | // | ||
| + | |||
| + | * Set the password | ||
| + | |||
| + | /set relay.network.password " | ||
| + | |||
| + | // | ||
| + | |||
| + | **2.- Now on the client side:** | ||
| + | |||
| + | Configure your client to connect to //sdf.org// or // | ||
| + | |||
| + | // | ||
| + | |||
| + | One important consideration here is to remember that since you are going to use the same port for all your servers, you have to make sure that your client sends the password in the form **server: | ||
| + | |||
| + | Examples of adding the servers and connecting to them providing the password (the syntax may be different depending on the client you are using). | ||
| + | |||
| + | /server add freenode sdfeu.org/ | ||
| + | |||
| + | and then: | ||
| + | |||
| + | /connect freenode | ||
| + | |||
| + | You have to repeat the process for each server: | ||
| + | |||
| + | /server add oftc sdfeu.org/ | ||
| + | |||
| + | and then: | ||
| + | |||
| + | /connect oftc | ||
| + | |||
| + | Keep going until you have added all your servers: | ||
| + | |||
| + | /server add sdf sdfeu.org/ | ||
| + | |||
| + | and then: | ||
| + | |||
| + | /connect sdf | ||
| + | |||
| + | You will see how your client automatically connects to the servers you have just added and how your favourite channels appear in the client. As a bonus point, weechat will send the backlog to your client. | ||
| + | |||
| + | **Using the WEECHAT protocol:** | ||
| + | |||
| + | Again, this is easier to setup but it has the disadvantage that your client must support the weechat protocol. For this protocol you only need one single port. | ||
| + | |||
| + | **1.- Inside // | ||
| + | |||
| + | * First add the relay | ||
| + | |||
| + | /relay add weechat port | ||
| + | |||
| + | // | ||
| + | |||
| + | * Set the password | ||
| + | |||
| + | /set relay.network.password " | ||
| + | |||
| + | // | ||
| + | |||
| + | **2.- Now on the client side:** | ||
| + | |||
| + | Simply connect from your client to // | ||