Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

in solaris i knew how to do this. Edit /etc/inet/ipnodes, change /etc/defaultrouter, reboot

in opensolaris there is not defaultrouter file.

first thing I tried was System->admin->network switch to manual enter static address and netmask and gateway.

press 'activate'

"this interface cannot be activated". No error messages given.

Close widget, open again. Now hangs for a minute and then closes

try edit /etc/inet/ipnodes, reboot

eth card not up. Network widget hangs then closes

Works perfectly on DHCP

share|improve this question
    
Your steps for earlier Solaris releases are misleading. Setting a static IP address is done by editing /etc/hostname.<interface> and putting either an IP address (preferred) or a hostname in it. Editing /etc/ipnodes (or /etc/hosts) can be used to change the IP address in the latter case only. /etc/defaultrouter isn't part of a default Solaris or OpenSolaris installation so is created by the administrator either directly or by answering questions at config time. OpenSolaris install with dhcp/nwam enabled so you are not prompted for anything regarding network configuration at installation time. –  jlliagre May 17 '10 at 23:37
    
the fact that the GUI widget totally fails is disappointing, following various google trails shows that this is well known. THose google trails got me working in the end –  pm100 May 17 '10 at 23:49
    
nwam is a work in progress. The one you use is phase 0.5, a lot of improvements are in Phase 1 which should be available if future releases (or already downloadable as beta). hub.opensolaris.org/bin/view/Project+nwam –  jlliagre May 18 '10 at 0:53

1 Answer 1

up vote 0 down vote accepted

There is no such thing as "Closed Solaris". As far as your Static IP "issue", click the link below.

http://www.google.com/search?q=opensolaris+static+ip

share|improve this answer
1  
:-) - the first time I have had my nose rubbed in something so elegantly. Ty - I deserved it –  pm100 May 17 '10 at 23:08
    
glad i could help. And i really appreciate that you didn't take my answer as mean spirited, as it was never intended to be that way. –  solefald May 17 '10 at 23:18
    
Solaris 10 and older are Closed (-source) Solaris. –  jlliagre May 17 '10 at 23:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.