Freebsd 6.1 w/cups

2006-07-05 Thread Raymond Gibson
Hello, I'm trying to install an HP Photosmart printer using cups.

All the online documentation I've read tells me to mv cups.sh.sample 
int /usr/local/etc/rc.d/cups.sh. The problem i have is cups.sh.sample is 
nowhere to be found. Is this a ports build error or a documentation error?

i tried to 'deinstall/reinstall' cups, but that didn't help. 

any help would be appreciated.

Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Freebsd 6.1 w/cups

2006-07-05 Thread Raymond Gibson
Yes, i have /usr/local/etc/rc.d/cupsd. A quick read of that script indicates i 
need to enable the service thru rc.conf. i did that... my printer works now.

Thank you.



On Wednesday 05 July 2006 1:05 pm, Kevin Kinsey wrote:
> Raymond Gibson wrote:
> > Hello, I'm trying to install an HP Photosmart printer using cups.
> >
> > All the online documentation I've read tells me to mv cups.sh.sample
> > int /usr/local/etc/rc.d/cups.sh. The problem i have is cups.sh.sample is
> > nowhere to be found. Is this a ports build error or a documentation
> > error?
> >
> > i tried to 'deinstall/reinstall' cups, but that didn't help.
>
> Do you, by any chance, have /usr/local/etc/rc.d/cupsd ??
>
> If so, the docs are wrong/outdated.
>
> Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


requesting help to make sound work on thin/diskless client

2006-10-09 Thread Raymond Gibson
Hello,

I'm looking for help. I built a thin/diskless client that I boot via 
etherboot. After power up the client boots and gives me a login prompt. At 
that time I enter 'root' and I am presented with a command prompt. I then 
enter 'X -query ' and X starts and it works as expected.

I would like to add sound. Unfortunately, I can't find documentation 
describing this process. So, could someone explain to me how to configure the 
client/server? My server is FreeBSD 6.1-RELEASE.

BTW: I installed an ISA soundblaster sound and compiled these lines into my 
kernel. The kernel detects the sound card during boot-up.
 
# Add the generic audio driver
device  sound
device  snd_sbc
device  snd_sb16


Thank you for you help.

Raymond.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: requesting help to make sound work on thin/diskless client

2006-10-10 Thread Raymond Gibson
On Monday 09 October 2006 19:43, Doug Poland wrote:
> On Mon, Oct 09, 2006 at 04:00:23PM -0500, Raymond Gibson wrote:
> > Hello,
> >
> > I'm looking for help. I built a thin/diskless client that I boot via
> > etherboot. After power up the client boots and gives me a login
> > prompt. At that time I enter 'root' and I am presented with a command
> > prompt. I then enter 'X -query ' and X starts and it works
> > as expected.
> >
> > I would like to add sound. Unfortunately, I can't find documentation
> > describing this process. So, could someone explain to me how to
> > configure the client/server? My server is FreeBSD 6.1-RELEASE.
> >
> > BTW: I installed an ISA soundblaster sound and compiled these lines into
> > my kernel. The kernel detects the sound card during boot-up.
> >
> > # Add the generic audio driver
> > device  sound
> > device  snd_sbc
> > device  snd_sb16
>
> I have had good results using /usr/ports/audio/esound.  Install on both
> the client and the server.  On the client, run something like this
> before you start X:
>
>  client% esd -tcp -public -promiscuous -beeps -trust -bind 10.0.0.1
>
> where 10.0.0.1 is the IP address of the client's network interface.
>
> Connect to the server just as you have described.  When ever you run a
> program that has esd support compiled in, the audio will be directed
> to the client.
>
> Programs compiled with ESD support appear to direct sound to the host
> indicated by the DISPLAY environment variable.  That should set
> correctly if the server you're attaching to is running xdm, gdm, or kdm.
>
> You may also have to set ESPEAKER, but I've found that just DISPLAY
> works for me.

I'm not having much luck. I installed esound on both client and server.
I start esound on the server; esd &, the server responds with several beeps.
On the client I start esd as described above, I also hear beeps when esd 
starts.
I start X, then login to KDE.
I start Xmms with esound enabled. I get an error saying 'can't open audio'.

any ideas?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pxe bootrom

2006-08-28 Thread Raymond Gibson
Hello, I'm trying to build a FreeBSD diskless server. I have a D-link DFE 
530TX+ nic. I need to purchase a pxe bootrom. Does anyone know where i can 
buy one?   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


jail - unable to print from inside jail

2009-10-01 Thread Raymond Gibson
I'm trying to setup CUPS (in a jail) using a USB printer on
my host machine. My host was built with as a minimal FreeBSD 7.2-Release 
install. I added ezjail and created two jails. Both jails are working and I 
can login to both using ssh.

I'm trying to build one of the jails as a print server. I added the following 
to it:
cups-1.3.10_1
hpijs-2.1.4_3
libijs-0.35_1
foomatic-db-20090530
foomatic-filters-4.0.1_2

On the host i did the following:

I added this to /etc/devfs.conf
own ultp0   root:cups
permultp0   0660


I added this to /etc/devfs.rules

# Printers
add path ltp[0-9]* mode 0660 group cups
add path ultp[0-9]* mode 0660 group cups
add path unltp[0-9]* mode 0660 group cups

[devfsrules_jail_PrintServer=10]
add path ltp[0-9]* mode 0660 group cups
add path ultp[0-9]* mode 0660 group cups
add path unltp[0-9]* mode 0660 group cups

I added cups:*:193:root, to /etc/group

After a reboot, I can access the administration website.
I added a printer and allowed remote access. 

From administration page - printer status:
Description: HP Photosmart 7350
Location: Home
Printer Driver: HP PhotoSmart 7350 Foomatic/hpijs (recommended)
Printer State: idle, accepting jobs, published.
Device URI: usb:/dev/ulpt0 


Wen printing a test page from administration page i get permission denied.
HPPhotosmart7350 (Default Printer) "Unable to open device file "/dev/ulpt0": 
Permission denied"

How do i solve this?

Please let me know if more information is needed.

I thank you for your time and help in advance.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: jail - unable to print from inside jail

2009-10-02 Thread Raymond Gibson
On Friday 02 October 2009 02:31:06 am Bernt Hansson wrote:
> Raymond Gibson said the following on 2009-10-01 22:33:
> > I'm trying to setup CUPS (in a jail) using a USB printer on
> > my host machine. My host was built with as a minimal FreeBSD 7.2-Release
> > install. I added ezjail and created two jails. Both jails are working and
> > I can login to both using ssh.
> >
> > On the host i did the following:
> >
> > I added this to /etc/devfs.conf
> > own ultp0   root:cups
> > permultp0   0660
> >
> >
> > I added this to /etc/devfs.rules
> >
> > # Printers
> > add path ltp[0-9]* mode 0660 group cups
> > add path ultp[0-9]* mode 0660 group cups
> > add path unltp[0-9]* mode 0660 group cups
> >
> > [devfsrules_jail_PrintServer=10]
> > add path ltp[0-9]* mode 0660 group cups
> > add path ultp[0-9]* mode 0660 group cups
> > add path unltp[0-9]* mode 0660 group cups
>
> Something doesn't seem right with you devfs.rules file.
> Mine looks like this:
>
> [system=10]
> add path 'unlpt*' mode 0660 group cups
> add path 'ulpt*' mode 0660 group cups
> add path 'lpt*' mode 0660 group cups
>
> > After a reboot, I can access the administration website.
> > I added a printer and allowed remote access.
> >
> >>From administration page - printer status:
> >
> > Description: HP Photosmart 7350
> > Location: Home
> > Printer Driver: HP PhotoSmart 7350 Foomatic/hpijs (recommended)
> > Printer State: idle, accepting jobs, published.
> > Device URI: usb:/dev/ulpt0
> >
> >
> > Wen printing a test page from administration page i get permission
> > denied. HPPhotosmart7350 (Default Printer) "Unable to open device file
> > "/dev/ulpt0": Permission denied"
> >
> > How do i solve this?
> >
> > Please let me know if more information is needed.
> >
> > I thank you for your time and help in advance.
> >
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscr...@freebsd.org"

I changed /etc/devfs.rules, but no luck.

i change permissions on /dev/ulpt0 (in the jail) and now i can print a test 
page from Cups administration page.

PrintServer# ls -l /dev | grep ulpt0
crw-r--r--  1 root operator0,  79 Oct  2 10:51 ulpt0
PrintServer# chmod 666 /dev/ulpt0
PrintServer# ls -l /dev | grep ulpt0
crw-rw-rw-  1 root operator0,  79 Oct  2 10:51 ulpt0

i tried to set 666 for devfs.rules & devfs.conf in both host and jail, but 
that didn't work. 

any more ideas?




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: jail - unable to print from inside jail

2009-10-02 Thread Raymond Gibson
On Friday 02 October 2009 04:32:23 pm Patrick Lamaiziere wrote:
> Le Fri, 02 Oct 2009 15:31:55 -0500,
>
> Raymond Gibson  a écrit :
> > On Friday 02 October 2009 02:31:06 am Bernt Hansson wrote:
> > > Raymond Gibson said the following on 2009-10-01 22:33:
> > > > I'm trying to setup CUPS (in a jail) using a USB printer on
> > > > my host machine. My host was built with as a minimal FreeBSD
> > > > 7.2-Release install. I added ezjail and created two jails. Both
> > > > jails are working and I can login to both using ssh.
> >
> > i tried to set 666 for devfs.rules & devfs.conf in both host and
> > jail, but that didn't work.
> >
> > any more ideas?
>
> How do you start your jail? For a jail, the devfs rule applied is the
> one specified for the jail in /etc/rc.conf, something like
>
> jail_jailname_devfs_ruleset="devfsrules_jail" # devfs ruleset to
> apply to jail
>
> Regards.

i'm using ezjail.

ezjail is started from /etc/rc.conf with ezjail_enable="YES".

i thought the following would be read into the jail's configuration.

/usr/local/etc/ezjail/PrintServer
export jail_PrintServer_hostname="PrintServer"
export jail_PrintServer_ip="192.168.1.52"
export jail_PrintServer_rootdir="/usr/jails/PrintServer"
export jail_PrintServer_exec="/bin/sh /etc/rc"
export jail_PrintServer_mount_enable="YES"
export jail_PrintServer_devfs_enable="YES"
export jail_PrintServer_devfs_ruleset="devfsrules_jail_PrintServer"
export jail_PrintServer_procfs_enable="YES"
export jail_PrintServer_fdescfs_enable="YES"
export jail_PrintServer_image=""
export jail_PrintServer_imagetype=""
export jail_PrintServer_attachparams=""
export jail_PrintServer_attachblocking=""
export jail_PrintServer_forceblocking=""

i put PrintServer_devfs_ruleset="devfsrules_jail_PrintServer" into my rc.conf 
and rebooted. no luck, i still get permission denied.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"