Changeset baaf929 in clfs-embedded for BOOK/beyond-clfs


Ignore:
Timestamp:
Sep 13, 2009, 5:12:03 AM (15 years ago)
Author:
Maarten Lankhorst <mlankhorst@…>
Branches:
master
Children:
fcb2663
Parents:
5c80a16
Message:

hostapd: Add sample config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/beyond-clfs/common/hostapd.xml

    r5c80a16 rbaaf929  
    3232<screen os="b"><userinput>
    3333cd hostapd; cat &gt; .config &lt;&lt; EOF
    34 # Support for nl80211 driver
     34<literal># Support for nl80211 driver
    3535CONFIG_DRIVER_NL80211=y
    3636# Use v2.0 of the netlink appi
     
    4949# code is not needed.
    5050CONFIG_NO_STDOUT_DEBUG=y
    51 EOF
    52 </userinput></screen>
     51EOF</literal></userinput></screen>
    5352
    5453    <para os="c">Compile the package:</para>
     
    6362
    6463<screen os="h"><userinput>make install-hostapd DESTDIR=${CLFS}</userinput></screen>
     64
     65    <para os="i">Create hostapd.conf, this example file will create a WPA2 encrypted
     66    host access point with the name dummy and password foobar123 on channel 4:</para>
     67
     68<screen os="j"><userinput>cat &gt; ${CLFS} &lt;&lt; EOF
     69<literal># Sample hostapd.conf
     70# See hostapd/hostapd.conf in your hostap source tree for a more detailed version
     71interface=wlan0
     72bridge=br0
     73ctrl_interface=/var/run/hostapd
     74ssid=<replaceable>dummy</replaceable>
     75#country_code=US
     76country_code=<replaceable>EU</replaceable>
     77hw_mode=g
     78channel=<replaceable>4</replaceable>
     79
     80# wpa=1 only allow WPA1
     81# wpa=2 allow WPA2 only
     82# wpa=3 allow WPA1 + WPA2
     83wpa=2
     84wpa_passphrase=<replaceable>foobar123</replaceable>
     85wpa_pairwise=TKIP CCMP
     86EOF</literal></userinput></screen>
    6587
    6688  </sect2>
Note: See TracChangeset for help on using the changeset viewer.