HP Pavilion Desktop 590 - FreeBSD

Hardware info on main page.

This machine runs the amd64 version of FreeBSD.

nvd0 Toshiba 256 GB SSD

=>       34  500118125    nvd0  GPT  (238G)
         34       2014          - free -  (1.0M)
       2048     532480  nvd0p1  efi  (260M)
     534528     409600  nvd0p2  efi  (200M)
     944128   33554432  nvd0p3  freebsd-swap  (16G)
   34498560  234881024  nvd0p4  freebsd-ufs  (112G) FreeBSD 11.4-release
  269379584  230686720  nvd0p5  freebsd-ufs  (110G) FreeBSD 12.2-release
  500066304      51855          - free -  (25M)

ada0 Corsair 240 GB SSD

=>       64  468862001    ada0  GPT  (224G)
         64        960  ada0p2  efi  (480K)
       1024  104857600  ada0p4  openbsd-data  (50G)   OpenBSD 6.8
  104858624     532480  ada0p1  efi  (260M)
  105391104    8388608  ada0p3  freebsd-swap  (4.0G)
  113779712  125829120  ada0p5  freebsd-ufs  (60G)     FreeBSD 13.0-release
  239608832  229253233          - free -  (109G)

kvm: connected to port 1 on the Aten kvm on the right side.

keys: F1 - everything, F9 - boot, F10 - BIOS setup,

boot loader: set boot_verbose=YES, set currdev=disk0p5, boot-conf

Archives: 2020, 2021,

Links

ddclient.net, Github ddclient,

Local links

isp - HomeNet, Lenovo ideapad 530S,

Work log

2024-06-15: ada0p5 - a watchdog timeout on the internal interface today

Jun 15 19:31:30 kg-omni1 kernel: int0: watchdog timeout
Jun 15 19:31:30 kg-omni1 kernel: int0: link state changed to DOWN
Jun 15 19:31:34 kg-omni1 kernel: int0: link state changed to UP

2024-04-24: ada0p5 - a watchdog timeout on the internal interface today

Apr 24 06:44:56 kg-omni1 kernel: int0: watchdog timeout
Apr 24 06:44:56 kg-omni1 kernel: int0: link state changed to DOWN
Apr 24 06:45:00 kg-omni1 kernel: int0: link state changed to UP

2024-03-16: ada0p5 - a couple of watchdog timeouts on the internal interface today

Mar 16 00:03:02 kg-omni1 kernel: int0: watchdog timeout
Mar 16 00:03:02 kg-omni1 kernel: int0: link state changed to DOWN
Mar 16 00:03:07 kg-omni1 kernel: int0: link state changed to UP
Mar 16 07:31:59 kg-omni1 kernel: int0: watchdog timeout
Mar 16 07:31:59 kg-omni1 kernel: int0: link state changed to DOWN
Mar 16 07:32:03 kg-omni1 kernel: int0: link state changed to UP

2024-02-15: ada0p5 - ext interface got a new ip address today.

Feb 15 00:56:17 kg-omni1 dhclient: New IP Address (ext0): 178.74.31.75
Feb 15 00:56:17 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.248.0
Feb 15 00:56:17 kg-omni1 dhclient: New Broadcast Address (ext0): 178.74.31.255
Feb 15 00:56:17 kg-omni1 dhclient: New Routers (ext0): 178.74.24.1

Feb 15 02:20:24 kg-omni1 dhclient: New IP Address (ext0): 178.74.6.76
Feb 15 02:20:24 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.248.0
Feb 15 02:20:24 kg-omni1 dhclient: New Broadcast Address (ext0): 178.74.7.255
Feb 15 02:20:24 kg-omni1 dhclient: New Routers (ext0): 178.74.0.1

2024-02-08: ada0p5 - int interface flapped

Feb  8 01:26:53 kg-omni1 kernel: int0: watchdog timeout
Feb  8 01:26:53 kg-omni1 kernel: int0: link state changed to DOWN
Feb  8 01:26:57 kg-omni1 kernel: int0: link state changed to UP

2024-01-03: ada0p5 - named - I updated the root zone hints file by fetching a new one from named.root and installing it in /usr/local/etc/namedb, then restarting named. The previous one was from 2017.

2023-10-31: ada0p5 - ext interface went down a bit. I even got an (automated) text message from GC (GlobalConnect - HomeNet) about it.

Oct 31 23:52:46 kg-omni1 kernel: ext0: link state changed to DOWN
Oct 31 23:52:51 kg-omni1 kernel: ext0: link state changed to UP
Oct 31 23:53:07 kg-omni1 kernel: ext0: link state changed to DOWN
Oct 31 23:53:26 kg-omni1 kernel: ext0: link state changed to UP
Oct 31 23:53:33 kg-omni1 dhclient: New IP Address (ext0): 81.191.194.240
Oct 31 23:53:33 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.240.0
Oct 31 23:53:33 kg-omni1 dhclient: New Broadcast Address (ext0): 81.191.207.255
Oct 31 23:53:33 kg-omni1 dhclient: New Routers (ext0): 81.191.192.1
Oct 31 23:54:27 kg-omni1 dhclient: New IP Address (ext0): 81.191.194.240
Oct 31 23:54:27 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.240.0
Oct 31 23:54:27 kg-omni1 dhclient: New Broadcast Address (ext0): 81.191.207.255
Oct 31 23:54:27 kg-omni1 dhclient: New Routers (ext0): 81.191.192.1

2023-10-02: ada0p5 - ext interface changes today

Oct  2 01:19:15 kg-omni1 kernel: ext0: link state changed to DOWN
Oct  2 01:19:20 kg-omni1 kernel: ext0: link state changed to UP
Oct  2 01:19:36 kg-omni1 kernel: ext0: link state changed to DOWN
Oct  2 01:19:53 kg-omni1 kernel: ext0: link state changed to UP
Oct  2 01:20:07 kg-omni1 dhclient: New IP Address (ext0): 81.191.194.240
Oct  2 01:20:07 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.240.0
Oct  2 01:20:07 kg-omni1 dhclient: New Broadcast Address (ext0): 81.191.207.255
Oct  2 01:20:07 kg-omni1 dhclient: New Routers (ext0): 81.191.192.1

2023-09-05: I got text messages from my ISP (GlobalConnect, previously HomeNet) today, see the HomeNet page. Changes on the ext interface

Sep  5 10:43:14 kg-omni1 dhclient: New IP Address (ext0): 81.191.194.240
Sep  5 10:43:14 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.240.0
Sep  5 10:43:14 kg-omni1 dhclient: New Broadcast Address (ext0): 81.191.207.255
Sep  5 10:43:14 kg-omni1 dhclient: New Routers (ext0): 81.191.192.1

2023-06-13: ada0p5 - ext interface changes today

Jun 13 01:45:53 kg-omni1 dhclient: New IP Address (ext0): 193.91.167.160
Jun 13 01:45:53 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.240.0
Jun 13 01:45:53 kg-omni1 dhclient: New Broadcast Address (ext0): 193.91.175.255
Jun 13 01:45:53 kg-omni1 dhclient: New Routers (ext0): 193.91.160.1
Jun 13 03:59:52 kg-omni1 dhclient: New IP Address (ext0): 81.191.194.240
Jun 13 03:59:52 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.240.0
Jun 13 03:59:52 kg-omni1 dhclient: New Broadcast Address (ext0): 81.191.207.255
Jun 13 03:59:52 kg-omni1 dhclient: New Routers (ext0): 81.191.192.1

2023-04-27: ada0p5 - the internet connection went down around 21:06 yesterday. From /var/log/messages

Apr 27 21:06:16 kg-omni1 ddclient[883]: WARNING:  cannot connect to api.ipify.org:80 socket: IO::Socket::INET: Bad hostname 'api.ipify.org'
Apr 27 21:06:16 kg-omni1 ddclient[883]: WARNING:  found neither ipv4 nor ipv6 address
Apr 27 21:16:26 kg-omni1 ddclient[883]: WARNING:  cannot connect to api.ipify.org:80 socket: IO::Socket::INET: Bad hostname 'api.ipify.org'
Apr 27 21:16:26 kg-omni1 ddclient[883]: WARNING:  found neither ipv4 nor ipv6 address

at 08:32 this mrning, I got a text message from the ISP "Kjære kunde. Vi har mistet kontakten med sentralen du er tilkoblet. Montør er bestilt for feilsøk på lokasjon." and at 11:57 today

Apr 28 11:57:24 kg-omni1 dhclient: New IP Address (ext0): 193.91.167.160
Apr 28 11:57:24 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.240.0
Apr 28 11:57:24 kg-omni1 dhclient: New Broadcast Address (ext0): 193.91.175.255
Apr 28 11:57:24 kg-omni1 dhclient: New Routers (ext0): 193.91.160.1

the internet connection was back

2022-12-24: ada0p5 - the internal interface was flapping up and down (and not passing traffic). Using ifconfig to set it down and then up didn't help, so in the end I just rebooted the firewall.

Dec 24 21:55:14 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:55:14 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:55:19 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:55:24 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:55:24 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:55:28 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:55:33 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:55:33 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:55:37 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:55:42 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:55:42 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:55:46 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:55:53 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:55:53 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:55:57 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:56:08 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:56:08 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:56:12 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:56:29 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:56:29 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:56:34 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:56:50 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:56:50 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:56:54 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:56:59 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:56:59 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:57:04 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:57:15 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:57:15 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:57:19 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:57:36 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:57:36 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:57:40 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:57:59 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:57:59 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:58:03 kg-omni1 kernel: int0: link state changed to UP
Dec 24 21:58:44 kg-omni1 kernel: int0: watchdog timeout
Dec 24 21:58:44 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 21:58:49 kg-omni1 kernel: int0: link state changed to UP
Dec 24 22:01:19 kg-omni1 kernel: int0: watchdog timeout
Dec 24 22:01:19 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 22:01:24 kg-omni1 kernel: int0: link state changed to UP
Dec 24 22:03:08 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 22:03:12 kg-omni1 kernel: int0: link state changed to UP
Dec 24 22:06:06 kg-omni1 kernel: int0: watchdog timeout
Dec 24 22:06:06 kg-omni1 kernel: int0: link state changed to DOWN
Dec 24 22:06:10 kg-omni1 kernel: int0: link state changed to UP
Dec 24 22:06:29 kg-omni1 shutdown: reboot by root: 

2022-12-13: ada0p5 - ddclient - I changed a parameter in the ddclient.conf file:

daemon=600                              # check every 10 miutes

it used to be

daemon=360                              # check every 6 minutes

but that doesn't make sense when the timeout is

timeout=480

which is 8 minutes. Then I restarted ddclient.

2022-08-07: ada0p5 - there was a syntax error in my firewall script, this prevented dhcp from working on the "wireless via Linux vm" on the Lenovo ideapad 530S.

# History
# 2022-08-07 corrected a syntax error in a DHCP rule
#            ${fwcmd} add pass udp from any to any 67 via ${iif}
# 2020-08-02 add another rule for internal DHCP
#            ${fwcmd} add pass udp from any to any 67 via $iif}

2022-07-26: ada0p5 - ext interface dip today

Jul 25 22:49:48 kg-omni1 kernel: ext0: link state changed to DOWN
Jul 25 22:49:50 kg-omni1 kernel: ext0: link state changed to UP
Jul 25 22:50:29 kg-omni1 kernel: ext0: link state changed to DOWN
Jul 25 22:50:31 kg-omni1 kernel: ext0: link state changed to UP
Jul 25 22:50:41 kg-omni1 kernel: ext0: link state changed to DOWN
Jul 25 22:51:23 kg-omni1 dhclient[1927]: send_packet: No buffer space available
Jul 25 22:51:38 kg-omni1 kernel: ext0: link state changed to UP
Jul 25 22:51:41 kg-omni1 dhclient: New IP Address (ext0): 195.139.122.159
Jul 25 22:51:41 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.240.0
Jul 25 22:51:41 kg-omni1 dhclient: New Broadcast Address (ext0): 195.139.127.255
Jul 25 22:51:41 kg-omni1 dhclient: New Routers (ext0): 195.139.112.1
Jul 25 22:52:39 kg-omni1 dhclient: New IP Address (ext0): 195.139.122.159
Jul 25 22:52:39 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.240.0
Jul 25 22:52:39 kg-omni1 dhclient: New Broadcast Address (ext0): 195.139.127.255
Jul 25 22:52:39 kg-omni1 dhclient: New Routers (ext0): 195.139.112.1

2022-06-07: ada0p5 - something happened in ext interface today

Jun  7 21:31:32 kg-omni1 dhclient: New IP Address (ext0): 195.139.122.159
Jun  7 21:31:32 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.240.0
Jun  7 21:31:32 kg-omni1 dhclient: New Broadcast Address (ext0): 195.139.127.255
Jun  7 21:31:32 kg-omni1 dhclient: New Routers (ext0): 195.139.112.1

2022-05-01: ada0p5 - another watchdog timeout on int0

May  1 21:38:13 kg-omni1 kernel: int0: watchdog timeout
May  1 21:38:13 kg-omni1 kernel: int0: link state changed to DOWN
May  1 21:38:18 kg-omni1 kernel: int0: link state changed to UP

2022-04-06: ada0p5 - ext0 interface had a dip this evening

root@kg-omni1:~ # egrep UP\|DOWN\|dhclient /var/log/messages                                                         Apr  6 21:57:29 kg-omni1 kernel: ext0: link state changed to DOWN
Apr  6 21:57:32 kg-omni1 kernel: ext0: link state changed to UP
Apr  6 21:58:10 kg-omni1 kernel: ext0: link state changed to DOWN
Apr  6 21:58:13 kg-omni1 kernel: ext0: link state changed to UP
Apr  6 21:58:23 kg-omni1 kernel: ext0: link state changed to DOWN
Apr  6 21:59:17 kg-omni1 dhclient[1927]: send_packet: No buffer space available
Apr  6 21:59:20 kg-omni1 kernel: ext0: link state changed to UP
Apr  6 22:00:25 kg-omni1 dhclient: New IP Address (ext0): 193.69.227.5
Apr  6 22:00:25 kg-omni1 dhclient: New Subnet Mask (ext0): 255.255.248.0
Apr  6 22:00:25 kg-omni1 dhclient: New Broadcast Address (ext0): 193.69.231.255
Apr  6 22:00:25 kg-omni1 dhclient: New Routers (ext0): 193.69.224.1