Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Mobile
User Name
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site:


  Search this Thread
Old 07-03-2017, 04:53 AM   #1
LQ Newbie
Registered: Jul 2017
Posts: 1

Rep: Reputation: Disabled
wifi wps support on Hotspot settings

Hi all,

Android version: Android6
Kernel Version : 3.14.52 (Linux localhost 3.14.52 #25 SMP PREEMPT Thu Jun 1 16:40:05 +0530 2017 armv7l)
Wi-Fi Chip : WL1831
Host processor : X86 linux os(ubuntu 12.04 LTS)
Target Board : IMX6Q sabresd Android Board

I always got error. When i execute hostapd command. I was changed everything in my hostapd.conf file but i got error.
hostapd_cli wps_pbc Failed to connect to hostapd - wpa_ctrl_open: No such file or directory

root@sabresd_6dq:/system/etc/wifi # hostapd_cli
hostapd_cli v2.5-devel-6.0.1 Copyright (c) 2004-2015, Jouni Malinen and contributors

This software may be distributed under the terms of the BSD license. See README for more details.

Could not connect to hostapd - re-trying

How to fix this.?

Old 08-03-2017, 08:02 AM   #2
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Hello VinothS & Welcome to LQ! Sorry that your post didn't receive a reply.
It might be because it's Android: there's a 'sibling' here; maybe try that!
(different than; I see you tried other sites, without any replys)

I tried searching the error and found a few things, but, since I don't know Android, Idk if relevant.
Solved it. The command does work, as long as /etc/hostapd/hostapd.conf includes:
ctrl_interface_group=0 & etc

Maybe you could attach (or post, using CODE tags!) your .conf (at other forums also). Maybe other info but Idk. Best wishes.
Old 08-11-2017, 02:53 AM   #3
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
Try putting this:
in /etc/hostapd/hostapd.conf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to share my wifi by creating a wifi hotspot ( While staying connected to wifi)? shadyXV Linux - Desktop 4 07-20-2015 06:37 PM
Wifi hotspot using wifi connection in ubuntu 14.10, rssr25 Linux - Newbie 5 03-31-2015 10:50 AM
WiFi can't switch the connection to wifi hotspot when already connect to an AP pologuy Linux - Wireless Networking 2 08-02-2011 04:05 AM
wifi works:how to connect to hotspot,with console?alternative to wifi-wiz assistant? frenchn00b Debian 7 10-30-2009 01:31 PM > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration