Wlan: Unterschied zwischen den Versionen

Aus LaborWiki
Wechseln zu: Navigation, Suche
KKeine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 2: Zeile 2:


* 2x [http://www.mikrotik-shop.de/product_info.php?info=p304_MikroTik-RouterBOARD-411-L3--1-x-LAN--1-x-miniPCI-.html RB411] Board
* 2x [http://www.mikrotik-shop.de/product_info.php?info=p304_MikroTik-RouterBOARD-411-L3--1-x-LAN--1-x-miniPCI-.html RB411] Board
* CPU ar7130 300Mhz, 200 bogomips
** CPU ar7130 300Mhz, 200 bogomips
* RAM 32MiB
** RAM 32MiB
* NAND 64MiB
** NAND 64MiB
* LAN 100-Tx RJ-45
** LAN 100-Tx RJ-45
* 2 x WLAN AR5416 (Baseband/MACs) + AR5133 (Radio, 3 Tx, 3 Rx, dual-band 2.4/5GHz) mini-pci abgn Karte
** WLAN AR5416 (Baseband/MACs) + AR5133 (Radio, 3 Tx, 3 Rx, dual-band 2.4/5GHz) mini-pci abgn Karte
* EIA232 (115200bit/s)
* 10-28V (Plus ist innen)
* 10-28V (Plus ist innen)
* POE non standart (4,5 +, 7,8 -)
* POE non standart (4,5 +, 7,8 -)


'''Software:'''
'''Software:'''
* kernel 2.6.32.10
* openwrt svn r20960
* ath9k treiber
* ath9k treiber
* elf bauen -> tftp -> bootp/dhcp boot (komprimiert) -> wget2nand http://x.x.x.x


Dateien die das Script benötigt:
openwrt-ar71xx-vmlinux.elf
openwrt-ar71xx-rootfs.tgz


tftp boot: openwrt-ar71xx-vmlinux-initramfs.elf
tftp boot: openwrt-ar71xx-vmlinux-initramfs.elf
Zeile 26: Zeile 19:


/etc/config/wireless
/etc/config/wireless
config wifi-device  radio0
config wifi-device  radio0
option type    mac80211
      option type    mac80211
option channel  1
      option channel  10
option country DE
      option country DE
option macaddr xx:xx:xx:xx:xx:xx
      option macaddr 00:19:e3:fa:55:09
option hwmode 11ng
      option hwmode   11ng
option htmode HT20
      option htmode   HT20
list ht_capab SHORT-GI-40
 
list ht_capab DSSS_CCK-40
config wifi-iface
      option device  radio0
config wifi-iface
      option ieee80211d 1
option device  radio0
      option network  lsec
option network  lsec
      option rsn_preauth 1
option ieee80211d 1
      option mode    ap
option mode    ap
      option ssid    l1
option ssid    l1
      option encryption psk2
option encryption psk2
      option key 'blafoo234711sicher'
option key 'blafoo234711sicher'
 


== Client Config ==
== Client Config ==

Version vom 28. Mai 2012, 11:41 Uhr

Hardware:

  • 2x RB411 Board
    • CPU ar7130 300Mhz, 200 bogomips
    • RAM 32MiB
    • NAND 64MiB
    • LAN 100-Tx RJ-45
    • WLAN AR5416 (Baseband/MACs) + AR5133 (Radio, 3 Tx, 3 Rx, dual-band 2.4/5GHz) mini-pci abgn Karte
  • 10-28V (Plus ist innen)
  • POE non standart (4,5 +, 7,8 -)

Software:

  • ath9k treiber


tftp boot: openwrt-ar71xx-vmlinux-initramfs.elf

Config Beispiel:

/etc/config/wireless config wifi-device radio0

      option type     mac80211
      option channel  10
      option country  DE
      option macaddr  00:19:e3:fa:55:09
      option hwmode   11ng
      option htmode   HT20

config wifi-iface

      option device   radio0
      option ieee80211d 1
      option network  lsec
      option rsn_preauth 1
      option mode     ap
      option ssid     l1
      option encryption psk2
      option key 'blafoo234711sicher'


Client Config

wpa_supplicant

network={
	ssid="l1"
	proto=WPA2
	key_mgmt=WPA-PSK
	pairwise=CCMP
	group=CCMP
	psk="blafoo234711sicher"
}