- Sep 23, 2016
-
-
Adam Wujek authored
PHP code of the web interface was updating values of "upload_max_filesize" and "post_max_size" in the /etc/php.ini. Besides it is extremely bad idea to do that, such changes to take place require restart of lighttpd, which was never performed. Luckily after the update of /etc/php.ini it was also copied to flash at the location /usr/etc/php.ini. Because of this update via webinterface worked only when: --firmware.php was opened via web browser --restart of a switch was performed The fix contains a patch to set these values in the php.ini and remove the update of php.ini by php code. Set maximum upload limit size to 30M in php.ini. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Following changes were made in this commit: --Add quotas to the arrays in the file var/www/data/wrs-data.php --Change CONFIG_PORT00_PARAMS to CONFIG_PORT01_PARAMS in the var/www/endpointcalibration.php. It looks like it was missed during interface renaming. --Change "file" into "firmware" in the firmware input form --Remove the help when mouse hovers over the form. The help wasn't filled anyway (remove title="'.$row["help"].). --fix part of the shell_exec command: awk '{print $NF}' escape the $ --use index 0..5 in the sfpcalibration.php --remove unlink after calling "rename" function Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Sep 05, 2016
-
-
Adam Wujek authored
Implement [Feature: 1363] support of a custom script to be run at boot
-
Adam Wujek authored
Add the following objects to wrsBootStatusGroup: --wrsCustomBootScriptSource --wrsCustomBootScriptSourceUrl --wrsCustomBootScriptStatus Update wrsOSStatusGroup.wrsBootSuccessful to use information from the above objects. Update wrs_failures Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
This will allow users to have special configuration (that is not possible to achieve by just using dot-config) without a need to manually handle custom script. The script can be used from /wr/bin/custom_boot_script.sh or downloaded during the boot. It is not possible to execute a script which was downloaded during the previous boot. But a script can be written in such way to copy itself to /wr/bin/custom_boot_script.sh. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add a minipc calls added at commits: [Feature: 1055] userspace/tools: add unrec command to rtu_stat [Feature: 1055] userspace/tools: add learning command to rtu_stat Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
no technical change Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 31, 2016
-
-
Adam Wujek authored
Use default hostname "wrs" when CONFIG_HOSTNAME_STATIC = y, but CONFIG_HOSTNAME_STRING is not defined. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 30, 2016
-
-
Adam Wujek authored
Length should be 128, not 64. Bug introduced by: a51052af userspace/snmpd: remove protocol from wrsConfigSource object Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Improve documentation of throttling's settings in the dot-config. In the wrs-user-manual and in the Kconfig. Supplements: Merge branch 'greg-throttling' Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Allow to specify hostname in the dot-config URL and in PPSI URL. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Before, some were without @t{}, some used @i{}. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It is much more readable to have "port X" than "further port" in the Kconfig. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--add struct shw_sfp_header sfp_header_raw to the struct hal_port_calibration. --Increase HAL_SHMEM_VERSION to 9 due to the above --add a parameter to the wrs_sfp_dump to dump eeprom directly from the SFP or saved data from HAL Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
stop explicitly snmpd before reboot to avoid messages: Jan 1 00:54:23 snmpd[1290]: read_config_store open failure on /var/lib/snmp/snmpd.conf Otherwise snmpd was stopped after unmount of filesystems. Stop monit to avoid possible respawn of processes during shutting down. remove "null" from the line in /etc/inittab null::shutdown:/etc/init.d/rcK to get printouts to the console. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
The change of parameter names was done due to change of interfaces names (from wrX to wriX+1) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Changes: --add edges of table --change colors parameters --print proto and extenstion (collumn "Pro") Everything except many configured vlans should fit into 80char terminal Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It looks like this script was forgotten when changing names of interfaces from wrX to wriX+1 Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
add the follwing fields to the wrs_dump_shmem: --struct pp_instance: --t5 /* *the* stamps */ --t6 /* *the* stamps */ --t4_cf /* peer delay */ --t6_cf /* peer delay */ --struct wr_servo_state: --t5 --t6 remove: --struct pp_instance: --log_min_delay_req_interval modify: --struct pp_instance: --role from unsigned char to int --proto from unsigned char to int Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 22, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 15, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 12, 2016
-
-
Adam Wujek authored
Bug introduced in the commit: userspace/libwr: move defines of rtu entry type to libwr Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Move files from /wr/etc (flash) to /etc (ramdisk) to avoid flash writes. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Keep modified snmpd.conf in /etc not in /wr/etc. There is no need to keep it in the flash instead of ramdisk. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Keep created ppsi.conf in /etc not in /wr/etc. There is no need to keep it in the flash instead of ramdisk. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
don't copy rsyslog.conf to the flash Copying rsyslog.conf to the /usr/etc/rsyslog.conf didn't work anyway because of the bug in the function copy_conf Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Keep created wr_date.conf in /etc not in /wr/etc. There is no need to keep it in the flash instead of ramdisk. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Description was outdated because ppsi config is generated based on the PORTXX_PARAMS not TIME_XX. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 11, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add a tool to control Rx bandwidth throttling of the traffic that goes from WR ports to Linux. It configures the FPGA module with a maximum allowed bandwidth in KB/s. Throttling can be enabled to prevent Linux using 100% of the processing power to receive Ethernet frames coming from WR ports to the CPU. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
An alternative to "set -o pipefail" in the userspace/rootfs_override/etc/init.d/wrs_auxclk.sh is ${PIPESTATUS[0]}, but this is a bashism. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
B/W throttling requires bitstream synthesized at least from commit 8f10817 of the wr-switch-hdl repository.
-