Diferencia entre revisiones de «Firmware Update From USB»
(Página creada con «False») |
(Traducciones) |
||
Línea 1: | Línea 1: | ||
<h3>Actualización mediante USB</h3> | |||
<div class="level3"> | |||
<p>Enter the shell:</p> | |||
<pre class="code"> | |||
user@srx> start shell | |||
% | |||
</pre> | |||
<p>Antes de insertar el dispositivo USB, ejecute lo siguiente:</p> | |||
<pre class="code"> | |||
% 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 | |||
</pre> | |||
<p>Inserte el dispositivo en el puerto USB. Se debería ver en la consola algo similar a lo siguiente:</p> | |||
<pre class="code"> | |||
% 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 | |||
</pre> | |||
<p> </p> | |||
<p><b><em>Note</em> </b><em>: '/dev/da1s1' is the USB drive</em>.</p> | |||
<p>Create a directory for the USB drive to mount to:</p> | |||
<pre class="code"> | |||
% mkdir /var/tmp/usb | |||
</pre> | |||
<p> </p> | |||
<p>Mount the USB drive to the <b>/var/tmp/usb</b> directory:</p> | |||
<pre class="code"> | |||
%su | |||
Password: | |||
root@srx% mount_msdosfs /dev/da1s1 /var/tmp/usb | |||
root@srx% ls /var/tmp/usb | |||
junos-srxsme-18.4r3-s2.tgz | |||
</pre> | |||
<p> </p> | |||
<p><b><em>Note</em> </b><em>: ls /var/tmp/usb will show all the files in the USB drive. </em></p> | |||
<p>Copy any of the USB files to the <b>/var/tmp/usb</b> directory:</p> | |||
<pre class="code"> | |||
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 | |||
</pre> | |||
<p> </p> | |||
<p>The junos-srxsme-18.4r3-s2.tgz file from the USB is successfully copied to the /var/tmp directory.</p> | |||
<p><br /> | |||
Now unmount the USB drive after the file is completely copied:</p> | |||
<pre class="code"> | |||
root@srx% umount /var/tmp/usb | |||
root@srx% exit | |||
%exit | |||
</pre> | |||
<p> </p> | |||
<p><b>Note:</b> For devices with multiple USBs, make sure that you unmount both devices.</p> | |||
<p>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>.</p> | |||
<pre class="code"> | |||
user@srx> request system software add no-copy /var/tmp/junos-srxsme-18.4r3-s2.tgz | |||
user@srx> request system reboot | |||
</pre> | |||
<p> </p> | |||
<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:13 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
Note : '/dev/da1s1' is the USB drive.
Create a directory for the USB drive to mount to:
% 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>