-
Install Net::Jabber
Get the latest Net::Jabber with all requirements. There are several ways, use your favourite:
-
apt on debian
apt-get install libnet-jabber-perl
-
FreeBSD
cd /usr/ports/net/p5-Net-Jabber && make all install clean
-
-
Get Bandersnatch
svn co http://oss.svn.funkypenguin.co.za/bandersnatch/ cd bandersnatch
-
Configure ejabberd
Edit ejabberd.cfg and add this line to the 'modules' section:
{mod_service_log, [{loggers, ["bandersnatch.jabber.myserver.com"]}]},
Add this to 'listen' section to make ejabberd listen for Bandersnatch connections:
{5526, ejabberd_service, [{ip, {127, 0, 0, 1}}, {access, all}, {hosts, ["bandersnatch.jabber.myserver.com"], [{password, "secret"}]}]},
-
Create Bandersnatch database
Read doc/bandersnatch.html and create database:
mysql -u root -pPASSWORD bandersnatch < bandersnatch.sql
-
Configure Bandersnatch
Check config.xml to make sure that we're going to use the same name/secret/port as in ejabberd.cfg.
<server> <connectiontype>tcpip</connectiontype> <hostname>localhost</hostname> <port>5526</port> <secret>secret</secret> </server> <component> <name>bandersnatch.jabber.myserver.com</name> </component>
-
Restart ejabberd
-
Start Bandersnatch
Run the script:
perl bandersnatch config.xml
Related Links
- Bandersnatch forum
- Tutorial: Bandersnatch with Jabberd2
Bandersnatch dead?
It looks like bandersnatch is dead:
NOTICE: This domain name expired on 11/28/2010 and is pending renewal or deletion
bandersnatch package was removed from debian in 2008 -http://packages.qa.debian.org/b/bandersnatch.html
Is there any alternative?
Bandersnatch Alternative
Bandersnatch doesn't seem to be supported anymore. Has another utility taken its place?
I just discovered a Guide to
I just discovered in the Ubuntu forums aguide to Install Bandersnatch and ejabberd under Ubuntu .
--
sander
Step #3 is deprecated.
Step #3 is deprecated. Also, the source of bandersnatch has been changed to SVN repo:
http://oss.svn.funkypenguin.co.za/bandersnatch/
Host oss.svn.funkypenguin.co.za not found
$ host oss.svn.funkypenguin.co.za ns.sun.com
Using domain server:
Name: ns.sun.com
Address: 192.9.9.3#53
Aliases:
Host oss.svn.funkypenguin.co.za not found: 3(NXDOMAIN)
Ok, changes done.
Ok, changes done.