#!/bin/bash # Petr Simandl # zavedení ovladače pro wifi kartu xi626 # a spuštění AP v síti CZFree.Net.jablonecka.jz # nod jablonecka smer jihozapad iface="wlan1" /sbin/modprobe hostap_pci /usr/local/sbin/iwconfig $iface mode master /sbin/ifconfig $iface inet 10.33.2.129 netmask 255.255.255.192 broadcast 10.33.2.191 /usr/local/sbin/iwconfig $iface essid "CZFree.Net.jablonecka.jz" /usr/local/sbin/iwpriv $iface alc 0 /usr/local/sbin/iwconfig $iface txpower 0 /usr/local/sbin/iwconfig $iface channel 13 /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:5F /usr/local/sbin/iwpriv $iface addmac 00:60:b3:6a:dd:11