Zum Inhalt springen

Fonera: Unterschied zwischen den Versionen

MovGP0 (Diskussion | Beiträge)
MovGP0 (Diskussion | Beiträge)
Zeile 249: Zeile 249:
=== /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/>Routing Ethernet and WLAN without encryption
; Example 0<nowiki>:</nowiki><br/>Routing Ethernet and WLAN without encryption
<pre>
<pre>
Zeile 268: Zeile 270:
   option encryption "none"      # no encryption
   option encryption "none"      # no encryption
</pre>
</pre>


; Example 1<nowiki>:</nowiki><br/>Bridging Ethernet and WLAN with WPA2-PSK-encryption
; Example 1<nowiki>:</nowiki><br/>Bridging Ethernet and WLAN with WPA2-PSK-encryption
Zeile 288: Zeile 291:
   option encyption psk2        # wpa2-psk
   option encyption psk2        # wpa2-psk
   option key      *********** # google 'wep key generator' to get a key
   option key      *********** # google 'wep key generator' to get a key
</pre>
; Example 2<nowiki>:</nowiki><br/>Configure an WDS
:WDS Access Point (WDS-AP)
<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    ath0              # 2nd interface is called "wifi0"
  option network  bridge            # which settings from /etc/config/network
  option mode      ap                # access point mode
  option ssid      'My Fonera'        # name of the WDS-AP
  option bssid    '00:xx:xx:xx:xx:xx' # MAC-Address of the WDS-AP
  option hidden    0                  # enables ssid broadcast
  option encyption psk2              # wpa2-psk
  option key      ***********        # google 'wep key generator' to get a key
</pre>
:WDS-Station (WDS-STA)
<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    ath0              # 2nd interface is called "wifi0"
  option network  bridge            # which settings from /etc/config/network
  option mode      ap                # access point mode
  option ssid      'My Fonera'        # name of the WDS-AP
  option bssid    '00:xx:xx:xx:xx:xx' # MAC-Address of the WDS-AP
  option hidden    0                  # enables ssid broadcast
  option encyption psk2              # wpa2-psk
  option key      ***********        # google 'wep key generator' to get a key
</pre>
</pre>