Go to main content

Configuring and Managing Network Components in Oracle® Solaris 11.4

Exit Print View

Updated: February 2022
 
 

How to Monitor a 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.

Before You Begin

Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.

  1. Connect to a WiFi network, as described in How to Connect to a WiFi Network.
  2. View the properties of the system's datalinks.
    $ dladm show-linkprop link
  3. 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 are listed in the output of the show-linkprop subcommand, as shown in the following example:

    $ dladm set-linkprop -p speed=value link
  4. Check the packet flow over the link.
    $ netstat -I net1 -i 5
    input   net1      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 21  Setting the Speed of a Link

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

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

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