Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177497180
D55621.1794566191.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
31 KB
Referenced Files
None
Subscribers
None
D55621.1794566191.diff
View Options
diff --git a/documentation/content/es/books/handbook/usb-device-mode/_index.po b/documentation/content/es/books/handbook/usb-device-mode/_index.po
new file mode 100644
--- /dev/null
+++ b/documentation/content/es/books/handbook/usb-device-mode/_index.po
@@ -0,0 +1,712 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR The FreeBSD Project
+# This file is distributed under the same license as the FreeBSD Documentation package.
+# Fernando Apesteguía <fernando.apesteguia@gmail.com>, 2021, 2022, 2023.
+# Juan David Jaramillo Ortiz <juanda097@protonmail.ch>, 2023, 2025.
+# Alfredo Alvarado <alvaradorad@disroot.org>, 2026.
+msgid ""
+msgstr ""
+"Project-Id-Version: FreeBSD Documentation VERSION\n"
+"POT-Creation-Date: 2025-11-08 16:17+0000\n"
+"PO-Revision-Date: 2026-02-27 21:11+0000\n"
+"Last-Translator: Alfredo Alvarado <alvaradorad@disroot.org>\n"
+"Language-Team: Spanish <https://translate-dev.freebsd.org/projects/"
+"documentation/bookshandbookusb-device-mode_index/es/>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.17\n"
+
+#. type: YAML Front Matter: description
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:1
+#, no-wrap
+msgid "This chapter covers the use of USB Device Mode and USB On The Go (USB OTG) in FreeBSD"
+msgstr "Este capítulo cubre el uso del Modo de Dispositivo USB y USB On The Go (USB OTG) en FreeBSD"
+
+#. type: YAML Front Matter: part
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:1
+#, no-wrap
+msgid "Part III. System Administration"
+msgstr "Parte III. Administración del sistema"
+
+#. type: YAML Front Matter: title
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:1
+#, no-wrap
+msgid "Chapter 28. USB Device Mode / USB OTG"
+msgstr "Capítulo 28. Modo de dispositivo USB / USB OTG"
+
+#. type: Title =
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:15
+#, no-wrap
+msgid "USB Device Mode / USB OTG"
+msgstr "Modo de dispositivo USB / USB OTG"
+
+#. type: Title ==
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:53
+#, no-wrap
+msgid "Synopsis"
+msgstr "Sinopsis"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:57
+msgid ""
+"This chapter covers the use of USB Device Mode and USB On The Go (USB OTG) "
+"in FreeBSD. This includes virtual serial consoles, virtual network "
+"interfaces, and virtual USB drives."
+msgstr ""
+"Este capítulo cubre el uso del Modo de Dispositivo USB y USB On The Go (USB "
+"OTG) en FreeBSD. Esto incluye consolas seriales virtuales, interfaces de "
+"red virtuales y unidades USB virtuales."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:62
+msgid ""
+"When running on hardware that supports USB device mode or USB OTG, like that "
+"built into many embedded boards, the FreeBSD USB stack can run in _device "
+"mode_. Device mode makes it possible for the computer to present itself as "
+"different kinds of USB device classes, including serial ports, network "
+"adapters, and mass storage, or a combination thereof. A USB host like a "
+"laptop or desktop computer is able to access them just like physical USB "
+"devices. Device mode is sometimes called the \"USB gadget mode\"."
+msgstr ""
+"Cuando se ejecuta en hardware que admite el modo dispositivo USB o USB OTG, "
+"como el que está integrado en muchas placas embebidas, la pila USB de "
+"FreeBSD puede funcionar en modo dispositivo. El modo dispositivo hace "
+"posible que la computadora se presente como diferentes tipos de clases de "
+"dispositivos USB, incluidos puertos serie, adaptadores de red y "
+"almacenamiento masivo, o una combinación de estos. Un host USB, como una "
+"computadora portátil o de escritorio, puede acceder a ellos de la misma "
+"manera que a los dispositivos USB físicos. El modo dispositivo a veces se "
+"denomina \"modo gadget USB\"."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:68
+msgid ""
+"There are two basic ways the hardware can provide the device mode "
+"functionality: with a separate \"client port\", which only supports the "
+"device mode, and with a USB OTG port, which can provide both device and host "
+"mode. For USB OTG ports, the USB stack switches between host-side and "
+"device-side automatically, depending on what is connected to the port. "
+"Connecting a USB device like a memory stick to the port causes FreeBSD to "
+"switch to host mode. Connecting a USB host like a computer causes FreeBSD "
+"to switch to device mode. Single purpose \"client ports\" always work in "
+"device mode."
+msgstr ""
+"Existen dos formas básicas en que el hardware puede proporcionar la "
+"funcionalidad del modo dispositivo: con un \"puerto cliente\" separado, que "
+"solo admite el modo dispositivo, y con un puerto USB OTG, que puede "
+"proporcionar tanto el modo dispositivo como el modo host. Para los puertos "
+"USB OTG, la pila USB cambia automáticamente entre el lado del host y el lado "
+"del dispositivo, dependiendo de lo que esté conectado al puerto. Conectar "
+"un dispositivo USB como una memoria USB al puerto hace que FreeBSD cambie al "
+"modo host. Conectar un host USB como una computadora hace que FreeBSD "
+"cambie al modo dispositivo. Los \"puertos cliente\" de un solo propósito "
+"siempre funcionan en modo dispositivo."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:73
+msgid ""
+"What FreeBSD presents to the USB host depends on the `hw.usb.template` "
+"sysctl. Some templates provide a single device, such as a serial terminal; "
+"others provide multiple ones, which can all be used at the same time. An "
+"example is the template 10, which provides a mass storage device, a serial "
+"console, and a network interface. See man:usb_template[4] for the list of "
+"available values."
+msgstr ""
+"Lo que FreeBSD presenta al anfitrión USB depende del sysctl hw.usb.template. "
+"Algunas plantillas proporcionan un único dispositivo, como una terminal "
+"serie; otras proporcionan varios, que pueden utilizarse todos al mismo "
+"tiempo. Un ejemplo es la plantilla 10, que proporciona un dispositivo de "
+"almacenamiento masivo, una consola serie y una interfaz de red. Consulte man:"
+"usb_template para obtener la lista de los valores disponibles."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:77
+msgid ""
+"Note that in some cases, depending on the hardware and the hosts operating "
+"system, for the host to notice the configuration change, it must be either "
+"physically disconnected and reconnected, or forced to rescan the USB bus in "
+"a system-specific way. When FreeBSD is running on the host, man:"
+"usbconfig[8] `reset` can be used. This also must be done after loading [."
+"filename]#usb_template.ko# if the USB host was already connected to the "
+"USBOTG socket."
+msgstr ""
+"Tenga en cuenta que en algunos casos, dependiendo del hardware y del sistema "
+"operativo del host, para que el host note el cambio de configuración, debe "
+"estar desconectado físicamente y volver a conectarse, o forzado a volver a "
+"escanear el bus USB de una manera específica del sistema. Cuando FreeBSD "
+"está en ejecución en el host, se puede usar man:usbconfig[8] `reset`. Esto "
+"también debe hacerse después de cargar [.filename]#usb_template.ko# si el "
+"host USB ya estaba conectado al socket USBOTG."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:79
+msgid "Read this chapter to learn:"
+msgstr "Lea este capítulo para aprender:"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:81
+msgid "How to set up USB Device Mode functionality on FreeBSD."
+msgstr ""
+"Cómo configurar la funcionalidad del modo de dispositivo USB en FreeBSD."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:82
+msgid "How to configure the virtual serial port on FreeBSD."
+msgstr "Cómo configurar el puerto serie virtual en FreeBSD."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:83
+msgid ""
+"How to connect to the virtual serial port from various operating systems."
+msgstr ""
+"Cómo conectarse al puerto serie virtual desde varios sistemas operativos."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:84
+msgid "How to configure FreeBSD to provide a virtual USB network interface."
+msgstr ""
+"Cómo configurar FreeBSD para proporcionar una interfaz de red USB virtual."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:85
+msgid "How to configure FreeBSD to provide a virtual USB storage device."
+msgstr ""
+"Cómo configurar FreeBSD para proporcionar un dispositivo de almacenamiento "
+"USB virtual."
+
+#. type: Title ==
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:87
+#, no-wrap
+msgid "USB Virtual Serial Ports"
+msgstr "Puertos Seriales Virtuales USB"
+
+#. type: Title ===
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:89
+#, no-wrap
+msgid "Configuring USB Device Mode Serial Ports"
+msgstr "Configuración de puertos seriales en modo dispositivo USB"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:95
+msgid ""
+"Virtual serial port support is provided by templates number 3, 8, and 10. "
+"Note that template 3 works with Microsoft Windows 10 without the need for "
+"special drivers and INF files. Other host operating systems work with all "
+"three templates. Both man:usb_template[4] and man:umodem[4] kernel modules "
+"must be loaded."
+msgstr ""
+"El soporte para puertos seriales virtuales es proporcionado por las "
+"plantillas número 3, 8 y 10. Tenga en cuenta que la plantilla 3 funciona "
+"con Microsoft Windows 10 sin necesidad de controladores especiales ni "
+"archivos INF. Otros sistemas operativos anfitriones funcionan con las tres "
+"plantillas. Deben cargarse ambos módulos del núcleo man:usb_template[4] y "
+"man:umodem[4]."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:97
+msgid ""
+"To enable USB device mode serial ports, add those lines to [.filename]#/etc/"
+"ttys#:"
+msgstr ""
+"Para habilitar los puertos seriales en modo de dispositivo USB, agregue "
+"estas líneas a [.filename]#/etc/ttys#:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:102
+#, no-wrap
+msgid ""
+"ttyU0\t\"/usr/libexec/getty 3wire\"\tvt100\tonifconsole secure\n"
+"ttyU1\t\"/usr/libexec/getty 3wire\"\tvt100\tonifconsole secure\n"
+msgstr ""
+"ttyU0\t\"/usr/libexec/getty 3wire\"\tvt100\tonifconsole secure\n"
+"ttyU1\t\"/usr/libexec/getty 3wire\"\tvt100\tonifconsole secure\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:105
+msgid "Then add these lines to [.filename]#/etc/devd.conf#:"
+msgstr "Luego añade estas líneas a [.filename]#/etc/devd.conf#:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:115
+#, no-wrap
+msgid ""
+"notify 100 {\n"
+"\tmatch \"system\"\t\t\"DEVFS\";\n"
+"\tmatch \"subsystem\"\t\"CDEV\";\n"
+"\tmatch \"type\"\t\t\"CREATE\";\n"
+"\tmatch \"cdev\"\t\t\"ttyU[0-9]+\";\n"
+"\taction \"/sbin/init q\";\n"
+"};\n"
+msgstr ""
+"notify 100 {\n"
+"\tmatch \"system\"\t\t\"DEVFS\";\n"
+"\tmatch \"subsystem\"\t\"CDEV\";\n"
+"\tmatch \"type\"\t\t\"CREATE\";\n"
+"\tmatch \"cdev\"\t\t\"ttyU[0-9]+\";\n"
+"\taction \"/sbin/init q\";\n"
+"};\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:118
+msgid "Reload the configuration if man:devd[8] is already running:"
+msgstr "Recargue la configuración si man:devd[8] ya se está ejecutando:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:122
+#, no-wrap
+msgid "# service devd restart\n"
+msgstr "# service devd restart\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:125
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:192
+msgid ""
+"Make sure the necessary modules are loaded and the correct template is set "
+"at boot by adding those lines to [.filename]#/boot/loader.conf#, creating it "
+"if it does not already exist:"
+msgstr ""
+"Asegúrese de que los módulos necesarios estén cargados y que la plantilla "
+"correcta esté configurada al inicio agregando esas líneas a [.filename]#/"
+"boot/loader.conf#, creándolo si aún no existe:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:130
+#, no-wrap
+msgid ""
+"umodem_load=\"YES\"\n"
+"hw.usb.template=3\n"
+msgstr ""
+"umodem_load=\"YES\"\n"
+"hw.usb.template=3\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:133
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:200
+msgid "To load the module and set the template without rebooting use:"
+msgstr "Para cargar el módulo y establecer la plantilla sin reiniciar, use:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:138
+#, no-wrap
+msgid ""
+"# kldload umodem\n"
+"# sysctl hw.usb.template=3\n"
+msgstr ""
+"# kldload umodem\n"
+"# sysctl hw.usb.template=3\n"
+
+#. type: Title ===
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:140
+#, no-wrap
+msgid "Connecting to USB Device Mode Serial Ports from FreeBSD"
+msgstr "Conexión a puertos seriales en modo dispositivo USB desde FreeBSD"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:146
+msgid ""
+"To connect to a board configured to provide USB device mode serial ports, "
+"connect the USB host, such as a laptop, to the boards USB OTG or USB client "
+"port. Use `pstat -t` on the host to list the terminal lines. Near the end "
+"of the list a USB serial port is shown, e.g. \"ttyU0\". To open the "
+"connection, use:"
+msgstr ""
+"Para conectarse a una placa configurada para proporcionar puertos serie en "
+"modo dispositivo USB, conecte el host USB, como una computadora portátil, al "
+"puerto USB OTG o puerto cliente USB de la placa. Utilice pstat -t en el host "
+"para listar las líneas de terminal. Cerca del final de la lista se muestra "
+"un puerto serie USB, por ejemplo, \"ttyU0\". Para abrir la conexión, utilice:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:150
+#, no-wrap
+msgid "# cu -l /dev/ttyU0\n"
+msgstr "# cu -l /dev/ttyU0\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:153
+msgid "After pressing the kbd:[Enter] key a few times a login prompt appears."
+msgstr ""
+"Tras pulsar la tecla kbd:[Enter] unas cuantas veces aparecerá una solicitud "
+"de inicio de sesión."
+
+#. type: Title ===
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:154
+#, no-wrap
+msgid "Connecting to USB Device Mode Serial Ports from macOS"
+msgstr "Conectarse a puertos serie en modo dispositivo USB desde macOS"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:158
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:168
+msgid ""
+"To connect to a board configured to provide USB device mode serial ports, "
+"connect the USB host, such as a laptop, to the boards USB OTG or USB client "
+"port. To open the connection, use:"
+msgstr ""
+"Para conectarse a una placa configurada para proporcionar puertos serie en "
+"modo dispositivo USB, conecte el host USB, como una computadora portátil, al "
+"puerto USB OTG o al puerto cliente USB de la placa. Para abrir la conexión, "
+"utilice:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:162
+#, no-wrap
+msgid "# cu -l /dev/cu.usbmodemFreeBSD1\n"
+msgstr "# cu -l /dev/cu.usbmodemFreeBSD1\n"
+
+#. type: Title ===
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:164
+#, no-wrap
+msgid "Connecting to USB Device Mode Serial Ports from Linux"
+msgstr "Conectarse a puertos serie en modo dispositivo USB desde Linux"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:172
+#, no-wrap
+msgid "# minicom -D /dev/ttyACM0\n"
+msgstr "# minicom -D /dev/ttyACM0\n"
+
+#. type: Title ===
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:174
+#, no-wrap
+msgid "Connecting to USB Device Mode Serial Ports from Microsoft Windows 10"
+msgstr ""
+"Conexión a puertos serie en modo dispositivo USB desde Microsoft Windows 10"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:182
+msgid ""
+"To connect to a board configured to provide USB device mode serial ports, "
+"connect the USB host, such as a laptop, to the boards USB OTG or USB client "
+"port. To open a connection a serial terminal program is needed, such as "
+"PuTTY. To check the COM port name used by Windows, run Device Manager, "
+"expand \"Ports (COM & LPT)\". A name similar to \"USB Serial Device "
+"(COM4)\" appears. Run the serial terminal program of choice, for example "
+"PuTTY. In the PuTTY dialog set \"Connection type\" to \"Serial\", type the "
+"COMx obtained from Device Manager in the \"Serial line\" dialog box and "
+"click Open."
+msgstr ""
+"Para conectarse a una placa configurada para proporcionar puertos serie en "
+"modo dispositivo USB, conecte el host USB, como una computadora portátil, al "
+"puerto USB OTG o al puerto cliente USB de la placa. Para abrir una conexión "
+"se necesita un programa de terminal serie, como PuTTY. Para comprobar el "
+"nombre del puerto COM utilizado por Windows, ejecute el Administrador de "
+"dispositivos y expanda \"Puertos (COM y LPT)\". Aparecerá un nombre similar "
+"a \"Dispositivo de serie USB (COM4)\". Ejecute el programa de terminal serie "
+"de su elección, por ejemplo PuTTY. En el cuadro de diálogo de PuTTY, "
+"establezca el \"Connection type\" en \"Serial\", escriba el COMx obtenido "
+"del Administrador de dispositivos en el cuadro de diálogo \"Serial line\" y "
+"haga clic en Open."
+
+#. type: Title ==
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:184
+#, no-wrap
+msgid "USB Device Mode Network Interfaces"
+msgstr "Interfaces de red en modo dispositivo USB"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:190
+msgid ""
+"Virtual network interfaces support is provided by templates number 1, 8, and "
+"10. Note that none of them works with Microsoft Windows. Other host "
+"operating systems work with all three templates. Both man:usb_template[4] "
+"and man:if_cdce[4] kernel modules must be loaded."
+msgstr ""
+"El soporte para interfaces de red virtuales lo proporcionan las plantillas "
+"número 1, 8 y 10. Tenga en cuenta que ninguna de ellas funciona con "
+"Microsoft Windows. Otros sistemas operativos host funcionan con las tres "
+"plantillas. Deben cargarse ambos módulos del kernel, man:usb_template[4] y "
+"man:if_cdce[4]."
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:197
+#, no-wrap
+msgid ""
+"if_cdce_load=\"YES\"\n"
+"hw.usb.template=1\n"
+msgstr ""
+"if_cdce_load=\"YES\"\n"
+"hw.usb.template=1\n"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:205
+#, no-wrap
+msgid ""
+"# kldload if_cdce\n"
+"# sysctl hw.usb.template=1\n"
+msgstr ""
+"kldload if_cdce\n"
+"sysctl hw.usb.template=1\n"
+
+#. type: Title ==
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:208
+#, no-wrap
+msgid "USB Virtual Storage Device"
+msgstr "Dispositivo de almacenamiento virtual USB"
+
+#. type: delimited block = 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:213
+msgid ""
+"The man:cfumass[4] driver is a USB device mode driver first available in "
+"FreeBSD 12.0."
+msgstr ""
+"El controlador man:cfumass[4] es un controlador de modo de dispositivo USB "
+"disponible por primera vez en FreeBSD 12.0."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:219
+msgid ""
+"Mass Storage target is provided by templates 0 and 10. Both man:"
+"usb_template[4] and man:cfumass[4] kernel modules must be loaded. man:"
+"cfumass[4] interfaces to the CTL subsystem, the same one that is used for "
+"iSCSI or Fibre Channel targets. On the host side, USB Mass Storage "
+"initiators can only access a single LUN, LUN 0."
+msgstr ""
+"El target de almacenamiento masivo se implementa mediante las plantillas 0 y "
+"10. Es necesario cargar tanto el módulo del kernel man:usb_template[4] como "
+"man:cfumass[4]. El controlador man:cfumass[4] sirve de interfaz con el "
+"subsistema CTL, el mismo que se utiliza para los targets iSCSI o Fibre "
+"Channel. En el lado del host, los iniciadores de almacenamiento masivo USB "
+"solo pueden acceder a una única LUN, la LUN 0."
+
+#. type: Title ===
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:220
+#, no-wrap
+msgid "Configuring USB Mass Storage Target Using the cfumass Startup Script"
+msgstr ""
+"Configuración del target de almacenamiento masivo USB mediante el script de "
+"inicio de cfumass"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:224
+msgid ""
+"The simplest way to set up a read-only USB storage target is to use the [."
+"filename]#cfumass# rc script. To configure it this way, copy the files to "
+"be presented to the USB host machine into the `/var/cfumass` directory, and "
+"add this line to [.filename]#/etc/rc.conf#:"
+msgstr ""
+"La forma más sencilla de configurar un target de almacenamiento USB de solo "
+"lectura es utilizar el script de inicio [.filename]#cfumass#. Para "
+"configurarlo de esta manera, copie los archivos que se presentarán al equipo "
+"host USB en el directorio /var/cfumass y añada esta línea a [.filename]#/etc/"
+"rc.conf#:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:228
+#, no-wrap
+msgid "cfumass_enable=\"YES\"\n"
+msgstr "cfumass_enable=\"YES\"\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:231
+msgid "To configure the target without restarting, run this command:"
+msgstr "Para configurar el target sin reiniciar, ejecute este comando:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:235
+#, no-wrap
+msgid "# service cfumass start\n"
+msgstr "service cfumass start\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:240
+msgid ""
+"Differently from serial and network functionality, the template should not "
+"be set to 0 or 10 in [.filename]#/boot/loader.conf#. This is because the "
+"LUN must be set up before setting the template. The cfumass startup script "
+"sets the correct template number automatically when started."
+msgstr ""
+"A diferencia de las funcionalidades de serie y de red, la plantilla no debe "
+"establecerse en 0 ó 10 en [.filename]#/boot/loader.conf#. Esto se debe a que "
+"la LUN debe estar configurada antes de establecer la plantilla. El script de "
+"inicio de [.filename]#cfumass# establece automáticamente el número de "
+"plantilla correcto al ejecutarse."
+
+#. type: Title ===
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:241
+#, no-wrap
+msgid "Configuring USB Mass Storage Using Other Means"
+msgstr "Configuración de almacenamiento masivo USB mediante otros métodos"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:245
+msgid ""
+"The rest of this chapter provides detailed description of setting the target "
+"without using the cfumass rc file. This is necessary if e.g. one wants to "
+"provide a writeable LUN."
+msgstr ""
+"El resto de este capítulo ofrece una descripción detallada de cómo "
+"configurar el target sin utilizar el archivo rc de cfumass. Esto es "
+"necesario si, por ejemplo, se desea proporcionar una LUN con permisos de "
+"escritura."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:251
+msgid ""
+"USB Mass Storage does not require the man:ctld[8] daemon to be running, "
+"although it can be used if desired. This is different from iSCSI. Thus, "
+"there are two ways to configure the target: man:ctladm[8], or man:ctld[8]. "
+"Both require the [.filename]#cfumass.ko# kernel module to be loaded. The "
+"module can be loaded manually:"
+msgstr ""
+"El almacenamiento masivo USB no requiere que el demonio man:ctld esté en "
+"ejecución, aunque se puede utilizar si se desea. Esto es diferente de iSCSI. "
+"Por tanto, existen dos formas de configurar el target: man:ctladm o man:"
+"ctld. Ambas requieren que el módulo del kernel [.filename]#cfumass.ko# esté "
+"cargado. El módulo puede cargarse manualmente:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:255
+#, no-wrap
+msgid "# kldload cfumass\n"
+msgstr "# kldload cfumass\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:258
+msgid ""
+"If [.filename]#cfumass.ko# has not been built into the kernel, [.filename]#/"
+"boot/loader.conf# can be set to load the module at boot:"
+msgstr ""
+"Si [.filename]#cfumass.ko# no se ha compilado dentro del kernel, se puede "
+"configurar [.filename]#/boot/loader.conf# para cargar el módulo al arrancar:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:262
+#, no-wrap
+msgid "cfumass_load=\"YES\"\n"
+msgstr "cfumass_load=\"YES\"\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:265
+msgid "A LUN can be created without the man:ctld[8] daemon:"
+msgstr "Se puede crear una LUN sin el demonio man:ctld[8]:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:269
+#, no-wrap
+msgid "# ctladm create -b block -o file=/data/target0\n"
+msgstr "# ctladm create -b block -o file=/data/target0\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:274
+msgid ""
+"This presents the contents of the image file [.filename]#/data/target0# as a "
+"LUN to the USB host. The file must exist before executing the command. To "
+"configure the LUN at system startup, add the command to [.filename]#/etc/rc."
+"local#."
+msgstr ""
+"El contenido del archivo de imagen [.filename]#/data/target0# se expone como "
+"una LUN ante el equipo host USB. El archivo debe existir antes de ejecutar "
+"el comando. Para que la LUN se configure automáticamente al arrancar el "
+"sistema, añada el comando al archivo [.filename]#/etc/rc.local#."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:277
+msgid ""
+"man:ctld[8] can also be used to manage LUNs. Create [.filename]#/etc/ctl."
+"conf#, add a line to [.filename]#/etc/rc.conf# to make sure man:ctld[8] is "
+"automatically started at boot, and then start the daemon."
+msgstr ""
+"man:ctld[8] también se puede utilizar para gestionar LUNs. Cree el archivo [."
+"filename]#/etc/ctl.conf#, añada una línea a [.filename]#/etc/rc.conf# para "
+"asegurarse de que man:ctld[8] se inicie automáticamente al arrancar y, a "
+"continuación, inicie el demonio."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:280
+msgid ""
+"This is an example of a simple [.filename]#/etc/ctl.conf# configuration "
+"file. Refer to man:ctl.conf[5] for a complete description of the options."
+msgstr ""
+"Este es un ejemplo de un archivo de configuración [.filename]#/etc/ctl.conf# "
+"simple. Consulte man:ctl.conf[5] para obtener una descripción completa de "
+"las opciones."
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:289
+#, no-wrap
+msgid ""
+"target naa.50015178f369f092 {\n"
+"\tlun 0 {\n"
+"\t\tpath /data/target0\n"
+"\t\tsize 4G\n"
+"\t}\n"
+"}\n"
+msgstr ""
+"target naa.50015178f369f092 {\n"
+"\tlun 0 {\n"
+"\t\tpath /data/target0\n"
+"\t\tsize 4G\n"
+"\t}\n"
+"}\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:296
+msgid ""
+"The example creates a single target with a single LUN. The "
+"`naa.50015178f369f092` is a device identifier composed of 32 random "
+"hexadecimal digits. The `path` line defines the full path to a file or zvol "
+"backing the LUN. That file must exist before starting man:ctld[8]. The "
+"second line is optional and specifies the size of the LUN."
+msgstr ""
+"Este ejemplo crea un único target con un solo LUN. El naa.50015178f369f092 "
+"es un identificador de dispositivo compuesto por 32 dígitos hexadecimales "
+"aleatorios. La línea path define la ruta completa a un archivo o zvol que "
+"sirve de respaldo al LUN. Ese archivo debe existir antes de iniciar "
+"man:ctld[8]. La segunda línea es opcional y especifica el tamaño del LUN."
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:298
+msgid ""
+"To make sure the man:ctld[8] daemon is started at boot, add this line to [."
+"filename]#/etc/rc.conf#:"
+msgstr ""
+"Para asegurar que el demonio man:ctld[8] se inicie en el arranque, añada "
+"esta línea a [.filename]#/etc/rc.conf#:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:302
+#, no-wrap
+msgid "ctld_enable=\"YES\"\n"
+msgstr "ctld_enable=\"YES\"\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:305
+msgid "To start man:ctld[8] now, run this command:"
+msgstr "Para iniciar man:ctld[8] ahora, ejecute este comando:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:309
+#, no-wrap
+msgid "# service ctld start\n"
+msgstr "# service ctld start\n"
+
+#. type: Plain text
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:313
+msgid ""
+"As the man:ctld[8] daemon is started, it reads [.filename]#/etc/ctl.conf#. "
+"If this file is edited after the daemon starts, reload the changes so they "
+"take effect immediately:"
+msgstr ""
+"A medida que el demonio man:ctld[8] se inicia, este lee [.filename]#/etc/ctl."
+"conf#. Si este archivo se edita después de que el demonio se haya iniciado, "
+"recargue los cambios para que surtan efecto inmediatamente:"
+
+#. type: delimited block . 4
+#: documentation/content/en/books/handbook/usb-device-mode/_index.adoc:317
+#, no-wrap
+msgid "# service ctld reload\n"
+msgstr "# service ctld reload\n"
+
+#~ msgid ""
+#~ "include::shared/attributes/attributes-{{% lang %}}.adoc[] include::shared/"
+#~ "{{% lang %}}/teams.adoc[] include::shared/{{% lang %}}/mailing-lists."
+#~ "adoc[] include::shared/{{% lang %}}/urls.adoc[]"
+#~ msgstr ""
+#~ "include::shared/attributes/attributes-{{% lang %}}.adoc[]\n"
+#~ "include::shared/{{% lang %}}/teams.adoc[]\n"
+#~ "include::shared/{{% lang %}}/mailing-lists.adoc[]\n"
+#~ "include::shared/{{% lang %}}/urls.adoc[]"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 13, 10:36 AM (5 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41699007
Default Alt Text
D55621.1794566191.diff (31 KB)
Attached To
Mode
D55621: [Spanish] [Handbook] Update of USB Device Mode translation
Attached
Detach File
Event Timeline