ishi-anjum / iphone-wireless

Automatically exported from code.google.com/p/iphone-wireless
0 stars 0 forks source link

Command Line/Ad-Hoc Features #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I cannot find a way to initiate an ad-hoc network from the iphone.  The
iphone can join pre-existing ad-hoc networks, but can't seem to create one.

Usage example:  Two iphones next to each other, no pre-existing wireless
networks.  Initiating an ad-hoc network is necessary to establish network
connectivity between them.

I believe the "airport" command line utility has the capability to do this
in the "big" Apple80211 framework, but I am not that experienced with it.

This functionality would be useful both in a gui (such as the existing
stumbler app), and the command line.

On a separate note, all utilities provided by this code base would be very
useful from a command line app so that they can be controlled (and
scripted) from an ssh session.

Thanks for the awesome work so far!

-Clay

Original issue reported on code.google.com by cws...@gmail.com on 27 May 2008 at 10:05

GoogleCodeExporter commented 8 years ago
I'm searching for the exakt same funcionality. With the airport utility on the 
"big" mac the command is airport -i

Original comment by kyr...@gmail.com on 31 May 2008 at 10:48

GoogleCodeExporter commented 8 years ago
Is there any chance that i can use Stumbler from the command line?  

Original comment by fedoal...@gmail.com on 3 Jul 2008 at 10:37

GoogleCodeExporter commented 8 years ago
I can't get this to work either. Apple80211Associate returns 6 when you try to
initiate an ad hoc network rather than connect to an existing one. And the same 
code
can create an ad hoc network fine on OS X. Is it possible the iphone's wireless
driver has ad hoc creation disabled?

Original comment by indieki...@gmail.com on 10 Aug 2008 at 1:26

GoogleCodeExporter commented 8 years ago
Have there been any updates/solutions to this problem as of yet? I'm currently
attempting to find a wireless-tool equivalent for the iPhone cli.

Original comment by JGrunzw...@gmail.com on 6 Jan 2009 at 10:21

GoogleCodeExporter commented 8 years ago
Is the Marvell 88W8686 chip even capable of creating an ad hoc network?

Original comment by kou...@gmail.com on 3 Jun 2009 at 4:26

GoogleCodeExporter commented 8 years ago
This is now done by mywifi (where the phone acts as an AP).  Any ideas on how 
it does it?

Thanks!

Original comment by cws...@gmail.com on 18 Oct 2010 at 8:49

GoogleCodeExporter commented 8 years ago
I suspect it just performs system calls, in the same way the airport command 
line tool on OS X does.  This is, of course, impossible in anything but a 
jailbroken environment.

Original comment by au.id.ty...@gmail.com on 18 Oct 2010 at 11:30