Talk:Hostapd

Just now (18/5/2015), following this guide for hostapd 2.4-r2 on a fresh Gentoo installation, I found that hostapd has problems with trailing blanks or same line comments on lines in hostapd.conf that require strings.

For instance the line: hw_mode=g            # g simply means 2.4GHz band

from the example config gave the error "unsupported mode 'g            # g simply means 2.4GHz band' " on hostapd startup.

Also this caused the interface name not to be recognised and the SSID name to be rejected as invalid. Removing the inline comments (to be fair the sample config file installed from the package does only state that "lines *starting with* # are ignored") and trimming trailing blanks lead to a functioning config file and a happy hostapd.

Anyone else get this? — The preceding unsigned comment was added by Zedsquared (talk • contribs)


 * After 5 years, it is finally fixed :) --Madx (talk) 00:07, 2 March 2020 (UTC)