Yet another VIRTUALBOX question:

Tried to install LAMP under VIRTUALBOX (v 3.0.10).

It looks like installed.

But my Browser can not get connected to the LAMP ip address.

I have bridged connections at VIRTUAL BOX connections.

(Virtualbox eth adpater and XP eth adapter)

Should I assign IP addresses for the adapters

or should it be auto?

 

 

Forum: 
Jeremy Davis's picture

Before I say too much more I need to know a bit more about your setup. Sounds like you are using XP. How are you trying to connect? I'm guessing locally (ie from the PC VirtualBox is installed on)? Where are you getting the IP address from? I'm guessing the confconsole screen in the VM (ie the window in VirtualBox with TKL running inside)?

First I'd try pinging the IP (to make sure its not a browser issue). Second I'd try selecting host only networking (and reboot the TKL appliance) and see if that works. Let us know how you go with that and we'll go from there.

Hi JedMeister

After upgrading my VIRTUALBOX 3.14, it has started working.

I can reach LAMP httpd from XP. Connection is configured automatically.
Virtual adapter DHCP works on 192.168.56.100
Virtual Adapter address           192 168.56.102
Turnkey LAMP automatically set 192.168.56.101

I can reach webmin with explorer from same host machine XP

1) I can not reach reach LAMP from other pc on the same network
neither on explorer nor on ping. (firewalls are down, ping works between host machines)

2) I can not ping any ip from inside LAMP. I can not connect to internet from LAMP.

is there any firewall running in the LAMP? How can I stop them?

So,

I did it this way.
I set VirtualBox network adapter to Bridged connection to physical adapter.

LAMP could not get network settings automatically with this setting !!
(LAMP had got auto settings at "host only"adapter setting before)

I gave a static IP as in LAN network.
Then LAMP became visible on the network.

I had to give also a route command to access internet too,

 

Jeremy Davis's picture

Sounds like you've got it working. I suspect you may not have a DHCP server running on your network. That would explain why your VM didn't work properly until you set a static IP. A DHCP server is what will give new machines on a LAN an IP address and also tell it where the internet gateway can be found (ie it does automatically what you've done manually).

Add new comment