Wireless network interface remembering join list across /etc/netstart.

2022-06-20 Thread Julian Smith
Recently i got really confused after removing a 'join  ... ' line
from /etc/hostname.iwn0, then running `sh /etc/netstart`. This resulted
in reconnection to , even though  was now not mentioned
anywhere in /etc/hostname.iwn0.

Even `ifconfig iwn0 down up` did not change this behaviour.

It turned out that i needed to do `ifconfig iwn0 down -joinlist up` to remove
all networks from the join list, as described in ifconfig(8). [I'm not
actually sure that the `down` and `up` are necessary.]

Would it be possible and make sense to have /etc/netstart do this
automatically for wireless interfaces? Or am i misunderstanding what
/etc/netstart is for?

Thanks for any help,

- Jules

-- 
http://op59.net




Re: Convert a Linux VPS to OpenBSD

2022-06-20 Thread Łukasz Moskała

W dniu 20.06.2022 o 17:47, Étienne pisze:

Hello there,

This is a bit of a long shot, but I'm trying my luck: There used to be a 
community thread on Scaleway's documentation website that explained how 
to convert a Linux instance to an OpenBSD instance, because no OpenBSD 
ISO image was available in their console. It seems that this doc 
disappeared as their documentation section has changed format, and I 
can't find it on archive.org either. I would like to try and apply the 
same process at another VPS provider. Does anyone remember or know how 
this was done, and would they be kind enough to summarise it here, please?


Thanks!



$ wget -O /bsd.rd https://cdn.openbsd.org/pub/OpenBSD/7.1/amd64/bsd.rd

Reboot and enter grub shell

grub> kopenbsd /bsd.rd
grub> boot

Paths will differ if /boot is on seperate partition.


Or using VPS provider that actually supports openbsd could also be a 
good solution.


--
Łukasz Moskała



Re: Convert a Linux VPS to OpenBSD

2022-06-20 Thread Nick Holland

On 6/20/22 11:47 AM, Étienne wrote:

Hello there,

This is a bit of a long shot, but I'm trying my luck: There used to be a
community thread on Scaleway's documentation website that explained how
to convert a Linux instance to an OpenBSD instance, because no OpenBSD
ISO image was available in their console. It seems that this doc
disappeared as their documentation section has changed format, and I
can't find it on archive.org either. I would like to try and apply the
same process at another VPS provider. Does anyone remember or know how
this was done, and would they be kind enough to summarise it here, please?

Thanks!



Assuming you have console and can do your own install, perhaps doing
a Linux install and leaving a chunk of the beginning of the "disk"
unallocated, then dd the minirootXX.img over the very beginning of
the "disk", then rebooting.  This should get you into the OpenBSD
installer, assuming you actually overwrote the beginning of the
logical disk and not a Linux partition.

A hard reset or "power cycle" might work better than a reboot, as
you don't want the Linux system updating anything on the disk
partition tables after the dd is complete (if "reboot" even works
at that point).

However, you might want to think long and hard about committing to
a VPS that doesn't actively support the OS you wish to install.  What
works today may faceplant tomorrow and they may not care at all to
fix it for you.

Nick.



Re: Convert a Linux VPS to OpenBSD

2022-06-20 Thread Sven F.
On Mon, Jun 20, 2022 at 11:54 AM Étienne 
wrote:

> Hello there,
>
> This is a bit of a long shot, but I'm trying my luck: There used to be a
> community thread on Scaleway's documentation website that explained how
> to convert a Linux instance to an OpenBSD instance, because no OpenBSD
> ISO image was available in their console. It seems that this doc
> disappeared as their documentation section has changed format, and I
> can't find it on archive.org either. I would like to try and apply the
> same process at another VPS provider. Does anyone remember or know how
> this was done, and would they be kind enough to summarise it here, please?
>
> Thanks!
>
> --
> Étienne
>
>
1/ boot single user
1.bis / think
2/ write disk
3/ profit

Not much time


Convert a Linux VPS to OpenBSD

2022-06-20 Thread Étienne

Hello there,

This is a bit of a long shot, but I'm trying my luck: There used to be a 
community thread on Scaleway's documentation website that explained how 
to convert a Linux instance to an OpenBSD instance, because no OpenBSD 
ISO image was available in their console. It seems that this doc 
disappeared as their documentation section has changed format, and I 
can't find it on archive.org either. I would like to try and apply the 
same process at another VPS provider. Does anyone remember or know how 
this was done, and would they be kind enough to summarise it here, please?


Thanks!

--
Étienne