- Feb 09, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Added ZyXEL SFPs to database (not yet fully tested for synch) These SFPs are used in Btrain, if not in database, SNMP shows critical error
-
-s option for that
-
Adam Wujek authored
Don't reset ports when help is wanted in wr_phytool. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Feb 05, 2016
-
-
Adam Wujek authored
HAL didn't read "fiber=" parameter of port from the dot-config 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
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Feb 03, 2016
-
-
Adam Wujek authored
When running make menuconfig from /wr/etc, mconf was crashing when dialog box in the style of radiolist was displayed and special keys (like arrow keys) were pressed. Crash was due to assetion in function toupper from uClibc. Function to upper should return unchanged value if passed parameter is not alpha. However, uClibc's implementation behaves in the different way, it asserts. After assert following message was printed: (./mconf: libc/misc/ctype/ctype.c: 320: toupper: Assertion `((((unsigned int)((c) - 0)) <= ((127 * 2 + 1) - 0)) || ((c) == (-1)))' failed. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jan 29, 2016
-
-
Grzegorz Daniluk authored
-
- Jan 08, 2016
-
-
Adam Wujek authored
Print information about performed dot-config check and source of dot-config. Information about potential problems in dot-config can be easily lost among all printouts during the boot. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
this feature is useful for Btrain guys who want to see whether their frames are sent and delivered where needed
-
Adam Wujek authored
Create script which can be filled with vlans' configuration
-
Adam Wujek authored
So far there are no VLANs configured in this script, but it is good start. When one needs can populate this sctipt on his/her own. NOTE: VLANs should be configured before any other traffic is allowed. This is done by previous commits. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jan 07, 2016
-
-
Adam Wujek authored
Switching is enabled when interfaces are up. Bringing up interfaces is delayed to be able to configure VLANs first. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Delay bring up of wr interfaces to be able to configure VLANs first. Otherwise some network traffic can be passed befre VLANs are configured corectly. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Retry connecting to the RTUd mini-rpc server. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Set-up VLAN related registers during driver load instead of during opening (bringing up) interfaces. From now VLANs can be configured after loading the driver, but before bringing up of interfaces. By this no switching is done without VLANs beeing configured. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Dec 03, 2015
-
-
Adam Wujek authored
compile and copy needed mconf used by make menuconfig Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Nov 09, 2015
-
-
Adam Wujek authored
Support assembling dot-config's URL from DHCP options: --the filename --the BOOTP next server option In this case TFTP protocol is used. It is similar to the pxe booting. Also update documentation. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Don't run DHCP's default script (/usr/share/udhcpc/default.script) when getting URL to the dot-config via DHCP. When the script was run, then the IP address was set but not the default routes. Now just get URL via DHCP, setting IP is done by running script /etc/init.d/network from /etc/init.d/dot-config or from rcS. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Sep 08, 2015
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
There was a wrong OID set in show-pstats script Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 31, 2015
-
-
Adam Wujek authored
SNMPd bugfixes
-
Adam Wujek authored
t_n_rows (n_rows before) has to be local for table. Having it global sometimes caused to print wrong number of rows in tables. This bug may even cause snmpd to crash. It was dependent on the call order of *_data_fill funtions. Change the n_rows into t_n_rows, since the usage of n_rows variable is common in the snmp code. By this avoid potential errors like variable overleaping problems. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Get the worst value not the last. Move copying of data into prev outside loops. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
When wrsPTPStatus can only be updated when both ptp_data and spllStatus are updated. Otherwise spllStatus changes may cause wrong delta calculation in get_wrsPTPStatus function. In this case prev data is the same as current, which may produce false error. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
There was a bug in wrsTimingStatus_data_fill that even if not all of the wrsPtpDataTable_data_fill, wrsSpllStatus_data_fill or wrsPortStatusTable_data_fill were updated all objects in the wrsTimingStatusGroup were updated. As a side effect it may happen that all prev_ values were compared with exactly the same set of data (since there was no update in particular data). By this delta were zero and wrong value was set. The bug may be hit when snmp requests rate is lower than snmpd's cache timeout. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 28, 2015
-
-
Adam Wujek authored
Before at the beginnig of the hwinfo script, hwinfo_error was written to the status file. Then if there was success or warning then update was written to status file. Snmpd could read error even there was no error. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Try again when read error from file Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Grzegorz Daniluk authored
-
- Aug 27, 2015
-
-
Adam Wujek authored
Up eth0 before trying to get URL to dot-config via DHCP (needed when switch start without IP address) fix missing "CONFIG_" in CONFIG_DOTCONF_SOURCE_LOCAL run /usr/share/udhcpc/default.script when getting URL to dot-config to get IP address to avoid another DHCP requests just to get IP. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
By this avoid log entires during normal startup: snmpd[1138]: wrsPortStatusTable_data_fill: Unable to read PPSI's shmem Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
- Aug 26, 2015
-
-
Adam Wujek authored
add: --CONFIG_ROOT_PWD_CLEAR --CONFIG_PTP_REMOTE_CONF Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add commit: increase Announce rcv timeout to 20 - workaround for the WRS Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-