LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-04-2009, 06:27 AM   #1
austin.tauro
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Configuring Internet In OpenSolaris


Hey guys,

I am a newbie in OpenSolaris. I have managed to install OpenSolaris Distro on my machine. However i am unable to configure Internet for the same. I tried to do it but failed in doing so. If any one of you could guide me in the steps for configuring the Internet, I would be really greatful as i have to do some project in OpenSolaris and Internet connectivity is delaying me in doing so. I am trying to configure for a wired connection using DHCP. Thank you in advance.
 
Old 05-04-2009, 10:37 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Moved: This thread is more suitable in <OpenSolaris> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 05-04-2009, 11:07 AM   #3
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
Hi.

If you need pointers to documentation, docs.sun.com and opensolaris.com are the place to go.

The quickest way to have a NIC up and running, given you know which NIC you're using, would be:
  • touching /etc/hostname.yournic to have your NIC plumbed at Solaris startup
  • touching /etc/dhcp.yournic to have your NIC be configured by DHCP.

If you don't know which NICs are configured you can issue:
Code:
# dladm show-phys
LINK         MEDIA                STATE      SPEED  DUPLEX    DEVICE
rge0         Ethernet             unknown    0      unknown
and in this case your NIC would be rge0.

Once this is done, you'd probably have to configure:
  • a default route into /etc/defaultrouter (just type the IP addresses of your gateways, one per line)
  • the name resolver IP, in /etc/resolv.conf (if DHCP didn't do that for you)
  • /etc/nsswitch.conf accordingly to your configuration

If you're using OpenSolaris you can enable Network Auto Magic service and disable network/physical:default:
Code:
# svcs network/physical
If nwam is enabled you'll see a line like this:
Code:
online         13:40:04 svc:/network/physical:nwam
If it's not, enable it:
Code:
# svcadm disable network/physical:default
# svcadm enable network/physical:nwam
Hope this helps,
Enrico

Last edited by crisostomo_enrico; 05-04-2009 at 11:09 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Connect to Internet in OpenSolaris rsbkr333 Linux - Newbie 1 07-30-2008 11:22 AM
Configuring internet Xentar Linux - Newbie 5 03-02-2006 01:56 AM
configuring internet shashank Linux - Software 4 04-12-2005 12:11 PM
Configuring Internet. Parradux Slackware 17 12-27-2004 08:00 PM
Configuring Internet Scottanomics Linux - Newbie 4 07-09-2004 07:04 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration