Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel excel 2003 firefox hard drive hardware hdmi hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery router safe mode screen slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
RedHat 9 and VMWare 4 network issue

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
rumandcoke's Avatar
Junior Member with 1 posts.
 
Join Date: Oct 2003
14-Oct-2003, 02:51 PM #1
RedHat 9 and VMWare 4 network issue
Hi,

I have VMWare 4 setup with a bridged Virtual Network. For some reason RH 9 cannot detect the network link.

I get the following error:
Determining IP information for eth0... failed; no link present. Check cable?

RH 8 or earlier worked fine.

Any ideas?

Thanks,
cpuhack.com's Avatar
Senior Member with 254 posts.
 
Join Date: Apr 2002
Location: Iowa
Experience: Einstein
14-Oct-2003, 09:51 PM #2
I had the same prob with VMWare 4 and RH9...didn't bother to troubleshoot much...I presumed that the manner in which VMWare is emulating hardware is not compatible with RH9 out-of-the-box, or, it's a VMWare bug. Either way, it confirmed for me that Virtual PC is what I want.
msteele3's Avatar
Junior Member with 2 posts.
 
Join Date: Dec 2003
24-Dec-2003, 12:09 AM #3
Angry Same Error
I am having the same problem. I have installed vmware tools. Did you find a fix for this. If so, please post.
aineo's Avatar
Senior Member with 279 posts.
 
Join Date: May 2003
Location: Kentucky, USA
Experience: Intermediate
24-Dec-2003, 07:22 AM #4
This was found at the following two websites:

http://www.vmware.com/support/guestn..._redhat90.html
https://bugzilla.redhat.com/bugzilla....cgi?id=100527

Getting a DHCP Address in a Red Hat Linux 9.0 Virtual Machine

When a Red Hat Linux 9.0 guest operating system tries to get a DHCP address, the attempt may fail
with an error message that states the link is down. On ESX Server, this happens only if you are using the
vlance driver for your network connection.

To work around this problem, become root (su -) and use a text editor to edit the following files in the
guest operating system. If only one of these files exist, make the change for that file only.

/etc/sysconfig/network-scripts/ifcfg-eth[n]

/etc/sysconfig/networking/devices/ifcfg-eth[n]

In both cases, [n] is the number of the Ethernet adapter - for example, eth0.

Add the following section to each of these two files:

check_link_down () {

return 1;

}

Hope this helps!
__________________
Has someone's advice here helped you? If so, return the favor and post a reply acknowledging that the problem has been solved.
msteele3's Avatar
Junior Member with 2 posts.
 
Join Date: Dec 2003
30-Dec-2003, 04:38 PM #5
Success !!!

Thank you very much aineo!!!!
mlcboy01's Avatar
Junior Member with 2 posts.
 
Join Date: Jul 2004
Experience: Intermediate
03-Jul-2004, 11:54 PM #6
Angry Windows 2000 guest no connection
I have the opposite problem. I've installed W2K as the guest OS under RedHat 9 (2.4.20-8) using VMware workstation 4.5.2, and host-only networking. ifconfig shows the bridge (vmnet8), but vmnet1 is NOT available.

/etc/init.d/vmware start

Starting VMware services:
Virtual machine monitor [ OK ]
Virtual ethernet [ OK ]
Bridged networking on /dev/vmnet0 [ OK ]
Host-only networking on /dev/vmnet1 (background) [ OK ]
Host-only networking on /dev/vmnet8 (background) [ OK ]
NAT service on /dev/vmnet8 [ OK ]

ifconfig (edited to remove the statistics)

eth0 Link encap:Ethernet HWaddr 00:08:74:E4:74:45
inet addr:192.168.40.34 Bcast:192.168.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1

vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:172.16.9.1 Bcast:172.16.9.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

When I start the W2K guest, the error is

cannot get interface flags for vmnet1. Ethernet0 will start disconnected

and IPCONFIG /all shows the cable disconetcted.

Where is the disconnect?
aineo's Avatar
Senior Member with 279 posts.
 
Join Date: May 2003
Location: Kentucky, USA
Experience: Intermediate
04-Jul-2004, 01:34 AM #7
Unfortunately I don't know the answer to this one. I will check around though and see if I can find it out.
mlcboy01's Avatar
Junior Member with 2 posts.
 
Join Date: Jul 2004
Experience: Intermediate
04-Jul-2004, 09:33 AM #8
Quote:
Originally Posted by aineo
Unfortunately I don't know the answer to this one. I will check around though and see if I can find it out.
Thanks for the follow up.

I took my laptop home to "play with it" there and, when I connected it to my home ISP network (which uses the 10.0.0.0 priv. network) suddently vmnet1 appeared!

The only conclusion I can draw is that, if the actual eth0 interface is configured to draw DHCP in the same range as the requested configuration for vmnet1 (i.e. eth0 draws DHCP from the 192.168.0.0 pool and vmnet1 is configured to belong to that pool statically) it won't appear.

Here is the ifconfig output now (minus stats):

eth0 Link encap:Ethernet HWaddr 00:08:74:E4:74:45
inet addr:10.15.1.223 Bcast:255.255.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1

vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:172.16.240.1 Bcast:172.16.240.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

Interesting, isn't it?

I was unable to find any reference to this in the docs for vmware. I hope to GOD it isn't there!

Thanks again aineo!
markros's Avatar
Junior Member with 1 posts.
 
Join Date: Jul 2004
Experience: Intermediate
26-Jul-2004, 02:12 AM #9
(self confessed linux newbie)

the code only works if you put it in the appropriate (redhat 9) file --

/etc/sysconfig/network-scripts/network-functions

at the top of the check_link_down() function add

return 1

then issue the command

service network restart

... worked for me
veresch's Avatar
Junior Member with 1 posts.
 
Join Date: Aug 2005
Experience: Intermediate
16-Aug-2005, 03:07 PM #10
Quote:
Originally Posted by aineo
This was found at the following two websites:

Getting a DHCP Address in a Red Hat Linux 9.0 Virtual Machine

When a Red Hat Linux 9.0 guest operating system tries to get a DHCP address, the attempt may fail
with an error message that states the link is down. On ESX Server, this happens only if you are using the
vlance driver for your network connection.

To work around this problem, become root (su -) and use a text editor to edit the following files in the
guest operating system. If only one of these files exist, make the change for that file only.

/etc/sysconfig/network-scripts/ifcfg-eth[n]

/etc/sysconfig/networking/devices/ifcfg-eth[n]

In both cases, [n] is the number of the Ethernet adapter - for example, eth0.

Add the following section to each of these two files:

check_link_down () {

return 1;

}

Hope this helps!
This worked like a charm! Thank you! I spent so much time trying to figure this problem out!

-Alexi
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 02:40 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.