nkubenov / iphonetunnel-usbmuxconnectbyport

Automatically exported from code.google.com/p/iphonetunnel-usbmuxconnectbyport
0 stars 0 forks source link

cannot enter device ID to start two parallel i-tunnel instances - get bad useage message #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Entering any of the following, is treated as bad usage, even though the usage 
itself statetes it's valid

./itnl --iport 5900 --lport 9900 dheh23rou2hfkwjnf209updjwldnhsie84kf9d0s
./itnl 5900 9900 dheh23rou2hfkwjnf209updjwldnhsie84kf9d0s
./itnl iphone-tunnel --tunnel --iport 5900 --lport 9900 
dheh23rou2hfkwjnf209updjwldnhsie84kf9d0s

What is the expected output? What do you see instead?
I expect an ssh tunnel session to open with a specific device - the one 
identified by the 40 digit device id. I also expect to be able to connect to 2 
devices using this technique, as long as the --lport is different for each 
instance

What version of the product are you using? On what operating system?
I am using itnl_rev8. I am connecting an iPad to MacBookPro Lion (10.7.5) and 
also connecting iPhone to the same MacBook Pro simultaneously.
Connecting just one device works beautifully, but there doesn't seem to be a 
way to connect 2 or more devices.

I looked at the code, and the if-elseif-else chunk of code does not seem be 
capable of processing a device id, even though the script usage sates the 
device id can be passed in as an argument.

Please help!!!!

Please provide any additional information below.

Original issue reported on code.google.com by el...@rapsphere.com on 17 Oct 2012 at 10:30

GoogleCodeExporter commented 8 years ago
Hi: 

I can't make this work in anyway!

./itnl --iport 5900 --lport 9900 dheh23rou2hfkwjnf209updjwldnhsie84kf9d0s
./itnl 5900 9900 dheh23rou2hfkwjnf209updjwldnhsie84kf9d0s
./itnl iphone-tunnel --tunnel --iport 5900 --lport 9900 
dheh23rou2hfkwjnf209updjwldnhsie84kf9d0s

none of those statements works in anyway... always same output .. 

any help welcomed

Original comment by alvaro.g...@gmail.com on 21 Nov 2012 at 11:14