At this time only the DSL modems listed in DSLTOOL_x_MODEM are supported.
At the Wiki [1] hints for configuration of particular modems can be found or added.
If your DSL modem is not supported, please send an eMail to check if supporting this modem type is possible.
To test the features of the DSL tools without having a supported DSL modem, it is possible to set DSLTOOL_x_MODEM to 'demo-adsl' or 'demo-vdsl' mode.
The configuration is made, as of all fli4l packages, by adjusting the file
path/fli4l-4.0.0-testing-x86-r60782/<config>/dsltool.txt to meet your own demands.
The setting 'no' deactivates OPT_DSLTOOL completely. There will be no changes made on the fli4l boot medium or the archive opt.img. OPT_DSLTOOL does not overwrite other parts of the fli4l installation. To activate OPT_DSLTOOL set the variable OPT_DSLTOOL to 'yes'..
Defines the number of used DSL modems.
Selects the DSL modem type. The variable can be set to the following values:
Modems/router based on Infineon/Lantiq Amazon SE chipset
Modems/router based on Texas Instruments AR7 chipset family
AVM Fritz!Box Router (Firmware ≥ 5.50)
If no username is configured on the Fritz!Box then the variable DSLTOOL_x_USER needs to be set to 'dslf-config'.
Modems/router based on Broadcom bc63xx chipset
Modems/router based on Conexant chipset
Modems/router based on Broadcom bc631xx chipset with OpenWrt
ALCATEL/Thomson 5x6 and 7x6 modems/router with firmware version 5.x and 6.x
Modems based on Trendchip chipset
DrayTek Vigor modems
Modems/router based on Infineon/Lantiq Vinax chipset
The variable DSLTOOL_x_PROTOCOL must be set to 'demo'.
In demo mode the variables DSLTOOL_x_HOST, DSLTOOL_x_USER and DSLTOOL_x_PASS are not evaluated but may not be empty.
This optional setting defines the protocol used. Valid values are 'telnet' (default) and 'demo'
This optional variable defines the TCP port used. If this variable is not present, the default port of the corresponding protocol is used (e.g. telnet: 23, http: 80).
This optional setting defines the ethernet type. Valid values are 'IPv4' (default), 'IPv6' and 'auto'.
Hostname or IP Address of the DSL modem.
Example:
DSLTOOL_HOST='192.168.1.254'
Attention
, a network route to the DSL modem must be configured.
E.g. set IP_NET_3='192.168.1.1/24' and IP_NET_3_DEV='eth3' in base.txt. It is not sufficient to set PPPOE_ETH='eth3' only in dsl.txt. Don't forget to adapt the firewall rules to allow communication with the DSL modem (see example).
The user name for the login to the DSL modem.
Example:
DSLTOOL_USER='Admin'
The password for the login to the DSL modem.
Example:
DSLTOOL_PASS='Admin'
The setting 'yes' activates the data recording with the collectd daemon from the RRDTOOL package. The RRDTOOL package must be activated with OPT_RRDTOOL='yes' and the option RRDTOOL_UNIXSOCK='yes' must be set.
The setting 'yes' activates a debug option. To use it, the program tcpdump (to be found in the TOOLS package) needs to be activated by specifying OPT_TCPDUMP='yes' in the TOOLS package's configuration file.
Data recording may be started using the Web-GUI's debug tab and the data recorded will be downloaded.
The data recording can be started from the SSH-shell as well by executing /usr/bin/dsltool-dump.sh. The data recorded will be stored in the file /tmp/dsltool.tgz.
The file dsltool.tgz will log the actual configuration of the DSLTOOL package, a tcpdump capture of the modem communication and the output data for later analysis.
The DSL modem's login name and password are stored in readable format in both configuration and capture file, hence the password should be changed for debugging purposes.
The setting 'yes' activates the output of log messages to a file or syslog (DSLTOOL_x_SYSLOG.
The setting 'yes' activates logging to syslog. The variable DSLTOOL_x_LOG='yes' must be set.