Musings of a Software Engineer

The gentle ramblings of a bored software engineer


Failed to fix a problem

Network ConnectionsIt must be a sign of my age or something like that, because yesterday was the first time for a long time that I’ve not been able to solve a problem with windows!  I was trying to fix a computer for a relative, what you would expect to be a simple problem that it was unable to connect to the internet.  After booting it up the problem was easy to spot, something had got corrupt with the DHCP client that was running on the machine.  Now suchly this must be an easy think to fix I was thinking….

After doing all the things I could think of I turned to the old friend google.  Searching for the error message that ipconfig returned I got hundreds and thousands of hits, sounds positive I thought.  So after reading a number they were all pointing to it being the TCPIP stack had become corrupt (now maybe I’m mad or something but how on earth can the IP stack become corrupt! anyway…).  So after running through the netsh commands that are within Windows XP SP2 I rebooted.  Thinking that was an easy job now where is the beer, sadly I was mistaken up came the computer still not working.  Ok I thought maybe there is another magic command to run that I could reset the ip stack or even better just reinstall the TCPIP Protocol.

Well after about an hour of trying a number of different “solutions” I gave in, I had a spare network card and through well maybe just putting in another card would spring it into life.  So I unscrewed the case and got the network card installed and rebooted thinking job done… again I had failed the same error message was returned by windows.  I spent another fustrating hour trying to fix the problem but to no avail.

It looks like another windows reinstall which seems abit over the top to what appears on the outset to be such a simple problem.

There are days where sometimes I hate computers.

  • Share/Bookmark
No Comments

Even Garfield is using the mobile

Better late than never but even Garfield is using a mobilde phone now!!!

  • Share/Bookmark
No Comments

Review of the Noughties

GoogleA really great review from the register of the last decade or is it the last decade!  Anyway a great read about how things have changed in the world of technology.  How the mighty have fallen and the once little start-up seems to be taking over the internet.

http://www.theregister.co.uk/2009/12/16/noughties_review/

  • Share/Bookmark
No Comments

There is a flaw…

iPhoneWell its taken me almost 6 months but I’ve finally found a flaw in my lovely iPhone! With all the “cold weather” that has hit the UK I’ve been having to wear gloves when being outside (understandably) unfortunately the iPhone does not work when wearing gloves. So the screen on an iPhone works by noticing the change in electrical current when my finger touchs the screen. Doing a quick google confirms that this is indeed how it works! http://electronics.howstuffworks.com/iphone1.htm.

So now I’m thinking well this isn’t much good being unable to use my iPhone when its cold outside! Ah but wait where there is a will there is a way, now you can get eTip Gloves (isnt it great that everything either comes with an e or i infront of it these days).  You might be wondering what are eTip gloves well basically they allow current this current change to happen on the screen allowing you to have warm fingers and a working phone :-) .

Google Product Search shows that North Face are the people that make most of them:

http://www.google.co.uk/products?q=etip+gloves&oe=utf-8&rls=org.mozilla:en-GB:official&client=firefox-a&um=1&ie=UTF-8&ei=xyBLS5TMBpTz_AbuzKiWAg&sa=X&oi=product_result_group&ct=title&resnum=1&ved=0CBYQrQQwAA

  • Share/Bookmark
No Comments

Millennium Bug Update

Millennium Bug!

Millennium Bug!

Looks like the Millennium bug hit 10 years later than expected… after thinking about it last year I thought the next one was going to be a long way off but turns out it was 2009 -> 2010.  Looks like a number of companies and countries have been effected by problems when everyone was shouting happy new year this time around.  The register has a number of articles now on the problems:

  • Share/Bookmark
No Comments

Millennium Bug

Millennium Bug!

Millennium Bug!

Wow has it really been 10 years since the Millennium Bug “hit” the world (or Y2K or Year2000 or armageddon!).  I remember all the news reports about airplanes were going to fall from the skys and Hospital equipment were going to blow up and attack the people they were suppose to be looking after.  I was at University doing my Computer Science degree at the time and it was really interesting to see how computers had taken over our lifes even then.  Could you image the problems if something like that hit now?  Our iPhones turn into Transformers and kill all there users!! Ok maybe abit out landish but some of the news reports at the time almost made you believe that would happen.

Alot of money was thrown at the problem to fix problems that did exist and the computer scientists must have done a good job review code to make sure that nothing would go wrong / fixing any problems that were spotted.  Something interesting to think about is when is the next problem like this and will we still remember the Millennium Bug then and just ignore it…. could that be a disaster waiting to happen.

If you were too young to remember the Millennium Bug have a good interesting read of it over at wikipedia

http://en.wikipedia.org/wiki/Year_2000_problem

On that happy note Happy New Year to one and all (New Zealand is already in 2010!)

  • Share/Bookmark
No Comments

Eurostar and The Register

It was not just me commenting on the strange going on with the eurostar!

http://www.theregister.co.uk/2009/12/22/eurostar_eurotunnel_fiasco/

  • Share/Bookmark
No Comments

Snow and technology

Snow

Snow

Every year it always surprises me that when thesnow falls ont the UK the whole country comes to a halt. Maybe I’m getting old and not remembering my younger years but I’m sure itnever use to be this bad! Could itbe the more technology we have the less ability we can cope with snow or are we just useless!

Sadly I suspect it’s probably the latter of the two of these :-) . Although train technology seemed to let us down this time with the Eurostar trains, allegidly it was not the right snow that caused the trains to break down!! That’s almost as bad as leaves on the line. Hopefully they do find the right snow or fix the trains so everyone can get home for Christmas.

I’ve not seen how other countries deal with the snow but today I think three airports have been closed because of thanks…. How do they cope in Norway etc!

Oh well fingers crossed everyone can get where they need to be at this time of year. One piece of technogy not letting us down is broadband :-) and the ability to work at home rather than fighting it out on the roads.

Merry Christmas to one and all

  • Share/Bookmark
No Comments

Spam comments

Spam

Spam

After upgrading to the latest version of WPMU, I had a look around to see where there was a way of stopping spam comments since I was forever trying to delete them.  Doing a quick search on wordpress.com (why didnt I do this eariler) there are a number of plugins available that force the user either to a) answer a simple maths question or b) creates an image that the user has to enter.

I’ve not had the maths plugin running for the last month or so and on all the blogs I’ve so far had no spam comments which is fantastic.  Means that I dont need to keep deleting things every couple of days!!

  • Share/Bookmark
No Comments

Using Bind 9 for Home DNS Server

Bind9

Bind9

I’ve been with 02 for just over a year now and after having a fantastic setup from them and to be honest a really good connection (over 9MB most of the time).  One thing has really disappointed me… their DNS servers never seem to be as reliable as they should be.  I thought it was my router at first but using an IP address I can get out to the internet!

So today I decided I would use my linux machine to run as a DNS server for my network and it could cache them locally.  Hopefully it would allow my computers to ride the o2 dns storm!

Setting up Bind I thought was going to be really painful but all I had to do was install it and change one configuration file!  Using debian I did apt-get install bind9 and also apt-get install dnsutils.  This installed everything that was needed! Sometimes I think linux really is easy to use when its as easy as that to install a dns server.

The final part that needs to be done is adding my ISP’s DNS servers to the forwarders section within /etc/bind/named.conf.options.

Last put no means least just need to restart the bind server using /etc/init.d/bind restart.  Its then possible to start changing the IP settings of computers on your network to use the new DNS server.  Its also possible to test the server by using the dig command.  Running this command with a host name will return something like:


:/etc# dig lego.com

; <<>> DiG 9.6.1-P2 <<>> lego.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27502
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 8

….

;; Query time: 2 msec
;; SERVER: xxx.xxx.xxx.xxx#53(xxx.xxx.xxx.xxx)
;; WHEN: Fri Dec 11 21:15:25 2009
;; MSG SIZE rcvd: 365

If you run the command twice you will see that the query time will have reduced to a smaller value. This means that the server has cached the request.

There is lots more information at ubuntu.com.

  • Share/Bookmark
No Comments