YYYYYY/ZZZZZZZ ist die tatsächliche Seriennummer des Geräts. Zu finden ist Seriennummer auf dem Etikett auf der Rückseite des Routers. Fehler beim Erstellen des Vorschaubildes: Seriennummer AX3200
Passwort "merken".
Windows PowerShell
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Lernen Sie das neue plattformübergreifende PowerShell kennen – https://aka.ms/pscore6
PS C:\Users\lamir> cd C:\temp\
PS C:\temp> python.exe .\serial.py 35756/J1UD0***8
96f7***1
Firmware flashen
Ein parr Vorbereitung sind noch zu treffen, die heruntergeladen Spoftware sollte hier sein und umbenannt werden, sdchließenden wird ein http Server gestartet:
nvram set ssh_en=1
nvram set uart_en=1
nvram set boot_wait=on
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
nvram commit
root@XiaoQiang:~# nvram set ssh_en=1
vram set root@XiaoQiang:~# nvram set uart_en=1
nvram set broot@XiaoQiang:~# nvram set boot_wait=on
nvram setroot@XiaoQiang:~# nvram set flag_boot_success=1
nvram root@XiaoQiang:~# nvram set flag_try_sys1_failed=0
vram set root@XiaoQiang:~# nvram set flag_try_sys2_failed=0
nvram croot@XiaoQiang:~# nvram commit
root@XiaoQiang:~# cd /tmp
Wir holden uns das Image von unserem http server (Achtung IP anspassen).
root@XiaoQiang:/tmp# wget http://192.168.31.202:8000/factory.bin
Connecting to 192.168.31.202:8000 (192.168.31.202:8000)
factory.bin 100% |***********************************************************************| 9728k 0:00:00 ETA
root@XiaoQiang:/tmp#sha256sum factory.bin
561a49f3b7f2ec398649a1cba1f826feb46272057629b07d6891820a676b1c0d factory.bin
root@XiaoQiang:/tmp#mtd -r write factory.bin firmware
Unlocking firmware ...
Writing from factory.bin to firmware ...
Rebooting ...
Verbindung zu Host verloren.
Und logen uns in OpenWrt ein....
PS C:\Users\lamir>PS C:\Users\lamir> ipconfig.exe
Windows-IP-Konfiguration
Unbekannter Adapter OVPN-TUN:
Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Ethernet-Adapter Mainboard Freifunk 1GB:
Verbindungsspezifisches DNS-Suffix: lan
IPv4-Adresse . . . . . . . . . . : 192.168.1.247
Subnetzmaske . . . . . . . . . . : 255.255.255.0
Standardgateway . . . . . . . . . : 192.168.1.1
PS C:\Users\lamir> ssh root@192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
ED25519 key fingerprint is SHA256:+naKqsISXAJjSi8cfjd/34LbtC8PMW4TqQKiee4ya6M.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.1.1' (ED25519) to the list of known hosts.
BusyBox v1.35.0 (2022-04-20 16:14:08 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r19508-0d2d52df69
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~#passwd