beautypg.com

Appendix d, Programming lan bypass – Lanner FX-3210 User Manual

Page 52

background image

47

Programming LAN Bypass

Appendix D

Network Application Platforms

There are two ways to enable the bypass on the system:

The LAN bypass can be turned on or off in two system

1.

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:

In the BIOS:

M1 denotes expansion Ethernet module No.1

1.

and M2 denotes expansion Ethernet module

No.2. For customization opportunity with these

modules, visit Lanner website:

http://www.lannerinc.com/x86_Network_

Appliances/Network_Modules

Left Modu1 denotes the module on the far

2.

left when facing the front panel. This module

supports both Lanner Generation 2 and

Generation 3 bypass.

For a description of the physical LAN ports

equipped with this functionality, refer to Front

Panel Features in Chapter 1 Introduction.

This manual is related to the following products: