Re: PPPoE vlan issue 6.4

2019-02-10 Thread tomr
On 2/10/19 4:51 PM, Adam Evans wrote: > When I do a 'route show' with PPPoE established it hangs with no output, > disabling PPPoE 'route show' displays output. Maybe this goes without saying, but you probably should be using 'route -n show' (or 'netstat -nr') to avoid getting stuck on DNS loo

Re: Blocking "shodan.io" - What are my options?

2019-01-08 Thread tomr
On 1/9/19 12:42 PM, Jordan Geoghegan wrote: > > Yikes. Everything you are (erroneously) trying to do here can be done > without leaving your pf.conf. > > Remember, KISS. > Is there a way to add an address to a table from within a rule, or something to that effect? I can't see such an option.

Re: sh /etc/netstart interface counter intuitive behaviour with multiple inet aliases 6.4 and 6.3

2018-12-07 Thread tomr
On 12/8/18 6:09 AM, Tom Smyth wrote: > Hi Florian, > > i had the inet address as the first line ... > and then all the inet alias lines were after that... > the behaviour was as described... > Thanks for the suggestion though > On Fri, 7 Dec 2018 at 18:48, Florian Obser wrote: I think Floria

Re: Missing LVM (Logical Volume Manager)

2018-11-21 Thread tomr
On 11/18/18 9:11 AM, Jordan Geoghegan wrote: > > > On 11/17/18 10:53, Predrag Punosevac wrote: >> On Sat, Nov 17, 2018 at 01:35:05AM +0100, Willi Rauffer wrote: >> >>> Hello, >>> >>> we want to make one logical volume out of several physical volumes, >>> but there is no \ >>> LVM (Logical Volu

doas behaviour in recent snapshot [was Re: 6.4 doas gives "command not found" if no #!/bin/sh up top]

2018-10-29 Thread tomr
On 10/30/18 10:11 AM, Ted Unangst wrote: > tomr wrote: >> I'm a bit confused here. I have some cwm keybindings that `doas rcctl` >> things, which now aren't working as they used to - which isn't >> necessarily a problem - but I'm surprised at the b

Re: 6.4 doas gives "command not found" if no #!/bin/sh up top

2018-10-29 Thread tomr
ble|order [daemon ...] rcctl ls all|failed|off|on|started|stopped $ doas /usr/sbin/rcctl usage: rcctl get|getdef|set service | daemon [variable [arguments]] rcctl [-df] check|reload|restart|stop|start daemon ... rcctl disable|enable|order [daemon ...] rcctl ls all|fai

Re: [relayd] set response header for tagged connexion

2018-10-16 Thread tomr
On 10/17/18 4:14 AM, Thuban wrote: > Hi, > I want to set a header according to the requested path. The goal is to > increase > the cache-control according to file extension. > > For now, I have in relayd.conf something like : > > match request path "/*.css" tag "CSS" > match tagged "CSS" res

Re: 3g/4g modem access from within chroot

2018-09-11 Thread tomr
On 09/12/18 02:45, Kihaguru Gathura wrote: > Hi, > > I am able to send SMS using AT commands and C outside chroot using > code spinet below > > --- > #include > #include > #include > > #define MODEM_PATH "cu -l /dev/cuaU0 -s 1

pppd abort during LCP address negotiation [SOLVED]

2018-05-27 Thread tomr
same way * I've messed about with lots of settings, but everything below is from a single run - ie config matches output * Everything is run as root (attained with `doas -s`), and both root and tomr are in dialer and network groups * iwm0 was previously on a 10/24 net, but in case that

Re: MIMO in athn(4)

2018-05-14 Thread tomr
On 05/13/18 02:21, Stefan Sperling wrote: > On Sun, May 13, 2018 at 01:32:59AM +1000, tomr wrote: >> With one antenna connected, I get about 60-80% signal on my iwm client >> at a distance of approximately 5m. With two antennas connected, the same >> client needs to be &l

Re: MIMO in athn(4)

2018-05-12 Thread tomr
On 05/13/18 01:00, Stefan Sperling wrote: > On Sat, May 12, 2018 at mybeautifulwifi10:53:29PM +1000, tomr wrote: >> >> I've been playing with an apu2 and an AR9280, which is supported by athn(4). >> >> It seems to perform terribly when I connect a second antenna. I

MIMO in athn(4)

2018-05-12 Thread tomr
I've been playing with an apu2 and an AR9280, which is supported by athn(4). It seems to perform terribly when I connect a second antenna. Is this the expected behaviour currently? Is there some MIMO magic that isn't yet implemented? Or do I just need to get the antenna spacing right? I see a fo

Re: sudoedit for doas?

2018-03-01 Thread tomr
On 02/28/18 17:50, Hess THR wrote: > Hello, > > hmm, I went through the relevant man pages: > > https://man.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/doas.1 > https://man.openbsd.org/doas.conf.5 > > but I cannot find a sudoedit alternative for the "doas". > > Are there any? Use `d

Re: SHA256.sig not contained in install62.iso

2018-02-22 Thread tomr
On 02/21/18 04:39, Kevin Chadwick wrote: > On Tue, 20 Feb 2018 19:23:05 +0200 > > >> Isn't the same true when I download file sets from any mirror? After >> all I download SHA256.sig abd file sets from mirror, how can I trust >> it? > > I am not a developer but my take is that they do not want

vmm networking with ubuntu guest [SOLVED-ish]

2018-01-23 Thread tomr
her guests work fine like this, and b) enabling/disabling the other things hasn't made any material difference. Apols if I've left something relevant out, and for the less-than-100%-openbsd-related nature of my question. thanks for reading, tomr ### vm.conf switch "uplink" {

Re: softraid crypto with keydisk and password

2017-10-10 Thread tomr
On 09/28/17 17:58, Stefan Sperling wrote: > On Thu, Sep 28, 2017 at 04:15:20AM +0200, Erling Westenvik wrote: >> On Thu, Sep 28, 2017 at 09:11:49AM +1000, tomr wrote: >>> I remember seeing a post, I think on undeadly.org, which went through >>> having the bootloade

softraid crypto with keydisk and password

2017-09-27 Thread tomr
I remember seeing a post, I think on undeadly.org, which went through having the bootloader on password-encrypted usb drive, that also contains a keyfile for the main disk. It said something like "I also wanted the laptop to appear broken, and the disk full of random data, if the usb drive wasn't

keyboard repeat rate erratic in xorg

2017-09-06 Thread tomr
I'm getting erratic keyboard repeat rates in xorg. I've tried two keyboards, same issue, and both work fine elsewhere. In a regular tty there's no problem - it's only in X. It's a new (used) machine, running a recent snapshot. Below is output of a loop in an xterm running "sleep N ; echo -n ." ba

lock X on suspend

2017-08-14 Thread tomr
I've been struggling to get X to lock by calling xlock(1) from /etc/apm/{hibernate,resume,standby,suspend} Haven't seen a lot of useful debug output from xlock... # xlock -verbose ; echo $? 1 # xlock -verbose -display :0.0 ; echo $? No protocol specified 1 # I've figured out an effective workaro

Re: WARNING: symbol(icudt58_dat) size mismatch, relink your program

2017-08-03 Thread tomr
On 08/04/17 12:17, Paul B. Henson wrote: > On Thu, Aug 03, 2017 at 05:33:15PM -0400, Predrag Punosevac wrote: > >> It is well known issue. >> >> https://marc.info/?l=openbsd-misc&m=149271724912565&w=2 >> >> It seems to be benign at least for my use case. > > Yah, I saw that discussion from back

Re: touchpad input driver: testing needed

2017-08-03 Thread tomr
On my Thinkpad X1 Carbon (first gen, I think) it looks pretty good. The only thing in xorg.conf is your proposed block. Cursor moves: Yes Pad tapping: Yes, honours enable/disable Pad speed/scaling: Honours setting Swapsides: not honoured Regardless of setting, the scroll bar moves in sync with fin

Re: multiple relays in smtpd.conf

2017-08-02 Thread tomr
On 08/02/17 21:47, Kirill Miazine wrote: > * Eric Faurot [2017-08-02 13:24]: >> On Wed, Aug 02, 2017 at 11:44:47AM +0200, Christian Gut wrote: >>> Hi List, >>> >>> is it possible to have multiple relays (you might want to say smart hosts) >>> in smtpd? >>> >>> I currently use the following line:

ntpd clock unsynced in vm

2017-07-18 Thread tomr
168.1.1: offset 70.602103 delay 0.001234, next query 31s I don't know how quickly that 'adjusting local clock by XXX' should take effect, but running 'date ; sleep 1' in a loop shows no drastic steps. vm.conf snippet for this vm: disk "/home/tomr/vms/fresh_sna

upgrading release -> snapshot [was: Re: Characters of various Asian languages not rendering correctly in Firefox and Chromium]

2017-06-22 Thread tomr
On 06/22/17 23:11, Stuart Henderson wrote: > These warnings mean something like: "don't move straight from a release > or an older snapshot directly to building new code from source (whether > that's -current or a newer release)". > > If there is much of a gap between the version you're running

Re: Characters of various Asian languages not rendering correctly in Firefox and Chromium

2017-06-21 Thread tomr
On 06/21/17 20:17, Bryan Linton wrote: > Upgrading to a snapshot and seeing if that makes any difference > would be a simple way to see if anything in -current has fixed the > issue you're seeing too. I thought "upgrading to a snapshot" was not recommended, with either "installing a snapshot" or

Re: blank screen

2017-06-11 Thread tomr
On 06/11/17 11:53, lvdd wrote: > On Sun, 11 Jun 2017 09:42:15 -0600 > "Theo de Raadt" wrote: > >>> is somebody messing with the graphics stack by any chance? >> >> It is probably rude to call steps-being-taken-toward-progress "messing" >> >> > > I am sorry - this wasn't meant to be as insult

battlestar pledge

2017-05-31 Thread tomr
I guess there aren't too many people playing battlestar on OpenBSD these days. I noticed this when entering a space battle: 96814 battlestar CALL ioctl(1,TIOCGETA,0x83c2c197c78) 96814 battlestar PLDG ioctl, "tty", errno 1 Operation not permitted Which seems to be rectified by adding "tty" to

Re: LC_TIME for dd/mm/yyyy

2017-01-16 Thread tomr
Hi, On 01/17/17 17:22, Ingo Schwarze wrote: > Hi, > > tomr wrote on Tue, Jan 17, 2017 at 04:31:15PM +1100: > >> $ locale >> LANG=en_AU.UTF-8 >> LC_CTYPE="en_AU.UTF-8" >> LC_TIME=en_AU.UTF-8 >> LC_MESSAGES="en_AU.UTF-8" > > Th

LC_TIME for dd/mm/yyyy

2017-01-16 Thread tomr
I'm trying to get %xthe date, using the locale's date format to show dates as DD/MM/, but I can only get MM/DD/. I've (attempted to) set my locale appropriately for en_AU, and also tried en_GB in case that made a difference. Running 6.0 generic. Is there something I'm missing or a way

Re: hw.sensors.acpibat0.raw0 - does it change state?

2016-09-19 Thread tomr
7 workpad sensorsd[29023]: acpibat0.raw0: 0, OK ## sensorsd.conf hw.sensors.acpibat0.watthour3:low=3:command=/home/tomr/bin/sensors.sh %l %s %x %t %n %2 %3 %4 hw.sensors.acpiac0.indicator0:command=/home/tom/bin/sensors.sh %l %s %x %t %n %2 %3 %4 hw.sensors.acpibat0.raw0:command=/home/tomr/bin/sensors

hw.sensors.acpibat0.raw0 - does it change state?

2016-09-18 Thread tomr
Am I right in thinking that pulling the power cable cannot be directly detected by sensorsd, because a 'state change' does not occur? A la... hw.sensors.acpibat0.raw0=1 (battery discharging), OK vs: hw.sensors.acpibat0.raw0=2 (battery charging), OK I want to detect whether the power status chan

sndiod opening device in record-only mode

2016-08-22 Thread tomr
Hi Folks, I'm struggling to get sndiod working on a Thinkpad X1 Carbon, running a recent snapshot with stock kernel. Ideally I want concurrency... at the moment I can't get a single output stream to work. ### start sndiod with debug output: $ doas sndiod -ddd snd0 pst=cfg.default: rec=0:1 play=0