LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


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

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.?

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

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
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' AndroidQuestions.org here; maybe try that!
(different than AndroidForums.com; 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.
https://www.raspberrypi.org/forums/v...p?f=36&t=63045
Quote:
Solved it. The command does work, as long as /etc/hostapd/hostapd.conf includes:
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
https://dev.openwrt.org/ticket/9597 & https://translate.google.com/transla...hp%3Fid%3D8762 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, 01:53 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Try putting this:
Code:
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
in /etc/hostapd/hostapd.conf
 
  


Reply



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 05:37 PM
Wifi hotspot using wifi connection in ubuntu 14.10, rssr25 Linux - Newbie 5 03-31-2015 09: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 03:05 AM
wifi works:how to connect to hotspot,with console?alternative to wifi-wiz assistant? frenchn00b Debian 7 10-30-2009 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 04:53 AM.

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