fetchmail question

2004-06-27 Thread Bikrant
Hi... I am trying to retrive mails using fetchmail and then deleiver it 
locally using sendmail. I found that fetchmail adds the following header in 
every messages that it retrives from the pop server.

Received: from localhost (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.12.5/8.12.5) with ESMTP id i5QIldIr030563
for [EMAIL PROTECTED]; Sun, 27 Jun 2004 00:32:39 +0545

I am running fetchmail as root user so it has modified the recepient to 
[EMAIL PROTECTED] Isn't there any way so that fetchmail retains the original 
recepient ? I tried  -n and --invisible options but they didn't help.

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


Re: setting a disk read only

2004-06-27 Thread Malcolm Kay
On Saturday 26 June 2004 22:06, JJB wrote:
 Security Paranoia
 It's very important that you completely understand the impact of
 using the following command will have on your ability to make
 changes to your system.

 The simplest thing you can do is set the immutable flag on all
 system binaries and /etc config files with:

 chflags schg /bin/*(*) /sbin/*(*) /usr/bin/*(*) /usr/sbin/*(*)
 /etc/*(*)

It seems to me that mounting all partitions from the disk as read only
would achieve rather more; and more simply.

But neither protects against direct writes to the raw device. 
And if you are really paranoid about this I think the only solution is a 
hardware switch. I suspect the linux 'hdparm' also has its limitations;
only a hardware switch can protect against software bugs or a successful
invasion.

 Setting the immutable flag on, means the files are marked as being
 protected from being written over. Once you execute the above
 command, no process can over write those files thus increasing the
 level of difficulty for the attacker and increasing the odds in your
 favor of the attacker leaving error messages in the system log. On
 the other hand you as root user can not make any changes to those
 file so marked either.

 Ever time you want to make changes you have to issue the command to
 turn off the immutable flag on all the same files. Use this command
 to do that:

 chflags noschg /bin/*(*) /sbin/*(*) /usr/bin/*(*) /usr/sbin/*(*)
 /etc/*(*)

 You can use ls -lo command to see the immutable flags of existing

 You could do this to any slice with chflags noschg /*(*)  /usr/*(*)
 what ever


Malcolm

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


Re: Updating source code manually

2004-06-27 Thread Sergey Zaharchenko
On Sun, Jun 27, 2004 at 12:26:20AM -0500,
 Jay Moore probably wrote:
 
 stupid newbie question: How do I view the source file with the
 patches merged?
 

By running `make extract patch' in the port's directory, I presume.

-- 
DoubleF
We are on the verge: Today our program proved Fermat's next-to-last
theorem.
-- Epigrams in Programming, ACM SIGPLAN Sept. 1982


pgpBEMW7FlI1t.pgp
Description: PGP signature


/boot/loader freezing up?

2004-06-27 Thread Will McCutcheon
I just installed FreeBSD 5.2.1 (from the ISO, not the latest patch level in CVS) and 
quickly ran into a problem related to the serial console.  I dropped -h 
(sans-quotes, of course) into /boot.config so that it would boot with output going to 
the serial console, as I've done many times with older versions of FreeBSD on other 
systems.  However, all startups after doing this freeze.  I get the F1 FreeBSD, F5 
Drive 1, Default F1 prompt as usual, then get:

/boot.config: -h

BTX loader 1.00 BTX version is 1.01

.. and nothing more.  Nothing ever comes out the serial port and the system never 
finishes booting.  This install was working fine until I tried getting it to boot 
through the serial console.  Furthermore, because I never get to the point of the 
prompt to boot into single user mode, I can't figure out how to get in and remove 
/boot.config so that I can at least start up properly, if not with serial console 
support.  Any clues as to how to hose that file, or better yet, how to get it to stop 
seizing up during bootup?  Thanks for your time!

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


The FreeBSD Diary: 2004-06-06 - 2004-06-26

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

These are the articles posted during this period:

23-Jun : USENIX'04 ATC
 I'll be there! 
 http://freebsddiary.org/usenix-atc-2004.php?2


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

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


zorp and freebsd

2004-06-27 Thread MEZEI Tamas
Hi,
is there any way to do transparent proxying in FreeBSD? I'd be happy 
to have a fully functional Zorp server based on FreeBSD.

Transparent proxying is working on Linux via the TPROXY patch, but ipf 
rdr methods are not really the same. Is there any way to implement that 
transparent stuff in FreeBSD? Are there any unofficial modifications 
(don't slap me please ;)?

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


Re: next question re the Thinkpad.

2004-06-27 Thread Luke Kearney

On Sat, 26 Jun 2004 22:24:47 -0700
Gary Kline [EMAIL PROTECTED] granted us these pearls of wisdom:

 
   Is anybody using a Thinkpad among the list?  I have found one
   with the 
 
   ``SMC 2206 compact USB-Ethernet adapter for connecting to
   ethernet networks.''
 
   In LINT (4.10) I see SMC 2202USB listed.  
 
   Can anybody help me?
 
   gary

I have Thinkpad X30 which runs 4.9-p10 currently and I have had no real
issues in setting it up. Mine has inbuilt NIC's though and there were no
issues at all in recognising the ethernet or wireless NIC. X was really
easy to setup and it's been really reliable since day1.

HTH

LukeK
-- 
Luke Kearney [EMAIL PROTECTED]


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


Re: tripwire on 5.2.1

2004-06-27 Thread Remko Lodder
Hi Dave,
dave wrote:
Hello,
A while back i tried installing the tripwire port, but it reported as
broken. I was wondering is anyone using this on 5.2.1?
Thanks.
Dave.
Well, i am not going to answer your question since i dont run tripwire...
What i do run is AIDE, which does the same (keeps checksums of files in 
a db and checks them)..
I don't know if you want to run it, but here it is

/usr/ports/security/aide
Cheers
--
Kind regards,
Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: AMD64 vs i386 for FreeBSD

2004-06-27 Thread Remi
See that's I'm thinking, the raw performance is very attractive to me!! So
what's this about a p4 1.7 outperforming a 2.8? You got link to benchmarks?

-Original Message-
From: Daniel O'Connor [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 26, 2004 8:23 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Remi; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: AMD64 vs i386 for FreeBSD

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 27 Jun 2004 08:30, David O'Brien wrote:
  I have a choice between AMD64 3200+ and a P4 2.8GHz with HT. Which one
  would you guys recommend to run FreeBSD. Obviously the i386 would be
  easier to run, so I guess my question is what is the state of the AMD64
  FreeBSD version?

 You do know you can run FreeBSD/i386 on the Athlon64 3200+ laptop,
 right? :-)  A 3200+ running 32-bit FreeBSD will out-perform the  P4
 2.8GHz running the same OS.

A Pentium-M 1.7Ghz will outperform a 2.8Ghz P4 too ;)

If battery life is important to you I'd suggest not getting an AMD64.

For raw performance it's pretty nice though :)

- -- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA3j2V5ZPcIHs/zowRAoZpAKCnZMb/Kxk9wElcBhktj9NPDPsPggCgh6b2
iasKpu5F998wHLaC5flWA+E=
=QBEE
-END PGP SIGNATURE-


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


Re: fetchmail question

2004-06-27 Thread Phil Schulz
Bikrant wrote:
Hi... I am trying to retrive mails using fetchmail and then deleiver it 
locally using sendmail. I found that fetchmail adds the following header in 
every messages that it retrives from the pop server.

Received: from localhost (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.12.5/8.12.5) with ESMTP id i5QIldIr030563
for [EMAIL PROTECTED]; Sun, 27 Jun 2004 00:32:39 +0545
I'm not sure about this. But to me it doesn't look like this is added by 
 fetchmail but rather by sendmail. Below you find the header which was 
added to your original email by fetchmail on my box. Note the difference 
 in the 'from' part. Also I don't think that fetchmail 'speaks' (E)SMTP.

Phil.
Received: from pop.gmx.net [213.165.64.20]
by localhost with POP3 (fetchmail-6.2.0)
for [EMAIL PROTECTED] (single-drop); Sun, 27 Jun 2004 10:25:38 +0200 (CEST)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetchmail question

2004-06-27 Thread Oliver Fuchs
On Sun, 27 Jun 2004, Bikrant wrote:

 Hi... I am trying to retrive mails using fetchmail and then deleiver it 
 locally using sendmail. I found that fetchmail adds the following header in 
 every messages that it retrives from the pop server.
 
 Received: from localhost (localhost.localdomain [127.0.0.1])
 by localhost.localdomain (8.12.5/8.12.5) with ESMTP id i5QIldIr030563
 for [EMAIL PROTECTED]; Sun, 27 Jun 2004 00:32:39 +0545
 
 I am running fetchmail as root user so it has modified the recepient to 
 [EMAIL PROTECTED] Isn't there any way so that fetchmail retains the original 
 recepient ? I tried  -n and --invisible options but they didn't help.

Hi,

if you count all the RECEIVED: headers you will find that using the
--invisible option fetchmail suppresses the fetchmail added RECEIVED: header
... all the others are added by sendmail

Oliver

-- 
... don't touch the bang bang fruit
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


terabyte limit problem with vinum

2004-06-27 Thread Richard Holmes
Shawn,

Did you ever find a solution to the terabyte limit problem you reported last
year on FreeBSD.Questions (09/06/2003 and 01/12/2004).

I'm having exactly the same problem. I've got eight Maxtor 250GB SATA drives
ganged together into one big RAID5 volume with a net size of 1636GB.
Everything is fine until newfs -U -O2 /dev/vinum/... gives the can't read
old UFS1 superblock error. I'm using FreeBSD 5.2.1 csvup'd to REL_ENG_5_2
in mid June 2004.

Thanks,

Richard Holmes
Lambda Software Development
Rocklin, CA
(916) 390-2057 (cell)
[EMAIL PROTECTED]
[EMAIL PROTECTED] (soon to be discontinued)

P.S. I've also been having some other problems with vinum. vinum
resetconfig doesn't always wipe out all of the vinum drives and seems to
not reliably erase the vinum database from all of the drives. After
resetconfig, vinum list may show one or two drives remaining. To get rid
of them all, I need to do multiple cycles of vinum rm -f -r, vinum stop
and vinum start.

Have also had problems with empty vinum volumes being corrupted after reboot
(remember newfs failed, so nothing was ever written to the volume). After
successfully creating and initializing the vinum RAID5 volume, I stop it,
then reboot. After reboot, vinum insists on reinitializing the entire volume
(an 8 hour process).


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


Re: Sendmail permission problems

2004-06-27 Thread Oliver Fuchs
On Fri, 25 Jun 2004, Jamie LaPointe wrote:

 I am having problems with a Perl based application (Bugzilla 2.16.5) that
 uses Sendmail.  I recently upgraded from Sendmail version 8.9.3 to 8.12.10
 and am using FreeBSD 5.2.1-Release.  I installed this version of Sendmail
 from the Ports collection from the FreeBSD FTP site.  Ever since I upgraded
 to this new version I have been having the following problem when attempting
 to send an email via Bugzilla (the following error is from the mailog):
 
 Jun 25 17:11:42 srv-linbsd01 sm-mta[539]: starting daemon (8.12.10):
 SMTP+queuei
 
 [EMAIL PROTECTED]:30:00
 
 Jun 25 17:11:42 srv-linbsd01 sm-msp-queue[542]: starting daemon (8.12.10):
 queue
 
 [EMAIL PROTECTED]:30:00
 
 Jun 25 17:11:42 srv-linbsd01 sm-msp-queue[547]: starting daemon (8.12.10):
 queue
 
 [EMAIL PROTECTED]:30:00
 
 Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fA000630: SYSERR(apache):
 coll
 
 ect: Cannot write ./dfi5Q0C4fA000630 (bfcommit, uid=1003, gid=25):
 Permission de
 
 nied
 
 Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fA000630: from=apache,
 size=46
 
 8, class=0, nrcpts=0, [EMAIL PROTECTED]
 
 Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fA000630: i5Q0C4fB000630:
 DSN:
 
  collect: Cannot write ./dfi5Q0C4fA000630 (bfcommit, uid=1003, gid=25):
 Permissi
 
 on denied
 
 Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fB000630: SYSERR(apache):
 queu
 
 eup: cannot create queue file ./qfi5Q0C4fB000630, euid=1003: Permission
 denied
 
 Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K8000631: SYSERR(apache):
 coll
 
 ect: Cannot write ./dfi5Q0C4K8000631 (bfcommit, uid=1003, gid=25):
 Permission de
 
 nied
 
 Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K8000631: from=apache,
 size=45
 
 9, class=0, nrcpts=0, [EMAIL PROTECTED]
 
 Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K8000631: i5Q0C4K9000631:
 DSN:
 
  collect: Cannot write ./dfi5Q0C4K8000631 (bfcommit, uid=1003, gid=25):
 Permissi
 
 on denied
 
 Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K9000631: SYSERR(apache):
 queu
 
 eup: cannot create queue file ./qfi5Q0C4K9000631, euid=1003: Permission
 denied
 
  
 
 It sure appears that something is screwed up with Permissions, yet
 /var/spool/clientmqueue has the following permission:
 
 -bash-2.05b# ls -l
 
 total 32
 
 drwxrwx---   2 smmsp  smmsp 512 Jun 25 12:09 clientmqueue
 
 drwxr-xr-x   3 root   daemon512 Apr  6 08:53 cups
 
 drwxrwxr-x   2 uucp   dialer512 Jun 25 17:11 lock
 
 drwxr-xr-x   2 root   daemon512 Feb 23 12:41 lpd
 
 drwxr-xr-x   3 root   daemon  16384 Jun 25 15:17 mqueue
 
 drwx--   2 root   daemon512 Feb 23 12:41 opielocks
 
 drwxr-xr-x   3 root   daemon512 Feb 23 12:41 output
 
 drwxr-xr-x  15 root   wheel 512 Jun 25 11:48 postfix
 
 drwxrwxrwt   2 root   wheel 512 Apr  6 08:53 samba
 
  
 
 From everything that I have read this is correct.  I also checked the
 permission for the sendmail binary and it has the following permission:
 
 -bash-2.05b# ls -l /usr/libexec/sendmail/sendmail
 
 -r-xr-sr-x  1 root  smmsp  635864 Feb 23 12:42 sendmail

A look at SECURITY doc in /usr/local/share/doc/sendmail gives me:

-r-xr-sr-x  root   smmsp... /PATH/TO/sendmail
drwxrwx---  smmsp  smmsp... /var/spool/clientmqueue
drwx--  root   wheel... /var/spool/mqueue
-r--r--r--  root   wheel... /etc/mail/sendmail.cf
-r--r--r--  root   wheel... /etc/mail/submit.cf

Oliver
-- 
... don't touch the bang bang fruit
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: next question re the Thinkpad.

2004-06-27 Thread Gary Kline
On Sun, Jun 27, 2004 at 05:19:09PM +0900, Luke Kearney wrote:
 
 On Sat, 26 Jun 2004 22:24:47 -0700
 Gary Kline [EMAIL PROTECTED] granted us these pearls of wisdom:
 
  
  Is anybody using a Thinkpad among the list?  I have found one
  with the 
  
  ``SMC 2206 compact USB-Ethernet adapter for connecting to
  ethernet networks.''
  
  In LINT (4.10) I see SMC 2202USB listed.  
  
  Can anybody help me?
  
  gary
 
 I have Thinkpad X30 which runs 4.9-p10 currently and I have had no real
 issues in setting it up. Mine has inbuilt NIC's though and there were no
 issues at all in recognising the ethernet or wireless NIC. X was really
 easy to setup and it's been really reliable since day1.
 
 HTH
 

It helps to a point.   The thing is that my budget is limited
to th $200-$300 range.  I'm not looking for anything fast ...
just smething solid with a good drive and CDROM.  And a NC
that just-works.  

I've been checking the freebsd laptop list and working from
these, but still flying blind pretty much.

Anybody else have laptop success stories to share in
the 266-400MHz range??

thanks to all,

gary



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

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


Re: fetchmail question

2004-06-27 Thread Bikrant Neupane
Sorry.. I mentioned the wrong header :(
Indeed the hearder was added by sendmail.

This is the one added by fetchmail

Received: from pop2.wlink.com.np [202.79.32.43]
by localhost with POP3 (fetchmail-5.9.0)
for [EMAIL PROTECTED] (single-drop); Sun, 27 Jun 2004 00:32:39 +0545 
(NPT)

and this one is the full header

From [EMAIL PROTECTED]  Sun Jun 27 00:32:39 2004
Return-Path: [EMAIL PROTECTED]
Received: from localhost (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.12.5/8.12.5) with ESMTP id i5QIldIr030563
for [EMAIL PROTECTED]; Sun, 27 Jun 2004 00:32:39 +0545
Delivered-To: [EMAIL PROTECTED]
Received: from pop2.wlink.com.np [202.79.32.43]
by localhost with POP3 (fetchmail-5.9.0)
for [EMAIL PROTECTED] (single-drop); Sun, 27 Jun 2004 00:32:39 +0545 
(NPT)
Received: (qmail 31304 invoked from network); 27 Jun 2004 06:05:03 -
Received: from unknown (HELO qmail-scanner.wlink.com.np) (202.79.32.74)
  by 0 with SMTP; 27 Jun 2004 06:05:03 -
Received: (qmail 86161 invoked by uid 1008); 27 Jun 2004 06:05:03 -
Received: from [EMAIL PROTECTED] by qmail-scanner.wlink.com.np by uid 1002 
with qmail-scanner-1.20
 (clamscan: 0.60.  Clear:RC:1(202.79.32.76):.
 Processed in 0.607579 secs); 27 Jun 2004 06:05:03 -
Received: from smtp1.wlink.com.np (202.79.32.76)
  by qmail-scanner.wlink.com.np with SMTP; 27 Jun 2004 06:05:02 -
Received: (qmail 8704 invoked by uid 508); 27 Jun 2004 06:05:01 -
Received: from [202.79.36.168] (HELO bikrant.org.np) by smtp1.wlink.com.np 
(qmail-smtpd) with SMTP; 27 Jun 2004 06:05:01 - (Sun, 27 Jun 2004 
11:50:01 +0545)

You can see that mail is to be delivered to [EMAIL PROTECTED] but when it 
is fetched by fetchmail it is changed to [EMAIL PROTECTED]


regards,
Bikrant



On Sunday 27 June 2004 12:22, Bikrant wrote:
 Hi... I am trying to retrive mails using fetchmail and then deleiver it
 locally using sendmail. I found that fetchmail adds the following header in
 every messages that it retrives from the pop server.

 Received: from localhost (localhost.localdomain [127.0.0.1])
 by localhost.localdomain (8.12.5/8.12.5) with ESMTP id
 i5QIldIr030563 for [EMAIL PROTECTED]; Sun, 27 Jun 2004 00:32:39 +0545

 I am running fetchmail as root user so it has modified the recepient to
 [EMAIL PROTECTED] Isn't there any way so that fetchmail retains the original
 recepient ? I tried  -n and --invisible options but they didn't help.

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


Re: fetchmail question

2004-06-27 Thread Bikrant Neupane
Sorry.. I mentioned the wrong header :(
Indeed the hearder was added by sendmail.

This is the one added by fetchmail

Received: from pop2.wlink.com.np [202.79.32.43]
by localhost with POP3 (fetchmail-5.9.0)
for [EMAIL PROTECTED] (single-drop); Sun, 27 Jun 2004 00:32:39 +0545 
(NPT)

and this one is the full header

From [EMAIL PROTECTED]  Sun Jun 27 00:32:39 2004
Return-Path: [EMAIL PROTECTED]
Received: from localhost (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.12.5/8.12.5) with ESMTP id i5QIldIr030563
for [EMAIL PROTECTED]; Sun, 27 Jun 2004 00:32:39 +0545
Delivered-To: [EMAIL PROTECTED]
Received: from pop2.wlink.com.np [202.79.32.43]
by localhost with POP3 (fetchmail-5.9.0)
for [EMAIL PROTECTED] (single-drop); Sun, 27 Jun 2004 00:32:39 +0545 
(NPT)
Received: (qmail 31304 invoked from network); 27 Jun 2004 06:05:03 -
Received: from unknown (HELO qmail-scanner.wlink.com.np) (202.79.32.74)
  by 0 with SMTP; 27 Jun 2004 06:05:03 -
Received: (qmail 86161 invoked by uid 1008); 27 Jun 2004 06:05:03 -
Received: from [EMAIL PROTECTED] by qmail-scanner.wlink.com.np by uid 1002 
with qmail-scanner-1.20
 (clamscan: 0.60.  Clear:RC:1(202.79.32.76):.
 Processed in 0.607579 secs); 27 Jun 2004 06:05:03 -
Received: from smtp1.wlink.com.np (202.79.32.76)
  by qmail-scanner.wlink.com.np with SMTP; 27 Jun 2004 06:05:02 -
Received: (qmail 8704 invoked by uid 508); 27 Jun 2004 06:05:01 -
Received: from [202.79.36.168] (HELO bikrant.org.np) by smtp1.wlink.com.np 
(qmail-smtpd) with SMTP; 27 Jun 2004 06:05:01 - (Sun, 27 Jun 2004 
11:50:01 +0545)

You can see that mail is to be delivered to [EMAIL PROTECTED] but when it 
is fetched by fetchmail it is changed to [EMAIL PROTECTED]


regards,
Bikrant



On Sunday 27 June 2004 12:22, Bikrant wrote:
 Hi... I am trying to retrive mails using fetchmail and then deleiver it
 locally using sendmail. I found that fetchmail adds the following header in
 every messages that it retrives from the pop server.

 Received: from localhost (localhost.localdomain [127.0.0.1])
 by localhost.localdomain (8.12.5/8.12.5) with ESMTP id
 i5QIldIr030563 for [EMAIL PROTECTED]; Sun, 27 Jun 2004 00:32:39 +0545

 I am running fetchmail as root user so it has modified the recepient to
 [EMAIL PROTECTED] Isn't there any way so that fetchmail retains the original
 recepient ? I tried  -n and --invisible options but they didn't help.

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


Re: Updating source code manually

2004-06-27 Thread Giorgos Keramidas
On 2004-06-27 11:18, Sergey Zaharchenko [EMAIL PROTECTED] wrote:
 On Sun, Jun 27, 2004 at 12:26:20AM -0500, Jay Moore probably wrote:
  stupid newbie question: How do I view the source file with the
  patches merged?

 By running `make extract patch' in the port's directory, I presume.

Just running `make patch' should be enough.  The dependencies will take
care of running `make fetch', `make checksum', `make extract' and *then*
`make patch'.

- Giorgos

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


Re: Updating source code manually

2004-06-27 Thread Sergey Zaharchenko
On Sun, Jun 27, 2004 at 12:18:33PM +0300,
 Giorgos Keramidas probably wrote:
 On 2004-06-27 11:18, Sergey Zaharchenko [EMAIL PROTECTED] wrote:
  On Sun, Jun 27, 2004 at 12:26:20AM -0500, Jay Moore probably wrote:
   stupid newbie question: How do I view the source file with the
   patches merged?
 
  By running `make extract patch' in the port's directory, I presume.
 
 Just running `make patch' should be enough.  The dependencies will take
 care of running `make fetch', `make checksum', `make extract' and *then*
 `make patch'.
 
 - Giorgos
 

True, but being more `verbose' and giving a more self-explanatory
command sometimes helps to understand what it actually is going to do.

BTW I still forgot to mention what seemed obvious --- the patched source
will be in the working directory (/usr/ports/.../.../work if you didn't
change anything in make.conf).

-- 
DoubleF
Aquadextrous, adj.:
Possessing the ability to turn the bathtub faucet on and off
with your toes.
-- Rich Hall, Sniglets


pgpcd6PKcs8WL.pgp
Description: PGP signature


make index error

2004-06-27 Thread bryan cassidy
Running 4.10. I ran a 'make index' in /usr/ports just
now and i get the following error

Generating INDEX - please wait..tkscanfax-1.02:
/usr/ports/japanese/tk80 non-existent -- dependency
list incomplete
=== comms/tkscanfax failed
*** Error code 1
1 error

Thanks




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changing cards in a reader

2004-06-27 Thread Scott Mitchell
On Sat, Jun 26, 2004 at 07:27:40PM -1000, [EMAIL PROTECTED] wrote:
 Aloha Scott and thanks for staying awake and responding.
 
 I thought I had tried all of that camcontrol stuff
 before I posted but I am getting old so I tried what
 you suggested. Alas, it did not seem to help. Here is
 the output of the attempt:

Hi Robert,

Weird - that's what works for me, so I don't know how much more help I can
offer, but here are a few suggestions that might help us figure out what's
going on...

 Boot with 128MB card installed.
 
 hp# ls -l /dev/da*
 crw-r-  1 root  operator4,  20 Jun 26 18:50 /dev/da0
 crw-r-  1 root  operator4,  21 Jun 26 18:50 /dev/da1
 crw-r-  1 root  operator4,  22 Jun 26 18:50 /dev/da2
 crw-r-  1 root  operator4,  24 Jun 26 18:50 /dev/da2s1
 crw-r-  1 root  operator4,  23 Jun 26 18:50 /dev/da3

Ah... you're running FreeBSD 5 - it was pretty late when I wrote that first
reply, so I didn't notice that immediately.  Unlike FreeBSD 4, where stuff
in /dev/ had to be created manually, FreeBSD 5 uses devfs to create the
device nodes as needed, when devices come and go.  I haven't actually used
my card reader on 5 yet, so I could be missing something obvious here...

 Remove 128MB card and insert 8MB card
 
 hp# camcontrol rescan 0:0:2
 Re-scan of 0:0:2 was successful

What does 'fdisk da2' give you at this point?
Do you get anything in /var/log/messages when you insert the new card?

It might be worth doing a 'camcontrol start' after the rescan, just in
case, but I don't really think that will make any difference.

Since you're running FreeBSD 5, it might be worth re-porting your question
to the freebsd-current mailing list, to see if anyone there can shed some
light on this.

Sorry I can't be more help,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


File tree replication in FreeBSD

2004-06-27 Thread Kentucky Mandeloid Mo.
I'm looking for file replication solution for FreeBSD.

I have a task to replicate about 11G of files with 500k total files count.
I say replication not mirroring i.e. I need to copy modified files to slaves 
almost imidiately after the change. 
Tried to find some ready solution but fails.
There is FAM from SGI but it fails to work properly on FreeBSD (it makes silly 
stat(2) calls).
kevent(2) also don't have anough API to watch = 500k files.
So I see the only way is to have kernel module that watch kernel calls for 
file operations.

So is there some other points to build a file replication?

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


Re: File tree replication in FreeBSD

2004-06-27 Thread Luke Kearney

On Sun, 27 Jun 2004 13:48:07 +0400
Kentucky Mandeloid Mo. [EMAIL PROTECTED] spake thus:

 I'm looking for file replication solution for FreeBSD.
 
 I have a task to replicate about 11G of files with 500k total files count.
 I say replication not mirroring i.e. I need to copy modified files to slaves 
 almost imidiately after the change. 
 Tried to find some ready solution but fails.
 There is FAM from SGI but it fails to work properly on FreeBSD (it makes silly 
 stat(2) calls).
 kevent(2) also don't have anough API to watch = 500k files.
 So I see the only way is to have kernel module that watch kernel calls for 
 file operations.
 
 So is there some other points to build a file replication?

Can I suggest you investigate rsync ? It will allow you to replicate
file trees pretty much on demand across a LAN or indeed the internet
should you choose to. Works over SSH so it's nice and secure and if you
need virtually instant replication you could conceivably run this from a
cron job every N minutes.

/usr/ports/net/rsync

HTH

LukeK

-- 
Luke Kearney [EMAIL PROTECTED]

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


Gigafast usb wireless network card

2004-06-27 Thread Ganesh Kini
Is it possible to configure Gigafast wireless network card WF741-UIC on x86 machine?

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


Linux emulator core dumps at install

2004-06-27 Thread Marco Beishuizen
I tried to install the Linux emulator from the ports on FreeBSD 
4.10-stable (i386) but it crashes when it installs:

...
=== Installing for linux_base-7.1_7
=== Generating temporary packing list
kern.fallback_elf_brand: 3 - 3
glibc-common-2.2.4-33.i386.rpm
package glibc not listed in conflict index
glibc-2.2.4-33.i386.rpm
execution of glibc-2.2.4-33 script failed, exit status 0
*** Error code 1
...
Is there a solution for this?
Thanks,
Marco
--
Blore's Razor:
Given a choice between two theories, take the one which is
funnier.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gigafast usb wireless network card

2004-06-27 Thread Arjan Van Leeuwen
Hi,

On Sat, 26 Jun 2004 13:53:53 -0400, Ganesh Kini [EMAIL PROTECTED] wrote:
 
 Is it possible to configure Gigafast wireless network card WF741-UIC on x86 machine?

Check the atuwi project (http://vitsch.net/bsd/atuwi/), it might work
with this card.

Arjan

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

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


Re: Using sendmail

2004-06-27 Thread Giorgos Keramidas
On 2004-06-25 10:12, antenneX [EMAIL PROTECTED] wrote:
 
 Giorgos: Thanks for your review of my setup  I did change the IP for
 server2 back to 200.200.200.102 -- however, now the emails go straight
 though the firewall port on server1 to sendmail on server2 and
 apparently bypasses sendmail on server1. If it bypasses sendmail on
 server1, I cannot use greylisting to filter the emails before being sent
 over to server2.
 
 I'm still missing something here.

I'm afraid I haven't kept notes about your network setup, the name and
IP address of each server involved, and their Sendmail options.

Can you, please, show me what these commands print?

server1# ifconfig -a
server1# host server1.example.net
server1# host server2.example.net
server1# host -t mx example.net

server2# ifconfig -a
server2# host server1.example.net
server2# host server2.example.net
server2# host -t mx example.net

A detailed description (including verbatim copies of the relevant files)
of the Sendmail setup on each host would be very nice too.

- Giorgos

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


Re: Shared Partitions?

2004-06-27 Thread Bill Moran
Thomas Moyer [EMAIL PROTECTED] wrote:
 I have a Fat32 partition that I use to share files between Windows and
 FreeBSD.  I have it mounted on /home and when it mounts the owner of all
 the files is root and the group is wheel.  Is there a way to change that
 so it acts like a normal home partition? In other words the individual
 directories and files are owned by the user etc.

Unfortunately, no.  This is because FAT doesn't support users and groups
(or permissions for that matter) so the mount has to have everything
owned by one user/group.  Thus it won't work as a /home partition because
each /home/user directory should be owned by the user.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Asus P4S800D-E Deluxe

2004-06-27 Thread User LAFFER1
I've noticed that many newer Asus boards have ACPI problems with FreeBSD. 
Its a shame because i have always bought asus boards since I learned of 
them.

On Sat, 26 Jun 2004, Doug Poland wrote:
On Sun, Jun 27, 2004 at 12:15:18AM +0100, Shaun Friedle wrote:
On Sat, 2004-06-26 at 18:42, Doug Poland wrote:
I currently have an Asus P4C800 Deluxe which is okay - until I turn off
ACPI and then I get a Fatal trap 9: general protection fault while is
kernel mode while booting. I need to be able to turn off ACPI as the
nvidia driver doesn't work with it on.
The P4S800D-E Deluxe is very similar is features to the P4C800 Deluxe
and I want to make sure that it doesn't suffer from the same problem
before I buy it.
Sorry, it does suffer the same problem.  I've got an nVidia 5700
that's running the XFree86 nv driver because of this issue.
Hi,
It's a good job I checked first then. Do you know of any boards that
offer similar features, but don't have this problem?
No, I don't.  Someone created a webapp that attempted to rate the
performance of mobos for FBSD.  The URL is:
  http://www.eilio.com/freebsd-motherboards/
I just checked it out and it seems to be stale now.  There's a MySQL
connect error visible on the page.  Also, it didn't rate ACPI
compatibility/performance which is something you really want to know.
--
Regards,
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tripwire on 5.2.1

2004-06-27 Thread User LAFFER1
I was able to get a really old version in ports to work, but not the most 
recent build.  The old version occasionally crashed on me when running a 
check on the filesystem.  I would look at some of the alternatives to 
tripwire in ports for a 5.x system.

On Sun, 27 Jun 2004, dave wrote:
Hello,
A while back i tried installing the tripwire port, but it reported as
broken. I was wondering is anyone using this on 5.2.1?
Thanks.
Dave.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: File tree replication in FreeBSD

2004-06-27 Thread Kentucky Mandeloid Mo.
On Sunday 27 June 2004 15:20, Luke Kearney wrote:
 On Sun, 27 Jun 2004 13:48:07 +0400

 Kentucky Mandeloid Mo. [EMAIL PROTECTED] spake thus:
  I'm looking for file replication solution for FreeBSD.
 
  I have a task to replicate about 11G of files with 500k total files
  count. I say replication not mirroring i.e. I need to copy modified files
  to slaves almost imidiately after the change.
  Tried to find some ready solution but fails.
  There is FAM from SGI but it fails to work properly on FreeBSD (it makes
  silly stat(2) calls).
  kevent(2) also don't have anough API to watch = 500k files.
  So I see the only way is to have kernel module that watch kernel calls
  for file operations.
 
  So is there some other points to build a file replication?

 Can I suggest you investigate rsync ? It will allow you to replicate
 file trees pretty much on demand across a LAN or indeed the internet
 should you choose to. Works over SSH so it's nice and secure and if you
 need virtually instant replication you could conceivably run this from a
 cron job every N minutes.

 /usr/ports/net/rsync

Yes. I use rsync already and its a great tool.
But actually its too slow with numbers of fles  100k.
Its takes more then 5mins to found just few files to update in list of 500k 
files.

So I decide rsync to be a transport manager for my own replication tool. 
Right now I'm writing a kernel module that catches all file syscalls that can 
modify a file. Its almost done exept rmdir  unlink calls - I don't know how 
to get a cwd from a thread. Function kern___getcwd sometimes fails with not 
a directory error. 
BTW, whats a good place where can I ask about kernel programming?

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


Re: zorp and freebsd

2004-06-27 Thread Bill Moran
MEZEI Tamas [EMAIL PROTECTED] wrote:
 Hi,
 
 is there any way to do transparent proxying in FreeBSD? I'd be happy 
 to have a fully functional Zorp server based on FreeBSD.
 
 Transparent proxying is working on Linux via the TPROXY patch, but ipf 
 rdr methods are not really the same. Is there any way to implement that 
 transparent stuff in FreeBSD? Are there any unofficial modifications 
 (don't slap me please ;)?

Never heard of Zorp, but I've used Squid for transparent HTTP proxying,
worked fine.

If you're looking for an overall proxy, I don't know.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cue images

2004-06-27 Thread Paulo Roberto
Hello,

Is there any program that runs on fbsd that allows burning cue files?
I did not find anything about it on the burncd man page.

thanks,

Paulo




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetchmail question

2004-06-27 Thread Gautam Gopalakrishnan
On Sun, 27 Jun 2004 15:02:57 +0545, Bikrant Neupane
[EMAIL PROTECTED] wrote:
 
 
 Sorry.. I mentioned the wrong header :(
 Indeed the hearder was added by sendmail.
 
 This is the one added by fetchmail
 
 Received: from pop2.wlink.com.np [202.79.32.43]
 by localhost with POP3 (fetchmail-5.9.0)
 for [EMAIL PROTECTED] (single-drop); Sun, 27 Jun 2004 00:32:39 +0545
 (NPT)
 

Hello! Would you mind posting your .fetchmailrc here?
I think it should have a user1 there is user2 here clause.

poll server.host with proto POP3
user 'remoteuser' there is 'localuser' here options flush fetchall ssl

So mail for remoteuser gets delivered to localuser.

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


fbdev

2004-06-27 Thread Paulo Roberto
Hi,

Second question in a row...

I am trying to configure X to use the linux frame buffer, but when I
try to run X, it complains about no fbdev module. It seems X does not
come with it installed. Any procedure on getting fbdev working on 4.10?

thanks again,

Paulo




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A SED script

2004-06-27 Thread antenneX
- Original Message - 
From: Malcolm Kay [EMAIL PROTECTED]
To: antenneX [EMAIL PROTECTED]; Giorgos Keramidas
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, June 26, 2004 10:35 PM
Subject: Re: A SED script


 On Sunday 27 June 2004 07:49, antenneX wrote:
  - Original Message -
  From: Giorgos Keramidas [EMAIL PROTECTED]
  To: antenneX [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Saturday, June 26, 2004 1:40 PM
  Subject: Re: A SED script
 
   On 2004-06-26 12:08, antenneX [EMAIL PROTECTED] wrote:
I cannot get it to work on another file (perl.pl file) to change
the
 
  line:
$OrderNumPrefix = ATX060; to $OrderNumPrefix = ATX070;
   
I suspect I'm not handling the quotes or other operators
correctly
 
  and it
 
just ignores the change.
   
Here's the snippet of the script I'm trying to use:
#!/bin/sh
new=`grep -i new /path/to/newfile`
old=`grep -i new /path/to/oldfile`

 It would seem that the variables new and old will both be set to
something
 containing 'new' (perhaps not in lower case).
 How does this relate to ATX060 and ATX070?

sed -i.bak -e s/$old/$new/ /path/to/myfile
  
   The results depend heavily on the existence and contents of the
two
 
  files
 
   named /path/to/{old,new}file.  I'm sure if you change the sed line
to:
  
   sed -i.bak -e 's/ATX060/ATX070/' /path/to/myfile
  
   it will all work fine.
 
  Indeed, this works fine. The old/new files are needed to set the
  varibles to hold the new number for the next time as this is run via
  cron.
 

 You've still not shown us the relevant lines of /path/to/newfile or
 /path/to/oldfile

  old = ATX060
  new = ATX070

 What are these? The contents of /path/to/{new,old}file?
 If so sed will be looking to change the string old = ATX060 to
 new = ATX070.

 Or do the files simply consist of
 ATX060
 and
 ATX070
 ?
 If so then grep is not the right command to load the variables old and
new.
 Try:
   new=`cat /path/to/newfile`
   old=`cat /path/to/oldfile`

 Malcolm


I've solved the script ptoblem with a verbose run of the script  it
told me exactly what was wrong -- the two varibles newfile  oldfile
were not defined properly.

Running this showed the error:
/bin/sh -xv ./myscript

Sorry I didn't think to do this in the first place.

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


Re: cue images

2004-06-27 Thread Jeremy Faulkner
Paulo Roberto wrote:
Hello,
Is there any program that runs on fbsd that allows burning cue files?
I did not find anything about it on the burncd man page.
thanks,
Paulo
.bin/.cue files are not standard. Use ports/sysutils/bchunk to convert 
them to a standard ISO image.

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


Re: File tree replication in FreeBSD

2004-06-27 Thread Bill Moran
Kentucky Mandeloid Mo. [EMAIL PROTECTED] wrote:
 On Sunday 27 June 2004 15:20, Luke Kearney wrote:
  On Sun, 27 Jun 2004 13:48:07 +0400
 
  Kentucky Mandeloid Mo. [EMAIL PROTECTED] spake thus:
   I'm looking for file replication solution for FreeBSD.
  
   I have a task to replicate about 11G of files with 500k total files
   count. I say replication not mirroring i.e. I need to copy modified files
   to slaves almost imidiately after the change.
   Tried to find some ready solution but fails.
   There is FAM from SGI but it fails to work properly on FreeBSD (it makes
   silly stat(2) calls).
   kevent(2) also don't have anough API to watch = 500k files.
   So I see the only way is to have kernel module that watch kernel calls
   for file operations.
  
   So is there some other points to build a file replication?
 
  Can I suggest you investigate rsync ? It will allow you to replicate
  file trees pretty much on demand across a LAN or indeed the internet
  should you choose to. Works over SSH so it's nice and secure and if you
  need virtually instant replication you could conceivably run this from a
  cron job every N minutes.
 
  /usr/ports/net/rsync
 
 Yes. I use rsync already and its a great tool.
 But actually its too slow with numbers of fles  100k.
 Its takes more then 5mins to found just few files to update in list of 500k 
 files.
 
 So I decide rsync to be a transport manager for my own replication tool. 
 Right now I'm writing a kernel module that catches all file syscalls that can 
 modify a file. Its almost done exept rmdir  unlink calls - I don't know how 
 to get a cwd from a thread. Function kern___getcwd sometimes fails with not 
 a directory error. 
 BTW, whats a good place where can I ask about kernel programming?

[EMAIL PROTECTED] is the best place I know of.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using sendmail

2004-06-27 Thread antenneX
- Original Message - 
From: Giorgos Keramidas [EMAIL PROTECTED]
To: antenneX [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, June 27, 2004 7:50 AM
Subject: Re: Using sendmail


 On 2004-06-25 10:12, antenneX [EMAIL PROTECTED] wrote:
 
  Giorgos: Thanks for your review of my setup  I did change the IP
for
  server2 back to 200.200.200.102 -- however, now the emails go
straight
  though the firewall port on server1 to sendmail on server2 and
  apparently bypasses sendmail on server1. If it bypasses sendmail on
  server1, I cannot use greylisting to filter the emails before being
sent
  over to server2.
 
  I'm still missing something here.

 I'm afraid I haven't kept notes about your network setup, the name and
 IP address of each server involved, and their Sendmail options.

 Can you, please, show me what these commands print?


Giorgos: Thanks for your patience and willingness to help.

As far as sendmail (8.12.11) options, my configs are pretty much out of
the box except for the spamassassin  majordomo addins. I believe below
is all the pertinent info, but if I've missed anything needed, just let
me know:

server1 = franklin-belle.com (gateway/firewall/nat/router)
server2 = antentop.com (server is on same LAN with NAT route from
server1)

[EMAIL PROTECTED]:-) host franklin-belle.com
franklin-belle.com has address 65.68.247.73
franklin-belle.com mail is handled (pri=0) by mail.franklin-belle.com

[EMAIL PROTECTED]:-) host antentop.com
antentop.com has address 65.68.247.75
antentop.com mail is handled (pri=0) by mail.antentop.com


[EMAIL PROTECTED]:-) host -t mx franklin-belle.com
franklin-belle.com mail is handled (pri=0) by mail.franklin-belle.com

[EMAIL PROTECTED]:-) host -t mx antentop.com
antentop.com mail is handled (pri=0) by mail.antentop.com

local-host-names (franklin-belle.com)
franklin-belle.com
mail.franklin-belle.com

local-host-names (antentop.com)
antentop.com
mail.antentop.com

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


Re: Using sendmail - One more file

2004-06-27 Thread antenneX
- Original Message - 
From: Giorgos Keramidas [EMAIL PROTECTED]
To: antenneX [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, June 27, 2004 7:50 AM
Subject: Re: Using sendmail


 On 2004-06-25 10:12, antenneX [EMAIL PROTECTED] wrote:
 
  Giorgos: Thanks for your review of my setup  I did change the IP
for
  server2 back to 200.200.200.102 -- however, now the emails go
straight
  though the firewall port on server1 to sendmail on server2 and
  apparently bypasses sendmail on server1. If it bypasses sendmail on
  server1, I cannot use greylisting to filter the emails before being
sent
  over to server2.
 
  I'm still missing something here.

 I'm afraid I haven't kept notes about your network setup, the name and
 IP address of each server involved, and their Sendmail options.


I forgot to include the mailertable from server1:
mail.antentop.comesmtp.mail.antentop.com

No mailertable on server2


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


why link broken?!

2004-06-27 Thread Eugene Ivanov
Hello, freebsd-questions.

i downloading a file
http://ftp9.us.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/5.2.1/5.2.1-RELEASE-i386-disc1.iso
and 200 Mb is now to me, but don't download :(

why?!

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


Re: cue images

2004-06-27 Thread Miguel Mendez
On Sun, 27 Jun 2004 10:30:58 -0400
Jeremy Faulkner [EMAIL PROTECTED] wrote:

Hi,

  Is there any program that runs on fbsd that allows burning cue
  files? I did not find anything about it on the burncd man page.

 .bin/.cue files are not standard. Use ports/sysutils/bchunk to convert
 them to a standard ISO image.

Actually, bin/cue is pretty much standard (at least in the win32 world),
and sysutils/cdrdao can burn those without any problem.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpolPsKkoLAa.pgp
Description: PGP signature


Re: why link broken?!

2004-06-27 Thread Remko Lodder
Eugene Ivanov wrote:
Hello, freebsd-questions.
i downloading a file
http://ftp9.us.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/5.2.1/5.2.1-RELEASE-i386-disc1.iso
and 200 Mb is now to me, but don't download :(
why?!
Eugene.

Network problems might be the reason, did you try another host ?
If not, please try another one, perhaps that does work.
Cheers
--
Kind regards,
Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cue images

2004-06-27 Thread Marc Fonvieille
On Sun, Jun 27, 2004 at 06:55:32AM -0700, Paulo Roberto wrote:
 Hello,
 
 Is there any program that runs on fbsd that allows burning cue files?
 I did not find anything about it on the burncd man page.


cdrdao does it.

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


Re: any use to build from source?

2004-06-27 Thread Chuck Swiger
Kai Grossjohann wrote:
Charles Swiger [EMAIL PROTECTED] writes:
Oh, yes.  The first time you run into a problem and fix it yourself,
or make a change to the programs to add some feature that you want,
you will discover the serious advantages.
However, if you never try to fix bugs or write code for yourself, then
you aren't going to gain nearly as much from using source compared
with using precompiled binaries.
How does one deal with local changes in the software when installing
as a port?
One way is to put your local changes into files/patch-aa [1] using diff 
format.  Other times it's as simple as defining some environment variables by 
passing them into make, via /etc/make.conf, etc.

--
-Chuck
[1]: Choose whatever name seems appropriate, perhaps files/patch-src-file.c; 
the patch-aa naming convention works fine but is depricated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: next question re the Thinkpad.

2004-06-27 Thread j . e . drews
Hi Gary:

 You can look here and see if your Thinkpad runs FreeBSD:

The FreeBSD Laptop Compatibility List
http://gerda.univie.ac.at/freebsd-laptops/

This list is up to date. I had a 600E Thinkpad running 4.9. The USB printer, scanner 
and Lexar 
flash ram storage worked well on it.

  Kind regards,
  Jonathan


 
   Is anybody using a Thinkpad among the list?  I have found one
   with the 
 
   ``SMC 2206 compact USB-Ethernet adapter for connecting to
   ethernet networks.''
 
   In LINT (4.10) I see SMC 2202USB listed.  
 
   Can anybody help me?
 
   gary
 
 
 
 -- 
Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cue images

2004-06-27 Thread Jeremy Faulkner
Miguel Mendez wrote:
On Sun, 27 Jun 2004 10:30:58 -0400
Jeremy Faulkner [EMAIL PROTECTED] wrote:
Hi,

Is there any program that runs on fbsd that allows burning cue
files? I did not find anything about it on the burncd man page.

.bin/.cue files are not standard. Use ports/sysutils/bchunk to convert
them to a standard ISO image.

Actually, bin/cue is pretty much standard (at least in the win32 world),
and sysutils/cdrdao can burn those without any problem.
Cheers,
What international standard describes their format?
Windows is not a standard.
--
Jeremy Faulkner http://www.gldis.ca
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Cable management

2004-06-27 Thread Jorn Argelo
Bill Sawyer wrote:
Jorn Argelo [EMAIL PROTECTED] 06/26 3:25 PM 
   

Main point is, I want to get rid of VGA cables, power cables, PS2 
cables, USB cables etcetera. So I have more use of a big cable gutter 
then a patch panel.
 

Jorn,
Sounds like you're a good candidate for a KVM switch, if you have more than one 
computer in the same workspace.  I'd recommend looking on eBay for Cybex KVM switches.
Bill Sawyer
Information Systems
Six Flags St. Louis
(636) 938-5300 x. 231
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I already have a KVM switch :-)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: cue images

2004-06-27 Thread Daniel Eriksson
Jeremy Faulkner wrote: 

 What international standard describes their format?
 
 Windows is not a standard.

Many times a de-facto standard is just as important/valid as a real
standard.

/Daniel Eriksson


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


Re: Forgot to add...

2004-06-27 Thread Chuck Swiger
3BSD wrote:
One thing I forgot to add to be previous e-mail about hardware
compatibility was that I'm using the DVI port of my graphics card,
connected to an LCD display, will that pose any problems?
Generally not.  To the extent that your configuration of video card and 
monitor can be treated as a generic (s)VGA display, FreeBSD will be 
plug-and-play for text mode (booting, console), and will also work genericly 
under X11.

Getting 3D hardware support going for fast OpenGL stuff, and/or doing a 
multimonitor display mode are more complicated questions, but generally one 
can get such things working after more tweaking and time spent on your part.

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


[from newbies] RE: IPFW2 + 4.10

2004-06-27 Thread clayton rollins
On June 28, 2004, Matt [EMAIL PROTECTED] wrote:
Hello freebsd-newbies,
  I am still fairly new at the BSD level, migrated from linux. The
  question that I have is, is Version 4.10 kernel compiled with IPFW2,
  I know the doc's say that CURRENT version has and that it was
  implemented in 2002, yet the doc's say that STABLE does not have
  it compiled into the kernel.
  Can some one please clarify
  --
Best regards,
 Matt  mailto:[EMAIL PROTECTED]
Hi Matt,
(Can't reply on -newbies, it's a list charter thing :).)
4.x versions come from the STABLE branch  and, so, do not
have ipfw2 compiled in the kernel by default. (Instead, they
use the older, and more tested, ipfw.)
If you want ipfw2, refer to 'man 8 ipfw', the section using
ipfw2 on freebsd-stable, for very good instructions.
Regards,
Clayton
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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