This worked great for me...when I changed the first line
#/bin/sh
should be
#!/bin/sh
it hung otherwise with a black screen
I also had issues using 10.1.0.2 as the ip, though this may be due to having osx with about 20 interfaces with that ip (each time the gp2x locked up, it gave me a new...