<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lockstockmods &#187; admin</title>
	<atom:link href="http://www.lockstockmods.net/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lockstockmods.net</link>
	<description>If its not broken... take it apart and mod it</description>
	<lastBuildDate>Sat, 26 Feb 2011 20:15:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>QNAP TS-101</title>
		<link>http://www.lockstockmods.net/2008/04/06/qnap-ts-101/</link>
		<comments>http://www.lockstockmods.net/2008/04/06/qnap-ts-101/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 23:30:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[NAS]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=14</guid>
		<description><![CDATA[I bought a TS-101 a pretty long time ago, but never really used it, recently i got it back out its box and decided to have a play with it. Before i begin id just like to say please contact me if you know any more about the QNAP TS-101, or sign up and submit [...]]]></description>
			<content:encoded><![CDATA[<p>I bought a TS-101 a pretty long time ago, but never really used it, recently i got it back out its box and decided to have a play with it.</p>
<p>Before i begin id just like to say please contact me if you know any more about the QNAP TS-101, or sign up and submit an article, we are always looking for new articles.</p>
<p>I dont know what most people would use this for, it has a lot of useful features built in, but i decided to use it to store all my films, music, tv shows etc in a central place that could be accessed by anyone on the network.</p>
<p>I have a pretty large DVD collection, but i tend to leave them lying about and they get scratched, so i like to download copies of the films i own (lets face it, p2p downloads are a lot quicker and simpler than trying to rip the DVD&#8217;s yourself), which gave me a great idea, the TS-101 was a built in webserver, with PHP, i decide to download some kind of cataloguing script where i could add the movies i had on the NAS and it would grab information about it from imdb.</p>
<p>Which led me to 2 programs and my first issues with the TS-101, the two programs i found that would fit the bill were VCD-db from <a href="http://vcddb.konni.com/">http://vcddb.konni.com/</a> this runs on PHP5 and supports a multitude of databases, orange isnt everybodys color (nor mine) but i think this app looks gorgeous, the other app was VideoDB from <a href="http://sourceforge.net/projects/videodb/">http://sourceforge.net/projects/videodb/</a> now this app isnt as pretty maybe, but it does have a LOT of things in its favor, it runs on PHP4 with MySQL&#8230; so whats my problem? The TS-101 Webserver has PHP4 and SQlite&#8230;</p>
<p>Damnit&#8230; VCD-db fills the SQlite tickbox but not the PHP4 wheres VideoDB is the opposite, so i decided to look into modding the TS-101 myself, at the time of writing, i still havent managed to get either app working on the TS-101, but i HAVE found several interesting things out.</p>
<p>*Update* Following the MySQL update at the bottom of this article, i have now managed to install VideoDB</p>
<p>First things first, connecting to the TS-101, i figured there must be some way to connect to it, after searching for a while i found reference to enabling the Telnet port by doing some MD5 hashing on blah blah blah&#8230; it didnt work, maybe i did something wrong, it doesnt really matter, what i have found is the best way is to use a firmware with the Telnet already enabled, i have uploaded 2 firmwares in the downloads section, the <a href="http://www.lockstockmods.net/dloads/QNAP/U_TS-101_20070105-2.0.0.img">2.0.0 firmware</a> from progressive, and the <a href="http://www.lockstockmods.net/dloads/QNAP/U_TS-101-optware.img">Optware firmware</a>, personally i use the <a href="http://www.lockstockmods.net/dloads/QNAP/U_TS-101-optware.img">Optware firmware</a>, the packages are in the unstable status, but its so much more interesting.</p>
<p>To Telnet to the TS-101 i recommend using PuTTy, again you can get this from the download section, dont even bother using Windows&#8230; telnet on port 13131.</p>
<p>Once you are in its time to do something, lol, i found a lot of information on creating a build environment to compile new programs from <a href="http://scratchpad.wikia.com/wiki/Open_Turbostation:Software">http://scratchpad.wikia.com/wiki/Open_Turbostation:Software</a> about creating a cross compiler, using cygwin, colinux, etc, but basically the easiest way to set up a uclibc build enviroment is as follows.</p>
<p>1) Download the <a href="http://www.lockstockmods.net/dloads/QNAP/ppc.rootfs.tar.bz2">tarball from here</a><br />
2) Copy the tarball to a Qnap share directory (e.g. Qweb)<br />
3) Telnet in as administrator<br />
4) Unpack the tarball tar -xvjf ppc.rootfs.tar.bz2<br />
5) Mount the new directory mount -t proc none loopmount/proc<br />
6) Now log into the new filesystem chroot loopmount /bin/bash</p>
<p>You should now have a fully functional build environment which also includes C/C++, awk etc. This environment can now be used to build packages, with the correct shared library support. Once you have built your code, it can be used in the normal Qnap environment. Currently the Qnap runs its OS in Ram drive, so what does that mean to us? Any changes are lost at reboot! To return to the environment it is necessary relogin as administrator, navigate to the location of the dir to be loopmounted, and re-issue the mount and chroot commands.</p>
<p>Doing it this way i managed to get a fair amount of packages compiled, however, remember, the TS-101 is not a Dual Core processor with 2GB of memory&#8230; compiling new packages takes a while&#8230; a LONG while, up to several hours depending on the packages, and after waiting all that time, if something doesnt work quite right, its VERY frustrating, i eventually managed to get Apache2, MySQL5 and PHP5 installed after 2 days of changing configs, doing everything i could think of, and then when i tried to start Apache it said it couldnt find the libphp5.so, i checked the dir it was looking in, and it was definately there&#8230; i wanted to kill someone at this point, lol.</p>
<p>The alternative is <a href="http://www.lockstockmods.net/dloads/QNAP/U_TS-101-optware.img">Optware</a>.. and in comparison its like heaven, lol.</p>
<p>To install it simply download the firmware from the downloads section, then in the QNAP web administration panel go to updating the system, update the firmware, browse for the downloaded firmware and apply it.</p>
<p>Once the system has rebooted, just telnet to port 13131 and you&#8217;re set, to get a list of available packages type ipkg list to install a package ipkg install [pkg name] to remove a package ipkg remove [pkg name] to get more options type ipkg &#8211;help the only probelm is these are unstable, and not all of them work, i got nano, thttpd and php installed, however installing php-thttpd (to get thttpd with php) would not work, php-apache seemed to run but wouldnt serve php pages, so its a bit hit and miss, but its a lot more fun to play with, and hopefully these issues will be addressed at some point.</p>
<p>*Update: MySQL*</p>
<p>While looking on the yahoo group i found a way to install MySQL, so here it is.<br />
1) Telnet to the TS-101<br />
2) Create MySQL Share Dir: mkdir /share/HDA_DATA/MySQL<br />
3) Link share: ln-s /share/HDA_DATA/MySQL /share/MySQL<br />
4) chmod 777 /share/HDA_DATA/MySQL<br />
5) Upload the MySQL Package from <a href="http://www.lockstockmods.net/dloads/QNAP/mysql-4.1.21-TS-101-v0.1.tar">here</a> to the MySQL Folder.<br />
6) cd /share/HDA_DATA/MySQL<br />
7) tar xf mysql-4.1.21-TS-101-v0.1.tar<br />
 <img src='http://www.lockstockmods.net/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> /share/MySQL/install.sh /share/MySQL/mysql-4.1.21-TS-101.tgz /share/MySQL<br />
9) /usr/local/mysql/mysqld.sh start<br />
10) Try to connect MySQL /usr/local/mysql/bin/mysql mysql -u root &#8211;password=admin if it works&#8230; congrats <img src='http://www.lockstockmods.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Note:<br />
1. File path<br />
MySQL files including execution and library files are installed into /share/MySQL/mysql<br />
MySQl database are stored in /share/MySQL/mysqldb<br />
2. Because the link, /usr/local/mysql will be removed after rebooting, you have to input the following command to make the mysql link after every reboot.<br />
ln -s /share/HDA_DATA/MySQL /share/MySQL<br />
ln -sf /share/MySQL/mysql /usr/local/mysql<br />
/usr/local/mysql/mysqld.sh start<br />
3. You may also start/stop MySQL through web (login as administrator):</p>
<p>http://IP_OF_YOUR_NAS_SERVER:6000/cgi-bin/MySQL/mysql.cgi</p>
<p>After rebooting every time, the following commands are needed to be input to enable the MySQL web.<br />
ln -sf /share/MySQL/webpage /home/httpd/cgi-bin/MySQL<br />
chmod 755 /home/httpd/cgi-bin/MySQL/mysql.cgi</p>
<p>Links:<br />
<a href="http://scratchpad.wikia.com/wiki/Open_Turbostation"> http://scratchpad.wikia.com/wiki/Open_Turbostation</a><br />
<a href="http://vcddb.konni.com/"> http://vcddb.konni.com/</a><br />
<a href="http://sourceforge.net/projects/videodb/"> http://sourceforge.net/projects/videodb/</a><br />
<a href="http://www.qnap.com.tw/"> http://www.qnap.com.tw/</a><br />
<a href="http://www.nslu2-linux.org/wiki/Optware/HomePage"> http://www.nslu2-linux.org/wiki/Optware/HomePage</a><br />
<a href="http://tech.groups.yahoo.com/group/OpenTurbostation"> http://tech.groups.yahoo.com/group/OpenTurbostation</a><br />
#NormalPeopleHateMe on Undernet</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/06/qnap-ts-101/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing and Configuring Anope Services 1.7.x</title>
		<link>http://www.lockstockmods.net/2008/04/06/installing-and-configuring-anope-services-17x/</link>
		<comments>http://www.lockstockmods.net/2008/04/06/installing-and-configuring-anope-services-17x/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 23:28:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IRC/Shells]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=13</guid>
		<description><![CDATA[Retrieve the latest build of the 1.7.x series from http://www.anope.org Login to your shell and transfer the &#8220;tar.gz&#8221; via ssh or ftp. Now, you must ssh into your shell to begin installing. Once you&#8217;re inside the shell, perform the following commands (i will assume the latest version is 1.7.13): gunzip anope-1.7.13.tar.gz tar xfv anope-1.7.13.tar cd [...]]]></description>
			<content:encoded><![CDATA[<p>Retrieve the latest build of the 1.7.x series from http://www.anope.org<br />
Login to your shell and transfer the &#8220;tar.gz&#8221; via ssh or ftp.</p>
<p>Now, you must ssh into your shell to begin installing.</p>
<p>Once you&#8217;re inside the shell, perform the following commands (i will assume the latest version is 1.7.13):</p>
<p>gunzip anope-1.7.13.tar.gz<br />
tar xfv anope-1.7.13.tar<br />
cd anope-1.7.13<br />
./Config (if you choose md5 encryption of the passwords, modules such as ns_getpass will not work)<br />
make<br />
make install<br />
cd ..<br />
cd services (you should edit your services.conf to your satisfaction here)<br />
./services (this will start Anope Services should the conf have no errors)</p>
<p>NOTES: When editing the conf, be careful when enabling Raw. Raw is very unstable and can and WILL crash services and/or ircd(s) if not used properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/06/installing-and-configuring-anope-services-17x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Eggdrop</title>
		<link>http://www.lockstockmods.net/2008/04/06/setting-up-eggdrop/</link>
		<comments>http://www.lockstockmods.net/2008/04/06/setting-up-eggdrop/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 23:27:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IRC/Shells]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=12</guid>
		<description><![CDATA[*NOTE &#8211; This only applies to servers where you are allowed to compile, a lot or free shell servers have their own way of setting up eggdrop automatically, if in doubt ask your provider* SSH to the server, then run the following commands at the command prompt: Install wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.17.tar.gz tar zxvf eggdrop1.6.17.tar.gz cd eggdrop1.6.17 [...]]]></description>
			<content:encoded><![CDATA[<p>*NOTE &#8211; This only applies to servers where you are allowed to compile, a lot or free shell servers have their own way of setting up eggdrop automatically, if in doubt ask your provider*</p>
<p>SSH to the server, then run the following commands at the command prompt:</p>
<p>Install<br />
wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.17.tar.gz<br />
tar zxvf eggdrop1.6.17.tar.gz<br />
cd eggdrop1.6.17<br />
./configure<br />
make config (compiles all modules) or make iconfig (allows you to select the modules to compile).<br />
make<br />
make install DEST=/home/name/botdir<br />
cd /home/name/botdir</p>
<p>Configure<br />
Click the following link to create an eggdrop config file:</p>
<p>http://www.lockstockmods.net/eggdrop/eggconf.php</p>
<p>Run<br />
./eggdrop -m</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/06/setting-up-eggdrop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up psyBNC</title>
		<link>http://www.lockstockmods.net/2008/04/06/setting-up-psybnc/</link>
		<comments>http://www.lockstockmods.net/2008/04/06/setting-up-psybnc/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 23:16:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IRC/Shells]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=11</guid>
		<description><![CDATA[If you know nothing about bncs, a bnc is short for a &#8216;bouncer.&#8217; A bnc acts as a proxy for irc, allowing you to hide your real IP address and use a vhost (vanity host - something like &#8216;this.is.a.l33t.vhost.com&#8217;). What are the advantages of this? Well, mainly there&#8217;s just one important one: It&#8217;ll stop stupid [...]]]></description>
			<content:encoded><![CDATA[<p>If you know nothing<br />
about bncs, a bnc is short for a &#8216;bouncer.&#8217; A bnc acts as a proxy for irc,<br />
allowing you to hide your real IP address and use a vhost (vanity host -<br />
something like &#8216;this.is.a.l33t.vhost.com&#8217;). What are the advantages of this?<br />
Well, mainly there&#8217;s just one important one: It&#8217;ll stop stupid packet kiddies<br />
from trying to knock you off the network. Everyone hates getting disconnected,<br />
and with a bnc on a decent shell, you should be pretty immune. Remember though:<br />
the kiddies can still nuke you, but it is assumed that the shell provider has a<br />
high-bandwidth line that allows it to withstand the numerous packets. If your<br />
shell is on a 56.6, you&#8217;ll still be screwed.</p>
<p>So&#8230; why psybnc? There<br />
are a variety of other open source bnc&#8217;s available for you to download, most<br />
notably EZBounce and plain-ol BNC. Both of these do the exact same basic thing<br />
as psybnc: hide your real host. But that&#8217;s about where the similarity ends.<br />
I&#8217;ve been using psy for about three months now, and I&#8217;m in love with all the<br />
features that it offers. To name a few:</p>
<p>1. You&#8217;ll always be connected to irc. Even when you close mirc, psy will<br />
maintain your connection, so when you connect later, you&#8217;ll instantly be back<br />
on the channels you left. This also lets you hold your nick (if you need that<br />
feature), or hold ops on a channel.</p>
<p>2. psy hides your IP even in DCC sessions. In other bncs, a direct<br />
client-client session is opened, thus revealing your IP. In psy, the connection<br />
is bounced through the shell, and your IP remains your dirty little secret <img src='http://www.lockstockmods.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>3. You can link multiple psy&#8217;s together. This allows you to share vhosts, and<br />
also create a small ircd, termed the &#8216;internal&#8217; network on the bncs.</p>
<p>There are tons more features,<br />
but you can just download the source and view the README.</p>
<p>Now&#8230; for the first<br />
part of this tutorial, the Basic section, I assume you have little or no<br />
experience with shells/irc. For the Intermediate section, though, I assume you<br />
can hold your own. For most users, the Basic is as far as they need to go, but<br />
all the fun stuff is a bit more complicated.</p>
<p>Configuring and Compiling</p>
<p>Hopefully you have<br />
already downloaded the source. If not, you can find it here:<br />
style=&#8217;font-size:12.0pt;color:blue&#8217;&gt;http://www.psychoid.lam3rz.de<br />
style=&#8217;font-size:12.0pt&#8217;&gt;. After you have downloaded that, fire up your<br />
favorite ftp client and upload it to the root directory of your shell. The next<br />
step is to decompress this file (.tar.gz is kinda like a .zip file for all you<br />
windoze ppl out there). To do this, type &#8220;tar -zxvf<br />
psyBNC2.2.1.tar.gz&#8221; Notice that it&#8217;s case-sensitive. Everything in unix is<br />
case-sensitive. Keep that in mind for everything in the future.</p>
<p>If you typed the<br />
correctly, you should have a &#8220;psybnc&#8221; directory on your shell. Change<br />
to it (&#8220;cd psybnc&#8221;). Do &#8220;ls -al&#8221; and ogle over all those<br />
files. Now, this next part is where it gets a bit harder. psyBNC includes a GUI<br />
for configuring the bnc. However, this requires ncurses to be installed on your<br />
shell, something a bunch of shells do not have. In my experience, most flavors<br />
of linux have it installed, but most others (FreeBSD, etc) don&#8217;t. So, give it a<br />
whirl. type &#8220;make menuconfig&#8221; If you get a GUI, congrats: the<br />
configuring process is much easier. If not, well, welcome to my world <img src='http://www.lockstockmods.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  With<br />
menuconfig, the GUI is very easy to follow: obviously an [X] denotes that the<br />
option is selected, while [ ] indicates it&#8217;s not.</p>
<p>For all those stuck<br />
doing it by hand, after each option I explain how to set it. For all the<br />
compiling options, everything is placed in the file config.h, which is found in<br />
the psybnc directory. Just open that file with your favorite editor on the<br />
shell (I use and recommend pico -&gt; type &#8220;pico config.h&#8221;). In this<br />
file, if you want something added, it has to be defined. Such as: #define<br />
INTNET adds support for the internal network. I list each option below, and<br />
tell you how to define it, which is shown in blue.</p>
<p>Compiling options</p>
<p>Support Encryption -<br />
This encrypts all your passwords, and enables support for channel encryption,<br />
relay encryption, etc&#8230; I highly recommend you leave this enabled. #define<br />
CRYPT</p>
<p>Encryption Type:<br />
(default = Blowfish) &#8211; I&#8217;m not an encryption genius. I have no clue if Blowfish<br />
is better than IDEA or vice-versa. I just leave it as Blowfish. #define<br />
BLOWFISH or #define IDEA</p>
<p>Support Translation -<br />
This lets you type in english (or whatever your language is) and have the text<br />
in the channel appear in a different language. You&#8217;ll have to see the README<br />
for more information: I don&#8217;t use this feature. #define TRANSLATE</p>
<p>Support Internal Network<br />
- This lets you use the internal ircd that psy has. Think of it as a big<br />
partyline where you can set modes/bans/topic/etc&#8230; I like it, and I recommend<br />
you leave it enabled. #define INTNET</p>
<p>Support Traffic Logging<br />
- This enables support for logging channels when you&#8217;re not around. It can be<br />
handy, but it can also eat up your shell disk space VERY fast. So be careful if<br />
you enable this. (note: you can leave support for it enabled here, then disable<br />
it after it is compiled by simply turning it off) #define TRAFFICLOG</p>
<p>Support Linkage &#8211; If you<br />
want your bnc to link to others (or others to link to yours), enable this. I<br />
use it. #define LINKAGE</p>
<p>Support DCC Files / DCC<br />
Chat &#8211; Most people use these features, so leave em be. #define DCCFILES and<br />
#define DCCCHAT</p>
<p>Mode: Multiuser or<br />
Singleuser &#8211; Duh. If you&#8217;re going to share your bnc, set it to multi. If it&#8217;s<br />
just you, set it to Single. #define MULTIUSER or #define SINGLEUSER</p>
<p>Maxium users -<br />
self-explanatory #define MAXUSER n (n = # of users)</p>
<p>Maximum connections -<br />
this is the number that each user can have. They need at least 2<br />
(incoming/outgoing) and more for dcc&#8217;s, multiple networks, etc. I suggest<br />
leaving it at 25. #define MAXCONN n (n = # of connections per user)</p>
<p>Support Scripting -<br />
psyBNC allows user-specific scripts. I will not discuss that in this tutorial,<br />
but it doesn&#8217;t hurt to leave support for it enabled. #define SCRIPTING</p>
<p>Support oIdentd &#8211; If<br />
your shell supports it, this allows users to change their ident. Most don&#8217;t<br />
support it. I don&#8217;t use it. (for more info on oIdentd:<br />
http://www.sourceforge.net) #define OIDENTD</p>
<p>Support Multiple IRC<br />
Networks &#8211; This allows users to connect to &gt;1 network with the same client.<br />
Hence, in one mirc session, the user could be on efnet, dalnet and ircnet. I<br />
love this feature and recommend you leave it enabled (even if you don&#8217;t plan to<br />
use it now). #define NETWORK</p>
<p>Support proxy usage &#8211; If<br />
you want to further anonymize your connection by bouncing<br />
mirc&#8211;&gt;bnc&#8211;&gt;proxy&#8211;&gt;irc, enable this. But since most irc servers<br />
check for open proxies, this won&#8217;t work in many cases. #define PROXYS</p>
<p>Anonymous Bouncer Usage<br />
- Want the whole world to use your bnc? Then enable this! (not recommended)<br />
#define ANONYMOUS</p>
<p>No Permanent<br />
IRC-Connections &#8211; If this is enabled, psy will disconnect you from irc when you<br />
disconnect rom the bnc. Otheriwse, you&#8217;ll always stay connected to irc unless<br />
you force it to quit. #define DYNAMIC</p>
<p>Loglevel &#8211; 3 different<br />
options here, choose your poison. I prefer to leave them all enabled since I<br />
like to know everything going on with my bnc. #define LOGLEVEL n (where n is: 0<br />
= Errors, Warnings and Info; 1 = Errors and Warnings; 2 = Errors only)</p>
<p>Use the 2.1.1 compatible<br />
partyline &#8211; If you&#8217;re going to be linking to old psy&#8217;s, this might be good to<br />
enable. But if you&#8217;re the only bnc, or if they&#8217;re all 2.2.1, no need to enable<br />
this option. #define PARTYCHANNEL</p>
<p>Version reply &#8211; Set the<br />
reply psybnc will send when someone sends you a CTCP VERSION query. (note: when<br />
you are connected to the bnc, psy will be transparent, all ctcp&#8217;s will be<br />
answered by mirc. When you&#8217;re not connected, psy will only answer to the<br />
version ctcp as set by this option.) #define CTCPVERSION &#8220;reply&#8221;<br />
where reply is whatever you want to set&#8230; psy defaults to: &#8220;psyBNC 2.2.1<br />
by the most psychoid&#8221;</p>
<p>Once you have all these<br />
options set, you have two choices: If you&#8217;re using menuconfig, skip to the next<br />
step. If you&#8217;re doing it manually, this is where you actually want to compile<br />
your bnc. It&#8217;s very easy to do. Simply type &#8220;make&#8221; in the psybnc<br />
directory. It won&#8217;t take long to compile. Once it&#8217;s done, go on to the next<br />
step.</p>
<p>Configuring options</p>
<p>If you&#8217;re using the GUI,<br />
all these options are accessable under the Bouncer-Config part of the menu. If<br />
you&#8217;re not using the GUI, all these options are in psybnc.conf, which is<br />
created in the psybnc directory after it is compiled. To edit these options<br />
manually, just edit this file. The Appendix has the proper syntax for each<br />
option, go there and look at them.</p>
<p>Before going through<br />
these options, do the following: know the IP of your shell. for example, if you<br />
connect to &#8220;l33t.shell.com&#8221;, go into mirc and type &#8220;/dns<br />
l33t.shell.com&#8221; to get the numeric IP. Also, choose a port for the bnc. I<br />
recommend some random number that no one will guess. Ok, on to the options:</p>
<p>Listening ports &#8211; You<br />
have to tell the bnc where to listen. You can have it listen on more than one<br />
port on the same IP, on multiple IPs with the same port, etc. For most people,<br />
listening on just one port on one IP is adequate. (the psy default is 31337,<br />
and you can leave it at that if you&#8217;re lame)</p>
<p>Links &#8211; Don&#8217;t worry about this now.</p>
<p>Bouncer Name &#8211; Name your bnc. Something like &#8220;mypsy1&#8243; will work just<br />
fine.</p>
<p>Host Allows &#8211; Want to restrict access to certain IPs or certian IP masks? This<br />
is the place to put those permissions. psy will disallow access to anyone not<br />
listed here. To allow anyone (provided they have the correct username and<br />
password) set this to &#8220;*&#8221;.</p>
<p>Users &#8211; At this point, you want to just add yourself. Adding other users will<br />
be discussed in more detail later. In menuconfig, just select this, select<br />
&#8220;New&#8221; then follow the directions. Remember that to connect to psybnc,<br />
your ident in mirc must be set to your psybnc username. For all those manual<br />
people, jump down to the Appendix, which is where you should be anyway.</p>
<p>DCC Host &#8211; The IP to use for all your DCC sessions (if you defined DCC<br />
support). I recommend setting it to the same IP that your bnc is listening on<br />
for simplicity.</p>
<p>Congrats, your setup is complete. If you haven&#8217;t done so already, it&#8217;s time to<br />
compile your bnc by typing &#8220;make&#8221; at the shell prompt in your psybnc<br />
directory. Then type &#8220;./psybnc&#8221; to start the bouncer. Hopefully<br />
everything went smoothly and you&#8217;re ready to jump into the next section:</p>
<p>Setting up your Account</p>
<p>The first thing you need<br />
to do is connect to your bnc. In mirc, open up the connect dialogue box and add<br />
in another server. Name it &#8220;My BNC&#8221; or something like that, enter the<br />
IP and port, and enter the password that you chose (either through menuconfig<br />
or in the conf file). Now make sure that your ident is set to your username.<br />
It&#8217;s also a good idea to set your e-mail address to</p>
<p>&#8220;username@whatever.com&#8221;. If psy can&#8217;t get an ident response from you,<br />
it checks your e-mail addy as verification of the username. If everything goes<br />
well, you&#8217;ll see this when you connect: -Welcome- psyBNC2.2.1</p>
<p>Now you need to get<br />
connected to irc: first, you need to select your vhost. To see what vhosts are<br />
available, type &#8220;vhosts&#8221; at your shell prompt. For security reasons,<br />
there is no way to view the vhosts in psy. After your vhost is selected, you&#8217;ll<br />
need to add in some irc servers, and set a few other options. the commands<br />
follow below. All commands appear in RED, everything else after it is an<br />
explanation. All brackets are for my purposes, don&#8217;t use brackets in any<br />
command!</p>
<p>/vhost<br />
[vhost] &#8212; [vhost] is your vhost in alpha<br />
form (ie, this.is.a.cool.vhost.com and NOT 127.0.0.1)</p>
<p>/addserver [server] :[port]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; server can be in alpha or numeric form&#8230;</p>
<p>Once you add in the<br />
server, psy will auto-connect to it in a short while. You can add in more<br />
servers so that if one goes down, psy can reconnect to a different one. Just<br />
use the command above again. For server managment:</p>
<p>/listservers<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; lists all the servers you have added</p>
<p>/delserver [n]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; deletes the server with #[n] (as shown by the<br />
listservers command)</p>
<p>/jump<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; disconnects you from your current server and<br />
attempts to connect to the next server in your list</p>
<p>/bquit<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; disconnects you from the server until you force it<br />
to connect</p>
<p>/bconnect<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; connects you to irc</p>
<p>Now, remember that psy<br />
will keep you connected to irc even when you&#8217;re not connected to the bnc. So,<br />
these commands are helpful:</p>
<p>/setaway<br />
[message] &#8212; psy will display this<br />
message to all channels you&#8217;re on when you quit the bnc. It will NOT repeat<br />
this message (since that&#8217;s gay). To remove the message, just type /setaway</p>
<p>/setawaynick [nick]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; when you quit the bnc, psy will auto-change your<br />
nick to the nick you set here. When you reconnect, it&#8217;ll auto change it back to<br />
what&#8217;s shown in the mirc nick.</p>
<p>OK, now for some more<br />
commands that ppl find useful. Remember that ALL commands are in the README<br />
file that came with psybnc. I&#8217;m not going to repeat all of them.</p>
<p>/playprivatelog<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; plays the log of all messages sent to you when you<br />
were disconnected from the bnc. The log will be opened in a window called<br />
-psyBNC.</p>
<p>/eraseprivatelog<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; erases the aforementioned log.</p>
<p>&#8212;</p>
<p>psy has a damn cool<br />
feature in that it allows encryption. You can encrypt text sent to a channel or<br />
a person. Each person needs to have the same key to view the text. This is<br />
helpful if you&#8217;re paranoid, or if you want to have a private conversation in a<br />
public channel. (Why you wouldn&#8217;t just pm is beyond me <img src='http://www.lockstockmods.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  It also makes you<br />
look l33t lol.</p>
<p>/encrypt<br />
[password] :[channel/person] &#8212; make sure<br />
everyone you want to speak with has the same key. And they need to be using<br />
psybnc as well. duh.</p>
<p>/listencrypt<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; lists your current encryptions</p>
<p>/delencrypt [n]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; deletes encryption #[n] as shown by the<br />
listencryption command.</p>
<p>&#8212;</p>
<p>User management</p>
<p>Obviously, if you have<br />
your bnc compiled as singleuser, this section is pointless for you. But for<br />
everyone else, I&#8217;m sure you want to add in other users, delete them, etc&#8230;<br />
Here&#8217;s the commands to do it:</p>
<p>/adduser<br />
[user] :[real name] &#8212; the [user] is what<br />
the person will have to set their ident to. The [real name] part is what ppl<br />
will see when doing a /whois. for example: /adduser jestrix :me love you long<br />
time &#8211;&gt; shows this in the first line of a whois &#8211;&gt; jestrix is<br />
ident@vhost * me love you long time.</p>
<p>/deluser [user]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; deletes the user.</p>
<p>/password [new pass]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; changes your password. If you&#8217;re an admin, you can<br />
change other ppl&#8217;s passwords: /password [user] :[pass]</p>
<p>/madmin [user]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; makes a user into an admin (choose your admins<br />
carefully!)</p>
<p>/unadmin [user]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; removes admin rights from a user.</p>
<p>/bwho<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; see who is added to your bouncer. Also shows if<br />
they&#8217;re connected, what server they&#8217;re connected to, and what their IP is.</p>
<p>I recommend you secure<br />
your bnc even more by restricting what IPs can connect to it:</p>
<p>/addallow [IP or mask]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; lets whatever IP or mask you specify connect to<br />
the bnc. IPs can be definite, ie. 12.12.12.34 or masked, 12.12.12.*. You can<br />
also use hostnames and masks such as *.myisp.com.</p>
<p>/listallow<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; lists the allowed connections.</p>
<p>/delallow [n]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; deletes allow #n as shown by listallow.</p>
<p>DCC stuff</p>
<p>This section assumes<br />
that you compiled your bnc with DCCFILE and DCCCHAT. If you did not, then you<br />
can do all your dcc stuff as you normally would in mirc, but remember that your<br />
real IP will be revealed by doing this. Like I sated before, the benefit to psy<br />
is that it hides your IP during DCC sessions, but in order to do this, your<br />
life gets a bit harder. First, let&#8217;s go over the basic DCC commands:</p>
<p>/dccchat<br />
[user] &#8212; opens a dcc chat session with<br />
the user you specify.</p>
<p>/dccsend [file] :[user]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; sends a file to the person you specify. The file<br />
MUST be in ~/psybnc/downloads/USERx (where USERx is your user #. Not sure what<br />
your user # is? do a /bwho</p>
<p>/dccanswer [user]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; if someone sends you a dcc chat request, psy will<br />
inform you through a notice. You must then type this to accept the request.</p>
<p>/dccget [file] :[user]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; gets a file that was dcc&#8217;d to you by someone.<br />
This file will be stored in the ~/psybnc/downloads/USERx directory.</p>
<p>/dccsendme [file]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; tells psy to send you the file you specify. Use<br />
this after you get a file from another user and then want to get it from your<br />
shell. This is the only way people without shell access can get their files.</p>
<p>/listdcc<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; lists all dcc&#8217;s</p>
<p>/dcccancel [n]<br />
style=&#8217;font-size:12.0pt&#8217;&gt;&#8212; cancels dcc # n as shown by /listdcc</p>
<p>Now for the cool stuff<br />
 <img src='http://www.lockstockmods.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  my favorite feature of psy is it&#8217;s ability to stay permanently connected to<br />
a bot through a DCC, and to ask this bot for ops. As anyone who has experience<br />
with running a botnet knows, one of the easiest ways for a channel to be taken<br />
over is to have some idiot /msg [bot] OP [password], when the bot&#8217;s nick was<br />
taken by someone else. With psy, however, the askop request can be done two<br />
ways: through the partyline when a DCC is initiated, or through a msg that<br />
first checks the mask of the person being sent the request. Sweet, eh? So, the<br />
commands to do it:</p>
<p>/adddcc<br />
[botname] [username] [password] :[host]:[port] &#8212; The botname is obviously the name of the bot, The username and<br />
password are your personal l/p that you use to gain access to the bot&#8217;s<br />
partyline. The host is the host of the bot. It can be either the alpha-form, or<br />
the actual IP address. I prefer the actual IP address, since it&#8217;s possible DNS<br />
can be down. And finally, the port is the port that the bot listens on for user<br />
connections. Some bots listen for other bots on one port and for users on<br />
another, so make sure you get the right one <img src='http://www.lockstockmods.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>/listdcc<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; lists all dcc&#8217;s</p>
<p>/deldcc [n]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; deletes dcc # n as shown by /listdcc</p>
<p>Now, for the askops<br />
part: This part assumes you added in a DCC to the bot as shown above. If you<br />
don&#8217;t have partyline access, you can still add an askop, but I&#8217;ll get to that<br />
later.</p>
<p>/addask<br />
[#chan] [password] :-[botname] &#8212; The<br />
chan is the channel you want to get ops on, the password is your password, and<br />
the bot&#8217;s nick, preceded with a :-, is the bot which you have a dcc enabled to.</p>
<p>/listask<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; lists all the askops you have</p>
<p>/delask [n]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; deletes askop # n as shown by /listask</p>
<p>Now, if you don&#8217;t have<br />
partyline access, you can add the askop in this way:</p>
<p>/addask<br />
[#chan] [password] :[bothost] &#8212; where<br />
chan is the channel you want to be opped on, your password is your password<br />
(duh), and the bothost is the bot&#8217;s hostmask. A mostmask, for the uninformed,<br />
is formed like this: username!ident@host. Since a bot is set to use a different<br />
nick if someone takes their default, set the host for something like:<br />
*!mybot@damn.cool.vhost.com.</p>
<p>Multiple Networks</p>
<p>One of my other favorite<br />
things about psyBNC <img src='http://www.lockstockmods.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Do you have a bunch of channels you hang in on efnet,<br />
but also one or two channels on dalnet that you like to go to? If you&#8217;re like<br />
me, you do&#8230;but you alo hate having multiple mirc sessions open. Fret no more!<br />
psyBNC can solve your problems by allowing you to connect to more than one<br />
network with the same mirc client. For this section I&#8217;ll assume that you&#8217;re<br />
familiar with most of the commands in psy. If not, get familiar with them<br />
before you try to do this. Ok, let&#8217;s get into the commands.</p>
<p>The first thing you need<br />
to do is add in another network:</p>
<p>/addnetwork [name]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; adds in a network with the name you specify. Keep<br />
in mind that network names are case-sensitive. Furthermore, you&#8217;ll be typing<br />
the name a lot, so if you&#8217;re adding in dalnet, use the name &#8220;dal&#8221; or<br />
&#8220;dn&#8221; or something similar.</p>
<p>Once you have the<br />
network added, you need to choose your vhost for that network. If you don&#8217;t<br />
choose one, it&#8217;ll default to the IP the bnc is on, usually something gay like<br />
&#8220;my-shell-company.com&#8221;. So:</p>
<p>/vhost [network]~[vhost]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; sets your vhost on the network you specify.</p>
<p>See this command? This<br />
is the format for ALL commands used on multiple networks. Simply prefix the<br />
syntax of the command with [network]. So, to give some other examples:</p>
<p>/addserver<br />
dn~irc.dal.net:6667 &#8212; adds in the<br />
server irc.dal.net with port 6667 to the &#8220;dn&#8221; network.</p>
<p>/join dn~#fxp<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; joins #fxp on network dn. (btw, I hear that some<br />
freaky ppl hang in this particular channel <img src='http://www.lockstockmods.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>/msg dn~joeschmoe beeyatch<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; sends the message &#8220;beeyatch&#8221; to user<br />
with the nick joeschmoe on network dn.</p>
<p>Now, some weird things<br />
about multiple networks:</p>
<p>1. Your nick in the nicklists for channels on other networks will show the nick<br />
you&#8217;re using on your primary network. So, even if you do: /nick dn~TwatMuffin,<br />
even though other ppl will now see you as TwatMuffin in their list, you&#8217;ll see<br />
yourself as jestrix, or whatever nick you use.</p>
<p>2. If you get<br />
opped/voiced in a channel, you won&#8217;t see it in the nicklist. You&#8217;ll just appear<br />
to be a regular schmoe.</p>
<p>3. Let&#8217;s say JoeSmith is<br />
in #chat on efnet, your primary network. You head over to dalnet, and he&#8217;s<br />
there in #fxp. Everyone else in #fxp will look like dn~BobJones, but JoeSmith<br />
will be just JoeSmith. If you try to msg him by dbl-clicking on his nick int he<br />
dalnet channel, you&#8217;ll really be sending a msg to him on efnet. You have to use<br />
dn~JoeSmith to talk with him on dalnet.</p>
<p>Some final things. Maybe<br />
you don&#8217;t always want to be on more than one network. I prefer to always be on<br />
efnet, and then head to my other networks when I want to talk with ppl there.<br />
So:</p>
<p>/bconnect [network]~<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; connects you to the network you specify (assuming<br />
you have servers added for that network)</p>
<p>/bquit [network]~<br />
style=&#8217;font-size:12.0pt&#8217;&gt; &#8212; quits you from that network. You&#8217;ll still be<br />
connected to your primary network. Note, if you do /bquit, you&#8217;ll be quitted<br />
from ALL your networks.</p>
<p>OK, multiple networks<br />
also includes the psy &#8220;internal network&#8221;. Think of it as an ircd<br />
inside your bnc. By using the network name &#8220;int&#8221; you can create<br />
private channels that only ppl connected to your bnc can access. For example,<br />
/join int~#partyline will have you join the internal channel #partyline. You<br />
can set modes/ops/topic in the internal channels just like you would on a<br />
normal channel. do a whois on someone in an internal channel, it looks neat <img src='http://www.lockstockmods.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
You can also privately msg other people connected to your bnc: /msg $[nick].<br />
Prefix it with a $ and psy will send it directly to the person on the bnc; it<br />
will not pass through the irc server.</p>
<p>Linking</p>
<p>A cool aspect of psy is<br />
the ability form a psy-net through the linkage of multiple psybncs. The benefit<br />
of this is to create a private internal network secure from snooping, and<br />
secure from takeovers! Furthermore, you can let ppl on other bouncers use your<br />
machine&#8217;s vhosts if you wish.</p>
<p>So, to create a link to<br />
another bouncer:</p>
<p>/linkto [name of other bnc]<br />
:[IP]:[port]</p>
<p>The other bouncer would<br />
have to do the following:</p>
<p>/linkfrom [name of other<br />
bnc] :[IP]:[port]</p>
<p>To view all your links:</p>
<p>/listlinks</p>
<p>I love to have everything<br />
encrypted, including my links. To create an encrypted link:</p>
<p>/setlinkkey [link #]<br />
:[password]</p>
<p>After doing this on both psy&#8217;s, do:</p>
<p>/relink [link #]<br />
style=&#8217;font-size:12.0pt&#8217;&gt; on either bouncer to reset</p>
<p>To enable the sharing of<br />
vhosts:</p>
<p>/relaylink [name of other<br />
bnc] :n &#8212; where n=0 to disable vhost<br />
sharing; 1 to enable it.</p>
<p>Final note: If you use<br />
hostmasks to restrict connections to your bnc, you must add the other bnc&#8217;s IP<br />
as an allowed host!!</p>
<p>Appendix</p>
<p>For one reason or<br />
another, you might want to edit your psybnc.conf (especially if menuconfig<br />
doesn&#8217;t work for you). So, here are the applicable lines and what they mean.<br />
I&#8217;m sure I&#8217;ve missed a few lines, so if you find anything and know what it<br />
does, please email me. Note that ALL the variables in psybnc.conf are<br />
capitalized and that there are no spaces on either side of the =.</p>
<p>Variables are shown in<br />
orange.</p>
<p>###SYSTEM SETTINGS###</p>
<p>PSYBNC.SYSTEM.PORT1=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The port your bnc is going to listen on. use a PORTx<br />
variable if you want multiple ports.</p>
<p>PSYBNC.SYSTEM.ME=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The name of your bouncer.</p>
<p>PSYBNC.SYSTEM.HOST1=<br />
style=&#8217;font-size:12.0pt&#8217;&gt;The IP your bnc is going to listen on. Use HOSTx for<br />
multiple hosts.</p>
<p>PSYBNC.SYSTEM.DCCHOST=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The IP that will be used for DCC sessions.</p>
<p>PSYBNC.HOSTALLOWS.ENTRY0=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The first IP that will be allowed to connect to your<br />
bouncer. Use *;* for everyone. This can include masks. The first * indicates<br />
the IP, not sure what the * after the ; denotes&#8230; can&#8217;t find anything anywhere<br />
about it.</p>
<p>###USER SETTINGS###</p>
<p>(note that USER1 can be substituted for USERx)</p>
<p>USER1.USER.LOGIN=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The login name for the user (ident)</p>
<p>USER1.USER.NICK=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The nick the user will use on irc.</p>
<p>USER1.USER.USER=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The &#8216;real name&#8217; of the user (what appears in the<br />
whois)</p>
<p>USER1.USER.PASS=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The password of the user (this will be shown in<br />
encrypted form; if you change the password in psybnc, then restart it, the<br />
password will become encrypted.)</p>
<p>USER1.USER.RIGHTS=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; 0-not an admin; 1-an admin</p>
<p>USER1.USER.ACOLLIDE=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; 0-disable anti-collide; 1-enable anti-collide</p>
<p>USER1.USER.SYSMSG=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; 0-Do not show system messages to the user; 1-Show<br />
them</p>
<p>USER1.USER.VHOST=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The user&#8217;s vhost</p>
<p>USER1.USER.AWAYNICK=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The user&#8217;s away nick</p>
<p>USER1.USER.AWAY=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The user&#8217;s away msg</p>
<p>USER3.USER.LEAVEMSG=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The message shown when you disconnect from the bnc</p>
<p>USER1.USER.VLINK=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; (0/1) Not sure what this does (default =0)</p>
<p>USER1.USER.PPORT=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; (0/1) Not sure what this does (default =0)</p>
<p>USER1.USER.PARENT=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; (0/1) Not sure what this does (default =0)</p>
<p>USER1.USER.QUITTED=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; 0-User is connected to irc; 1-User is quitted</p>
<p>USER1.USER.DCCENABLED=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; 0-dcc is diabled; 1-dcc is enabled.</p>
<p>USER1.USER.AIDLE=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; 0-anti-idle is disabled; 1-it&#8217;s enabled.</p>
<p>USER1.USER.LEAVEQUIT=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; 0-when the user disconnects from teh bnc, they stay<br />
on all their channels; 1-when they quit, they leave all the channels, but still<br />
stay connected to irc.</p>
<p>USER1.USER.AUTOREJOIN=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; 0-if you get kicked when not on the bnc, psy will not<br />
rejoin the channel; 1-psy sill rejoin the channel for you if you get kicked.</p>
<p>USER1.USER.LASTLOG=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; (0/1) Not sure what this does (default =0)</p>
<p>USER1.SERVERS.SERVER1=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The first server of the user.</p>
<p>USER1.SERVERS.PORT1=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; The port for server number 1.</p>
<p>USER1.CHANNELS.ENTRY0=<br />
style=&#8217;font-size:12.0pt&#8217;&gt;The first channel the user wants to sit on.</p>
<p>USER1.CHANNELS.KEY0=<br />
style=&#8217;font-size:12.0pt&#8217;&gt;The key for the first channel. (This is NOT encrypted)</p>
<p>USER1.INTCHANS.ENTRY0=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; An internal channel the user wants to sit on.</p>
<p>USER1.AOP.ENTRY1=<br />
style=&#8217;font-size:12.0pt&#8217;&gt;Entry for someone to get ops from your client int he<br />
form of hostmask;password. (not covered in this tutorial)</p>
<p>###LINKAGE STUFF###</p>
<p>LINKS.LINK1.PORT=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; Port for link 1</p>
<p>LINKS.LINK1.NAME=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; name of the otehr bnc</p>
<p>LINKS.LINK1.IAM=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; name of the other bnc (redundant?)</p>
<p>LINKS.LINK1.HOST=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; IP of the link</p>
<p>LINKS.LINK1.PASS=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; Password for the link (used only by the bncs)</p>
<p>LINKS.LINK1.ALLOWRELAY=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; 0-Do not share vhosts; 1-Allow the sharing of vhosts</p>
<p>LINKS.LINK1.CRKEY=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; Key set by negotiation between the bncs</p>
<p>LINKS.LINK1.TYPE=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; 0-Your bouncer links to theirs; 1-Their bouncer links<br />
to yours.</p>
<p>###DCC AND ASKOP<br />
STUFF###</p>
<p>(note: I don&#8217;t recommend editing any of these variables through psybnc.onf<br />
-&gt; use the commands in mirc.</p>
<p>USER1.DCC.ENTRY0=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; Stuff pertaining to DCC #0</p>
<p>USER1.ASK.ENTRY0=<br />
style=&#8217;font-size:12.0pt&#8217;&gt; Stuff pertaining to AskOp #0</p>
<p>Setting Crontab</p>
<p>The basic form for a<br />
crontab entry is (to the best of my knowledge):</p>
<p>&lt;minute&gt; &lt;hour&gt; &lt;day&gt; &lt;week&gt; &lt;month&gt; &lt;process<br />
to run&gt;</p>
<p>So, if you like to check every 10min, it would be:</p>
<p>0,10,20,30,40,50 * * * * &lt;process to run&gt;</p>
<p>Included with psybnc is<br />
psybncchk. Open this file and change the line that reads<br />
PSYBNCPATH=/set/path/here. Set it to your psybnc directory of course. Make sure<br />
it has execute perms (chmod 700 psybncchk)!</p>
<p>Then add the following<br />
to your crontab (use crontab -e to edit your crontab): (this example is for a<br />
check every 10 minutes:</p>
<p>0,10,20,30,40,50 * * * * /l33t/shell/psybnc/psybncchk &gt;/dev/null 2&gt;&amp;1</p>
<p>The &gt;/dev/null<br />
2&gt;&amp;1 part tells crontab not to send you an e-mail whenever it restarts<br />
psybnc. Omit that part if you like e-mail.</p>
<p>This document was written by jestrix</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/06/setting-up-psybnc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Ports</title>
		<link>http://www.lockstockmods.net/2008/04/06/using-ports/</link>
		<comments>http://www.lockstockmods.net/2008/04/06/using-ports/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 23:10:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=8</guid>
		<description><![CDATA[View Ports cd /usr/ports ls Install A Port /usr/ports/pathto/port make install clean Example &#8211; Installs the IRC Bouncer Miau: cd /usr/ports/irc/miau make install clean Un-Install A Port /usr/ports/pathto/port make deinstall Example &#8211; Un-Installs the IRC Bouncer Miau: cd /usr/ports/irc/miau make deinstall Update Ports Collection as root, cp /usr/share/examples/cvsup/ports-supfile /root/ports-supfile pico ports-supfile (or whichever text editor [...]]]></description>
			<content:encoded><![CDATA[<p>View Ports<br />
cd /usr/ports<br />
ls</p>
<p>Install A Port<br />
/usr/ports/pathto/port make install clean<br />
Example &#8211; Installs the IRC Bouncer Miau:<br />
cd /usr/ports/irc/miau<br />
make install clean</p>
<p>Un-Install A Port<br />
/usr/ports/pathto/port make deinstall<br />
Example &#8211; Un-Installs the IRC Bouncer Miau:<br />
cd /usr/ports/irc/miau<br />
make deinstall</p>
<p>Update Ports Collection<br />
as root,<br />
cp /usr/share/examples/cvsup/ports-supfile /root/ports-supfile<br />
pico ports-supfile (or whichever text editor you use)</p>
<p>Change CHANGE_THIS.FreeBSD.org to a CVSup server near you.</p>
<p>to run cvsup<br />
cvsup -L 2 /root/ports-supfile</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/06/using-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating the Ports Collection using Portsnap</title>
		<link>http://www.lockstockmods.net/2008/04/06/updating-the-ports-collection-using-portsnap/</link>
		<comments>http://www.lockstockmods.net/2008/04/06/updating-the-ports-collection-using-portsnap/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 23:10:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=7</guid>
		<description><![CDATA[Portsnap can be a useful tool when updating your FreeBSD Ports Collection. To install portsnap: AS ROOT: # cd /usr/ports/sysutils/portsnap # make # make install If these operations run successfully you can now run portsnap. As root, perform this command: # portsnap fetch Portsnap will then retrieve the latest version of the Ports tree metadata. [...]]]></description>
			<content:encoded><![CDATA[<p>Portsnap can be a useful tool when updating your FreeBSD Ports Collection.</p>
<p>To install portsnap:<br />
AS ROOT:<br />
# cd /usr/ports/sysutils/portsnap<br />
# make<br />
# make install</p>
<p>If these operations run successfully you can now run portsnap.</p>
<p>As root, perform this command:<br />
# portsnap fetch</p>
<p>Portsnap will then retrieve the latest version of the Ports tree metadata.</p>
<p>NOTE: The first time you run portsnap, YOU MUST ALSO ISSUE THIS COMMAND:<br />
# portsnap extract</p>
<p>This causes the ports tree to be handed over to portsnap for a smooth update. You will only need to do this the first time you run portsnap.</p>
<p>Then, to actually perform the update, issue this command:<br />
# portsnap update</p>
<p>Once that is finished you will have the latest snapshot of the Ports Collection.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/06/updating-the-ports-collection-using-portsnap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: www.lockstockmods.net @ 2012-02-04 19:04:23 -->
