Configuring 2N Net Audio device via Telnet Server

By default, the parameters have the following factory values:

 Parameter

Value

General
SpkClient1 (ON)

SpkSearch

1 (ON)

SpkVolume

1024

SpkDomain

Value is empty until set

SpkDescr

Value is empty until device is connected to server

SpkV01Dwgrd0
SpkKeyVolOn1
Ethernet

DHCPClient

1 (ON)

StatIPAddr

192.168.1.100

StatIPMask

255.255.255.0

StatIPGate

192.168.1.1

Server
UserNameServer

Password

Client

SrvIPAddr

192.168.1.2

SrvTCPPort

6999

SrvUserNameSpeaker

SrvPassword

ScannerIpAddr239.255.254.1
ScannerUdpPort6996
Rtp
RtpEnable0
RtpRawUdp0
RtpDstIPAddr239.0.0.10
RtpDstPort4242
RtpSrcIPAddr0.0.0.0
RtpSrcPort0
RtpPriority0
RtpDropoutTout5000
SdOffline
SdOfflinePriority0
SdOfflineEnable0
SdOfflinePlaylist0
SdLogInput0
SdLogInput0Priority0
SdLogInput0Enable0
SdLogInput0Playlist1
Ssh
SshEn1

Use the integrated Telnet server for basic 2N® Net Audio Decoder or 2N® Net Speaker settings. For connection, use any Telnet Client application downloaded from the Internet, for example. By default, the Telnet server listens at port 23.

Basic Parameter Settings

When the connection has been established, 2N® Net Audio Decoder or 2N® Net Speaker displays its serial number and the current firmware version. Enter the password, which is equal to the connection authorisation password from the 
2N® IP Audio Manager (i.e. Password parameter).

 

Telnet Commands to 2N® Net Audio Decoder or 2N® Net Speaker

2N® Net Audio Decoder or 2N® Net Speaker can be controlled using the commands included in the table below. Enter the LC characters only, separate parameters, if any, with a space and confirm every row with Enter.

help

This command displays the list of available commands.

set (parameter) (value)

This command sets the parameter to a selected value. Example: set DHCPClient 1

get (parameter)

This command displays the current parameter value. Example: get DHCPClient

print

This command writes out all parameters including values.

exit

This command quits connection with the Telnet server.

reboot

This command resets the equipment.

factoryThis command makes factory reset of 2N® Net Audio Decoder or 2N® Net Speaker.

Caution

  • Once reboot (restart) is executed and 2N® IP Audio Manager is connected, the parameters are overwritten according to the 2N® IP Audio Control Panel unit. Changes made via Telnet are not transmitted to the 2N® IP Audio Manager and the 2N® IP Audio Manager settings are always preferred to those made via Telnet.

List of Parameters

  • SpkClient
    • 2N® Net Audio Decoder or 2N® Net Speaker is connecting actively to the 2N® IP Audio Manager. Remember to set the SrvIPAddr and SrvTCPPort parameters correctly if 1 is selected.
    • Setting options:

      0

      2N® Net Audio Decoder or 2N® Net Speaker passive mode. The server connection is initiated by the 2N® IP Audio Manager.

      1

      2N® Net Audio Decoder or 2N® Net Speaker active mode. The server connection is initiated by 2N® IP Audio Manager.

    • Default setting: 1
  • SpkSearch
    • 2N® Net Audio Decoder or 2N® Net Speaker is searching for the 2N® IP Audio Manager in the network and uses the Server's domain.
    • Setting options:

      0

      Searchmode is disabled

      1

      Searchmode is enabled

    • Default setting: 1
  • SpkVolume
    • Volume settings for 2N® Net Audio Decoder or 2N® Net Speaker, where 0 is the minimum and 4096 the maximum value.
    • Default setting: 1024
  • SpkDomain
    • Domain settings used by 2N® Net Audio Decoder or 2N® Net Speaker for communication.
    • Default setting: 

Note

  • If there is just one 2N® IP Audio Manager in the network, domains need not be set for the units.
  • SpkDescr
    • Descr is an optional parameter describing 2N® Net Audio Decoder or 
      2N® Net Speaker. It is possible to use any string.
    • Default setting: MAC address
  • SpkKeyVolOn
    • The parameter sets whether the hardware buttons on the unit are used for volume or channel control.
    • Default setting: 1
  • DHCPClient

    • The parameter enables/disables automatic obtaining of network parameter settings from the DHCP server in the LAN.

    • Setting options:

      0

      Automatic network parameter obtaining is disabled. Use manual settings: StatIPAddr, StatIPMask and StatIPGate.

      1

      Automatic network parameter obtaining is enabled.

    • Default setting: 1 
  • StatIPAddr
    • 2N® Net Audio Decoder or 2N® Net Speaker static IP address. Use this setting if DHCPClient is set to 0.
    • Default setting: 192.168.1.100
  • StatIPMask
    • Network mask for static IP address setting. Use this setting if DHCPClient is set to 0.
    • Default setting: 255.255.255.0
  • StatIPGate
    • Default gateway for packets routed outside the LAN. Use this setting if DHCPClient is set to 0.
    • Default setting: 192.168.1.1
  • Password
    • 2N® Net Audio Decoder or 2N® Net Speaker's own password for authorising connection initiated by the 2N® IP Audio Manager. The same password must be stored in the 2N® IP Audio Manager global settings and must be identical for all 2N® Net Speaker units in the system. This password is used for Telnet server connection authorization too.
    • Default setting: No password 
  • SrvIPAddr
    • 2N® IP Audio Manager IP address. Use the setting in the active mode, i.e. if SpkClient 1.
    • Default setting: 192.168.1.1
  • SrvTCPPort
    • 2N® IP Audio Manager communication port. Use the setting in the active mode, i.e. if SpkClient 1.
    • Default setting: 6999 
  • SrvPassword
    • 2N® IP Audio Manager connection authorisation password. Used both in the active and passive modes of 2N® Net Audio Decoder or 2N® Net Speaker The password must be identical with the 2N® IP Audio Manager password.
    • Default setting: No password
  • ScannerIpAddr
    • Multicast address used for the 2N® IP Audio Control Panel scanner.
    • Default setting: 239.255.254.1
  • ScannerUdpPort
    • Port used for 2N® IP Audio Control Panel scanner.
    • Default setting: 6996

Caution

  • Change ScannerIpAddr in exceptional cases only (multicast IP address collision, e.g.). Make the change for every unit and 2N® IP Audio Control Panel to avoid the 2N® IP Audio Control Panel scanner malfunction (units would be invisible to the scanner).
  • RtpEnable
    • Enable/disable direct RTP stream receiving for 2N® Net Audio Decoder or 2N® Net Speaker: 0 – disable, 1 – enable.
    • Default setting: 0
  • RtpRawUdp
    • Enable/disable direct UDP stream receiving for 2N® Net Audio Decoder or 2N® Net Speaker: 0 – disable, 1 – enable.
    • Default setting: 0 

  • RtpDstIPAddr
    • Set the RTP stream target address for 2N® Net Audio Decoder or 2N® Net Speaker.
    • Default setting: 239.0.0.10
  • RtpDstPort
    • Set the target RTP stream port.
    • Default setting: 4242
  • RtpSrcIPAddr
    • Set the RTP stream source IP address to ignore streams from other IP addresses.
    • Default setting: 0.0.0.0
  • RtpSrcPort
    • Set the RTP stream source port if RtpSrcIPAddr has been changed.
    • Default setting: 0
  • RtpPriority
    • Set the RTP stream priority.
    • Default setting: 0

Caution

  • Do not set identical priority values (including sessions) to avoid unwanted behaviour.
  • RtpDropoutTout
    • Set the RTP stream failure timeout (ms) after which the unit moves to another (top priority) source. 
    • Default setting: 5000
  • SdOfflinePriority
    • Set the SD card playing priority in case of connection failure. Setting options: 1–9.
    • Default setting: 0
  • SdOfflineEnable
    • Enable/disable SD card playing in case of connection failure: 0 – disable, 1 – enable.
    • Default setting: 0 
  • SdOfflinePlaylist
    • Set the playlist to be used. Setting options: 0–3.
    • Default setting: 0
  • SdLogInput0Priority
    • Set the playing priority if logic input is activated. Setting options: 1–9.
    • Default setting: 0
  • SdLogInput0Enable
    • Enable/disable playing if logic input is activated: 0 – disable, 1 – enable.
    • Default setting: 0
  • SdLogInput0Playlist
    • Set the playlist to be used. Setting options: 0–3.
    • Default setting: 1
  • SshEn
    • Enable/disable ssh access (only if the hardware allows so): 0 – disable, 1 – enable.
    • Default setting: 0 

Caution

  • Do not change SshEn as the ssh access is used for servicing purposes only.
  • Examples direct RTP stream:

    • :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=udp,mux=raw,dst=239.0.0.10:4242} :sout-all :sout-keep
    • :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=udp,mux=raw,dst=192.168.3.224:4242} :sout-all :sout-keep
    • :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:rtp{dst=239.0.0.10,port=4242,ttl=1} :sout-all :sout-keep 
    • :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:rtp{dst=192.168.3.224,port=4242,ttl=1} :sout-all :sout-keep