background image

  WB-2P-LR2. User manual

68

1.

2.

3.

10  Appendix 

А

. Launch user script when starting the system

Sometimes you need the device to implement certain actions when starting, which cannot be implemented 
through settings in configuration file. In this case you may configure a user script through a configuration file that 
will be launched when the system starting. You may set any needed commands sequence.

For user script launching, there is a settings section in the configuration file cfg.yaml:

UserScript: 
Enable: "0" 
URL: ""

The 

'Enable'

 option allows (if the value is 1) or denies (if the value is 0) the script launch, the path to which is 

specified in the 

URL

 parameter.

The userscript might be located on remote server as well as on the device. The script is loaded via HTTP or TFTP 
from remote server. Examples of configuration files for user script launching using different sources are given 
below:

Launch from HTTP server
To launch a script from HTTP server, enter the entire path to the file in HTTP-URL format to 

URL

 parameter: 

URL: "

 

http://192.168.0.250/user-script/script.sh

 

"

 

In this case, after the device started, file script.sh, which is kept in the catalogue having 192.168.0.250 
address, will be automatically loaded via HTTP from the defined server. Then it will be launched.

Launch from TFTP server
To launch a script from TFTP server, enter the entire path to the file in TFTP-URL format to 

URL

 parameter: 

URL: "

 

tftp://192.168.0.250/user-script/script.sh

 

"

 

In this case, after the device started, file script.sh, which is kept in the catalogue having 192.168.0.250 
address, will be automatically loaded via TFTP from the defined server. Then it will be launched.
Local script launch
Due to the peculiar properties of the file system, a local script should be stored in /etc/config catalogue as 
the content of the catalogue is saved after device reload. The script in the /etc/config directory can be 
created either using the vi editor, or download it from an external TFTP server (using the 

tftp –gl

 

sh <TFTP-

server

 

address>

 command). After creating a script, you should set rights for launching using the following 

command: 

chmod 777 /etc/config/user.sh

 

In configuration file, URL for local script launching should be set as follows: 

URL: "

 

File://etc/config/user.sh

 "

A user script should start from the 

#!/bin/sh

 directive.

Summary of Contents for WB-2P-LR2

Page 1: ...IP address 192 168 1 10 Username admin Password password User station WB 2P LR2 User manual Firmware version 2 4 0 ...

Page 2: ...LR2 mounting 12 3 3 1 Pre tuning 12 3 3 2 Mounting order 12 3 4 Switching on 14 4 Managing the device through web configurator 15 4 1 Getting started 15 4 2 Changing user 16 4 3 Applying configuration and discarding changes 17 4 4 Test changes mode 18 5 Main elements of the web interface 19 5 1 The Monitoring menu 20 5 1 1 The Internet submenu 20 5 1 2 The WDS submenu 21 5 1 3 The Ethernet ports s...

Page 3: ...The IPTV menu 48 5 3 1 The IPTV submenu 48 5 4 The System menu 50 5 4 1 The Time submenu 50 5 4 2 The Access submenu 51 5 4 3 The Log submenu 52 5 4 4 The Passwords submenu 54 5 4 5 The Configuration management submenu 55 5 4 6 The Firmware Upgrade submenu 56 5 4 7 The Reboot submenu 57 5 4 8 The Autoprovisioning submenu 57 5 4 9 The Advanced submenu 60 6 Configuration example 61 7 Spectrum Analyz...

Page 4: ...e to speed of wired networks with high criteria for the quality of provided services WB 2P LR2 is a user station designed for connection to Wi Fi access network which might be constructed using base stations within long distances The case of WB 2P LR2 is sealed that is allows to install the device outdoor with different climate conditions This manual specifies intended purpose main technical param...

Page 5: ...SE T RJ 45 Wi Fi 2 4 GHz IEEE 802 11b g n The power is suuplied via PoE injector 24V connected to 220V network Network functions operating in bridge and router modes operating in Wi Fi Station and Wireless bridge modes support for VLAN Trunk support for Management VLAN support for General VLAN support for Transparent Mode static routing support for Transparent wireless bridge function support for ...

Page 6: ...WB 2P LR2 User manual 6 Functional scheme of using WB 2P LR2 without router Functional scheme of using WB 2P LR2 with router Functional scheme of using WB 2P LR2 for wireless bridge organization ...

Page 7: ...Frequency range 2402 2482 MHz Modulation DSSS CCK BPSK QPSK 16QAM 64QAM Speed of data transmission 802 11b up to 11 Mbps 802 11g up to 54 Mbps 802 11n up to 300 Mbps Maximum output power of the transmitter 2 4 GHz 26 dBm Receiver sensitivity 2 4 GHz 98 dBm Security 64 128 152 bit WEP encryption WPA WPA2 centralized authorization via RADIUS server WPA WPA2 Enterprise Antenna s parameters Gain 2x10 ...

Page 8: ...net SSH SNMP monitoring TR 069 Access restriction by password General parameters Processor Realtek RTL8197FS 1 GHz RAM 128 MB Flash 32 MB Power supply PoE 24 V Power consumption 9 W max Operating temperatures form 45 to 65 С Operating humidity 95 max Ingress Protection Marking IP54 Dimensions 80x66x282 mm Weight 0 35 kg ...

Page 9: ...mm The layout of WB 2P LR2 is shown in the figure below WB 2P LR2 layout LAN port 10 100 1000Base T RJ 45 connector for local network connection and power supply via PoE grounding connector and the button for resetting to factory settings Reset are located on the bottom panel of the device WB 2P LR2 bottom panel s elements ...

Page 10: ...e 2 Description of rear panel LED indicators LED LED status Description Power Device power and operation status LED solid green the device power supply is enabled normal operation solid orange the device is loaded but IP address is not received via DHCP solid red the device is loading LAN LAN interface indicator solid green 10 100 Mbps solid orange 1000 Mbps the channel between LAN interface of WB...

Page 11: ...nd hold Reset button located on the bottom panel approximately 10 15 seconds until Power indicator is flashing orange Using PoE injector supplied with the device When the device is loaded press and hold RST button of the injector approximately 10 15 seconds until Power indicator of WB 2P LR2 is flashing orange Device will be rebooted automatically DHCP client will be launched by default If the add...

Page 12: ...ing act and contact the supplier Install the device vertically on communications mast or pole in the way that the LAN port is pointed down In order to provide better receiving signal level the sectoral antenna of a base station should be in line of sight of WB 2P LR2 You may achive the highest signal level by antenna alignment with the help of RSSI indicators The transmitting part of the device is...

Page 13: ... 3 4 5 Remove the bottom cover which close LAN port Ground the device through a grounding connector Connect Ethernet cable to LAN port Close the bottom cover Connect Ethernet cable connected to WB 2P LR2 to PoE port of injector ...

Page 14: ...g The level of received signal is shown by the indication located on the back panel of the device Fasten the clamps 3 4 Switching on Plug the injector into 220 V outlet Connect a PC to LAN port of the injector WB 2P LR2 loads in a minute after switching on Connect to the web configurator of WB 2P LR2 through a browser Network configuration is described in section 5 1 The Network menu IP address by...

Page 15: ...e to the browser address line If connection is successful request form with user name and password will be displayed on a browser window Enter your username into Login and password into Password field Click the Log in button Device Web configurator home page will be opened in the browser window IP address by default 192 168 1 1 subnet mask 255 255 255 0 The device is capable to obtain an IP addres...

Page 16: ...y only view full device configuration without editing privileges may access full device status monitoring When you click the Logout button the current user session will be terminated login window will be displayed To change the access you should specify the corresponding username and password and click the Log in button You may select languages on the top right of the page Russian and English lang...

Page 17: ...any parameter value have been set incorrectly the error notification with description will be displayed after pressing Apply button The mark will be displayed next to the tab name and on Apply button The Apply button in the menu appears as follows Discarding changes The button for discarding changes appears as follows Press Apply to save configuration to flash memory and apply new settings All the...

Page 18: ...ve and exit pressing this button will exit the test mode and save to the non volatile memory all configuration changes that were made and applied in this mode It will be impossible to undo changes made in the test mode Cancel and exit pressing will exit the test mode and cancel all changes made in this mode The configuration in effect on the device before the test mode is activated will be restore...

Page 19: ...u tabs which contain submenu tabs are divided into categories Monitoring Network IPTV System Submenu tabs manage the settings field below Settings field which is based on the user select The field is dedicated to view device settings and setting configuration data Configuration management buttons the detailed description is given in section Applying configuration and discarding changes Information...

Page 20: ...ectiveness of the use of a modulation by the device on the transmission It is calculated based on the number of packets transmitted on each modulation and the reduction factors The maximum value is 100 means that all packets are transmitted at maximum modulation for the maximum nss type supported by the device The minimum value is 2 in the case when the packets are transmitted to the modulation ns...

Page 21: ...rent network mode of the radio interface WDS MAC address MAC address of the opposite device Client Name network name of the opposite device IP address IP address of the opposite device Link Capacity parameter that reflects the effectiveness of the use of a modulation by the device on the transmission It is calculated based on the number of packets transmitted on each modulation and the reduction f...

Page 22: ...ission Mbps RxRate channel data rate of receiving Mbps 5 1 3 The Ethernet ports submenu You may view Ethernet ports state in the Ethernet Ports submenu State Port port name LAN local network port Connection port connection state On network device is connected to the port connection is active Off network device is not connected to the port connection is inactive Speed speed of the external network ...

Page 23: ... IP Address IP address asigned to client from address pool Lease Expires the period after which the lease of the dedicated address expires To obtain current information on DHCP clients click the Refresh button 5 1 5 The ARP submenu You may view ARP table in the ARP submenu ARP table contain information on IP and MAC addresses mapping ARP Table IP address the device IP address MAC address the devic...

Page 24: ...imeout time since the last packet from the server is received You can also see information about the MAC address of the client and server 5 1 7 The PPPoE Client submenu On the page you can see information about the MAC address and the IP address of the client and server The Status parameter displays the session state whether session is active or inactive The PPPoE Relay submenu is only available i...

Page 25: ...ice info Product device model name Firmware Version device firmware version Factory MAC Address device WAN interface MAC address setted by manufacturer Serial Number device serial number setted by manufacturer System Time current time and date setted in system Uptime the time since the last turn on or restart of the device ...

Page 26: ...interface In order to maintain high performance of the WEB interface the maximum number of connections shown is limited to 1024 You may view other connections through the device console Connections List Protocol protocol by which the connection has been established Source Address connection initiator IP address and port number Destination IP connection destination IP address and port number Timeou...

Page 27: ...he routing table in order to exclude redirection of the following packets intended for the same destination М means that the route was modified likely by a dynamic routing protocol running on a local system with the mod parameter applied А points to a buffered route to which an entry in the ARP table corresponds С means that the route source is the core routing buffer L indicates that the destinat...

Page 28: ...twork settings in the Network menu 5 2 1 The Internet submenu In Internet submenu you may configure parameters to connect to a base station via Wi Fi and select connection mode Wi Fi Client mode Hostname a name of the network device Device mode a mode of device connection ...

Page 29: ...eless network is off low security WEP WEP encryption WEP key should consist of hexadecimal digits and be of 10 or 26 symbols lenght or it might be a string a z A Z 0 9 _ symbols with lenght of 5 or 13 symbols The mode is hidden in the web interface WPA WPA2 WPA and WPA2 authentication The key lenght is from 8 to 63 symbols Only the following characters can be used a z A Z 0 9 _ or space It is reco...

Page 30: ...ization of priority from the DSCP field of IP packet header 802 1p enables analization of priority from the CoS Class of Service field of tagged packets Protocol select protocol for connection of the device via Wi Fi interface to service provider network Static operation mode where IP address and all the necessary parameters for WAN interface are assigned statically If Static is selected the follo...

Page 31: ...address in the provider network Netmask set subnet mask of device s WAN interface in service provider network Default gateway address where the packet will be sent to when route for it is not found in the routing table Primary DNS Secondary DNS DNS IP address if DNS addresses are not automatically assigned via DHCP you should defined them manually Disable sender address translation available in ro...

Page 32: ...ffic of this VLAN will go to the client without a tag When traffic flows in the opposite direction untagged traffic will be tagged with General VLAN ID General VLAN ID VLAN identifier General 802 1P 802 1P attribute also called CoS Class of Service which is attached to egress packets transmitted from this interface The value is from 0 the least priority to 7 the highest priority Transparent mode w...

Page 33: ... Gateway address to which a packet will be transmitted in case the route has not been found in the route table Use Internet VLAN when checked the VLAN is enabled to transmit user traffic Internet VLAN ID VLAN identifier Internet 802 1P 802 1P attribute also called CoS Class of Service which is attached to egress packets transmitted from this interface The value is from 0 the least priority to 7 th...

Page 34: ...ers of WAN interface are set statically manually If Static is selected the following parameters will be available to set External IP address specify device WAN interface IP address in the provider network Netmask set subnet mask of device s WAN interface in service provider network Default Gateway address to which a packet will be transmitted in case the route has not been found in the route table...

Page 35: ...ork will be performed Static operation mode where IP address and all the necessary parameters for WAN interface are assigned statically If Static is selected the following parameters will be available to set WAN IP set IP address of WAN interface of the device in service provider network Netmask set subnet mask of device s WAN interface in service provider network Default gateway address where the...

Page 36: ... is used to access the device Management 802 1P 802 1P attribute also called CoS Class of Service which is attached to egress packets transmitted from this interface The value is from 0 the least priority to 7 the highest priority Management VLAN Access restrict access to the management network Possible values Ethernet and wireless access to the management network is possible from the wireless and...

Page 37: ...l bandwidth on which the radiointerface operates The parameter may take values from 5 10 20 and 40 MHz according to selected mode Fixed center frequency when the flag is checked all traffic data and management packets will be transmitted on the specified center channel frequency with a given bandwidth 40 MHz The function is proprietary the transmission is not carried out according to IEEE 802 11 s...

Page 38: ...ms beacon frames transmission period The frames are sent to detect access points The parameter takes values from 20 to 2000 ms by default 100 ms Aggregation enable support for AMPDU AMSDU Short Guard interval support for shortened guard interval 400 ns interval is used instead of 800 ns STBC Soace Time Block Coding method dedicated to improve data transmission reliability When checked the device t...

Page 39: ...able when cheked a local DHCP server is enabled otherwise the server is disabled Start IP address the initiate address of the IP addresses pool Pool size number of addresses in the pool Lease time min set the maximum time range for using an IP address assigned by DHCP server lease time is set in minutes To apply a new configuration and store settings into the non volatile memory click the Apply bu...

Page 40: ...s of the device s WAN interface Wireless transparent bridge When you enable Wireless transparent bridge WB 2P LR2 will not substitute client MAC addresses from LAN with own MAC address The limit is 15 MAC addresses without substitution When the value is exceeded client s MAC address will be substituted The section of connected clients on a base station will include MAC addresses of client devices ...

Page 41: ... nodes names hosts and their IP addresses Configuring nodes To add the address into the list click the Add button in the New domain name window and fill in the following fields Domain name host name IP Address IP address of the host Press Apply to create concordance IP adrress domain name To discard changes click the Cancel button To delete an entry from the list select corresponding checkbox and ...

Page 42: ...gs menu allows to set rules which permit packets transmission from external network to specified address in a local network i e to establish connection Port forwarding is also necessary when using torrent and p2p services To implement the configuration find TCP UDP ports used by torrent or p2p clients in settings and set them for corresponding port forwarding rules to a PC IP address NAT rules To ...

Page 43: ... Destination Ports of WAN field and having source address defined in WAN IP address field if the field is empty source IP does not consider undergoes address and Destination port substitute with the parameters defined in LAN IP Address and Destination Ports of LAN fields respectively Click Apply to create concordance IP adrress domain name To discard changes click Cancel To delete an entry from th...

Page 44: ... g 192 168 16 0 24 or 192 168 16 0 255 255 255 0 to set addresses range the subnet mask entry 24 coincides with 255 255 255 0 entry Protocol packet protocol that will fall under this rule TCP UDP TCP UDP ICMP any Action action to be performed on packets reject skip When TCP UDP TCP UDP protocols are selected the following settings will be available to configure Source ports the list of source port...

Page 45: ...ss of destination host or subnet that the route should be established to Netmask a subnet mask A subnet mask for a host is set to 255 255 255 255 value for a subnet depending on its size Gateway gateway IP address that allows for the access to the Destination IP To apply a new configuration and store settings into the non volatile memory click the Apply button To discard changes click the Cancel b...

Page 46: ...ble D DNS when selected D DNS service is enabled the following settings will be available for editing D DNS provider name select one of the available providers User name user name used to access D DNS server account Password password used to access D DNS service account Domain name 0 9 you may register up to 10 domain names usually only one is required The update of data on IP address of the devic...

Page 47: ...T format Trap2Sink IP address or domain name of SNMPv2 trap message recipient in HOST COMMUNITY PORT format InformSink IP address or domain name of Inform message recipient in HOST COMMUNITY PORT format Sys Name device name Sys Contact device vendor contact information Sys Location device location information Trap community password enclosed in traps default value trap The list of objects which ar...

Page 48: ... of time Renew Subscription Interval s active IPTV channel list messages sending period in seconds Set the value of interval less than interval timeout of higher server signals translation disabling Fast leave mode Enable when checked the option for fast exit from the multicast group is enabled The function is not recommended when more than one multicast traffic receiver is used HTTP Proxy Setting...

Page 49: ... is 1234 and you need to playback 227 50 50 100 channel broadcasted to UDP port 9000 set stream address for VLC programm in the form of http 192 168 0 1 1234 udp 227 50 50 100 9000 To apply a new configuration and store settings into the non volatile memory click the Apply button To discard changes click the Cancel button ...

Page 50: ...ble when selected automatic daylight saving change will be performed automatically within the defined time period DST Start day and time when daylight saving time is starting DST End day and time when daylight saving time is ending DST Offset minutes time period in minutes on which time offset is performing Enable NTP check if it is needed to enable device system time synchronization from a certai...

Page 51: ...ace via SSH default is 22 You may use Telnet and SSH protocols in order to access the command line Linux console Access to Internet service This section allows or denies access to the device with separate rules for local and external networks router mode For this you need to set the following permissions Web HTTP when selected the WAN port connection to the device WEB configurator is enabled via H...

Page 52: ...The Log submenu The Log submenu is designed to configure the output of various kinds of debugging messages of the system in order to detect the causes of problems in the operation of the device Debug information may be provided by the following device firmware modules Networkd Log deals with the device configuration according to the configuration file Configd Log deals with the configuration file ...

Page 53: ...d Log Error check if it is needed to output Error type messages Warning check if it is needed to output Warning type messages Debug check to collect debug messages Info check to collect information messages Syslog settings If there is at least a single log Networkd Log or Configd Log configured for Syslog output you should enable Syslog agent that will intercept debug messages and send them to a r...

Page 54: ...e any settings full device status monitoring A viewer password by default viewer has rights to view configuration and device monitoring data Viewer is not permitted to change settings Administrator Password type administrator password and confirmation in corresponding fields Viewer password enter user password in the corresponding field and confirm it To apply a new configuration and store setting...

Page 55: ...on will be applied automatically and does not require device reboot To change the passwords open the configuration file in text editor and change passwords Then save the changes in configuration archive The example of password changing is shown below Passwords AdminPassword encrypted 7C607178736B7465 ViewerPassword encrypted 7A68677C6176 changes to Passwords AdminPassword password ViewerPassword p...

Page 56: ...t allows you to make a backup version of the firmware active this will require a reboot of the device The active firmware version will not be set as a backup You may update the device firmware manually by downloading the firmware file from the web site http eltex co com support downloads and saving it on the computer To do this click the Select file button in the Software update file field and spe...

Page 57: ...based autoprovisioning algorithm and subscriber device automatic configuration protocol TR 069 DHCP based Autoprovisioning Provisioning Mode select a mode for automatic device update The followings are available Disabled automatic update of configuration and firmware is disabled Configuration and Firmware periodical configuration and firmware update is permitted Configuration only only periodical ...

Page 58: ... this period If 0 is set update of the device will be implemented once right after reloading of the device More detailed information on the algorithm see in section DHCP based auotoupdate algorithm Autoconfiguration via TR 069 Common Enable TR 069 Client when checked the operation of embedded TR 069 client is enabled otherwise it is prohibited ACS Server Address autoconfiguration server address Th...

Page 59: ... Port UDP port of STUN server the value by default is 3478 Minimum keep alive period s and Maximum keep alive period s define the time interval in seconds for periodic transmission of messages to STUN server for public address discovery and modification If Manual mode is selected the client s public address is set manually via the NAT Address parameter the address must be entered in IPv4 format Th...

Page 60: ...exchange services on a network Enable UPnP when checked UPnP is enabled otherwise disabled Reserved VLAN ID Reserved VLAN ID the list of service VLANs which are used for for solving intrasystem tasks Start VLAN ID starting VLAN ID value in the reserved range End VLAN ID ending VLAN ID value in the reserved range When Use Management VLAN is checked and Management VLAN configured incorrectly there i...

Page 61: ... browser 192 168 1 1 by default if address was not obtain via DHCP When connection is established successfully the window with Login and password fields will be displayed Fill the filds and click Log in By default login admin password password If the window is not displayed make sure that the PC and the device are in the same network ...

Page 62: ...igure conection to a base station Specify SSID of the wireless network you want to connect to in the corresponding field Select security mode through which authentication in the selected wireless network is implemented and specify the key if using an encrypted network After clicking on the Apply button the subscriber station will search for the specified SSID on the air and upon detection will att...

Page 63: ... in the console root WB 2P LR2 spectrum analyzer Spectrum analyzer scanning in progress root WB 2P LR2 root WB 2P LR2 spectrum analyzer result start dump config node Monitoring Network SpectrumAnalyzer name 1 value 13 name 2 value 21 name 3 value 1 name 4 value 3 name 5 value 20 name 6 value 76 name 7 value 9 name 8 value 3 name 9 value 3 name 10 value 10 name 11 value 28 name 12 value 22 name 13 ...

Page 64: ...to be downloaded domain name or IPv4 path to file path to file on the server You may use the following macro in URL reserved words substituted with the specific values MA MAC address instead of this macro the device inserts its own MAC address in the file URL SN Serial number instead of this macro the device inserts its own serial number in the file URL PN Product name the macro is substituted wit...

Page 65: ...o or 66 TFTP server and 67 Boot file name thus address obtaining via DHCP should be enabled for the Internet service DHCP option format and analysis will be provided below If URL parameters are not provided by DHCP options default parameters values will be used For protocol tftp For a server address update local For a configuration file name WB 2P LR2 cfg For a firmware file name WB 2P LR2 fw Opti...

Page 66: ...at is used when configuration is saved from the web interface in the System Configuration management tab Configuration downloaded from the server will be applied automatically and does not require device reboot Special aspects of firmware updates The firmware file must be in the tar gz format When the firmware file is loaded the device unpacks it and checks its version using version file in tar gz...

Page 67: ...e linux bin file from the unpacked software archive for transfer Run the command to send a file to a remote host the Put command The process of file transmission will be launched If the transmission has started please wait for finishing The device will write the firmware to its memory and launch the system automatically The time of writing takes approximately 8 minutes If the process is completed ...

Page 68: ...er script script sh In this case after the device started file script sh which is kept in the catalogue having 192 168 0 250 address will be automatically loaded via HTTP from the defined server Then it will be launched Launch from TFTP server To launch a script from TFTP server enter the entire path to the file in TFTP URL format to URL parameter URL tftp 192 168 0 250 user script script sh In th...

Page 69: ...WB 2P LR2 User manual 69 11 Application B Antenna patterns The pattern of vertically polarized antenna The pattern of horizontally polarized antenna ...

Page 70: ...ges Document version Issue date Revisions Version 1 1 07 04 2020 Synchronization with firmware version 2 4 0 Added 4 4 Test changes mode Changes in sections 5 2 1 The Network Internet menu Version 1 0 06 11 2019 First issue Firmware version 2 4 0 ...

Page 71: ...sibirsk Russian Federation 630020 E mail techsupp eltex co ru You are welcome to visit ELTEX official website to get the relevant technical documentation and software for ELTEX products or consult a Service Center Specialist on our technical forum https eltex co com https eltex co com support downloads http forum eltex co ru ...

Reviews: