close

Want to Learn More About WiFi?

Click Here to Sign-up for our Advanced Workshop for Network and WiFi Businesses

< Return to Tutorials

Changing Transmission Power

Dec 14, 2016

We’ve spoken previously how less can be more, in terms of transmission power, so here we show you how to adjust the transmission power with LEDE/OpenWRT.

Be aware that some devices may have hard limitations on power output, and different countries have different restrictions on the power output you can use.

SSH to your OpenWRT device

If you are using Windows then start PuTTY and click Session on the left side, select SSH from the options, and then enter in the IP Address of your OpenWRT box into the Host Name field.

Once you’ve done this just click on Open to start up the SSH connection.

If you are connecting via terminal, then just SSH to your OpenWRT device using the following command, where 192.168.1.1 is your OpenWRT device’s IP address.

ssh root@192.168.1.1

Configuration

First we need to access the wireless config file to make changes. So run the following command:

vi /etc/config/wireless

Once this is open, you will need to find the device that your network is using. This is relatively simple, just look for the SSID of your network.

config 'wifi-iface'
        option 'device'     'wl0'
        option 'network'    'lan'
        option 'mode'       'ap'
        option 'ssid'       'PowerWiFi'
        option 'encryption' 'psk2'
        option 'key'        'ivegotthepower'

Above, we have found the interface for the SSID ‘PowerWiFi’. We can see that the device in use is wl0 so we need to look for the device with that name. You should find something similar to the below:

config 'wifi-device' 'wl0'
        option 'type'    'broadcom'
        option 'channel' '6'

Once you have found it, we need to add/edit in the following:

option 'txpower'    '17'

The integer entered specifies the power output in dBm.

Once you’ve added your power output, you should be left with something similar to the below:

config 'wifi-device' 'wl0'
        option 'type'    'broadcom'
        option 'channel' '6'
        option 'txpower' '17'

When you are happy you will need to reboot your device or restart the wireless.

To restart your wireless, run the following:

wifi down
wifi up

Or if you want to reboot the whole device, run this instead:

reboot

Cucumber Tony is a cloud based WiFi management platform for businesses. The firmware gives consumer-grade WiFi access points enterprise-like capabilities. Or you can utilise the captive portal solution with your existing infrastructure. Create a free account and check it here cucumberwifi.io

Come join Cucumber

Sign Up

Sign-up for Cucumber Tony, it's free for unlimited access points :)