TPTest Statistik

IIS.se, PTS och KO har släppt en ny intressant version av TPTEST – TPTEST Statistik. Detta program utför bandbreddstester på din förbindelse med jämna mellanrum och sedan laddar upp resultaten till www.tptest.se så man kan jämföra med andra kunder in samma nät. Jag fick bekräftat att det inte står så bra till med min Scream-förbindelse. Jag ligger lite över 2.5Mbit/s medans den med lägst prestande förrutom mig ligger på 4Mbit/s och då har jag sett till att verkligen inget annat ligger och tar bandbredd.

Dock stämmer detta inte helt med mina egna mätningar. T.ex. så får TPTEST statistik min upplänk till maximalt 0.63 Mbit/s medans jag själv kan mäta upp 0.83 Mbit/s som stämmer bra överens med den information jag kan hämta ut ur modemet just nu: Speed (Kbit/sec) 832 up / 6016 down

Access to SpeedTouch 510 webserver

So I have been fiddling around a bit more with my SpeedTouch 510 ADSL modem. I wanted to be able to access the internal webserver in it from my machines on the inside, i.e. those behind the firewall. The modem is on the outside. The IP of the modem is 10.0.0.138 which also makes it a bit problematic since it is not routed normally.

To start with I gave my outside network-card one more ip number, 10.0.0.1 so it would be on the same net as the modem:

ifconfig vr0 alias 10.0.0.1

vr0 is the name of my outside network interface.

Then I had to tell my firewall not to deny those packets since normally 10.0.0.0 and 192.168.0.0-nets are not routed:

add allow all from any to 10.0.0.138 via ${oif}<br />
add allow all from 10.0.0.138 to 192.168.0.0/16 via ${oif}<br />
add allow all from 10.0.0.138 to 10.0.0.0/8 via ${oif}

This allowed me to telnet into the modem as well as access the webpages from my firewall machine but I wanted to use the machines that had ip like 192.168.0.3 to access teh webserver as well. The problem is that the modem doesnt know where these machines are so I had to tell it where to route traffic for the 192.168.0.0 net.

ip rtadd dst=192.168.0.0/16 gateway=10.0.0.1

So now it works when the modem sends the traffic to my firwall that routes it correctly to my PC and such.

Learning Perl

I have had the intention to learn Perl for several years but have never really had a good project or a good book to start with but now I seem to have both! I just found the Picking Up Perl online book and read the first chapters and it seems to very quickly introduce the basic concepts of Perl. So now its just to get started with the project, to extract some intersting data from my ADSL Modem and plot that using MRTG.

Problems with FMS interface

When I connected the FMS interface I built the other day to my new radio and the laptop I got a very jumpy signal. In the FMS Forum there where two different suggestions what might cause this, either to weak power in the serial port, or the reversed order of the signalcable from my Sanwa radio.

This guy had a similar problem but with another PIC interface, though for this one the source code is available. So maybe I will change mine to that one since the design was similar. Or just reprogram my PIC since I think the design is similar enough to do that, though I have to study it more carefully first.

Also the FMS Forum had a several posts on different hardware interfaces, maybe one can find a simple USB joystick based one there.

How to program a PIC with ICProg and the JDM interface

I just built the PIC 12C50x Serial Interface for FMS(see images below) and was about to program the PIC when I realized I was very unsure how the programmer worked and if I had the software as well to do it. So I though it could be good to write it now when I got it working.

The program to use is IC-Prog. Make sure the Hardware settings are set to Windows API if you use XP as I do. Also select the right com-port.

The IC to program should be placed with pin 1 furthest away from the RS232 connector(in my design that is!).

The design I used for my PIC programemr is from this site though I did not use their PCB layout but rather just used the schematics and built it on a proto-board.