TS-4900 Wifi Access Point: Difference between revisions

From embeddedTS Manuals
(fixed misplaced note)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
<source lang=bash>
<source lang=bash>
apt-get update && apt-get install hostapd -y
apt-get update && apt-get install hostapd -y
</source>
</source><br>
{{Note|The install process will start an unconfigured hostapd process.  This process must be killed and restarted before the hostapd.conf will take effect.}}
 
{{Note|The install process will start an unconfigured hostapd process.  This process must be killed and restarted before a new hostapd.conf will take effect.}}


Edit /etc/hostapd/hostapd.conf to include the following lines:
Edit /etc/hostapd/hostapd.conf to include the following lines:
Line 12: Line 13:
channel=1
channel=1
</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 [https://wireless.wiki.kernel.org/en/users/documentation/hostapd kernel's hostapd documentation] for more wireless configuration options.}}





Latest revision as of 17:01, 8 January 2021

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

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


Note: The install process will start an unconfigured hostapd process. This process must be killed and restarted before a new hostapd.conf will take effect.

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.