Home WebMail
 


BNC Help

Compiling and installing bnc is no easy task for someone has never done it before. A simple mistype can lead you completely in the wrong direction. This little guide was created to help you compile and setup your bouncer. If you get a precompiled bnc, you can safely skip all these steps and go to the Configuring BNC section below.

Compiling BNC
After you have the bnc tar file in your home directory, follow the simple steps below. As a service to our customers, we keep an updated archive of precompiled bouncers, so all these steps are done for you. To access these, type getbnc in your telnet window and it'll copy the files to your home directory.
    tar -zxf bnc2.8.4.tar.gz
    The bnc should have extracted into a directory in your home directory so you would type:
    cd bnc2.8.4
    Now to configure the bnc type:
    ./configure
    The configure script runs all its checks and tests based on our operating system. After its finished you would type:
    make
    After its all done compiling all you need to do is edit the configuration file and your bouncer should be ready to run! Please see Configuring BNC below.

Configuring BNC
Now that your bouncer is all compiled you need to edit a configuration file for it. Follow the simple steps below:
    pico bnc.conf
    This will open a notepad type editor, which you can easily get around and edit what you need to, to make your bnc work. Fully edit this file and save it by holding CTRL and pressing O, then exit out of the editor by holding CTRL and pressing X.
    Now, if you've edited your configuration properly, your bnc bot should start up. To start your bnc type:
    ./bnc
    Now your bouncer is running and you should be able to connect to it.
    In your IRC screen type:
    /server the.main.vhost.you.picked.com port#
    That will connect you to the bouncer, it will now ask you for a password and then what irc server to connect to. Once you connect, you should show up on irc as loginname@the.main.vhost.you.picked.com!

Adding Your BNC to Crontab
Now that you have your bouncer all setup and running, you may choose to crontab it. In the event our server reboots, or some other technical problem occurs, crontab will restart your bnc. If you would like to setup crontab for your bouncer, please follow the instructions below.
    You first need to locate your bncchk file. Its usually in the main bnc directory. After you've found it, you need to change a few things in it to make it work, type: pico bncchk
    This will open a notepad type editor, which you can easily get around and edit these 4 items:

    BNCBIN=bnc
    BNCPIDFILE=pid.bnc
    BNCPATH=/usr/home/yourlogin/bnc2.8.4

    Once you have edited those fields save your bncchk file by holding CTRL and pressing O, then exit out of the editor by holding CTRL and pressing X.
    Now that you have edit the botchk script, its time to add it to crontab, type:
    setenv EDITOR "pico"
    crontab -e
    This once again opens up the pico editor, however this time you are editing a special crontab file. You need to add the following line:
    0,10,20,30,40,50 * * * * /usr/home/yourlogin/bnc2.8.4/bncchk >/dev/null 2>&1
    Replace the above path with the full path to your bncchk file. Now save the file and quit the editor as done before. It will say:
    crontab: installing new crontab
    Now your bnc is crontabed and will be restarted incase of problems!

Still having problems?
If you are still having problems, please e-mail us at support@lomag.net for a prompt reply.


< Go Back



services | information | support | contact | order


Copyright ©1998-2024 Lomag Internet Services, LLC. All rights reserved.