Wlan: Unterschied zwischen den Versionen

Aus LaborWiki
Wechseln zu: Navigation, Suche
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 26: Zeile 26:


/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  1
option country DE
option country DE
option macaddr xx:xx:xx:xx:xx:xx
option macaddr xx:xx:xx:xx:xx:xx
option hwmode 11ng
option hwmode 11ng
option htmode HT20
option htmode HT20
list ht_capab SHORT-GI-40
list ht_capab SHORT-GI-40
list ht_capab DSSS_CCK-40
list ht_capab DSSS_CCK-40
 
config wifi-iface
config wifi-iface
option device  radio0
option device  radio0
option network  lsec
option network  lsec
option ieee80211d 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 18. April 2010, 00:53 Uhr

Hardware:

  • 2x RB411 Board
  • CPU ar7130 300Mhz, 200 bogomips
  • RAM 32MiB
  • NAND 64MiB
  • 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
  • EIA232 (115200bit/s)
  • 10-28V (Plus ist innen)
  • POE non standart (4,5 +, 7,8 -)

Software:

  • kernel 2.6.32.10
  • openwrt svn r20960
  • 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

Config Beispiel:

/etc/config/wireless

config wifi-device  radio0
	option type     mac80211
	option channel  1
	option country DE
	option macaddr	xx:xx:xx:xx:xx:xx
	option hwmode	11ng
	option htmode	HT20
	list ht_capab	SHORT-GI-40
	list ht_capab	DSSS_CCK-40

config wifi-iface
	option device   radio0
	option network  lsec
	option ieee80211d 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"
}