2
name: networking/detect
3
requires: device.category == 'NETWORK'
6
Detecting your network controller(s):
13
name: networking/internet
14
depends: networking/detect
15
command: internet_test
17
Testing your connection to the Internet:
25
requires: device.category == 'NETWORK'
26
_description: Network Information
28
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"'
30
name: networking/info_$2
31
requires: device.path == "$1" and package.name == 'linux'
32
command: network_info $2
34
Please verify the following information for NIC $2?
42
name: networking/wireless_scanning
44
requires: package.name == 'wireless-tools'
45
command: network_wireless_test
46
_description: Wireless scanning test.
49
name: networking/wireless_connection
50
command: network_check
51
requires: device.category == 'NETWORK'
53
Wireless network connection procedure:
54
1.- Click on the Network Manager applet
55
2.- Select a network below the 'Wireless networks' section
56
3.- Notify OSD should confirm that the connection has been established
57
4.- Select Test to verify that it's possible to establish an HTTP connection
59
Was the connection correctly established?
62
name: networking/wired_connection
63
command: network_check
65
Wired network connection procedure:
66
1.- Click on the Network Manager applet
67
2.- Select a network below the 'Wired network' section
68
3.- Notify OSD should confirm that the connection has been established
69
4.- Select Test to verify that it's possible to establish an HTTP connection
71
Was the connection correctly established?
74
name: networking/modem_connection
75
command: network_check
77
Built-in modem network connection procedure:
78
1.- Connect the telephone line to the computer
79
2.- Right click on the Network Manager applet
80
3.- Select 'Edit Connections'
81
4.- Select the 'DSL' tab
82
5.- Click on add 'Add' button
83
6.- Configure the connection parameters properly
84
7.- Notify OSD should confirm that the connection has been established
85
8.- Select Test to verify that it's possible to establish an HTTP connection
87
Was the connection correctly established?
91
command: internet_test $CHECKBOX_SERVER
93
Automated test case to verify availability of some system on the network
94
using ICMP ECHO packets.
98
command: wget -SO /dev/null http://$TRANSFER_SERVER
100
Automated test case to make sure that it's possible to download files through HTTP
104
requires: package.name == 'ntpdate'
106
command: network_ntp_test
107
_description: Test to see if we can sync local clock to an NTP server
111
requires: package.name == 'openssh-client'
112
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
113
_description: Verify that an installation of checkbox-server on the network can be reached over SSH.
116
name: networking/printer
117
requires: package.name == 'cups-client'
118
command: network_printer_test -s $CHECKBOX_SERVER
119
_description: Try to enable a remote printer on the network and print a test page.
122
name: networking/multi_nic
123
requires: device.category == 'NETWORK'
124
_description: Multiple network cards
126
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"'
128
name: networking/multi_nic_$2
129
requires: device.path == "$1" and package.name == 'linux'
131
command: dhclient $2; internet_test --interface=$2 --deadline=15
137
name: networking/bandwidth
139
package.name == 'linux'
140
package.name == 'ethtool' and package.name == 'nmap'
141
device.category == 'NETWORK'
143
command: network_bandwidth_test --log-level=info --scan=3
144
_description: Test to measure the network bandwidth