<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>sujet Script shell réactivation admin distante sur LB4 v4.65.0 suite reboot. dans Livebox</title>
    <link>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943480#M35611</link>
    <description>&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;J'ai dernièrement installé une LB4 (Sercomm) en v4.65.0 et découvert le bug dont elle souffre concernant la perte de l'admin distante suite à redémarrage (cf &lt;A href="https://communaute.orange.fr/t5/Livebox/Probl%C3%A8me-pour-acc%C3%A9der-%C3%A0-distance-a-ma-Livebox-4-Depuis-le/td-p/2851250" target="_self"&gt;ce fils de discussion&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;Par chance, j'ai un Rapsberry pi à disposition sur son LAN accessible en ssh, j'ai donc toujours la possibilité de la reconfigurer si besoin avec un tunnel ("ssh -D port Raspberry" et le plugin Firefox FoxyProxy), mais c'est préférable d'automatiser la reconfiguration et de ne plus avoir à s'en soucier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Voici le script shell que j'ai fait et qui s'en charge (nécessite curl et jq, à installer préalablement via "sudo apt install curl jq").&lt;/P&gt;&lt;PRE&gt;#!/usr/bin/env bash
# Script de reconfiguration de l'admin distante sur LB4 v4.65.0 suite bug perte après reboot.
# Décommenter pour debug
# set -xv

PROTO="http" # Réutilisable avec "-k https" pour d'autres buts en admin distante.
URL="192.168.1.1" # Adresse IP LAN de la box, personnalisable si modifiée, ou nom dyndns pour utilisation en admin distante pour d'autres buts.
PORT="80" # Port modifiable pour réutilisation du principe en admin distante.

DELAIS="300" # Délais en secondes entre deux interrogations de la box.
USERNAME="admin"
PASSWORD="MonMotDePasseSecret" # À personnaliser.
&lt;BR /&gt;# Paramètres de configuration de l'admin distante à personnaliser.
AdminDistUserName="MonAdminDistant"
AdminDistPassword="Sup3rSecret" # Doit semble-t-il contenir 8 caractères minimum dont un chiffre ou caractère spécial.
AdminDistPort="12345"

LB4Login () {&lt;BR /&gt;CONTEXTID=$(curl -m 3 -c .cookies-jar.txt -s $PROTO://$URL:$PORT/ws \&lt;BR /&gt;-H 'Authorization: X-Sah-Login' \&lt;BR /&gt;-H 'Content-Type: application/x-sah-ws-4-call+json' \&lt;BR /&gt;--data-raw $'{"service":"sah.Device.Information","method":"createContext","parameters":{"applicationName":"webui","username":"'$USERNAME'","password":"'$PASSWORD'"}}' 2&amp;gt;/dev/null | \&lt;BR /&gt;jq -r '.data.contextID' 2&amp;gt;/dev/null)&lt;BR /&gt;SESSIONID=$(awk /$URL/'{print $NF}' .cookies-jar.txt)&lt;BR /&gt;COOKIEID=$(awk /$URL/'{print $6}' .cookies-jar.txt | cut -d "/" -f1)&lt;BR /&gt;! [[ -z $SESSIONID ]] &amp;amp;&amp;amp; ! [[ -z $COOKIEID ]] &amp;amp;&amp;amp; rm .cookies-jar.txt &amp;amp;&amp;amp; return 0&lt;BR /&gt;[[ $CONTEXTID == "null" ]] &amp;amp;&amp;amp; echo "Échec d'ouverture de session, vérifier les paramètres." &amp;amp;&amp;amp; exit 1&lt;BR /&gt;} # Fonction d'ouverture de session sur la box, durée max session inactive env 10 min.

GetLB4NumberOfReboots () {&lt;BR /&gt;CurrentLB4NumberOfReboots=$(curl -m3 -s $PROTO://$URL:$PORT/ws \&lt;BR /&gt;-H 'Authorization: X-Sah '$CONTEXTID \&lt;BR /&gt;-H 'Content-Type: application/x-sah-ws-4-call+json' \&lt;BR /&gt;-H 'X-Context: '$CONTEXTID \&lt;BR /&gt;-H 'Cookie: '$COOKIEID'/sessid='$SESSIONID'; sah/contextId='$CONTEXTID \&lt;BR /&gt;--data-raw '{"service":"DeviceInfo","method":"get","parameters":{}}' 2&amp;gt;/dev/null | \&lt;BR /&gt;jq '.status.NumberOfReboots' 2&amp;gt;/dev/null )&lt;BR /&gt;[[ $CurrentLB4NumberOfReboots == "null" ]] &amp;amp;&amp;amp; LB4Login &amp;amp;&amp;amp; GetLB4NumberOfReboots&lt;BR /&gt;[[ -z $CurrentLB4NumberOfReboots ]] &amp;amp;&amp;amp; LB4Login &amp;amp;&amp;amp; GetLB4NumberOfReboots&lt;BR /&gt;! [[ -z $CurrentLB4NumberOfReboots ]] &amp;amp;&amp;amp; return 0&lt;BR /&gt;} # Donne le nombre total de reboot, réouvre une session si besoin.

LB4DesactAdminDist () {&lt;BR /&gt;LB4DesactAdminDistSTATUS=$(curl -m3 -s $PROTO://$URL:$PORT/ws \&lt;BR /&gt;-X POST \&lt;BR /&gt;-H 'Authorization: X-Sah '$CONTEXTID \&lt;BR /&gt;-H 'Content-Type: application/x-sah-ws-4-call+json' \&lt;BR /&gt;-H 'X-Context: '$CONTEXTID \&lt;BR /&gt;-H 'Cookie: '$COOKIEID'/sessid='$SESSIONID'; sah/contextId='$CONTEXTID \&lt;BR /&gt;--data-raw '{"service":"NMC","method":"disableRemoteAccess","parameters":{}}' 2&amp;gt;/dev/null | \&lt;BR /&gt;jq '.status' 2&amp;gt;/dev/null ) &lt;BR /&gt;} # Fonction de suppression de l'admin distante, répond "true".

LB4ActivAdminDist () {&lt;BR /&gt;LB4ActivAdminDistSTATUS=$(curl -m3 -s $PROTO://$URL:$PORT/ws \&lt;BR /&gt;-X POST \&lt;BR /&gt;-H 'Authorization: X-Sah '$CONTEXTID \&lt;BR /&gt;-H 'Content-Type: application/x-sah-ws-4-call+json' \&lt;BR /&gt;-H 'X-Context: '$CONTEXTID \&lt;BR /&gt;-H 'Cookie: '$COOKIEID'/sessid='$SESSIONID'; sah/contextId='$CONTEXTID \&lt;BR /&gt;--data-raw '{"service":"NMC","method":"enableRemoteAccess","parameters":{"username":"'$AdminDistUserName'","password":"'$AdminDistPassword'","port":'$AdminDistPort',"timeout":0}}' 2&amp;gt;/dev/null | \&lt;BR /&gt;jq '.status' 2&amp;gt;/dev/null )&lt;BR /&gt;} # Fonction de création de l'admin distante, répond le n° de port si ok.

BouclePrincipale () {
while true
do
    GetLB4NumberOfReboots&lt;BR /&gt;&lt;BR /&gt;    if [[ -f .LB4NumberOfReboots ]] # on vérifie si un fichier contenant le nombre de reboot existe déjà.
    then
        LB4NumberOfReboots=$(cat .LB4NumberOfReboots) # On y récupère la valeur précédemment connue.
    else
        echo $CurrentLB4NumberOfReboots &amp;gt; .LB4NumberOfReboots # Sinon on y met la valeur courante.&lt;BR /&gt;        LB4NumberOfReboots=$CurrentLB4NumberOfReboots
    fi

    if [[ $CurrentLB4NumberOfReboots -gt $LB4NumberOfReboots ]] # Si la valeur courante est supérieure à la valeur connue, la box a rebooté, on réactive l'admin distante.
    then
        LB4DesactAdminDist
        LB4ActivAdminDist
        echo $CurrentLB4NumberOfReboots &amp;gt; .LB4NumberOfReboots # On sauvegarde la nouvelle valeur du compteur.
        sleep $DELAIS # On se met en sommeil.
        BouclePrincipale # On recommence.&lt;BR /&gt;    else
        sleep $DELAIS
        BouclePrincipale
    fi&lt;BR /&gt;&lt;BR /&gt;done
}&lt;BR /&gt;
if [[ $(ps aux | grep -v -E "pluma|gedit|nano" | grep -c $0 ) -gt 4 ]] # On vérifie si il y a déjà une instance du script active, on quitte si c'est le cas.&lt;BR /&gt;then&lt;BR /&gt;    echo "Script $0 déjà en cours d’exécution !"&lt;BR /&gt;    exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;LB4Login
BouclePrincipale&lt;/PRE&gt;&lt;P&gt;J'ai créé une tache cron qui le lance au démarrage du Raspberry (@reboot ~/LB4_Reset_Admin_Dist.sh).&lt;/P&gt;&lt;P&gt;[Edit]&lt;/P&gt;&lt;P&gt;Ça devrait fonctionner sous n'importe quel unix like, BSD, Linux, un NAS, un Mac, sous Windows avec WSL, etc.&lt;/P&gt;&lt;P&gt;Pensez à rendre exécutable le script avec "chmod +x ~/LB4_Reset_Admin_Dist.sh"&lt;/P&gt;&lt;P&gt;Au pire il faut juste attendre que quelqu'un sachant le faire s'en inspire et traduise en vbs, powershell, etc.&lt;/P&gt;&lt;P&gt;[/Edit]&lt;/P&gt;&lt;P&gt;[Edit2]&lt;/P&gt;&lt;P&gt;Simplifications.&lt;/P&gt;&lt;P&gt;[/Edit2]&lt;/P&gt;&lt;P&gt;[Edit3]&lt;/P&gt;&lt;P&gt;Ajout suite remarque &lt;a href="https://communaute.orange.fr/t5/user/viewprofilepage/user-id/19608531"&gt;@T800&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[/Edit3]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correctif implémenté dans la version &lt;STRONG&gt;G06.R01.C05_02&lt;/STRONG&gt; signalée &lt;A href="https://communaute.orange.fr/t5/Livebox/Probl%C3%A8me-pour-acc%C3%A9der-%C3%A0-distance-a-ma-Livebox-4-Depuis-le/m-p/3005251#M39436" target="_self"&gt;ici&lt;/A&gt;.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bonne journée.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 19:56:55 GMT</pubDate>
    <dc:creator>matrixbx</dc:creator>
    <dc:date>2023-09-07T19:56:55Z</dc:date>
    <item>
      <title>Script shell réactivation admin distante sur LB4 v4.65.0 suite reboot.</title>
      <link>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943480#M35611</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;J'ai dernièrement installé une LB4 (Sercomm) en v4.65.0 et découvert le bug dont elle souffre concernant la perte de l'admin distante suite à redémarrage (cf &lt;A href="https://communaute.orange.fr/t5/Livebox/Probl%C3%A8me-pour-acc%C3%A9der-%C3%A0-distance-a-ma-Livebox-4-Depuis-le/td-p/2851250" target="_self"&gt;ce fils de discussion&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;Par chance, j'ai un Rapsberry pi à disposition sur son LAN accessible en ssh, j'ai donc toujours la possibilité de la reconfigurer si besoin avec un tunnel ("ssh -D port Raspberry" et le plugin Firefox FoxyProxy), mais c'est préférable d'automatiser la reconfiguration et de ne plus avoir à s'en soucier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Voici le script shell que j'ai fait et qui s'en charge (nécessite curl et jq, à installer préalablement via "sudo apt install curl jq").&lt;/P&gt;&lt;PRE&gt;#!/usr/bin/env bash
# Script de reconfiguration de l'admin distante sur LB4 v4.65.0 suite bug perte après reboot.
# Décommenter pour debug
# set -xv

PROTO="http" # Réutilisable avec "-k https" pour d'autres buts en admin distante.
URL="192.168.1.1" # Adresse IP LAN de la box, personnalisable si modifiée, ou nom dyndns pour utilisation en admin distante pour d'autres buts.
PORT="80" # Port modifiable pour réutilisation du principe en admin distante.

DELAIS="300" # Délais en secondes entre deux interrogations de la box.
USERNAME="admin"
PASSWORD="MonMotDePasseSecret" # À personnaliser.
&lt;BR /&gt;# Paramètres de configuration de l'admin distante à personnaliser.
AdminDistUserName="MonAdminDistant"
AdminDistPassword="Sup3rSecret" # Doit semble-t-il contenir 8 caractères minimum dont un chiffre ou caractère spécial.
AdminDistPort="12345"

LB4Login () {&lt;BR /&gt;CONTEXTID=$(curl -m 3 -c .cookies-jar.txt -s $PROTO://$URL:$PORT/ws \&lt;BR /&gt;-H 'Authorization: X-Sah-Login' \&lt;BR /&gt;-H 'Content-Type: application/x-sah-ws-4-call+json' \&lt;BR /&gt;--data-raw $'{"service":"sah.Device.Information","method":"createContext","parameters":{"applicationName":"webui","username":"'$USERNAME'","password":"'$PASSWORD'"}}' 2&amp;gt;/dev/null | \&lt;BR /&gt;jq -r '.data.contextID' 2&amp;gt;/dev/null)&lt;BR /&gt;SESSIONID=$(awk /$URL/'{print $NF}' .cookies-jar.txt)&lt;BR /&gt;COOKIEID=$(awk /$URL/'{print $6}' .cookies-jar.txt | cut -d "/" -f1)&lt;BR /&gt;! [[ -z $SESSIONID ]] &amp;amp;&amp;amp; ! [[ -z $COOKIEID ]] &amp;amp;&amp;amp; rm .cookies-jar.txt &amp;amp;&amp;amp; return 0&lt;BR /&gt;[[ $CONTEXTID == "null" ]] &amp;amp;&amp;amp; echo "Échec d'ouverture de session, vérifier les paramètres." &amp;amp;&amp;amp; exit 1&lt;BR /&gt;} # Fonction d'ouverture de session sur la box, durée max session inactive env 10 min.

GetLB4NumberOfReboots () {&lt;BR /&gt;CurrentLB4NumberOfReboots=$(curl -m3 -s $PROTO://$URL:$PORT/ws \&lt;BR /&gt;-H 'Authorization: X-Sah '$CONTEXTID \&lt;BR /&gt;-H 'Content-Type: application/x-sah-ws-4-call+json' \&lt;BR /&gt;-H 'X-Context: '$CONTEXTID \&lt;BR /&gt;-H 'Cookie: '$COOKIEID'/sessid='$SESSIONID'; sah/contextId='$CONTEXTID \&lt;BR /&gt;--data-raw '{"service":"DeviceInfo","method":"get","parameters":{}}' 2&amp;gt;/dev/null | \&lt;BR /&gt;jq '.status.NumberOfReboots' 2&amp;gt;/dev/null )&lt;BR /&gt;[[ $CurrentLB4NumberOfReboots == "null" ]] &amp;amp;&amp;amp; LB4Login &amp;amp;&amp;amp; GetLB4NumberOfReboots&lt;BR /&gt;[[ -z $CurrentLB4NumberOfReboots ]] &amp;amp;&amp;amp; LB4Login &amp;amp;&amp;amp; GetLB4NumberOfReboots&lt;BR /&gt;! [[ -z $CurrentLB4NumberOfReboots ]] &amp;amp;&amp;amp; return 0&lt;BR /&gt;} # Donne le nombre total de reboot, réouvre une session si besoin.

LB4DesactAdminDist () {&lt;BR /&gt;LB4DesactAdminDistSTATUS=$(curl -m3 -s $PROTO://$URL:$PORT/ws \&lt;BR /&gt;-X POST \&lt;BR /&gt;-H 'Authorization: X-Sah '$CONTEXTID \&lt;BR /&gt;-H 'Content-Type: application/x-sah-ws-4-call+json' \&lt;BR /&gt;-H 'X-Context: '$CONTEXTID \&lt;BR /&gt;-H 'Cookie: '$COOKIEID'/sessid='$SESSIONID'; sah/contextId='$CONTEXTID \&lt;BR /&gt;--data-raw '{"service":"NMC","method":"disableRemoteAccess","parameters":{}}' 2&amp;gt;/dev/null | \&lt;BR /&gt;jq '.status' 2&amp;gt;/dev/null ) &lt;BR /&gt;} # Fonction de suppression de l'admin distante, répond "true".

LB4ActivAdminDist () {&lt;BR /&gt;LB4ActivAdminDistSTATUS=$(curl -m3 -s $PROTO://$URL:$PORT/ws \&lt;BR /&gt;-X POST \&lt;BR /&gt;-H 'Authorization: X-Sah '$CONTEXTID \&lt;BR /&gt;-H 'Content-Type: application/x-sah-ws-4-call+json' \&lt;BR /&gt;-H 'X-Context: '$CONTEXTID \&lt;BR /&gt;-H 'Cookie: '$COOKIEID'/sessid='$SESSIONID'; sah/contextId='$CONTEXTID \&lt;BR /&gt;--data-raw '{"service":"NMC","method":"enableRemoteAccess","parameters":{"username":"'$AdminDistUserName'","password":"'$AdminDistPassword'","port":'$AdminDistPort',"timeout":0}}' 2&amp;gt;/dev/null | \&lt;BR /&gt;jq '.status' 2&amp;gt;/dev/null )&lt;BR /&gt;} # Fonction de création de l'admin distante, répond le n° de port si ok.

BouclePrincipale () {
while true
do
    GetLB4NumberOfReboots&lt;BR /&gt;&lt;BR /&gt;    if [[ -f .LB4NumberOfReboots ]] # on vérifie si un fichier contenant le nombre de reboot existe déjà.
    then
        LB4NumberOfReboots=$(cat .LB4NumberOfReboots) # On y récupère la valeur précédemment connue.
    else
        echo $CurrentLB4NumberOfReboots &amp;gt; .LB4NumberOfReboots # Sinon on y met la valeur courante.&lt;BR /&gt;        LB4NumberOfReboots=$CurrentLB4NumberOfReboots
    fi

    if [[ $CurrentLB4NumberOfReboots -gt $LB4NumberOfReboots ]] # Si la valeur courante est supérieure à la valeur connue, la box a rebooté, on réactive l'admin distante.
    then
        LB4DesactAdminDist
        LB4ActivAdminDist
        echo $CurrentLB4NumberOfReboots &amp;gt; .LB4NumberOfReboots # On sauvegarde la nouvelle valeur du compteur.
        sleep $DELAIS # On se met en sommeil.
        BouclePrincipale # On recommence.&lt;BR /&gt;    else
        sleep $DELAIS
        BouclePrincipale
    fi&lt;BR /&gt;&lt;BR /&gt;done
}&lt;BR /&gt;
if [[ $(ps aux | grep -v -E "pluma|gedit|nano" | grep -c $0 ) -gt 4 ]] # On vérifie si il y a déjà une instance du script active, on quitte si c'est le cas.&lt;BR /&gt;then&lt;BR /&gt;    echo "Script $0 déjà en cours d’exécution !"&lt;BR /&gt;    exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;LB4Login
BouclePrincipale&lt;/PRE&gt;&lt;P&gt;J'ai créé une tache cron qui le lance au démarrage du Raspberry (@reboot ~/LB4_Reset_Admin_Dist.sh).&lt;/P&gt;&lt;P&gt;[Edit]&lt;/P&gt;&lt;P&gt;Ça devrait fonctionner sous n'importe quel unix like, BSD, Linux, un NAS, un Mac, sous Windows avec WSL, etc.&lt;/P&gt;&lt;P&gt;Pensez à rendre exécutable le script avec "chmod +x ~/LB4_Reset_Admin_Dist.sh"&lt;/P&gt;&lt;P&gt;Au pire il faut juste attendre que quelqu'un sachant le faire s'en inspire et traduise en vbs, powershell, etc.&lt;/P&gt;&lt;P&gt;[/Edit]&lt;/P&gt;&lt;P&gt;[Edit2]&lt;/P&gt;&lt;P&gt;Simplifications.&lt;/P&gt;&lt;P&gt;[/Edit2]&lt;/P&gt;&lt;P&gt;[Edit3]&lt;/P&gt;&lt;P&gt;Ajout suite remarque &lt;a href="https://communaute.orange.fr/t5/user/viewprofilepage/user-id/19608531"&gt;@T800&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[/Edit3]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correctif implémenté dans la version &lt;STRONG&gt;G06.R01.C05_02&lt;/STRONG&gt; signalée &lt;A href="https://communaute.orange.fr/t5/Livebox/Probl%C3%A8me-pour-acc%C3%A9der-%C3%A0-distance-a-ma-Livebox-4-Depuis-le/m-p/3005251#M39436" target="_self"&gt;ici&lt;/A&gt;.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bonne journée.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 19:56:55 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943480#M35611</guid>
      <dc:creator>matrixbx</dc:creator>
      <dc:date>2023-09-07T19:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Script shell réactivation admin distante sur LB4 v4.65.0 suite reboot.</title>
      <link>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943521#M35620</link>
      <description>&lt;P&gt;Merci, je vais regarder avec attention.&lt;/P&gt;&lt;P&gt;Je crois que quelques commentaires, dans le script, m'aideraient un peu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 09:22:13 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943521#M35620</guid>
      <dc:creator>Samu</dc:creator>
      <dc:date>2023-04-29T09:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Script shell réactivation admin distante sur LB4 v4.65.0 suite reboot.</title>
      <link>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943528#M35622</link>
      <description>&lt;P&gt;Salut &lt;a href="https://communaute.orange.fr/t5/user/viewprofilepage/user-id/3083745"&gt;@Samu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Commentaires ajoutés.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 09:31:28 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943528#M35622</guid>
      <dc:creator>matrixbx</dc:creator>
      <dc:date>2023-04-29T09:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Script shell réactivation admin distante sur LB4 v4.65.0 suite reboot.</title>
      <link>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943539#M35623</link>
      <description>&lt;P&gt;J'espère que cela suffira.&lt;/P&gt;&lt;P&gt;Mes développements sous Linux remontant à plus de 10 ans, j'espère m'y retrouver.&lt;/P&gt;&lt;P&gt;Certainement, à bientôt, avec des questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 09:55:01 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943539#M35623</guid>
      <dc:creator>Samu</dc:creator>
      <dc:date>2023-04-29T09:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Script shell réactivation admin distante sur LB4 v4.65.0 suite reboot.</title>
      <link>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943914#M35647</link>
      <description>&lt;P&gt;Json et moi, il faut déjà qu'on deviennent copains. Ce n'est pas gagné !&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 07:33:14 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2943914#M35647</guid>
      <dc:creator>Samu</dc:creator>
      <dc:date>2023-04-30T07:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script shell réactivation admin distante sur LB4 v4.65.0 suite reboot.</title>
      <link>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2961115#M36760</link>
      <description>&lt;P&gt;Bonjour &lt;a href="https://communaute.orange.fr/t5/user/viewprofilepage/user-id/18933345"&gt;@matrixbx&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Merci pour le script! J'ai une petite question : je vois que la fonction LB4Login n'est pas appelée avant le premier curl de GetLB4NumberOfReboots... Il ne manque pas qqch pour initialiser les variables CONTEXTID et COOKIEID ?&lt;/P&gt;&lt;P&gt;Bonne journée&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2023 11:34:22 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2961115#M36760</guid>
      <dc:creator>T800</dc:creator>
      <dc:date>2023-06-03T11:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Script shell réactivation admin distante sur LB4 v4.65.0 suite reboot.</title>
      <link>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2961122#M36761</link>
      <description>&lt;P&gt;Bonjour &lt;a href="https://communaute.orange.fr/t5/user/viewprofilepage/user-id/19608531"&gt;@T800&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tout à fait, lors de la 1ère exécution ces variables ne sont pas définies et on a la réponse "null" et du coup on lance LB4Login puis de nouveau GetLB4NumberOfReboots.&lt;/P&gt;&lt;P&gt;En cas de reboot de la box, la session précédente est de toute façon invalide de son point de vue et la valeur de CONTEXTID sera rejeté par la box et on aura "null" quand même.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Si vous préférez éviter cette étape, vous pouvez appeler LB4Login juste avant BouclePrincipale&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2023 11:53:47 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/Livebox/Script-shell-r%C3%A9activation-admin-distante-sur-LB4-v4-65-0-suite/m-p/2961122#M36761</guid>
      <dc:creator>matrixbx</dc:creator>
      <dc:date>2023-06-03T11:53:47Z</dc:date>
    </item>
  </channel>
</rss>

