wangxiaoxiang / mobileterminal

Automatically exported from code.google.com/p/mobileterminal
0 stars 1 forks source link

Run in Background on iOS4 #232

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Can I please request if MobileTerminal has the ability to be run in the 
background. On iOS4 make use of the multitasking feature.

I am trying to run tcpdump on the 3G interface to trouble shoot why it's 
dropping a PDP connection once authentication on a customer APN.  I am unable 
to capture this as I setup the trace and go to activate the data session 
Mobileterminal is closed.
If I do it the other way around, setup the data connection to a private APN, 
the connection is torn down before I can get mobileterminal running.

Original issue reported on code.google.com by jaid...@gmail.com on 9 Dec 2010 at 10:17

GoogleCodeExporter commented 8 years ago
A workaround would be to install Backgrounder and enable MT to be backgrounded 
seperately.
Not nice, but at least something untill the fix is commited

Original comment by dave.sto...@gmail.com on 9 Dec 2010 at 10:25

GoogleCodeExporter commented 8 years ago
Another workaround in the mean time would be to use screen.

Original comment by allen.po...@gmail.com on 19 Dec 2010 at 6:34

GoogleCodeExporter commented 8 years ago
You are missing the point here, really.

Just copy the attached file in /System/Library/LaunchDaemons/, chmod it to 
0644, chown it to 0:0 and "launchctl start tcpdump".  Unless you feel like 
rebooting, you may need to "launchctl load tcpdump" before starting the service.

And don't tell anyone I told you. :)

Original comment by dbo...@gmail.com on 22 Dec 2010 at 9:21

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by allen.po...@gmail.com on 15 Jan 2011 at 11:19

GoogleCodeExporter commented 8 years ago
For some reason it stays active with a quite old build I got from Saurik.
It's his 3.x build with a hacked up iOS 4 support.

However, processes which are backgrounded by the OS itself often get eaten by 
the garbage collector.
You better don't rely to it

Original comment by dave.sto...@gmail.com on 20 Jan 2011 at 1:05

GoogleCodeExporter commented 8 years ago
Issue 274 has been merged into this issue.

Original comment by allen.po...@gmail.com on 2 Apr 2011 at 9:19

GoogleCodeExporter commented 8 years ago
What does the tcdump file do? How does it work?

Original comment by owen.h.b...@gmail.com on 26 Jun 2012 at 7:41

GoogleCodeExporter commented 8 years ago
I don't see what exactly this has to do with this issue.

Original comment by dave.sto...@gmail.com on 26 Jun 2012 at 9:48