My jail doesn't seem to connect to the internet
Here are the settings :
/etc/jail.conf
Errors :
There was no /etc/resolv.conf in the jail - copying the host (which has internet working on wifi) didn't help resolving the issue.
What can be done to fix it?
Here are the settings :
/etc/jail.conf
Code:
exec.start="/bin/sh /etc/rc";
exec.stop="/bin/sh /etc/rc.shutdown";
exec.clean;
#mount.devfs;
test{
path="/jails/test";
mount.devfs;
ip4.addr="192.168.0.115";
allow.raw_sockets="1";
}
Errors :
Code:
pkg update
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly, please wait...
pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly/Latest/pkg.txz: Non-recoverable resolver failure
Address resolution failed for http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly.
Consider changing PACKAGESITE.
.....
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
54 packets transmitted, 0 packets received, 100.0% packet loss
....
There was no /etc/resolv.conf in the jail - copying the host (which has internet working on wifi) didn't help resolving the issue.
What can be done to fix it?