Wlan: Unterschied zwischen den Versionen

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


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


/etc/config/wireless
/etc/config/wireless
config wifi-device  wlan0
config wifi-device  radio0
        option type    mac80211
option type    mac80211
        option country DE
option channel  1
        option channel  40
option country DE
        option ieee80211d 1
option macaddr xx:xx:xx:xx:xx:xx
        option hwmode_11n a
option hwmode 11ng
        option ht_capab [HT40-][SHORT-GI-40][DSSS_CCK-40]
option htmode HT20
 
list ht_capab SHORT-GI-40
 
list ht_capab DSSS_CCK-40
 
config wifi-iface
        option device  wlan0
        option network  lsec
        option mode    ap
        option ssid    l1
        option encryption psk2
        option key blafoo234711sicher


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 ==
== Client Config ==

Version vom 18. April 2010, 01:52 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"
}