logs archiveChat DB / Freenode / #freebsd / 2015 / November / 5 / 5
SpeakerToMeat
yes
I'm out to lunch see you all later
smojphace
SpeakerToMeat: I guess you could create gpart & ufs on raw image using FreeBSD installer under qemu, and just use netcat to transfer the file from linux host to FreeBSD guest..
xnil
i don't understand how to install from a virtual machine image. i can get to the bsdinstall all the way to partitioning but i'm not sure how to make FreeBSD install itself on one of these partitions that is automatically set up for me
i also cannot find any documentation on installing these images.
qdata
you don't install a pre-built image, you import it. If you want to do an install, create a VM and attach the disk1 iso to the artificial CD/DVD and when you start the VM install as normal (depending on which device you have prioritized in the boot ordering)
I usually leave the disk as the first boot as it is not initialized booting will skip over it and proceed on to booting from the CD/DVD drive (that way I don't have to change the boot order in between)
caveat here is most of my experience is with virtualbox, don't know qemu/kvm and such
xnil
i am using virtualbox. i figured all that out after i asked, but i cannot get it to connect to my network without an ethernet cable, so i'm giving up
roy2098
Hi All - trying to debug why mbuffer is pinning cpu at 100% during a zfs send | zfs recv
slows incremental send|recv to a crawl
qdata
the standard default for networking in vbox is nat. this is easy as it supplies dhcp, but can be problematic for various reasons. I generally use bridged, and set my networking manually with static IPs that match my external network segment
roy2098
worked fine and works fine for me everywhere but one server
nadley
hi all
a little bit new with freebsd. I have install a 10.2 and do the freebsd update to 10.2-RELEASE-p7. And i'm not able to start the ntpd service. and nothing in /var/log/messages.
BillyZane
hello
kerio
p7? :O
i don't have a p7
yay freebsd update ^_^
waaaaaaaait
kernel update? fu*k
nadley
kerio: don't know I'm quite new I did freebsd-update fetch and freebsd-update install
kerio
nadley: you can just `freebsd-update fetch install`
all in one step
nadley
nice to know
but don't know why ntpd is not running and can't find process for it
I tried to run it manualy here is the result http://pastebin.com/pU2kYfLn
BillyZane
hello
i am very new to freebsd
i am trying to get networking working
i am running freebsd on a vmware. i read online i have to use the bridged setting
i'm also reading this: https://www.freebsd.org/doc/en/articles/linux-users/network.html
ifconfig is working
nadley
kerio: found my solution here https://forums.freebsd.org/threads/problem-with-vps-time-1-hour-behind.53885/#post-303122
BillyZane
hmmm
on my home network, i have assigned a static IP for this computer (which is running the VMware), am i to believe that the proper modification to /etc/rc.conf is ifconfig_em0="192.168.1.151 netmask 255.255.255.0"
CrtxReavr
ifconfig_em0="192.168.1.151/24" <=== works too
BillyZane
is there a reason for the /24 ?
turtle
it implies the netmask
BillyZane
oh, that seems very random to me, but i'll go with it, lol
turtle
it's not random at all it's called cidr notation
kerio
CIDR notation is way better
BillyZane
i'll have to look in to that
kerio
anyway
do note that bridging only works if you're connected to a lan
SpeakerToMeat
nadley: Check if your rc config changed. Maybe ntp's enable got scrubbed?
BillyZane
hmm.. it seems i don't know how to add a user that can use the su command
SpeakerToMeat
Ugh my restore is faaaaailing
faaaail
CyberStorm2
SpeakerToMeat: baaacck upps! Baack ups!!
BillyZane
does wheel have to be the group?
i don't get this
i didn't invite my user to 'wheel' group
SpeakerToMeat
A user needs to be in the wheel group to sudo.
afaik
BillyZane
what !!!
i did not know that. i thought it was just some random example
qdata
vi /etc/group and add the user to wheel
SpeakerToMeat
to su actually
you can setup sudos that don't require wheel group. But the user must be in wheel to su
Ok restore is not working for me :(
qdata
when a user is in more than one group the default group will be the one in vipw
SpeakerToMeat
Yeah
Freebsd would benefit from adding a moduser :D
BillyZane
hi
i added the user to wheel
and i modified rc.conf by adding an additional line, ifconfig_em0="192.168.1.150/24"
then i saved it
i rebooted
SpeakerToMeat
BillyZane: Know the new group wont show in the user's environment until you login again with him
A reboot
BillyZane
ok
alright, i've rebooted. ping google.com does not work
or rather, "cannot resolve google.com"
i'm guessing i have more to do now
qdata
that's a dns problem
SpeakerToMeat
You've configured an ip. Have you configured a default gateway too?
BillyZane
i have not
SpeakerToMeat
And, you've configured dns servers in /etc/resolv.conf ?
BillyZane
https://www.freebsd.org/doc/handbook/network-routing.html
SpeakerToMeat
you need both these things
BillyZane
i ahve not configured a dns server
SpeakerToMeat
you need a default gateway (route), and you need DNS servers configured
BillyZane
ok, i will try to do that
thank you
qdata
in rc.conf it will look like this defaultrouter="192.168.10.1" <- change IP to what yours is
BillyZane
i agree
i'm not sure what my default router or gateway is
haha
i haven't had to do this for years
SpeakerToMeat
And in /etc/resolv.conf the simplest line needed is like this: "nameserver 8.8.8.8" example with google dns
BillyZane
i'm guessing it's on my router login
bounce
did you know that all rc does is run tools like ifconfig?
SpeakerToMeat
BillyZane: It's your router's ip.
BillyZane
my router's ip, ohh.. i think it's 192.168.1.1
qdata
if there is not another gateway/firewall between you and that use that
SpeakerToMeat
What's fbsd's equivalent to mount -o bind ?
qdata: There probably wont be, since the ip he configured is in the same subnet
qdata
yup
bounce
.oO( what's this, feeding hour for spoonfeeders? )
« prev 1 2 3 4 5 6 next »