Networking and Internet

Hello, how do I get my help request posted? I tried on Sept. 14 and it did not post.

I decided to finally Solaris in my Windows based computer, Installed a new hard drive for that purpose and after a long hard work I finally got it working, I am still surprised at how hard it is to even open the CD-ROM to view the contents. I could not find a place to tell me how to burn a DVD after I download a file fro the Sun site, so those Iso files became useless to me.

I now have tried hard to connect my second computer in a network under Solaris (both computers are connected under Windows XP no problem there). I cannot access the Internet from a Solaris Session. My connection is perfect in the Windows XP environment?

Would some one help me with this? I would be grateful for that help.

Urbano Oseguera

[835 byte] By [SolForum] at [2007-11-26 10:11:48]
# 1

It seems like Unix is something you have started looking at recently?

Sadly I know of no method for obtaining the experience needed to do an installation out of the box with unix.

Try taking a look at e.g. http://www.tldp.org/guides.html

As to your current question:

a) are you using dhcp or fixed ip adresses on your client box'

If using fixed IP addr, have you

a1) configure the /etc/defaultrouter

a2) configured /etc/resolv.conf

b) is the network interface up

b1) ifconfig -a should display UP in for the network cards

c) try using snoop on the other client to see if the ping icmp arrives and is responded to.

d) is the output from 'svcs -xv' empty?

e) can you ping your router

f) can you resolve e.g. 'nslookup www.gmail.com'

HenryC at 2007-7-7 1:58:59 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Learning Solaris is a great thing!

There is a "cdrw" command that can make life easy. For example:

> cdrw -l

Looking for CD devices...

NodeConnected DeviceDevice type

-+--+--

/dev/rdsk/c0t3d0s2| HL-DT-ST CD-RW GCE-8320B 1.04 | CD Reader/Writer

At the very least you can find the device associated with the cd/dvd!

So you can mount a hsfs cd/dvd (assuming /cdrom exists!):

# mount -F hsfs /dev/dsk/c0t3d0s2 /cdrom

Of course your system will have a different device than my example.

To burn a cd/dvd - use the man page associated with cdrw. You can also search google for "cdrecord".

Networking: I prefer static dhcp. Especially if you have a home network with a 4 port cable/dsl router that supports static dhcp.

Find out what your network device is - "ifconfig" should help

Your /etc/hosts file should only have loopback entry only, no other ip addresses except those dhcp (will) place.

To configure DHCP, assuming you setup static dhcp on a specific IP address of your choosing:

For example - let's say your network device is iprb0

as root:

# touch /etc/hostname.iprb0

# touch /etc/dhcp.iprb0

# ifconfig iprb0 dhcp start

# ifconfig -a

You should see an IP address assigned to iprb0 (assuming again!)

Just make sure dhcp service is offered by your router - otherwise it won't work. Why static - well - you don't have too, but if you want to use your solaris system as a http server and you don't want to hardcode IP addresses.

root@rcirogerscom at 2007-7-7 1:58:59 > top of Java-index,Solaris Operating System,Solaris 10 Features...