From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 23:43:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1F12106566B for ; Wed, 25 Feb 2009 23:43:44 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id 8F8AE8FC16 for ; Wed, 25 Feb 2009 23:43:44 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so258592wfd.7 for ; Wed, 25 Feb 2009 15:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=3EjncXby53bvRa5Um+ZNLj1xZQYxha1LhW9hIhIF+Z8=; b=A4Iun2uOShTrh0wKwXP3BYw59UOp1SgJyC9C1e/dPOh2AU+Iuz2jRO+J7rV1M03I5w d+CMnRgyicVFvVfkxVH+R4QFeoGUlfxVQ/CKnuSOcFNswhtcnnKD9q1PASUUgF+w76MR srNcTh7vxjVdyMUL87jBCB2WcNsG7l0LGWRzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DIgS1KtnjeYgzlz+lTd+B9y+czi/DR91PI2rEXwtP67Pk9ZX3sXb5eUTDNkLhBmjoq uJvDi6XpDdhU+3KeWypYUcCTyi3XQ8V6cIZiMgIGZ7Oft+YPwh0OwUWaGiP0JwMZqn40 vwshfpu/teG+0O9uexJkpQyhkl49KZfCTd+LQ= MIME-Version: 1.0 Received: by 10.142.174.8 with SMTP id w8mr304703wfe.207.1235605424027; Wed, 25 Feb 2009 15:43:44 -0800 (PST) In-Reply-To: <20090225233617.284E910656E3@hub.freebsd.org> References: <20090225233617.284E910656E3@hub.freebsd.org> Date: Wed, 25 Feb 2009 15:43:43 -0800 Message-ID: <28b9b4180902251543t2ce5edfbqaabee48cd371dccb@mail.gmail.com> From: Kayven Riese To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: freebsd-questions Digest, Vol 248, Issue 23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 23:43:45 -0000 Never mind. On Wed, Feb 25, 2009 at 3:36 PM, wro= te: > Send freebsd-questions mailing list submissions to > freebsd-questions@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@freebsd.org > > You can reach the person managing the list at > freebsd-questions-owner@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 !=3D 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 !=3D STABLE? (Warren Block) > 12. Re: RELENG_7 !=3D STABLE? (Kevin Kinsey) > 13. Re: RELENG_7 !=3D 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 !=3D 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" > Subject: PoE Midspans > To: freebsd-questions@freebsd.org > Message-ID: <20090225144023.CDA7F3B6B@sheffield.xo.com> > Content-Type: text/plain; charset=3D"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 PowerDsi= ne > 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 Corporatio= n. > This email was sent to you by Phihong USA. We are a top global manufactur= e > 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 wi= sh > to receive emails from us in the future and be removed from our list plea= se > 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 > Subject: Re: cups-pdf does not print > To: freebsd-questions@freebsd.org > Cc: Mario Lobo > Message-ID: <49A56256.60100@shineracoustics.com> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > 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 th= is > >> for about a week without success. There are no error messages when te= st > >> 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' optio= n. > >> > >> 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=3D10] > >> 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=3D44236) I > >> [24/Feb/2009:16:36:02 -0600] Started > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=3D44266) I > >> [24/Feb/2009:16:36:06 -0600] Started > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=3D44268) I > >> [24/Feb/2009:16:36:08 -0600] Started > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=3D44269) I > >> [24/Feb/2009:16:36:08 -0600] Started > >> "/usr/local/libexec/cups/daemon/cups-deviced" (pid=3D44270) I > >> [24/Feb/2009:16:36:47 -0600] Started > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=3D44285) I > >> [24/Feb/2009:16:36:47 -0600] Started > >> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=3D44286) 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=3D4429= 3) I > >> [24/Feb/2009:16:38:26 -0600] Started > >> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=3D44294) 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=3D4430= 1) 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=3D44303) I > >> [24/Feb/2009:16:40:14 -0600] Started > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=3D44307) 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] Starte= d > >> 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=3D43763) 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] Listenin= g > 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 -060= 0] > >> Configured for up to 100 clients. > >> I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections p= er > >> 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=3D43795) I > >> [24/Feb/2009:15:16:46 -0600] Started > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=3D43796) 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] Starte= d > >> 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=3D43802) > >> > >> > >> printers.conf: > >> > >> # Printer configuration file for CUPS v1.3.9 > >> # Written by cupsd on 2009-02-23 17:01 > >> > >> 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 > >> > >> > >> 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 > >> > >> > >> 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 > >> > >> > >> 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 > >> > >> > >> > >> > >> 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 > >> > >> > >> # Allow shared printing and remote administration... > >> Order allow,deny > >> Allow @LOCAL > >> > >> > >> > >> Encryption Required > >> Require user @SYSTEM > >> # Allow remote administration... > >> Order allow,deny > >> Allow @LOCAL > >> > >> > >> > >> AuthType Default > >> Require user @SYSTEM > >> # Allow remote access to the configuration files... > >> Order allow,deny > >> Allow @LOCAL > >> > >> > >> > >> > >> >> Purge-Jobs Set- > >> Require user @OWNER @SYSTEM > >> Order deny,allow > >> > >> > >> >> CUPS-Add-Modify-Class CUPS- > >> AuthType Default > >> Require user @SYSTEM > >> Order deny,allow > >> > >> > >> >> Pause-Print > >> AuthType Default > >> Require user @SYSTEM > >> Order deny,allow > >> > >> > >> > >> Require user @OWNER @SYSTEM > >> Order deny,allow > >> > >> > >> > >> Order deny,allow > >> > >> > >> > >> > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "freebsd-questions-unsubscribe@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 > Subject: Re: RELENG_7 !=3D STABLE? > To: Mel , > freebsd-questions@freebsd.org > Cc: Roland Smith > Message-ID: > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed > > --On Tuesday, February 24, 2009 23:02:36 -0600 Mel > 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 t= o > 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 > Subject: X to not blank screen or switch off monitor > To: "freebsd-questions@freebsd.org" > Message-ID: <49A57657.5090506@gmail.com> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > 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=3D"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 > Subject: Re: weird permissions on directories when installing ports > through sudo > To: Aleksandr Miroslav > Cc: freebsd-questions@freebsd.org > Message-ID: <49A577EE.3030604@computer.org> > Content-Type: text/plain; charset=3D"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=3D= 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 wer= e > > installed or upgraded were getting the wrong permissions. Not only were > > directories getting permissions of 700 (whereas previously they had bee= n > > 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@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@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 > Subject: ping stucks/hangs on PCI 3com NIC sk0 interface but works on > builtin NIC > To: > Message-ID: > Content-Type: text/plain; charset=3D"Windows-1252" > > > Hi > I have two PCI NICs and one builtin NIC on freebsd 7.0 > ifconfig shows information somthing like: > > bge0: flags=3D8843metric 0 mtu > 1500 > options=3D9b > 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=3D8843metric 0 mtu = 1500 > > options=3Db > > 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 configuratio= n > 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 no= t > 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=92s the same Hotmail=AE. If by =93same=94 you mean up to 70% faster. > http://windowslive.com/online/hotmail?ocid=3DTXT_TAGLM_WL_HM_AE_Same_0220= 09 > > ------------------------------ > > Message: 7 > Date: Wed, 25 Feb 2009 13:06:14 -0500 > From: John Nielsen > Subject: Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works > on builtin NIC > To: freebsd-questions@freebsd.org > Cc: Faizan ul haq Muhammad > Message-ID: <200902251306.14765.lists@jnielsen.net> > Content-Type: text/plain; charset=3D"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=3D8843metric 0 m= tu > > 1500 options=3D9b > > 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=3D8843metric 0 mt= u > > 1500 options=3Db > > 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 gues= s > 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 > Subject: RE: ping stucks/hangs on PCI 3com NIC sk0 interface but works > on builtin NIC > To: , FreeBSD Questions > > Message-ID: > Content-Type: text/plain; charset=3D"Windows-1252" > > > > > > > From: lists@jnielsen.net > > To: freebsd-questions@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@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=3D8843metric 0= mtu > > > 1500 options=3D9b > > > 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=3D8843metric 0 = mtu > > > 1500 options=3Db > > > 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 kind= a > > > 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 -r= n > 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=99 Hotmail=AE:=85more than just e-mail. > > http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_t2_hm_justgotbetter_ex= plore_022009 > > ------------------------------ > > Message: 9 > Date: Wed, 25 Feb 2009 15:14:09 -0300 > From: Mario Lobo > Subject: Re: cups-pdf does not print > To: freebsd@shineracoustics.com > Cc: freebsd-questions@freebsd.org > Message-ID: <200902251514.09931.mlobo@digiart.art.br> > Content-Type: text/plain; charset=3D"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 n= ow > > >> commented: > > >> Out /usr/home/Shiner/PDFs > > >> AnonDirName /usr/home/Shiner/PDFs > > >> > > >> > > >> I use these /etc/devfs.rules: > > >> [system=3D10] > > >> 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=3D44236) I > > >> [24/Feb/2009:16:36:02 -0600] Started > > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=3D44266) I > > >> [24/Feb/2009:16:36:06 -0600] Started > > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=3D44268) I > > >> [24/Feb/2009:16:36:08 -0600] Started > > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=3D44269) I > > >> [24/Feb/2009:16:36:08 -0600] Started > > >> "/usr/local/libexec/cups/daemon/cups-deviced" (pid=3D44270) I > > >> [24/Feb/2009:16:36:47 -0600] Started > > >> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=3D44285) I > > >> [24/Feb/2009:16:36:47 -0600] Started > > >> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=3D44286) 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=3D44= 293) > I > > >> [24/Feb/2009:16:38:26 -0600] Started > > >> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=3D44294) 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=3D44= 301) > 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=3D44303) I > > >> [24/Feb/2009:16:40:14 -0600] Started > > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=3D44307) 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=3D43763) 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] Usin= g > > >> 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=3D43795) I > > >> [24/Feb/2009:15:16:46 -0600] Started > > >> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=3D43796) 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=3D43802) > > >> > > >> > > >> printers.conf: > > >> > > >> # Printer configuration file for CUPS v1.3.9 > > >> # Written by cupsd on 2009-02-23 17:01 > > >> > > >> 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 > > >> > > >> > > >> 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 > > >> > > >> > > >> 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 > > >> > > >> > > >> 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 > > >> > > >> > > >> > > >> > > >> 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 > > >> > > >> > > >> # Allow shared printing and remote administration... > > >> Order allow,deny > > >> Allow @LOCAL > > >> > > >> > > >> > > >> Encryption Required > > >> Require user @SYSTEM > > >> # Allow remote administration... > > >> Order allow,deny > > >> Allow @LOCAL > > >> > > >> > > >> > > >> AuthType Default > > >> Require user @SYSTEM > > >> # Allow remote access to the configuration files... > > >> Order allow,deny > > >> Allow @LOCAL > > >> > > >> > > >> > > >> > > >> > >> Purge-Jobs Set- > > >> Require user @OWNER @SYSTEM > > >> Order deny,allow > > >> > > >> > > >> > >> CUPS-Add-Modify-Class CUPS- > > >> AuthType Default > > >> Require user @SYSTEM > > >> Order deny,allow > > >> > > >> > > >> > >> Pause-Print > > >> AuthType Default > > >> Require user @SYSTEM > > >> Order deny,allow > > >> > > >> > > >> > > >> Require user @OWNER @SYSTEM > > >> Order deny,allow > > >> > > >> > > >> > > >> Order deny,allow > > >> > > >> > > >> > > >> > > >> _______________________________________________ > > >> freebsd-questions@freebsd.org mailing list > > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > >> To unsubscribe, send any mail to > > >> "freebsd-questions-unsubscribe@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 FRE= E) > > > ------------------------------ > > Message: 10 > Date: Wed, 25 Feb 2009 12:49:16 -0500 > From: "Brian A. Seklecki" > Subject: Re: weird permissions on directories when installing ports > through sudo > To: Eric Schuele > Cc: freebsd-questions@freebsd.org, Aleksandr Miroslav > > Message-ID: > < > 1235584156.21167.108.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.= com > > > > Content-Type: text/plain; charset=3D"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 > Subject: Re: RELENG_7 !=3D STABLE? > To: Paul Schmehl > Cc: freebsd-questions@freebsd.org > Message-ID: > Content-Type: TEXT/PLAIN; charset=3DUS-ASCII; format=3Dflowed > > On Wed, 25 Feb 2009, Paul Schmehl wrote: > > > --On Tuesday, February 24, 2009 23:02:36 -0600 Mel > > 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 > Subject: Re: RELENG_7 !=3D STABLE? > To: Paul Schmehl > Cc: FreeBSD Questions > Message-ID: <49A58D08.7080807@daleco.biz> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > Paul Schmehl wrote: > > I have this in my /etc/cvsupfile: > > > > *default tag=3DRELENG_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@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 > Subject: Re: RELENG_7 !=3D STABLE? > To: freebsd-questions@freebsd.org > Cc: Paul Schmehl > Message-ID: <200902250934.09429.fbsd.questions@rachie.is-a-geek.net> > Content-Type: text/plain; charset=3D"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 > > > > > > wrote: > > >> Presence of tag enables checkout mode, so it's not that you have a c= vs > > >> 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=3D"FreeBSD" > REVISION=3D"7.1" > BRANCH=3D"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 > Subject: Re: X to not blank screen or switch off monitor > To: Brent Clark > Cc: "freebsd-questions@freebsd.org" > Message-ID: <20090225193456.75b93fe5.freebsd@edvax.de> > Content-Type: text/plain; charset=3DUS-ASCII > > On Wed, 25 Feb 2009 18:48:23 +0200, Brent Clark > 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=3D"NO" in /etc/rc.conf. > > This is for the text mode consoles only. You can add > > saver=3D"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 > Subject: Re: cups-pdf does not print > To: freebsd-questions@freebsd.org > Message-ID: <49A58F7E.2090107@shineracoustics.com> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > 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 n= ow > >>>> commented: > >>>> Out /usr/home/Shiner/PDFs > >>>> AnonDirName /usr/home/Shiner/PDFs > >>>> > >>>> > >>>> I use these /etc/devfs.rules: > >>>> [system=3D10] > >>>> 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=3D44236) I > >>>> [24/Feb/2009:16:36:02 -0600] Started > >>>> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=3D44266) I > >>>> [24/Feb/2009:16:36:06 -0600] Started > >>>> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=3D44268) I > >>>> [24/Feb/2009:16:36:08 -0600] Started > >>>> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=3D44269) I > >>>> [24/Feb/2009:16:36:08 -0600] Started > >>>> "/usr/local/libexec/cups/daemon/cups-deviced" (pid=3D44270) I > >>>> [24/Feb/2009:16:36:47 -0600] Started > >>>> "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=3D44285) I > >>>> [24/Feb/2009:16:36:47 -0600] Started > >>>> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=3D44286) 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=3D44= 293) > I > >>>> [24/Feb/2009:16:38:26 -0600] Started > >>>> "/usr/local/libexec/cups/daemon/cups-driverd" (pid=3D44294) 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=3D44= 301) > 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=3D44303) I > >>>> [24/Feb/2009:16:40:14 -0600] Started > >>>> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=3D44307) 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=3D43763) 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] Usin= g > >>>> 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=3D43795) I > >>>> [24/Feb/2009:15:16:46 -0600] Started > >>>> "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=3D43796) 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=3D43802) > >>>> > >>>> > >>>> printers.conf: > >>>> > >>>> # Printer configuration file for CUPS v1.3.9 > >>>> # Written by cupsd on 2009-02-23 17:01 > >>>> > >>>> 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 > >>>> > >>>> > >>>> 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 > >>>> > >>>> > >>>> 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 > >>>> > >>>> > >>>> 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 > >>>> > >>>> > >>>> > >>>> > >>>> 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 > >>>> > >>>> > >>>> # Allow shared printing and remote administration... > >>>> Order allow,deny > >>>> Allow @LOCAL > >>>> > >>>> > >>>> > >>>> Encryption Required > >>>> Require user @SYSTEM > >>>> # Allow remote administration... > >>>> Order allow,deny > >>>> Allow @LOCAL > >>>> > >>>> > >>>> > >>>> AuthType Default > >>>> Require user @SYSTEM > >>>> # Allow remote access to the configuration files... > >>>> Order allow,deny > >>>> Allow @LOCAL > >>>> > >>>> > >>>> > >>>> > >>>> >>>> Purge-Jobs Set- > >>>> Require user @OWNER @SYSTEM > >>>> Order deny,allow > >>>> > >>>> > >>>> >>>> CUPS-Add-Modify-Class CUPS- > >>>> AuthType Default > >>>> Require user @SYSTEM > >>>> Order deny,allow > >>>> > >>>> > >>>> >>>> Pause-Print > >>>> AuthType Default > >>>> Require user @SYSTEM > >>>> Order deny,allow > >>>> > >>>> > >>>> > >>>> Require user @OWNER @SYSTEM > >>>> Order deny,allow > >>>> > >>>> > >>>> > >>>> Order deny,allow > >>>> > >>>> > >>>> > >>>> > >>>> _______________________________________________ > >>>> freebsd-questions@freebsd.org mailing list > >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>>> To unsubscribe, send any mail to > >>>> "freebsd-questions-unsubscribe@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 do= es > 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 > ) > > 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 > Subject: Re: X to not blank screen or switch off monitor > To: Brent Clark > Cc: "freebsd-questions@freebsd.org" > Message-ID: > <7daacbbe0902251033x1bdc7220v75c6c644d757c931@mail.gmail.com> > Content-Type: text/plain; charset=3DISO-8859-1 > > Hi, > > On Wed, Feb 25, 2009 at 5:48 PM, Brent Clark > 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=3D"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 mo= st > > grateful. > > > > Kind Regards > > Brent Clark > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@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 > Subject: Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works > on builtin NIC > To: Faizan ul haq Muhammad > Cc: FreeBSD Questions > Message-ID: <200902251515.47094.lists@jnielsen.net> > Content-Type: text/plain; charset=3D"utf-8" > > On Wednesday 25 February 2009 01:11:42 pm Faizan ul haq Muhammad wrote: > > > From: lists@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=3D8843metric= 0 > > > > mtu 1500 options=3D9b > > > > 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=3D8843metric = 0 > > > > mtu 1500 options=3Db > > > > 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 yo= u > 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 > Subject: buildworld crashes > To: freebsd-questions@freebsd.org > Message-ID: > <3838017D92B3C445BA200CE3B6A821A40A7492@cetus.dawnsign.com> > Content-Type: text/plain; charset=3D"iso-8859-1" > > I accidentally did a dump on the wrong machine running FBSD 7.1-prereleas= e > overwriting all of the file systems with content from another machine. Th= is > 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 fil= e > 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 > =3D=3D=3D> etc/sendmail (obj) > /usr/obj/usr/src/etc/sendmail created for /usr/src/etc/sendmail > > -------------------------------------------------------------- > >>> stage 2.3: build tools > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj INSTALL=3D"sh > /usr/src/tools/install.sh" > > PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/u= sr/bi > n:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > WORLDTMP=3D/usr/obj/usr/src/tmp VERSION=3D"FreeBSD 7.1-STABLE i386 70110= 2" > MAKEFLAGS=3D"-m /usr/src/tools/build/mk -m /usr/src/share/mk" > /usr/obj/usr/src/make.i386/make -f Makefile.inc1 TARGET=3Di386 > TARGET_ARCH=3Di386 DESTDIR=3D BOOTSTRAPPING=3D701102 -DNO_LINT -DNO_CPU= _CFLAGS > -DNO_WARNS -DNO_CTF build-tools > =3D=3D=3D> 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 > Subject: Re: USB INSTALL SCRIPTS > To: freebsd-questions > Message-ID: <25529978.1241235594273895.JavaMail.HALO$@halo> > Content-Type: text/plain; charset=3Dutf-8 > > The script runs fine, but the resulting USB drive won't boot. It hangs on > > Feb 25 19:27:50 kernel: atkbdc0: 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" > To: "Formula 1" , "freebsd-questions" < > questions@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > ------------------------------ > > Message: 20 > Date: Wed, 25 Feb 2009 14:59:11 -0800 > From: mojo fms > Subject: Re: Top returning 0.0% cpu usage > To: Frank Shute , freebsd-questions@freebsd.org > Message-ID: > > Content-Type: text/plain; charset=3DISO-8859-1 > > On Tue, Feb 24, 2009 at 3:59 PM, Frank Shute 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% idl= e > > > > > > That is what it is displaying, the load adverage isnt it, its just th= e > > 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-upgrad= ing.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 > Subject: Re: RELENG_7 !=3D STABLE? > To: Warren Block > Cc: freebsd-questions@freebsd.org > Message-ID: <7BEB43E737003AFA1ECEA232@utd65257.utdallas.edu> > Content-Type: text/plain; charset=3D"us-ascii" > > --On Wednesday, February 25, 2009 12:16:51 -0600 Warren Block > wrote: > > > > > On Wed, 25 Feb 2009, Paul Schmehl wrote: > > > >> --On Tuesday, February 24, 2009 23:02:36 -0600 Mel > >> wrote: > >>> > >>> Presence of tag enables checkout mode, so it's not that you have a cv= s > 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@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 > Subject: Re: OT: The official stool for FreeBSD users? > To: freebsd-questions@freebsd.org > Message-ID: <20090225231551.GG8032@kokopelli.hydra> > Content-Type: text/plain; charset=3D"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 insta= ll > > 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 > Subject: Tried and failed to use mount -t ntfs-3g > To: freebsd-questions@freebsd.org > Message-ID: > <28b9b4180902251504p5153b204t486e734f90233118@mail.gmail.com> > Content-Type: text/plain; charset=3D"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 UT= C > 2008 root@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > End of freebsd-questions Digest, Vol 248, Issue 23 > ************************************************** > --=20 *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------*