Tuesday, May 01, 2018

Re: Troubleshooting rl instability on OpenBSD 6.1

On 01/05/18 17:59, Stuart Henderson wrote:
> Oh, one practical thing you could try. "ifconfig rl0 down; ifconfig rl0 up"
> might clear the problem when it occurs. If so, perhaps you can detect it
> happening (e.g. pings failing) from a cronjob and do that as a workaround.

Yeah, that sounds like a plan, let's see what Charlie Root can tell me:
> # cat /usr/local/sbin/check-net
> #!/bin/sh
>
> if ! /sbin/ping -n -c 3 172.31.249.1 > /dev/null 2>&1 ; then
> /sbin/ifconfig rl0
> /usr/bin/netstat -nI rl0
> /sbin/ifconfig rl0 down
> /sbin/ifconfig rl0 up
> fi

as smtpd is working just fine.
--
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
...it's backed up on a tape somewhere.

No comments:

Post a Comment