OpenSolaris 2008.11 System Administration Guide
OpenSolaris 2008.11 System Administration Guide: How to Check the Connectivity to Your Wireless Network

Table of Contents

This procedure assumes that the wireless network card has been properly configured, either automatically or manually. For manual configuration procedures, see How to Manually Configure the System's Wireless Network Settings.

  1. Start a privileged shell.

    user@opensolaris:-$ pfexec bash
    #
    

    In this example, the bash shell is selected. You can choose to use any shell with the pfexec command. If you support multiple versions of the SolarisTM OS, use the standard su – root command. The su command works on all Solaris versions.

  2. Determine if the wireless LAN is detected.
    # dladm show-wifi
    

    If no wireless networks are detected, the command will not generate any output.

  3. Manually scan for a wireless LAN.
    # dladm scan-wifi
    LINK     ESSID     BSSID/IBSSID          SEC      STRENGTH      MODE     SPEED
    ath0     net1      00:0e:38:49:01:d0     none     good          g        54Mb
    ath0     net2      00:0e:38:49:02:f0     none     very weak     g        54Mb
    ath0     net3      00:0d:ed:a5:47:e0     none     very good     g        54Mb
    
  4. Connect to your preferred wireless network.
    # dladm connect-wifi -e net3
    

    The -e option indicates that you want to connect to the wireless network by using the extended service set ID (ESSID). The specific network to which you are connecting has the ESSID net3.