* If creating script files on Windows, use Notepad++ and set as Linux/Unix compatible. *
EDIT > EOL Conversion > Unix (LF)
As you're jailbroken you should be able to run commands via a startup script.
Maybe try and activate wifi, that will at least open a door for easy ssh access.
Code:
#!/bin/sh
netagent flightmode off
netagent net on
rm $0
Save above code as:
/mnt/ext1/system/init.d/startup.sh
(you will have to create the init.d directory if it doesn't exist.)
Restart the device and see if wifi is enabled.