* 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
...
Niet langer beschikbaar
Wanneer een tabbladhub (niet mini) niet online komt, kan u worden gevraagd 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
Zorg ervoor dat je putty hebt geïnstalleerd https://www.putty.org/
Connect your Sluit je pc via ethernet to one of the black ethernet portsCopy firmware image and scp to aan op een van de zwarte ethernetpoorten
Kopie firmware-afbeelding en scp naar Hub ( Frimeware image is available beschikbaar in the het TEAMS Cobundu Sharepoint channel kanaal )
Run the De update uitvoeren
Set CUPS MTUN and en TC uri 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 informatie instellen
Koppel de pc los van de ethernetkabel
Wanneer er een lege ruimte staat in de onderstaande instructies, gebruik dan de ruimte in de beschreven gereedschappen.
Gedetailleerde stappen
Zorg ervoor dat je putty hebt geïnstalleerd https://www.putty.org/
Connect your Sluit je pc via ethernet to one of the black ethernet ports
Copy firmware image and scp to Hub
Open command promptaan op een van de zwarte ethernetpoorten
Kopieer firmware-image en scp naar Hub
Opdrachtprompt (cmd) Go to the firmware folder cd …openen
Ga naar de firmwaremap cd .../1.29.01/ (copy the whole path of where you have extracted the firmware; make sure to type cd + blanc + use kopieer het hele pad van waar je de firmware hebt uitgepakt; zorg ervoor dat je cd + typt. blanco + gebruik "...")
type: scp scp * root@192.168.66.1:/mnt/data/tracknet
if you encounter an error, check als er een fout optreedt, controleer dan 3.f (may require removing existing fingerprints from ssh filehiervoor moeten mogelijk bestaande fingerprints uit het ssh-bestand worden verwijderd)
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)
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 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 unit (ssh root@192.168.66.1): enter voer "192.168.66.1" in the Host Name field and press "Open" button
if below warning pops-up, accept
login as root
Password:tracknet
het veld Hostnaam in en druk op de knop "Openen
als de onderstaande waarschuwing verschijnt, accepteer deze dan
inloggen als root
Wachtwoord:tracknet
cd /mnt/data/tracknet
make file executablemaak bestand uitvoerbaar "chmod +x doupdate.sh"
Run Voer "./doupdate.sh" uit
(device will run the update and rebootapparaat zal de update uitvoeren en opnieuw opstarten) = "Network ErrorNetwerkfout: Software caused connection abortveroorzaakt verbindingsonderbreking".
close sluit cmd and en putty
Set CUPS MTUN and en TC uri information
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 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 192.168.66.1)
Save the file
Het bestand opslaan
Opdrachtprompt (cmd) Go to the bootstrap folder cd …openen
Ga naar de bootstrap map cd .../bootstrap/
scp scp * root@192.168.66.1:/etc
type yes to add the ssh fingerprint to the known hostsPasswordom de ssh-vingerafdruk toe te voegen aan de bekende hosts
Wachtwoord: tracknet
open puttystopverf
ssh into the naar de unit (ssh root@192.168.66.1)
Edit file Bewerk bestand (nano /mnt/data/config/mfg)
this will open below screen
Modify tcuri to
onderstaand scherm wordt geopendWijzig tcuri in
EU: '"ws://spacewell.eu1.cloud.thethings.industries:7000'".US
VS: '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)
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 'https://cups2.trackio.ch:8888'
Save and exit the file Sla het bestand op en sluit het af (ctrl + x)
Edit file Bewerk bestand (nano /mnt/data/config/reverse-ssh)
Modify Wijzig server to in 'mtun.cobundu.com'Save and exit the file .
Sla het bestand op en sluit het af (ctrl + x)
Edit file Bewerk bestand (nano /etc/init.d/mtuns)
In the last line of theVoeg in de laatste regel van het 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 indentedblok 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 begint):
/usr/bin/mtuns mtun.cobundu.com $HWMODEL-$MTUNID.gw.cobundu.com 22Save and exit the file Sla het bestand op en sluit het af (ctrl + x)
Edit file Bewerk het bestand (nano /etc/dropbear/authorized_keys) → (NOTE: if there is no file “authorized_keys” OPMERKING: als er geen bestand "authorized_keys" in /etc/dropbear or even an of zelfs maar een map /etc/dropbear directory, use staat, gebruik dan in plaats daarvan /mnt/data/s2/idu/etc/dropbear instead)
Go back to the Migration file in Windows Explorer. Copy the contents of theGa terug naar het migratiebestand in Windows Verkenner. Kopieer de inhoud van id_cobundu.pub to the second line of this file (paste naar de tweede regel van dit bestand (plakken = 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 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 is
Sla het bestand op en sluit het af (ctrl + x)
Run “sync” command
Run “reboot” command
Voer het commando "sync" uit
Voer het commando "opnieuw opstarten" uit
Koppel de pc los van de ethernetkabel
informatie instellen