9front - general discussion about 9front
 help / color / mirror / Atom feed
* networking
@ 2020-07-19 20:13 William Gunnells
  2020-07-19 20:20 ` [9front] networking Eli Cohen
  0 siblings, 1 reply; 4+ messages in thread
From: William Gunnells @ 2020-07-19 20:13 UTC (permalink / raw)
  To: 9front

Silly. But how do you change the network without doing a reboot?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9front] networking
  2020-07-19 20:13 networking William Gunnells
@ 2020-07-19 20:20 ` Eli Cohen
  2020-07-19 20:23   ` William Gunnells
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Cohen @ 2020-07-19 20:20 UTC (permalink / raw)
  To: 9front

what exactly do you mean? you can use bind(1) to rearrange the
per-process (ie, per rio window) filesystem namespace. so you just:

bind /the/other/net /net

and then you are using the other network in that namespace

not sure if that's what you meant. you can change networking stuff by
writing ndb parameters to /net/ndb. ndb is configured in /lib/ndb

On Sun, Jul 19, 2020 at 1:14 PM William Gunnells <gunnells@gmail.com> wrote:
>
> Silly. But how do you change the network without doing a reboot?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9front] networking
  2020-07-19 20:20 ` [9front] networking Eli Cohen
@ 2020-07-19 20:23   ` William Gunnells
  2020-07-19 20:58     ` hiro
  0 siblings, 1 reply; 4+ messages in thread
From: William Gunnells @ 2020-07-19 20:23 UTC (permalink / raw)
  To: 9front

oh that’s interesting. But no

I just changed /lib/ndb/local to a different subnet and had to reboot for changes to take.

But really i do need to read up on this bind stuff

> On Jul 19, 2020, at 1:20 PM, Eli Cohen <echoline@gmail.com> wrote:
> 
> what exactly do you mean? you can use bind(1) to rearrange the
> per-process (ie, per rio window) filesystem namespace. so you just:
> 
> bind /the/other/net /net
> 
> and then you are using the other network in that namespace
> 
> not sure if that's what you meant. you can change networking stuff by
> writing ndb parameters to /net/ndb. ndb is configured in /lib/ndb
> 
> On Sun, Jul 19, 2020 at 1:14 PM William Gunnells <gunnells@gmail.com> wrote:
>> 
>> Silly. But how do you change the network without doing a reboot?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9front] networking
  2020-07-19 20:23   ` William Gunnells
@ 2020-07-19 20:58     ` hiro
  0 siblings, 0 replies; 4+ messages in thread
From: hiro @ 2020-07-19 20:58 UTC (permalink / raw)
  To: 9front

i think your impression is right, that things like this would require a reboot.

network configuration was assumed to be rather fixed and some programs
will only apply network configuration once, which is in your case
possibly automatically on boot.

depends of course on what you're running.
and there's always many ways to fix it or to work around it.

On 7/19/20, William Gunnells <gunnells@gmail.com> wrote:
> oh that’s interesting. But no
>
> I just changed /lib/ndb/local to a different subnet and had to reboot for
> changes to take.
>
> But really i do need to read up on this bind stuff
>
>> On Jul 19, 2020, at 1:20 PM, Eli Cohen <echoline@gmail.com> wrote:
>>
>> what exactly do you mean? you can use bind(1) to rearrange the
>> per-process (ie, per rio window) filesystem namespace. so you just:
>>
>> bind /the/other/net /net
>>
>> and then you are using the other network in that namespace
>>
>> not sure if that's what you meant. you can change networking stuff by
>> writing ndb parameters to /net/ndb. ndb is configured in /lib/ndb
>>
>> On Sun, Jul 19, 2020 at 1:14 PM William Gunnells <gunnells@gmail.com>
>> wrote:
>>>
>>> Silly. But how do you change the network without doing a reboot?
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-19 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-19 20:13 networking William Gunnells
2020-07-19 20:20 ` [9front] networking Eli Cohen
2020-07-19 20:23   ` William Gunnells
2020-07-19 20:58     ` hiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).