tcpdump (/dev/bpf* permission) in FreeBSD-current

2004-07-04 Thread Patrick Dung
Hi nbsp; For FreeBSD-stable, I can change the permission of the /dev/bpf*. But for FreeBSD-current, the bpf device is created at runtime. There is no way to decided the user/group and permission of the device created. (/etc/devfs.conf can be used, but it had to be start after the device is

Re: tcpdump (/dev/bpf* permission) in FreeBSD-current

2004-07-07 Thread Patrick Dung
Only /dev/bpf0 is there at boot time But when I run tcpdump, it automatically create /dev/bpf1 (I have multiple NIC). Running devfs at boot time cannot set the /dev/bpf1, which is not present. --- Lowell Gilbert [EMAIL PROTECTED] Patrick Dung [EMAIL PROTECTED] writes: There is no way

Re: tcpdump (/dev/bpf* permission) in FreeBSD-current

2004-07-09 Thread Patrick Dung
--- Lowell Gilbert [EMAIL PROTECTED] Patrick Dung [EMAIL PROTECTED] writes: Only /dev/bpf0 is there at boot time But when I run tcpdump, it automatically create /dev/bpf1 (I have multiple NIC). Running devfs at boot time cannot set the /dev/bpf1, which is not present. Running

Re: tcpdump (/dev/bpf* permission) in FreeBSD-current

2004-07-11 Thread Patrick Dung
My last mail is waiting for the mailing list approval. But it was already some days, so I sent it again. --- Patrick Dung [EMAIL PROTECTED] --- Lowell Gilbert [EMAIL PROTECTED] Patrick Dung [EMAIL PROTECTED] writes: Only /dev/bpf0 is there at boot time But when I run tcpdump

Curious question about FreeBSD's TCP/IP and SMP locking

2004-08-01 Thread Patrick Dung
Hi After browsing the *BSD cvsweb site, I have found that FreeBSD-current's TCPIP code has added locking/mutex in it. I am not programmer but I want to know what is the use of adding so much locks/mutex in the stack? Also, would it make a newbie/beginner feel difficult to understand the code (I

Mount name length limit (MNAMELEN)

2004-08-05 Thread Patrick Dung
Hi It seems that the constant is in /usr/sys/sys/mount.h. The limit is already there since the initial import in 1995. (From 4.4BSD?) I want to know what is the root cause preventing a larger value. PS: I have found some interesting links about MNAMELEN:

FreeBSD6 NATT L2TP IPSEC

2005-11-28 Thread Patrick Dung
Hi I have ipsec-tools's freebsd6 natt patch on the kernel. Run ipsec-tools(racoon with natt). NATT should work (I see phase 2 message pass between client (XP) and the FreeBSD server. Windows behind NAT (registry changed to do NATT) It seems the l2tpd (from ports 0.69) does not start (which call

Resired features/wish list for FreeBSD

2004-10-28 Thread Patrick Dung
Hi First of all, I know that most commiters or contributors contribute their work in their free time. I am not asking for any promise but I just want to discuss possible improvement for FreeBSD. OK, after using FreeBSD for some time, I would like to see FreeBSD have these features/improvements:

Re: Resired features/wish list for FreeBSD

2004-10-28 Thread Patrick Dung
--- Jeremy Faulkner [EMAIL PROTECTED] wrote On Thu, 2004-10-28 at 16:07, Patrick Dung wrote: 1) OpenLDAP Integration FreeBSD has OpenLDAP support in the ports, but I think it would be great if FreeBSD support LDAP out of the box (just like Solaris and most Linux distro) Why? It's

question about floating point calcuation with shell script / bc

2007-11-12 Thread Patrick Dung
Hi I have a file with numbers in each line. Each number is a decimal number. My task is to add them up and get the final answer. I have searched with the search engine. I found bash cannot handle floating point calculation. I tried to use 'bc' and found if the final answer is 1 (eg. 0.2) It

Re: question about floating point calcuation with shell script / bc

2007-11-12 Thread Patrick Dung
Hello Peter Thanks, it work. Regards Patrick --- Peter Boosten [EMAIL PROTECTED] wrote: On Mon, November 12, 2007 14:01, Patrick Dung wrote: Hi I have a file with numbers in each line. Each number is a decimal number. My task is to add them up and get the final answer. I

Bash script to find out the summary of user memory usage [not working]

2007-12-14 Thread Patrick Dung
Hello, any idea about why below script is not working? The final sum is empty.. #!/usr/local/bin/bash for user in `ps -A -o user | sort | uniq | tail +2` do echo user: $user ps aux -U $user | tail +2 | while read line do mem=`echo $line | awk {'print $4'}` echo mem:

Re: Bash script to find out the summary of user memory usage [not working]

2007-12-17 Thread Patrick Dung
--- Patrick Dung [EMAIL PROTECTED] wrote: Hello, any idea about why below script is not working? The final sum is empty.. #!/usr/local/bin/bash for user in `ps -A -o user | sort | uniq | tail +2` do echo user: $user ps aux -U $user | tail +2 | while read line do

password againg and other policy enforcement

2007-06-30 Thread Patrick Dung
I have some question about password policy in FreeBSD: 1. Administrator can enforce password expire in /etc/login.conf Is there any tool that can check when the password will expire for the users? 2. Any good way to enforce minimum password length and other restriction(like password need at

Re: password againg and other policy enforcement

2007-06-30 Thread Patrick Dung
). The user can use password A, then user change to password B and then change back to password A... Regards Patrick --- Manolis Kiagias [EMAIL PROTECTED] wrote: Patrick Dung wrote: I have some question about password policy in FreeBSD: 1. Administrator can enforce password expire in /etc

FreeBSD 6.2 default bind9, question about customize logging

2007-07-07 Thread Patrick Dung
I am using FreeBSD 6.2 with the default bind (not ports). By default chroot is used. When named start or stop, it does have log in /var/log/messages. But for example, when some do domain transfer successfully, that is not logged (zone transfer denied is logged). So I tried to add this part in

FreeBSD 6.2 default bind9, question about customize logging [re-post]

2007-07-08 Thread Patrick Dung
I am using FreeBSD 6.2 with the default bind (not ports). By default chroot is used. When named start or stop, it does have log in /var/log/messages. But for example, when some do domain transfer successfully, that is not logged (zone transfer denied is logged). So I tried to add this part in

Re: FreeBSD 6.2 default bind9, question about customize logging [re-post] (solved)

2007-07-11 Thread Patrick Dung
--- Doug Barton [EMAIL PROTECTED] wrote: On Sunday, 8 July 2007 at 12:06:26 -0700, Patrick Dung wrote: I am using FreeBSD 6.2 with the default bind (not ports). By default chroot is used. It's not a major issue, but it's probably worth pointing out that whatever code base you use

ISC bind9 with dynamic DNS update (chroot problem)

2007-07-27 Thread Patrick Dung
Hi I use FreeBSD 6.2 and the base bind9. For dynamic DNS update, bind9 automatically generate the journal file (end in .jnl). The default config is to use chroot and the running user as 'bind'. The problem is that after named is started (/etc/init.d/named start), the default chroot directory

Re: ISC bind9 with dynamic DNS update (chroot problem)

2007-07-29 Thread Patrick Dung
Thanks for reply. Your suggestion solved my problem, thanks. Yes, /etc/init.d/named is a typo. Regards Patrick --- Doug Barton [EMAIL PROTECTED] wrote: Patrick Dung wrote: Hi I use FreeBSD 6.2 and the base bind9. For dynamic DNS update, bind9 automatically generate the journal file

Question about the difference of with and without SGID on directory

2007-05-31 Thread Patrick Dung
Hi I found Free/Net/OpenBSD semantic is different from Linux/Solaris. Suppose there is a directory called 'directory, With owner www, and group www and permission 0777. Then I touch a file: $ touch file $ ls -la total 4 drwxrwxrwx 2 www www512 May 31 17:14 . drwxrwxrwt 8 root wheel

Maximum number established TCP connection

2008-03-03 Thread Patrick Dung
Hello I would like if there is a (countable) limit for the max TCP connection of a Apache web server. Suppose: 1. An apache web server serves a very big iso file. 2. 5000 people tried to connect to the apache server to get the iso file. 3. They connect to the server gradually (not 5000 people

Re: Maximum number established TCP connection

2008-03-03 Thread Patrick Dung
--- Bill Moran [EMAIL PROTECTED] wrote: In response to Matthew Seaman [EMAIL PROTECTED]: Bill Moran wrote: In response to Patrick Dung [EMAIL PROTECTED]: Hello I would like if there is a (countable) limit for the max TCP connection of a Apache web server. Suppose

Any software that can do X windows screen capture (with mouse cursor)

2008-03-18 Thread Patrick Dung
Hello As title, I have tried xwd, it can't capture mouse curosr. Regards Patrick Looking for last minute shopping deals? Find them fast with Yahoo! Search.

How to clear strage route in routing table?

2007-01-11 Thread Patrick Dung
Hi Suppose I have mistype a command: # route add 192.168.3.0 255.255.255.0 192.168.3.1 There is a strange routing table and I am unable to remove it unless reboot: 192.168.00xc0a80301 255.255.255.0 UGS 0 86 fxp0 Any ideas?

How to clear strage route in routing table?

2007-01-11 Thread Patrick Dung
Hi Suppose I have mistype a command: # route add 192.168.3.0 255.255.255.0 192.168.3.1 There is a strange routing table and I am unable to remove it unless reboot: 192.168.00xc0a80301 255.255.255.0 UGS 0 86 fxp0 Any ideas?

Re: How to clear strage route in routing table?

2007-01-12 Thread Patrick Dung
128.0.10xac101501 255.255.255.0 route: bad address: 128.0.10xac101501 [EMAIL PROTECTED] ~]# route delete 128.0.1 255.255.255.0 route: writing to routing socket: No such process delete host 128.0.1: gateway 255.255.255.0: not in table --- Oliver Fromme [EMAIL PROTECTED] wrote: Patrick Dung wrote: Suppose

Re: How to clear strage route in routing table?

2007-01-12 Thread Patrick Dung
to routing socket: No such process delete net 192.168.3.0: not in table [EMAIL PROTECTED] ~]# route delete -host 192.168.3.0 delete host 192.168.3.0 --- Nikos Vassiliadis [EMAIL PROTECTED] wrote: On Thursday 11 January 2007 19:01, Patrick Dung wrote: Hi Suppose I have mistype a command

About QUOTA support in stock kernel

2012-12-21 Thread Patrick Dung
Hi, I would like to know why quota is not enabled in the stock kernel.. I remembered that it is not enabled since freebsd 3.5 or freebsd 4 generation. Now in freebsd 9.0, it still neeed a kernel rebuild. I have heard it has performance issue (GIANT lock) about quota. Regards, Patrick

The logo at boot (Nakatomi Socrates BSD 9.2)

2013-09-04 Thread Patrick Dung
Hello, Do you know what is this logo means, or the story behind it? I thought the BSD daemon (logo) has been around for many years in the past. Thanks and regards, Patrick Dung ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

Re: The logo at boot (Nakatomi Socrates BSD 9.2)

2013-09-04 Thread Patrick Dung
Oh I see. I have found that the logo was mentioned in news group org.freebsd.freebsd-chat back in 1997. From: Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org To: Patrick Dung patrick_...@yahoo.com.hk Cc: freebsd-questions@freebsd.org freebsd-questions

Re: The logo at boot (Nakatomi Socrates BSD 9.2)

2013-09-05 Thread Patrick Dung
On Wed, 4 Sep 2013, Lowell Gilbert wrote: Patrick Dung patrick_dkt at yahoo.com.hk writes: Do you know what is this logo means, or the story behind it? I thought the BSD daemon (logo) has been around for many years in the past. It's a movie reference (Die

Question about those special (countdown numbers) at shutdown / sync

2013-09-05 Thread Patrick Dung
Hello! I am curious about the special (count down numbers) at shutdown / sync. Those nubmers is like 8 8 8 8 2 1 2 1 0 0 0 0. Actually what do those numbers mean? Thanks and regards, Patrick Dung ___ freebsd-questions@freebsd.org mailing list http

Re: Question about those special (countdown numbers) at shutdown / sync

2013-09-05 Thread Patrick Dung
Thanks for the answer. That is cool and unique. From: Polytropon free...@edvax.de To: Patrick Dung patrick_...@yahoo.com.hk Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Thursday, September 5, 2013 9:42 PM Subject: Re: Question about

About Transparent Superpages and Non-transparent superapges

2013-09-16 Thread Patrick Dung
me if it is not the case. Thanks and regards, Patrick Dung ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org