All of lore.kernel.org
 help / color / mirror / Atom feed
* How can I find out the ssid of an inteface in AP mode?
@ 2013-02-14 19:27 Beat Meier
  2013-02-14 19:53 ` Christian Lamparter
  0 siblings, 1 reply; 3+ messages in thread
From: Beat Meier @ 2013-02-14 19:27 UTC (permalink / raw)
  To: Linux Wireless List

Hello

How can I find out the ssid of an inteface in AP mode (using hostapd)?

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?

Greetings

Beat

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How can I find out the ssid of an inteface in AP mode?
  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
  2013-02-18 13:17   ` Beat Meier
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Lamparter @ 2013-02-14 19:53 UTC (permalink / raw)
  To: Beat Meier; +Cc: Linux Wireless List

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How can I find out the ssid of an inteface in AP mode?
  2013-02-14 19:53 ` Christian Lamparter
@ 2013-02-18 13:17   ` Beat Meier
  0 siblings, 0 replies; 3+ messages in thread
From: Beat Meier @ 2013-02-18 13:17 UTC (permalink / raw)
  To: Linux Wireless List

On 02/14/2013 04:53 PM, Christian Lamparter wrote:
> 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)
Ah ok, thanks a lot Christian! This points me to te right way. My 
hostapd on voyage is outdated...
In version 0.7.3 this is not implemented... So I will updated as soon as 
possible.
Thanks again!

Beat

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-18 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2013-02-18 13:17   ` Beat Meier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.