特殊:Badtitle/NS100:Bitlbee:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第1行: 第1行:
{{From|https://help.ubuntu.com/community/Bitlbee}}
{{From|https://help.ubuntu.com/community/Bitlbee}}
{{Languages|UbuntuHelp:Bitlbee}}
{{Languages|UbuntuHelp:Bitlbee}}
== Introduction ==
== 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.
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 BitlBee server, which many users prefer for privacy/security, you need to install the 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
第31行: 第22行:
}
}
</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.
== Connect To Bitlbee ==
== 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:
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 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
</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 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>
== Additional Links ==
== Additional Links ==
For additional information on BitlBee please see:
For additional information on BitlBee please see:
* [http://www.bitlbee.org/ BitlBee Home Page]
* [http://www.bitlbee.org/ BitlBee Home Page]

2007年11月30日 (五) 16:18的版本

{{#ifexist: :Bitlbee/zh | | {{#ifexist: Bitlbee/zh | | {{#ifeq: {{#titleparts:Bitlbee|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Bitlbee|1|-1|}} | zh | | }}

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
}

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.

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

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

Additional Links

For additional information on BitlBee please see: