plugin: manual
name: networking/detect
requires: device.category == 'NETWORK' or device.category == 'WIRELESS'
command: network_test
description:
 Detecting your network controller(s):
 .
 $output
 .
 Is this correct?

plugin: shell 
name: networking/internet
depends: networking/detect
command: internet_test
description: Tests whether the system has a working Internet connection.

plugin: local
name: networking/info
requires: device.category == 'NETWORK'
description: Network Information
description-ast.UTF-8: Información de la rede
description-cs.UTF-8: Informace o síti
description-da.UTF-8: Netværksinformation
description-de.UTF-8: Netzwerk-Informationen
description-en_AU.UTF-8: Network Information
description-en_GB.UTF-8: Network Information
description-es.UTF-8: Información de la red
description-fr.UTF-8: Informations sur le réseau
description-gl.UTF-8: Información da rede
description-hu.UTF-8: Hálózati információk
description-it.UTF-8: Informazioni sulla rete
description-ko.UTF-8: 네트워크 정보
description-ms.UTF-8: Maklumat Rangkaian
description-pt_BR.UTF-8: Informações de rede
description-ru.UTF-8: Сведения о сети
description-sl.UTF-8: Podatki o omrežju
description-sq.UTF-8: Informacioni i Rrjetit
description-sr.UTF-8: Подаци о мрежи
description-sv.UTF-8: Nätverksinformation
description-th.UTF-8: ข้อมูลด้านเครื่อข่าย
description-tr.UTF-8: Ağ Bilgisi
command:
 cat <<'EOF' | run_templates -s 'udev_resource | filter_templates -w "category=NETWORK" | awk "/path: / { print \$2 }" | xargs -n 1 sh -c "for i in \`ls /sys\$0/net 2>/dev/null\`; do echo \$0 \$i; done"'
 plugin: manual
 name: networking/info_$2
 requires: device.path == "$1" and package.name == 'linux'
 command: network_info $2
 _description:
  Please verify the following information for NIC $2?
  .
  \$output
  .
  Is this correct?
 EOF

plugin: manual
name: networking/wired_connection
command: network_check
description:
 Wired network connection procedure:
 1.- Click on the Network Manager applet
 2.- Select a network below the 'Wired network' section
 3.- Notify OSD should confirm that the connection has been established
 4.- Select Test to verify that it's possible to establish an HTTP connection
 .
 Was the connection correctly established?

plugin: manual
name: networking/modem_connection
command: network_check
description:
 Built-in modem network connection procedure:
 1.- Connect the telephone line to the computer
 2.- Right click on the Network Manager applet
 3.- Select 'Edit Connections'
 4.- Select the 'DSL' tab
 5.- Click on add 'Add' button
 6.- Configure the connection parameters properly
 7.- Notify OSD should confirm that the connection has been established
 8.- Select Test to verify that it's possible to establish an HTTP connection
 .
 Was the connection correctly established?

plugin: shell
name: networking/ping
command: internet_test $CHECKBOX_SERVER
description:
 Automated test case to verify availability of some system on the network
 using ICMP ECHO packets.

plugin: shell
name: networking/http
command: wget -SO /dev/null http://$TRANSFER_SERVER
description:
 Automated test case to make sure that it's possible to download files through HTTP

plugin: shell
name: networking/ntp
requires: package.name == 'ntpdate'
user: root
command: network_ntp_test 
description: Test to see if we can sync local clock to an NTP server
description-cs.UTF-8: Test k ověření synchronizace systémového času s NTP serverem
description-de.UTF-8: Test zur Überprüfung des Uhrzeitabgleichs mit einem NTP-Server
description-en_AU.UTF-8: Test to see if we can sync local clock to an NTP server
description-en_GB.UTF-8: Test to see if we can sync local clock to an NTP server
description-es.UTF-8: Pruebe para ver si se puede sincronizar el reloj local con un servidor NTP
description-fr.UTF-8: Test pour voir si nous pouvons synchroniser l'horloge locale à un serveur NTP
description-gl.UTF-8: Proba para ver se se pode sincronizar o reloxo local cun servidor NTP
description-hu.UTF-8: Teszt a helyi idő szinkronizálásnak megkísérlésére egy NTP kiszolgálóval
description-it.UTF-8: Test di verifica della sincronizzare dell'orologio locale a un server NTP
description-ms.UTF-8: Uji untuk lihat jika kita boleh segerakkan jam setempat dengan pelayan NTP
description-pt_BR.UTF-8: Teste para verificar se podemos sincronizar o relógio local ao servidor NTP
description-ru.UTF-8: Проверка возможности синхронизации локальных часов с NTP сервером
description-sl.UTF-8: Preizkus usklajevanja krajevne ure s strežnikom  NTP.
description-sq.UTF-8: Testoni për të parë nëse mund ta sinkronizoni orën lokale me serverin NTP
description-sr.UTF-8: Тест којим ћете видети да ли можете да усагласите часовник са НТП сервером
description-th.UTF-8: ทดสอบว่า้เราสามารถปรับนาฬิกาท้องถิ่นให้ตรงกับเซิร์ฟเวอร์ NTP ได้หรือไม่

plugin: shell
name: networking/ssh
requires: package.name == 'openssh-client'
command: if [ $CHECKBOX_SERVER ]; then ssh -q -o 'StrictHostKeyChecking=no' -o "UserKnownHostsFile=/tmp/ssh_test_$$" -l ubuntu $CHECKBOX_SERVER "uname -a" && rm /tmp/ssh_test_$$; fi
description: Verify that an installation of checkbox-server on the network can be reached over SSH.
description-cs.UTF-8: Ověřit, že se lze připojit k instalaci checkbox-serveru na síti pomocí SSH
description-de.UTF-8: Überprüfung der Erreichbarkeit einer Installation von checkbox-server über das Netzwerk mittels SSH.
description-en_AU.UTF-8: Verify that an installation of checkbox-server on the network can be reached over SSH.
description-en_GB.UTF-8: Verify that an installation of checkbox-server on the network can be reached over SSH.
description-es.UTF-8: Verificar que una instalación de chechbox-server en la red se puede alcanzar mediante SSH
description-fr.UTF-8: Vérifier que l'installation de checkbox-server sur le réseau peut être atteinte via SSH.
description-gl.UTF-8: Verifica que se pode alcanzar unha instalación de checkbox-server na rede mediante SSH
description-hu.UTF-8: Ellenőrzi, hogy a checkbox kiszolgáló elérhető-e a hálózatról SSH-n keresztül.
description-it.UTF-8: Verifica che una installazione di checkbox-server nella rete possa essere raggiunta tramite SSH
description-ms.UTF-8: Sahkan pemasangan pelayan-checkbox pada rangkaian melalui SSH
description-pt_BR.UTF-8: Verifica se a instalação do servidor-checkbox na rede pode atingir mais de um SSH.
description-ru.UTF-8: Проверка возможности установки checkbox-сервера в сети с использованием SSH.
description-sl.UTF-8: Preverite, da je namestitev programa checkbox-server na omrežju dosegljiva preko SSH.
description-sr.UTF-8: Проверава да ли инсталација сервера бирања на мрежи може бити достигнута преко ССХ-а.

plugin: shell
name: networking/printer
requires: package.name == 'cups-client'
command: network_printer_test -s $CHECKBOX_SERVER
description: Try to enable a remote printer on the network and print a test page.
description-cs.UTF-8: Pokusit se povolit vzdálenou tiskárnu na síti a vytisknout zkušební stránku
description-de.UTF-8: Es wird versucht einen entfernt angeschlossenen Drucker im Netzwerk zu aktivieren und eine Testseite zu drucken.
description-en_AU.UTF-8: Try to enable a remote printer on the network and print a test page.
description-en_GB.UTF-8: Try to enable a remote printer on the network and print a test page.
description-es.UTF-8: Intentar activar una impresora remota en la red e imprimir una página de prueba.
description-fr.UTF-8: Essayer d'activer une imprimante à distance sur le réseau et d'imprimer une page de test.
description-gl.UTF-8: Tenta activar unha impresora remota na rede e imprimir unha páxina de proba.
description-hu.UTF-8: Tesztoldal nyomtatása egy hálózaton megosztott nyomtatóval.
description-it.UTF-8: Prova ad abilitare una stampante remota nella rete e stampa una pagina di prova.
description-ms.UTF-8: Cuba benarkan pencetak jauh pada rangkaian dan cetak halaman uji.
description-pt_BR.UTF-8: Tente habilitar uma impressora remota na rede e imprima uma página de teste.
description-ru.UTF-8: Попытаться включить удалённый принтер в сети и напечатать пробную страницу.
description-sl.UTF-8: Preverjanje, če je možno omogočiti oddaljen tiskalnik na omrežju in natisniti preizkusno stran.
description-sr.UTF-8: Покушаће да омогући удаљени штампач на мрежи и да одштампа пробну страницу.
description-th.UTF-8: พยายามที่จะเปิดการใช้งานพรินเตอร์ระยะไกลบนเครือข่ายและพิมพ์หน้าทดสอบการพิมพ์
description-tr.UTF-8: Ağ üzerindeki bir uzak yazıcı etkinleştirmeyi ve bir test sayfası yazdırmayı deneyin.

plugin: local
name: networking/multi_nic
requires: device.category == 'NETWORK'
description: Multiple network cards
description-ast.UTF-8: Delles tarxetes de rede
description-cs.UTF-8: Vícenásobné síťové karty
description-de.UTF-8: Mehrere Netzwerkkarten
description-en_AU.UTF-8: Multiple network cards
description-en_GB.UTF-8: Multiple network cards
description-es.UTF-8: Varias tarjetas de red
description-fr.UTF-8: Cartes réseau multiples
description-gl.UTF-8: Varias tarxetas de rede
description-hu.UTF-8: Több hálózati kártya
description-it.UTF-8: Schede di rete multiple
description-ms.UTF-8: Kad rangkaian berbilang
description-pt_BR.UTF-8: Multiplas cartões de rede
description-ru.UTF-8: Несколько сетевых карт
description-sl.UTF-8: Več omrežnih kartic
description-sq.UTF-8: Shumë karta rrjeti
description-sr.UTF-8: Картице више мрежа
description-th.UTF-8: การ์ดเครื่อข่ายหลายอัน
description-tr.UTF-8: Çoklu ağ kartları
command:
 cat <<'EOF' | run_templates -s 'udev_resource | filter_templates -w "category=NETWORK" | awk "/path: / { print \$2 }" | xargs -n 1 sh -c "for i in \`ls /sys\$0/net 2>/dev/null\`; do echo \$0 \$i; done"'
 plugin: shell
 name: networking/multi_nic_$2
 requires: device.path == "$1" and package.name == 'linux'
 user: root
 command: dhclient $2; internet_test --interface=$2 --deadline=15
 description:
  Testing for NIC $2
 EOF

plugin: shell
name: networking/bandwidth
requires:
 package.name == 'linux'
 package.name == 'ethtool' and package.name == 'nmap'
 device.category == 'NETWORK'
user: root
command: network_bandwidth_test --log-level=info --scan=3
description: Test to measure the network bandwidth
description-cs.UTF-8: Měření rychlosti připojení
description-de.UTF-8: Test, um die Bandbreite des Netzwerks zu messen.
description-en_AU.UTF-8: Test to measure the network bandwidth
description-en_GB.UTF-8: Test to measure the network bandwidth
description-es.UTF-8: Prueba para medir el ancho de banda de red
description-gl.UTF-8: Proba para medir o ancho de banda da rede
description-hu.UTF-8: Teszt a hálózat sávszélességének méréséhez
description-it.UTF-8: Test per misurare l'ampiezza di banda della rete
description-pt_BR.UTF-8: Teste para medir a largura de banda da rede
description-ru.UTF-8: Проверка пропускной способности сети
description-sl.UTF-8: Preizkus za merjenje pasovne širine omrežja
