Re: Networking Menu option during boot

2015-11-04 Thread Matej Nanut
I also miss network profiles from Arch.

Currently, I have shell scripts for the various networks I need, and
run them manually.

I don't use hostname.if(5) with trunk or similar, because I simply
don't know in advance which network I'll connect to.

There's probably a better way of doing this that I'm not aware of.

Matej



Re: Networking Menu option during boot

2015-11-04 Thread Jiri B
On Wed, Nov 04, 2015 at 07:08:54AM -0800, J. Scott Heppler wrote:
> [...]
> The bsd.rd install option already pauses the kernel and displays a
> network configuration script.  Would it be possible to provide a
> similiar option in OpenBSD?

bsd.rd doesn't pause the kernel, installer is called from init,
iiuc it is dot.profile and then based on users input or if there's
autoinstall mode it starts particular mode.

you can put in rc.local whatever you want.

j.



Re: Networking Menu option during boot

2015-11-04 Thread J. Scott Heppler

On Nov 04, 2015: 11:35, Jiri B wrote:

On Wed, Nov 04, 2015 at 07:08:54AM -0800, J. Scott Heppler wrote:

[...]
The bsd.rd install option already pauses the kernel and displays a
network configuration script.  Would it be possible to provide a
similiar option in OpenBSD?


bsd.rd doesn't pause the kernel, installer is called from init,
iiuc it is dot.profile and then based on users input or if there's
autoinstall mode it starts particular mode.

you can put in rc.local whatever you want.

j.


You are right, the bsd.rd install options pauses the boot process.
Still, I think it would be cleaner for those with mobile devices, to
establish their desired connection directly as opposed to establishing
the default, taking it down, clearing keys in the case of wireless, and
bringing it back up.



--
J. Scott Heppler

Penguin Innovations

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 



NOTICE: This e-mail message and any attachments may
contain legally privileged and confidential information intended
solely for the use of the intended recipients. If you are not an
intended recipient, you are hereby notified that you have
received this message in error and any review, dissemination,
distribution, copying, or other unauthorized use of this email
and any attachment is strictly prohibited. If you have received
this email in error, please notify the sender immediately and
delete the message and any attachments from your system.



Re: Networking Menu option during boot

2015-11-04 Thread Raf Czlonka
On Wed, Nov 04, 2015 at 05:12:48PM GMT, J. Scott Heppler wrote:
> On Nov 04, 2015: 11:35, Jiri B wrote:
> >On Wed, Nov 04, 2015 at 07:08:54AM -0800, J. Scott Heppler wrote:
> >>[...]
> >>The bsd.rd install option already pauses the kernel and displays a
> >>network configuration script.  Would it be possible to provide a
> >>similiar option in OpenBSD?
> >
> >bsd.rd doesn't pause the kernel, installer is called from init,
> >iiuc it is dot.profile and then based on users input or if there's
> >autoinstall mode it starts particular mode.
> >
> >you can put in rc.local whatever you want.
> >
> >j.
> 
> You are right, the bsd.rd install options pauses the boot process.
> Still, I think it would be cleaner for those with mobile devices, to
> establish their desired connection directly as opposed to establishing
> the default, taking it down, clearing keys in the case of wireless, and
> bringing it back up.

Scott, why would you want to do that?

Search the list or OpenBSD Journal - there are plethora of scripts for
managing wireless networks to choose from or you can write your own.

Regards,

Raf