Pyroute

From Openmoko

Revision as of 21:25, 29 December 2007 by Wurp (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cribbed from the mailing list, with some modifications that I had to make for it to work on my neo1973.

'ipkg install python-pycairo python-pygtk python-netclient python-xml python-html python-netserver python-crypt python-threading'

I downloaded the packages from http://buildhost.automated.it/OM2007.2/packages/armv4t/. The actual commands I issued were for the .ipk files I downloaded.

Download pyroute as per http://wiki.openstreetmap.org/index.php/Pyroute#Download_and_installing I actually used svn to get it on my main box, then used 'tar czf pyroute.tgz pyroute', 'scp pyroute.tgz neo-usb:', and finally 'tar xzf pyroute.tgz' on the neo.

I had to hand edit /usr/lib/python2.5/urllib2.py and change 'import hashlib' to '#import hashlib'

Then run 'python gui.py' in the directory you expanded pyroute into.

Unfortunately, it takes a very long time to come up the first time.

Personal tools

Cribbed from the mailing list, with some modifications that I had to make for it to work on my neo1973.

'ipkg install python-pycairo python-pygtk python-netclient python-xml python-html python-netserver python-crypt python-threading'

I downloaded the packages from http://buildhost.automated.it/OM2007.2/packages/armv4t/. The actual commands I issued were for the .ipk files I downloaded.

Download pyroute as per http://wiki.openstreetmap.org/index.php/Pyroute#Download_and_installing I actually used svn to get it on my main box, then used 'tar czf pyroute.tgz pyroute', 'scp pyroute.tgz neo-usb:', and finally 'tar xzf pyroute.tgz' on the neo.

I had to hand edit /usr/lib/python2.5/urllib2.py and change 'import hashlib' to '#import hashlib'

Then run 'python gui.py' in the directory you expanded pyroute into.

Unfortunately, it takes a very long time to come up the first time.