-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adhoc network support #845
base: master
Are you sure you want to change the base?
Conversation
Testing.
Comments
Wifi help output: -n SSID, --ssid SSID Set the SSID of the network to connect to
-p PASSWORD, --password PASSWORD Set the password of the network to connect to Adhoc help output: -n, --ssid Name of the network.
-p, --password Password to access network. Overall, functions as expected except for needing to turn Wifi off first |
Re mapping IP addresses, I guess you could run |
I've updated this PR with the ability to set an IP address for both
I still need to add validation checks to
We can definitely expound upon this in the CLI documentation. From my current understanding, adhoc networking can be compared to mesh communication in that devices don't need a centralized middleware device (like an access point) to communicate but with less control over device communication than mesh. There is a more detailed explanation here -> http://superuser.com/questions/481145/what-is-the-difference-between-ad-hoc-and-mesh-network-also-with-p2p#481367 |
Hi @Frijol @HipsterBrown ! How should we go about this? |
@HipsterBrown re @arushi019's comment above, where are we in this PR? What would you recommend as next steps? |
@Frijol @arushi019 I think we can start by pulling the flag for setting ip of the |
This build adds an
adhoc
command, which acts as an alias forap
because theadhoc
mode uses the samewifi-face
and changes themode
property to "adhoc".After installing this branch, run
t2 adhoc --help
to get more information about using the command.To test the command:
Works best with 2 Tessels running an adhoc network. Instructions will be the same for both Tessels.
t2 adhoc --ssid TestAdHoc --name <name of one tessel>
t2 adhoc --ssid TestAdHoc --name <name of other tessel>
You can make sure the adhoc connection works using
ssh
orscreen
to access one of the Tessel terminals and runningping 192.168.1.101
and see successful data returns. 192.168.1.101 is the static IP address of the Tessellan
network.