Tag Archives: ADSL

The Jesus-firmware for your ADSL modem

Well, not quite, but close enough. If you happen to have a Netgear DG834XX ADSL modem router, I strongly suggest that you have a look at the DGTeam custom firmware:

All the features are listed after the break, but to wet your RSS-appetite, you should get excited about wake-on-LAN, TCP/IP tuning features, advanced ADSL tuning (including lockdown of SNR) and improved firewall modules. With the firmware comes native telnet-support, which has made my ADSL traffic statistics a lot more reliable.

The firmware can be flashed the same way you will flash any other Netgear firmware via the routers admin-console and after a few minutes you will have a more stable and feature rich firmware having features such as:
Continue reading “The Jesus-firmware for your ADSL modem” »



VN:F [1.9.17_1161]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.17_1161]
Rating: +2 (from 2 votes)

The favorite posts in 30 days

It’s quite amazing to watch this blog grow. Of the monthly 50,000 – 60,000 hits, between 1000-2000 hits a day originate from browsers. A further 200-300 hits a day originate via RSS-readers.

I pulled some stats and was amazed about the most popular articles in the last 30 days:

  1. OSX Time Machine backup to Synology DS107+: The all-time-favorite – many OS X users don’t want to buy a TimeCapsule just to do their backups. In this article I show you how to use your NAS or Linux server and achieve the same thing without splurging out on new hardware.
  2. The Friday Picture: Jailbait: SEX SELLS! This post receives the highest referral and search count from Google.
  3. ADSL: Significance of SNR and attenuation: If you are getting ADSL, you better make sure to understand what affects the quality of your line. This can mean the difference between 4mbps vs 512kbps.
  4. Yamaha YSP-4000 – surround sound bar: This must be my favourite gadget of 2008. A wireless 5.1 surround system which 42 speakers. Beats all cheap and even some midrange sounds-systems and works perfect with my PS3 and watching DVD’s / BluRay.
  5. NAS: Create your own caching proxy: Especially with the absurd bandwidth-costs in South Africa, you certainly want to avoid wasting it. The caching-proxy will at least ensure that you don’t burn your bandwidth-cap unnecessary by visiting the same websites.
VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

NAS: Netgear ADSL statistics

In a previous post I explained the significance of SNR and attenuation for ADSL lines.

I have spent now a significant amount of time to write scripts to retrieve the ADSL-statistics for my Netgear DG834v4 ADSL router. The script will equally work on any Broadcom based modem-router which allows access to telnet and supports the command “adslctl”.

The solution is really simple and consists of one perl-script collating the information and a CGI-script which then produces the stats in real time from your webserver:

I have deployed the solution on my Synology DiskStation DS107+ (FW722) and had the solution running now for a day. If you want to run this on the Synology, you will need to install rrdtool via ipkg. If you want to run it on another Linux-based environment, ensure that you have access to the command-line version of rrdtool and rrdcgi (which comes bundled with rrdtool).

My current setup produces stats every 15 minutes and reports on the following stats:

  • Ping statistics. Currently against my local ISP – saix.net, but scripts are easy to modify to include your own pings
  • ADSL signal to noise ratio (up / down)
  • ADSL attenuation (up / down)
  • Power output (up / down)
  • Maximum ADSL data rate (up / down)
  • ADSL sync speed (up / down)

All stats are reported per hour, day, week and month. In the future I want to enhance the scripts to provide additional useful reports for the Netgear DG834.

By now you are probably asking “Where is the download-link?” — well here is the thing, my hosting and the popularity of this site is starting to cost me a bundle. So I am introducing donation-ware. It is up to you to decide if you want to donate USD 1,00 or a million (yeah baby) using PayPal via the donation-button below. The donation is absolutely save and you will receive the download-link automatically via email (link is valid for 24 hours). Further, I will email you any updates to the scripts and will look at implementing any recommendations you have.

I think this sounds like a fair deal, especially since it took me in access of 60 hours just getting those scripts done (don’t get a fright though – the scripts are simple – that’s the beauty of the solution).

If you want to use the scripts, donate below (you require a running version of Perl with Net::Telnet and Net::Ping, rrdtool — the scripts will run on the Synology out of the box).

 

VN:F [1.9.17_1161]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

ADSL: Significance of SNR and attenuation

As an ADSL n00b I wanted to understand how the technology works and how to get the most out of it. In essence if you want to improve speed and increase stability you need to familiarise yourself with SNR (signal to noise ratio) and attenuation. Many ADSL-routers will provide you with those stats.

SNR or Signal to Noise Ratio:
Describes the ratio of usable data-signals on your line. You can associate the “signal” with the data traveling across your ADSL-line and the “noise” as the unwanted interference affecting the signal. The higher the number the better for this measurement. In some instances interleaving can help raise the noise margin to an acceptable level.

6dB or below is bad and will experience no synch or intermittent synch problems
7dB-10dB is fair but does not leave much room for variances in conditions
11dB-20dB is good with little or no synch problems
20dB-28dB is excellent
29dB or above is outstanding

If your SNR is below 12dB you are pretty much screwed and will not get a consistent level of ADSL-service. You could try to convince Telkom to rewire the cabling – but this is unlikely to happen.

Attenuation:
Is the reduction in signal strength on your phone line. In ADSL this may be reported as “loop loss” and is the natural deterioration of the ADSL signal over distance from the exchange. Attenuation is normally directly linked to the length of your line. Copper is traditionally used in the local loop and the higher gauge of copper will give the best signal, however some lines may have some aluminium or aluminium joints on the line which will increase resistance… as will oxidisation of joints. The lower the dB the better for this measurement.

20dB and below is outstanding
20dB-30dB is excellent
30dB-40dB is very good
40dB-50dB is good
50dB-60dB is poor and may experience connectivity issues
60dB or above is bad and will experience connectivity issues

The standard signal attenuation spread for a given speed is somewhere in the region of 25-30dB for ADSL1 speeds (if we had ADSL2/2+ this would be).

The following guide (distance vs. attenuation vs speed) gives you an guestimate what you can achieve:
<1km should be 23-24Mbit (nice speed, but doesn’t it bug you that Telkom people walk through your bedroom?)
1.0km = 13.81dB = 23Mbit
1.5km = 20.7dB = 21Mbit
2.0km = 27.6dB = 18Mbit
2.5km = 34.5dB = 13Mbit
3.0km = 41.4dB = 8Mbit
3.5km = 48.3dB = 6Mbit
4.0km = 56dB = 4Mbit
4.5km = 62.1dB = 3Mbit
5.0km = 69dB = 2Mbit
>5.0km (you are pretty much poked — sorry for you)

You will not be able to fix attenuation (unless you relocate straight next to the exchange). You will however be able to influence Telkom or your ISPs – use tooling such as MRTG to measure your variances and log incidents against them. It is unlikely that they will move the exchange closer, but you could combat SNR (check your wiring, climb into the manhole and see if your underground wire is of the cheap kind etc).

Update – 2009/02/20: If you own a Netgear DG834XX ADSL router, you can try a custom firmware which allows you to lock in the SNR – check out the following post.

VN:F [1.9.17_1161]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.17_1161]
Rating: +2 (from 2 votes)