Diferencia entre revisiones de «Firmware Update From USB»

De Routers ARIU
Ir a la navegación Ir a la búsqueda
(Traducciones)
(Traducciones)
Línea 48: Línea 48:
</pre>
</pre>


<p>&nbsp;</p>
<p><b><em>Nota</em> </b><em>: &#39;/dev/da1s1&#39; es el disco USB</em>.</p>


<p><b><em>Note</em> </b><em>: &#39;/dev/da1s1&#39; is the USB drive</em>.</p>
<p>Crear un directorio para montar el dispositivo USB:</p>
 
<p>Create a directory for the USB drive to mount to:</p>


<pre class="code">
<pre class="code">
Línea 61: Línea 59:


</pre>
</pre>
<p>&nbsp;</p>


<p>Mount the USB drive to the <b>/var/tmp/usb</b> directory:</p>
<p>Mount the USB drive to the <b>/var/tmp/usb</b> directory:</p>
Línea 77: Línea 73:


</pre>
</pre>
<p>&nbsp;</p>


<p><b><em>Note</em> </b><em>: ls /var/tmp/usb will show all the files in the USB drive. ​</em></p>
<p><b><em>Note</em> </b><em>: ls /var/tmp/usb will show all the files in the USB drive. ​</em></p>
Línea 93: Línea 87:


</pre>
</pre>
<p>&nbsp;</p>


<p>The junos-srxsme-18.4r3-s2.tgz file from the USB is successfully copied to the /var/tmp directory.</p>
<p>The junos-srxsme-18.4r3-s2.tgz file from the USB is successfully copied to the /var/tmp directory.</p>
Línea 110: Línea 102:


</pre>
</pre>
<p>&nbsp;</p>


<p><b>Note:</b> ​For devices with multiple USBs, make sure that you unmount both devices.</p>
<p><b>Note:</b> ​For devices with multiple USBs, make sure that you unmount both devices.</p>
Línea 126: Línea 116:
</pre>
</pre>


<p>&nbsp;</p>
<p><a class="wikilink1" href="/doku.php?id=checksums" title="checksums">Checksums para validar la integridad de los archivos</a></p></div>
 
<p><a class="wikilink1" href="/doku.php?id=checksums" title="checksums">Checksums para validar la integridad de los archivos</a></p>
</div>

Revisión del 11:16 15 mar 2024

Actualización mediante USB

Enter the shell:

user@srx> start shell
%



Antes de insertar el dispositivo USB, ejecute lo siguiente:

% ls /dev/da*
/dev/da0        /dev/da0s1c     /dev/da0s2c     /dev/da0s3e     /dev/da0s4a
/dev/da0s1      /dev/da0s2      /dev/da0s3      /dev/da0s3f     /dev/da0s4c
/dev/da0s1a     /dev/da0s2a     /dev/da0s3c     /dev/da0s4      /dev/da0s4e




Inserte el dispositivo en el puerto USB. Se debería ver en la consola algo similar a lo siguiente:

% umass1: SanDisk Cruzer Micro, rev 2.00/2.00, addr 2
Oct  1 12:09:31  UNS /kernel: umass1: Sa2.00/2.00, addr 2
da1 at umass-sim1 bus 1 target 0 lun 0
da1: <Sandisk cruzer micro 8.02> Removable Direct Access SCSI-0 device
da1: 40.000MB/s transfers
da1: 1907MB (3907583 512 byte sectors: 255H 63S/T 243C)
Oct  1 12:09:31  UNS /kernel: da1 at umass-sim1 bus 1 target 0 lun 0
Oct  1 12:09:31  UNS /kernel: da1: <SanDisk Cruzer Micro 8.02> Removable Direct Access SCSI-0 device
Oct  1 12:09:31  UNS /kernel: da1: 40.000MB/s transfers
Oct  1 12:09:31  UNS /kernel: da1: 1907MB (3907583 512 byte sectors: 255H 63S/T 243C)
ls /dev/da*
/dev/da0        /dev/da0s2      /dev/da0s3c     /dev/da0s4a     /dev/da1s1
/dev/da0s1      /dev/da0s2a     /dev/da0s3e     /dev/da0s4c
/dev/da0s1a     /dev/da0s2c     /dev/da0s3f     /dev/da0s4e
/dev/da0s1c     /dev/da0s3      /dev/da0s4      /dev/da1




Nota : '/dev/da1s1' es el disco USB.

Crear un directorio para montar el dispositivo USB:

  % mkdir /var/tmp/usb




Mount the USB drive to the /var/tmp/usb directory:

%su
Password:
root@srx% mount_msdosfs /dev/da1s1 /var/tmp/usb
root@srx% ls /var/tmp/usb
junos-srxsme-18.4r3-s2.tgz




Note : ls /var/tmp/usb will show all the files in the USB drive. ​

Copy any of the USB files to the /var/tmp/usb directory:

root@srx% cp /var/tmp/usb/junos-srxsme-18.4r3-s2.tgz /var/tmp
root@srx% ls /var/tmp
junos-srxsme-18.4r3-s2.tgz




The junos-srxsme-18.4r3-s2.tgz file from the USB is successfully copied to the /var/tmp directory.


Now unmount the USB drive after the file is completely copied:

root@srx% umount /var/tmp/usb
root@srx% exit
%exit




Note: ​For devices with multiple USBs, make sure that you unmount both devices.

Install software with the commands below. For detailed instructions, refer to <a class="urlextern" href="http://www.juniper.net/techpubs/en_US/junos11.4/information-products/pathway-pages/software-installation-and-upgrade/software-installation-and-upgrade.html#installation-and-upgrade" rel="nofollow" title="http://www.juniper.net/techpubs/en_US/junos11.4/information-products/pathway-pages/software-installation-and-upgrade/software-installation-and-upgrade.html#installation-and-upgrade">Installing the Software</a>.

user@srx> request system software add no-copy /var/tmp/junos-srxsme-18.4r3-s2.tgz
user@srx> request system reboot




<a class="wikilink1" href="/doku.php?id=checksums" title="checksums">Checksums para validar la integridad de los archivos</a>