#!/bin/bash # Petr Simandl # zavedení ovladače pro wifi kartu xi626 # a spuštění klienta v síti CZFree.Net.J2P iface="wlan0" /usr/local/sbin/iwconfig $iface mode managed /sbin/ifconfig $iface inet 10.10.87.131 netmask 255.255.255.128 broadcast 10.10.87.255 /usr/local/sbin/iwconfig $iface essid "CZFree.Net.J2P" /usr/local/sbin/iwpriv $iface alc 0 /usr/local/sbin/iwconfig $iface txpower -5 /usr/local/sbin/iwconfig $iface channel 1 /usr/local/sbin/iwconfig $iface retransmit 20 /usr/local/sbin/iwpriv $iface maccmd 2 /usr/local/sbin/iwpriv $iface addmac 00:60:B3:6A:5E:5F /usr/local/sbin/iwpriv $iface addmac 00:60:B3:6A:5E:5E #/sbin/route del default #/sbin/route add default gw jarov #/root/bin/watchwlan &