If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

Box-Modes

From BoxMatrix
(Redirected from Box-Mode)

Box-Modes[edit]

WIP
This is currently being created and is unfinished, come back frequently to see it evolve!
This message will be removed once it's finished.

This is going to be an overview of settings in the box UI-Module depending on the configured mode.
All variables named below were acquired by ctlmgr_ctl r box settings/<variable> [/activated].
Unfotunately the box module does not support ctlmgr_ctl u box to list it completely.

IP-Client[edit]

IP-Client (LAN) or Mesh-Repeater (LAN) mode:

  • dsldmode: dsldmode_bridge
  • opmode: opmode_eth_ipclient
  • ata_mode: 1
  • lanbridge: 1
  • fullbridge: 0
  • dslbridge_if_routing: 0

WLAN-Repeater[edit]

WLAN-Repeater (WDS2) or Mesh-Repeater (WLAN) mode:

  • dsldmode: dsldmode_bridge
  • opmode: opmode_eth_ipclient
  • ata_mode: 1
  • lanbridge: 1
  • fullbridge: 0
  • dslbridge_if_routing: 0

Modes[edit]

dsldmode[edit]

This enumeration is defined in libar7cfg.so:

dsldmode_bridge       # IP-Client, WLAN-Repeater, Mesh-Repeater, .......
dsldmode_router       # DSL-Router without PPPoE-Passthrough
dsldmode_both         # DSL-Router with PPPoE-Passthrough - used by Alice IAD and Telekom OEM models, or by manual activation.
dsldmode_full_bridge

opmode[edit]

This enumeration is defined in libcmapi.so:

opmode_other
opmode_standard
opmode_modem
opmode_pppoe
opmode_pppoa
opmode_pppoa_llc
opmode_ether
opmode_ipnlpid
opmode_ipsnap
opmode_ipraw
opmode_eth_pppoe
opmode_eth_ip
opmode_eth_ipclient   # IP-Client, WLAN-Repeater, Mesh-Repeater
opmode_usb_modem      # USB UMTS-Modem of LTE-Modem
opmode_wlan_ip        # IP-Router via WLAN ???
opmode_usb_tethering  # USB-Tethering using a smart phone
opmode_multiwan_lte   # 6890 Multi-WAN routing

Research[edit]

The following script has been used;

echo -n "* dsldmode: "
ctlmgr_ctl r box settings/dsldmode
echo -n "* opmode: "
ctlmgr_ctl r box settings/opmode
echo -n "* ata_mode: "
ctlmgr_ctl r box settings/ata_mode
echo -n "* lanbridge: "
ctlmgr_ctl r box settings/lanbridge/activated
echo -n "* fullbridge: "
ctlmgr_ctl r box settings/fullbridge/activated
echo -n "* dslbridge_if_routing: "
ctlmgr_ctl r box settings/dslbridge_if_routing/activated