Category Archives: Computing

OSX go-slow.

I’m still running 10.4 on my MacBook Pro. This morning when I came into work there was a security update for Safari available which I duly installed. At this point it all went horribly wrong. Securityd swallowed 1.7GB of Ram (out of 2GB) and it caused my machine to page-in and out continuously.

A quick bit of googling, and I came across this post. Suffice it to say, it worked a charm.

The summary (I wasn’t brave enough to just rm the file)


sudo mv /var/db/CodeEquivalenceDatabase /var/db/CodeEquivalenceDatabase.org

and then reboot the machine.

Many thanks to the poster, you have, most definitely, saved my day!

LinShim6 v0.9 Released

“I am glad to announce that LinShim6 version 0.9 has been released. The major additions are the followings:

——————
– Support for Keepalive Timeout option
– Faster failure recovery for TCP applications (thanks to RTO reset upon path change)
– Shim6 can now be compiled as a module. The trigger heuristic is defined as a separate module. So that it can be
unloaded or replaced depending on the needs. For example, a server that does not want to initiate a Shim6
negotiation by itself, but only answer to requests, can simply unload the heuristic module.
– Added a console option, that allows dynamic setting of the failure detection timer.
——————

The useful links are the followings :

* LinShim6 main page, where you can download the kernel patch and the daemon : http://inl.info.ucl.ac.be/LinShim6
* Updated draft shim6-impl (implementation report) : http://inl.info.ucl.ac.be/publications/shim6-implementation-report-linshim6
* Documentation (not yet updated for 0.9, however) : http://inl.info.ucl.ac.be/publications/linshim6-implementation-shim6-protocol

regards,

Sébastien.


Sébastien Barré
Researcher,
CSE department, UCLouvain, Belgium
http://inl.info.ucl.ac.be/sbarre

We (TSSG) have been working with Sébastien, for quite a while, debugging the implementation, and adding features to it. Specifically in the EFIPSANS project, we are looking at SHIM6’s failure recovery capabilities in the event of one network interfacing (or, indeed one upstream provider) loosing connectivity. We have been sidetracked for a while with lots of project documentation to be delivered to the EU, hopefully we can get a linux iso prepared once again to allow others to experiment.

Delay Tolerant Networking over AX.25 & QSLs

I wrote in January that I had done some testing of Darren, G0HWW’s DTN over AX25 (also know as Packet Radio) Implementation. At the time we really only wanted to see if it worked. Since then I have been quite busy in my day job, and not had a chance to really do any more testing up until recently.

In the last few weeks had some free evenings and devoted it to testing the Darren’t DTN implementation against ‘raw’ AX25 connections with different AX25 window sizes from 1 – 7. I used a test file size of 9744 bytes (a NASA format keplerian element set that was handy) over at 1200bps AX25 link.

For the raw AX25 test, I connected from one node to another over and had the test file waiting for me in an email (using axmail). I recorded the wall clock time from when I pressed return until the command prompt was returned.

For the DTN test, I used the dtncp command to send the file and I started recording from when I pressed return on the command line. Obviously there is a problem there in that the AX25 test has to transmit the command before it can receive anything, whereas dtncp immediately starts transmitting, but as I only wanted to get a ‘feel’ for the figures, I think it will suffice. Several runs of each later (to get average figures) we have:

Window Size “Raw” AX25 (seconds) DTN over AX25 (seconds) Delta (seconds)
1 110.67 121.33 10.67
2 90.33 106 15.67
3 84.67 101 16.33
4 81.67 97.67 16
5 79 95.67 16.67
6 78 91.67 13.67
7 77 108.33 31.33

I’m not an AX25 expert by any stretch of the imagination, so we had several false starts trying to get working settings for the various timers that are part of the AX25 implementation. None of them were set to ‘optimum’ but really I just increased T1 and T2 in line with the Window parameter until it worked reliably.

Several things surprised us. Firstly, Darren’s implementation is not as bad, performance wise, as we thought it would be. At the moment, no effort been made to streamline the implementation but it is designed to be highly robust in the event of data transmission errors. Secondly, all data was transferred successfully on every occasion, always good :). Also, on average, the overhead (if we ignore the window of 1 and window of 7), is between approximately 17% and 21%. The figures for the Window set to 1 (above) is a special case in that it forces an almost ’round-robin’ transmit cycle on the two participating stations. Setting it to 7 seemed to trigger a bug, but we don’t know where exactly. In fact the picture is much worse than that. 1 in every three runs took almost 5 minutes to complete as the two stations got completely out of sync AND it looks like Darren’s code (or the kernel) wasn’t honouring the window of 7. In reality though, it would be seldom that one would attempt to use a window size of 5-7 on a shared frequency due to the likelihood of being ‘trod on’ by another station.

All that said, it’s pretty reliable. If your are interested in giving it a try, email Darren, his details are at the bottom of this page, describing his implementation.

Now, back to writing QSL Cards. Shamefully, I’m several years behind.
Front

Irish IPv6 Summit.

Through where I work, I’ve been using/breaking/experimenting with difference facets of IPv6 for several years. Part of what TSSG has been doing is attempting to raise awareness about IPv6 whenever the opportunity arises.  As part of the Irish IPv6 task force, TSSG is helping to organise an IPv6 Summit, which is expressly for the purpose of raising awareness in the public and private sectors. Even if you have only a passing interest, do come along (and ask difficult questions!).

DTN over AX25 – Update.

Dissapointingly it has taken far to long to get back to this (see my earlier post), but recently Darren and I managed to be both online over the same few days to organise some testing. The infrastructure has changed slightly, in that the testing is now taking place through an AX25 Digipeater on a 1200bps Packet Channel, with the nodes being approximately 32Km distant from one another.

Both machines were Ubuntu 8.04, with kernel 2.6.17 on my end, 2.6.24 on the far end, latest ax25 utilities and tools.

My end was used to bring up the link every time (The far end has no /proc/ax25, so I can’t sent the ax25 parameters remotely, I’ve to change/rebuild the kernel afaik)

Through the digi we used the following settings when setting up the kiss ports. Txdelay of 150ms, paclen of 255, maxframe set to 1.

We quite quickly identified a problem with ‘chattyness’ (the locals got upset), and Darren did some re-work. Since then its performing much better, and the locals are much happier. I was away for a bit and Darren has updated the code some more, so more testing for me I think.

Given that I’m looking at this from an Emcomm/AREN point of view, I’m really pleased with how its progressed so far, and I think Darren may even be considering sending the code ‘upstream’.

./configure ; make; sudo make install

Airmail2000 on Linux.

Airmail is “a message program specifically designed for connectioto a HF radio mailbox station.” it is “a 32-bit program which runs under Windows-95, 98, NT, 2000 or XP”. For the last few weeks I’ve been testing it on Ubuntu using Wine. My Linux laptop is re-cycled, so it didn’t come with an OS. So I installed Ubuntu 8.04 LTS Desktop Edition. After installing my APRS application of choice, Xastir (from source of course). I happened to read somewhere that Airmail seemed to work reasonably well with Wine. So I tried that as well.

After installing Wine (apt-get install wine), I downloaded airmail, and one double click later it was installing. Better than that, I’ve had it running since (needed no reboots!) I’ve tested the VHF Packet Module, POP/SMTP Client, POP/SMTP server, Telnet Client, and all seems to be working as it should. There is one quirk I’ve found.

There is an option in the mail client to “Check Spelling as you type” and this is enabled by default. With this enabled, text in the ‘body’ of a message appears white on a white background (and is thus invisible). Once disabled it works fine. It took me a while to find the solution and this question has appeared a few times on the airmail list, and the simple fix is to select “Tools” then “Options”, then the “Spelling” tab which is the 8th from the left, and make sure there is no ‘tic’ in the  “Check Spelling as you type” box.

If this works for you, send me a mail, ei7ig at winlink dot org

Shimming.

I mentioned SHIM6 way back in November 2006, when I was working on a project where we were doing an ‘initial look’ at SHIM6.  Well now I’m back looking at it again for a different project. So I  have been putting together a testbed here in  TSSG in order that we can complete a fuller analysis of  Sébastien’s implementation.

Unfortunately I’ve not really got ‘decent’ results yet due to a ‘comedy’ of failures of older hardware that I have re-tasked for the job, and there’s one pesky bug that we haven’t quite found yet that is disrupting things, but hopefully I’ll have more ‘interesting’ results in the relatively near future.

So far (pesky bug allowing), the fail-over aspect seems to work quite well, which is very very cool when you see it in operation.

PB/PG 2.2.1 Released

From Bent Bagger, OZ6BL:


I’m happy to announce release 2.2.1 of PB/PG for Linux.

PB and PG for Linux are programs used for download from and upload to
digital satellites (Pacsats) supporting the FTL0 protocol. This
software allows you to directly communicate with the Microsat series
of satellites. It provides a Curses (Ncurses) based user interface. It
features automatic directory fill requests and simple, rules based
file download requests.

This release serves two purposes:

1) To show that the project is still alive and kicking

2) To correct a number of small ‘inconveniencec’ and to add a few new
features. These changes/additions are described in the document
‘ReleaseNotes’ q.v. (included in the release)

PB/PG for Linux may be downloaded (in source form only) from one of
these places:

http://www.fern.dk/pgpg/pbpg-2.2.1.tar.gz
http://ibiblio.org/pub/linux/apps/ham/pbpg-2.2.1.tar.gz
ftp://ftp.amsat.org/amsat/software/Linux/pbpg-2.2.1.tar.gz

I may be contacted using this address:  oz6bl (at) amsat (dot) org

Happy hamming

Best 73 de Bent/OZ6BL
 —

I submitted some rather simple patches to the package including IPv6 patches to allow it communicate to a server running predict (which has also been patched for IPv6 support), which were included, then I helped test them with my home station.  Even though I’m only using a vertical antenna, I was able to upload to and download from  the satellite quite successfully on most passes. It’s kinda cool actually, not something one does every day 🙂