Zone Alarm

Archive - Tutorials Category

IRC XDCC Tutorial

Sunday, March 8th, 2009

So I get asked this question a lot, and I’m tired of explaining it. Leeching various (legal) things from IRC is not difficult. So, let’s get started.

Introduction

IRC, or Internet Relay Chat has been around for ages, and many still use it today. If you don’t use it, you’re missing out. This is not a Yahoo chat, nor an AIM chat. Most channels are controlled by bots. (Programs placed on servers) These bots do various things such as automatically banning spammers, holding the operator position in the channel, or maybe even trivia. There are also other kinds of bots, one is called an XDCC bot. They are in certain channels where you may download various things.

What’s needed

First, you’re going to need an IRC client. This could be mIRC, which is probably the most popular, XChat, Irssi, or anything else that connects to the IRC protocol and has DCC (Direct Client to Client) functions. I am going to use XChat for the example, because it pretty much works well with transfers right out of the box.

Start up XChat, click do not display this message again when the first pop up box shows up. Exit out of that.

Basic commands

/server irc.xxxx.tld – Sets the irc server you wish to connect to. (Example /server irc.technologyinsanity.com)

/join#channel  – Lets you join a channel while connected to a server. (Example /join #technologyinsanity)

/msg USER <message> – private messages a user on the network you’re connected to. (Example /msg s0uThp4rk what’s up?)

Network Services

Some may require you to register with nickserv or get a vhost (a virtual host, which would be s0uThp4rk@the.cow.com instead of s0uThp4rk@myip.resolvedhost.tld)

In such cases, here are some basic commands for that.

/msg nickserv register <password> <email>

Then, generally you will join #vhost and send the message !vhost your.vhost.tld

Requesting Packs

In order to request a pack from an XDCC bot, you must be in the channel that has such bots, and meet the requirements for the bot if there are any. You may use an XDCC search engine such as packetnews.com or xdccing.com. I would not recommend you use these websites without adblock plus enabled. You can then click on the pack or one of the other links and it will try to automatically open XChat and join the channel. An alternative would to idle in a channel and request a pack you want when you see it. You could also install a script to “catch” xdcc packets and request them from a window within the script.

The general command for requesting a pack is:

/msg <botname> xdcc send #<packnumber>

Then you have to accept the send, or wait in queue until an open slot is available. You can also set xchat to automatically accept sends in the preferences.

Conclusion

That should be about it for this introductory. Instead of leeching things from xdcc channels, maybe you would rather chat? Check out my channel at irc.technologyinsanity.com #technologyinsanity :)

xdccpacks

Packs on XDCC. These are not legal, however..


Bonus $20 Off  TigerDirect.com- PowerDVD 9 Ultra

Switching to permalinks

Saturday, February 28th, 2009

If you haven’t already, you should really switch to permalinks. /?p= is an unfriendly, unSEO link. Go to your settings –> Permalink and set custom like this /%category%/%postname%/

Okay, so at first glance that seems easy enough right? Well yeah.. Not so much. First of all, I had to enable mod_rewrite in apache. (Remember I’m on a VPS) That wasn’t difficult, you just use the command a2enmod on Ubuntu/Debian systems. Now with that done, I could use the .htaccess file generated by WordPress to serve up the new fancy URLs. Wait.. My old /?p= are not being forwarded to the new fancy urls. Well, a simple plugin called Permalink Redirect solves that issue.

Now comes the real fun. Everytime I go to try and access my stats, I get a 404. The stats folder is clearly there, but I cannot access it. So, I remove the .htaccess on that folder. I can now access it, but it’s no longer password protected :D I really wasn’t sure if this was caused by ISPConfig or the .htaccess.

So I searched around for quite some time. The solution is simple, when you go to a password protected area it looks for the 401 and 403 error files first, before giving you a login prompt. With the new rewrite in place, all the errors are now on the WordPress theme. It doesn’t have these errors, so the resulting error is 404 not found.

Anyway, how do you fix this issue? Simple, add the following lines to your .htaccess file in the root directory.

ErrorDocument 401 /[path_to_file]/myerror.html

ErrorDocument 403 /[path_to_file]/myerror.html

That’s it! Problem solved. I can now access my stats directory with the password, and permalinks are working.

Forum

Discussion

Comical? Yes. Upsetting? Possibly. Shared Web Hosting

Wednesday, December 31st, 2008

I am on shared hosting, by JustHost.com. This service has not given me any issues, customer support is very good. When I’ve contacted them about something, I get a response within 20-30 minutes. So, mostly I’ve had no issues, and the loading time for my site is fine. It acts up a little, but not much, not any more than what you would expect from a shared host.

They offer a sort of gimmicky sign up, with unlimited everything, I’ve yet to find that limit, but perhaps I will some day if I get too much traffic.

I admit, I’m a noob when it comes to web hosting, and there’s so many options out there I basically just chose one. My experience has been limited to playing with MySQL databases and PHP on free hosts.

Recently, I found this information about JustHost here

Apparently, they went as far as to create a fake website with them at the top, here. If you look at the website, JustHost.com you see that they are proudly displaying their fake badge.

I found this more comical, than upsetting really. Like I said, for my purpose I don’t really care so long as it “works”.

It seems as if a lot of shared web hosting providers are using the same tactics, so it’s nothing new. (well, it’s new to me) Hopefully someday I will be able to go on a dedicated host, I’m really not impressed with shared hosts, not JustHost specifically, but all of them. I may be on a dedicated host sooner than I think, because my traffic has been increasing day by day. Perhaps I’m just giddy and want to try out a dedicated host. I wish I could, but I’m not sure I can afford it. I might try out a cheap dedicated host in the near future for a month or two.

I’m posting this in the tutorials section as well, because I believe it is a tutorial to understanding shared host gimmicks.

Wubi: Tri-boot is not nearly as hard as I thought

Saturday, December 27th, 2008

wubi_logoI have Windows XP installed on my D: drive and Windows Vista installed on my C: drive. I’ve edited the cfg files and moved some boot files for XP over to the C: drive, so I could choose between XP and Vista at start. My problem was, I wanted LINUX as well. Apparently I’m behind the times with Linux, because Ubuntu has something called Wubi which was PERFECT for my situation. All I had to do was install Wubi. That’s it, no complex partitioning, no messing with boot loaders, nothing. Easy. I still use the Vista bootloader to either boot XP, Vista, or Ubuntu.

Ubuntu is installed on my C: drive with Vista. It does not interrupt the NTFS file system. No partitions, oh how they have caused me problems in the past. What’s more, you can just uninstall Wubi like it’s a windows program. SO EASY. I can’t believe how EASY it was. I never had anything so EASY to work with when I was first doing my dual boot configurations. I just can’t beleive how far things have progressed behind my back :)

So, if you want a completely AUTOMATED dual boot configuration with Linux, Wubi is MOST DEFINITELY your choice. I only wish Slackware had an option like this. Sorry for my over emphasis of how EASY it was, but I’m just dumbstruck at how EASY it was.

Next stop, quad boot. I don’t think this will be as easy :)