Talk:Hostapd

From Gentoo Wiki
Jump to: navigation, search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

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 (talkcontribs)


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