Changeset 24985


Ignore:
Timestamp:
2011-01-14T11:52:54+01:00 (7 years ago)
Author:
nbd
Message:

hostapd: Create one control interface per virtual bssid

Previously hostapd created one control interface /var/run/hostapd-phyX
which only contained the first virtual bssid (for example wlan0). In
order to access the other virtual bssids with hostapd_cli add all
virtual bssids to /var/run/hostapd-phyX by specifying the ctrl_interface
parameter per bssid.

Previously the control interface looked like:

/var/run/hostapd-phyX/wlan0

Now, the control interface looks like this:

/var/run/hostapd-phyX/wlan0
/var/run/hostapd-phyX/wlan1
...

Signed-off-by: Helmut Schaa <helmut.schaa@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/hostapd/files/hostapd.sh

    r24724 r24985  
    1010        config_get device "$vif" device 
    1111        config_get hwmode "$device" hwmode 
     12        config_get phy "$device" phy 
     13 
     14        append "$var" "ctrl_interface=/var/run/hostapd-$phy" "$N" 
    1215 
    1316        if [ "$ap_isolate" -gt 0 ]; then 
     
    185188        [ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device" 
    186189        cat > /var/run/hostapd-$ifname.conf <<EOF 
    187 ctrl_interface=/var/run/hostapd-$ifname 
    188190driver=$driver 
    189191interface=$ifname 
Note: See TracChangeset for help on using the changeset viewer.