Appendix d, Programming lan bypass – Lanner FW-8771 User Manual

Page 45

Advertising
background image

40

Programming LAN Bypass

Appendix D

Network Application Platforms

states, i.e., power on and power off. The following

are the illustration of the possibilities of LAN bypass

configuration with respect to both power-on and

power-off states.

Bypass settings

System Status

LAN Bypass for Port1 and

Port 2

LAN Bypass

1&2 when

power off

Enabled

Disabled

Enabled

PWR ON

Bypass

Non-Bypass

PWR OFF

Bypass

Bypass

Bypass settings

System Status

LAN Bypass for Port1 and

Port 2

LAN Bypass

1&2 when

power off

Enabled

Disabled

Disabled

PWR ON

Non-Bypass Non-Bypass

PWR OFF

Non-Bypass Non-Bypass

A watchdog timer can be used to control the LAN

2.

Bypass function dynamically by programming. Lanner

also provides sample code for bypass control with

WDT via programming. For sample code, look in the

LAN_Bypass_Watchdog directory under Driver and

Manual CD.

To compile:
#gcc wdbp.c -o wdbp
then switch to a root account to run ./wdbp for

excution:
#./wdbp
Commands:
Enable the bypass
#wdbp.exe –f
Set Watchdog Timer. This command will set the time

interval at which the counter will start count down.
#wdbp.exe -wl xxx (xxx: 1-255 sec for timer count

down)
Reset Watchdog Timer. This command will reset the

watchdog timer’s counter and the bypass status to

non-bypass.
#wdbp.exe -wr xxx (xxx: 1-255 sec for timer count

down)

Note:

For a description of the physical LAN ports

equipped with this functionality, refer to Front

Panel Features in Chapter 1 Introduction.

Advertising