Perform the following steps to start the WiFi certification by using a manual network setup.
To run the test under an encryption protocol, type the following command to create a security object.
# dladm create-secobj -c wep|wpa security object name
When prompted for the value of the object, type the key or pass phrase that you have set.
To check whether the security object is created successfully, use the following command.
# dladm show-secobj
# ifconfig interface name plumb
To check the availability of the wireless network with the name that you have set, type the following command.
# dladm scan-wifi interface name
If the wireless network that you set up does not appear in the output of the above command, check the settings and setup of your AP. Retype the above command until the wireless network appears in the output.
# dladm show-wifi interface name
If the status of the interface is connected, type the following command to disconnect the interface.
# dladm disconnect-wifi interface name
Wait for a few minutes and type dladm show-wifi interface name to recheck until the status changes to disconnected.
# dladm connect-wifi -e <wireless network name> interface name
# dladm connect-wifi -e wireless network name -k security object name -s wep|wpa interface name
# dladm show-wifi interface name
# ifconfig interface name dhcp
Type the following command to verify the connection
# TM: ping <TM's IP address>
If the current network setup mode is automatic, set it to manual by changing the following value.
# manual network setup=true