TS-4900 Wifi Access Point: Difference between revisions
From embeddedTS Manuals
(Clarifications) |
(Added a note about killing/restarting hostapd after install.) |
||
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 | ||
{{Note|The install process will start an unconfigured hostapd process. This process must be killed and restarted before the hostapd.conf will take effect.}} | |||
</source> | </source> | ||
Revision as of 10:22, 4 May 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
{{Note|The install process will start an unconfigured hostapd process. This process must be killed and restarted before the 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.