Re: what network device to use?

2025-09-06 Thread Jeremy C. Reed
I found that later one of my network cards would connect but couldn't get an IP via DHCP. I read online that the ONT box uses 802.1Q tagging with VLAN 0. Later I will try to sniff the connection to see if I see VLAN. And then figure out how to strip or use it.

Re: what network device to use?

2025-09-06 Thread Jeremy C. Reed
Now I see vlan(4) says: Tagged frames received on the parent interface with a VID of 0 and an EtherType of IP or IPv6 are processed on the parent interface. Also I see the VLAN_HWTAGGING capability but I tried turning it off and on but didn't notice any change.

Re: what network device to use?

2025-09-06 Thread Jeremy C. Reed
Responding to two below: On Sat, 6 Sep 2025, Michael van Elst wrote: Would be interesting what card (in particular what PHY) then did work. This connects but no DHCP: re0 at pci2 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x03) re0: interrupting at msix1 vec 0 re0: Eth

what network device to use?

2025-09-05 Thread Jeremy C. Reed
My Internet provider upgraded their "optical" equipment so I could support 500Mbps (and they said now it could potentially support up to 5000Mbps) and now it appears all of my devices except one are not detecting it over the existing ethernet cable. No lights, no carrier. My NetBSD 9.3 hard

Re: Finding all dependencies of a packages (cross-platform)

2025-08-26 Thread Jeremy C. Reed
On Tue, 26 Aug 2025, Diogo wrote: is there a way to find all dependencies of a package without installing it? I am looking for that information in a cross-platform way. For example, I have a Linux amd64 (HOST) and would like to know all dependencies of, say, cmake on NetBSD 10.0 arm64 (TARGET).

Re: where does pkg_admin come from?

2024-05-14 Thread Jeremy C. Reed
On Wed, 15 May 2024, Riccardo Mottola wrote: > I upgraded from 8.2 to 9.4 > To conserve space, I had to clean up obsolete libraries in /lib, by > sparcstation is old and has a small disk) > > whenI try to upgrade packages, i get this error: > >  /usr/pkg/sbin/pkg_admin: Shared object "libssl.so.

fake daemons, honeypots?

2024-01-17 Thread Jeremy C. Reed
Any suggestions for fake daemons to use to see scanners or malicious connections? Maybe some services I can run via inetd? They don't need to actually attempt user authentication, so just some that have greeting banners as appropriate to initiate use. I was looking for fake telnetd, imapd, ftpd f

Re: pkgconf freetype and flags

2023-10-19 Thread Jeremy C. Reed
On Fri, 20 Oct 2023, Riccardo Mottola wrote: > Hi! > > who sets what pkgconf returns for the packages? Is it upstream or does it come > from NetBSD? See the .pc files under: /usr/pkg/lib/pkgconfig /usr/pkg/share/pkgconfig /usr/lib/pkgconfig /usr/X11R7/lib/pkgconfig See the manpage about the env

mount -u use fstab options and wapbl log questions

2023-08-10 Thread Jeremy C. Reed
I saw in mount(8): "The set of options is determined by first extracting the options for the file system from the fstab(5) file ..." But when I did mount -u / Then mount didn't show the "log". t1:reed$ grep ffs /etc/fstab NAME=8ab393d0-4743-11e8-9359-b8ac6fdf499d

Re: cctlds in wtf

2023-06-29 Thread Jeremy C. Reed
Also see /usr/share/misc/domains /usr/share/misc/country

Re: making man-pages

2023-04-19 Thread Jeremy C. Reed
On Wed, 19 Apr 2023, Todd Gruhn wrote: > If I write a program, and a man-page with it; where do I install this > man-page ?? See the manpath on your NetBSD system: man -p That shows what directories actually currently has manuals. So also see: /etc/man.conf A common place to install your own ma

npf NAT stops working on external interface IP changed

2023-01-16 Thread Jeremy C. Reed
Last week, my NetBSD NPF router got a new IP address via DHCP. npfctl list showed many entries with the nat-addr:port with the old address. I did a npfctl reload and my NAT started working again. Today it happened again. "npfctl show" shows the current IP address in the map. Part of my /etc/n

Re: timers slow (sleep 1 taking five seconds)

2022-12-03 Thread Jeremy C. Reed
lity 2000 > > >attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0 > > >t1:reed$ date ; time sleep 1 ; date > >Sat Dec 3 00:31:40 UTC 2022 > >5.01s real 0.00s user 0.00s system > >Sat Dec 3 00:31:45 UTC 2022 > > > Can you check &g

timers slow (sleep 1 taking five seconds)

2022-12-02 Thread Jeremy C. Reed
on present timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000 hpet0 at acpi0: high precision event timer (mem 0xfed0-0xfed00400) timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000 attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0 t1:re

Re: Upgrading software with pkgsrc

2022-09-30 Thread Jeremy C. Reed
On Fri, 30 Sep 2022, Ottavio Caruso wrote: > I don't understand why NetBSD must have an additional tool like pkgin > to perform full upgrades whereas in OpenBSD you can just upgrade the > whole lot with "pkg_add -u". It looks like a case of "not invented > here" that plagues the *BSD ecosphere. I

Re: NPF/interface tuning? shell unusable on gateway

2022-03-28 Thread Jeremy C. Reed
On Mon, 28 Mar 2022, Greg Troxel wrote: > I am surprised that anything is paying attention to DSCP codepoints > (said as someone who has implemented multiple research systems with new > prioritization controls). I am even further surprised that the > codepoint used for ssh low delay would lead to

Re: NPF/interface tuning? shell unusable on gateway

2022-03-28 Thread Jeremy C. Reed
On Mon, 28 Mar 2022, RVP wrote: > On Mon, 28 Mar 2022, Jeremy C. Reed wrote: > > > Any ideas why telnet works slowly but ssh does not at all in these > > cases? telnet is usable but cannot even see one character sent over ssh > > when ssh locks up (again it restores about

Re: NPF/interface tuning? shell unusable on gateway

2022-03-28 Thread Jeremy C. Reed
On Sun, 27 Mar 2022, David Young wrote: > Are there any packet drops or other errors? `sysctl net.interfaces`, > `sysctl net.inet6.ip6.ifq`, `sysctl net.inet.ip.ifq`, and `netstat -dvI > re0; netstat -dvI re1` may be revealing. David, thank you for the feedback and hints. I switched re1 to outs

NPF/interface tuning? shell unusable on gateway

2022-03-26 Thread Jeremy C. Reed
On same hardware, a week ago I changed my router from a different operating system to NetBSD/amd64 9.2. It is running a simple NAT gateway using NPF and also runs dhcpd and unbound for internal LAN. Periodically my shells on this new NetBSD router become unusable -- too slow to type. The inte

Re: restore super block? recover missing data?

2022-03-21 Thread Jeremy C. Reed
On Sun, 20 Mar 2022, Michael van Elst wrote: > r...@reedmedia.net ("Jeremy C. Reed") writes: > > >FFSv2 sb at 2176 size 623508480, last mounted on > >FFSv2 sb at 2240 size 623508480, last mounted on / > > > One more thing. Since the first superblock is

restore super block? recover missing data?

2022-03-19 Thread Jeremy C. Reed
On NetBSD 8.x I had a disk failing. I didn't write down complete kernel messages but like: ahcisata0 clearing WDCTL_RST failed for drive 0 wd0 writing fsbn 288240960 ... bn 288243008 writing fsbn 544623424 ... bn 544625472 My system basically hung when I accessed some files. I had to power off

Re: manpage section-names

2021-10-30 Thread Jeremy C. Reed
On Sat, 30 Oct 2021, Todd Gruhn wrote: > I noticed that the manpage-reader at man.netbsd.org has > sections 3LUA and 9LUA. I noticed my system also has sections > 3f, 3am, and n . What are the names of these sections? > > As I continue installing software, will I have more new manpage-sections >

Re: Thoughts regarding Borg and Python, and pkgtools

2021-08-09 Thread Jeremy C. Reed
On Sun, 8 Aug 2021, Todd Gruhn wrote: > 2) Where are the man pages? My man-page viewer cant find them You can see if manpages are installed by looking at the package list pkg_info -L py39-borgbackup # replace that correct package name I don't think the package installs a manpage per the PLISTs

Re: firefox and maxfiles and rlimit.descriptors

2020-11-14 Thread Jeremy C. Reed
> So how can one increase the kernel limit so that ulimit -n can work with > a greater value? (it doesn't accept anything else but 956, despite > kern.maxfiles being increased). $ sysctl kern.maxfiles kern.maxfiles = 3405 $ sudo sysctl -w kern.maxfiles=3500

HVM virtualization?

2020-10-31 Thread Jeremy C. Reed
One of my hosting providers is converting VPSes from PV to HVM virtualization due to security issue https://xenbits.xen.org/xsa/advisory-286.html They say NetBSD does not work under HVM mode and can choose a different BSD (or Linux). Can someone tell me about this? I did look briefly at http:/

Re: quad port gigabit eithernet?

2020-09-24 Thread Jeremy C. Reed
On Wed, 23 Sep 2020, Hisashi T Fujinaka wrote: > Yes. Still in production. > > https://ark.intel.com/content/www/us/en/ark/products/codename/36767/portville.html > > On Wed, 23 Sep 2020, SAITOH Masanobu wrote: > > I350-T4V2? Thank you. This gave me a hint to look in sys/dev/pci/pcidevs_data.

quad port gigabit eithernet?

2020-09-22 Thread Jeremy C. Reed
port gigabit ethernet network interface card with four RJ45 jacks supported by NetBSD and the device driver for it? Thanks Jeremy C. Reed echo Ohl zl obbx uggc://errqzrqvn.arg/obbxf/csfrafr/ | \ tr "Onoqrsuvxzabcefghl" "Babdefhikmnoprstuy"

Re: NetBSD Jails

2020-05-18 Thread Jeremy C. Reed
On Sat, 16 May 2020, Aaron B. wrote: > It also doesn't solve the ultimate issue here, which is isolation: a > user (in the kernel sense of user, not necessary a human logged in via > SSH) in one chroot could run 'ls' or equivalant syscalls and see > activity inside a different chroot. Assuming th

Re: Testing a password

2020-04-29 Thread Jeremy C. Reed
On Wed, 29 Apr 2020, Todd Gruhn wrote: > I found the master password file. The passwords that were set (root, > cvs, my account) > all start with $sha$ -- so the passwords are encrypted using SHA? > > If I write a PERL program that checks passwords (cant use crypt), how > would I do this? Any par

Re: DNSSEC vs netbsd-8/sparc?

2020-04-21 Thread reed
The problem I reproduced in March (but didn't solve) was on amd64 where the DS didn't match. It used SHA384. Two different examples: https://mail-index.netbsd.org/netbsd-users/2020/03/24/msg024303.html https://mail-index.netbsd.org/netbsd-users/2020/03/20/msg024285.html

Re: DNSSEC vs netbsd-8/sparc?

2020-04-16 Thread reed
with: dig +multi -t DNSKEY . Now maybe you don't trust that. Also see http://ftp.isc.org/isc/bind9/keys/9.11/ and https://data.iana.org/root-anchors/root-anchors.xml and https://www.iana.org/reports/2017/root-ksk-2017.pdf but that is a DS which can be verified: t1:reed$ dig +multi -t DNSKE

Re: SMTP servers receiving from gmail

2020-04-16 Thread reed
On Thu, 16 Apr 2020, ignat...@cs.uni-bonn.de wrote: > However, SPF seems > to work to pacify Google and isn't very difficult to setup. For many years, I periodically send emails using NetBSD.org address. I didn't think about SPF. I never get any bounces for this. Now I see the SPF rule in the T

Re: DNS Failures - All of a sudden today 20200325

2020-03-25 Thread reed
On Wed, 25 Mar 2020, ya...@sdf.org wrote: > Another user on the ISC list suggested setting > dnssec-lookaside no; > Which also feels risky. Comment out or remove the NetBSD provided configuration for that in named.conf. > And generically ISC suggested all users remove the dlv.isc.org zone fro

Re: trouble resolving protonmail.ch, dnssec, seems netbsd-specific maybe

2020-03-20 Thread reed
> I don't know why but the created new digest hash didn't match. > The technique is to use same digest algorithm type and create a digest > of the matching DNSKEY. In this case the resulting digest didn't match. > (New one was six bytes shorter.) I did this wrong. A little cleanup below. I don'

Re: trouble resolving protonmail.ch, dnssec, seems netbsd-specific maybe

2020-03-20 Thread reed
I added a large amount of debugging. Too bad the many checks didbn't have debug logging. I don't know why but the created new digest hash didn't match. The technique is to use same digest algorithm type and create a digest of the matching DNSKEY. In this case the resulting digest didn't match.

Re: trouble resolving protonmail.ch, dnssec, seems netbsd-specific maybe

2020-03-20 Thread reed
On Fri, 20 Mar 2020, Jarle Greipsland wrote: > r...@reedmedia.net writes: > > I was able to reproduce maybe the problem. I think the version of named > > is bad (it is unsupported). > Might it have to do with the fact that the (only) DS RR for > protonmail.ch uses digest type 4 (i.e. SHA-384), wh

Re: trouble resolving protonmail.ch, dnssec, seems netbsd-specific maybe

2020-03-19 Thread reed
I was able to reproduce maybe the problem. I think the version of named is bad (it is unsupported). I believe you got it to work because dnssec validation was disabled. (When enabled the queries did not work.) > My config file starts out (now that I changed auto to yes): > > options { >

Re: trouble resolving protonmail.ch, dnssec, seems netbsd-specific maybe

2020-03-19 Thread reed
On Thu, 19 Mar 2020, Greg Troxel wrote: > I changed > >dnssec-validation: auto > > to > >dnssec-validation: yes Are you saying this fixed your problem? > after finding this hint: > > https://kb.isc.org/docs/aa-01547 > > dnssec-validation yes; or dnssec-validation auto; (the former

Re: Shared object "libintl.so.9" not found (but its there)

2020-03-11 Thread reed
On Wed, 11 Mar 2020, Jeffrey Walton wrote: > $ ldd /usr/pkg/bin/git > /usr/pkg/bin/git: > -lpcre2-8.0 => /usr/pkg/lib/libpcre2-8.so.0 > -lpthread.1 => /usr/lib/libpthread.so.1 > -lc.12 => /usr/lib/libc.so.12 > -lz.1 => /usr/lib/libz.so.1 > -lintl.1 => /usr/lib/libintl.so.1 > >

Re: How do you set $PS1 on /bin/ksh

2020-01-25 Thread reed
In addition to the other recommendations, don't have the PS1 prompt run commands everytime the prompt is generated. For example, you don't need to run commands each prompt to figure out your username and hostname as likely they won't or cannot change in the same shell session. For example: PS1=

commercial preinstalled NetBSD systems?

2020-01-18 Thread reed
NetBSD.) Thanks! (I was searching for small systems with wifi ... any suggestions?) Jeremy C. Reed echo Ohl zl obbx uggc://errqzrqvn.arg/obbxf/csfrafr/ | \ tr "Onoqrsuvxzabcefghl" "Babdefhikmnoprstuy"

Re: Why are all pkg* commands in man section 1?

2019-12-13 Thread reed
On Fri, 13 Dec 2019, Ottavio Caruso wrote: > I wonder why they are all in section 1 of the manual pages and not in > section 8, where one would expect them to be. I think it is a mistake. I thought there was a PR (problem report) ticket for it. I certainly reported it before. Some others I fou

Re: Xs with WM or Desktop brakes? Clean installation.

2019-11-15 Thread reed
On Fri, 15 Nov 2019, lati...@vcn.bc.ca wrote: > 1. the Xs brakes when i try to use WMs or Desktop Mate and XFCE4, and how > to get out of Xs? Ctrl+Alt+Backspace do not work, pressing right button of > the mouse+exit does not work, it stay forever. For Ctrl+Alt+Backspace, maybe need xorg.conf with

Re: Letsencrypt certificates

2019-10-22 Thread reed
> pkgsrc Masters, what's the story? Because the package is used by other packages. https://www.netbsd.org/docs/pkgsrc/creating.html#creating.python-module Another reason is pkgsrc builder can choose to use different python version so potentially (for some packages) could have the software insta

Re: Letsencrypt certificates

2019-10-22 Thread reed
I realize I didn't answer your question. You shouldn't need to do all SIG(0) style with KEY record. Ignore that. Use the "key" in named.conf with allow-update or update-policy.

Re: Letsencrypt certificates

2019-10-22 Thread reed
> I am trying to work out whether that means that the keyfile > contents must be manually added to the zone file, because in > named.conf I have an include line for update.key which contains the > path to that key, so it should be there already. Do you also have your zone configured to allow updat

Re: Write an install image to a flash drive?

2019-08-21 Thread reed
On Tue, 20 Aug 2019, Bob Bernstein wrote: > I want to use a flash drive instead of a CD to upgrade from an > old 'current' to our latest. This is being done on an ancient > emachine amd64: "ancient" In my experience some old systems just won't boot from USB flash disks well. In some cases, I

time consistently behind 6 seconds every day

2019-08-02 Thread reed
may be useful. Thanks! Jeremy C. Reed p.s. I noticed this because I flagged a DNS RRSIG Inception time in the future by 6 seconds off. I checked and I was off by 5.717946 and fixed a moment later and I was off by 5.726703. Still I think the other system was at least a fraction of a second fast

Re: max users

2019-04-27 Thread reed
On Sat, 27 Apr 2019, JP wrote: > is there a maximum number of users that can be logged in at a given time? config(5) says there is no such limit. Linux has a pam way using limits.conf. FreeBSD could use inetd to spawn sshd with a inetd.conf "max-child" option. I don't know of an existing NetBS

change console font size to larger 80x24

2019-04-06 Thread reed
Using evbarm on pinebook (NetBSD current as of yesterday). The font size is too small. I enabled additional virtual consoles in /etc/ttys wsconscfg -t 80x24 2 results in: screen 2 is already configured I remove with wsconscfg -dF 2 Then wsconscfg -t 80x24 2 results in wsconscfg: WSDISPLAYIO_AD

Re: Install kernel and userland without source?

2019-02-09 Thread reed
On Sat, 9 Feb 2019, J. Lewis Muir wrote: > https://mail-index.netbsd.org/netbsd-help/2008/03/04/msg89.html > https://mail-index.netbsd.org/netbsd-help/2008/03/04/msg90.html > > but that's for upgrading from NetBSD 3.1 to 4, so I'm not confident that > it applies to NetBSD 8. That sho

choosing a lightweight database

2019-01-15 Thread reed
Any recommendations on a lightweight database (no extra server process) to use with dynamic website? It is not a lot of data. Currently stored in ~1000 flat files (all stored in git) and could easily be converted to JSON or XML for readable text store. Each file ranges between 7 and 184 unique

Re: /var on tmpfs

2018-11-16 Thread Jeremy C. Reed
On Thu, 15 Nov 2018, Don NetBSD wrote: > I've a box with a DoM. I'd like to mount / as ro and create a > tmpfs for /var (and /tmp). I don't think anything else NEEDS to > be rw (the infrequent changes to /etc can be made by unlocking / > to make those changes). > > I imagine I can just make a t

what wireless network adapters?

2018-10-30 Thread Jeremy C. Reed
What are the best wireless network adapters supported by NetBSD? I want to replace my provider's wifi router with a NetBSD solution. I don't see these supported, but anything comparable to Qualcomm Atheros QCA9980 or Broadcom BCM4366?

Re: Quick BIND question

2018-09-06 Thread Jeremy C. Reed
I see you already found a newer version. Nearly all the many vulnerabilities it has had over the past decade don't provide privileged access nor compromise the system beyond just crashing named. Maybe some of your clients can be prompted to query your named for known queries that can crash it.

Re: howto request a new package?

2018-06-09 Thread Jeremy C. Reed
On Sat, 9 Jun 2018, Kathe wrote: > is there any process for requesting a new package? > actually it's just a modification of an existing > package, just that netbsd isn't running on my > machine yet, and even if it did, i just don't > know how to create a new package from scratch. > thanks. Kindl

emulation for 32 bit big endian?

2018-05-24 Thread Jeremy C. Reed
What is the quickest and easiest NetBSD to install that is 32 bit and big endian using an emulator? I need a working network in the virtual system too or an easy way to copy files to its virtual disk. For example, I fetched kernel and iso and tried: $ qemu-system-mips -hda netbsd.evbmips.disk -

Re: bozohttpd

2018-03-01 Thread Jeremy C. Reed
On Thu, 1 Mar 2018, Jeremy C. Reed wrote: > The -s works when not using -b > > With -s and -b the debugging is lost. > > I see it uses daemon(3) > to redirect standard error to /dev/null -f -b -s combination works for me

Re: bozohttpd

2018-03-01 Thread Jeremy C. Reed
The -s works when not using -b With -s and -b the debugging is lost. I see it uses daemon(3) to redirect standard error to /dev/null

Re: package upgrade strategy

2017-09-28 Thread Jeremy C. Reed
On Thu, 28 Sep 2017, r0ller wrote: > By the way, what kind of difference is indicated by the number in the > 'nb' suffix? Means the original code (upstream source) was not changed. The nb means we may be building or installing it differently (like due to a new patch, new build option, or a dep

Re: xsane and root permissions

2017-06-15 Thread Jeremy C. Reed
On Thu, 15 Jun 2017, BERTRAND Jo?l wrote: > OK. I have found the mistake. ss0, nss0 _and_ enss0 are used by > sane. With 660 permissions an these devices, xsane runs as expected > and withtout root permissions. Glad it works. Often you can use ktrace to run a tool and then after run "kdu

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-14 Thread Jeremy C. Reed
On Sat, 15 Apr 2017, Rhialto wrote: > and these errors about re1 (my external interface) kept going all the > time. When I noticed them and restarted named, they went away. > > Why does named not succeed in using the interface when it gets an > address again? What to do about it? I noticed partly

Re: old i386 3.1 packages or upgrading with KVM

2017-03-14 Thread Jeremy C. Reed
Thank you all for the responses (even off-list). Sorry I wasn't very clear and my subject line was wrong. This is upgrading WITHOUT KVM and I have no console access to this remote server.

Re: old i386 3.1 packages or upgrading with KVM

2017-03-14 Thread Jeremy C. Reed
On Tue, 14 Mar 2017, Jeff_W wrote: > "Jeremy C. Reed" wrote: > > > Does anyone know where I can find old 3.1 packages for i386? > > > > I cannot find old source distfiles for using old pkgsrc. > > .. > > If binaries are okay there is this: >

old i386 3.1 packages or upgrading with KVM

2017-03-14 Thread Jeremy C. Reed
Does anyone know where I can find old 3.1 packages for i386? I cannot find old source distfiles for using old pkgsrc. I am working on an old system that the hosting provider only has a Windows-based KVM. I am concerned upgrading it headless. I know our upgrade docs have tips of upgrade issues,

Re: Serial console setup

2016-12-24 Thread Jeremy C. Reed
On Sat, 24 Dec 2016, Julian H. Stacey wrote: > BTW Later Bill Jollitz back at UCB was author of BSD386 free software > & articles published in a USA mag. (possibly Byte?) later translated Dr. Dobb's http://www.drdobbs.com/architecture-and-design/porting-unix-to-the-386-missing-pieces-p/184408764

Re: What is th ....

2016-10-17 Thread Jeremy C. Reed
William: what do you want? NetBSD does not come with a tool like FreeBSD's adduser. FreeBSD's adduser is an interactive tool that prompts for each detail for creating one or more users. NetBSD's useradd (aka "user add") tool is like FreeBSD's pw(8) "pw useradd" tool. (The details are passed on

Re: window managers

2016-04-28 Thread Jeremy C. Reed
On Thu, 28 Apr 2016, Steve Blinkhorn wrote: > Can anyone suggest a good way forward with X11 window managers using > X11R& (I'm in the processw of moving to amd64 7.0). For many years I > have used IceWM, but the pkgsrc binary fails with symbol _XGetRequest > not found in libXext.so.7. If I co

Re: Silly shell question

2016-03-22 Thread Jeremy C. Reed
On Tue, 22 Mar 2016, Swift Griggs wrote: > On Tue, 22 Mar 2016, Johnny Billquist wrote: > > Only environment variables are propagated to child processes. > > Thanks for the info, but do you happen to know what the actual > mechanism that the child processes is able to "import" the exported > va

Re: Silly shell question

2016-03-22 Thread Jeremy C. Reed
Some ideas to add to your research: echo $FOO FOO=def ksh echo $FOO exit > # FOO=abc > # export FOO > # ksh > # echo $FOO > abc > # exit > # FOO=123 > # ksh > # echo $FOO > 123 > # exit ksh echo $FOO unset FOO echo $FOO exit echo $FOO unset FOO echo $FOO ksh echo $FOO exit

Re: Ancient BSD's Licensing & Trademarks when porting and/or forking V7 and/ or 2.x - 4.x BSD's

2016-02-09 Thread Jeremy C. Reed
On Wed, 10 Feb 2016, Martin wrote: > Of course that is not what I was trying to suggest. Perhaps I should > have made it more clear but I am not trying to void the original > licence in any way shape or form. I am asking because I do not want > to. Though Lyndon you have answered my question. T

Re: Ancient BSD's Licensing & Trademarks when porting and/or forking V7 and/ or 2.x - 4.x BSD's

2016-02-09 Thread Jeremy C. Reed
Have a look here: http://wiki.tuhs.org/doku.php?id=events:free_licenses In particular note that in 2002 the copyright owner made the old V7 code and 32V Unix code available as open source with a BSD-like license. While 3BSD was derived from 32V, it also included a lot of other code that was copy

Re: texlive xelatex not working [ Was fontconfig : .so.2 not provided by 2.11.1?]

2016-01-22 Thread Jeremy C. Reed
I may have missed something in the previous thread or in this thread... but what feature are you missing? I don't know answer if full TeX Live distrubution is available in pkgsrc, but I use the pkgsrc for my LaTeX related work every week for over a decade. I have generated many documents (inclu

Re: Replace default SSH with pkgsrc version

2015-12-08 Thread Jeremy C. Reed
Another idea (untested recently) is to have a file called /etc/rc.conf.d/sshd with: command=/usr/pkg/sbin/sshd sshd_flags="-f /etc/ssh/sshd_config" sshd=YES Then use default "/etc/rc.d/sshd restart"

Re: Dbus issues

2015-12-03 Thread Jeremy C. Reed
On Thu, 3 Dec 2015, Mitt Green wrote: > PS Why does it take around > twelve hours to get my emails delivered? See the X-Greylist: email headers for your emails.

[no subject]

2015-11-25 Thread Jeremy C. Reed
At Wed, 25 Nov 2015 10:00:00 + (UTC) I had a cron job run: for tz in America/Los_Angeles America/Chicago America/New_York \ Asia/Tokyo Europe/Berlin ; do TZ=$tz date -d "Wednesday 22:00utc" +"%A %B %d %I:%M %p %z %Z ${tz}" ; done This resulted in: Wednesday November 25 12:00 PM -0800 P

man pages for section 5 config files with useless SYNOPSIS

2015-11-10 Thread Jeremy C. Reed
I noticed some section 5 file format man pages for a configuration file have a SYNOPSIS, but most do not. For example, /usr/src/share/man/man5/passwd.conf.5 has .Sh SYNOPSIS .Nm Well it is in the basic template. mdoc(7) says SYNOPSIS is mandatory and that .Nm is required for section 5. But als

Re: How do I start mixerctl as first daemon?

2015-09-28 Thread Jeremy C. Reed
On Mon, 28 Sep 2015, Ottavio Caruso wrote: > Can I alter the init sequence to make mixerctl start as first daemon? See the special tags at the top of the rc.d scripts, like PROVIDE, REQUIRE, KEYWORD, and BEFORE. Try adding a # BEFORE: line in the mixerctl rc.d script, for example: # BEFORE: D

Re: NetBSD website man pages down

2015-09-15 Thread Jeremy C. Reed
The admin said that after a power outage, a hyopervisor couldn't be brought up and on-site remote-hands were unable to revive it either. As of yesterday, an estimate of when it will be restored was unknown. I will email admins about it too. Sorry for the inconvenience.

Re: greylisting multiple mail servers, greylisting with SPF, challenge response

2015-08-28 Thread Jeremy C. Reed
On Thu, 27 Aug 2015, Matthias Scheler wrote: > > I workaround these by adding individual IPs or blocks to my pf rules to > > bypass the spamd (so goes direct to mail server). > > It sounds like you need a better greylisting software. I would recommend > "milter-greylist" which works with Sendmai

greylisting multiple mail servers, greylisting with SPF, challenge response

2015-08-27 Thread Jeremy C. Reed
se (so they can provide a friendly and understandable method for senders to verify, which may be like a sender using a micropayment, etc.). Any of you using challenge-response to limit spam? Jeremy C. Reed p.s. I noticed my spamd greylist database has 698631 entries in it. It doesn't seem to be cleaning up very quickly.

Re: pkgin giving "download mismatch"

2015-08-27 Thread Jeremy C. Reed
Maybe on download server side the pkg_summary(5) available database doesn't match the actual download package.

Re: Permissions to access the scanner

2015-08-22 Thread Jeremy C. Reed
On Sat, 22 Aug 2015, f...@freddyfisker.dk wrote: > I can only detect the Epson Perfection 2480 scanner as root: > > netbsd1$ scanimage -T > scanimage: no SANE devices found > > netbsd1# scanimage -T > [snapscan] Scanner warming up - waiting 4 seconds. ... > Can someone help to access the scann

Re: Where to install user stuff

2015-07-16 Thread Jeremy C. Reed
On Thu, 16 Jul 2015, Greg Troxel wrote: > > On various SGI, Linux & FreeBSD boxen, I have always installed > > in-house software under /usr/local. I notice no such directory on my > > NetBSD 6.1.5 box. I did notice that pkg_add installed sudo under > > /usr/pkg. Is that the recommended/stand

Re: Security and PAX

2015-06-06 Thread Jeremy C. Reed
On Sat, 6 Jun 2015, rhin...@epost.ch wrote: > In the security page "http://www.netbsd.org/support/security/";, > I can see that the PaX module is used in the kernel > but without any other information. Also see http://netbsd.gw.com/cgi-bin/man-cgi?security+7+NetBSD-current

Re: Bind ending up in Parked state.

2015-03-12 Thread Jeremy C. Reed
On Tue, 10 Mar 2015, Christos Zoulas wrote: > Still I would like to know what is taking all this time... ktrace it > and then kdump -R to display relative timestamps. I also have bind 9.10.2 on NetBSD/amd64 6.1.3 in 20117 jreed 430 1394M 1296M parked/0 0:52 0.00% 0.00% named That i

Re: pure-ftpd

2015-03-07 Thread Jeremy C. Reed
> Now I tried to configure it under NetBSD. While the installation (pkgin > in my case) printed partial instructions, there was no mention about > where to put the config file. The rc script gives no hint. > > I cannot even guess where to ftp directory for files to make available > might be, sin

Re: using /etc/cron.d

2015-01-17 Thread Jeremy C. Reed
On Fri, 16 Jan 2015, matthew sporleder wrote: > Okay it looks like modes 400 and 600 work The manpage should be updated for this. Or I prefer maybe we should fix it. The process_crontab code could be modified so /etc/cron.d/ follows the same mode rules as /etc/crontab. I think the crontab.5

Re: Static IP configuration

2014-12-24 Thread Jeremy C. Reed
On Mon, 22 Dec 2014, raju wrote: > After installation OS my ifconfig -a output is showing > bond0,bond1,bond2 and bond3 like. Does any NetBSD have this "bond" interface?

Re: Listening on port 25 to receive mail

2014-12-05 Thread Jeremy C. Reed
On Fri, 5 Dec 2014, Rocky Hotas wrote: > I tried to send an e-mail from a host in a LAN to another host in the > *same* LAN which runs NetBSD. But the connection was refused because > the NetBSD host is not listening on port 25. > How could I make it possible? Your subject says to receive mail

Re: Mom I hosed pkgsrc!

2014-09-27 Thread Jeremy C. Reed
On Sat, 27 Sep 2014, Bob Bernstein wrote: > epiphany: > > ---snip--- > checking pkg-config is at least version 0.9.0... yes > checking for wayland-scanner... no > checking for WAYLAND_DEPENDENCIES... no > checking whether build environment is sane... yes > checking for BASE_DEPENDENCIES... no > c

Re: pf version

2014-09-18 Thread Jeremy C. Reed
On Thu, 18 Sep 2014, Zoran Kolic wrote: > What is pf firewall version on current (7.99)? I think it is from OpenBSD 4.2 and 4.3-current. See the src/doc/3RDPARTY file about it. > I plan to istall on rpi. Rules are already made, > but I'm aware that version might be a bit old > and syntax not th

delete user from group (was Re: NetBSD reference card (again!))

2014-08-12 Thread Jeremy C. Reed
On Tue, 12 Aug 2014, Ilia Zykov wrote: > Maybe anybody knows how to remove an user from a secondary(additional) > group without > manual edits the /etc/group. For instance: > FreeBSD 'pw groupmod group -d user' The user(8) tool doesn't offer it, but its code does have rm_user_from_groups functio

Re: portscan protection feature in netBSD

2014-08-11 Thread Jeremy C. Reed
On Mon, 11 Aug 2014, harshavardhan Reddy wrote: > Is the portscan protection is provided in netBSD..? See pkgsrc's net/iplog or security/portsentry packages. Also net/snort can be configured to detect some port scans. Also see http://www.openwall.com/scanlogd/ (but I don't see it in pkgsrc).

Re: Aw: Re: pkgin: mplayer-1.1.1nb1 is not available on the repository

2014-07-16 Thread Jeremy C. Reed
potential problems, including: http://ftp.netbsd.org/pub/NetBSD/misc/reed/pkgsrc-package-sanity/missing-or-old-pkg_summary.txt See http://ftp.netbsd.org/pub/NetBSD/misc/reed/pkgsrc-package-sanity/README for some details

Re: something is randomly closing ssh-tunnels

2014-06-26 Thread Darren Reed
Peter, The workaround for this is to add "pass out log body quick proto tcp from 85.X.X.X port = 22 to 77.X.X.X.X" at the end of all of your "keep state" ipf rules. I've added the "log body" bit to provide more information about the ssh packets that aren't picked up by the ssh rules and session s

Re: using getent(3) and specifying more arguments after the key?

2014-06-25 Thread Jeremy C. Reed
On Wed, 25 Jun 2014, Christos Zoulas wrote: > >Okay, one line fix. I will commit if nobody objects. > > > >t1:getent$ ./getent gettytab Console junk rw sp > >false > >true > >300 > > I'd follow what sysctl(*) does (default print name=value > with -n print just value). > > christos > > (*)

Re: using getent(3) and specifying more arguments after the key?

2014-06-25 Thread Jeremy C. Reed
> Looks broken to me. Fix it. Okay, one line fix. I will commit if nobody objects. t1:getent$ ./getent gettytab Console junk rw sp false true 300 Index: getent.1 === RCS file: /cvsroot/src/usr.bin/getent/getent.1,v retrieving

using getent(3) and specifying more arguments after the key?

2014-06-25 Thread Jeremy C. Reed
ound, then `false' is always returned." But I cannot reproduce it, for example: t1:reed$ getent disktab floppy ty t1:reed$ getent disktab floppy ob t1:reed$ getent disktab floppy pc t1:reed$ getent gettytab Console rw But I would think it would be like this: t1:reed$ getent disktab

Re: something is randomly closing ssh-tunnels (was: ipfilter randomly dropping..)

2014-06-24 Thread Darren Reed
On 23/06/2014 8:24 PM, Petar Bogdanovic wrote: > ... > Now I'm thinking about compiling sshd with SO_DEBUG and a new kernel > with TCP_DEBUG but I'm not sure, what I'll be able to read from this. > > Any suggestions are very much appreciated, since I'm running out of > ideas and would like to avoid

  1   2   >