Re: hostname.if

2024-09-05 Thread Greg Thomas
Is this a trick question? Mine has 1. On Wed, Sep 4, 2024 at 11:50 PM wrote: > What should my hostname.if file look like. > Is there a minimum amount of settings I need? > >

Re: hostname.if

2024-09-05 Thread Peter N. M. Hansteen
On Thu, Sep 05, 2024 at 02:39:38AM -0400, openbsd_fr...@mail2tor.com wrote: > What should my hostname.if file look like. > Is there a minimum amount of settings I need? The absolute minimum would be something like up but more usefully, for a client system in a wired network, assuming dual stack

Re: hostname.if manpage enhancement: be clearer about #

2016-08-12 Thread Michal Bozon
> Even adding "debug" keyword did not assure me > whether the problem is with my password definition: > wpakey s3cur3-as-#311, for illustration (was not sure > if the '#' has to be escaped somehow); or somewhere > else. Finally, it was the latter, but it took me a while > to realize that. .. or ma

Re: hostname.if manpage enhancement: be clearer about #

2016-08-12 Thread Michal Bozon
Theo de Raadt wrote: > > > As i said, my config with # in the password worked > > > without any escaping or quoting needed. > > > > > > > i understood from your mail that you'd had to escape it. > > that is correct. ... now i'm jealous, i want to be able to read other people's thoughts too.

Re: hostname.if manpage enhancement: be clearer about #

2016-08-11 Thread Theo de Raadt
> > As i said, my config with # in the password worked > > without any escaping or quoting needed. > > > > i understood from your mail that you'd had to escape it. that is correct. furthermore, some things don't have perfect escaping. not everything is perfect.

Re: hostname.if manpage enhancement: be clearer about #

2016-08-11 Thread Jason McIntyre
On Thu, Aug 11, 2016 at 03:53:12PM +, Michal Bozon wrote: > > On Mon, Aug 08, 2016 at 10:23:22AM +0200, Michal Bozon wrote: > > > Hi, I've had an issue connecting to a wireless network > > > (by doas sh /etc/netstart $if). Its password contained > > > '#' character(s). > > > > > > Even adding

Re: hostname.if manpage enhancement: be clearer about #

2016-08-11 Thread Michal Bozon
> On Mon, Aug 08, 2016 at 10:23:22AM +0200, Michal Bozon wrote: > > Hi, I've had an issue connecting to a wireless network > > (by doas sh /etc/netstart $if). Its password contained > > '#' character(s). > > > > Even adding "debug" keyword did not assure me > > whether the problem is with my passw

Re: hostname.if manpage enhancement: be clearer about #

2016-08-09 Thread Jason McIntyre
On Mon, Aug 08, 2016 at 10:23:22AM +0200, Michal Bozon wrote: > Hi, I've had an issue connecting to a wireless network > (by doas sh /etc/netstart $if). Its password contained > '#' character(s). > > Even adding "debug" keyword did not assure me > whether the problem is with my password definition

Re: hostname.if(5) man page

2012-12-27 Thread Jason McIntyre
On Tue, Dec 25, 2012 at 11:50:04PM -0600, Maximo Pech wrote: > Looking at the man page of hostname.if(5) I noticed that there isn't a > FILES section. > > It may not be obvious to everyone that those files should be located in > /etc. > just added a FILES to this page... jmc

Re: hostname.if(5) man page

2012-12-26 Thread Maximo Pech
So... what do you think about this? I believe adding this could improve documentation a bit, and it is not hard to do, just add two lines to the man page, but maybe I'm missing something... 2012/12/25 Maximo Pech > Looking at the man page of hostname.if(5) I noticed that there isn't a > FILES se

Re: hostname.if: preventing IPV4 assignment

2012-08-31 Thread Stuart Henderson
On 2012-08-30, Scott <8f27e...@gmail.com> wrote: > vis-a-vis /etc/hostname.if, where the 'if' is em1 and is a real > interface that is aggregating several VLANs (as em1 is connected to a > Cisco L2 switch). Since the each of the VLAN interface has its own, > and topology relevant, IPV4 address, we

Re: hostname.if: preventing IPV4 assignment

2012-08-30 Thread Camiel Dobbelaar
On 30-8-2012 23:30, Scott wrote: > vis-a-vis /etc/hostname.if, where the 'if' is em1 and is a real > interface that is aggregating several VLANs (as em1 is connected to a > Cisco L2 switch). Since the each of the VLAN interface has its own, > and topology relevant, IPV4 address, we don't want or n

Re: hostname.if(5)/ifconfig(8) configuration for gif(4)

2011-05-16 Thread Stuart Henderson
On 2011-05-15, Andreas Bartelt wrote: > Hello, > > I'm able to use the following configuration for gif0 via ifconfig(8): > > # ifconfig gif0 inet6 tunnel 2002:db8::1 2002:db8::2 > # ifconfig gif0 192.168.1.1 192.168.1.2 netmask 255.255.255.0 > > The following version of /etc/hostname.gif0 doesn't

Re: hostname.if(5)/ifconfig(8) configuration for gif(4)

2011-05-15 Thread Axton
On Sun, May 15, 2011 at 6:18 PM, Mark Felder wrote: > > On Sun, 15 May 2011 16:10:21 -0500, Andreas Bartelt wrote: >> >> Is there a way to do this correctly via /etc/hostname.gif0 ? >> >> Best regards >> Andreas >> > > Not sure if this helps, but as far as I know this is the way you're supposed t

Re: hostname.if(5)/ifconfig(8) configuration for gif(4)

2011-05-15 Thread Mark Felder
On Sun, 15 May 2011 16:10:21 -0500, Andreas Bartelt wrote: Is there a way to do this correctly via /etc/hostname.gif0 ? Best regards Andreas Not sure if this helps, but as far as I know this is the way you're supposed to do it for a 6to4 tunnel: Sanitized, but you'll get the point: $

Re: hostname.if on 4.7 ignoring "-inet6"

2010-06-16 Thread Todd T. Fries
Penned by Stuart Henderson on 20100614 12:28.46, we have: | On 2010-06-14, rh...@hushmail.com wrote: | > Hello list, | > | > I'm looking to explicitly disable IPv6 on interfaces where it is | > not used. This includes link local addresses. | > | > However, this : | > | > # cat /etc/hostname.em0

Re: hostname.if on 4.7 ignoring "-inet6"

2010-06-14 Thread rhsv6
>Please try this diff. > >Index: netstart >=== > >RCS file: /cvs/src/etc/netstart,v >retrieving revision 1.129 >diff -u -p -r1.129 netstart >--- netstart 12 Jan 2010 07:43:41 - 1.129 >+++ netstart 14 Jun 2010 11:27:47 -000

Re: hostname.if on 4.7 ignoring "-inet6"

2010-06-14 Thread rhsv6
>you can also pass extra options after "up" > >up -inet6 > >> Interesting. Well, I've already had one reply telling me to RTFM, so perhaps I missed that little gem amongst all the text to be enjoyed ! >> Please try this diff. >> > >or this... > ack. done. worked. thanks again.

Re: hostname.if on 4.7 ignoring "-inet6"

2010-06-14 Thread Reyk Floeter
On Mon, Jun 14, 2010 at 12:28:46PM +0100, Stuart Henderson wrote: > > # cat /etc/hostname.em0 > > > > description "Some Port" > > media 1000baseT > > inet 172.16.176.166 255.255.255.252 NONE > > -inet6 > > up yo

Re: hostname.if on 4.7 ignoring "-inet6"

2010-06-14 Thread Stuart Henderson
On 2010-06-14, rh...@hushmail.com wrote: > Hello list, > > I'm looking to explicitly disable IPv6 on interfaces where it is > not used. This includes link local addresses. > > However, this : > > # cat /etc/hostname.em0 >