Technical data

4. Packages
ebtables.post in the directory config/ebtables. Ebtables.pre will get executed before and ebta-
bles.post after configuring the netfilter. Please remember that an error in the ebtables scripts
may interrupt the boot process of the fli4l-router!
Before using EBTables you should definitely read the complete documentation.
By using EBTables the complete behavior of the router may change! Especially
filtering by mac: in PF_FORWARD will not work as before.
Have a look at this page giving a small glimpse about how the the ebtables support works:
http://ebtables.sourceforge.net/br_fw_ia/br_fw_ia.html.
4.2.8. ETHTOOL - Settings for Ethernet Network Adapters
By setting OPT_ETHTOOL=’yes’ the ethtool program will be copied to the fli4l router in order to
be used by other packages. By the help of this program, various settings of Ethernet network
cards and drivers can be displayed and changed.
ETHTOOL_DEV_N Specify the number of settings to set at boot time.
Default: ETHTOOL_DEV_N=’0’
ETHTOOL_DEV_x ETHTOOL_DEV_x indicates for which network device the settings should
apply.
Example: ETHTOOL_DEV_1=’eth0’
ETHTOOL_DEV_x_OPTION_N ETHTOOL_DEV_x_OPTION_N indicates the number of settings
for the device.
ETHTOOL_DEV_x_OPTION_x_NAME
ETHTOOL_DEV_x_OPTION_x_VALUE The variable ETHTOOL_DEV_x_OPTION_x_NAME gives
the name and ETHTOOL_DEV_x_OPTION_x_VALUE the value of the setting to be changed.
Following is a list of options and possible values activated by now:
speed 10|100|1000|2500|10000 expandable by HD or FD (default FD = full duplex)
autoneg on|off
advertise %x
wol p|u|m|b|a|g|s|d
Example:
OPT_ETHTOOL='yes'
ETHTOOL_DEV_N='2'
ETHTOOL_DEV_1='eth0'
ETHTOOL_DEV_1_OPTION_N='1'
ETHTOOL_DEV_1_OPTION_1_NAME='wol'
ETHTOOL_DEV_1_OPTION_1_VALUE='g'
ETHTOOL_DEV_2='eth1'
ETHTOOL_DEV_2_OPTION_N='2'
ETHTOOL_DEV_2_OPTION_1_NAME='wol'
ETHTOOL_DEV_2_OPTION_1_VALUE='g'
ETHTOOL_DEV_2_OPTION_2_NAME='speed'
ETHTOOL_DEV_2_OPTION_2_VALUE='100hd'
88