Re: Configuring jails

2020-05-04 Thread Shamim Shahriar

On 04/05/2020 01:42, Brandon helsley wrote:

Doesn't work. I'm trying to update packages to see if networkings up. There 
must be a usual solution right?

Sent from Outlook Mobile


Useful point to start if you are really asking for help

On both the host and the jail, if you could please run and post the 
result of

uname -a
ifconfig
mount

on the host, please run (and post the result of)
cat /etc/jail.conf

that gives people some point to try to figure out what is happening in 
your system. Otherwise, it is like broadcasting a SOS without any detail 
and expect people to rescue you from an obscured location . . .


All the best

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


RE: Configuring jails

2020-05-04 Thread Brandon helsley
uname -a: FreeBSD machine17.prtoto 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-P3 
GENERIC amd64

cat /etc/jail.conf: manjail1 {
   host.hostname="manjail1.proto";
   ip4.addr=205.171.3.25";
   path="/usr/jails/manjail1";
   mount/devfs;
___ exec.clean;
___ exec.start="sh /etc/rc";
   exec.stop="sh /etc/rc.shutdown";
}

pictures of ifconfig, and mount on the way momentarily.
From: owner-freebsd-j...@freebsd.org [owner-freebsd-j...@freebsd.org] on behalf 
of Shamim Shahriar [shamim.shahr...@gmail.com]
Sent: Monday, May 4, 2020 1:32 AM
To: freebsd-jail@freebsd.org
Subject: Re: Configuring jails

On 04/05/2020 01:42, Brandon helsley wrote:
> Doesn't work. I'm trying to update packages to see if networkings up. There 
> must be a usual solution right?
>
> Sent from Outlook Mobile
>
Useful point to start if you are really asking for help

On both the host and the jail, if you could please run and post the
result of
uname -a
ifconfig
mount

on the host, please run (and post the result of)
cat /etc/jail.conf

that gives people some point to try to figure out what is happening in
your system. Otherwise, it is like broadcasting a SOS without any detail
and expect people to rescue you from an obscured location . . .

All the best

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Shamim Shahriar

On 04/05/2020 09:12, Brandon helsley wrote:

uname -a: FreeBSD machine17.prtoto 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-P3 
GENERIC amd64

cat /etc/jail.conf: manjail1 {
host.hostname="manjail1.proto";
ip4.addr=205.171.3.25";
path="/usr/jails/manjail1";
mount/devfs;
___ exec.clean;
___ exec.start="sh /etc/rc";
exec.stop="sh /etc/rc.shutdown";
}

pictures of ifconfig, and mount on the way momentarily.



The one you have posted (above) has several errors -- I am not sure this 
is exactly what you have, as it is likely to throw a lot of errors as 
you try to run the jails.


http://www.catb.org/~esr/faqs/smart-questions.html

this is a good start.

Kind regards

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Brandon helsley
I don't have copy paste on my desktop so sending ifconfig will be difficcult. I 
can send mount though so you can hopefully tell me if there are any more errors.

Sent from Outlook Mobile

From: Shamim Shahriar 
Sent: Monday, May 4, 2020 2:23:32 AM
To: Brandon helsley ; freebsd-jail@freebsd.org 

Subject: Re: Configuring jails

On 04/05/2020 09:12, Brandon helsley wrote:
> uname -a: FreeBSD machine17.prtoto 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-P3 
> GENERIC amd64
>
> cat /etc/jail.conf: manjail1 {
> host.hostname="manjail1.proto";
> ip4.addr=205.171.3.25";
> path="/usr/jails/manjail1";
> mount/devfs;
> ___ exec.clean;
> ___ exec.start="sh /etc/rc";
> exec.stop="sh /etc/rc.shutdown";
> }
>
> pictures of ifconfig, and mount on the way momentarily.
>

The one you have posted (above) has several errors -- I am not sure this
is exactly what you have, as it is likely to throw a lot of errors as
you try to run the jails.

http://www.catb.org/~esr/faqs/smart-questions.html

this is a good start.

Kind regards

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Brandon helsley
Mount: devfs on /usr/jails/manjail1/dev ( devfs, local, multilabel)
  devfs on /usr/jails/manjail2/dev
( devfs, local, multilabel)
I'm on zfs

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf 
of Brandon helsley 
Sent: Monday, May 4, 2020 2:27:43 AM
To: Shamim Shahriar ; freebsd-jail@freebsd.org 

Subject: Re: Configuring jails

I don't have copy paste on my desktop so sending ifconfig will be difficcult. I 
can send mount though so you can hopefully tell me if there are any more errors.

Sent from Outlook Mobile

From: Shamim Shahriar 
Sent: Monday, May 4, 2020 2:23:32 AM
To: Brandon helsley ; freebsd-jail@freebsd.org 

Subject: Re: Configuring jails

On 04/05/2020 09:12, Brandon helsley wrote:
> uname -a: FreeBSD machine17.prtoto 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-P3 
> GENERIC amd64
>
> cat /etc/jail.conf: manjail1 {
> host.hostname="manjail1.proto";
> ip4.addr=205.171.3.25";
> path="/usr/jails/manjail1";
> mount/devfs;
> ___ exec.clean;
> ___ exec.start="sh /etc/rc";
> exec.stop="sh /etc/rc.shutdown";
> }
>
> pictures of ifconfig, and mount on the way momentarily.
>

The one you have posted (above) has several errors -- I am not sure this
is exactly what you have, as it is likely to throw a lot of errors as
you try to run the jails.

http://www.catb.org/~esr/faqs/smart-questions.html

this is a good start.

Kind regards

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread D'Arcy Cain
On 2020-05-03 19:42, Brandon helsley wrote:
> Doesn't work. I'm trying to update packages to see if networkings up. There 
> must be a usual solution right?

You are jumping too far ahead.  While being able to update packages
would prove that networking was up, not working does not prove anything
except that something is not working.

Your first step is to run "ifconfig".  Make sure that you have an IP
address.  If you do then run "netstat -rn" to see if you have a default
route.  If so then ping it.  If that works then try to ping something
outside of your network.  Try an IP address first and then try by name.
 The next step would be to update packages but we already know that that
doesn't work.

If you do the above then report back here when you get to the step that
failed.  Then we can help you investigate that.

-- 
D'Arcy J.M. Cain  |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP)   |  what's for dinner.
IM: da...@vybenetworks.com, VoIP: sip:da...@druid.net



signature.asc
Description: OpenPGP digital signature


Re: Configuring jails

2020-05-04 Thread Brandon helsley
You said" If so then ping it. If that works then try to ping something
outside of your network. Try an IP address first and then try by name."

I found an ip address in ifconfig. Then I netstat -rn and ping default gateway
Ping gives me
64 bytes from 192.168.0.1: icmp_seq=71 ttl=64 time=2.628 ms

What is an ip address or name I can ping? What does this mean? Thanks.

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf 
of D'Arcy Cain 
Sent: Monday, May 4, 2020, 5:28 AM
To: freebsd-jail@freebsd.org
Subject: Re: Configuring jails

On 2020-05-03 19:42, Brandon helsley wrote:
> Doesn't work. I'm trying to update packages to see if networkings up. There 
> must be a usual solution right?

You are jumping too far ahead.  While being able to update packages
would prove that networking was up, not working does not prove anything
except that something is not working.

Your first step is to run "ifconfig".  Make sure that you have an IP
address.  If you do then run "netstat -rn" to see if you have a default
route.  If so then ping it.  If that works then try to ping something
outside of your network.  Try an IP address first and then try by name.
 The next step would be to update packages but we already know that that
doesn't work.

If you do the above then report back here when you get to the step that
failed.  Then we can help you investigate that.

--
D'Arcy J.M. Cain  |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP)   |  what's for dinner.
IM: da...@vybenetworks.com, VoIP: sip:da...@druid.net


___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Brandon helsley
Could you guys still help me. Updating pkg In a jail not working after 
resolve.conf has been copied and did ping too ip from ifconfig and the default 
gateway. I did ping inside the jail and it works.

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf 
of Brandon helsley 
Sent: Monday, May 4, 2020 8:11:51 AM
To: D'Arcy Cain ; freebsd-jail@freebsd.org 

Subject: Re: Configuring jails

You said" If so then ping it. If that works then try to ping something
outside of your network. Try an IP address first and then try by name."

I found an ip address in ifconfig. Then I netstat -rn and ping default gateway
Ping gives me
64 bytes from 192.168.0.1: icmp_seq=71 ttl=64 time=2.628 ms

What is an ip address or name I can ping? What does this mean? Thanks.

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf 
of D'Arcy Cain 
Sent: Monday, May 4, 2020, 5:28 AM
To: freebsd-jail@freebsd.org
Subject: Re: Configuring jails

On 2020-05-03 19:42, Brandon helsley wrote:
> Doesn't work. I'm trying to update packages to see if networkings up. There 
> must be a usual solution right?

You are jumping too far ahead.  While being able to update packages
would prove that networking was up, not working does not prove anything
except that something is not working.

Your first step is to run "ifconfig".  Make sure that you have an IP
address.  If you do then run "netstat -rn" to see if you have a default
route.  If so then ping it.  If that works then try to ping something
outside of your network.  Try an IP address first and then try by name.
 The next step would be to update packages but we already know that that
doesn't work.

If you do the above then report back here when you get to the step that
failed.  Then we can help you investigate that.

--
D'Arcy J.M. Cain  |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP)   |  what's for dinner.
IM: da...@vybenetworks.com, VoIP: sip:da...@druid.net


___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Cédric Maunoury
Hi Brandon,

Maybe you can give a try to the « -c » option of pkg command to chroot during 
the upgrade... the network should not be an issue anymore.

It’s more a workaround...

Regards,

Cedric

Envoyé de mon iPhone

> Le 4 mai 2020 à 18:05, Brandon helsley  a écrit :
> 
> Could you guys still help me. Updating pkg In a jail not working after 
> resolve.conf has been copied and did ping too ip from ifconfig and the 
> default gateway. I did ping inside the jail and it works.
> 
> Sent from Outlook Mobile
> 
> 
> From: owner-freebsd-j...@freebsd.org  on 
> behalf of Brandon helsley 
> Sent: Monday, May 4, 2020 8:11:51 AM
> To: D'Arcy Cain ; freebsd-jail@freebsd.org 
> 
> Subject: Re: Configuring jails
> 
> You said" If so then ping it. If that works then try to ping something
> outside of your network. Try an IP address first and then try by name."
> 
> I found an ip address in ifconfig. Then I netstat -rn and ping default gateway
> Ping gives me
> 64 bytes from 192.168.0.1: icmp_seq=71 ttl=64 time=2.628 ms
> 
> What is an ip address or name I can ping? What does this mean? Thanks.
> 
> Sent from Outlook Mobile
> 
> 
> From: owner-freebsd-j...@freebsd.org  on 
> behalf of D'Arcy Cain 
> Sent: Monday, May 4, 2020, 5:28 AM
> To: freebsd-jail@freebsd.org
> Subject: Re: Configuring jails
> 
>> On 2020-05-03 19:42, Brandon helsley wrote:
>> Doesn't work. I'm trying to update packages to see if networkings up. There 
>> must be a usual solution right?
> 
> You are jumping too far ahead.  While being able to update packages
> would prove that networking was up, not working does not prove anything
> except that something is not working.
> 
> Your first step is to run "ifconfig".  Make sure that you have an IP
> address.  If you do then run "netstat -rn" to see if you have a default
> route.  If so then ping it.  If that works then try to ping something
> outside of your network.  Try an IP address first and then try by name.
> The next step would be to update packages but we already know that that
> doesn't work.
> 
> If you do the above then report back here when you get to the step that
> failed.  Then we can help you investigate that.
> 
> --
> D'Arcy J.M. Cain  |  Democracy is three wolves
> http://www.druid.net/darcy/|  and a sheep voting on
> +1 416 788 2246 (DoD#0082)(eNTP)   |  what's for dinner.
> IM: da...@vybenetworks.com, VoIP: sip:da...@druid.net
> 
> 
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Brandon helsley
I still can not bootstrap pkg. What is the -c option? I noticed there's a -j 
option, but I don't know what these arguments or options are supposed to do and 
what the commands are I need to issue to get these jails up and running.

Sent from Outlook Mobile

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Brandon helsley
What does ping do with those addresses btw? I'm trying to learn as much as 
possible about networking and rounting and don't get the manpages. They are 
very obscure for a beginner. Please share.

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf 
of Brandon helsley 
Sent: Monday, May 4, 2020 4:53:46 PM
To: Cédric Maunoury 
Cc: freebsd-jail@freebsd.org 
Subject: Re: Configuring jails

I still can not bootstrap pkg. What is the -c option? I noticed there's a -j 
option, but I don't know what these arguments or options are supposed to do and 
what the commands are I need to issue to get these jails up and running.

Sent from Outlook Mobile

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Brandon helsley
Message: error fetching 
HTTP://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly/Latest/pkg.txz: 
Non-recoverable resolver failure
A pre built version of pkg could not be found for your system
Consider changing PACKAGESITE or installing It from ports:...

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf 
of Brandon helsley 
Sent: Monday, May 4, 2020 5:03:14 PM
To: Cédric Maunoury 
Cc: freebsd-jail@freebsd.org 
Subject: Re: Configuring jails

What does ping do with those addresses btw? I'm trying to learn as much as 
possible about networking and rounting and don't get the manpages. They are 
very obscure for a beginner. Please share.

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf 
of Brandon helsley 
Sent: Monday, May 4, 2020 4:53:46 PM
To: Cédric Maunoury 
Cc: freebsd-jail@freebsd.org 
Subject: Re: Configuring jails

I still can not bootstrap pkg. What is the -c option? I noticed there's a -j 
option, but I don't know what these arguments or options are supposed to do and 
what the commands are I need to issue to get these jails up and running.

Sent from Outlook Mobile

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Dan Langille
Ping confirms the two devices can communicate 



On Mon, May 4, 2020, at 7:03 PM, Brandon helsley wrote:
> What does ping do with those addresses btw? I'm trying to learn as much 
> as possible about networking and rounting and don't get the manpages. 
> They are very obscure for a beginner. Please share.
> 
> Sent from Outlook Mobile
> 
> 
> From: owner-freebsd-j...@freebsd.org  
> on behalf of Brandon helsley 
> Sent: Monday, May 4, 2020 4:53:46 PM
> To: Cédric Maunoury 
> Cc: freebsd-jail@freebsd.org 
> Subject: Re: Configuring jails
> 
> I still can not bootstrap pkg. What is the -c option? I noticed there's 
> a -j option, but I don't know what these arguments or options are 
> supposed to do and what the commands are I need to issue to get these 
> jails up and running.
> 
> Sent from Outlook Mobile
> 
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
>

-- 
  Dan Langille
  d...@langille.org
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Brandon helsley
What's the point of adding a route or enabling nat and gateway? What would an 
example of adding a route be? And where and why do you get this ip addressm

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf 
of Dan Langille 
Sent: Monday, May 4, 2020 5:14:51 PM
To: freebsd-jail@freebsd.org 
Subject: Re: Configuring jails

Ping confirms the two devices can communicate



On Mon, May 4, 2020, at 7:03 PM, Brandon helsley wrote:
> What does ping do with those addresses btw? I'm trying to learn as much
> as possible about networking and rounting and don't get the manpages.
> They are very obscure for a beginner. Please share.
>
> Sent from Outlook Mobile
>
> 
> From: owner-freebsd-j...@freebsd.org 
> on behalf of Brandon helsley 
> Sent: Monday, May 4, 2020 4:53:46 PM
> To: Cédric Maunoury 
> Cc: freebsd-jail@freebsd.org 
> Subject: Re: Configuring jails
>
> I still can not bootstrap pkg. What is the -c option? I noticed there's
> a -j option, but I don't know what these arguments or options are
> supposed to do and what the commands are I need to issue to get these
> jails up and running.
>
> Sent from Outlook Mobile
>
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
>

--
  Dan Langille
  d...@langille.org
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread BulkMailForRudy

Is IPv4 working?

 ping 8.8.8.8

Is DNS working?

 host fb.com

Is IPv6 working?

 ping6 fb.com

If you can pass those test, you have networking ready.

Next, can you ping the host for packages?

ping pkg.FreeBSD.org

Maybe pkg is tryign IPv6, try this:
 ping6 pkg.FreeBSD.org


Based on your error (resolver), your DNS is hosed.


Rudy


On 5/4/20 4:07 PM, Brandon helsley wrote:

Message: error fetching 
HTTP://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly/Latest/pkg.txz: 
Non-recoverable resolver failure
A pre built version of pkg could not be found for your system
Consider changing PACKAGESITE or installing It from ports:...

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf of 
Brandon helsley 
Sent: Monday, May 4, 2020 5:03:14 PM
To: Cédric Maunoury 
Cc: freebsd-jail@freebsd.org 
Subject: Re: Configuring jails

What does ping do with those addresses btw? I'm trying to learn as much as 
possible about networking and rounting and don't get the manpages. They are 
very obscure for a beginner. Please share.

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf of 
Brandon helsley 
Sent: Monday, May 4, 2020 4:53:46 PM
To: Cédric Maunoury 
Cc: freebsd-jail@freebsd.org 
Subject: Re: Configuring jails

I still can not bootstrap pkg. What is the -c option? I noticed there's a -j 
option, but I don't know what these arguments or options are supposed to do and 
what the commands are I need to issue to get these jails up and running.

Sent from Outlook Mobile

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread BulkMailForRudy


On 5/4/20 4:03 PM, Brandon helsley wrote:

I'm trying to learn as much as possible about networking and rounting and don't 
get the manpages. They are very obscure for a beginner.



man pages are important.  If you can master one command and fully 
understand the man page for that one command, you will be able to get 
through other man pages.



try mastering 'ping' if you want to learn networking.

man ping


Read the whole manual page, then try to use what you learned like this:

 ping -i 2 8.8.8.8

 ping -i 0.5 8.8.8.8

ping -c 2 4.2.2.1

Once you understand flags and arguments to a command and how to use the 
man page to understand them, you will be on your way!



Rudy

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Brandon helsley
On jail:
Ping 8.8.8.8
Ping: send socket: operation not permitted
host fb.com
;;connection timed out; no servers could be reached
Ping6 fb.com: ping6:name does not resolve
Ping pkg.FreeBSD.org: ping: send socket: operation not permitted
Ping6 pkg.FreeBSD.org: ping6: name does not resolve



Sent from Outlook Mobile

From: owner-freebsd-j...@freebsd.org  on behalf 
of BulkMailForRudy 
Sent: Monday, May 4, 2020 6:51:08 PM
To: freebsd-jail@freebsd.org 
Subject: Re: Configuring jails

Is IPv4 working?

  ping 8.8.8.8

Is DNS working?

  host fb.com

Is IPv6 working?

  ping6 fb.com

If you can pass those test, you have networking ready.

Next, can you ping the host for packages?

ping pkg.FreeBSD.org

Maybe pkg is tryign IPv6, try this:
  ping6 pkg.FreeBSD.org


Based on your error (resolver), your DNS is hosed.


Rudy


On 5/4/20 4:07 PM, Brandon helsley wrote:
> Message: error fetching 
> HTTP://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly/Latest/pkg.txz: 
> Non-recoverable resolver failure
> A pre built version of pkg could not be found for your system
> Consider changing PACKAGESITE or installing It from ports:...
>
> Sent from Outlook Mobile
>
> 
> From: owner-freebsd-j...@freebsd.org  on 
> behalf of Brandon helsley 
> Sent: Monday, May 4, 2020 5:03:14 PM
> To: Cédric Maunoury 
> Cc: freebsd-jail@freebsd.org 
> Subject: Re: Configuring jails
>
> What does ping do with those addresses btw? I'm trying to learn as much as 
> possible about networking and rounting and don't get the manpages. They are 
> very obscure for a beginner. Please share.
>
> Sent from Outlook Mobile
>
> 
> From: owner-freebsd-j...@freebsd.org  on 
> behalf of Brandon helsley 
> Sent: Monday, May 4, 2020 4:53:46 PM
> To: Cédric Maunoury 
> Cc: freebsd-jail@freebsd.org 
> Subject: Re: Configuring jails
>
> I still can not bootstrap pkg. What is the -c option? I noticed there's a -j 
> option, but I don't know what these arguments or options are supposed to do 
> and what the commands are I need to issue to get these jails up and running.
>
> Sent from Outlook Mobile
>
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
>
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Brandon helsley
Everything working on host except for ping6

Sent from Outlook Mobile


From: owner-freebsd-j...@freebsd.org  on behalf 
of Brandon helsley 
Sent: Monday, May 4, 2020 7:19:38 PM
To: BulkMailForRudy ; freebsd-jail@freebsd.org 

Subject: Re: Configuring jails

On jail:
Ping 8.8.8.8
Ping: send socket: operation not permitted
host fb.com
;;connection timed out; no servers could be reached
Ping6 fb.com: ping6:name does not resolve
Ping pkg.FreeBSD.org: ping: send socket: operation not permitted
Ping6 pkg.FreeBSD.org: ping6: name does not resolve



Sent from Outlook Mobile

From: owner-freebsd-j...@freebsd.org  on behalf 
of BulkMailForRudy 
Sent: Monday, May 4, 2020 6:51:08 PM
To: freebsd-jail@freebsd.org 
Subject: Re: Configuring jails

Is IPv4 working?

  ping 8.8.8.8

Is DNS working?

  host fb.com

Is IPv6 working?

  ping6 fb.com

If you can pass those test, you have networking ready.

Next, can you ping the host for packages?

ping pkg.FreeBSD.org

Maybe pkg is tryign IPv6, try this:
  ping6 pkg.FreeBSD.org


Based on your error (resolver), your DNS is hosed.


Rudy


On 5/4/20 4:07 PM, Brandon helsley wrote:
> Message: error fetching 
> HTTP://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly/Latest/pkg.txz: 
> Non-recoverable resolver failure
> A pre built version of pkg could not be found for your system
> Consider changing PACKAGESITE or installing It from ports:...
>
> Sent from Outlook Mobile
>
> 
> From: owner-freebsd-j...@freebsd.org  on 
> behalf of Brandon helsley 
> Sent: Monday, May 4, 2020 5:03:14 PM
> To: Cédric Maunoury 
> Cc: freebsd-jail@freebsd.org 
> Subject: Re: Configuring jails
>
> What does ping do with those addresses btw? I'm trying to learn as much as 
> possible about networking and rounting and don't get the manpages. They are 
> very obscure for a beginner. Please share.
>
> Sent from Outlook Mobile
>
> 
> From: owner-freebsd-j...@freebsd.org  on 
> behalf of Brandon helsley 
> Sent: Monday, May 4, 2020 4:53:46 PM
> To: Cédric Maunoury 
> Cc: freebsd-jail@freebsd.org 
> Subject: Re: Configuring jails
>
> I still can not bootstrap pkg. What is the -c option? I noticed there's a -j 
> option, but I don't know what these arguments or options are supposed to do 
> and what the commands are I need to issue to get these jails up and running.
>
> Sent from Outlook Mobile
>
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
> ___
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
>
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: Configuring jails

2020-05-04 Thread Brandon helsley
Thanks rudy! I'll get straight to ping and be back to bother you guys for more 
priceless knowledge of sysadmin networking!

Sent from Outlook Mobile

From: owner-freebsd-j...@freebsd.org  on behalf 
of BulkMailForRudy 
Sent: Monday, May 4, 2020 6:55:31 PM
To: freebsd-jail@freebsd.org 
Subject: Re: Configuring jails


On 5/4/20 4:03 PM, Brandon helsley wrote:
> I'm trying to learn as much as possible about networking and rounting and 
> don't get the manpages. They are very obscure for a beginner.


man pages are important.  If you can master one command and fully
understand the man page for that one command, you will be able to get
through other man pages.


try mastering 'ping' if you want to learn networking.

man ping


Read the whole manual page, then try to use what you learned like this:

  ping -i 2 8.8.8.8

  ping -i 0.5 8.8.8.8

ping -c 2 4.2.2.1

Once you understand flags and arguments to a command and how to use the
man page to understand them, you will be on your way!


Rudy

___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
___
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"