- 09 Oct, 2020 22 commits
-
-
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
Now that the state machine is known to work, we'd better only report state changes. So this is the new output for the whole cycle when a fiber is plugged (including kernel messages on the console): wri3: Link up, lpa 0x41a0. device wri3 entered promiscuous mode FSM: wri3: down -> sniff device wri3 left promiscuous mode recvfrom(wri3): 0800-90e2ba456c6b FSM: wri3: sniff -> auth dev wri3, got 55 bytes so far dev wri3: vlan 31 FSM: wri3: auth -> config FSM: wri3: config -> configured While this is a port already up twhen the tool starts, in an ssh run: FSM: wri17: justup -> sniff recvfrom(wri17): 88f7-00267b0003d4 FSM: wri17: sniff -> auth dev wri17, got 185 bytes so far dev wri17: vlan 31 FSM: wri17: auth -> config FSM: wri17: config -> configured 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>
-
Alessandro Rubini authored
This commit fixes errors in pipe closing, and changes the parsing. NOTE: it also changes the identification of "self" frames. ppsi sends everything using the eth0 mac address, which is different from the wriXX port. This is hacked now by checking the first 5 bytes, but it must be fixed for real. Finally, I save both stdin and stdout that I exchange with radclient into tmp, so we can check what happened during tests. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
We'd better not daemonize, so we can use the init.d scripts of hald and other wr tools, with syslog support. 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
The full set of /etc/raddb/dictionary* is overkill, we only need a few symbols from these three files, if we run radclient. 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>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 08 Oct, 2020 1 commit
-
-
Alessandro Rubini authored
Output for the mask parameter was wrong if high bits are zero. Not exposed by default (mask is 0xffffffff). But I got VID FID MASK DROP PRIO PRIO_OVERRIDE 102 102 0x 7ffff NO -- NO Which now is 102 102 0x0007ffff NO -- NO Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 07 Oct, 2020 2 commits
-
-
Alessandro Rubini authored
This adds the git headers, so we can easily rebuild a buildroot-for-wrs tree to add more patches. This is how I do it now (where "wrs-build" and "wr-switch-sw" are at the same directory level. cd wrs-build mkdir tmp; cd tmp tar xf ../downloads/buildroot-2016.02.tar.bz2 cd buildroot-2016.02/ git init; git add .; git commit -m "buildroot-2016.02 as untarred" git am ../../../wr-switch-sw/patches/buildroot/00* mv .git ../../build/buildroot-2016.02/ cd ../../build/buildroot-2016.02 <work-here> Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
There is a monit-related problem in commit 9bc9dd16. The commit renames /etc/init.d/lldpd.sh into /etc/init.d/lldpd.bash whle adding a single stanza. Try "git diff e61eb08 9ebc5e2" to see the difference. But monit still uses the old name. Instead of changing monit (a two-liner, but adds noise because of .bash), this renames back the file to .sh and removes the needless bashism in the new stanza. Please note that calling stuff ".bash" makes no sense (suffixes make no sense most of the time!). The only thing rcS does is checking if the name is "*.sh", to just read it in the current shell instead of executing. So anything not ".sh" is executed, we don't need to special case .bash, .py or whatever. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 14 Sep, 2020 1 commit
-
-
Grzegorz Daniluk authored
-
- 28 Aug, 2020 1 commit
-
-
Michal Wasiak authored
RX LLDP frames worked without any change. Signed-off-by: Michal Wasiak <michal.wasiak@gmail.com>
-
- 13 Aug, 2020 1 commit
-
-
Kinga Wujek authored
Signed-off-by: Kinga Wujek <dev_public@wujek.eu>
-
- 11 Jul, 2020 2 commits
-
-
Kinga Wujek authored
Signed-off-by: Kinga Wujek <dev_public@wujek.eu>
-
Kinga Wujek authored
Note: --Checking of checksums was added in v5.0 of firmware --Added note about limiting the size od LLDP frame Signed-off-by: Kinga Wujek <dev_public@wujek.eu>
-
- 06 Jul, 2020 1 commit
-
-
Kinga Wujek authored
Signed-off-by: Kinga Wujek <dev_public@wujek.eu>
-
- 12 Jun, 2020 1 commit
-
-
Maciej Lipinski authored
-
- 11 Jun, 2020 3 commits
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
- 10 Jun, 2020 5 commits
-
-
Maciej Lipinski authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-