How to Manually Modify the Automatic Network Configuration Process

By default, your network settings are automatically configured during installation by the NWAM process. You can modify the way NWAM works by using the options in the NWAM Manager Icon Menu, as explained in Managing a System's Automatic Network Configuration (Tasks). Or, you can change aspects of the configuration by editing NWAM's configuration file, /etc/nwam/llp.

The following procedure explains how to directly modify the /etc/nwam/llp file.

  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. Stop the NWAM service.
    # svcadm disable network/physical:nwam
    
  3. Open the /etc/nwam/llp file by using a text editor.
    The file contains the following parameter definition for each network interface on the system:
    interface dhcp
    

    where interface is the network interface such as bge0. If you have one interface each for a wired connection and a wireless connection, the interface for the wired connection is listed first, as follows:

    (wired)-interface dhcp
    ..
    (wireless)-interface dhcp
    
  4. Modify NWAM's configuration process by performing the following steps, as needed:
    1. Force NWAM to configure wireless networks before wired networks.
      If separate interfaces for wired and wireless connections exist in the system, reverse the file's definitions, as follows:
      (wireless)-interface dhcp
      ..
      (wired)-interface dhcp
      
    2. Force NWAM to use static IP addressing instead of DHCP.
      To cause NWAM to assign a static IP address, replace the dhcp option with the static option and an IP address. For example:
      interface static 192.168.10.3/24
      
  5. After you save the new settings, restart the NWAM service.
    # svcadm enable network/physical:nwam
    

For more information:

Labels

osoladmin osoladmin Delete
task task Delete
network network Delete
nwam nwam Delete
configuring configuring Delete
manual manual Delete
changing changing Delete
newuser newuser Delete
appdeveloper appdeveloper Delete
singleadmin singleadmin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Nov 13, 2008

    SteffB says:

    Added the "manual" label

    Added the "manual" label

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact