TS-4900 Wifi Access Point: Difference between revisions
From embeddedTS Manuals
mNo edit summary |
mNo edit summary |
||
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 | {{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: |
Revision as of 11: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 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.