O2 ADSL Router Config

March 11th, 2010 admin No comments

So you have this O2-supplied adsl router which isn’t giving you enough information to be able to configure your own router.  The O2 forums will tell you to phone them up and request them, but why bother doing that when you can just take the information from the router.

Telnet into the router (192.168.1.254) with the username SuperUser and the password O2Br0ad64nd.  Issue the command ‘config dump’ and you’ll get everything you could possibly need.  In particular you’ll want to look at the [ ppp.ini ] section which will provide your adsl username and password.

The dump is rather long and will fill your terminal’s scroll-back buffer so in Linux you’ll probably want to run the telnet command like ”

So you have this O2-supplied adsl router which isn’t giving you enough information to be able to configure your own router.  The O2 forums will tell you to phone them up and request them, but why bother doing that when you can just take the information from the router.

Telnet into the router with the username SuperUser and the password O2Br0ad64nd.  Issue the command ‘config dump’ and you’ll get everything you could possibly need.  In particular you’ll want to look at the [ ppp.ini ] section which will provide your adsl username and password.

The dump is rather long and will fill your terminal’s scroll-back buffer so in Linux you’ll probably want to run the telnet command

So you have this O2-supplied adsl router which isn’t giving you enough information to be able to configure your own router.  The O2 forums will tell you to phone them up and request them, but why bother doing that when you can just take the information from the router.

Telnet into the router with the username SuperUser and the password O2Br0ad64nd.  Issue the command ‘config dump’ and you’ll get everything you could possibly need.  In particular you’ll want to look at the [ ppp.ini ] section which will provide your adsl username and password.

The dump is rather long and will fill your terminal’s scroll-back buffer so in Linux you’ll probably want to run the telnet command like ’script -c “telnet 192.168.1.254″ /tmp/output.log’.

Categories: Uncategorized Tags:

101 Things Sitrep i

February 28th, 2010 admin No comments

So I’m two months into 101 Things in 1001 Days, and I’m doing well.  I’ve completed 8% of my tasks and have started a lot of others.  Admittedly many of these are the low-lying fruit, but I’m happy I’m well on-target.  Whenever I’ve been bored I’ve spent time on one of my things, and have found most of them pretty manageable.

The hardest one I’ve attempted so far has been to visit the countryside every week for two months.  At times I came close to failing when I wasn’t really in the mood for getting out of bed, but I was always glad I pushed myself and have had some really nice times.  I’ve used this as a way of tackling some other tasks too – I visited three new train stations (Shepley, Connonley and Ribblehead), I visited two new parks (Connonley and Northcliffe) and I visited a gallery (Salts Mill).  In Northcliffe park, I found woodland that should be good for foraging in later in the year.

Last week I managed (just!) to be vegan for a week and am now remaining freegan up until Easter.  There have been times when I’ve been incredibly tempted by cheese, but am finding it rather easy.

In my downtime in the office I’ve been playing with new things.  I’ve built applications using CouchDB and S3, I’ve begun configuring a Cisco router, I’ve found worthy tech-based NGOs and I’ve installed a Tor Bridge (actually a relay with no exit policy).  I’ve also spent time on a recipe blog (though am rather behind in adding to it) and a lean programming blog (though have lost interest).

So far I’m pretty pleased with my progress, but can’t afford to start slacking.

Categories: Uncategorized Tags:

Qvox email lists

February 19th, 2010 admin No comments

There seems to be a lack of communication amongst queers both nationally and locally, so a group of us got together and decided to set up some coordinated, central email lists (based on the riseup model) which would make it easer for people to find out about events, to talk about issues that affect us and to generally set up a network of queers all over the country.

We have created some local and national queer lists, both announcements and admin. We want these lists to be as open and as accountable as possible so if you want to either contribute to the lists by announcing events on the national list or the list of your city, or help decide list policy then please join and start posting.

The lists are open to everyone and everyone is welcome to post. Please help us make a better queer space for everyone.

QVOX is a loose collection of queer geeks in the North who are interested in IT-related projects and who would like to create a site that serves a variety of purposes, from social networking to email hosting, announcements, a database of lgbt and queer-interest groups to forums on which queer people, their friends, families and allies can meet and exchange ideas. We aim to create a safe, non-commercial online space, by queers for queers. The site is in constant development but we are aiming for a stable version in a month or two.

The sky’s the limit – we welcome all kinds of ideas and feedback, criticism and support.

Categories: Uncategorized Tags: , ,

Microsoft Tech Update

January 28th, 2010 admin No comments

Windows 7 SP1 is expected to be released late 2010/early 2011.  We’re not expecting any new features, and so whilst we ordinarily recommend waiting until the first service pack before starting to use any Microsoft product we strongly believe that Windows 7 is ready for use now.  It’s certainly a lot nicer than Vista and has similar performance to XP but with lots of extra features.  To gain the full featureset you need at least professional and a Windows 2008R2 server, but even without it’s still well worth the upgrade.

Windows 7 has been written about in great detail, but if you need some more reasons on why it’s worth upgrading to then here’s a few to take a look at:

  • Open Search integration, together with Windows Search Server Express
  • User Access Control – whilst Vista added this, Windows 7 makes it less annoying and therefore worth using.  Always log in to your Windows 7 machine as a regular user, and when you need to do something unusual it’ll ask you to enter an admin password.  This vastly reduces the number of drive-by malware infections (presuming you don’t just enter your password everytime you are asked)
  • Bitlocker, enforceable using Group Policy, means that you can deny writing to USB devices without encryption. (not available on all versions, and requires Server 2008R2)
  • Applocker – stop users from running certain applications.  Whilst this has been available for a long time, Applocker in Windows 7 makes it usable.  You can trust all software from Microsoft, any version of Adobe Reader greater than 9.3 and deny flash whatever version it is.
  • Problem steps recorder lets users record a video of what they did to cause a problem and then send it to the helpdesk.  Previously you could use remote assistance to watch the user cause the problem, but now you can receive the video and watch it whilst drinking a coffee instead of staying on the phone to the customer.
  • XP Mode (pro and enterprise, can be made to work in other versions) creates a virtual machine for running software which isn’t compatible with Windows 7 or isn’t compatible with other software running on your machine.  It uses virtual machines and RDP but is completely transparent to the end-user who thinks they are just running the application directly.  Another use for this is to publish applications, instead of installing them on a machine on first-use (which takes time and can cause conflicts) you just run them from a published virtual machine.
  • Internet Explorer 8 when used on Windows 7 can be made to be very secure, with a locked-down mode allowing only access to a temp folder

Internet Explorer 9 is expected to be released at some point in 2010.  It will have better performance, particularly in its Javascript rendering which will make Ajax websites run much smoother.  It will use hardware accelerated graphics, which not only adds to the increased performance but looks much better.  Finally it will support most of HTML5, although not completely.

Small Business Server still remains a powerful offering to small businesses, but Essential Business Server is a relatively new addition which allows for between 50 and 300 users whilst Home Server can be used by very small companies with low technology requirements.

Home Server SBS EBS Windows Server
Users 1-10 1-49 50-1000 1000+

Home Server provides you with file storage, full image backups of desktops and Terminal Server Gateway and is built on Windows 2003.  It obviously doesn’t provide you with Domains or Active Directory, but it may be enough for you.  A new version is expected late 2010 which will be based on 2008R2.

Office 2010’s main selling point is better integration.  The ribbon has made it to all applications including Access, Outlook and Sharepoint.  Excel gets sparklines, Word gets collaborative editing (though can’t beat Etherpad or Google Docs yet), but the real changes are in Sharepoint which sees much better integration with everything.  If you aren’t already using Sharepoint then give WSS3 (a free download) a spin to see if it suits your business.

Exchange 2010, which is out now, adds some really impressive scalability improvements.  Continuous availability is a key feature, meaning users always have access to their mailboxes despite any backend work which may be taking place.  A Client Access middle tier is added, so you can have several CA servers which do caching and the real Exchange server will see very little traffic.  Outlook Web Access is much richer, introducing mail tips which alert you before sending an email to things like Out of Office statuses and sending documents outside of your domain.

Microsoft Office Communications Server 2010 is due out towards the end of this year.  It provides voip, collaboration and instant messaging integrated into Microsoft Office.  Presence is a key addition, and means that the server can always know where you are.  Whilst this may seem creepy, and for many will introduce privacy concerns, the things you can do with it are really impressive.  For starters, you can have a single phone number which follows you wherever you are, but you can also integrate it into all your other Microsoft products.  Automated tasks can be sent only to people who are currently in the office, when receiving an email you can see if the person is available to phone back, important emails can be sent to you by sms or TTS when you are in your car.

Commerce Server 2009 was released last year, an e-commerce solution allowing you to sell your products online and link in to all of your other Microsoft software.

CRM and Dynamics makes developing applications for business intelligence much easier.  This, together with much of the new Visual Studio and .Net features are perhaps not of interest to most small businesses, so contact us if you need to know more.

Hyper V 2.0 introduced in Windows 2008R2 makes virtualisation much nicer, though still needs extra management tools to make it usable.  HyperV on it’s own is not a competitor to Vmware, HyperV with management tools is what you should be comparing and it’s a close-call on which would be better for your business – though HyperV is probably best if you need to do anything beyond the basics.

Desktop Virtualisation has come a long way, and is seriously worth looking at, but needs serious consideration as to whether it is right for your business.  When considering TCO, you need to consider what business benefits it gives you and also whether the lower hardware specs of the desktops means a reduced risk of theft.

MS Forefront is Microsoft’s new security system, based on the Stirling Wave.  It means that anti-virus software on the gateway, mail server and desktops all talk to each other.  If the gateway detects a large number of outgoing emails from a certain machine it can automatically tell that machine to run a full virus scan.  Again, worth looking at but also consider the requirements to get it running.

Microsoft SQL 2008 was capable of managing databases upto 7Tb but 2008R2 increased that to 10-30Tb depending on the hardware, Dell and HP are now offering custom MS-SQL hardware which is worth considering for very large databases.  Ms SQL 2010 is due out in the first half of the year and will allow for large MS SQL server farms for databases of over 100 Tb (or you could just use Azure).  Perhaps the most important offering in MS SQL 2008R2 and 2010 though is the self-service business intelligence and reporting which means that IT pros can get the information they want without having to talk to developers.

Categories: Uncategorized Tags:

PHP-GTK2 CouchDB In/Out Board

January 3rd, 2010 admin No comments

Whenever I come to test a new programming language, my application of choice is a simple in/out board.  The data storage is simple enough to not (usually) require particularly advanced database functionality, and there’s some level of network communications happening to share the data.

Today I developed this application in PHP-GTK2 with a CouchDB backend, neither of which I had used before and so most of the time spend developing was learning the intricacies of the two.  And I have to say that PHP-GTK2 is not something I plan on using again, whilst CouchDB definitely is.

The problems with PHP-GTK2 started before I began programming, php5-gtk2 is not available in the standard Ubuntu repositories and so getting a PHP-GTK2 application used on Ubuntu machines would not be easy.  You need to either compile it yourself or add a third-party repository, neither of which you want to do just to test some new software.  And even once it is installed you then need to edit php.ini.

Moving on, the documentation for PHP-GTK2 is fairly non-existent and so simple tasks like reading values of text boxes was problematic and displaying a table of data is something I gave up on.  Now I’m starting to understand the peculiarities it’s becoming an awful lot easier to use, and it is the first Linux gui-based development environment I’ve used so I’ve little to compare it to.

CouchDB in comparison was incredibly easy to get going with.  Aptitude install couchdb was all I needed to have a locally running server, then with the right PHP libraries (unfortunately not in aptitude) I could access databases in just a few lines of code.  It definitely helped to have heard Lorna Jane speak on working with web services recently, but even so CouchDB is really simple up until you need to start using Views.  They’re not quite so easy in that they involve some JSON and Javascript, but a short time spent reading the wiki or watching somebody create a view will set you going in the right direction.

So after an afternoon of mostly learning and a little coding I’m left with some code to set your in/out status and to view the in/out status of everybody else.  I’ll be implementing a C# version of this at some point soon both in order to say I’ve implemented something useful in C# and to have a working version for some clients we’re currently building a network for.  I then want to play with CouchDB replication and get Cobol talking CouchDB.

Finally, @couchdb on twitter is responsive and definitely worth following if you’re working with CouchDB.

Categories: Programming Tags:

Cyborgs and Memes

January 1st, 2010 admin No comments

Much has been discussed recently about how we are becoming cyborgs merely by the fact that we are connected to others through the internet.  Our keyboards and screens are our connections to the collective and the social networking sites we are members of are our filters to the wider internet.  The more connected we become, the more withdrawal symptoms we face when we are disconnected.  It becomes difficult to become removed from the collective not because we are addicted to the internet in itself, and not because we miss the people we connect to through it (we can always phone or visit them) but because those people we connect to provide us with something more.

The people we connect to online become not just friends and colleagues they become an extra pair of eyes, ears, minds and memories.  The information coming through 100 people we follow on Twitter is as though it came from us.  It is stored in collective memory, and if it isn’t cached locally (in your own brain) it is still available in somebody else’s brain or on the network itself.  It is filtered by the person posting it, which if our local network is fully trusted, avoids the necessity to filter it ourselves.  Even if out network isn’t fully trusted, most of the content coming in through it is unlikely to be malicious and so simple rather than complete filtering can be used.

There is of course also more raw information and data online which we as individuals seek out and then share with the network.  Here it is us that is doing the filtering and initial processing, which others then accept more readily than if had come from some unknown source.  It is important not to abuse this trust, otherwise we get become disconnected from the network.  Where computer networks suffer from viruses, and biological networks (close friends, perhaps even sharing bodily fluids) suffer from disease and infection, the social or cyborg network suffers from memes.  Because each one of us is more trusted than the wider internet, the memes we bring are more readily accepted and reproduce more easily.  These memes can be be benign ideas and statements, or they can be something more politically and culturally changing.

Our networks will have formed by finding people harboring and sharing certain types of memes, which along with the fact that nodes on our network are more trusted than other nodes on the internet, means we become particularly susceptible to new memes introduced by members of our network.  For example it has often been stated that kanban software development is catching, and that when one person or group start using it other close by groups do too.  This isn’t just because kanban is a great tool for software development (though obviously I’m biased) it’s because a tool (or meme) introduced by trusted network members is far less likely to be rejected than a tool introduced from elsewhere.

Now that we understand the transfer of memes throughout our network better we can more readily control them.  By taking measures to remove network members introducing bad (or even malicious) memes we protect not only ourselves but the rest of the network that connect to us.  By understanding how the transfer of memes work we can start introducing good memes, those that improve ourselves and society as a whole, and have them more easily accepted. It has been said that Moore’s Law still continues to hold true not because of some inherent physical properties of silicon, but because we believe it to still hold true and therefore work towards keeping it going; imagine if we believed, and I mean really really believed, that society would continue to exponentially improve.

Bibliography

Categories: Uncategorized Tags:

Mission 101 begins

January 1st, 2010 admin No comments

Today I begin Mission 101 aka Day Zero Project.  Over the next 1001 days I will be aiming to complete a list of 101 things that I have been deliberating over ever since @101ofawolf gave a presentation on this at Barcamp Bradford.  I’m still not completely happy with my list, having removed an awful lot of stuff to get it down to size, but today is the day I’d been aiming to start on and so I’m rolling with it.

This morning I left the house with the aim of making a start on #76 – “visit 5 new parks”.  On the way I passed some new apartments which, although inconveniently located and overpriced, I had a look at and so began #7 – “move house”.  It’s still going to be many months before I can actually move – but it’s good to be thinking about it early.

It turns out that the new park I was aiming for, Northcliffe, is far more than just the little park it looks like from the main road.  It’s a beautiful wooded valley, a meadow with views over the Aire Valley, and there is a miniature railway there.  I think it’s big enough to count as countryside, so I’m working towards #74 – “Visit the countryside every week for two months”.  I failed to find the rumoured caves, but otherwise thoroughly enjoyed a beautiful hidden place which is just a mile from home.

I’ve a feeling this is going to be a good year.

Categories: Uncategorized Tags:

Free Software For Profit

November 16th, 2009 admin No comments

At Barcamp Bradford this weekend there were loads of good discussions.  It was somewhat unfortunate for the person presenting a session on intellectual property rights straight after the session on free software, they were left with many of the same audience and really didn’t understand our views.

The Free Software talk centred around the idea that software should be free and open to use in any way you like.  Nobody loses anything by copying software, and people gain by getting a copy, so ethically software should be freely copied.  If a software developer chooses not to offer her code freely, then maybe she has something to hide – poor coding skills, security through obscurity, etc.  There is plenty of money to be made in selling services around free software – installation, support, physical boxes running that software and so on.  The same should be true of anything that can be copied without affecting the original – music, literature, research, digital art, it should all be made freely available.

A journalist recently cancelled a talk he was giving because he uses annual leave to present his talks and wasn’t willing to handle the paperwork during his annual leave.  This is an incredibly bizarre situation that is completely wrong and back to front!  Writing articles is not something that should be done for money, it’s something to be done to share knowledge and get yourself known as an expert worth employing.

Money should not come from ideas or anything that can be freely copied.  Money should come from related services.  There was a proposal for a micro-payments system for free software, since anybody with a computer is not going to miss 50 pence for software they really like yet thousands of 50 pence payments really adds up.  As free software users, we should be more keen to pay for things we don’t need to or risk losing them; if payment for everything digital (and therefore reproducible at no cost) became optional the standards of software would vastly improve because developers would stop making bad quality software that nobody pays for (but may be forced to use for what ever reason).

Software development in an entirely free-software world is still a profitable activity.  Developers will get paid to implement the software, to prioritise/add specific features, and to write drivers for specific hardware.  They will continue to fix software in order to actually use the software themselves.  Software will be written by people who need it, and not for a speculative profit – and because it is free, it will be fixed by people who use it without having to wait for the original developers.

After all this wonderful exciting talk about how software should be free, along came a lawyer who wanted to make sure we were all protecting our intellectual property.  They completely failed to understand that we might want to share ideas, and that our intellectual property is merely a by-product of the work we are getting paid to do elsewhere.  We ran out of time before we could get to the area that people were actually interested in, privacy of users on social networking sites.

Choosing a new Operating System

October 23rd, 2009 admin No comments

I’ve been using Windows 7 on one of my machines for a while now, and I’m still finding nice new features which make the Windows experience more enjoyable. I am definitely sold on it. As the Linux zealots are keen to point out, it isn’t perfect, but then neither will the new Ubuntu be. I use and develop both open and closed source software and believe in using the right tool for the right job. The Vista experience is sufficiently different to XP (and there is no upgrade path) that the choice between replacing your OS with Ubuntu or Windows 7 becomes very real. Certainly I would argue there are pros and cons for both choices, and that simply accepting the latest Windows operating system because that’s what new computers come with is no longer necessary.

For home users who are just interested in surfing the internet, writing a few emails, chatting on msn and sharing their holiday photos Ubuntu becomes a very tempting proposition. The TCO of Ubuntu for these users will be far less than Windows 7; the initial training may be a little more extensive, but that will be offset by free licensing and no return visits to clear up the inevitable viruses and spyware that all Windows home computers end up with.

Businesses, gamers and Windows tinkerers are however much more likely to be better off with Windows 7. It’s fast, some users I’ve spoken to have described it as faster than XP (particularly in starting up and shutting down). It’s compatible, anything which runs on Vista will run on 7 – well nearly anything, and software authors will be keen to tell you they haven’t tested it yet. It has only a few different concepts to Vista, and Microsoft are advertising the new features on prime time national TV for us.

So although I am an open source advocate, I’m also an advocate of choosing the right tool for the right job. And although I may not admit this at my local LUG, Windows can be the right tool. I’m certainly looking forward to Ubuntu 9.10 though, and will be putting it on some machines as soon as I return from my vacation.

Categories: Uncategorized Tags:

Drupal sites with multiple domains

October 18th, 2009 admin No comments

Drupal 6 has a problem with running a site on multiple domains.  The files directory is typically set to /sites/$domain, which is fine until you start accessing a site using a different domain.  The resulting mess depends upon which modules you are using to serve your images, but an example url that might be generated is /sites/example.org.uk/files/sites/example.com/files/1.jpg and this obviously does not exist in the file system.

If you’ve moved the site rather than want both domain names to be valid then it’s easy to fix

"UPDATE FILES SET filepath = REPLACE(filepath,'sites/example.com/files/','sites/example.co.uk/files/');"

However to get both working requires some jiggery pokery with symlinks.  The exact urls generated by Drupal will depend upon the module you are using and the domains you are wanting to serve from, but ln -s is your friend.  Imagecache is the worst offender I have come across so far, with symlinks needed for each size of image, however other modules (and themes) will handle things differently.

Categories: Uncategorized Tags: