What more could you want?
Linux
Hardy and fglrx – suspend issues resolved!
May 25th
This title is actually a bit misleading, but still quite true.
As it turns out, the bug appears to lie not in the fglrx driver, as previously thought, or in the Gnome Power Manager, also as previously thought, but in Compiz/Fusion. I can ascertain this because I recently installed the most current version of Compiz/Fusion from git sources using directions here.
This was four days ago. I continued to use the sleeparound.sh script I had written, until one day I mis-clicked the launcher, and shut the lid. I thought to myself “Oh, Crap!”, as I had a few things open. So, I let it sleep, and opened it back up, and voila! It asked for my password!
I couldn’t believe it, so, I shut the lid, let it sleep, and opened it, and again was greeted with the password prompt. I was so excited that I did this about five more times, and said “Look, honey, it works!” She smiled and nodded, but was not overly thrilled.
PLEASE NOTE: Before I upgraded compiz, I installed the proprietary ATI driver with directions from cchtml and customized my /etc/default/acpi-support file as I did previously.
All in all, I basically over-rode the Ubuntu-installed packages, but it seems to have resolved the issues I was having. Prior to upgrading compiz, I was still experiencing the suspend issue with the proprietary ATI driver.
Hopefully, it won’t be long before the versions that I have are in the Ubuntu repos!
/cs
Need FF2 in Hardy? Try GNU’s IceCat.
Apr 18th
OK, so I have a special requirement for using Firefox 2. However, I run Hardy, and it has a default install of (i can’t believe it) the BETA version of Firefox 3.0b5. Golly.
So, I tried installing the firefox2 package from the Ubuntu repos, and had issues with some of the addons I use. I tried the “binary” tarball from the Firefox website. No go – it still wants to revert to FF3. As any seasoned Ubuntu user knows, don’t eff with Ubuntu. Going around making things work can sometimes cause problems with things, well, working.
After some research, I found IceCat.
IceCat is “the GNU version of the Firefox browser.” Basically, the GNU guys took Mozilla’s code, and compiled it without using the “proprietary” parts, meaning the Logo and the name, among other things.
So, I downloaded the IceCat tarball. I unpacked it, expecting it to whigh out on me, as the Firefox tarball did, and low and behold! Right there next to my FF3 window was IceCat 2.0.0.13, running at the same time!
I figured it had to be too good to be true, and went about installing my needed Firefox extensions. AND THEY WORKED! HooRAH!
So, needless to say, I’m sold on IceCat as a GREAT replacement/addendum to Firefox. Get it. Use it. Love it.
/cs
Superbugs and You
Apr 13th
So, I read an article that is both sensical and scary:
Flaming Mountainside: Breeding Internet Superbugs
I get a LOT of junk mail in my USPS mailbox in front of my house, and I pretty much ignore it, as long as it doesn’t look terribly important. It goes right into the trash.
I have to agree with vixie in the above article; the issue is not being solved, just pushed away.
In the Linux Admin world, currently, in order to have a mail server that will send to Yahoo! and AOL, among others, you already have to jump through plenty of hoops:
- Email DNS – Forward and reverse DNS entries for the IP and A record.
- SPF – Sender Policy Framework
- DomainKeys - By far, the worst, in my opinion.
These are just a few things to try, and still, the spam keeps flowing, because the spammer has a need to get his message through. I suppose I could try Spamassassin or Postini. Some companies even offer to manage the spam problem for you (and they do a pretty darn good job of it, too!).
As the old saying goes, “Necessity is the mother of invention.” Continuing to “fix” the spam issue will cause the number of spammers fluent in loopholes to exceed the number of hackers available to fix the problem.
All in all, how do we fix the spam issue? The same way we fix the junk mail issue: The delete key.
/cs
Recover Grub in Ubuntu with grub-install and Live CD
Apr 7th
I re-installed Windows XP on my laptop for the sole purpose of playing American McGee’s Alice. And I blew away grub.
So, to reinstall it, I booted the Hardy LiveCD, and mounted some things:
$ sudo mkdir /mnt/ubu
$ sudo mount /dev/hda5 /mnt/ubu/
$ sudo mount -t proc none /mnt/ubu/proc
$ sudo mount -o bind /dev /mnt/ubu/dev
I was able to determine the appropriate partition to mount by running “fdisk -l” before-hand.
Once mounted, I chrooted into the existing installation:
$ sudo chroot /mnt/ubu/ /bin/bash
Once in, I ran the following, and received the listed error:
# grub-install /dev/hda
/dev/hda does not have any corresponding BIOS drive.
Crap. What to do now? So, after a little Googling, which I am quite fond of, I found the answer:
# grub-install –recheck /dev/hda
Probing devices to guess BIOS drives. This may take a long time.
Searching for GRUB installation directory … found: /boot/grub
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install’.(fd0) /dev/fd0
(hd0) /dev/hda
Success! I can now boot myself back into a realm of happiness known as the Hardy Heron!
/cs
Synergy and “Man in the Middle”
Mar 27th
Yo.
I have a desktop machine and a laptop that I run together with synergy. The desktop is a Dell with a dual-head configuration, and the laptop is, well, a laptop.
I have been running the laptop to one side, and have ended up with cricks in my neck on several occassions. I did not like this, as cricks hurt!
So, I figured out a way around it.
I configured my synergy.conf to specify that the boxes were both right AND left of each other in the links section:
section: links
tuck:
left = eli
right = eli
eli:
right = tuck
left = tuck
end
I then arranged things so that I have a monitor from the dual head on each side. I had to put the right monitor on the left, and the left monitor on the right in order to get everything working the way I wanted. Now, I run the synergys daemon on the laptop, and use it to control the desktop. The configuration works in such a way that the left monitor for the desktop machine is to the right, and the right monitor is to the left of the laptop. This creates the effect that I wanted: Right to left, my mouse runs through a monitor, the laptop, and then another monitor and vice versa. It may sound a little confusing, and it actually is. It took about 30 seconds of seeing it in action to get used to the idea.
One of the neat side effects is that it loops around. So, if I go to the right-hand monitor (which is actually the left monitor of the desktop), it continues onto the left-hand monitor (which was originally the right monitor on the desktop).
This allows me to easily see all three monitors in a more consistent and less neck-strenuous fashion.
/cs