Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Automatically translated by Lango

* No longer available

When a tab hub (not mini) does not come online, you might be requested to manually update the hub firmware on site (please ALWAYS discuss with Spacewell Hardware Manager before doing this).

If you cannot go on site, it's best to set up a technical call with someone that has physical access to the hubs and where we can take over the pc.

Note: these settings are not persistent, if a hub is physically reset (reset button pushed for 10+ sec) the settings needs to be applied again

Summary

...

Nicht mehr verfügbar

Wenn ein Tab-Hub (nicht mini) nicht online geht, kann es sein, dass Sie angefragt werden, die Hub-Firmware manuell vor Ort zu aktualisieren (bitte IMMER besprechen Sie dies vorher mit dem Spacewell Hardware Manager).

Wenn Sie nicht vor Ort sein können, vereinbaren Sie am besten einen technischen Anruf mit jemandem, der physischen Zugang zu den Hubs hat und wo wir den PC übernehmen können.

Hinweis: Diese Einstellungen sind nicht dauerhaft, wenn ein Hub physisch zurückgesetzt wird (Reset-Knopf für 10+ Sekunden gedrückt), müssen die Einstellungen erneut übernommen werden.

Zusammenfassung

  1. Stellen Sie sicher, dass Sie Putty installiert haben https://www.putty.org/

  2. Connect your pc via ethernet to one of the black ethernet ports

  3. Copy firmware image and scp to Hub ( Frimeware image is available in the TEAMS Cobundu Sharepoint channel )

  4. Run the update

  5. Set CUPS MTUN and TC uri information

  6. Disconnect PC from ethernet cable

! whenever there is a blanc space in below instructions, please use the space in the tools described

Detailed steps

  1. Make sure you have putty installed Schließen Sie Ihren PC über Ethernet an einen der schwarzen Ethernet-Anschlüsse an.

  2. Kopieren Firmware-Image und scp zum Hub (das Frimeware-Image ist im TEAMS Cobundu Sharepoint-Kanal verfügbar)

  3. Führen Sie die Aktualisierung durch

  4. CUPS MTUN und TC uri Informationen einstellen

  5. Trennen Sie den PC vom Ethernet-Kabel

! Wenn in den folgenden Anweisungen ein Leerzeichen steht, verwenden Sie bitte das Leerzeichen in den beschriebenen Werkzeugen

Detaillierte Schritte

  1. Stellen Sie sicher, dass Sie Putty installiert haben https://www.putty.org/
    Connect your pc via ethernet to one of the black ethernet ports

    Copy firmware image and scp to Hub

  2. Open command prompt (cmd)

  3. Go to the firmware folder cd …


  4. Schließen Sie Ihren PC über Ethernet an einen der schwarzen Ethernet-Anschlüsse an.

  5. Firmware-Image und scp auf Hub kopieren

    1. Öffnen Sie die Eingabeaufforderung (cmd)

    2. Wechseln Sie in den Firmware-Ordner cd .../1.29.01/ (copy the whole path of where you have extracted the firmware; make sure to type kopieren Sie den gesamten Pfad, in den Sie die Firmware extrahiert haben; geben Sie unbedingt cd + blanc + use "...")

    3. typeTyp: scp  scp * root@192.168.66.1:/mnt/data/tracknet

      1. if you encounter an error, check Falls ein Fehler auftritt, überprüfen Sie 3.f (may require removing existing fingerprints from ssh file)

    4. type yes to add the ssh fingerprint to the known hosts (typing in cmd will not show, just type "yes" (even if you cannot see it) and confirm by pressing enter)

    5. Password: tracknet (typing in cmd will not show, just type "tracknet" (even if you cannot see it) and confirm by pressing enter)

      Image RemovedWait until firmware.img has loaded to 100%
    6. Note: may require removing existing fingerprints from ssh file when encountering this error: (see step 5.a)

      Image Removed

    Run the update

    1. open putty

    2. ssh into the unit
      1. möglicherweise müssen Sie vorhandene Fingerabdrücke aus der ssh-Datei entfernen)

    3. Geben Sie "yes" ein, um den ssh-Fingerabdruck zu den bekannten Hosts hinzuzufügen (die Eingabe in cmd wird nicht angezeigt, geben Sie einfach "yes" ein (auch wenn Sie es nicht sehen können) und bestätigen Sie mit der Eingabetaste)

    4. Passwort: tracknet (die Eingabe in cmd wird nicht angezeigt, geben Sie einfach "tracknet" ein (auch wenn Sie es nicht sehen können) und bestätigen Sie mit der Eingabetaste)

      Image Added


      Warten Sie, bis die Datei firmware.img zu 100% geladen ist.

    5. Hinweis: Wenn dieser Fehler auftritt, müssen Sie möglicherweise vorhandene Fingerabdrücke aus der ssh-Datei entfernen (siehe Schritt 5.a).

      Image Added
  6. Führen Sie die Aktualisierung durch

    1. offener Kitt

    2. ssh in das Gerät (ssh root@192.168.66.1): enter Geben Sie "192.168.66.1" in the Host Name field and press "Open" button

      Image Removed
    3. if below warning pops-up, accept

      Image Removed
    4. login as root

    5. Password:tracknet

      Image Removed

      das Feld "Hostname" ein und drücken Sie die Schaltfläche "Öffnen".

      Image Added
    6. wenn die folgende Warnung erscheint, akzeptieren

      Image Added
    7. Anmeldung als root

    8. Kennwort:tracknet

      Image Added
    9. cd /mnt/data/tracknet

      Image Removedmake file executable Image Added
    10. Datei ausführbar machen "chmod +x doupdate.sh"

    11. Run Ausführen von "./doupdate.sh"

      Image Removed(device will run the update and rebootImage Added
    12. (Gerät führt das Update aus und startet neu) = "Network ErrorNetzwerkfehler: Software caused connection abortverursachte Verbindungsabbruch"

    13. close cmd and und putty schließen

  7. Set CUPS MTUN and und TC uri information

    Remove the ssh fingerprint from your pcs config file

  8. Go to the .ssh folder of your user

    Image Removed
  9. Open the known_hosts file

  10. Delete the record for the hub (line starting with

    Informationen einstellen

    1. Entfernen Sie den ssh-Fingerabdruck aus der Konfigurationsdatei Ihres PCs

      1. Wechseln Sie in den .ssh-Ordner Ihres Benutzers

        Image Added
      2. Öffnen Sie die Datei known_hosts

      3. Löschen Sie den Eintrag für den Hub (Zeile, die mit 192.168.66.1 beginnt)

      4. Save the file

      Open command prompt
      1. Speichern Sie die Datei

    2. Öffnen Sie die Eingabeaufforderung (cmd)

    3. Go to the bootstrap folder cd …Wechseln Sie in den Ordner bootstrap cd .../bootstrap/

    4. scp  scp * root@192.168.66.1:/etc

    5. type yes to add the ssh fingerprint to the known hosts

    6. Password: tracknet

    7. open putty

    8. ssh into the unit Geben Sie yes ein, um den ssh-Fingerabdruck zu den bekannten Hosts hinzuzufügen

    9. Kennwort: tracknet

    10. offener Kitt

    11. ssh in das Gerät (ssh root@192.168.66.1)

    12. Edit file Datei bearbeiten (nano /mnt/data/config/mfg)

      Image Removedthis will open below screen
      Image Removed

      Modify tcuri to Image Added


      Es öffnet sich folgender Bildschirm

      Image Added

      1. Ändern Sie tcuri in 

        1. EU: 'ws://spacewell.eu1.cloud.thethings.industries:7000'

        2. US:   'ws://spacewell.nam1.cloud.thethings.industries:7000'
          (mind that in Putty, you can only move with your arrow keys (as if you don't have a mouse) and not use your number pad)

        Remove option cupsuri
        1. Beachten Sie, dass Sie sich in Putty nur mit den Pfeiltasten bewegen können (als ob Sie keine Maus hätten) und nicht mit dem Nummernblock)

      2. Option cupsuri entfernen 'https://cups2.trackio.ch:8888'

      3. Save and exit the file Speichern und Beenden der Datei (ctrl + x)

    13. Edit file Datei bearbeiten (nano /mnt/data/config/reverse-ssh)

      Image Removed

      Modify server to Image Added

      1. Den Server auf 'mtun.cobundu.com' Save and exit the file ändern

      2. Speichern und Beenden der Datei (ctrl + x)

    14. Edit file Datei bearbeiten (nano /etc/init.d/mtuns)

      Image RemovedIn the last line of the Image Added
      1. Fügen Sie in der letzten Zeile des start() { } block add the following line (you might have to use the arrows to scroll down if not immediately visible; use ctrl+right click to paste into putty; make sure the text starts 4 spaces indented-Blocks die folgende Zeile ein (möglicherweise müssen Sie mit den Pfeilen nach unten scrollen, wenn sie nicht sofort sichtbar sind; verwenden Sie Strg+Rechtsklick, um den Text in Putty einzufügen; achten Sie darauf, dass der Text mit 4 Leerzeichen eingerückt beginnt):
        /usr/bin/mtuns mtun.cobundu.com $HWMODEL-$MTUNID.gw.cobundu.com 22

      2. Save and exit the file Speichern und Beenden der Datei (ctrl + x)

    15. Edit file Datei bearbeiten (nano /etc/dropbear/authorized_keys)   → (NOTE: if there is no file “authorized_keys” HINWEIS: Wenn es keine Datei "authorized_keys" in /etc/dropbear or even an oder sogar ein Verzeichnis /etc/dropbear directorygibt, use verwenden Sie stattdessen /mnt/data/s2/idu/etc/dropbear instead)

      Image Removed

      Go back to the Migration file in Windows Explorer. Copy the contents of the Image Added

      1. Gehen Sie im Windows Explorer zurück zur Migrationsdatei. Kopieren Sie den Inhalt der Datei id_cobundu.pub to the second line of this file (paste = shift + insert or use ctrl+right click to paste into putty); even though you're still at the beginning of the 1st line, the pasted line will jump to the end. Use the arrows to make sure the copy/paste action was successfulSave and exit the file in die zweite Zeile dieser Datei (Einfügen = Umschalttaste + Einfügen oder verwenden Sie Strg+Rechtsklick zum Einfügen in Putty); obwohl Sie sich noch am Anfang der ersten Zeile befinden, springt die eingefügte Zeile an das Ende. Verwenden Sie die Pfeile, um sicherzustellen, dass der Kopier-/Einfügevorgang erfolgreich war

      2. Speichern und Beenden der Datei (ctrl + x)

    16. Run “sync” command

    17. Run “reboot” command

    Disconnect PC from ethernet cable
    1. Befehl "sync" ausführen

    2. Befehl "reboot" ausführen

  11. Trennen Sie den PC vom Ethernet-Kabel