RE: freebsd-questions Digest, Vol 146, Issue 21

2006-08-14 Thread Christopher Martin
Firewall settings?

You need to give more detail.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of rithy4u- CEO
 Sent: Monday, 14 August 2006 1:14 PM
 To: freebsd-questions@freebsd.org
 Subject: Re: freebsd-questions Digest, Vol 146, Issue 21
 Importance: High
 
 
 I have one DNS Server running Bind. I always got permission 
 denied on my 
 server screen why? 
 
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 
 ___
 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]


CUPS - Does not function anymore

2006-08-14 Thread Sean M.
The story so far:
I had cups-1.2.2 and couldn't get KDE to use it with my HP PSC 1400 and
hplip. I read somewhere that KDE was only reliable with cups 1.1, so I
downgraded CUPS to the last version before it was switched to 1.2.0.
That ended up breaking hpiod; so much for that. I had no choice but to
upgraded cups back to 1.2.2. I also replaced
/usr/local/lib/kde3/cupsdconf.so with a symlink to
/usr/local/lib/libkdeinit_cupsdconf.so

Now? Pretty much everything to do with printing is broken. If I go to
localhost:631, I get the CUPS welcome screen, but all the links load
for a long time then just stop. I used to at least print with LPD, now
that's gone:

A print error occurred. Error message received from system:

/usr/local/bin/lpr -P 'PSC_1400' '-#1' '/tmp/kde-sgm/kdeprint_zivvNqlK'
: execution failed with message:
/usr/local/bin/lpr: Unsupported format 'application/postscript'! 

I could also print with CUPS out of non-KDE apps like Firefox. Now they
just do nothing.

The printer is connected fine, because I can get its status and scan
with it from hp-setup. It pretty much looks like CUPS is screwed up,
and I can't figure out how to fix it. Could someone please help?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Building an OpenOffice Package Problem

2006-08-14 Thread Yousef Raffah
Hi,

I'm trying to build a OpenOffice.org package for -CURRENT but it is
failing saying:

configure: error: JDK is too old, you need at least 1.3

This is a bit strange to me as I assure you I have
diablo-jdk-1.5.0.07.00 Java Development Kit 1.5.0_07.00 installed on
that machine.

Should I remove this diablo-jdk and install SUN's JDK? Is this how it
should be?


signature.asc
Description: This is a digitally signed message part


Re: Performance issue amd64

2006-08-14 Thread O. Hartmann

Dinesh Nair wrote:



On 08/10/06 15:24 O. Hartmann said the following:
than a 100 minutes, Firefox and/or Thunderbird opens much slower than 
before and much slower as compared to the i386 box(!).


i'd suspect the harddisk. are you building world with pipes, for this 
would store the intermediae files during compilation on disk, making the 
build slightly more disk bound.





Thanks for your reply.
I think I see an option '-pipe' when building kernel and world - it's 
the standard I guess.


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


Re: quick way fall back to the original kernel

2006-08-14 Thread dick hoogendijk
On 13 Aug Atom Powers wrote:
 And, although I've never tried it, you sholud be able to `cp
 /boot/kernel.old /boot/kernel` to restore the previous kernel.

I did. A few times. I just renamed the directories to kernel and
whatevername ;-) Works like a charm..

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cinelerra for *BSD ??? or something similar in Ports?

2006-08-14 Thread backyard
Just wondering if anyone has ever heard of a port of
cinelerra to FreeBSD. 

Or if anyone knows of any comperable video editting
software for FreeBSD available in Ports.


-brian


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


Cacti FreeBSD Jail CPU RAM monitoring

2006-08-14 Thread Philippe Lang
Hi,

I'd like to use Cacti for CPU and RAM usage monitoring on my FreeBSD Server.

Is there a way to do monitoring for each jail independently? I guess the answer 
is no for CPU usage, but is there a way maybe to get the RAM usage of the 
processes of each jail?

Thanks,

---
Philippe Lang
Attik System



smime.p7s
Description: S/MIME cryptographic signature


Re: Wine and FreeBSD how to

2006-08-14 Thread Jim Stapleton

On 7/31/06, Jim Stapleton [EMAIL PROTECTED] wrote:

On 7/31/06, Joshua Lewis [EMAIL PROTECTED] wrote:

I installed wine on my 6.1 system but I don't see a config file
anywhere on the system. Has anyone installed and used Wine
successfully that could point me towards an easy FreeBSD how to? Or
something similar. I told my 7 year old I would load a game for him
and wanted to look for an easy how too.
Sincerely,
Joshua Lewis
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



There is a configuration utility I used, can't remeber the name, but
the name should be obvious using this - it'll create the base wine
directory and such like that:
$ ls /usr/local/bin | grep wine




Sorry, I know it's a bit late, but I remember the tool now: wineprefixcreate

makes a nice wine directory to wherever you have your WINEPREVIX
variable set, and it works quite nicely.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reinstalling Sendmail?

2006-08-14 Thread Frank Staals

Andreas Widerøe Andersen wrote:
On 8/10/06, *Frank Staals* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


You can recompile sendmail, you'll have to have the kernel sources
installed though:

# cd /usr/src/lib/libsm; make clean; make obj; make depend; make
# cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make
# cd /usr/src/usr.sbin/sendmail; make clean; make obj; make
depend; make; make install

you might want to read Jonathan Horne's page about configuring
sendmail ( among other services ) :

http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_Server#Configuring_Mail_Services


Thanks!
Nice tutorial.

I have dowloaded all sources from cvs to my system. Should I delete 
some old sources/working dirs/etc from when I've installed software 
before or from when I built world and kernel?


I guess they're under /usr/src somewhere.

Just worried about some old files with wrong config that might screw 
this up.


Thanks,
Andreas
The only things comming to mind are cleaning /usr/src/obj and ( at least 
that is what I did ) backupping your HOSTNAME.* files in /etc/mail. 
Then I removed the HOSTNAME.* files and when I recompiled sendmail 
made new configs ( run 'make all' in /etc/mail ). You can copy 
particular settings from your old HOSTNAME.mc file. This way you have 
a clean start :)


Good luck,

--
-Frank Staals


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


How to remotely check an Adaptec 2100S RAID array status under FreeBSD 5.2.1?

2006-08-14 Thread Olaf Greve

Hi all,

I hope someone can answer the following question for me (which may be 
trivial).


In my fall-back server I use an Adaptec 2100S SCSI RAID controller, with 
two (identical) drives attached to it. This morning I recieved the 
dreaded phonecall (from the server farm) that that machine is emitting a 
loud beep,which I remember to be the RAID controller's alarm in case a 
drive has failed.


Now, the above is clear and all, and I will replace the broken drive 
asap, so no question there.


However, I am about to go on a 3 week holiday to South America, and as 
I'll then be on an entirely different continent, I was wondering if 
there are any ways to remotely check the status of hardware RAID arrays. :D


In this case I tried dmesg (and checking the /var/log/messages file) and 
I couldn't find a single error message from the RAID controller (which 
can be deemed 'desirable' behaviour, as one of the two drives still 
works fine).


Are there any software tools for FreeBSD that can be used to check this 
remotely from an SSH terminal (no X), or better yet, is there support in 
FreeBSD itself for checking the status of hardware RAID arrays?


Tnx in advance, and cheers!
Olafo

PS: I am wondering about the same question for the 3ware 9600 SATA RAID 
controller too. It would be great to be able to monitor that remotely as 
well.

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


acroread fails to start

2006-08-14 Thread Yousef Raffah
I'm trying to install acroread, after I updated to -CURRENT, but it
keeps on failing when I start it as per the following:

$ acroread

(acroread:8478): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed

(acroread:8478): Pango-CRITICAL **: _pango_engine_shape_shape: assertion
`PANGO_IS_FONT (font)' failed

Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed:
(glyphs-num_glyphs  0)
aborting...

I have tried to completely delete it and reinstall it from ports but
that never fixed it!

Any recommendations?


signature.asc
Description: This is a digitally signed message part


Re: Cinelerra for *BSD ??? or something similar in Ports?

2006-08-14 Thread Andrew Pantyukhin

On 8/14/06, backyard [EMAIL PROTECTED] wrote:

Just wondering if anyone has ever heard of a port of
cinelerra to FreeBSD.


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


Re: Cinelerra for *BSD ??? or something similar in Ports?

2006-08-14 Thread backyard


--- Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On 8/14/06, backyard [EMAIL PROTECTED]
 wrote:
  Just wondering if anyone has ever heard of a port
 of
  cinelerra to FreeBSD.
 
 Not until we port alsa.
 

ok, well then if I got through the trouble of setting
up my gentoo base install with all the dependancies
for Cinelerra, I should be able to build it and run it
in emulated mode right??? Theorized speculation is a
good enough answer for me right now.

Or will ALSA still not compile in the Native emulated
mode under a chroot to /compat/linux environment?

time to mess with portage I guess... 

-brian




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


BSDstats v3.0 - The Security Rewrite

2006-08-14 Thread Marc G. Fournier


Over the past few days, I've been working with Paul Schmehl and Matthew 
Seaman to come up with a more security sensitive version of BSDstats ... 
one that reduces the amount of sensitive information stored in the 
database down to ... zero.  No IPs, no hostnames ...


This new version also reduces the number of 'network fetches' down to 4 
for the first run, and 3 for subsequent runs, so it runs a bit faster, and 
talks across the network less.


And, finally, this one has its own domain for check in server ...

None of the pre-v3.x clients can talk to the v3.x server, since the DB 
format has totally changed, so everyone needs to grab the latest version 
and run it so that we can re-sync the database properly ...



From now forward, the stats will be viewable from:


 http://www.bsdstats.org


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


Re: Cinelerra for *BSD ??? or something similar in Ports?

2006-08-14 Thread Andrew Pantyukhin

On 8/14/06, backyard [EMAIL PROTECTED] wrote:



--- Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On 8/14/06, backyard [EMAIL PROTECTED]
 wrote:
  Just wondering if anyone has ever heard of a port
 of
  cinelerra to FreeBSD.

 Not until we port alsa.

Or will ALSA still not compile in the Native emulated
mode under a chroot to /compat/linux environment?


It might, but it won't work for sure.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick way fall back to the original kernel

2006-08-14 Thread Giorgos Keramidas
On 2006-08-14 11:20, dick hoogendijk [EMAIL PROTECTED] wrote:
 On 13 Aug Atom Powers wrote:
  And, although I've never tried it, you sholud be able to `cp
  /boot/kernel.old /boot/kernel` to restore the previous kernel.
 
 I did. A few times. I just renamed the directories to kernel and
 whatevername ;-) Works like a charm..

Right.

I usually wait a few days to make sure there are no funny problems with
the CURRENT kernel I'm using, and then run:

# cd /boot
# rm -fr kernel.safe
# cp -Rp kernel kernel.safe

This way, I have /boot/kernel, /boot/kernel.old and /boot/kernel.safe.

By keeping kernel.safe out of the (kernel, kernel.old) way, I'm sure
that I won't accidentally lose my 'safe' kernels because I run make
installkernel at the wrong time.

HTH,
Giorgos

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


Re: BSDstats Project v2.0 ...

2006-08-14 Thread Igor Robul

Hello,

On Sat, Aug 12, 2006 at 11:55:14PM -0300, Marc G. Fournier wrote:
 
 Since this is meant to provide stats for *BSD, not just FreeBSD, I've 
 setup bsdstats.org as a more 'neutral' site ...
Maybe you need to move data from bsdstats.hub.org to bsdstats.org?
Because now there is bsdstats.hub.org with 1764 reported systems and
there is a bsdstats.org with 22 reported systems. So question ... which
one is correct? And will v2.x scripts report to correct one next month?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-14 Thread Marc G. Fournier

On Mon, 14 Aug 2006, Igor Robul wrote:



Hello,

On Sat, Aug 12, 2006 at 11:55:14PM -0300, Marc G. Fournier wrote:


Since this is meant to provide stats for *BSD, not just FreeBSD, I've
setup bsdstats.org as a more 'neutral' site ...

Maybe you need to move data from bsdstats.hub.org to bsdstats.org?
Because now there is bsdstats.hub.org with 1764 reported systems and
there is a bsdstats.org with 22 reported systems. So question ... which
one is correct? And will v2.x scripts report to correct one next month?


As I just posted in another thread ... :)  pre-v3.x scripts will not work 
with the new DB backend ... we've changed alot to a) eliminate storing any 
sensitive information and b) reduce the # of fetches that have to happen 
to do the reporting ...


I've just put a redirect in from bsdstats.hub.org - bsdstats.org, so that 
ppl aren't confused from that perspective ...



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


Re: Cinelerra for *BSD ??? or something similar in Ports?

2006-08-14 Thread backyard


--- Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On 8/14/06, backyard [EMAIL PROTECTED]
 wrote:
 
 
  --- Andrew Pantyukhin [EMAIL PROTECTED]
 wrote:
 
   On 8/14/06, backyard
 [EMAIL PROTECTED]
   wrote:
Just wondering if anyone has ever heard of a
 port
   of
cinelerra to FreeBSD.
  
   Not until we port alsa.
 
  Or will ALSA still not compile in the Native
 emulated
  mode under a chroot to /compat/linux environment?
 
 It might, but it won't work for sure.


well thats unfortunate. Any similar existing ports at
our disposal?

-brian

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


ssh client can't connect 6.1 new install

2006-08-14 Thread ke han

Dear list,
I cannot connect from my OS X ssh client to a newly installed FreeBSD  
6.1 server.

It is odd that:
1 - I can connect to other freeBSD 6.1 servers from this OS X client
2 - I can connect to other Linux servers from this OS X client.
	3 - The server to which I cannot connect _can_ be connected to using  
PuTTY on Windows XP (running on Parallels VM on top the same OSX  
system!!!...meaning the ip and networking from the client are the  
same.).


I am using default password based authentication.  My OS X is at the  
latest upgrades from Apple.
A sample of trying to connect is as follows (personal identifiers  
changed):


 ssh -v [EMAIL PROTECTED]
OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to dev.mydomain.com [209.216.x.y] port 22.
debug1: Connection established.
debug1: identity file /Users/myuser/.ssh/identity type -1
debug1: identity file /Users/myuser/.ssh/id_rsa type -1
debug1: identity file /Users/myuser/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version  
OpenSSH_4.2p1 FreeBSD-20050903

debug1: match: OpenSSH_4.2p1 FreeBSD-20050903 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug1: Miscellaneous failure
No credentials cache found

debug1: Miscellaneous failure
No credentials cache found

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'dev.mydomain.com' is known and matches the DSA host key.
debug1: Found key in /Users/myuser/.ssh/known_hosts:2
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
Read from socket failed: Connection reset by peer

The only things changed in the server's default /etc/ssh/sshd_config  
are enabling root login and turning off dns lookups.  Both of these  
changes were rolled back to see if they caused the trouble.  This had  
no effect.
The connection gets closed (by the server it appears) every time.   
My /var/log/auth.log file does not log anything for this failure.   
Where else should I look??


thanks, ke han

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


Re: BSDstats v3.0 - The Security Rewrite

2006-08-14 Thread Paul Schmehl

Marc G. Fournier wrote:


Over the past few days, I've been working with Paul Schmehl and Matthew 
Seaman to come up with a more security sensitive version of BSDstats 
... one that reduces the amount of sensitive information stored in the 
database down to ... zero.  No IPs, no hostnames ...


This new version also reduces the number of 'network fetches' down to 4 
for the first run, and 3 for subsequent runs, so it runs a bit faster, 
and talks across the network less.


And, finally, this one has its own domain for check in server ...

None of the pre-v3.x clients can talk to the v3.x server, since the DB 
format has totally changed, so everyone needs to grab the latest version 
and run it so that we can re-sync the database properly ...



From now forward, the stats will be viewable from:


 http://www.bsdstats.org


Marc, thanks for all your hard work on these issues.

One small change needs to be made.  The pkg-message file reads, at its end:
o view current statistics, go to:
http://bsdstats.hub.org

That needs to be changed to http://www.bsdstst.org/

This patch will fix it.

--- pkg-message.origMon Aug 14 10:02:29 2006
+++ pkg-message Mon Aug 14 10:02:51 2006
@@ -10,6 +10,6 @@
/usr/local/etc/periodic/monthly/300.statistics

 To view current statistics, go to:
-http://bsdstats.hub.org
+http://www.bsdstats.org
 



--
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: How to remotely check an Adaptec 2100S RAID array status under FreeBSD 5.2.1?

2006-08-14 Thread Chad Leigh -- Shire.Net LLC
There is an adaptec raiodctl package (I think that is the name).   I  
recently retired my last 2100s so I no longer can go check it.   
However, there is a freebsd program that can be used to report on and  
manage your raid on a 2100s.  Google frebsd and adaptec 2100s


Besides being able to run it at will, I also had a cron job that  
would run it periodically and email me the results.  (I also do that  
with my amr devices and my aac devices with the appropriate raid  
management programs).



Chad

On Aug 14, 2006, at 5:57 AM, Olaf Greve wrote:


Hi all,

I hope someone can answer the following question for me (which may  
be trivial).


In my fall-back server I use an Adaptec 2100S SCSI RAID controller,  
with two (identical) drives attached to it. This morning I recieved  
the dreaded phonecall (from the server farm) that that machine is  
emitting a loud beep,which I remember to be the RAID controller's  
alarm in case a drive has failed.


Now, the above is clear and all, and I will replace the broken  
drive asap, so no question there.


However, I am about to go on a 3 week holiday to South America, and  
as I'll then be on an entirely different continent, I was wondering  
if there are any ways to remotely check the status of hardware RAID  
arrays. :D


In this case I tried dmesg (and checking the /var/log/messages  
file) and I couldn't find a single error message from the RAID  
controller (which can be deemed 'desirable' behaviour, as one of  
the two drives still works fine).


Are there any software tools for FreeBSD that can be used to check  
this remotely from an SSH terminal (no X), or better yet, is there  
support in FreeBSD itself for checking the status of hardware RAID  
arrays?


Tnx in advance, and cheers!
Olafo

PS: I am wondering about the same question for the 3ware 9600 SATA  
RAID controller too. It would be great to be able to monitor that  
remotely as well.

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


---
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: OT: new documents notification and approval

2006-08-14 Thread Norbert Papke
On Saturday 12 August 2006 10:11, Andrea Venturoli wrote:
 Giorgos Keramidas wrote:
  Just get a full document management system,

 Like what? Any name?

I have had good success with KnowledgeTree.  Have a look at the document 
workflow.

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


Re: quick way fall back to the original kernel

2006-08-14 Thread gahn
Thanks for ur advice.

actually i did that; rename the current kernel and
name the kernel.old to kernel, which worked. but i
am looking for a command that could do that.

the reason is that i am trying to keep my kernel up to
date, but my understanding is that it could be done
only with the original kernel, right? or i am
mistaken...

as to kernel.safe, there is no this directory by
default (even boot manual has option for kernel safe).
i am wondering where the kernel.safe is...

but i do keep a copy of the orginal kernel in case i
loss track of kernel version...


--- Giorgos Keramidas [EMAIL PROTECTED]
wrote:

 On 2006-08-14 11:20, dick hoogendijk
 [EMAIL PROTECTED] wrote:
  On 13 Aug Atom Powers wrote:
   And, although I've never tried it, you sholud be
 able to `cp
   /boot/kernel.old /boot/kernel` to restore the
 previous kernel.
  
  I did. A few times. I just renamed the directories
 to kernel and
  whatevername ;-) Works like a charm..
 
 Right.
 
 I usually wait a few days to make sure there are no
 funny problems with
 the CURRENT kernel I'm using, and then run:
 
 # cd /boot
 # rm -fr kernel.safe
 # cp -Rp kernel kernel.safe
 
 This way, I have /boot/kernel, /boot/kernel.old and
 /boot/kernel.safe.
 
 By keeping kernel.safe out of the (kernel,
 kernel.old) way, I'm sure
 that I won't accidentally lose my 'safe' kernels
 because I run make
 installkernel at the wrong time.
 
 HTH,
 Giorgos
 
 ___
 freebsd-questions@freebsd.org mailing list

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cacti FreeBSD Jail CPU RAM monitoring

2006-08-14 Thread pete wright

On 8/14/06, Philippe Lang [EMAIL PROTECTED] wrote:

Hi,

I'd like to use Cacti for CPU and RAM usage monitoring on my FreeBSD Server.

Is there a way to do monitoring for each jail independently? I guess the answer is 
no for CPU usage, but is there a way maybe to get the RAM usage of the 
processes of each jail?




using cacti's scripting ability you actually may be able to get some
sort of usefull info.  for example, you can use ps auxwl to get some
pretty detailed info on process which are in jails (third filed is
%CPU, fourth %MEM).  it may take a little work to sort out which jail
a process resides in - .  this method will only work from the master
as well.  similar tricks can be used inside a jail as well.

HTH

-pete


--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: quick way fall back to the original kernel

2006-08-14 Thread Daniel Gerzo
Hello gahn,

Monday, August 14, 2006, 6:07:08 PM, you wrote:

 Thanks for ur advice.

 actually i did that; rename the current kernel and
 name the kernel.old to kernel, which worked. but i
 am looking for a command that could do that.

you actually don't have to rename your kernels when you want to boot
different one to /boot/kernel. All you need is to set some variables
in /boot/loader.conf. See the approporiate manual page loader.conf(5)
and /boot/defaults/loader.conf. As a hint check the kernel and
bootfile variables. Or there is also utility called nextboot(8).

 the reason is that i am trying to keep my kernel up to
 date, but my understanding is that it could be done
 only with the original kernel, right? or i am
 mistaken...

 as to kernel.safe, there is no this directory by
 default (even boot manual has option for kernel safe).
 i am wondering where the kernel.safe is...

kernel.safe does not exist by default. Giorgos's kernel.safe directory
is only a copy of kernel which simply works for him and he is
certainly sure it does. Of course, you can keep as much kernels as you
want in your /boot directory (well, depends on how much of the free
space you have on root partition :-)) and you can name them let's say
kernel-06-03-20 and so on.

Please, also the corresponding chapter in our great Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

and also this document can be good source for you:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html

 but i do keep a copy of the orginal kernel in case i
 loss track of kernel version...

Once you run make installkernel, the previous version of your kernel
is copied into the kernel.old directory.

 --- Giorgos Keramidas [EMAIL PROTECTED]
 wrote:

 On 2006-08-14 11:20, dick hoogendijk
 [EMAIL PROTECTED] wrote:
  On 13 Aug Atom Powers wrote:
   And, although I've never tried it, you sholud be
 able to `cp
   /boot/kernel.old /boot/kernel` to restore the
 previous kernel.
  
  I did. A few times. I just renamed the directories
 to kernel and
  whatevername ;-) Works like a charm..
 
 Right.
 
 I usually wait a few days to make sure there are no
 funny problems with
 the CURRENT kernel I'm using, and then run:
 
 # cd /boot
 # rm -fr kernel.safe
 # cp -Rp kernel kernel.safe
 
 This way, I have /boot/kernel, /boot/kernel.old and
 /boot/kernel.safe.
 
 By keeping kernel.safe out of the (kernel,
 kernel.old) way, I'm sure
 that I won't accidentally lose my 'safe' kernels
 because I run make
 installkernel at the wrong time.
 
 HTH,
 Giorgos

-- 
Best regards,
 Danielmailto:[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: Cacti FreeBSD Jail CPU RAM monitoring

2006-08-14 Thread Chad Leigh -- Shire.Net LLC


On Aug 14, 2006, at 10:28 AM, pete wright wrote:


On 8/14/06, Philippe Lang [EMAIL PROTECTED] wrote:

Hi,

I'd like to use Cacti for CPU and RAM usage monitoring on my  
FreeBSD Server.


Is there a way to do monitoring for each jail independently? I  
guess the answer is no for CPU usage, but is there a way maybe  
to get the RAM usage of the processes of each jail?





using cacti's scripting ability you actually may be able to get some
sort of usefull info.  for example, you can use ps auxwl to get some
pretty detailed info on process which are in jails (third filed is
%CPU, fourth %MEM).  it may take a little work to sort out which jail
a process resides in - .  this method will only work from the master
as well.  similar tricks can be used inside a jail as well.


Remember you can do things like

% jexec NUM /bin/ps

from the master to do a ps command inside jail NUM

you can get the jail number from the % jls command inside the  
master.


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: OT: new documents notification and approval

2006-08-14 Thread David King

Just get a full document management system,

Like what? Any name?


Disclaimer: I work for this company.

Xythos Software makes a document management system that supports  
notifications when a document is read, written, moved, deleted, etc,  
in addition to other more complicated workflow features.


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


6.1-Stable + named ndis + nfsd == System crash ?

2006-08-14 Thread Frank Staals
About a week ago I rebuilded world and updated from 5.4-STABLE to 
6.1-STABLE and I'm using a Netgear WG311v3 with ndiswrapper as WLAN 
card. My computer acts as a gateway for my LAN and WLAN. Saturdaynight I 
found out my server crashed while copying data from my server to my 
laptop through WLAN ( using ndis0 ), when I looked in the logfiles I 
couldn't find anything strange ( or at leat at the places I looked ) and 
decided to let it be. But today I had the same problem; I have a couple 
directories mounted using NFS ( Server: the 6.1-STABLE computer ; host : 
My laptop ), when I tried to copy data from one of those directies to my 
local drive suddenly my server crash again. The only strange thing I 
found were these messages in /var/log/messages from the time my server 
crashed:


Aug 14 15:52:22 FStaals named[541]: could not listen on UDP socket: 
permission denied
Aug 14 15:52:22 FStaals named[541]: creating IPv4 interface ndis0 
failed; interface ignored
Aug 14 16:52:22 FStaals named[541]: could not listen on UDP socket: 
permission denied
Aug 14 16:52:22 FStaals named[541]: creating IPv4 interface ndis0 
failed; interface ignored
Aug 14 17:52:22 FStaals named[541]: could not listen on UDP socket: 
permission denied
Aug 14 17:52:22 FStaals named[541]: creating IPv4 interface ndis0 
failed; interface ignored


I'm not sure if it has anything to do with my system crash. Or what else 
I should look at to find out what is causing my system to crash ? I 
looked in /var/log/messages and my dmesg, but nothing realy weird turns 
up. How can I find out what went wrong and fix it ? Also what's up with 
my named ? I don't notice anything wrong with trafficing etc on my wlan.


Regards,

--
-Frank Staals


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


Re: BSDstats v3.0 - The Security Rewrite

2006-08-14 Thread John Nielsen
On Monday 14 August 2006 09:19, Marc G. Fournier wrote:
 Over the past few days, I've been working with Paul Schmehl and Matthew
 Seaman to come up with a more security sensitive version of BSDstats ...
 one that reduces the amount of sensitive information stored in the
 database down to ... zero.  No IPs, no hostnames ...

 This new version also reduces the number of 'network fetches' down to 4
 for the first run, and 3 for subsequent runs, so it runs a bit faster, and
 talks across the network less.

 And, finally, this one has its own domain for check in server ...

 None of the pre-v3.x clients can talk to the v3.x server, since the DB
 format has totally changed, so everyone needs to grab the latest version
 and run it so that we can re-sync the database properly ...

 From now forward, the stats will be viewable from:

   http://www.bsdstats.org

This is great!

Is the 15-minute first-time waiting period enforced on the server side? 
Obviously there's nothing to stop an administrator from editing the script 
locally..

Thanks again for all your efforts.

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


Re: Cacti FreeBSD Jail CPU RAM monitoring

2006-08-14 Thread Oliver Fromme
Philippe Lang [EMAIL PROTECTED] wrote:
  I'd like to use Cacti for CPU and RAM usage monitoring on my FreeBSD
  Server.
 
  Is there a way to do monitoring for each jail independently? I guess
  the answer is no for CPU usage, but is there a way maybe to get the
  RAM usage of the processes of each jail?

You can monitor the numbers from the ps(1) output per jail,
see the other answers in this thread.

However, you should be aware of the fact that processes
share memory, even when running in different jails.  For
example, most processes are linked against the standard
C library (libc), and its size is included in the size
of every process, as reported by ps(1) -- but the code
of the library is only loaded once into memory, i.e. it
is shared between processes, independent of jails.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

What is this talk of 'release'?  We do not make software 'releases'.
Our software 'escapes', leaving a bloody trail of designers and quality
assurance people in its wake.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Media Keys

2006-08-14 Thread Chuck Swiger

On Aug 12, 2006, at 3:12 AM, Nikolas Britton wrote:

No I don't know of any USB keyboards with volume control... I'm picky
about my keyboards... Most of them are old DEC, Compaq, and IBM
keyboards with the standard key layout... I think the keys on most new
keyboards are too soft etc. I'd like to get my hands on an old IBM
buckling spring keyboard.


They are still being made by a company called Unicomp, at  
www.pckeyboard.com.  I'm not sure about their model names, but the  
101-  104-key keyboards are outstanding.  I believe they are still  
only making PS/2 models, not USB variants, unfortunately...


--
-Chuck

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


Re: Web mail for phones

2006-08-14 Thread Chris Shenton
Andrea Venturoli [EMAIL PROTECTED] writes:

 I've searched the web a lot, but could not find anything about this;
 maybe I can't figure the proper terms to search for.

I was poking around for this recently and noticed that OpenWebmail
includes a style (stylesheet?) which they say is designed specifically
for small screens like phones and PDAs.  Can't find the reference now,
tho, sorry.  I was probably searching on ``webmail cellphone '' 
or similar.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


VIA VT310 SMP

2006-08-14 Thread perrimd
Does anyone have a 6.1 smp kernel that works with the via vt-310 ?
The smp kernel I have does not recognize the second processor.
The mptable shows two processors, but the AP cpu never launches and the
sysctl hw.ncpu=1.
Also has a problem with the dual riser. Only the lower slot works as
device 19 INT_A must have a conflict ?

Thanks. Mike

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


Re: ftp-proxy with pf

2006-08-14 Thread Ivan Levchenko

Hello Gilberto,

No, that wouldn't work, there is no sense in adding a nat rule to the
internal interface.

I just found out why it didn't work. All this time, I was using active
ftp on my ubuntu box. when i switched to passive, it all worked like a
charm. found it on some forum archive .. forgot the link. on linux the
env setting for passive ftp doesn't work.. .i never knew that.. you
have you add -p to the ftp command or start it using pftp..

On 8/14/06, Gilberto Villani Brito [EMAIL PROTECTED] wrote:

Try using this rule:
nat on $int_if from any to any port 21 - 127.0.0.1 port 8021


Gilberto


2006/8/13, Ivan Levchenko  [EMAIL PROTECTED]:

Hi everybody,

having some troubles with ftp-proxy on my gateway at home: the darn
thing gets me connected to an outside ftp server, but won't let me do
anything else with it.

the gateway computer is freebsd (it is running pf with nat to share
and secure a pppoe connection); the client computer is running kubuntu
6.06.

here is what i get when trying to connect to a ftp server behind the nat:

$ ftp ftp.freebsd.org
Connected to ftp.freebsd.org .
220 ftp.FreeBSD.org NcFTPd Server (licensed copy) ready.
Name (ftp.freebsd.org:ivan): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230-You are user #112 of 1000 simultaneous users allowed.
230-
230 Logged in anonymously.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp ls
550 Data connection must go to same host as control connection.
ftp: bind: Address already in use
ftp

or i get this error when connecting to a different ftp server (vsftpd):
500 Illegal PORT command.
ftp: bind: Address already in use.

i read the ftp-proxy and pf.conf man pages and have google-ed more
than my brain can comprehend but still no answer for this.

i attached the conf files for pf.conf and inetd.conf

any help (the right keyword to google with will be nice too!!!) will be
great!

--
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]


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








--
Best Regards,

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


moused not working

2006-08-14 Thread Nagy László


 Hello,

I installed FreeBSD 6.1 on a wmware virtual computer. Result: moused 
works fine with


moused -t auto -p /dev/psm0

If I boot another wmware computer with pxeboot, then moused starts, but 
I cannot see the cursor. If I start sysinstall and start configuring the 
mouse, then the cursor does appear! Then it asks me if I can see the 
cursor moving. I say 'YES'. As a result, the cursor disappears 
immediately. I tried the same with a real computer and I had the same 
results. If I start


moused -t auto -p /dev/psm0

on the command line then I get no error message but I cannot see the cursor.

Maybe it is related, maybe not, but if I start

Xorg -configure

then I only get a big black screen and I have to reset the computer. 
Even Ctrl+Alt+Del not working. It is the same on the virtual and the 
real machine too. The same command is working if I boot from the hard disk.


Any ideas?

Thanks,

  Laszlo

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


RE: ICH8 Support

2006-08-14 Thread Josh Carroll

To follow up on a previous thread regarding ICH8 support, what parts
of a P965 chipset based motherboard will work with existing 6-STABLE?

I'm close to buying a Conroe-ready motherboard, but I'd rather spend
$150 on a P965 board with DDR2-800 support than a more expensive
975-based board. I'm willing to wait for auxiliary support for things
like hardware monitors, etc. As long as FreeBSD will boot from the
SATA controller and the on-board GigE Intel NIC will work (I believe
it will, looking at the if_em cvs logs), then I'll likely go theP965
route. How about USB?

Are there any developers working on ICH8 at this time? If so, I would
be willing to contribue testing at the very least. Just curious what
kind of time frame we can expect the P965-based motherboards to be at
least minimally supported.

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


Re: BSDstats v3.0 - The Security Rewrite

2006-08-14 Thread Marc G. Fournier

On Mon, 14 Aug 2006, John Nielsen wrote:


This is great!

Is the 15-minute first-time waiting period enforced on the server side?
Obviously there's nothing to stop an administrator from editing the script
locally..


It is enforced on the server side ... in fact, one person just reported to 
me that they killed the script and re-ran it, and the stats went through 
... they didn't, the server side will reject the submission until the 
first minute time has elapsed ... I've got some ideas on how to better 
clean that up on the client side ...



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


Re: BSDstats v3.0 - The Security Rewrite

2006-08-14 Thread Scott Sipe


On Aug 14, 2006, at 4:28 PM, Marc G. Fournier wrote:


On Mon, 14 Aug 2006, John Nielsen wrote:


This is great!

Is the 15-minute first-time waiting period enforced on the server  
side?
Obviously there's nothing to stop an administrator from editing  
the script

locally..


It is enforced on the server side ... in fact, one person just  
reported to me that they killed the script and re-ran it, and the  
stats went through ... they didn't, the server side will reject the  
submission until the first minute time has elapsed ... I've got  
some ideas on how to better clean that up on the client side ...




This just happened to me as well--I installed the port, added lines  
to periodic.conf and manually ran:


/usr/local/etc/periodic/monthly/300.statistics

output as follows:

# /usr/local/etc/periodic/monthly/300.statistics
chown: /var/db/bsdstats: No such file or directory
To protect against abuse, the initial challenge/response phase
contains a 15 minute pause.  Please be patient while this time
limit elapses
^C
# /usr/local/etc/periodic/monthly/300.statistics
Posting monthly OS statistics to bsdstats.org
Posting monthly device statistics to bsdstats.org
Posting monthly CPU statistics to bsdstats.org

I cancelled it to see why it showed the chown error.

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


Re: BSDstats v3.0 - The Security Rewrite

2006-08-14 Thread Marc G. Fournier

On Mon, 14 Aug 2006, Scott Sipe wrote:



On Aug 14, 2006, at 4:28 PM, Marc G. Fournier wrote:


On Mon, 14 Aug 2006, John Nielsen wrote:


This is great!

Is the 15-minute first-time waiting period enforced on the server side?
Obviously there's nothing to stop an administrator from editing the script
locally..


It is enforced on the server side ... in fact, one person just reported to 
me that they killed the script and re-ran it, and the stats went through 
... they didn't, the server side will reject the submission until the first 
minute time has elapsed ... I've got some ideas on how to better clean that 
up on the client side ...




This just happened to me as well--I installed the port, added lines to 
periodic.conf and manually ran:


/usr/local/etc/periodic/monthly/300.statistics

output as follows:

# /usr/local/etc/periodic/monthly/300.statistics
chown: /var/db/bsdstats: No such file or directory
To protect against abuse, the initial challenge/response phase
contains a 15 minute pause.  Please be patient while this time
limit elapses
^C
# /usr/local/etc/periodic/monthly/300.statistics
Posting monthly OS statistics to bsdstats.org
Posting monthly device statistics to bsdstats.org
Posting monthly CPU statistics to bsdstats.org

I cancelled it to see why it showed the chown error.


chown error fixed in CVS now ... and if you run the script *now*, it will 
be past the 15 min mark and will submit properly ...



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


Re: ftp-proxy with pf

2006-08-14 Thread Joao Barros

On 8/14/06, Ivan Levchenko [EMAIL PROTECTED] wrote:

Hello Gilberto,

No, that wouldn't work, there is no sense in adding a nat rule to the
internal interface.

I just found out why it didn't work. All this time, I was using active
ftp on my ubuntu box. when i switched to passive, it all worked like a
charm. found it on some forum archive .. forgot the link. on linux the
env setting for passive ftp doesn't work.. .i never knew that.. you
have you add -p to the ftp command or start it using pftp..

On 8/14/06, Gilberto Villani Brito [EMAIL PROTECTED] wrote:
 Try using this rule:
 nat on $int_if from any to any port 21 - 127.0.0.1 port 8021


 Gilberto


 2006/8/13, Ivan Levchenko  [EMAIL PROTECTED]:
 
 Hi everybody,

 having some troubles with ftp-proxy on my gateway at home: the darn
 thing gets me connected to an outside ftp server, but won't let me do
 anything else with it.

 the gateway computer is freebsd (it is running pf with nat to share
 and secure a pppoe connection); the client computer is running kubuntu
 6.06.

 any help (the right keyword to google with will be nice too!!!) will be
 great!



I'm happilly using pftpx with no problems :-)

http://www.freshports.org/ftp/pftpx/

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


evolution will not bring up broswer when I click-on an URL.

2006-08-14 Thread Gary Kline
To all mail/evolution wizards out there, help!  I just tried
evolution for the second time. I can get it to load the images I
want on my internal-net servers, but I can't just click-on an
underlined URL and have anything load.  This is on my private,
10.* net, not on my DNS server.   What am I doing wrong?  --Or not
doing right?

thanks for any insights,

gary



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

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


FreeBSD STREAMS

2006-08-14 Thread Aaron Christensen

All,
Just curious, does FreeBSD (or any of the BSDs) have a STREAMS
implementation?  Or does anyone know of a 3rd party implementation?

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


ICH7 SATA Issues?

2006-08-14 Thread Kelsey Cummings
Running 6.1-R

I have a new dell dimension 5150 workstation with an Intel ICH7 sata
chipset onboard.  I've currently got a pair of WDC WD3000JD disks installed
running a gmirror set.  The problem is that the second disk on a fairly
regular basis drops off the bus.  I'm convinced that it's not the disks or
cables as I've swapped out the disk and cabling already.  I was able to
find a number of reports from other people suffering simmilar issues using
ICH7 controllers but no real solution.  This is starting to feel like a
driver problem.

Yeah for SATA hotswap and being able to reinit the controllers but that's
already gotten old.  (The drive will not show up with a reinit until it
has been powered off/on.)

Does anyone have any idea what might be going on here?  If there is any
other information I should provide, please let me know.

Currently:

ATA channel 2:
Master:  ad4 WDC WD3000JD-00KLB0/08.05J08 Serial ATA v1.0
Slave:   no device present

When the second disk is present it shows up as ad5, the slave on ATA
channel 2. 

There are a couple of errors associated with the disk dropping off the bus:

ad5: timeout waiting to issue command
ad5: error issuing WRITE_DMA command
GEOM_MIRROR: Request failed (error=5). ad5[WRITE(offset=29788618240, 
length=16384)]
GEOM_MIRROR: Device gm0: provider ad5 disconnected.

And

ad5: FAILURE - device detached
subdisk5: detached
ad5: detached
GEOM_MIRROR: Device gm0: provider ad5 disconnected.
fsync: giving up on dirty
0xc536f990: tag devfs, type VCHR
usecount 1, writecount 0, refcount 180 mountedhere 0xc5143d00
flags ()
v_object 0xc536939c ref 0 pages 738
 lock type devfs: EXCL (count 1) by thread 0xc93ded80 (pid 97832)
dev mirror/gm0s1e


Boot messages:
atapci0: Intel ICH7 UDMA100 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: Intel ICH7 SATA300 controller port 
0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 20 at 
device 31.2 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
ad4: 286168MB WDC WD3000JD-00KLB0 08.05J08 at ata2-master SATA150
ad5: 286168MB WDC WD3000JD-00KLB0 08.05J08 at ata2-slave SATA150

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


Re: BSDstats v3.0 - The Security Rewrite

2006-08-14 Thread Jonathan Horne
On Monday 14 August 2006 08:19, Marc G. Fournier wrote:
 Over the past few days, I've been working with Paul Schmehl and Matthew
 Seaman to come up with a more security sensitive version of BSDstats ...
 one that reduces the amount of sensitive information stored in the
 database down to ... zero.  No IPs, no hostnames ...

 This new version also reduces the number of 'network fetches' down to 4
 for the first run, and 3 for subsequent runs, so it runs a bit faster, and
 talks across the network less.

 And, finally, this one has its own domain for check in server ...

 None of the pre-v3.x clients can talk to the v3.x server, since the DB
 format has totally changed, so everyone needs to grab the latest version
 and run it so that we can re-sync the database properly ...

 From now forward, the stats will be viewable from:

   http://www.bsdstats.org

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

mark,

i noticed the percentages columns, they definatly make the information all 
that more fascinating.  would it be possible to segregate the far right 
column by release, and show what percentages of the 6.1s are stable, p3, p2, 
release?  etc etc?  that column as it sits is still good information (so im 
not suggesting dumping it), but i would like to see another section to break 
out the versions, by percentages.

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


Re: [Mpd-users] mpd problems

2006-08-14 Thread gahn
ok, basically it keeps failing on ECP, which i
didn't configure.

Aug 14 20:58:49 rhino mpd: [pptp0] IFACE: Up event
Aug 14 20:58:49 rhino mpd: [pptp0] setting interface
ng0 MTU to 1394 bytes
Aug 14 20:58:49 rhino mpd: [pptp0] exec:
/sbin/ifconfig ng0 192.168.255.129 192.168.255.140
netmask 0x -link0
Aug 14 20:58:49 rhino mpd: [pptp0] exec: /usr/sbin/arp
-s 192.168.255.140 0:3:47:43:9e:79 pub
Aug 14 20:58:49 rhino mpd: [pptp0] exec: /sbin/route
add 192.168.255.129 -iface lo0
Aug 14 20:58:49 rhino mpd: [pptp0] IFACE: Up event
Aug 14 20:58:51 rhino mpd: [pptp0] ECP: SendConfigReq
#2
Aug 14 20:58:51 rhino mpd: [pptp0] LCP: rec'd Protocol
Reject #9 link 0 (Opened)
Aug 14 20:58:51 rhino mpd: [pptp0] LCP: protocol ECP
was rejected
Aug 14 20:58:51 rhino mpd: [pptp0] ECP: protocol was
rejected by peer
Aug 14 20:58:51 rhino mpd: [pptp0] IPCP: failed to
negotiate required encryption
Aug 14 20:58:51 rhino mpd: [pptp0] IPCP: LayerFinish
Aug 14 20:58:51 rhino mpd: [pptp0] IPCP: LayerStart
Aug 14 20:58:51 rhino mpd: [pptp0] IPCP: state change
Opened -- Starting
Aug 14 20:58:51 rhino mpd: [pptp0] IPCP: LayerDown
Aug 14 20:58:51 rhino mpd: [pptp0] IFACE: Down event

i didn't use ECP on client side either. hwo did that happen?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD STREAMS

2006-08-14 Thread Giorgos Keramidas
On 2006-08-14 18:23, Aaron Christensen [EMAIL PROTECTED] wrote:
 All,
 Just curious, does FreeBSD (or any of the BSDs) have a STREAMS
 implementation?

Not really.  At least not in the official source tree.

 Or does anyone know of a 3rd party implementation?

I'm not sure about this.

What do you need STREAMS for?  Perhaps we can find something that fits
the bill and is already part of the base-system?

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


Re: ICH8 Support

2006-08-14 Thread Mike Tancsa
On Mon, 14 Aug 2006 12:58:27 -0700, in sentex.lists.freebsd.questions
you wrote:

To follow up on a previous thread regarding ICH8 support, what parts
of a P965 chipset based motherboard will work with existing 6-STABLE?

There seems to be some commits that went into current recently that
probably would work in STABLE manually patching in the new device IDs

See

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ata-chipset.c?sortby=date


---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spoofers, Spammers Other Bad Guys

2006-08-14 Thread Olivier Nicole
 This might be a useful tool for doing this without blocking some of
 the good guys in that part of the world, like Oz and NZ.

And as most of the spam is for products originating from the USA, you
can also kill USA from your mail...

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


Re: CUPS - Does not function anymore (Solved, mostly)

2006-08-14 Thread Sean M.
I managed to track down the problems:
1) KPrinter overwrote cupsd.conf, fortunately I had a backup, which
made the Web usable again.
2) Some files were missing from the hplip installation. I forceupgraded
it, and I could delete and reinstall the printer, so it now works as it
did before.

I still can't get CUPS to work in KDE though. If anyone has any ideas
on that, please share them.

--- Rod Person [EMAIL PROTECTED] wrote:

 On Sun, 2006-08-13 at 23:07 -0700, Sean M. wrote:
  The story so far:
  I had cups-1.2.2 and couldn't get KDE to use it with my HP PSC 1400
 and
  hplip. I read somewhere that KDE was only reliable with cups 1.1,
 so I
  downgraded CUPS to the last version before it was switched to
 1.2.0.
  That ended up breaking hpiod; so much for that. I had no choice but
 to
  upgraded cups back to 1.2.2. I also replaced
  /usr/local/lib/kde3/cupsdconf.so with a symlink to
  /usr/local/lib/libkdeinit_cupsdconf.so
  
  Now? Pretty much everything to do with printing is broken. If I go
 to
  localhost:631, I get the CUPS welcome screen, but all the links
 load
  for a long time then just stop. I used to at least print with LPD,
 now
  that's gone:
  
  A print error occurred. Error message received from system:
  
  /usr/local/bin/lpr -P 'PSC_1400' '-#1'
 '/tmp/kde-sgm/kdeprint_zivvNqlK'
  : execution failed with message:
  /usr/local/bin/lpr: Unsupported format 'application/postscript'! 
  
  I could also print with CUPS out of non-KDE apps like Firefox. Now
 they
  just do nothing.
  
  The printer is connected fine, because I can get its status and
 scan
  with it from hp-setup. It pretty much looks like CUPS is screwed
 up,
  and I can't figure out how to fix it. Could someone please help?
  
 
 This all happened to me when I also upgrade cups. I tried to go back
 an
 reinstall all the cups packages to see what would happen.
 
 Doing this I found that cups-lpr was broken and did not install. I
 manually made the sim links to /usr/local/bin/lpr, /usr/local/bin/lpq
 and /usr/local/bin/lprm (I believe that was all) as this is what had
 to
 be done in the old days before the cups-lpr port. After doing this I
 can
 now print from non-KDE apps using the lpr command. But krpinter still
 did not work with CUPS so I changed it to print with lpd and it now
 works.
 
 Rod
 
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


new 6.1 install will not boot

2006-08-14 Thread Perry Hutchison
I've just installed FreeBSD 6.1 on a Dell Pentium III, and I must have
done something wrong -- or missed a step -- somewhere along the way.

When trying to boot, I do not get even as far as the situation
described in sec. 4.2.5 of the installation instructions.  The system
hangs, with a completely blank screen and the curson on (I think) the
second line, immediately after the BIOS loads the boot record from the
FreeBSD partition.  Keyboard input is ignored except for CtrlAltDel,
which reboots and hangs again the same way.  Booting a Windows 98 CD
and running fdisk confirms that the FreeBSD partition is active.

I'm not even getting anywhere trying to read the documentation:
I can still boot from the FreeBSD CD, but if I try to view the HTML
docs from the Doc menu it says this can only be done after the system
is installed.  (The system *has* been installed, it just won't boot!)

Is there any way to recover from this?  Even if I were to start
completely over I would have no clue what to do differently.
If it were a Linux installation I would try booting from floppy,
but I did not see any chance during the FreeBSD installation to
create a boot floppy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: new 6.1 install will not boot

2006-08-14 Thread Pramod Venugopal

Do you get the FreeBSD boot menu ?

Pramod Venugopal
[EMAIL PROTECTED]



On Aug 14, 2006, at 7:24 PM, Perry Hutchison wrote:


I've just installed FreeBSD 6.1 on a Dell Pentium III, and I must have
done something wrong -- or missed a step -- somewhere along the way.

When trying to boot, I do not get even as far as the situation
described in sec. 4.2.5 of the installation instructions.  The system
hangs, with a completely blank screen and the curson on (I think) the
second line, immediately after the BIOS loads the boot record from the
FreeBSD partition.  Keyboard input is ignored except for CtrlAltDel,
which reboots and hangs again the same way.  Booting a Windows 98 CD
and running fdisk confirms that the FreeBSD partition is active.

I'm not even getting anywhere trying to read the documentation:
I can still boot from the FreeBSD CD, but if I try to view the HTML
docs from the Doc menu it says this can only be done after the system
is installed.  (The system *has* been installed, it just won't boot!)

Is there any way to recover from this?  Even if I were to start
completely over I would have no clue what to do differently.
If it were a Linux installation I would try booting from floppy,
but I did not see any chance during the FreeBSD installation to
create a boot floppy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: Spoofers, Spammers Other Bad Guys

2006-08-14 Thread pauls
--On August 15, 2006 9:30:35 AM +0700 Olivier Nicole [EMAIL PROTECTED] 
wrote:



This might be a useful tool for doing this without blocking some of
the good guys in that part of the world, like Oz and NZ.


And as most of the spam is for products originating from the USA, you
can also kill USA from your mail...

Spammers don't come from the USA.  They come from hell.  A lot of them 
live in the USA, but they are not part of the human race in any way.


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


Re: FreeBSD STREAMS

2006-08-14 Thread Aaron Christensen

Well, we're trying to implement a custom kernel-level ssl... Is there any
mechanism in FreeBSD to facilitate this?

Thanks!
~aaron

On 8/14/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:


On 2006-08-14 18:23, Aaron Christensen [EMAIL PROTECTED] wrote:
 All,
 Just curious, does FreeBSD (or any of the BSDs) have a STREAMS
 implementation?

Not really.  At least not in the official source tree.

 Or does anyone know of a 3rd party implementation?

I'm not sure about this.

What do you need STREAMS for?  Perhaps we can find something that fits
the bill and is already part of the base-system?



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


Horizontal Streaking on Monitor

2006-08-14 Thread Chris
My Video card is an old origional Geforce 256 SDR.   I am experiencing 
horizontal streaking in graphics and text mode.  But after fouling 
around in X11 it's very noticable.  I thought it might be the scan rate 
but text mode doesn't have a high scan rate by default.  The monitor is 
fine.  And why I am using a KVM I get the same results connecting the 
monitor directly to the video card.  I'm thinking it's the video card in 
conjunction with the mothboard because I never had any trouble with that 
card before.  Any ideas?


Chris

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


Re: FreeBSD STREAMS

2006-08-14 Thread Giorgos Keramidas
On 2006-08-14 22:08, Aaron Christensen [EMAIL PROTECTED] wrote:
On 8/14/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:
On 2006-08-14 18:23, Aaron Christensen [EMAIL PROTECTED] wrote:
 All,
 Just curious, does FreeBSD (or any of the BSDs) have a
 STREAMS implementation?

 Not really.  At least not in the official source tree.

 Or does anyone know of a 3rd party implementation?

 I'm not sure about this.

 What do you need STREAMS for?  Perhaps we can find something
 that fits the bill and is already part of the base-system?

 Well, we're trying to implement a custom kernel-level ssl... Is
 there any mechanism in FreeBSD to facilitate this?

That's the reply I was sort of expecting, and the reason I asked.

If this is meant to be used for network sockets, then a mechanism
in FreeBSD that is similar to streams: it is called NETGRAPH.
There are various 'node types' in FreeBSD already, which support
various sorts of packet processing, filtering, rewriting, etc.

The manpages of all the ng_(4) nodes are quite informational,
and you can find a few good references for Netgraph in Julian
Elischer's personal web space at FreeBSD.org:

   http://people.freebsd.org/~julian/

There are currently more than 50 different Netgraph node types in
FreeBSD 7.0-CURRENT, providig packet functions such diverse as
Berkeley packet filtering, a generic tunneling interface, packet
firewalling, NAT functions, kernel mbuf tagging, or VLAN
tagging, and so on.

See all the ng_ manpages with:

% man -k ng_

and the webpage of Julian mentioned above.  Hopefully, you can
find something that can help you get started.  If an existing
Netgraph node doesn't match 100% the functionality you want to
do, you can always copy an existing node sources and modify them
to create a node type of your own :-)

HTH,
Giorgos

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


Re: Horizontal Streaking on Monitor

2006-08-14 Thread Bill Campbell
On Mon, Aug 14, 2006, Chris wrote:
My Video card is an old origional Geforce 256 SDR.   I am experiencing 
horizontal streaking in graphics and text mode.  But after fouling 
around in X11 it's very noticable.  I thought it might be the scan rate 
but text mode doesn't have a high scan rate by default.  The monitor is 
fine.  And why I am using a KVM I get the same results connecting the 
monitor directly to the video card.  I'm thinking it's the video card in 
conjunction with the mothboard because I never had any trouble with that 
card before.  Any ideas?

Most of the problems I've seen like this when using KVM switches
are due to flakey cables usually el-cheapo KVM cables.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Capitalism works primarily because most of the ways that a company can be
scum end up being extremely bad for business when there's working
competition.'' -rra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS - Does not function anymore

2006-08-14 Thread Rod Person
On Sun, 2006-08-13 at 23:07 -0700, Sean M. wrote:
 The story so far:
 I had cups-1.2.2 and couldn't get KDE to use it with my HP PSC 1400 and
 hplip. I read somewhere that KDE was only reliable with cups 1.1, so I
 downgraded CUPS to the last version before it was switched to 1.2.0.
 That ended up breaking hpiod; so much for that. I had no choice but to
 upgraded cups back to 1.2.2. I also replaced
 /usr/local/lib/kde3/cupsdconf.so with a symlink to
 /usr/local/lib/libkdeinit_cupsdconf.so
 
 Now? Pretty much everything to do with printing is broken. If I go to
 localhost:631, I get the CUPS welcome screen, but all the links load
 for a long time then just stop. I used to at least print with LPD, now
 that's gone:
 
 A print error occurred. Error message received from system:
 
 /usr/local/bin/lpr -P 'PSC_1400' '-#1' '/tmp/kde-sgm/kdeprint_zivvNqlK'
 : execution failed with message:
 /usr/local/bin/lpr: Unsupported format 'application/postscript'! 
 
 I could also print with CUPS out of non-KDE apps like Firefox. Now they
 just do nothing.
 
 The printer is connected fine, because I can get its status and scan
 with it from hp-setup. It pretty much looks like CUPS is screwed up,
 and I can't figure out how to fix it. Could someone please help?
 

This all happened to me when I also upgrade cups. I tried to go back an
reinstall all the cups packages to see what would happen.

Doing this I found that cups-lpr was broken and did not install. I
manually made the sim links to /usr/local/bin/lpr, /usr/local/bin/lpq
and /usr/local/bin/lprm (I believe that was all) as this is what had to
be done in the old days before the cups-lpr port. After doing this I can
now print from non-KDE apps using the lpr command. But krpinter still
did not work with CUPS so I changed it to print with lpd and it now
works.

Rod


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