User Tools

Site Tools


doc:uci:wifitoggle

Work in Progress!
This page is a continuous work in progress. You can edit this page to contribute information.

Wifitoggle Installation

The /etc/config/wifitoggle configuration is provided by the wifitoggle package.

Step for step

  • Install wifitoggle with the webinterface or shell
  • Login to your router with the terminal using ssh root@192.168.1.1
    • or more secure with ssh root@192.168.1.1 -p xxxx
  • Edit the configuration file with vi /etc/config/wifitoggle
    • Press 'i' for insert. If you're done, save with 'Esc' and :wq!

Configuration

This is the default configuration for this section:

config 'wifitoggle' option 'button' 'wps' option 'persistent' '0' option 'timer' '600' option 'led_sysfs' 'wrt160nl:amber:wps' option 'led_enable_trigger' 'timer' option 'led_enable_delayon' '500' option 'led_enable_delayoff' '500' option 'led_disable_default' '0'

The wifitoggle section contains these settings:

Name Type Required Default Description
button String ? wps Button to use: wps = wifi protected service, ses = cisco services, reset = TP-Link. Here's a way to identify the internal name of your button.
persistent Boolean ? 0 Commit changes to wireless config file, persistent after reset. Always 0 if Timer enabled
timer Integer ? 600 Seconds for wifi to be turned off, 0 for no timer
led_sysfs String ? wrt160nl:amber:wps Led to use, see "/sys/class/leds" or in webinterface "System - LED Configuration" for possible values
led_enable_trigger String ? timer See /sys/class/leds/${led_sysfs}/trigger for possible values
led_enable_delayon Integer ? 500 Milliseconds to turn led on after button pressed
led_enable_delayoff Integer ? 500 Milliseconds to turn led off after button pressed
led_disable_default Boolean ? 0 Led state for wifi disabled, 1 to turn it off if wifi is off
doc/uci/wifitoggle.txt · Last modified: 2014/03/27 09:52 by 444chris