Wlan

Aus LaborWiki
Wechseln zu: Navigation, Suche

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:

  • openwrt svn
  • 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  wlan0
       option type     mac80211
       option country  DE
       option channel  40
       option ieee80211d 1
       option hwmode_11n a
       option ht_capab [HT40-][SHORT-GI-40][DSSS_CCK-40]


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