I have a FreeBSD router doing ipnat for my home network behind it. Last night I tried to use freebsd-update last night to go from 7.2 STABLE to 8.0 STABLE, but ran into some issues. I was following the update guide below and performing the steps from my desktop machine -> SSH to my router. Hopefully someone can help me out.
This worked fine, told me the various world/ components it was going to update, presented me with messages, downloaded patches etc.
Kernel installed OK.
I went to reboot. Machine came back up without issue, but I had no DNS access from any machine on the network. Seems my /etc/resolv.conf contains wrong nameserver entries. I'll have to figure this out later.
Much stuff installs. I'm told I need to rebuild all my ports as the library numbers have changed. My tool of choice is Portmanager, so I did
portmanager -u -f
to force rebuild of everything. Partway through the first packages, my SSH connection timed out and the router appeared hung! Not good. So I hit the power button and shut it down, plugged in keyboard and monitor, brought it up again (now using a spare hardware router to serve internet to the house). FreeBSD box still has broken /etc/resolv.conf, but I am able to rebuild all ports overnight from the console.
As I understand it, this was SUPPOSED to clean up unused old libraries. However, after running the command, I got nothing except "no updates are available - run fetch first". Which I tried... still no dice. I think this is because I rebooted once while the ports were rebuilding instead of running freebsd-update install again.
So on to my two questions:
1) Any ideas on why my nameservers are not populating correctly? This didn't happen in 7.2. They are supposed to be served by DHCP from my ISP (this machine has one NIC which interfaces straight to the cable modem).
2) How do I get my old libraries cleaned up, or how do I know if they are even still installed?
Code:
# freebsd-update upgrade -r 8.0-RELEASE
Code:
# freebsd-update install
Code:
# shutdown -r now
Code:
# freebsd-update install
portmanager -u -f
to force rebuild of everything. Partway through the first packages, my SSH connection timed out and the router appeared hung! Not good. So I hit the power button and shut it down, plugged in keyboard and monitor, brought it up again (now using a spare hardware router to serve internet to the house). FreeBSD box still has broken /etc/resolv.conf, but I am able to rebuild all ports overnight from the console.
Code:
# freebsd-update install
So on to my two questions:
1) Any ideas on why my nameservers are not populating correctly? This didn't happen in 7.2. They are supposed to be served by DHCP from my ISP (this machine has one NIC which interfaces straight to the cable modem).
2) How do I get my old libraries cleaned up, or how do I know if they are even still installed?