And there it is: your nameserver should be your router/gateway, not localhost. Change the nameserver entry to be the IP address of your gateway, which I believe is 192.168.0.1
HI MateHi there,
how do I do that?
Kind regards
Nick
sudo pkg install nano
sudo nano /etc/resolv.conf
# Generated by resolvconf
nameserver 192.168.0.1
#nameserver 127.0.0.1
options edns0
sudo service netif restart
sudo ee /etc/resolv.conf
Especially since the OP doesn't have any internet access that would allow him to install new packages.
Code:sudo ee /etc/resolv.conf
Will do the trick. Then you can do like @NapoleonWilson suggested with the arrow keys etc... to edit the file.
When you are done editing the file, use the ESCAPE key of your keyboard to show the menu that will allow you to leave the editor while saving your changes.
So now you have internet, congratulations!
The next step is to install and configure the X server, it should be quick if your hardware is supported, then once this is done you should have no problem to run firefox. You can see the handbook for detailed instructions:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
Make sure to follow the steps in the handbook about gnome,I have done pkg install xorg and am currently waiting for pkg install gnome3 to finish. It's been going for the last 10 minutes or so. I'm keeping all fingers and toes crossed it does the trick.
local_unbound_enable="YES"
auto-trust-anchor-file: /var/unbound/root.key
I think there was nothing "wrong" in the configuration of the system. Given the content of /etc/resolv.conf, it seems that the OP uses local-unbound(8). To verify this, check the presence of the following line in your /etc/rc.conf.
Code:local_unbound_enable="YES"
If I am right, then my guess is that the DNS servers used by the OP do no use DNSSEC (you can run a test here : https://dnssec.vs.uni-due.de/). By default, local-unbound.conf(5) comes with the line
If I remember correctly, when this line is present but the DNS is not configured for DNSSEC, it will not resolve adresses. My advice is to put your /etc/resolv.conf back the way it was and comment the line above in /etc/unbound/unbound.conf.Code:auto-trust-anchor-file: /var/unbound/root.key
As a side note, if local-unbound(8) is enabled, it will erase the modification you made to /etc/resolv.conf during the next reboot (and you will lose internet again).
Bash:sudo pkg install nano
I think there was nothing "wrong" in the configuration of the system. Given the content of /etc/resolv.conf, it seems that the OP uses local-unbound(8). To verify this, check the presence of the following line in your /etc/rc.conf.
Code:local_unbound_enable="YES"
If I am right, then my guess is that the DNS servers used by the OP do no use DNSSEC (you can run a test here : https://dnssec.vs.uni-due.de/). By default, local-unbound.conf(5) comes with the line
If I remember correctly, when this line is present but the DNS is not configured for DNSSEC, it will not resolve adresses. My advice is to put your /etc/resolv.conf back the way it was and comment the line above in /etc/unbound/unbound.conf.Code:auto-trust-anchor-file: /var/unbound/root.key
As a side note, if local-unbound(8) is enabled, it will erase the modification you made to /etc/resolv.conf during the next reboot (and you will lose internet again).
local_unbound_enable="YES"
in /etc/rc.conf. However, rebooting my laptop did not reset my /etc/resolv.conf so I guess I was a bit lucky there. Either way, I will "fix" my setup by commenting the line auto-trust-anchor-file: /var/unbound/root.key
.Or, I guess I was wrong. I would have bet (and lost) 100€ on that. May be that was dhclient(8) that modified my /etc/resolv.conf at reboot then. I can't remember. Anyway, thank you for correcting that point.so I guess I was a bit lucky there
At least you learned a lot in that period, so it wasn't entirely useless. Even knowing how not to do things is valuable knowledge. Just take things step by step. Don't try to cut corners, be methodical, and you'll be fineit's been 8 and a half hours, multiple smoke breaks, and 5 weeks in total if you include all the time I have tried to do this on my own, but, I now have a fully functional system with gnome desktop and all that comes with it. I just wish I had tried asking here 5 weeks ago instead of struggling to the point of almost throwing the towel in.
I checked my laptop on which I installed FreeBSD 11.2 a few weeks ago and indeed, I also modified my /etc/resolv.conf to use other name servers so I could browse the Interwebs while I havelocal_unbound_enable="YES"
in /etc/rc.conf. However, rebooting my laptop did not reset my /etc/resolv.conf so I guess I was a bit lucky there. Either way, I will "fix" my setup by commenting the lineauto-trust-anchor-file: /var/unbound/root.key
.
Good news. I guess the next step for you is to have a look at dns/void-zones-tools .This time using my local unbound daemon.
At least you learned a lot in that period, so it wasn't entirely useless. Even knowing how not to do things is valuable knowledge. Just take things step by step. Don't try to cut corners, be methodical, and you'll be fine
If anyone here is a UK forum member
That said I've taken advice given here and decided to improve my knowledge of TCP/IP. I've purchased TCP/IP in 24hrs from amazon in an effort to get to grips with it. It looked like a decent book for a complete novice but if anyone here has any better recommendations I'm all ears.
That said I've taken advice given here and decided to improve my knowledge of TCP/IP. I've purchased TCP/IP in 24hrs from amazon in an effort to get to grips with it. It looked like a decent book for a complete novice but if anyone here has any better recommendations I'm all ears.
If anyone here is a UK forum member
That's definitely the best book if you really want to know all the ins and outs in excruciating detail. Maybe not so good for beginners, it might be a bit too advanced. Certainly a good read if you already know some of the basics. It's definitely a worthwhile investment, even if you only use it as reference.With regards to books about TCP/IP, the canonical UNIX tome is probably TCP/IP Illustrated by Richard Stevens.