I don't suppose anyone has experienced any weird host crashes in Nexenta (host) using VirtualBox 3.0.x (in headless mode)?
It seems the host stays alive (I can even type text into the box if I have a keyboard hooked up) but it drops all user connections and network connections (so i can't ssh / ping it. I can't even log in using the direct keybaord connection).
Most infuriating as VMWare doesn't support OpenSolaris and I can't seem to get Xen running so I'm stuck with VBox
Using virtualbox, I am trying to use Alpine linux (guest) as a firewall for my lubuntu (host). My physical network card (NIC) is eth0.
ISP WAN -> Alpine linux (guest) -> lubuntu (host) LAN
I am trying to get the ip from my ISP DHCP server but I had no success. I know that in virtualbox I have... (0 Replies)
I'm sorry for the vague title, but I am a complete newbie to UNIX and whatnot. I literally just tried to learn it 3 hours ago so please bear with me.
I'll just try and start from the top. I downloaded VirtualBox and used that to open OpenSolaris. As far as I can tell, it is working fine, but... (2 Replies)
I've just installed VirtualBox on my PC and installed OpenSolaris as a virtual machine within it. The PC connects to the internet via a router and uses DHCP to get its IP address. How do I configure the OpenSolaris virtual machine to use the same DHCP server so I can connect it to the net. At the... (4 Replies)
REALHOSTNAME(3) BSD Library Functions Manual REALHOSTNAME(3)NAME
realhostname -- convert an IP number to the real host name
LIBRARY
System Utilities Library (libutil, -lutil)
SYNOPSIS
#include <libutil.h>
int
realhostname(char *host, size_t hsize, const struct in_addr *ip);
DESCRIPTION
The function realhostname() converts ip to the corresponding host name. This is done by resolving ip to a host name and then ensuring that
the host name resolves back to ip.
host must point to a buffer of at least hsize bytes, and will always be written to by this function.
If the name resolution does not work both ways or if the host name is longer than hsize bytes, inet_ntoa(3) is used to convert ip to an ASCII
form.
If the string written to host is hsize bytes long, host will not be NUL terminated.
RETURN VALUES
The realhostname() function will return one of the following constants which are defined in <libutil.h>:
HOSTNAME_FOUND
A valid host name was found.
HOSTNAME_INCORRECTNAME
A host name was found, but it did not resolve back to the passed ip. host now contains the numeric value of ip.
HOSTNAME_INVALIDADDR
ip could not be resolved. host now contains the numeric value of ip.
HOSTNAME_INVALIDNAME
A host name was found, but it could not be resolved back to any ip number. host now contains the numeric value of ip.
SEE ALSO gethostbyaddr(3), gethostbyname(3), inet_ntoa(3), realhostname_sa(3)BSD April 6, 1999 BSD