Posts Tagged ‘linux’

Python IRC Bot in the Works

Saturday, December 5th, 2009

*** Update ***: Main page for bot here

I am currently writing a small, fast, small-footprint IRC bot in Python. More details as I finish the bot. The functions created so far:

  • Help (Displays Help)
  • Echo (Echo back a message)
  • Say (Send a message to a channel)
  • Spam (Send a message to a channel a specified amount of times)
  • Join (Join a channel)
  • Part (Part a channel)
  • Authorization (username+password)
  • Deauthorization
  • User lookup
  • Raw (Use raw IRC commands)
  • Uptime (Display uptime)
  • Math (Do math functions with Yacas)

Planned functions:

  • Encrypted passwords
  • Data storage, either in a text file or a MySQL DB
  • Channel mode control

This bot is not meant to be a complex bot, it is intended to be a fast, light bot that can be easily reprogrammed.

Linux iPhone Tethering over Bluetooth

Thursday, August 27th, 2009

A while ago I wrote about how to do a wifi iPhone tether with a SOCKS proxy. Now, I’ll be writing about a Bluetooth tether on 3.0/3.0.1 with a 3G/3GS. To make this work on 3.1, you will need to enable tethering separately, which can usually be done by installing the “Internet Tethering” package in Cydia. This does NOT rely on that uit.sh script floating around, and will work on any Linux system with bluetooth. I used my Fedora 10 laptop for this.

(more…)

A (Mostly) Complete OpenWRT Tutorial

Monday, August 17th, 2009

I’ve attempted to write a complete OpenWRT setup tutorial, since many out there lack certain parts. This will cover the basics and the more advanced things you can do with OpenWRT. Read more for the tutorial.

(more…)

Installing Debian on an External Drive

Saturday, April 4th, 2009

If you want to install Debian on an external drive, you can follow these instructions. THis has the advantage of being portable and persistent, and works for hard drives and flash drives.

(more…)

(Re)Installed Debian

Thursday, April 2nd, 2009

Just Installed Debian on my laptop again a few days ago. Already upgraded to sid repos. I like the new network-manager. I’ll post if anything new comes up.

Ubuntu sucks on USB drives

Saturday, November 22nd, 2008

Unlike previous versions of Ubuntu, which, in order to make a persistent liveUSB, required partitioning, installer bootloaders, copying files, etc, 8.10, which comes with a convenient USB installer program on the LiveCD that creates a no-hassle, no partitioning, persistent liveUSB. This seems like it would be the perfect solution to creating a portable, free environment. However, on two different USB drives (one of which is usually fast), 8.10 (installed through the liveUSB creator) runs extremely slow. It takes about 3-5 minutes to boot, and about 30 seconds to load programs like Firefox 3. Scrolling and typing is extremely slow in all programs, almost to the point where it is completely unusable. Is 8.10 more bloated and slow than previous releases?

The reason I think it is running slow is that with older versions (with the complex methods of doing persistent USB installs), changes were committed on shutdown. In 8.10, they appear to be committed instantly. This I/O increase may be slowing it down.

I have thought about making a cut-down version of 8.10, as I have done this with previous versions to make it fit on smaller flash drives. Does anyone know why it is this slow, and if there is any way to speed it up? Is the solution just to use the old method?