I recently installed FreeBSD 12.1 on my computer.
After connecting the computer to the modem with a LAN cable, I realized that if I ping 8.8.8.8 or any other IP address, the output of the command is "No route to host".
I realized that there is no file named resolv.conf in /etc, so I made one and put this text in it and rebooted my computer. But the problem was still not fixed
Edit: wireless network has the same problem
After connecting the computer to the modem with a LAN cable, I realized that if I ping 8.8.8.8 or any other IP address, the output of the command is "No route to host".
I realized that there is no file named resolv.conf in /etc, so I made one and put this text in it and rebooted my computer. But the problem was still not fixed
Code:
nameserver 8.8.8.8
nameserver 8.4.4.8