Re: how get /var/db/pkg?

2006-05-03 Thread Björn König

xiang schrieb:

Today,i run pkgdb -F,but get a error message:you do not own
/var/db/pkg,becouse i had delete /var/db/pkg by oversight just the other
day.
and i install som ports by pkg_add just now, then i can get
/var/db/pkg,but only a record of few ports in /var/db/pkg.
As a result,It do not show all ports that had installed in my machine 
when i

run pkg_info or pkg_version.and i do not use portupgrade upgrade all
ports!
how can i do now?


I think you can't do nothing except reinstalling your software unless 
you have a backup of your old /var/db/pkg.


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


Re: loose locale after upgrade from 5.4 to 6.1RC2

2006-05-03 Thread Eugene M. Minkovskii
On Tue, May 02, 2006 at 08:15:06AM +0400, Eugene M. Minkovskii wrote:
 Hello.
 
 I'm cvsuped from FreeBSD 5.4 to 6.1 RC2 and loose my russian
 locale:( I can't type russian letters and many programs print
 some warnings about locale. But russian fonts are worked: When I
 go to other mashine through ssh, I see it.
 
 For example:
 svn report:
 svn: error: cannot set LC_ALL locale
 svn: error: environment variable LANG is ru_RU.KOI8-R
 svn: error: please check that your locale name is correct
 
 So, this is my locale:
 $ locale
 LANG=ru_RU.KOI8-R
 LC_CTYPE=ru_RU.KOI8-R
 LC_COLLATE=ru_RU.KOI8-R
 LC_TIME=ru_RU.KOI8-R
 LC_NUMERIC=ru_RU.KOI8-R
 LC_MONETARY=ru_RU.KOI8-R
 LC_MESSAGES=ru_RU.KOI8-R
 LC_ALL=
 
 (Same I see on old worked mashine). This is fragment of my rc.conf:
 font8x14=cp866-8x14
 font8x16=cp866b-8x16
 font8x8=cp866-8x8
 scrnmap=koi8-r2cp866
 keymap=ru.koi8-r.win.winkey.kbd
 
 (Last line is my own keymap, when I set system keymap through
 sysinstall, I can't type in russian too --- same effect)
 
 environment I set by user class and /etc/login.conf. User has
 russian class, and in login conf we see:
 
 #
 # Russian Users Accounts. Setup proper environment variables.
 #
 russian|Russian Users Accounts:\
 :charset=KOI8-R:\
 :lang=ru_RU.KOI8-R:\
 :tc=default:
 
 
 -- 
 Sensory  yours, Eugene  Minkovskii
 Сенсорно ваш,   Евгений Миньковский
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

I solve the problem:
after cvsup from 5.4 to 6.x and rebuild the world, we MUST
recompile many ports including bash.

-- 
Sensory  yours, Eugene  Minkovskii
Сенсорно ваш,   Евгений Миньковский
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't boot kern.flp on thinkpad 750

2006-05-03 Thread Chris Howells

Andy Greenwood wrote:

I'm trying to install 4.11 on an old IBM Thinkpad 750, but can't get
the kern.flp disk to boot. I know that the floppy drive on this
machine isn't exactly standard (it's a 2.88M drive, if that makes a
difference), but I'm not sure what the differences are. In any case,
when it tries to load the kernel from the floppy, I get this output..

Disk error 0x4 (lba=0x38)


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


Re: ^M

2006-05-03 Thread Emil Thelin

On Wed, 3 May 2006, FreeBSD Daemon wrote:


How can I non-manually remove the ^M line breaks from my text files


Yes, I know. Alot of people already answered your question, but since 
no one answered with this I feel obligated :-)


col -bx  infile  outfile

/e

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


Zope 2.8.6 does not work any more

2006-05-03 Thread Olivier Nicole
Hi,

I just upgraded from zope port 2.8.4 to 2.8.6. Since then I cannot
access my zope sites anymore.

After few seconds Zope28 will die and I get the error messages:

[Wed May  3 13:21:27 2006] [error] [client 192.41.170.57] (61)Connection 
refused: FastCGI: failed to connect to server /web/csim/htdocs/zope28: 
connect() failed
[Wed May  3 13:21:27 2006] [error] [client 192.41.170.57] FastCGI: incomplete 
headers (0 bytes) received from server /web/csim/htdocs/zope28

That zope thing is certainly build around obscurity so I don't know
where to look at the problem. Any help would be highly appreciated.

TIA,

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


Re: ^M

2006-05-03 Thread Guillaume R.

2006/5/3, Emil Thelin [EMAIL PROTECTED]:


On Wed, 3 May 2006, FreeBSD Daemon wrote:

 How can I non-manually remove the ^M line breaks from my text files

Yes, I know. Alot of people already answered your question, but since
no one answered with this I feel obligated :-)

col -bx  infile  outfile

/e



Lo
I did not know this soluce meanwhile this question  is a highly asked one.
By the way  is there a FAQ for this list?
Thx

--

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





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


RE: FreeBSD 6.0 compat with DL320 G4

2006-05-03 Thread Ted Mittelstaedt

I have a DL320 G4 in the rack and the thing panics under 6.1-RC1
when more than a few K of data is sent over the bge interface.  I
haven't tried 6.0-RELEASE on it.  Just make sure you can return it
if it doesen't work.

Ted


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of William
Sent: Tuesday, May 02, 2006 3:10 AM
To: freebsd-questions@freebsd.org
Subject: Re: FreeBSD 6.0 compat with DL320 G4


What was your experience like with 6.0-RELEASE and the dl320 g4? I've
had a quote back on that model so could be near to actually getting
some hardware for once :)

On 30/04/06, [EMAIL PROTECTED]@mgEDV.net [EMAIL PROTECTED] wrote:

 just for info: our dl320 g4 also has bge interfaces, and
 they work very well under 6.1-RC1 (even BETA4 was ok).
 but our server has been bought 2 months ago, maybe there's
 a newer/different chipset in it.
 we also have a dl320 g2 being heavily used as lan switches
 monitor, this server also has bge interfaces and had no
 problem since 1 year capturing and analyzing more than
 26GB/day (avg) of nw-data on the 2nd interface and serving
 more than 4GB/day (avg) on the primary one (both IPv4 only).

 c ya ;-)


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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006

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


If you have a working DRI multi-head setup read this:

2006-05-03 Thread Nikolas Britton

Do you have a multi-head setup, does DRI/DRM work? If it works report
your setup, if you can confirm it doesn't work post that too!

Let me lead the way:
drm0: AGP ATI Radeon QL R200 8500 LE
drm1: PCI ATI Radeon QY RV100 7000/VE
drm2: PCI ATI Radeon QY RV100 7000/VE

DRI broken, hardlocks system when you start X, It has something to do
with the Radeon 7000 cards becouse DRI was working fine when I only
had the Radeon 8500 card installed.
##

My motive here is to find a cheap (= $150) triple-head setup that DRI
works with... I don't feel like wasting another $150 bucks on video
cards only to find out DRI is still broken!!!



--
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]


RE: FreeBSD 6.0 compat with DL320 G4

2006-05-03 Thread [EMAIL PROTECTED]@mgEDV.net

 I have a DL320 G4 in the rack and the thing panics under 6.1-RC1
 when more than a few K of data is sent over the bge interface.  I
 haven't tried 6.0-RELEASE on it.  Just make sure you can return it
 if it doesen't work.

did you ever try to install win2k/2k3 on it and apply all fw-patches
from hp to the box? you also could try the fw-upgrade-cd, which is
avail as iso-download on hp.com. the NICs also have upgradeable fw,
check for this (if you didn't ;-))
further, you could check for some special settings, or boot your sys
from the cd, configure the NIC and run some tests (w/o installation
or customization).
what i also wouldn't rule out is a possible hw-defect on your box
(or an older/incompatible chipset revision) even if it works proper
under MS (you tried that, haven't you ;-)?).

beyond you can see some stats from our box so you're probably able to
compare your system to it. the box has been cold-booted before running
an ftp-transfer of 5 and 20mb as a GET and then a transfer to another
host using put (also 5 and 20mb). all run under 6.1-RC2.

ifconfig:
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet6 fe80::215:60ff:feaa:39d2%bge0 prefixlen 64 scopeid 0x1 
inet 192.168.134.3 netmask 0xffe0 broadcast 192.168.134.31
ether 00:15:60:aa:39:d2
media: Ethernet autoselect (1000baseTX full-duplex)
status: active

some netstat's (i removed sections with all being 0):
tcp:
29512 packets sent
17196 data packets (24848556 bytes)
0 data packets (0 bytes) retransmitted
0 data packets unnecessarily retransmitted
0 resends initiated by MTU discovery
7228 ack-only packets (23 delayed)
0 URG only packets
0 window probe packets
5072 window update packets
16 control packets
25699 packets received
8647 acks (for 24848565 bytes)
7 duplicate acks
0 acks for unsent data
14825 packets (21555935 bytes) received in-sequence
0 completely duplicate packets (0 bytes)
0 old duplicate packets
0 packets with some dup. data (0 bytes duped)
2258 out-of-order packets (3296680 bytes)
0 packets (0 bytes) of data after window
0 window probes
0 window update packets
0 packets received after close
0 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
9 connection requests
0 connection accepts
0 bad connection attempts
0 listen queue overflows
0 ignored RSTs in the windows
9 connections established (including accepts)
14 connections closed (including 0 drops)
4 connections updated cached RTT on close
4 connections updated cached RTT variance on close
0 connections updated cached ssthresh on close
0 embryonic connections dropped
8647 segments updated rtt (of 8473 attempts)
0 retransmit timeouts
0 connections dropped by rexmit timeout
0 persist timeouts
0 connections dropped by persist timeout
0 keepalive timeouts
0 keepalive probes sent
0 connections dropped by keepalive
8489 correct ACK header predictions
14785 correct data packet header predictions
0 syncache entries added
0 retransmitted
0 dupsyn
0 dropped
0 completed
0 bucket overflow
0 cache overflow
0 reset
0 stale
0 aborted
0 badack
0 unreach
0 zone failures
0 cookies sent
0 cookies received
0 SACK recovery episodes
0 segment rexmits in SACK recovery episodes
0 byte rexmits in SACK recovery episodes
0 SACK options (SACK blocks) received
2148 SACK options (SACK blocks) sent
0 SACK scoreboard overflow
udp:
17 datagrams received
0 with incomplete header
0 with bad data length field
0 with bad checksum
0 with no checksum
8 dropped due to no socket
7 broadcast/multicast datagrams dropped due to no socket
0 dropped due to full socket buffers
0 not for hashed pcb
2 delivered
11 datagrams output
ip:
25733 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size  data length
0 with ip length  max ip packet size
0 with header length  data size
0 with data length  header 

Re: FreeBSD 6.0 compat with DL320 G4

2006-05-03 Thread William

The chances of getting it returned because fbsd doesnt work are very small! :(

On 03/05/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote:


I have a DL320 G4 in the rack and the thing panics under 6.1-RC1
when more than a few K of data is sent over the bge interface.  I
haven't tried 6.0-RELEASE on it.  Just make sure you can return it
if it doesen't work.

Ted


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of William
Sent: Tuesday, May 02, 2006 3:10 AM
To: freebsd-questions@freebsd.org
Subject: Re: FreeBSD 6.0 compat with DL320 G4


What was your experience like with 6.0-RELEASE and the dl320 g4? I've
had a quote back on that model so could be near to actually getting
some hardware for once :)

On 30/04/06, [EMAIL PROTECTED]@mgEDV.net [EMAIL PROTECTED] wrote:

 just for info: our dl320 g4 also has bge interfaces, and
 they work very well under 6.1-RC1 (even BETA4 was ok).
 but our server has been bought 2 months ago, maybe there's
 a newer/different chipset in it.
 we also have a dl320 g2 being heavily used as lan switches
 monitor, this server also has bge interfaces and had no
 problem since 1 year capturing and analyzing more than
 26GB/day (avg) of nw-data on the 2nd interface and serving
 more than 4GB/day (avg) on the primary one (both IPv4 only).

 c ya ;-)


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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006



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


Re: NFS server not responding, new in 6.0

2006-05-03 Thread Alex Zbyslaw

David Kirchner wrote:


We recently replaced FreeBSD 4.5 with 6.0-RELEASE on a pair of servers.
One of the servers runs rsync to copy its contents to the other server,
over a NFS mount. Everything worked just fine under 4.5, but with 6.0,
we're seeing dozens of these errors every rsync:

May  2 14:00:59 xxx1 kernel: nfs server xxx2:/usr: not responding


IIUC, why not rsync directly to the other server and bypass NFS;  see if 
that works better.


--Alex


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


Re: If you have a working DRI multi-head setup read this:

2006-05-03 Thread Alastair G. Hogge
On Wednesday 03 May 2006 18:00, Nikolas Britton wrote:
 Do you have a multi-head setup, does DRI/DRM work? If it works report
 your setup, if you can confirm it doesn't work post that too!
I don't have a multi-head setup and DRI also doesn't work

 Let me lead the way:
 drm0: AGP ATI Radeon QL R200 8500 LE
 drm1: PCI ATI Radeon QY RV100 7000/VE
 drm2: PCI ATI Radeon QY RV100 7000/VE
drm0: ATI Radeon QY RV100 7000/VE
Does not work with DRI enabled in my X.org config under an AMD64 or a i386 
system.


 DRI broken, hardlocks system when you start X, It has something to do
 with the Radeon 7000 cards becouse DRI was working fine when I only
 had the Radeon 8500 card installed.
 ##
Found the same thing also.


 My motive here is to find a cheap (= $150) triple-head setup that DRI
 works with... I don't feel like wasting another $150 bucks on video
 cards only to find out DRI is still broken!!!
All I wanted was cheap OpenGL support.

My original email to stable:
http://www.freebsd.org/cgi/getmsg.cgi?fetch=84211+93096+/usr/local/www/db/text/2006/freebsd-stable/20060402.freebsd-stable
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 6.1-RC2: strange kernel panic!

2006-05-03 Thread [EMAIL PROTECTED]@mgEDV.net
 
 Don't you think you should test it instead of guessing? :-) I suggested
 it because it *is* a possibility (that is why I have it in my kernel).
yes, but doesn't it make sense to find memory consuming things
before adding more?
btw. how can we check for such things?

 Are you sure you are using swap backing and not malloc?
nope, i'm not sure if it was that, but -M was passed to mdmfs,
so malloc(9) was used. we changed the code to swap-based, let's
see if that fixes our problem.

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


jail uptime information

2006-05-03 Thread topi
hi,

i'm creating a group jailed servers, and using nagios to monitor them.

i've seen that from a jailed server, the information shown by uptime
is not related to the jail. in fact, 'uptime' inside jails doesn't see
users logged (always equal to 0) and load is the same that for the host

do you know if would be possible to get this information related to a
single jail?

thanks in advance,

topi


PS: please, include me in responses, i'm not in the list

-- 
topi [EMAIL PROTECTED]


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


wanted: hp-ux glance pendant

2006-05-03 Thread [EMAIL PROTECTED]@mgEDV.net

does anybody know some handy text-console-tools,
which run under freebsd and produce performance
outputs like glance does under hp-ux?
top isn't well covering things like disk-io,
memory usage, etc...

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


RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
I changed #! /bin/sh  to #!/bin/sh   it had no effect.
Logger command still not producing output.

using sendmail to construct the email made no difference.
Still get this message

/libexec/ld-elf.so.1: Shared object libpcre.so.0 not found,
required by send-mail

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Norbert
Papke
Sent: Tuesday, May 02, 2006 9:47 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: dhclient-exit-hooks


On Tuesday 02 May 2006 06:12, fbsd wrote:
 IF I execute the cat command to issue the notification email
 from the command line it works fine, but when used in the
 script I get these messages during boot process.
 I am running postfix launched by the sendmail wrappers
 on a FreeBSD 6.0 system.

 ~/.mailrc: No match.

Use sendmail(8) rather than mail(1).  mail(1) expects to be run from
a user
session and looks for the user's preferences stored in the user's
,mailrc
file.  No user is available during the boot process.

In your script,

 #! /bin/sh

Also, try removing the space between #! and /bin/sh.  It may be
causing
some weirdness.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[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: wanted: hp-ux glance pendant

2006-05-03 Thread Alex Zbyslaw

[EMAIL PROTECTED]@mgEDV.net wrote:


does anybody know some handy text-console-tools,
which run under freebsd and produce performance
outputs like glance does under hp-ux?
top isn't well covering things like disk-io,
memory usage, etc...

 


Try systat or vmstat.

--Alex


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


Re: wanted: hp-ux glance pendant

2006-05-03 Thread Nikos Vassiliadis
On Wednesday 03 May 2006 14:51, [EMAIL PROTECTED]@mgEDV.net wrote:
 does anybody know some handy text-console-tools,
 which run under freebsd and produce performance
 outputs like glance does under hp-ux?
 top isn't well covering things like disk-io,
 memory usage, etc...

Don't know HP-UX glance, but there is systat for interactive
use and lots of others gstat, vmstat, iostat...
Try apropos stat | fgrep '(8)'


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [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: backup system rsync - dump

2006-05-03 Thread Jack Stone

From: Philip Hallstrom [EMAIL PROTECTED]
To: dick hoogendijk [EMAIL PROTECTED]
CC: freebsd-questions freebsd-questions@freebsd.org
Subject: Re: backup system rsync - dump
Date: Tue, 2 May 2006 11:15:55 -0500 (CDT)

With the right settings of --backup --backup-dir you can easily create a 
week (or two or three or whatever) archive of the daily changed files. 
So, for example..


/backup/usr - contains identical copy
/backup/dailys/usr/Mon - contains files that changed on /usr on Monday.

Then just set things up to rotate/expire the old copies and you have an 
easy way to get files back you deleted that you didn't mean to.


I can post the whole script if you're interested...

-philip


Philip: I would be very interested in seeing your script if you would 
kindliy post it.


Thanks!
Jack

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: wanted: hp-ux glance pendant

2006-05-03 Thread Bill Moran
On Wed, 3 May 2006 13:51:29 +0200
[EMAIL PROTECTED]@mgEDV.net [EMAIL PROTECTED] wrote:

 
 does anybody know some handy text-console-tools,
 which run under freebsd and produce performance
 outputs like glance does under hp-ux?
 top isn't well covering things like disk-io,
 memory usage, etc...

I'm not familiar with glance, but have a look at systat, specifically,
the vmstat screen.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: Asus P4PE audio and lan driver

2006-05-03 Thread Lowell Gilbert
Don't top-post, please.

Dhénin Jean-Jacques [EMAIL PROTECTED] writes:

 :; uname -a
 
 FreeBSD cypries.cyclopes.org 6.1-RC
 
 :; more /boot/loader.conf
 sound_load=YES
 snd_emu10k1_load=YES

Are you sure that's the right driver?  I can't (quickly) find enough
information to know which driver it actually should be.  

Try kld snd_driver and see what you see in /dev/sndstat.


As far as the LAN driver, I'm pretty sure one of the drivers in the
GENERIC kernel supported it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Recovering Squirrelmail settings

2006-05-03 Thread Jonathan Horne
i did a full reinstall of my server yesterday, and about the only thing i
did not correctly recover, was my squirrelmail settings/address books. 
where is this information stored?  im unable to find what im looking for
on the squirrelmail.org website.

can someone point me in the right direction?  hopefully the data i need
will be amongst the things i was backing up.

thanks,
jonathan

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


Re: Recovering Squirrelmail settings

2006-05-03 Thread Bill Moran
On Wed, 3 May 2006 08:28:44 -0500 (CDT)
Jonathan Horne [EMAIL PROTECTED] wrote:

 i did a full reinstall of my server yesterday, and about the only thing i
 did not correctly recover, was my squirrelmail settings/address books. 
 where is this information stored?  im unable to find what im looking for
 on the squirrelmail.org website.
 
 can someone point me in the right direction?  hopefully the data i need
 will be amongst the things i was backing up.

IIRC, Squirrelmail keeps its config in a PHP file with the rest of
the PHP scripts that make up the program.  With the FreeBSD port,
this ends up somewhere in /usr/local/www.

Which breaks hier ... but that's for another day and another patch ...

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


QUARANTINED: Returned mail: see transcript for details

2006-05-03 Thread WorkgroupMail Content Filter
The message Returned mail: see transcript for details from , sent on 5/3/2006 
12:33 was quarantined because it contained either an executable file, a batch 
file or a screen saver file. All of these types of attachments are considered 
security risks. Please consult your mail administrator who can release the 
message.

This message was checked by MailScan for WorkgroupMail.
www.workgroupmail.com 

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


Re: can't boot kern.flp on thinkpad 750

2006-05-03 Thread Andy Greenwood

Don't really think so.
http://www.freebsd.org/cgi/query-pr.cgi?pr=32830

On 5/3/06, Chris Howells [EMAIL PROTECTED] wrote:

Andy Greenwood wrote:
 I'm trying to install 4.11 on an old IBM Thinkpad 750, but can't get
 the kern.flp disk to boot. I know that the floppy drive on this
 machine isn't exactly standard (it's a 2.88M drive, if that makes a
 difference), but I'm not sure what the differences are. In any case,
 when it tries to load the kernel from the floppy, I get this output..

 Disk error 0x4 (lba=0x38)

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


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


Soekris NET4801 Hang Ups

2006-05-03 Thread Tom Grove
I have had a net4801 running as a router at a branch office doing basic 
routing stuff...this packet comes in from here go there.  I'm running 
6.0-Release on it and it seems to work wonderfully but about once a 
month it just hangs.  No response from anything and the only way to 
bring it back is to pull the power and plug it back in.  I'm including 
the dmesg and would like any help regarding this.  Nothing in the logs 
seems to help so, hopefully someone here can shed some light.


##
##START DMESG##
##
Copyright (c) 1992-2005 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.0-RELEASE #0: Mon Jan 23 15:21:47 EST 2006
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/NET4801
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by National Semi (266.68-MHz 
586-class CPU)

 Origin = Geode by NSC  Id = 0x540  Stepping = 0
 Features=0x808131FPU,TSC,MSR,CX8,CMOV,MMX
real memory  = 134217728 (128 MB)
avail memory = 126115840 (120 MB)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
sis0: NatSemi DP8381[56] 10/100BaseTX port 0xe100-0xe1ff mem 
0xa000-0xafff irq 10 at device 6.0 on pci0

sis0: Silicon Revision: DP83816A
miibus0: MII bus on sis0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:00:24:c5:6e:68
sis0: [GIANT-LOCKED]
sis1: NatSemi DP8381[56] 10/100BaseTX port 0xe200-0xe2ff mem 
0xa0001000-0xa0001fff irq 10 at device 7.0 on pci0

sis1: Silicon Revision: DP83816A
miibus1: MII bus on sis1
ukphy1: Generic IEEE 802.3u media interface on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis1: Ethernet address: 00:00:24:c5:6e:69
sis1: [GIANT-LOCKED]
sis2: NatSemi DP8381[56] 10/100BaseTX port 0xe300-0xe3ff mem 
0xa0002000-0xa0002fff irq 10 at device 8.0 on pci0

sis2: Silicon Revision: DP83816A
miibus2: MII bus on sis2
ukphy2: Generic IEEE 802.3u media interface on miibus2
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis2: Ethernet address: 00:00:24:c5:6e:6a
sis2: [GIANT-LOCKED]
Geode GPIO@ = 6100
Geode Soekris net4801 comBIOS ver. 1.28 20050529 Copyright (C) 2000-2005
isab0: PCI-ISA bridge port 0x6100-0x613f,0x6200-0x623f at device 18.0 
on pci0

isa0: ISA bus on isab0
pci0: bridge at device 18.1 (no driver attached)
atapci0: National Geode SC1100 ATA33 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 18.2 on pci0

ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
Geode CBA@ 0x6000
Geode rev: 06 03
Timecounter Geode frequency 2700 Hz quality 1000
pci0: bridge at device 18.5 (no driver attached)
pci0: serial bus, USB at device 19.0 (no driver attached)
pmtimer0 on isa0
orm0: ISA Option ROM at iomem 0xc8000-0xd0fff on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding 
disabled, default to accept, logging disabled

ad0: 976MB TOSHIBA THNCF1G02PG 1.00 at ata0-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
##
###END DMESG###
##

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


RE: nubie question - Ports - Ruby 1.8.4

2006-05-03 Thread Zimmerman, Eric
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Daniel Bye
 Sent: Tuesday, May 02, 2006 5:25 PM
 To: freebsd-questions@freebsd.org
 Subject: Re: nubie question - Ports - Ruby 1.8.4
 
 On Tue, May 02, 2006 at 05:52:14PM -0400, Bakki Kudva wrote:
  FIXED! I have Ruby 1.8.4 in my tree now.
 
  I had not done...
  # portsnap extract
 

I recommend you check out portmanager as well. Makes dealing with port
upgrades including all dependencies MUCH easier!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recovering Squirrelmail settings

2006-05-03 Thread Jonathan Horne
:(  well, i searched again, and this time squirrelmail.org produced what i
hoped i wouldnt find.

in my rebuild, i did recover my /usr/local/www/squirrelmail folder, and
the main config is in there.  i checked my recovered config, and it said
that my user settings were stored in /var/spool/squirrelmail.  oops.  oh
well, ive updated my backup script, and i guess next time ill be able to
recover my addressbooks and other user settings.

:)
cheers,
jonathan

 On Wed, 3 May 2006 08:28:44 -0500 (CDT)
 Jonathan Horne [EMAIL PROTECTED] wrote:

 i did a full reinstall of my server yesterday, and about the only thing
 i
 did not correctly recover, was my squirrelmail settings/address books.
 where is this information stored?  im unable to find what im looking for
 on the squirrelmail.org website.

 can someone point me in the right direction?  hopefully the data i need
 will be amongst the things i was backing up.

 IIRC, Squirrelmail keeps its config in a PHP file with the rest of
 the PHP scripts that make up the program.  With the FreeBSD port,
 this ends up somewhere in /usr/local/www.

 Which breaks hier ... but that's for another day and another patch ...

 --
 Bill Moran
 Collaborative Fusion Inc.

 
 IMPORTANT: This message contains confidential information and is
 intended only for the individual named. If the reader of this
 message is not an intended recipient (or the individual
 responsible for the delivery of this message to an intended
 recipient), please be advised that any re-use, dissemination,
 distribution or copying of this message is prohibited. Please
 notify the sender immediately by e-mail if you have received
 this e-mail by mistake and delete this e-mail from your system.
 E-mail transmission cannot be guaranteed to be secure or
 error-free as information could be intercepted, corrupted, lost,
 destroyed, arrive late or incomplete, or contain viruses. The
 sender therefore does not accept liability for any errors or
 omissions in the contents of this message, which arise as a
 result of e-mail transmission.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [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: nubie question - Ports - Ruby 1.8.4

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 09:03:58AM -0500, Zimmerman, Eric wrote:
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-freebsd-
  [EMAIL PROTECTED] On Behalf Of Daniel Bye
  Sent: Tuesday, May 02, 2006 5:25 PM
  To: freebsd-questions@freebsd.org
  Subject: Re: nubie question - Ports - Ruby 1.8.4
  
  On Tue, May 02, 2006 at 05:52:14PM -0400, Bakki Kudva wrote:
   FIXED! I have Ruby 1.8.4 in my tree now.
  
   I had not done...
   # portsnap extract
  
 
 I recommend you check out portmanager as well. Makes dealing with port
 upgrades including all dependencies MUCH easier!

Agreed.  Portmanager is one of the first things I install on any new
machine.  Very simple to use, and not prone to all the 'my pkgdb got
broke' funkiness so often associated with portupgrade.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpHgZowqbCaB.pgp
Description: PGP signature


Re: ipfirewall tricks

2006-05-03 Thread Giorgos Keramidas
On 2006-05-02 20:41, Atom Powers [EMAIL PROTECTED] wrote:
On 5/2/06, Bryan Curl [EMAIL PROTECTED] wrote:
I want to limit time my kids spend on the internet.
The way I am doing it is to make varying, seperate ipf.rules files and
install them from cron at the appropriate time.
Problem is, if I make a change to one file, I generally have to update all
the others accordingly.

Is there a better way? I have read man ipf but didnt come out with any
ideas.
 
 I would use pf and have something like this:
 
 pf.conf
 
 block out all from kids to any
 
 
 crontab
 
 pfctl -t kids -T add kids.ip.to.block
 pfctl -t kids -T del kids.ip.to.allow
 
 
 You can also keep the IPs in a flat file and just tell pf to re-read
 the file (or read a different file) to update the table.

Ah, neat trick.  This is exactly why tables are so cool :)

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


how get /var/db/pkg?

2006-05-03 Thread Robert Huff

xiang writes:

  Today,i run pkgdb -F,but get a error message:you do not own
  /var/db/pkg,becouse i had delete /var/db/pkg by oversight just
  the other day.

  how can i do now?

If you have deleted all contents of /var/db/pkg, and you don't
have a backup, you're screwed.  You'll have to reinstall every to
rebuild the db.
If, however, you just deleted pkgdb.db then pkgdb -U will
repopulate it.


Robert Huff

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


RE: Clamav Install failed

2006-05-03 Thread Zimmerman, Eric
 RESOLVED:
 None of these were a problem, so I opened the firewall and all is
well.
 In spite of the following ipf rules it would not go:
 
 pass out quick on dc0 proto tcp from any to any port = 21 flags S keep
 state
 pass out quick on dc0 proto tcp from any to any port = 22 flags S keep
 state
 
 Do I need matching pass in rules for ports 21 and 22?
 

I think you mean port 20 right? I believe 20 is the control port for
FTP.

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


Re: backup system rsync - dump

2006-05-03 Thread Philip Hallstrom
With the right settings of --backup --backup-dir you can easily create a 
week (or two or three or whatever) archive of the daily changed files. 
So, for example..


/backup/usr - contains identical copy
/backup/dailys/usr/Mon - contains files that changed on /usr on Monday.

Then just set things up to rotate/expire the old copies and you have an 
easy way to get files back you deleted that you didn't mean to.


I can post the whole script if you're interested...

-philip


Philip: I would be very interested in seeing your script if you would kindliy 
post it.


http://www.pjkh.com/~philip/backups.tgz

Pretty straight forward.  Set your directories in files.sh, create 
'server' directories in servers and define what files/directories to 
include/exclude.  Then run the script...


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


Re: portsnap cannot change its default WORKDIR ?

2006-05-03 Thread Yuan, Jue
On Tuesday 07 March 2006 15:17, [EMAIL PROTECTED] wrote:
 -On 3/6/06, Yuan Jue [EMAIL PROTECTED] wrote:
  Hi, all
 
  I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is
  really much faster than CVSUp. But there is one question that bother me:
  I cannot change the WORKDIR that portsnap use.
 
  I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but
  when using 'portsnap fetch', the download files still store
  in /var/db/portsnap.
 
  Any suggestions about this? Thanks in advance!
 
  My /etc/portsnap.conf is as follows:
 
  # $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva
  Exp $
 
  # Default directory where compressed snapshots are stored.
   WORKDIR=/usr/local/portsnap

 Well, it's doesn't seem broken here and mine is exactly like yours.
 Are you using portsnap from the base distro or from the ports tree?
 I was under the impression that portsnap from ports used
 /usr/local/etc/portsnap.conf so you may try copying your
 /etc/portsnap.conf there and see if that fixes something or any-
 thing.


OK. I found the trick finally ;)

There is a needless space before 'WORKDIR', which makes portsnap
cannot read this line correctly. Now it works fine for me :-)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how get /var/db/pkg?

2006-05-03 Thread Tom Grove

Robert Huff wrote:


xiang writes:

 


Today,i run pkgdb -F,but get a error message:you do not own
/var/db/pkg,becouse i had delete /var/db/pkg by oversight just
the other day.

how can i do now?
   



If you have deleted all contents of /var/db/pkg, and you don't
have a backup, you're screwed.  You'll have to reinstall every to
rebuild the db.
If, however, you just deleted pkgdb.db then pkgdb -U will
repopulate it.


Robert Huff

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


 


If you haven't run locate since you delete /var/db/pkg you could run:

locate /var/db/pkg

This will at least give you a partial (maybe a full) listing of 
everything you have installed.  From there you could do a script that 
does something like:


for $program in fileofpackagenames
   pkg_delete $program
   pkg_add $program

Just a thought

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


how to write a bpf filter to receive all packets?

2006-05-03 Thread snnn

is that?

struct bpf_insn insns[] = {
BPF_STMT(BPF_RET+BPF_K, (u_int)-1),
};

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


Problem with Broadcomm NIC - not recognized

2006-05-03 Thread Paul Schmehl
I'm trying to set up a new laptop, and I have an odd problem.  The 
laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't 
recognize it.  The GENERIC kernel has support for the NIC (bge and 
miibus), and I've done several installs on other hardware that detected 
the NIC just fine, but this one doesn't.  There's nothing in dmesg, and 
ifconfig only shows lo0.


How do I correct this problem?

--
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME Cryptographic Signature


ports net-snmp to support 64-bit snmp counter

2006-05-03 Thread adrian kok
Hi All

I am running freebsd 4.11 release and want to have
net-snmp to support 64 bit counter

I deinstall the net-snmp but don't know how to
re-complie  the port to support 
--enable-mfd-rewrites

I changed the Makefile and recomplied it and it
doesn't work

snmpwalk -v 2c -c x localhost ifHighSpeed
IF-MIB::ifHighSpeed = No Such Object available on this
agent at this OID

Thank you for your help


CONFIGURE_ARGS+=--enable-shared --enable-internal-md5
\
--enable-mfd-rewrites \
   
--with-mib-modules=${_NET_SNMP_MIB_MODULES} \
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with Broadcomm NIC - not recognized

2006-05-03 Thread Yuan, Jue
On Wednesday 03 May 2006 22:52, you wrote:
 I'm trying to set up a new laptop, and I have an odd problem.  The
 laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't
 recognize it.  The GENERIC kernel has support for the NIC (bge and
 miibus), and I've done several installs on other hardware that detected
 the NIC just fine, but this one doesn't.  There's nothing in dmesg, and
 ifconfig only shows lo0.

 How do I correct this problem?

Does any other OS on this laptop could recognize the NIC ? Maybe it is
a problem of hardware ;)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 08:07:39AM -0400, fbsd wrote:
 I changed #! /bin/sh  to #!/bin/sh   it had no effect.
 Logger command still not producing output.
 
 using sendmail to construct the email made no difference.
 Still get this message
 
 /libexec/ld-elf.so.1: Shared object libpcre.so.0 not found,
 required by send-mail

Try putting something like this in your script file:

# PROVIDE: your_script_service
# REQUIRE: SERVERS

If my understanding is correct, this should ensure that your script will
not be called until after the dummy dependency SERVERS is run, which
requires that ldconfig has already run.

Note: not tested, not even sure it'll work, but it can't hurt to try.

In any event, rcorder(8) might help.

Dan

 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Norbert
 Papke
 Sent: Tuesday, May 02, 2006 9:47 PM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: dhclient-exit-hooks
 
 
 On Tuesday 02 May 2006 06:12, fbsd wrote:
  IF I execute the cat command to issue the notification email
  from the command line it works fine, but when used in the
  script I get these messages during boot process.
  I am running postfix launched by the sendmail wrappers
  on a FreeBSD 6.0 system.
 
  ~/.mailrc: No match.
 
 Use sendmail(8) rather than mail(1).  mail(1) expects to be run from
 a user
 session and looks for the user's preferences stored in the user's
 ,mailrc
 file.  No user is available during the boot process.
 
 In your script,
 
  #! /bin/sh
 
 Also, try removing the space between #! and /bin/sh.  It may be
 causing
 some weirdness.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpg8lWu8kCaE.pgp
Description: PGP signature


Re: Recovering Squirrelmail settings

2006-05-03 Thread Iantcho Vassilev

I think they are pushed in the Mysql...

Search for that.




On 5/3/06, Jonathan Horne [EMAIL PROTECTED] wrote:


:(  well, i searched again, and this time squirrelmail.org produced what i
hoped i wouldnt find.

in my rebuild, i did recover my /usr/local/www/squirrelmail folder, and
the main config is in there.  i checked my recovered config, and it said
that my user settings were stored in /var/spool/squirrelmail.  oops.  oh
well, ive updated my backup script, and i guess next time ill be able to
recover my addressbooks and other user settings.

:)
cheers,
jonathan

 On Wed, 3 May 2006 08:28:44 -0500 (CDT)
 Jonathan Horne [EMAIL PROTECTED] wrote:

 i did a full reinstall of my server yesterday, and about the only thing
 i
 did not correctly recover, was my squirrelmail settings/address books.
 where is this information stored?  im unable to find what im looking
for
 on the squirrelmail.org website.

 can someone point me in the right direction?  hopefully the data i need
 will be amongst the things i was backing up.

 IIRC, Squirrelmail keeps its config in a PHP file with the rest of
 the PHP scripts that make up the program.  With the FreeBSD port,
 this ends up somewhere in /usr/local/www.

 Which breaks hier ... but that's for another day and another patch ...

 --
 Bill Moran
 Collaborative Fusion Inc.

 
 IMPORTANT: This message contains confidential information and is
 intended only for the individual named. If the reader of this
 message is not an intended recipient (or the individual
 responsible for the delivery of this message to an intended
 recipient), please be advised that any re-use, dissemination,
 distribution or copying of this message is prohibited. Please
 notify the sender immediately by e-mail if you have received
 this e-mail by mistake and delete this e-mail from your system.
 E-mail transmission cannot be guaranteed to be secure or
 error-free as information could be intercepted, corrupted, lost,
 destroyed, arrive late or incomplete, or contain viruses. The
 sender therefore does not accept liability for any errors or
 omissions in the contents of this message, which arise as a
 result of e-mail transmission.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[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: how get /var/db/pkg?

2006-05-03 Thread Robert Huff

Tom Grove writes:
  If you haven't run locate since you delete /var/db/pkg you could run:
  
  locate /var/db/pkg
  
  This will at least give you a partial (maybe a full) listing of 
  everything you have installed.  From there you could do a script that 
  does something like:
  
  for $program in fileofpackagenames
  pkg_delete $program
  pkg_add $program
  
  Just a thought

Try:

locate /var/db/pkg | awk '{FS = \/\\+.*$} {print $1}' | \
awk '{FS = /$} {print $1}' | sort -u 

This will reduce the output to one line per package.


Robert Huff

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


Re: Problem with Broadcomm NIC - not recognized

2006-05-03 Thread Paul Schmehl

Yuan, Jue wrote:

On Wednesday 03 May 2006 22:52, you wrote:

I'm trying to set up a new laptop, and I have an odd problem.  The
laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't
recognize it.  The GENERIC kernel has support for the NIC (bge and
miibus), and I've done several installs on other hardware that detected
the NIC just fine, but this one doesn't.  There's nothing in dmesg, and
ifconfig only shows lo0.

How do I correct this problem?


Does any other OS on this laptop could recognize the NIC ? Maybe it is
a problem of hardware ;)

It's a dual boot machine.  Windows XP recognizes the NIC just fine, but 
*not* with the default drivers that come with XP SP2.  I had to install 
the drivers from Dell.


Maybe there's something different about this NIC?

--
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Recovering Squirrelmail settings

2006-05-03 Thread Emil Thelin

On Wed, 3 May 2006, Iantcho Vassilev wrote:


I think they are pushed in the Mysql...


If squirrelmail is configured to save data to MySQL yes but, that dosen't 
happen by default.


/e

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


Re: ports net-snmp to support 64-bit snmp counter

2006-05-03 Thread Dan Nelson
In the last episode (May 03), adrian kok said:
 I am running freebsd 4.11 release and want to have
 net-snmp to support 64 bit counter

FreeBSD's internal network counters are 32-bit, so it won't help you.

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


(no subject)

2006-05-03 Thread Michele Rebesco
I am on a cruise in Antarctica from April 11 to May 6
(http://www.hamilton.edu/news/exp/Antarctica/2006/index.html).

If you need an urgent reply, please write me small-size messages (hence without 
attachments)
to:
[EMAIL PROTECTED]
otherwise I will reply to this message after I am back.

Ciao,
Michele

Sono in crociera in Antartide dall'11 Aprile al 6 Maggio
(http://www.hamilton.edu/news/exp/Antarctica/2006/index.html).

Se avete bisogno di una risposta urgente, per favore scrivetemi brevi messaggi 
(senza
allegati) a:
[EMAIL PROTECTED]
altrimenti rispondero' a questo mesaggio quando ritorno.

Ciao,
Michele


---

Your mail concerning Returned mail: Data format error
will be read when I'm back.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
What goes in your_script_service?
Is it suppose to be script name dhclient-exit-hooks?
Is the # comment char to be removed?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye
Sent: Wednesday, May 03, 2006 11:42 AM
To: freebsd-questions@freebsd.org
Subject: Re: dhclient-exit-hooks


On Wed, May 03, 2006 at 08:07:39AM -0400, fbsd wrote:
 I changed #! /bin/sh  to #!/bin/sh   it had no effect.
 Logger command still not producing output.

 using sendmail to construct the email made no difference.
 Still get this message

 /libexec/ld-elf.so.1: Shared object libpcre.so.0 not found,
 required by send-mail

Try putting something like this in your script file:

# PROVIDE: your_script_service
# REQUIRE: SERVERS

If my understanding is correct, this should ensure that your script
will
not be called until after the dummy dependency SERVERS is run, which
requires that ldconfig has already run.

Note: not tested, not even sure it'll work, but it can't hurt to
try.

In any event, rcorder(8) might help.

Dan


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Norbert
 Papke
 Sent: Tuesday, May 02, 2006 9:47 PM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: dhclient-exit-hooks


 On Tuesday 02 May 2006 06:12, fbsd wrote:
  IF I execute the cat command to issue the notification email
  from the command line it works fine, but when used in the
  script I get these messages during boot process.
  I am running postfix launched by the sendmail wrappers
  on a FreeBSD 6.0 system.
 
  ~/.mailrc: No match.

 Use sendmail(8) rather than mail(1).  mail(1) expects to be run
from
 a user
 session and looks for the user's preferences stored in the user's
 ,mailrc
 file.  No user is available during the boot process.

 In your script,

  #! /bin/sh

 Also, try removing the space between #! and /bin/sh.  It may
be
 causing
 some weirdness.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


--
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622
166A

_
  ASCII ribbon campaign
( )
 - against HTML, vCards and
X
- proprietary attachments in e-mail
/ \

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


Re: Problem with Broadcomm NIC - not recognized

2006-05-03 Thread Lowell Gilbert
Paul Schmehl [EMAIL PROTECTED] writes:

 Yuan, Jue wrote:
  On Wednesday 03 May 2006 22:52, you wrote:
  I'm trying to set up a new laptop, and I have an odd problem.  The
  laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't
  recognize it.  The GENERIC kernel has support for the NIC (bge and
  miibus), and I've done several installs on other hardware that detected
  the NIC just fine, but this one doesn't.  There's nothing in dmesg, and
  ifconfig only shows lo0.
 
  How do I correct this problem?
  Does any other OS on this laptop could recognize the NIC ? Maybe it
  is
  a problem of hardware ;)
 
 It's a dual boot machine.  Windows XP recognizes the NIC just fine,
 but *not* with the default drivers that come with XP SP2.  I had to
 install the drivers from Dell.
 
 Maybe there's something different about this NIC?

Dell often does unexpectedly proprietary things like that, so it's
possible.  

I think you may need the bce(4) driver rther than bge(4), but that is
in the GENERIC kernel these days also.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 12:17:00PM -0400, fbsd wrote:
 What goes in your_script_service?
 Is it suppose to be script name dhclient-exit-hooks?

Yes.  Sorry, hadn't been paying due attention, otherwise I
would have put 'dhclient-exit-hooks'  ;-)

 Is the # comment char to be removed?

No - leave them in.  Take a look at some of the scripts in /etc/rc.d/
and /usr/local/etc/rc.d/

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpkgbwkztiiG.pgp
Description: PGP signature


Re: Problem with Broadcomm NIC - not recognized

2006-05-03 Thread Paul Schmehl

Lowell Gilbert wrote:

Paul Schmehl [EMAIL PROTECTED] writes:


It's a dual boot machine.  Windows XP recognizes the NIC just fine,
but *not* with the default drivers that come with XP SP2.  I had to
install the drivers from Dell.

Maybe there's something different about this NIC?


Dell often does unexpectedly proprietary things like that, so it's
possible.  


I think you may need the bce(4) driver rther than bge(4), but that is
in the GENERIC kernel these days also.


Hmm...bce *isn't* in the GENERIC kernel for i386 6.0 RELEASE.  Is this a 
new driver?


--
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME Cryptographic Signature


RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
Added this and still no joy.

# PROVIDE: 'dhclient-exit-hooks'
# REQUIRE: SERVERS

As a side bar. This problem started in 6.0 I think.
I only ran 5.4 for short time before going to 6.0
But I do know I did not have this problem in 3.x and 4.x versions.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye
Sent: Wednesday, May 03, 2006 12:22 PM
To: Daniel Bye; freebsd-questions@freebsd.org
Subject: Re: dhclient-exit-hooks


On Wed, May 03, 2006 at 12:17:00PM -0400, fbsd wrote:
 What goes in your_script_service?
 Is it suppose to be script name dhclient-exit-hooks?

Yes.  Sorry, hadn't been paying due attention, otherwise I
would have put 'dhclient-exit-hooks'  ;-)

 Is the # comment char to be removed?

No - leave them in.  Take a look at some of the scripts in
/etc/rc.d/
and /usr/local/etc/rc.d/

Dan

--
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622
166A

_
  ASCII ribbon campaign
( )
 - against HTML, vCards and
X
- proprietary attachments in e-mail
/ \

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


Re: ports net-snmp to support 64-bit snmp counter

2006-05-03 Thread adrian kok
Dear Nelson

Thank you for your mail

Do you know and have experience how to solve this 
Gigabit speed, net-snmp, and overflows issue?

http://lists.ee.ethz.ch/mrtg/msg30587.html

Thank you again


--- Dan Nelson [EMAIL PROTECTED] wrote:

 In the last episode (May 03), adrian kok said:
  I am running freebsd 4.11 release and want to have
  net-snmp to support 64 bit counter
 
 FreeBSD's internal network counters are 32-bit, so
 it won't help you.
 
 -- 
   Dan Nelson
   [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: dhclient-exit-hooks

2006-05-03 Thread Atom Powers

On 5/3/06, fbsd [EMAIL PROTECTED] wrote:

I changed #! /bin/sh  to #!/bin/sh   it had no effect.
Logger command still not producing output.

using sendmail to construct the email made no difference.
Still get this message

/libexec/ld-elf.so.1: Shared object libpcre.so.0 not found,
required by send-mail



Did you rebuild the package?
I have had a similar problem with, in my case, net-snmp. Reinstalling
the port fixed it.
Something about statically linked libraries I think.


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 12:52:07PM -0400, fbsd wrote:
 Added this and still no joy.
 
 # PROVIDE: 'dhclient-exit-hooks'
 # REQUIRE: SERVERS

I'm sure it won't fix the problem, but you shouldn't include the quotes
around the term for # PROVIDE:.

Also, I think the rcorder block needs a blank line before and after it
to be parsed properly by rcorder at startup.

 As a side bar. This problem started in 6.0 I think.
 I only ran 5.4 for short time before going to 6.0
 But I do know I did not have this problem in 3.x and 4.x versions.

If these suggestions don't help, I'm afraid I'm out of ideas, sorry.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgplzQ5ZtQpNf.pgp
Description: PGP signature


RE: wanted: hp-ux glance pendant

2006-05-03 Thread [EMAIL PROTECTED]@mgEDV.net

 I'm not familiar with glance, but have a look at systat, specifically,
 the vmstat screen.

well, thx for the hint. the tool indeed looks nice, and curious as i am,
i monitored some action with it. i started it with
systat -vmstat 1 /dev/ttyv9 
to get the output to a non-shelled terminal and watch the stats on another
screen. right now, the only process currently still working on the system
is the monitor tool itself:

top output:
last pid: 51158;  load averages:  1.12,  1.03,  1.01
up 0+09:40:19  19:00:57
21 processes:  2 running, 19 sleeping
CPU states: 69.9% user,  0.0% nice, 30.1% system,  0.0% interrupt,  0.0%
idle
Mem: 297M Active, 1393M Inact, 137M Wired, 92M Cache, 104M Buf, 83M Free
Swap: 4096M Total, 500M Used, 3596M Free, 12% Inuse

  PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
60297 root1 1260  1816K  1256K RUN221:45 99.02% systat
50917 root1  960  6088K  2348K select   0:00  0.00% sshd
  284 root1  960  1284K   684K select   0:00  0.00% syslogd
50921 root1  960  6088K  2408K select   0:00  0.00% sshd
50920 root1   80  1712K  1232K wait 0:00  0.00% sh
  590 root1   80  1304K   660K nanslp   0:00  0.00% cron
51109 root1   50  2016K  1740K ttyin0:00  0.00% vi
  538 root1  960  1212K   440K select   0:00  0.00% usbd
50924 root1   80  1712K  1224K wait 0:00  0.00% sh
51158 root1  960  2268K  1524K RUN  0:00  0.00% top
  581 root1  960  3356K  1328K select   0:00  0.00% sshd
51157 root1   50  1268K   904K ttyin0:00  0.00% getty
  632 root1   50  1268K   464K ttyin0:00  0.00% getty
  634 root1   50  1268K   464K ttyin0:00  0.00% getty
  631 root1   50  1268K   464K ttyin0:00  0.00% getty
  636 root1   50  1268K   464K ttyin0:00  0.00% getty
  635 root1   50  1268K   464K ttyin0:00  0.00% getty
  633 root1   50  1268K   464K ttyin0:00  0.00% getty
  630 root1   50  1268K   464K ttyin0:00  0.00% getty
51107 root1   80  1712K  1268K wait 0:00  0.00% sh
  256 root1  960   500K   284K select   0:00  0.00% devd


is this normal? it will at least render the figures inaccurate, not?

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


Re: ports net-snmp to support 64-bit snmp counter

2006-05-03 Thread Dan Nelson
In the last episode (May 04), adrian kok said:
 Dear Nelson
 
 Thank you for your mail
 
 Do you know and have experience how to solve this 
 Gigabit speed, net-snmp, and overflows issue?
 
 http://lists.ee.ethz.ch/mrtg/msg30587.html

What I do instead of querying the servers directly, is query the switch
ports they are plugged into.  I use Cisco and HP switches and they have
supported 64-bit SNMP counters for years.  For servers attached to
unmanaged switches, I poll their 32-bit counters every minute and
accept that I can't graph very high traffic rates.

-- 
Dan Nelson
[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: wanted: hp-ux glance pendant

2006-05-03 Thread Dan Nelson
In the last episode (May 03), [EMAIL PROTECTED]@mgEDV.net said:
  I'm not familiar with glance, but have a look at systat,
  specifically, the vmstat screen.
 
 well, thx for the hint. the tool indeed looks nice, and curious as i
 am, i monitored some action with it. i started it with
 systat -vmstat 1 /dev/ttyv9 
 to get the output to a non-shelled terminal and watch the stats on
 another screen. right now, the only process currently still working
 on the system is the monitor tool itself:
 
 top output:
   PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
 60297 root1 1260  1816K  1256K RUN221:45 99.02% systat

 is this normal? it will at least render the figures inaccurate, not?

Systat doesn't like it if it has no stdin; adding a  /dev/ttyv9 
to your commandline should make it behave.

-- 
Dan Nelson
[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: wanted: hp-ux glance pendant

2006-05-03 Thread Bill Moran
On Wed, 3 May 2006 19:09:12 +0200
[EMAIL PROTECTED]@mgEDV.net [EMAIL PROTECTED] wrote:

 
  I'm not familiar with glance, but have a look at systat, specifically,
  the vmstat screen.
 
 well, thx for the hint. the tool indeed looks nice, and curious as i am,
 i monitored some action with it. i started it with
 systat -vmstat 1 /dev/ttyv9 
 to get the output to a non-shelled terminal and watch the stats on another
 screen. right now, the only process currently still working on the system
 is the monitor tool itself:
 
 top output:
 last pid: 51158;  load averages:  1.12,  1.03,  1.01
 up 0+09:40:19  19:00:57
 21 processes:  2 running, 19 sleeping
 CPU states: 69.9% user,  0.0% nice, 30.1% system,  0.0% interrupt,  0.0%
 idle
 Mem: 297M Active, 1393M Inact, 137M Wired, 92M Cache, 104M Buf, 83M Free
 Swap: 4096M Total, 500M Used, 3596M Free, 12% Inuse
 
   PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
 60297 root1 1260  1816K  1256K RUN221:45 99.02% systat

[snip]

 is this normal? it will at least render the figures inaccurate, not?

I wouldn't call that normal.  Running systat doesn't cause anything like
that kind of load on my system.

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


RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
There is nothing to rebuild.
I am using the built in dhclient that comes with the system.

-Original Message-
From: Atom Powers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 1:05 PM
To: [EMAIL PROTECTED]
Cc: Norbert Papke; freebsd-questions@freebsd.org
Subject: Re: dhclient-exit-hooks


On 5/3/06, fbsd [EMAIL PROTECTED] wrote:
 I changed #! /bin/sh  to #!/bin/sh   it had no effect.
 Logger command still not producing output.

 using sendmail to construct the email made no difference.
 Still get this message

 /libexec/ld-elf.so.1: Shared object libpcre.so.0 not found,
 required by send-mail


Did you rebuild the package?
I have had a similar problem with, in my case, net-snmp.
Reinstalling
the port fixed it.
Something about statically linked libraries I think.


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--

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


Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 02:25:08PM -0400, fbsd wrote:
 There is nothing to rebuild.
 I am using the built in dhclient that comes with the system.

But it's not dhclient that's emitting the error, is it?  It's your MTA.
(check in /etc/mail/mailer.conf, and you will see that send-mail is
an alias for the binary of your MTA)

Atom's suggestion is worth pursuing.

Dan

 
 -Original Message-
 From: Atom Powers [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, May 03, 2006 1:05 PM
 To: [EMAIL PROTECTED]
 Cc: Norbert Papke; freebsd-questions@freebsd.org
 Subject: Re: dhclient-exit-hooks
 
 
 On 5/3/06, fbsd [EMAIL PROTECTED] wrote:
  I changed #! /bin/sh  to #!/bin/sh   it had no effect.
  Logger command still not producing output.
 
  using sendmail to construct the email made no difference.
  Still get this message
 
  /libexec/ld-elf.so.1: Shared object libpcre.so.0 not found,
  required by send-mail
 
 
 Did you rebuild the package?
 I have had a similar problem with, in my case, net-snmp.
 Reinstalling
 the port fixed it.
 Something about statically linked libraries I think.
 
 
 --
 --
 Perfection is just a word I use occasionally with mustard.
 --Atom Powers--
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpOzKIawEEOF.pgp
Description: PGP signature


Re: FBSD 5.x and Skype sound

2006-05-03 Thread scuba
Ariff,

FreeBsd 5.4.
The sound is terrible. Even using echo123 sound test.


On Mon, 1 May 2006, Ariff Abdullah wrote:

|On Wed, 26 Apr 2006 11:38:00 -0300 (BRT)
|[EMAIL PROTECTED] wrote:
| Hi all,
| 
|  I know that there is a lot o threads about this, but none of
|  the 
| workarrounds had worked with me.
| 
|  I trying to use skype (1.2.0.18 from ports), on a FBSD 5.4
|  (last 
| cvs), but the sound is failing.
| 
|  My on-board sound chipset is CMI8738, I'm using the 
| snd_cmi_load=YES in the /boot/loder.conf.
|  I've tried set sysctl vars hw.snd.pcm0.vchans and 
| hw.snd.maxautovchans, but nothing worked.
| 
|  The problem is associated only with skype.
| 
|  Any tips?
| 
|
|What kind of problem? What FreeBSD version?
|
|Refer to http://people.freebsd.org/~ariff/BUG_REPORT . I need all that
|informations first.
|
|
|--
|Ariff Abdullah
|FreeBSD
|


- Marcelo

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


(no subject)

2006-05-03 Thread [EMAIL PROTECTED]
Dear Folks:
My version of  gcc  doesn't work (reports errors in code that compiles 
elsewhere).  Where can I go to download a later version of  GNU  code for  gcc  
  gdb  suitable for a  FreeBSD  system?  I went to the  GNU  site but all I 
found there was source code ( .c.h ), useless without a working compiler.  
Also, even if I had found a working binary,
how would I know if it is for  FreeBSD ,  LINUX ,  Solaris , or some other 
system?
Are there inexpensive but good working commercial compilers suitable 
for a  FreeBSD  system?  If so, what are they and how can their distributors be 
contacted?  What about shareware or freeware?

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


Re: 6.1-RC2: strange kernel panic!

2006-05-03 Thread Kris Kennaway
On Wed, May 03, 2006 at 11:55:26AM +0200, [EMAIL PROTECTED]@mgEDV.net wrote:
  
  Don't you think you should test it instead of guessing? :-) I suggested
  it because it *is* a possibility (that is why I have it in my kernel).
 yes, but doesn't it make sense to find memory consuming things
 before adding more?
 btw. how can we check for such things?
 
  Are you sure you are using swap backing and not malloc?
 nope, i'm not sure if it was that, but -M was passed to mdmfs,
 so malloc(9) was used. we changed the code to swap-based, let's
 see if that fixes our problem.

Since you were using malloc backing that is what used up all your
kernel memory.  Increasing memory per my suggestion would have fixed
it.

Chances are you don't want to use malloc backing anyway though,
because it's slower (unless you're swapping).

Kris


pgplZzr0kvIPo.pgp
Description: PGP signature


RE: wanted: hp-ux glance pendant

2006-05-03 Thread [EMAIL PROTECTED]@mgEDV.net

 Systat doesn't like it if it has no stdin; adding a  /dev/ttyv9 
 to your commandline should make it behave.

adding your suggestion fixes the problem, but i'd like to run it w/o
enabling any user keystrokes/input to systat. tried /dev/null and an
empty file, obviously w/o success -(
any further ideas?

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


RE: 6.1-RC2: strange kernel panic! [SOLVED]

2006-05-03 Thread [EMAIL PROTECTED]@mgEDV.net
 
original error:
 panic: kmem_malloc(4096): kmem_map too small: 335544320 total allocated
kernel panic issue seems to be solved by changing our memory disk
from malloc(9) backed to a swap-backed disk.

thx 4 helpin', guys!

and yes, i could have tested it because this was already in the archives
(shame on me) ;-)

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


Re: USB Mouse on Laptop

2006-05-03 Thread M.Stegenburgs
Hi,

moused_type=auto
works nice on my Toshiba.
Well, it does not map all the buttons of my Logitech trackball, but basic 
functions switches on the fly.

Regards,
Maris

On Wed, 3 May 2006 01:27:18 +
Jonathan Herriott [EMAIL PROTECTED] wrote:

 Hi!
 
 I currently just fixed moused to start up using my laptop's mousepad in
 /etc/rc.conf using the following options:
 
 moused_enable=YES
 moused_port=/dev/psm0
 moused_flags= #This is another problem of mine, I can't get the four
 extra buttons on my mousepad to work because I don't know what to specify
 with -z, but this isn't the point of this post
 moused_type=ps/2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc doesn't work (was:(no subject))

2006-05-03 Thread Fabian Keil
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

   My version of  gcc  doesn't work (reports errors in code that
 compiles elsewhere).  Where can I go to download a later version of
 GNU  code for  gccgdb  suitable for a  FreeBSD  system?  I went to
 the  GNU  site but all I found there was source code ( .c.h ),
 useless without a working compiler.  Also, even if I had found a
 working binary, how would I know if it is for  FreeBSD ,  LINUX ,
 Solaris , or some other system? Are there inexpensive but good working
 commercial compilers suitable for a  FreeBSD  system?  If so, what are
 they and how can their distributors be contacted?  What about shareware
 or freeware?

I can't believe that FreeBSD's gcc version doesn't work.
It's more likely that your code needs libraries you don't have,
or your system's memory is corrupt. Hard to tell without knowing
the error message.

Switching the compiler wouldn't solve these problems. 

Anyway you can find different gcc versions in the ports collection.
If your compiler really is broken, you could install them as package.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: acquiring other versions of GCC (was no subject)

2006-05-03 Thread Bill Moran
On Wed, 3 May 2006 18:47:35 GMT
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

[Please wrap your lines at around 72 chars]

 Dear Folks:
   My version of  gcc  doesn't work (reports errors in code that
 compiles elsewhere).  Where can I go to download a later version of
 GNU  code for  gccgdb  suitable for a  FreeBSD  system?  I went
 to the  GNU  site but all I found there was source code ( .c.h ),
 useless without a working compiler.  Also, even if I had found a
 working binary,
 how would I know if it is for  FreeBSD ,  LINUX ,  Solaris , or some
 other system?
   Are there inexpensive but good working commercial compilers
 suitable for a  FreeBSD  system?  If so, what are they and how can
 their distributors be contacted?  What about shareware or freeware?

Have a look through /usr/ports/devel

If you have a recent version of FreeBSD, it will have a recent
version of GCC, and will compile compliant code without trouble.
Since you provided no version information, nor errors, nor examples of
failing code, I can't speculate further.

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


Re: wanted: hp-ux glance pendant

2006-05-03 Thread Bill Moran
On Wed, 3 May 2006 21:02:21 +0200
[EMAIL PROTECTED]@mgEDV.net [EMAIL PROTECTED] wrote:

 
  Systat doesn't like it if it has no stdin; adding a  /dev/ttyv9 
  to your commandline should make it behave.
 
 adding your suggestion fixes the problem, but i'd like to run it w/o
 enabling any user keystrokes/input to systat. tried /dev/null and an
 empty file, obviously w/o success -(
 any further ideas?

Dump it to a file and tail -f the file in the console?

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


Re: gcc not working (was no subject)

2006-05-03 Thread Beech Rintoul
On Wednesday 03 May 2006 10:47, [EMAIL PROTECTED] wrote:
 Dear Folks:
   My version of  gcc  doesn't work (reports errors in code that compiles
 elsewhere).  Where can I go to download a later version of  GNU  code for 
 gccgdb  suitable for a  FreeBSD  system?  I went to the  GNU  site but
 all I found there was source code ( .c.h ), useless without a working
 compiler.  Also, even if I had found a working binary, how would I know if
 it is for  FreeBSD ,  LINUX ,  Solaris , or some other system? Are there
 inexpensive but good working commercial compilers suitable for a  FreeBSD 
 system?  If so, what are they and how can their distributors be contacted? 
 What about shareware or freeware?

What version of FreeBSD are you running? There are several versions of gcc in 
the ports (/usr/ports/lang). If they won't build, you probably need to 
upgrade your sys/kernel or at least rebuild them. You could also download a 
package. Downloading a version outside the FreeBSD ports/packages is not 
recommended and your mileage may definitely vary. Please post your compile 
errors so we can see what's going on. Also post the output from uname -a

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpE63PxGDPZd.pgp
Description: PGP signature


Re: nubie question - Ports - Ruby 1.8.4

2006-05-03 Thread Bakki Kudva

Daniel,

Thank you very much for your help. I am golden now. Everything is
working and I am really impressed with FreeBSD (I came from Linux
world, particularly Debian). I got sound, USB etc working now and the
process was quite enjoyable.

Your explanation about ports versioning really belongs in the
handbook. If you know the doc maintainers it would be great if this
info can be added to the handbook.

-bakki

On 5/2/06, Daniel Bye [EMAIL PROTECTED] wrote:

On Tue, May 02, 2006 at 05:52:14PM -0400, Bakki Kudva wrote:
 FIXED! I have Ruby 1.8.4 in my tree now.

 I had not done...
 # portsnap extract

 I was a bit mislead because when I did
 # portsnap fetch
 after downloading it said it was 'extracting'. So I skipped extract. My bad.

 I still would like to ask you gurus a couple of questions if I may.

 1. During sysinstall it had asked me if I wanted the ports collection
 installed which had 13,000 apps, would take 400MB of space yada yada
 yada...I assumed by saying yes and since I was installing off the boot
 only CD I would get the LATEST ports from the main site. Why didn't I?
 In chapter 4.5 of the handbook portsnap is given as an alternative to
 sysinstall. So what is the difference between ports installed via
 sysinstall vs. that from portsnap?

The ports tree installed by the CD was made at the same time the release
was cut.  So, due to the enormous amount of work done by all the many
porters, it is pretty much obsolete within minutes.  The reason?
Logistics, pure and simple.  It would be impracticable to try and keep
the ports tree up to date for the ISOs.  I think this applies to the
boot-only ISO as well - the installer knows which release it is
installing, so it automatically goes and finds the version of the ports
tree that was released at the same time.

If you have a reasonable connection to the Internet, use portsnap or
cvsup to keep your ports tree up to date, as the handbook says.

Portsnap maintains some metadata so it can easily track which snapshot
you last applied, and can find the appropriate updates to bring you up
to date.  By contrast, as explained above, sysinstall will install the
ports tree as it was at the time your release was cut.  (I believe it is
possible to tell it to install a different release's ports tree, but why
you'd want to isn't quite clear.)

Others will assuredly know more of this than I, and if I have anything
wrong they will doubtless correct me!  (Well, I hope so, any way ;-)

 2. Unrelated: I did a pkg_version and see that there are a whole bunch
 of packages (may be 80-90%) which need updating. I am just trying
 FreeBSD for now on my laptop which is an old Gateway with Pentium II
 400 MHz. It took nearly 2-3 days (it would pause with some dialog
 which needed human input so I am not sure how long it might have taken
 with me sitting in front of it all the time) to install gnome2 from
 the ports. I don't know how long it might take to do a complete system
 upgrade. So the question I have is on current technology (say Athlon64
 or Coreduo with 1GB of RAM) how long does it take to install a
 complete system + upgrade it to the ports tree for a X-developer
 workstation? Sorry about the loaded question.

I have an Acer Aspire 1360 laptop (AMD Sempron 3000+ (actually rated at
1801.04 MHz, according to dmesg(1)), 512MB RAM), and
it takes around 9 or 10 hours to build OpenOffice 2.0.  I don't use
Gnome or KDE, so don't have any experience of build times on this
particular machine.  A buildworld takes around an hour and a half to two
hours (I don't tend to take measurements, I'm afraid, so am probably not
the best person to answer this bit of your question!)  I remember from a
previous job, using some AMD64 machines with 2GB RAM, a buildworld was
complete in something like 45 minutes.  That was 5.2-RELEASE.

On the other hand, I have an UltraSPARC machine that takes about 9 hours
to buildworld...

Dan

--
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \




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


Re: nubie question - Ports - Ruby 1.8.4

2006-05-03 Thread Bakki Kudva

Thanks, I am already using it.

-bakki

On 5/3/06, Daniel Bye [EMAIL PROTECTED] wrote:

On Wed, May 03, 2006 at 09:03:58AM -0500, Zimmerman, Eric wrote:
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-freebsd-
  [EMAIL PROTECTED] On Behalf Of Daniel Bye
  Sent: Tuesday, May 02, 2006 5:25 PM
  To: freebsd-questions@freebsd.org
  Subject: Re: nubie question - Ports - Ruby 1.8.4
 
  On Tue, May 02, 2006 at 05:52:14PM -0400, Bakki Kudva wrote:
   FIXED! I have Ruby 1.8.4 in my tree now.
  
   I had not done...
   # portsnap extract
  

 I recommend you check out portmanager as well. Makes dealing with port
 upgrades including all dependencies MUCH easier!

Agreed.  Portmanager is one of the first things I install on any new
machine.  Very simple to use, and not prone to all the 'my pkgdb got
broke' funkiness so often associated with portupgrade.

Dan

--
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \




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


italian mirror

2006-05-03 Thread Stefano Piletti

Hi
in the mirror-list page you miss this important italian mirror
http://na.mirror.garr.it/FreeBSD/

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


RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
I do not see why postfix would have any thing to do with logger not
working.

I added some ehco statments to test if the if statment is working.
In this pass /etc/dhcpd.name-servers.tmp = /etc/dhcpd.name-servers
so the second echo should not have been executed, but it was

From testing it looks like only the dhcpc variables plus mv,
and echo commands work in the script.

from the boot log
dc0: link state changed to DOWN
dc0: no link dc0: link state changed to UP
 got link
dc0: link state changed to DOWN
 before if check
 after if check
DHCPREQUEST on dc0 to 255.255.255.255 port 67
dc0: link state changed to UP
DHCPACK from 10.0.10.2
dc0: link state changed to DOWN
bound to 10.0.10.4 -- renewal in 43200 seconds.


and here is the dhclient-exit-hooks script

#!/bin/sh

# PROVIDE: dhclient-exit-hooks
# REQUIRE: SERVERS

###  Start of refresh dhcpd dns ip  
# This script will propagate to dhcpd the changed dns servers ip
address
# which dhcp-client puts in resolv.conf.
#
# In dhcpd.conf replace the option domain-name-servers line with
this
#
#  include /etc/dhcpd.name-servers;
#
# Spript uses the dhcpc variables to build temp line in dhcpd
format.
# Then compare temp content to production content.
# If different replace production content with new content from
temp,
# and restart dhcp to reread dhcpd.conf containing new ISP dns ip
addresses.
#
# logging event and sending email to user root is optional.
#
# Note: All LAN machines using dhcpd will not get new ISP dns ip
addresses
# until they reboot or their lease comes up for renewal.
#
# Each of the following lines must be one long line. IE: no wrap
arounds



# load my_domain_name_servers variable with ISP dns ip addresses
from dhcpc
my_domain_name_servers=`echo $new_domain_name_servers | sed -e 's/
/, /g'`

# Create single line in file to be included in dhcpd.conf
echo option domain-name-servers $my_domain_name_servers ; 
/etc/dhcpd.name-servers.tmp

echo  before if check

# See if different from what production file contains
cmp -s /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers
if [ $? -gt 0 ]; then
echo  after if check
  # move the new file into place
  mv /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers
  # restart dhcp using whatever is appropriate for your platform
  #service dhcpd restart
  #/usr/local/etc/rc.d/isc-dhcpd.sh restart -q
  # Write message to /var/log/dhcpc.log to document event.
  /usr/bin/logger -p user.warning -t dhclient Your ISP DNS IP
addresses changed.
  # Write message to /var/log/dhcpd.log to document event.
  /usr/bin/logger -p local1.warning -t dhclient Your ISP DNS IP
addresses changed.
  fi
#rm -f /etc/dhcpd.name-servers.tmp
###  End of refresh dhcpd dns ip script
###


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye
Sent: Wednesday, May 03, 2006 2:35 PM
To: freebsd-questions@freebsd.org
Subject: Re: dhclient-exit-hooks


On Wed, May 03, 2006 at 02:25:08PM -0400, fbsd wrote:
 There is nothing to rebuild.
 I am using the built in dhclient that comes with the system.

But it's not dhclient that's emitting the error, is it?  It's your
MTA.
(check in /etc/mail/mailer.conf, and you will see that send-mail is
an alias for the binary of your MTA)

Atom's suggestion is worth pursuing.

Dan


 -Original Message-
 From: Atom Powers [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, May 03, 2006 1:05 PM
 To: [EMAIL PROTECTED]
 Cc: Norbert Papke; freebsd-questions@freebsd.org
 Subject: Re: dhclient-exit-hooks


 On 5/3/06, fbsd [EMAIL PROTECTED] wrote:
  I changed #! /bin/sh  to #!/bin/sh   it had no effect.
  Logger command still not producing output.
 
  using sendmail to construct the email made no difference.
  Still get this message
 
  /libexec/ld-elf.so.1: Shared object libpcre.so.0 not found,
  required by send-mail
 

 Did you rebuild the package?
 I have had a similar problem with, in my case, net-snmp.
 Reinstalling
 the port fixed it.
 Something about statically linked libraries I think.


 --
 --
 Perfection is just a word I use occasionally with mustard.
 --Atom Powers--

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


--
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622
166A

_
  ASCII ribbon campaign
( )
 - against HTML, vCards and
X
- proprietary attachments in e-mail
/ \

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


dd question

2006-05-03 Thread Chad Leigh -- Shire.Net LLC
I have a Windows machine that also has some linux partitions.  lilo  
is the main boot manager.  Can I used dd from my freebsd box to  
completely copy the whole disk, partition tables and all, to another  
disk?  The disk in the machine is starting to appear to be a little  
flaky and I have another of the same mechanisms here and would like  
to just basically clone the whole thing over.  I seldom use the  
machine but when I do need it I need it (tax time, an old website  
that uses a specific windows tool for updating, etc)


Thanks
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Cupsd strangeness....

2006-05-03 Thread P.U.Kruppa

On Tue, 2 May 2006, Eric Schuele wrote:


Hello,

While this should be of absolutely no real concern my lack of ability to 
resolve it is causing me sleepless nights.  I'm sure this should be an easy 
one... I just can't seem to fix it.


Everything cups related is working perfectly fine.  However,  my dmesg shows 
the following:


Starting cupsd.
Starting cupsd.
cupsd: Child exited with status 48!
Usage: cups {reload|restart|start|status|stop}

And its driving me crazy!  Cupsd is trying to start twice?  and the second 
time is giving an error.


What have I done wrong here?
[~] % ls /etc/rc.d | grep cups
[~]
% ls /usr/local/etc/rc.d | grep cups
cups.sh.delme*
cups.sh.sample*
cupsd.delme*
cupsd.sample*
cupsd.sh*
Nowadays all executable scripts in rc.d/ will be executed, not 
only those ending on .sh


Regards,

Uli.





[~] % grep cups /etc/rc.conf
cupsd_enable=YES
#cups_enable=YES

Using FreeBSD 6.1-RC as of Sat some time... but had this problem quite a 
while.  I'm sure it started the last time I rebuilt the machine (two month 
back maybe).  And I'm sure its a config error on my part.


Any help is appreciated.

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





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


Re: If you have a working DRI multi-head setup read this:

2006-05-03 Thread Nikolas Britton

On 5/3/06, Nikolas Britton [EMAIL PROTECTED] wrote:

Do you have a multi-head setup, does DRI/DRM work? If it works report
your setup, if you can confirm it doesn't work post that too!

Let me lead the way:
drm0: AGP ATI Radeon QL R200 8500 LE
drm1: PCI ATI Radeon QY RV100 7000/VE
drm2: PCI ATI Radeon QY RV100 7000/VE

DRI broken, hardlocks system when you start X, It has something to do
with the Radeon 7000 cards becouse DRI was working fine when I only
had the Radeon 8500 card installed.
##



Would DRI/DRM (2D, 3D, OpenGL, etc.) work if I replaced all my cards
with Radeon 9250's (RV280)?


--
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]


Re: 6.1-RC2: strange kernel panic! [SOLVED]

2006-05-03 Thread Kris Kennaway
On Wed, May 03, 2006 at 09:09:41PM +0200, [EMAIL PROTECTED]@mgEDV.net wrote:
  
 original error:
  panic: kmem_malloc(4096): kmem_map too small: 335544320 total allocated
 kernel panic issue seems to be solved by changing our memory disk
 from malloc(9) backed to a swap-backed disk.
 
 thx 4 helpin', guys!
 
 and yes, i could have tested it because this was already in the archives
 (shame on me) ;-)

Great, it's nice when problems are resolved :)

Kris


pgppqRHtO1XQn.pgp
Description: PGP signature


Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 03:35:13PM -0400, fbsd wrote:
 I do not see why postfix would have any thing to do with logger not
 working.

ACK.  I've been talking about the Shared object not found error, which
is definitely, from the error message you posted, caused by postfix not
being able to find pcre.  Has that problem gone away with the addition
of the rcorder directives?  (I've made the assumption here that your
script is being called by rc, from one of your rc.d directories - if
this is NOT the case, then you can pretty well ignore all I've said, and
I apologise for being off the mark...)

 I added some ehco statments to test if the if statment is working.
 In this pass /etc/dhcpd.name-servers.tmp = /etc/dhcpd.name-servers
 so the second echo should not have been executed, but it was

Have you run the script with xtrace turned on?  That at least will show
you which lines of the script are being run.  It might help you narrow
down on the part that goes wrong.  I really can't see anything wrong
with the logic or syntax of your script, so this part of it is somewhat
baffling to me.

 From testing it looks like only the dhcpc variables plus mv,
 and echo commands work in the script.
 
 from the boot log
 dc0: link state changed to DOWN
 dc0: no link dc0: link state changed to UP
  got link
 dc0: link state changed to DOWN
  before if check
  after if check
 DHCPREQUEST on dc0 to 255.255.255.255 port 67
 dc0: link state changed to UP
 DHCPACK from 10.0.10.2
 dc0: link state changed to DOWN
 bound to 10.0.10.4 -- renewal in 43200 seconds.
 
 
 and here is the dhclient-exit-hooks script
 
 #!/bin/sh
 
 # PROVIDE: dhclient-exit-hooks
 # REQUIRE: SERVERS
 
 ###  Start of refresh dhcpd dns ip  
 # This script will propagate to dhcpd the changed dns servers ip
 address
 # which dhcp-client puts in resolv.conf.
 #
 # In dhcpd.conf replace the option domain-name-servers line with
 this
 #
 #  include /etc/dhcpd.name-servers;
 #
 # Spript uses the dhcpc variables to build temp line in dhcpd
 format.
 # Then compare temp content to production content.
 # If different replace production content with new content from
 temp,
 # and restart dhcp to reread dhcpd.conf containing new ISP dns ip
 addresses.
 #
 # logging event and sending email to user root is optional.
 #
 # Note: All LAN machines using dhcpd will not get new ISP dns ip
 addresses
 # until they reboot or their lease comes up for renewal.
 #
 # Each of the following lines must be one long line. IE: no wrap
 arounds
 
 
 
 # load my_domain_name_servers variable with ISP dns ip addresses
 from dhcpc
 my_domain_name_servers=`echo $new_domain_name_servers | sed -e 's/
 /, /g'`
 
 # Create single line in file to be included in dhcpd.conf
 echo option domain-name-servers $my_domain_name_servers ; 
 /etc/dhcpd.name-servers.tmp
 
 echo  before if check
 
 # See if different from what production file contains
 cmp -s /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers
 if [ $? -gt 0 ]; then
 echo  after if check
   # move the new file into place
   mv /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers
   # restart dhcp using whatever is appropriate for your platform
   #service dhcpd restart
   #/usr/local/etc/rc.d/isc-dhcpd.sh restart -q
   # Write message to /var/log/dhcpc.log to document event.
   /usr/bin/logger -p user.warning -t dhclient Your ISP DNS IP
 addresses changed.
   # Write message to /var/log/dhcpd.log to document event.
   /usr/bin/logger -p local1.warning -t dhclient Your ISP DNS IP
 addresses changed.
   fi
 #rm -f /etc/dhcpd.name-servers.tmp
 ###  End of refresh dhcpd dns ip script
 ###

[---snip---]

   using sendmail to construct the email made no difference.
   Still get this message
  
   /libexec/ld-elf.so.1: Shared object libpcre.so.0 not found,
   required by send-mail

Has this gone away? --^

Apologies for the crossed wires.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp5P3b2BRhsM.pgp
Description: PGP signature


RE: FreeBSD 6.0 compat with DL320 G4

2006-05-03 Thread Ted Mittelstaedt

Hi All,

  This server is using the Broadcom BCM5704C, the problem child chipset
(that is
discussed in the PR 94307 that I referred to) is the BCM5714.

This is also running a different CPU - your running a 3.4Ghz pentium 4,
we are running
a 2.8Ghz Pentium D.  Your CPU chip ID is 0xf43 ours is 0xf44

  While you can specify different CPU speeds, I would be pretty nervous
in
assuming that simply specifying a different CPU speed would change the
ethernet
chipset on the motherboard.

  If William does go forward with his order I would certainly suggest he
order the
faster server, and cross his fingers.

  NoSpam it would be very useful if you could submit a followup to the PR
94307
with your dmesg, and note that while the server model # is the same the
ethernet
chipset is different.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]@mgEDV.net
Sent: Tuesday, May 02, 2006 7:25 AM
To: freebsd-questions@freebsd.org
Cc: 'William'
Subject: RE: FreeBSD 6.0 compat with DL320 G4



 What was your experience like with 6.0-RELEASE and the dl320 g4? I've
 had a quote back on that model so could be near to actually getting
 some hardware for once :)

we didn't really run 6.0-RELEASE on the system, as the 6.1-BETAs had
been out when we bought the server. therefore not really man exp. on
this.

for ted's request, here's the 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-RC2 #0: Sun Apr 30 09:42:38 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: HP 0083
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.52-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf43  Stepping = 3

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=0x649dSSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,b14
  AMD Features=0x2000LM
  Logical CPUs per core: 2
real memory  = 1073688576 (1023 MB)
avail memory = 1041743872 (993 MB)
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
ioapic2 Version 2.0 irqs 48-71 on motherboard
kbd1 at kbdmux0
acpi0: HP D18 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x908-0x90b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
pcib0: no PRT entry for 0.31.INTA
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci5: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci5
pci6: ACPI PCI bus on pcib2
bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100 mem
0xfdff-0xfdff irq 24 at device 1.0 on pci6
miibus0: MII bus on bge0
brgphy0: BCM5704 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge0: Ethernet address: 00:15:60:aa:39:d2
bge1: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100 mem
0xfdfe-0xfdfe irq 25 at device 1.1 on pci6
miibus1: MII bus on bge1
brgphy1: BCM5704 10/100/1000baseTX PHY on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge1: Ethernet address: 00:15:60:aa:39:d1
pcib3: ACPI PCI-PCI bridge at device 0.2 on pci5
pci9: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 28.0 on pci0
pci2: ACPI PCI bus on pcib4
uhci0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A port
0x1000-0x101f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B port
0x1020-0x103f irq 17 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C port
0x1040-0x105f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D port
0x1060-0x107f irq 19 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports 

Re: dd question

2006-05-03 Thread Mike Hunter
On May 03 at 14:11, Chad Leigh -- Shire.Net LLC wrote:

 I have a Windows machine that also has some linux partitions.  lilo  
 is the main boot manager.  Can I used dd from my freebsd box to  
 completely copy the whole disk, partition tables and all, to another  
 disk?  The disk in the machine is starting to appear to be a little  
 flaky and I have another of the same mechanisms here and would like  
 to just basically clone the whole thing over.  I seldom use the  
 machine but when I do need it I need it (tax time, an old website  
 that uses a specific windows tool for updating, etc)

I've done this and had success.  You can boot the machine that you want to
dupe with a live CD, then dd from the disk to either a file somewhere or
straight to another disk, then you should be able to just boot from the
new disk (the new disk must be = the size of the old disk, people have
said that the exact same size is required, but I haven't found that to be
the case.)

A couple other quick plugs, check out ddrecover if you have bad sectors.
Last but not least, I've used netcat with success to do these dupes across
a (secure) network.

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


Re: nubie question - Ports - Ruby 1.8.4

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 03:21:34PM -0400, Bakki Kudva wrote:
 Daniel,
 
 Thank you very much for your help. I am golden now. Everything is
 working and I am really impressed with FreeBSD (I came from Linux
 world, particularly Debian). I got sound, USB etc working now and the
 process was quite enjoyable.

I'm glad to hear it's all going well!  FreeBSD is put together in such a
way that it is enjoyable to work with - things tend not to change places
between releases, and if they do it's usually for a cogent reason.  The
documentation is great, and so is the community.  I hope you enjoy your
stay!

 Your explanation about ports versioning really belongs in the
 handbook. If you know the doc maintainers it would be great if this
 info can be added to the handbook.

Thanks!  I will rewrite it a bit and submit a PR.  If the maintainers
agree, then it'll get in, I guess.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpDTHlH560JL.pgp
Description: PGP signature


RE: FreeBSD 6.0 compat with DL320 G4

2006-05-03 Thread Ted Mittelstaedt

Just an update, I checked again and our server is running
a 3.0Ghz not a 2.8Ghz pentium D.

Ted

-Original Message-
From: Ted Mittelstaedt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 1:44 PM
To: freebsd-questions@freebsd.org
Cc: 'William'
Subject: RE: FreeBSD 6.0 compat with DL320 G4



Hi All,

  This server is using the Broadcom BCM5704C, the problem child
chipset (that is
discussed in the PR 94307 that I referred to) is the BCM5714.

This is also running a different CPU - your running a 3.4Ghz
pentium 4, we are running
a 2.8Ghz Pentium D.  Your CPU chip ID is 0xf43 ours is 0xf44

  While you can specify different CPU speeds, I would be pretty
nervous in
assuming that simply specifying a different CPU speed would
change the ethernet
chipset on the motherboard.

  If William does go forward with his order I would certainly
suggest he order the
faster server, and cross his fingers.

  NoSpam it would be very useful if you could submit a followup
to the PR 94307
with your dmesg, and note that while the server model # is the
same the ethernet
chipset is different.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]@mgEDV.net
Sent: Tuesday, May 02, 2006 7:25 AM
To: freebsd-questions@freebsd.org
Cc: 'William'
Subject: RE: FreeBSD 6.0 compat with DL320 G4



 What was your experience like with 6.0-RELEASE and the dl320 g4? I've
 had a quote back on that model so could be near to actually getting
 some hardware for once :)

we didn't really run 6.0-RELEASE on the system, as the 6.1-BETAs had
been out when we bought the server. therefore not really man exp. on
this.

for ted's request, here's the 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-RC2 #0: Sun Apr 30 09:42:38 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: HP 0083
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.52-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf43  Stepping = 3

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=0x649dSSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,b14
  AMD Features=0x2000LM
  Logical CPUs per core: 2
real memory  = 1073688576 (1023 MB)
avail memory = 1041743872 (993 MB)
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
ioapic2 Version 2.0 irqs 48-71 on motherboard
kbd1 at kbdmux0
acpi0: HP D18 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x908-0x90b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
pcib0: no PRT entry for 0.31.INTA
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci5: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci5
pci6: ACPI PCI bus on pcib2
bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100 mem
0xfdff-0xfdff irq 24 at device 1.0 on pci6
miibus0: MII bus on bge0
brgphy0: BCM5704 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge0: Ethernet address: 00:15:60:aa:39:d2
bge1: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100 mem
0xfdfe-0xfdfe irq 25 at device 1.1 on pci6
miibus1: MII bus on bge1
brgphy1: BCM5704 10/100/1000baseTX PHY on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge1: Ethernet address: 00:15:60:aa:39:d1
pcib3: ACPI PCI-PCI bridge at device 0.2 on pci5
pci9: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 28.0 on pci0
pci2: ACPI PCI bus on pcib4
uhci0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A port
0x1000-0x101f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B port
0x1020-0x103f irq 17 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C port
0x1040-0x105f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self 

Weird IP Behaviour

2006-05-03 Thread Steve Douville
I made changes in my rc.conf file, removing an IP address. I renumbered the 
aliases so that the others were still sequential from 0, since it was alias_0 
that I removed. For some reason, when the system restarts, the removed ip 
address magically appears at the end of the list when I do ifconfig. What could 
cause this?

5.4-Release

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


RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
I figured the Shared object not found error is another sign
of what is wrong in general so I commented out the mail command
to concentrate on just the logger problem. During testing the
logger problem I determined the script if statement is not
working.
Problem seems more like bug in how and or when during the boot
process the script is getting executed.
This has nothing to do with my script code.
This is how FreeBSD is handling the default dhclient-script that
comes pre installed on the system.

The recorder directives have made no difference.

Please note I am not using the isc-dhcp port dhclient.
I am running the dhclient that comes as part of the base
install of FreeBSD.
I have ifconfig_dc0=DHCP in rc.conf to launch
/sbin/dhclient-script.
dhclient-script calls dhclient-exit-hooks

I don't think the recorder directives get into play because
dhclient does not use the rc.d environment.

I know the dhclient-exit-hooks script is executing because of the
echo commands I put in it before and after the IF statement.

I also know the dhclient variables are being loaded in the
/etc/dhcpd.name-servers file because I empty it before rebooting
system, and after words I edit it and it contains the correct
values.

I am beginning to think that something changed between 4.x and 6.0
in
the way the dhclient-script get processed during boot.
It's acting like it gets executed to early in the boot process.
Do I have enough evidence on this to submit a bug report???


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye
Sent: Wednesday, May 03, 2006 4:42 PM
To: Daniel Bye; freebsd-questions@freebsd.org
Subject: Re: dhclient-exit-hooks


On Wed, May 03, 2006 at 03:35:13PM -0400, fbsd wrote:
 I do not see why postfix would have any thing to do with logger
not
 working.

ACK.  I've been talking about the Shared object not found error,
which
is definitely, from the error message you posted, caused by postfix
not
being able to find pcre.  Has that problem gone away with the
addition
of the rcorder directives?  (I've made the assumption here that your
script is being called by rc, from one of your rc.d directories - if
this is NOT the case, then you can pretty well ignore all I've said,
and
I apologise for being off the mark...)

 I added some ehco statments to test if the if statment is
working.
 In this pass /etc/dhcpd.name-servers.tmp = /etc/dhcpd.name-servers
 so the second echo should not have been executed, but it was

Have you run the script with xtrace turned on?  That at least will
show
you which lines of the script are being run.  It might help you
narrow
down on the part that goes wrong.  I really can't see anything wrong
with the logic or syntax of your script, so this part of it is
somewhat
baffling to me.

 From testing it looks like only the dhcpc variables plus mv,
 and echo commands work in the script.

 from the boot log
 dc0: link state changed to DOWN
 dc0: no link dc0: link state changed to UP
  got link
 dc0: link state changed to DOWN
  before if check
  after if check
 DHCPREQUEST on dc0 to 255.255.255.255 port 67
 dc0: link state changed to UP
 DHCPACK from 10.0.10.2
 dc0: link state changed to DOWN
 bound to 10.0.10.4 -- renewal in 43200 seconds.


 and here is the dhclient-exit-hooks script

 #!/bin/sh

 # PROVIDE: dhclient-exit-hooks
 # REQUIRE: SERVERS

 ###  Start of refresh dhcpd dns ip

 # This script will propagate to dhcpd the changed dns servers ip
 address
 # which dhcp-client puts in resolv.conf.
 #
 # In dhcpd.conf replace the option domain-name-servers line with
 this
 #
 #  include /etc/dhcpd.name-servers;
 #
 # Spript uses the dhcpc variables to build temp line in dhcpd
 format.
 # Then compare temp content to production content.
 # If different replace production content with new content from
 temp,
 # and restart dhcp to reread dhcpd.conf containing new ISP dns ip
 addresses.
 #
 # logging event and sending email to user root is optional.
 #
 # Note: All LAN machines using dhcpd will not get new ISP dns ip
 addresses
 # until they reboot or their lease comes up for renewal.
 #
 # Each of the following lines must be one long line. IE: no wrap
 arounds


 

 # load my_domain_name_servers variable with ISP dns ip addresses
 from dhcpc
 my_domain_name_servers=`echo $new_domain_name_servers | sed -e 's/
 /, /g'`

 # Create single line in file to be included in dhcpd.conf
 echo option domain-name-servers $my_domain_name_servers ; 
 /etc/dhcpd.name-servers.tmp

 echo  before if check

 # See if different from what production file contains
 cmp -s /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers
 if [ $? -gt 0 ]; then
 echo  after if check
   # move the new file into place
   mv /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers
   # restart dhcp using whatever is appropriate for your platform
   #service dhcpd restart
   

Semi-OT: responding to attempted breakins

2006-05-03 Thread Robert Huff

As a result of installing new bits on my system, and paying
attention to old ones, I've noticed several attempted break-ins
which I currently believe have been unsucessful.
As I have the appropriate log files, I'd like to contact the
administrators and ISPs for the systems involved.  Can someone
recommend a good response boilerplate - something that's concise,
informative, professional, friendly, and yet firm?


Robert Huff



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


Re: dd question

2006-05-03 Thread Andrew
On Wed, 2006-05-03 at 14:11 -0600, Chad Leigh -- Shire.Net LLC wrote:
 I have a Windows machine that also has some linux partitions.  lilo  
 is the main boot manager.  Can I used dd from my freebsd box to  
 completely copy the whole disk, partition tables and all, to another  
 disk?  The disk in the machine is starting to appear to be a little  
 flaky and I have another of the same mechanisms here and would like  
 to just basically clone the whole thing over.  I seldom use the  
 machine but when I do need it I need it (tax time, an old website  
 that uses a specific windows tool for updating, etc)
 
 Thanks
 Chad

I've done this several times, and it works reasonably well. Someone
recommended piping the output through netcat, which will work; however I
have another suggestion. If you think the disk will be ok, use dd to
zero-out the rest of the drive; i.e.

dd if=/dev/zero of=zeros;
rm zeros; 
dd if=/dev/ad0 of=- | gzip - - | nc $HOSTNAME $PORT;

I've always used FTP instead of netcat, but you should be just fine.
netcat may even be a bit faster, since you don't have the overhead of
the FTP protocol. 

On the receiving end, just do the reverse:

nc -l $PORT | gzip -d - - | dd if=- of=/dev/ad0;

You can play around with blocksize too; sometimes it will speed up the
process a little bit.

One of these days, I am going to write a tool to do just this sort of
thing, since it seems to be a fairly common practice.

-Andrew


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


Re: Semi-OT: responding to attempted breakins

2006-05-03 Thread Andrew
On Wed, 2006-05-03 at 17:43 -0400, Robert Huff wrote:
   As a result of installing new bits on my system, and paying
 attention to old ones, I've noticed several attempted break-ins
 which I currently believe have been unsucessful.
   As I have the appropriate log files, I'd like to contact the
 administrators and ISPs for the systems involved.  Can someone
 recommend a good response boilerplate - something that's concise,
 informative, professional, friendly, and yet firm?
 
 
   Robert Huff

I'm sorry I can't. I did, however, want to interject my two cents
here ;-). From a non-professional (i.e. student) viewpoint, it's been my
experience that if I take the time to write a polite email, which
includes relevant bits from my log files, to the admin for the IP in
question asking them to look into it, they will usually take care of it.

I suppose the appropriate response to this sort of situation depends on
what your hosting. I run a web-server and SSH gateway for personal use,
so although extremely annoying, it wouldn't be any big loss for me if it
was cracked. 

I suppose you could always blacklist the domain in question, and see how
long it takes for anyone to complain ;-).\

-Andrew

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


Re: dhclient-exit-hooks

2006-05-03 Thread Duane Whitty

fbsd wrote:

When this script runs the logger statements do not create any
message in the targeted log files.
IF I execute the same logger statements from the command
line they work as expected.

Hi,

Forgive my ignorance if it turns out I'm totally off track here
but do you need a line in /etc/syslog.conf such as:

!name-of-your-script
*.* /var/log/dhcpd.log
^^^
or whatever level of logging you want


I couldn't get named to log so to /etc/syslog.conf I added

!named
*.*/var/log/named.log

and manually created /var/log/named.log

to have messages of all levels logged.

Just a shot in the dark...

Best Regards,

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


rr232x on amd64: fail to start channel

2006-05-03 Thread Herbert Wolverson

Hello,

I'm trying to setup a PC with an rr2320 SATA RAID controller in it. It's
running on an Athlon 64, with FreeBSD cvsupped to RELENG_6 on amd64. On
startup, it sees the controller, but gives fail to start channel messages
for each channel that has a disk attached.


From dmesg | grep rr232x:


rr232x: RocketRAID 232x controller driver v1.02 (May  4 2006 06:15:08)
rr232x0: sx508x port 0xc000-0xc0ff mem 0xd100-0xd10f irq 11 at
device 4.0 on pci3
rr232x: adapter at PCI 3:4:0, IRQ 11
module_register_init: MOD_LOAD (amr_linux, 0x806204f0, 0) error 6
rr232x: start channel [0,0]
rr232x: start channel [0,1]
rr232x: start channel [0,2]
rr232x: start channel [0,3]
rr232x: fail to start channel [0,0]
rr232x: fail to start channel [0,1]
rr232x: fail to start channel [0,2]
rr232x: fail to start channel [0,3]
rr232x0: [GIANT-LOCKED]

Any ideas? A client of mine bought the hardware, and is insistent that we
try to use it. It works under Windows, so I'm pretty sure it's not a
hardware problem. I'd like to avoid having to run Windows on the server if
at all possible.

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


Re: Problem with Broadcomm NIC - not recognized

2006-05-03 Thread Kevin Kinsey

Paul Schmehl wrote:

Lowell Gilbert wrote:


Paul Schmehl [EMAIL PROTECTED] writes:


It's a dual boot machine.  Windows XP recognizes the NIC just fine,
but *not* with the default drivers that come with XP SP2.  I had to
install the drivers from Dell.

Maybe there's something different about this NIC?



Dell often does unexpectedly proprietary things like that, so it's
possible. 
I think you may need the bce(4) driver rther than bge(4), but that is

in the GENERIC kernel these days also.



Hmm...bce *isn't* in the GENERIC kernel for i386 6.0 RELEASE.  Is this a 
new driver?




Yes.  From bce(4):

HISTORY
 The bce device driver first appeared in FreeBSD 6.1.

KDK

--
LEVERAGE:
Even if someone doesn't care what the world thinks
about them, they always hope their mother doesn't find out.

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


Re: Semi-OT: responding to attempted breakins

2006-05-03 Thread Bigby Findrake

On Wed, 3 May 2006, Robert Huff wrote:



As a result of installing new bits on my system, and paying
attention to old ones, I've noticed several attempted break-ins
which I currently believe have been unsucessful.
As I have the appropriate log files, I'd like to contact the
administrators and ISPs for the systems involved.  Can someone
recommend a good response boilerplate - something that's concise,
informative, professional, friendly, and yet firm?


I've been pretty religious about responsible reporting for about 6 
months now, reporting all ssh (and recently FTP) attacks to the 
originating ISP.


If I may, allow me to infer from your desire to be firm that you would 
like to cause the behaviour stop, and to give you a piece of advice.  I 
believe that you will be very unhappy if you are reporting for that 
reason.  The attacks, probes, tests, attempts - all of them - aren't going 
to stop, except by filtering those packets out through one mechanism (a 
firewall) or another (disconnecting your 'net connection).  You will end 
up bailing water with a teaspoon.



/-/
He's the kind of guy, that, well, if you were ever in a jam he'd be
 there ... with two slices of bread and some chunky peanut butter.

   finger://[EMAIL PROTECTED]
  http://www.ephemeron.org/~bigby/
  irc://irc.ephemeron.org/#the_pub
news://news.ephemeron.org/alt.lemurs
/-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc doesn't work (was:(no subject))

2006-05-03 Thread [EMAIL PROTECTED]
The unames are:
FreeBSD  4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386
FreeBSD  4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
When I first encountered a problem with  gcc  in  4.3 , I copied the  
gcc  from  4.7  into  4.3  and tried it.  The program and  .h  file are 
attached, as is a file containing the first 4 lines of error messages (once the 
compiler discovers errors, you can't believe those after the first, they may be 
accurate, and maybe not).


buffer.h
Description: buffer.h


buffer.c
Description: buffer.c


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

Re: FreeBSD 6.0 and Mac File System

2006-05-03 Thread FreeBSD mailing list


On 29 apr 2006, at 15:28, Yousef Raffah wrote:


On Sat, 2006-04-29 at 09:11 -0400, John Cruz wrote:
I don't know about HFS, but you can format your mac drives with  
UFS when
you do a clean install of MacOS, at least then FreeBSD would be  
able to

read them.


You are right but this isn't my case here :(, I have an external HD
which has HFS(+) file system on it and I want to use it with my  
FreeBSD

6.1-RC1

Any chances?


Mac OSX can't be installed onto a UFS formatted drive as far as I know
Most OSX programs won't run on it either
you can format partitions or drives other than the system drive with  
UFS not only at the installtion





Yousef Raffah wrote:
What is the status of reading/writing to Mac's file system (HFS)  
or is

it HFS+?


it is HFS+ for Mac OS 8.1 and later


Are they supported in FreeBSD 6.0? How about 6.1-RC? Can we
write to that file system or only read at moment? Is it safe? I'm  
trying
to find something in the /usr/src/sys/i386/conf/NOTES file but  
nothing

is promising so far



http://people.freebsd.org/~yar/hfs/

add this to your kernelconfig file:
option  GEOM_APPLE  # Apple HFS+ support

I was able to compile it on FreeBSD 6.0-RELEASE-p6 but haven't had  
the time to check if it actually works.



google for iPod and FreeBSD for more info :)

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


Re: gcc doesn't work (was:(no subject))

2006-05-03 Thread Garrett Cooper

[EMAIL PROTECTED] wrote:


The unames are:
FreeBSD  4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386
FreeBSD  4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
When I first encountered a problem with  gcc  in  4.3 , I copied the  
gcc  from  4.7  into  4.3  and tried it.  The program and  .h  file are 
attached, as is a file containing the first 4 lines of error messages (once the 
compiler discovers errors, you can't believe those after the first, they may be 
accurate, and maybe not).
 




That is strange syntax for a struct declaration in an arguments list; 
usually it seems like just the identifier name is sufficient, and I 
think I see why gcc errored out and bailed.

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


Re: FreeBSD 6.0 and Mac File System

2006-05-03 Thread FreeBSD mailing list


On 04 mei 2006, at 01:51, Peter A. Giessel wrote:




On 5/3/2006 15:38, FreeBSD mailing list seems to have typed:
Mac OSX can't be installed onto a UFS formatted drive as far as I  
know

Most OSX programs won't run on it either


http://docs.info.apple.com/article.html?artnum=106692
*** QUOTE ***
Mac OS X can be installed on volumes of different formats. These disk
formats have different features and characteristics. If you also  
plan to

use Mac OS 9 or don't have a preference, you should choose Mac OS
Extended (HFS Plus) format instead of UNIX File System (UFS).
*** END QUOTE ***


ah ok, my bad :(

most apps don't like it though

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


RE: ipfirewall tricks

2006-05-03 Thread Murray Taylor

man ipa-conf is your friend .. mind you it is a large chunk..


here is the home page for IPA ... 
http://ipa-system.sourceforge.net/


it is capable ... and large ... 

also ipastat could be used to feed a web page maybe ?

HTH

Murray Taylor

Special Projects Engineer
Bytecraft Systems

P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
E: [EMAIL PROTECTED] 

--
Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction.
  Albert Einstein 
-- 

 -Original Message-
 From: Shawn Guillemette [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, 4 May 2006 1:49 AM
 To: Murray Taylor
 Subject: RE: ipfirewall tricks
 
 I am researching away to do this as well. 
 
   I went to the ipa port location and did the make 
 install and cleaned up the mess. The install completed with 
 out an issue and now Im a little stumped as to how to configure it.
 
 
 
 I am also looking for an application that will monitor the 
 traffic and plot data to a web interface for the wife to have 
 a look at. Similar to ntop. 
 
 
 I'm currently running 4.11 on an alpha platform. 
 
 
 Thanks for your thoughts,
 Shawn 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Murray Taylor
 Sent: Tuesday, May 02, 2006 8:34 PM
 To: Bryan Curl; freebsd-questions
 Subject: RE: ipfirewall tricks
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Bryan Curl
  Sent: Wednesday, 3 May 2006 9:35 AM
  To: freebsd-questions
  Subject: ipfirewall tricks
  
  I want to limit time my kids spend on the internet.
  The way I am doing it is to make varying, seperate ipf.rules 
  files and install them from cron at the appropriate time.
  Problem is, if I make a change to one file, I generally have 
  to update all the others accordingly.
  
  Is there a better way? I have read man ipf but didnt come out 
  with any ideas.
  
  
  --
  --
  Bryan
  bc3910 'at' gmail 'dot' com
 
 try ipa from ports...
 
 it is an 'accounting' packege that monitors the firewall,
 and can activate/deactivate rules based on usage, time-of-day etc 
 (if I remember correctly)
 
 Murray Taylor
 
 Special Projects Engineer
 Bytecraft Systems
 
 P: +61 3 8710 2555
 F: +61 3 8710 2599
 D: +61 3 9238 4275
 E: [EMAIL PROTECTED] 
 
 --
 Any intelligent fool can make things bigger and more complex... It
 takes a
 touch of genius - and a lot of courage to move in the opposite
 direction.
   Albert Einstein 
 -- 
 ---
 The information transmitted in this e-mail is for the exclusive
 use of the intended addressee and may contain confidential
 and/or privileged material. Any review, re-transmission,
 dissemination or other use of it, or the taking of any action
 in reliance upon this information by persons and/or entities
 other than the intended recipient is prohibited. If you
 received this in error, please inform the sender and/or
 addressee immediately and delete the material. 
 
 E-mails may not be secure, may contain computer viruses and
 may be corrupted in transmission. Please carefully check this
 e-mail (and any attachment) accordingly. No warranties are
 given and no liability is accepted for any loss or damage
 caused by such matters.
 ---
 
 ***This Email has been scanned for Viruses by MailMarshal.***
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 ***This Email has been scanned for Viruses by MailMarshal.***
 
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Pure-FTPD error message upon startup

2006-05-03 Thread Gerard Seibert
Running FSBD 5.1-RC1, I tried to install 'pure-ftpd'. The install went
fine, but upon startup, it displays this warning message:


Starting pureftpd.
Running: /usr/local/sbin/pure-ftpd -b -c50 -B -C8 -d -D -fftp -I15
-lunix -L2000 :8 -m4 -s -U133:022 -u100 -i -Ow3c:/var/log/pureftpd.log
-k99 -Z -Y0 May  3 19:12:55 seibercom pure-ftpd: ([EMAIL PROTECTED]) [ERROR] 
Unable to
find the 'ftp' account

I have tried removing and reinstalling the program, but it still
displays the same error message.

The program does run however, and seems to be working correctly. I had
it installed on FSBD 5.4 without incident previously.

I do not seem to have an 'ftp' user. Should I create one? Is that the
account it is referring to?

Thanks!

-- 
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: Getting DHCP to use resolv.conf? AN ANSWER

2006-05-03 Thread Murray Taylor
 -Original Message-
 From: fbsd [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, 3 May 2006 10:36 PM
 To: Murray Taylor
 Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Lowell 
  Gilbert
  Sent: Friday, 28 April 2006 11:09 PM
  To: [EMAIL PROTECTED]
  Cc: freebsd-questions@freebsd.org
  Subject: Re: Getting DHCP to use resolv.conf?
 
  fbsd [EMAIL PROTECTED] writes:
 
   Does anyone have a script that does this, that they can share?
 
  It will be pretty similar to the script I posted recently 
 for updating 
  your local named's forwarders list automatically.
  [Which is another approach to the same problem, and will generally 
  perform better.]
 
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Behalf Of Bill
 Moran
   Sent: Wednesday, April 26, 2006 5:06 PM
   To: Telting
   Cc: freebsd-questions@freebsd.org
   Subject: Re: Getting DHCP to use resolv.conf?
  
  
   On Wed, 26 Apr 2006 13:56:57 -0700
   Telting [EMAIL PROTECTED] wrote:
  
I would like to know how I can propagate the dns servers which
 the
   dhcp
client puts in resolv.conf to dhcpd.  I only see how I can
 only
explicitly list a domain server with option
 domain-name-servers.
   How
do I propogate non static dns servers?
  
   Write a script to updated the dhcpd.conf file when resolv.conf 
   changes.  dhclient allows you to create hooks that
  automagically run a
   script of your choosing when a new lease is obtained.
  
   Or you could search the list archives for when this exact
  question was
   asked a few weeks ago.
  
   --
   Bill Moran
   Collaborative Fusion Inc.
 
 
 
 man dhclient-script
 
 and my enter and exit scripts below from my home boxen
 
 
 NB I use ddclient from ports to update dns stuff at dyndns.org and
 the
 example.com should be replaced with your domain name in the
 enter-hooks
 script.
 
 These are not totally automatic in what they do, as I prefer to
 'see and
 know' certain changes from my ISP so that is the reason for the
 email
 setup
 
 Murray Taylor
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Murray Taylor
 Sent: Sunday, April 30, 2006 7:56 PM
 To: Lowell Gilbert
 Cc: freebsd-questions@freebsd.org
 Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER
 
 
 Murray.
 
 Using your scripts as a example I coded the following script.
 I can not get the notification logger and email to function.
 I am running postfix launched by the sendmail wrappers on a 
 FreeBSD 6.0 system.
 I am also using the built in dhclient that comes with the 
 base install.
 Could you post the isc_dhclient-script so I can compare it to 
 the one that comes with the base install for differences that 
 may cause this behavior?
 Any other help would be appreciated.
 
 
 When this script runs the logger statements do not create any 
 message in the targeted log files.
 IF I execute the same logger statements from the command line 
 they work as expected.
 This is the boot time messages with mail code commented out.
 
 dc0: link state changed to DOWN
 dc0: no link dc0: link state changed to UP  got link
 dc0: link state changed to DOWN
 DHCPREQUEST on dc0 to 255.255.255.255 port 67
 dc0: link state changed to UP
 DHCPACK from 10.0.10.2
 dc0: link state changed to DOWN
 bound to 10.0.10.4 -- renewal in 43200 seconds.
 
 
 IF I execute the cat command to issue the notification email 
 from the command line it works fine, but when used in the 
 script I get these messages during boot process.
 
 ~/.mailrc: No match.
 DHCPREQUEST on dc0 to 255.255.255.255 port 67
 /libexec/ld-elf.so.1: Shared object libpcre.so.0 not found, 
 required by send-mail
 dc0: link state changed to UP
 DHCPREQUEST on dc0 to 255.255.255.255 port 67 DHCPACK from 10.0.10.2
 dc0: link state changed to DOWN
 bound to 10.0.10.4 -- renewal in 43200 seconds.
 
 
 
 
 #!/bin/sh
 
 #  Start of refresh dhcpd dns ip script 
 # # This script will propagate to dhcpd the 
 changed dns servers ip # address which dhcp-client puts in 
 resolv.conf.
 #
 # In dhcpd.conf replace the option domain-name-servers line 
 with this # #  include /etc/dhcpd.name-servers; # # Script 
 uses the dhcpc variables to build temp line in dhcpd format.
 # Then compare temp content to production content.
 # If different replace production content with new content 
 from temp # and restart dhcp to reread dhcpd.conf containing 
 new ISP dns ip addresses.
 #
 # logging event and sending email to user root is optional.
 #
 # Note: All LAN machines using dhcpd will not get new ISP dns 
 ip # addresses until they reboot or their lease comes up for renewal.
 #
 # Each of the following lines must be one long line. IE: no 
 wrap around 
 
 
 # load my_domain_name_servers variable with ISP dns ip 
 

Re: Pure-FTPD error message upon startup

2006-05-03 Thread albi
Gerard Seibert wrote:

 I do not seem to have an 'ftp' user. Should I create one? Is that the
 account it is referring to?

this is what i have for my vsftpd-setup :

ftp:*:14:5::0:0:Anonymous FTP Admin:/home/ftp:/bin/sh

(i think the ftp-home defaults to /var/ftp but i prefer this,
btw, i don't like the fact that pureftpd doesn't let your upload
directories by default, which vsftpd does)

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >