====== Problèmes rencontré avec Unifi ======
===== Sur le routeur USG =====
==== Probléme de mesure Speed Test ====
Ressource: [[https://community.ubnt.com/t5/UniFi-Routing-Switching/UBNT-Speed-test-not-working/m-p/2784350/highlight/true#M147384]]
Se connecter en SSH sur le USG.
Entrer ces commandes
sudo su
curl -O https://dl.ubnt-ut.com/cmb/unifi-util_0.1.61-speedtestport_mips.deb
dpkg -i unifi-util_0.1.61-speedtestport_mips.deb
reboot
voir aussi [[matos:unifi:usage:usg_ssh]]
==== Generer le Tech-Support ====
En SSH
show tech-support | no-more
===== Controleur =====
==== Mise a jour du controleur sous Ubuntu ====
=== Erreur : E: Repository 'http://dl.ubnt.com/unifi/debian stable InRelease' changed its 'Codename' value from 'unifi-xx.xx' to 'unifi-yy.yy ===
Lors d'un ''apt-get update'' on obtient le message : ''E: Repository 'http://dl.ubnt.com/unifi/debian stable InRelease' changed its 'Codename' value from 'unifi-5.10' to 'unifi-5.11' ''
Ce qui nous empeche de faire la mise a jour avec ''apt-get upgrade''
[admin@admin ~]# apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Ign:2 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease
...
Get:8 http://dl.ubnt.com/unifi/debian stable InRelease [3024 B]
Reading package lists...
E: Repository 'http://dl.ubnt.com/unifi/debian stable InRelease' changed its 'Codename' value from 'unifi-5.10' to 'unifi-5.11'
Pour résoudre ce probléme j'ai utilisé la methode suivante : ''apt-get update --allow-releaseinfo-change''
[admin@admin ~]# apt-get update --allow-releaseinfo-change
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Ign:2 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease
...
Get:8 http://dl.ubnt.com/unifi/debian stable InRelease [3024 B]
Get:10 http://dl.ubnt.com/unifi/debian stable/ubiquiti amd64 Packages [704 B]
Fetched 181 kB in 1s (216 kB/s)
Reading package lists...
Mise a jour avec ''apt-get upgrade''
[admin@admin ~]# apt-get upgrade
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
unifi
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 97.4 MB of archives.
After this operation, 36.8 MB of additional disk space will be used.
Do you want to continue? [Y/n]