Asking here to figure out why I don’t get any usable ipv6 on my machine when booted on nomadbsd.
I have the following configuration in /etc/rc.conf
ipv6_activate_all_interfaces="YES"
ifconfig_em0="up DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"
rtsold_enable="YES"
wlans_iwlwifi0="wlan0"
create_args_wlan0="down country FR"
ifconfig_wlan0="up scan WPA DHCP"
ifconfig_wlan0_ipv6="inet6 accept_rtadv"
ifconfig -a
gives
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=0
ether 10:3d:1c:96:d5:43
inet 192.168.0.37 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::123d:1cff:fe96:d543%wlan0 prefixlen 64 scopeid 0x3
groups: wlan
ssid mozillamessaging channel 2 (2417 MHz 11g) bssid 14:0c:76:ad:c9:e9
regdomain ETSI country FR authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 3:128-bit txpower 30 bmiss 7 scanvalid 60
protmode CTS wme roaming MANUAL bintval 120
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
When booting rtsol is giving me some message but it scroll way too fast for me to capture it.
rtsol -D
says :
root@NomadBSD:~ # rtsol -D wlan0
rtsol: checking if wlan0 is ready...
rtsol: wlan0 is ready
rtsol: set timer for wlan0 to 0s
rtsol: New timer is 0s
rtsol: timer expiration on wlan0, state = 1
rtsol: set timer for wlan0 to 4s
rtsol: New timer is 4s
rtsol: received RA from fe80::160c:76ff:fead:c9e8 on wlan0, state is 2
rtsol: ManagedConfigFlag on wlan0 is turned on
rtsol: OtherConfigFlag on wlan0 is turned on
rtsol: Processing RA
rtsol: ndo = 0x9ead84434d0
rtsol: ndo->nd_opt_type = 3
rtsol: ndo->nd_opt_len = 4
rtsol: ndo = 0x9ead84434f0
rtsol: ndo->nd_opt_type = 25
rtsol: ndo->nd_opt_len = 3
rtsol: nsbuf = fd0f:ee:b0::1
rtsol: ndo = 0x9ead8443508
rtsol: ndo->nd_opt_type = 5
rtsol: ndo->nd_opt_len = 1
rtsol: ndo = 0x9ead8443510
rtsol: ndo->nd_opt_type = 1
rtsol: ndo->nd_opt_len = 1
rtsol: rsid = [wlan0:slaac]
rtsol: write to child = nameserver (11)
rtsol: write to child = fd0f:ee:b0::1(13)
rtsol: write to child =
(1)
rtsol: script "/sbin/resolvconf" status 0
rtsol: stop timer for wlan0
rtsol: RA expiration timer: type=25, msg=fd0f:ee:b0::1, expire=1d0h0m0s
rtsol: there is no timer
root@NomadBSD:~ #
I can ping another BSD box running on my local network
root@NomadBSD:~ # ping6 truenas.local
PING(56=40+8+8 bytes) fe80::123d:1cff:fe96:d543%wlan0 --> 2a01:e0a:abd:8a90::2650:832b%3
16 bytes from 2a01:e0a:abd:8a90::2650:832b, icmp_seq=0 hlim=64 time=1.984 ms
16 bytes from 2a01:e0a:abd:8a90::2650:832b, icmp_seq=1 hlim=64 time=1.196 ms
But pinging google fails
root@NomadBSD:~ # ping6 google.com
PING(56=40+8+8 bytes) fe80::123d:1cff:fe96:d543%wlan0 --> 2a00:1450:4007:80d::200e
^C
--- google.com ping statistics ---
15 packets transmitted, 0 packets received, 100.0% packet los
Netstat -rn says:
root@NomadBSD:~ # netstat -rn
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.0.254 UGS wlan0
127.0.0.1 link#2 UH lo0
192.168.0.0/24 link#3 U wlan0
192.168.0.37 link#2 UHS lo0
Internet6:
Destination Gateway Flags Netif Expire
::/96 link#2 URS lo0
default fe80::160c:76ff:fead:c9e8%wlan0 UG wlan0
::1 link#2 UHS lo0
::ffff:0.0.0.0/96 link#2 URS lo0
2a01:e0a:abd:8a90::/64 link#3 U wlan0
fe80::%lo0/10 link#2 URS lo0
fe80::%em0/64 link#1 U em0
fe80::86a9:38ff:fe6e:3865%lo0 link#2 UHS lo0
fe80::%lo0/64 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
fe80::%wlan0/64 link#3 U wlan0
fe80::123d:1cff:fe96:d543%lo0 link#2 UHS lo0
ff02::/16 link#2 URS lo0
root@NomadBSD:~ #
I think I’m running the latest nomadbsd release root@NomadBSD:~ # uname -a FreeBSD NomadBSD 14.1-RELEASE-p2 FreeBSD 14.1-RELEASE-p2 NOMADBSD amd64
I have tried this trick to see the initial console message from rtsol:
# uncomment this to log all writes to /dev/console to /var/log/console.log
# touch /var/log/console.log and chmod it to mode 600 before it will work
#https://forums.FreeBSD.org/threads/how-to-get-complete-boot-message.53547/post-301139
console.info /var/log/console.log
But do not get any console.log after reboot.
Any idea what I’m missing in my conf, ideas on how to debug this further?