Bitlbee is a "console-based IRC to IM chatting gateway, including ICQ/MSN/Jabber". It allows the user to interact with popular chat networks XMPP/Jabber, MSN Messenger, Yahoo! Messenger, AIM and ICQ, the Twitter microblogging network (plus all other Twitter API compatible services like identi.ca and status.net), and social networking chat networks like Facebook and StudiVZ within their IRC client.
The users' buddies appear as normal IRC users in a channel and conversations use the private message facility of IRC.
Various settings can be set using the
/etc/bitlbee/bitlbee.conf configuration file.
To run Bitlbee as a daemon uncomment the Runmode line and change it to the following.
RunMode = ForkDaemon
It is recommended to run the Bitlbee daemon without root permission. Uncomment the following line so Bitlbee can run as the "bitlbee" user, which was created when the package was installed.
User = bitlbee
Ensure that the configuration directory is writeable with the user you configured:
# chown -R bitlbee:bitlbee /var/lib/bitlbee
Then start the
systemctl start bitlbee
You can also enable the
bitlbee daemon to run on startup like so:
systemctl enable bitlbee
(Note: just starting the server does not log you into any of your chat accounts)
Connect to channel
Once Bitlbee is running connect to
localhost using a IRC client. Then join the channel named
&bitlbee. After joining the channel type
Help and then
Enter for further information.
In the control channel,
&bitlbee, issue the following command after replacing
<password> with your information:
<@user> account add jabber <username>@gmail.com <password>
To verify that the account was added check the account list:
<@user> account list <@root> 0 (gtalk): jabber, email@example.com <@root> End of account list
You can change the server value of your gmail account with the following command:
account gtalk set server talk.google.com
To log into your Google account issue the following:
<@user> account gtalk on <@root> jabber - Logging in: Connecting <@root> jabber - Logging in: Connected to server, logging in <@root> jabber - Logging in: Converting stream to TLS <@root> jabber - Logging in: Connected to server, logging in <@root> jabber - Logging in: Authentication finished <@root> jabber - Logging in: Server changed session resource string to `BitlBeeD52466D9' <@root> jabber - Logging in: Authenticated, requesting buddy list <@root> jabber - Logging in: Logged in
If you get errors like the following:
<@user> account gtalk on <@root> jabber - Logging in: Connecting <@root> jabber - Logging in: Connected <@root> jabber - Logging in: Requesting Authentication Method <@root> jabber - Logging in: Authenticating <@root> jabber - Login error: Error 403: Unknown error <@root> jabber - Signing off...
Switching the domain from "gmail.com" to "googlemail.com" may help. This seems to be the case for some European countries, especially Germany where Google doesn't own the trademark for the name Gmail .
The easiest way to change your account settings is to simply delete the account you created and add it again.
account gtalk del account add jabber firstname.lastname@example.org mypasswd
or just use the `set` switch for the `account` command
account list # find the id for your gtalk account, in this case I'll use '0' account gtalk set # list all the possible settings for this account account gtalk set username email@example.com # change your username account gtalk set password somethingverysecret # change your passphrase