Re: what is the fundamental difference between icmpv6 for ff02::1 and for ff02::2?

2024-09-05 Thread 4
> Hi,
> The fundamental difference is the capability of the remote devices.
> Either it's just a 'node' or it's a 'router'.
> On 01/09/2024 18:12, 4 wrote:
>> [...]
>> # ping6 ff02::1%igc0
> You are looking here for all IPv6 *nodes* within the link-local scope
>> [...]
>> # ping6 ff02::2%igc0
> You are looking here for all IPv6 *routers* within the link-local scope
> You have the details in RFC4291 [1] (section 7)
> 1. https://www.rfc-editor.org/rfc/rfc4291.html

it was sarcasm :\ the question itself- for what reason does pf handle these 
situations so differently, and in the case of routers behaves like an asshole? 
but i cannot say that this behavior is a bug, and not intentionally done. for a 
quarter of a century, i have already realized that with obsd it is impossible 
to say with certainty where is idiocy and where is genius. for example, for 
some time now, the export of dropped packages has been removed from pflow. it 
would seem that this is definitely idiotic, since dropped packages are very 
important for tariffs taking into account incoming traffic.. but no, this is 
genius, although i still(it's been twenty years already, right?) don't 
understand why




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:

inet autoconf
inet6 autoconf

I would recommend reading the Networking part of the FAQ 
(https://www.openbsd.org/faq/faq6.html)
and to check out at least some of the man pages it references.

(and of course I have written the odd piece about this and related things,
https://nxdomain.no/~peter/blogposts/recent-and-not-so-recent_changes_in_openbsd_that_make_life_better.html
 
-- or 
http://bsdly.blogspot.com/2021/08/recent-and-not-so-recent-changes-in.html if 
you 
fancy less basic formatting and are OK with Big G tracking your moves --
may be one of the more entertaining ones)

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



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: cmake can't find Xcursor library

2024-09-05 Thread W.D.T Chathurange
Thanks for your email.

For now, I modified the CMakeLists.txt file to pass the library path of the
Xcursor in the check_library_exists function.

check_library_exists(Xcursor XcursorImageCreate "/usr/X11R6/lib/"
CAN_XCURSOR)

On Wed, Sep 4, 2024 at 3:07 PM hahahahacker2009 
wrote:

> Vào Th 4, 4 thg 9, 2024 vào lúc 18:37 W.D.T Chathurange
>  đã viết:
> >
> > Hello,
> >
> > I am trying to compile the Allegro 5 game programming library in OpenBSD
> 7.5 amd64. When I run the cmake command, I get the following error.
> >
> > -- Looking for XcursorImageCreate in Xcursor
> > -- Looking for XcursorImageCreate in Xcursor - not found
> >
> > Make Error at CMakeLists.txt:787 (message):
> >   X11 support requires Xcursor library
> >
> > I checked the CMakeLists.txt and as I understand it is trying to find
> the Xcursor library. Below is the relevant code snippet.
> >
> >  check_library_exists(Xcursor XcursorImageCreate "" CAN_XCURSOR)
> >  if(CAN_XCURSOR)
> >   set(ALLEGRO_XWINDOWS_WITH_XCURSOR 1)
> >   find_library(XCURSOR_LIB "Xcursor")
> >   list(APPEND X11_LIBRARIES "${XCURSOR_LIB}")
> >   else(CAN_XCURSOR)
> >   message(FATAL_ERROR "X11 support requires Xcursor library.")
> >   endif(CAN_XCURSOR)
> >
> > The Xcursor.h file is present in
> /usr/X11R6/include/X11/Xcursor/Xcursor.h and the header file has the
> XcursorImageCreate function.
> >
>
> Double-check if /usr/X11R6/include is in the library search path.
>
> > I managed to build this in Arch Linux without doing any changes. Not
> sure why it can't find the Xcursor in OpenBSD. Any help is much appreciated.
>
> On Linux, everything is installed on /usr. The only header path to
> search is /usr/include.
> >
> > Regards,
> > Tharindu
> >
>


doas

2024-09-05 Thread openbsd_freak
Gentlemen! How do I doas my regular user.

How do I learn the syntax?

Thanks.



Re: doas

2024-09-05 Thread Peter N. M. Hansteen
On Thu, Sep 05, 2024 at 01:59:49PM -0400, openbsd_fr...@mail2tor.com wrote:
> Gentlemen! How do I doas my regular user.

Please do not assume all contributors here are male. 

doas needs a valid doas.conf. See man doas and man doas.conf.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: doas

2024-09-05 Thread Rob Schmersel
On Thu, 5 Sep 2024 13:59:49 -0400
openbsd_fr...@mail2tor.com wrote:

> Gentlemen! How do I doas my regular user.
> 
> How do I learn the syntax?
> 
> Thanks.
> 

read the man page?



Re: doas

2024-09-05 Thread Andreas Kähäri
On Thu, Sep 05, 2024 at 08:09:55PM +0200, Peter N. M. Hansteen wrote:
> On Thu, Sep 05, 2024 at 01:59:49PM -0400, openbsd_fr...@mail2tor.com wrote:
> > Gentlemen! How do I doas my regular user.
> 
> Please do not assume all contributors here are male. 
> 
> doas needs a valid doas.conf. See man doas and man doas.conf.

And also see /etc/examples/doas.conf


-- 
Andreas (Kusalananda) Kähäri
Uppsala, Sweden

.



Re: doas

2024-09-05 Thread Carl Trachte
man page online link: https://man.openbsd.org/doas

On Thu, Sep 5, 2024 at 12:29 PM Rob Schmersel  wrote:
>
> On Thu, 5 Sep 2024 13:59:49 -0400
> openbsd_fr...@mail2tor.com wrote:
>
> > Gentlemen! How do I doas my regular user.
> >
> > How do I learn the syntax?
> >
> > Thanks.
> >
>
> read the man page?
>



Re: doas

2024-09-05 Thread jrmu
I wrote a guide:

https://wiki.ircnow.org/?n=Doas.Configure

-- 
jrmu
IRCNow (https://ircnow.org)

On Thu, Sep 05, 2024 at 01:59:49PM -0400, openbsd_fr...@mail2tor.com wrote:
> Gentlemen! How do I doas my regular user.
> 
> How do I learn the syntax?
> 
> Thanks.
> 



Wrong reference in XINIT(1)?

2024-09-05 Thread Frank Ebert
Hi,

XINIT(1) refers to xdm(1). It should be xenodm(1) instead. Maybe
someone can check this?

HTH
Frank



Suggestions

2024-09-05 Thread openbsd_freak
Drag and drop does not work in xfce ...
auto mounting of usb memories would be great



Re: Suggestions

2024-09-05 Thread Greg Thomas
Have you ever considered being a comedian?

On Thu, Sep 5, 2024 at 10:50 PM  wrote:

> Drag and drop does not work in xfce ...
> auto mounting of usb memories would be great
>
>