Debian appliance help needed

BigTimer

New Member
Sep 22, 2009
19
0
1
Hello,

I downloaded the debian lenny template and installed it and...I can't do anything with it! I've been trying to get it to acquire an ip address from a dhcp server without any luck.

Can anyone tell me how to configure networking (not venet) such that I can get this VM to access my lan? (I know I can't edit the /etc/network/interfaces file).

Thank you.
 
just configure the network as you would do it on physical hardware. you need to edit the following file, here is an example:

Code:
nano /etc/network/interfaces
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet dhcp
now, restart networking and bring the network up:

Code:
/etc/init.d/networking restart
Code:
ifup eth0
this will ask your DHCP server for a IP address.