Configuring Network in Solari 10

I installed Solaris 10 06/06. While installation I didnot configure the network. Now I want to connect the system to the network. Can anybody suggest how to configure the network. The nic is not getting detected. How to know whether the required driver for detection of nic is present. Can someone guide me on this or point to some link.

thanks & regads,

rathi

[384 byte] By [rathi] at [2007-11-26 10:19:07]
# 1
can you post the output of ifconfig -a ?Also is this x86 or Sparc?Thanks
Mundek23 at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
This is x86. Result of ifconfig -a shows only the local loopback link.rathi
rathi at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3
if you know the manufacturer of the installed NIC this is a good resource: http://homepage2.nifty.com/mrym3/taiyodo/eng/
Mundek23 at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
Also try http://solaris-x86.org/software/drivers/check out the man page entries for add_drv, modinfo, devlinks etc. etc.
Mundek23 at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5

Try this - as it works pretty often when you don't know what the network driver is:

# ifconfig -a plumb

Then check

# ifconfig -a

Failing that - try the /usr/X11/bin/scanpci - this will identify most PCI devices.

If you see your nic, then create:

1. /etc/hosts entries

2. /etc/hostname.<nic>

3. /etc/defaultrouter entry

4. /etc/netmask entry

Then, without rebooting:

# ifconfig <nic> inet xxx.xxx.xxx.xxx netmask 255.255.255.0 up

Then add your default route:

# route add default xxx.xxx.xxx.xxx

Then try pinging etc.

Then reboot to make sure settings above are persistent.

Message was edited by:

root@rci.rogers.com

root@rcirogerscom at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6
Or if you bother editing these files (which i don't) just try using the /usr/sbin/sys-unconfig tool, its an easy to use step by step tool and will allow you to configure your network settings along with your hostname and domain, DNS, time zone and location settings.
Haythammorsy at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 7

One of the main features of these forums is to teach. Would you run sys-unconfig on a production multi-homed system? Do you also know that it removes the root password as well as NFS entries in vfstab? This command is at best one to avoid for anyone who supports a production environment or plans to. See the man page - you will find it does more that you might expect. Not documented, it also regenerates new system ssh RSA/DSA pub/pri keys, not a good idea in a monitored secure environment ... say a financial institution?

Oh and take a look at these ones:

http://forum.sun.com/jive/thread.jspa?threadID=106142&tstart=45

http://forum.sun.com/jive/thread.jspa?threadID=74634&messageID=272036

I'm not flaming you but trying to pass on what my own experience has taught me.

Donald

root@rcirogerscom at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 8

Thanks everybody for the information provided. I used the details given at http://www.sun.drydog.com/faq/6.html to solve my problem. I am very new to solaris so after the my nic was detected I used sys-unconfig for configuring networking. I am in the process of trying whatever I can to try to learn things properly.

Please keep responding to my posts.

thanks & regards,

rathi

rathi at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 9

On several different machines (all sun built boxes e450, Ultra20m2, Blade1000) I have always had no luck manually configuring my network settings. I poke at it for 10-20 minutes and then just end up saying 'screw it' and doing a sys-unconfig (which means 10 more minutes of reconfiguration). Not to mention all of the .ssh/known_hosts editing. I have followed the steps you listed Donald, is there anything else I might have been forgetting? The symptom will be like Solaris is completely ignoring my DNS settings, although defaultrouter is set correctly.

Dan

kjard_us at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 10
Oh boy - I'm not monitoring these posts as often as I should - did you solve your problem? If not - please let me know, I'll try my best to help you.
root@rcirogerscom at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 11
Please take a look in to this link... It might help you... http://forum.java.sun.com/thread.jspa?messageID=9423326
sakps5 at 2007-7-7 2:16:17 > top of Java-index,Solaris Operating System,Solaris 10 Features...