TurnKey Linux Virtual Appliance Library

Network issue: Turnkey server & VMWare player

Using the server app, but this appears to be a basic problem in the core.  Using VMWare player, I get an issue I don't in VirtualBox running the exact same VM.  Prefer to use VMWare because I have some other machines in it that need real floppy drive access I don't seem to be able to get in VirtualBox. 

Hosting on XP Pro 32 bit and using bridged network connection.

When I run the appliance for the first time after a host boot, the configuration console tells me my IP address and the appropriate ports acquired via DHCP.  Before it gets to that point, I see something fly by saying it obtained that IP lease.  Router confirms the IP address is assigned to the VM.  But the network really doesn't work.  Can't ping in or out from/to host IP or another on the network.  If I try to re-configure the network via DHCP, it will sometimes work and others it will say it failed.  If I re-configure using a static IP and the IP previously determined via DHCP, it works every time.  So, in a nutshell, it's getting a valid IP but somehow not properly applying it.

Tried on both corporate (intended location, but no network admin rights to see what's going on) and home with same results.

Saw some other messages, but none seem to apply.  One concerned edits to etc/udev/rules.d/70-persistent-net.rules and seemed promising, but that's a zero-length file and the messages seemed to indocate it was mostly applicable to install via .iso (which I did not).
 

So, maybe it's a VMWare issue and I need to try asking over there.  But maybe it's not.  Or even if it is, maybe someone else here already has a solution.

Jeremy's picture

Sounds like an interesting issue

When you say "When I run the appliance for the first time after a host boot" does that mean that once you get DHCP working that you can then reboot the TKL guest and it keeps working every time?

Also perhaps you could try Ubuntu 10.04 Server under the same circumstance and compare.

In case you weren't already aware, the TKL v11.x appliances are heavily based on Ubuntu 10.04. If Ubuntu acts the same then it's an upstream and/or VMware issue (and you may just need to workaround by using a static IP). Otherwise it would suggest the problem is a consequence of TKL specific customisations. It may still require a workaround in the short term but probably a better chance of a fix.

have you tried deleting the files in

Hi,

I had a similar issue, and like you I found some promising link  pointing to etc/udev/rules.d/70-* which should be deleted after copying a vm.

For me this resolved the issue - so have you tried deleting these files?

rm

rm etc/udev/rules.d/70-persistent-net.rules

worked for me too after moving the VM files to a different directory! thanks : )

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)