LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-28-2010, 12:52 AM   #1
Roger Rabbis Clone
LQ Newbie
 
Registered: Apr 2010
Location: San Francisco Bay Area
Distribution: fedora 14
Posts: 3

Rep: Reputation: 0
Internet setup on Solaris


ok sorry about that. but serriously wtf. thats crazy. the OS sent me mail, instead of an error message. i kinda like that.

ANYHOO

so i just installed solaris 10 on this crappy sony vaio desktop i got. i have no experience in linux other then a couple months with ubuntu 8.10.

i just got done with a fresh install, and im trying to connect to the internet, (browse pages etc) but i cannot connect or ping the router IP. im at my house, i have an att router, 1 mac, 2 windows comps already connected.

ive tried:
#vi /etc/nsswitch.conf

i have no idea what it does. but it seemed to help several other people.i typed that in "console" which im assuming is like terminal on mac and CMD on windows. is anybody else having this problem? do i have to set this up manually? im used to windows and apple doing it for me i think i forgot how.

really, i want to learn, but i need to be connected to the internet. im at the library typing this. kinda a pain. thanks in advance

Last edited by pixellany; 04-28-2010 at 08:34 AM. Reason: title fixed
 
Old 04-28-2010, 01:11 AM   #2
ripp3r
Member
 
Registered: Feb 2010
Location: Switzerland
Distribution: Slackware 13.0 x64
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by Roger Rabbis Clone View Post
ok sorry about that. but serriously wtf. thats crazy. the OS sent me mail, instead of an error message. i kinda like that.

ANYHOO

so i just installed solaris 10 on this crappy sony vaio desktop i got. i have no experience in linux other then a couple months with ubuntu 8.10.

i just got done with a fresh install, and im trying to connect to the internet, (browse pages etc) but i cannot connect or ping the router IP. im at my house, i have an att router, 1 mac, 2 windows comps already connected.

ive tried:
#vi /etc/nsswitch.conf

i have no idea what it does. but it seemed to help several other people.i typed that in "console" which im assuming is like terminal on mac and CMD on windows. is anybody else having this problem? do i have to set this up manually? im used to windows and apple doing it for me i think i forgot how.

really, i want to learn, but i need to be connected to the internet. im at the library typing this. kinda a pain. thanks in advance

Sorry but I didn't understand what SO do you have now...

anyway the code
[code]vi /etc/nsswitch.conf[/conf]

Just open the file nsswitch in your shell (is a text editor), you can also do nano instead of vi.

Tell me what's your SO and maybe I can help you.
 
Old 04-28-2010, 01:20 AM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,011

Rep: Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194
I could be wrong, as he typed it twice, but I think the question is: What OS are you running?

To which the answer is:
From OP:
Quote:
so i just installed solaris 10
If i am wrong on either side i apologise
 
Old 04-28-2010, 02:42 AM   #4
ripp3r
Member
 
Registered: Feb 2010
Location: Switzerland
Distribution: Slackware 13.0 x64
Posts: 71

Rep: Reputation: 15
So if you're under solaris you can run this command:

Code:
ifconfig -a
This list every network interface that you have.

Next you can try this command:

Code:
ifconfig eth0
And to set up a static IP-Address:

Code:
ifconfig eth0 (or the name of your network interface) yourIP netmask yourMASK up
Now the gateway:

Code:
route add -net yourNETWORKip(it ends with 0, for example 192.168.1.0) -netmask yourMASK yourROUTERipADDRESS METRIC (usually 1)
Now the DNS:

Code:
nano (or vi) /etc/resolv.conf
Add these lines:

Code:
domain IFyourISPhasAdomainNAME
nameserver dnsPRIMARYipADDRESS
nameserver dnsSECONDARYipADDRESS

And just to have an idea about network configuration under solaris, take a look here:

http://solaris-x86.org/documents/tut.../network.mhtml

and here:

http://adminschoice.com/solaris-network-configuration
 
Old 04-28-2010, 08:35 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Title fixed and thread moved to Solaris

(Solaris is not Linux)
 
Old 04-28-2010, 09:03 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Ok so please let start that from the beginning.

Is there another OS installed on you vaio or is this the only one there ?
 
Old 04-28-2010, 12:30 PM   #7
Roger Rabbis Clone
LQ Newbie
 
Registered: Apr 2010
Location: San Francisco Bay Area
Distribution: fedora 14
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany View Post
Title fixed and thread moved to Solaris

(Solaris is not Linux)
solaris isnt linux?? i just kinda figured everything that isnt mac or windows was some kind of linux. sorry about the mis-posting and the title.

yes i am running solaris 10, no there is not another OS running, thank you guy, i will try this tonight and let you know.

thanks for the link ripp3r
 
Old 04-28-2010, 12:58 PM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Roger Rabbis Clone View Post
i will try this tonight and let you know.

thanks for the link ripp3r
Beware that theses links are slightly outdated/obsolete and thus part of their information won't apply nor help.

If you have installed Solaris 10 but weren't prompted for network configuration, that means your NIC is unsupported out of the box. As this seems to be a laptop, you might have better luck with OpenSolaris.
 
Old 04-28-2010, 03:05 PM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Roger Rabbis Clone View Post
solaris isnt linux?? i just kinda figured everything that isnt mac or windows was some kind of linux. sorry about the mis-posting and the title.
It's very sad the way so little people are exposed to even the existence of something other than Windows or Mac. There are literally hundreds of different OSes, most of them hobby projects. In fact I'm considering doing one myself sometime!

And just in case, Linux does not mean "other than Windows or Mac".

Solaris is a derivative of Unix, which Linux and BSD is derived from, too. And AFAIK Solaris is NOT open source.

Do some reading on Wikipedia about Unix, Linux, Solaris, GNU, etc.

Last edited by MTK358; 04-28-2010 at 03:08 PM.
 
Old 04-28-2010, 03:25 PM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by MTK358 View Post
It's very sad the way so little people are exposed to even the existence of something other than Windows or Mac.
But not unexpected, given their respective shares of the current desktop market.
Quote:
And just in case, Linux does not mean "other than Windows or Mac".
It is the most visible contender though.
Quote:
Solaris is a derivative of Unix, which Linux and BSD is derived from, too.
Gnu/Linux is a reimplementation while BSDs and Solaris are descendants.
Quote:
And AFAIK Solaris is NOT open source.
Solaris 10 is not indeed but most of its source code was released under an OSI compatible license in 2005.
http://cvs.opensolaris.org/source/
There are fully free and open source distributions based on it.
 
  


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
Holy shit, used the latest kde yet?... xodustrance Linux - Software 22 07-03-2005 02:52 PM
Thunderbird Mail blew it mickeyboa Fedora 4 05-10-2005 08:02 PM
Thunderbird Mail blew it mickeyboa General 2 05-09-2005 07:15 PM
root password gone, shit. cloc Mandriva 7 01-27-2005 09:11 AM
What the shit Mplayer? perrymans Linux - General 3 09-14-2003 08:52 AM

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

All times are GMT -5. The time now is 08:30 AM.

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