Archive for the ‘Linux’ Category

18 Feb
2012

Configuring BOPM for TorDNSEL

Background

If you have a working BOPM installation, you are trying to prevent abuses of your IRC network effected through anonymity services such as proxies. BOPM has built-in support for scanning for open proxies. It also has support for looking up clients in DNSBLs, which are used to publish lists of misbehaving or malign hosts. One such DNSBL, called TorDNSEL, provides a way to check users connecting through the Tor anonymity service.

(more…)

14 Jan
2011

Downloading wget Without wget: Use bash

There are many ways to download and install wget without having wget itself installed. For example, one can use curl, a sort of competitor to wget, or a package manager with libfetch or some other library-level downloader integrated (such as pacman). One may be able to use SSH’s scp or sftp utility or even use netcat to transfer a wget tarball over a network. But these methods of obtaining wget are not always feasible or even possible whereas a bash shell and a few core utilities are often readily available.

(more…)

13 Jun
2010

Google Voice and Asterisk

Google Voice & Asterisk

There are numerous guides about setting up Google Voice and an incoming sip number for free outgoing calling. Sadly, all of the guides I found were written for FreePBX or some other Asterisk bundle, and also used a shell script to do much of the work (scary!). I have compiled the minimal amount that you need to put in your asterisk conf files to make things work, GUI-free and variant-independent.

(more…)

30 Apr
2010

Archlinux Chroot on Gentoo Guide

Archlinux is quite a popular distribution among the geekier crowd of GNU/Linux users. I understand that Ubuntu is the most popular GNU/Linux distribution in general. It may supposedly fit the needs of the populace, but that attempt to support getting grandma on the keyboard is the reason that this distro is unattractive to us geeks ;-) .
(more…)

13 Dec
2009

Insurgency: Access your linux box from anywhere

Routers :: Credit: flicr user stars6

The problem: you have a computer sitting behind a firewall. You want to access it from a different location, but you don’t have the ability to forward any ports to it. The answer: SSH tunneling.
(more…)

13 Dec
2009

Quick and Easy Passwordless public-key auth

Need passwordless auth with ssh? Need it really really fast? 3 steps and you’re done.

  1. ssh-keygen -t rsa      (don’t enter a passphrase)
  2. ssh-copy-id -i ~/.ssh/id_rsa user@remotehost
  3. ssh user@remotehost

Wasn’t that easy?

22 Aug
2009

Using a DRAC II on CentOS 5

This post chronicles my adventures trying to get a DRAC II card operational on my poweredge 4300 server running CentOS 5. This post also applies to most other linux distros, especially redhat-based distros. I will also document setting up remote access of the DRAC II card using a remote linux console on WAN.

(more…)

17 Aug
2009

IRC via Telnet

Ever wanted to get on IRC without a client on the command line? Well you can, and it’s pretty easy, using IRC’s protocol syntax. All you need is a box with or without X, the telnet program (included by default in most linux distros), and an IRC server. Feel free to try this out on ProtoFusion’s IRC server, irc://irc.protofusion.org/.

(more…)

12 Aug
2009

Ndiswrapper in a few lines

ndiswrapper -i yourdriver.inf
ndiswrapper -l  #Ensure that it says “Driver Installed” and “Hardware Present”
ndiswrapper  -m
ndiswrapper -ma
ndiswrapper -mi
modprobe ndiswrapper

…And you’re good to go! Feel free to run /etc/init.d/network restart if you feel like it.

Gaggia Classic Disassembly and Cleaning

Gaggia Classic Disassembly and Cleaning

I recently purchased a used Gaggia Classic machine on Amazon. After realizing that it was not as “lightly used” as

Arduino Leonardo - Interrupts

Arduino Leonardo – Interrupts

As of Arduino 1.0, interrupts are not supported on the Arduino Leonardo. I’m working on a project using the atmega32u4