Talk:Hostapd

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they 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)