个人工具

“UbuntuHelp:Bitlbee”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/Bitlbee}} {{Languages|UbuntuHelp:Bitlbee}} == Introduction == Bitlbee is an IRC gateway that allows you to connect, via IRC, to outside IM netw...)
 
 
(未显示同一用户的9个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/Bitlbee}}
 
{{From|https://help.ubuntu.com/community/Bitlbee}}
 
{{Languages|UbuntuHelp:Bitlbee}}
 
{{Languages|UbuntuHelp:Bitlbee}}
 
 
 
== Introduction ==
 
== Introduction ==
 
+
[[UbuntuHelp:BitlBee|BitlBee]] is an IRC gateway that allows you to connect, via IRC, to outside IM networks such as Jabber, MSN, Yahoo! and AIM.  There are public servers available but you can also install this IRC gateway system on your own machine or server.  This will outline installation steps and steps on connecting to your outside IM network accounts.
Bitlbee is an IRC gateway that allows you to connect, via IRC, to outside IM networks such as Jabber, MSN, Yahoo! and AIM.  There are public servers available but you can also install this IRC gateway system on your own machine or server.  This will outline installation steps and steps on connecting to your outside IM network accounts.
+
 
+
 
== Installation ==
 
== Installation ==
 
+
If you want to run your own [[UbuntuHelp:BitlBee|BitlBee]] server, which many users prefer for privacy/security, you need to install the [[UbuntuHelp:BitlBee|BitlBee]] package and service.
If you want to run your own Bitlbee server, which many users prefer for privacy/security, you need to install the Bitlbee package and service.
+
 
+
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo aptitude install bitlbee
 
sudo aptitude install bitlbee
 
</nowiki></pre>
 
</nowiki></pre>
 
 
If you prefer not to install your own private server see below for a list of public servers around the world.
 
If you prefer not to install your own private server see below for a list of public servers around the world.
 
+
As of the version 1.0.3-1.3ubuntu1, the Feisty Fawn version of the bitlbee package doesn't create the right file in /etc/xinetd.d/ in order to launch bitlBee. You'll have to add a "ircd" file by hand in that directory, containing:
As of the version 1.0.3-1.3ubuntu1, the Feisty Fawn version of the bitlbee package doesn't create the right file in /etc/xinetd.d/ in order to launch bitlbee. You'll have to add a "ircd" file by hand in that directory, containing:
+
 
+
 
<pre><nowiki>
 
<pre><nowiki>
 
service ircd
 
service ircd
 
{
 
{
socket_type    = stream
+
        socket_type    = stream
protocol        = tcp
+
        protocol        = tcp
wait            = no
+
        wait            = no
user            = bitlbee
+
        user            = bitlbee
server          = /usr/sbin/bitlbee
+
        server          = /usr/sbin/bitlbee
port            = 6667
+
        port            = 6667
disable        = no
+
        disable        = no
 +
        bind            = localhost        # prevent non-local access by binding to the loopback device
 
}
 
}
 
</nowiki></pre>
 
</nowiki></pre>
 
 
And then restart xinetd :  
 
And then restart xinetd :  
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo /etc/init.d/xinetd restart
 
sudo /etc/init.d/xinetd restart
 
</nowiki></pre>
 
</nowiki></pre>
 
 
*note : if this command does not work for you double check that you have the xinetd package installed and try again.
 
*note : if this command does not work for you double check that you have the xinetd package installed and try again.
 
+
*note : the above is not needed on Ubuntu 6.06.1 or Ubuntu 7.10, just 7.04 apparently.
 
== Connect To Bitlbee ==
 
== Connect To Bitlbee ==
 
+
After you've installed [[UbuntuHelp:BitlBee|BitlBee]] gateway server you'll need to connect to it.  This is done via the connect command within your IRC client.  In this example I am using the irssi IRC client and so I use the command:
After you've installed Bitlbee gateway server you'll need to connect to it.  This is done via the connect command within your IRC client.  In this example I am using the irssi IRC client and so I use the command:
+
 
+
 
<pre><nowiki>
 
<pre><nowiki>
 
/connect server.address
 
/connect server.address
 
</nowiki></pre>
 
</nowiki></pre>
 
 
If you're connecting to your local machine for this service you can use:
 
If you're connecting to your local machine for this service you can use:
 
<pre><nowiki>
 
<pre><nowiki>
 
/connect localhost
 
/connect localhost
 
</nowiki></pre>
 
</nowiki></pre>
 
+
If you prefer to use a public server you can find an official list of [[UbuntuHelp:BitlBee|BitlBee]] servers [http://www.bitlbee.org/main.php/servers.html here].
If you prefer to use a public server you can find an official list of Bitlbee servers [http://www.bitlbee.org/main.php/servers.html here].
+
 
+
 
== Setup Your Accounts ==
 
== Setup Your Accounts ==
 
 
Once you've connected to your server (or a public server) you need to register your account and then create a list of the outside IM accounts you want to use or have access to.  To register (whether on public or private server) use:
 
Once you've connected to your server (or a public server) you need to register your account and then create a list of the outside IM accounts you want to use or have access to.  To register (whether on public or private server) use:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
register [password]
 
register [password]
 
</nowiki></pre>
 
</nowiki></pre>
 
 
After you've registered your account on your new server you simply add your accounts.
 
After you've registered your account on your new server you simply add your accounts.
 
 
'''Jabber (gmail account based)'''
 
'''Jabber (gmail account based)'''
 
<pre><nowiki>
 
<pre><nowiki>
 
account add jabber [email protected] password talk.google.com:5223:ssl
 
account add jabber [email protected] password talk.google.com:5223:ssl
 
</nowiki></pre>
 
</nowiki></pre>
 
 
'''Jabber (other server)'''
 
'''Jabber (other server)'''
 
<pre><nowiki>
 
<pre><nowiki>
 
account add jabber [email protected] password server.address:port:ssl(?)
 
account add jabber [email protected] password server.address:port:ssl(?)
 
</nowiki></pre>
 
</nowiki></pre>
 
 
'''Oscar (AIM/ICQ)'''
 
'''Oscar (AIM/ICQ)'''
 
<pre><nowiki>
 
<pre><nowiki>
 
account add oscar 72696705 hobbelmeeuw login.icq.com
 
account add oscar 72696705 hobbelmeeuw login.icq.com
 +
account add oscar MyScreenName MyPassword login.oscar.aol.com
 
</nowiki></pre>
 
</nowiki></pre>
 
 
'''Yahoo!'''
 
'''Yahoo!'''
 
<pre><nowiki>
 
<pre><nowiki>
 
account add yahoo handle password
 
account add yahoo handle password
 
</nowiki></pre>
 
</nowiki></pre>
 
 
'''MSN'''
 
'''MSN'''
 
<pre><nowiki>
 
<pre><nowiki>
 
account add msn handle password
 
account add msn handle password
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Once you've created any / all accounts you want access to you'll need to activate the account to connect.
 
Once you've created any / all accounts you want access to you'll need to activate the account to connect.
 
 
<pre><nowiki>
 
<pre><nowiki>
 
account on
 
account on
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Lastly, save these settings on your account
 
Lastly, save these settings on your account
 
<pre><nowiki>
 
<pre><nowiki>
 
save
 
save
 
</nowiki></pre>
 
</nowiki></pre>
 
+
Next time you connect to your [[UbuntuHelp:BitlBee|BitlBee]] server you can retrieve your settings, accounts, etc by identifying yourself to your account with the password you used above (see register).
Next time you connect to your Bitlbee server you can retrieve your settings, accounts, etc by identifying yourself to your account with the password you used above (see register).
+
 
<pre><nowiki>
 
<pre><nowiki>
 
identify [password]
 
identify [password]
 
</nowiki></pre>
 
</nowiki></pre>
 
+
== Using BitlBee ==
== Using Bitlbee ==
+
 
+
 
Once your accounts are connected you can use the '''help''' command for more details usage.  Some of the basic uses are listed below:
 
Once your accounts are connected you can use the '''help''' command for more details usage.  Some of the basic uses are listed below:
 
 
To refresh your buddy list:
 
To refresh your buddy list:
 
<pre><nowiki>
 
<pre><nowiki>
 
blist
 
blist
 
</nowiki></pre>
 
</nowiki></pre>
 
 
To message a buddy:
 
To message a buddy:
 
<pre><nowiki>
 
<pre><nowiki>
 
/msg username message
 
/msg username message
 
</nowiki></pre>
 
</nowiki></pre>
 
 
or, for a single IM and not creating a dedicated new window:
 
or, for a single IM and not creating a dedicated new window:
 
<pre><nowiki>
 
<pre><nowiki>
 
user: message
 
user: message
 
</nowiki></pre>
 
</nowiki></pre>
 
+
If bitlbee is driving you crazy with all the status updates you can suppress those by ignoring that output:
 +
<pre><nowiki>
 +
/ignore &bitlbee MODES
 +
</nowiki></pre>
 +
If you'd like to make bitlbee strip off any html from those ''other'' clients, use:
 +
<pre><nowiki>
 +
set strip_html true
 +
</nowiki></pre>
 +
If you ever need to change one of the account passwords in Bitlbee use:
 +
<pre><nowiki>
 +
set password {account #} {new password}
 +
</nowiki></pre>
 
== Additional Links ==
 
== Additional Links ==
 
+
* [[UbuntuHelp:Bitlbee/Latest]] - information on compiling the latest build (1.1.1dev) for MUC support
For additional information on Bitlbee please see:
+
For additional information on [[UbuntuHelp:BitlBee|BitlBee]] please see:
* [http://www.bitlbee.org/main.php/intro.html Bitlbee Home Page]
+
* [http://www.bitlbee.org/ BitlBee Home Page]
 
----
 
----
[[category:CategoryDocumentation]]
+
[[category:CategoryInternet]] [[category:CategoryNetworking]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 21:43的最新版本

Introduction

BitlBee is an IRC gateway that allows you to connect, via IRC, to outside IM networks such as Jabber, MSN, Yahoo! and AIM. There are public servers available but you can also install this IRC gateway system on your own machine or server. This will outline installation steps and steps on connecting to your outside IM network accounts.

Installation

If you want to run your own BitlBee server, which many users prefer for privacy/security, you need to install the BitlBee package and service.

sudo aptitude install bitlbee

If you prefer not to install your own private server see below for a list of public servers around the world. As of the version 1.0.3-1.3ubuntu1, the Feisty Fawn version of the bitlbee package doesn't create the right file in /etc/xinetd.d/ in order to launch bitlBee. You'll have to add a "ircd" file by hand in that directory, containing:

service ircd
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = bitlbee
        server          = /usr/sbin/bitlbee
        port            = 6667
        disable         = no
        bind            = localhost         # prevent non-local access by binding to the loopback device
}

And then restart xinetd :

sudo /etc/init.d/xinetd restart
  • note : if this command does not work for you double check that you have the xinetd package installed and try again.
  • note : the above is not needed on Ubuntu 6.06.1 or Ubuntu 7.10, just 7.04 apparently.

Connect To Bitlbee

After you've installed BitlBee gateway server you'll need to connect to it. This is done via the connect command within your IRC client. In this example I am using the irssi IRC client and so I use the command:

/connect server.address

If you're connecting to your local machine for this service you can use:

/connect localhost

If you prefer to use a public server you can find an official list of BitlBee servers here.

Setup Your Accounts

Once you've connected to your server (or a public server) you need to register your account and then create a list of the outside IM accounts you want to use or have access to. To register (whether on public or private server) use:

register [password]

After you've registered your account on your new server you simply add your accounts. Jabber (gmail account based)

account add jabber [email protected] password talk.google.com:5223:ssl

Jabber (other server)

account add jabber [email protected] password server.address:port:ssl(?)

Oscar (AIM/ICQ)

account add oscar 72696705 hobbelmeeuw login.icq.com
account add oscar MyScreenName MyPassword login.oscar.aol.com

Yahoo!

account add yahoo handle password

MSN

account add msn handle password

Once you've created any / all accounts you want access to you'll need to activate the account to connect.

account on

Lastly, save these settings on your account

save

Next time you connect to your BitlBee server you can retrieve your settings, accounts, etc by identifying yourself to your account with the password you used above (see register).

identify [password]

Using BitlBee

Once your accounts are connected you can use the help command for more details usage. Some of the basic uses are listed below: To refresh your buddy list:

blist

To message a buddy:

/msg username message

or, for a single IM and not creating a dedicated new window:

user: message

If bitlbee is driving you crazy with all the status updates you can suppress those by ignoring that output:

/ignore &bitlbee MODES

If you'd like to make bitlbee strip off any html from those other clients, use:

set strip_html true

If you ever need to change one of the account passwords in Bitlbee use:

set password {account #} {new password}

Additional Links

For additional information on BitlBee please see: