I use FreeBSD 9.1 64-bit from the list here.
On my freebsd amazon instance, I have a jail running :
# jls
JID IP Address Hostname Path
1 192.168.1.101 01.gideon.com /jails/01.gideon.com
If I goto that jails console I can't install perl on it. (If I do portsnap fetch inside the jail I get : host: isc_socket_bind: address not available
and then it says no mirrors, giving up.)
I've looked at several articles and posts but I'm confused about what goes where, I just want you to tell me where I should put the right entries, this is a sample from this article, my system info is below:
rc.conf
hostname="" #what goes here?
defaultrouter=""#what goes here?
#I don't understand what this is for?
ifconfig_em0="inet 192.168.0.10 netmask 255.255.255.0"
#I'm guessing this should be like this:
ifconfig_xn0="inet 192.168.1.101 netmask 255.255.255.0"
# Should I use an alias?
# ifconfig_em0_alias0="inet 192.168.0.111 netmask 255.255.255.0"
This is what ifconfig -a
gives me:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
xn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=503<RXCSUM,TXCSUM,TSO4,LRO>
ether 12:31:39:2a:dc:cc
inet 10.8.106.58 netmask 0xfffffe00 broadcast 10.8.107.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet manual
status: active
This is my /etc/resolve.conf
:
# Generated by resolvconf
search ec2.internal
nameserver 172.16.0.23
So how do I go about this?