Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Networks and Servers using Beaglebone

You're reading from   Building Networks and Servers using Beaglebone Set up and configure a local area network and file server by building your own home-based multimedia server

Arrow left icon
Product type Paperback
Published in May 2015
Publisher
ISBN-13 9781784390204
Length 110 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
William Pretty William Pretty
Author Profile Icon William Pretty
William Pretty
Glenn Vander Veer Glenn Vander Veer
Author Profile Icon Glenn Vander Veer
Glenn Vander Veer
Arrow right icon
View More author details
Toc

Installing hostapd

The first thing that we have to do is to make sure that we have the latest version of hostapd, and we can do this with the following commands:

apt-get update
apt-get install hostapd
Installing hostapd

As you can see in the previous screenshot, we have the latest version installed.

Now that we know we have the latest version installed, it is time to edit the /etc/default/hostapd configuration file, as follows:

nano /etc/default/hostapd

We need to add the following line to the file:

DAEMON_CONF="/etc/hostapd/hostapd.conf"

This is how your hostapd file should look:

# Defaults for hostapd initscript
#
# See /usr/share/doc/hostapd/README.Debian for information about alternative
# methods of managing hostapd.
#
# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
# file and hostapd will be started during system boot. An example configuration
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
#
DAEMON_CONF="/etc/hostapd/hostapd.conf&quot...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image