Projet

Général

Profil

Brique » Historique » Version 3

Florent Guillot, 19/03/2017 15:33

1 2 Florent Guillot
h1. Installer une Brique Internet Illyse
2
 
3
* Télécharger le fichier attachment:install.hypercube
4
* Se rendre sur https://install.labriqueinter.net/ et cliquer, en haut à gauche sur "Charger un fichier". Charger le fichier _install.hypercube_ téléchargé à l'étape précédente.
5
* Dans la section *VPN*, renseigner "Adresse IPv4 assignée" et "Préfixe IPv6 délégué" (info disponible dans COIN)
6
* Dans la section *YunoHost*, compléter le formulaire (Nom, mdp, domaine, etc)
7
* Sur la dernière étape, cliquer sur le lien *Télécharger votre fichier HyperCube* et suivre les indications (copier sur une clef USB, brancher la brique, attendre)
8
* Si possible, tout en bas de la dernière étape, cliquer sur *Télécharger le guide personnalisé (PDF)* et le fournir à l’adhérent. Attention il contient les mots de passe en clair !
9
10
11
h3. Astuces:
12
13
* Trouver les briques connectées sur le même réseau local que nous: 
14
<pre>sudo arp-scan -l --interface="eth0" | grep -P '\t02' </pre>
15 3 Florent Guillot
* Pour suivre l'installation, se connecter sur:
16
<pre>http://<IP_de_la_brique>:2468/install.html</pre>
17
* Supprimer le cron dyndns (les IP fournies par le VPN sont fixes, donc inutile d'update)
18
<pre> rm /etc/cron.d/yunohost-dyndns </pre>
19
20
h3. Logs hypercube
21
22
Pour info, sur une install ok, fait derrière une connexion très haut débit:
23
24
<pre>
25
1970-01-01 01:01: [INFO] ===== Start HyperCube Service =====
26
1970-01-01 01:01: [INFO] Detecting USB sticks...
27
2017-03-19 14:05: [INFO] Looking for HyperCube file
28
2017-03-19 14:05: [INFO] HyperCube file found
29
2017-03-19 14:05: [INFO] Loading JSON
30
2017-03-19 14:05: [INFO] Extracting settings for Unix
31
2017-03-19 14:05: [INFO] Extracting settings for YunoHost
32
2017-03-19 14:05: [INFO] Extracting settings for Wifi Hotspot
33
2017-03-19 14:05: [INFO] Extracting settings for VPN Client (logging)
34
2017-03-19 14:05: [INFO] Extracting .cube file for VPN Client
35
2017-03-19 14:05: [INFO] Updating Debian root password
36
2017-03-19 14:05: [INFO] Changing hostname
37
2017-03-19 14:05: [INFO] Updating hosts file
38
2017-03-19 14:05: [INFO] Setting locales
39
2017-03-19 14:05: [INFO] Upgrading Debian/YunoHost...
40
2017-03-19 14:15: [INFO] Check online DynDNS domains list
41
2017-03-19 14:15: [INFO] Checking DynDNS domain availability
42
2017-03-19 14:15: [INFO] Doing YunoHost post-installation...
43
2017-03-19 14:22: [INFO] Fetching YunoHost apps list for labriqueinternet
44
2017-03-19 14:22: [INFO] Creating first user
45
2017-03-19 14:22: [INFO] Installing VPN Client...
46
2017-03-19 14:24: [INFO] Installing Wifi Hotspot...
47
2017-03-19 14:29: [INFO] Installing DoctorCube...
48
2017-03-19 14:29: [INFO] Installing Roundcube Webmail...
49
2017-03-19 14:34: [INFO] Configuring VPN Client...
50
2017-03-19 14:35: [INFO] Configuring Wifi Hotspot...
51
2017-03-19 14:36: [INFO] Rebooting...
52
2017-03-19 14:41: [INFO] ===== Start HyperCube Service =====
53
2017-03-19 14:41: [INFO] Detecting USB sticks...
54
2017-03-19 14:41: [INFO] Starting second step
55
2017-03-19 14:41: [INFO] Wifi device already detected, nothing to do
56
2017-03-19 14:41: [INFO] Finished!
57
2017-03-19 14:41: [INFO] No USB stick detected for log copying
58
2017-03-19 14:41: [INFO] 4 hours (without reboot) before disabling this interface
59
2017-03-19 14:41: [INFO] Please, save this page with Ctrl+S
60
</pre>