Avatar of DalTXColtsFan
DalTXColtsFan

asked on 

VMWare 1.06, Solaris 10, XP host, Solaris image cannot "see" the internet

Greetings experts,

As a bonafide, certified Unix rookie, I downloaded the freeware VMWare 1.06 and installed it (on my Windows XP Professional Dell Laptop), downloaded the freeware ISO for Solaris 10, created a Solaris 10 virtual machine, attached the ISO, and installed the Solaris OS.  I chose the Java Desktop environment (I didn't know anything about either option so I just chose the first one on the list).

One of the many setup options I chose was to use NAT for networking (sharing the hosts's IP address).  Also, during the Solaris OS installation there was a screen that said "Network Connectivity.  Select the network option for this system:  Networked or Non-Networked."  On this screen, for some reason, every time I chose Networked, the installation process hung on the "calculating size requirements" step, so I was forced to choose Non-Networked.  It could be just a coincidence but I wanted to get the thing installed!

Anyway, here's the problem I'm having:  From inside the Java Desktop Environment, when I launch the Firefox browser or the Mozilla browser it can't connect to the internet.  The host (my laptop) obviously can.

Suggestions?

Appreciated!

DTXCF
Unix OSVMware

Avatar of undefined
Last Comment
DalTXColtsFan
Avatar of larstr
larstr
Flag of Norway image

Did you install VMware Tools?
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

I tried several times to install VMWare Tools onto the Solaris image and couldn't get it to work.  Under Inventory I right-clicked Solaris 10, clicked Install VMWare tools, and nothing happened.  That was hours ago.  It now says "Cancel VMWare Tools Installation".

By the way (I didn't mention this before) I also have a Windows XP Professional VMWare image there.  I used NAT For that one as well.  That image can see the internet just fine, and when I went to install VMWare Tools, it was successful.
Avatar of agriesser
agriesser
Flag of Austria image

A click on "Install VMware Tools" does nothing but put a virtual CD into your virtual CD-Rom drive inside the virtual machine (an iso image containing a compatible version of vmware tools).

The reason why it worked for windows is that windows has the autorun feature (pop in a CD, autorun starts and installs VMware tools for you).

On Solaris, you'll have to mount the CD first to make use of it, so, let's say your CD-Rom mountpoint is /media/cdrom, then do a `mount /media/cdrom` and have a look at the files on the CD. There should be a .tar.gz archive with the latest tools version. Extract it, install it and you should be fine.

JFYI: The "Cancel VMware Tools installation" does the opposite of "Install VMware Tools", it removes the virtual CD from the drive again.
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

Thanks.

Sorry I'm such a rookie but I can't figure out how to know where that virtual CD was inserted.  You mentioned that sometimes it's /media/cdrom.  How do I figure out what to type after mount?

Thanks buckets
DTXCF
Avatar of agriesser
agriesser
Flag of Austria image

Have a look at your /etc/fstab file (`cat /etc/vfstab`), it should contain an entry of available mountpoints and hopefully contain the name of the CD-Rom mountpoint too.

I found the following "HOWTO" for mounting CDROM drives on Solaris 10, it might be useful in your case:

1. Stop volmgt (if running)
/etc/init.d/volmgt stop

2. Confirm it has stopped
ps -ef | grep vold

3. Locate the CD/DVD device
(a)
iostat -En
eg: c0t0d0
then device would be
/dev/dsk/c0t0d0s2

(b) If not detected, either reboot - use "boot -r"
or
devfsadm -C
devfsadm

4 Manually mount the CD
mkdir -p /tmp/cdrom
mount -F hsfs -o ro /dev/dsk/c0t0d0s2 /tmp/cdrom

5 Check contents
ls /tmp/cdrom

6 Unmount
umount /tmp/cdrom

7. Mount using correct path (if required)
eg: /cdrom/cdrom0

8 Restart vol mgt
/etc/init.d/volmgt start

check /vol directory for inconsistencies...
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

I wasn't able to decipher everything in your last post, but I did, by a stroke of luck, change the one CD rom I already had mounted from pointing to the original ISO to just a normal CD Drive, and then the NEXT time I said "Install VMWare Tools", it DID autorun the CD.  Keep in mind I have the Java Desktop Environment running.

However I'm not all the way there yet.  I tried running the Terminal program that comes with it and running it that way (using exec), and the terminal window just disappears.  I tried typing bash to use the Bourne again shell, but when I type exec vmware-install.pl, it says vmare-install.pl not found.

From within the desktop, double-clicking the file and choosing either Run or Run In Terminal seem to do nothing.

Any other thoughts?  Do I need to somehow get out of the desktop environment?

Thanks
DTXCF
Avatar of agriesser
agriesser
Flag of Austria image

Is perl installed on your system? When a terminal window is open, does the command

perl --version

produce any output?
Try to run:

perl vmware-install.pl
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

perl v 5.8.4.

I tried perl vmware-install.pl and it said "A previous install exists on your system.  Faliure.  Execution Aborted."

I tried perling the uninstall script and it said

"Unable to find the answer LIBDIR in the installer database.(etc/vmware-tools/locations).  You may want to reinstall VMWare tools"

Any other thoughts?
Avatar of gheist
gheist
Flag of Belgium image

Have you configured your network interface to use DHCP ever?
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

gheist:

I don't think so.  There's a screen during the install process where you choose Networked or Non-Networked.  I had to choose Non-Networked on that screen, and I don't think I had an option to set DHCP or not after that (it just asked me for a host name).
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of agriesser
agriesser
Flag of Austria image

Are there any /etc/vmware* files on your solaris system? Does the 'vmware-install.pl' script on solaris support some command line options to force the installation?
Try

./vmware-install.pl --help

or

./vmware-install -h
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

agriesser:  Yes, there was a vmware-tools folder under my etc folder, and I apologize for not thinking of that - that should have been obvious enough.  I deleted it and re-ran the installation and it worked fine.  I even rebooted the machine and it's no longer telling me I don't have vmware tools installed.

Unfortunately, getting those successfully installed did not resolve my problem of connecting to the internet through VMWare and the (laptop) host.  It still says "www.sun.com cannot be found" when I run Firefox or Mozilla.  Regardless, I will make sure you get points, as honestly I was planning to post a second topic asking for help installing VMWare tools.



gheist:  I tried ifconfig e1000g0 plumb and got ifconfig:  plumb:  e1000g0:  no such interface

I tried ifconfig dhcp start and got ifconfig: start: bad address.


I am a total rookie so I greatly appreciate your patience.

Thanks
DTXCF
SOLUTION
Avatar of Hanno P.S.
Hanno P.S.
Flag of Germany image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

JustUnix:

I was able to get VMWare Tools installed with agriesser's help.

As for your suggestions, I tried

ifconfig pcn0 plumb
ifconfig: plumb: pcn0: no such interface

ifconfig pcn plumb
ifconfig: plumb: pcn: no such interface

ifconfig vmxnet plumb
ifconfig: plumb: vmxnet: no such interface


Any other thoughts?
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

I want to emphasize this paragraph from my original post:

One of the many setup options I chose was to use NAT for networking (sharing the hosts's IP address).  Also, during the Solaris OS installation there was a screen that said "Network Connectivity.  Select the network option for this system:  Networked or Non-Networked."  On this screen, for some reason, every time I chose Networked, the installation process hung on the "calculating size requirements" step, so I was forced to choose Non-Networked.  It could be just a coincidence but I wanted to get the thing installed!

Is it possible that choosing Non-Networked here was causing me problems?  If so, is there a remedy to it that doesn't involve re-installing the whole OS?

Thanks
DTXCF
Avatar of Hanno P.S.
Hanno P.S.
Flag of Germany image

Try to find the actaul name for your network interface using my explanation from https://www.experts-exchange.com/questions/23526106/Solaris-10-internet-not-working.html#21905763
Avatar of gheist
gheist
Flag of Belgium image

And if you plumb e1000g0?
It is only option for amd64 solaris 10
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

gheist:  ifconfig plumb e1000g0 gives:
ifconfig: plumb: e1000g0: bad address.


JustUNIX:  I typed the prtconf -v command like you suggested, redirected it to a text file, opened the text file and searched for "Ethernet".  My output looked almost exactly like yours in the other thread.  The only two differences I noticed:

Where yours said:

pci1022,2000, instance #0

mind said:

pci1022,2000, instance #0 (driver not attached)

And when I searched the text file for pci1022,2000, I did not find it in any line that also contained dev_path.

Did I misinstall or not install a driver I was supposed to?

Thanks buckets
DTXCF
SOLUTION
Avatar of agriesser
agriesser
Flag of Austria image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

It's x86.

Would the 64-bit version have worked on an XP host?
Avatar of agriesser
agriesser
Flag of Austria image

I don't know, but the link above contains good information for configuring the x86 versions too (especially how to determine what network adapter is used on your system and what the "driver not attached" message means, etc.).

Have you read it?
As mentioned in the last post, please try these few things:

If this is 32-bit, try "prtconf | grep pci1022,2000". If this doesn't show anything, then the VM isn't seeing the device at all - check the settings to make sure it's connected. If this shows something like "driver not attached" then the VM is seeing the device, but doesn't know how to bind it to a driver - check /etc/driver_aliases for the line:
vmxnet "pci1022,2000"
and /etc/name_to_major for a line containing vmxnet.
Avatar of gheist
gheist
Flag of Belgium image

Solaris goes 64bit if your CPU is 64bit.

isainfo -v shows available ABIs.
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

I have several more thoughts and I'll post them one post at a time:

1.  I assumed that I wanted NAT and not bridged because I'm using a company laptop to install VMWare and Solaris 10, and my network administrator will NOT let me add new machines to the network.   Was this a bad assumption?  Do I understand correctly that if I choose NAT that both my laptop and the virtual machine share an IP address and should both be able to "see" the network/internet?
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

2.  I didn't notice this before, but as the virtual machine is booting up, I see this message:

svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96.
svc.startd[7]: network/physical:default misconfigured: transitioned to maintenance (see 'svcs -xv for details)
hostname: unixvmjr
/dev/rdsk/c0d0s7 is clean.

Then once the desktop came up I ran the terminal, typed svcs -xv and got this:

svc:/network/physical:default (physical network interfaces)
State:  maintenance since (date/time)
Reason:  Start method exited with $SMF_EXIT_ERR_CONFIG.
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1M ifconfig
See: /etc/svc/volatile/network-physical:default.log
Impact: 2 dependent services are not running:
     svc:/milestone/network:default
     svc:/network/ssh:default


The sun page wasn't very helpful
The manual was way too much information for me to try to digest.
The log file said:
ifconfig: pcn0: interface does not exist or cannot be managed using DHCP

This probably doesn't help at all since pcn0, VMNet, VMXNet etc. have already been thrown around as interface names, but I figure better too much information than not enough.
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

prtconf | grep pci1022,2000 shows:
pci1022,200, instance #0 (driver not attached)

grep vmxnet /etc/driver_aliases shows:
vmxnet "pci15ad,720"
vmxnet "pci1022,2000"

grep vmxnet /etc/name_to_major shows:
vmxnet 221
Avatar of gheist
gheist
Flag of Belgium image

You are right. NAT does translation in the way that all outgoing connections from hidden device do come from visible one.
Avatar of gheist
gheist
Flag of Belgium image

What is the word length of your machine e1000g is only driver for 64bit ones and you never tried that.

First "plumb" correct driver, then configure at boot.
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

gheist:

Actually I had tried
ifconfig plumb e1000g
and got e1000g: bad address

and this is an x86 install.

Any other thoughts?
Avatar of Hanno P.S.
Hanno P.S.
Flag of Germany image

Was your physical PC's network interface working and in an active
state when you started the Solaris VM?
If the network interface has not been (physically) activated when
the VM starts, VMware cannot see it.
Avatar of gheist
gheist
Flag of Belgium image

What x86 install? x86_64?
i-g plumb e1000g0
Avatar of DalTXColtsFan
DalTXColtsFan

ASKER

Unfortunately I've been given another project and will not have time to return to the VMWare install, but even though we weren't able to figure out what went wrong, you guys taught me so much in this thread that I didn't want to leave you empty-handed.

Thanks for your help.
VMware
VMware

VMware, a software company founded in 1998, was one of the first commercially successful companies to offer x86 virtualization. The storage company EMC purchased VMware in 1994. Dell Technologies acquired EMC in 2016. VMware’s parent company is now Dell Technologies. VMware has many software products that run on desktops, Microsoft Windows, Linux, and macOS, which allows the virtualizing of the x86 architecture. Its enterprise software hypervisor for servers, VMware vSphere Hypervisor (ESXi), is a bare-metal hypervisor that runs directly on the server hardware and does not require an additional underlying operating system.

39K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo