Re: BSDstats Project v1.0

2006-08-06 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

User Freebsd wrote:
 
 John pointed out a bug that I hadn't noticed, mainly because I was
 testing single host ... basically, I installed PHP5 on the backend, and
 stupidly didn't check to make sure that they *hadn't* gone and changed
 all of the DB access functions from 4.x :(
 
 The bug is fixed, and I've tested using three different servers to make
 sure its being updated properly ...
 
 For those that have submitted already once, please re-submit, since your
 data was added the first time through ...
 
 And, there is now a port /usr/ports/sysutils/bsdstats that will
 install it in /usr/local/etc/periodic/monthly, thanks to John there too
 ... no changes to the script itself have been made yet, just a fix on
 the backend ...
 
 Will work on adding pciconf support in next ...
 
 On Sat, 5 Aug 2006, User Freebsd wrote:
 
 On Sat, 5 Aug 2006, John Nielsen wrote:

 Here is a sample (working) port. Un-tar the archive under
 ports/sysutils. It installs the script to
 ${LOCALBASE}/etc/periodic/monthly and prints a message about how to
 enable it. Have a look at it, edit all the text entries to make them
 your own (in particular I didn't do a real pkg-descr), and submit it
 as a PR (I can assist you with that off-list if you'd like).

 Perfect, thanks ... I have commit access to ports, so I can commit it
 later over the weekend ...

 Feature request: the script should output one line of text indicating
 success or failure (and to remind people who read their periodic
 e-mails that it's actually running).

 I am personally terrible at 'human friendly features', especially when
 it comes to text ... its why most web pages I design seem
 ultra-utilitarian unless I talk someone into writing things nicely ...

 IMHO, this whole thing isn't meant for my edification, but to provide
 *us*, as a project, with some overall numbers to advocate/market
 ourselves better ... *please* feel free to submit any patches to the
 script that you (or anyone else) feels needs to be added to improve
 things ...

 The more ppl involved, the more successful the endeavor will be ...

 
 Marc G. Fournier   Hub.Org Networking Services
 (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN .
 [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 
 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664


I know I may be overachieving a bit in my overall thoughts of this
plan, but why not do something similar for the rest of the BSDs and/or
Linux/Solaris? I find this a good statistical tool for determining how
many desktops run what form of Unix, so better numbers could be derived
for overall Unix driver support.
Just a thought..
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE1ZI16CkrZkzMC68RAuckAJ4saa+s0A9rrh/Y0+rz0iOIuFSJzACeKv83
jm6zc18gXN4y28QtAW31f4c=
=p/y8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2006-07-16 - 2006-08-05

2006-08-06 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

25-Jul : RAID-5 drive failure
 A drive in my RAID-5 array has failed 
 http://freebsddiary.org/raid-5-failure.php?2

23-Jul : Donations sought for SATA drives
 I'm asking for your help in purchasing new hardware 
 http://freebsddiary.org/opteron-drives-fund-raising.php?2

17-Jul : TRENDnet Print Server
 A nifty little applicance can make everything easier 
 http://freebsddiary.org/trendnet-print-server.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Demo at Black Dog Mastering Studio av

2006-08-06 Thread Black Dog Mastering Studio
BLACK DOG MASTERING STUDIO will provide ONE FREE DEMO for all new customers.  
If you want to hear what our Mastering Service can do for your MIXcome 
catch the vibe with Black Dog Mastering Studio at 
http://blackdogmastering.com/free_master_form.html;.

We have the capability to work with clients WorldWide.  The process is 
easy...upload to our server or send your CD/DVD(s) via mail.  A web page will 
be created for you to download .mp3 or .wav files to review the progress. 

Mixing Services also available. 

K.C.
Director, Marketing
Black Dog Mastering Studio
5373 Ehrlich Road
Suite 203-143
Tampa, FL 33625
1.800.283.0410


Hear the difference - http://blackdogmastering.com/Mastering_Samples.html




 To unsubscribe:
http://www.blackdogmastering.com/cgi-bin/autoresponder/ar.cgi?mode=ra=master[EMAIL
 PROTECTED]

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


Demo at Black Dog Mastering Studio av

2006-08-06 Thread Black Dog Mastering Studio
BLACK DOG MASTERING STUDIO will provide ONE FREE DEMO for all new customers.  
If you want to hear what our Mastering Service can do for your MIXcome 
catch the vibe with Black Dog Mastering Studio at 
http://blackdogmastering.com/free_master_form.html;.

We have the capability to work with clients WorldWide.  The process is 
easy...upload to our server or send your CD/DVD(s) via mail.  A web page will 
be created for you to download .mp3 or .wav files to review the progress. 

Mixing Services also available. 

K.C.
Director, Marketing
Black Dog Mastering Studio
5373 Ehrlich Road
Suite 203-143
Tampa, FL 33625
1.800.283.0410


Hear the difference - http://blackdogmastering.com/Mastering_Samples.html




 To unsubscribe:
http://www.blackdogmastering.com/cgi-bin/autoresponder/ar.cgi?mode=ra=master[EMAIL
 PROTECTED]

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


cups update commited

2006-08-06 Thread Ion-Mihai Tetcu
Hi,


I just updated cups to 1.2.2 and also a lot of fixes to the port.

If some things still don't work please submit PRs; please put in as
many details as possible and take a look first to see if the problem is
known / fixed upstream.


Thanks,

-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect

BOFH excuse #333:
A plumber is needed, the network drain is clogged


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


Re: Will not boot from halt

2006-08-06 Thread Gerard Seibert
Jerry McAllister wrote:

 Then I could let it set and either cut the power or hit a key
 and make it reboot.
 
 But.Now, I do the shutdown -h now and it goes down to that
 halted state with the same message.But, when I hit a key
 it seems to ignore it and just sits there and seems to do nothing.   
 To reboot then, I have to kill the power and turn it back on.
 
 I am not trying to get it to go all the way down to poweroff - 
 just sit there and wait for me to hit a key for a reboot - without
 doing a poweroff, which worked fine under FreeBSD 4.xxx
 
 Has anyone noticed something like this?   Is it an OS change/bug
 or did I probably do something weird when I did the reinstall.
 It is more of an annoyance than a big problem, but something isn't
 right.
 
 By the way, shutdown -r now seems to work as expected.

I have the exact same problem after updating from FBSD 5.4. I had
thought it was just me.

-- 
Gerard Seibert
[EMAIL PROTECTED]

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


Re: Cups USB workaround was working but now fails

2006-08-06 Thread Ian Moore
On Sunday 06 August 2006 02:50, Apatewna wrote:
 O/H Ian Moore έγραψε:
  It seems that cups now won't recognise the file: setting, yet previously
  it did. I checked back through my logs to see if a newer cups port had
  come out  I'd inadvertently upgraded to it, but it seems that's not the
  case - it's still 1.2.0
  Using the usb: URI always gives the same result - the job starts printing
  but stops after about 12% and won't go any further.
 
  Any ideas as to why my cups no longer accepts the file: URI?
  I'm running FreeBSD 5.11-Release-p2 and my printer is an Epson Stylus C61
  on a USB port.
 
  Cheers,

 I just checked http://www.cups.org/articles.php?L397 and CUPS is at
 1.2.2 already.
 I also remember a major problem with 1.2.0. See these threads :

 http://forums.pcbsd.org/viewtopic.php?t=4173highlight=cups
 http://www.bsdforums.org/forums/showthread.php?t=42391

 I remember that the severity of the bug was so great that the 1.2.1
 update was in the ports in a week or so.
 I'm not in front of a BSD machine to be sure, but have you upgraded
 your ports lately? Cups 1.2.1 should at least be there.

 Also, I don't think you are running FreeBSD 5.11-Release-p2 yet! :)

:-) Oops - that's what happens when I send emails late at night - It's 5.5-p2.

As someone mentioned below, 1.2.0 has been the latest version of CUPS in 
ports, but I'll try the new commit that was made today and see how things go!

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpFSNUiUBZZZ.pgp
Description: PGP signature


Re: Will not boot from halt

2006-08-06 Thread Hans Ottevanger

Gerard Seibert wrote:

Jerry McAllister wrote:


Then I could let it set and either cut the power or hit a key
and make it reboot.

But.Now, I do the shutdown -h now and it goes down to that
halted state with the same message.But, when I hit a key
it seems to ignore it and just sits there and seems to do nothing.   
To reboot then, I have to kill the power and turn it back on.


I am not trying to get it to go all the way down to poweroff - 
just sit there and wait for me to hit a key for a reboot - without

doing a poweroff, which worked fine under FreeBSD 4.xxx

Has anyone noticed something like this?   Is it an OS change/bug
or did I probably do something weird when I did the reinstall.
It is more of an annoyance than a big problem, but something isn't
right.

By the way, shutdown -r now seems to work as expected.


I have the exact same problem after updating from FBSD 5.4. I had
thought it was just me.



Here I had exactly the same problem on my ancient laptop running 
6.1-STABLE. I solved the problem by removing the kbdmux device from my 
kernel configuration. This laptop uses the atkbd driver for the keyboard.


I also verified this on a Pentium 4, also using an AT keyboard: if 
kbdmux is in the kernel configuration the problem occurs, if it is not, 
the system behaves normally when using shutdown -h now.


So I advise to delete or comment the line:

device  kbdmux  # keyboard multiplexer

from your kernel configuration file and recompile the kernel.

You probably do not need kbdmux if you use just one single type of keyboard.

Kind regards,

Hans Ottevanger

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


Confused on how to properly set /etc/hosts

2006-08-06 Thread Ro BGCT

Hello,

I am new to FreeBSD and am wondering if someone couldt tell me how to
properly set /etc/hosts.  Right now it is:

127.0.0.1 localhost localhost.my.domain

It says to replace my.domain with the domain name of my machine.  If
I am using this box remotely and its hostname is web1.server.net,
would I make the change like:

127.0.0.1 localhost web1.server.net

Or am I doing it wrong?

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


Re: Midnight Commander in base distribution set

2006-08-06 Thread Simon Phoenix
On Friday 04 August 2006 09:41, Renat S. Nurgaliyev wrote:
 Please, please, please, include Midnight Commander into the future
 releases of FreeBSD! It is extremely time-safing and lightweight tool. It
 can be installed from ports, but what about disconnected PC's? Thanks a
 lot.

IMHO no reason for this. Many users never use mc or use another file manager.

-- 
Best regards,
Simon Phoenix (Phoenix Lab.)
---
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B
---


pgp3nPDoEjZvR.pgp
Description: PGP signature


Re: Confused on how to properly set /etc/hosts

2006-08-06 Thread Matthew Seaman
Ro BGCT wrote:
 Hello,
 
 I am new to FreeBSD and am wondering if someone couldt tell me how to
 properly set /etc/hosts.  Right now it is:
 
 127.0.0.1 localhost localhost.my.domain
 
 It says to replace my.domain with the domain name of my machine.  If
 I am using this box remotely and its hostname is web1.server.net,
 would I make the change like:
 
 127.0.0.1 localhost web1.server.net
 
 Or am I doing it wrong?

The instructions mean you should edit the line to read:

127.0.0.1   localhost localhost.server.net

Generally if you have a fully qualified domain name eg 'web1.server.net'
then 'web1' is frequently referred to as the 'host name' and 'server.net'
as the 'domain name'.  It's shorthand, and it's technically not correct[*]
but it's commonly understood.

Don't get too hung up over the /etc/hosts thing.  Arguably it's equally
correct to have just:

127.0.0.1   localhost

Any extras on that line won't make any noticeable difference at all on
most setups.

Cheers,

Matthew

[*] In the DNS *everything* (fully qualified or not) is a domain name,
whether it refers to a host, a web site, a whole network or whatever.

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Confused on how to properly set /etc/hosts

2006-08-06 Thread Darrin Chandler
On Sun, Aug 06, 2006 at 09:24:59AM -0400, Ro BGCT wrote:
 
 I am new to FreeBSD and am wondering if someone couldt tell me how to
 properly set /etc/hosts.  Right now it is:
 
 127.0.0.1 localhost localhost.my.domain
 
 It says to replace my.domain with the domain name of my machine.  If
 I am using this box remotely and its hostname is web1.server.net,
 would I make the change like:
 
 127.0.0.1 localhost web1.server.net
 
 Or am I doing it wrong?

You should only replace the my.domain part with the 2nd level domain,
so it would be:

127.0.0.1 localhost localhost.server.net

You *may* also have an entry for web1, but it would normally contain
your assigned IP address:

10.10.10.115 web1 web1.server.net

But you may not want anything except localhost, depending on your DNS
setup. In fact, stick with localhost only until and unless you have a
reason to add more to /etc/hosts.

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Midnight Commander in base distribution set

2006-08-06 Thread Thomas Dickey
On Sun, Aug 06, 2006 at 04:44:26PM +0300, Simon Phoenix wrote:
 On Friday 04 August 2006 09:41, Renat S. Nurgaliyev wrote:
  Please, please, please, include Midnight Commander into the future
  releases of FreeBSD! It is extremely time-safing and lightweight tool. It
  can be installed from ports, but what about disconnected PC's? Thanks a
  lot.
 
 IMHO no reason for this. Many users never use mc or use another file manager.

otoh, when I demo'd a version of dired 20-odd years ago to Dick Wexelblat,
he commented that it was like getting eyes.

ymmv

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgp3Q5wILPh10.pgp
Description: PGP signature


Re: BSDstats Project v1.0

2006-08-06 Thread User Freebsd

On Sat, 5 Aug 2006, Garrett Cooper wrote:

	I know I may be overachieving a bit in my overall thoughts of this 
plan, but why not do something similar for the rest of the BSDs and/or 
Linux/Solaris? I find this a good statistical tool for determining how 
many desktops run what form of Unix, so better numbers could be derived 
for overall Unix driver support.


Actually, the rest of the BSDs are most welcome to participate, and I've 
just update the port to extend the initial stats sent to include Operating 
System ...




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v1.0

2006-08-06 Thread User Freebsd


I just threw up a couple of very simple tables, showing # of systems 
reporting in this month, as well as a break down of release / architecture 
for those that have reported in ...



On Sat, 5 Aug 2006, Garrett Cooper wrote:


---
/usr/local/libexec/ppf_verify: pgp command failed

gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: Signature made Sun Aug  6 03:54:45 2006 ADT using DSA key ID 4CCC0BAF
gpg: Can't check signature: public key not found
---

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

User Freebsd wrote:


John pointed out a bug that I hadn't noticed, mainly because I was
testing single host ... basically, I installed PHP5 on the backend, and
stupidly didn't check to make sure that they *hadn't* gone and changed
all of the DB access functions from 4.x :(

The bug is fixed, and I've tested using three different servers to make
sure its being updated properly ...

For those that have submitted already once, please re-submit, since your
data was added the first time through ...

And, there is now a port /usr/ports/sysutils/bsdstats that will
install it in /usr/local/etc/periodic/monthly, thanks to John there too
... no changes to the script itself have been made yet, just a fix on
the backend ...

Will work on adding pciconf support in next ...

On Sat, 5 Aug 2006, User Freebsd wrote:


On Sat, 5 Aug 2006, John Nielsen wrote:


Here is a sample (working) port. Un-tar the archive under
ports/sysutils. It installs the script to
${LOCALBASE}/etc/periodic/monthly and prints a message about how to
enable it. Have a look at it, edit all the text entries to make them
your own (in particular I didn't do a real pkg-descr), and submit it
as a PR (I can assist you with that off-list if you'd like).


Perfect, thanks ... I have commit access to ports, so I can commit it
later over the weekend ...


Feature request: the script should output one line of text indicating
success or failure (and to remind people who read their periodic
e-mails that it's actually running).


I am personally terrible at 'human friendly features', especially when
it comes to text ... its why most web pages I design seem
ultra-utilitarian unless I talk someone into writing things nicely ...

IMHO, this whole thing isn't meant for my edification, but to provide
*us*, as a project, with some overall numbers to advocate/market
ourselves better ... *please* feel free to submit any patches to the
script that you (or anyone else) feels needs to be added to improve
things ...

The more ppl involved, the more successful the endeavor will be ...


Marc G. Fournier   Hub.Org Networking Services
(http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN .
[EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664



I know I may be overachieving a bit in my overall thoughts of this
plan, but why not do something similar for the rest of the BSDs and/or
Linux/Solaris? I find this a good statistical tool for determining how
many desktops run what form of Unix, so better numbers could be derived
for overall Unix driver support.
Just a thought..
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE1ZI16CkrZkzMC68RAuckAJ4saa+s0A9rrh/Y0+rz0iOIuFSJzACeKv83
jm6zc18gXN4y28QtAW31f4c=
=p/y8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups update commited

2006-08-06 Thread Anthony Agelastos


On Aug 6, 2006, at 5:25 AM, Ion-Mihai Tetcu wrote:


Hi,


I just updated cups to 1.2.2 and also a lot of fixes to the port.

If some things still don't work please submit PRs; please put in as
many details as possible and take a look first to see if the  
problem is

known / fixed upstream.


Thanks,

--
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as  
Intellect


BOFH excuse #333:
A plumber is needed, the network drain is clogged


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]
Thank you for updating CUPS. It appears that the update has addressed  
many of my issues (I can now use it as a network printer). The only  
remaining issues I have are with some messages in /var/log/messages  
(and with the fact that hp-setup does not work as advertised). The  
output in /var/log/messages tends to repeat each time something is  
sent to the printer (the logfile was short when I initially tail'd it  
below, so I sent something to print and now the logfile has grown  
(shown in the second tail)). Does anyone have any ideas? Is it normal  
for the all threads purged from ugen-style statements? Thank you  
all for your assistance with this.


Script started on Sun Aug  6 11:00:14 2006
dell# hp-setupd


HP Linux Imaging and Printing System (ver. 0.9.11)
Printer/Fax Setup Utility ver. 2.0

Copyright (c) 2003-6 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device: hp:/usb/hp_LaserJet_1160_series? 
serial=00CNG1R02434


Setting up device: hp:/usb/hp_LaserJet_1160_series?serial=00CNG1R02434

(Note: Defaults for each question are maked with a '*'. Press enter  
to accept the default.)


 [ERROR]: Unsupported printer model.
dell# tail -n 30 /var/log/messages

Aug  6 11:00:00 dell newsyslog[1155]: logfile turned over due to  
size100K

Aug  6 11:00:21 dell python: hpssd [ERROR] Not found
Aug  6 11:00:21 dell python:  [ERROR] Unsupported printer model.
dell# ls /var/log/ 
[Ktail -n 30 /var/log/messages


Aug  6 11:00:00 dell newsyslog[1155]: logfile turned over due to  
size100K

Aug  6 11:00:21 dell python: hpssd [ERROR] Not found
Aug  6 11:00:21 dell python:  [ERROR] Unsupported printer model.
Aug  6 11:01:12 dell python: hpssd [ERROR] Not found
Aug  6 11:01:12 dell hp_LaserJet_1160_series?serial=00CNG1R02434:  
invalid ModelQueryResult: msg=modelqueryresult result-code=48  prnt/ 
hpijs/hplip_api.c 396

Aug  6 11:01:12 dell kernel: All threads purged from ugen0.1
Aug  6 11:01:14 dell python: hpssd [ERROR] Not found
Aug  6 11:01:14 dell hpijs: invalid ModelQueryResult:  
msg=modelqueryresult result-code=48  hplip_api.c 396

dell# exiexit

exit

Script done on Sun Aug  6 11:01:36 2006

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


Re: Network Failure

2006-08-06 Thread Chuck Swiger

Jonathan Anthony wrote:

When I boot up, it gets to the point when it tries to bring up the ethernet 
card, and then it prints out this error:

DHCPDISCOVER on r10 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 192.068.0.1
Bogus domain search list 15: domain_not_set.invalid (domain_not_set.invalid)
invalid release option - ignoring offer

packet_to_lease failed.

Anyway, I need to get the internet working so I can get more software. Thank 
you.


The DHCP server on your network has not been configured properly.  You or your 
helpful sysadmin (if you have one, your ISP if not) will need to fix that, 
before trying to obtain a DHCP lease on a client will work right.


Note that using ifconfig and route add default to set up your Internet 
connection manually will work if you know the network config information.


--
-Chuck

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


USB 2.0 host controller works as 1.1

2006-08-06 Thread Andrey R. Masalov

Hello, everybody!!!

I have eletegroup 648fx-a2 motherboard on the sis chipset. There are 3 
USB 2.0/1.1 host controller in my mother.


My OS is

 uname -a
FreeBSD  6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #3: Thu Jul 20 23:05:04 
KRAST 2006 root@:/usr/src/sys/i386/compile/PNCKKERNEL2  i386


There is support USB 2.0 in my kernel.

I connected 2 USB 2.0 devices scanner mustek bearpaw 2448cs plus and 
photo camera olympus c-480z. I try connecting this devices in all USB 
ports. But my OS watched only this:


 usbdevs -dov
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x), 
SiS(0x), rev 1.00, device uhub0

port 1 powered
port 2 powered
port 3 addr 2: full speed, power 500 mA, config 1, USB Scanner(0x021a), 
vendor 0x055f(0x055f), rev 1.00, device ugen0

Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x), 
SiS(0x), rev 1.00, device uhub1
port 1 addr 2: full speed, self powered, config 1, 
X550/D545Z/C480Z(0x0109), OLYMPUS(0x07b4), rev 1.00, device umass0

port 2 powered
port 3 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, OHCI root hub(0x), 
SiS(0x), rev 1.00, device uhub2

port 1 powered
port 2 powered
Controller /dev/usb3:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
SiS(0x), rev 1.00, device uhub3

port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered
port 6 powered
port 7 powered
port 8 powered

These devices works as usb 1.1. But I wont, that these devices works as 2.0.

I have read man usb  man usbd  man usbd.conf  man ohci  man uhci 
 man ehci and have searched in the web. I couldn't find necessary 
information. :( It's bad. :)


Please help me. I'll be glad to receive from you any information.

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


BSDCert survey

2006-08-06 Thread Dru


Hi everyone,

This isn't a question about FreeBSD, but about what the FreeBSD community 
thinks about BSD certification and the most affordable method for 
delivering the upcoming BSDA certification exam.


The BSD Certification Group is hosting a short survey which is available 
in English, Brazilian Portuguese, French, German, Italian and Polish 
(the Mexican Spanish version should be available sometime next week). The 
press releases and links for each language are available here:


http://www.bsdcertification.org/index.php?NAV=NewsItem=pr031

Please take a few minutes to complete the survey and feel free to forward 
the press release to any forums which haven't published it thus far.


If you have any questions regarding the upcoming BSDA, email me off list 
or subscribe to bsdcert@lists.nycbug.org  .


Cheers,

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


Re: rebooting and crashes on dell server

2006-08-06 Thread Odhiambo Washington
I had a very similar experience with a Dell PowerEdge 2800
recently, not even 3 weeks have elapsed!
The problem, as we realized from some Dell engineer, was with
the firmware on the mobo of this model.
I was running FreeBSD 4.11-STABLE on the box.
I bought HP ML350, migrated the whole setup to it and no problems
even as I speak now!
I am still waiting for a replacement motherboard from Dell (local
vendor) for the 2800.

There is a Dell 2850 that I setup as a server for a client, using
FreeBSD 5.2.1. It's been running rock solid, and the only update
I ever did was to update it to 5.2.1-patch14, which it will never
go beyond, as I see no need.

So, the moral of the story? Put the Dell aside, get a good HP and
sit easy.

* On 28/02/06 21:44 -0800, BSD Guy wrote:
| Theres alot to this problem, but I'll try to be
| concise so I don't loose people.  I started out with a
| cheap dell server running scsi raid and 5.x  It
| crashed or locked up with a kernel panic in a
| different process (everything, syslog, you name it)
| ever few days.  I swapped ram around figuring it was
| at fault since it was bought used on ebay.  Still no
| luck.
| 
| Tired of messing with it, I bought a new dell
| poweredge 2650, with scsi raid, a couple gigs of ram,
| duals, and just a new system, configured it, copied
| user data over and switched to it.  Sure enough still
| the worst stability I've ever seen.  It has dual power
| supplies, each in a different UPS. I don't believe
| power is the problem or I'd see similar problems on
| the other server or router I have plugged in there.  I
| even upgraded to 6.0-Release-p1 but no luck.  
| 
| It panics from time to time, but usually now it just
| randomly reboots.  Often at least every 36 hours. 
| Often 2-3 times a few minutes apart when it does.  I
| did install a debug kernel 2 weeks ago to try to get a
| crash dump, but no panic's since then.
| 
| My make.conf is pretty simple:
| KERNCONF=crapbox
| CPUTYPE?=p4
| CFLAGS= -O -pipe
| NO_BLUETOOTH=   true# do not build Bluetooth
| related stuff
| NO_I4B= true# do not build isdn4bsd package
| NO_LPR= true# do not build lpr and related
| programs
| NO_GAMES=true# do not build games (games/
| subdir)
| MAKE_IDEA= YES # IDEA (128 bit symmetric
| encryption)
| # added by use.perl 2005-09-29 11:26:41
| PERL_VER=5.8.7
| PERL_VERSION=5.8.7
| 
| Its not all that stressed of a box:
| load averages: 0.14, 0.07, 0.06
| Mem: 235M Active, 367M Inact, 160M Wired, 33M Cache,
| 99M Buf, 81M Free
| Swap: 1024M Total, 1024M Free
| 
| I've tweaked all the kernel values mentioned in the
| tuneable section of the manual, but the reboots
| continue.  The box runs radiator (a perl based radius
| server), apache+mod_ssl-1.3.x with php5, postfix-2.2,
| amavisd-new-2.3, courier-imap-4.0, pure-ftp, nrpe
| (nagios), net-snmp, ssh, and bind 9.3.1 all from ports
| (except radiator).  
| 
| I run the same mail server setup on another server
| with no problem, although it processes far less mail. 
| I use radiator on another server with no problem. 
| This is a unique combination of packages I'm running,
| but no unique programs or configurations to this
| server. Between amavis and radiator it does alot of
| perl, and everything is a mysql lookup to another
| server.  While all logic and experience points to a
| hardware problem I feel like the complete hardware
| replacement has pretty much laid the blame on
| software.  
| 
| I'm open to any suggestion as to what I might need to
| look at to clear this up. I'm about to have a nervous
| breakdown and insteall debian in desperation heh. I've
| tried a kernel without smp, I've tried disabling acpi
| on boot.  If you need any more information feel free
| to ask for it, I'll happily provide it.
| Thanks!  
| 
| __
| Do You Yahoo!?
| Tired of spam?  Yahoo! Mail has the best spam protection around 
| http://mail.yahoo.com 
| ___
| freebsd-questions@freebsd.org mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to [EMAIL PROTECTED]

-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

... I'm IMAGINING a sensuous GIRAFFE, CAVORTING in the BACK ROOM of a
KOSHER DELI!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/var/crash handling

2006-08-06 Thread Anthony Agelastos
In doing some poking around on my server, I noticed that I am using  
926 MB in my /var folder (the partition is at 75% capacity). So, I  
dug a little deeper and a huge majority of this is in the /var/crash  
folder; I have two vmcore files (vmcore.0 and vmcore.1) that are each  
~402MB and were created back in February. Are these safe for  
deletion? Are these files, essentially, a coredump of what was  in  
virtual memory when there was a kernel crash? There are some other  
files in here as well (bounds, info.0, info.1, minfree); are these  
safe to delete? If there is some good documentation on this, could  
you please point me in the right direction. I found some items on  
ONLamp that gave me some droplets of information. Thank you for your  
assistance with this.


-Anthony

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


Unable to run picobsd build script

2006-08-06 Thread Ken Sheldon
I am having trouble building picobsd images.  

This occurs on a fresh install of 5.5 or 6.1.  

It looks like there are a few open bugs regarding the picobsd build
process.  Is anyone actively working with this platform?  If so, can you
share your process for fixing the build scripts?

Open problems that may be relevant:
2002/08/28 misc/42115  fix build script for 4.6-STABLE
2003/05/14misc/52255   build script fails under FreeBSD 5.0-RELEASE

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


Re: 4TB filesystem

2006-08-06 Thread Martin Hepworth

OK I stand corrected...

softupdates reduces the possibility of having to fsck a filesystem

;-)

--
Martin

On 8/5/06, Freminlins [EMAIL PROTECTED] wrote:


On 05/08/06, Martin Hepworth [EMAIL PROTECTED] wrote:

 Softupdates removes the issue if havinh to fsck filesystems after and
 unclean umount.


No it doesn't. Absolutely not.

After an unclean shutdown fsck runs in the background. And sometimes it
can't do that. Here's an example:

Jul 23 17:54:01 zoe fsck: /dev/amrd0s1g: CANNOT CREATE SNAPSHOT
/d1/.snap/fsck_snapshot: File too large
Jul 23 17:54:01 zoe fsck:
Jul 23 17:54:01 zoe fsck: /dev/amrd0s1g: UNEXPECTED INCONSISTENCY; RUN
fsck MANUALLY.


The /etc/defaults/rc.conf file has a comment on this too:
background_fsck=YES   # Attempt to run fsck in the background where
possible.


Frem.


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


Re: binary upgrade issues

2006-08-06 Thread Colin Percival
John Rogers wrote:
 /boot/kernel/aic.ko
 ...
 /boot/kernel/zlib.ko

It looks like lots of kernel modules weren't installed (or, more likely,
were installed but glitched when the system rebooted).  If you don't
expect to use any of these modules, it's probably safe to ignore this;
otherwise, you'll have to upgrade those to 6.1.  Given that you've now
upgraded your world to 6.1, I don't know if it will be safe to revert
back to a 6.0 kernel in order to re-run the upgrade script, though, so
I'm not sure exactly what to recommend.

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


urgent: I just rm-r a directory

2006-08-06 Thread Ian Lord

I did a rm-r by mistake on a directory... any way to recover ?

Help please :(

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


awk quickie.

2006-08-06 Thread Gary Kline

Guys,

Can aanybody spot what I'm doing wrong in this tiny awk scripy::

#!/usr/bin/awk
BEGIN { FS = :
printf(%s\n, $1)
}
END

I've got a bunch of grepped output that has things like
foo:
foo:
foo:
bar:
bar:
bar:

and I want to pick out just the filename.

thanks for any insights!

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: urgent: I just rm-r a directory

2006-08-06 Thread Nicolas Blais
On Sunday 06 August 2006 18:02, Ian Lord wrote:
 I did a rm-r by mistake on a directory... any way to recover ?

 Help please :(

Restore from your backups :)

Seriously, if you don't have backups, your chances of recovery are near 0.

Nicolas.

-- 
FreeBSD 7.0-CURRENT #11: Sun Jul 30 12:12:59 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpUukV8HK4Ix.pgp
Description: PGP signature


Re: [freebsd-questions] awk quickie.

2006-08-06 Thread Howard Jones

Gary Kline wrote:

Guys,

Can aanybody spot what I'm doing wrong in this tiny awk scripy::
  
Using awk is what you are doing wrong ;-) Assuming that this is all you 
are doing with the list, anyway...


From the grep manpage:
   -l, --files-with-matches
 Suppress  normal  output;  instead  print the name of each 
input
 file from which output would normally have  been  
printed.   The

 scanning will stop on the first match.

The awk answer is that the printf shouldn't be in the BEGIN section, I 
think. It's been a while for me and awk though. Something more like:


#!/usr/bin/awk
BEGIN { FS = : }
 {  printf(%s\n, $1) }

would do it. Also see cut(1) which can select fields based on delmiters. 
I don't know if the traditional perception of 'heaviness' associated 
with loading a 'real language' interpreter really hold true nowadays though.


Have fun!

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


Re: portmanager man page online?

2006-08-06 Thread Chris Whitehouse

Micah wrote:

Chris Whitehouse wrote:

Lowell Gilbert wrote:

Chris Whitehouse [EMAIL PROTECTED] writes:


Searching for portmanager in the online man pages doesn't get
anything. Should it?


Sure.

http://www.freebsd.org/cgi/man.cgi?query=portmanagermanpath=FreeBSD+Ports+6.1-RELEASE 


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





So it does, but a search for portmanager  from 
http://www.freebsd.org/cgi/man.cgi doesn't get anything, at least in 
my browser. The message returned is


Sorry, no data found for `portmanager'.

and the URL is now
http://www.freebsd.org/cgi/man.cgi?query=portmanagerapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html 



which curiously contains 'apropos'. I double checked and I did have 
the Man radio button selected.


Doing the same thing with apropos selected gets the same message and 
the URL is
http://www.freebsd.org/cgi/man.cgi?query=portmanagersektion=0manpath=FreeBSD+6.1-RELEASEapropos=1format=html 



Also it is not listed in the Section 1 section index.

Am I just looking in the wrong place?

6.1-RELEASE FreeBSD 6.1-RELEASE #0: Tue May 30 10:47:21 BST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Mozilla Firefox 1.5.0.1

Chris


In the right hand drop-down, where it says FreeBSD 6.1-RELEASE (or 
something similar) select FreeBSD Ports 6.1-RELEASE.


HTH,
Micah



Ahh thank you! Actually that's a pretty amazing selection in that drop 
down list.


Chris





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


Howto insert string. (Was: Re: [freebsd-questions] awk quickie.)

2006-08-06 Thread Gary Kline
On Sun, Aug 06, 2006 at 11:23:14PM +0100, Howard Jones wrote:
 Gary Kline wrote:
  Guys,
 
  Can aanybody spot what I'm doing wrong in this tiny awk scripy::
   
 Using awk is what you are doing wrong ;-) Assuming that this is all you 
 are doing with the list, anyway...
 
 From the grep manpage:
-l, --files-with-matches
  Suppress  normal  output;  instead  print the name of each 
 input
  file from which output would normally have  been  
 printed.   The
  scanning will stop on the first match.
 
 The awk answer is that the printf shouldn't be in the BEGIN section, I 
 think. It's been a while for me and awk though. Something more like:
 
 #!/usr/bin/awk
 BEGIN { FS = : }
  {  printf(%s\n, $1) }
 
 would do it. Also see cut(1) which can select fields based on delmiters. 
 I don't know if the traditional perception of 'heaviness' associated 
 with loading a 'real language' interpreter really hold true nowadays though.
 


Thanks much!  I *did* learn that with just FS, no need END.
Maybe you can help me figure out what I'm trying to do because
I'm wedged!!

I've got 80 or so html/php files. Most do have 

BODY BGCOLOR=#FF 

but a whole slew do not/are missing the BG color code.
So is there some scripto-magic way of finding out which fles are 
missing the above string?  I know how, using an ed/ex script to
insert this string.  

My hacker brain seems to be on strike!

gary



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

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: BSDstats Project v1.0

2006-08-06 Thread User Freebsd


Just added 'country' stats to the mix, to see what our distribution is per 
country ...


On Sun, 6 Aug 2006, User Freebsd wrote:



I just threw up a couple of very simple tables, showing # of systems 
reporting in this month, as well as a break down of release / architecture 
for those that have reported in ...



On Sat, 5 Aug 2006, Garrett Cooper wrote:


---
/usr/local/libexec/ppf_verify: pgp command failed

gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: Signature made Sun Aug  6 03:54:45 2006 ADT using DSA key ID 4CCC0BAF
gpg: Can't check signature: public key not found
---

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

User Freebsd wrote:


John pointed out a bug that I hadn't noticed, mainly because I was
testing single host ... basically, I installed PHP5 on the backend, and
stupidly didn't check to make sure that they *hadn't* gone and changed
all of the DB access functions from 4.x :(

The bug is fixed, and I've tested using three different servers to make
sure its being updated properly ...

For those that have submitted already once, please re-submit, since your
data was added the first time through ...

And, there is now a port /usr/ports/sysutils/bsdstats that will
install it in /usr/local/etc/periodic/monthly, thanks to John there too
... no changes to the script itself have been made yet, just a fix on
the backend ...

Will work on adding pciconf support in next ...

On Sat, 5 Aug 2006, User Freebsd wrote:


On Sat, 5 Aug 2006, John Nielsen wrote:


Here is a sample (working) port. Un-tar the archive under
ports/sysutils. It installs the script to
${LOCALBASE}/etc/periodic/monthly and prints a message about how to
enable it. Have a look at it, edit all the text entries to make them
your own (in particular I didn't do a real pkg-descr), and submit it
as a PR (I can assist you with that off-list if you'd like).


Perfect, thanks ... I have commit access to ports, so I can commit it
later over the weekend ...


Feature request: the script should output one line of text indicating
success or failure (and to remind people who read their periodic
e-mails that it's actually running).


I am personally terrible at 'human friendly features', especially when
it comes to text ... its why most web pages I design seem
ultra-utilitarian unless I talk someone into writing things nicely ...

IMHO, this whole thing isn't meant for my edification, but to provide
*us*, as a project, with some overall numbers to advocate/market
ourselves better ... *please* feel free to submit any patches to the
script that you (or anyone else) feels needs to be added to improve
things ...

The more ppl involved, the more successful the endeavor will be ...


Marc G. Fournier   Hub.Org Networking Services
(http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN .
[EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664



Marc G. Fournier   Hub.Org Networking Services 
(http://www.hub.org)

Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664



I know I may be overachieving a bit in my overall thoughts of this
plan, but why not do something similar for the rest of the BSDs and/or
Linux/Solaris? I find this a good statistical tool for determining how
many desktops run what form of Unix, so better numbers could be derived
for overall Unix driver support.
Just a thought..
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE1ZI16CkrZkzMC68RAuckAJ4saa+s0A9rrh/Y0+rz0iOIuFSJzACeKv83
jm6zc18gXN4y28QtAW31f4c=
=p/y8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To 

Re: Howto insert string. (Was: Re: [freebsd-questions] awk quickie.)

2006-08-06 Thread Scott Sipe


On Aug 6, 2006, at 6:47 PM, Gary Kline wrote:


Thanks much!  I *did* learn that with just FS, no need END.
Maybe you can help me figure out what I'm trying to do because
I'm wedged!!

I've got 80 or so html/php files. Most do have

BODY BGCOLOR=#FF

but a whole slew do not/are missing the BG color code.
So is there some scripto-magic way of finding out which fles are
missing the above string?  I know how, using an ed/ex script to
insert this string.

My hacker brain seems to be on strike!

gary


Not 100% sure this is what you're wanting, but you can just do  
something like:


grep myregex * | awk -F ':' '{print $1}'

This will print out the first column (ie, whatever comes before the  
first colon).


if the options are either BODY or BODY BGCOLOLR=#FF  I  
guess you  could do something like:


grep BODY * | grep -v BGCOLOR | awk -F ':' '{print $1}'

to get the files that have a body line sans BGCOLOR (you might need  
to account for case in the tags also)


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


Re: urgent: I just rm-r a directory

2006-08-06 Thread Bill Moran
Ian Lord [EMAIL PROTECTED] wrote:

 I did a rm-r by mistake on a directory... any way to recover ?

As has already been said, it's extremely difficult to recover an
rmed directory.

If you don't have backups, and the data is _very_ importation, immediately
shut down the OS and turn off the system to avoid overwriting anything.
It's possible that there's still enough data on the disk to reconstruct
everything, but any time you write to the disk you could be destroying
it.

From there, the road to recovery is difficult and/or expensive.  There
are folks out there with the knowledge to recover a deleted directory,
and there are some HOWTOs floating around the 'net, but it's an involved
and time-consuming process.

-- 
Bill Moran

Democracy is two wolves and a lamb voting on what to have
for lunch. Liberty is a well-armed lamb contesting the vote.

Benjamin Franklin

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


Re: urgent: I just rm-r a directory

2006-08-06 Thread jan gestre

On 8/7/06, Ian Lord [EMAIL PROTECTED] wrote:


I did a rm-r by mistake on a directory... any way to recover ?

Help please :(

_


if you don't have back ups of the directory concerned, i'm sorry to inform
you that you won't be able to recover it. a word of advise, at least make
the rm with -i switch to make it interactive, that way it will ask you first
before deleting, good thing though it's not your / you deleted :D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto insert string. (Was: Re: [freebsd-questions] awk quickie.)

2006-08-06 Thread Gary Kline
On Sun, Aug 06, 2006 at 07:18:07PM -0400, Scott Sipe wrote:
 
 On Aug 6, 2006, at 6:47 PM, Gary Kline wrote:
 
  Thanks much!  I *did* learn that with just FS, no need END.
  Maybe you can help me figure out what I'm trying to do because
  I'm wedged!!
 
  I've got 80 or so html/php files. Most do have
 
  BODY BGCOLOR=#FF
 
  but a whole slew do not/are missing the BG color code.
  So is there some scripto-magic way of finding out which fles are
  missing the above string?  I know how, using an ed/ex script to
  insert this string.
 
  My hacker brain seems to be on strike!
 
  gary
 
 Not 100% sure this is what you're wanting, but you can just do  
 something like:
 
 grep myregex * | awk -F ':' '{print $1}'
 
 This will print out the first column (ie, whatever comes before the  
 first colon).
 
 if the options are either BODY or BODY BGCOLOLR=#FF  I  
 guess you  could do something like:
 
 grep BODY * | grep -v BGCOLOR | awk -F ':' '{print $1}'
 
 to get the files that have a body line sans BGCOLOR (you might need  
 to account for case in the tags also)
 
 Scott

Thanks, Scott.  I didn't know that -F 'char' would reset the
field separator.  I'll save this to my AWK howto.  


gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Supermicro X6DVL-EG-2 Compatibility

2006-08-06 Thread Mark Kane
Hi everyone. Quick hardware question here...

We're looking to move a dedicated server to a new datacenter with new
hardware. The Dual Xeon boards in the new datacenter are the Supermicro
X6DVL-EG-2 with the Intel E7320 chipset. I see the E7320 listed on
the hardware page for 6.1-RELEASE/amd64 but not for i386. Would this
work with i386? I want to run i386 on this machine just to make sure all
third party software we need will still work, since it is an important
production server, and one application we use is binary only for i386.

I also don't see the SATA controller (6300ESB) or the onboard NIC
(82541GI) on either hardware lists. I see similar models for the NIC
on the list, but not the GI. The motherboard spec page does show
different models though, since at the top it says it's the GI, but
down below it says it's the PI on that board. Does neither the SATA or
NIC being listed mean that this board will not work? Is anyone out there
running this board with FreeBSD, and what are your experiences with it?

I don't know much about Intel hardware since I run AMD on all other
machines, and most any hardware I've ever used with FreeBSD has worked,
but I wanted to check on this before ordering the new server because
we're needing to switch fast and get moved out of the old datacenter
by mid-week. The only other hardware option I see from this datacenter
is an Opteron 170, but I'd like to stick with the Dual Xeons as we
currently have now if at all possible.

Thanks very much in advance for any info or suggestions.

-Mark

http://www.supermicro.com/products/motherboard/Xeon800/E7320/X6DVL-EG.cfm

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)

GnuPG Public Key:
http://www.mkproductions.org/mk_pubkey.asc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


wont boot after shutdown -h now

2006-08-06 Thread [EMAIL PROTECTED]
I recently built an old Hp box to use for a gateway/router and had the 
same problem. -r worked but -h didnt with out shutting the box power off 
and restarting it.


--
Al Plant - Honolulu, Hawaii

- Admin -- http://hawaiidakine.com -- http://hdk5.com -- 
-- http://internetohana.org -- http://freeBSDinfo.org --

+ Supporting open source computing - FreeBSD 6.* +


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


so for kicks, i just ...

2006-08-06 Thread Jonathan Horne
i just decided to take a box, and installworld, without going to single user 
mode.  from what i can see, the update was completely successful.  of course, 
other then myself (su'd to root), there were no other users logged in).

i wonder how many people are brave enough, and do actually installworld 
without changing to single user mode?  i wonder what is truly at risk from 
not going to single mode?

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


Re: so for kicks, i just ...

2006-08-06 Thread Jahilliya

On 8/7/06, Jonathan Horne [EMAIL PROTECTED] wrote:


i wonder how many people are brave enough, and do actually installworld
without changing to single user mode?  i wonder what is truly at risk from
not going to single mode?

I've done this plenty of times, and the only time I find I have problems

is when some software is running and has been updated (a daemon like
sendmail or bind).
The main reason (I think) they say to drop to single user mode is to ensure
that nobody is logged in and that as little as possible can intefere with
the upgrade process (rogue processes changing config files while mergemaster
is running).

If you've stopped all processes, logged out all users except yourself,
you'll probably find that your installworlds while not in single user will
go without a problem.

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


Re: so for kicks, i just ...

2006-08-06 Thread Nicolas Blais
On Sunday 06 August 2006 21:57, Jonathan Horne wrote:
 i just decided to take a box, and installworld, without going to single
 user mode.  from what i can see, the update was completely successful.  of
 course, other then myself (su'd to root), there were no other users logged
 in).

 i wonder how many people are brave enough, and do actually installworld
 without changing to single user mode?  i wonder what is truly at risk from
 not going to single mode?

 curious,
 jonathan

I usually don't go into single-user mode on my desktops as there is no real 
need. If I know libc has been bumpted, then there's a reason to go in 
stand-alone as there might be running processes that might be affected.

On a multiple user machine it is highly recommended because
1) You warn the user that a loss of ressource (network connection etc...) is 
imminent due to reboot
2) Any huge processes are stopped and will not be affected by live changing of 
libraries and core /bin or /usr/bin and other system bin files.
3) If somethings goes wrong, you won't be affecting other users in mysterious 
ways, you can fix it right away and resume serving.

There's probably more reasons to the logic but thoses are my so far.

Nicolas.

-- 
FreeBSD 7.0-CURRENT #11: Sun Jul 30 12:12:59 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgp8UTa5U2Ex5.pgp
Description: PGP signature


Re: Supermicro X6DVL-EG-2 Compatibility

2006-08-06 Thread Nikolas Britton

On 8/6/06, Mark Kane [EMAIL PROTECTED] wrote:

Hi everyone. Quick hardware question here...

We're looking to move a dedicated server to a new datacenter with new
hardware. The Dual Xeon boards in the new datacenter are the Supermicro
X6DVL-EG-2 with the Intel E7320 chipset. I see the E7320 listed on
the hardware page for 6.1-RELEASE/amd64 but not for i386. Would this
work with i386? I want to run i386 on this machine just to make sure all
third party software we need will still work, since it is an important
production server, and one application we use is binary only for i386.

I also don't see the SATA controller (6300ESB) or the onboard NIC
(82541GI) on either hardware lists. I see similar models for the NIC
on the list, but not the GI. The motherboard spec page does show
different models though, since at the top it says it's the GI, but
down below it says it's the PI on that board. Does neither the SATA or
NIC being listed mean that this board will not work? Is anyone out there
running this board with FreeBSD, and what are your experiences with it?

I don't know much about Intel hardware since I run AMD on all other
machines, and most any hardware I've ever used with FreeBSD has worked,
but I wanted to check on this before ordering the new server because
we're needing to switch fast and get moved out of the old datacenter
by mid-week. The only other hardware option I see from this datacenter
is an Opteron 170, but I'd like to stick with the Dual Xeons as we
currently have now if at all possible.

Thanks very much in advance for any info or suggestions.

-Mark

http://www.supermicro.com/products/motherboard/Xeon800/E7320/X6DVL-EG.cfm



I have a X7DBE that mostly works with FreeBSD 6.x/i386.

http://www.supermicro.com/products/motherboard/Xeon1333/5000P/X7DBE.cfm

The Ethernet controllers (Intel PRO/1000 EB) don't work with FreeBSD
6.1 but this is being fixed on -STABLE as we speak, there is a em(4)
patch waiting for commit... I have not tried to use the 6 port onboard
SATA RAID controller... From experience I just assume it not support
at all. Your motherboard is a generation behind my board so things
should probably work out pretty good for you. here's my dmesg:

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 6.1-STABLE #0: Mon Aug  7 00:13:42 UTC 2006
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/X7DBE
ACPI APIC Table: PTLTD  APIC  
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2666.68-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf64  Stepping = 4
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 Features2=0xe4bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,CNTX-ID,CX16,b14,b15
 AMD Features=0x2000LM
 AMD Features2=0x1LAHF
 Cores per package: 2
 Logical CPUs per core: 2
real memory  = 1073086464 (1023 MB)
avail memory = 1036750848 (988 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  2
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
kbd1 at kbdmux0
acpi0: PTLTD   RSDT on motherboard
acpi0: Power Button (fixed)
can't fetch resources for \\_SB_.PCI0.LPC0.MBRD - AE_AML_INVALID_RESOURCE_TYPE
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
cpu1: ACPI CPU on acpi0
acpi_throttle1: ACPI CPU Throttling on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge irq 16 at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 16 at device 0.0 on pci2
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 0.0 on pci3
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 0.2 on pci3
pci5: ACPI PCI bus on pcib5
pcib6: ACPI PCI-PCI bridge irq 18 at device 2.0 on pci2
pci6: ACPI PCI bus on pcib6
em0: Intel(R) PRO/1000 Network Connection Version - 6.0.5 port
0x2000-0x201f mem 0xc820-0xc821 irq 18 at device 0.0 on pci6
em0: Ethernet address: 00:30:48:30:99:c8
em0: [FAST]
em1: Intel(R) PRO/1000 Network Connection Version - 6.0.5 port
0x2020-0x203f mem 0xc822-0xc823 irq 19 at device 0.1 on pci6
em1: Ethernet address: 00:30:48:30:99:c9
em1: [FAST]
pcib7: ACPI PCI-PCI bridge at device 0.3 on pci1
pci7: ACPI PCI bus on pcib7
pcib8: ACPI PCI-PCI bridge at device 4.0 on pci0
pci8: ACPI PCI bus on pcib8
pcib9: ACPI PCI-PCI bridge at device 6.0 on pci0
pci9: ACPI PCI bus on pcib9
pcib10: PCI-PCI bridge at device 0.0 on pci9
pci10: PCI 

Re: so for kicks, i just ...

2006-08-06 Thread User Freebsd

On Sun, 6 Aug 2006, Jonathan Horne wrote:


i just decided to take a box, and installworld, without going to single user
mode.  from what i can see, the update was completely successful.  of course,
other then myself (su'd to root), there were no other users logged in).

i wonder how many people are brave enough, and do actually installworld
without changing to single user mode?  i wonder what is truly at risk from
not going to single mode?


I do it on production servers all the time, with multiple users logged in 
... the only time I've been burnt was when trying to do an upgrade from 
4.x to 6.x where enough changed that /bin/sh even blew up :(  But, in that 
case, it was only my desktop, so no risk ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do I set Mixer settings in stone.

2006-08-06 Thread Nikolas Britton

After every reboot I need to run 'mixer ogain 85'. I'd like to never
have to do this again. How do I tell this to FreeBSD? I've tried
yelling at him, for example:

FreeBSD! Stop resetting the mixer ogain! damit!

But this never works.


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BSDstats Project v2.0 ...

2006-08-06 Thread Marc G. Fournier


I've now committed v2.0 of the 300.statistics periodic script ... this one 
adds the device reporting that we'd talked about previously, and the 
summary reports now reflect the driver(s) in use for those deciding to 
report ...


This Phase of the script is optional, and not enabled by default ... I 
can't think of any reason why you wouldn't want to report it, but just in 
case someone feels it poses a problem, its an opt-in report ...


pkg-message updated to reflect the extra line you need to add to 
/etc/periodic.conf:


monthly_statistics_report_devices=yes

I've written it to report driver + chip= information from pciconf -l, 
since even pciconf -lv doesn't seem to use card= ... the summary report 
will be extended next to show both vendor and chip statistics ...


Let me know of any problems ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4TB filesystem

2006-08-06 Thread Igor Robul
On Sat, Aug 05, 2006 at 08:35:31PM +0100, Martin Hepworth wrote:
 Softupdates removes the issue if havinh to fsck filesystems after and
 unclean umount.
Background fsck does not work well with big filesystems, it can literaly
make server useless for long period of time, sometimes I just boot
server in single user mode and do fsck -y because while it means
downtime, but after this downtime server will work ... while background
fsck eats all server memory and most of CPU.

I'm very happy, that I dont need do this often :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]