Re: proper way to grow softraid partition

2021-10-31 Thread kasak
29.10.2021 15:33, Nick Holland пишет: On 10/27/21 1:11 PM, kasak wrote: Hello misc! I want to replace my two 2TB hdd, joined in raid1. I have two 4TB drives, and I want to replace smaller drives with them. it wouldn't be a problem, if i had some spare sata ports, but in my pc i have only on

Re: openrsync --exclude only works locally

2021-10-31 Thread Jan Stary
On Oct 29 07:52:05, nathan...@dalliard.ch wrote: > hello everyone > > wasn't sure this is intended behaviour of openrsync or "good enough" > for a bugreport to b...@openbsd.org, thats why i first wanted to > mention it here > > i am running -current and 'openrsync -r --exclude file' seems to > wo

Re: Sony UWA-BR100 patch to recognize AR9280+AR7010 Atheros based USB card

2021-10-31 Thread Stefan Sperling
On Sun, Oct 24, 2021 at 03:01:29PM +, Martin wrote: > Patch has been updated to use correct files and tested on a live system. > Please add it to tree. > > Thanks. Committed now. Thank you! Sorry it took so long.

OpenBSD as wireless access point

2021-10-31 Thread rahul deshmukh
Hi Team, I have configured OpenBSD as wireless access point but somehow i am unable to connect to access point from mobile or other clients. below is my config. myhost$ cat /etc/hostname.ral0 media autoselect mode 11b mediaopt hostap chan 11 nwid "someid" wpakey "somepassword" inet 192.168.2.1 2

Re: OpenBSD as wireless access point

2021-10-31 Thread Stefan Sperling
On Sun, Oct 31, 2021 at 11:36:21PM +0530, rahul deshmukh wrote: > Hi Team, > I have configured OpenBSD as wireless access point but somehow i am unable > to connect to access point from mobile or other clients. below is my config. > > myhost$ cat /etc/hostname.ral0 > > > media autoselect mode 11

Re: OpenBSD as wireless access point

2021-10-31 Thread rahul deshmukh
Hi Stefan, I was able to connect even though on 11g and channel 36 give me invalid argument at boot time. On Sun, 31 Oct, 2021, 7:35 pm rahul deshmukh, wrote: > If I change mode I am getting as invalid argument for channel and mode > > ifconfig : SOICS80211CHANNEL: invalid argument > > On Sun,

Re: OpenBSD as wireless access point

2021-10-31 Thread beebeetles
I believe he meant (11g), or (11a with channel >= 36). On 10/31/21 10:18, rahul deshmukh wrote: Hi Stefan, I was able to connect even though on 11g and channel 36 give me invalid argument at boot time. On Sun, 31 Oct, 2021, 7:35 pm rahul deshmukh, wrote: If I change mode I am getting as inv

pf and tap interfaces

2021-10-31 Thread tech-lists
Hello misc@ Generically, can OpenBSD [7.0] apply rules to *just* the ethernet interface, ignoring the bridge and tap interfaces? Can it do this natively or is a VLAN required as well? Or something else? I'm asking this here because I'm trying to do this with FreeBSD but their pf has diverged a

Re: pf and tap interfaces

2021-10-31 Thread Sebastian Benoit
tech-lists(tech-li...@zyxst.net) on 2021.10.31 15:10:57 +: > Hello misc@ > > Generically, can OpenBSD [7.0] apply rules to *just* the ethernet > interface, ignoring the bridge and tap interfaces? Can it do this > natively or is a VLAN required as well? Or something else? > > I'm asking this h

Re: pf and tap interfaces

2021-10-31 Thread Theo de Raadt
tech-lists wrote: > I'm asking this here because I'm trying to do this with FreeBSD but > their pf has diverged a lot from OpenBSD's that is incorrect history. It is hard to see how 'absolutely minimal maintainance' can result in divergence. At some point, pf's state table data structures were

Re: pf and tap interfaces

2021-10-31 Thread tech-lists
Hi, On Sun, Oct 31, 2021 at 04:23:58PM +0100, Sebastian Benoit wrote: Maybe you could describe a bit more what you are trying to do. I'm trying to protect, with pf, a freebsd host running bhyve guests. The guests use tap interfaces. They are in the same network as the host (but with different

Re: pf and tap interfaces

2021-10-31 Thread tech-lists
On Sun, Oct 31, 2021 at 09:33:54AM -0600, Theo de Raadt wrote: tech-lists wrote: I'm asking this here because I'm trying to do this with FreeBSD but their pf has diverged a lot from OpenBSD's that is incorrect history. It is hard to see how 'absolutely minimal maintainance' can result in di

Re: pf and tap interfaces

2021-10-31 Thread Theo de Raadt
tech-lists wrote: > On Sun, Oct 31, 2021 at 09:33:54AM -0600, Theo de Raadt wrote: > >tech-lists wrote: > > > >> I'm asking this here because I'm trying to do this with FreeBSD but > >> their pf has diverged a lot from OpenBSD's > > > >that is incorrect history. > > > >It is hard to see how 'abs

Re: pf and tap interfaces

2021-10-31 Thread tech-lists
On Sun, Oct 31, 2021 at 10:13:06AM -0600, Theo de Raadt wrote: you are asking a freebsd question on an openbsd mailing list. come on You may have missed my response to Sebastian: In-Reply-To: On Sun, Oct 31, 2021 at 03:59:40PM +, tech-lists wrote: [...] All I'm really asking at this

Re: openrsync --exclude only works locally

2021-10-31 Thread Jan Stary
On Oct 31 17:26:40, nathan...@dalliard.ch wrote: > hello jan > > Jan Stary wrote: > > /usr/bin/openrsync -av --del --exclude '*.media.*' /backup/ remote:/backup/ > from local to remote this works, but not from remote to local So what is your exact command line and what is the pattern? J

make: don't know how to make /usr/lib/crt0.o (prerequisite of: httpd)

2021-10-31 Thread Kent Watsen
The “httpd-plus” [1] patch installs just find when a fresh 7.0 install selects packages "base", "bsd", "bsd.rd", "bsd.mp", “comp”, and “man”. However, when a fresh 7.0 install selects all the same packages except “comp”, and then subsequently adds the “comp” package via the command: (cd

Re: make: don't know how to make /usr/lib/crt0.o (prerequisite of: httpd)

2021-10-31 Thread Theo de Raadt
>From the script make obj && make && make install Which uses the whole toolchain. You need comp. You don't have a choice. Kent Watsen wrote: > The “httpd-plus” [1] patch installs just find when a fresh 7.0 install > selects packages "base", "bsd", "bsd.rd", "bsd.mp", “comp”, and “man”.

Re: openrsync --exclude only works locally

2021-10-31 Thread Jan Stary
On Oct 31 19:10:52, nathan...@dalliard.ch wrote: > Jan Stary wrote: > > > from local to remote this works, but not from remote to local > > > > So what is your exact command line and what is the pattern? > > > > Jan > > $ openrsync --rsync-path=openrsync -r --exclude text1.txt s1:test . Th

Re: openrsync --exclude only works locally

2021-10-31 Thread Jan Stary
On Oct 31 21:25:00, nathan...@dalliard.ch wrote: > Jan Stary wrote: > > On Oct 31 19:10:52, nathan...@dalliard.ch wrote: > > > $ openrsync --rsync-path=openrsync -r --exclude text1.txt s1:test . > > > > That syncs the remote s1:test to the local ./test > > > > > $ ssh s1 ls test > > > text1.txt

Re: openrsync --exclude only works locally

2021-10-31 Thread Jan Stary
On Oct 31 21:39:20, nathan...@dalliard.ch wrote: > Jan Stary wrote: > > On Oct 31 21:25:00, nathan...@dalliard.ch wrote: > > > Jan Stary wrote: > > > > On Oct 31 19:10:52, nathan...@dalliard.ch wrote: > > > > > $ openrsync --rsync-path=openrsync -r --exclude text1.txt s1:test . > > > > > > > > T

Re: make: don't know how to make /usr/lib/crt0.o (prerequisite of: httpd)

2021-10-31 Thread Kent Watsen
Thanks Theo. No debate about needing comp, only how it's installed…or maybe I misunderstand what you mean by “the script”? Cheers, Kent > On Oct 31, 2021, at 3:38 PM, Theo de Raadt wrote: > > From the script > > make obj && make && make install > > Which uses the whole toolchain. >

Re: make: don't know how to make /usr/lib/crt0.o (prerequisite of: httpd)

2021-10-31 Thread Stuart Henderson
On 2021-10-31, Kent Watsen wrote: > Thanks Theo. > > No debate about needing comp, only how it's installed…or maybe I > misunderstand what you mean by “the script”? As you're the one in possession of the system with the nonstandard configuration you're the best person to figure out what's diffe

syspatch on raspberry pi 3. new kernel?

2021-10-31 Thread Joe Barnett
I just ran syspatch on my Raspberry Pi 3 running OpenBSD 7.0 and the patches initially appeared to have been applied successfully, including creating a new kernel and printing the message to reboot to use the new kernel. Upon reboot, motd, dmesg, and "sysctl kern.version" still report what I

Re: make: don't know how to make /usr/lib/crt0.o (prerequisite of: httpd)

2021-10-31 Thread Edgar Pettijohn
On 10/31/21 2:23 PM, Kent Watsen wrote: The “httpd-plus” [1] patch installs just find when a fresh 7.0 install selects packages "base", "bsd", "bsd.rd", "bsd.mp", “comp”, and “man”. However, when a fresh 7.0 install selects all the same packages except “comp”, and then subsequently adds the

Re: make: don't know how to make /usr/lib/crt0.o (prerequisite of: httpd)

2021-10-31 Thread Kent Watsen
> As you're the one in possession of the system with the nonstandard > configuration you're the best person to figure out what's different > between that and a normally installed system. My bad, I thought it was supported to install filesets this way, but I don’t see this approach discussed on

Re: make: don't know how to make /usr/lib/crt0.o (prerequisite of: httpd)

2021-10-31 Thread Kent Watsen
> Does /usr/lib/crt0.o exist? If it doesn't did tar complete successfully? I’ve since scrubbed that install, but I did check before for the file and noted that it was not present. Interestingly, the file is in the TGZ, so something happened… $ tar -tzvf comp70.tgz | grep /usr/lib/crt