From Gentoo Wiki
Jump to:navigation Jump to:search
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 12:40, 22 June 2024 (UTC)
:: Your reply ~~~~

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)