logs archiveChat DB / Freenode / #freebsd / 2015 / November / 5 / 6
BillyZane
ok i added the default router setting. i guess i gotta do the.... dns server now
DanDare
Hi. Ports updates are independent of base system updates. Despite the FreeBSD release you use it always uses the same ports source?
*that was a question, missed the '?'
SpeakerToMeat
BillyZane: Aye
DanDare: Yes.
DanDare: Afaik.
DanDare: It's why I'm having a sh*tload of fun after a portsnap update on a 9.0
DanDare: If using the svn method, afaik, there are hackish ways to update to a certain checkpoint
Not clean though
But, doable
Not sure how current svn is though
DanDare
SpeakerToMeat, what type of fun? ports not working very right with 9.0 ?
SpeakerToMeat
I think it was left to die
DanDare: Mainly every install is now a big chance of a system breakage, or a looong dependency (half the system) install
bounce
you sure sound like an expert
SpeakerToMeat
bounce: Not at all, it's just I've faced this before
DanDare
SpeakerToMeat, how to avoid it? Keeping base system updated to a reasonable(more recent) version? I been reading that it was a huge change in FreeBSD from 9.0 to 10.0
SpeakerToMeat
Anything else I need to a chroot other than /dev and /proc ?
DanDare
SpeakerToMeat, sorry but I dont get it
SpeakerToMeat
DanDare: That would be the best bet regarding security. But, not necessarily easy and fun... I'm just right now creating a VM copy of a running 9.0 machine to do a test upgrade to 10.2 before doing a real life one
DanDare
I see
SpeakerToMeat
Sigh, Nope chroot is not the solution here.
(Action) thinks
DanDare
I had the impression freebsd version upgrades were more decent comparing against linux world. Had this impression considering what I read about the subject
SpeakerToMeat
Afaik they are... but you're doing big jumps, not only in kernel but packages and base system, so configs can change, become invalid, etc
RobotsOnDrugs
the official ports tree is only guaranteed to work with supported versions of freebsd
for example, there was actually an explicit commit to go and rip out legacy stuff that made things work with 8.x
SpeakerToMeat
Ok my restore is working. Next time I need to READ and comprehend the error message
DanDare
SpeakerToMeat, yeah.. thats expected anyway anytime. Im just curious to know how hard it's. I fear only time will tell that to me
SpeakerToMeat
RobotsOnDrugs: So, 9.3 should work. Until dec 31 2016
RobotsOnDrugs
SpeakerToMeat: yes
SpeakerToMeat
DanDare: I will know probably today, I'm jsut restoring my dump to the vm image :D
DanDare: In macase it wont be too easy maybe, I have quite a few port installed programs in this server.
RobotsOnDrugs
minor upgrades are generally painless unless you're using freebsd-update and it decides not to work like it's supposed to
packaged base will be nice when it's finished
SpeakerToMeat
And some more hairy configs. kerberos, nfsv4, nginx, couchdb, celery, uwsgi, etc
ChibaPet
RobotsOnDrugs: I'm eager for that myself.
DanDare
SpeakerToMeat, anyway: Keeping a working old install can be troublesome anyway, considering it shares the same ports source (adapted for the newer versions), im getting it right?
SpeakerToMeat
RobotsOnDrugs: What I'm sad about is it seems freebsd-update can't read packages off a downloaded iso. that would save so much time
BillyZane
i'm not exactly sure what i'm suppose to put in resolv.conf , i know i need a nameserver and a domain. is this something specific to my ISP
SpeakerToMeat
DanDare: It can get tricky yes.
DanDare
BillyZane, yeah. Or general/public DNS resolver like 8.8.8.8
SpeakerToMeat
BillyZane: just use "nameserver 192.168.1.1" without the quotes, your router probably has a dns forwarder. And it uses your ISP's dns from dhcp, or some universal ones like google
BillyZane
oh i see
SpeakerToMeat
DanDare: On one hand you can leave your ports unupdated (with security bugs as it is), but with time many source packages might disappear so you can't fetch to build
BillyZane
so... nameserver 192.168.1.1 , and that's it?
SpeakerToMeat
BillyZane: Yes, domain is used for "quick" searchs inside a domain, you do not need it.
DanDare
SpeakerToMeat, im ok about not touching what is actually working. But security updates are very desirable
SpeakerToMeat
BillyZane: That is, if you work in bigcorp you set the domain to bigcorp.com in your dhcp server, so your users can type "mail" instead of "mail.bigcorp.com" (which actually refers to "mail.bigcorp.com."
DanDare: Yes, yes they are
DanDare
BillyZane, well it will be 192.168.1.1 if your router IP is 192.168.1.1 :p
VVelox
uhm... just did a recent update to 10... any one else have control-C begin working like control-D?
BillyZane
SpeakerToMeat, that is a trip
streak
exit
ha, damnit
SpeakerToMeat
DanDare: It's always better to use your router as dns if it has a forwarder/recursive. Since then you change dns on all systems by changing the one on your router
DanDare
SpeakerToMeat, sure
BillyZane
so, i did not have a file resolv.conf in /etc/, so i created one. it has only 1 line: nameserver 192.168.1.1 , i saved it. should i reboot now?
SpeakerToMeat
No, you do not need to reboot for resolv changes
BillyZane
ok, i typed "ping google.com"
normally, i'd be given a huge error msg
SpeakerToMeat
That's nto normal :P
BillyZane
but, it actually took a long time this time, but it still says cannot resolve google.com
SpeakerToMeat
Hmmm
BillyZane
well, i don't mean huge error msg. i mean it says can't resolve host name. to me that's a huge error msg! haha
SpeakerToMeat
BillyZane: Somethign is wrong, your router, ip, or it doesnt have a dns forwarder, etc.
BillyZane: ping 192.168.1.1
BillyZane: Do you have a response?
BillyZane: If you do, ping 8.8.8.8
BillyZane
it says ping: sendto: Host is down
SpeakerToMeat
and see if you have a response
BillyZane
with regard to 192.168.1.1
DanDare
BillyZane, maybe your router is not configured to dns forward. You can test resolv.conf with 8.8.8.8, if that doesnt work so your problem is not resolv.conf
SpeakerToMeat
Then that's not your router's ip. Or the router is not working
BillyZane: Try to ping google anyhow (8.8.8.8.8)
BillyZane
ok i'll give it a try, with 8.8.8.8
« prev 1 2 3 4 5 6