PjV
Posts: 14
Joined: Tue Dec 13, 2016 5:39 pm

Error in Access Point docs?

Tue Apr 11, 2017 11:02 am

Hi,

I followed the docs at: https://www.raspberrypi.org/documentati ... s-point.md to create an access point and share DHCP addresses obtained via eth0 (the 2nd part of the page).
The docs look to be missing that the hostapd process needs to be started after a reboot; I have to add

Code: Select all

pre-up hostapd /etc/hostapd/hostapd.conf -B
to the br0 section of the /etc/network/interfaces file.
Can someone verify?

Thanks,

Peter

User avatar
DougieLawson
Posts: 40821
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Error in Access Point docs?

Tue Apr 11, 2017 12:42 pm

You shouldn't need that. There should be a systemd service file to get hostapd running (as long as you update /etc/default/hostapd to activate your profile)

sudo systemctl enable hostapd
sudo systemctl start hostapd
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

PjV
Posts: 14
Joined: Tue Dec 13, 2016 5:39 pm

Re: Error in Access Point docs?

Tue Apr 11, 2017 6:05 pm

Yes, you are right. It is not necessary, if you add steps from the first section.
(The second section doesn't mention updating /etc/default/hostapd )

Thanks!

User avatar
DougieLawson
Posts: 40821
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Error in Access Point docs?

Tue Apr 11, 2017 6:15 pm

PjV wrote:Yes, you are right. It is not necessary, if you add steps from the first section.
(The second section doesn't mention updating /etc/default/hostapd )

Thanks!
Doing step one as the pre-requisite to step two is assumed, but may not be best explained.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Return to “Troubleshooting”