blob: 4f90e71bed7f80272ce4e8bcb6ac7927a66fa79d [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{ "name":"000Wep",
"steps":[ # Channel [1,6,11]
[ "create", { "type":"hostap" } ],
[ "config", { "ssid":"000Wep",
"channel":"2412", "mode":"11g",
"wepmode":"on",
# 10 digits : 0123456789
"wep_key0": "0123456789",
"wep_key1": "89abcdef01",
"wep_key2": "9876543210",
"wep_key3": "fedcba9876"
}
],
# key index 0, 40-bit WEP
[ "config", { "deftxkey":"0" } ],
[ "set_user_onc",
{
"onc":
"""{
"NetworkConfigurations": [
{
"GUID": "{485d6076-dd44-6b6d-69787465725f5045}",
"Type": "WiFi",
"Name": "My WiFi Network",
"WiFi": {
"SSID": "000Wep",
"Security": "WEP-PSK",
"Passphrase": "0123456789",
}
}
],
"Certificates": [],
"Type": "UnencryptedConfiguration"
}"""
} ],
[ "connect_wifi_onc" ],
[ "client_ping", { "count":"10"} ],
[ "client_logout" ],
[ "destroy" ],
],
}