Archive for August, 2010

virtualbox-bin in Gentoo

Some non-Linux-dork posts are in the pipe, but today I had issues getting VirtualBox up and running on Gentoo. Here’s some proper install instructions to work around Bug 283617. I’ll get to fixing the ebuild later this weekend.

emerge virtualbox-bin
chmod 4750 /opt/VirtualBox/VBoxNetAdpCtl
chmod 4510 /opt/VirtualBox/VBoxSDL /opt/VirtualBox/VBoxHeadless /opt/VirtualBox/VirtualBox
gpasswd -a youruser vboxusers

After a logout/login, VirtualBox should appear in your Applications menu, and can be run from the command line with VirtualBox.

Comments off

Installing a Brother Printer on Gentoo

I’ve been migrating over to Gentoo from Ubuntu (more on this later) and today had the lovely experience of installing a printer. Since at least 2 other computers will be needing these instructions, here we are:

Install CUPS

  1. emerge cups
  2. /etc/init.d/cupsd start
  3. rc-update add cupsd default

Install Driver

  1. Download the LPD and PPD RPM drivers from Brother’s Linux driver site.
  2. emerge rpm tcsh
  3. rpm  -ihv  --nodeps  (lpr-drivername)
  4. rpm  -ihv  --nodeps  (cupswrapper)
  5. Verify the drivers installed correctly: rpm  -qa  |  grep  -e (lpr-drivername)  -e  (cupswrapper-drivername) (if this is your only rpm package, just use rpm -qa)
  6. Create a symlink to the filter: ln -s /usr/lib/cups/filter/brlpdwrapper[printer name] /usr/libexec/cups/filter/brlpdwrapper[printer name]

Add printer

  1. In a browser, go to the CUPS server at http://localhost:631/
  2. Click Add Printer and enter a name. Location and description are optional, but user-friendly.
  3. On the next page select: Device: AppSocket/HP JetDirect
  4. On the next page enter: Device URI: socket://192.168.1.11 (substitute with the IP address of your printer)
  5. The final page has a list of printer manufacturers. Skip that and click Choose File. Select the proper PPD file at /usr/share/cups/model/(printermodel).ppd. Click next.
  6. Print a test page and enjoy!

As an aside, I did stumble upon the Brother PPD source code, however there were no make files for my printer, nor were there any LPD drivers. It is unfortunate to have rpm or dpkg as a dependency for my printer drivers, but so be it – they’re lightweight packages on their own.

Comments (4)

Ahead of the Curve

Another perfect day
They keep pilin’ up
I got happiness that I can maintain
So beginner’s luck

I had shoes to fill
Walkin’ barefoot now
Can’t tell north from south
But no split hair’s gonna get me down

Stayin’ above the flat line
I’m ahead of the curve
Take a piece of the sunshine with me
On a redeye flight to another world

It isn’t any trouble
If you wanna come with me
I know it’s out of the question, honey
But I sure could use the company
And a place to be

Now the sky is pink
Rooftop swimmin’ pool
I’m not carefree, no
I’m free to care
I just never do

All the bags are checked
And the reasons why
Yesterday lingers on
That’s the piece you keep when you say goodbye

You can get what you want now
Knock it out of the park
Bury it by the river, easy
There’s a search party but it’s getting dark

I won’t hold you to nothin’
I wanna make that plain
Probably end up a stranger and crazy
But I’m still hopin’ there’s another way
And a place to stay

What the scene has got too sentimental
When the night comes
When the night comes loose
All the things you put upon the mantle
What a shame
What a shame
It’s old news

I’m stayin’ above the flatline
I’m ahead of the curve
Take a piece of the sunshine with me
On an all-night drive to another world

You can get what you want now
Knock it out of the park
Probably end up a drifter and lonely
But I’m still hoping for a change of heart
And a place
A place
A place
To start

Monsters of Folk – Ahead of the Curve

Comments off