JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Network Interfaces and Network Virtualization     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information


Part I Network Auto-Magic

1.  Introduction to NWAM

2.  NWAM Configuration and Administration (Overview)

3.  NWAM Profile Configuration (Tasks)

4.  NWAM Profile Administration (Tasks)

Obtaining Information About Profile States

Displaying the Current State of a Profile

Auxiliary State Values

Activating and Deactivating Profiles

Performing a Wireless Scan and Connecting to Available Wireless Networks

Troubleshooting NWAM Autoconfiguration

Monitoring the Current State of All Network Connections

Troubleshooting Network Interface Configuration Issues

5.  About the NWAM Graphical User Interface

Part II Administering Single Interfaces

6.  Overview of the Networking Stack

7.  Datalink Configuration and Administration

8.  Configuring an IP Interface

9.  Configuring Wireless Interface Communications on Oracle Solaris

Part III Administering Interface Groups

10.  Administering Bridges

11.  Administering Link Aggregations

12.  Administering VLANs

13.  Introducing IPMP

14.  Administering IPMP

Part IV  Network Virtualization and Resource Management

15.  Introducing Network Virtualization and Resource Control (Overview)

16.  Planning for Network Virtualization and Resource Control

17.  Configuring Virtual Networks (Tasks)

18.  Using Link Protection in Virtualized Environments

19.  Managing Network Resources

20.  Monitoring Network Traffic and Resource Usage



Performing a Wireless Scan and Connecting to Available Wireless Networks

You can scan for and connect to available wireless networks by using the nwamadm command.

Use the nwamadm scan-wifi link-name command to scan a wireless link to obtain a list of available wireless networks.

Use the nwamadm select-wifi link-name command to select and connect to a wireless network from the scan results on the link that is specified as link-name. The select-wifi link-name command prompts you for a WiFi selection, a key, and a key slot, if required.

Note - You must have already created a key prior to using the nwamadm select-wifi command.

You can also trigger a subsequent scan of the network to search for available wireless networks by using the nwamadm scan-wifi link-name command. Note that a subsequent might not trigger a scan event, if the new scan results are identical to the existing scan results. The nwamd daemon performs the scan, regardless of whether the data has changed since the last scan.

In the following example, the nwamcfg list command is used to display any wireless NCUs in the Automatic NCP. The nwamadm scan-wifi command is then used to perform a scan of the wireless link, wpi0. Finally, the nwamadm select-wifi command is used to display a list of wireless networks from which to select. The list that is displayed is based on the results of the scan that was previously performed on wpi0

$ nwamcfg list ncp Automatic
phys    bge0
ip      bge0
phys    bge1
ip      bge1
phys         wpi0
$ nwamadm scan-wifi wpi0
$ nwamadm select-wifi wpi0

1: ESSID sunwifi BSSID 0:b:e:85:26:c0
2: ESSID sunwifi BSSID 0:b:e:49:2f:80
3: ESSID sunwifi BSSID 0:b:e:9f:b5:80
4: ESSID testing BSSID 0:40:96:29:e9:d8
5: ESSID sunwifi BSSID 0:b:e:49:62:c0
6: Other

Choose WLAN to connect to [1-6]: 1

In this example, the wireless network that is represented by the number 1 was selected.

If the WLAN requires a key, you are prompted to enter the key and key slot, if WEP is specified. For example:

Enter WLAN key for ESSIDE home: mywlankey
Enter key slot [1-4]: 1