* Niet langer beschikbaar

Wanneer een tab-hub (niet mini) niet online komt, kan u worden gevraagd om de hubfirmware ter plaatse handmatig bij te werken (a.u.b. ALTIJD Bespreek dit eerst met de Spacewell Hardware Manager).

Als je niet ter plaatse kunt komen, kun je het beste een technisch gesprek opzetten met iemand die fysieke toegang heeft tot de hubs en waar we de pc kunnen overnemen.

Opmerking: deze instellingen zijn niet blijvend, als een hub fysiek wordt gereset (resetknop 10+ sec ingedrukt houden) moeten de instellingen opnieuw worden toegepast.

Samenvatting

...

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

  1. Make sure you have putty installed https://www.putty.org/

  2. Sluit je Connect your pc via ethernet aan op een van de zwarte ethernetpoortenKopie firmware-afbeelding en scp naar ethernet to one of the black ethernet ports

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

  4. De Run the update uitvoeren

  5. Set CUPS MTUN en and TC uri informatie instellen

  6. Koppel de pc los van de ethernetkabel

Als er een lege ruimte staat in de onderstaande instructies, gebruik dan de ruimte in het beschreven gereedschap.

Gedetailleerde stappen

  1. Zorg ervoor dat je putty hebt geïnstalleerd information

  2. 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 https://www.putty.org/

  2. Sluit je Connect your pc via ethernet aan op een van de zwarte ethernetpoorten

    Kopieer firmware-image en scp naar Hub

  3. Opdrachtprompt (cmd) openen

  4. Ga naar de firmwaremap cd ...

    ethernet to one of the black ethernet ports

  5. Copy firmware image and scp to Hub

    1. Open command prompt (cmd)

    2. Go to the firmware folder cd …/1.29.01/ (kopieer het hele pad van waar je de firmware hebt uitgepakt; zorg ervoor dat je cd + typt. blanco + gebruik copy the whole path of where you have extracted the firmware; make sure to type cd + blanc + use "...")

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

      1. als er een fout optreedt, controleer dan if you encounter an error, check 3.f (hiervoor moeten mogelijk bestaande fingerprints uit het ssh-bestand worden verwijderdmay require removing existing fingerprints from ssh file)

    4. type yes om de ssh vingerafdruk toe te voegen aan de bekende hosts (typen in cmd wordt niet getoond, typ gewoon "yes" (zelfs als je het niet kunt zien) en bevestig door op enter te drukken)

      Wachtwoord: tracknet (typen in cmd wordt niet getoond, typ gewoon "tracknet" (zelfs als je het niet kunt zien) en bevestig door op enter te drukken)

      Image RemovedWacht tot firmware.img is geladen tot 100%.
    5. Opmerking: het kan nodig zijn om bestaande fingerprints uit het ssh-bestand te verwijderen als deze fout optreedt: (zie stap 5.a)

      Image Removed

    De update uitvoeren

    1. open stopverf

    2. ssh naar de 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)

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

      Image Added


      Wait until firmware.img has loaded to 100%

    4. Note: may require removing existing fingerprints from ssh file when encountering this error: (see step 5.a)

      Image Added
  6. Run the update

    1. open putty

    2. ssh into the unit (ssh root@192.168.66.1): voer enter "192.168.66.1" in het veld Hostnaam in en druk op de knop "Openen

      Image Removed
    3. als de onderstaande waarschuwing verschijnt, accepteer deze dan

      Image Removed
    4. inloggen als root

    5. Wachtwoord:tracknet

      Image Removed

      the Host Name field and press "Open" button

      Image Added
    6. if below warning pops-up, accept

      Image Added
    7. login as root

    8. Password:tracknet

      Image Added
    9. cd /mnt/data/tracknet

      Image Removedmaak bestand uitvoerbaar Image Added
    10. make file executable "chmod +x doupdate.sh"

    11. Voer Run "./doupdate.sh" uit

      Image RemovedImage Added
    12. (apparaat zal de update uitvoeren en opnieuw opstartendevice will run the update and reboot) = "NetwerkfoutNetwork Error: Software veroorzaakt verbindingsonderbrekingcaused connection abort".

    13. sluit close cmd en and putty

  7. Set CUPS MTUN en and TC uri informatie instellen

    Verwijder de ssh-vingerafdruk uit je pcs config bestand

  8. Ga naar de .ssh-map van je gebruiker

    Image Removed
  9. Open het bestand known_hosts

  10. Verwijder het record voor de hub (regel die begint met

    information

    1. Remove the ssh fingerprint from your pcs config file

      1. Go to the .ssh folder of your user

        Image Added
      2. Open the known_hosts file

      3. Delete the record for the hub (line starting with 192.168.66.1)

      4. Het bestand opslaan

      Opdrachtprompt
      1. Save the file

    2. Open command prompt (cmd) openenGa naar de bootstrap map cd ...

    3. Go to the bootstrap folder cd …/bootstrap/

    4. scp scp  * root@192.168.66.1:/etc

    5. type yes om de ssh-vingerafdruk toe te voegen aan de bekende hostsWachtwoordto add the ssh fingerprint to the known hosts

    6. Password: tracknet

    7. open stopverfputty

    8. ssh naar de into the unit (ssh root@192.168.66.1)

    9. Bewerk bestand Edit file (nano /mnt/data/config/mfg)

      Image Removedonderstaand scherm wordt geopend
      Image RemovedWijzig tcuri in Image Added


      this will open below screen

      Image Added

      1. Modify tcuri to 

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

        2. US: 'ws://spacewell.nam1.cloud.thethings.industries:7000'
          (denk eraan dat je in Putty alleen kunt bewegen met je pijltjestoetsen (alsof je geen muis hebt) en niet je numerieke toetsenblok kunt gebruiken)

        Optie kopjes verwijderen
        1. 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)

      2. Remove option cupsuri 'https://cups2.trackio.ch:8888'

      3. Sla het bestand op en sluit het af Save and exit the file (ctrl + x)

    10. Bewerk bestand Edit file (nano /mnt/data/config/reverse-ssh)

      Image RemovedImage Added

      1. Wijzig Modify server in to 'mtun.cobundu.com'.Sla het bestand op en sluit het af

      2. Save and exit the file (ctrl + x)

    11. Bewerk bestand Edit file (nano /etc/init.d/mtuns)

      Image RemovedVoeg in de laatste regel van het Image Added
      1. In the last line of the start() { } blok de volgende regel toe (misschien moet je de pijltjes gebruiken om naar beneden te scrollen als dit niet direct zichtbaar is; gebruik ctrl+rechtsklik om te plakken in stopverf; zorg ervoor dat de tekst 4 spaties ingesprongen begintblock 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):
        /usr/bin/mtuns mtun.cobundu.com $HWMODEL-$MTUNID.gw.cobundu.com 22

      2. Sla het bestand op en sluit het af Save and exit the file (ctrl + x)

    12. Bewerk het bestand Edit file (nano /etc/dropbear/authorized_keys)  → (OPMERKING: als er geen bestand "authorized_keys" NOTE: if there is no file “authorized_keys” in /etc/dropbear of zelfs maar een map or even an /etc/dropbear staat, gebruik dan in plaats daarvan directory, use /mnt/data/s2/idu/etc/dropbear instead)

      Image RemovedGa terug naar het migratiebestand in Windows Verkenner. Kopieer de inhoud van Image Added

      1. Go back to the Migration file in Windows Explorer. Copy the contents of the id_cobundu.pub naar de tweede regel van dit bestand (plakken to the second line of this file (paste = shift + invoegen of gebruik ctrl+rechtsklik om te plakken in stopverf); ook al sta je nog steeds aan het begin van de 1e regel, de geplakte regel springt naar het einde. Gebruik de pijltjes om te controleren of het kopiëren/plakken gelukt isSla het bestand op en sluit het af 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 successful

      2. Save and exit the file (ctrl + x)

    13. Voer het commando "sync" uit

    14. Voer het commando "opnieuw opstarten" uit

    Koppel de pc los van de ethernetkabel
    1. Run “sync” command

    2. Run “reboot” command

  11. Disconnect PC from ethernet cable