Fonera: Unterschied zwischen den Versionen
MovGP0 (Diskussion | Beiträge) |
MovGP0 (Diskussion | Beiträge) |
||
Zeile 231: | Zeile 231: | ||
=== /etc/config/wireless === | === /etc/config/wireless === | ||
See [http://downloads.openwrt.org/kamikaze/docs/openwrt.html#x1-110001.2.2 OpenWRT Kamikaze Manual] for setting up basic wireless network configuration | See [http://downloads.openwrt.org/kamikaze/docs/openwrt.html#x1-110001.2.2 OpenWRT Kamikaze Manual] for setting up basic wireless network configuration | ||
; Example 0<nowiki>:</nowiki><br/>Bridging Ethernet and WLAN | ; Example 0<nowiki>:</nowiki><br/>Routing Ethernet and WLAN without encryption | ||
<pre> | |||
config wifi-device wifi0 | |||
option type atheros | |||
option channel 11 # select best channel between 1 and 11 | |||
option country at # austria | |||
option disabled 0 # wlan enabled | |||
# you can also use the reset button to enable/disable | |||
option agmode 11bg # 802.11bg | |||
option distance 20 # maximum wlan reach in meters | |||
config wifi-iface | |||
option device wifi0 # 2nd interface is called "ath0" | |||
option network bridge # which settings from /etc/config/network | |||
option mode ap # access point mode | |||
option ssid "My Fonera" # name of the router | |||
option hidden 0 # ssid broadcast | |||
option encryption "none" # no encryption | |||
</pre> | |||
; Example 1<nowiki>:</nowiki><br/>Bridging Ethernet and WLAN with WPA2-PSK-encryption | |||
<pre> | <pre> | ||
config wifi-device wifi0 | config wifi-device wifi0 | ||
Zeile 251: | Zeile 271: | ||
option key *********** # google 'wep key generator' to get a key | option key *********** # google 'wep key generator' to get a key | ||
</pre> | </pre> | ||
''Note:'' for WPA2-Encryption you must install hostapd first (<code>ipkg install hostapd</code>) | |||
== INSTALLING PACKAGES == | == INSTALLING PACKAGES == |