Re: Compiling Rust, Rust toolchains for openbsd 7.2

2022-11-06 Thread Sebastien Marie
On Mon, Nov 07, 2022 at 01:47:28AM +0200, flipchan wrote: > Hey everyone, > > I have a "building instance" that cross compiles a rust code repository to > darwin, linux and some other platforms. I want to add support for compiling > rust code to openbsd 7.2. However, Openbsd does not have an offic

CHERI leads to Morello

2022-11-06 Thread Mayuresh Kathe
Just a note, in case this has missed discussion out here (didn't find any references on the mailing list via Google search). Some of you might be aware of the CHERI project [1] to enhance security of computer systems from the hardware level up through the software stack. They had moved away f

Re: ntp(d) on Boot Behavior

2022-11-06 Thread indivC
Stuart, I am aware that ntpd(8) on boot won't update the clock if the current time is ahead of the time received from the time server. It's in the man page section that I posted in my message. I personally have never really had an issue there, though. I'm aware of a variety of ways to resolve the

Compiling Rust, Rust toolchains for openbsd 7.2

2022-11-06 Thread flipchan
Hey everyone, I have a "building instance" that cross compiles a rust code repository to darwin, linux and some other platforms. I want to add support for compiling rust code to openbsd 7.2. However, Openbsd does not have an official rust toolchain. List of supported systems can be found here:

Re: ntp(d) on Boot Behavior

2022-11-06 Thread Stuart Henderson
On 2022-11-06, indivC wrote: > I could be wrong, but I believe there's another condition > that isn't mentioned. > As far as I can tell, if the clock is behind less than 60 seconds, > ntpd will not update the clock. Same if the clock is *ahead* of NTP time. You can ensure that the clock is cl

Re: ntp(d) on Boot Behavior

2022-11-06 Thread Otto Moerbeek
On Sun, Nov 06, 2022 at 05:06:57PM +, indivC wrote: > The ntpd man page says the following: > 'ntpd will stay for a maximum of 15 seconds in the foreground > and make efforts to verify and correct the time > if constraints are configured and satisfied or > if trusted servers or sensors return

ntp(d) on Boot Behavior

2022-11-06 Thread indivC
The ntpd man page says the following: 'ntpd will stay for a maximum of 15 seconds in the foreground and make efforts to verify and correct the time if constraints are configured and satisfied or if trusted servers or sensors return results, and if the clock is not being moved backwards.'. I could

Re: Is the "pf_rules" option gone?

2022-11-06 Thread Stuart Henderson
On 2022-11-06, Odd Martin Baanrud wrote: > Hello, > > Back in the days, 10 years or so, there was a rc.conf directive called > “pf_rules”, which one could use to override the location of the config file > for PF. > I don’t see this option in the default rc.conf now. > Is it still valid? > If so,

Is the "pf_rules" option gone?

2022-11-06 Thread Odd Martin Baanrud
Hello, Back in the days, 10 years or so, there was a rc.conf directive called “pf_rules”, which one could use to override the location of the config file for PF. I don’t see this option in the default rc.conf now. Is it still valid? If so, how could one set it in rc.conf.local with rcctl? Regar

Re: Howto convert Sierra Wireless EM7455 from umsm to umb

2022-11-06 Thread Stuart Henderson
On 2022-11-06, Marcus MERIGHI wrote: > barbarosb...@gmail.com (Barbaros Bilek), 2022.11.05 (Sat) 23:22 (CET): >> I have Sierra Wireless EM7455 on my OpenBSD 7.2 router device. >> OpenBSD detects this card like this: > [...] >> Is it possible to convert this card into MBIM mode to get an umb device

Re: Howto convert Sierra Wireless EM7455 from umsm to umb

2022-11-06 Thread Barbaros Bilek
Hi again, But I could not figure out how to connect this card's serial ports. I've tried the cu command but what is the exact serial port for that card? How can I find it? On Sun, Nov 6, 2022 at 4:23 PM Marcus MERIGHI wrote: > Hello Barbaros, > > barbarosb...@gmail.com (Barbaros Bilek), 2022.11

Re: Howto convert Sierra Wireless EM7455 from umsm to umb

2022-11-06 Thread Marcus MERIGHI
Hello Barbaros, barbarosb...@gmail.com (Barbaros Bilek), 2022.11.06 (Sun) 13:49 (CET): > Thanks for your reply. > I've tried disabling umsm but it didn't work. > Now OpenBSD recognize it as ugen0 > ugen0 at uhub0 port 7 "Sierra Wireless, Incorporated Sierra Wireless EM7455 > Qualcomm\M-. Snapdrag

Re: Howto convert Sierra Wireless EM7455 from umsm to umb

2022-11-06 Thread Barbaros Bilek
Hi Marcus, Thanks for your reply. I've tried disabling umsm but it didn't work. Now OpenBSD recognize it as ugen0 ugen0 at uhub0 port 7 "Sierra Wireless, Incorporated Sierra Wireless EM7455 Qualcomm\M-. Snapdragon? X7 LTE-A" rev 3.00/0.06 addr 2 Also, I think the link you posted above is wrong. I

Re: Howto convert Sierra Wireless EM7455 from umsm to umb

2022-11-06 Thread Marcus MERIGHI
barbarosb...@gmail.com (Barbaros Bilek), 2022.11.05 (Sat) 23:22 (CET): > I have Sierra Wireless EM7455 on my OpenBSD 7.2 router device. > OpenBSD detects this card like this: [...] > Is it possible to convert this card into MBIM mode to get an umb device? > Thanks. The man page of umb(4) lists thi

Re: Slight Confusion with ntpd(8)

2022-11-06 Thread Otto Moerbeek
On Sun, Nov 06, 2022 at 07:00:19AM +, Jason McIntyre wrote: > On Sun, Nov 06, 2022 at 07:48:39AM +0100, Otto Moerbeek wrote: > > On Sun, Nov 06, 2022 at 05:12:12AM +, indivC wrote: > > > > > I'm a little confused with the man page for ntpd. > > > > > > For the '-n' flag, it says: > > >

Re: Slight Confusion with ntpd(8)

2022-11-06 Thread Jason McIntyre
On Sun, Nov 06, 2022 at 07:48:39AM +0100, Otto Moerbeek wrote: > On Sun, Nov 06, 2022 at 05:12:12AM +, indivC wrote: > > > I'm a little confused with the man page for ntpd. > > > > For the '-n' flag, it says: > > 'Configtest mode. Only check the configuration file for validity.'. > > I have