TS-4900 Wifi Access Point: Difference between revisions

From embeddedTS Manuals
No edit summary
(Clarifications)
Line 1: Line 1:
First install hostapd to manage the access point:
First, hostapd needs to be installed in order to manage the access point on the device:
<source lang=bash>
<source lang=bash>
apt-get update && apt-get install hostapd -y
apt-get update && apt-get install hostapd -y
</source>
</source>


Edit /etc/hostapd/hostapd.conf to include:
Edit /etc/hostapd/hostapd.conf to include the following lines:
<pre>
<pre>
interface=wlan0
interface=wlan0
Line 12: Line 12:
</pre>
</pre>
{{Note|Refer to the [http://wireless.kernel.org/en/users/Documentation/hostapd kernel's hostapd documentation] for more wireless configuration options.}}
{{Note|Refer to the [http://wireless.kernel.org/en/users/Documentation/hostapd kernel's hostapd documentation] for more wireless configuration options.}}


To start the access point launch hostapd:
To start the access point launch hostapd:
Line 18: Line 19:
</source>
</source>


This will start up an access point that can be detected by WIFI clients.  A DHCP server will likely be desired to assign IP addresses..  Refer to [https://wiki.debian.org/DHCP_Server Debian's documentation for more details on DHCP configuration].
This will start up an access point that can be detected by WIFI clients.  A DHCP server will likely be desired to assign IP addresses.  Refer to [https://wiki.debian.org/DHCP_Server Debian's documentation for more details on DHCP configuration].

Revision as of 18:00, 14 February 2017

First, hostapd needs to be installed in order to manage the access point on the device:

apt-get update && apt-get install hostapd -y

Edit /etc/hostapd/hostapd.conf to include the following lines:

interface=wlan0
driver=nl80211
ssid=YourAPName
channel=1
Note: Refer to the kernel's hostapd documentation for more wireless configuration options.


To start the access point launch hostapd:

hostapd /etc/hostapd/hostapd.conf &

This will start up an access point that can be detected by WIFI clients. A DHCP server will likely be desired to assign IP addresses. Refer to Debian's documentation for more details on DHCP configuration.