linux
Acer Aspire Revo R3600 and Mythbuntu
by Matt on Feb.27, 2010, under linux, ubuntu
Having had MythTV running on a monitor for a little while, complete with it’s scheduling fantasticness, I finally caved to getting a machine to play it out to the big TV. An obvious candidate for this was the, very affordable, Acer Aspire Revo.
The spec of the machine itself is not that impressive when compared to modern desktops, a 1.6GHz single core Intel Atom, a lonely GB of RAM, a 1Gb LAN connection, an atheros 802.11n wireless chipset and no real expansion capabilities. The saving grace of all this is he Nvidia ION chipset inside the box. Using a media player that can utilise libvdpau this means that using the onboard hdmi port it can play HD video quite happily at 1080p \o/
The machine I purchased supposedly came with Linux pre-installed, but when I first switched it on all it did was through a screen full of “99″’s . This didn’t bother me overmuch as I’d already intended to stick Mythbuntu on it. Sticking Mythbuntu on a bootable USB stick and then installing it took about an hour in total using the fast connection in my office. Once installed, I plugged it into my TV at home, booted it up and …. nothing. It just didn’t appear on the TV. A little reading around the interwebs and it appears that the HDMI connection is not discovered unless the TV is switched on before the machine is booted. So switch on the telle, stick it on the correct channel, reboot and it just works!
After connecting it to the wireless network and letting the mythtv frontend find the already running backend. Turns out the onboard wireless doesn’t play nice with my existing router. While playing back SD stuff was fine, there just wasn’t the bandwidth stable enough to stream HD stuff across the network. A little research and a touch of thought later, I had my hands on 2 Devolo 200Mbps ethernet over powerline adapters. These have allowed me to watch HD content I can get from the BBC iPlayer on the big TV!
How cool is that \o/
Packard Bell Easynote TJ65
by Matt on Jan.16, 2010, under linux, ubuntu
A couple of weeks ago now I bought myself a new laptop. My poor Dell had been battered too much and was finally giving in to it’s poor treatment. Dead pixels, missing keys, noisy fans, it just had to be put out of it’s misery. So now I have a shiny new Packard Bell.
I’d actually been in the market for a Thinkpad, based on their reputation of being practically indestructible. I soon chaged my mind after being promised deliveries that never arrived by a few online retailers. I ended up going to PC World, pretty much ignoring the sales staff and wandering around with my Pre checking compatibility and pricing on the interwebs. I’ve been a bit skeptical of the build quality of Packard Bell for a little while, but this seems quite a solid machine. Time will tell whether it remains that way or so I must admit, but one can hope!
Spec wise, the machine is a 2.2GHz Core2Duo (T6600), it comes with 4GB of RAM, a 320GB HDD and an nvidia Geforce G210M card with 512MB of dedicated graphics memory. It’s got a broadcom wireless chipset (b/g/n) and a gigabit ethernet port. All of this works out of the box with Ubuntu bar one. The driver for the NVIDIA card has a nasty bug. It doesn’t seem to detect the EDID information correctly for the monitor, so some hackery is required in the xorg.conf to prevent you getting 6 miniscreens instead of 1, or for getting a horribly fuzzy screen. Nvidia has recognised this bug, so hopefully it’ll get fixed soon. The open source nv driver doesn’t have this bug, but you lose a lot of the shiny 3d effects and so on, which is a bit of a downside.
The webcam in he lid also works out of the box.
All in all, it seems quite an able machine, but time will tell if I made the right decision or not!
New Years Whatsits
by Matt on Dec.30, 2009, under life, linux, ubuntu
Friday marks the beggining of a new year under the gregorian calender, so it’s a good time to reflect on various things from the last year, and suggest some changes for the next.
Last year was, for 6 months at least, a rubbish year. With Uni going rapidly down hill, being diagnosed with depression, and everything generally going wrong, I’d rather forget most of it. The last few months have been significantly better. Acquired myself a CCNA, and a job doing things that I enjoy.
So what needs to change next year? Well, in no particular order:
- One of the downsides of having a job that is largely programming is that I don’t get that much exercise any more which has led to me putting on some weight. Ideally I’d like to turn this around, but would initially be happy for it to be stemmed. Hopefully a bit of Wii fit every other night will help this while it’s dark in the evenings, and as it lightens up I’ll try and start doing some walking or some such.
- Start putting away more moneys, now my debts have gone (hooray) I can start to put away some pennies for the future.
- I intend to increase my participation with Ubuntu community in the coming year as well. Hopefully culminating in gaining Ubuntu membership. In order to achieve this, one evening a week will be dedicated to contributing to Ubuntu, be it through support, bug squashing, testing or whatever. This will probably be aimed at Wednesday evenings, but will shift around a little as real life things will undoubtedly get in the way.
I think 3 is enough to be getting on with. Hopefully this year will be better than the last
On Life
by Matt on Dec.07, 2009, under FOSS, learning, life, linux, programming, python, ubuntu
For the past few weeks life has been busy, and when I say busy I mean hectic beyond belief. In that time I’ve had a few OSS revelations I’d like to share.
As an experiment at work I thought I’d try using eclipse as an IDE instead of my normal vim+terminator job. Scary as it is, I find myself actually quite liking eclipse. It may be that my work machine has 4GB of RAM, and so copes better than the machines I’ve used in the past, or it may be that I’m starting to lose my qualms about what tools I use to do a job, as long as a job gets done. The PHP and Python tools inside eclipse have made my life a lot easier, and I really do find little things, like it reading out the docstring I’d put in a function when I hover over that function when it’s called, useful. Has eclipse evolved to where it’s useable or has affordable technology caught up with eclipse? A bit of a quandry for me that one.
The other small revelation I’ve had recently is that KDE4 is now inherently useable, and quite shiny to boot. when I’ve tried it in the past I quickly got fed up with things that didn’t quite fit or where missing completely, but now time has passed, and like KDE4 I believe I’ve changed a bit, and actually quite like it. I won’t be using it at home for a while, as the 7″ screen on this tiny little netbook certainly won’t make it very use-able compared to the 20″ odd monitor I have at work. The one big thing annoying me with it at the moment though is that konquerer doesn’t seem to fit with the default theme. Niggly annoyance I know, but surely that should be a papercut?
The last revelation I’ve had, though it’s not really a revelation, is a pang of guilt. I’m inherently a consumer in the whole Linux ecosphere. I consume by far more than I give back, and at the moment I simply don’t have the time to give back as much as I’d like. So this is my decree, and a proclamation that as of next year (with certain exceptions) I intend to deem one night a week free software night. On that night I will help to squish bugs, I’ll sit on IRC and be patient with people trying to help them through problems, I shall try and get involved in the various mailing list debates I sit and read, and I shall attempt to stop consuming quite so much and start giving back as much as I can.
In order to do this I will need a little help. The whole software workflow thing is a bit of a mystery to me. I’ve had little formal training in such things and as such tend to wing it more than I’d like. Can people point me in the direction of some good literature to help mend this? I’m quite willing to get my hands dirty if people are willing to be patient with me as I learn how the OSS developer crowd works so I can learn and adjust. In a way I’m hoping that this will flow back and help me at work as much as it’ll help me contribute back to the community in general.
If anyone also has a project they might want a hand with one evening a week from the of the month, feel free to drop me a line by your favourite communications method
Confessions of a Convention Newbie
by Matt on Oct.28, 2009, under FOSS, life, linux, ubuntu
Last weekend was LugRadio Live 2009 and the first ever Oggcamp. Since, for a couple of years now, I’ve been meaning to get more involved with the Ubuntu and greater Linux community, and having now got a job and be able to afford these wonderful things, I thought this would be a good time to put some faces to names.
Since this was the first event of this size I’d been to, I was a little nervous in all honesty. The only person there I’d ever met before was Popey and I’m not particularly good in a crowd of people who are essentially strangers. What actually happened turned out to be the complete opposite. People were welcoming, open and incredibly friendly. It was good to feel included.
What about the events themselves? Well, LugRadio was very insightful. Wandering around listening in to the talks was incredibly interesting and has actually helped me with my day job. The talk on the OpenStreetMap has got me fired up and interested in finishing mapping my village. I’ve also become reinvigorated in hardware hacking. Given a little time I might start looking at trying to get a hackspace going in Reading, however I’ve got a lot of other stuff on my plate at the moment taking precedence, if you’re interested though, let me know! A shared work load is less work for me!
Oggcamp was just as fun for other reasons. Actually being involved in the day and helping out gave me a fantastic opportunity to meet people and have a bit of a day of random chatting. If this event happens next year (maybe I should be saying when to drop a hint) I’d love to be involved again! Meeting the people in the various communities really has driven me to push forward with community involvement, and hopefully pushing forward with some testing with kit at work that the general community may not have access to to provide more information on bug reports and what not. As my programming prowess increases as well, I’ll start trying to contribute more code to the community as well.
Overall, I have to say a big thanks to everybody who made me feel welcome over the weekend, and an even bigger thank you to the organisers of both events. Seriously guys, well done on an amazing weekend. My advice to anyone attending one of these for the first time, come say hello, get involved, honestly you’ll feel better for it! Hopefully see you all next year.
Mobile Broadband!
by Matt on Sep.13, 2009, under Fun, linux, ubuntu
I finally got one of those mobile broadband dongle thingies in the post this week, and I’m impressed. Admittedly I don’t get any 3 signal at home, so it’s a bit useless there, but once I’m out and about its fantastic. I’m sat in
starucks writing this on my eee and it’s really quite quick. Much quicker than hanging the eee of my mobile, whic
h I used to do previously.
The dongle I’ve got is a ZTE MF627, which was a bit of a fiddle to set up on chruncheee, but I’ll do a screencast
later on showing how to do it. Anyway, my coffee is getting cold!
LRL and Oggcamp!
by Matt on Aug.26, 2009, under FOSS, life, linux, ubuntu
It’s been etched into my diary now, so I’m going to both Lug Radio Live 2009 and Oggcamp. Both of these will be quite exciting for me as they’ll be the first large scale linux events I’ve been too, however judging from the general community populace, both should be quite friendly and cool!
I’ll be travelling up to wolverhampton from the Newbury/Reading area, so if anyones heading up from that area as well, let me know and see if we can organise some kind of lift share. Hope to see a lot of you there!
USB Fun!
by Matt on Jul.23, 2009, under FOSS, Fun, learning, linux, ubuntu
I’ve been playing with a velleman k8055 USB experimentation boad and think I’ve finally come up with a use for this first board. I’m going to attempt to automate a few things in my room using a Linksys NSLU2.
The first thing to attempt is a nice simple one and does not involve touching any household electrics. A simple motor arrangement on the curtain rail to open the curtains in the morning and force me to get the hell out of bed!
The second thing I intend to do with it is a little more complex and will require some more research. I intend to somehow replace the dimmer switch in my room using the analgue output from the board. If anyone has any good references on what I need to read up to do this, let me know!
Hire me!
by Matt on Jun.19, 2009, under learning, life, linux, ubuntu
Well, now that Uni has finished, I need a job. Having been doing a Physics degree at Swansea, I’ve more or less come to the conclusion that I don’t really want to go into a Physics field, and would rather move across into a computer networking position. This comes with a few problems. Firstly, I have no professional experience with this kind of work, I do have lots of amateur experience, having networked my house and helped administrate the University Computer Societies network. I have been exploring the option of doing a CCNA to give me a kick start into a career, but these are expensive.
Why does this mean anyone should hire me? Well, I’m incredibly eager to learn. Having no professional experience means I will have to learn fast, and I fully intend to do so. I’m more or less convinced I want to do a CCNA, to the point where I’m willing to fund it myself and just need to find the funds to do so. I have heaps of experience with Linux servers, I’ve administered several for friends over the years and attempt to help people fix their Ubuntu machines in #ubuntu-uk and on the ubuntu-uk mailing list. I also have experience mending windows machines, again largley for friends and family. I am incredibly enthusiastic and really want to get on and work, having been sat on my bum for the past 2 weeks just applying for jobs, I’m now reaching the point where I just want to get on and work. I’m reliable, hard working and eager to get involved.
My CV can be found here in pdf and here in MS Word format, so if anyone has any opportunities going, please let me know!
Denyhosts Stats
by Matt on May.25, 2009, under linux, programming, ubuntu, webbyness
I have been told many many times that moving ssh to a different port (i.e. other than 22) makes your machine more secure. I do see some wisdom in this, however, I’ve decided to put it to the test. I have been using Denyhosts to stop brute force attacks on my ssh servers for some time now, and on my most recent server, the attacks per day are fairly regular, as seen in the graph.
At the end of June I will stop using port 22 and start using another random port. I’ll then collect data for 3 months and at the end of september do another blog post showing the difference. I also have another server that I will repeat this experiment on, but that one will be 3 months behind.
Hopefully then I will have a nice sturdy scientific answer as to how much more protection moving ssh to a different port gives
The code I used to generate this graph is given below for reference.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | import os import matplotlib import datetime import matplotlib.pyplot as plt import matplotlib.dates as mdates import matplotlib.mlab as mlab matplotlib.use('Agg') datelist = {} rootdir = './' def plot_all(): #first convert dict to a set of x values and a set of y values keys = datelist.keys() keys.sort() values = [] times = [] for key in keys: values.append(datelist[key]) #now convert the keys into time format times.append(datetime.datetime.strptime(key, "%Y-%m-%d")) #now we're ready to plot with matplotlib months = mdates.MonthLocator() # every month days = mdates.DayLocator() yearsFmt = mdates.DateFormatter('%b') dayFmt = mdates.DateFormatter('%d') fig = plt.figure() ax = fig.add_subplot(111) dates = range(times[0].toordinal(), times[-1].toordinal()) ax.bar(times,values,width=1) ax.set_xlabel('Date') ax.set_ylabel('Number of Hosts Denied') #ax.plot(times, values) #ax.xaxis.set_major_formatter(yearsFmt) #ax.xaxis.set_major_locator(months) #ax.xaxis.set_minor_formatter(dayFmt) #ax.xaxis.set_minor_locator(days) ax.format_xdata = mdates.DateFormatter('%Y-%m-%d') fig.autofmt_xdate() fig.savefig("plot.png") def countup(file): f = open(file, 'r') for line in f.readlines(): #split by spaces to get the date line = line.split(" ") #now see if this is already in the list newline = False for part in line: if part == "new": newline = True else: continue if newline == True: n = 0 if line[0] in datelist: datelist[line[0]] = datelist[line[0]] + 1 else: datelist[line[0]] = 1 f.close() for subdir, dirs, files in os.walk(rootdir): for file in files: if not file[-2:] == "py" and file.split(".")[0] == "denyhosts": countup(rootdir + file) keys = datelist.keys() keys.sort() for key in keys: print("%s, %s" % (key,datelist[key])) plot_all() |

