Right, 

  Firstly ,  It appears that  you are not logged on as the the ROOT  user.  

  The ROOT user has  /usr/sbin   in its path   and is able   to find and run  
the commands  
  svcadm and ifconfig.    

  If you are trying to use these commands as a non-privilideged  user   the 
commands  would 
  fail even if you fixed the PATH .  ( A non-prviledged  user  does not have 
/usr/sbin  in the PATH by  default ).

  Secondly:

   If you do not wish   to have  "network Automagic"  setup which is using your 
 DHCP server 
to get its IP  adresses Router Adress DNS Adress  a.s.o  , wired or wireless ,  
but want to con figure everything  by hand:

  You will have to do :

   Login as root. 

   # svcadm  disable  network/physical:nwam
   # svcadm enable network/physical:default

  and edti the following files:

   /etc/hosts

        As in Linux
    
   /etc/inet/ipnodes

       This should be a link  to /etc/hosts and /etc/inet/hosts 

   /etc/hostname.interfacename0      ( eg:  hostname.nge0   or hostname.e1000g0 
 or similar ) 

        contains the hostname  as written in /etc/hosts  or the IP-address

   /etc/nsswirch.conf

       As  in Linux        ( hosts     files  dns  ) 


   /etc/resolv.conf

      As in Linux       ( domain  nameserver  and search  entries )    


   /etc/defaultrouter
    
      The IP adress  of the default  Router.


     //Lars
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to