So last night I installed DD-WRT on my Linksys WRT54GL
So far it’s pretty kewl…
Next step Serial Port Hack and MMC hack and then Debian…
So last night I installed DD-WRT on my Linksys WRT54GL
So far it’s pretty kewl…
Next step Serial Port Hack and MMC hack and then Debian…
Nov 14
Posted by Clifford W. Hansen in Debian, Family, Hardware | 1 Comment
So I finally got myself the Linksys WRT54GL and now my network hardware went from:
And now after:
Now to try load DD-WRT onto her, and then eventually Debian…
Also finally sorted out the laptop that I am using, well the screen was moved to Cecilia’s laptop and this one was using the external, with a wireless keyboard and mouse.
Well just waiting for the last couple of thing to finish on Cecilia’s laptop (had to reinstall) and then off to bed…
So, things are slowly getting back to normal… Quote has been approved, they hopfully start fixing the car in the next couple of days. I also got my phone yesterday.
I know I have chosen to not talk about work here, but I just have to mention that I am very happy working for TheClassified, my boss (Jonathan Page) has been very helpfull and patient during this time, I am very greatfull. Thanks Jonathan.
Well that is all for now, hopefully don’t have to wait too long for my car, although I’m gonna miss the rental car when I give it back… (VW Golf 1 – brings back memories)
So last week tues (29 Sep) I decide to walk to the shops and I got mugged, lost money, cards and my cellphone…
Then on my way home from work today, I hit a dog. Lucky for the dog it was quick and painless, but unlucky for the car, the raidiator is cracked, and bumper is broken.
Now comes the insurance… Well I’m hoping thats the end of it… sigh…
In my last post I mentioned how to get this printer working in Debian, and since then have found a better (no ignoring dependancies) method.
Taken from: http://nomo17k.wordpress.com/2009/03/22/canon-pixma-ip1800-for-debian-lenny/
This is a cheap inkjet printer that I got for my temporary printing needs. The cartridges are very expensive (> $16 !!), so for heavy use this isn’t really worth my money. Anyways…
Install CUPS and printing-related packages:
# apt-get install cupsys cupsys-client libcupsys2 # apt-get install cupsys-driver-gimpprint cupsys-bsd # apt-get install foomatic-db-engine foomatic-db-gimp-print foomatic-filters # apt-get install hp-ppd linuxprinting.org-ppds printfilters-ppd # apt-get install foomatic-filters-ppds # apt-get install gs-gpl libpng3 ijsgutenprint
(Note that I downloaded a few packages that are not necessary for this particular printer. This is a generic collection of packages that I find useful to use printers in other places like my office.)
Download deb packages of the printer driver:
cnijfilter-common_2.70-3_i386.deb cnijfilter-ip1800series_2.70-3_i386.deb
and install them:
# dpkg -i cnijfilter-common_2.70-3_i386.deb cnijfilter-ip1800series_2.70-3_i386.deb
If CUPS has been installed properly, visit the CUPS admin page (http://localhost:631/admin) with your browser. You will be able to configure the printer in the standard CUPS way.
Taken from: http://nomo17k.wordpress.com/2009/03/22/canon-pixma-ip1800-for-debian-lenny/
I copied and pasted so I have a copy incase that site disapears.
Aug 27
Posted by Clifford W. Hansen in Debian, Perl, Web | Comments off
So I had a mirror up and running beautifully, and then after running the update scripts I lost the GPG authentication.
I was getting the following errors:
WARNING: The following packages cannot be authenticated!
foo bar baz
Install these packages without verification [y/N]?
I struggled for a while to get this to work, and then gave up, but I finally got this sorted out
Firstly as the user running the mirror script:
gpg --no-default-keyring --keyring ~/.gnupg/trustedkeys.gpg --keyserver hkp://subkeys.pgp.net --recv-keys
I needed to add the following keys:
16BA136C – Backports.org Archive Key
55BE302B – Debian Archive Automatic Signing Key (5.0/lenny)
F42584E6 – Lenny Stable Release Key
55BE302B – Debian Archive Automatic Signing Key (5.0/lenny)
0C5A2783 – Medibuntu Packaging Team
1F41B907 – Christian Marillat
437D05B5 – Ubuntu Archive Automatic Signing Key
6DFBCBAE – Sun Microsystems, Inc. (xVM VirtualBox archive signing key)
BBE55AB3 – Debian-Volatile Archive Automatic Signing Key (4.0/etch)
The Medibuntu key was a little strange to get as noted on this post: How To: Make Your Own Ubuntu Repository DVDs
Also removed the “–ignore-release-gpg” option from the scripts, this will at least warn me the next time something like this happens…
And then run the mirror scripts again and voila

Taken from xkcd
Aug 15
Posted by Clifford W. Hansen in Debian, Web | Comments off
So I was trying to solve a weird redirect issue: Request exceeded the limit of 10 internal redirects due to probable configuration error.
I found this site, which had quite alot of info.
One tip I really liked was:
This is probably my favorite, and I use it on every site I work on. It allows me to update my javascript and css files in my visitors cache’s simply by naming them differently in the html, on the server they stay the same name. This rewrites all files for /zap/j/anything-anynumber.js to /zap/j/anything.js and /zap/c/anything-anynumber.css to /zap/c/anything.css
RewriteRule ^zap/(j|c)/([a-z]+)-([0-9]+)\.(js|css)$ /zap/$1/$2.$4 [L]
Jul 22
Posted by Clifford W. Hansen in Debian, Web | Comments off
As with alot of devs out there, I have a couple of virtual hosts setup. It is rather annoying to keep updating the /etc/hosts file. I came across “42foo: all the virtual hosts you need for your web development” which has helped alot. But this was not enough, the virtual hosts are still static, then I found “Dynamically Configured Mass Virtual Hosting“.
So now I have the following setup:
/etc/dnsmasq.conf
no-resolv server=<DNSSERVER> address=/.local/<DEVSERVERIP> no-hosts
/etc/apache2/conf.d/multi_vhost (on the devserver)
# get the server name from the Host: header UseCanonicalName Off # this log format can be split per-virtual-host based on the first field LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon CustomLog /var/log/apache2/vhost_access_log vcommon # include the server name in the filenames used to satisfy requests VirtualDocumentRoot /var/www/%0/ <Directory /var/www/> AllowOverride All Order allow,deny Allow from all </Directory>
Apache requires the mod_vhost_alias module to be loaded.
And this is it, all that is needed now is to have a symlink/directory in /var/www/ with the name of the virtualhost pointing to the document root of the dev site.
EG: /var/www/test.local -> /home/<user>/Development/test/webroot/
So now no more editing multiple files, all I need is to create a symlink and sorted
P.S. I did find that the Avahi daemon was causing issues see Bug #80900…
To disable the Avahi daemon:
sudo invoke-rc.d avahi-daemon stop sudo update-rc.d -f avahi-daemon remove
UPDATE: I needed to add the directory clause to multi_vhost as I needed to use .htaccess files ![]()
UPDATE 2: There was also an issue with mod_rewrite (Request exceeded the limit of 10 internal redirects due to probable configuration error.) This was only happening to sites with a .htaccess. The solution was to add:
RewriteBase /
For those of you Microsoft Zealots out there read the following: Russell Coker: Hating Microsoft it might explain a few things
Now STFU :p
Arclite theme by digitalnature | powered by WordPress