summaryrefslogtreecommitdiff
path: root/manual/generic/linux/wifi-teminal.yaml
blob: 490750cbbf0f8a2f5a00c87c9f6db64e91766dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
metadata:
    name: linux-wifi-terminal
    format: "Manual Test Definition 1.0"
    description: "Test if WiFi works well from Terminal"
    maintainer:
        - amit.khare@linaro.org
    os:
        - ubuntu
        - openembedded
    scope:
        - functional
    devices:
        - hi6220-hikey
        - apq8016-sbc
    environment:
        - manual-test

run:
    steps:
        - Power on the board and wait till it boots succesfully.
        - To scan for WiFi, run "$ iwlist wlan0 scan"
        - Note ESSID of the access point to connect.
        - If the network is open, run "$ iwconfig wlan0 essid NAME_OF_ACCESS_POINT"
        - If network requires password, run "$ iwconfig wlan0 essid NAME_OF_ACCESS_POINT key PASSWORD"
        - To accquire IP address, run "$ dhclient wlan0"
        - To check if IP address is assigned, run "$ ifconfig wlan0"
        - To check WiFi connection, run "ping www.google.com"

    expected:
        - "Should be able to connect to available WiFi network."
        - "Ping command works and should not show any data loss."