RE: named in sandbox

2004-05-21 Thread Mitch (bitblock)
You need to compile named-xfer as statically linked, or move it's dependant
libraries into the chroot.

Can't remember the details of how I did that, and I don't use named any
more - but that's your problem.

hope that helps.

m/

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Reza
 Sent: Thursday, May 20, 2004 10:02 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: named in sandbox


 dear All,

 I running named in sandbox as a secondary name server with
 FreeBSD-5.1.p17,
 Named log always complain:
 named-xfer exited with signal 6 and slave zone expired for every zone
 transfer.
 but, when it's running on default mode (no chroot sandbox) or as a
 primary server (with chroot sandbox). named work fine.
 please help me , how to make secondary zone transfer running in sandbox

 regards
 reza

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 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: defining knobs in pkgtools.conf question

2004-05-21 Thread Chiang Seng Chang
but I found this in /var/db/pkg/python/options:

# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for python-2.3.3_5
_OPTIONS_READ=python-2.3.3_5
WITH_THREADS=true
WITHOUT_HUGE_STACK_SIZE=true
WITH_UCS2=true
WITH_PYMALLOC=true

So I suppose the safest way is to install a port interactively the 1st
time and then import the options file into pkgtools.conf

-cs

On Fri, May 21, 2004 at 12:48:50AM +, Andy Smith wrote:
 On Wed, May 19, 2004 at 02:20:55PM -0400, Chiang Seng Chang wrote:
  === quote ===
  
  OPTIONS=THREADS Enable thread support on \
  HUGE_STACK_SIZE Use a larger thread stack off \
  UCS2 Use UCS2 instead of UCS4 for unicode support off \
  PYMALLOC Uses python's internal malloc on
  
  .include bsd.port.pre.mk
  
  .if defined(WITH_THREADS)
  CONFIGURE_ARGS+=--with-threads
  CFLAGS+=${PTHREAD_CFLAGS}
  .if defined(WITHOUT_HUGE_STACK_SIZE)
  CFLAGS+=-DTHREAD_STACK_SIZE=0x2
  .else
  CFLAGS+=-DTHREAD_STACK_SIZE=0x10
  .endif # defined(WITHOUT_HUGE_STACK_SIZE)
  CONFIGURE_ENV+= LDFLAGS=${PTHREAD_LIBS} ${LDFLAGS}
  .else
  CONFIGURE_ARGS+=--without-threads
  .if defined(LDFLAGS)
  CONFIGURE_ENV+= LDFLAGS=${LDFLAGS}
  .endif # defined(LDFLAGS)
  .endif # defined(WITH_THREADS)
  
  .if defined(WITHOUT_UCS2)
  CONFIGURE_ARGS+=--enable-unicode=ucs4
  .endif
  
  .if defined(WITHOUT_PYMALLOC)
  CONFIGURE_ARGS+=--without-pymalloc
  .endif
  
  === end quote ===
  
  So if I wish to put the knobs into pkgtools.conf so that it can build it 
  batch mode, do I:
  
  WITH_THREADS=1
  WITHOUT_HUGE_STACK_SIZE=1
 
 I think that you only need to match the variables used in the
 Makefile.  So the above would be correct, and the following two
 should just be omitted:
 
  WITH_UCS2=1
  WITH_PYMALLOC=1
 
 Don't forget you'll need to set BATCH as well.
 
  I guess my question is how to decide wheather to use WITH_XXX=1 or 
  WITHOUT_XXX=0 ?
 
 Set the exact same variables as the Makefile is testing.
 
  does WITH_XXX=0 result in #defined(WITH_XXX) returning false ?
 
 I believe not, as defined() only tests if that name is defined,
 not what its value is.
 
 -- 
 http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


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


[no subject]

2004-05-21 Thread putnam


Summery: 3rd yr. Bacholars Fine Art Student. (Painting Sculpture)

Direction:   Masters Architecture  Civil Engineering

Goals:   Compitant undrstranding of computers and how they function, how
 to configure them to work for me, no prior skills other than
 basic usr level. Gain understanding in the use of computers in
 the direction of my study. Remain true to my path of fine art.

Synopsis:I am pursuing this direction and these goals but have no knowledge of 
the path befor me I have been working with BSD at home know for about two months and 
still do not have a working cd rom , but my knowledge is growing I really feel this 
need to grasp more but I do not know what it is that I am not understanding. Any help 
would be appreciated.  



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


Proper way to shutdown a USB ethernet adapter?

2004-05-21 Thread LukeD

I'm running i386 5.2-CURRENT and using the axe driver to run a Netgear
FA120 USB ethernet adapter.
5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue May 18 16:11:06 PDT 2004

It works great.  I even figured out how to run usbd and modify usbd.conf
to run ifconfig automatically to give it an ip address when I plug it in
and take away the ip address when I unplug it.

When it's up and running, ifconfig shows:
axe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::209:5bff:febd:d01a%axe0 prefixlen 64 scopeid 0x1
inet 192.168.10.100 netmask 0xff00 broadcast 192.168.10.255
ether 00:09:5b:bd:d0:1a
media: Ethernet autoselect (100baseTX)
status: active

The problem is that no matter what I try, every time I try to shut down
the system, if this device is plugged in, the system will panic with a
page fault when init terminates.
I get the same panic whenever I run ifconfig axe0 down.
This happens regardless of whether I'm running usbd or not.
This happens even if I ifconfig axe0 delete to remove the IP address
before I shut down.
The only way I've found to avoid the panic is to unplug the device before
shutdown, and that's difficult to do remotely...

Page faults during shutdowns are usually just a simple matter of memory
being deallocated in the wrong order.  If that's what this is, it may be
something I could fix.  Any suggestions on how I might trace this down?

The panic looks like this:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0xdeadc0e1
fault code = supervisor read, page not present
instruction pointer = 0x8 : 0xc0487e6e
stack pointer = 0x10 : 0xc4888acc
frame pointer = 0x10 : 0xc4888ae0
code segment = base 0x0, limit 0xf, type 0x1b
   DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 1 (init)
kernel: type 12 trap, code = 0
stopped at usb_transfer_complete+0xba:  movzbl 0x3(%eax),%eax
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Limewire Port - Segmentation Fault

2004-05-21 Thread aekelly
I'm running FreeBSD 5.2.1 with X11 (KDE) and just did a make install 
distclean for the limewire port in console.

Afterward, I typed exit to drop down from root to my local account. Then I 
typed, limewire and got this:

bash-2.05b$ limewire
Segmentation fault
bash-2.05b$

Any ideas/suggestions/similar limewire experience or recommendation for 
another p2p port? TIA

-- 
www.aekelly.com | www.osvdb.org

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


Re: System Hang

2004-05-21 Thread Jorn Argelo
Nicholas Bernstein wrote:
hello all,
I'm hoping someone can give me a hand with this. I have a suspicion as
to what is causing this, but I don't want to taint any replies I get.
If any of knowledgeable folks out there could help me out, offer
possible areas to look into, better places to contact, or anything that
could possibly be helpful, I would really, really appreciate it. 

	thanks in advance,
	Nick
Info follows: 

System: 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
HP Proliant DL140 
http://h18004.www1.hp.com/products/servers/proliantdl140/index.html
FreeBSD 5.2-CURRENT #0 standard kernel
2 xeon (hyperthreaded) processors

Problem Description: 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

System becomes unresponsive and hangs. System does not respond to
keyboard, network or any other type of input. 

Error Message:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
panic: Assertion TD_ON_SLEEPQ(td) failed at
/usr/src/sys/kern/subr_sleepqueue.c:783 at line 783 in file:
/usr/src/sys/kern/subr_sleepqueue.c
cpuid=1
Debugger(panic)
Spin lick sched lock held by 0x617eb00 for  5
Related info:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/usr/src/sys/kern/subr_sleepqueue.c:
...
   770 /*
   771  * Abort a thread as if an interrupt had occured.  Only abort
   772  * interruptable waits (unfortunately it isn't safe to abort
others).
   773  *
   774  * XXX: What in the world does the comment below mean?
   775  * Also, whatever the signal code does...
   776  */
   777 void
   778 sleepq_abort(struct thread *td)
   779 {
   780 void *wchan;
   781
   782 mtx_assert(sched_lock, MA_OWNED);
   783 MPASS(TD_ON_SLEEPQ(td));
   784 MPASS(td-td_flags  TDF_SINTR);
   785
   786 /*
   787  * If the TDF_TIMEOUT flag is set, just leave. A
   788  * timeout is scheduled anyhow.
   789  */
   790 if (td-td_flags  TDF_TIMEOUT)
   791 return;
   792
   793 CTR3(KTR_PROC, sleepq_abort: thread %p (pid %d, %s),
td,
   794 td-td_proc-p_pid, td-td_proc-p_comm);
   795 wchan = td-td_wchan;
   796 mtx_unlock_spin(sched_lock);
   797 sleepq_remove(td, wchan);
   798 mtx_lock_spin(sched_lock);
   799 } 

Also, in order for the machine to detect it's broadcom 5700 network
cards, I had to the line 
	acpi_load=no
to my /boot/loader.conf. Upon reboot the network cards show up in an
ifconfig and work perfectly. 

Possible references:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This isn't the exact same error, but it's the closest thing I could find
to my error: 

http://lists.freebsd.org/pipermail/freebsd-current/2004-March/022633.html
This error is also pretty close, but not the same thing:
http://groups.google.com/groups?q=%27panic:+Assertion+TD_ON_SLEEPQ(td)+failed+at%27hl=enlr=ie=UTF-8safe=offselm=200405182105.04275.thierry%40herbelot.comrnum=1
. . . 
		Thanks for taking the time to read this. 
. . . 

 

I wonder ... why do want to run CURRENT on a machine like that? It's the 
bleeding edge source code, which is unstable most of the times. You 
might want to consider running 4.9 on that machine, which is the 
production release. You can try 5.2.1 as well, but it still falls under 
the unstable branch.

So in other words, post your error at the CURRENT mailing list, and 
switch back to 4.9. I think you will solve many problems with that.

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


Re: How to secure ftp over SSH (how to make ftpd listen only to 127.0.0.1)?

2004-05-21 Thread Pavel Duda
Constantine wrote:
Hello,
I am very concerned about the security of my servers. My favourite 
file-management software does not support any other unix standards than 
plain ftp.

How is it possible to set up my FreeBSD 5.2.1 that way, that it will 
accept ftp connections only from itself, so that iff the login to the 
system is done via SSH with port-forwarding, then one can open 
ftp-connection?

(It will be very nice if in this case the username/password is not 
requested again, i.e. the ftp connection is anonymous and yet the 
ftp-client gets the same rights to files as SSH-logged user, who has the 
port-forwarding, but this does not sound like easy doable.)

Put it in other words, how can I make ftpd listen only to 127.0.0.1?
Constantine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

I'm not sure if this is possible to set within ftpd. I'm using classic 
way to block incoming FTP requests from unwanted addresses - IPFW.

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


Re: memory allocation/deallocation (malloc experts needed)

2004-05-21 Thread Till Plewe
On Thu, May 20, 2004 at 05:36:31PM +0900, Charlie Root wrote:
 On Thu, May 20, 2004 at 01:42:00AM -0500, Dan Nelson wrote:
  In the last episode (May 20), Till Plewe said:
   My problem is essentially that freeing large numbers of small chunks
   of memory can be very slow. I have run into this problem twice so
   far.
  
  Do you have a testcase?  The attached program mallocs 1 million
  128-byte blocks, then frees them.  With MALLOC_OPTIONS set to jz (i.e.
  no filling of freed memory), it takes .184 seconds to free them all. 
  With it set to J, it takes 1 second.
  
  CPU: Intel Pentium III (909.96-MHz 686-class CPU)
   
 
 ...

I changed your program a little bit to allow freeing the memory in
random order which is closer to what happens when hash tables are
deleted. The test program now allocates NUM pointers to SIZE byte
memory chunks and then frees them.  RANDOM 0 means the order in which
the items are freed is the same as the order of allocation, while
RANDOM 1 means that the memory is freed in (somewhat) random order
The data below shows that freeing the memory is the bottleneck. 
(MALLOC_OPTIONS JZ, using jz gives essentially the same results perhaps
about 25% faster)

My current guess is that the part copied below of the function
free_bytes in /usr/src/lib/libc/stdlib/malloc.c is to blame
where linked lists are traversed to move/delete pages whose
status has changed. At least that would explain the quadratic
behaviour in the output of the test program below.   
 

lines 1010-1028 of /usr/src/lib/libc/stdlib/malloc.c

if (info-free == 1) {

/* Page became non-full */

mp = page_dir + info-shift;
/* Insert in address order */
while (*mp  (*mp)-next  (*mp)-next-page  info-page)
mp = (*mp)-next;
info-next = *mp;
*mp = info;
return;
}

if (info-free != info-total)
return;

/* Find  remove this page in the queue */
while (*mp != info) {
mp = ((*mp)-next);
==


FreeBSD 5.2-CURRENT Sun May  2 08:40:29 JST 2004
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.05-MHz 686-class CPU)

test -n 20
NUM 120 RANDOM 0 SIZE 16  malloc: 0.140976  free: 0.113800
NUM 120 RANDOM 1 SIZE 16  malloc: 0.153176  free: 1.671878
test -n 21
NUM 121 RANDOM 0 SIZE 16  malloc: 0.277667  free: 0.228911
NUM 121 RANDOM 1 SIZE 16  malloc: 0.320030  free: 5.991513
test -n 22
NUM 122 RANDOM 0 SIZE 16  malloc: 0.492440  free: 0.466889
NUM 122 RANDOM 1 SIZE 16  malloc: 0.591442  free: 22.437910
test -n 23
NUM 123 RANDOM 0 SIZE 16  malloc: 1.106733  free: 0.929016
NUM 123 RANDOM 1 SIZE 16  malloc: 1.180094  free: 86.868541
test -n 24
NUM 124 RANDOM 0 SIZE 16  malloc: 2.040155  free: 1.866336
NUM 124 RANDOM 1 SIZE 16  malloc: 2.250588  free: 356.746455
test -n 25
NUM 125 RANDOM 0 SIZE 16  malloc: 4.280042  free: 3.716874
NUM 125 RANDOM 1 SIZE 16  malloc: 4.567206  free: 1497.213212
test -n 26
NUM 126 RANDOM 0 SIZE 16  malloc: 8.543537  free: 7.612657
NUM 126 RANDOM 1 SIZE 16  malloc: 9.055712  free: 6187.992730


==
FreeBSD 5.2-CURRENT Wed May 19 10:59:08 JST 2004
CPU: AMD Opteron(tm) Processor 248 (2205.01-MHz K8-class CPU)

test -n 20 
NUM 120 RANDOM 0 SIZE 16  malloc:0.124275  free:0.067746
NUM 120 RANDOM 0 SIZE 16  malloc:0.098449  free:0.066730
NUM 120 RANDOM 1 SIZE 16  malloc:0.119348  free:1.435530
NUM 120 RANDOM 1 SIZE 16  malloc:0.099841  free:1.428259
test -n 21 
NUM 121 RANDOM 0 SIZE 16  malloc:0.213471  free:0.134132
NUM 121 RANDOM 0 SIZE 16  malloc:0.199287  free:0.132293
NUM 121 RANDOM 1 SIZE 16  malloc:0.184251  free:4.998957
NUM 121 RANDOM 1 SIZE 16  malloc:0.186739  free:4.849894
test -n 22 
NUM 122 RANDOM 0 SIZE 16  malloc:0.464616  free:0.255515
NUM 122 RANDOM 0 SIZE 16  malloc:0.425375  free:0.254138
NUM 122 RANDOM 1 SIZE 16  malloc:0.404901  free:17.264623
NUM 122 RANDOM 1 SIZE 16  malloc:0.394420  free:18.328755
test -n 23 
NUM 123 RANDOM 0 SIZE 16  malloc:0.819199  free:0.514065
NUM 123 RANDOM 0 SIZE 16  malloc:0.858903  free:0.520739
NUM 123 RANDOM 1 SIZE 16  malloc:0.830438  free:67.556339
NUM 123 RANDOM 1 SIZE 16  malloc:0.821419  free:67.287440
test -n 24 
NUM 124 RANDOM 0 SIZE 16  malloc:1.726636  free:1.032238
NUM 124 RANDOM 0 SIZE 16  malloc:1.709127  free:1.028701
NUM 124 RANDOM 1 SIZE 16  malloc:1.615758  free:290.153962
NUM 124 RANDOM 1 SIZE 16  malloc:1.645739  free:279.887830
test -n 25 
NUM 125 RANDOM 0 SIZE 16  malloc:3.429280  free:2.044097
NUM 125 RANDOM 0 SIZE 16  malloc:3.486703  free:2.026912
NUM 125 RANDOM 1 SIZE 16  malloc:3.536784  free:1172.642691
NUM 125 RANDOM 1 SIZE 16  malloc:3.481226  free:1176.604815


==
test program

#include stdio.h   
#include stdlib.h  
#include sys/time.h 

Re: Proper way to shutdown a USB ethernet adapter?

2004-05-21 Thread Rob
[EMAIL PROTECTED] wrote:
I'm running i386 5.2-CURRENT and using the axe driver to run a Netgear
FA120 USB ethernet adapter.
5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue May 18 16:11:06 PDT 2004
The problem is that no matter what I try, every time I try to shut down
the system, if this device is plugged in, the system will panic with a
page fault when init terminates.
Sorry, I can't answer your question.
Just another question to you: is your USB chipset on the motherboard
a VIA 83C572 ?
I have equivalent problems for a USB storage device with 4.10-Stable.
I can mount (and then I can access the USB filesystem), but the whole system
freezes when I umount the device. After googling a bit on this issue, I think
it is because of the USB chipset on the motherboard, which is a VIA 83C572.
I tried this USB storage toy on another FreeBSD PC with a Intel 82801BA/BAM
USB chipset, and there it works flawlessly.
So far, I haven't had much luck sharing the problem with the mailing list.
(I heard of one more person with the same problem, though).
Regards,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: memory allocation/deallocation (malloc experts needed)

2004-05-21 Thread Till Plewe
On Thu, May 20, 2004 at 09:28:12AM -0400, Chuck Swiger wrote:
 Till Plewe wrote:
 My problem is essentially that freeing large numbers of small chunks
 of memory can be very slow. I have run into this problem twice so far.
 [ ... ]
 One solution would be to divide the memory in larger regions and to
 tell malloc which chunk to use for the next few calls, respectively when a
 whole chunk could be freed. But I don't know how to do this.
 
 Consider using (or searching for information about) a zone-based malloc. 
 NEXTSTEP used one and hence Darwin/OS X probably have sources available for 
 you to consider...
 

Thanks. I will give it a try. Although I was hoping to find somebody who 
has already an alternative malloc implementation running.

- Till

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


pppd auth-up

2004-05-21 Thread Ian Moore
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
I've been using pppd on my 5.2 system. I setup a script to run ntpdate and a 
couple of oher things when I connect to my ISP in /etc/ppp/auth-up, but it 
doesn't appear to run.
Just in case it was a timing problem I added a sleep 20 line, but that doesn't 
make any difference.
A listing of the file looks like:

- -- -rwxr-xr--  1 root  wheel   265 May 21 17:30 auth-up
and it's contens are:
#!/bin/sh
#Perform these actions whenever ppp connects
/bin/sleep 20
#Synchronise to network time
/usr/sbin/ntpdate augean.eleceng.adelaide.edu.au
#Keep synchronised while online
/usr/sbin/ntpd

#Update the port vunerability database
/usr/local/bin/portaudit -F

ntpd never runs and there are no entries in /var/log/messages to show ntpdate 
being run either.
Does auth-up work for anyone else? Are my file permissions wrong perhaps?
The sript runs correctly if I run it as root.

Cheers,
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFArbxRfITqkXhImmIRAulhAJ9Rd9Oj5rbLDoZHctRbPilI8VoEVgCgkD0H
m+R2f+gX8n7QvNd0rO7OHcM=
=05hM
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Script won't run from cron

2004-05-21 Thread Andrew McNaughton

Since upgrading from 4.5-RELEASE to 4.8-RELEASE (actually rebuilding the
system and mounting the old /home directory), I'm having problems with a
process which rebuilds a search engine index.  Everything runs fine from
the command line, but the same script fails when running from cron.

The /bin/sh script runs, but when it goes to fire up the indexing process,
that process fails.  So far I can't figure out what is different about the
environment this is running under which should make it behave differently
from cron.

I've added commands into the shell script which report on the output of
set, id and limits.  At the command line I've then verified that id and
limits give identical values, and I've used 'env' to start the script with
the same environment varibales it gets in cron.  That proceeds corectly,
leaving me with still no idea why the same script doesn't run from cron
any more.

Any ideas?

Andrew McNaughton

Please mail me responses directly.

--

No added Sugar.  Not tested on animals.  May contain traces of Nuts.  If
irritation occurs, discontinue use.

---
Andrew McNaughton   Living in a shack in Tasmania
[EMAIL PROTECTED]  Between the bush and the sea

Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc
http://www.scoop.co.nz/

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


Re: Samba PDF printing

2004-05-21 Thread Pavel Duda
Andrea Venturoli wrote:
** Reply to note from Joan Picanyol i Puig [EMAIL PROTECTED] Wed, 19 May 2004 
19:50:11 +0200

Everything works fine, but not after a reboot. 
After the machine is powered up PDF creation will silently fail. 
sh /usr/local/etc/rc.d/samba.sh stop ; sh /usr/local/etc/rc.d/samba.sh start will fix this. 
Any hint? 
  
Look at the samba logs after incrementing the log level in smb.conf.

Wish I could understand something from that :(
Samba logs hold either too few or way to much data; I tried to analyze them, but that 
lead up to nothing.
 bye  Thanks
av.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
I've found it. Problem is PATH variable. Try to add 
PATH=/bin:/sbin:/usr/local/bin:... etc. to your samba pdf printing 
script. It works for me.

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


Re: Recommended Motherboards for FreeBSD 4.x and 5.x

2004-05-21 Thread Patrick Hurrelmann
Forrest Aldrich wrote:
Hi there,
I'm interested in what motherboards most recommend now for higher 
performance FreeBSD 4.x and 5.x systems.   I've a SOYO Dragon Platinum, 
with SATA and have had several problems, such that I will replace it 
with something better -- perhaps ASUS?

Feedback appreciated.

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

Hi,
personally I'm a ASUS-User. All boards i've ever used were asus except 
my Siemens Primergy 470 nad my Dell Latitude D600.

I ran FreeBSD successfully on this boards:
Asus A7M266-D, Dual-Athlon XP 1800+ (running CURRENT, ACPI w/o problems)
Asus CUV4X-D, Dual-PIII 800 (ran 4.9, if i remember correctly)
Asus P5A-B, K6-2 350 (running 5.2.1 p7, ACPI w/o problems)
Asus A7V266-E, Athlon XP 1800+ (running CURRENT, ACPI w/o problems)
and several asus borads, but never tested on freebsd, as i'm new to *NIX.
asus are always high-quality boards. you'll notice that in quality of 
bios for example. all asus boards supporting ACPI, work flawless.

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


Re: Samba PDF printing

2004-05-21 Thread Andrea Venturoli
** Reply to note from Pavel Duda [EMAIL PROTECTED] Fri, 21 May 2004 10:51:20 +0200


 I've found it. Problem is PATH variable. Try to add  
 PATH=/bin:/sbin:/usr/local/bin:... etc. to your samba pdf printing  
 script. It works for me.

Thank you very much, I'm giving it a try!

 bye
av.



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


BootEasy Problem

2004-05-21 Thread Soo-Hyun Choi
Hi,

I have played something with 'boot0cfg' like '# boot0cfg -s 2 -B /dev/ad0'.
When I reboot my system it failed to be booted.

I have the following diskmap.
'/ for ad0s2a'


How do I recover the BootEasy?


Thanks,
Soo-Hyun

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


Re: upsd for Belkin F6C120-UNV?

2004-05-21 Thread Matthew Seaman
On Thu, May 20, 2004 at 07:54:59PM -0400, Miles Lubin wrote:
 All the ups ports seem to be only for APC UPSs, but I have a Belkin
 F6C120-UNV connected over usb (it is recognized as uhid0 when
 connected). Serial would be ok, but I don't see any ports that would
 work for that either. On Belkin.com there is ups daemon there for
 FreeBSD 2.2.8. which doesnt work. Has anyone with the same model gotten it
 working?

Try the sysutils/nut port: they claim to support exactly your model of
UPS:

http://eu1.networkupstools.org/compat/stable.html

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp8KNMWGrphs.pgp
Description: PGP signature


4.{8,9,10} Install ad0 READ command error

2004-05-21 Thread Richard Caley

I can't install 4.X on a couple of identical new machines. They both
exhibit the same problem, and it's consistant, so it's probably not
bad hardware, though perhaps weird hardware. Also, 5.2 does install,
but these are to be production machines at a remote location so I'd
really rather be running something long in the tooth.

I've googled and looked at the FBDS mailing lists and here and have
found some similar sounding reports, but no fix.

I need to make a decision on these machines for next week, and if I
can't bring myself to go with 5.X I may have to try linux, so if
anyone can come up with a way forward with 4.X in the next day or two
it would be a really Good Thing:-).

OK, details:

The disk is there, visible and will boot (to DOS in one case, to FBSD
5.2 in the other).

I boot from CD and it goes through the normal sequence to boot the
install kernel until it looks at the hard disk (copied from a screen
on
the other end of the room, so excuse typoes/brainoes):

ad0 sucess setting WDMA2 on SIS chip
Creating disk ad0
ad0 READ command timeout tag=0 serv=0 resetting ...
ata0 resetting devices

And then nothing for as close to forever as I have been prepared to
wait.

The motherboard is an ASRock KS41

Chipset:SIS 741 + SIS 963L

Athalon 2400+


Can't think of anything else relevent.


-- 
[EMAIL PROTECTED]   _O_
 |

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


Re: 4.{8,9,10} Install ad0 READ command error

2004-05-21 Thread Ion-Mihai Tetcu
On Fri, 21 May 2004 11:57:07 +0100 (BST)
Richard Caley [EMAIL PROTECTED] wrote:

 And then nothing for as close to forever as I have been prepared to
 wait.
 
 The motherboard is an ASRock KS41
 
 Chipset:SIS 741 + SIS 963L
 
 Athalon 2400+
 
 
 Can't think of anything else relevent.

HDD model and firmware version would be useful.

-- 
IOnut
Unregistered ;) FreeBSD user

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


Help to start BIND on boot

2004-05-21 Thread Nuno César Pires
Hello list,

 

I'm setting up a BIND/DNS server (recursive) and I'm facing a problem when I
try to start the named automatically on boot (named_enable=YES in
rc.conf):

First I noticed that the boot process takes a very long time in the
Starting Standard Daemons phase.

After boot I have looked to the named messages and apparently it was
everything ok i.e.:

 

First message:  starting (etc/namedb/named.conf). named
8.3.6-REL .

Second message:  limit files set to fdlimit (1024)

Third message:  Ready to answer queries.

 

But the problem is the output of ndc status: (server is initializing
itself) and then nothing happen.

 

Starting or restarting the named manually works just fine, the ndc status
output is server is up and running and the queries answers are as
expected.

The result after comment the kern_securelevel=2 and
kern_securelevel_enable=YES lines in the rc.conf and reboot was the same
as described above.

 

The ROOT SERVERS file was updated and there is a permanent network
connection

 

Releases:

FreeBSD 4.9

BIND 8.3.6

 

Can you please help me on this? I'm beginner in FreeBSD.

 

Thanks in advance,

Nuno

 

CONFIDENCIALIDADE: Esta mensagem e quaisquer documentos em anexo são
confidenciais. Se não for o destinatário desta mensagem, agradecemos que
avise imediatamente o remetente e que a elimine sem a reproduzir, armazenar
ou divulgar a qualquer entidade.

CONFIDENTIALITY: This  e-mail  and  any attachments are confidential and may
be privileged. If  you are not a named recipient, please notify the sender
immediately and do not disclose the contents to another person, use it for
any purpose or store or copy the information in any medium.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: named in sandbox

2004-05-21 Thread Matthew Seaman

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Reza

  I running named in sandbox as a secondary name server with
  FreeBSD-5.1.p17,
  Named log always complain:
  named-xfer exited with signal 6 and slave zone expired for every zone
  transfer.

On Thu, May 20, 2004 at 11:02:46PM -0700, Mitch (bitblock) wrote:
 You need to compile named-xfer as statically linked, or move it's dependant
 libraries into the chroot.

Or switch to the BIND9 port which doesn't have a separate named-xfer
executable -- the functionality is all rolled into the named binary,
and that you don't have to copy into the chroot area in order to run
chrooted.

Look at this article for some pointers:

http://othyro.freeshell.org/bind.html

However, remember that's written netbsd-centrically, and you'll have
to adapt the instructions for use under FreeBSD -- use ports instead
of pkgsrc, and you'll need to investigate what to do to make devfs(8)
create the requited device nodes under the chroot, rather than using
mknod.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpv0x0vcfRWj.pgp
Description: PGP signature


Install IPFILTER question

2004-05-21 Thread Stephen Liu
Hi folks,

FreeBSD 5.2
===

I tried to install and run IPFILTER but met with
following problems;

# which ipfilter
ipfilter: Command not found.

# whereis ipfilter
ipfilter: /usr/src/contrib/ipfilter
# ls /usr/share/examples/ | grep ipfilter
ipfilter

# pkg_info | grep -i ipfilter
No printout

# cd /usr/ports/
# make search -i name=ipfilter
# make search name=ipfilter
Both with no printout

# ee /usr/src/sys/conf/NOTES, searchig for 'IPFILTER'
and found follows;

options MROUTING# Multicast
routing
options PIM # Protocol
Independent Multicast
options IPFIREWALL  #firewall
options IPFIREWALL_VERBOSE  #enable
logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=100#limit
verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT#allow
everything by default
options IPV6FIREWALL#firewall for
IPv6
options IPV6FIREWALL_VERBOSE
options IPV6FIREWALL_VERBOSE_LIMIT=100
options IPV6FIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT#divert
sockets
options IPFILTER#ipfilter
support
options IPFILTER_LOG#ipfilter
logging
options IPFILTER_DEFAULT_BLOCK  #block all
packets by default
options IPSTEALTH   #support for
stealth forwarding
options PFIL_HOOKS  #required by
IPFILTER
options TCPDEBUG

Kindly advise how to install IPFILTER and/or edit
kernel option to enable it.

TIA

B.R.
Stephen Liu


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD mailing lists

2004-05-21 Thread Mike Jeays
Hi!

I have received no messages at all from freebsd-questions, or one or two
of the other FreeBSD mailing lists, for about 2 days.  Do you know if
there is a problem at their end, or has perhaps my ISP decided they are
all spam?



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


Re: your mail

2004-05-21 Thread Matthew Seaman
On Fri, May 21, 2004 at 06:49:38AM +, [EMAIL PROTECTED] wrote:
 Synopsis:I am pursuing this direction and these goals but have no knowledge 
 of the path befor me I have been working with BSD at home know for about two months 
 and still do not have a working cd rom , but my knowledge is growing I really feel 
 this need to grasp more but I do not know what it is that I am not understanding. 
 Any help would be appreciated. 

Well, while trying to do it all yourself is a good way to learn, so is
asking the avice of those more knowledgeable -- and it usually gets
you a quicker solution to your problems.

You say you've still not got a working CD Rom.  Presumably you want us
to help you get it to work, as a step towards learning more about
FreeBSD and computers in general?

In which case, you need to help us to help you.  A vague question like
how can I fix my CD Rom cannot really have a useful answer -- you
need to tell us exactly what it is about your CD Rom that isn't
behaving in the way you expect -- what commands you typed, and what
the system response was.  Tell us also what you've tried to do to fix
the problem, and why it didn't work.

In fact, preparing a question in this way will often clarify things in
your own mind, so that you suddenly see the answer or think of a few
more things to try.  Leaping out of your chair, striking your forehead
and yelling D'Oh! It so obvious! would not be an unusual reaction.

A more detailed article about how to ask questions intelligently can
be found at: http://www.catb.org/~esr/faqs/smart-questions.html

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpCV617rDBg2.pgp
Description: PGP signature


Re: named in sandbox

2004-05-21 Thread Nelis Lamprecht
On Fri, 2004-05-21 at 13:16, Matthew Seaman wrote:

 However, remember that's written netbsd-centrically, and you'll have
 to adapt the instructions for use under FreeBSD -- use ports instead
 of pkgsrc, and you'll need to investigate what to do to make devfs(8)
 create the requited device nodes under the chroot, rather than using
 mknod.
 

You can simply symlink the device nodes:

guardian# ls -la /var/chroot/named/dev/
total 4
drwxr-xr-x  2 bind  bind  512 Mar  3 11:21 .
drwx--  5 bind  bind  512 Mar  3 11:18 ..
lrwxr-xr-x  1 root  bind9 Mar  3 11:21 null - /dev/null
lrwxr-xr-x  1 root  bind   11 Mar  3 11:21 random - /dev/random
lrwxr-xr-x  1 root  bind9 Mar  3 11:21 zero - /dev/zero

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


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


Re: Document

2004-05-21 Thread Auto-reply from [EMAIL PROTECTED]
Esta cuenta de correo no esta operativa. Si desea ponerse en contacto con nosotros, 
escribanos a [EMAIL PROTECTED]
Cordialmente,

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


Re: Help to start BIND on boot

2004-05-21 Thread Matthew Seaman
On Fri, May 21, 2004 at 12:07:25PM +0100, Nuno César Pires wrote:

 I'm setting up a BIND/DNS server (recursive) and I'm facing a problem when I
 try to start the named automatically on boot (named_enable=YES in
 rc.conf):
 
 First I noticed that the boot process takes a very long time in the
 Starting Standard Daemons phase.
 
 After boot I have looked to the named messages and apparently it was
 everything ok i.e.:
 
  
 
 First message:  starting (etc/namedb/named.conf). named
 8.3.6-REL .
 
 Second message:  limit files set to fdlimit (1024)
 
 Third message:  Ready to answer queries.
 
  
 
 But the problem is the output of ndc status: (server is initializing
 itself) and then nothing happen.
 
  
 
 Starting or restarting the named manually works just fine, the ndc status
 output is server is up and running and the queries answers are as
 expected.
 
 The result after comment the kern_securelevel=2 and
 kern_securelevel_enable=YES lines in the rc.conf and reboot was the same
 as described above.
 
  
 
 The ROOT SERVERS file was updated and there is a permanent network
 connection
 
  
 
 Releases:
 
 FreeBSD 4.9
 
 BIND 8.3.6

I usually see this effect with things like sshd(8), but it could
affect BIND as well.  I wonder if named(8) is blocking trying to read
/dev/random to obtain a quantity of random data.  If the system does
not have sufficient suitable random data available, it will wait until
it has acquired enough before replying.  Sources of randomness are
things like timing the gaps between key presses or between the arrival
of network packets -- either of which may not be very effective around
reboot time.

Check your setting for 'rand_irqs' in /etc/rc.conf -- you need to set
it to a list of IRQs that fire quite frequently and that have timings
that can be used to harvest randomness from.  To get a list of
suitable IRQs use:

% vmstat -i

So for instance on my system that returns:

interrupt   total   rate
acpi0 irq9  1  0
pcm0 irq10  39644  0
mux irq1112139824 77
mux irq15  854820  5
atkbd0 irq1 49505  0
psm0 irq12 389549  2
sio1 irq3   81928  0
clk irq0157097139   1000
rtc irq8 20105805128
Total   190758215   1214

Choose the IRQs that fire most often, but not the clk (clock) or rtc
(real time clock) IRQs -- as those fire at regular intervals.  In this
case good choices are irq1 (atkbd -- the keyboard), irq11 and irq15
(mux -- the TCP multiplexor (ie network traffic)), irq12 (psm -- the
mouse).

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpCbEJrmSvah.pgp
Description: PGP signature


Re: FreeBSD mailing lists

2004-05-21 Thread Kris Kennaway
On Fri, May 21, 2004 at 07:41:08AM -0400, Mike Jeays wrote:
 Hi!
 
 I have received no messages at all from freebsd-questions, or one or two
 of the other FreeBSD mailing lists, for about 2 days.  Do you know if
 there is a problem at their end, or has perhaps my ISP decided they are
 all spam?

There's nothing wrong with list delivery at the moment.  Check your
subscription status with the mailman interface on lists.freebsd.org;
perhaps your mail delivery was bouncing and your subscription was
suspended.

Kris


pgpabrR2B8PXy.pgp
Description: PGP signature


Re: milter question... .

2004-05-21 Thread Dirk Meyer
Hallo Gary Kline,

   I've just installed the mail/antivirus-milter; it looks
   promising--to get rid of those annoying *zip, *pif, c
   spams.  But this port also installs its own version of
   sendmail.  I just upgraded to the latest 4.8 and assume 
   that my sendmail is valid. 

you can use the libmiter from baseby setting in /etc/make.conf:
SENDMAIL_MILTER_IN_BASE=yes

   And I safe in modfying the
   scripts in /usr/local/etc/rc.d to point to /usr/sbin/sendmail?

yes ... set sendmail_enable=NONE in /etc/rc.conf
and use the modified sendmail.sh to start it.

Beacause all milter must start before sendamil.

kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD mailing lists

2004-05-21 Thread Matthew Seaman
On Fri, May 21, 2004 at 07:41:08AM -0400, Mike Jeays wrote:

 I have received no messages at all from freebsd-questions, or one or two
 of the other FreeBSD mailing lists, for about 2 days.  Do you know if
 there is a problem at their end, or has perhaps my ISP decided they are
 all spam?

Well, there's no obvious problem with the FreeBSD servers -- plenty of
e-mail traffic flowing.  There might be a problem sending to your
system specifically, in which case you can check and see if your
address has been suspended via MailMan:

Go here:

http://lists.freebsd.org/mailman/listinfo/freebsd-questions

and then type in your e-mail address in the very last field on that
page, and click 'Unsubscribe or edit options'.  On the next page,
enter your password (you should get a monthly reminder of what your it
is) and click 'login'.  You'll be able to verify and modify your
subscription status from the page you get to.

Sending messages to your e-mail address will be disabled if your
bounce score goes above 5.0 or if there are configuration errors with
the mail servers you are trying to use.  If it's your ISP bouncing the
e-mail then get a better ISP.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpLfCBJgDHLp.pgp
Description: PGP signature


Postfix being stubborn

2004-05-21 Thread Edd

Hi there,
I have installed and used postfix many a time with minimal fuss, but this
time for some reasona all of my mail just gets stuck:

hitbox# mailq
-Queue ID- --Size-- Arrival Time -Sender/Recipient---
E76C639821* 331 Fri May 21 13:20:15  [EMAIL PROTECTED]
 [EMAIL PROTECTED]

5C0D339824* 334 Fri May 21 13:20:32  [EMAIL PROTECTED]
 [EMAIL PROTECTED]

It will quite happily do this all day. The daemon is running. I have
tried deinstalling and removing all configuration files and the postfix
user and recompiling. Still no luck. Also postix is enabled in
/etc/mail/mailer.conf. Im going insane! why oh why?!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Broken Disk

2004-05-21 Thread Jason Dusek
Hi,
I am trying to put a new disk on my system. I read the description of 
the process in FreeBSD Unleashed and apparently I misunderstood it, 
because I ended up installing a boot manager on the new disk. Now I can 
not mount it - I get error messages like:

# mount /dev/ad1e /mnt/backup
operation not permitted
How do I 'start over'? I have tried to add this disk many times with 
/stand/sysinstall. Eventually I gave up and went to the command line 
utilities as outlined in the handbook. The error I got was interesting, 
but I have no idea what it means:

# fdisk -BI ad1
*** Working on device /dev/ad1 ***
fdisk: invalid fdisk partition table found
--
-- Jason Dusek  (`-''-/).___..--''`-._
-- | `6_ 6  )   `-.  ( ).`-.__.`)
-- | (_Y_.)'  ._   )  `._ `. ``-..-'
-- |   _..`--'_..-_/  /--'_.' ,'
-- |  (il),-''  (li),'  ((!.-'
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


internet connection software

2004-05-21 Thread Praneeth Reddy
my computer has ethernet internet connection. i use
linksys lan card. if i reinstall system i have to
reinstall the lan software. but it says its designed
for windows only. and i want to remove windows because
1 it has virus, 2 it has only total of 2 gb. and i
relly really liked freebsd screenshots. i really want
to use it. please tell me a way to do that.




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix being stubborn

2004-05-21 Thread Matthew Seaman
On Fri, May 21, 2004 at 01:26:26PM +0100, Edd wrote:
 
 Hi there,
 I have installed and used postfix many a time with minimal fuss, but this
 time for some reasona all of my mail just gets stuck:
 
 hitbox# mailq
 -Queue ID- --Size-- Arrival Time -Sender/Recipient---
 E76C639821* 331 Fri May 21 13:20:15  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
 
 5C0D339824* 334 Fri May 21 13:20:32  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
 
 It will quite happily do this all day. The daemon is running. I have
 tried deinstalling and removing all configuration files and the postfix
 user and recompiling. Still no luck. Also postix is enabled in
 /etc/mail/mailer.conf. Im going insane! why oh why?!

Postfix should log the reason why it can't deliver thos e-mails --
what is there in /var/log/maillog ?  You should also be able to use
'mailq -v' (as root) to get a bit more detail about the state of the
queue files.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpMDajLEbRqH.pgp
Description: PGP signature


Re: Postfix being stubborn

2004-05-21 Thread Ion-Mihai Tetcu
On Fri, 21 May 2004 13:26:26 +0100
Edd [EMAIL PROTECTED] wrote:

 
 Hi there,
 I have installed and used postfix many a time with minimal fuss, but this
 time for some reasona all of my mail just gets stuck:
 
 hitbox# mailq
 -Queue ID- --Size-- Arrival Time -Sender/Recipient---
 E76C639821* 331 Fri May 21 13:20:15  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
 
 5C0D339824* 334 Fri May 21 13:20:32  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
 
 It will quite happily do this all day. The daemon is running. I have
 tried deinstalling and removing all configuration files and the postfix
 user and recompiling. Still no luck. Also postix is enabled in
 /etc/mail/mailer.conf. Im going insane! why oh why?!

What about your maillog, postconf -n, etc. ?


-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: Broken Disk

2004-05-21 Thread Matthew Seaman
On Fri, May 21, 2004 at 07:36:11AM -0500, Jason Dusek wrote:

 I am trying to put a new disk on my system. I read the description of 
 the process in FreeBSD Unleashed and apparently I misunderstood it, 
 because I ended up installing a boot manager on the new disk. Now I can 
 not mount it - I get error messages like:

Presence of absence of a boot manager on the drive should make any
difference at all once the system is up and running.
 
 # mount /dev/ad1e /mnt/backup
 operation not permitted

/dev/ad1e is a very odd device name to be using.  As far as I remember
that's a backwards compatability thing from changes that were made
somewhere around the FreeBSD-3.x timeframe.  You probably want
/dev/ad1s1e
 
 How do I 'start over'? I have tried to add this disk many times with 
 /stand/sysinstall. Eventually I gave up and went to the command line 
 utilities as outlined in the handbook. The error I got was interesting, 
 but I have no idea what it means:
 
 # fdisk -BI ad1
 *** Working on device /dev/ad1 ***
 fdisk: invalid fdisk partition table found

You're going about this the right way, but you've run into a disk with
a label so scrambled it's confusing fdisk(8).  Old hacky trick is to
zero out the first few blocks of the drive, so that fdisk(8) thinks
the disk is completely virgin:

# dd if=/dev/zero of=/dev/ad1 bs=512 count=10

Note that this will completely trash anything already on the drive.

Then use fdisk(8), disklabel(8)/bsdlabel(8), newfs(8) to create
filesystems.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgppHSkUH9F9Z.pgp
Description: PGP signature


Chipset compatibility issues and FreeBSD

2004-05-21 Thread Justin Finkelstein
Hi there
 
I'm about to make a decision on which motherboard to buy to run FreeBSD
4.9 in a production environment, and I'm getting a little confused over
compatibility issues with the available chipsets and this version of
FreeBSD.
 
The chipsets in question are: Intel 865G, 865PG, 865PE.
 
I did some searching on the mailing lists earlier and found a couple of
posts detailing problems between the 865G chipset and FreeBSD 5.1.
 
I am working on the assumption that the motherboard manufacturer isn't
too important, but I am expecting to buy from Gigabyte as they've worked
fine in the past.
 
Can anyone shed any light on whether these chipsets will work with
FreeBSD 4.9?
 
Thanks,
 
Justin
 
Redwire Design Limited
Studio 12
37 Tanner Street
London SE1 3LF
[ www.redwiredesign.com http://www.redwiredesign.com/  ]
[ 020 7403 1444 ] - voice
[ 020 7378 8711 ] - fax
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.{8,9,10} Install ad0 READ command error

2004-05-21 Thread Richard Caley
  The motherboard is an ASRock KS41
  Chipset:SIS 741 + SIS 963L
  Athalon 2400+

 HDD model and firmware version would be useful.

The HDD is a maxtor 6Y080P0 The BIOS is AMI and identifies itself as
K7S41 P1.10.

As a matter of interest, I have had a very similar problem on a
mini-PC which I had put down to a hardware fault, but maybe there is a
new(ish) motherboard chipset out there which 4.X can't cope with but
5.X can?

If it is of any relevance/use, 4.5-RELEASE does manage to boot as far
as the installer, and locks up on Probing Devices.

The only symptom under 5.2 is the disk geometry warning at the start
of partitioning which I have recieded in more or less every FBSD
installation for the past couple of years. Someone really should
rewrite that, since it seems impossible not to get it, and doesn't
actually seem to indicate a problem.

-- 
[EMAIL PROTECTED]   _O_
 |

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


Re: internet connection software

2004-05-21 Thread Jorn Argelo
Praneeth Reddy wrote:
my computer has ethernet internet connection. i use
linksys lan card. if i reinstall system i have to
reinstall the lan software. but it says its designed
for windows only. and i want to remove windows because
1 it has virus, 2 it has only total of 2 gb. and i
relly really liked freebsd screenshots. i really want
to use it. please tell me a way to do that.
	
		
__
Do you Yahoo!?
Yahoo! Domains  Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

.
 

I think you'll need this link:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html
Cheers,
Jorn
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommended Motherboards for FreeBSD 4.x and 5.x

2004-05-21 Thread Alan Gerber
I have only used FreeBSD on one Asus board, the original A7A266.  I've
recently begun the undertaking of putting 5.2.1 on it.  I had to disable the
Use PNP OS function in the BIOS to make it work reliably - in other words,
I'm making the BIOS assign device resources.  The same is true for 4.8 and
4.9.

The board does support ACPI satisfactorily, though.

--
Alan Gerber


Replied message follows
Hi,

personally I'm a ASUS-User. All boards i've ever used were asus except 
my Siemens Primergy 470 nad my Dell Latitude D600.

I ran FreeBSD successfully on this boards:

Asus A7M266-D, Dual-Athlon XP 1800+ (running CURRENT, ACPI w/o problems)
Asus CUV4X-D, Dual-PIII 800 (ran 4.9, if i remember correctly)
Asus P5A-B, K6-2 350 (running 5.2.1 p7, ACPI w/o problems)
Asus A7V266-E, Athlon XP 1800+ (running CURRENT, ACPI w/o problems)

and several asus borads, but never tested on freebsd, as i'm new to *NIX.

asus are always high-quality boards. you'll notice that in quality of 
bios for example. all asus boards supporting ACPI, work flawless.


Patrick



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


Re: 4.{8,9,10} Install ad0 READ command error

2004-05-21 Thread Ion-Mihai Tetcu
On Fri, 21 May 2004 14:20:42 +0100 (BST)
Richard Caley [EMAIL PROTECTED] wrote:

   The motherboard is an ASRock KS41
   Chipset:SIS 741 + SIS 963L
   Athalon 2400+
 
  HDD model and firmware version would be useful.
 
 The HDD is a maxtor 6Y080P0 The BIOS is AMI and identifies itself as
 K7S41 P1.10.

FYI on a VIA 8237 this Maxtor woks
 ad0: Maxtor 6Y120L0/YAR41BW0 ATA-7 disk at ata0-master

But of course this means nothing ;-/ I've had problems with identical
HDD but different firmware versions.

Did you tried with another HDD ? Does the HDD work on another mobo ?

  As a matter of interest, I have had a very similar problem on a
 mini-PC which I had put down to a hardware fault, but maybe there is a
 new(ish) motherboard chipset out there which 4.X can't cope with but
 5.X can?

This could be possible due to acpi support in 5.x; but of course it can
happen also the other way. Did you tried to boot with acpi disable ?



-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: 4.{8,9,10} Install ad0 READ command error

2004-05-21 Thread Richard Caley
 Did you tried with another HDD ? Does the HDD work on another mobo ?

Don't really want to mess with the hardware too much. These are
supposed to be identical machines to deliver quickly to a customer as
a stop-gap. I'll try with a spare HD this evening, but basicly I just
want to get something going on these machines as is as soon as
possible, so unless someonone somewhere has a brilliant idea I'll flip
a coin between the pain fo Linux and the worry of 5.2.

 This could be possible due to acpi support in 5.x; but of course it can
 happen also the other way. Did you tried to boot with acpi disable ?

Can I do that from the 4.X install CD? Everything seems to be disabled
in the BIOS, not that there is much.

-- 
[EMAIL PROTECTED]   _O_
 |

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


Re: cron can't find root or operator

2004-05-21 Thread carvin5string

--- Bill Moran [EMAIL PROTECTED] wrote:
 What you did was install the system crontab as a user.  Log in as the
 user you executed crontab crontab as, and enter crontab -r.  That
 will remove the crontab for that user.
 
 On a related note.  I'm going to make some changes to that section of
 the handbook in an attempt to clarify it.  Do you mind if I contact
 you
 directly to get your feedback on whether or not my changes make that
 chapter easier to understand?
 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com

Bill,
Thanks for the help. Yeah, you can contact me if you need to. It would
be nice to see some info about the differance between the system and
user crontabs and how to properly create and use a user crontab, as
well as when/why one would want to use a user crontab. Plus the
alternatives, if it is not the appropriate way of handling whatever the
user needs done. Like in my case - I want to have a logrotate script
and webalizer run once a week on sunday nights at midnight. I was
trying to follow the instructions included with webalizer and in the
Handbook, nothing more.

Regards,
Chip W
Simrad, Inc
www.simradusa.com
www.simrad.com





__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help: Setting up FTP server is not in the handbook... or is it?

2004-05-21 Thread Mark Jayson Alvarez
Hi,
  I have a lot of files in my computer that i wanted
to share with my friends remotely via ftp server. I'm
currently using freebsd 4.9 and I've been repeatedly
scanning through the handbook but I cant seem to find
the portion about setting up an ftp server. Did I miss
something in the handbook or its just that there isn't
acctualy any part that tells how to do it, or maybe
freebsd is just using a different term? Can you give a
link perhaps which will give me a hint on setting up
an ftp server on freebsd? 

smile:)
jay




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.{8,9,10} Install ad0 READ command error

2004-05-21 Thread Ion-Mihai Tetcu
On Fri, 21 May 2004 15:16:56 +0100 (BST)
Richard Caley [EMAIL PROTECTED] wrote:

  Did you tried with another HDD ? Does the HDD work on another mobo ?
 
 Don't really want to mess with the hardware too much. These are
 supposed to be identical machines to deliver quickly to a customer as
 a stop-gap. I'll try with a spare HD this evening, but basicly I just
 want to get something going on these machines as is as soon as
 possible, so unless someonone somewhere has a brilliant idea I'll flip
 a coin between the pain fo Linux and the worry of 5.2.

Hmm, that is a way to go; if you do it, get a dmesg from it and post it
on current@ it might help.

 
  This could be possible due to acpi support in 5.x; but of course it can
  happen also the other way. Did you tried to boot with acpi disable ?
 
 Can I do that from the 4.X install CD? Everything seems to be disabled
 in the BIOS, not that there is much.

Nop, I was speaking about 5.x.


-- 
IOnut
Unregistered ;) FreeBSD user

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


RE: Help: Setting up FTP server is not in the handbook... or is it?

2004-05-21 Thread Barry Byrne
Mark:

Edit /etc/inetd.conf and comment out the FTP line. Then 'killall -HUP inetd'
to restart. You should then be able to ftp to your machine. You should 'man
ftpd' for further details on configuring ftp.

Cheers,

Barry
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Mark Jayson Alvarez
 Sent: 21 May 2004 15:23
 To: [EMAIL PROTECTED]
 Subject: Help: Setting up FTP server is not in the 
 handbook... or is it?
 
 Hi,
   I have a lot of files in my computer that i wanted
 to share with my friends remotely via ftp server. I'm
 currently using freebsd 4.9 and I've been repeatedly
 scanning through the handbook but I cant seem to find
 the portion about setting up an ftp server. Did I miss
 something in the handbook or its just that there isn't
 acctualy any part that tells how to do it, or maybe
 freebsd is just using a different term? Can you give a
 link perhaps which will give me a hint on setting up
 an ftp server on freebsd? 
 
 smile:)
 jay
 
 
   
   
 __
 Do you Yahoo!?
 Yahoo! Domains  Claim yours for only $14.70/year
 http://smallbusiness.promotions.yahoo.com/offer 
 ___
 [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]


Ardour Compile on 4.10-RC3

2004-05-21 Thread Edd

Hello again,
I was trying to compile ardour (manually (no port)), I have jack
installed using portaudio. Whilst doing configure, ardour asks for POSIX
threading and fails! surely FreeBSD has this feature. if not, which
thread lib do you suggest (there are many in devel).

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


Re: internet connection software

2004-05-21 Thread Jerry McAllister
 
 my computer has ethernet internet connection. i use
 linksys lan card. if i reinstall system i have to
 reinstall the lan software. but it says its designed
 for windows only. and i want to remove windows because
 1 it has virus, 2 it has only total of 2 gb. and i
 relly really liked freebsd screenshots. i really want
 to use it. please tell me a way to do that.

As long as your NIC and other hardware is supported by FreeBSD,
it will work just fine.  You do not have to and actually can not
use the MS [lan] software to run the NIC card in a FreeBSd system.
If your hardware is not supported by FreeBSd, you will not be able 
to run FreeBSD at all.

Check the FreeBSd web pages for lists of hardware that is supported.

jerry

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


spamassassin+filtering with kmail

2004-05-21 Thread Hasse
Hi everybody.

FreeBSD 4.10-PRERELEASE #0

Just installed MIMEDefang+SpamAssassin+ClamAV on my mailserver,
and everything is running fine but don't seem to get spamfiltering  on  *   
to work with KMail.
My filter looks like this : X-Spam-Score  contains  *Action: File in 
folder Spam
Tried different options, but it either moves ALL or NONE to the Spam folder.
I have changed the report order in mimedefang filter so the stars come first.
Looks kike this : 
X-Spam-Score:  (1000.999) 

Any hints ?

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


Looking to build server, best option for reliable FreeBSD supported hardware (SCSI RAID5)?

2004-05-21 Thread Antony Mawer
Hi all,
I've been asked to spec out a server designed to pull and store off-site 
backups from ~60 sites (primary function). The intention is to run 
FreeBSD on it, although at this point in time we're still deciding 
whether or not to run -stable (4.x) or -current (5.x) on it; I have a 
feeling that we may end up having to go with 5.x for driver support.

We're looking at probably 4x146gb SCSI drives in RAID5, and I want to 
make sure we have hardware that's known to work under FreeBSD before we 
go placing an order. What vendors/equipment are people currently running 
reliably under FreeBSD (either 4.x or 5.x)? Any recommendations?

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


Re: Broken Disk

2004-05-21 Thread Malcolm Kay
On Friday 21 May 2004 22:26, Matthew Seaman wrote:
 On Fri, May 21, 2004 at 07:36:11AM -0500, Jason Dusek wrote:
  I am trying to put a new disk on my system. I read the description of
  the process in FreeBSD Unleashed and apparently I misunderstood it,
  because I ended up installing a boot manager on the new disk. Now I can
  not mount it - I get error messages like:

 Presence of absence of a boot manager on the drive should make any
 difference at all once the system is up and running.

  # mount /dev/ad1e /mnt/backup
  operation not permitted

 /dev/ad1e is a very odd device name to be using.  As far as I remember
 that's a backwards compatability thing from changes that were made
 somewhere around the FreeBSD-3.x timeframe.  You probably want
 /dev/ad1s1e


Yes, but at least upto FreeBSD-4.9 /dev/ad1e is understood and likely to be 
present. I believe it is the e-partition on the first BSD slice on the disk 
whatever slice that might be.

The error message is not the one usually reported for a non-existant 
device; but when the operator has insufficient privilege.

For the OP you (normally) need to be root to mount disks.

Malcolm  

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


home on a gbde encrypted partion

2004-05-21 Thread platanthera
hi all,

I want to move my home directory to a gbde encrypted partition.
I plan to have only the default dotfiles in /home/xxx (before mounting 
the encrypted partition), log in as usual, attach and fsck the 
encrypted partion and then mount it 'over' /home/xxx. 
Is there anything wrong with this approach? Or is there a more elegant 
way?

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


Constant chaning ahc0: Tranceiver state changing

2004-05-21 Thread Joe S. Joplin
I have  a 4.6 Server running SAMBA for a small office.  I recently added a 
second SCSI Hard drive to the ADAPTEC 29160 Controller Card.  Now after the machine 
has been in use for more than a few minutes.  The server start repeating the follow 
lines on the screen.  
 
   ahc0:  Transceiver State Has Changed to SE mode.
   ahc0:  Transceiver State Has Changed to LVD mode.
 
At that time I can not logon or access the box in any way.  I have to power 
down the box to shut it down.  
 
Anyone have any ideas?
 
Thanks,
 
Joe
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


backing up dvd to dvd-r

2004-05-21 Thread arden
hi folks 

as i have a child that thinks of dvds as occasional Frisbees\drink mats
and throwing stars ive taken to giving him back-ups as of my shop bought
dvds

this is my prob : the only reason i have a windows partition is to run a
nice freeware apt called dvd shrink ive tried running it under wine and
it wont have it 

dose anyone know of an easy way to shrink a 6 gig retail dvd down to 4
gig keeping chapters in either bsd or linux 

arden 



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


Re: Chipset compatibility issues and FreeBSD

2004-05-21 Thread Matthew Seaman
On Fri, May 21, 2004 at 02:12:25PM +0100, Justin Finkelstein wrote:
 Hi there
  
 I'm about to make a decision on which motherboard to buy to run FreeBSD
 4.9 in a production environment, and I'm getting a little confused over
 compatibility issues with the available chipsets and this version of
 FreeBSD.
  
 The chipsets in question are: Intel 865G, 865PG, 865PE.

Hmmm... Well, looking at /usr/src/sys/pci/agp_i810.c (also agpreg.h)
the 865G 82865G Integrated Graphics Device appears to be supported
in 4-STABLE:

case 0x25728086:
return (Intel 82865G (865G GMCH) SVGA controller);

as does the 82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface
in /usr/src/sys/pci/agp_intel.c:

case 0x25708086:
return (Intel 82865 host to AGP bridge);

Which basically means Yes, it's supported.  (Err -- there;s no
mention of '865PG' anywhere though.  Was that a typo?)

There's no mention in the kernel sources of PCI ID 0x25718086
82865G/PE/P, 82848P PCI-to-AGP Bridge, 0x25738086 82865G/PE/P,
82848P PCI-to-CSA Bridge or 0x25768086 82865G/PE/P, 82848P Overflow
Configuration.  (See /usr/share/misc/pci_vendors for details of PCI
ID numbers) so those devices may cause you problems.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpVNymg3XeFn.pgp
Description: PGP signature


RE: Install IPFILTER question

2004-05-21 Thread fbsd_user
Check the questions archives, this was just answered within the last
2 weeks.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen Liu
Sent: Friday, May 21, 2004 7:35 AM
To: [EMAIL PROTECTED]
Subject: Install IPFILTER question

Hi folks,

FreeBSD 5.2
===

I tried to install and run IPFILTER but met with
following problems;

# which ipfilter
ipfilter: Command not found.

# whereis ipfilter
ipfilter: /usr/src/contrib/ipfilter
# ls /usr/share/examples/ | grep ipfilter
ipfilter

# pkg_info | grep -i ipfilter
No printout

# cd /usr/ports/
# make search -i name=ipfilter
# make search name=ipfilter
Both with no printout

# ee /usr/src/sys/conf/NOTES, searchig for 'IPFILTER'
and found follows;

options MROUTING# Multicast
routing
options PIM # Protocol
Independent Multicast
options IPFIREWALL  #firewall
options IPFIREWALL_VERBOSE  #enable
logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=100#limit
verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT#allow
everything by default
options IPV6FIREWALL#firewall for
IPv6
options IPV6FIREWALL_VERBOSE
options IPV6FIREWALL_VERBOSE_LIMIT=100
options IPV6FIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT#divert
sockets
options IPFILTER#ipfilter
support
options IPFILTER_LOG#ipfilter
logging
options IPFILTER_DEFAULT_BLOCK  #block all
packets by default
options IPSTEALTH   #support for
stealth forwarding
options PFIL_HOOKS  #required by
IPFILTER
options TCPDEBUG

Kindly advise how to install IPFILTER and/or edit
kernel option to enable it.

TIA

B.R.
Stephen Liu



___
Do You Yahoo!?
Get your free @yahoo.com.hk address at
http://mail.english.yahoo.com.hk
___
[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: Max NFSD processes

2004-05-21 Thread Steve Shorter
On Thu, May 20, 2004 at 10:44:14AM -0500, Eric Anderson wrote:
 
 
 That's good to hear.  Did you do any other tweaks?  sysctl settings?  
 mbufs? 


net.inet.udp.recvspace=524288
kern.ipc.maxsockbuf=1048576
net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=1

Telus-nfs1:# w
12:41PM  up 212 days, 15 hrs, 3 users, load averages: 0.49, 0.62, 0.71
USER TTY  FROM  LOGIN@  IDLE WHAT

nfs1:# netstat -m
441/1488/65536 mbufs in use (current/peak/max):
406 mbufs allocated to data
35 mbufs allocated to packet headers
242/1040/16384 mbuf clusters in use (current/peak/max)
2452 Kbytes allocated to network (4% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

 
 Thanks - any help/hints is appreciated.
 


Disk design issues  matter cause it is the ultimate 
bottleneck. RAID is you friend.

Lots of RAM helps. I use 4G. and compile a custom
kernel with maxusers at 256 and KVA_PAGES at 512. You can
check/verify kvm usage with sysclt's vm.kvm_size and vm.kvm_free




 
 
  You probably also want good nics (fxp0) and to
 increase UDP buffer space. I have found that nfs over udp
 offers supperior performance  than tcp on a good LAN
  
 
 I'm currently using 3com's (xl0,xl1) and Intel Gigabit cards (em0,em1).  
 Most of my clients are using udp. 
 
 What did you set your buffer space to? Which sysctl did you change?
 

udp recvspace. see above.

-steve

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


relatively urgent question (about X)

2004-05-21 Thread Gary Kline
For some months I've had increasing troubles with my 
4.9/4.10 abruptly crashing.  This morning I found my
workhorse server, tao, down and hung up while trying to
fsck /usr.  I cleaned everything thoroughly and then
started xdm.  The grey screen showed, the mouse was frozen;
after 30 seconds, BOOM.  Another crash.  After yet 
another round of fsck's, I tried startx.  To see what 
errs might kill the X11 boot.  No: same blank grey screen,
same frozen mouse,same OS crash.

I tried /stand/sysinstall to reconfigure X.  No luck.
I'm now doing my next stable sup upgrade and am doing
yet another buildworld   buildkernel.

I doubt this will resolve the X Window snafu, tho.  So:::
what x11/*XFree* ports do I have to fetch/build/install??
((I'm assuming the reason for the crash was X-related,
but this is only a first-SWAG.) Also, if anybody has had a 
similar problem, please let me know.

tia, people,

gary, ssh'd in from ethic.thought.org


-- 
   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: FreeBSD mailing lists

2004-05-21 Thread Andy Smith
On Fri, May 21, 2004 at 07:41:08AM -0400, Mike Jeays wrote:
 Hi!
 
 I have received no messages at all from freebsd-questions, or one or two
 of the other FreeBSD mailing lists, for about 2 days.  Do you know if
 there is a problem at their end, or has perhaps my ISP decided they are
 all spam?

In addition to the other suggestions, you can also check if the list
is getting messages by looking at the list archives on
http://lists.freebsd.org/pipermail/freebsd-questions/

As well as the other web-accessible list archives there is also
gmane which seems to carry all of the FreeBSD lists, is accessible
via usenet or http, and allows you to read, search and post.  gmane
is great!

http://news.gmane.org/gmane.os.freebsd.questions/

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpwtC7p5aAoX.pgp
Description: PGP signature


pure-ftpd with Unix and PureDB authentication

2004-05-21 Thread Noah

FreeBSD 4.9-STABLE
pure-ftpd version 1.0.18

I am trying to configure pure-ftpd with both Unix authentication and PureDB
authentication.  I am going to use the server with complete TLS/SSL mechanisms
only - and refuse cleartext authentication.

(TLS   2)

at the moment - pure-ftpd only authenticates with the Unix password file.  but
when I disable SSL/TLS encryption layer (TLS 0)  the pureDB is used for
authentication.

I am trying to allow for both Unix and PureDB authentication when I am
accepting only encrypted sessions.

I am sure the pureDB file is up to date and pointing to the right file in the
pure-ftpd.conf file.

is what I am trying to do posisble?

cheers,

noah
--- End of Forwarded Message ---

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


Re: Max NFSD processes

2004-05-21 Thread Eric Anderson
Steve Shorter wrote:
Thanks - any help/hints is appreciated.
 
   

	Disk design issues  matter cause it is the ultimate 
bottleneck. RAID is you friend.

Just curious - what RAID level/configuration do you use?  I've typically 
used RAID5, but RAID0+1 might be acceptable.

Eric
--
--
Eric Anderson Sr. Systems AdministratorCentaur Technology
Today is the tomorrow you worried about yesterday.
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


named Configuration issue

2004-05-21 Thread whizkid
I am running bind 9.x on my primary and secondary servers.  Since both are
on the same C class subnet I have used a free DNS hosting to be a
secondary for my site..  I am trying to added NS and A name records to the
2 name servers but I recieve errors when I restart/reload bind.  Here is
my mydomain.com zone file.

;
; The full zone file
;
$TTL 1H
@   IN  SOA ns1.mydomain.com. postmaster.mydomain.com. (
2004052003  ; serial, todays date + todays
serial #
1H  ; refresh, seconds
2H  ; retry, seconds
4W  ; expire, seconds
1H ); minimum, seconds
;
NS  ns1.mydomain.com.
NS  ns2.mydomain.com.
NS  ns0.xname.org.
NS  ns1.xname.org.
MX  10 mail.mydomain.com.

localhost   A   127.0.0.1

@   A   10.0.0.0
MX  10 mail.mydomain.com.

ns1 A   10.0.0.1
MX  10 mail.mydomain.com.
www CNAME   ns1.mydomain.com.

ns2 A   10.0.0.2
MX  10 mail.mydomain.com.

mailA   10.0.0.3
MX  10 mail.mydomain.com.

ns0.xname.org. A   195.20.105.149
ns1.xname.org. A   213.133.115.5

here is the error is /var/log/messages:

May 20 18:07:14 ns1 named[718]: dns_master_load: mydomain.com:33: ignoring
out-of-zone data (ns0.xname.org)
May 20 18:07:14 ns1 named[718]: dns_master_load: mydomain.com:34: ignoring
out-of-zone data (ns1.xname.org)


if I comment out the ns0.xname.org and ns1.xname.org then I don't get the
error.  BUT then if you query my NS there is no A record for the xname NS.
 So I was told that they were Not Glued but if you query ns0.xname.org
there are A records for ns0.xname.org and ns1.xname.org.  How can I create
A records for the 2 DNS servers that are my secondaries from another
domain?  If I just leave it, then any DNS test I run shows that my DNS
servers do not contain the same zone information.  Because the NS0
secondary has A records for NS0 but NS1 does not..  :-(
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: relatively urgent question (about X)

2004-05-21 Thread Bill Moran
Gary Kline wrote:
	For some months I've had increasing troubles with my 
	4.9/4.10 abruptly crashing.  This morning I found my
	workhorse server, tao, down and hung up while trying to
	fsck /usr.  I cleaned everything thoroughly and then
	started xdm.  The grey screen showed, the mouse was frozen;
	after 30 seconds, BOOM.  Another crash.  After yet 
	another round of fsck's, I tried startx.  To see what 
	errs might kill the X11 boot.  No: same blank grey screen,
	same frozen mouse,same OS crash.

I tried /stand/sysinstall to reconfigure X.  No luck.
I'm now doing my next stable sup upgrade and am doing
yet another buildworld   buildkernel.
	I doubt this will resolve the X Window snafu, tho.  So:::
	what x11/*XFree* ports do I have to fetch/build/install??
	((I'm assuming the reason for the crash was X-related,
	but this is only a first-SWAG.) Also, if anybody has had a 
	similar problem, please let me know.
I'm just speculating, but it sounds like it's your window manager
that's not starting, although X seems to actually be working.
You could easily test this by editing ~/.xinitrc to use twm (a
very simple wm) instead of what you're currently using.  If startx
works after that, then you don't need to fix X, you just need to fix
your wm.
In my experience, big, complex wms like Gnome and KDE tend to have
trouble off and on.  I've found that deleting everything from /tmp
will sometimes fix things.  Other times, I've been able to get things
going again by deleting the .gnome (and other, similar directories)
from my home directory.  Note that this second one blows away all your
Gnome settings.
HTH
--
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: Script won't run from cron

2004-05-21 Thread Andy Smith
On Fri, May 21, 2004 at 08:20:04PM +1200, Andrew McNaughton wrote:
 
 Since upgrading from 4.5-RELEASE to 4.8-RELEASE (actually rebuilding the
 system and mounting the old /home directory), I'm having problems with a
 process which rebuilds a search engine index.  Everything runs fine from
 the command line, but the same script fails when running from cron.
 
 The /bin/sh script runs, but when it goes to fire up the indexing process,
 that process fails.

You need to figure out a way to get your program to tell you *what*
exactly fails.  A lot of things are different from cron - the most
often noticed one being that you have a much shorter PATH - so maybe
that is it.  But if not, it will save you time to get your
application to report what exactly it is doing that fails.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpW5qyqJO7VT.pgp
Description: PGP signature


Re: Max NFSD processes

2004-05-21 Thread Steve Shorter
On Fri, May 21, 2004 at 01:06:41PM -0500, Eric Anderson wrote:
 
  Disk design issues  matter cause it is the ultimate 
 bottleneck. RAID is you friend.
 
 
 Just curious - what RAID level/configuration do you use?  I've typically 
 used RAID5, but RAID0+1 might be acceptable.
 

Depends. RAID5 has worst right performance, so it might
be bad for something like mail. Generally I use RAID0+1 for mail and RAID5 for
web data.

Also, depending on your budget and/or concerns about
failure/downtime, you might want to vinum mirror the entire base system disks.
Be sure to have the root partition vinumed also. There is good documentation
in the handbook and on gregs page.

Actually all my nfs servers are diskless except for the
data and boot off of boot servers using PXE. The boot servers have
vinumed system disks.

-steve

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


Debugging a process

2004-05-21 Thread Michal Pasternak
Hello,

I've got an Epson printer I've set up with CUPS. Unfortunatley it came out,
that the program CUPS uses internally (rastertoprinter) gets some kind of
lockup right after ending the page - it starts to eat up 100% CPU; CUPS gets
the message Page finished, but the job stays there - and the printer
device (lpt0) is in use.

Well, so I did gdb, attached to the PID, typed bt... nothing. Just a few
lines with addr no and question marks.

I've recompiled said program (and the library it depends on) with -g in
CFLAGS. Nothing.

It came out, that the binary was stripped during install. I've installed
unstripped binary. Still the same thing.

Googled. Nothing really useful found.

At this point, I feel pretty lost - I've thought, that I know, what I have
to do when I want to have debugging info compiled in, and how to use gdb
(I know enough to get the backtrace, which is sufficient).

Any help / any ideas?

-- 
Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net

Frankly, any company would look bad if their corporate e-mail was available
for anyone to read, -- Jim Dose of Ritual Entertainment. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Proper way to shutdown a USB ethernet adapter?

2004-05-21 Thread LukeD
 I'm running i386 5.2-CURRENT and using the axe driver to run a Netgear
 FA120 USB ethernet adapter.
 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue May 18 16:11:06 PDT 2004

 The problem is that no matter what I try, every time I try to shut down
 the system, if this device is plugged in, the system will panic with a
 page fault when init terminates.

Sorry, I can't answer your question.
Just another question to you: is your USB chipset on the motherboard
a VIA 83C572 ?

The motherboard is a decrepit old American Megatrends Titan 3 PCI EISA
Pentium motherboard from the mid-90s that doesn't have native USB support.

I'm using a Belkin F5U219 PCI card to give me USB 2.0 support.  I've got a
USB mouse and a USB storage device, but I haven't gotten around to setting
those up yet.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


netscape memory leak

2004-05-21 Thread whitevamp
sorry if this quistion has allread been asked and awnsered..

i got noticeing that my system was runnung out of mem so i did top and this is what i 
found 

PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND

9936 dave -22 0 219M 98M RUN 16:03 46.04% 46.04% netscape-bin

15211 dave 31 0 2056K 964K RUN 0:08 3.37% 3.37% top

3 root -18 0 0K 0K psleep 4:08 2.93% 2.93% pagedaemon

99894 dave 2 0 21268K 2212K poll 79:20 1.90% 1.90% kdeinit

9941 dave 10 0 219M 98M nanslp 0:21 0.20% 0.20% netscape-bin

99870 dave 2 0 59268K 18568K select 63:32 0.00% 0.00% XFree86

netscape was takeing up 98 mem of ram si closed netscape and then did top agine and i 
found this 

PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND

9936 dave -22 0 247M 102M swread 17:55 6.64% 6.64% netscape-bin

9941 dave 18 0 247M 102M pause 0:23 0.00% 0.00% netscape-bin

now it was takeing up 102 meg of ram

so  my quistion is this what would be causeing netscape to be useing up so much ram? 
and how do i fix it?



Netscape 7.1

Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

uname -a

FreeBSD vampextream.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

thx in advance for any help any one can give me on this ..

David D.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.688 / Virus Database: 449 - Release Date: 5/18/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anybody use Qmail Ldap?

2004-05-21 Thread Darryl Hoar
Greetings,
I have 5.1-release installed.  I installed qmail from the ports.

Anybody use ldap with qmail ?  Tried following along with
lifewithqmail-ldap pages, but couldn't find schema, etc.

Anyway,  any help greatly appreciated.

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


Re: named Configuration issue

2004-05-21 Thread Matthew Seaman
On Fri, May 21, 2004 at 11:18:49AM -0700, [EMAIL PROTECTED] wrote:
 I am running bind 9.x on my primary and secondary servers.  Since both are
 on the same C class subnet I have used a free DNS hosting to be a
 secondary for my site..  I am trying to added NS and A name records to the
 2 name servers but I recieve errors when I restart/reload bind.  Here is
 my mydomain.com zone file.
 
 ;
 ; The full zone file
 ;
 $TTL 1H
 @   IN  SOA ns1.mydomain.com. postmaster.mydomain.com. (
 2004052003  ; serial, todays date + todays
 serial #
 1H  ; refresh, seconds
 2H  ; retry, seconds
 4W  ; expire, seconds
 1H ); minimum, seconds
 ;
 NS  ns1.mydomain.com.
 NS  ns2.mydomain.com.
 NS  ns0.xname.org.
 NS  ns1.xname.org.
 MX  10 mail.mydomain.com.
 
 localhost   A   127.0.0.1
 
 @   A   10.0.0.0
 MX  10 mail.mydomain.com.
 
 ns1 A   10.0.0.1
 MX  10 mail.mydomain.com.
 www CNAME   ns1.mydomain.com.
 
 ns2 A   10.0.0.2
 MX  10 mail.mydomain.com.
 
 mailA   10.0.0.3
 MX  10 mail.mydomain.com.
 
 ns0.xname.org. A   195.20.105.149
 ns1.xname.org. A   213.133.115.5
 
 here is the error is /var/log/messages:
 
 May 20 18:07:14 ns1 named[718]: dns_master_load: mydomain.com:33: ignoring
 out-of-zone data (ns0.xname.org)
 May 20 18:07:14 ns1 named[718]: dns_master_load: mydomain.com:34: ignoring
 out-of-zone data (ns1.xname.org)
 
 
 if I comment out the ns0.xname.org and ns1.xname.org then I don't get the
 error.  BUT then if you query my NS there is no A record for the xname NS.
  So I was told that they were Not Glued but if you query ns0.xname.org
 there are A records for ns0.xname.org and ns1.xname.org.  How can I create
 A records for the 2 DNS servers that are my secondaries from another
 domain?  If I just leave it, then any DNS test I run shows that my DNS
 servers do not contain the same zone information.  Because the NS0
 secondary has A records for NS0 but NS1 does not..  :-(

ns0.xname.org and ns1.xname.org shouldn't have entries in the zone
file for mydomain.com, because (clearly) they belong to a completely
different domain.  Because it's a different domain then it's not your
problem(TM).  Presumably there is a nameserver for xname.org
somewhere containing the correct data for that zone, and your name
server will very quickly retrieve and cache those RRs once you start
it up -- it has to, in order to send NOTIFY messages to all of the
servers for the domain.

If the xname.org zone doesn't have good A records for those domains,
then you need to ask yourself if those xname.org people are really
competent to provide a 2ary DNS service for you.

The 'Glue' thing is different -- that's to do with the delegation of
the 'mydomain.com' zone to your servers by the servers for the .com
domain.  When you registered the domain, you had to give a list of
authoritative nameservers for the domain: those are entered into the
.com zone file, along with what are called 'glue' records -- the
server for .com has to contain a record of the IP numbers all
authoritative DNS servers whose name ends in .com -- so called 'Glue'
records.  Note that the list of server IP numbers registered with the
gTLD server doesn't have to match up precisely with your list of
servers -- you can have extras listed in your zone, or even not
register the primary, only the two or three secondaries.  The
advantage of which is that it's only the registered servers that get
asked for RR data by third party resolvers.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpTO6gE4XucO.pgp
Description: PGP signature


Re: netscape memory leak

2004-05-21 Thread Matthew Seaman
On Fri, May 21, 2004 at 12:38:49PM -0700, whitevamp wrote:
 sorry if this quistion has allread been asked and awnsered..
 
 i got noticeing that my system was runnung out of mem so i did top and this is what 
 i found 
 
 PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
 
 9936 dave -22 0 219M 98M RUN 16:03 46.04% 46.04% netscape-bin
 
 15211 dave 31 0 2056K 964K RUN 0:08 3.37% 3.37% top
 
 3 root -18 0 0K 0K psleep 4:08 2.93% 2.93% pagedaemon
 
 99894 dave 2 0 21268K 2212K poll 79:20 1.90% 1.90% kdeinit
 
 9941 dave 10 0 219M 98M nanslp 0:21 0.20% 0.20% netscape-bin
 
 99870 dave 2 0 59268K 18568K select 63:32 0.00% 0.00% XFree86
 
 netscape was takeing up 98 mem of ram si closed netscape and then did top agine and 
 i found this 
 
 PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
 
 9936 dave -22 0 247M 102M swread 17:55 6.64% 6.64% netscape-bin
 
 9941 dave 18 0 247M 102M pause 0:23 0.00% 0.00% netscape-bin
 
 now it was takeing up 102 meg of ram
 
 so  my quistion is this what would be causeing netscape to be useing up so much ram? 
 and how do i fix it?
 
 
 
 Netscape 7.1
 
 Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1
 
 uname -a
 
 FreeBSD vampextream.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 
 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
 
 thx in advance for any help any one can give me on this ..

Netscape and Mozilla and presumable some other related browsers have a
failure mode where either the on-screen windows freeze or disappear,
but the actual binary is left running in a catatonic state where it
just spins and takes up system resources but doesn't do anything
useful.  Generally I've seen this triggered by websites using Flash
animation and a few other data types which Netscape has to load a
plugin to deal with.  It can also sometimes leave some 'helper'
applications running in the same sort of disconnected state.

The only thing to do in those cases is kill all of the catatonic
processes, and learn to avoid the sites that cause the problems.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpmJfDSPcl0R.pgp
Description: PGP signature


Re: PCMCIA to PCI hardware

2004-05-21 Thread Vince Hoffman
Bit late i know but
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemcategory=45001item=5701027269rd=1
works well for me in use as an access point (using it right now while
writing this write.) hope the url comes out ok as its a bit long.

Vince

On Fri, 14 May 2004, sAndri Kok wrote:

 Hi guys,

 I'm thinking of running a wireless access point using FreeBSD. Now, the
 manual (wi(4)) says that I need a prism II or 2.5 chipset, I can get that
 quite easily, but the PCI version is not. I'm thinking of getting a PCMCIA
 card with that supported chip and a PCMCIA to PCI card
 http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItemitem=3095750525. Are these
 cards suppoerted under FBSD? thx a lot guys =)

 Regards,

 Andri

 _
 Get Extra Storage in 10MB, 25MB, 50MB and 100MB options now! Go to
 http://join.msn.com/?pgmarket=en-aupage=hotmail/es2

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


Installation Problem with SCSI Adapter and 4.9

2004-05-21 Thread Matt Smith
I got an old machine from a garage sale a couple months ago and have been 
unable to install any operating system on it. Mainly with errors like 
isolinux: spec packet failed to locate cd rom device. And with FreeBSD 5.1 i 
got:

Building the boot loader arguments:
Read Error: 0x01
Could not find Primary Volume Descriptor
Someone on IRC pointed me to a release not for 5.1 about how older SCSI 
CD-Rom Drives will not work anymore with 5.1 on installs. He also told me 
that 4.9 might work then. So I downloaded 4.9 and put it in. It booted to 
the installer unlike pretty much every operating system i've tried. During 
the installation once i got the the partitioning and anything related to the 
hard drive i would get an error saying there was no disk detected. The Hard 
Drive and CD-Rom Drive are both detected on the POST, however. I've been 
able to pull out a lot of information on whats going on.

Its an Adaptec AHA 2940 W Ultra/Ultra Bios 1.23 SCSI Controller with a 
Seagate hard drive and a Plextor CD-Rom Drive. The machine is a pentium pro 
200mhz with a 3com nic and a Matrox vga card. It only has 1 IDE interface on 
the motherboard which is missing pins so i have no floppy drive on it.

Hard Drive(Lun:0) - - - SCSI Controller(Lun-7 - - - Plextor CD-Rom 
Drive(Lun:3).
They are both on different cables. I've verified that both cables work. The 
Controller does talk to the hard drive also. You can manually format it in 
the SCSI Controllers bios. So Far i've tried changing the termination from 
automatic to every option. Turned off bios translation. Turned off Lun 
Support. Modified the kernel config file to make sure the settings were 
accurate. Also in tty2 at the end there were a few interesting messages.

(da0:ahc): MEDIUM ERROR asc:31,0
DEBUG: Add mapping for /dev/cuaa0 to sl10
DEBUG: Add mapping for /dev/cuaa1 to sl10
DEBUG: Unable to open disk cd0
DEBUG: Unable to open disk da0
So i launched a emegency shell in tty4 and did camcontrol devlist. It showed 
the CD-Rom Drive and the Hard Drive. No SCSI Controller though if one was 
suppost to be present. It was after this we turned off DOS Translation and 
Lun Support. Still no go. If someone can help please do. I've spent so much 
time on this and i can't think of anything else that might work.

- Matt Smith
_
Express yourself with the new version of MSN Messenger! Download today - 
it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


Re: relatively urgent question (about X)

2004-05-21 Thread Gary Kline
On Fri, May 21, 2004 at 02:22:46PM -0400, Bill Moran wrote:
 Gary Kline wrote:
  For some months I've had increasing troubles with my 
  4.9/4.10 abruptly crashing.  This morning I found my
  workhorse server, tao, down and hung up while trying to
  fsck /usr.  I cleaned everything thoroughly and then
  started xdm.  The grey screen showed, the mouse was frozen;
  after 30 seconds, BOOM.  Another crash.  After yet 
  another round of fsck's, I tried startx.  To see what 
  errs might kill the X11 boot.  No: same blank grey screen,
  same frozen mouse,same OS crash.
 
  I tried /stand/sysinstall to reconfigure X.  No luck.
  I'm now doing my next stable sup upgrade and am doing
  yet another buildworld   buildkernel.
 
  I doubt this will resolve the X Window snafu, tho.  So:::
  what x11/*XFree* ports do I have to fetch/build/install??
  ((I'm assuming the reason for the crash was X-related,
  but this is only a first-SWAG.) Also, if anybody has had a 
  similar problem, please let me know.
 
 I'm just speculating, but it sounds like it's your window manager
 that's not starting, although X seems to actually be working.


When I just tried X with startx (as root), I always got
the defaukolt twm. Here is what in root's .xsession::

twm 
xterm 
xterm 

I'm using ctwm in my /home/kline acct.  Pretty basic.


 
 You could easily test this by editing ~/.xinitrc to use twm (a
 very simple wm) instead of what you're currently using.  If startx
 works after that, then you don't need to fix X, you just need to fix
 your wm.
 

Hm.  /root had no .xinitrc.  Still, before it made no difference.
I just created /root/.xinitrc and will try.


 In my experience, big, complex wms like Gnome and KDE tend to have
 trouble off and on.  I've found that deleting everything from /tmp
 will sometimes fix things.  Other times, I've been able to get things
 going again by deleting the .gnome (and other, similar directories)
 from my home directory.  Note that this second one blows away all your
 Gnome settings.

I'm test gnome and kde3 on my new 5.2 server; it's temp'y 
offline.  There are lots of GUI-goodies in these wmanagers
but my bias is to 'keep it simple, sir'.  ctwm along with
lots of tuning has served for around 7 years... .

Snce my mouse X was frozen, maybe the mouse daemon never
exec'd.  Could that have crashed the OS?  Another strange
new fault is that rc.network took a long time to do anything.

This line:

May 21 09:55:17 tao /kernel: Doing initial network setup:

hung more than a minute.  Do you//does anybody have a clue
re this new problem?


Anyway, thanks for your data-points.  I'll summarize to
the list if/when I figure out what's going oon.  I've had
lots of strange events, but this is a new one..

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]


wrong ver in ports after cvsup

2004-05-21 Thread white vamp
i did a cvsup then whent to install this port /usr/ports/textproc/glimpse
now its saying this
make install clean
===  Vulnerability check disabled
glimpse-4.13.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
Attempting to fetch from ftp://ftp.polito.it/pub/tools/unix/harvest/.
fetch: ftp://ftp.polito.it/pub/tools/unix/harvest/glimpse-4.13.1.tar.gz: 
Connection refused
Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/glimpse-4.13.1.tar.gz: 
File unavailable (e.g., file not found, no access)
Couldn't fetch it - please try to retrieve this
port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
Stop in /usr/ports/textproc/glimpse.
and i have whent there looking for that ver and i can onley find 
glimpse-4.12.6

so my quistin is this where do i find glimpse-4.13.1.tar.gz  ??
and will ver # that maches  the one its looking for work say i found one at 
some place else
can i place it in distfiles and make it work ??

uname -a
FreeBSD vampextream.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 
17:51:09 GMT 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

and thx in advance for any help
David D.
_
Watch LIVE baseball games on your computer with MLB.TV, included with MSN 
Premium! http://join.msn.click-url.com/go/onm00200439ave/direct/01/

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


Re: relatively urgent question (about X)

2004-05-21 Thread Nathan Kinkade
On Fri, May 21, 2004 at 10:50:46AM -0700, Gary Kline wrote:
   For some months I've had increasing troubles with my 
   4.9/4.10 abruptly crashing.  This morning I found my
   workhorse server, tao, down and hung up while trying to
   fsck /usr.  I cleaned everything thoroughly and then
   started xdm.  The grey screen showed, the mouse was frozen;
   after 30 seconds, BOOM.  Another crash.  After yet 
   another round of fsck's, I tried startx.  To see what 
   errs might kill the X11 boot.  No: same blank grey screen,
   same frozen mouse,same OS crash.
 
   I tried /stand/sysinstall to reconfigure X.  No luck.
   I'm now doing my next stable sup upgrade and am doing
   yet another buildworld   buildkernel.
 
   I doubt this will resolve the X Window snafu, tho.  So:::
   what x11/*XFree* ports do I have to fetch/build/install??
   ((I'm assuming the reason for the crash was X-related,
   but this is only a first-SWAG.) Also, if anybody has had a 
   similar problem, please let me know.
 
   tia, people,
 
   gary, ssh'd in from ethic.thought.org

Could this be a hardware issue?  All other things being mostly constant
I wouldn't think that software usually all of a sudden goes bad or gets
misconfigured.  Possibly it got corrupted on the disk for some reason,
but then I might wonder what caused the disk to get corrupted in the
first place.  How about trying a new video card and/or peripherals?
This is assuming that your setup was working one day and then the next
went bad, or if it is flaky and intermittent.

Nathan


pgpp0AL4uOTve.pgp
Description: PGP signature


Re: Debugging a process

2004-05-21 Thread Michal Pasternak
Michal Pasternak [Fri, May 21, 2004 at 08:38:41PM +0200]:
 Hello,
 
 I've got an Epson printer I've set up with CUPS. Unfortunatley it came out,
 that the program CUPS uses internally (rastertoprinter) gets some kind of
 lockup right after ending the page - it starts to eat up 100% CPU; CUPS gets
 the message Page finished, but the job stays there - and the printer
 device (lpt0) is in use.
 
 Well, so I did gdb, attached to the PID, typed bt... nothing. Just a few
 lines with addr no and question marks.

Well, I'm answering myself: 

$ gdb nameOfExecutableWithDebugSymbols
gdb attach PID

... and, voila, that's all that it's needed.

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


Re: relatively urgent question (about X)

2004-05-21 Thread Gary Kline
On Fri, May 21, 2004 at 02:40:58PM -0600, Nathan Kinkade wrote:
 On Fri, May 21, 2004 at 10:50:46AM -0700, Gary Kline wrote:
  For some months I've had increasing troubles with my 
  4.9/4.10 abruptly crashing.  This morning I found my
  workhorse server, tao, down and hung up while trying to
  fsck /usr.  I cleaned everything thoroughly and then
  started xdm.  The grey screen showed, the mouse was frozen;
  after 30 seconds, BOOM.  Another crash.  After yet 
  another round of fsck's, I tried startx.  To see what 
  errs might kill the X11 boot.  No: same blank grey screen,
  same frozen mouse,same OS crash.
  
  I tried /stand/sysinstall to reconfigure X.  No luck.
  I'm now doing my next stable sup upgrade and am doing
  yet another buildworld   buildkernel.
  
  I doubt this will resolve the X Window snafu, tho.  So:::
  what x11/*XFree* ports do I have to fetch/build/install??
  ((I'm assuming the reason for the crash was X-related,
  but this is only a first-SWAG.) Also, if anybody has had a 
  similar problem, please let me know.
  
  tia, people,
  
  gary, ssh'd in from ethic.thought.org
 
 Could this be a hardware issue?  All other things being mostly constant
 I wouldn't think that software usually all of a sudden goes bad or gets
 misconfigured.  Possibly it got corrupted on the disk for some reason,
 but then I might wonder what caused the disk to get corrupted in the
 first place.  How about trying a new video card and/or peripherals?
 This is assuming that your setup was working one day and then the next
 went bad, or if it is flaky and intermittent.
 
 Nathan


Yes, it certainly could be a bad disc or even bad DIMM.
I'm running an i815 motherboard that had video/audio
built in.  But the drive may have gotten kicked or bumped.
How can I test a 40G drive??

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: Help: Setting up FTP server is not in the handbook... or is it?

2004-05-21 Thread Randy Pratt
On Fri, 21 May 2004 15:31:57 +0100
Barry Byrne [EMAIL PROTECTED] wrote:
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Mark Jayson Alvarez
  Sent: 21 May 2004 15:23
  To: [EMAIL PROTECTED]
  Subject: Help: Setting up FTP server is not in the 
  handbook... or is it?
  
  Hi,
I have a lot of files in my computer that i wanted
  to share with my friends remotely via ftp server. I'm
  currently using freebsd 4.9 and I've been repeatedly
  scanning through the handbook but I cant seem to find
  the portion about setting up an ftp server. Did I miss
  something in the handbook or its just that there isn't
  acctualy any part that tells how to do it, or maybe
  freebsd is just using a different term? Can you give a
  link perhaps which will give me a hint on setting up
  an ftp server on freebsd? 
  
  smile:)
  jay
 Mark:
 
 Edit /etc/inetd.conf and comment out the FTP line. Then 
   ^^^
I'm sure you meant to type uncomment here since that is what
needs to be done.

 'killall -HUP inetd' to restart. You should then be able
 to ftp to your machine. You should 'man ftpd' for further
 details on configuring ftp.
 
 Cheers,
 
 Barry

HTH,

Randy

(reformatted to eliminate top posting and wrap at 72 or less
characters)


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


Re: Help with PCMCIA card support

2004-05-21 Thread Vince Hoffman


On Thu, 20 May 2004, Martin Phillips wrote:

 I am trying to install FreeBSD on an old laptop that used to run various
 versions of Windows.  I have two problems...

 1. The installation process appears not to see my PCMCIA cards.  Running
 pccardd says No PC-CARD slots.  That's a shame really, because my ethernet
 card is essential.  How do I convince the system that there really are card
 slots?


you seem to be using 5.2.1 so the pccardc/pccardd commands are not used
unless you recompile your kernel with the options to use the old pcmcia
code.  see /usr/src/sys/i386/conf/OLDCARD if you have the system sources
installed.
have a look through your dmesg and see if cbb0 is mentioned (havent got a
laptop handy to tell you exactly what you could grep on, sorry.) if so
then it may be the pcmcia card not the controller that is not recognised.


 2. Resolution is not helped by the install process not showing the Kernel
 Configuration Menu that is described in section 2.3.2 of the documentation.
 How can I get to this menu to check my system configuration?

Sorry cant help, which documentation ? the handbook doesnt seem to have a
2.3.2 section. Its possible your looking at something related to the  5.x
preinstallation config menu.

Vince



 uname -a reports:
 FreeBSD hostname 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: date
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386


 Martin Phillips
 Ladybridge Systems
 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB
 +44-(0)1604-709200

 ___
 [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: Disabling atime updates...

2004-05-21 Thread andrew clarke
On Fri, May 21, 2004 at 01:09:03PM +1000, Norberto Meijome wrote:

 I'm plan to disable atime updates in some Web + MySQL servers (to get a 
 bit more performance, even if insignificant).
 
 Is there any OS, Apache or MySQL feature that would be affected by 
 setting noatime in fstab? ( I couldn't find any reference, even man 8 
 mount says it's hardly ever used)

I've been using noatime for some months on /usr with no apparent ill
effects.  Running Apache 1.x, Named, Dovecot, Squid, Samba, Fetchmail 
Sendmail, among other things.

I don't use noatime on the other mounts.  I seem to vaguely recall it
causing some things to break.  It may have been something like tail -F
/var/log/messages not working the way it should, but don't quote me on
that.

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


Re: System Hang - Found word(s) list error remove XXX in the Text body.

2004-05-21 Thread Jorn Argelo
Nicholas Bernstein wrote:
On Fri, 2004-05-21 at 00:06, Jorn Argelo wrote:
 

Nicholas Bernstein wrote:
   

:: snip ::
 

 

I wonder ... why do want to run CURRENT on a machine like that? It's the 
bleeding edge source code, which is unstable most of the times. You 
might want to consider running 4.9 on that machine, which is the 
production release. You can try 5.2.1 as well, but it still falls under 
the unstable branch.

So in other words, post your error at the CURRENT mailing list, and 
switch back to 4.9. I think you will solve many problems with that.

Cheers,
Jorn
   

Glad you pointed that out; I intended to be running release, as someone
on irc stated that 5.2.1 did not have a stable branch as of yet I
assumed that running release would be OK. I think it got converted to
CURRENT when I did a cvsup to make everything up to date. By specifying
'*default release-cvs tag-.' would that default to current? 

Thanks, I appreciate the advice,
Nick
 

I believe it's set to 4.9 by default, but I'm not sure. Anyway, you 
shouldn't do a downgrade with sources. 4.9 is very different when 
comparing it with 5.2.1. Perhaps it's possible, but I wouldn't put too 
high hopes in that. You should just download the 4.9 CD and reinstall 
your machine completely to make sure your machine will be running smoothly.

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


Printing with CUPS and gimp-print-cups: anyone with same errors?

2004-05-21 Thread Michal Pasternak
Hello,

on my machine (config as in Subject:) printing with CUPS caused the command
rastertoprinter to eat up 100% of CPU after finishing all the pages from a
given task.

I've found the possible bug and posted it, with a fix, on CUPS site:

http://www.cups.org/str.php?L723+P0+S-2+C0+I0+E0+Qfreebsd

Has any of you experienced similar problems? I'm interested in your
comments, because I'm still not exactly clear on where the bug is exactly
located:

  * the place I've pointed in bugreport
  
  * somewhere earlier (eg. when the socked mentioned in bugreport
is being set up and it is set up in a wrong way)

  * not related with CUPS (FreeBSD fault? Don't think so, but that's still
possible)

My system is 5.2.1-RC, printer is connected via LPT port. I

-- 
Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net

Frankly, any company would look bad if their corporate e-mail was available
for anyone to read, -- Jim Dose of Ritual Entertainment. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network printing question: apsfilter + samba over Win2k network

2004-05-21 Thread Mike
Greetings:
My server is: FreeBSD 4.9 stable and is acting as a file and (hopefully) 
print server for 6 local Windows 2000 workstations.

Samba 2.28 is installed and serving file shares properly.  Now for 
printer sharing...

The printer is an HP 4M laserjet, and I installed apsfilter (via ports)
Apsfilter SETUP came up and took me through the process of installing 
the printer.

First I installed the HP [lp] first using auto as the default printing 
method.  The HP's test page printed fine

Next I installed the HP [aps1]using raw as print method. I wanted to 
use the HP as a print server so I just want the server to pass the 
print job to the Win2K client (is this right?).  I want Win2k to handle 
the print job.

Note: I have a Redhat-9 print server that works and it uses a CUPS + 
SAMBA combination.

I'm using Apsfilter for FreeBSD, so I shouldn't need CUPS right?
Anyway, for aps1 (raw printer), I set-up a samba printer share, here is 
that portion of the smb.conf:

[hp4m]
printable = yes
comment = hp4m
printer = aps1
lprm command = lprm -P%p %j
print command = lpr -r -h -P %p %s
lpq command = lpq -P%p
path = /var/spool/lpd/aps1
public = yes
writeable = yes
use client driver = yes

PROBLEM: I'm able to see the printer from the Win2k client accoss the 
network, Windows 2k prompts for a driver and I load the driver. Windows 
reports that the printer is ready, however when I try to print a test 
page, nothing happens.

This is my first foray into network printing with FreeBSD, and I'm still 
learning may way around this OS.  So any pointers or hints would be 
greatly appreciated.

Thanks,
Michael Chinn
For reference, here is the /etc/printcap file:
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|PS;r=600x600;q=medium;c=full;p=letter;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this
# APS2_BEGIN:printer2
# - don't delete start label for apsfilter printer2
# - no other printer defines between BEGIN and END LABEL
aps1|PS;r=600x600;q=medium;c=full;p=letter;m=raw:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/aps1:\
:lf=/var/spool/lpd/aps1/log:\
:af=/var/spool/lpd/aps1/acct:\
:mx#0:\
:sf:\
:sh:
# APS2_END - don't delete this

From the smb.conf:
[hp4m]
printable = yes
comment = hp4m
printer = aps1
lprm command = lprm -P%p %j
print command = lpr -r -h -P %p %s
lpq command = lpq -P%p
path = /var/spool/lpd/aps1
public = yes
writeable = yes
use client driver = yes
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: relatively urgent question (about X)

2004-05-21 Thread Nathan Kinkade
On Fri, May 21, 2004 at 01:51:02PM -0700, Gary Kline wrote:
 On Fri, May 21, 2004 at 02:40:58PM -0600, Nathan Kinkade wrote:
  On Fri, May 21, 2004 at 10:50:46AM -0700, Gary Kline wrote:
 For some months I've had increasing troubles with my 
 4.9/4.10 abruptly crashing.  This morning I found my
 workhorse server, tao, down and hung up while trying to
 fsck /usr.  I cleaned everything thoroughly and then
 started xdm.  The grey screen showed, the mouse was frozen;
 after 30 seconds, BOOM.  Another crash.  After yet 
 another round of fsck's, I tried startx.  To see what 
 errs might kill the X11 boot.  No: same blank grey screen,
 same frozen mouse,same OS crash.
   
 I tried /stand/sysinstall to reconfigure X.  No luck.
 I'm now doing my next stable sup upgrade and am doing
 yet another buildworld   buildkernel.
   
 I doubt this will resolve the X Window snafu, tho.  So:::
 what x11/*XFree* ports do I have to fetch/build/install??
 ((I'm assuming the reason for the crash was X-related,
 but this is only a first-SWAG.) Also, if anybody has had a 
 similar problem, please let me know.
   
 tia, people,
   
 gary, ssh'd in from ethic.thought.org
  
  Could this be a hardware issue?  All other things being mostly constant
  I wouldn't think that software usually all of a sudden goes bad or gets
  misconfigured.  Possibly it got corrupted on the disk for some reason,
  but then I might wonder what caused the disk to get corrupted in the
  first place.  How about trying a new video card and/or peripherals?
  This is assuming that your setup was working one day and then the next
  went bad, or if it is flaky and intermittent.
  
  Nathan
 
 
   Yes, it certainly could be a bad disc or even bad DIMM.
   I'm running an i815 motherboard that had video/audio
   built in.  But the drive may have gotten kicked or bumped.
   How can I test a 40G drive??
 
   gary

Well, any program checking every single block on a 40GB drive would
definitely take a long time to complete.  I was more suggesting that a
hardware problem might be causing the lockup, exclusive of the hardrive.
I have seen a bad video card cause X to completely crash a system while
X is intitializing.  If you had an extra video card around it might be
worth plugging it in and giving it a try.

Nathan


pgpUaRZxicb4e.pgp
Description: PGP signature


Re: Debugging a process

2004-05-21 Thread Nathan Kinkade
On Fri, May 21, 2004 at 10:47:17PM +0200, Michal Pasternak wrote:
 Michal Pasternak [Fri, May 21, 2004 at 08:38:41PM +0200]:
  Hello,
  
  I've got an Epson printer I've set up with CUPS. Unfortunatley it came out,
  that the program CUPS uses internally (rastertoprinter) gets some kind of
  lockup right after ending the page - it starts to eat up 100% CPU; CUPS gets
  the message Page finished, but the job stays there - and the printer
  device (lpt0) is in use.
  
  Well, so I did gdb, attached to the PID, typed bt... nothing. Just a few
  lines with addr no and question marks.
 
 Well, I'm answering myself: 
 
   $ gdb nameOfExecutableWithDebugSymbols
   gdb attach PID
 
 ... and, voila, that's all that it's needed.

You could also use ktrace(1).

Nathan


pgphkHrGYIVkS.pgp
Description: PGP signature


Re: relatively urgent question (about X)

2004-05-21 Thread Bill Moran
Gary Kline wrote:
On Fri, May 21, 2004 at 02:22:46PM -0400, Bill Moran wrote:
Gary Kline wrote:
	For some months I've had increasing troubles with my 
	4.9/4.10 abruptly crashing.  This morning I found my
	workhorse server, tao, down and hung up while trying to
	fsck /usr.  I cleaned everything thoroughly and then
	started xdm.  The grey screen showed, the mouse was frozen;
	after 30 seconds, BOOM.  Another crash.  After yet 
	another round of fsck's, I tried startx.  To see what 
	errs might kill the X11 boot.  No: same blank grey screen,
	same frozen mouse,same OS crash.

I tried /stand/sysinstall to reconfigure X.  No luck.
I'm now doing my next stable sup upgrade and am doing
yet another buildworld   buildkernel.
	I doubt this will resolve the X Window snafu, tho.  So:::
	what x11/*XFree* ports do I have to fetch/build/install??
	((I'm assuming the reason for the crash was X-related,
	but this is only a first-SWAG.) Also, if anybody has had a 
	similar problem, please let me know.
I'm just speculating, but it sounds like it's your window manager
that's not starting, although X seems to actually be working.
When I just tried X with startx (as root), I always got
the defaukolt twm. Here is what in root's .xsession::
twm 
xterm 
xterm 
	I'm using ctwm in my /home/kline acct.  Pretty basic.
Perhaps my speculation is wrong, then ... it just sounded like a wm
problem from your description.
In my experience, big, complex wms like Gnome and KDE tend to have
trouble off and on.  I've found that deleting everything from /tmp
will sometimes fix things.  Other times, I've been able to get things
going again by deleting the .gnome (and other, similar directories)
from my home directory.  Note that this second one blows away all your
Gnome settings.
	I'm test gnome and kde3 on my new 5.2 server; it's temp'y 
	offline.  There are lots of GUI-goodies in these wmanagers
	but my bias is to 'keep it simple, sir'.  ctwm along with
	lots of tuning has served for around 7 years... .

Snce my mouse X was frozen, maybe the mouse daemon never
exec'd.  Could that have crashed the OS?  Another strange
new fault is that rc.network took a long time to do anything.
Yeah, that doesn't sound like a wm.
This line:
May 21 09:55:17 tao /kernel: Doing initial network setup:
hung more than a minute.  Do you//does anybody have a clue
re this new problem?
In /etc/rc.network, the first thing that happens after that message
is printed is the hostname is set if not already set.  I wonder if
there's some reason the hostname command could be taking a long time
if there's no hostname set yet?
Anyway, thanks for your data-points.  I'll summarize to
the list if/when I figure out what's going oon.  I've had
lots of strange events, but this is a new one..
Good luck.
--
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]


Problems with qmail and connecting to smtp daemon and problem with my virtual domain.

2004-05-21 Thread Mattias Björk
Hi, list(ners)
Problem nr 1.
I have read the following guide to install qmail:
http://www.stevenfettig.com/mythoughts/archives/cat_qmailhowto.php
I have not installed from source by my self, I found that all programs 
where avalible thru ports. I will make this as sort as possible, I set 
up vpopmail with domain setiathome.birch.se. The domain is birch.se, 
fqdn is setiathome.birch.se for the host. I didn't how ever install 
everything. I didn't install ezmlm-idx and auotrespond, but its not 
vital for the operation of the mail-server at this time.

I had this problem, that i couldn't send message to the FreeBSD 
mailinglists, but I solved it by adding my ISP outgoing smtpserver to 
/var/qmail/control/smtproutes. Perhaps it hade something to do with 
reversed DNS.

Here are my directory listing from /var/qmail/control/:
defaultdomain   plusdomain  smtproutes
locals  rcpthosts   virtualdomains
locals.lock rcpthosts.lock  virtualdomains.lock
me  servercert.pem
In the file defaultdomain and plusdomain are the string entry 
birch.se. In the me file there are the hostname of the mail server. 
And finaly in the virtualdomains file are the string: 
setiathome.birch.se:setiathome.birch.se

My problems is that I can connect to port 25. The problem is that 
nothing happens, look below:

thrawn/usr/home/thrawn/tmp% telnet setiathome.birch.se 25
Trying 192.168.10.10...
Connected to setiathome.birch.se.
Escape character is '^]'.
Connection closed by foreign host.
thrawn/usr/home/thrawn/tmp%
I don't even press a button before Im in the console again. I run the 
sockstat command on my server and I get the following output:

setiathome/var/qmail/control# sockstat  | grep :25
qmaild   tcpserve 666453 tcp4   *:25  *:* 

setiathome/var/qmail/control#
And the output of netstat -nl -f inet -p tcp | grep 25 does not show 
anything how ever.

How ever, in the first chapter of the guide. It says the following at 
1.6 courier-imap Hack :

Because the SMTP after IMAP4(s)/POP3(s) of courier-imap does not work, 
here is a small wrapper. This hack tracks the IP of the authenticating 
user and allows for SMTP sending (i.e. a form of authenticated SMTP relay).

Perhaps that have something to do with that it doesn't work.
Problem nr 2.
The other problem is that I have a user named thrawn that is a local 
user on the system.
The home directory of the user is /usr/home/thrawn.
And the the Maildir diretory is /usr/home/thrawn/Maildir. When I 
connect to my mail via imapd-ssl, It uses the local user Maildir.

But I have a domain for vpopmail at the following directory 
/usr/local/vpopmail/domains/setiathome.birch.se

And there I also have a user named thrawn and with the same password 
as the local thrawn account. If I understand it correctly for some 
reason courier-imap doesn't use my virtual domain, but it does use the 
local user. Im sure that it might be me that I have done something wrong 
or the documentation is not completly correct.

Perhaps I should use another domain name and se if it works then, I 
haven't tested that yet. I think that it should work anyway, but I might 
 be wrong.

I hope that this information is of some use and I haven't forgotten to 
mutch information.

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


Multiple CPUs

2004-05-21 Thread Nicholas Bernstein
How can one detect if a system is using multiple CPUs? 
I'm running freebsd 4.9 and I was hoping that either uname or top would
give some information as to whether or not the second cpu is being used.
dmegs outputs the following:

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)

but I want to make sure that this is not just showing it's been
detected, as opposed to being used. 

-- 
Nicholas Bernstein, Unix Systems Administrator
Document Systems Inc.
http://docmagic.com
[EMAIL PROTECTED]

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


Re: Multiple CPUs

2004-05-21 Thread Micheal Patterson


- Original Message - 
From: Nicholas Bernstein [EMAIL PROTECTED]
To: freebsd-questions [EMAIL PROTECTED]
Sent: Friday, May 21, 2004 5:55 PM
Subject: Multiple CPUs


 How can one detect if a system is using multiple CPUs?
 I'm running freebsd 4.9 and I was hoping that either uname or top would
 give some information as to whether or not the second cpu is being used.
 dmegs outputs the following:

 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)

 but I want to make sure that this is not just showing it's been
 detected, as opposed to being used.

 -- 
 Nicholas Bernstein, Unix Systems Administrator
 Document Systems Inc.
 http://docmagic.com
 [EMAIL PROTECTED]


The first line of output from top shows the following information. The C
column indicates that it's a multi-proc system and which CPU a given process
is currently running on.

PID USERNAME  PRI NICE  SIZERES STATE  C   TIME   WCPUCPU
COMMAND

You can also type /var/run/dmesg.boot and it will show you the CPU
information as well.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


I'd give a whole $1.00 to know.

2004-05-21 Thread Gary Kline

Well, I dunno how, but X works.  Using /stand/sysintall,
I created a new XF86Config using the script.  I increased
the resolution to 1280x1024  just in case I ever got X
to boot.

I did clean a lot of crap out on /tmp; other than that, 
this is one major mystery.  I'd pay a dollar to know 
*why*.  I sure hope FBSD is more stable for here on.

--Now to  get on with my mail filtering stuff.

gary

(PS: I can just imagine me on my death-bed, wondering WHY... :)


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


freebsd on powerpc

2004-05-21 Thread Thomas May
Hi,

 

i read the old doco from 2002 of the ppc project, and i know opendarwin. But
I dont know exactly if

freebsd exists for powerpc or not. I have the pegasos ppc hardware
(HYPERLINK http://www.pegasosppc.com/http://www.pegasosppc.com) and like

to use it with freebsd

 

Can someone tell me 

 

thanx


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upsd for Belkin F6C120-UNV?

2004-05-21 Thread Miles Lubin
On Fri, 21 May 2004 11:56:07 +0100
Matthew Seaman [EMAIL PROTECTED] wrote:


 Try the sysutils/nut port: they claim to support exactly your model of
 UPS:
 
 http://eu1.networkupstools.org/compat/stable.html
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH
 UK
 

I looked at that, and the current version does support my UPS, but the
current ports version doesn't. Thx for leading me in the right
direction, I'll see if I can help update it to the current version.

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


How to get best results from FreeBSD-questions

2004-05-21 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies list caters 

The Complete FreeBSD: errata and addenda

2004-05-21 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Re: c and freebsd

2004-05-21 Thread anubis
On Fri, 21 May 2004 2:15 am, Kirk Strauser wrote:
 After seeing the results you got, I'm going to adopt that as my new
 .sig. Thanks for the tip!
-- 
Kirk Strauser
i'm 16 by the way - sexy brittany spears

LOL Love it!

my new sig

Im 37 by the way - Sexy Aria Giovanni  

Will only make people think im some kind of devo and that my favorite 
port is pornview
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BootEasy Problem

2004-05-21 Thread Dan Strick
On Fri, 21 May 2004 11:44:51 +0100, Soo-Hyun Choi wrote:

 I have played something with 'boot0cfg' like '# boot0cfg -s 2 -B /dev/ad0'.
 When I reboot my system it failed to be booted.

 I have the following diskmap.
 '/ for ad0s2a'

 How do I recover the BootEasy?


I don't see anything in the above boot0cfg command that is likely to
make your system unbootable.  If you want to restore the default
bootstrap configureation, do boot0cfg -B ad0.  If your hard disk
is no longer bootable, you can do it this way:

1) Boot your FreeBSD installation medium.
2) Go into fixit mode.
3) Reissue the boot0cfg command.

You will need a fixit diskette or a live filesystem cd-rom.
See the file floppies/README.TXT in your FreeBSD installation medium.

Dan Strick

P.S. The usual master bootstrap program is no longer BootEasy.
It is called boot0.  The source is in /usr/src/sys/boot/i386/boot0.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd on powerpc

2004-05-21 Thread Kris Kennaway
On Sat, May 22, 2004 at 01:39:32AM +0200, Thomas May wrote:
 Hi,
 
  
 
 i read the old doco from 2002 of the ppc project, and i know opendarwin. But
 I don?t know exactly if
 
 freebsd exists for powerpc or not. I have the pegasos ppc hardware
 (HYPERLINK http://www.pegasosppc.com/http://www.pegasosppc.com) and like
 
 to use it with freebsd
 
  
 
 Can someone tell me ?

It's not yet user-ready.  If you're a developer and can help with
serious kernel development, talk to the ppc list.

Kris


pgpfutRb9FCEC.pgp
Description: PGP signature


Re: Install IPFILTER question

2004-05-21 Thread horio shoichi
On Fri, 21 May 2004 19:35:01 +0800 (CST)
Stephen Liu [EMAIL PROTECTED] wrote:
 Hi folks,
 
 FreeBSD 5.2
 ===
 
 I tried to install and run IPFILTER but met with
 following problems;
 
 # which ipfilter
 ipfilter: Command not found.
 
 # whereis ipfilter
 ipfilter: /usr/src/contrib/ipfilter
 # ls /usr/share/examples/ | grep ipfilter
 ipfilter
 
 # pkg_info | grep -i ipfilter
 No printout
 
 # cd /usr/ports/
 # make search -i name=ipfilter
 # make search name=ipfilter
 Both with no printout
 
 # ee /usr/src/sys/conf/NOTES, searchig for 'IPFILTER'
 and found follows;
 
 options MROUTING# Multicast
 routing
 options PIM # Protocol
 Independent Multicast
 options IPFIREWALL  #firewall
 options IPFIREWALL_VERBOSE  #enable
 logging to syslogd(8)
 options IPFIREWALL_VERBOSE_LIMIT=100#limit
 verbosity
 options IPFIREWALL_DEFAULT_TO_ACCEPT#allow
 everything by default
 options IPV6FIREWALL#firewall for
 IPv6
 options IPV6FIREWALL_VERBOSE
 options IPV6FIREWALL_VERBOSE_LIMIT=100
 options IPV6FIREWALL_DEFAULT_TO_ACCEPT
 options IPDIVERT#divert
 sockets
 options IPFILTER#ipfilter
 support
 options IPFILTER_LOG#ipfilter
 logging
 options IPFILTER_DEFAULT_BLOCK  #block all
 packets by default
 options IPSTEALTH   #support for
 stealth forwarding
 options PFIL_HOOKS  #required by
 IPFILTER
 options TCPDEBUG
 
 Kindly advise how to install IPFILTER and/or edit
 kernel option to enable it.
 
 TIA
 
 B.R.
 Stephen Liu
 
 
 ___
 Do You Yahoo!?
 Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

ipf is what ipfw is for ipfirewall.



horio shoichi

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


Re: Network printing question: apsfilter + samba over Win2k network

2004-05-21 Thread Mike
Michal Pasternak wrote:
Mike [Fri, May 21, 2004 at 02:55:19PM -0700]:
PROBLEM: I'm able to see the printer from the Win2k client accoss the 
network, Windows 2k prompts for a driver and I load the driver. Windows 
reports that the printer is ready, however when I try to print a test 
page, nothing happens.

Do the logs in /var/log/ say anything useful?
Mike,
Hmm... the /var/log/log.smbd had several of these entries:
[2004/05/21 14:04:19, 0] printing/print_cups.c:cups_printer_fn(107)
  Unable to connect to CUPS server localhost - Connection refused
So I added this rule to IPFW (for Cups):
ipfw add allow tcp from 192.168.1.0/24 to me 515
And I re-started cups: /usr/local/etc/rc.d/cups.sh start
So now (it doesn't complain):
[2004/05/21 17:05:40, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
I also check the lpd-errs log but couldn't find anything.  I've also 
re-read the apsfilter manual but it really doesn't cover in a detail how 
to configure to a Windows client network.

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


  1   2   >