No subject

Mike Wayne FreeBSD_jail at wayne47.com
Wed May 6 01:31:33 UTC 2020


On Tue, May 05, 2020 at 07:42:50PM +0000, Brandon helsley wrote:
> I did what you said with changing the nameserver and sysctl and to no luck.
> If I try to sysctl inside the jail I get operation not permitted.

As the original posters daid, you have to do the sysclt on the HOST,
not in the jail.


> 
> ________________________________
> From: owner-freebsd-jail at freebsd.org <owner-freebsd-jail at freebsd.org> on behalf of Brandon helsley <brandon.helsley at hotmail.com>
> Sent: Tuesday, May 5, 2020 1:38:02 PM
> To: Noon OG <superbofh at gmail.com>
> Cc: freebsd-jail at freebsd.org <freebsd-jail at freebsd.org>
> Subject: Re: Re:
> 
> Ok Im back. Fixed it
> 
> Sent from Outlook Mobile<https://aka.ms/blhgte>
> 
> ________________________________
> From: Noon OG <superbofh at gmail.com>
> Sent: Tuesday, May 5, 2020 12:31:05 PM
> To: Brandon helsley <brandon.helsley at hotmail.com>
> Cc: freebsd-jail at freebsd.org <freebsd-jail at freebsd.org>
> Subject: Re: Re:
> 
> we're all here . we'll all help, as much as possible ;)
> 
> 
> On Tue, May 5, 2020 at 7:15 PM Brandon helsley <brandon.helsley at hotmail.com<mailto:brandon.helsley at hotmail.com>> wrote:
> Thanks for the help, it might take me some time to get back to this step. As I've been trying to learn I just today messed with ifconfig trying to reassign ip addresses to the network interface card and it seems I can't get it back up and running. I'm going to reinstall and set the jails backup and finish these last steps and get back to you. Hopefully you can stick with me until I get this figured out. Thanks shouldn't be too long.
> 
> Sent from Outlook Mobile<https://aka.ms/blhgte>
> 
> ________________________________
> From: Noon OG <superbofh at gmail.com<mailto:superbofh at gmail.com>>
> Sent: Tuesday, May 5, 2020 12:09:30 PM
> To: Brandon helsley <brandon.helsley at hotmail.com<mailto:brandon.helsley at hotmail.com>>
> Cc: freebsd-jail at freebsd.org<mailto:freebsd-jail at freebsd.org> <freebsd-jail at freebsd.org<mailto:freebsd-jail at freebsd.org>>
> Subject: Re: Re:
> 
> let's just try something like, edit that /etc/resolv.conf file, and, instead of nameserver 127.0.0.1, change it to nameserver 8.8.8.8
> 
> about the ping thing: run this on the host: sysctl security.jail.allow_raw_sockets=1
> and
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-ezjail.html
> check this out, the green rectangle, if you're using ezjail
> 
> On Tue, May 5, 2020 at 6:23 PM Brandon helsley <brandon.helsley at hotmail.com<mailto:brandon.helsley at hotmail.com>> wrote:
> For
> 
> ls -al /etc/resolv.conf:-rw-r--r-- 1 root wheel 125 may 4 06:36 /etc/resolv.conf
> 
> cat /etc/resolv.conf: Generated by resolvconf search home
> #nameserver 192.168.0.1
> #nameserver 205.171.3.25
> 
> Nameserver 127.0.0.1
> Options edns0
> 
> 
> Also, ping : send socket: operation not permitted .
> 
> Sent from Outlook Mobile<https://aka.ms/blhgte>
> 
> ________________________________
> From: Noon OG <superbofh at gmail.com<mailto:superbofh at gmail.com>>
> Sent: Tuesday, May 5, 2020 11:12:23 AM
> To: Brandon helsley <brandon.helsley at hotmail.com<mailto:brandon.helsley at hotmail.com>>
> Cc: freebsd-jail at freebsd.org<mailto:freebsd-jail at freebsd.org> <freebsd-jail at freebsd.org<mailto:freebsd-jail at freebsd.org>>
> Subject: Re:
> 
> Hi Brandon,
> 
> It's show and tell day ;)
> 
> first step, inside the jail:
> 
> ls -al /etc/resolv.conf
> cat /etc/resolv.conf
> 
> if you got nothing, just go for something like:
> 
> echo "nameserver 8.8.8.8" >> /etc/resolv.conf
> 
> either way, ping 8.8.8.8 should return something.
> On the other hand, there are a few sysctl knobs, for raw sockets that might need tweaking. But we'll see what happens, as we go.
> 
> 
> 
> On Tue, May 5, 2020 at 5:59 PM Brandon helsley <brandon.helsley at hotmail.com<mailto:brandon.helsley at hotmail.com>> wrote:
> I was told "Based on your error (resolver), your DNS is hosed.Rudy" can I get additional help today for services in jails? Thanks
> 
> 
> Brandon
> 
> Sent from Outlook Mobile<https://aka.ms/blhgte>
> _______________________________________________
> freebsd-jail at freebsd.org<mailto:freebsd-jail at freebsd.org> mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org<mailto:freebsd-jail-unsubscribe at freebsd.org>"
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"


More information about the freebsd-jail mailing list