Hi,
I'm attempting to install WebCamD and Lirc in a jail on FreeBSD 8.3.
My goal is to be able to send WOL packets to computers when I press a button on my remote control.
I am trying this out on a FreeBSD 8.3 virtual machine, and also a PFSense 2.1 virtual machine.
Ultimately I intend to have it run on my PFSense 2.1 physical router.
Unfortunately, I know almost nothing about FreeBSD, and I am trying to mostly Google my way through it.
I have mostly followed this guide so far: http://www.dscentral.in/2012/11/04/ezjail-on-pfsense/
I have EZJail, Lirc and WebCamD installed, and I did not see any errors during installation.
However, I have a problem trying to run the Cuse4BSD program that WebCamD needs.
I get these errors (both in FreeBSD 8.3 and PFSense 2.1):
These are the commands I ran to set up EZJail, Lirc and WebCamD:
Any ideas on how to trouble shoot this?
Thanks,
Erik
I'm attempting to install WebCamD and Lirc in a jail on FreeBSD 8.3.
My goal is to be able to send WOL packets to computers when I press a button on my remote control.
I am trying this out on a FreeBSD 8.3 virtual machine, and also a PFSense 2.1 virtual machine.
Ultimately I intend to have it run on my PFSense 2.1 physical router.
Unfortunately, I know almost nothing about FreeBSD, and I am trying to mostly Google my way through it.
I have mostly followed this guide so far: http://www.dscentral.in/2012/11/04/ezjail-on-pfsense/
I have EZJail, Lirc and WebCamD installed, and I did not see any errors during installation.
However, I have a problem trying to run the Cuse4BSD program that WebCamD needs.
I get these errors (both in FreeBSD 8.3 and PFSense 2.1):
Code:
kldload cuse4bsd
# kldload: can't load cuse4bsd: Operation not permitted
webcamd
# webcamd: Could not open /dev/cuse. Did you kldload cuse4bsd?
These are the commands I ran to set up EZJail, Lirc and WebCamD:
Code:
setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/
pkg_add -r ezjail
ezjail-admin install -r "8.3-RELEASE" -h ftp.freebsd.org
ezjail-admin create -r /jails/lirc lirc 192.168.1.2
cd /usr/jails/basejail/usr/
mkdir ports
cd /jails/lirc/
mkdir baseports
mount_nullfs /usr/jails/basejail/usr/ports/ baseports
cd /jails/lirc/
mkdir baseboot
mount_nullfs /usr/jails/basejail/boot/ baseboot
cd /jails/lirc/usr
mkdir basebin
mount_nullfs /usr/jails/basejail/usr/bin/ basebin
service ezjail onestart
jexec 1 sh
cd /usr
unlink ports
ln -s /baseports ports
cd /
unlink boot
ln -s /baseboot boot
cd /usr
unlink bin
ln -s /usr/basebin bin
echo nameserver 8.8.8.8 >> /etc/resolv.conf
echo nameserver 8.8.4.4 >> /etc/resolv.conf
pkg_add -r lirc
pkg_add -r webcamd
kldload cuse4bsd
# kldload: can't load cuse4bsd: Operation not permitted
webcamd
# webcamd: Could not open /dev/cuse. Did you kldload cuse4bsd?
Any ideas on how to trouble shoot this?
Thanks,
Erik