Re: network configuration problems

2010-06-20 Thread Landry Breuil
# bash /etc/netstart From there, you're doing it wrong. On 6/19/10, Jean-Frangois SIMON jfsimon1...@gmail.com wrote: Hi All, I have some problem with network in OpenBSD 4.7. The netstart script does strange output : # bash /etc/netstart /etc/netstart: line 44: set: -A: invalid option

Re: network configuration problems

2010-06-20 Thread Remco
Jean-Frangois SIMON wrote: Hi All, I have some problem with network in OpenBSD 4.7. The netstart script does strange output : # bash /etc/netstart bash isn't the shell of choice on OpenBSD. I'd try the standard shell first. (see netstart(8) if you need a clue)

Re: network configuration problems

2010-06-20 Thread Rogier Krieger
2010/6/19 Jean-Frangois SIMON jfsimon1...@gmail.com: # bash /etc/netstart As others have pointed at, you'll want /bin/sh instead for this case. When in doubt what to use, review the top line in the script you're about to execute and use the shell listed there. WARNING: /etc/hostname.re0 is

Re: network configuration problems

2010-06-20 Thread Jean-François SIMON
/etc/netstart issue ... Thanks for this note, my mistake, of course it runs fine with /bin/sh. Ok now everything goes right, but I don't understand the new philosophy of the network address translation in pf.conf. What is the equivalent for the following : nat on $ext_if from ($int_if:network)

Re: network configuration problems

2010-06-20 Thread Robert
On Sun, 20 Jun 2010 14:31:40 +0200 Jean-Frangois SIMON jfsimon1...@gmail.com wrote: /etc/netstart issue ... Thanks for this note, my mistake, of course it runs fine with /bin/sh. Ok now everything goes right, but I don't understand the new philosophy of the network address translation in

network configuration problems

2010-06-19 Thread Jean-François SIMON
Hi All, I have some problem with network in OpenBSD 4.7. The netstart script does strange output : # bash /etc/netstart /etc/netstart: line 44: set: -A: invalid option set: usage: set [--abefhkmnptuvxBCHP] [-o option-name] [arg ...] WARNING: /etc/hostname.re0 is insecure, fixing permissions