linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian Lamparter <chunkeey@googlemail.com>
To: Beat Meier <mbe_ml@swiss-wireless.com.ar>
Cc: Linux Wireless List <linux-wireless@vger.kernel.org>
Subject: Re: How can I find out the ssid of an inteface in AP mode?
Date: Thu, 14 Feb 2013 20:53:57 +0100	[thread overview]
Message-ID: <201302142053.57519.chunkeey@googlemail.com> (raw)
In-Reply-To: <511D3AA4.7000209@swiss-wireless.com.ar>

On Thursday, February 14, 2013 08:27:32 PM Beat Meier wrote:
> Hello
> 
> How can I find out the ssid of an inteface in AP mode (using hostapd)?
start up hostapd_cli 

(usually it connects to the right wlanX interface, otherwise
execute interface wlanX)

get_config

(And then look for ssid=xyz)

> I have several hostapd files and dependend on several stuff I start 
> hostap with different config files. One difference is the ssid and
> at runtime I need to know which is active  with some scripts.
>
> I have still not found how to get this information if the interface is 
> in AP mode because
>    iw dev wlan0 link
> does not work in AP mode...
> In my opinion this could be implemented in
>    iw dev wlan0 survey dump
> which also prints the frecuency IF REALY not already implemented...
> 
> No one does need this feature?
No, the kernel does not manage AP interfaces. Everything 
is done by hostapd (the userspace daemon).

Regards,
	Christian 

  reply	other threads:[~2013-02-14 19:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14 19:27 How can I find out the ssid of an inteface in AP mode? Beat Meier
2013-02-14 19:53 ` Christian Lamparter [this message]
2013-02-18 13:17   ` Beat Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201302142053.57519.chunkeey@googlemail.com \
    --to=chunkeey@googlemail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mbe_ml@swiss-wireless.com.ar \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).