Dell Poweredge

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, November 19, 2012

Improving My ADSL2+ Connection Speed

Posted on 2:17 AM by Unknown
I used a Netgear DG843GT Modem/Router that I purchased on eBay for £12 delivered. It had a faulty swollen power supply capacitor on the Broadcom modem chip area of the printed circuit board, this I replaced, it was 1000uF at 6.3V electrolytic capacitor. I flashed the modem/router with DGTeam Firmware. I didn't like the new firmware's logos at the top of the DG843GT Web interface so I just blocked this frame in my browser to remove it :).
This firmware allows you to reduce the noise margin via the routers web interface. I first logged the modems varying ADSL2+ noise margin over a period of about a week from a Macmini using a shell script (shown below) to Cosm. This was to get a feel for the actual noise conditions on my telephone line over a period of time.

Note the area of the graph with off scale and flat line is where I was playing around with the Router. From the graph below one can see that before the noise margin reduction it was around 10dB, and you can see the reduction at night time due to interference from MW radio stations etc reducing the noise margin. You can also see where I reduce the noise margin down to the target 6dB, this is where my download speed increased from 5Mbps up to 7.4Mbps, what a result :).

The connection has been rock solid for over a week with no line re-sync and a very low crc much in line with what I experienced with the higher noise margin and a lower speed.




Shell Script RouterCall.sh
# This script uses another script cosm.sh to send data to the Cosm Website
# Note you have to create an account yourself and use this id for your script
#!/bin/sh
while [ true ]
do
# Create my data files
touch noise.txt speed.txt data.txt
# Get content of Stats Page from Router
wget --http-user=admin --http-passwd='********' http://192.168.1.1/stattbl.htm
# Get data into files
cat stattbl.htm | grep kbps | cut -d\> -f3 | cut -dk -f1 | head -1 > speed.txt
cat stattbl.htm | grep db | cut -d\> -f3 | cut -d\< -f1 | cut -dk -f1 | tail -2 | head -1 > noise.txt
# Load Variable list with contents of speed.txt
noise=`cat noise.txt`
speed=`cat speed.txt`
# Send data to Cosm by creating a json file containing the data
echo -e {\"version\":\"1.0.0\",\"datastreams\": [\{\"id\":\"ADSL\",\"current_value\":\"$noise\"\},\{\"id\":\"speed\",\"current_value\":\"$speed\"\}]\} > data.json
# Run other Shell script
cosm.sh
# Remove the created files to renew them next time
rm noise.txt data.txt speed.txt data.json stattbl.htm
# Wait for 5 minutes before looping again
sleep 300
done

Shell Script cosm.sh
# Script to send Data to your Cosm feed page
#!/bin/sh
curl --request PUT --data-binary @data.json --header "X-ApiKey: ***********You use your Key Here************" --verbose http://api.cosm.com/v2/feeds/***Your Feed Number Here*******

Update: I have managed a consistent 8.227Mbps by reducing the noise margin to around 3dB, it is also a rock solid connection and is much better than my old Zyxel P-660HW T1 V2 at around 4Mbps, it also used to restart for no reason even when it was brand new.

Further Update: I have now managed a consistent 9.139Mbps by further reducing the noise margin to around 2.4dB, it is still a solid connection. It was up at 9.9Mbps but this was not stable so it was reduced. These changes were made in the summer when static and atmospheric noise is at its highest on the frequencies used by ADSL2 so fingers crossed that it stays this way :).

References Used: With grateful thanks


Making a datalogger for a Kamstrup electricity / gas meter with Raspberry Pi!


Duncan Jauncey's Blog



Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Ubuntu Enterprise Cloud
    Hadoop Cluster I had problems with ssh passwordless logins taking ages on the hadoop Ubuntu cluster I was working on. This was fixed by addi...
  • Programming ATTiny45 using an Arduino Uno
    Wiring of the Programmer The Arduino is programmed using the Arduino IDE and USB with the ArduinoISP sketch from the File Menu located in ex...
  • Raspberry PI Enterprise Wifi
    The dongle I used was the Farnell WiPi this was identified by the PI using the command lsusb as a Bus 001 Device 005: ID 148f:5370 Ralink T...
  • Raspberry PI Kiosk
    Do the usual things after installing an image on the SD card and booting the Pi for the first time run sudo raspi-config then set boot deskt...
  • PXE Boot a Dban image from an Ubuntu Server
     Dhcp Offers from Ubuntu Server to Compute Nodes ****Note**** exercise extreme care with these notes I have made as you can boot and wipe an...
  • Remove CentOS Xen
    Install Standard Kernel yum install kernel Remove Xen Kernel yum remove xen kernel-xen Edit Grub to Select Correct Kernel /boot/grub/grub.co...
  • IPTables Lost After Reboot of Head Node
    IPTables Lost After Reboot of Head Node The iptables were lost every time the machine was rebooted so I found I needed to save the iptabels ...
  • SSH Connection Problems
    Ssh-agent Problem When I attempted to use the command 'ssh-agent' then the command 'ssh-add' to enter my rsa passphrase ...
  • VirtualBox
    Create a VM VBoxManage –help VBoxManage createvm --name "MyvmServer" --register VBoxManage modifyvm "MyvmServer" --memor...
  • Create a Video Using DeVeDe
    DeVeDe is a CD/DVD creator package for Linux. In Ubuntu sudo apt-get install devede , this will install the package. Run the program in Gno...

Categories

  • Cluster Login Problem
  • Hadoop Cluster Passwordless SSH login
  • Open-SSH Installation
  • Software Update Command Line

Blog Archive

  • ►  2013 (6)
    • ►  September (3)
    • ►  April (2)
    • ►  March (1)
  • ▼  2012 (16)
    • ▼  November (1)
      • Improving My ADSL2+ Connection Speed
    • ►  October (1)
    • ►  July (2)
    • ►  June (3)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (3)
    • ►  January (1)
  • ►  2011 (17)
    • ►  December (1)
    • ►  November (3)
    • ►  August (4)
    • ►  July (1)
    • ►  June (2)
    • ►  May (2)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2010 (18)
    • ►  December (2)
    • ►  September (2)
    • ►  August (2)
    • ►  July (4)
    • ►  June (7)
    • ►  May (1)
Powered by Blogger.

About Me

Unknown
View my complete profile