All pastes #637543 Raw Edit

Meins

public text v1 · immutable
#637543 ·published 2007-07-28 23:39 UTC
rendered paste body
= WDS Modus (mit WPA und WPA2) =

== WDS AP ==

hostapd Paket installieren
{{{
ipkg install hostapd
}}}

/etc/config/network
{{{
# Copyright (C) 2006 OpenWrt.org

config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0

config interface lan
        option ifname   'eth0 eth1 eth2'
        option type     bridge
        option proto    static
        option ipaddr   '192.168.178.3'
        option netmask  255.255.255.0
        option gateway  '192.168.178.1'
        option dns      '192.168.178.1'
}}}

/etc/config/wireless
{{{
config wifi-device  wifi0
        option type     atheros
        option channel  5

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     'ap'
        option ssid     OpenWrt
        option encryption       'psk2'
        option bssid    '00:18:84:14:39:95'
        option wds      '1'
        option key      'xxxxxxxxxx'
}}}

== WDS STA ==

wpa-supplicant Paket installieren
{{{
ipkg install wpa-supplicant
}}}

/etc/config/network
{{{
# Copyright (C) 2006 OpenWrt.org

config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0

config interface lan
        option ifname   eth0
        option type     bridge
        option proto    static
        option ipaddr   '192.168.178.4'
        option netmask  255.255.255.0
        option gateway  '192.168.178.1'
        option dns      '192.168.178.1'
}}}

/etc/config/wireless
{{{
config wifi-device  wifi0
        option type     atheros
        option channel  5
        option disabled '0'

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     'sta'
        option ssid     OpenWrt
        option encryption       'psk2'
        option bssid    '00:18:84:14:39:95'
        option wds      '1'
        option key      'xxxxxxxxxx'
}}}

----

Notizen: bssid MAC Adresse für WDS kommt von 'ifconfig ath0'