Re: IRC
On Fri, Mar 22, 2024 at 07:41:39AM +1030, Brett Lymn wrote: > On Wed, Mar 20, 2024 at 03:28:02PM -0400, Justin Parrott wrote: > > Anybody want to talk about an IRC client? > > > > I have used irssi for a long time. ircii -is -- Ignatios Souvatzis, Chief IPv6 enabler RFC 6540 Gemeinsame Systemgruppe b-it + Informatik Tel. +49 228 73-60701 g...@cs.uni-bonn.de
Re: Raspberry pi for network vpn
Sorry, but vlan or not is independent of forwarding. You can have, if you insist, forward between two different networks on the same cable and interface without vlans. But I read you want some sort of VPN. Your VPN software will create a virtual interface. Forwarding to/from your other interfaces is normally done by your OS kernel. Hth -is
Re: ucom, umodem and conbee II
Hi Staffan, did you get anywhere with your code, other than what I can see in the cdeconz repository? Grabbed one and a zigbee plug, and wonder what to do next. -is
Re: dhcpd(8) and unused or old MAC addresses
On Wed, Aug 23, 2023 at 11:47:53AM +0200, rockyho...@firemail.cc wrote: > On 2023-08-22 22:51, Greg Troxel wrote: > > > > Yes, that is exactly what I am suggesting. > > > > I identify every device on my network and organize them as if I am > > assigning static IP addresses, but I do it with many of those statements > > inside the network declaration in dhcpcd.conf. The hosts have no idea > > and just do dhcp, but they all end up on the address I want for each. > > Ok, great! > At the moment, I don't need this kind of "control" for all the (or many) > devices, but probably just for some of them (some relevant ones). You can add fixed-address entries for some of your devices as well as a pool for transient ones even to the same network's configuration in dhcpd.conf, e.g. shared-network etherhub { subnet 10.11.12.0 netmask 255.255.255.0 { option domain-name-servers 10.11.12.13; group fixedones { option domain-name "example.org."; option routers 10.11.12.1; host foo { hardware ethernet 52:54:00:01:02:03; fixed-address 10.11.12.14; } host bar { hardware ethernet 52:54:00:01:02:03; fixed-address 10.11.12.15; } } pool { option domain-name "example.org."; option domain-name-servers 10.11.12.13; option routers 10.202.254.1; max-lease-time 3600; range 10.11.12.129 10.11.12.253; allow unknown-clients; } } } Regards, -is
Re: Getting the sound-effects on NetBSD.
On Tue, Jun 27, 2023 at 12:15:31PM +, Todd Gruhn wrote: > "If they're audio tracks, cdparanoia > should be able to rip them for you." > > Thanks for this idea... Does it carry the CD-DA label? If not, it probably does not contain Audio tracks (that cdparanoia or your friendly standard CD player) would read. Regards, -is
Re: Problem seeing a cursor
Hi, On Fri, May 19, 2023 at 03:21:06PM +0200, ignat...@cs.uni-bonn.de wrote: > > a different approach to the original problem would be to place > one xeyes instance each in at least three corners. That way, you > can find the cursor position by triangulation ;-) > > I've done this in my youth for similar reasons. Or I've used oneko (that one's in pkgsrc), but that's a bit distracting. -is
Re: Problem seeing a cursor
Hi, a different approach to the original problem would be to place one xeyes instance each in at least three corners. That way, you can find the cursor position by triangulation ;-) I've done this in my youth for similar reasons. -is
Re: Problem seeing a cursor
Hi, On Thu, May 18, 2023 at 06:17:09PM +, Todd Gruhn wrote: > I am thinking this way: > > I want to click on xterms or EMACS or FireFox. > > I want larger (and color) changed so I can see where the cursor is. So we're talking about the X cursor, not the text cursor in Emacs or a terminal emulator? That's a bit tough - it is possible to change the cursor on the X background, but each application changes the cursor when the X input is active in its window (well, each application tells the X server to do that on behalf; this happens without turn-around time between the processes). For the root window (the background) and the window borders (at least for the window manager I'm using - don't know about mwm), you can set a bitmap for the cursor and a bitmap to mask it, see the manpage of xsetroot. Still b/w, though. You can edit bitmaps with bitmap(1), you can give it a size parameter to create a bigger one than the standard size. -is
Re: modern desktop update recommendations?
Hi, On Wed, Mar 29, 2023 at 09:15:51PM -0400, MLH wrote: > MLH wrote: > > m...@goathill.org (MLH) wrote: > > > > My ~10 yr old i3-based box needs to be updated. I can't compile > ... > > Thanks for the replies. Good information! Wait... now I realize that you're writing about the Intel CPU family, not the window manager? Yes, I see how the Subject matches that, too... -is -- Ignatios Souvatzis, Chief IPv6 enabler RFC 6540 Gemeinsame Systemgruppe b-it + Informatik Tel. +49 228 73-60701 g...@cs.uni-bonn.de
Re: Pulling off of *.cpio
Mr Gruhn, On Mon, Feb 06, 2023 at 04:05:41PM +, Todd Gruhn wrote: > I found amd fixed > > You wont believe -- I wan not in the /etc/group. > I was not " guest:*: ' and not in " users:*: " . > > WOW! Shouldn't this work if I was ROOT ? I still have no idea what you refer to by "this". As I asked you twice already, please provide a step-by-step description of what you did, what you expected to happen, and what happened instead, now --- or forever hold your peace. -is smime.p7s Description: S/MIME cryptographic signature
Re: Pulling off of *.cpio
Hi, On Mon, Feb 06, 2023 at 08:56:39AM -0500, Todd Gruhn wrote: > For one, MP3 does not compress well -- so does it matter it comes off > when I do cpio -iv < foo ?? > > Why do I need to unzip it 2x?? I see the list if file names when I unzip them. What do you mean by "unzip it 2x"? All you showed above, *again*, was the normal cpio extraction command. cpio can create an archive including compress-like (-Z) or gzip-like (-z) compression - read the manual page, please. On extracting, it automatically recognizes those formats and uncompresses them on-the-fly using the right algorithm. You never need to call unzip, not even once, especially not twice... (and it wouldn't help, as the format of zip/unzip is different: $ unzip testz.cpio unzip: Unrecognized archive format $ unzip testZ.zpio unzip: Failed to open 'testZ.zpio' ) I guess you created the archive with one of cpio's compression options? You'll still achieve a bit of compression on top of the audio compression by mp3, at least with -z (small z), 1% in a quick experiment. -Z, indeed, increased the size - you probably should avoid that. But if you insist, you can create a cpio archive without its own compression by using plain cpio -o (without -z or -Z). Regards, -is
Re: Pulling off of *.cpio
Hello Todd, On Sun, Feb 05, 2023 at 07:35:26PM +, Todd Gruhn wrote: > The *.cpio is 583 MB . AND is all MP3s . > > I do :cpio -iv < File.cpio > > > Why do I need to unzip this thing time 2x or more times? > Am I missing something? Do you have an idea? What exactly do you mean by "2x or more"? Why do you emphasize that the archived files all are MP3s - is this relevant somehow? For us to get an idea what happens, you might want to provide more details. E.g.: $ script typescript $ file File.cpio $ cpio -iv < File.cpio $ exit then show us the file typescript (of course only, if the file names are not secret) which will show your input and the computer's output (see "man script"). -is
Re: firefox resource hog
On Mon, Jan 09, 2023 at 10:22:35AM +0100, ignat...@cs.uni-bonn.de wrote: > On Mon, Jan 09, 2023 at 09:20:07AM +0100, Benny Siegert wrote: > > On Sun, Jan 8, 2023 at 12:16 PM Riccardo Mottola > > wrote: > > > I too notice things are slower on NetBSD with Firefox and ArcticFox seems > > > to do better, so the hint that "threads" and "processes" might be an > > > issue is a hint. > > > > I think this has something to do with the relative slowness of > > synchronization primitives in NetBSD, which in turn has to do with the > > HZ setting in the kernel. For instance (not directly related), every > > time the Go runtime needs to to a short wait -- say, 100 ns -- it ends > > up being a 5-10 ms wait. Because Go and Rust are a lot more > > multi-threaded, they use these primitives a lot more. > > > > All this to say: if you want faster Firefox, ultimately you need to > > look into making Rust run faster on NetBSD. > > > > The difference is obvious if you compile lang/rust on NetBSD vs. Linux > > on the same machine. > > Hm. with: > > ps -sux | grep -i -c firefox > > 359 ff91esr > 409 ff102esr > > on NetBSD-9.3_STABLE > > same machine (10GB Lenovo W701), same workload > (one element, one zabbix, one zammad, one wikipedia page, one proxmox ) > > My colleagues tell me that FF105/ FF108 on Linux don't do that > (about 11 or 12 threads). Scratch the last statement. I've checked on my own Linux laptop and verified with one colleague. 11/12 are processes not threads, we both see around 250 threads for the above workload with FF 102.6.0esr. -is -- Ignatios Souvatzis, Chief IPv6 enabler RFC 6540 Gemeinsame Systemgruppe b-it + Informatik Tel. +49 228 73-60701 g...@cs.uni-bonn.de
Re: firefox resource hog
On Mon, Jan 09, 2023 at 09:20:07AM +0100, Benny Siegert wrote: > On Sun, Jan 8, 2023 at 12:16 PM Riccardo Mottola > wrote: > > I too notice things are slower on NetBSD with Firefox and ArcticFox seems > > to do better, so the hint that "threads" and "processes" might be an issue > > is a hint. > > I think this has something to do with the relative slowness of > synchronization primitives in NetBSD, which in turn has to do with the > HZ setting in the kernel. For instance (not directly related), every > time the Go runtime needs to to a short wait -- say, 100 ns -- it ends > up being a 5-10 ms wait. Because Go and Rust are a lot more > multi-threaded, they use these primitives a lot more. > > All this to say: if you want faster Firefox, ultimately you need to > look into making Rust run faster on NetBSD. > > The difference is obvious if you compile lang/rust on NetBSD vs. Linux > on the same machine. Hm. with: ps -sux | grep -i -c firefox 359 ff91esr 409 ff102esr on NetBSD-9.3_STABLE same machine (10GB Lenovo W701), same workload (one element, one zabbix, one zammad, one wikipedia page, one proxmox ) My colleagues tell me that FF105/ FF108 on Linux don't do that (about 11 or 12 threads). -is
Re: NetBSD matrix client?
On Thu, Nov 24, 2022 at 06:10:36PM +0100, Martin Husemann wrote: > On Thu, Nov 24, 2022 at 06:03:06PM +0100, Hauke Fath wrote: > > Any client I missed? What do people use on NetBSD? > > Element in Firefox. Same. -is -- Ignatios Souvatzis, Chief IPv6 enabler RFC 6540 Gemeinsame Systemgruppe b-it + Informatik Tel. +49 228 73-60701 g...@cs.uni-bonn.de
Re: Feed facility/priority to logger(1) via stdin - desirable extension or bad idea?
On Thu, Oct 20, 2022 at 10:30:12PM +0100, Mr Roooster wrote: > On Fri, 7 Oct 2022 at 14:19, Matthias Petermann wrote: > > > > > > - Can what I have in mind already be solved (differently or more > > elegantly) with existing tools from the base system? > > > It's not elegent, but depending on your shell you can abuse tee to do > something like: > > $ echo -e "alert|alert thing\ninfo|less important\n" | > tee >(grep "^info|" | cut -c6- | logger -puser.notice) | > grep "^alert|" | cut -c7- | logger -plocal0.notice Uh... much easier than that, just using the standard shell's builtin capabilities (and /usr/bin/logger): $ printf "alert alert thing\ninfo less important\n" | (while read typeofmsg rest; do case $typeofmsg in alert) prio="user.notice";; info) prio="local0.notice";; esac logger -p $prio $rest done) You can save the case...esac when you put the raw prio value as first word of the line (whitespace separated from the rest of it): $ printf "user.notice alert thing\nlocal0.notice less important\n" | (while read typeofmsg rest; do logger -p $typeofmsg $rest done) (Btw: If you insist to use cut, use ...|cut -d\| -f2-|... instead, it's more robust when you haven't to count the characters on each reedit of the code.) Regards -is
Re: black xlogin input fields
Hello, On Sun, Sep 11, 2022 at 06:00:22PM +0200, Rhialto wrote: > On Fri 09 Sep 2022 at 11:27:52 +0200, ignat...@cs.uni-bonn.de wrote: > > after updating a machine from 6.1.5 to 9.3_STABLE, the > > Xlogin input fields are black on black. They work normally, > > if you login blindly... > > Maybe you mean xdm? Well yes, the Xlogin widget from xdm. > In that case, you probably need to update the files > in /etc/X11/xdm/. I have a vague recollection that that was needed at > some point. Thanks, this did the trick. I don't understand why, as I had looked at every resource which seemed related... Had to copy my Xaccess and disable ...Port: 0, of course, again. Regards, -is -- Ignatios Souvatzis, Chief IPv6 enabler RFC 6540 Gemeinsame Systemgruppe b-it + Informatik Tel. +49 228 73-60701 g...@cs.uni-bonn.de signature.asc Description: PGP signature
black xlogin input fields
Hello, after updating a machine from 6.1.5 to 9.3_STABLE, the Xlogin input fields are black on black. They work normally, if you login blindly... Any Xresources setting I could try? I should maybe mention that this is remote xdm. Regards, -is
Re: Anyone had problems with .Xresources ??
Hi, On Sat, Jul 09, 2022 at 10:09:16AM +, Todd Gruhn wrote: > if I do: > > xrdb .Xresources > > I works, and the MWM menus loop as I had it. > > WHEN I BOOT NetBSD -- the file (db is gone??) gives me > a menu with ONLY GREY backdoors (EMACS is read black). You should be aware that the Xt widget (and thus, Motif/Lesstif widget) resources are in the running X server, and when you finish a session, those values are (usually) wiped (when the X server restart, especially when you boot the machine, too, of course). To be precise: X resources are read from (in decreasing priority): - command line arguments of a program started - the ones stored in the X server, when the program doesn't get one from a command line - default values from the tree /usr/X11R7/lib/X11/app-defaults/ - compiled-in fallbacks That's why you can override compiled-in or app-defaults values with on the fly with xrdb, but you need to push them to your running X server each time you restart it. Regards, -is -
Re: pop3 server on NetBSD
Hello, On Wed, Apr 27, 2022 at 03:39:56PM +0530, Mayuresh wrote: > I am thinking of using pop server and let gmail users pull the mails to > their gmail mailbox (instead of using procmail). > > Which pop server will be advisable for this. (I'd prefer if it's in the > base, but if not then pkgsrc is ok.) If they insist... I've used qpopper in the more distant past, and am operating dovecot currently, including one (recent) pop3 user. dovecots configuration might be a bit overwhelming at first... (I'm using it for imap, so using it - and thus the already working auth setup without seperate work, and abandoning the qpopper package, was an easy decision.) -is
Re: CD-ROM 512b block size
hi, On Sat, Mar 05, 2022 at 06:51:26PM +0100, Martin Husemann wrote: > On Sat, Mar 05, 2022 at 07:30:56PM +0300, Dima Veselov wrote: > > Greetings! > > > > Some SCSI CD-ROMs have a switch setting from 2048-byte block to > > 512 for older systems like Irix. Will NetBSD work with 512-byte > > CD-ROM? > > I'm not sure about a (manual) switch or jumper, but I have used various > scsi CD drives in Sun gear that used 512 byte blocks by default but could > be told to switch to 2048 (or simmilar) when using them to grab audio CDs. would be 2352 for audio. But yes, you could switch them to 2048 for data, maybe. Details are fuzzy in my mind. I wonder whether I still have a working drive of that age somewhere - I think I switched to faster drives decades ago everywhere. Note that the 512-byte sectors where only quarters of 2048-byte data sectores (which where one level(?) of forward error correction inside of the 2352 byte sectors used for audio mode). There were some drives that can be switched between sectore sizes by a dip switch, and some that can be switched by a MODE SELECT. See https://www.sun3arc.org/FAQ/cdrom/backgrnd.htm or http://www.verycomputer.com/39_7b08394b5e15a473_1.htm for more information. >From reading the code, our scsi cd path (sys/dev/scsipi/cd.c) has some code to work with the blocksize the disk reported, or to enforce 2048 bytes when the disk seems to report a broken (<512 or >16384 bytes) size. -is
Re: Constant coredumps
hello, On Mon, Feb 28, 2022 at 10:50:00AM -0500, Todd Gruhn wrote: > I noticed that every time I start NetBSD I get a message that says > it compressing netbsd.core. > > Why is this happening? Has anyone noticed this? Every time? how many files are in /var/crash? what do df -h /var/crash and du -h /var/crash show? Normally, this means that every time you're booting, the system finds the signature of a system core dump in the swap partition. In this case, one of the startup files will save the coredump from the dump partiton - normally the (first) swap partion - to the filesystem, and save the (compressed) current kernel alongside, so that somebody could use both to find out what the problem is. This either means that you always reboot by crashing the NetBSD kernel, or that the filesystem /var/crash is on is too small to add your core dump and your compressed kernel, so this never finishes. By looking at the answer to my above questions, you can distinguish the cases. If you don't intend to debug an old kernel crash, you can get rid of it by running /sbin/savecore -c with swap disabled, e.g. in single user mode, or after swapctl -d /dev/yourdumpdevice check for your dump device by grep dumps /var/run/dmesg.boot It should look similar to this: $ grep dump /var/run/dmesg.boot root on wd0a dumps on wd0b so you would /sbin/swapctl -d /dev/wd0b /sbin/savecore -c /sbin/swapctl -a /dev/wd0b in this case... If the message reappears when rebooting after that, your kernel had crashed again, instead of shutting down cleanly. Good luck! -is
Re: USB headphones
On Mon, Jan 17, 2022 at 07:49:05PM -0500, Todd Gruhn wrote: > I found the uaudio driver. > > Do I need both lines in my config file: >uaudio* at ... AND >audio* at audiobus? > > ? yes. (Long explanation: - uaudio is one of many drivers that provide an audiobus and map their hardware to an abstract audio device, and - audio picks one abstract audio device from an audiobus and provides the ioctls and system calls for user programs (or, with the wildcard configuration line above, all abstract audio devices from all audio busses.)) -is
Re: How to bind bozohttpd / inetd to port 8080?
Hi, On Sat, Dec 18, 2021 at 11:34:12AM +0100, Matthias Petermann wrote: > > I am currently trying to have bozohttpd listen on port 8080 instead of port > 80 via inetd. > > In /etc/services there is an entry "http-alt" for this. yes, but in the distributed version there are two others (591 and 8008), both for TCP and UDP. I guess you'll have to edit your /etc/services and put comment signs before the two you don't want. Regards, -is
Re: NPF and Nintendo Switch multiplayer
Hi, On Sun, Nov 21, 2021 at 09:42:56PM +, nia wrote: > Background: > > The Nintendo Switch hates firewalls and does not use IPv6. > It also uses peer-to-peer multiplayer and is not good at > UPnP or hole punching. > > Nintendo's official advice is that to use multiplayer, you > should disable the firewall or use a DMZ. Obviously, this > is non-preferrable. Ha! I'd tried to configure UPnP on my (NetBSD) router back then for some (older) Nintendo hardare, but gave up in the end and asked my ISDP for an additional /30 -is
Re: Timer for X-windows?
Am 23. Oktober 2021 04:55:21 MESZ schrieb Simon Burge : #!/bin/sh > $* > > >osd_cat is in pkgsrc/x11/xosd > I've used xmessage for similar tasks (in xbase) -- GSG IfI+B-IT CIE (Chief IPv6 Enabler)
Re: Editing PDFs
Hi, On Mon, Oct 04, 2021 at 11:11:44AM -0400, Todd Gruhn wrote: > Is there a nice way to edit a PDF, and delete the blank page(s) at > the beginning of the document? install poppler-utils, then use - pdfseparate to get the pages you want in the resulting pdf as single files, then use - pdfunite to join them. -is
Re: Running VLC
Hallo, On Mon, Mar 08, 2021 at 08:53:13AM -0500, Todd Gruhn wrote: > I was not in the group "operator" -- so I added myself > > Below is the result of the dd if ... command: > > GANDALF# dd if=/dev/rcd0d bs=2048 count=1 | hexdump -C > dd if=/dev/rcd0d bs=2048 count=1 | hexdump -C > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || > * > 0800 > 1+0 records in > 1+0 records out > 2048 bytes transferred in 1.471 secs (1392 bytes/sec) so, reading works now. Try your media player. -is
Re: Running VLC
On Sun, Mar 07, 2021 at 06:31:32PM -0500, Todd Gruhn wrote: > All I know that VLC cant talk to the DVD/CD drive. > > I have been using commercially produced DVDs > > I have DVD-RW -- can something be done with that? > > I installed 2 other mediaplayers -- they complain about the same thing. So, this is not about the program used, but probably about the permissions on the device node in the file system. ls -l /dev/cd0d should show henrietta$ ls -l /dev/cd0d brw-r- 1 root operator 6, 3 Jan 13 2012 /dev/cd0d Another test would be dd if=/dev/rcd0d bs=2048 count=1 | hexdump -C (assuming this is your only CD-like device). You can check by reading through /var/run/dmesg.boot You should either see a dump of the first block on the medium, possibly all zeros, or an error messages about access permissions. Did you run your media players as an unpriviledged user? Does running the above dd program as root help? If yes, add yourself to the group "operator" in /etc/group, re-login, and all should be fine. Possibly chmod g+w /dev/cd0* if you need write permission to that drive, too. Regards, -is
Re: non-functional /usr/mdec/boot? - NetBSD 9_Stable (20210114)
On Mon, Jan 18, 2021 at 12:59:40PM -0500, Greg Troxel wrote: > > ya...@sdf.org writes: > > >> boot hd0:boot > > boot: hd0a:boot Input/output error > > Have you read your entire disk with dd, and checked SMART? > > > By putting my backup /boot from my previous 8_Stable, the machine > > boots fine again, no cd required. > > > > Could I have goofed up the installboot step? filesystem IS ffsv1 > > and I used the ffsv1 1st stage. > > > > For my understanding, does the first stage loader > > /usr/mdec/bootxx_ffsv1 in my case have to be the same revision as /boot? > > (ie. both NetBSD 9) Could having them out-of-sync cause this? > > This is often complicated and hard to tell. I would be surprised if > this were an issue. I think this mechanism is pretty robust. I do lots of guerilla updates (that is boot new kernel, verify that it runs, then tar --unlink -xpzvf all but etc.tgz/xetc.tgz, then postinstall) and neglect to update the bootblocks until I want a new feature. However, what is an issue with your symptoms is output (and input) device setting. If I'm not mistaken: - primary bootblock uses BIOS i/o - /boot starts with whatever is (nowadays) configures in (via installboot -e) and can be further configured via /boot.cfg (if this feature is enabled). -is -
Re: Ideas for stripping tags from document
Am 17. Januar 2021 00:01:23 MEZ schrieb Johnny Billquist : >On 2021-01-16 19:45, Todd Gruhn wrote: >> I have a large document (18,000L). It is full of tags such as <93> >> ,<94> , <95> . >> >> If I view the doc in a PERL editor I see \x{93} , \x{94} , \{95} ... >> >> Is there a pkg or command to strip these tags and leave the text ? > >tr -d "\223\224\225" < infile > outfile > I,d convert them to ", ",and maybe *, if you really want pure ASCII, but yes. -is -- GSG IfI+B-IT CIE (Chief IPv6 Enabler)
Re: Ideas for stripping tags from document
Hi, On Sat, Jan 16, 2021 at 01:45:45PM -0500, Todd Gruhn wrote: > I have a large document (18,000L). It is full of tags such as <93> > ,<94> , <95> . > > If I view the doc in a PERL editor I see \x{93} , \x{94} , \{95} ... Ahem - are you sure (have you looked at as few of them with hexdump -C)? Your perl editor displays \x{93}, your other editor <93>, in reality they might be just one octet with that value. Sounds like some windows-1252, where they're “, ” and • , respectively. > Is there a pkg or command to strip these tags and leave the text ? In that case I'd try iconv -f windows-1252 -t utf-8 < foo > bar Regards, -is
Re: remote printing.
Hi, On Thu, Aug 27, 2020 at 05:43:20PM +, Steve Blinkhorn wrote: > On a sample remote machine, jobs are in appropriate queues, with the > message from `lpc status`: waiting for queue to be enabled on > yourmachine.prd.co.uk. > [...] > What am I missing? Maybe this is verbatim: have you done a "lpc enable colour" on the remote machine? Regards, -is
Re: netbsd.org unreachable
Hi one, On Tue, Aug 25, 2020 at 01:09:57PM +0200, r0ller wrote: >I guess you already know it but I don't know any better place to indicate >that netbsd.org is down :( what part of the domain, and what service? You have to be more specific. E.g. the mail and mailing list servers work fine at the moment, as indicated by our message, although it was delayed for a few hours leaving your webmail server. The web server is online too, as far as I can see. -is
Re: Man page names
Hi, On Mon, Aug 03, 2020 at 05:19:46PM -0400, Todd Gruhn wrote: > I have noticed that there are many man pages with the name/form > *.conf.5 > Can anyone see future problems caused by linking > a.b.c --> a_b_c ? Yes. It is an additional hurdle for the user if they want to look for the manual page for the file acme.conf. Nowadays I can "man acme.conf" and read it; after your proposal I'd need to "apropos" and filter its results always (which can be a long list nowadays). And you'd have to edit all manual pages that reference them, and repeat that process each time you import a new version of an external program. -is
Re: pkgin error
Hello, On Fri, May 15, 2020 at 11:22:59AM -0400, nottobay wrote: >I keep getting a bunch of errors saying "download error >size does not match pkg_summary" I try just telling it to proceed but the >package still doesn't install. I have already tried forcing a pgkin update >and it didn't fix it, and I'm using the default repo the NetBSD 9 >installer gave me. How would I fix this? Do you have enough disk space in the directry pkin is trying to cache the downloads? That is, what does df /var/db/cache/ say? -is
Re: Where to find netbsd 0.8 and 0.9?
On Tue, May 12, 2020 at 02:42:47AM +0600, Никита Степанов wrote... nothing! The subject line suggests, however, a desire to learn the whereabouts of NetBSD-0.8 and -0.9. If I'm not mistaken, those binary releases aren't publicly available anymore. The first binary release base on 4.4BSD-lite is NetBSD-1.0; public sources of 0.8 and 0.9 are not buildable anymore. You might be able to build most of it by installing binary 1.0 and compiling the cvs checkout; modern compilers won't accept that. (See https://cdn.netbsd.org/pub/NetBSD/misc/release/misc/USL-lawsuit for the background.) Incidentally, the first release supporting files > 2 GB in size is 1.0, too (64bit off_t). Regards, -is
Re: sysctl.conf not read at boot time
Hello, On Thu, Apr 30, 2020 at 05:37:18PM +0200, Ede Wolf wrote: > So f.e. I've added: > > net.inet6.ip6.forwarding=1 > to /etc/sysctl.conf > > But this does not get respected. [...] What am I missing? That variable is set by /etc/rc.d/networking depending on the value of the rc.conf variable ip6mode. You need "router" to enable forwarding, else it's disabled. So what happens is that /etc/rc.d/sysctl enables v6 routing for you, then /etc/rc.d/networking disables it again. For a test whether rc.d/sysctl runs I'd suggest something mostly harmless like hw.acpi.acpiout0.brightness=75 Regards -is
Re: Linux compat and swap
Hello, On Wed, Apr 22, 2020 at 08:46:08PM +0200, tlaro...@polynum.com wrote: > an exhaustion of the NetBSD swap partition > the RAM is not exhausted... I beg your pardon? What exactly is happening? Does swapctl -l claim it's full? What does vmstat say? also: i think you shold be able to see with fstat -p insertthepidhere what the open files are (well, Inode number and file system). Any of them on a file system that's a tmpfs? But still, ram would be a problem, too. Regards, -is
Re: SMTP servers receiving from gmail
On Fri, Apr 17, 2020 at 10:52:37AM -0700, Greg A. Woods wrote: > At Thu, 16 Apr 2020 09:14:30 +0200, ignat...@cs.uni-bonn.de wrote: > Subject: Re: SMTP servers receiving from gmail > > > > On Wed, Apr 15, 2020 at 10:55:25PM +0200, Rhialto wrote: > > [Google "Mail"] > > > > > They demand DKIM or similar configurations, which I refuse to use, > > > because its a lot of work to configure, and it often doesn't even work > > > with mail forwarding. > > > > It might help to have a PTR record for the smtp clients' outgoing address; > > I doubt they demand either. I looked at their cryptic web pages referenced in the error, and links therein, and it seemed to me that they do. They probably do a statistics per address range dance on top of it. (All from memory.) -is
Re: SMTP servers receiving from gmail
On Wed, Apr 15, 2020 at 10:55:25PM +0200, Rhialto wrote: [Google "Mail"] > They demand DKIM or similar configurations, which I refuse to use, > because its a lot of work to configure, and it often doesn't even work > with mail forwarding. It might help to have a PTR record for the smtp clients' outgoing address; last time I had that problem with Google it had gone lost when switching nameserver machines and the backup wasn't up-to-date. However, SPF seems to work to pacify Google and isn't very difficult to setup. -is
Re: Firefox crashes: localisation
Hi Thierry, On Wed, Mar 25, 2020 at 04:54:39PM +0100, tlaro...@polynum.com wrote: > Other tip: > > https://get.webgl.org/ > > said that Firefox apparently supported Webgl but it was not functionnal. > > In fact, setting in about:config > > webgl.force-enabled true > is sufficient to get things working. Doesn't work for me / firefox 60esr / 8.1 / i965: pci0 at mainbus0 bus 0: configuration mode 1 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok pchb0 at pci0 dev 0 function 0: vendor 8086 product 2a00 (rev. 0x0c) agp0 at pchb0: i965-family chipset agp0: detected 7676k stolen memory agp0: aperture at 0xe000, size 0x2000 i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 2a02 (rev. 0x0c) drm: Memory usable by graphics device = 512M drm: Supports vblank timestamp caching Rev 2 (21.10.2013). drm: Driver supports precise vblank timestamp query. i915drmkms0: interrupting at ioapic0 pin 16 (i915) drm: initialized overlay support intelfb0 at i915drmkms0 i915drmkms0: info: registered panic notifier intelfb0: framebuffer at 0x800066811000, size 1280x800, depth 32, stride 5120 What graphics hardware/driver are you using? -is
Re: Terrible system slowness
Hallo, On Mon, Mar 23, 2020 at 10:08:27PM -0400, Todd Gruhn wrote: >I decided to get back to running NetBSD on a new computer with a spare >drive: >Just now I ran /bin/ksh configure for lesstif. The configure operation >alone too 45min. That's not normal at all. Please post your /var/run/dmesg.boot, maybe some timer is misdetected... did the situation improve after your reinstall? >According to >swapctl -g -s this is 298GB (UGHH!) is there a nice way to trim the swap >partition? Well, swactl -d yourswapdevice edit the partition table, depending on your partitioning method swapctl -a yourswapdevice use the now-free space for something else. For details, read http://www.netbsd.org/docs/misc/index.html#swap man swap man fstab >ALSO, is there a point where adding swap to a mechanical HD becomes a >liability? >Has anyone messed with swap on a RAMDISK? There's no point doing that. Even no swap at all will work, given your RAM size, unless you want do do really big operations, and the RAM is better used directly than to copy other RAM before using it. However; (normally) the (first) swap device is used as a dump device; should the kernel crash, a core dump is written and can, at reboot, be written by savecore to /var/crash/... where it can later be analyzed. This dump device must be big enough to save all active memory (possibly compessed), so having it at least as big as your RAM is a good idea. Regards, -is
Re: Firewall (ipf) problems
Hello, On Tue, Mar 17, 2020 at 07:48:43AM -0400, Todd Gruhn wrote: >I got the logging facility working late last night. >This error message showed for each rule: >... reason:state_add fail >What does this mean? I have no idea. You must have created a block-all situation somehow. Or at least block-your-own-address. Or trying to do something with the wrong address or interface. Please provide the configuration file first, and your network configuration (...and to the list. I don't have time for private consultations currently). -is
Re: Firewall (ipf) problems
Well, what did you write into /etc/ipf.conf ? Any messages in /var/log/messages about ipf startup? Regards -is -- GSG IfI+B-IT CIE (Chief IPv6 Enabler)
Re: green lines hell
Hi, On Wed, Feb 26, 2020 at 12:01:06PM +0100, Martin Husemann wrote: > On Wed, Feb 26, 2020 at 11:33:05AM +0100, Benny Siegert wrote: > > [...] Or if you run X, > > Xconsole is typically able to show kernel messages in a window. > > Alternatively sysinst could suppress those messages during certain operations > (or while in a menu) - but that turned out to not be easy either when I last > looked at it (you need a real tty to redirect the kernel console to, /dev/null > won't do). sysinst could use a pty, like xconsole (if I browsed xconsole.c correctly). for added comfort, create a screen area to output the messages (although this doesn't help scripted-from-another-machine over serial line installs). -is
Re: NetBSD on CF card
Hello, On Tue, Nov 12, 2019 at 02:28:46PM -0500, Travis Paul wrote: > > > On Nov 12, 2019, at 2:14 PM, Dima Veselov wrote: > > > > Is there any way to have NetBSD copied to memory disk at > > start? > > You can mount directories using tmpfs on startup. I use the rc.d > script below when booting from an ISO image and use a readonly root > filesystem. > > There�s probably other configuration that is required that I�m > forgetting about as the ISOs I use are heavily modified before this > script runs but it should give you a general idea. > > This rc.d scripts was heavily inspired by: > https://github.com/abs0/dc-burn-netbsd/blob/master/dc-burn-netbsd#L113 For a similar idea, you can also have a look at my EuroBSDcon 2002 paper: https://2002.eurobsdcon.org/papers/#souvatzis -is
Re: adding failover static routes
Hi, On Mon, Aug 26, 2019 at 12:43:35PM -0400, Derrick Lobo wrote: >Trying to add two static routes for the same network so one remains >primary while other is used as a failover What you want, is a routing protocol spoken with the other end. Something active has to detect that one route fails, and change the kernel's view... For a small bunch of networks all handled by yourself, RIP as implemented by routed (from the basic system distribution) would do the job. Read man routed for the details. -is
Re: postfix: most economical way to pipe email of a specific recipient
On Tue, Jun 11, 2019 at 08:45:15PM +0530, Mayuresh wrote: > > Evaluating following 2 options: > > 1. pipe (man 8 pipe) > [...] > Cons: > > How do I invoke the command only on a certain recipient address? Is that > possible? (Possibly I can pipe back mails that are not of interest to the > scipr, but is that a good way?) I have not done this combination myself, I think, but: Use a transport table: send the specific email address' (note: that's of course "Envelope Address", not "Header Address" to the pipe transport you defined, and all others to e.g. local. CONS: contrary to the .forward method, you don't get an easy way to create a rwa archive of the messages. SEE ALSO transport(8) Regards, -is
Re: Typo in vitut.txt
On Mon, Jun 17, 2019 at 05:44:28PM +0200, ignat...@cs.uni-bonn.de wrote: > On Mon, Jun 17, 2019 at 03:26:43PM -, Valery Ushakov wrote: > > adr wrote: > > > > > /usr/share/doc/usd/vi/vitut.txt lines 943-984/2970 ... > > [...] > > > "...you shoud use a _named_ buffer." > > > > Applied. Thank you. > > Ahem. From finger memory: this isn't true for our version of nvi, > or is it? *checking* I think not. Maybe we should add a footnote? >From the vi/ex reference, /usr/share/doc/reference/ref1/vi/vi.txt: Historically, the contents of the unnamed buffer were discarded by many different commands, even ones that didn't store text into it. Nex/nvi never discards the contents of the unnamed buffer until new text replaces them. -is
Re: Typo in vitut.txt
On Mon, Jun 17, 2019 at 03:26:43PM -, Valery Ushakov wrote: > adr wrote: > > > /usr/share/doc/usd/vi/vitut.txt lines 943-984/2970 ... > [...] > > "...you shoud use a _named_ buffer." > > Applied. Thank you. Ahem. From finger memory: this isn't true for our version of nvi, or is it? *checking* I think not. Maybe we should add a footnote? -is
Re: WiFi card comes up as device lo0
On Thu, May 23, 2019 at 06:25:20PM -0500, Carl Miller wrote: > Martin: > > I am not sure which kernel I'm using, I can only tell you that I am using > NetBSD 8.0. If you could tell me how to find out I would be glad to get back > to you. you can output it by sysctl kern.version Regards, -is
Re: I failed in the installation of NetBSD
Hello, On Wed, May 15, 2019 at 06:54:47PM -0300, Quantum Robin wrote: >I told you that I could not install NetBSD according to the following >link:Â >[2]https://www.youtube.com/watch?v=nZ7yf6smh90 I don't understand ... according to the video you quoted: https://www.youtube.com/watch?v=nZ7yf6smh90 ...you could! I watched all of it, and you ended up with a bootet-from-disk NetBSD, you logged in as root and typing commands at your first xterm (see direct link to the end of it: https://www.youtube.com/watch?v=nZ7yf6smh90=17m59s So what's your problem there? Did you send a wrong video link by mistake? Regards, Ignatios Souvatzis
Re: amd64 SBCs on which NetBSD would run ?
On Sat, May 04, 2019 at 06:16:37PM +0100, Mike Pumford wrote: > > > On 04/05/2019 15:30, Mayuresh wrote: > > On Sat, May 04, 2019 at 05:49:58PM +0800, Travis Paul wrote: > > > You mentioned that you were looking for an amd64 board. Have you looked > > > at the PCEngines APU2 boards[1]? I have not personally tried them but > > > perhaps they fit your needs. > > > > > > Thanks. Looks interesting though I could not find A. international > > availability / shipping B. Whether NetBSD would run on it. > > > NetBSD 8 runs nicely on them and as far as I can tell everything is > supported. Yes, since I added the temperature sensor. ;-) I'm using two at home, although the heavier-duty one with a third-party case with more heat sink capacity. -is
Re: A lightweight authentication scheme for website
Hi, On Mon, May 06, 2019 at 04:45:06PM +0530, Mayuresh wrote: > > On Sat, May 04, 2019 at 08:37:28PM +0530, Mayuresh wrote: > > > > > I like the simpicity of htpasswd method. But not being able to logout is > > > a little undesirable. > To clarify, I meant, server can't log you out. Ah. Well, you could always change the credentials in the htpasswd file, as they are transferred on every request ;-) -is
Re: A lightweight authentication scheme for website
Hello, On Sat, May 04, 2019 at 08:37:28PM +0530, Mayuresh wrote: > I like the simpicity of htpasswd method. But not being able to logout is > a little undesirable. This is not true. E.g. in Firefox 60esr: history -> clear recent history -> details -> select "clear active logins", deselect others, "clear now". In Lynx: the single keystroke _, then y(es) Regards, Ignatios
Re: mailcap and Microsoft OOXML
Hi, On Mon, Mar 18, 2019 at 03:47:31PM +, Steve Blinkhorn wrote: > Can a mailcap entry make an attachment with these headers: > > Content-Type: application/octet-stream > Content-Transfer-Encoding: base64 > Content-Description: Microsoft OOXML > Content-Disposition: attachment; filename="acctkey.xlsx" > > be read with scalc? More generally, is there a way of parsing the > Content-Description header along with the Content-Type to cope with > application/octet-stream attachyments? I get a lot of spreadsheet > attachments, some of which start up scalc and some don't and have to > be manually saved and opened outside the mail reader. > > Or is this something specific to individual mail readers Well, yes, it is. The official way to signal to the mailreader what type is inside, is the field - surprise! - Content-Type: With mutt, you can set in your .muttrc: mime_lookup application/octet-stream application/x-force-download application/vn d* application/force-download to make it use the lookup table in $HOME/.mime.types and /usr/pkg/etc/mime.types and /usr/pkg/share/mime.types to guess the mime type from the file name suffix. (xlsx) The more robust way could be to send those content-types to a script that parses the data using file(1) or something similar and calls an application of your choice. Btw - you could maybe use formail (from the package procmail) to manipulate content-type depending on content-description if it is application/octet-stream. Don't know how well this works for structured levels of mime headers. > (being of Jurassic vintage I use elm). Used to be same here, but a while after Michael Elkins got tired of publishing patches to elm and started publishing a whole MUA, I switched without too much pain ;-) So you won't find all modern features there. -is
Re: mutt wants sasl
On Mon, Mar 04, 2019 at 12:44:23PM -0500, Bob Bernstein wrote: > The big picture: I am now configuring my new amd64 ver. > 7.1.2 install on that recalcitrant old eMachine box about > which I have lately so plagued this list. > > One priority of course is email. While working in another > OS I have found great utility in mutt's relatively new > smtp facility. The pertinent obfuscated lines in my > .muttrc are: > > set smtp_url="smtp://my_username@smtp.my_smtp_host:587/" > set smtp_pass="my_password" > > These work on that other OS I mentioned, and work with the > two different smtp hosts to which I access. Mutt now > complains: > > No authenticators > mutt needs sasl you need the packages cyrus-sasl and additionally the cy2-xxx that implement the authentification method that your server demands. Most likely, cy2-plain. Of course, your mutt package needs to be built with cyrus-sasl support. What does pkg_info mutt say? -is
Re: dhcpcd failure
On Thu, Feb 21, 2019 at 03:58:33PM +0100, triaxx wrote: > tcpdump is like the observer of the Schrödinger's cat, it interfere in > measurement. > > If I run tcpdump -i re0 "udp port 67 or 68" -w dhcpcd.pcap when running > service -v dhcpcd restart, it works fine... If you don't want it to interfere - there's the option "-p" ("Don't put the interface into promiscuous mode.") -is
Re: NetBSD installer failure
hi, On Mon, Mar 13, 2017 at 10:19:18PM -0400, Al Zick wrote: > drive and NetBSD booted up. All the servers have SuperMicro > motherboards, although the ones we moved back to are a different > revision. Still, it leaves a lot of unanswered questions. To add a data point: we're running our IPv6 firewall pair on a something identifying as Supermicro SYS-6018TR-T (0123456789) -is -- Ignatios Souvatzis, Chief IPv6 enabler Gemainsame Systemgruppe b-it + Informatik
Re: Installing FF 52 from pkgsrc: "stable" version instead of nightly
On Tue, Mar 14, 2017 at 09:57:12AM +0100, Martin Husemann wrote: > On Tue, Mar 14, 2017 at 01:16:35AM +0700, Robert Elz wrote: > > A Vague memory from the distant past suggests that the thing to try > > is to move aside the .mozilla directory, and allow the new firefox > > to start in a completely clean environment. > > Yes, this is a generic "firefox shows strange symptoms" debuggin advice. > > Alternatively you can run: firefox -P > and create a brand new profile for testing. If that works better, something > in your old profile is broken. AND: remove and rebuild your fontconfig related directories. > Also testin without any plugins/addons is always a good idea. Another tip: I think I've needed to manipulate the stack limits in the past, to make firefox run. Too big stack was bad, because threading allocated multiple versions of it. Don't know if this is still relevant - my current login.conf on a related machine has stacksize-cur=4M -is
Re: How to make /etc/fstab "portable"?
Hi, On Mon, Feb 08, 2016 at 12:03:57PM +0100, Benny Siegert wrote: > This may be a stupid question but: Is there a way to make the entry > for the root filesystem in /etc/fstab just match whatever the kernel > used as the root FS? use /kern/rootdev, after mounting kernfs on /kern Caveat: this won't work on systems where the kernel doesn't know the NetBSD name of the device it was booted from. Regards, -is
Re: Printing from browser
On Sun, Jan 05, 2014 at 06:54:56PM +0100, f...@freddyfisker.dk wrote: I have problems when printing from the Nightly browser. The characters become unreadable. Also if I print to pdf or postscript files. You need to install a couple of *ttf* pkgs. -is
Re: Printing from browser
On Mon, Jan 06, 2014 at 01:46:47PM +0100, Martin Husemann wrote: On Mon, Jan 06, 2014 at 12:28:21PM +0100, Ignatios Souvatzis wrote: You need to install a couple of *ttf* pkgs. I've heard this advice before, but never seen it actually work - can someone please create a meta-pkg to collect all needed fonts? That list is variable. -is