- Jul 21, 2014
-
-
Alessandro Rubini authored
Every other place calls the file wr_date.conf. userspace/tools/wr_date.c will open the config file (it does not, currently) but the name is different. So we fix the executable and leave the rest as it is, since it works: documentation matches S70wr_date and use of .config for build-time settings. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jul 17, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Thanks to Cesar Prados for finding the problem Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jul 10, 2014
-
-
This picks a new ppsi, which is needed for several reasons. We have been using it for a while now, so it's a safe upgrade. Being ppsi a Kconfig thing itself, we now need to make wrs_defconfig first. Also, the new ppsi.h defines INST which is pre-defined by net-snmp, so include ieee1588_types.h alone, as we only need ClockIdentity by now. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This fills the information by parsing the output of "wr_mon -g" and "wr_mon -p". Parsing is data-struct driven, and the strings must match the one printed by wr_mon. If they don't a log message is generated: 18:02:54 192 snmpd[1468]: wrs_ppsi_parse_line: can't find key "seource:" To test, you can export WRS_SNMP_MON_FNAME and WRS_SNMP_MON_FNAME_P to name two text files that can be opened instead of a pipe from wr_mon. A problem with COUNTER64 remains, but it is a bug in netsnmp. See next commit. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This is needed if for example it is called in a pipe that is then closed. meanwhile, remove trailing white space. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Version items are now fake strings, as I still miss the code that reads if from the device. But they work, and the mib is updated: tornado% snmpwalk -c public -v 2c -m +`pwd`/WR-SWITCH-MIB.txt wrs \ .1.3.6.1.4.1.96.100.4 WR-SWITCH-MIB::wrsVersionSw.0 = STRING: fake-v4.0-rc1 WR-SWITCH-MIB::wrsVersionGw1.0 = STRING: fake-7cce708 WR-SWITCH-MIB::wrsVersionGw2.0 = STRING: fake-5118070 WR-SWITCH-MIB::wrsVersionGw3.0 = STRING: fake-7efeb16 WR-SWITCH-MIB::wrsVersionHw1.0 = STRING: fake-3.30 WR-SWITCH-MIB::wrsVersionHw2.0 = STRING: fake-LX240T Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
thanks to greg for a 1-byte fix I squashed here Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jul 07, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This is a squash-up of the whole netsnmp-pain branch, that I kept on the repository, so to document the steps. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
I want to keep this scalar thing in place as a minimal working thing. However, to rename an object I need to redo everything from scratch. No comment on the quality of this all. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jun 27, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jun 24, 2014
-
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This brings everything into /etc/init.d/wrs-boot-procedure that is executed as a "sysinit" task, before anything else. The procedure runs from the initrd/initramfs and is concerned with the complete update of the device, if an update is pending. See documentation (next commit) for details about partitions and boot procedure. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
pass WRS_VERBOSE=y on the kernel command line to make it verbose. No damaga done, but useful in checking the boot sequence. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jun 21, 2014
-
-
In our case the name of the switch is its IP address of eth0 interface. Without this option enabled, only the first octet is reported to remote log server (e.g. 192)
-
- Jun 19, 2014
-
-
Grzegorz Daniluk authored
-
- Jun 13, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jun 12, 2014
-
-
Alessandro Rubini authored
open returns -1 on error, not 0 mmap returns -1 on error, not NULL Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-