Ts47xx hostapd

From embeddedTS Manuals
Revision as of 01:32, 18 January 2021 by Lionel (talk | contribs) (FTP links auto-updated (https://wiki.linaro.org/WorkingGroups/Kernel/Projects/FlashCardSurvey →‎ https://web.archive.org/web/20181027222214/https://wiki.linaro.org/WorkingGroups/KernelArchived/Projects/FlashCardSurvey))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The software image includes a build of compat-drivers from 3.8 so a large amount of wireless devices are supported. Some devices support AP/Master mode which can be used to host an access point. The WIFI-N-USB-2 module we provide also supports this mode.

First install hostapd to manage the access point:

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

Edit /etc/hostapd/hostapd.conf to include:

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 create a valid wireless access point, however many devices will not be able to connect without either a static connection, or a DHCP server. Refer to Debian's documentation for more details on DHCP configuration.