GNU/Linux Inside

Author Archives: Mike Gerwitz

I began programming at the age of 10, interested in software design for the Windows operating system in Visual Basic. Since then, I have evolved to web and graphics design as my main focus, mastering PHP, HTML, CSS and JavaScript.

Grub 2 Hangs on Boot 0

When BETA testing Ubuntu Karmic (9.10), I noticed that the whole boot process wasn’t so fast. This was primarily due to Grub 2 hanging for nearly 35 seconds each boot. I haven’t the time to figure out what Grub is trying to do in that amount of time, but I did notice a solution. I [...]

ssh-copy-id and sshd port 9

For security purposes, I don’t run sshd on the default port (22). This gave me some problems when attempting to use the command ssh-copy-id. Ideally, you’d expect the following to work: 1 ssh-copy-id -p XXXX -i ‘~/.ssh/id_rsa.pub’ username@host However, that didn’t do anything but output an error: Bad port ‘umask 077; test -d .ssh || [...]

gnome-screensaver: What happens when you can’t unlock your PC. 0

This is an issue that has irritated me enough that I feel I should post my work-around. On Ubuntu (I’m not sure since what version – I’m currently using 9.04 Jaunty), I’ve noticed that every once in a while, gnome-screensaver would hang when I tried to log back in. Let me clarify a little. When [...]

compgen -d: No such file or directory 3

For a while, I was having a problem on my Ubuntu server. After creating a user, I noticed that tab completion didn’t work properly. In fact, it went so far as to output an error:

PHP Extension Writing: Namespaces 1

I’m fairly new to PHP extension writing. I’ve just gotten into it in order to optimize some existing PHP 5.3 code for my WebKernel project. However, there was one fundamental problem that I could not find the solution to anywhere online – how do you define a function within a namespace!? WebKernel used namespaces extensively, [...]

Defend Your Liberties – Speak Against ACTA! 0

“ACTA, the Anti-Counterfeiting Trade Agreement, is a proposed enforcement treaty between United States, the European Community, Switzerland, Japan, Australia, the Republic of Korea, New Zealand and Mexico, with Canada set to join any day now.” – More information here The name of the treaty sounds innocent enough, but what are they not telling you? This [...]

PHP6 Snapshot – Namespace Separator Patch Applied 0

In my MyCustomBB Blog a while back, I discussed the PHP’s decision to change the namespace separator to a backslash. Until recently, this patch hadn’t yet been applied. Therefore, I continued developing my code using the old static operator (::). Well, I recently installed the new PHP 6 snapshot from http://snaps.php.net/ and found that my [...]

RaLink Random Wireless Disconnects – Simple Solution 0

In previous entries I discussed problems with random wireless disconnects. The problem seems to be that the router was going down briefly, causing the interface to time out, but not reconnect. Therefore, I was stuck with a lingering connection that was technically “up”, but inoperable. I had disabled NetworkManager because Ubuntu (Intrepid Ibex) was still [...]

Dealing With VIM: FTP Disconnects 0

VIM and FTP haven’t really been the greatest couple in my experience. While it does work, it tends to give me disconnected errors after being idle a while rather than handling it itself. Usually, attempting the operation again works just fine. However, there are times where not even that works and I keep receiving the [...]

RaLink Wireless – Random Disconnects (No ProbeResp) 0

Some time ago, while using Gentoo, I modified the kernel to stop a wireless problem I had been having and forgot to make a post about it. Now, I’ve switched by to Ubuntu (didn’t have time to administer Gentoo and compile everything, and I missed Ubuntu). Luckily, version 8.10 BETA was released just a few [...]