jlippold / WifiSMS

iphone webserver gateway for SMS
193 stars 68 forks source link

The App closes itself 1 second after starting #45

Open lukasbisdorf opened 12 years ago

lukasbisdorf commented 12 years ago

Hey there, my Problem is, that wifisms broke up starting when I push the sbSetting icon. When I Pushed it, it turns to "on" with the loading circle in it, stays on but no connection can be established to the iPhone. Some tries further i noticed that, when if I refresh the SBSettings, the Icon turn to off again.

I'm sure that I have no Network problem. Ping and SSH works well all the time.

I have changed my root password, I have also tried with default alpine, doesn't work either. Restarting, Respringing, Reinstalling of Sudo and wifisms doesn't fix it.

Any Idea?

Kind Regards Lukas

lukasbisdorf commented 12 years ago

I have foud a way to start it manuall via ssh: touch /tmp/WifiSMS-ON; sudo -u mobile nohup /User/Library/WifiSMS/WifiSMS "$*" > /dev/null 2>&1 & but this can't be the only way... works propperly with this trick.

bhendel-zz commented 12 years ago

For me the app needs to be turned on every time I reboot the phone. Not a huge deal, but would be nice if it stayed on. I also notice that some apps, namely JotNot, also open up port 8080, thus blocking WifiSMS if used on that port.

But I agree inf1832, WifiSMS should attempt to start at every reboot.