Chicken or the Egg: Install GCC/Kernel for Parallels Tool, but no network support

Max Arbos

Junior Member
Hello,

I am trying to get the Parallels Tools installed to get networking for CentOS.
In order to get Tools installed, I need to upgrade/install the GCC/Kernel packages...but I dont have networking working to access the internet.

What should I do to get these tools installed so I can 'wget' from within CentOS server?

Thanks.
 
Hello,

I am trying to get the Parallels Tools installed to get networking for CentOS.
In order to get Tools installed, I need to upgrade/install the GCC/Kernel packages...but I dont have networking working to access the internet.

What should I do to get these tools installed so I can 'wget' from within CentOS server?

Thanks.

It is strange. When tools are not installed, ne2000 network card is emulated and net should work.

But as far as I remember, some versions before PD6 has the bug: after tools are installed they block load of ne2000 driver.. to workaround this, execute in terminal command "sudo rm /etc/modprobe.d/blacklist-parallels*" (without quotes) and reboot VM.

if this doesn't work, post the version of Parallels Desktop you are running.
 
When executing that command in OSX Terminal, I get:
'No such file or directory'

The version I am using is: 5.0.9376

Thanks for the reply.
If you have any other suggestions, that would be great.
 
Ok.. what is the output of ls /etc/modprobe.d/ ?
if there is prl_eth.cong, remove it and reboot the VM

post here the output of ls if it doesn't help
 
uname -a
Darwin xxxxxxxxxxx.home 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
 
Last edited:
Aha! Seems that it is the problem: I mean that these command need to be executed inside linux!

try execute next two command inside linux:
sudo rm /etc/modprobe.d/blacklist-parallels*
sudo rm /etc/modprobe.d/prl_eth*
 
ok, thanks.
I wasnt sure, but thought that OSX was blocking it. That's why in my first reply I added the 'In terminal in OSX'

Anyway, I dont have either of those files.
ls -all pf /etc/modprobe.d shows

blacklist
blacklist-compat
modprobe.conf.dist
 
sbin/ifconfig -a

eth0 Link encap: Ethernet HWaddr: XX:XX:XX:XX:XX:XX (there is an address here)
broadcast multicast mtu:1500 metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txquelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x8200

lo Link encap: Local Loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txquelen:1000
RX bytes:8840 (8.6 KiB) TX bytes:8840 (8.6 KiB)

sit0 Link encap: IPv-6-in-IPv4
NOARP MTU:1480 Metric:1
inet addr:127.0.0.1 Mask: 255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txquelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)




lsmod | grep ne2k
ne2k_pci 14625 0
8390 13765 1 ne2k_pci
 
Aha! So, it seems that there is no problem with modules and network is just not configured.

Make sure that you are in the Shared Networking mode and execute in the terminal next two commands
sudo killall dhclient
/sbin/dhclient eth0

if this doesn't help, execute ifconfig -a and without closing terminal windows send a problem report from menu of Parallels Destkop "Help" -> "Report a Problem" and post here its number
 
OH MAN!
that seems to have done it.
I did change the networking to shared, but that didnt make any difference when I did it.
(i also didnt execute the two commands you sent either when i did it before posting this topic)

Thank you very much. it seems to be working now.

BUT

now when i try to 'yum install gcc kernel-devel' to install the Parallels Tools, I get an error stating that i need 'kernel sources'
Same as error here: http://forum.parallels.com/showthread.php?t=21897

Thanks.
 
Make sure that you are in the Shared Networking mode and execute in the terminal next two commands
sudo killall dhclient
/sbin/dhclient eth0

Is there a way to keep this setup each time the VM is restarted?
Seems as if i need to run these two each time i restart the machine.

Also, is there a way to be able to connect to the VM (actually want to connect to a DB i am installing on centos in the VM) though this networking setup?

I have been able to successfully install PT, but they havent seem to have done anything useful. Is there something I need to do to enable them? ... for any reason.... (i initially wanted ot install them to help me with this networking issue)

Thanks.
 
Is there a way to keep this setup each time the VM is restarted?
Seems as if i need to run these two each time i restart the machine.

Also, is there a way to be able to connect to the VM (actually want to connect to a DB i am installing on centos in the VM) though this networking setup?

I have been able to successfully install PT, but they havent seem to have done anything useful. Is there something I need to do to enable them? ... for any reason.... (i initially wanted ot install them to help me with this networking issue)

Thanks.

You need to configure network card in you CentOS installation. I'm not very familiar with Linux and definitely better walkthrough can be found in network, but on my Cent OS I have X installed and can configure networking from menu System -> Administration -> Network -> Network Configuration

It is also possible to edit scripts in /etc/sysconfig/network-scripts/ : http://www.faqs.org/docs/securing/chap9sec90.html
(likely you need to create file ifcfg-eth0 and specify BOOTPROTO=DHCP in it)
 
Back
Top