Solved FreeBSD not updating

Hello, I am trying to update FreeBSD but I am getting the error. How can I solve this situation?

Error:
Code:
root@freebsd:~ # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... none found.
Fetching public key from update.FreeBSD.org... failed.
No mirrors remaining, giving up.

This may be because upgrading from this platform (amd64) or release (13.0-RELEASE) is unspported by freebsd-update. Only platforms with Tier 1 support can be upgraded by freebsd-update. See https://www.freebsd.org/platforms/index.html for more info.
 
I have an internet connection, but how do I make sure it's working correctly?
Few tests you can do; ping 8.8.8.8 should work. And drill update.freebsd.org should give you a result too.
 
Few tests you can do; ping 8.8.8.8 should work. And
Code:
root@FreeBSD:~ # ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 databytes
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
---8.8.8.8 ping statics---
10 packets transmitted, 0 packets received, 100.0% packet loss


drill update.freebsd.org should give you a result too.
Code:
root@FreeBSD:~ # drill update.freebsd.org
Warning: Could not create a resolver structure: Could not open the files ((null))
Try drill @localhost if you have a resolver running on your machine.
 
And is it on bare-metal or in a VM?
Considering he can copy/paste the output of the FreeBSD-console my money is on a VM.
And yeah, the host of the VM can be online as much as it wants, if the VM is not properly configured.....
 
Well, it's obvious from the ping(8) test that your machine isn't online.
Someone said they changed DNS while solving the problem.How can I change my DNS?

And is it on bare-metal or in a VM?
Considering he can copy/paste the output of the FreeBSD-console my money is on a VM.
And yeah, the host of the VM can be online as much as it wants, if the VM is not properly configured.....
No I'm installing on my host, not a VM.I'm typing here with my hand instead of copy-paste with my phone. :D
 
Let's say you can connect to your MODEM panel via something like this: 192.168.*.*
e.g. 192.168.0.1

And the name of your NIC aka Network Card is bge0
-- use ifconfig(8) to find yours.

Comment out everything in /etc/rc.conf and put these lines
-- replace bge0 with you're NIC

/etc/rc.conf
Code:
hostname="yourHostName"
ifconfig_bge0="DHCP"

make sure /etc/resolv.conf looks like this:

/etc/resolv.conf
Code:
nameserver 192.168.0.1

Finally run following command
# /etc/rc.d/netif restart && /etc/rc.d/routing restart

And ping(8) again:
# ping freebsd.org
 
Someone said they changed DNS while solving the problem.How can I change my DNS?
That's not going to make ping(8) work. If you can't ping(8) the outside world you can't do DNS either.

How is your network interface configured? DHCP? Static addresses? Wired or wireless?
 
Then there's no network configured at all. What does ifconfig output? Do you see any other interface besides lo0?
 
Then there's no network configured at all. What does ifconfig output? Do you see any other interface besides lo0?
Many text have. I can't post it here because I can't copy it.I can't upload a photo either.Is it okay if I reinstall and configure it? How can I configure it?
 
Many text have.
Ok, that implies there are more interfaces, that's good. Try ifconfig -l (that's a lower case L), that should be a much smaller list.

I can't upload a photo either
It should be fine. Just don't post a super big file.
Is it okay if I reinstall and configure it?
There is no need for that. Just learn to deal with issues like this without resorting to doing a reinstall. You're going to need that knowledge again, and again.
 
Ok, so you have a re(4) interface. Add this to /etc/rc.conf:
Code:
ifconfig_re0="DHCP"
And restart.
 
How can I configure it?
This still may be of help to you in configuration of your system:

As far as networking, during the installation phase:
Now you'll configure your network interface. Choose your Ethernet card for starters. FreeBSD is not Linux, so it will have a different designation but you should be able to pick it out from a wireless card.

Now choose Yes when asked if you'd like to configure IPv4.

Choose Yes to configure DHCP. It will scan and pick up your router interface, go with it.

Now you know what your Ethernet card designation is.
When it asks if I want to configure DCHP, I'm already connect to my router so I do not enter a network name when that screen presents itself. I just press enter and the router sets it up for me.

I choose No when asked if I'd like to configure IPv6.

That's how I always do it and I'm online now.
 
I used vi but I cant save.
vi(1) has a bit of a steep learning curve, ee(1) is a little easier to use for new users. In any case sysrc(8) is quite a useful tool to get, set or remove parameters from /etc/rc.conf.

I assume, you've set the thread title to "solved", that things are working now?
 
Back
Top