Tag Archives: Kootnet Network Testers

Network Testers Update

I was thinking about documentation when I realized I could integrate the instructions for using it, into the display itself. So to that end, I re-worked the hardware button operations.
With the initial release, each of the 4 hardware buttons was tied to a single command, with the exception of the 3rd button, which if pressed a second time, would initiate an update.
Now I have set the 4th button as a “Change Functions” button, that upon pressing will change the operations of the other 3 buttons, and at the same time, display a message on the screen for what each button does at the current function “level”. The change button currently has 3 levels it cycles through. The new button functions are as follows.
Primary Functions

  1. Run MTR tests
  2. Run iPerf 3 tests
  3. Nothing
  4. Change Button Functions

Secondary Functions

  1. System Information
  2. Standard Upgrade
  3. Development Upgrade
  4. Change Button Functions

Tertiary Functions

  1. Shutdown Remote Test Server
  2. Shutdown Local Unit
  3. Nothing
  4. Change Button Functions

With this change, I can tie more functions to the compatible Raspberry Pi hardware buttons. This should make it a much more useful mobile tool, especially when I start to add other types of tests it can run.

There are a few extra features, such as each instructional page viewed on the WaveShare display, now shows if the remote tester is Online or Offline. This same Online/Offline status is shown on the web portal as well.

The System Information page now shows the following for the ethernet and wifi adapter; Active/Inactive Status, DHCP or Static address setup and the current IP Address.

The about page now also displays the Primary Internet IP address along with the amount of free disk space in GB’s.

I also found and fixed a bug in the WaveShare display. If a button was pressed multiple times before the display finished its refresh, it would crash the display server. I fixed it by adding an “In Use” variable, and if “In Use”, any new commands will be dropped until no longer “In Use”.

I have already put the new update on the standard release channel.

Kootnet Network Testers 1.x.x Series Released

So the new version is out, tested and ready to be used! I should probably work on documentation next but we’ll see what happens.

The new version is now in the Standard release channel. Check it out and start your testing!

Kootnet Testers

I have fixed bugs, added validation checks and tested the testers. I think it’s ready to be released! However, it is 3 AM and I’m fairly tired, so I should probably look it over with rested eyes before actually releasing it.

That being said, it looks to be in good shape. There are proper error messages when the tests fail, the results should always look right on the E-Ink display due to splitting the output into a list instead of picking the exact character locations.

So … I think that’s that, the new release should be out tomorrow sometime.

Almost ready!

Kootnet Network Testers are almost done! That’s the new name I decided on because it’s already in the GitHub name. On Raspbian, TCP/IP 4 can be configured on both the Ethernet and Wireless adapters, as well as the wireless connection settings, such as SSID & passkey. There’s some more testing to do and a few bugs to fix. For one, I was able to test over the wireless network (cool!) but it showed that the MTR readings were getting cut off if more then double digits on the WaveShare display (doh!). The Web interface had no such issues and ran great.

For testing, I set static IP’s on the ethernet adapters of 2 Raspberry Pi’s (a 3 and a 4) and connected the wireless to my network. I used the wireless connections to control the 2 units through the Web Portal after connecting both their ethernet ports to a single ethernet cable. The tests ran great and I have already seen some interesting deviations of speeds, depending on a few factors like what systems are being used, cable and route. It was kinda funny to test my wireless speeds from my office, as they were mostly in the single digits.

Things are on track for an end of the month release. Besides testing and bug fixes, I also have to add a few validation checks for user input around the network configurations. I have a bunch of other ideas, but they’ll have to wait until after the initial release.

Soon!

Ethernet Tester Update

Things are going very well on the Ethernet Tester front. I might have to change the name because technically, the testers can test all kinds of networks, not just Ethernet, especially since it can install on Ubuntu, but I’ll think about that later.

So to start, I’ll list what works. For hardware, the WaveShare 2.7″ E-Ink (both versions) works well, same for the Installer Script. Some of the HTTP sections still need work, but most are operational.

  • HTTP Portal
    • Working
      • MTR / iPerf 3 Tests (Run & View)
      • Primary Configuration
      • Hardware Configuration
      • Online Upgrades
      • Power Commands (Restart + Shutdown)
    • Not Working
      • Ethernet & Wireless Configurations

The Testers automatically save every test run into text files on the computer itself, under the test_results folder in the program’s install folder (/opt/kootnet-something-or-other directory). Each text file also has half an epoch timestamp at the end, so you can figure out which was the most recent run. I’ll later be adding a section in the HTTP portal to review past results in the near future.

Here’s a picture to illustrate some of the progress on the HTTP portal.

Main page show previously run Tests. Each test was run at a different time.

Ethernet Tester Development

The Development version can now actually be installed and used with or without a display. You have to open up the configuration file manually to edit, but it’s all functional! It’s also awesome it works on Ubuntu, so you can install it on pretty much any hardware to take advantage of faster network adapters and such.

I need to work on the Flask app to allow configurations. Luckily a good portion is already done, so it won’t take to long to finish this up. After that it’s QA, refactoring and adding in documentation and such.

I have also tested this on a Pi 4, both with and without the 2.7″ E-Paper display. Both worked great!

Expect a release soon!

Kootnet Ethernet Testers Update

I have spent some decent time on the Ethernet Testers and have laid most of the foundation to get things working, including the base for supporting different (or no) displays.

The next step is setting up the configuration & testing pages in the flask app. Once that is in place, I should be able to start testing it with the original display and without any displays. If all goes well, I can start adding other display support and different configuration options.

On a side note, it was cool to get my first fork on GitHub, which was of my Ethernet testers. I should get a bit more attention to the project once I finish the updates, especially with the Raspberry Pi 4 having a 1GB ethernet port.

I expect to have a release out of the new version sometime this month.

Kootnet Ethernet Tester Enhancements

So I have thought a bit about how I want the Ethernet Tester program to work and here are a few insights into what’s to come.

For starters, I’m breaking up the program into different server “Threads”. This will allow for more modular operations. Said threads would include Display, Interactions, HTTP config + access and iperf3.
Secondly, I’m creating an HTTP server for configuration and remote results access. This combined with the ability to configure the wireless through HTTP will allow the use of devices without an actual hardware display!

The HTTP configuration pages will eventually have options to do things like customize iperf3 settings, configure unit between display & secondary server, swap between supported displays, etc.

Right now I’m working on Refactoring and creating the new foundation to support these new features. This program is MUCH smaller than my Sensor program, so I don’t expect it to take too long. That being said, I will be playing around with things to see both my options and what works best. For instance, I’m going to be including all the required python files for the supported displays so you don’t need to use pip to get them (and should remain compatible regardless of how they change things upstream).

Once I get things working, I’ll post on the Raspberry Forums.

Change of Pace

I have done a lot on Kootnet Sensors, so I thought I would shift gears a bit and look over and enhance Kootnet Ethernet Testers. I have learned a lot since I made that one, so I think it’s time to fix it up and tweak it out. I have a few ideas already but I’ll keep them to myself until I think them through.

At some point, I’ll also finish up Sensor Control on Kootnet Sensors, then release another update.

Look for a new Kootnet Ethernet Tester release soon!