You are on page 1of 1

-Editing rc.

local File
set it at startup by adding the command
in: /etc/rc.local

copy and paste

#!/bin/bash

echo " taking down wlan0"


ifconfig wlan0 down
sleep 3

echo "setting Region to Guyana"


iw reg set GY
sleep 3

echo "setting TxPower to 26"


iwconfig wlan0 txpower 26
sleep 2

echo "starting wlan0"


ifconfig wlan0 up
echo "pulling wlan0 interface up"
iwconfig
sleep 5

echo " "


echo " +-+-+ +-+-+-+-+-+ +-+-+ "
echo " +-+-+ +-+-+-+-+-+ +-+-+ "
echo " "
echo " "

sleep 1

echo "good bye"

You might also like