Archive for January, 2009

Winter Sun

Sunday, January 18th, 2009

On my return from work today I managed to get some shots that I’ve wanted for a while. These would be awesome as an HDR but I didn’t have my tripod so maybe another time!

Winter Sun

Winter Sun 2

Lewis

Morning <_<

Saturday, January 17th, 2009

Gutted. I was up at 7:30 this morning to see if I could get out and get a sun rise shot. Every day I drive past great sunrises on my way to work and thought I’d get up early on Saturday to get one. I get up, take a look out of the window and see a bit of blue sky on the horizon so I thought I’d get dressed and venture out. What a waste of time! :( No sooner had I walked out of the door, a load of clouds shot over the horizon and promptly rained on my parade, literally :(

Maybe next time!

Lewis

Wordpress only offers full size image on upload

Wednesday, January 14th, 2009

f10release

I host my own Fedora 10 server that I use for this blog and recently noticed that when I uploaded photos using the Photo Uploader, they were not resized and I was not offered a thumbnail, medium or large size, only ever the full size. I investigated to see what the problem might be and it seems that Fedora isn’t shipped with php-gd installed by default so image resizing simply doesn’t work.

As root, a quick:

yum install php-gd

service httpd restart

did the trick and my images are now resized properly at upload time!

If you find you can’t upload at all, something to check is that the apache user has relevant permissions to your upload folder!

Lewis

Morning Moon

Wednesday, January 14th, 2009

I didn’t manage to get a shot yesterday, a server failure at work meant I didn’t get home until late on! Alas, here’s today’s photo.

Lewis

Morning Moon

Scarborough Castle

Tuesday, January 13th, 2009

Scarborough Castle

Hugs Bear

Sunday, January 11th, 2009

A photo for Kym. The teddy she got for me on our first Valentine’s Day together. I Love You Kym. x

Hugs Bear

HDR Type R

Saturday, January 10th, 2009

I decided to get out and buy that Sigma lens today and while my girlfriend was in the shower I took this shot. It’s an HDR image so taken at various exposures and merged to produce this:

Type R in HDR

-Lewis

Disabling NetworkManager

Friday, January 9th, 2009

f10release

I found NetworkManager to be a bit too big for its boots in Fedora 10 and it gave me absolutely no control over my resolv.conf, overwriting it every time I so much as thought of doing anything with my network interfaces which infuriated me so much that I chose to totally remove it from my system. My /etc/inittab is set to 3 so that it doesn’t boot Gnome and hence is pretty useless to me.

If you want to disable NetworkManager in Fedora 10, there’s two ways you can do it:

yum remove NetworkManager

Which totally removes it. Or you can just disable it:
chkconfig --level 35 NetworkManager off

Now, once you’ve disabled NetworkManager you might find that when you boot your system, none of the interfaces will start automatically and you have to call ifup eth0 every time you reboot. Bit of a pain right?

NetworkManager used to be responsible for bringing the interfaces up but now it’s disabled so you need to put something in its place. The default network service in Fedora is disabled by default (that job is supposed to be done better by NetworkManager) so once you’ve disabled NetworkManager, you need to re-enable network:

chkconfig --level 35 network on

Et voila!

A reboot now should allow all interfaces configured to ONBOOT=yes, to actually boot at start automatically.

-Lewis