TS-4900 Wifi Access Point: Difference between revisions
From embeddedTS Manuals
(Added a note about killing/restarting hostapd after install.) |
No edit summary |
||
(3 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 | ||
{{Note|The install process will start an unconfigured hostapd process. This process must be killed and restarted before | </source><br> | ||
{{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 [ | {{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.