forked from tessel/t2-start
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request tessel#77 from HipsterBrown/ap-tut
Access Point & Webserver tutorials
- Loading branch information
Showing
15 changed files
with
384 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{% capture include_install %} | ||
{% include_relative ap.md %} | ||
{% endcapture %} | ||
{{ include_install | markdownify }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{::options parse_block_html="true" /} | ||
|
||
<div class="row"> | ||
<div class="large-12 columns"> | ||
# Making Tessel An Access Point | ||
</div> | ||
<div class="small-12 columns"> | ||
|
||
A typical WiFi setup consists of a couple of devices: a modem, which is connected by wire to the internet, and a wireless access point (also called a WAP or router), wired to the modem, which directs requests and responses between every device on the network. | ||
|
||
As explained in the [wifi tutorial](/wifi.html), Tessel 2 can easily connect to wifi networks using the command line tool. If your computer is connected to the same WAP as the Tessel, then the two devices can talk to each other. This is how we push code to Tessel over LAN (local area network). | ||
|
||
The connection setup looks about like this: | ||
|
||
</div> | ||
<div class="small-12 text-center columns"> | ||
 | ||
</div> | ||
<div class="small-12 columns"> | ||
This is fine and dandy if we want to use Tessel in a place where there's a modem and WAP already set up, but what happens when that's not possible? | ||
|
||
We can't access the Internet without a modem, but we can create a LAN connection between devices by turning Tessel 2 into a WAP. Devices on the network can all talk to each other, like this: | ||
|
||
</div> | ||
<div class="small-12 text-center columns"> | ||
 | ||
</div> | ||
<div class="small-12 columns"> | ||
This tutorial shows you to turn Tessel into a wireless access point, thus creating your own local network. | ||
</div> | ||
<hr> | ||
</div> | ||
|
||
|
||
<div class="row"> | ||
<div class="small-12 large-6 columns"> | ||
|
||
|
||
In the terminal, run the following command: | ||
|
||
`t2 ap -n MyTessel` | ||
|
||
This will make an open, or password-less, wifi network called MyTessel. | ||
|
||
Open the wifi setting of your computer, or a separate device like a smartphone or tablet, and scan for new devices to see and connect to this new network. | ||
</div> | ||
|
||
<div class="small-12 large-6 columns"> | ||
 | ||
</div> | ||
|
||
<div class="small-12 columns"> | ||
**Bonus:** Create an network that requires a password. (Hint: for information about making a secure network, take a look at [the cli docs](https://tessel.io/docs/cli#usage).) | ||
|
||
</div> | ||
</div> | ||
|
||
<div class="greyBar"></div> | ||
|
||
<div class="row"> | ||
<div class="large-6 columns left"> | ||
<a href="tweet.html" class="bottomButton button">Prev: Tweet</a> | ||
</div> | ||
|
||
<div class="large-6 columns right"> | ||
<a href="webserver.html" class= "bottomButton right button">Next: Build A Web Server</a> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{% capture include_install %} | ||
{% include_relative webserver.md %} | ||
{% endcapture %} | ||
{{ include_install | markdownify }} | ||
|
Oops, something went wrong.