Discussion Locked

Networking on Solaris 8

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a solaris 8 machine for intel set up. I cannot figure out how to set up/change my networking setup. What is the name of the command(s) to configure my ethernet card, change my ip address/mask/default routing, etc. Just can't figure out what commands to do this in Solaris. Any help would be appreciated.

7 replies

by bulch

Best way, IMHO, is to do it by hand.
Look into '/etc' folder.
You can manipulate /etc/defaultdomain, /etc/defaultrouter, /etc/hosts, /etc/hostname.'interfacename', /etc/netmasks and so on...
Use your favorite text editor for this job.
Create missing files (if you need them).

by cp409sd

Here is the problem...I installed a NIC (one that is is the Hardware Compatability list for Intel) and I can't seem to configure the interface. When I execute 'netstat -ain', or 'ifconfig -a' it only lists the loopback adapter. How do I get itto recognize my NIC. I have tried a couple of NIC's that were on the hardware compatability list, be have gotten the same result. There are no drivers for Solaris for any of the NIC's I've tried. Am I missing something, or why is it so difficult to add a NIC to a Solaris box?

by bulch

Well.
Try 'touch /reconfigure' and then 'init 6' after you install new hardware.
If this don't help try more complex way. There are one message arrive when you boot your PC (at least in 2.6 and 7, not sure on 8). It tell you something like "Press any key to go to Device Driver Assistant" and cowntdown 5 or 10 seconds. Follow this procedure. When complete, touch "logical" configuration as I described above.

by ghislain.levesque

hi, the command is :

sysconfig

It will ask your your system name,IP etc...

To do it manually:

as for the default routing, you will need to modify/create in /etc a file call :

defaultrouter
and type the name of your router.

in /etc create a file call:

hostname.xxx where xxx=name of your interface

exemple:
/etc/hostname.qfe0 and this file will contain: server1

in /etc/hosts add a line like:
10.10.1.5 server1 localhost

When you reboot Server1 will have a new card activated or used the ifconfig command.

This discussion is closed to new replies.