Changeset 893


Ignore:
Timestamp:
Dec 31, 2016, 12:05:23 PM (7 months ago)
Author:
amain
Message:

debwrt-net: tag 0.8~debwrtSTRETCH+1

Location:
trunk/debian/packages/debwrt-net/tags/0.8~debwrtSTRETCH+1
Files:
1 added
1 deleted
2 edited
12 copied

Legend:

Unmodified
Added
Removed
  • trunk/debian/packages/debwrt-net/tags/0.8~debwrtSTRETCH+1/debian/changelog

    r885 r893  
     1debwrt-net (0.8~debwrtSTRETCH+1) stretch-debwrt-unstable; urgency=medium
     2
     3  * Add multi bssid / vap example to hostapd-wpa.conf
     4
     5 -- Johan van Zoomeren <amain@debwrt.net>  Sat, 31 Dec 2016 11:57:17 +0100
     6
    17debwrt-net (0.7~debwrtSTRETCH+7) stretch-debwrt-unstable; urgency=medium
    28
  • trunk/debian/packages/debwrt-net/tags/0.8~debwrtSTRETCH+1/etc/hostapd/hostapd-wpa.conf

    r781 r893  
    6262wpa_passphrase=debwrtdebwrt
    6363
     64
     65# Multiple SSID: Start
     66# URL: http://wiki.stocksy.co.uk/wiki/Multiple_SSIDs_with_hostapd
     67# 1. Get original mac (for example: f4:ec:38:dd:9a:fe)
     68# 2. Set first 2 hex to 02: = 'locally administered' (02:ec:38:dd:9a:fe)
     69# 3. Set last  2 hex to 00: Room for BSSIDs for each BSS (02:ec:38:dd:9a:00)
     70# 4. Either set the bssid=02:ec:38:dd:9a:00 below, or
     71# 5. Set it in /etc/network/interfaces (probably easier)
     72#    (ip link set dev wifi address 02:ec:38:dd:9a:00)
     73#
     74# Watch out for following debug output, in case things don't work:
     75# - BSS count 3, BSSID mask ff:ff:ff:ff:ff:fc (2 bits)
     76# - Invalid BSSID mask ff:ff:ff:ff:ff:fc for start address f4:ec:38:dd:9a:fe.
     77# - Start address must be the first address in the block (i.e., addr AND mask === addr).
     78#
     79# When setting bssid= below, make sure to set wifi from auto to
     80# allow-hotplug in /etc/network/interfaces and start hostapd manually.
     81#bssid=02:ec:38:dd:9a:00
     82
     83# vap 2
     84#bss=wifi_2
     85#ssid=DebWrt-Guest
     86#wpa=2
     87#wpa_pairwise=CCMP
     88#wpa_passphrase=debwrtguest1
     89
     90# vap 3
     91#bss=wifi_3
     92#ssid=DebWrt-Local
     93#wpa=2
     94#wpa_pairwise=CCMP
     95#wpa_passphrase=debwrtlocal1
     96
     97# ...
     98
     99# Multiple SSID: End
     100
     101
    64102ignore_broadcast_ssid=0
    65103ctrl_interface=/var/run/hostapd
  • trunk/debian/packages/debwrt-net/tags/0.8~debwrtSTRETCH+1/etc/network/interfaces.ar71xx

    r781 r893  
    117117iface wifi inet manual
    118118    hostapd   /etc/hostapd/hostapd-wpa.conf
     119    #pre-up    /sbin/ip link set dev wifi address 02:ec:38:dd:9a:00
    119120    pre-up    /sbin/ip link set dev wifi up
    120121    #pre-up /usr/sbin/iw reg set BO           # set channel and power options
Note: See TracChangeset for help on using the changeset viewer.