#!/bin/bash # Petr Simandl # zavedení ovladače pro wifi kartu xi626 # a spuštění AP v síti CZFree.Net.jablonecka.sv # nod jablonecka smer severovychod iface="wlan2" /sbin/modprobe hostap_pci /usr/local/sbin/iwconfig $iface mode master /sbin/ifconfig $iface inet 10.33.2.193 netmask 255.255.255.192 broadcast 10.33.2.255 /usr/local/sbin/iwconfig $iface essid "CZFree.Net.jablonecka.sv" /usr/local/sbin/iwpriv $iface alc 0 /usr/local/sbin/iwconfig $iface txpower 15 /usr/local/sbin/iwconfig $iface channel 5 /usr/local/sbin/iwconfig $iface retransmit 20 /usr/local/sbin/iwpriv $iface maccmd 2 /usr/local/sbin/iwpriv $iface addmac 00:60:B3:69:EA:5A /usr/local/sbin/iwpriv $iface addmac 00:60:B3:6A:5E:5E