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 03-14-2008, 08:31 PM   #1
namespace std
LQ Newbie
 
Registered: Mar 2008
Distribution: OpenSolairs 5/08, OpenVMS 7.3-1, Debian Lenny.
Posts: 18

Rep: Reputation: 0
Solaris 10 -> noob -> question


Ok guys, I have to admit that I'm really a noob when it comes to Solaris... I ever used it before and I was dying to try it out. So, today, I've downloaded the 5CD pack and installed Solaris on my machine without knowing that my internet connection won't work after this, so I reformatted the drive and installed Windows back.

The question is: can you please point me to an easy tutorial or something on how to configure my network card on Solaris? I wanna install it again and to be prepared for this.

Last edited by namespace std; 03-14-2008 at 08:36 PM.
 
Old 03-14-2008, 08:37 PM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Check the Solaris HCL for your hardware ... as you may have unsupported devices.
Solaris HCL
 
Old 03-14-2008, 08:42 PM   #3
namespace std
LQ Newbie
 
Registered: Mar 2008
Distribution: OpenSolairs 5/08, OpenVMS 7.3-1, Debian Lenny.
Posts: 18

Original Poster
Rep: Reputation: 0
I checked the hcl before, and the java tool too. And Solaris not only detected my network card correctly but all my other hardware too, I simply don't have a internet connection available in browsers.

Last edited by namespace std; 03-14-2008 at 08:44 PM.
 
Old 03-14-2008, 08:47 PM   #4
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
When prompted by the Solaris Installer ... did you configure the ethernet interface for DHCP or a static IP address ?

What is your Internet connectivity setup?
 
Old 03-14-2008, 08:49 PM   #5
namespace std
LQ Newbie
 
Registered: Mar 2008
Distribution: OpenSolairs 5/08, OpenVMS 7.3-1, Debian Lenny.
Posts: 18

Original Poster
Rep: Reputation: 0
I chosed "No" at the dchp screen and entered my IP and netmask.

I have a realtek 8139 card, a cable modem and a static IP.
 
Old 03-14-2008, 08:54 PM   #6
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Did you verify your ethernet status using ifconfig ?
I assume you tried to ping the router ...
Did you check your /etc/resolv.conf ...
 
Old 03-14-2008, 09:03 PM   #7
namespace std
LQ Newbie
 
Registered: Mar 2008
Distribution: OpenSolairs 5/08, OpenVMS 7.3-1, Debian Lenny.
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Did you verify your ethernet status using ifconfig ?
Yes, but I can only receive packages, not send them.
Quote:
I assume you tried to ping the router ...
Yes, but no answer.
Quote:
Did you check your /etc/resolv.conf ..
No, because I didn't know i had to.

You have to excuse my english (I'm from Romania)
 
Old 03-15-2008, 12:36 AM   #8
madivad
Member
 
Registered: Jan 2007
Posts: 70

Rep: Reputation: 15
have a peruse over this thread (only a couple of days old)... I had a hell of a time getting it up and running. Everything is logical except for how to determine the device name of your network card. Being a Realtek 8139 chipset, you maybe lucky that it is the same/similar to mine, it turned out to be /dev/rge0... but it really could be almost anything.

http://www.linuxquestions.org/questi...ris-10-627287/

Also, if you have trouble identifying the device of the network adapter, try running the install again (without going too far into it), in one of the first screen you will see it trying to bring the network up, the devide name is displayed on those lines (that's how I worked out mine)

Read over the above thread and hopefully it will answer some of your questions
 
Old 03-15-2008, 04:14 AM   #9
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 madivad View Post
Everything is logical except for how to determine the device name of your network card.
I found the Solaris way more logical than the Linux way.
On my laptop, I have a SysKonnect wired ethernet interface and an Intel Pro wireless one.
I prefer having these interfaces to show up as skge0 and iwi0 instead of eth0 and eth1 under Linux, where I have no indication about which one is wifi and which one is twisted-pair.
Quote:
Being a Realtek 8139 chipset, you maybe lucky that it is the same/similar to mine, it turned out to be /dev/rge0... but it really could be almost anything.
The Realtek 3139 driver is rtls, rge is for 8139S (Gigabit).
Quote:
Also, if you have trouble identifying the device of the network adapter, try running the install again (without going too far into it), in one of the first screen you will see it trying to bring the network up, the devide name is displayed on those lines (that's how I worked out mine)
A simpler way would be to run:
Code:
ifconfig -a plumb
ifconfig -a
 
Old 03-15-2008, 08:10 AM   #10
namespace std
LQ Newbie
 
Registered: Mar 2008
Distribution: OpenSolairs 5/08, OpenVMS 7.3-1, Debian Lenny.
Posts: 18

Original Poster
Rep: Reputation: 0
My NIC was recognized as rtls0 in Solaris. (i have a realtek 8139c)

I just ran these commands:

Code:
ifconfig rtls0 down
Code:
ifconfig rtls0 MyIP netmask 255.255.255.0
Code:
ifconfig rtls0 up
And didn't worked. Will that "plumb" command give me Internet connectivity?

Thanks.

Last edited by namespace std; 03-15-2008 at 08:14 AM.
 
Old 03-15-2008, 09:16 AM   #11
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
The interfaced should be "plumbed" before setting the address.
Code:
# ifconfig rtls0 plumb
# ifconfig rtls0 MyIP broadcast MyBC netmask MyNM
# ifconfig rtls0 up
/etc/hosts should have an entry with your hostname MyIP

/etc/defaultrouter should have an entry with the IP address of your router.

Last edited by dxqcanada; 03-15-2008 at 09:17 AM.
 
Old 03-15-2008, 09:40 AM   #12
namespace std
LQ Newbie
 
Registered: Mar 2008
Distribution: OpenSolairs 5/08, OpenVMS 7.3-1, Debian Lenny.
Posts: 18

Original Poster
Rep: Reputation: 0
Ok.

But can you tell me what do I have to enter at "MyBc" ? How do I find out my broadcast ?


And

Quote:
Originally Posted by dxqcanada
/etc/hosts should have an entry with your hostname MyIP

/etc/defaultrouter should have an entry with the IP address of your router.
You mean that I should check those files if the hostnames and IP are there or to add them there ?

Thanks.

Last edited by namespace std; 03-15-2008 at 09:42 AM.
 
Old 03-15-2008, 10:01 AM   #13
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 namespace std View Post
My NIC was recognized as rtls0 in Solaris. (i have a realtek 8139c)

I just ran these commands:

Code:
ifconfig rtls0 down
Code:
ifconfig rtls0 MyIP netmask 255.255.255.0
Code:
ifconfig rtls0 up
And didn't worked.
Please define "didn't worked". Was there error messages ? Did the commands fail to set the IP address and the network mask ?
Quote:
Will that "plumb" command give me Internet connectivity?
No, plumbing an interface is done automatically by the OS when properly configured.

Internet connectivity not only requires a usable NIC but also correct routing and naming service (DNS).

Why did you choose the hard way of manually configuring all of them instead of letting DHCP doing the whole job for you ?

Also, you'll have a better experience with the latest Solaris Express as suggested in almost every other thread in this Forum.
 
Old 03-15-2008, 10:12 AM   #14
namespace std
LQ Newbie
 
Registered: Mar 2008
Distribution: OpenSolairs 5/08, OpenVMS 7.3-1, Debian Lenny.
Posts: 18

Original Poster
Rep: Reputation: 0
1. I ran

ifconfig rtls0 down

then rtls0 appeared as "disabled" in the taskbar


2. Then I ran:

ifconfig rtls0 MyIP netmask 255.255.255.0

- nothing happened here, no error, no message, no nothing.

3. Then i upped my network connection again.

ifconfig rtls0 up

rtls0 appeared enabled again but could only receive packages, as earlier.




I knew that I should only use dchp if I have a dynamic adress, which I don't.

Last edited by namespace std; 03-15-2008 at 10:14 AM.
 
Old 03-15-2008, 11:57 AM   #15
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 namespace std View Post
1. I ran

ifconfig rtls0 down

then rtls0 appeared as "disabled" in the taskbar
That is the expected behaviour.

Quote:
2. Then I ran:

ifconfig rtls0 MyIP netmask 255.255.255.0

- nothing happened here, no error, no message, no nothing.
That means the command was properly accepted and likely worked. What were you expecting ?
Quote:
3. Then i upped my network connection again.

ifconfig rtls0 up

rtls0 appeared enabled again but could only receive packages, as earlier.
I suppose you mean receive packets. What makes you believe your interface cannot send packets to the network ?
Quote:
I knew that I should only use dchp if I have a dynamic adress, which I don't.
That is unusual. What are you connecting your Solaris box to ?

What other OS(es) are you familiar with and how do you configure it/them to have Internet access ?

Last edited by jlliagre; 03-15-2008 at 11:58 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
Some Noobish Questions junksierra Mandriva 3 01-26-2005 01:00 PM
More Solaris Questions. zaicheke Solaris / OpenSolaris 2 10-24-2004 09:14 PM
Several problems... mostly noobish deathz0r Linux - Newbie 4 06-21-2004 08:10 AM
a few solaris questions evilchild Solaris / OpenSolaris 4 06-14-2004 05:42 AM
Some the same noobish questions :) daborg Linux - General 3 12-23-2002 11:33 AM

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

All times are GMT -5. The time now is 07:04 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