Re: DNS resolution when 1st nameserver does not know

2024-02-15 Thread Rudolf Sykora
Stuart Henderson wrote: > On 2024-02-15, Rudolf Sykora wrote: > > Josh Grosse wrote: > >> On Thu, Feb 15, 2024 at 02:15:07PM +0100, rsyk...@disroot.org wrote: > >> > my computer is connected to a LAN, from which it obtains its > >> > IP and als

Re: DNS resolution when 1st nameserver does not know

2024-02-15 Thread Rudolf Sykora
Josh Grosse wrote: > On Thu, Feb 15, 2024 at 02:15:07PM +0100, rsyk...@disroot.org wrote: > > my computer is connected to a LAN, from which it obtains its > > IP and also local-DNS-server IP via DHCP. The latter is then > > inserted into /etc/resolv.conf by, I believe, resolvd. The > > computer

Re: tmux: mouse works in st but not in xterm

2024-02-01 Thread Rudolf Sykora
Stuart Henderson wrote: > On 2024-02-01, Omar Polo wrote: > > On 2024/02/01 12:06:13 +0100, rsyk...@disroot.org wrote: > >> Dear list, > >> > >> > >> when I run tmux in xterm, the mouse support does not work. > > > > by default mouse support is disabled on xterm on OpenBSD. No clue why, > >

Re: midnight commander sftp problem after upgrade to OpenBSD 7.0

2021-10-19 Thread Rudolf Sykora
Dear list, sorry for the noise, the sftp connection doesn't most probably work due to a change in the server's settings, and is not OpenBSD related. It was just a time coincidence of my upgrade and their change. Best regards Rudolf Sykora Rudolf Sykora writes: > Hello list, > >

midnight commander sftp problem after upgrade to OpenBSD 7.0

2021-10-19 Thread Rudolf Sykora
to the upgrade, or what can I do to get the functionality back)? Thank you! Rudolf Sykora

Re: use tablet interface under vm running linux / pressure on wacom

2021-06-09 Thread Rudolf Sykora
Dear list, Stuart Henderson writes: > On 2018-12-04, rsyk...@disroot.org wrote: >> I am running OpenBSD desktop, but I need to use my usb-connected >> tablet wacom Intuos3, which, under OpenBSD, cannot be used together >> with pressure sensitivity. >> >> Thus, I thought I could install, say,

mail -r option problem

2021-01-30 Thread Rudolf Sykora
Dear list, I tried to use the -r option with the mail program, but whenever I use the option I get a error like this: odin$ mail -r abcd -s abcd rudolf.syk...@cvut.cz a EOT odin$ sendmail: command failed: 550 Invalid recipient: odin$ mail -s abcd rudolf.syk...@cvut.cz sdas EOT

Re: relay email from users to per-user smtp servers

2021-01-24 Thread Rudolf Sykora
Dear Chris, thank you for your ideas. Chris Bennett writes: > It sounds to me that need to configure your email clients to do the > switcheroo about from addresses, etc. > I use neomutt, which might not be suitable since it's a text only. > But I login to my shell. Then I start neomutt and

Re: relay email from users to per-user smtp servers

2021-01-24 Thread Rudolf Sykora
Martijn van Duren writes: > I have no clue on what you're trying to do, so here's my best guess. > Your users have something like a shell account and want to submit mail > via the sendmail command. Your users want you to forward the mail to > their "standard" mailserver before it is relayed

relay email from users to per-user smtp servers

2021-01-22 Thread Rudolf Sykora
Dear list, if I have several users, each of which wants to be able to send email to generally different smtp servers with their own credentials, how does one arrange such a thing? Can it be done easily without having a separate rule in the system-wide /etc/mail/smtp.conf for each individual

Re: adding user to a group

2021-01-08 Thread Rudolf Sykora
Todd C. Miller writes: > You need to login in again. Logging in via ssh, a virtual console, > X11 or running su will set the groups list. Setting groups is a > privileged operation so simply starting a new shell or opening a > new xterm is not sufficient. Thanks, su helped. (Although I do

adding user to a group

2021-01-08 Thread Rudolf Sykora
Dear list, I tried to add myself to the "dialer" group: #usermod -G dialer ruda But when I write $groups in a terminal I still do not see the new group. Not even if I open a new login shell (by writing "ksh -l"). However, when I log in in a text console (ctrl-alt-1), I see the new group

Re: video capture / streaming

2020-08-05 Thread Rudolf Sykora
Hello, Mihai Popescu writes: > For camera access as an user see: /etc/fbtab (fBtab not fStab) Is fbtab usable also in the case of login via xenodm? Into fbtab one should enter the login device name (like /dev/ttyp1), but is there such a thing when xlogin logs you in? Thanks Ruda

video capture / streaming

2020-07-24 Thread Rudolf Sykora
Dear list, I'd like to stream video from my (usb-connected) camera via a web server. The 1st I tried was to see if the camera works. So: odin$ video video: /dev/video: Permission denied odin$ doas video No protocol specified video: cannot open display :0.0 odin$ xhost + access control disabled,

one-character expansion in shell

2020-05-06 Thread Rudolf Sykora
= LC_COLLATE="C" LC_CTYPE=en_US.UTF-8 LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_MESSAGES="C" LC_ALL= It seems I have to use double '??' to mach a single character. Thanks for comments! Best regards Rudolf Sykora

Re: pinentry-tty in OpenBSD? to be used with emacs

2019-12-10 Thread Rudolf Sykora
Timo Myyrä writes: > I don't know about pinentry but emacs freezes sound familiar. Have you > tried using the workaround given in following site: > https://omecha.info/blog/org-capture-freezes-emacs.html > > Timo Thanks! The freezing using a graphical emacs made me change to a terminal emacs.

Re: pinentry-tty in OpenBSD? to be used with emacs

2019-12-09 Thread Rudolf Sykora
Xiyue Deng writes: > On Mon, Dec 09, 2019 at 11:34:38AM +0100, Rudolf Sykora wrote: >> Date: Mon, 09 Dec 2019 11:34:38 +0100 >> From: Rudolf Sykora >> To: Stefan Hagen , OpenBSD Misc Mailing List >> >> Cc: Pierre-Emmanuel Andre >> Subject: Re: pinentr

Re: pinentry-tty in OpenBSD? to be used with emacs

2019-12-09 Thread Rudolf Sykora
rsyk...@disroot.org writes: December 8, 2019 5:45 PM, "Stefan Hagen" wrote: > Stefan Hagen wrote: > >> Rudolf Sykora wrote: >>> On linux, I believe, there is a pinentry-tty program, but that one is >>> not available on OpenBSD. >> >> Have

pinentry-tty in OpenBSD? to be used with emacs

2019-12-08 Thread Rudolf Sykora
a passphrase to be relayed to gpg-agent inside emacs running in a terminal? I am using emacs 26.3 on OpenBSD 6.6. Thanks for any comments! Rudolf Sykora

Re: problem to copy a (possibly large) file over a network device

2019-08-01 Thread Rudolf Sykora
Nick Holland writes: > On 7/31/19 3:45 AM, Rudolf Sykora wrote: > [probably irrelevant stuff snipped] I believe you snipped quite a relevant part. > Well, that looks broke. Not supposed to do that. yes. > Well, looking at the version of OpenBSD that you are using ... oh. 6.

Re: problem to copy a (possibly large) file over a network device

2019-08-01 Thread Rudolf Sykora
Rudolf Sykora writes: > In one terminal: > ;tar -cf - www | pv | nc localhost 7000 > > In another terminal: > ;nc -l 7000 | pv | tar -xpf - are there some settings which I could try to change? (Some files are >10GB, if that matters.) Thanks Ruda

problem to copy a (possibly large) file over a network device

2019-07-31 Thread Rudolf Sykora
command exits. As I have no idea what can cause this behaviour, I am asking for any help. Thank you! Best regards Rudolf Sykora

probable bug in openbsd chromium, at least in the stable package

2019-07-26 Thread Rudolf Sykora
corresponding to the outgoing interface.") Thanks. Best regards, Rudolf Sykora

Re: sh : COMMAND LINE EDITING when relevant?

2019-05-22 Thread Rudolf Sykora
Dear Ingo, Ingo Schwarze writes: >> after reading the sh man page I have been wondering: >> When is the line editing mode described just after the >> 'COMMAND HISTORY AND COMMAND LINE EDITING' heading relevant? > > Near the beginning, the sh(1) manual page contains this paragraph: > > This

chromium vulnerability?

2019-03-11 Thread Rudolf Sykora
Dear list, https://thehackernews.com/2019/03/update-google-chrome-hack.html claims there is a serious vulnerability in chrome. I run stable 6.4, with the 69.0.3497.100p0 version, while they advice upgrading to 72.0.3626.121. What should I do if I want to stay on the stable branch and have a

install portslist?

2018-12-14 Thread Rudolf Sykora
Hello, I now see this: odin$ pwd /usr/ports odin$ make search key=texmacs Please install portslist pkg_add portslist *** Error 1 in /usr/ports (Makefile:80 '/usr/local/share/ports-INDEX': @exit 1) odin$ doas pkg_add portslist portslist-6.8: ok odin$ make search key=texmacs Please install

find the process that heavily uses a disc

2018-10-16 Thread Rudolf Sykora
Hello, please, how can I monitor disk usage and tell what process is using it heavily? (I hear [and see] that the disk is being used, but cannot think of a process that would cause it.) Thanks Ruda

wacom tablet settings? absolute mode?

2018-10-11 Thread Rudolf Sykora
Hello, when I connect my Wacom Intuos3 tablet via usb, I see (in the console) uhidev0 at uhub0 port 3 configuration 1 interface 0 "Tablet PTZ-930" rev 1.10/1.02 addr 2 uhidev0: iclass 3/1, 13 report ids ums0 at uhidev0 reportid 1: 3 buttons, Z dir wsmouse0 at ums0 mux 0 uhid0 at uhidev0 reportid

pharo smalltalk on openbsd

2018-10-05 Thread Rudolf Sykora
Hello, does anybody run pharo smalltalk on openbsd? Does it work? Thanks Ruda

Re: alpine linux under vm? freezes

2018-09-04 Thread Rudolf Sykora
Hello, On Thu, 30 Aug 2018 at 21:07, Rudolf Sykora wrote: > > On Thu, 30 Aug 2018 at 20:43, Rudolf Sykora wrote: > > I connect to the console with the 'vmctl console' command. > > At various moments I am no longer able to write anything, > > the alpine system as

Re: alpine linux under vm? freezes

2018-08-30 Thread Rudolf Sykora
On Thu, 30 Aug 2018 at 20:43, Rudolf Sykora wrote: > I connect to the console with the 'vmctl console' command. > At various moments I am no longer able to write anything, > the alpine system as if freezes. It seems to be a problem with the console. I still can ssh to t

alpine linux under vm? freezes

2018-08-30 Thread Rudolf Sykora
Hello, I tried to run alpine linux (alpine-virt-3.8.0-x86_64.iso) under the OpenBSD (latest snapshot) virtual machine. I was able to boot it, even to install it to an image. I connect to the console with the 'vmctl console' command. At various moments I am no longer able to write anything, the

Re: sshfs permission problem

2018-08-03 Thread Rudolf Sykora
On 3 August 2018 at 15:30, Maurice McCarthy wrote: > On 03/08/2018, Rudolf Sykora wrote: >> doas sshfs syk...@pc109.fzu.cz: /home/ruda/mnt/fzu -o uid=1000 -o gid=1000 > > Leave out the 'doas' ? Afaik, no, you can't. Any mounting on OpenBSD seems to need root privileges. Ruda

sshfs permission problem

2018-08-03 Thread Rudolf Sykora
Hello! I run doas sshfs syk...@pc109.fzu.cz: /home/ruda/mnt/fzu -o uid=1000 -o gid=1000 But then the mount point is owned (after the mounting) by root: drwx-- 1 root wheel512 Aug 3 13:22 fzu Hence I cannot enter the directory as the usual (and wanted) user 'ruda'. 1) doas chmod

upgrading to a snapshot; what to do with ports tree?

2018-08-02 Thread Rudolf Sykora
Hello, when I switch to a recent snapshot, I can also download ports.tar.gz related to it. Should I just first completely remove the old tree (rm -rf /usr/ports), or should I keep it and untar the ne ports.tar.gz over it? (I guess the first, but...) Thanks Ruda

how to switch to a snapshot?

2018-07-25 Thread Rudolf Sykora
Hello, I'd perhaps like to switch to a recent snapshot. I read https://www.openbsd.org/faq/current.html but do not quite understand it. If I download the snapshot (ie bsd.rd), boot from it, choose Upgrade at the prompt, and upgrade any installed packages (??using pkg_add -u where available,

Re: linux under vm on openbsd tutorial

2018-07-16 Thread Rudolf Sykora
On 16 July 2018 at 14:01, Oliver Marugg wrote: > Did you enable VT/Extendend Mem64 Technology and Excute Disable Bit support > in BIOS? This helped. I found some items in BIOS pertaining to virtualization, enabled them, and vmd now runs. Thanks Ruda

Re: linux under vm on openbsd tutorial

2018-07-16 Thread Rudolf Sykora
OpenBSD 6.3 (GENERIC.MP) #4: Sun Jun 17 11:22:20 CEST 2018 r...@syspatch-63-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17044406272 (16254MB) avail mem = 16520765440 (15755MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS

linux under vm on openbsd tutorial

2018-07-16 Thread Rudolf Sykora
Hello, please, is there some good (easy to follow, up to date) tutorial about how to set up a linux distribution under virtual machine on OpenBSD? [ I found eg http://www.h-i-r.net/2017/04/openbsd-vmm-hypervisor-part-2.html but as soon as I issue rcctl start vmd I get 'failed' ] Thanks Ruda

Re: Julia on OpenBSD?

2018-07-16 Thread Rudolf Sykora
Dear Ze, On 13 July 2018 at 11:24, Zé Loff wrote: > If absolute top-notch performance isn't a concern I'd say its much much > quicker and easier to setup a VM with some barebones linux ok, thanks for the recommendation. I will probably try it (also for other software: TeXmacs, J, pressure

Julia on OpenBSD?

2018-07-13 Thread Rudolf Sykora
Hello, has anyone any experience with running Julia (language) on OpenBSD? How difficult was it to set it up? (It isn't in the Ports.) Thanks! Ruda

httpd directory auto index but hide the parent ..

2018-06-20 Thread Rudolf Sykora
Hello list, I have odin$ cat /etc/httpd.conf server "default" { listen on * port 80 directory auto index root "htdocs/TESLA" } odin$ and a bunch of files in the htdocs/TESLA directory. Can I somehow arrange that the parent of TESLA (i.e. "..") is not listed when the page

screenshot with maim: Invalid number of channels provided to image.

2018-06-19 Thread Rudolf Sykora
Hello, when I run the maim program to take a screenshot, I get an error: odin$ maim -s Sr90.png Failed to detect a compositor, OpenGL hardware-accelleration disabled... Maim encountered an error: Invalid number of channels provided to image. odin$ I do not get any picture. Can anybody help,

Re: fdisk MBR contains more than one OpenBSD partition!

2018-05-09 Thread Rudolf Sykora
> So please describe more in detail what kind of backuping you want. I just want to regularly rsync /home to the "backup" partition with some history (along the lines of https://netfuture.ch/2013/08/simple-versioned-timemachine-like-backup-using-rsync/ ). This partition (or part of it) will

Re: mail sign/encrypt

2018-05-09 Thread Rudolf Sykora
> > I'd suggest Thunderbird + Enigmail I want a small thing, hence Thunderbird is out. Similarly, mutt does way too many things (it's not just MUA), similarly (al)pine. (And both use ncurses, which I also want to avoid). For me mmh, mblaze or similar (eg. plan9 tools) is the way to go. Even

fdisk MBR contains more than one OpenBSD partition!

2018-05-09 Thread Rudolf Sykora
Hello misc, I wanted to use a MBR partition for backup purposes, so I (almost) created (using fdisk) another OpenBSD MBR (A6) partiotion, but then I got the message MBR contains more than one OpenBSD partition! Write MBR anyway? [n] So am I doing it wrong? Thanks for comments! Ruda

mail sign/encrypt

2018-05-03 Thread Rudolf Sykora
Hello misc, I'd like to be able to optionally - sign my email, - encrypt the email. I have a certificate in the .p12 form, containing my private key and two certificates, one of them mine. I want to prepare mail locally, i.e. to use some simple locally installed MUA. Is there a way with the

Re: smtpd relay problem

2018-05-03 Thread Rudolf Sykora
Dear Bruno, Mazocomp, > via smtps+auth://a...@smtp.gmail.com:465 \ thanks, it works now. I wrongly expected that using secure+auth would choose the ports (465 when smtps and 587 for tls fall-back). Thanks Ruda PS.: Thanks to Mazocomp for supplementary information.

smtpd relay problem

2018-05-02 Thread Rudolf Sykora
Hello misc, I just wanted to send mail through my gmail account using smtpd in the relay mode. I am unsuccessful so far, and do not understand what's going wrong. smtpd log of the attempt to send the email follows. Can anybody help, please? Thanks Ruda odin# smtpd -dv debug: init ssl-tree

repeated set of messages about usb mouse

2018-04-30 Thread Rudolf Sykora
Hello misc, I am (on 6.3, amd64) repeatedly getting these messages every now and then: --- uhub4 at uhub3 port 5 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/88.32 addr 3 uhidev1 at uhub4 port 1 configuration 1 interface 0 "Logitech USB Optical Mouse" rev

Re: sshfuse: fusefs: libfuse vnode reclaim failed

2018-04-23 Thread Rudolf Sykora
Well it happened again along the same lines..., showing 'libfuse vnode reclaim failed' And again uninterruptable, unkillable, unrebootable system, only power button helped. So isn't there really any way to kill such a beast? ( I use 6.3. The line I use to start sshfs is basically just doas sshfs

Re: doas id -ru returns 0 ?

2018-04-23 Thread Rudolf Sykora
On 23 April 2018 at 17:19, Philip Guenther <guent...@gmail.com> wrote: > On Mon, Apr 23, 2018 at 4:53 PM, Rudolf Sykora <rudolf.syk...@gmail.com> > wrote: >> >> I expected that >> >> doas id -ru >> >> would return my uid. >> >> But

doas id -ru returns 0 ?

2018-04-23 Thread Rudolf Sykora
Hello, I expected that doas id -ru would return my uid. But it returns 0 (ie root) Can anybody comment on it? Thanks Ruda

Re: sshfuse: fusefs: libfuse vnode reclaim failed

2018-04-20 Thread Rudolf Sykora
Dear IL, On 20 April 2018 at 02:34, IL Ka wrote: > First, make sure your SSH connection is stable. > ... > I can't help you unfortunatelly because > this issue is not reproducible for me: I tried sshfs: it works like charm. thanks for the information! I will keep using

sshfuse: fusefs: libfuse vnode reclaim failed

2018-04-19 Thread Rudolf Sykora
Hello, I've been trying to use sshfs. It started ok, but after a while the program using it as if froze, in the console I see repeatedly fusefs: libfuse vnode reclaim failed The program at that moment can't be terminated, The whole system at that point starts to be weird. I was unable to kill

Re: is there foomatic-rip for lpd on openBSD 6.3?

2018-04-10 Thread Rudolf Sykora
On 10 April 2018 at 09:58, Theo Buehler wrote: >> I do read man pages. But 1) As far as I can tell, you will not find any >> information anywhere about foomatic-rip (or any other smart filter) > > use the pkglocatedb package: > https://www.openbsd.org/faq/faq15.html#PkgFind >

Re: is there foomatic-rip for lpd on openBSD 6.3?

2018-04-10 Thread Rudolf Sykora
Dear Predrag, > Around here we actually read man pages and pkg-readmes I do read man pages. But 1) As far as I can tell, you will not find any information anywhere about foomatic-rip (or any other smart filter) when you just install the system, and 2), on a similar note, you can only read

is there foomatic-rip for lpd on openBSD 6.3?

2018-04-09 Thread Rudolf Sykora
Hello, I want to print from openBSD 6.3. I tried to use lpd and found some information on the web about setting up /etc/printcap. Many texts use the foomatic-rip program. I can't find one in ports. Is there anything instead? What's the recommended way to set up printing? Thanks for any comments

Re: texmacs on 6.2

2018-04-05 Thread Rudolf Sykora
>> Try to fix TeXmacs so that it builds with clang; note that there are new >> releases upstream. According to TeXmacs developers: "The default compiler for TeXmacs in linux became clang a few months ago. So I guess it is just a matter of fixing building issues in OpenBSD..." Ruda

Re: texmacs on 6.2

2018-04-03 Thread Rudolf Sykora
Hello, >> What can I do? > > Try to fix TeXmacs so that it builds with clang; note that there are new > releases upstream. > >> Why isn't i386 and amd64 available? > > Because i386 and amd64 use clang as the base compiler. thanks for the answer! Ruda

texmacs on 6.2

2018-04-01 Thread Rudolf Sykora
Hello, I have probably a trivial (user) question. I've used texmacs on 6.1, amd64. Now I wanted to install it on 6.2, i386, but I can neither find a package nor i386 is mentioned among Archs in ports (the same for amd64, btw.). What can I do? Why isn't i386 and amd64 available? Thanks Ruda

cwm window manager usage, hidden windows

2016-12-05 Thread Rudolf Sykora
Hello, I've been trying cwm for a while and would like to ask a question about it. As cwm seems to be developed within openbsd, I dare ask here. I seem to need desktops, thus my .cwmrc contains sticky yes bind M-1grouponly1 bind M-2grouponly2 bind M-3grouponly3 bind M-4

failure to boot cd60.iso on HP OmniBook XE3

2016-09-30 Thread Rudolf Sykora
Hello, I tried to boot from a CD with cd60.iso on an old HP OmniBook XE3 (i386). The process gets stuck with the last line npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 and does not get beyond that. Is there any suggestion as to what I can try? Thank you! Ruda

what device for usb tablet to write to xorg.conf

2016-06-14 Thread Rudolf Sykora
Hello everyone, please, what should one write in xorg.conf instead of /dev/uhid3 below: Section "InputDevice" Identifier "w_stylus" Driver "usbtablet" Option "Type" "stylus" Option "Device" "/dev/uhid3" <--- Option "Mode" "Absolute" Option "Threshold" "10" EndSection

x clipboard that can copy images

2016-06-13 Thread Rudolf Sykora
Hello, I need a program that would be able to "copy a .png file into the clipboard", so that other programs (xournal, gimp, ...) can paste the image. I used xsel and xclip before, but these only work with text. I tried to compile newer xclip, which can "copy images", so far without success.

generate xorg.conf

2016-06-13 Thread Rudolf Sykora
Hello, please, how do one generate an xorg.conf file on openBSD? I thought running X -configure (or X :1 -configure, if X is running) would generate one, however, there seems to be no option -configure present. So how, then? (I want to read xorg.conf and then modify some parts to try to use

openbsd.org, openssh.com server(s) down

2016-03-15 Thread Rudolf Sykora
Hello, is it only I who cannot connect to either of openbsd.org and openssh.com, or is the server down? Thanks Ruda

Re: sshfs man page, -o idmap=user

2016-02-24 Thread Rudolf Sykora
> After putting > kern.usermount=1 > into /etc/sysctl.conf and changing the rights > chmod 660 /dev/fuse0 > I was then able to mount a remote filesystem, but > I ran into permission problems. Thus I tried > to add -o idmap=user into the command, which > results in immediate diconnecting: > > $

general xdg-open configuration

2016-02-18 Thread Rudolf Sykora
Hello, I appear to need to modify the default application used by xdg-open to open a file directory. The man page of xdg-open is not very helpful. Can anybody tell me what is the right and general (I run fvwm) system-wide file on openbsd to edit? Thanks Ruda

ksh search history backwards patch still available

2016-02-16 Thread Rudolf Sykora
Hello, does anybody have a patch described here http://tech.openbsd.narkive.com/Ns42EcmB/patch-to-ksh-adding-history-search-backward-forward which can be applied to the 5.8 release? (direct use of the linked patch fails at a few places...) Thanks Ruda

sshfs man page, -o idmap=user

2016-02-02 Thread Rudolf Sykora
Hello, Yesterday I was trying to use sshfs. I use the 5.8 release. 1) The man page of sshfs says: mounting sshfs [user@]host:[dir] mountpoint [options] unmounting fusermount -u mountpoint However, the fusermount command does not exists on my system, contrary to sshfs,