2
name: networking/detect
4
device.category == 'NETWORK' or device.category == 'WIRELESS'
5
package.name == 'module-init-tools'
6
package.name == 'pciutils'
7
command: network_device_info
8
_description: Test to detect the available network controllers
11
name: networking/internet
12
depends: networking/detect
13
command: internet_test
14
_description: Tests whether the system has a working Internet connection.
18
requires: device.category == 'NETWORK'
19
_description: Network Information
21
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"'
23
name: networking/info_$2
24
requires: device.path == "$1"
25
command: network_info $2
28
This test will check the different NIC
30
1. Please verify the following information for NIC $2
38
name: networking/info_automated
40
package.name == 'network-manager'
41
device.category == 'NETWORK'
42
command: udev_resource | filter_templates -w "category=WIRELESS" -w "category=NETWORK"| awk "/path: / { print \$2 }"| xargs -n 1 sh -c "for i in \`ls /sys\$0/net 2>/dev/null\`; do network_info \$i; done"
44
This is an automated test to gather some info on the current state of your network devices. If no devices are found, the test will exit with an error.
47
name: networking/wired_connection
48
command: network_check
51
This test will check your wired connection
53
1. Click on the Network icon in the top panel
54
2. Select a network below the "Wired network" section
55
3. Click "Test" to verify that it's possible to establish a HTTP connection
57
Did a notification show and was the connection correctly established?
60
name: networking/modem_connection
61
command: network_check
64
This test will check that a DSL modem can be configured and connected.
66
1. Connect the telephone line to the computer
67
2. Click on the Network icon on the top panel.
68
3. Select "Edit Connections"
69
4. Select the "DSL" tab
70
5. Click on "Add" button
71
6. Configure the connection parameters properly
72
7. Click "Test" to verify that it's possible to establish an HTTP connection
74
Did a notification show and was the connection correctly established?
78
command: internet_test $CHECKBOX_SERVER
80
Automated test case to verify availability of some system on the network
81
using ICMP ECHO packets.
85
command: wget -SO /dev/null http://$TRANSFER_SERVER
87
Automated test case to make sure that it's possible to download files through HTTP
91
requires: package.name == 'ntpdate'
93
command: network_ntp_test
94
_description: Test to see if we can sync local clock to an NTP server
98
requires: package.name == 'openssh-client'
99
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
100
_description: Verify that an installation of checkbox-server on the network can be reached over SSH.
103
name: networking/printer
104
requires: package.name == 'cups-client'
105
command: network_printer_test -s $CHECKBOX_SERVER
106
_description: Try to enable a remote printer on the network and print a test page.
109
name: networking/multi_nic
110
requires: device.category == 'NETWORK'
111
_description: Automated test to walk multiple network cards and test each one in sequence.
113
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"'
115
name: networking/multi_nic_$2
117
package.name == 'ethtool' and package.name == 'nmap'
120
command: network test -i $2 -t ftp