EzTerry's Ramblings

Content for /dev/null

Python in OpenWRT

Fri, 2006 Dec 15, 22:26:

So I now have a python package for openwrt! The only problem with it: Storage space.

However if you have a USB flash card with ~20MB free it will work!

This means I'm playing with it on a ASUS WL-500g Premium, but not my own WRT54GS

from a ram perspective simple things seem to run in about 1MB, while help/pydoc use 5MB. I have yet to go much beyond that. However given this requirement I doubt it will run well on a WRT with < 32MB of ram

Installing

To make reinstallation and removal easier I did package the thing into an ipkg. however this one has some pre-installation steps

  • symlink /opt to a location on your external media eg. ln -s /path/to/usb/key /opt
  • install the ipkg to the root destination (default): ipkg install python24.ipk

to run you may use /usr/bin/python or /usr/bin/python2.4 both symlink to /opt/local/bin/python2.4 In addition you can find all the python libraries and modules in /opt/local/lib/python2.4

download

The ipkg described above can be found at here

This is a cross compile of python 2.4.4 from here: http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz

No changes outside of modifying the auto-generated make file after configure to use my x86 python to help build the modules (rather than the mips python on an x86)

Also note the ipkg was manually constructed, so my apologies for not having a build script

Microsoft Remote Desktop Connection

Tue, 2006 Dec 05, 13:00:

So on friday Microsoft Remote Desktop Connection was working fine, and this morning it uses 100% CPU w/o doing anything.

And the big thing I think I've done to my computer was to upgrade OSX to the lattest patch.

But I found the problem: corrupted config files!

Removing the following caused the application to work again (even if the server history list was lost)

The file (may or may not exist):
~/Library/Preferences/com.microsoft.RDC.plist
The directory
~/Library/Preferences/Microsoft/RDC\ Client
Unless otherwise noted, material on this sight is licensed under the Creative Commons Licence
December
Sun Mon Tue Wed Thu Fri Sat
         
           
2006
Months
Dec
Terrence Ezrol
Powered by Blosxom Valid HTML 4.01 Valid CSS!