Re: Why is tmpfs not working on OpenBSD?

2021-09-05 Thread iio7
On Sunday, September 5th, 2021 at 10:41 PM, Theo de Raadt wrote: > iio7 i...@protonmail.com wrote: > > > > On 2021-09-05, iio7 < > > > > > > i...@protonmail.com > > > > > > wrote: > > > > > > > mount -t tmpfs tmpfs /home/foo/tmp/ > > > > === > > > > > > > >

Re: Why is tmpfs not working on OpenBSD?

2021-09-05 Thread iio7
> On 2021-09-05, iio7 < i...@protonmail.com > wrote: >> # mount -t tmpfs tmpfs /home/foo/tmp/ >> mount_tmpfs: tmpfs on /home/foo/tmp: Operation not supported > It isn't built into the standard kernels, disabled with this commit:: > revision 1.229 > date: 2016/07/25 19:52:56 > disable tmpfs

Re: Why is tmpfs not working on OpenBSD?

2021-09-05 Thread Theo de Raadt
iio7 wrote: > On Sunday, September 5th, 2021 at 10:41 PM, Theo de Raadt > wrote: > > > iio7 i...@protonmail.com wrote: > > > > > > On 2021-09-05, iio7 < > > > > > > > > i...@protonmail.com > > > > > > > > wrote: > > > > > > > > > mount -t tmpfs tmpfs /home/foo/tmp/ > > > > >

Re: Bridging OpenVPN and LAN

2021-09-05 Thread Andrei
> On 05.09.2021., at 21:11, Kasak wrote: > I made a typo. Mask should be 255.255.255.0 > I highly recomend not just copying what i say but correcting it to match your > configuration Agreed! Fix'd the typo and the config works but yeah - I still can't get the router to do DHCP. Bummer.

Re: Bridging OpenVPN and LAN

2021-09-05 Thread Andrei
> On 05.09.2021., at 15:58, kasak wrote: > I've should correct myself in last message. You actually may try to proxy > dhcp answers to vpn, adding option > > server-bridge > > to server config without pool definition. Please respond if it works. I'm > really curious about it. > > I use

Re: Why is tmpfs not working on OpenBSD?

2021-09-05 Thread Theo de Raadt
iio7 wrote: > > On 2021-09-05, iio7 < > i...@protonmail.com > > wrote: > >> # mount -t tmpfs tmpfs /home/foo/tmp/ > >> mount_tmpfs: tmpfs on /home/foo/tmp: Operation not supported > > > It isn't built into the standard kernels, disabled with this commit:: > > > revision 1.229 > > date:

Network stops working after suspend/resume on netbook

2021-09-05 Thread Clinton Reddekop
Hi, I'm trying OpenBSD 6.9 on an Acer Aspire AOA150 netbook, which has an Atom N270 32-bit x86 processor. The wired network works fine after the computer is turned on, but stops working after closing the lid to suspend, then pressing the power button to resume. After resume, one of the

Re: xterm not opening on latest snapshot?

2021-09-05 Thread Theo de Raadt
It is setgid (privdrop) for utmp support, so ktrace stops reporting on what the program is doing. If you temporarily chmod your utmp file a+w, remove the setgid bit from the xterm binary, then you will likely be able to ktrace further to get closer to identifying the issue. henkjan gersen

how handle freeze ?

2021-09-05 Thread Cord
Hello, I have a stable openbsd69 installed on a raspberry 3b+. It freezes often especially when I'm connected to internet through a 4g usb modem. I'm connected to the rpi from linux by serial and ethernet ssh. There is not any log, kernel panic or message in console. thanks cord

Re: Bridging OpenVPN and LAN

2021-09-05 Thread Kasak
> 5 сент. 2021 г., в 21:53, Andrei написал(а): > >  >> On 05.09.2021., at 15:58, kasak wrote: >> I've should correct myself in last message. You actually may try to proxy >> dhcp answers to vpn, adding option >> >> server-bridge >> >> to server config without pool definition. Please

Re: vi: count occurrences of a substring

2021-09-05 Thread Reuben ua Bríġ
sed is so wonderfully versatile! need to type up ``the rattlin bog'' as fast as it is sung? do it in n ^ 0.5 time with sed H\;g slick as quick-silver!

Re: xterm not opening on latest snapshot?

2021-09-05 Thread henkjan gersen
Assuming I should run "ktrace -di xterm" it doesn't show any failure condition at the end, i.e. the last lines from the kdump are -- 90075 ktrace NAMI "/usr/X11R6/bin/xterm" 90075 ktrace ARGS [0] = "xterm" -- To me that last line looks like the process launches successfully, yet no xterm

Bridging OpenVPN and LAN

2021-09-05 Thread Andrei
Hello, I am trying to setup an OpenVPN server on OpenBSD 6.9 that's bridged to my LAN. The topology looks like this: 10.70.0.1 (gateway) - 10.70.0.118 (server, on em1). I've set-up the em1 interface as DHCP and it get's the expected address. Next up I created a tap0 and bridge0 devices

Re: Bridging OpenVPN and LAN

2021-09-05 Thread Stuart Henderson
On 2021-09-05, Andrei wrote: > tap0: flags=8902 mtu 1500 > lladdr fe:e1:ba:d0:6a:1c > index 6 priority 0 llprio 3 > groups: tap > status: no carrier > bridge0: flags=0<> > index 7 llprio 3 > groups: bridge > priority 32768 hellotime 2

Re: Bridging OpenVPN and LAN

2021-09-05 Thread kasak
05.09.2021 16:31, Andrei пишет: Hello, I am trying to setup an OpenVPN server on OpenBSD 6.9 that's bridged to my LAN. The topology looks like this: 10.70.0.1 (gateway) - 10.70.0.118 (server, on em1). I've set-up the em1 interface as DHCP and it get's the expected address. Next up I

Re: Bridging OpenVPN and LAN

2021-09-05 Thread kasak
05.09.2021 16:31, Andrei пишет: Hello, I am trying to setup an OpenVPN server on OpenBSD 6.9 that's bridged to my LAN. The topology looks like this: 10.70.0.1 (gateway) - 10.70.0.118 (server, on em1). I've set-up the em1 interface as DHCP and it get's the expected address. Next up I

Re: xterm not opening on latest snapshot?

2021-09-05 Thread Theo de Raadt
henkjan gersen wrote: > On this mornings snapshot that I just upgraded to I can no longer open > an xterm window. Based on the .xsession-error this must be related to > the unveil capabilities that got added last week as I see "xterm: > unveil" appearing in that file. > > Can someone give a

Re: xterm not opening on latest snapshot?

2021-09-05 Thread Dave Voutila
henkjan gersen writes: > On this mornings snapshot that I just upgraded to I can no longer open > an xterm window. Based on the .xsession-error this must be related to > the unveil capabilities that got added last week as I see "xterm: > unveil" appearing in that file. > > Can someone give a

Why is tmpfs not working on OpenBSD?

2021-09-05 Thread iio7
# mount -t tmpfs tmpfs /home/foo/tmp/ mount_tmpfs: tmpfs on /home/foo/tmp: Operation not supported Sent with [ProtonMail](https://protonmail.com/) Secure Email.

xterm not opening on latest snapshot?

2021-09-05 Thread henkjan gersen
On this mornings snapshot that I just upgraded to I can no longer open an xterm window. Based on the .xsession-error this must be related to the unveil capabilities that got added last week as I see "xterm: unveil" appearing in that file. Can someone give a hint on what I'm missing to be able to

Re: vi: count occurrences of a substring

2021-09-05 Thread ropers
On 04/09/2021, ropers wrote: > On 04/09/2021, Marc Chantreux wrote: >> Another solution is to write commands for this kind of tasks: >> >> <<\. cat > ~/x >> #! /bin/ksh >> >> sed -r 's/a/&\ >> /g' >> . > > Wait, hold up, I'm not familiar with this input redirection idiom. > Could you explain?

Re: Why is tmpfs not working on OpenBSD?

2021-09-05 Thread Stuart Henderson
On 2021-09-05, iio7 wrote: > # mount -t tmpfs tmpfs /home/foo/tmp/ > mount_tmpfs: tmpfs on /home/foo/tmp: Operation not supported It isn't built into the standard kernels, disabled with this commit:: revision 1.229 date: 2016/07/25 19:52:56 disable tmpfs because it receives zero maintainance.

Re: Why is tmpfs not working on OpenBSD?

2021-09-05 Thread misc
just put the line swap/ramfs mfs rw,nodev,nosuid,-s=300m 0 0 into /etc/fstab (-s means size) and run # mount /ramfs On Sun, Sep 05, 2021 at 07:59:26AM +, iio7 wrote: > # mount -t tmpfs tmpfs /home/foo/tmp/ > mount_tmpfs: tmpfs on /home/foo/tmp: Operation not supported > >