Thanks, richardtoohey2! However, I am not sure what the output was, as the redacted version of the photo is the only version I have. Do you know which line contains the machine's IP address?
You are so close to being connected. Almost there. Domain Naming Service is
not working for you.
contents of these file?
/etc/resolv.conf /etc/hosts resolv.conf(8) man page
cat /etc/resolv.conf
# Generated by resolvconf
nameserver 192.168.1.1
I think your
nameserver is 192.168.2.1 for your wlan0 wifi network router setup
https://forums.freebsd.org/threads/unable-to-get-dns-service.89004/ Read last post on page 1.
ethernet cable was removed from ethernet socket.
drill @8.8.8.8 forums.freebsd.org
fred@Ghost14_selfbuilt_rpi4B_nginx_tst1:~ % drill @8.8.8.8 forums.freebsd.org
Error: error sending query: Error creating socket
fred@Ghost14_selfbuilt_rpi4B_nginx_tst1:~ % ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss
ethernet cable connected
drill @1.1.1.1 forums.freebsd.org
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 6700
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; forums.freebsd.org. IN A
;; ANSWER SECTION:
forums.freebsd.org. 10 IN A 204.109.59.195
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 17 msec
;; SERVER: 1.1.1.1
;; WHEN: Sat Dec 30 21:10:38 2023
;; MSG SIZE rcvd: 52
Start with talking with the router using IPv4 first using ifconfig_wlan0="WPA DHCP"
Is it specific to your router, to connect and use Ipv6.? Can you start by connecting using IPv4? has command 'bsdconfig' been deprecated? if not use that as super user 'root' to setup your wifi configuration. pkg install networkmgr can be helpful too. 3 files to edit
/boot/loader.conf /etc/rc.conf /etc/wpa_supplicant.conf
ifconfig wlan0 create wlandev iwm0 # create 'wlan0' use what is your hardware wifi interface 'iwm0'.
ifconfig wlan0 create wlandev iwm0 regdomain fcc country US ssid SpectrumSetup-0F
# I will look at your pictures and edit to match ath0 or iwm0. It was iwm0, yet could be iwn0 or iwlwifi0
killall dhclient
wpa_suppplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
dhclient wlan0
wpa_supplicant -dd -K -i wlan0 -c /etc/wpa_supplicant.conf will give you some debug and password information that can be useful
Here below are very specific examples to
manually setup wifi read both links, cause one might have info the other does not have.
https://forums.ghostbsd.org/viewtopic.php?f=64&t=526 USB WiFi dongle Edimax EW-7811un version 1
https://forums.ghostbsd.org/viewtopic.php?f=64&t=570 PCI RTL8188ce half-height pci card.
Glad to see your pictures with the pertinent information displayed. Your nameserver IP address should point to your router gateway address like 192.168.2.1
netstat -nr
sockstat -4 or sockstat -4
ping -c 3 8.8.4.4 Google DNS server
ping -c 3 he.net
DNS is working if this test goes through. If not, read,edit
/etc/resolv.conf file contents
pciconf -lv | grep -B3 network
sysctl net.wlan
ignore the bug and read the examples of using internet manual setup
ifconfig wlan0 create wlandev iwm0 regdomain fcc country US
ssid SpectrumSetup-0F
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271979#c32
Workaround update:
Well, I retrieved what I am missing. It looks adding the
ssid in the first place during "ifconfig wlan0 create" makes it stable. I found no more crashes.
# in file
/etc/rc.conf , edit iwlwifi0, iwm, iwn to match your hardware device iwm0
pciconf -lv Look for the PCIe Vendor and Product IDs so we know what actual device you are using!
usbconfig list
usbconfig -d ugenX.Y dump_device_desc To see the USB Vendor and Product IDs
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
ifconfig_wlan0_ipv6="inet6 auto_linklocal accept_rtadv"