Subsections


1.1 WOL - Wake On LAN

OPT_WOL enables fli4l to start remote computers with a Wake on LAN enabled network card by executing 'wol.sh' on the console or via the router's web interface.

For this to work, the network card usually has a small three-wire cable connected to the motherboard, so the network card stays powered from the ATX power supply even when the computer is currently in standby mode.

1.1.1 Configuration

OPT_WOL

Default Setting: OPT_WOL='no'

'no' deactivates OPT_WOL Paket completely. No changes will be made to the fli4l boot medium resp. the archive opt.img.
'yes' activates the package OPT_WOL.

To power on a client via WOL its MAC address has to be entered in <config-dir>/dns_dhcp.txt (HOST_x_MAC). All computers without MAC address defined are excluded from WOL automatically.

WOL_LIST

Configuration is made by black or whitelisting. blacklisting means that all clients on this list are excluded from WOL, whitelisting means that WOL is possible for clients on the list.

Default Setting: WOL_LIST='black'

Valid values:

WOL_LIST_N

Default Setting: WOL_LIST_N='0'

As the default no client is on the Blacklist, thus each client can be powered via WOL.

WOL_LIST_x

Default Setting: WOL_LIST_x=''

Valid values:

Example:

      WOL_LIST='black'            # black or white listing
      WOL_LIST_N='3'              # Number of list entries
      WOL_LIST_1='IP_NET_1'       # All clients in Network IP_NET_1
      WOL_LIST_2='@client1'       # Client with the name HOST_1_x
      WOL_LIST_3='192.168.6.3'    # Client with this IP

1.1.2 Wake On Lan At Router Boot

WOL_BOOT

This setting should only be set to 'yes' if you want to boot a computer in your network with Wake on LAN when starting the router. This configuration is independent of WOL_LIST, clients not listed in WOL_LIST may be specified too.

WOL_BOOT_N

Default Setting: WOL_BOOT_N='0'

As the default no clients are on the list, thus no clients will be powered via WOL when booting the router.

WOL_BOOT_x

Default Setting: WOL_BOOT_x=''

Valid values:

Example:

      WOL_BOOT='yes'               # install WOL on Boot: yes or no
      WOL_BOOT_N='2'               # Number of computers
      WOL_BOOT_1='@client1'        # first client
      WOL_BOOT_2='192.162.6.17     # second client

1.1.3 Usage

Log in to the console directly or via SSH and wake a computer like this: 'wol.sh <computerername>' or 'wol.sh <IP-Address>' or 'wol.sh <MAC-Address>'.

Computers not contained in <config-dir>/wol.txt may be woken by 'etherwake <MAC-Address>'.

1.1.3.1 Using The Router's Web Interface

WOL_HTML
To use the router's web interface WOL_HTML='yes' has to be set. The Webserver from OPT_HTTPD obviously has to be enabled as well.

Default Setting: WOL_HTML='no'

© 2001-2015 The fli4l-Team - 27 January 2015