Upgrade informations for OpenWRT 23.05.2
parent
319887c480
commit
f445092e83
|
@ -289,6 +289,4 @@ message in `dmesg`: <br>
|
|||
---
|
||||
|
||||
[1]: https://www.openbsd.org/faq/faq16.html
|
||||
[2]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/faq/faq16
|
||||
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ Let's retrieve the new firmware version:
|
|||
|
||||
- e.g. the current version:
|
||||
|
||||
`# v="23.05.0"`
|
||||
`# v="23.05.2"`
|
||||
|
||||
⇒ for the **Ubiquiti EdgeRouter X** :
|
||||
|
||||
|
@ -66,7 +66,7 @@ And, we check the checksum:<br>
|
|||
`# sha256sum -c sha256sums 2> /dev/null | grep OK`
|
||||
|
||||
⇒ Correct result for **Xiaomi Redmi Router AC2100**: <br>
|
||||
`openwrt-23.05.0-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-sysupgrade.bin: OK`
|
||||
`openwrt-23.05.2-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-sysupgrade.bin: OK`
|
||||
|
||||
{{< note danger >}}
|
||||
**ATTENTION**: If the verification fails, go to discuss it on the forum!
|
||||
|
@ -119,32 +119,46 @@ Example, for the Ubiquiti EdgeRouter X:
|
|||
|
||||
```ash
|
||||
# sysupgrade -v openwrt-"${v}"-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.bin`
|
||||
Saving config files...
|
||||
(date) upgrade: Saving config files...
|
||||
etc/config/dhcp
|
||||
etc/config/dhcp-opkg
|
||||
etc/config/dropbear
|
||||
etc/config/firewall
|
||||
etc/config/firewall-opkg
|
||||
etc/config/https-dns-proxy
|
||||
etc/config/https-dns-proxy-opkg
|
||||
etc/config/luci
|
||||
etc/config/luci-opkg
|
||||
etc/config/network
|
||||
etc/config/ntpclient
|
||||
etc/config/openssl
|
||||
etc/config/opkg.installed
|
||||
etc/config/rpcd
|
||||
etc/config/system
|
||||
etc/config/travelmate
|
||||
etc/config/ubootenv
|
||||
etc/config/ucitrack
|
||||
etc/config/ucitrack-opkg
|
||||
etc/config/uhttpd
|
||||
etc/config/uhttpd-opkg
|
||||
etc/config/unbound
|
||||
etc/config/unbound-opkg
|
||||
etc/config/wifi_schedule
|
||||
etc/config/wifi_schedule-opkg
|
||||
etc/config/wireless
|
||||
etc/crontabs/root
|
||||
etc/dropbear/authorized_keys
|
||||
etc/dropbear/dropbear_ed25519_host_key
|
||||
etc/dropbear/dropbear_rsa_host_key
|
||||
etc/fw_env.config
|
||||
etc/group
|
||||
etc/hosts
|
||||
etc/inittab
|
||||
etc/luci-uploads/.placeholder
|
||||
etc/nftables.d/10-custom-filter-chains.nft
|
||||
etc/nftables.d/README
|
||||
etc/opkg/keys/0b26f36ae0f4106d
|
||||
etc/opkg/keys/1035ac73cc4e59e3
|
||||
etc/opkg/keys/2f8b0b98e08306bf
|
||||
etc/opkg/keys/4d017e6f1ed5d616
|
||||
etc/opkg/keys/5151f69420c3f508
|
||||
etc/opkg/keys/72a57f2191b211e0
|
||||
etc/opkg/keys/792d9d9b39f180dc
|
||||
|
@ -157,16 +171,15 @@ etc/opkg/keys/dd6de0d06bbd3d85
|
|||
etc/opkg/keys/f94b9dd6febac963
|
||||
etc/passwd
|
||||
etc/profile
|
||||
etc/profile.d/opkg.sh
|
||||
etc/rc.local
|
||||
etc/shadow
|
||||
etc/shells
|
||||
etc/shinit
|
||||
etc/sudoers
|
||||
etc/sysctl.conf
|
||||
etc/uhttpd.crt
|
||||
etc/uhttpd.key
|
||||
etc/uhttpd.key
|
||||
etc/uhttpd.crt
|
||||
Commencing upgrade. Closing all shell sessions.
|
||||
etc/sysupgrade.conf
|
||||
etc/unbound/unbound.conf
|
||||
(date) upgrade: Commencing upgrade. Closing all shell sessions.
|
||||
```
|
||||
|
||||
{{< note tip >}}
|
||||
|
@ -202,13 +215,31 @@ nameserver on `/etc/resolv.conf`.
|
|||
After the reboot, you will find the information about the new version:
|
||||
|
||||
- In LuCI, go to Status > Overview, see the section "System" and "Firmware version".
|
||||
- In SSH, the login banner has the release information.
|
||||
- In SSH, the login banner has the release information. As instance:<br>
|
||||
|
||||
```ash
|
||||
BusyBox v1.36.1 (2023-11-14 13:38:11 UTC) built-in shell (ash)
|
||||
|
||||
_______ ________ __
|
||||
| |.-----.-----.-----.| | | |.----.| |_
|
||||
| - || _ | -__| || | | || _|| _|
|
||||
|_______|| __|_____|__|__||________||__| |____|
|
||||
|__| W I R E L E S S F R E E D O M
|
||||
-----------------------------------------------------
|
||||
OpenWrt 23.05.2, r23630-842932a63d
|
||||
-----------------------------------------------------
|
||||
```
|
||||
|
||||
### resolv.conf
|
||||
|
||||
Check the `/etc/resolv.conf`, and if necessary, modify it to write IP
|
||||
address of a reachable DNS server.
|
||||
|
||||
As instance:
|
||||
```sh
|
||||
# sed -i -e 's/127.0.0.1/9.9.9.9/' /etc/resolv.conf
|
||||
```
|
||||
|
||||
### Upgrade packages
|
||||
|
||||
{{<note warning>}}
|
||||
|
|
|
@ -290,7 +290,7 @@ le même bateau, pas besoin de forwarder le flux !
|
|||
|
||||
## Documentations
|
||||
|
||||
* Merci de lire la documentation officielle **FAQ Virtualisation** ([EN][1], [FR][2])
|
||||
* Merci de lire la documentation officielle **FAQ Virtualisation** ([EN][1])
|
||||
afin de bien comprendre le sujet, les différentes informations nécessaires
|
||||
à une meilleure préhension de celui-ci.
|
||||
|
||||
|
@ -315,4 +315,4 @@ message d'erreur dans `dmesg` : <br>
|
|||
---
|
||||
|
||||
[1]: https://www.openbsd.org/faq/faq16.html
|
||||
[2]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/faq/faq16
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ Depuis le répertoire `/tmp`, récupèrons la nouvelle version du firmware :
|
|||
|
||||
- e.g. pour la version actuelle :
|
||||
|
||||
`# v="23.05.0"`
|
||||
`# v="23.05.2"`
|
||||
|
||||
⇒ pour le routeur **Ubiquiti EdgeRouter X** :
|
||||
|
||||
|
@ -80,7 +80,7 @@ Puis, nous vérifions la somme de contrôle afin de nous assurer du firmware : <
|
|||
`$ sha256sum -c sha256sums 2> /dev/null | grep OK`
|
||||
|
||||
⇒ Résultat correct pour le routeur **Xiaomi Redmi Router AC2100** : <br>
|
||||
`openwrt-23.05.0-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-sysupgrade.bin: OK`
|
||||
`openwrt-23.05.2-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-sysupgrade.bin: OK`
|
||||
|
||||
{{< note danger >}}
|
||||
**ATTENTION** : Si la vérification échoue, allez en discuter sur le forum !
|
||||
|
@ -140,32 +140,46 @@ Passons à la mise à niveau système, tel que :
|
|||
⇒ Exemple, pour le routeur Ubiquiti EdgeRouter X :
|
||||
```ash
|
||||
# sysupgrade -v openwrt-"${v}"-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.bin`
|
||||
Saving config files...
|
||||
(date) upgrade: Saving config files...
|
||||
etc/config/dhcp
|
||||
etc/config/dhcp-opkg
|
||||
etc/config/dropbear
|
||||
etc/config/firewall
|
||||
etc/config/firewall-opkg
|
||||
etc/config/https-dns-proxy
|
||||
etc/config/https-dns-proxy-opkg
|
||||
etc/config/luci
|
||||
etc/config/luci-opkg
|
||||
etc/config/network
|
||||
etc/config/ntpclient
|
||||
etc/config/openssl
|
||||
etc/config/opkg.installed
|
||||
etc/config/rpcd
|
||||
etc/config/system
|
||||
etc/config/travelmate
|
||||
etc/config/ubootenv
|
||||
etc/config/ucitrack
|
||||
etc/config/ucitrack-opkg
|
||||
etc/config/uhttpd
|
||||
etc/config/uhttpd-opkg
|
||||
etc/config/unbound
|
||||
etc/config/unbound-opkg
|
||||
etc/config/wifi_schedule
|
||||
etc/config/wifi_schedule-opkg
|
||||
etc/config/wireless
|
||||
etc/crontabs/root
|
||||
etc/dropbear/authorized_keys
|
||||
etc/dropbear/dropbear_ed25519_host_key
|
||||
etc/dropbear/dropbear_rsa_host_key
|
||||
etc/fw_env.config
|
||||
etc/group
|
||||
etc/hosts
|
||||
etc/inittab
|
||||
etc/luci-uploads/.placeholder
|
||||
etc/nftables.d/10-custom-filter-chains.nft
|
||||
etc/nftables.d/README
|
||||
etc/opkg/keys/0b26f36ae0f4106d
|
||||
etc/opkg/keys/1035ac73cc4e59e3
|
||||
etc/opkg/keys/2f8b0b98e08306bf
|
||||
etc/opkg/keys/4d017e6f1ed5d616
|
||||
etc/opkg/keys/5151f69420c3f508
|
||||
etc/opkg/keys/72a57f2191b211e0
|
||||
etc/opkg/keys/792d9d9b39f180dc
|
||||
|
@ -178,16 +192,15 @@ etc/opkg/keys/dd6de0d06bbd3d85
|
|||
etc/opkg/keys/f94b9dd6febac963
|
||||
etc/passwd
|
||||
etc/profile
|
||||
etc/profile.d/opkg.sh
|
||||
etc/rc.local
|
||||
etc/shadow
|
||||
etc/shells
|
||||
etc/shinit
|
||||
etc/sudoers
|
||||
etc/sysctl.conf
|
||||
etc/uhttpd.crt
|
||||
etc/uhttpd.key
|
||||
etc/uhttpd.key
|
||||
etc/uhttpd.crt
|
||||
Commencing upgrade. Closing all shell sessions.
|
||||
etc/sysupgrade.conf
|
||||
etc/unbound/unbound.conf
|
||||
(date) upgrade: Commencing upgrade. Closing all shell sessions.
|
||||
```
|
||||
|
||||
Normalement votre session SSH va se fermer et le routeur démarrer !
|
||||
|
@ -195,15 +208,18 @@ Normalement votre session SSH va se fermer et le routeur démarrer !
|
|||
---
|
||||
|
||||
{{< note info >}}
|
||||
Lors de la reconnexion au routeur depuis votre client SSH, il peut arriver
|
||||
que la connexion soit empêchée avec le message d'erreur suivant :<br>
|
||||
Lors de la reconnexion au routeur depuis votre client SSH, il peut
|
||||
arriver que la connexion soit empêchée avec le message d'erreur suivant :
|
||||
<br>
|
||||
`WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED`.<br>
|
||||
Si c'est le cas, merci de lire la note adéquate : {{< anchor "À-propos de l'identification de l'hôte à distance par SSH" "À-propos de l'identification de l'hôte à distance par SSH" >}}
|
||||
Si c'est le cas, merci de lire la note adéquate :
|
||||
{{< anchor "À-propos de l'identification de l'hôte à distance par SSH" "À-propos de l'identification de l'hôte à distance par SSH" >}}
|
||||
|
||||
---
|
||||
|
||||
Si jamais vous faites une migration depuis 19.07.x vers 21.02.x ou supérieure,
|
||||
veuillez lire impérativement la note ad hoc : {{< anchor "À-propos de la Migration vers ≥ 21.02.0" "À-propos de la Migration vers ≥ 21.02.0" >}}
|
||||
Si jamais vous faites une migration depuis 19.07.x vers 21.02.x ou
|
||||
supérieure, veuillez lire impérativement la note ad hoc :
|
||||
{{< anchor "À-propos de la Migration vers ≥ 21.02.0" "À-propos de la Migration vers ≥ 21.02.0" >}}
|
||||
|
||||
---
|
||||
|
||||
|
@ -219,15 +235,29 @@ vous retrouverez l'information relative à votre nouvelle version :
|
|||
|
||||
- depuis LuCI, aller vers "Status" > "Overview", celui-ci sera affiché
|
||||
dans la section "System", face à l'information "Firmware version"
|
||||
- en SSH, dans la bannière de connexion affichant ce nouveau numéro de version
|
||||
- en SSH, dans la bannière de connexion affichant ce nouveau numéro de
|
||||
version, comme ci-dessous :
|
||||
|
||||
```ash
|
||||
BusyBox v1.36.1 (2023-11-14 13:38:11 UTC) built-in shell (ash)
|
||||
|
||||
_______ ________ __
|
||||
| |.-----.-----.-----.| | | |.----.| |_
|
||||
| - || _ | -__| || | | || _|| _|
|
||||
|_______|| __|_____|__|__||________||__| |____|
|
||||
|__| W I R E L E S S F R E E D O M
|
||||
-----------------------------------------------------
|
||||
OpenWrt 23.05.2, r23630-842932a63d
|
||||
-----------------------------------------------------
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### resolv.conf
|
||||
|
||||
À ce moment de l'étape, il est possible que vous ne puissiez plus communiquer
|
||||
avec l'extérieur, car le fichier `/etc/resolv.conf` est toujours configuré
|
||||
pour la résolution de noms en interne, tel que :
|
||||
À ce moment de l'étape, il est possible que vous ne puissiez plus
|
||||
communiquer avec l'extérieur, car le fichier `/etc/resolv.conf` est
|
||||
toujours configuré pour la résolution de noms en interne, tel que :
|
||||
|
||||
```cfg
|
||||
# cat /etc/resolv.conf
|
||||
|
@ -236,8 +266,13 @@ nameserver 127.0.0.1
|
|||
nameserver ::1
|
||||
```
|
||||
|
||||
Dans ce cas, éditez avec `vi` le fichier pour ajouter un serveur DNS à
|
||||
interroger, tel que ceux de la FDN : `80.67.169.12` et/ou `80.67.169.40`.
|
||||
Dans ce cas, éditez le fichier pour ajouter un serveur DNS à interroger,
|
||||
tel que ceux de la FDN : `80.67.169.12` et/ou `80.67.169.40`.<br>
|
||||
Par exemple :
|
||||
|
||||
```sh
|
||||
# sed -i -e 's/127.0.0.1/80.67.169.12/' /etc/resolv.conf
|
||||
```
|
||||
|
||||
### Mise à Niveau "tiers"
|
||||
|
||||
|
|
Loading…
Reference in New Issue