freebsd-questions Digest, Vol 248, Issue 23

Kayven Riese kayvey at gmail.com
Wed Feb 25 15:43:45 PST 2009


Never mind.

On Wed, Feb 25, 2009 at 3:36 PM, <freebsd-questions-request at freebsd.org>wrote:

> Send freebsd-questions mailing list submissions to
>        freebsd-questions at freebsd.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> or, via email, send a message with subject or body 'help' to
>        freebsd-questions-request at freebsd.org
>
> You can reach the person managing the list at
>        freebsd-questions-owner at freebsd.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of freebsd-questions digest..."
>
>
> Today's Topics:
>
>   1. PoE Midspans (Midspan Manager)
>   2. Re: cups-pdf does not print (Cam)
>   3. Re: RELENG_7 != STABLE? (Paul Schmehl)
>   4. X to not blank screen or switch off monitor (Brent Clark)
>   5. Re: weird permissions on directories when installing ports
>      through sudo (Eric Schuele)
>   6. ping stucks/hangs on PCI 3com NIC sk0 interface but works on
>      builtin NIC (Faizan ul haq Muhammad)
>   7. Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works
>      on        builtin NIC (John Nielsen)
>   8. RE: ping stucks/hangs on PCI 3com NIC sk0 interface but works
>      on builtin NIC (Faizan ul haq Muhammad)
>   9. Re: cups-pdf does not print (Mario Lobo)
>  10. Re: weird permissions on directories when installing ports
>      through sudo (Brian A. Seklecki)
>  11. Re: RELENG_7 != STABLE? (Warren Block)
>  12. Re: RELENG_7 != STABLE? (Kevin Kinsey)
>  13. Re: RELENG_7 != STABLE? (Mel)
>  14. Re: X to not blank screen or switch off monitor (Polytropon)
>  15. Re: cups-pdf does not print (Cam)
>  16. Re: X to not blank screen or switch off monitor
>      (Dominique Goncalves)
>  17. Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works
>      on        builtin NIC (John Nielsen)
>  18. buildworld crashes (Doug Sampson)
>  19. Re: USB INSTALL SCRIPTS (Peter Steele)
>  20. Re: Top returning 0.0% cpu usage (mojo fms)
>  21. Re: RELENG_7 != STABLE? (Paul Schmehl)
>  22. Re: OT:  The official stool for FreeBSD users? (Chad Perrin)
>  23. Tried and failed to use mount -t ntfs-3g (Kayven Riese)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 25 Feb 2009 08:38:27 -0600
> From: "Midspan Manager" <midspan at phihongusa.com>
> Subject: PoE Midspans
> To: freebsd-questions at freebsd.org
> Message-ID: <20090225144023.CDA7F3B6B at sheffield.xo.com>
> Content-Type: text/plain; charset="utf-8"
>
> PoE Midspans
>
> In stock - order now from our distributor WAV.
> Call 800-678-2419 and ask for the Midspan Promotional Price
> These prices are not available online.
>
> Through March 31st we are offering PoE Midspans at up to 65% off PowerDsine
> list prices. You can order now through our distributor WAV. Call them at
> 800-678-2419 and ask for the Midspan Promotional Price. These prices are not
> availible online.
>
>
>
> 1 Port 10/100$19.7560% Off
> 1 Port Gig (10/100/1000)$23.6060% Off
> 8 Port Gig (10/100/1000)$164.5050% Off
> 16 Port Gig (10/100/1000)$320.0050% Off
> 24 Port Gig (10/100/1000) $395.0060% Off
> 24 Port Gig (10/100/1000) Managed
> (SNMP Management)$495.0065% Off
>
>
> 1 Port Gig (10/100/1000)$39.50 50% Off
> 8 Port Gig (10/100/1000)$349.5050% Off
> 16 Port Gig (10/100/1000) Managed
> (SNMP Management)$549.5050% Off
>
>
>
>
>
>  1Calculated savings are based upon list prices of PowerDsine comparable
> products as of 12/1/08. PowerDsine is a trademark of Microsemi Corporation.
> This email was sent to you by Phihong USA. We are a top global manufacture
> of power products with OEM customer such as Cisco, HP, Nortel Networks,
> 3com, Accton, Motorola and Siemens. You are being sent this email because
> you have expressed interest in PoE products in the past. If you do not wish
> to receive emails from us in the future and be removed from our list please
> click on the link below.
>
> To unsubscribe, please click here.
>
> www.phihong.com - 47800 Fremont Blvd., Fremont, CA. 94538 - Phone
> 510-445-0100
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: spacer.htm
> Type: application/octet-stream
> Size: 959 bytes
> Desc: not available
> Url :
> http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090225/8aa5dbbe/spacer-0001.obj
>
> ------------------------------
>
> Message: 2
> Date: Wed, 25 Feb 2009 09:23:02 -0600
> From: Cam <freebsd at shineracoustics.com>
> Subject: Re: cups-pdf does not print
> To: freebsd-questions at freebsd.org
> Cc: Mario Lobo <mlobo at digiart.art.br>
> Message-ID: <49A56256.60100 at shineracoustics.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Mario Lobo wrote:
> > On Tuesday 24 February 2009 19:49:46 Cam wrote:
> >> Hello,
> >>
> >> I need a whole lot of help with cups-pdf.  I've been wrestling with this
> >> for about a week without success.  There are no error messages when test
> >> page printed from CUPS web admin but no output either; there are no
> >> error messages from Windows, which is how I plan to use the PDF
> >> printer.  CUPS works fine with other printers.
> >>
> >> thanks
> >> Cam
> >>
> >> This is how I set up the cups-pdf printer in the web admin page:
> >> device: CUPS-PDF (virtual PDF printer)
> >> make: Generic.  There is no 'Postscript' option per the Readme file
> >> (http://cups-pdf.de)
> >> model: Generic-CUPS-PDF printer.  There is no 'color Postscript' option.
> >>
> >> cups-pdf.conf is all default values, except these lines, which are now
> >> commented:
> >> Out /usr/home/Shiner/PDFs
> >> AnonDirName /usr/home/Shiner/PDFs
> >>
> >>
> >> I use these /etc/devfs.rules:
> >> [system=10]
> >> add path 'unlpt*' mode 0660 group cups
> >> add path 'ulpt*' mode 0660 group cups
> >> add path 'lpt*' mode 0660 group cups
> >>
> >> Error log from setting up the printer 'server_PDF' - what is the
> >> significance of the inability to write to /var/cache/cups/ppds.dat ?
> >>
> >> I [24/Feb/2009:16:32:21 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44236) I
> >> [24/Feb/2009:16:36:02 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44266) I
> >> [24/Feb/2009:16:36:06 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44268) I
> >> [24/Feb/2009:16:36:08 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44269) I
> >> [24/Feb/2009:16:36:08 -0600] Started
> >> "/usr/local/libexec/cups/daemon/cups-deviced" (pid=44270) I
> >> [24/Feb/2009:16:36:47 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44285) I
> >> [24/Feb/2009:16:36:47 -0600] Started
> >> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=44286) E
> >> [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write
> >> "/var/cache/cups/ppds.dat" - Permission denied I [24/Feb/2009:16:38:26
> >> -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44293) I
> >> [24/Feb/2009:16:38:26 -0600] Started
> >> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=44294) E
> >> [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write
> >> "/var/cache/cups/ppds.dat" - Permission denied I [24/Feb/2009:16:39:56
> >> -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44301) I
> >> [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to
> "cups-pdf:/"
> >> (was "cups-pdf:/".) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF
> >> printer-is-accepting-jobs to 1 (was 1.) I [24/Feb/2009:16:39:56 -0600]
> >> Setting server_PDF printer-state to 3 (was 3.) I [24/Feb/2009:16:39:56
> >> -0600] Saving printers.conf...
> >> I [24/Feb/2009:16:39:56 -0600] Printer "server_PDF" modified by "root".
> >> I [24/Feb/2009:16:39:59 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44303) I
> >> [24/Feb/2009:16:40:14 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44307) I
> >> [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page "none". I
> >> [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page "none". I
> >> [24/Feb/2009:16:40:14 -0600] [Job 49] File of type
> application/postscript
> >> queued by "root". I [24/Feb/2009:16:40:14 -0600] [Job 49] Queued on
> >> "server_PDF" by "root". I [24/Feb/2009:16:40:14 -0600] [Job 49] Started
> >> filter /usr/local/libexec/cups/filter/pstops (PID 44308) I
> >> [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend
> >> /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I
> >> [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully.
> >>
> >>
> >>
> >> Error log from CUPS restart and printing a test page to PDF printer:
> >>
> >> I [24/Feb/2009:15:14:25 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=43763) I
> >> [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally.
> >> I [24/Feb/2009:15:15:32 -0600] Saving job cache file
> >> "/var/cache/cups/job.cache"... I [24/Feb/2009:15:15:32 -0600] Listening
> to
> >> :::631 (IPv6)
> >> I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4)
> >> I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain)
> >> I [24/Feb/2009:15:15:32 -0600] Loaded configuration file
> >> "/usr/local/etc/cups/cupsd.conf" I [24/Feb/2009:15:15:32 -0600] Using
> >> default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600]
> >> Configured for up to 100 clients.
> >> I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per
> >> host. I [24/Feb/2009:15:15:32 -0600] Using policy "default" as the
> default!
> >> I [24/Feb/2009:15:15:32 -0600] Full reload is required.
> >> I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from
> >> '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33
> >> -0600] Loading job cache file "/var/cache/cups/job.cache"... I
> >> [24/Feb/2009:15:15:33 -0600] Full reload complete.
> >> I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in
> >> "/var/spool/cups/tmp"... I [24/Feb/2009:15:15:33 -0600] Listening to
> :::631
> >> on fd 3...
> >> I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4...
> >> I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd
> 5...
> >> I [24/Feb/2009:15:15:33 -0600] Resuming new connection processing...
> >> I [24/Feb/2009:15:16:37 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43795) I
> >> [24/Feb/2009:15:16:46 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43796) I
> >> [24/Feb/2009:15:16:46 -0600] [Job 46] Adding start banner page "none". I
> >> [24/Feb/2009:15:16:46 -0600] [Job 46] Adding end banner page "none". I
> >> [24/Feb/2009:15:16:46 -0600] [Job 46] File of type
> application/postscript
> >> queued by "root". I [24/Feb/2009:15:16:46 -0600] [Job 46] Queued on
> >> "server_PDF" by "root". I [24/Feb/2009:15:16:46 -0600] [Job 46] Started
> >> filter /usr/local/libexec/cups/filter/pstops (PID 43797) I
> >> [24/Feb/2009:15:16:46 -0600] [Job 46] Started backend
> >> /usr/local/libexec/cups/backend/cups-pdf (PID 43798) I
> >> [24/Feb/2009:15:16:46 -0600] [Job 46] Completed successfully.
> >> I [24/Feb/2009:15:16:48 -0600] Started
> >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43802)
> >>
> >>
> >> printers.conf:
> >>
> >> # Printer configuration file for CUPS v1.3.9
> >> # Written by cupsd on 2009-02-23 17:01
> >> <Printer HP_5p>
> >> Info HP 5p (right)
> >> DeviceURI http://192.168.0.187:9101/ipp/port1
> >> State Idle
> >> StateTime 1235057964
> >> Accepting Yes
> >> Shared Yes
> >> JobSheets none none
> >> QuotaPeriod 0
> >> PageLimit 0
> >> KLimit 0
> >> OpPolicy default
> >> ErrorPolicy stop-printer
> >> </Printer>
> >> <Printer HP_Color_LaserJet>
> >> Info HP Color LaserJet CM1017
> >> Location Local Printer
> >> DeviceURI socket://192.168.0.191
> >> State Idle
> >> StateTime 1234991318
> >> Accepting Yes
> >> Shared Yes
> >> JobSheets none none
> >> QuotaPeriod 0
> >> PageLimit 0
> >> KLimit 0
> >> OpPolicy default
> >> ErrorPolicy stop-printer
> >> </Printer>
> >> <Printer km_2550>
> >> Info Kyocera km-2550
> >> DeviceURI socket://192.168.0.189
> >> State Idle
> >> StateTime 1235426616
> >> Accepting Yes
> >> Shared Yes
> >> JobSheets none none
> >> QuotaPeriod 0
> >> PageLimit 0
> >> KLimit 0
> >> OpPolicy default
> >> ErrorPolicy stop-printer
> >> </Printer>
> >> <Printer server_PDF>
> >> Info server's PDF printer
> >> Location
> >> DeviceURI cups-pdf:/
> >> State Idle
> >> StateTime 1235430082
> >> Accepting Yes
> >> Shared Yes
> >> JobSheets none none
> >> QuotaPeriod 0
> >> PageLimit 0
> >> KLimit 0
> >> OpPolicy default
> >> ErrorPolicy stop-printer
> >> </Printer>
> >>
> >>
> >>
> >> cupsd.conf:
> >>
> >> # Show general information in error_log.
> >> LogLevel info
> >> SystemGroup wheel
> >>
> >> # Allow remote access
> >> Port 631
> >> Listen /var/run/cups.sock
> >>
> >> # Enable printer sharing and shared printers.
> >> Browsing On
> >> BrowseOrder allow,deny
> >> BrowseAllow all
> >> BrowseAddress @LOCAL
> >> DefaultAuthType Basic
> >>
> >> <Location />
> >>   # Allow shared printing and remote administration...
> >>   Order allow,deny
> >>   Allow @LOCAL
> >> </Location>
> >>
> >> <Location /admin>
> >>   Encryption Required
> >>   Require user @SYSTEM
> >>   # Allow remote administration...
> >>   Order allow,deny
> >>   Allow @LOCAL
> >> </Location>
> >>
> >> <Location /admin/conf>
> >>   AuthType Default
> >>   Require user @SYSTEM
> >>   # Allow remote access to the configuration files...
> >>   Order allow,deny
> >>   Allow @LOCAL
> >> </Location>
> >>
> >> <Policy default>
> >>
> >>   <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
> >> Purge-Jobs Set-
> >>     Require user @OWNER @SYSTEM
> >>     Order deny,allow
> >>   </Limit>
> >>
> >>   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
> >> CUPS-Add-Modify-Class CUPS-
> >>     AuthType Default
> >>     Require user @SYSTEM
> >>     Order deny,allow
> >>   </Limit>
> >>
> >>   <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
> >> Pause-Print
> >>     AuthType Default
> >>     Require user @SYSTEM
> >>     Order deny,allow
> >>   </Limit>
> >>
> >>   <Limit Cancel-Job CUPS-Authenticate-Job>
> >>     Require user @OWNER @SYSTEM
> >>     Order deny,allow
> >>   </Limit>
> >>
> >>   <Limit All>
> >>     Order deny,allow
> >>   </Limit>
> >>
> >> </Policy>
> >>
> >> _______________________________________________
> >> freebsd-questions at freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >> "freebsd-questions-unsubscribe at freebsd.org"
> >
> > Did you check /var/spool/cups-pdf/root to see if your printout is there?
> >
>
> Thanks for your answer Mario.
>
> Nothing in:
> /var/spool/cups-pdf/root      [root, wheel, 700]
> /var/spool/cups-pdf/ANONYMOUS [nobody,nobody,777]
> /var/spool/cups-pdf/SPOOL     [root,daemon,751]
>
>
> However, no CUPS error messages:
>
> 192.168.0.119 - - [25/Feb/2009:08:28:47 -0600] "POST
> /printers/server_PDF HTTP/1.1" 200 135 Get-Printer-Attributes successful-ok
> 192.168.0.119 - - [25/Feb/2009:08:28:47 -0600] "POST
> /printers/server_PDF HTTP/1.1" 200 353278 Print-Job successful-ok
> 192.168.0.119 - - [25/Feb/2009:08:28:48 -0600] "POST
> /printers/server_PDF HTTP/1.1" 200 135 Get-Printer-Attributes successful-ok
>
>
> I [25/Feb/2009:08:28:47 -0600] [Job ???] Request file type is
> application/postscript.
> I [25/Feb/2009:08:28:47 -0600] [Job 52] Adding start banner page "none".
> I [25/Feb/2009:08:28:47 -0600] [Job 52] Adding end banner page "none".
> I [25/Feb/2009:08:28:47 -0600] [Job 52] File of type
> application/postscript queued by "Cameron".
> I [25/Feb/2009:08:28:47 -0600] [Job 52] Queued on "server_PDF" by
> "Cameron".
> I [25/Feb/2009:08:28:47 -0600] [Job 52] Started filter
> /usr/local/libexec/cups/filter/pstops (PID 49445)
> I [25/Feb/2009:08:28:47 -0600] [Job 52] Started backend
> /usr/local/libexec/cups/backend/cups-pdf (PID 49446)
> I [25/Feb/2009:08:28:47 -0600] [Job 52] Completed successfully.
>
> One question: how and where does CUPS store its user names?  I notice
> that the job was submitted by "Cameron".  I used lpadmin to allow all
> users:
> lpadmin -p server_PDF -u allow:all
> lpadmin -p server_PDF -u deny:none
>
> but no luck.
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 25 Feb 2009 15:05:13 +0000
> From: Paul Schmehl <pschmehl_lists at tx.rr.com>
> Subject: Re: RELENG_7 != STABLE?
> To: Mel <fbsd.questions at rachie.is-a-geek.net>,
>        freebsd-questions at freebsd.org
> Cc: Roland Smith <rsmith at xs4all.nl>
> Message-ID: <B3036F295322199AAA14F9BF at utd65257.utdallas.edu>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> --On Tuesday, February 24, 2009 23:02:36 -0600 Mel
> <fbsd.questions at rachie.is-a-geek.net> wrote:
> >
> > Presence of tag enables checkout mode, so it's not that you have a cvs
> repo
> > copy. Kernel date tag suggests a reboot, so the only thing that comes to
> mind
> > is newvers.sh not having done it's job or UNAME_r set in env.
> > sysctl kern.osrelease also shows 7.1-PRERELEASE?
> >
>
> # sysctl kern.osrelease
> kern.osrelease: 7.1-PRERELEASE
>
> --
> Paul Schmehl, Senior Infosec Analyst
> As if it wasn't already obvious, my opinions
> are my own and not those of my employer.
> *******************************************
> Check the headers before clicking on Reply.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 25 Feb 2009 18:48:23 +0200
> From: Brent Clark <brentgclarklist at gmail.com>
> Subject: X to not blank screen or switch off monitor
> To: "freebsd-questions at freebsd.org" <freebsd-questions at freebsd.org>
> Message-ID: <49A57657.5090506 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hiya
>
> I got a very minimalistic installation of FreeBSD, so much so that I
> login on console and just run startx and im presented with twm.
>
> The problem I seem to face is that I cant get X and / or freebsd to not
> blank the screen and / or switch off the monitor.
>
> Ive run
>
> xset s noblank && vbetool dpms on
>
> I even set blanktime="NO" in /etc/rc.conf.
>
> And yet after a period in time of idleness my monitor goes off.
>
> If anyone can help me understand or achieve my objective, i would be
> most grateful.
>
> Kind Regards
> Brent Clark
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 25 Feb 2009 10:55:10 -0600
> From: Eric Schuele <e.schuele at computer.org>
> Subject: Re: weird permissions on directories when installing ports
>        through sudo
> To: Aleksandr Miroslav <alexmiroslav at gmail.com>
> Cc: freebsd-questions at freebsd.org
> Message-ID: <49A577EE.3030604 at computer.org>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 02/19/2009 15:56, Aleksandr Miroslav wrote:
> > For the longest time, I have installed ports via the "sudo make install"
> or
> > "sudo portupgrade" or "sudo portinstall" method and never had a problem.
>
> This seems to have jumped up and bitten me on the arse as well.  I
> believe the "problem" lies herein:
>
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/sudo/distinfo?rev=1.61
>
> It appears that sudo has been changed following a security issue.  I use
> a more restrictive umask than the default.  I suspect you do as well.
> The sudo change now implements a union of umasks, therefore never
> lowering the umask of the person running sudo.
>
> This had the effect of truly screwing up many installed ports for me (I
> do the same as you `sudo portupgrade`).  I'm not blaming the fix... just
> whining about it.
>
> The fix for me was to deinstall and reinstall and problem ports using
> root himself.
>
> I suspect though you could fix it other ways by fiddling with your
> usmask, and/or altering the sudo config files.
>
> >
> >
> > Recently, as of a few weeks ago, I started noticing that ports that were
> > installed or upgraded were getting the wrong permissions. Not only were
> > directories getting permissions of 700 (whereas previously they had been
> > 755), but the directories /usr/local and entries in /var/db/pkg were
> getting
> > permissions of 700.
> >
> > This is causing a lot of things to break, and I have to manually go in
> and
> > make everything public for it to work again.
> >
> > This only happens when I build ports via sudo. If I am root and I run
> make
> > install, everything works fine.
>
> yeah.  Me too. :)
>
> >
> > I haven't changed anything recently either in sudo, or my umask.
> >
> > What can I do to fix this?
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
> >
> >
>
>
> --
> Regards,
> Eric
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 196 bytes
> Desc: OpenPGP digital signature
> Url :
> http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090225/f920aaab/signature-0001.pgp
>
> ------------------------------
>
> Message: 6
> Date: Wed, 25 Feb 2009 17:35:23 +0000
> From: Faizan ul haq Muhammad <faizi62 at hotmail.com>
> Subject: ping stucks/hangs on PCI 3com NIC sk0 interface but works on
>        builtin NIC
> To: <freebsd-questions at freebsd.org>
> Message-ID: <BLU149-W4690F7B871E6EB8BF6159B6AC0 at phx.gbl>
> Content-Type: text/plain; charset="Windows-1252"
>
>
> Hi
> I have two PCI NICs and one builtin NIC on freebsd 7.0
> ifconfig shows information somthing like:
>
> bge0: flags=8843<UP, broadcast, runing, simplex, multicast>metric 0 mtu
> 1500
> options=9b<RXCSUM,TXCSUM, VLAN_HWTAGGING. VLAN_HWCSUM>
> ether 00:13:21:f8:7e:56
> inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
> media: Ethernet autoselect (none)
> status: no carrier
>
> sk0: flags=8843<UP, broadcast, runing, simplex, multicast>metric 0 mtu 1500
>
> options=b<RXCSUM,TXCSUM, VLAN_MTU>
>
> ether 00:0a:5e:1a:69:25
>
> inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
>
> media: Ethernet autoselect (none)
>
> status: no carrier
>
>
> Note: bge0 is builtin NIC
> sk0 is 3com PCI NIC
>
> now after configuration of IPV4 Addresses, when i verify the configuration
> with ping
>
> if i ping bge0(ping 192.168.0.1) i get the response of success
> but when i ping sk0 (ping 192.168.0.2) Ping gets stuck and gives no
> response, neither it gives success or host unreachable or denied kinda
> errors.. it just hangs over there.. and i can juz see one line of ping not
> proceeding anyway. and if I terminate it via CTRL C then i get statistics
> sumthing like 3 packets sent, 0 received and 100% loss...
>
> I am stuck and my brain does not work any more here..
> Can anybody help me ...
>
> Regards!!!!
> Faizan
>
> _________________________________________________________________
> It’s the same Hotmail®. If by “same” you mean up to 70% faster.
> http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Same_022009
>
> ------------------------------
>
> Message: 7
> Date: Wed, 25 Feb 2009 13:06:14 -0500
> From: John Nielsen <lists at jnielsen.net>
> Subject: Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works
>        on      builtin NIC
> To: freebsd-questions at freebsd.org
> Cc: Faizan ul haq Muhammad <faizi62 at hotmail.com>
> Message-ID: <200902251306.14765.lists at jnielsen.net>
> Content-Type: text/plain;  charset="windows-1252"
>
> On Wednesday 25 February 2009 12:35:23 pm Faizan ul haq Muhammad wrote:
> > Hi
> > I have two PCI NICs and one builtin NIC on freebsd 7.0
> > ifconfig shows information somthing like:
> >
> > bge0: flags=8843<UP, broadcast, runing, simplex, multicast>metric 0 mtu
> > 1500 options=9b<RXCSUM,TXCSUM, VLAN_HWTAGGING. VLAN_HWCSUM>
> > ether 00:13:21:f8:7e:56
> > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
> > media: Ethernet autoselect (none) status: no carrier
>
> This is NIC doesn't appear to be plugged in.
>
> > sk0: flags=8843<UP, broadcast, runing, simplex, multicast>metric 0 mtu
> > 1500 options=b<RXCSUM,TXCSUM, VLAN_MTU>
> > ether 00:0a:5e:1a:69:25
> > inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
> > media: Ethernet autoselect (none) status: no carrier
>
> Neither is this one.
>
> > Note: bge0 is builtin NIC
> > sk0 is 3com PCI NIC
> >
> > now after configuration of IPV4 Addresses, when i verify the
> > configuration with ping
> >
> > if i ping bge0(ping 192.168.0.1) i get the response of success
> > but when i ping sk0 (ping 192.168.0.2) Ping gets stuck and gives no
> > response, neither it gives success or host unreachable or denied kinda
> > errors..
>
> Why do you want both interfaces to be configured on the same subnet?
>
> > it just hangs over there.. and i can juz see one line of ping
> > not proceeding anyway. and if I terminate it via CTRL C then i get
> > statistics sumthing like 3 packets sent, 0 received and 100% loss...
>
> This is probably expected behavior. What does "netstat -rn" show? My guess
> is that the route for 192.168.0.0/24 is "link#1" aka bge0 and since it's
> not plugged in to anything that's as far as it gets.
>
> > I am stuck and my brain does not work any more here..
> > Can anybody help me ...
>
> JN
>
>
>
> ------------------------------
>
> Message: 8
> Date: Wed, 25 Feb 2009 18:11:42 +0000
> From: Faizan ul haq Muhammad <faizi62 at hotmail.com>
> Subject: RE: ping stucks/hangs on PCI 3com NIC sk0 interface but works
>        on builtin NIC
> To: <lists at jnielsen.net>, FreeBSD Questions
>        <freebsd-questions at freebsd.org>
> Message-ID: <BLU149-W748054287E4E4FA47DA500B6AC0 at phx.gbl>
> Content-Type: text/plain; charset="Windows-1252"
>
>
>
>
>
> > From: lists at jnielsen.net
> > To: freebsd-questions at freebsd.org
> > Subject: Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works on
> builtin NIC
> > Date: Wed, 25 Feb 2009 13:06:14 -0500
> > CC: faizi62 at hotmail.com
> >
> > On Wednesday 25 February 2009 12:35:23 pm Faizan ul haq Muhammad wrote:
> > > Hi
> > > I have two PCI NICs and one builtin NIC on freebsd 7.0
> > > ifconfig shows information somthing like:
> > >
> > > bge0: flags=8843<UP, broadcast, runing, simplex, multicast>metric 0 mtu
> > > 1500 options=9b<RXCSUM,TXCSUM, VLAN_HWTAGGING. VLAN_HWCSUM>
> > > ether 00:13:21:f8:7e:56
> > > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
> > > media: Ethernet autoselect (none) status: no carrier
> >
> > This is NIC doesn't appear to be plugged in.
>
> no it is not plugged into any other yet and if i plug it and ping it from
> an external machine, it works
> >
> > > sk0: flags=8843<UP, broadcast, runing, simplex, multicast>metric 0 mtu
> > > 1500 options=b<RXCSUM,TXCSUM, VLAN_MTU>
> > > ether 00:0a:5e:1a:69:25
> > > inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
> > > media: Ethernet autoselect (none) status: no carrier
> >
> > Neither is this one.
>
> You are right, but it does not reply to ping even if i plug this to an
> external system with crossover cable and ping from that PC.
>
> that is the difference in behaviour of both NICs
> >
> > > Note: bge0 is builtin NIC
> > > sk0 is 3com PCI NIC
> > >
> > > now after configuration of IPV4 Addresses, when i verify the
> > > configuration with ping
> > >
> > > if i ping bge0(ping 192.168.0.1) i get the response of success
> > > but when i ping sk0 (ping 192.168.0.2) Ping gets stuck and gives no
> > > response, neither it gives success or host unreachable or denied kinda
> > > errors..
> >
> > Why do you want both interfaces to be configured on the same subnet?
>
> that is not required as such, I am just preparing the setup to use this
> machine a bridge and configure dummynet on this machine.
>
> I hope now you get it.
> >
> > > it just hangs over there.. and i can juz see one line of ping
> > > not proceeding anyway. and if I terminate it via CTRL C then i get
> > > statistics sumthing like 3 packets sent, 0 received and 100% loss...
> >
> > This is probably expected behavior. What does "netstat -rn" show? My
> guess
> > is that the route for 192.168.0.0/24 is "link#1" aka bge0 and since it's
> > not plugged in to anything that's as far as it gets.
>
> exactly
>
> btu it does not show any other interface in netstat printout with this -rn
> switch
>
> and can you explain, how this is the expected behavior then..?
>
>
> >
> > > I am stuck and my brain does not work any more here..
> > > Can anybody help me ...
> >
> > JN
> >
> Thanks for your early response
>
> _________________________________________________________________
> Windows Live™ Hotmail®:…more than just e-mail.
>
> http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_022009
>
> ------------------------------
>
> Message: 9
> Date: Wed, 25 Feb 2009 15:14:09 -0300
> From: Mario Lobo <mlobo at digiart.art.br>
> Subject: Re: cups-pdf does not print
> To: freebsd at shineracoustics.com
> Cc: freebsd-questions at freebsd.org
> Message-ID: <200902251514.09931.mlobo at digiart.art.br>
> Content-Type: text/plain;  charset="iso-8859-1"
>
> On Wednesday 25 February 2009 12:23:02 Cam wrote:
> > Mario Lobo wrote:
> > > On Tuesday 24 February 2009 19:49:46 Cam wrote:
> > >> Hello,
> > >>
> > >> I need a whole lot of help with cups-pdf.  I've been wrestling with
> this
> > >> for about a week without success.  There are no error messages when
> test
> > >> page printed from CUPS web admin but no output either; there are no
> > >> error messages from Windows, which is how I plan to use the PDF
> > >> printer.  CUPS works fine with other printers.
> > >>
> > >> thanks
> > >> Cam
> > >>
> > >> This is how I set up the cups-pdf printer in the web admin page:
> > >> device: CUPS-PDF (virtual PDF printer)
> > >> make: Generic.  There is no 'Postscript' option per the Readme file
> > >> (http://cups-pdf.de)
> > >> model: Generic-CUPS-PDF printer.  There is no 'color Postscript'
> option.
> > >>
> > >> cups-pdf.conf is all default values, except these lines, which are now
> > >> commented:
> > >> Out /usr/home/Shiner/PDFs
> > >> AnonDirName /usr/home/Shiner/PDFs
> > >>
> > >>
> > >> I use these /etc/devfs.rules:
> > >> [system=10]
> > >> add path 'unlpt*' mode 0660 group cups
> > >> add path 'ulpt*' mode 0660 group cups
> > >> add path 'lpt*' mode 0660 group cups
> > >>
> > >> Error log from setting up the printer 'server_PDF' - what is the
> > >> significance of the inability to write to /var/cache/cups/ppds.dat ?
> > >>
> > >> I [24/Feb/2009:16:32:21 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44236) I
> > >> [24/Feb/2009:16:36:02 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44266) I
> > >> [24/Feb/2009:16:36:06 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44268) I
> > >> [24/Feb/2009:16:36:08 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44269) I
> > >> [24/Feb/2009:16:36:08 -0600] Started
> > >> "/usr/local/libexec/cups/daemon/cups-deviced" (pid=44270) I
> > >> [24/Feb/2009:16:36:47 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44285) I
> > >> [24/Feb/2009:16:36:47 -0600] Started
> > >> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=44286) E
> > >> [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write
> > >> "/var/cache/cups/ppds.dat" - Permission denied I [24/Feb/2009:16:38:26
> > >> -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44293)
> I
> > >> [24/Feb/2009:16:38:26 -0600] Started
> > >> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=44294) E
> > >> [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write
> > >> "/var/cache/cups/ppds.dat" - Permission denied I [24/Feb/2009:16:39:56
> > >> -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44301)
> I
> > >> [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to
> > >> "cups-pdf:/" (was "cups-pdf:/".) I [24/Feb/2009:16:39:56 -0600]
> Setting
> > >> server_PDF printer-is-accepting-jobs to 1 (was 1.) I
> > >> [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3
> (was
> > >> 3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf...
> > >> I [24/Feb/2009:16:39:56 -0600] Printer "server_PDF" modified by
> "root".
> > >> I [24/Feb/2009:16:39:59 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44303) I
> > >> [24/Feb/2009:16:40:14 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44307) I
> > >> [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page "none".
> I
> > >> [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page "none". I
> > >> [24/Feb/2009:16:40:14 -0600] [Job 49] File of type
> > >> application/postscript queued by "root". I [24/Feb/2009:16:40:14
> -0600]
> > >> [Job 49] Queued on "server_PDF" by "root". I [24/Feb/2009:16:40:14
> > >> -0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops
> > >> (PID 44308) I
> > >> [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend
> > >> /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I
> > >> [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully.
> > >>
> > >>
> > >>
> > >> Error log from CUPS restart and printing a test page to PDF printer:
> > >>
> > >> I [24/Feb/2009:15:14:25 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=43763) I
> > >> [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally.
> > >> I [24/Feb/2009:15:15:32 -0600] Saving job cache file
> > >> "/var/cache/cups/job.cache"... I [24/Feb/2009:15:15:32 -0600]
> Listening
> > >> to
> > >>
> > >> :::631 (IPv6)
> > >>
> > >> I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4)
> > >> I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock
> (Domain)
> > >> I [24/Feb/2009:15:15:32 -0600] Loaded configuration file
> > >> "/usr/local/etc/cups/cupsd.conf" I [24/Feb/2009:15:15:32 -0600] Using
> > >> default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32
> -0600]
> > >> Configured for up to 100 clients.
> > >> I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections
> per
> > >> host. I [24/Feb/2009:15:15:32 -0600] Using policy "default" as the
> > >> default! I [24/Feb/2009:15:15:32 -0600] Full reload is required.
> > >> I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from
> > >> '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33
> > >> -0600] Loading job cache file "/var/cache/cups/job.cache"... I
> > >> [24/Feb/2009:15:15:33 -0600] Full reload complete.
> > >> I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in
> > >> "/var/spool/cups/tmp"... I [24/Feb/2009:15:15:33 -0600] Listening to
> > >> :::631 on fd 3...
> > >> I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4...
> > >> I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd
> > >> 5... I [24/Feb/2009:15:15:33 -0600] Resuming new connection
> > >> processing... I [24/Feb/2009:15:16:37 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43795) I
> > >> [24/Feb/2009:15:16:46 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43796) I
> > >> [24/Feb/2009:15:16:46 -0600] [Job 46] Adding start banner page "none".
> I
> > >> [24/Feb/2009:15:16:46 -0600] [Job 46] Adding end banner page "none". I
> > >> [24/Feb/2009:15:16:46 -0600] [Job 46] File of type
> > >> application/postscript queued by "root". I [24/Feb/2009:15:16:46
> -0600]
> > >> [Job 46] Queued on "server_PDF" by "root". I [24/Feb/2009:15:16:46
> > >> -0600] [Job 46] Started filter /usr/local/libexec/cups/filter/pstops
> > >> (PID 43797) I
> > >> [24/Feb/2009:15:16:46 -0600] [Job 46] Started backend
> > >> /usr/local/libexec/cups/backend/cups-pdf (PID 43798) I
> > >> [24/Feb/2009:15:16:46 -0600] [Job 46] Completed successfully.
> > >> I [24/Feb/2009:15:16:48 -0600] Started
> > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43802)
> > >>
> > >>
> > >> printers.conf:
> > >>
> > >> # Printer configuration file for CUPS v1.3.9
> > >> # Written by cupsd on 2009-02-23 17:01
> > >> <Printer HP_5p>
> > >> Info HP 5p (right)
> > >> DeviceURI http://192.168.0.187:9101/ipp/port1
> > >> State Idle
> > >> StateTime 1235057964
> > >> Accepting Yes
> > >> Shared Yes
> > >> JobSheets none none
> > >> QuotaPeriod 0
> > >> PageLimit 0
> > >> KLimit 0
> > >> OpPolicy default
> > >> ErrorPolicy stop-printer
> > >> </Printer>
> > >> <Printer HP_Color_LaserJet>
> > >> Info HP Color LaserJet CM1017
> > >> Location Local Printer
> > >> DeviceURI socket://192.168.0.191
> > >> State Idle
> > >> StateTime 1234991318
> > >> Accepting Yes
> > >> Shared Yes
> > >> JobSheets none none
> > >> QuotaPeriod 0
> > >> PageLimit 0
> > >> KLimit 0
> > >> OpPolicy default
> > >> ErrorPolicy stop-printer
> > >> </Printer>
> > >> <Printer km_2550>
> > >> Info Kyocera km-2550
> > >> DeviceURI socket://192.168.0.189
> > >> State Idle
> > >> StateTime 1235426616
> > >> Accepting Yes
> > >> Shared Yes
> > >> JobSheets none none
> > >> QuotaPeriod 0
> > >> PageLimit 0
> > >> KLimit 0
> > >> OpPolicy default
> > >> ErrorPolicy stop-printer
> > >> </Printer>
> > >> <Printer server_PDF>
> > >> Info server's PDF printer
> > >> Location
> > >> DeviceURI cups-pdf:/
> > >> State Idle
> > >> StateTime 1235430082
> > >> Accepting Yes
> > >> Shared Yes
> > >> JobSheets none none
> > >> QuotaPeriod 0
> > >> PageLimit 0
> > >> KLimit 0
> > >> OpPolicy default
> > >> ErrorPolicy stop-printer
> > >> </Printer>
> > >>
> > >>
> > >>
> > >> cupsd.conf:
> > >>
> > >> # Show general information in error_log.
> > >> LogLevel info
> > >> SystemGroup wheel
> > >>
> > >> # Allow remote access
> > >> Port 631
> > >> Listen /var/run/cups.sock
> > >>
> > >> # Enable printer sharing and shared printers.
> > >> Browsing On
> > >> BrowseOrder allow,deny
> > >> BrowseAllow all
> > >> BrowseAddress @LOCAL
> > >> DefaultAuthType Basic
> > >>
> > >> <Location />
> > >>   # Allow shared printing and remote administration...
> > >>   Order allow,deny
> > >>   Allow @LOCAL
> > >> </Location>
> > >>
> > >> <Location /admin>
> > >>   Encryption Required
> > >>   Require user @SYSTEM
> > >>   # Allow remote administration...
> > >>   Order allow,deny
> > >>   Allow @LOCAL
> > >> </Location>
> > >>
> > >> <Location /admin/conf>
> > >>   AuthType Default
> > >>   Require user @SYSTEM
> > >>   # Allow remote access to the configuration files...
> > >>   Order allow,deny
> > >>   Allow @LOCAL
> > >> </Location>
> > >>
> > >> <Policy default>
> > >>
> > >>   <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
> > >> Purge-Jobs Set-
> > >>     Require user @OWNER @SYSTEM
> > >>     Order deny,allow
> > >>   </Limit>
> > >>
> > >>   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
> > >> CUPS-Add-Modify-Class CUPS-
> > >>     AuthType Default
> > >>     Require user @SYSTEM
> > >>     Order deny,allow
> > >>   </Limit>
> > >>
> > >>   <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
> > >> Pause-Print
> > >>     AuthType Default
> > >>     Require user @SYSTEM
> > >>     Order deny,allow
> > >>   </Limit>
> > >>
> > >>   <Limit Cancel-Job CUPS-Authenticate-Job>
> > >>     Require user @OWNER @SYSTEM
> > >>     Order deny,allow
> > >>   </Limit>
> > >>
> > >>   <Limit All>
> > >>     Order deny,allow
> > >>   </Limit>
> > >>
> > >> </Policy>
> > >>
> > >> _______________________________________________
> > >> freebsd-questions at freebsd.org mailing list
> > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >> To unsubscribe, send any mail to
> > >> "freebsd-questions-unsubscribe at freebsd.org"
> > >
> > > Did you check /var/spool/cups-pdf/root to see if your printout is
> there?
> >
> > Thanks for your answer Mario.
> >
> > Nothing in:
> > /var/spool/cups-pdf/root      [root, wheel, 700]
> > /var/spool/cups-pdf/ANONYMOUS [nobody,nobody,777]
> > /var/spool/cups-pdf/SPOOL     [root,daemon,751]
> >
> >
> > However, no CUPS error messages:
> >
> > 192.168.0.119 - - [25/Feb/2009:08:28:47 -0600] "POST
> > /printers/server_PDF HTTP/1.1" 200 135 Get-Printer-Attributes
> successful-ok
> > 192.168.0.119 - - [25/Feb/2009:08:28:47 -0600] "POST
> > /printers/server_PDF HTTP/1.1" 200 353278 Print-Job successful-ok
> > 192.168.0.119 - - [25/Feb/2009:08:28:48 -0600] "POST
> > /printers/server_PDF HTTP/1.1" 200 135 Get-Printer-Attributes
> successful-ok
> >
> >
> > I [25/Feb/2009:08:28:47 -0600] [Job ???] Request file type is
> > application/postscript.
> > I [25/Feb/2009:08:28:47 -0600] [Job 52] Adding start banner page "none".
> > I [25/Feb/2009:08:28:47 -0600] [Job 52] Adding end banner page "none".
> > I [25/Feb/2009:08:28:47 -0600] [Job 52] File of type
> > application/postscript queued by "Cameron".
> > I [25/Feb/2009:08:28:47 -0600] [Job 52] Queued on "server_PDF" by
> > "Cameron". I [25/Feb/2009:08:28:47 -0600] [Job 52] Started filter
> > /usr/local/libexec/cups/filter/pstops (PID 49445)
> > I [25/Feb/2009:08:28:47 -0600] [Job 52] Started backend
> > /usr/local/libexec/cups/backend/cups-pdf (PID 49446)
> > I [25/Feb/2009:08:28:47 -0600] [Job 52] Completed successfully.
> >
> > One question: how and where does CUPS store its user names?  I notice
> > that the job was submitted by "Cameron".  I used lpadmin to allow all
> > users: lpadmin -p server_PDF -u allow:all
> > lpadmin -p server_PDF -u deny:none
> >
> > but no luck.
>
> You're welcome !
>
> I believe it stores everything in cupsd.conf.
>
> Why don't give a shot configuring CUPS at its web interface
> (http://localhost:631)? From there you could set up everything
> (printers,users,test printers,etc..) and, as far a I'm concerned, it does a
> better job than myself at manipulating cupsd.conf.
>
> --
> Mario Lobo
> http://www.mallavoodoo.com.br
> FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE)
>
>
> ------------------------------
>
> Message: 10
> Date: Wed, 25 Feb 2009 12:49:16 -0500
> From: "Brian A. Seklecki" <bseklecki at collaborativefusion.com>
> Subject: Re: weird permissions on directories when installing ports
>        through sudo
> To: Eric Schuele <e.schuele at computer.org>
> Cc: freebsd-questions at freebsd.org, Aleksandr Miroslav
>        <alexmiroslav at gmail.com>
> Message-ID:
>        <
> 1235584156.21167.108.camel at soundwave.ws.pitbpa0.priv.collaborativefusion.com
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
>
> > lowering the umask of the person running sudo.
> >
> > This had the effect of truly screwing up many installed ports for me
>
> Maybe try "sudo -H -u root [command]"   NetBSD Pkgsrc is nice in this
> respect because it has sudo(8) integration in the MKs. ~BAS
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 197 bytes
> Desc: This is a digitally signed message part
> Url :
> http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090225/fe037deb/attachment-0001.pgp
>
> ------------------------------
>
> Message: 11
> Date: Wed, 25 Feb 2009 11:16:51 -0700 (MST)
> From: Warren Block <wblock at wonkity.com>
> Subject: Re: RELENG_7 != STABLE?
> To: Paul Schmehl <pschmehl_lists at tx.rr.com>
> Cc: freebsd-questions at freebsd.org
> Message-ID: <alpine.BSF.2.00.0902251114410.49033 at wonkity.com>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Wed, 25 Feb 2009, Paul Schmehl wrote:
>
> > --On Tuesday, February 24, 2009 23:02:36 -0600 Mel
> > <fbsd.questions at rachie.is-a-geek.net> wrote:
> >>
> >> Presence of tag enables checkout mode, so it's not that you have a cvs
> repo
> >> copy. Kernel date tag suggests a reboot, so the only thing that comes to
> >> mind
> >> is newvers.sh not having done it's job or UNAME_r set in env.
> >> sysctl kern.osrelease also shows 7.1-PRERELEASE?
> >>
> >
> > # sysctl kern.osrelease
> > kern.osrelease: 7.1-PRERELEASE
>
> Something that might apply: your cvsup file showed cvsup12 as the
> server.  cvsup12 stopped responding for me several months ago.  If your
> csup and build is automated so you don't see the timeouts, that would
> explain why you aren't getting updated.
>
> -Warren Block * Rapid City, South Dakota USA
>
>
> ------------------------------
>
> Message: 12
> Date: Wed, 25 Feb 2009 12:25:12 -0600
> From: Kevin Kinsey <kdk at daleco.biz>
> Subject: Re: RELENG_7 != STABLE?
> To: Paul Schmehl <pschmehl_lists at tx.rr.com>
> Cc: FreeBSD Questions <freebsd-questions at freebsd.org>
> Message-ID: <49A58D08.7080807 at daleco.biz>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Paul Schmehl wrote:
> > I have this in my /etc/cvsupfile:
> >
> > *default tag=RELENG_7
> >
> > Yet, when I recompiled world and kernel yesterday, I ended up with this:
> >
> > FreeBSD hostname.utdallas.edu 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #10:
> > Mon Feb 23 18:15:12 CST 2009
> > root at utd65257.utdallas.edu:/usr/obj/usr/src/sys/GENERIC  i386
> >
> > I thought that tag got me the STABLE branch?
>
> And I'm probably just talking out loud to hear my own voice at
> this point, but the -STABLE branch is tagged -PRERELEASE during
> the last $n $units prior to a RELENG_M_N being tagged, unless
> I'm mistaken [IANAE] ... in case that was what your question actually
> was.
>
>
> Kevin Kinsey
>
> --
> Are you a turtle?
>
>
> ------------------------------
>
> Message: 13
> Date: Wed, 25 Feb 2009 09:34:08 -0900
> From: Mel <fbsd.questions at rachie.is-a-geek.net>
> Subject: Re: RELENG_7 != STABLE?
> To: freebsd-questions at freebsd.org
> Cc: Paul Schmehl <pschmehl_lists at tx.rr.com>
> Message-ID: <200902250934.09429.fbsd.questions at rachie.is-a-geek.net>
> Content-Type: text/plain;  charset="iso-8859-1"
>
> On Wednesday 25 February 2009 09:16:51 Warren Block wrote:
> > On Wed, 25 Feb 2009, Paul Schmehl wrote:
> > > --On Tuesday, February 24, 2009 23:02:36 -0600 Mel
> > >
> > > <fbsd.questions at rachie.is-a-geek.net> wrote:
> > >> Presence of tag enables checkout mode, so it's not that you have a cvs
> > >> repo copy. Kernel date tag suggests a reboot, so the only thing that
> > >> comes to mind
> > >> is newvers.sh not having done it's job or UNAME_r set in env.
> > >> sysctl kern.osrelease also shows 7.1-PRERELEASE?
> > >
> > > # sysctl kern.osrelease
> > > kern.osrelease: 7.1-PRERELEASE
> >
> > Something that might apply: your cvsup file showed cvsup12 as the
> > server.  cvsup12 stopped responding for me several months ago.  If your
> > csup and build is automated so you don't see the timeouts, that would
> > explain why you aren't getting updated.
>
> Yep, looks like this is the problem. You can verify by
> inspecting /usr/src/sys/conf/newvers.sh. It should be:
> # $FreeBSD: src/sys/conf/newvers.sh,v 1.72.2.10 2009/01/05 04:45:17
> kensmith
> Exp $
>
> TYPE="FreeBSD"
> REVISION="7.1"
> BRANCH="STABLE"
>
> --
> Mel
>
> Problem with today's modular software: they start with the modules
>    and never get to the software part.
>
>
> ------------------------------
>
> Message: 14
> Date: Wed, 25 Feb 2009 19:34:56 +0100
> From: Polytropon <freebsd at edvax.de>
> Subject: Re: X to not blank screen or switch off monitor
> To: Brent Clark <brentgclarklist at gmail.com>
> Cc: "freebsd-questions at freebsd.org" <freebsd-questions at freebsd.org>
> Message-ID: <20090225193456.75b93fe5.freebsd at edvax.de>
> Content-Type: text/plain; charset=US-ASCII
>
> On Wed, 25 Feb 2009 18:48:23 +0200, Brent Clark <brentgclarklist at gmail.com>
> wrote:
> > The problem I seem to face is that I cant get X and / or freebsd to not
> > blank the screen and / or switch off the monitor.
>
> Sounds like you need to add
>
>        Section "Monitor"
>                Option          "DPMS"          "false"
>        EndSection
>
> respectively.
>
>
>
> > Ive run
> >
> > xset s noblank && vbetool dpms on
>
> In my ~/.xinitrc, I have these
>
>        xset s off &
>        xset -dpms &
>
> to prevent blank / monitor off (suspend DPMS).
>
>
>
> > I even set blanktime="NO" in /etc/rc.conf.
>
> This is for the text mode consoles only. You can add
>
>        saver="NO"
>
> do your /etc/rc.conf, but I think it's already a default
> value (check /etc/defaults/rc.conf).
>
>
>
>
>
> --
> Polytropon
> >From Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
>
>
> ------------------------------
>
> Message: 15
> Date: Wed, 25 Feb 2009 12:35:42 -0600
> From: Cam <freebsd at shineracoustics.com>
> Subject: Re: cups-pdf does not print
> To: freebsd-questions at freebsd.org
> Message-ID: <49A58F7E.2090107 at shineracoustics.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Mario Lobo wrote:
> > On Wednesday 25 February 2009 12:23:02 Cam wrote:
> >> Mario Lobo wrote:
> >>> On Tuesday 24 February 2009 19:49:46 Cam wrote:
> >>>> Hello,
> >>>>
> >>>> I need a whole lot of help with cups-pdf.  I've been wrestling with
> this
> >>>> for about a week without success.  There are no error messages when
> test
> >>>> page printed from CUPS web admin but no output either; there are no
> >>>> error messages from Windows, which is how I plan to use the PDF
> >>>> printer.  CUPS works fine with other printers.
> >>>>
> >>>> thanks
> >>>> Cam
> >>>>
> >>>> This is how I set up the cups-pdf printer in the web admin page:
> >>>> device: CUPS-PDF (virtual PDF printer)
> >>>> make: Generic.  There is no 'Postscript' option per the Readme file
> >>>> (http://cups-pdf.de)
> >>>> model: Generic-CUPS-PDF printer.  There is no 'color Postscript'
> option.
> >>>>
> >>>> cups-pdf.conf is all default values, except these lines, which are now
> >>>> commented:
> >>>> Out /usr/home/Shiner/PDFs
> >>>> AnonDirName /usr/home/Shiner/PDFs
> >>>>
> >>>>
> >>>> I use these /etc/devfs.rules:
> >>>> [system=10]
> >>>> add path 'unlpt*' mode 0660 group cups
> >>>> add path 'ulpt*' mode 0660 group cups
> >>>> add path 'lpt*' mode 0660 group cups
> >>>>
> >>>> Error log from setting up the printer 'server_PDF' - what is the
> >>>> significance of the inability to write to /var/cache/cups/ppds.dat ?
> >>>>
> >>>> I [24/Feb/2009:16:32:21 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44236) I
> >>>> [24/Feb/2009:16:36:02 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44266) I
> >>>> [24/Feb/2009:16:36:06 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44268) I
> >>>> [24/Feb/2009:16:36:08 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44269) I
> >>>> [24/Feb/2009:16:36:08 -0600] Started
> >>>> "/usr/local/libexec/cups/daemon/cups-deviced" (pid=44270) I
> >>>> [24/Feb/2009:16:36:47 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44285) I
> >>>> [24/Feb/2009:16:36:47 -0600] Started
> >>>> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=44286) E
> >>>> [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write
> >>>> "/var/cache/cups/ppds.dat" - Permission denied I [24/Feb/2009:16:38:26
> >>>> -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44293)
> I
> >>>> [24/Feb/2009:16:38:26 -0600] Started
> >>>> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=44294) E
> >>>> [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write
> >>>> "/var/cache/cups/ppds.dat" - Permission denied I [24/Feb/2009:16:39:56
> >>>> -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44301)
> I
> >>>> [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to
> >>>> "cups-pdf:/" (was "cups-pdf:/".) I [24/Feb/2009:16:39:56 -0600]
> Setting
> >>>> server_PDF printer-is-accepting-jobs to 1 (was 1.) I
> >>>> [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3
> (was
> >>>> 3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf...
> >>>> I [24/Feb/2009:16:39:56 -0600] Printer "server_PDF" modified by
> "root".
> >>>> I [24/Feb/2009:16:39:59 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44303) I
> >>>> [24/Feb/2009:16:40:14 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44307) I
> >>>> [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page "none".
> I
> >>>> [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page "none". I
> >>>> [24/Feb/2009:16:40:14 -0600] [Job 49] File of type
> >>>> application/postscript queued by "root". I [24/Feb/2009:16:40:14
> -0600]
> >>>> [Job 49] Queued on "server_PDF" by "root". I [24/Feb/2009:16:40:14
> >>>> -0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops
> >>>> (PID 44308) I
> >>>> [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend
> >>>> /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I
> >>>> [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully.
> >>>>
> >>>>
> >>>>
> >>>> Error log from CUPS restart and printing a test page to PDF printer:
> >>>>
> >>>> I [24/Feb/2009:15:14:25 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=43763) I
> >>>> [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally.
> >>>> I [24/Feb/2009:15:15:32 -0600] Saving job cache file
> >>>> "/var/cache/cups/job.cache"... I [24/Feb/2009:15:15:32 -0600]
> Listening
> >>>> to
> >>>>
> >>>> :::631 (IPv6)
> >>>>
> >>>> I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4)
> >>>> I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock
> (Domain)
> >>>> I [24/Feb/2009:15:15:32 -0600] Loaded configuration file
> >>>> "/usr/local/etc/cups/cupsd.conf" I [24/Feb/2009:15:15:32 -0600] Using
> >>>> default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32
> -0600]
> >>>> Configured for up to 100 clients.
> >>>> I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections
> per
> >>>> host. I [24/Feb/2009:15:15:32 -0600] Using policy "default" as the
> >>>> default! I [24/Feb/2009:15:15:32 -0600] Full reload is required.
> >>>> I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from
> >>>> '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33
> >>>> -0600] Loading job cache file "/var/cache/cups/job.cache"... I
> >>>> [24/Feb/2009:15:15:33 -0600] Full reload complete.
> >>>> I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in
> >>>> "/var/spool/cups/tmp"... I [24/Feb/2009:15:15:33 -0600] Listening to
> >>>> :::631 on fd 3...
> >>>> I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4...
> >>>> I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd
> >>>> 5... I [24/Feb/2009:15:15:33 -0600] Resuming new connection
> >>>> processing... I [24/Feb/2009:15:16:37 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43795) I
> >>>> [24/Feb/2009:15:16:46 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43796) I
> >>>> [24/Feb/2009:15:16:46 -0600] [Job 46] Adding start banner page "none".
> I
> >>>> [24/Feb/2009:15:16:46 -0600] [Job 46] Adding end banner page "none". I
> >>>> [24/Feb/2009:15:16:46 -0600] [Job 46] File of type
> >>>> application/postscript queued by "root". I [24/Feb/2009:15:16:46
> -0600]
> >>>> [Job 46] Queued on "server_PDF" by "root". I [24/Feb/2009:15:16:46
> >>>> -0600] [Job 46] Started filter /usr/local/libexec/cups/filter/pstops
> >>>> (PID 43797) I
> >>>> [24/Feb/2009:15:16:46 -0600] [Job 46] Started backend
> >>>> /usr/local/libexec/cups/backend/cups-pdf (PID 43798) I
> >>>> [24/Feb/2009:15:16:46 -0600] [Job 46] Completed successfully.
> >>>> I [24/Feb/2009:15:16:48 -0600] Started
> >>>> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43802)
> >>>>
> >>>>
> >>>> printers.conf:
> >>>>
> >>>> # Printer configuration file for CUPS v1.3.9
> >>>> # Written by cupsd on 2009-02-23 17:01
> >>>> <Printer HP_5p>
> >>>> Info HP 5p (right)
> >>>> DeviceURI http://192.168.0.187:9101/ipp/port1
> >>>> State Idle
> >>>> StateTime 1235057964
> >>>> Accepting Yes
> >>>> Shared Yes
> >>>> JobSheets none none
> >>>> QuotaPeriod 0
> >>>> PageLimit 0
> >>>> KLimit 0
> >>>> OpPolicy default
> >>>> ErrorPolicy stop-printer
> >>>> </Printer>
> >>>> <Printer HP_Color_LaserJet>
> >>>> Info HP Color LaserJet CM1017
> >>>> Location Local Printer
> >>>> DeviceURI socket://192.168.0.191
> >>>> State Idle
> >>>> StateTime 1234991318
> >>>> Accepting Yes
> >>>> Shared Yes
> >>>> JobSheets none none
> >>>> QuotaPeriod 0
> >>>> PageLimit 0
> >>>> KLimit 0
> >>>> OpPolicy default
> >>>> ErrorPolicy stop-printer
> >>>> </Printer>
> >>>> <Printer km_2550>
> >>>> Info Kyocera km-2550
> >>>> DeviceURI socket://192.168.0.189
> >>>> State Idle
> >>>> StateTime 1235426616
> >>>> Accepting Yes
> >>>> Shared Yes
> >>>> JobSheets none none
> >>>> QuotaPeriod 0
> >>>> PageLimit 0
> >>>> KLimit 0
> >>>> OpPolicy default
> >>>> ErrorPolicy stop-printer
> >>>> </Printer>
> >>>> <Printer server_PDF>
> >>>> Info server's PDF printer
> >>>> Location
> >>>> DeviceURI cups-pdf:/
> >>>> State Idle
> >>>> StateTime 1235430082
> >>>> Accepting Yes
> >>>> Shared Yes
> >>>> JobSheets none none
> >>>> QuotaPeriod 0
> >>>> PageLimit 0
> >>>> KLimit 0
> >>>> OpPolicy default
> >>>> ErrorPolicy stop-printer
> >>>> </Printer>
> >>>>
> >>>>
> >>>>
> >>>> cupsd.conf:
> >>>>
> >>>> # Show general information in error_log.
> >>>> LogLevel info
> >>>> SystemGroup wheel
> >>>>
> >>>> # Allow remote access
> >>>> Port 631
> >>>> Listen /var/run/cups.sock
> >>>>
> >>>> # Enable printer sharing and shared printers.
> >>>> Browsing On
> >>>> BrowseOrder allow,deny
> >>>> BrowseAllow all
> >>>> BrowseAddress @LOCAL
> >>>> DefaultAuthType Basic
> >>>>
> >>>> <Location />
> >>>>   # Allow shared printing and remote administration...
> >>>>   Order allow,deny
> >>>>   Allow @LOCAL
> >>>> </Location>
> >>>>
> >>>> <Location /admin>
> >>>>   Encryption Required
> >>>>   Require user @SYSTEM
> >>>>   # Allow remote administration...
> >>>>   Order allow,deny
> >>>>   Allow @LOCAL
> >>>> </Location>
> >>>>
> >>>> <Location /admin/conf>
> >>>>   AuthType Default
> >>>>   Require user @SYSTEM
> >>>>   # Allow remote access to the configuration files...
> >>>>   Order allow,deny
> >>>>   Allow @LOCAL
> >>>> </Location>
> >>>>
> >>>> <Policy default>
> >>>>
> >>>>   <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
> >>>> Purge-Jobs Set-
> >>>>     Require user @OWNER @SYSTEM
> >>>>     Order deny,allow
> >>>>   </Limit>
> >>>>
> >>>>   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
> >>>> CUPS-Add-Modify-Class CUPS-
> >>>>     AuthType Default
> >>>>     Require user @SYSTEM
> >>>>     Order deny,allow
> >>>>   </Limit>
> >>>>
> >>>>   <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
> >>>> Pause-Print
> >>>>     AuthType Default
> >>>>     Require user @SYSTEM
> >>>>     Order deny,allow
> >>>>   </Limit>
> >>>>
> >>>>   <Limit Cancel-Job CUPS-Authenticate-Job>
> >>>>     Require user @OWNER @SYSTEM
> >>>>     Order deny,allow
> >>>>   </Limit>
> >>>>
> >>>>   <Limit All>
> >>>>     Order deny,allow
> >>>>   </Limit>
> >>>>
> >>>> </Policy>
> >>>>
> >>>> _______________________________________________
> >>>> freebsd-questions at freebsd.org mailing list
> >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>>> To unsubscribe, send any mail to
> >>>> "freebsd-questions-unsubscribe at freebsd.org"
> >>> Did you check /var/spool/cups-pdf/root to see if your printout is
> there?
> >> Thanks for your answer Mario.
> >>
> >> Nothing in:
> >> /var/spool/cups-pdf/root      [root, wheel, 700]
> >> /var/spool/cups-pdf/ANONYMOUS [nobody,nobody,777]
> >> /var/spool/cups-pdf/SPOOL     [root,daemon,751]
> >>
> >>
> >> However, no CUPS error messages:
> >>
> >> 192.168.0.119 - - [25/Feb/2009:08:28:47 -0600] "POST
> >> /printers/server_PDF HTTP/1.1" 200 135 Get-Printer-Attributes
> successful-ok
> >> 192.168.0.119 - - [25/Feb/2009:08:28:47 -0600] "POST
> >> /printers/server_PDF HTTP/1.1" 200 353278 Print-Job successful-ok
> >> 192.168.0.119 - - [25/Feb/2009:08:28:48 -0600] "POST
> >> /printers/server_PDF HTTP/1.1" 200 135 Get-Printer-Attributes
> successful-ok
> >>
> >>
> >> I [25/Feb/2009:08:28:47 -0600] [Job ???] Request file type is
> >> application/postscript.
> >> I [25/Feb/2009:08:28:47 -0600] [Job 52] Adding start banner page "none".
> >> I [25/Feb/2009:08:28:47 -0600] [Job 52] Adding end banner page "none".
> >> I [25/Feb/2009:08:28:47 -0600] [Job 52] File of type
> >> application/postscript queued by "Cameron".
> >> I [25/Feb/2009:08:28:47 -0600] [Job 52] Queued on "server_PDF" by
> >> "Cameron". I [25/Feb/2009:08:28:47 -0600] [Job 52] Started filter
> >> /usr/local/libexec/cups/filter/pstops (PID 49445)
> >> I [25/Feb/2009:08:28:47 -0600] [Job 52] Started backend
> >> /usr/local/libexec/cups/backend/cups-pdf (PID 49446)
> >> I [25/Feb/2009:08:28:47 -0600] [Job 52] Completed successfully.
> >>
> >> One question: how and where does CUPS store its user names?  I notice
> >> that the job was submitted by "Cameron".  I used lpadmin to allow all
> >> users: lpadmin -p server_PDF -u allow:all
> >> lpadmin -p server_PDF -u deny:none
> >>
> >> but no luck.
> >
> > You're welcome !
> >
> > I believe it stores everything in cupsd.conf.
> >
> > Why don't give a shot configuring CUPS at its web interface
> > (http://localhost:631)? From there you could set up everything
> > (printers,users,test printers,etc..) and, as far a I'm concerned, it does
> a
> > better job than myself at manipulating cupsd.conf.
> >
>
> Hi Mario,
>
> I have been using the web interface all along :)
>
> The printer setup troubles me:
>
> device: CUPS-PDF (virtual PDF printer) #so far, so good
>
> make: Generic  #not so good.  There is no 'Postscript' option like there
> should be [see (a) Readme file @ http://cups-pdf.de, and (b)
> http://www.math.colostate.edu/~reinholz/freebsd/cups-pdf.html<http://www.math.colostate.edu/%7Ereinholz/freebsd/cups-pdf.html>
> )
>
> model: Generic-CUPS-PDF printer.  #more not-so-good.  There is no 'color
> Postscript' option like there should be.
>
> So I tried to set the PPD file manually:
> lpadmin -p server_PDF -P /usr/local/share/cups/model/CUPS-PDF.ppd
>
> No luck and running out of ideas.  Help.
> Cam
>
>
> ------------------------------
>
> Message: 16
> Date: Wed, 25 Feb 2009 19:33:37 +0100
> From: Dominique Goncalves <dominique.goncalves at gmail.com>
> Subject: Re: X to not blank screen or switch off monitor
> To: Brent Clark <brentgclarklist at gmail.com>
> Cc: "freebsd-questions at freebsd.org" <freebsd-questions at freebsd.org>
> Message-ID:
>        <7daacbbe0902251033x1bdc7220v75c6c644d757c931 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> On Wed, Feb 25, 2009 at 5:48 PM, Brent Clark <brentgclarklist at gmail.com>
> wrote:
> > Hiya
> >
> > I got a very minimalistic installation of FreeBSD, so much so that I
> login
> > on console and just run startx and im presented with twm.
> >
> > The problem I seem to face is that I cant get X and / or freebsd to not
> > blank the screen and / or switch off the monitor.
> >
> > Ive run
> >
> > xset s noblank && vbetool dpms on
> >
> > I even set blanktime="NO" in /etc/rc.conf.
> >
> > And yet after a period in time of idleness my monitor goes off.
>
> I've done a similar setup, add in your xorg.conf
>
> Section "ServerLayout"
> [...]
>        Option "blank time" "0"
>        Option "standby time" "0"
>        Option "suspend time" "0"
>        Option "off time" "0"
> EndSection
>
> Section "Monitor"
> [...]
>        Option      "DPMS"
> EndSection
>
> So far it works with xorg 7.4
> HTH
>
> > If anyone can help me understand or achieve my objective, i would be most
> > grateful.
> >
> > Kind Regards
> > Brent Clark
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
> >
>
> Regards.
>
> --
> There's this old saying: "Give a man a fish, feed him for a day. Teach
> a man to fish, feed him for life."
>
>
> ------------------------------
>
> Message: 17
> Date: Wed, 25 Feb 2009 15:15:46 -0500
> From: John Nielsen <lists at jnielsen.net>
> Subject: Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works
>        on      builtin NIC
> To: Faizan ul haq Muhammad <faizi62 at hotmail.com>
> Cc: FreeBSD Questions <freebsd-questions at freebsd.org>
> Message-ID: <200902251515.47094.lists at jnielsen.net>
> Content-Type: text/plain;  charset="utf-8"
>
> On Wednesday 25 February 2009 01:11:42 pm Faizan ul haq Muhammad wrote:
> > > From: lists at jnielsen.net
> > > On Wednesday 25 February 2009 12:35:23 pm Faizan ul haq Muhammad
> wrote:
> > > > Hi
> > > > I have two PCI NICs and one builtin NIC on freebsd 7.0
> > > > ifconfig shows information somthing like:
> > > >
> > > > bge0: flags=8843<UP, broadcast, runing, simplex, multicast>metric 0
> > > > mtu 1500 options=9b<RXCSUM,TXCSUM, VLAN_HWTAGGING. VLAN_HWCSUM>
> > > > ether 00:13:21:f8:7e:56
> > > > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
> > > > media: Ethernet autoselect (none) status: no carrier
> > >
> > > This is NIC doesn't appear to be plugged in.
> >
> > no it is not plugged into any other yet and if i plug it and ping it
> > from an external machine, it works
>
> That's good.
>
> > > > sk0: flags=8843<UP, broadcast, runing, simplex, multicast>metric 0
> > > > mtu 1500 options=b<RXCSUM,TXCSUM, VLAN_MTU>
> > > > ether 00:0a:5e:1a:69:25
> > > > inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
> > > > media: Ethernet autoselect (none) status: no carrier
> > >
> > > Neither is this one.
> >
> > You are right, but it does not reply to ping even if i plug this to an
> > external system with crossover cable and ping from that PC.
>
> Still not surprising. See below.
>
> > that is the difference in behaviour of both NICs
> >
> > > > Note: bge0 is builtin NIC
> > > > sk0 is 3com PCI NIC
> > > >
> > > > now after configuration of IPV4 Addresses, when i verify the
> > > > configuration with ping
> > > >
> > > > if i ping bge0(ping 192.168.0.1) i get the response of success
> > > > but when i ping sk0 (ping 192.168.0.2) Ping gets stuck and gives no
> > > > response, neither it gives success or host unreachable or denied
> > > > kinda errors..
> > >
> > > Why do you want both interfaces to be configured on the same subnet?
> >
> > that is not required as such, I am just preparing the setup to use this
> > machine a bridge and configure dummynet on this machine.
>
> You might try a different configuration for your testing. I suspect if you
> changed the IP address of sk0 to 192.168.1.2 or similar it would behave
> as you are expecting.
>
> > > > it just hangs over there.. and i can juz see one line of ping
> > > > not proceeding anyway. and if I terminate it via CTRL C then i get
> > > > statistics sumthing like 3 packets sent, 0 received and 100%
> > > > loss...
> > >
> > > This is probably expected behavior. What does "netstat -rn" show? My
> > > guess is that the route for 192.168.0.0/24 is "link#1" aka bge0 and
> > > since it's not plugged in to anything that's as far as it gets.
> >
> > btu it does not show any other interface in netstat printout with this
> > -rn switch
> >
> > and can you explain, how this is the expected behavior then..?
>
> There can only be one route at any time for any given network. When you
> bring up bge0 with 192.168.0.1 a route is automatically created for
> 192.168.0.0 pointing to that interface. When you then bring up sk0 with
> 192.168.0.2 no additional route can be added for 192.168.0.0 since there
> is already one present. Therefore ALL traffic destined for the
> 192.168.0.0 network will go out via bge0.
>
> In order to be able to ping 192.168.0.2 _locally_ you'd either need to
> connect the interfaces with a crossover cable (well, crossover isn't
> strictly necessary since gigabit ethernet adapters can figure it out on
> their own..) OR plug both interfaces into a switch/hub. Ping packet goes
> out bge0 (according to the route), across the wire and comes in on sk0
> (destination address). The response would be delivered directly to bge0
> (without going over the wire).
>
> Similarly, in order to be able to ping 192.168.0.2 from a second machine
> all _three_ interfaces would need to be connected to the same network
> segment (via a switch/hub, etc). Ping packet goes out from peer, across
> the wire and in on sk0 (destination address). Response goes out bge0
> (according to route), across the other wire and back to the peer.
>
> I hope this helps you make sense of things.
>
> JN
>
>
>
> ------------------------------
>
> Message: 18
> Date: Wed, 25 Feb 2009 12:13:29 -0800
> From: Doug Sampson <dougs at dawnsign.com>
> Subject: buildworld crashes
> To: freebsd-questions at freebsd.org
> Message-ID:
>        <3838017D92B3C445BA200CE3B6A821A40A7492 at cetus.dawnsign.com>
> Content-Type: text/plain;       charset="iso-8859-1"
>
> I accidentally did a dump on the wrong machine running FBSD 7.1-prerelease
> overwriting all of the file systems with content from another machine. This
> machine is simply a ftp server whereas the other machine a FAMP server
> running FBSD 7.1-prerelease. I would like to keep the contents of the ftp
> site (in other words, /home). I really don't care for the rest of the file
> systems.
>
> When I attempt to rebuild from sources cvsup'ped, I receive the following
> error during buildworld as follows:
>
> [...]
> /usr/obj/usr/src/etc created for /usr/src/etc
> ===> etc/sendmail (obj)
> /usr/obj/usr/src/etc/sendmail created for /usr/src/etc/sendmail
>
> --------------------------------------------------------------
> >>> stage 2.3: build tools
> --------------------------------------------------------------
> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL="sh
> /usr/src/tools/install.sh"
>
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bi
> n:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> WORLDTMP=/usr/obj/usr/src/tmp  VERSION="FreeBSD 7.1-STABLE i386 701102"
> MAKEFLAGS="-m /usr/src/tools/build/mk  -m /usr/src/share/mk"
> /usr/obj/usr/src/make.i386/make -f Makefile.inc1  TARGET=i386
> TARGET_ARCH=i386  DESTDIR=  BOOTSTRAPPING=701102 -DNO_LINT -DNO_CPU_CFLAGS
> -DNO_WARNS -DNO_CTF build-tools
> ===> bin/csh (obj,build-tools)
> grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep '^#define'
> >> sh.err.h
> Segmentation fault (core dumped)
> Segmentation fault (core dumped)
> *** Error code 139
>
> Stop in /usr/src/bin/csh.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> test-root@/usr/src#
>
>
> I've tried the following:
>
> # chflags -R noschg /usr/obj/usr
> # rm -rf /usr/obj/usr
> # cd /usr/src
> # make cleandir
> # make cleandir
>
> to no avail.
>
> Would it be best to start a fresh installation from a cd-rom instead of
> trying to repair this system?
>
> ~Doug
>
>
> ------------------------------
>
> Message: 19
> Date: Wed, 25 Feb 2009 12:37:57 -0800 (PST)
> From: Peter Steele <psteele at maxiscale.com>
> Subject: Re: USB INSTALL SCRIPTS
> To: freebsd-questions <questions at freebsd.org>
> Message-ID: <25529978.1241235594273895.JavaMail.HALO$@halo>
> Content-Type: text/plain; charset=utf-8
>
> The script runs fine, but the resulting USB drive won't boot. It hangs on
>
> Feb 25 19:27:50 kernel: atkbdc0: <Keyboard controller (i8042)> port
> 0x60,0x64 irq 1 on acpi0
>
> every time. I tried different systems as well. There is no error, it just
> hangs. Any idea what this is about? I did a web search but could fine
> anything describing this kind of hang.
>
> ----- Original Message -----
> From: "Sergio de Almeida Lenzi" <lenzi at k1.com.br>
> To: "Formula 1" <btccrules at yahoo.co.uk>, "freebsd-questions" <
> questions at freebsd.org>
> Sent: Saturday, February 21, 2009 6:18:22 AM GMT -08:00 US/Canada Pacific
> Subject: USB INSTALL SCRIPTS
>
> Ok...
> the scripts are at:
> http://dist.k1.com.br/scripts/baselist_amd64
> http://dist.k1.com.br/scripts/baselist_i386
> http://dist.k1.com.br/scripts/makebootdisk
> http://dist.k1.com.br/scripts/zfsetup
>
> install these scripts on /root
>
> makebootdisk:
> formats the disk (or usb stick) at da0,da1...) make a bsdlabel on it
> and using the baselist file, copies the running system files into the
> USB
> it will work on FreeBSD versions greater 7.0
> this way the usb is bootable, have a filesystem on it.
> the same root password...
> you can fix the files /etc/rc.conf, /boot/loader.conf in the usb
> filesystem in
> order for it to boot from your kernel.
> remeber to check for an "a" partition on your usb stick
>
> the script needs to have access to install bash (pkg_add -r bash) so it
> needs internet of a package repository with bash in it.
>
> Once boot from your usb stick, you can do the same procedure to
> transport the running system to another disk
> if you intend to make a zfs running filesytem on the target disk (hd)
> make the disklabel (bsdlabel) this way
> a: 1gb 16 unused
> b: 4gb * swap
> d: * * unused
> that is:
> a partition 1gb at offset 16
> b swap partition 4gb after partion A
> d: the rest of the disk (this will hold the zpool).
>
> the makebootdisk will install a running system on A (about 300mb...)
>
>
> ZFSETUP
> is a script that, when boot from the hd created with makebootdisk
> moves the running system (booted from "a" partition) to the the zfspool
> created, in the "d" partition mentioned above..
> it edits the loader.conf in order to boot on zfs.. in order to boot
> from
>
> After that, you are running on ZFS...
>
> Sergio
>
>
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
>
> ------------------------------
>
> Message: 20
> Date: Wed, 25 Feb 2009 14:59:11 -0800
> From: mojo fms <fbsdlilly at gmail.com>
> Subject: Re: Top returning 0.0% cpu usage
> To: Frank Shute <frank at shute.org.uk>, freebsd-questions at freebsd.org
> Message-ID:
>        <f151ba00902251459w31bdd8d0r10d9da85d7a39e75 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Feb 24, 2009 at 3:59 PM, Frank Shute <frank at shute.org.uk> wrote:
>
> > On Mon, Feb 23, 2009 at 03:21:28PM -0800, mojo fms wrote:
> > >
> > > last pid: 11406;  load averages:  0.07,  0.02,
> > > 0.00                           up 2+20:54:15  15:36:35
> > > 23 processes:  1 running, 22 sleeping
> > > CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle
> > >
> > > That is what it is displaying, the load adverage isnt it, its just the
> > CPU
> > > stats.  It always displays 0.0% all the way across the board with the
> > > machine idle or doing any kind of work.
> > >
> >
> > Ummm, that's not right. You could try:
> >
> > # cd /usr/src/usr.bin/top/
> > # make obj && make depend && make && make install
> >
> > You obviously need the source files for that. There's a section in the
> > handbook on how to install them if they're not installed already:
> >
> >
> >
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html
> >
> > You want to use cvsup/csup(1)
> >
> > The problem suggests that your world and kernel might not be in sync
> > and a rebuild might be in order.
> >
> > How did you build/install your system?
> >
> > Regards,
> >
> > --
> >
> >  Frank
> >
> >
> >  Contact info: http://www.shute.org.uk/misc/contact.html
> >
> >
>
> Same issue after the rebuild and install of top. Any other suggestions?
>
>
> ------------------------------
>
> Message: 21
> Date: Wed, 25 Feb 2009 22:31:44 +0000
> From: Paul Schmehl <pauls at utdallas.edu>
> Subject: Re: RELENG_7 != STABLE?
> To: Warren Block <wblock at wonkity.com>
> Cc: freebsd-questions at freebsd.org
> Message-ID: <7BEB43E737003AFA1ECEA232 at utd65257.utdallas.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> --On Wednesday, February 25, 2009 12:16:51 -0600 Warren Block
> <wblock at wonkity.com> wrote:
>
> >
> > On Wed, 25 Feb 2009, Paul Schmehl wrote:
> >
> >> --On Tuesday, February 24, 2009 23:02:36 -0600 Mel
> >> <fbsd.questions at rachie.is-a-geek.net> wrote:
> >>>
> >>> Presence of tag enables checkout mode, so it's not that you have a cvs
> repo
> >>> copy. Kernel date tag suggests a reboot, so the only thing that comes
> to
> >>> mind
> >>> is newvers.sh not having done it's job or UNAME_r set in env.
> >>> sysctl kern.osrelease also shows 7.1-PRERELEASE?
> >>>
> >>
> >> # sysctl kern.osrelease
> >> kern.osrelease: 7.1-PRERELEASE
> >
> > Something that might apply: your cvsup file showed cvsup12 as the
> > server.  cvsup12 stopped responding for me several months ago.  If your
> > csup and build is automated so you don't see the timeouts, that would
> > explain why you aren't getting updated.
> >
>
> Yes, that *would* explain it.  I changed to cvsup1 the other day and csup'd
> everything.  I've started a new build just a few minutes ago.  Should be
> running the new kernel in a couple of hours.
>
> Thanks for your help, Warren.
>
> --
> Paul Schmehl (pauls at utdallas.edu)
> Senior Information Security Analyst
> The University of Texas at Dallas
> http://www.utdallas.edu/ir/security/
>
> ------------------------------
>
> Message: 22
> Date: Wed, 25 Feb 2009 16:15:51 -0700
> From: Chad Perrin <perrin at apotheon.com>
> Subject: Re: OT:  The official stool for FreeBSD users?
> To: freebsd-questions at freebsd.org
> Message-ID: <20090225231551.GG8032 at kokopelli.hydra>
> Content-Type: text/plain; charset="us-ascii"
>
> On Tue, Feb 24, 2009 at 10:47:41AM -0900, Mel wrote:
> > On Monday 23 February 2009 10:56:20 Chad Perrin wrote:
> > > On Sun, Feb 22, 2009 at 08:18:16PM -0800, Charles Oppermann wrote:
> > > >
> http://www.yankodesign.com/2008/11/07/i-dont-wanna-grow-up-im-a-big-kid-n
> > > >ow/
> > >
> > > I think it might for a great "official stool" for FreeBSD as soon as
> the
> > > designer's site is usable without Flash.
> >
> > It is, you just miss adblock or similar. Instead of whining, just install
> > www/dummyflash.
>
> Please explain to me how blocking Flash makes this site usable:
>
>  http://www.corazon-design.com/
>
> --
> Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
> left (n.): 1. crazy pinko commie agricultural reformer Marxist
> theft-culture collectivist; 2. opposite of "right"
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 196 bytes
> Desc: not available
> Url :
> http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090225/2bf8c187/attachment-0001.pgp
>
> ------------------------------
>
> Message: 23
> Date: Wed, 25 Feb 2009 15:04:09 -0800
> From: Kayven Riese <kayvey at gmail.com>
> Subject: Tried and failed to use mount -t ntfs-3g
> To: freebsd-questions at freebsd.org
> Message-ID:
>        <28b9b4180902251504p5153b204t486e734f90233118 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Here I am in my fusefs-ntfs port I made the port (typescript of make
> install
> clean command attached)
>
>
> KV_BSD# ls
> Makefile    files        pkg-descr
> distinfo    makesplat.log    pkg-plist
> KV_BSD# mount -t ntfs-3g /dev/ad0s1 /mnt/vista
> mount: /dev/ad0s1 : Operation not supported by device
> KV_BSD# pwd
> /usr/ports/sysutils/fusefs-ntfs
> KV_BSD# -name -a
> zsh: command not found: -name
> KV_BSD# unmae -a
> zsh: command not found: unmae
> KV_BSD# uname -a
> FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC
> 2008     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> KV_BSD# pwd
> /usr/ports/sysutils/fusefs-ntfs
> KV_BSD#
>
>
> --
>
> *----------------------------------------------------------*
>  Kayven Riese, BSCS,
>                     MS  (Physiology and Biophysics)
>  (415) 902 5513 cellular
>  http://kayve.net
>  Webmaster http://ChessYoga.org
> *----------------------------------------------------------*
>
> ------------------------------
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
> End of freebsd-questions Digest, Vol 248, Issue 23
> **************************************************
>



-- 

*----------------------------------------------------------*
 Kayven Riese, BSCS,
                     MS  (Physiology and Biophysics)
 (415) 902 5513 cellular
 http://kayve.net
 Webmaster http://ChessYoga.org
*----------------------------------------------------------*


More information about the freebsd-questions mailing list