Quote:
Originally Posted by eval-
UPDATE: I am an idiot. I forgot the "user " before the phoneOResn#@uscc.net in options.smd1
For those of you who need the options.smd1 file, this is why my "fix" script failed. I Fixed Fix =) So, try again? G'luck! (and sorry about that)
Thanks! =) To be honest I did not test the script, so I would love if I could get feedback (and update it, if necessary.) I don't have USCC or need a pap-secrets file, so it's kinda hard for me to test. Can you let me know whether after you "su" and "/sdcard/fix" the right values get put into /etc/ppp/pap-secrets and to the last line of /etc/ppp/options.smd1? There is always the (annoying) possibility that the shell (/bin/sh) that comes with XDAndroid (ash?) does not quite behave like bash and that my script won't work. In regular linux, you can do something like "sh -x script" (so in our case "sh -x /sdcard/fix" and it will show you what the script is doing, line by line. If you could run that, maybe we can figure out if I made a stupid oops.
|
I tried to execute the script through two different programs and neither of them create or append the files. I created a script to perform the two copy statements from my instructions and neither of those work either. Here is my code...
#!/bin/sh
busybox cp /sdcard/pap-secrets /etc/ppp/pap-secrets
Busybox cp /sdcard/options.smd1 /etc/ppp/options.smd1
If I manually type these in a terminal window they work, but the chmod +x /sdcard/usccfix that I created from your post (with the 'user' added in front). My file is located at /sdcard/ and a file named usccfix (no extension)
May be the programs I am using or scripts not working yet??