http://wiki.freifunk-dresden.de/index.php?title=Unifi_AP_AC_Pro/Mesh_Pro&feed=atom&action=history
Unifi AP AC Pro/Mesh Pro - Versionsgeschichte
2024-03-28T09:38:17Z
Versionsgeschichte dieser Seite in Freifunk Dresden - Anwender-Wiki
MediaWiki 1.33.1
http://wiki.freifunk-dresden.de/index.php?title=Unifi_AP_AC_Pro/Mesh_Pro&diff=5776&oldid=prev
Hibo98 am 12. März 2023 um 17:36 Uhr
2023-03-12T17:36:27Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="de">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Nächstältere Version</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Version vom 12. März 2023, 17:36 Uhr</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l14" >Zeile 14:</td>
<td colspan="2" class="diff-lineno">Zeile 14:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ssh ubnt@192.168.1.20</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ssh ubnt@192.168.1.20</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Falls die Fehlermeldung <code>Unable to negotiate with 192.168.1.20 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss</code> angezeigt wird nutze folgenden Command</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Falls die Fehlermeldung <code>Unable to negotiate with 192.168.1.20 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss</code> angezeigt wird nutze folgenden Command <ins class="diffchange diffchange-inline">(OpenSSH 9.0+)</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ssh -oHostKeyAlgorithms=+ssh-rsa ubnt@192.168.1.20</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ssh -oHostKeyAlgorithms=+ssh-rsa ubnt@192.168.1.20</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l29" >Zeile 29:</td>
<td colspan="2" class="diff-lineno">Zeile 29:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> scp firmware.bin ubnt@192.168.1.20:/tmp</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> scp firmware.bin ubnt@192.168.1.20:/tmp</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Command OpenSSH 9.0+</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> scp -O -oHostKeyAlgorithms=+ssh-rsa firmware.bin ubnt@192.168.1.20:/tmp</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Firmware flashen ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Firmware flashen ==</div></td></tr>
</table>
Hibo98
http://wiki.freifunk-dresden.de/index.php?title=Unifi_AP_AC_Pro/Mesh_Pro&diff=5775&oldid=prev
Hibo98 am 12. März 2023 um 17:29 Uhr
2023-03-12T17:29:29Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="de">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Nächstältere Version</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Version vom 12. März 2023, 17:29 Uhr</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l13" >Zeile 13:</td>
<td colspan="2" class="diff-lineno">Zeile 13:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ssh ubnt@192.168.1.20</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ssh ubnt@192.168.1.20</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Falls die Fehlermeldung <code>Unable to negotiate with 192.168.1.20 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss</code> angezeigt wird nutze folgenden Command</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> ssh -oHostKeyAlgorithms=+ssh-rsa ubnt@192.168.1.20</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Hierbei kommt ggf. die Nachfrage, ob ein RSA-Hostkey gültig ist. Diese Frage ist in diesem Fall schlicht mit yes quittieren.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Hierbei kommt ggf. die Nachfrage, ob ein RSA-Hostkey gültig ist. Diese Frage ist in diesem Fall schlicht mit yes quittieren.</div></td></tr>
</table>
Hibo98
http://wiki.freifunk-dresden.de/index.php?title=Unifi_AP_AC_Pro/Mesh_Pro&diff=4436&oldid=prev
Lodrich: Die Seite wurde neu angelegt: „Diese Anleitung dient der Erstinstallation der Freifunk-Firmware auf Ubiquiti Unifi Geräten ausgehend von der Herstellerfirmware. Diese Anleitung wurde auf f…“
2021-12-20T11:32:26Z
<p>Die Seite wurde neu angelegt: „Diese Anleitung dient der Erstinstallation der Freifunk-Firmware auf Ubiquiti Unifi Geräten ausgehend von der Herstellerfirmware. Diese Anleitung wurde auf f…“</p>
<p><b>Neue Seite</b></p><div>Diese Anleitung dient der Erstinstallation der Freifunk-Firmware auf Ubiquiti Unifi Geräten ausgehend von der Herstellerfirmware.<br />
<br />
Diese Anleitung wurde auf folgenden Modellen getestet:<br />
<br />
* Unifi AP AC Lite/LR/Mesh<br />
* Unifi AP AC Pro/Mesh Pro<br />
<br />
<br />
== Mit dem Gerät verbinden ==<br />
Konfiguriere deinen Computer auf 192.168.1.100/24. Verbinde dann mit dem Standardbenutzer ubnt (Passwort: ubnt) per SSH zum Router:<br />
<br />
Wenn der Router zuvor bereits mit einem Unifi Controller verbunden wurde können die IP-Adresse und Zugangsdaten abweichen, prüfe das dann im Webinterface des Controllers.<br />
<br />
ssh ubnt@192.168.1.20<br />
<br />
Hierbei kommt ggf. die Nachfrage, ob ein RSA-Hostkey gültig ist. Diese Frage ist in diesem Fall schlicht mit yes quittieren.<br />
<br />
== Freifunk Firmware herunterladen ==<br />
Unter [http://download.freifunk-dresden.de/firmware/latest/ Firmware-Download] das jeweilige Modell auswählen und die Firmware herunterladen.<br />
Es gibt für die Unifi AC Reihe kein factory Image, sondern nur ein sysupgrade Image.<br />
<br />
== Firmware hochladen ==<br />
<br />
Eine weitere Konsole auf dem lokalen Computer öffnen, in den Download-Ordner wechseln und von dort die Freifunk-Firmware per SCP hochladen.<br />
<br />
scp firmware.bin ubnt@192.168.1.20:/tmp<br />
<br />
== Firmware flashen ==<br />
<br />
In die Konsole mit der laufenden SSH-Verbindung mit dem Router wechseln und dort das Firmware-Image nach kernel0 und kernel1 schreiben:<br />
<br />
Dazu ist es zunächst notwendig die Partitionskennung von kernel0 und kernel1 herauszufinden:<br />
<br />
grep kernel /proc/mtd <br />
mtd2: 00790000 00010000 "kernel0"<br />
mtd3: 00790000 00010000 "kernel1"<br />
<br />
In diesem Beispiel sind dies die Partionen mtd2 und mtd3. Im folgenden Schritt kopieren wir die Firmware nun also nach /dev/mtdblock2 und /dev/mtdblock3. Diese Nummerierung kann je nach Gerät abweichen.<br />
<br />
dd if=/tmp/firmware.bin of=/dev/mtdblock2<br />
dd if=/tmp/firmware.bin of=/dev/mtdblock3<br />
<br />
== Bootselect schreiben ==<br />
<br />
Nun die mtd Partition mit dem Label bs ausfindig machen und ein Nullbyte an den Anfang der Partition schreiben:<br />
grep bs /proc/mtd<br />
mtd4: 00020000 00010000 "bs"<br />
dd if=/dev/zero bs=1 count=1 of=/dev/mtd4<br />
<br />
In der Regel ist die gesuchte Partition /dev/mtd4, das sollte aber durch den obigen Schritt sichergestellt werden.<br />
Gegebenen falls anpassen.<br />
<br />
== Neustarten ==<br />
Danach den Router neustarten, woraufhin die in Freifunk-Firmware gestartet wird.<br />
reboot<br />
Das Gerät blinkt nun während dem Bootvorgang<br />
<br />
== Einrichten ==<br />
Der Router ist nun unter 192.168.222.1 erreichbar. Achtung es wird kein DHCP verteilt.<br />
Weiter mit der Einrichtung [[Router einrichten]]</div>
Lodrich