Router woes

I have an old WRN150n router at home, it old the web GUI stinks and it struggles with my 20mb/s Internet connection. I decided that a refresh was in order.

Wish list

  • IPv6
  • open VPN tunnels
  • performance
  • nice GUI
  • low power (sub 10 watts)

I tried upgrading my old router to DDWRT firmware.

This is a relatively simple if time consuming practice of doing a 30-30-30 reset on the router. Yes that’s effectively switch it off and on again. Then upload the new firmware, wait and do another 30-30-30.

Once I had upgraded I came across my first problem.

The wan (Internet) interface setting was for some inexplicable reason bound to the wireless?

After figuring out that eth2 was wireless, eth1 should be wan and eth0 was the LAN switch I could get I online!

Performance was great over wires! but my second issue arose.

Wifi issues on the router

The wireless configuration in DDWRT is awful and it doesn’t work. I won’t bore with the complete list of vairiables I meticulously changed one by one surfice to say it was enough to convince me to roll the firmware back.

Cisco router factor

My next problem, Cisco who bought Linksys has dropped support for my trusty old router and that includes dropping the download of the firmware.

I eventually found it but it shouldn’t be this hard!

The hunt for a new router

I started the hunt for a replacement……
That’s for another post another time.

Deneb is available IPv6

Steps taken to get available via IPv6

  • Test via IPv6 validate –
  • Raise support ticket with ISP to get native IPv6 address (this could be done with an IPv6 tunnel)
  • Apply IPv6 network configuration to server
  • Change firewall to allow http over IPv6
  • Add quad A record to DNS
  • Chnage Apache config to respond on IPv6 address hostname combo
  • Test that it now does validate

Why test first? its the test driven way, Test (fail), Enable, Test again, Re factor if necessary

Now Deneb is available IPv6 !

Exhausted IPv4 in europe

There are only 4 billion addresses in IPv4 and RIPE is down to the last 16 million in Europe. At its current rate of usage (4 Million every 10 days) RIPE would exhaust its supply in 40 days. To alleviate the issue rationing of new addresses has been stepped up.

What is an IPv4 address

An Internet Protocol v4 address (IPv4 or just IP address for short) quite simply the address used for a device in a network using IPv4.

Each IPv4 address is a 32 bit number represented in 4 octets separated by dots. eg

A singe Internet connected device can have more than one address and addresses cannot be transferred easily ( if an address is used in north Africa and the computer is switched off the address cannot just be re allocated in north America )

What is the solution

IPv4 has a replacement protocol IPv6 where the address space has been expanded from 32 bits ( 2^32 addresses = 4,294,967,296) to a 128 bit address space (2 ^ 128 = 340,282,366,920,938,463,463,374,607,431,768,211,456 ) which is a lot more.

I cannot speak for all languages but the Python 2.7 Library for sockets describes the implementation as being IPv4/IPv6 neutral. So in theory Python apps using the default libraries would not need code changes to work in an IPv6 environment.

Start getting involved today, look at getting an IPv6 certification from Hurricane Electric. Petition your ISP to give you IPv6. Start to understand your firewall better ready to implement IPv6.

Look at getting your web site live to return on IPv6 and IPv4.

Original source of this RIPE IPv4 exhaustion –


Have you tried the beta of Gov.UK before it replaces

It has been designed to look and feel more like a search engine than a government portal. It feels faster and an easier way to the information I want. However It does still link out to the sites its supposed to be replacing if you dig deep enough.

What are your thoughts?

Socks proxy through an ssh tunnel

I have on several occasions found myself on an insecure network (Such as ‘free’ wifi in a restaurant ) and wanted to browse the web securely. There are many ways to achieve this aim this is one of the quickest, assuming you have a server to SSH too.

Principle of a Socks proxy through a ssh tunnel

SSH to a system you administer/own and trust; This creates the secure connection (Make sure you know your fingerprints). Then tunnel your web traffic over this connection using a Socks proxy.

Continue reading Socks proxy through an ssh tunnel

Multi tier architecture in action

What is meant by a Multi tier architecture

The generally accepted definition of a multi tier architecture describes the separation of Presentation, Logic and Data roles. This can be viewed in more detail in the wikipedia article Multitier architecture  however this article doesn’t describe the implementation of a multi tier architecture.

I have worked with many different organisations of varying sizes with differing needs and here are 4 of the most common high level implementations I come across.

Continue reading Multi tier architecture in action

Programming tester

I know lots of people who have wanted to try to program but don’t know where to start…

I get asked all the time questions like

  • What software do I need?
  • What’s an IDE?
  • Which books the best to start with?
  • What language do you use?
  • Which language should I try?

These are not simple questions and they distract from the core question

“Will I enjoy programming?”

I have found a website that lets you answer this basic question.

It is a website supported by Waterloo University that guides you from basic concepts of programming though some simple examples / questions all done on the web page to let you try it and learn from the experience. I really like the way it has been constructed so that you can see when you have passed a question and you can also have a hierarchy of tutors to help you out and monitor your progress.

My user tag on the CSCircles is TineInevitableT you can add me as your Guru if you want any help.