Reply
Thread Tools
Posts: 231 | Thanked: 143 times | Joined on Feb 2012 @ Tallinn, Estonia
#11
Thanks. It works when I do it in the terminal. I could not set it up in Profilematic.

However, meanwhile I found even easier solution - for internet connection to work on the PC there is needed to disconnect mobile internet connection from the phone.

Meaning that PC can not connect to the internet using phone modem when the phone itself is using this modem for internet connection (Why I did not think about that any earlier????).

Now this solves the sim card install/reinstall problem. However, it would still be useful / more convinient to have some sort of rule in Profilematic to automatically disconnect mobile phone internet connection when the usb charging is connected.

I tried to apply "Power saving mode" rule, as this should also disconnect internet from the phone. However, this can not be used while charging. Any better ideas?
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#12
Code:
/sbin/stop xsession/icd2
sleep 1
/sbin/start xsession/icd2
should do the trick here
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 231 | Thanked: 143 times | Joined on Feb 2012 @ Tallinn, Estonia
#13
Thanks! These commands work perfectly if I enter them from the terminal and if I am root. Without root, they do not work.

I will continue tomorow and try to get root commands installed in Profilematic using following instructions: http://talk.maemo.org/showpost.php?p...&postcount=884
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 05:44.