* 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
Make sure you have putty installed https://www.putty.org/
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
Copy firmware image and scp to Hub ( Frimeware image is beschikbaar available in het the TEAMS Cobundu Sharepoint kanaal channel )
De Run the update uitvoeren
Set CUPS MTUN en and TC uri informatie instellen
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
Zorg ervoor dat je putty hebt geïnstalleerd information
Disconnect PC from ethernet cable
! whenever there is a blanc space in below instructions, please use the space in the tools described
Detailed steps
Make sure you have putty installed https://www.putty.org/
Sluit je Connect your pc via ethernet aan op een van de zwarte ethernetpoorten
Kopieer firmware-image en scp naar Hub
Opdrachtprompt (cmd) openen
Ga naar de firmwaremap cd ...Copy firmware image and scp to Hub
Open command prompt (cmd)
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 "...")
type: scp scp * root@192.168.66.1:/mnt/data/tracknet
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)
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)
Wacht tot firmware.img is geladen tot 100%.Opmerking: het kan nodig zijn om bestaande fingerprints uit het ssh-bestand te verwijderen als deze fout optreedt: (zie stap 5.a)
De update uitvoeren
open stopverf
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)
Password: tracknet (typing in cmd will not show, just type "tracknet" (even if you cannot see it) and confirm by pressing enter)
Wait until firmware.img has loaded to 100%Note: may require removing existing fingerprints from ssh file when encountering this error: (see step 5.a)
Run the update
open putty
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
als de onderstaande waarschuwing verschijnt, accepteer deze dan
inloggen als root
Wachtwoord:tracknet
the Host Name field and press "Open" button
if below warning pops-up, accept
login as root
Password:tracknet
cd /mnt/data/tracknet
maak bestand uitvoerbaarmake file executable "chmod +x doupdate.sh"
Voer Run "./doupdate.sh" uit
(apparaat zal de update uitvoeren en opnieuw opstartendevice will run the update and reboot) = "NetwerkfoutNetwork Error: Software veroorzaakt verbindingsonderbrekingcaused connection abort".
sluit close cmd en and putty
Set CUPS MTUN en and TC uri informatie instellen
Verwijder de ssh-vingerafdruk uit je pcs config bestand
Ga naar de .ssh-map van je gebruiker
Open het bestand known_hosts
Verwijder het record voor de hub (regel die begint met Remove the ssh fingerprint from your pcs config file
Go to the .ssh folder of your user
Open the known_hosts file
Delete the record for the hub (line starting with 192.168.66.1)
Het bestand opslaan
Save the file
Open command prompt (cmd) openenGa naar de bootstrap map cd ...
Go to the bootstrap folder cd …/bootstrap/
scp scp * root@192.168.66.1:/etc
type yes om de ssh-vingerafdruk toe te voegen aan de bekende hostsWachtwoordto add the ssh fingerprint to the known hosts
Password: tracknet
open stopverfputty
ssh naar de into the unit (ssh root@192.168.66.1)
Bewerk bestand Edit file (nano /mnt/data/config/mfg)
onderstaand scherm wordt geopend
Wijzig tcuri in
this will open below screenModify tcuri to
EU: "'ws://spacewell.eu1.cloud.thethings.industries:7000".'VS
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)
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 'https://cups2.trackio.ch:8888'
Sla het bestand op en sluit het af Save and exit the file (ctrl + x)
Bewerk bestand Edit file (nano /mnt/data/config/reverse-ssh)
Wijzig Modify server in to 'mtun.cobundu.com'.Sla het bestand op en sluit het af
Save and exit the file (ctrl + x)
Bewerk bestand Edit file (nano /etc/init.d/mtuns)
Voeg in de laatste regel van hetIn 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 22Sla het bestand op en sluit het af Save and exit the file (ctrl + x)
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)
Ga terug naar het migratiebestand in Windows Verkenner. Kopieer de inhoud vanGo 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
Save and exit the file (ctrl + x)
Voer het commando "sync" uit
Voer het commando "opnieuw opstarten" uit
Run “sync” command
Run “reboot” command
Disconnect PC from ethernet cable
ethernet to one of the black ethernet ports
information