Recently testing.bitlbee.org was down for more than a day so I decided to create my own Bitlbee gateway ====== Install ====== Well, nothing special. ====== Configuration ====== ===== Server config ===== All of this takes place in /etc/bitlbee/bitlbee.conf RunMode = Daemon User = bitlbee DaemonInterface = 0.0.0.0 DaemonPort = 6667 AuthMode = Open #AuthMode = Registered Once registered, you can switch the Authmode to Registered ===== System ===== chown -R bitlbee:bitlbee /var/lib/bitlbee Then start the bitlbee daemon. systemctl start bitlbee You can also enable the bitlbee daemon to run on startup like so: systemctl enable bitlbee ====== Service ====== ===== Register ===== First thing to do, connect via your IRC client, then go to the &bitlbee channel: register /oper Should display: @root -> Account successfully createdafortier Now you can switch the AuthMode (see above) ===== Add accounts ===== ==== Jabber ==== account add jabber me@myself.com P4ssw0rd ==== Facebook ==== I recommend using the bitlbee-facebook plugin (see References below) account add facebook account on ==== Google Talk ==== :!: Group chat / Hangout is NOT supported :!: account add jabber me@gmail.com Output: @root -> Account successfully added with tag gtalk @root -> You can now use the /OPER command to enter the password @root -> Alternatively, enable OAuth if the account supports it: account gtalk set oauth on OAuth is your friend! account gtalk set oauth on Output: @root -> oauth = `on' Activate the account: account gtalk on A new window opens called 'jabber_oauth' with a huge link that opens a Google page. You have to authorize Bitlbee then paste the code from the text field in this new window. Once pasted, the following message appears in 'jabber_oauth': jabber_oauth is offline and in &bitlbee: @root -> gtalk - Logging in: Starting OAuth authentication @root -> gtalk - Logging in: Requesting OAuth access token @root -> gtalk - Logging in: Connecting @root -> gtalk - Logging in: Connected to server, logging in @root -> gtalk - Logging in: Converting stream to TLS @root -> gtalk - Logging in: Connected to server, logging in @root -> gtalk - Logging in: Authentication finished @root -> gtalk - Logging in: Server changed session resource string to `BitlBee666777888' @root -> gtalk - Logging in: Authenticated, requesting buddy list @root -> gtalk - Logging in: Logged in ===== Useful Commands ===== ==== Accounts ==== * List account list * Delete account del * Connect/Disconnect account on Will connect them all if no number is given * Change password account set password * Tags account set tag * Settings account set ==== Nick ==== * Info info Nice for the nicknames of Google * Rename rename * List \\ 2 ways: * /names * blist ==== Requests ==== * List qlist ====== IRSSI integration ====== If you have a nice IRSSI, you can add these nice commands: ===== Identify ===== /channel add -auto -botcmd '/say identify\; /oper' &bitlbee bitlbee /save ====== OTR ====== FIXME To be completed/tested ====== References ====== * [[https://wiki.archlinux.org/index.php/Bitlbee]] * [[http://510x.se/notes/posts/Install_and_setup_BitlBee/]] * [[https://subfictional.com/2013/05/09/how-to-install-bitlbee-irc-to-chat-and-twitter-gateway-on-ubuntu/]] * [[https://wiki.bitlbee.org/]] * [[https://wiki.bitlbee.org/FAQ]] * [[https://wiki.bitlbee.org/ChangingPasswords]] * [[https://github.com/jgeboski/bitlbee-facebook]] * [[https://help.ubuntu.com/community/Bitlbee]] * [[https://wiki.bitlbee.org/bitlbee-otr]] * [[https://www.bitlbee.org/user-guide.html#cmd_add]]