Changeset baaf929 in clfs-embedded
- Timestamp:
- Sep 13, 2009, 5:12:03 AM (15 years ago)
- Branches:
- master
- Children:
- fcb2663
- Parents:
- 5c80a16
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/beyond-clfs/common/hostapd.xml
r5c80a16 rbaaf929 32 32 <screen os="b"><userinput> 33 33 cd hostapd; cat > .config << EOF 34 # Support for nl80211 driver34 <literal># Support for nl80211 driver 35 35 CONFIG_DRIVER_NL80211=y 36 36 # Use v2.0 of the netlink appi … … 49 49 # code is not needed. 50 50 CONFIG_NO_STDOUT_DEBUG=y 51 EOF 52 </userinput></screen> 51 EOF</literal></userinput></screen> 53 52 54 53 <para os="c">Compile the package:</para> … … 63 62 64 63 <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 > ${CLFS} << EOF 69 <literal># Sample hostapd.conf 70 # See hostapd/hostapd.conf in your hostap source tree for a more detailed version 71 interface=wlan0 72 bridge=br0 73 ctrl_interface=/var/run/hostapd 74 ssid=<replaceable>dummy</replaceable> 75 #country_code=US 76 country_code=<replaceable>EU</replaceable> 77 hw_mode=g 78 channel=<replaceable>4</replaceable> 79 80 # wpa=1 only allow WPA1 81 # wpa=2 allow WPA2 only 82 # wpa=3 allow WPA1 + WPA2 83 wpa=2 84 wpa_passphrase=<replaceable>foobar123</replaceable> 85 wpa_pairwise=TKIP CCMP 86 EOF</literal></userinput></screen> 65 87 66 88 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.