How to configure network with solaris?
Can't find in any of the gui program and not very familiar with solaris commands.
|
ifconfig should do it. Much more simpler to use dhcp. For instance if driver for your nic is rf0 do this from a terminal as root:
Code:
/sbin/ifconfig rf0 dhcp |
Quote:
Anyway, ifconfig rf0 returns "No such interface" |
you may need to ifconfig plumb rf0 before you actually go ahead and set the ip, etc.
|
Quote:
Anyway I think my nic driver is not installed? Tried installing the driver, sheesh.. I doesn't have the "make" program installed as well :( |
Try a prtconf -v to see if it lists any ethernet devices. If it does, note the name of the interface (hme, dmfe, rf or whatever) and then do:
ifconfig <interface+number i.e. hme0> IP netsmask xxx.xxx.xxx.xxx up. Or better yet, to have your network configured from the beginning do a sys-unconfig. |
Quote:
Code:
Node 0x1a7908 Code:
rtls "pci1186,1301" 2) Another problem I encountered, I don't have the "make" program installed, any idea how can I install it from the solaris cd? |
Make is usually at /usr/ccs/bin/make, it is installed when you do a full installation or a developer one.
If your software is demanding the gnu make, because of some of its extensions, you can also install it from varous freeware sites. Concerning your network card, from the logs it looks like its name is rtls, so you need to do a: ifconfig rtls0 plumb to enable it, before any configuration can occur. |
Then try ifconfig rtls0 plumb, ifconfig rtls0 IP netsmask xxx.xxx.xxx.xxx up
To add a package try: pkgadd -d /cdrom/<Package name> But it's better to download the package from http://www.sunfreeware.com/ and do the pkgadd at the dir you've downloaded it. |
I tried rtls0, rtls1, rtls, all returned with "No such file or directory".
|
try: devfsadm -v
|
Quote:
|
Ok I reinstalled solaris and reinstall the driver. Got this error.
cp rtls //kernel/drv/rtls + chmod 755 //kernel/drv/rtls + chown root:sys //kernel/drv/rtls + grep ^rtls\> /etc/name_to_major + add_drv -v -i "pci1186,1301" "pci10ec,8139" "pci1113,1211" rtls exit status = 0 devfsadm: driver failed to attach: rtls exit status = 11 Warning: Driver (rtls) successfully added to system but failed to attach Driver (rtls) installed. + exit 0 I got my driver from http://www.realtek.com.tw/downloads/...eyword=solaris There are also some information in the readme file in the driver folder that tells me to create the /etc/hostname.rtls0" file and modify some other related files to make my networking environments working well. What information do I need to type in the /etc/hostname.rtls0 file and what are these "modify some other related files"? Thanks in advanced. |
In /etc/hostname.rtls0 you write the name of your host, but since you must change a lot of other files by hand it's better to use sys-unconfig to reconfigure your system.
|
Quote:
|
All times are GMT -5. The time now is 06:35 PM. |