How to install and configure a psyBNC in Linux

Posted on: 2018-05-06

First make sure make and gcc are installed otherwise open the console and type "yum install make gcc -y".

Download from official psyBNC site the latest version by typing "wget http://www.psybnc.at/download/beta/psyBNC-2.3.2-7.tar.gz".

Extract the archive by typing "tar zxvf psyBNC-2.3.2-7.tar.gz".

Remove the archive "rm -rf psyBNC-2.3.2-7.tar.gz".

cd psybnc

make

rm -rf salt.h

The default port is 31337 but this can be modified in config file by typing "vi psybnc.conf".

Now after everything was set type "./psybnc" and your psyBNC is now ready to use.

Also make sure your psyBNC port is not blocked by firewall "iptables -I INPUT -p tcp -m tcp --dport PORT -j ACCEPT ; service iptables save ; service iptables restart".

Open your IRC client and setup your ident to email input before you connect to your psybnc.

Connect to your psybnc by typing "/server IPADDRESS PORT" or "/server IPADDRESS:PORT"

It should pop up a notification to quote your password type "/QUOTE PASS YOURPASSWORD".

After your are logged in you should receive a private conversation from "-psyBNC" with some useful commands.

Now you can add a server by typing "/addserver SERVER:PORT" and wait your psybnc to connect to the server. Once is connected your psybnc is up and running.

If you want to add another user type "/adduser ident:username".

If you want your nickname to be changed after you quit from your IRC client set you away nick name by typing "/setawaynick OFFLINENICKNAME".

To change your password simply type "/password NEWPASSWORD" or to change the password from one of your users type "/password ident:NEWPASSWORD".

To see the list with all the users type "/bwho".

Add auto op "/addautoop #channel :*!*@host".

List of all psybnc commands "/bhelp".

Set your psyBNC to run after reboot.

Create a file startup.sh in your psybnc directory then use chmod +x startup.sh to make the file an executable and put the following code

[CODE]

#!/bin/bash

cd /root/psybnc

./psybnc

[/CODE]

Set /etc/rc.d/rc.local to be an executable by typing chmod +x /etc/rc.d/rc.local and add this line to the end of the file "/root/psybnc/startup.sh".


Tags: psybnc