4

Error Message

Configuration file: start
Could not open configuration file 'start' for reading.
Failed to set up interface with start
Failed to initialize interface

My Hostapd.conf file

interface=wlan0
driver=nl80211
ssid=wifigto
channel=1
hw_mode=g
auth_algs=1
wpa=3
wpa_passphrase=alik060297
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP

Ubuntu 14.04 please help

Alik
  • 41

3 Answers3

6

old but might help someone else:

open /etc/default/hostapd

uncomment #DAEMON_CONF=""

now add the path to config file; it should look like:

DAEMON_CONF="/etc/hostapd/hostapd.conf"
bitdruid
  • 91
  • 1
  • 4
1

In my case, the error was very similar but slightly different: it was pointing to the correct /ect/hostapd/hostapd.conf location where I expected the conf to be placed.

Even in the output of ls /etc/hostapd I just realized "yes the file is present". I didn't doublecheck each letter of the filename.

It was a typo. I named the file "hostapt.conf" by mistake, and didn't realize that. All other references were pointing to "hostapd.conf"

To avoid such typos, it's always good to check first what's the name of an application. "hostapd" means Host Access Point Demon

Unfortunately hostapd does not tell you that the file is not present - it just tells you it can't read' the file.

1

Looks like you have the parameters in the command you are running wrong as its looking for a config file called "start".

Try replacing the "start" part of the command your running with the absolute path to the config file, for example

sudo hostapd /etc/hostapd/hostapd.conf

Also be aware of the case of the file name, you said Hostapd.conf but its hostapd.conf by default.

Alternatively you could run it the normal way

sudo service hostapd start
matt
  • 311