Date: Tue, 5 May 2020 21:31:27 -0400 From: Mike Wayne <FreeBSD_jail@wayne47.com> To: freebsd-jail@freebsd.org Subject: Re: Re: Message-ID: <20200506013127.GL42597@post.wayne47.com> In-Reply-To: <CY4PR19MB165547804EB89A571CD29186F9A70@CY4PR19MB1655.namprd19.prod.outlook.com> References: <CY4PR19MB1655C40E4F61CB446802CB55F9A70@CY4PR19MB1655.namprd19.prod.outlook.com> <CAE=JSsNConxt74qCGLXC-tZe6T1V1n5LsNnQFsn8Mxjpr92HJw@mail.gmail.com> <CY4PR19MB16558737C6F6B2D8B31305B5F9A70@CY4PR19MB1655.namprd19.prod.outlook.com> <CAE=JSsOrNAjqqS7nJu_w8Z2tVHLQHsvBDM_6NgtZ=CMwwKqyGA@mail.gmail.com> <CY4PR19MB1655A2D206FF5B13FF03DA73F9A70@CY4PR19MB1655.namprd19.prod.outlook.com> <CAE=JSsNNoPikH6MQX1K%2BdBQXsFhy42TSCsd-tMAiyvz=Ld0fLw@mail.gmail.com> <CY4PR19MB1655FEA37889EBA63527C18DF9A70@CY4PR19MB1655.namprd19.prod.outlook.com> <CY4PR19MB165547804EB89A571CD29186F9A70@CY4PR19MB1655.namprd19.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org <owner-freebsd-jail@freebsd.org> on behalf of Brandon helsley <brandon.helsley@hotmail.com> > Sent: Tuesday, May 5, 2020 1:38:02 PM > To: Noon OG <superbofh@gmail.com> > Cc: freebsd-jail@freebsd.org <freebsd-jail@freebsd.org> > Subject: Re: Re: > > Ok Im back. Fixed it > > Sent from Outlook Mobile<https://aka.ms/blhgte> > > ________________________________ > From: Noon OG <superbofh@gmail.com> > Sent: Tuesday, May 5, 2020 12:31:05 PM > To: Brandon helsley <brandon.helsley@hotmail.com> > Cc: freebsd-jail@freebsd.org <freebsd-jail@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@hotmail.com<mailto:brandon.helsley@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@gmail.com<mailto:superbofh@gmail.com>> > Sent: Tuesday, May 5, 2020 12:09:30 PM > To: Brandon helsley <brandon.helsley@hotmail.com<mailto:brandon.helsley@hotmail.com>> > Cc: freebsd-jail@freebsd.org<mailto:freebsd-jail@freebsd.org> <freebsd-jail@freebsd.org<mailto:freebsd-jail@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@hotmail.com<mailto:brandon.helsley@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@gmail.com<mailto:superbofh@gmail.com>> > Sent: Tuesday, May 5, 2020 11:12:23 AM > To: Brandon helsley <brandon.helsley@hotmail.com<mailto:brandon.helsley@hotmail.com>> > Cc: freebsd-jail@freebsd.org<mailto:freebsd-jail@freebsd.org> <freebsd-jail@freebsd.org<mailto:freebsd-jail@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@hotmail.com<mailto:brandon.helsley@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@freebsd.org<mailto:freebsd-jail@freebsd.org> mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org<mailto:freebsd-jail-unsubscribe@freebsd.org>" > _______________________________________________ > freebsd-jail@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-jail@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200506013127.GL42597>