starting hostapd fails — ACS: Unable to collect survey dataCannot get IP address from WiFi access point...

Why without the JSON.parse method, I can't sort the data in lightning-datatable?

Identifying an object pointer by generating and using a unique ID

General purpose replacement for enum with FlagsAttribute

Where is the encrypted mask value?

What's the Difference between Two Single-Quotes and One Double-Quote?

How did early x86 BIOS programmers manage to program full blown TUIs given very few bytes of ROM/EPROM?

When do characters level up?

How long does it take to crack RSA 1024 with a PC?

At what point in European history could a government build a printing press given a basic description?

Why is this Simple Puzzle impossible to solve?

Comment dirait-on « I was gonna say... » ?

Seed ship, unsexed person, cover has golden person attached to ship by umbilical cord

Is the first derivative operation on a signal a causal system?

What is the largest (size) solid object ever dropped from an airplane to impact the ground in freefall?

Canon 70D often overexposing or underexposing shots

Is there a down side to setting the sampling time of a SAR ADC as long as possible?

Ticket sales for Queen at the Live Aid

Under what law can the U.S. arrest International Criminal Court (ICC) judges over war crimes probe?

Dictionary size reduces upon increasing one element

Why doesn't the Earth's acceleration towards the Moon accumulate to push the Earth off its orbit?

Is healing by fire possible?

How do you say “buy” in the sense of “believe”?

Is CD audio quality good enough for the final delivery of music?

Apparent Ring of Craters on the Moon



starting hostapd fails — ACS: Unable to collect survey data


Cannot get IP address from WiFi access point (hostapd) with DHCP (dnsmasq) bridged with two ethernet adapters (bridge-utils)Debian network disappearingHostapd error nl80211: Could not configure driver modeHostapd and nl80211Hostapd on raspberrypi nl80211 errorCan't establish AP with hostapd on RPiSimultaneous wlan0 & wlan1 access points (via hostapd)How shoud my AP or network be configured?SSID of hostapd is not visibleHostapd doesn't work for one of my device






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







4















I'm on a jessie on an embedded device, trying to set the WLAN into AP mode. When I try



# /usr/sbin/hostapd -P /run/hostapd.wlan0.pid /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ACS: Automatic channel selection started, this may take a bit
wlan0: interface state UNINITIALIZED->ACS
wlan0: ACS-STARTED
ACS: Unable to collect survey data
ACS: All study options have failed
Interface initialization failed
wlan0: interface state ACS->DISABLED
wlan0: AP-DISABLED
ACS: Possibly channel configuration is invalid, please report this along with your config file.
ACS: Failed to start
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
wlan0: interface state DISABLED->DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started


My config file is:



# cat /etc/hostapd/hostapd.conf 
interface=wlan0
driver=nl80211
channel=acs
hw_mode=g
wmm_enabled=0
max_num_sta=1
ssid=foobarfoo


The error message can be found in a web search, but the solutions don't fit for me: I don't use ǹetwork-managerand thenl80211driver works on a different device (handmade buildroot system) andhostapdversion isv2.3(not the buggyv2.1`)



Any idea how to narrow the problem further?



Edit: With channel=1 it runs, so it's definately an acs problem, but what can I try to find out the root of the problem?










share|improve this question
















bumped to the homepage by Community 44 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Well, I (also had to?) set channel to something specific before it started to work. But then, I'd had problems with the driver (rtl...), dhcpd.conf errors etc. I found some hints reading /var/log/syslog and running dmesg. Also, sometimes it's good to enjoy it when it finally works, and not ask why ;)

    – Tomasz Gandor
    Sep 3 '17 at 19:51


















4















I'm on a jessie on an embedded device, trying to set the WLAN into AP mode. When I try



# /usr/sbin/hostapd -P /run/hostapd.wlan0.pid /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ACS: Automatic channel selection started, this may take a bit
wlan0: interface state UNINITIALIZED->ACS
wlan0: ACS-STARTED
ACS: Unable to collect survey data
ACS: All study options have failed
Interface initialization failed
wlan0: interface state ACS->DISABLED
wlan0: AP-DISABLED
ACS: Possibly channel configuration is invalid, please report this along with your config file.
ACS: Failed to start
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
wlan0: interface state DISABLED->DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started


My config file is:



# cat /etc/hostapd/hostapd.conf 
interface=wlan0
driver=nl80211
channel=acs
hw_mode=g
wmm_enabled=0
max_num_sta=1
ssid=foobarfoo


The error message can be found in a web search, but the solutions don't fit for me: I don't use ǹetwork-managerand thenl80211driver works on a different device (handmade buildroot system) andhostapdversion isv2.3(not the buggyv2.1`)



Any idea how to narrow the problem further?



Edit: With channel=1 it runs, so it's definately an acs problem, but what can I try to find out the root of the problem?










share|improve this question
















bumped to the homepage by Community 44 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Well, I (also had to?) set channel to something specific before it started to work. But then, I'd had problems with the driver (rtl...), dhcpd.conf errors etc. I found some hints reading /var/log/syslog and running dmesg. Also, sometimes it's good to enjoy it when it finally works, and not ask why ;)

    – Tomasz Gandor
    Sep 3 '17 at 19:51














4












4








4


2






I'm on a jessie on an embedded device, trying to set the WLAN into AP mode. When I try



# /usr/sbin/hostapd -P /run/hostapd.wlan0.pid /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ACS: Automatic channel selection started, this may take a bit
wlan0: interface state UNINITIALIZED->ACS
wlan0: ACS-STARTED
ACS: Unable to collect survey data
ACS: All study options have failed
Interface initialization failed
wlan0: interface state ACS->DISABLED
wlan0: AP-DISABLED
ACS: Possibly channel configuration is invalid, please report this along with your config file.
ACS: Failed to start
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
wlan0: interface state DISABLED->DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started


My config file is:



# cat /etc/hostapd/hostapd.conf 
interface=wlan0
driver=nl80211
channel=acs
hw_mode=g
wmm_enabled=0
max_num_sta=1
ssid=foobarfoo


The error message can be found in a web search, but the solutions don't fit for me: I don't use ǹetwork-managerand thenl80211driver works on a different device (handmade buildroot system) andhostapdversion isv2.3(not the buggyv2.1`)



Any idea how to narrow the problem further?



Edit: With channel=1 it runs, so it's definately an acs problem, but what can I try to find out the root of the problem?










share|improve this question
















I'm on a jessie on an embedded device, trying to set the WLAN into AP mode. When I try



# /usr/sbin/hostapd -P /run/hostapd.wlan0.pid /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ACS: Automatic channel selection started, this may take a bit
wlan0: interface state UNINITIALIZED->ACS
wlan0: ACS-STARTED
ACS: Unable to collect survey data
ACS: All study options have failed
Interface initialization failed
wlan0: interface state ACS->DISABLED
wlan0: AP-DISABLED
ACS: Possibly channel configuration is invalid, please report this along with your config file.
ACS: Failed to start
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
wlan0: interface state DISABLED->DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started


My config file is:



# cat /etc/hostapd/hostapd.conf 
interface=wlan0
driver=nl80211
channel=acs
hw_mode=g
wmm_enabled=0
max_num_sta=1
ssid=foobarfoo


The error message can be found in a web search, but the solutions don't fit for me: I don't use ǹetwork-managerand thenl80211driver works on a different device (handmade buildroot system) andhostapdversion isv2.3(not the buggyv2.1`)



Any idea how to narrow the problem further?



Edit: With channel=1 it runs, so it's definately an acs problem, but what can I try to find out the root of the problem?







debian wlan hostapd access-point






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 10 '17 at 9:12







Philippos

















asked Mar 9 '17 at 17:34









PhilipposPhilippos

6,42811951




6,42811951





bumped to the homepage by Community 44 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 44 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Well, I (also had to?) set channel to something specific before it started to work. But then, I'd had problems with the driver (rtl...), dhcpd.conf errors etc. I found some hints reading /var/log/syslog and running dmesg. Also, sometimes it's good to enjoy it when it finally works, and not ask why ;)

    – Tomasz Gandor
    Sep 3 '17 at 19:51



















  • Well, I (also had to?) set channel to something specific before it started to work. But then, I'd had problems with the driver (rtl...), dhcpd.conf errors etc. I found some hints reading /var/log/syslog and running dmesg. Also, sometimes it's good to enjoy it when it finally works, and not ask why ;)

    – Tomasz Gandor
    Sep 3 '17 at 19:51

















Well, I (also had to?) set channel to something specific before it started to work. But then, I'd had problems with the driver (rtl...), dhcpd.conf errors etc. I found some hints reading /var/log/syslog and running dmesg. Also, sometimes it's good to enjoy it when it finally works, and not ask why ;)

– Tomasz Gandor
Sep 3 '17 at 19:51





Well, I (also had to?) set channel to something specific before it started to work. But then, I'd had problems with the driver (rtl...), dhcpd.conf errors etc. I found some hints reading /var/log/syslog and running dmesg. Also, sometimes it's good to enjoy it when it finally works, and not ask why ;)

– Tomasz Gandor
Sep 3 '17 at 19:51










1 Answer
1






active

oldest

votes


















0














Try "channel=0" in your config






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f350333%2fstarting-hostapd-fails-acs-unable-to-collect-survey-data%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Try "channel=0" in your config






    share|improve this answer




























      0














      Try "channel=0" in your config






      share|improve this answer


























        0












        0








        0







        Try "channel=0" in your config






        share|improve this answer













        Try "channel=0" in your config







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 7 '18 at 0:21









        Zach LakeZach Lake

        1




        1






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f350333%2fstarting-hostapd-fails-acs-unable-to-collect-survey-data%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...