:directory nonesistent: cannon create /proc/sys/net/piv4/pi_forward
:not found
/data/local/tmp/wifi.sh: ./busybox :not found
:not found
dnsmasq: bad command line options: try --help
:not found
'ptables v1.3.7: invalid target name 'MASQUERADE
Try 'iptables -h' or 'iptables --help' for more information.
:not found
Like mikebot and others, I was getting this error message when running wifi.sh. After poking at it today, i figured out my problem and got it to work!
I'd created the wifi.sh using TextPad, it's an app like Notepad++, and I like it because it's a bit more robust than plain ol' Notepad. After I used
adb push to get it to the phone, anytime I ran it I'd get those errors. Then I looked at the file
on the phone. It looked just liked I entered it, with a
/M at the end of each line!
It's something to do with how Windows/DOS treats text files, versus how UNIX based systems treat text files. Now, in textpad, my solution was to go to File > SaveAs, and change the save type to "Text file - UNIX". I believe Notepad++ can also do this, but the stock Notepad in windows
does not.
So, if your wifi.sh isn't working, look at on your phone in Terminal Emulator (I used 'vi wifi.sh' to do so), and see if there's extra characters at the end of each line. If so, there's your problem.