hostapd events with multiple wlans

Michael Baird Michael.Baird at ecs.vuw.ac.nz
Sun Jan 28 12:35:29 PST 2018


Hi Ravi,
Thanks.

I am using one USB WiFi card (wlan1) with multiple SSIDs these both 
setup and run fine (except the event messages problem).


running hostapd_cli with the '-i wlan1' flag connects fine. but '-i 
wlan1_1' does not.


'ip link' output: - wlan0 is not used.

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
state UP mode DEFAULT group default qlen 1000
     link/ether b8:27:eb:c9:d1:43 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast 
state DOWN mode DEFAULT group default qlen 1000
     link/ether b8:27:eb:9c:84:16 brd ff:ff:ff:ff:ff:ff
4: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master 
br_200 state UP mode DEFAULT group default qlen 1000
     link/ether 02:f6:52:0f:e7:90 brd ff:ff:ff:ff:ff:ff
29: eth0.200 at eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
noqueue master br_200 state UP mode DEFAULT group default qlen 1000
     link/ether b8:27:eb:c9:d1:43 brd ff:ff:ff:ff:ff:ff
30: eth0.300 at eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
noqueue master br_300 state UP mode DEFAULT group default qlen 1000
     link/ether b8:27:eb:c9:d1:43 brd ff:ff:ff:ff:ff:ff
31: br_200: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UP mode DEFAULT group default qlen 1000
     link/ether 02:f6:52:0f:e7:90 brd ff:ff:ff:ff:ff:ff
32: br_300: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UP mode DEFAULT group default qlen 1000
     link/ether 02:f6:52:0f:e7:91 brd ff:ff:ff:ff:ff:ff
37: wlan1_1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master 
br_300 state UP mode DEFAULT group default qlen 1000
     link/ether 02:f6:52:0f:e7:91 brd ff:ff:ff:ff:ff:ff


On 27/01/18 09:27, ravi kant Aggarwal wrote:
> Hi Michael,
>
> Please use hostapd_cli with interface flag and interface name:
>
> For eg: hostapd_cli -i wlan1 (It will give all the details associated 
> with wlan1 interface)
> hostapd_cli -i wlan2 (It will give all the details associated with 
> wlan2 interface)
>
> You must have got two interfaces in this case. Please check with 
> Ifconfig, if you have interfaces
>
> -- 
> Thanks & Regards,
> Ravi Kant
> Cell: +919643408828
>
>




More information about the Hostap mailing list