The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
C networking Sannair IP Networking 0 02-27-2008 10:10 PM
solaris networking Farbegas SUN Solaris 3 10-04-2007 07:00 AM
Configuring networking interfaces on Solaris 10 annointed3 UNIX for Dummies Questions & Answers 7 03-02-2006 09:55 PM
networking between two solaris workstations jung1975 IP Networking 1 01-07-2002 03:31 PM
Networking kyphur IP Networking 1 11-07-2001 05:44 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-15-2005
Phobos Phobos is offline
Registered User
  
 

Join Date: Jan 2005
Location: Columbus, GA
Posts: 61
Solaris 10 Networking

I have just installed Solaris 10 for x86. The install seemed to have worked fine, and I have configured my hostname and am able to login and do whatever. However, networking does not seem to have been installed. I have a router which assigns ip address via DHCP. I would have thought Solaris would have been automatically assigned using this, but no. I went to the good 'ole /etc but didn't find any of the files one would think would be there, such as hostname.<myhostname>, or netmasks, and so forth. I then proceeded in finding a dir named inet (in /etc) which contained some of these files but not all. I can't find the defaultgateway at all!

So to sum up, how does one install networking with Solaris 10. (As far as i can deduce it is a bit different from previous versions )

Thanks,
Robert

PS. I'm sure this question is asked often, but through the search tool I have found nothing as specific to my topic...
  #2 (permalink)  
Old 02-16-2005
donald1111 donald1111 is offline
Registered User
  
 

Join Date: Jul 2003
Location: Germany
Posts: 12
Hi!
First is your network card really supported? If it is so, then you need an empty file /etc/dhcp.<yournetworkdevice> (for example /etc/dhcp.elxl0)
and /etc/hostname.<yournetworkdevice>
You can also add some commands in the dhcp file like "wait time" and "primary" but it is not necessary.

> I can't find the defaultgateway at all!
You do not need the file /etc/defaultgateway if are using dhcp.

It is also possible to configure this with the command "sys-unconfig" as root. Then your network, time, X etc. will be configured again after a reboot.
  #3 (permalink)  
Old 02-16-2005
Phobos Phobos is offline
Registered User
  
 

Join Date: Jan 2005
Location: Columbus, GA
Posts: 61
Ok, I tried doing the sys-unconfig. After the system restarted it began reconfiguring everything. However it just browsed past the network config - giving me no options. When I create all the files and do "ifconfig cardhere plumb up" it says the card cannot be found. I did a quick google search on my card, which is the Linksys LNE100TX and it appears to be supported with the afe driver. Only thing is that I have two of these cards in the system, not that it should make any difference. So what is going on!?

Thanks for your help,
Robert
  #4 (permalink)  
Old 07-16-2008
FunibonE FunibonE is offline
Registered User
  
 

Join Date: Jul 2008
Location: Silicon Forest
Posts: 16
Cool

Try this:

1. logon to the workstation as root
2. create a file with name:
dhcp.INTERFACENAME
where INTERFACENAME is the name of the network interface where DHCP must be configured
command: #touch /etc/dhcp.INTERFACENAME

3. empty the file with name /etc/hostname.INTERFACENAME
command: #> /etc/hostname.<<interface>>

4. put the following command in the file: /etc/dhcp.<<interface>>
wait 120

5. Remove the entry with the fixed IP address and hostname from the file: /etc/hosts

6. remove the following file: /etc/defaultrouter
command: #rm /etc/defaultrouter

7. Reboot the client
command: #reboot
  #5 (permalink)  
Old 07-17-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,953
@funibone
this thread is over 3 years old... and without the driver for the network cards your solution won't work either!
  #6 (permalink)  
Old 07-23-2008
vijayq8 vijayq8 is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 14
Thumbs up Vijay

Hi dear,

once if you installed solaris and if you connect a router that delivering dhcp dynamically, sure solaris will accept the incoming dhcp connections.
i tried this myself .

i think may be your ethernet is not supported by solaris , first you check your ethernet driver is installed properly.

to check that.

ifconfig -a

it will list down the ethernet properties such as ip address, subnet and broadcast address. ( with the interface name )

if you find only loopback address without any ip and broadcast , then pretty sure your ethernet is not installed ...

find a suitable ethernet card for solaris.

Try commad prtdiag to ensure that ethernet driver is installed properly. prtdiag will show all the hardware details installed.

Hope this help you.

Thanks & Regards
Vijay,
Closed Thread

Bookmarks

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:50 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0