LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Solaris 10 -> noob -> question (https://www.linuxquestions.org/questions/solaris-opensolaris-20/solaris-10-noob-question-628142/)

namespace std 03-14-2008 08:31 PM

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. :(

dxqcanada 03-14-2008 08:37 PM

Check the Solaris HCL for your hardware ... as you may have unsupported devices.
Solaris HCL

namespace std 03-14-2008 08:42 PM

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. :(

dxqcanada 03-14-2008 08:47 PM

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?

namespace std 03-14-2008 08:49 PM

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.

dxqcanada 03-14-2008 08:54 PM

Did you verify your ethernet status using ifconfig ?
I assume you tried to ping the router ...
Did you check your /etc/resolv.conf ...

namespace std 03-14-2008 09:03 PM

Quote:

Did you verify your ethernet status using ifconfig ?
Yes, but I can only receive packages, not send them. :confused:
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):o

madivad 03-15-2008 12:36 AM

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

jlliagre 03-15-2008 04:14 AM

Quote:

Originally Posted by madivad (Post 3089191)
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


namespace std 03-15-2008 08:10 AM

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? :confused:

Thanks. :)

dxqcanada 03-15-2008 09:16 AM

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.

namespace std 03-15-2008 09:40 AM

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. :)

jlliagre 03-15-2008 10:01 AM

Quote:

Originally Posted by namespace std (Post 3089442)
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? :confused:
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.

namespace std 03-15-2008 10:12 AM

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. :)

jlliagre 03-15-2008 11:57 AM

Quote:

Originally Posted by namespace std (Post 3089517)
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 ?


All times are GMT -5. The time now is 06:46 PM.