Configuring and Administering Network Components in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

How to Monitor the WiFi Link

The following procedure describes how to monitor the status of a WiFi link through standard networking tools and also how to change a selected link property.

  1. Become an administrator.
  2. Connect to a WiFi network, as described in How to Connect to a WiFi Network.
  3. View the properties of the system's datalinks.
    # dladm show-linkprop link
  4. Set a fixed speed for the link.

    Caution

    Caution  -  Oracle Solaris automatically selects the optimal speed for a WiFi connection. Modifying the initial speed of the link might diminish performance or prevent the establishment of certain WiFi connections.


    You can modify the link speed to one of the possible values that is listed in the output of the show-linkprop subcommand, as shown in the following example:

    # dladm set-linkprop -p speed=value link
  5. Check the packet flow over the link.
    # netstat -I net0 -i 5
    input   net0      output       input  (Total)    output
    packets errs  packets errs  colls  packets errs  packets errs  colls
    317     0     106     0     0      2905    0     571     0     0
    14      0     0       0     0      20      0     0       0     0
    7       0     0       0     0      16      0     1       0     0
    5       0     0       0     0      9       0     0       0     0
    304     0     10      0     0      631     0     316     0     0
    338     0     9       0     0      722     0     381     0     0
    294     0     7       0     0      670     0     371     0     0
    306     0     5       0     0      649     0     338     0     0
    289     0     5       0     0      597     0     301     0     0
Example 7-2  Setting the Speed of a Link

The following example shows how you would set the speed of a link after you have connected to a WiFi network.

# dladm show-linkprop -p speed net0
LINK     PROPERTY        PERM VALUE        EFFECTIVE    DEFAULT   POSSIBLE
net0     speed           r-   25            0            0         1,2,5,6,9,11,12,18,24,36,48,54  
# dladm set-linkprop -p speed=36 net0

# dladm show-linkprop -p speed net0
LINK     PROPERTY        PERM VALUE        EFFECTIVE    DEFAULT   POSSIBLE
net0     speed           r-   36            0            0         1,2,5,6,9,11,12,18,24,36,48,54