ecto Problems

I’m having trouble posting with ecto. Seems to be a problem at my end, too. I can’t post at all anymore, it freezes after parsing the document. It used to post, and then get some sort of a fail on server connection, but I don’t even get that far now.

autoTorrent

I’ve started using BitTorrent, or rather a couple of different clients, since I got ADSL, but what I really want is a fire-and-forget client for the NSLU2. This is what should happen.

  • Monitor a certain directory. If a .torrent file is added to this directory, add it to the queue.
  • When a torrent is complete, move the file(s) to a completed directory. Send an email, or something. Perhaps add an item to an RSS feed. Remove the .torrent from the download queue, but keep it seeded.
  • When neither of the other computers is turned on, download the next .torrent in the queue.
  • If the download total of the running torrents is less than 80% of the available, start the next .torrent in the queue.
  • If more than one .torrent is running and bandwidth use is greater than 90%, then stop the lowest in the queue that is running.
  • Have a nice web interface that allows for changing the queue order.

There is a torrent ipkg for nslu2, which I’ve downloaded, but I may write my own. It’s show day tomorrow, so that might be a good start.

ADSL Speed Test

Test run on 29/08/2006 @ 9:55 PM Mirror: Optus Test type: ADSL Your connection speed: kbps: 209.77 KB/s: 26.22 Mbps: 0.21

Courtesty of Oz Broadband Speed Test.

ADSL Connection any day now.

Well, I’ve signed up for ADSL access with Optimum Internet, and it’s due to be connected on the 29th August. The connection seems to be there already when I plug my modem in, but I can’t get it to actually connect properly. I’m not sure if that is because I don’t have all of the settings correct, which I think I have set up, or if it just hasn’t been activated properly yet. 15Gb/month for $32.50, on a 256k plan. Unless I’m mistaken, 256k means 256 kilobits per second, which roughly equates to 32 kilobytes per second. That would indicate around 32 sec/meg, or 1.875 Megabytes/sec. Assuming this (best case scenario), that means it would take around 133 hours to download 15Gb. That’s about 5.5 days. So, maxed out, it should take me about 1 week to reach my quota.

Dialup Speed Test

Just for posterity:

Test run on 22/08/2006 @ 10:34 PM Mirror: Optus Test type: Dialup Your connection speed: kbps: 38.99 KB/s: 4.87 Mbps: 0.04

Courtesty of Oz Broadband Speed Test.

MS Access has no LIST data type

Well, the title sums it up. There doesn’t seem to be a way to store a list of items in a Microsoft Access database. For instance, I have an item that may belong on several categories, but I can’t just have a LIST datatype, and have a list stored in here. Instead, I’ll have to have yet another table that has relationships, which further complicates the database. And makes creating a form for entering data more difficult.

Access Database Gripes

I have an application where I need to have categories, and each category can have a parent category. However, I can’t do this in Access using one table, as tables cannot have entries that refer to items in themselves. So, I’ll need to have a Category table, and also a Category Parents table, which has the relationships in it. Bah.

Upgrade SpeedTouch Home-Pro-510

I’ve upgraded my SpeedTouch modem from the Home version, to the Pro version. To get better web access tools, I then upgraded it to the 510 firmware. However, I then had to set my PC’s IP address back to one in the 10.0.0.X range, as the modem had decided not to get an IP address from the DHCP server on my network. Hopefully that has been fixed now… I’m not sure that I’ll keep the upgrade in place. Whilst it allows for easer NA(P)T translations, it doesn’t seem to have some other features. I’m not sure if I’ll need them or not, but it seems to me that NA(P)T is more likely to be changed than connection type (PPP, PPTP, other). As I start using other applications, and run servers on my LAN, I’ll likely want to set up some port forwards.

Downloading NSLU2 Firmware 6.8 Woes

It’s really cool that people are still working on the Firmware upgrades for the NSLU2, and I went to upgrade the firmware today to try to get MySQL working properly. The file is 6.5 MB, and my download keeps failing at 3 MB. And I can’t resume, as I can’t find the actual address - they’ve done a pretty good job of making that hard to find. Annoying…

Can't Reset Alcatel Smart Modem

I’m about to connect to ADSL, and bought a Smart Modem Home second hand, and rather cheap. I upgraded it to a Pro, which was amazingly simple, and then upgraded the firmware. Since my LAN uses 192.168.x.x addresses, rather than 10.0.0.x addresses, I also configured it to use one of these (actually, it gets one from my DHCP server running on the NSLU2). At some stage, it dropped off the network. I could no longer ping it on any address - basically it seemed to have chosen a random new IP address, and I couldn’t find this out. So, I tried a hard reset. This is where you hold down the reset button using a pen or paperclip, and then power cycle the modem. No change. Finally, I found these instructions, on Ozcableguy:

Open a Command Prompt Window (Start > Run > Command) Type the following (It is case sensitive):- ARP -s 10.0.0.138 01-90-D0-80-01-FF Switch the Pro off and back on. In the Command Window, type the following:- ping 10.0.0.138 -t If all went well, you should start to see replies after 30 secs to 1 min. If not, try it again. Finally, it is imperative to clear the entry we added in the Command Window, so type the following ARP -d 10.0.0.138

There was also one that didn’t work, with the last hex value being 01 instead of FF. I never saw any response to the pings, but the modem kept resetting itself when I was doing this. Eventually, after about two minutes, I tired of waiting, and switched the modem off, stopped the ping and removed the arp entry. After restarting the modem, I was able to connect to it again, and now it’s back to being a nice member of my network. Or was - I may have just screwed it up again, and will need to repeat the process… These are the steps I went through the second time, and the results I got: $ arp -s 192.168.1.138 01-90-D0-80-01-FF This sets the IP address of the device to 192.168.1.138. From the arp help, it seems that the second value is the ethernet MAC address, but this seems to be a ‘master’ address, and must be typed as above. Then power cycle the modem. When it boots up, type the following into the shell: $ ping 192.168.1.138 -t I left it for a couple of resets, then Ctrl-C’d the ping, and cycled the power on the modem. When it came back up, it had reset to it’s factory settings. Since, for a Pro modem (which mine thinks it is now) it looks for any available DHCP server, and I had the DHCP server set to allocate the address 192.168.1.138 for this MAC address, it got reallocated the correct address. All the settings are defaults again, but that’s cool, as I haven’t set anything up yet anyway.