maxsize of a file

2003-01-03 Thread Jan Blomqvist
Hi!
how big can a file be in freebsd 4.1, cause i have problem with a database
file wich is very large 1,5-2Gb, now you can,t list the file or move or
copy, but it exist on disc cause the database can read data from it.Any idea
???

regards

/Jan Blomnqvist



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



[no subject]

2003-01-03 Thread andreas
Dear FreeBSD-Team,

I have a problem and I hope you can help.
I will install the RouteServerDaemon on FreeBSD
and I need SNMPI, a program for analyzing the
MIBs. My problem is that there is no version for
FreeBSD and I hope you can help me!

Thanks!
Andreas


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Shell guru needed.

2003-01-03 Thread Dirk-Willem van Gulik

Try any unix primer or

man find
or
find /my/unorganized/dir -name '*.pdf' -type f -exec echo mv {} /my/pdfs \;

and pray that you do not have files with identical names.

On Thu, 2 Jan 2003, mike wrote:

 Hey guys. heres the skinny. I have a huge library and i want to organize it. I want 
find to go through recursively, and move any pdf files it finds to a certain 
directory. I need an example piece of script on how i would confront this. It will 
save me hours if not days so thanks in advance.

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Quake III

2003-01-03 Thread Ruslik Ivachnenko
In /etc/rc.conf

linux_enable=YES

I run quake3.x86 and X server lost. Log file in attach. What port needs to
be install to play in Quake III? When I did not install wrapper X server not
lost.

 -Original Message-

 From: Jeff Love [mailto:[EMAIL PROTECTED]]

 Sent: Thursday, January 02, 2003 8:04 PM

 To: Ruslik Ivachnenko

 Cc: [EMAIL PROTECTED]

 Subject: Re: Quake III





 

 

 I have install 4.7-STABLE and KDE 3.0.3. And install from ports

 /usr/ports/games/q3server Quake III. I run quake3.x86 and X server

 lost. That I need to make to run and play Quake III.

 

 Since you're running 4.7-STABLE, then your version of linux emu is

 compatible with Quake3Arena. Are you sure you have linux set

 to start in

 /etc/rc.conf?

 The Quake3Arena server is not client. You may want to look at

 the 'loki'

 web site for more info on client. Do you have the GL module

 loaded in X? I run Quake3Arena and Half-Life servers in

 4.7-STABLE, they indeed work,

 please send any error logs dealing with this daemon failure.





 Jeff Love

 Burgh-Com




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



SOLVED: XFree86 lockfile?

2003-01-03 Thread Marcel Stangenberger
 I'm afraid I don't know enough about Microsoft to give you any further
 information, but since you say that it happened after the DHCP lease
 expires, you should check your configuration files on the Microsoft
 machine to see if they are making any assumptions about IP addresses.
 You could also try manually starting the client on eldar, pointing it
 at the (running) X server on your Microsoft box.  Something like:

   xterm -display microsoft:0


this did the trick, after i started it, it gave the report that it
couldn't find the computername. I checked the DNS entry's and they where
all correct. After that i checked the /etc/hosts and saw that there was
an error there. (the computername was listed multiple times with diverent
IP's). After correcting this, xdm gave my Xserver a beautifull login
prompt. :-)

Thnx for helping me out guys!

Marcel

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Procmail and Exim - Freebsd

2003-01-03 Thread Ian Watkinson
On Thu, 2003-01-02 at 23:39, Greg 'groggy' Lehey wrote:
 On Thursday,  2 January 2003 at 15:39:07 +, Ian Watkinson wrote:
  Trying to get Fetmail - Procmail - Exim working.
 
 Please don't reply to a thread with a completely different topic.

Thread? Threads are in usenet, this is a mailing list.




 This message is:
 
 In-Reply-To: [EMAIL PROTECTED]
 

That's not in my original headers looking at the full headers of the
message I posted.




 That is a thread about problems starting X applications.  It makes it

Er, no the subject makes it quite clear it's a post about Procmail and
Exim, on Freebsd.



 really difficult to follow to find a completely unrelated set of
 messages in the thread.  It also makes it much more difficult to
 filter with procmail, BTW.

What's wrong with filtering on Subject?

Can you tell me where the extra header is added, and where the posting
FAQ is for the list, as I seem to have missed the don't reply to the
list and change the subject bit..



 
 Greg
 --
 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original recipients.
 For more information, see http://www.lemis.com/questions.html
 See complete headers for address and phone numbers
 

Your sig sep is broken btw...

 
 information in this email is confidential and is intended solely
 for the addressee(s) and access to this email by anyone else is
 unauthorised. If you are not the intended recipient then any
 disclosure, copying, distribution or any action taken or omitted to
 be taken in reliance on it, is prohibited and may be unlawful.
-- 

Ian Watkinson
EHS Brann
Systems Administrator


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: your mail

2003-01-03 Thread Matthew Seaman
On Fri, Jan 03, 2003 at 11:11:40AM +0100, andreas wrote:

 I have a problem and I hope you can help.
 I will install the RouteServerDaemon on FreeBSD
 and I need SNMPI, a program for analyzing the
 MIBs. My problem is that there is no version for
 FreeBSD and I hope you can help me!

Do you mean snmpi(8) --- as in
http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V40G_HTML/MAN/MAN8/0326.HTM

That I believe is a part of the isode SNMP agent which is mentioned in
http://www.snmp.com/FAQs/snmp-faq-part2.txt, but the site given in
that FAQ
(http://metalab.unc.edu/linux/pub/Linux/system/network/isode/) apears
to have gone the way of all flesh.

As far as I can tell, the isode SNMP agent is pretty much obsolete
nowadays (it was mentioned on a FreeBSD mailing list back in 1997-ish
back when FreeBSD 2.1.x was current).  Although it started as a
BSD-ish program (http://www.funet.fi/pub/unix/osi/isode-ports.txt)
there apears not to be any sort of port on FreeBSD nowadays.  It also
seems to have nothing to do with http://www.isode.com/ any more.

Even if you could dig up an old version somewhere on the net and get
it installed on FreeBSD, you should think twice.  There were some very
nasty security bugs discovered last year that are apparently present
in almost all SNMP implementations
(http://www.cert.org/advisories/CA-2002-03.html) and you definitely
want to install something that has had those bugs fixed.

Nowadays, you'ld install one of the net-snmp ports (ports/net/net-snmp
or ports/net/net-snmp4) to provide SNMP functionality, but I have no
idea if your routing program would be able to integrate with either of
those versions.  There is no 'snmpi' program supplied with those
packages, and I can't see (off hand) any program providing equivalent
functionality.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



NFS client hang after umount -f

2003-01-03 Thread BigBrother (BigB3)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I was transferring a huge file (700 MB) to an nfs mounted disc and I
umount -f the nfs mounted directory. After this I lost control of that pc
(I was remotely administering it). The machine responds to pings and
forwards packets as well, but if I try to telnet or ssh to it, I connect
to that box but no login prompt appear.

I dont have physical access to that box and so I wait for 1 week for
someone to go there and reboot it, but I am very curious why this
situation happened. Is it normal to happen when u use unmount -f on nfs
mounted drives???

I am running 4.7-p2 and I dont have any noticable problems. The gateway
machine is a diskless machine with local mounted discs for storing files
only.


Thanks in advance!!!


- ---
We are being monitored..but there is a solution...
Use PGP for signing and encrypting emails
Download my public key at http://www.us.pgp.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+FXpoGe/V3CxAyHoRAt1OAJ9q9eTCKN6Xfj7sX+uu8S7D50ulPACeJRW3
BPjpAAhV0RcrgZ/VqZ6l3UI=
=u2dQ
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Christmas Season Is Over! Bill Season Is Here! 1/3/2003 6:56:26 AM

2003-01-03 Thread Adam Smith
Apply Today at www.SmartChoiceLoanCenter.com

Save Big On your Mortgage or Credit Card Debts! 

The Easy Way to Save yourself literally thousands a year!  

The best part is your Quote is FREE and we will show you how much money you can SAVE 
INSTANTLY!

Bottom-line: If we can't lower your existing payments we won't waste your time.

The Time to Refinance and Consolidate your debts is NOW!

Mortgage Rates are at the lowest in decades!

No Upfront Fees. 
No Obligation. 
100% Free service for borrowers. 
Bad Credit Welcome! 
 
Apply Today at www.SmartChoiceLoanCenter.com




To unsubscribe please send an email to [EMAIL PROTECTED] with unsubscribe in 
the subject line.  Please allow 48 hours for changes to be accepted into our database.



InDataTek only sends emails to recipients who have voluntarily signed up to receive 
emails. Using IndataTek to send messages to addresses that have been purchased or 
obtained without the consent of the recipient is a violation of our policy to respect 
the rights of others. In addition, InDataTek may not be used to send content that is 
pornographic, offensive, illegal or that encourages illegal activities or links to 
such information. InDataTek will have final say on the determination of what 
constitutes offensive content or spamming. InDataTek also cannot be used to publish 
content in violation of copyright laws. Messages may not exceed 20K in size. InDataTek 
reserves the right to terminate access to InDataTek by anyone violating its policies 
and to take legal action if necessary. 
Please report abuse at:  [EMAIL PROTECTED]

 [^(PO1]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: upgrading to 4.7-release w/o sendmail, bind

2003-01-03 Thread Toomas Aas
Hi!

 NO_BIND= true
 NO_SENDMAIL= true
 
 Do also need to include NO_MAILWRAPPER= true?

I don't think so. My mailserver running Postfix has been upgraded from 
4.3 to 4.5 to 4.6 to 4.7, and I've never used NO_MAILWRAPPER.

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Computers are not intelligent. They only think they are.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



JDK13

2003-01-03 Thread Alvaro Rosales R.
HEllo guys, Im trying to install JDK 13 in my FreeBSD BOx but I cant 
find the src files the port asks me to  fetch from SUN's website, there I 
can only find a linux binary and a Solarys tar.Z file. Can yoou tell me  
where else can I look for it? or Does anyone of you have it in an FTP 
server?. Thanks in advance for all your help!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Install question

2003-01-03 Thread mark pearce
Hi

Is it possible to install FreeBSD on a Cobalt Cube.  I have
an old one with an ancient version of Linux.  I think the
cube has a MIPS system, it has no keyboard,mouse, screen or
stiffy drive.  

Thanks

Mark
 
==
Download ringtones, logos and picture messages at Ananzi Mobile Fun.
http://www.ananzi.co.za/cgi-bin/goto.pl?mobile


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Lots of files in a directory

2003-01-03 Thread Giorgos Keramidas
On 2003-01-02 09:01, MikeM [EMAIL PROTECTED] wrote:
 I'm considering setting up my server as a mirror site for the freedb.org
 lookup database.  Unfortunately, I've seem to have run into a stumbling
 block.  The server app requires over 250,000 files in a single directory.
 Each file is about 2k in size.

On 2003-01-02 12:13, MikeM [EMAIL PROTECTED] wrote:
 On 1/2/03 at 8:58 AM Mikko Ty?l?j?rvi wrote:
  It can be argued that the application is poorly designed...

 There's no arguing.  It *is* poorly designed.   I would have used a
 hash to spread the files across multiple directories.
 Unfortunately, I didn't design it.

You are probably hitting the limit of fragments that are allowed on a
filesystem and time optimization becomes space optimization.  Are
you getting entries in your system logs like the following?

optimization changed from TIME to SPACE

- Giorgos

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: upgrading to 4.7-release w/o sendmail, bind

2003-01-03 Thread Giorgos Keramidas
On 2003-01-02 00:00, Mark Fujie [EMAIL PROTECTED] wrote:
 I'm about to attempt an upgrade of one of my servers (bind 9, postfix)
 from 4.6.2 - 4.7.  Looking at the options in /etc/defaults/make.conf,
 I'm pretty sure I want to include the following in /etc/make.conf:

 NO_BIND= true
 NO_SENDMAIL= true

 Do also need to include NO_MAILWRAPPER= true?

No.

 Reading the man page for mailwrapper reveals that /usr/sbin/sendmail is
 usually a symbolic link to it, but on my system /usr/sbin/sendmail is
 linked to /usr/local/sbin/sendmail, which I believe is the
 postfix-installed version.

Instead of symlinking /usr/sbin/sendmail - /usr/local/sbin/sendmail,
you could use mailwrapper the way it was designed to work, and leave
the sendmail symlink in /usr/sbin to mailwrapper.  Then, configure
mailwrapper by editing /etc/mail/mailer.conf and pointing mailwrapper
to the proper paths.

 I'm thinking I want to avoid making mailwrapper?  What happens if I DO
 make it when I don't really need it?

The links in /usr/sbin will be overriden and you'll probably end up
using Sendmail from its default system location instead of what you
have now.

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Lots of files in a directory

2003-01-03 Thread MikeM
On 1/3/03 at 6:45 AM Giorgos Keramidas wrote:

|On 2003-01-02 09:01, MikeM [EMAIL PROTECTED] wrote:
| I'm considering setting up my server as a mirror site for the freedb.org
| lookup database.  Unfortunately, I've seem to have run into a stumbling
| block.  The server app requires over 250,000 files in a single
directory.
| Each file is about 2k in size.
|
|On 2003-01-02 12:13, MikeM [EMAIL PROTECTED] wrote:
| On 1/2/03 at 8:58 AM Mikko Ty?l?j?rvi wrote:
|  It can be argued that the application is poorly designed...
|
| There's no arguing.  It *is* poorly designed.   I would have used a
| hash to spread the files across multiple directories.
| Unfortunately, I didn't design it.
|
|You are probably hitting the limit of fragments that are allowed on a
|filesystem and time optimization becomes space optimization.  Are
|you getting entries in your system logs like the following?
|
|   optimization changed from TIME to SPACE
 =

I just grep'd /var/log/* and the word optimization did not appear.


To you and others who have helped me, here's what I'm doing.

- tomorrow I am upgrading from 4.5 to 4.7
- once that proves stable, I'll increase the DIRHASH value appropriately.
- once that proves stable, I'll tunefs -n enable /usr to turn on soft
dependencies

I'll report back with my experiences with the new configuration so that the
archive remains complete.


Thanks to everyone who helped.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Is there a way to get a MAC address from an IP address

2003-01-03 Thread Fernando Gleiser
On Thu, 2 Jan 2003, Dan Malaby wrote:

 Is there a way if given an IP address to get the MAC address. The problem I
 am having is that there are two nic's that are using the same IP address on
 my network, but the error message my FBSD box gives me is only the MAC
 address for the offending card. I belive that the offending card does have
 another ligit IP address. I do have a map of all IP that respond on my
 network, but do not have a way of knowing which IP goes with which MAC address.

arp -an | grep MAC

replace MAC with the MAC addr you have.




Fer


 Any help would be appreciated.


 Daniel Malaby   voice:(510) 531-6500
 Peritek Corp.   fax:   (510) 530-8563
 5550 Redwood Road   email: [EMAIL PROTECTED]
 Oakland, CA 94619


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Quake III

2003-01-03 Thread Jeff Love
Ruslik,
The X error you sent seemed to be a permissions error to '/dev/mem', an 
error I'm not used to seeing. I don't think /dev/mem should be world 
readable. It seems that X must be suid root to read this.

I don't currently run Quake client, but the module you need for X is 
'GLX' or 'DRI'. These modules enable OpenGL, which is needed to run the 
client. Perhaps someone running client can comment. Your video card must 
support OpenGL for this to work.
A good link for documentation on this is 
http://zerowing.idsoftware.com/linux/q3a/

You must be sure that you are running linux emulation version 'base 7', 
not 'base 6'. The older version has antique libraries, and will cause 
Quake3Arena server or add-on modules to fail.

I do not install the server from the ports collection. I use a quake3 
install CD and the latest linux point release.

Hope this is helpful,

Jeff Love
Burgh-Com



In /etc/rc.conf
linux_enable=YES

I run quake3.x86 and X server lost. Log file in attach. What port needs to
be install to play in Quake III? When I did not install wrapper X 
server not
lost.

(WW) checkDevMem: failed to open /dev/mem (Permission denied)
   linear framebuffer access unavailable

Fatal server error:
xf86OpenConsole: Server must be suid root



 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Shell guru needed.

2003-01-03 Thread David S. Jackson
On Thu, Jan 02, 2003 at 08:03:37PM -0500 mike [EMAIL PROTECTED] wrote:
 Hey guys. heres the skinny. I have a huge library and i want to
 organize it. I want find to go through recursively, and move any pdf
 files it finds to a certain directory. I need an example piece of
 script on how i would confront this. It will save me hours if not days
 so thanks in advance.

Can't believe no one has used xargs yet...

find /path/to/messydir -name '*.pdf' -type f | xargs -I % mv \
/path/to/messydir/% /path/to/newdir/%

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don't worry about the world coming to an end today.
It's already tomorrow in Australia.  -- Charles Schulz

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: 5.0RC2 on an iPaq IA1

2003-01-03 Thread J. Seth Henry
Don't rule out hardware problems. I have been working with 4.7R on an
IA-1. The power supplies in there aren't the greatest, and I've had
problems with wireless keyboards loading the units down to where they had
problems booting.

I would suggest you get a self-powered USB hub, and make all your
connections through it (or try one of those keychain NAND drives). I
managed to get everything, including the wireless keyboard transciever, to
work just fine that way.

That said, I've had the most success with booting my IA-1 from a
microdrive. I did have to boost the CF Vcc to 5V by lifting and jumpering
the middle two pins to an unused serial connector (CN10), but that done,
the system is remarkably stable.

BTW - is your IA-1 a white or blue unit? I'm still trying to figure out
how to get FBSD to recognize the external MII PHY on the clipper ethernet
port.

Good luck,
Seth Henry


iPaq# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
VIA(0x), rev 1.00
 port 1 powered
 port 2 addr 2: full speed, self powered, config 2, USB 2.0 Storage
Adaptor(0xb001), DMI(0x0c0b), rev 11.10
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
VIA(0x), rev 1.00
 port 1 powered
 port 2 addr 2: full speed, power 156 mA, config 1, LINKSYS USB
Adapter(0x400b), LINKSYS Inc.(0x066b), rev 1.01

Suggestions on how to debug or reduce the errors?  The drive has good
media
(hooked direct to IDE it tests clean using Quantum's diag util) and the
system will boot fine with a warm reboot of the comp itself, so I'm
guessing
the problem is driver related and not a fault with the HW.

Joshua Coombs
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: command host does not check /etc/hosts.

2003-01-03 Thread Ceri Davies
On Thu, Jan 02, 2003 at 08:38:33PM -0700, Konstantin Borovik wrote:

 Command host does not check /etc/hosts file. Is it a bug or normal behavior?

That's normal.

DESCRIPTION
 Host looks for information about Internet hosts.  It gets this informa-
 tion from a set of interconnected servers that are spread across the
 world.

Ceri
-- 
Death before treachery!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Shell guru needed.

2003-01-03 Thread David Bear
On Thu, Jan 02, 2003 at 08:03:37PM -0500, mike wrote:
 Hey guys. heres the skinny. I have a huge library and i want to organize it. I want 
find to go through recursively, and move any pdf files it finds to a certain 
directory. I need an example piece of script on how i would confront this. It will 
save me hours if not days so thanks in advance.

I'm no shell guru but how about something like

find ./yourdirectory -name *pdf -exec mv {} ./newdirectory \;

you may have to play with the syntax a little but wouldn't this do it?

 

-- 
David Bear
College of Public Programs/ASU
Mail Code 0803

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



archos and freebsd

2003-01-03 Thread Matt Gostick
Hello,

  I got an Archos Jukebox Studio 20 for Christmas, and want to hook it
up to my FreeBSD box.  It's uses a usb cable for data transfer, and I've
never had to use usb on FreeBSD before.  I've done some research and the
best page I could find with instructions was
http://www.stalker.org/~sean/freebsd-p2040/... but the kernel config and
supplied archos.sh script doesn't work for me.  I'm a little behind when
it comes to usb...  is that what firewire is?

  On his page it says to compile firewire, sbp, scbus, da and umass. 
I'm cvsup'ed to 4.7 stable from release and did what he said.  When I
try and 'mount -t msdos /dev/da0s1 /archos'  I get 'Device not
configured'.

  Any advice would be greatly appreciated.  Could you reply to my email
address as well as the list please b/c I'm not subscribed.

Thanks,
Matt.


Here is my dmesg:


Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights
reserved.
FreeBSD 4.7-STABLE #2: Fri Jan  3 10:07:48 EST 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/GUTROT
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x652  Stepping = 2
 
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 402640896 (393204K bytes)
avail memory = 387649536 (378564K bytes)
Preloaded elf kernel kernel at 0xc03c5000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00f0d10
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on
pci0
pci1: PCI bus on pcib1
pci1: Matrox MGA G200 AGP graphics accelerator at 0.0 irq 11
isab0: Intel 82371AB PCI to ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0xd800-0xd80f at device 4.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xd400-0xd41f irq
9 at device 4.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ugen0: In-System Design USB Storage Adapter, rev 1.10/1.10, addr 2
chip1: Intel 82371AB Power management controller port 0xe800-0xe80f at
device 4.3 on pci0
xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xd000-0xd07f mem
0xdf80-0xdf80007f irq 5 at device 11.0 on pci0
xl0: Ethernet address: 00:10:5a:6a:4e:74
miibus0: MII bus on xl0
xlphy0: 3Com internal media interface on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: 3Dfx Voodoo graphics accelerator at 12.0
orm0: Option ROM at iomem 0xc-0xc7fff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on
isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
sbc0: Creative ViBRA16X at port 0x220-0x22f,0x300-0x301,0x388-0x38b
irq 10 drq 0,1 on isa0
pcm0: SB16 DSP 4.16 (ViBRA16X) on sbc0
ad0: 29311MB Maxtor 5T030H3 [59554/16/63] at ata0-master UDMA33
ad1: 9787MB QUANTUM FIREBALL CX10.2A [19885/16/63] at ata0-slave
UDMA33
acd0: CDROM TOSHIBA CD-ROM XM-6402B at ata1-master PIO4
acd1: CD-RW CRW6206A at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a
can't re-use a leaf (firewire_debug)!
can't re-use a leaf (fwmem_debug)!
module_register: module fwohci/firewire already exists!
linker_file_sysinit firewire.ko failed to register! 17
can't re-use a leaf (sbp_debug)!
module_register: module firewire/sbp already exists!



Here is my kernel config file:


#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#   
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest 

Adaptec 1200A Driver?

2003-01-03 Thread G D McKee
Hi

I know this card is not supported - is anyone planning on writing a driver
or is the card fundamentally not compatible with FreeBSD?

Many thanks

Gordon



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: JDK13

2003-01-03 Thread Joseph Olatt
I believe that you need to get the source for JDK from the sun site
(after agreeing to their license agreement) and then compile it using
the patches provided at the following site:

http://www.eyesbeyond.com/freebsddom/java/jdk13.html

See above site for more info.


On Fri, Jan 03, 2003 at 08:14:30AM -0500, Alvaro Rosales R. wrote:
 HEllo guys, Im trying to install JDK 13 in my FreeBSD BOx but I cant 
 find the src files the port asks me to  fetch from SUN's website, there I 
 can only find a linux binary and a Solarys tar.Z file. Can yoou tell me  
 where else can I look for it? or Does anyone of you have it in an FTP 
 server?. Thanks in advance for all your help!
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



difs between 4.6.2 and 4.7

2003-01-03 Thread David Bear
I'm installing freebsd on a dell laptop (latituted).  It only has a 6 gig drive.

I guess my concern is to keep the install small both required memory and disk space.  
Yet, i would like to use the 'newest' version in hopes that it will have the latest 
kde and xfree stuff.  This may be a mistake though.

if the choice is between 4.6.2 and 4.7 which would be a better install if the 
criterion were
1) keep the install small (hard disk space)
2) keep the working set small in ram
3) make sure the important ports will work  -- kde, openoffice, -- a good gui browser 
(any recommendations) and zope

tia.
-- 
David Bear
College of Public Programs/ASU
Mail Code 0803

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



/etc/make.conf Examples

2003-01-03 Thread Danny
Greetings,

I am trying to wrap my head around the make.conf file, and I am curious
to know if others have multiple /etc/make.conf files for certain situations,
or just one.

Could you please post your /etc/make.conf(s) and explain the contents
and resulting actions of your file.

Thank you!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Shell guru needed.(xargs question)

2003-01-03 Thread Danny
Could you please give another realworld example of using xargs and
your definition of it. I had a glance through man xargs, but I enjoy input
from humans that use it as well. :)

Thanks.

- Original Message - 
From: David S. Jackson [EMAIL PROTECTED]
To: mike [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 10:25 AM
Subject: Re: Shell guru needed.


 On Thu, Jan 02, 2003 at 08:03:37PM -0500 mike [EMAIL PROTECTED] wrote:
  Hey guys. heres the skinny. I have a huge library and i want to
  organize it. I want find to go through recursively, and move any pdf
  files it finds to a certain directory. I need an example piece of
  script on how i would confront this. It will save me hours if not days
  so thanks in advance.
 
 Can't believe no one has used xargs yet...
 
 find /path/to/messydir -name '*.pdf' -type f | xargs -I % mv \
 /path/to/messydir/% /path/to/newdir/%
 
 -- 
 David S. Jackson[EMAIL PROTECTED]
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Don't worry about the world coming to an end today.
 It's already tomorrow in Australia.  -- Charles Schulz
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Updating Pico Pine

2003-01-03 Thread Danny
On a FreeBSD 4.3R major production system. Recommended steps to
upgrade *without* 'portupgrade' and do you see any implications? E.g.
address books, config settings, etc.

Current version is 4.21.

Thank you.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Super Low Interest Rates on Mortgages!

2003-01-03 Thread rosiemary2nf827
Lowest Rate In Thirty Years 

Rates as low as 5.25% won't stay this low forever

Follow the link below
http://www.fast.bz/mort/





8447OCxN3-725xOVF0775lupR3-418TgiJ8291gimO7-628icxB5916l52èR{.nÇ+‰·¬zwfj)m¢f£¢·hškyàRŠàÂ+aº{.nÇ+‰·Ÿ­ç›±Ú®zËb¢{žØ^n‡r¡ûazg¬±¨


Re: Updating Pico Pine

2003-01-03 Thread doug
man pkg_version
man pkg_info
man pkg_delete

pkg_version -c  file will produce a file containing a script with the
necessary instructions. You must edit this script and then run as root.

pkg_info -rR -x pine will tell you what packages require and are
required by pine. Use pkg_delete and re-install.



On Fri, 3 Jan 2003, Danny wrote:

 On a FreeBSD 4.3R major production system. Recommended steps to
 upgrade *without* 'portupgrade' and do you see any implications? E.g.
 address books, config settings, etc.
 
 Current version is 4.21.
 
 Thank you.
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD Stability

2003-01-03 Thread Giorgos Keramidas
On 2003-01-02 17:41, J. Scott Edwards [EMAIL PROTECTED] wrote:
 That is impressive.  I'm curious if they stayed at a particular version or
 if they update as new versions are available?  I thought I read somewhere
 that FreeBSD could load a new kernel without rebooting?

Nope.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Testing serial ports

2003-01-03 Thread Nathan Kinkade
On Fri, Jan 03, 2003 at 02:36:06AM -0500, Dragoncrest wrote:
   I've got a slight problem where I think that I've got a serial port 
   that has failed on one of my machines.  So I'm looking for the simplest way 
 to test a serial port to see if it is in fact working.  Thanks for the info.

Do you have any external serial devices, like a modem?  You could also
use another computer and place a null modem cable between them.  Then
use a command like tip(1) or minicom from the ports to connect to the
device.  What evidence leads you to believe that the serial port is bad?
You're positive that it's turned on in the BIOS?  Does dmesg reveal any
sio entries?

Nathan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



audacity is creating (??) unwritable-by-cdrecord wave files

2003-01-03 Thread joe
As the subject says I am creating and manipulating wav files of audio 
tap recordings.  The extent of manipulation is to join sides A  B into 
one file and do some noise reduction cleanup, and write the file in wav 
format.

then attempting to write the file to cd with cdrecord
cdrecord -v -eject speed=12 -pad -audio  file.wav results in the 
following error.

  cdrecord: Inappropriate audio coding

Googling on the error gets me this solution 
  After some poking around I found that these files are often mono (one
  channel) and that the following conversion makes them writable by both
  cdrecord and xcdroast: 

   sox infile.wav -c 2 outfile.wav split

Can someone explain the problem behind thise solution as I'd much rather 
fix this in writing the file from audacity.

Thanks,


-
Joe Sotham

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: audacity is creating (??) unwritable-by-cdrecord wave files

2003-01-03 Thread paul beard
joe wrote:

As the subject says I am creating and manipulating wav files of audio 
tap recordings.  The extent of manipulation is to join sides A  B into 
one file and do some noise reduction cleanup, and write the file in wav 
format.

then attempting to write the file to cd with cdrecord
cdrecord -v -eject speed=12 -pad -audio  file.wav results in the 
following error.

  cdrecord: Inappropriate audio coding

can you play them with wavplay? How do they sound? If they're 
mono, do you want to immortalize them on CDs? I just made that 
mistake . . . 6 times.

I don't know a lot about, just what I've managed to pick up in the 
past week or so, but I wonder if the file headers are correct for 
what you want to do. gramofile's extracts, for example, makde 
cdrecord/cdrdao complain, but once they're processed/filtered, all 
is well.

I'd suggest gramofile to capture the audio unless there's a 
compelling reason to use audacity: you can always edit in 
audactity later.


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Why are we importing all these highbrow plays like `Amadeus'?  I 
could
have told you Mozart was a jerk for nothing.
		-- Ian Shoales


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: archos and freebsd

2003-01-03 Thread Dirk-Willem van Gulik

 On his page it says to compile firewire, sbp, scbus, da and umass.
 I'm cvsup'ed to 4.7 stable from release and did what he said.  When I
 try and 'mount -t msdos /dev/da0s1 /archos'  I get 'Device not
 configured'.

I take it you've seen /sys/dev/firewire/00README ?

Perhaps you want to do a verbose (-v) boot; and/or try pciconf -v -l.

As in the dmesg you supplied there does not seem to be a fwohci entry.
Which is the thing which connects to the actual hardware.

Dw.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Bug, show-stopper or hardware?! (please CC me in reply)

2003-01-03 Thread Lowell Gilbert
Peter Leftwich [EMAIL PROTECTED] writes:

 Could this be a Gnome issue (my lib-bonobo-activation-server or something
 is busted so I run Gnome and Sawfish without a panel at the bottom, middle
 clicking to open apps and creating new launchers when I need to run an
 application  :)  Or does this sound like a possible atkbd driver flaw or
 hardware problem (time to replace the keyboard)?

No way to tell, at this point.  One thing to check is whether the
system was really dead or just the console.  Coming in via the network
can tell you.  You could always learn about building a debug kernel,
too.  

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: maxsize of a file

2003-01-03 Thread Lowell Gilbert
Jan Blomqvist [EMAIL PROTECTED] writes:

 how big can a file be in freebsd 4.1, cause i have problem with a database
 file wich is very large 1,5-2Gb, now you can,t list the file or move or
 copy, but it exist on disc cause the database can read data from it.Any idea
 ???

Multi-terabyte files are possible, so that's not it.

You're probably looking in the wrong place, or else the file is
unlinked but held open by the database program.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: archos and freebsd

2003-01-03 Thread Gary Jennejohn
Matt Gostick writes:
 Hello,
 
   I got an Archos Jukebox Studio 20 for Christmas, and want to hook it
 up to my FreeBSD box.  It's uses a usb cable for data transfer, and I've
 never had to use usb on FreeBSD before.  I've done some research and the
 best page I could find with instructions was
 http://www.stalker.org/~sean/freebsd-p2040/... but the kernel config and
 supplied archos.sh script doesn't work for me.  I'm a little behind when
 it comes to usb...  is that what firewire is?
 
   On his page it says to compile firewire, sbp, scbus, da and umass. 
 I'm cvsup'ed to 4.7 stable from release and did what he said.  When I
 try and 'mount -t msdos /dev/da0s1 /archos'  I get 'Device not
 configured'.
 
   Any advice would be greatly appreciated.  Could you reply to my email
 address as well as the list please b/c I'm not subscribed.
 

I have an Archos Jukebox Recorder and can use it with no problem.
I would expect the Studio to work very similarly. However, I always
plug it in _after_ the kernel comes up so that it's guaranteed to be
recognized. I've never tried booting my box with the Archos already
plugged in.

I use this to mount it:

mount -t msdos -o longnames /dev/da0s1 /mnt

Otherwie your boot message and kernel config file looks very similar
to what I see.

BTW my computer only has USB 1.0 and I'm running -stable.

---
Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



drive errors?

2003-01-03 Thread Bryce Newall
Hi all,

Just looking for a second opinion... does this look like my hard drive is
on its way to a slow (and possibly painful) death?

Thanks!

Jan  3 10:52:39 cosmos /kernel: swap_pager: indefinite wait buffer: device: 
#da/0x20001, blkno: 648, size: 4096
Jan  3 10:53:21 cosmos /kernel: swap_pager: indefinite wait buffer: device: 
#da/0x20001, blkno: 648, size: 4096
Jan  3 10:53:21 cosmos /kernel: (da0:ahc0:0:0:0): SCB 0x7e - timed out
Jan  3 10:53:21 cosmos /kernel: ahc0: Dumping Card State in Command phase, at SEQADDR 
0x15c
Jan  3 10:53:21 cosmos /kernel: ACCUM = 0x80, SINDEX = 0xac, DINDEX = 0xc0, ARG_2 = 
0x27
Jan  3 10:53:21 cosmos /kernel: HCNT = 0x0 SCBPTR = 0x7
Jan  3 10:53:21 cosmos /kernel: SCSISEQ = 0x12, SBLKCTL = 0x0
Jan  3 10:53:21 cosmos /kernel: DFCNTRL = 0x4, DFSTATUS = 0x6d
Jan  3 10:53:22 cosmos /kernel: LASTPHASE = 0x80, SCSISIGI = 0x84, SXFRCTL0 = 0x88
Jan  3 10:53:22 cosmos /kernel: SSTAT0 = 0x7, SSTAT1 = 0x2
Jan  3 10:53:22 cosmos /kernel: STACK == 0x186, 0x156, 0x0, 0x35
Jan  3 10:53:22 cosmos /kernel: SCB count = 230
Jan  3 10:53:22 cosmos /kernel: Kernel NEXTQSCB = 202
Jan  3 10:53:22 cosmos /kernel: Card NEXTQSCB = 126
Jan  3 10:53:22 cosmos /kernel: QINFIFO entries: 126 123 3 182 4
Jan  3 10:53:22 cosmos /kernel: Waiting Queue entries:
Jan  3 10:53:22 cosmos /kernel: Disconnected Queue entries:
Jan  3 10:53:22 cosmos /kernel: QOUTFIFO entries:
Jan  3 10:53:22 cosmos /kernel: Sequencer Free SCB List: 5 13 10 4 2 3 15 12 1 0 8 14 
6 9 11
Jan  3 10:53:22 cosmos /kernel: Sequencer SCB Info: 0(c 0x60, s 0x7, l 0, t 0xff) 1(c 
0x60, s 0x7, l 0, t 0xff) 2(c 0x40, s 0x57, l 0, t 0xff) 3(c 0x40, s 0x57, l 0, t 
0xff) 4(c 0x40, s 0x57, l 0, t 0xff) 5(c 0x40, s 0x57, l 0, t 0xff) 6(c 0x60, s 0x7, l 
0, t 0xff) 7(c 0x40, s 0x57, l 0, t 0x9c) 8(c 0x60, s 0x7, l 0, t 0xff) 9(c 0x60, s 
0x7, l 0, t 0xff) 10(c 0x60, s 0x7, l 0, t 0xff) 11(c 0x60, s 0x7, l 0, t 0xff) 12(c 
0x60, s 0x7, l 0, t 0xff) 13(c 0x60, s 0x7, l 0, t 0xff) 14(c 0x60, s 0x7, l 0, t 
0xff) 15(c 0x60, s 0x7, l 0, t 0xff)
Jan  3 10:53:22 cosmos /kernel: Pending list: 4(c 0x62, s 0x7, l 0), 182(c 0x60, s 
0x7, l 0), 3(c 0x60, s 0x7, l 0), 123(c 0x60, s 0x7, l 0), 126(c 0x62, s 0x7, l 0), 
156(c 0x40, s 0x57, l 0)
Jan  3 10:53:22 cosmos /kernel: Kernel Free SCB list: 93 228 80 133 18 169 196 50 87 
217 90 20 165 22 173 114 209 159 189 41 172 214 94 76 68 178 82 131 215 30 49 108 216 
86 16 84 75 11 77 14 116 89 183 45 42 211 153 121 21 63 24 125 44 70 175 103 185 229 
177 187 195 19 193 197 119 188 181 145 194 85 179 60 37 161 25 147 39 97 32 65 71 132 
34 109 141 192 67 152 128 143 99 200 171 100 226 73 204 9 227 51 206 111 218 138 31 
198 48 146 78 112 57 98 29 91 13 191 17 168 95 5 54 207 201 47 180 36 129 38 212 122 
43 117 83 61 127 115 176 55 102 144 113 139 74 52 15 58 27 213 56 79 160 69 150 96 7 
174 118 8 205 154 107 210 134 28 203 208 120 10 53 199 190 148 1 186 59 62 81 137 40 
64 104 170 135 219 6 140 155 26 184 166 157 0 142 158 2 164 106 72 162 110 105 66 167 
101 124 12 35 149 136 46 151 130 23 88 163 92 33 225 224 223 222 221 220
Jan  3 10:53:22 cosmos /kernel: Untagged Q(5): 156
Jan  3 10:53:22 cosmos /kernel: sg[0] - Addr 0x562f000 : Length 4096
Jan  3 10:53:22 cosmos /kernel: sg[1] - Addr 0x20d : Length 4096
Jan  3 10:53:22 cosmos /kernel: (da0:ahc0:0:0:0): Other SCB Timeout
Jan  3 10:53:22 cosmos /kernel: (da0:ahc0:0:0:0): SCB 0x7b - timed out
Jan  3 10:53:22 cosmos /kernel: ahc0: Dumping Card State in Command phase, at SEQADDR 
0x15c
Jan  3 10:53:22 cosmos /kernel: ACCUM = 0x80, SINDEX = 0xac, DINDEX = 0xc0, ARG_2 = 
0x27
Jan  3 10:53:22 cosmos /kernel: HCNT = 0x0 SCBPTR = 0x7
Jan  3 10:53:22 cosmos /kernel: SCSISEQ = 0x12, SBLKCTL = 0x0
Jan  3 10:53:22 cosmos /kernel: DFCNTRL = 0x4, DFSTATUS = 0x6d
Jan  3 10:53:22 cosmos /kernel: LASTPHASE = 0x80, SCSISIGI = 0x84, SXFRCTL0 = 0x88
Jan  3 10:53:22 cosmos /kernel: SSTAT0 = 0x7, SSTAT1 = 0x2
Jan  3 10:53:23 cosmos /kernel: STACK == 0x186, 0x156, 0x0, 0x35
Jan  3 10:53:23 cosmos /kernel: SCB count = 230
Jan  3 10:53:23 cosmos /kernel: Kernel NEXTQSCB = 202
Jan  3 10:53:23 cosmos /kernel: Card NEXTQSCB = 126
Jan  3 10:53:23 cosmos /kernel: QINFIFO entries: 126 123 3 182 4
Jan  3 10:53:23 cosmos /kernel: Waiting Queue entries:
Jan  3 10:53:23 cosmos /kernel: Disconnected Queue entries:
Jan  3 10:53:23 cosmos /kernel: QOUTFIFO entries:
Jan  3 10:53:23 cosmos /kernel: Sequencer Free SCB List: 5 13 10 4 2 3 15 12 1 0 8 14 
6 9 11
Jan  3 10:53:23 cosmos /kernel: Sequencer SCB Info: 0(c 0x60, s 0x7, l 0, t 0xff) 1(c 
0x60, s 0x7, l 0, t 0xff) 2(c 0x40, s 0x57, l 0, t 0xff) 3(c 0x40, s 0x57, l 0, t 
0xff) 4(c 0x40, s 0x57, l 0, t 0xff) 5(c 0x40, s 0x57, l 0, t 0xff) 6(c 0x60, s 0x7, l 
0, t 0xff) 7(c 0x40, s 0x57, l 0, t 0x9c) 8(c 0x60, s 0x7, l 0, t 0xff) 9(c 0x60, s 
0x7, l 0, t 0xff) 10(c 0x60, s 0x7, l 0, t 0xff) 11(c 0x60, s 0x7, l 0, t 0xff) 12(c 
0x60, s 0x7, l 0, t 0xff) 13(c 0x60, s 0x7, l 0, t 0xff) 14(c 0x60, s 0x7, l 0, t 
0xff) 15(c 0x60, s 0x7, l 

ipfw dummynet port ip priority

2003-01-03 Thread Kevin S. Brackett
I've looked around the achieves but I couldn't find anything that really
explained how this was done:

anyone have any examples for:

1, priority to port 22?
2, priority to ip 192.168.0.3?

thanks,
- kevin

PS: please CC: me :)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Shell guru needed.(xargs question)

2003-01-03 Thread David S. Jackson
On Fri, Jan 03, 2003 at 10:55:09AM -0500 Danny [EMAIL PROTECTED] wrote:
 Could you please give another realworld example of using xargs and
 your definition of it. I had a glance through man xargs, but I enjoy input
 from humans that use it as well. :)

Xargs is pretty neat.  You have to remember that there are different
implementations of it, too, so xargs on Linux would probably be
different than xargs on *BSD (it always is different in my experience).
The differences would mainly be in switches and default behavior.

I use xargs with lots of different utilities, just depending on what I
need to do with whatever files I'm catching.  For example, let's say I
wanted to rename some files:

locate *.PDF | xargs -I % mv % `basename % .PDF`.pdf

It's handy if you have a bunch of files in one directory that you want
to check somehow:

ls *.{jpg,gif} | xargs -J % file % | grep -v 'JPEG\|GIF'

Moving files to another directory is a popular use:

locate *.suf | xargs -J % mv % /path/to/dir


Note that you do not always need to use xargs.

locate *.PDF | while read name; do
mv $name ${name%.PDF}.pdf
done


There's lots more you can do with it.  Your imagination is almost your
only limitation.  :-)


-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
And now for something completely the same.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Disable Mozilla profile

2003-01-03 Thread Adam Stroud
Does anyone know how to disable the profile in Mozilla?  I have tried 
re-building the port with the --disable-profile option, but profiles are 
still active.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



incoming bandwidth limiting using ipfilter

2003-01-03 Thread Hari Bhaskaran
Hi,

Is there a way to limit incoming traffic (bandwidth) using
ipfilter/ipfw or any such software tool?. I am running a mail
server and I pay per GB transfered. If I have my ISP do the
limiting, they charge extra $$ for it. I know I can limit
incoming mail size via the mail server. But still doesn't
prevent someone from sending a lot of mail or fill up
a 100mbps line for 24 hrs/day.


I am not looking for a perfect solution, and I do realize
ddos attacks and such are still possible. I am only looking
for a reasonable solution.

Any help is appreciated

--
Hari Bhaskaran

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread randall ehren
 Is there a way to limit incoming traffic (bandwidth) using
 ipfilter/ipfw or any such software tool?. I am running a mail
 server and I pay per GB transfered. If I have my ISP do the
 limiting, they charge extra $$ for it. I know I can limit
 incoming mail size via the mail server. But still doesn't
 prevent someone from sending a lot of mail or fill up
 a 100mbps line for 24 hrs/day.

you'll want to lookup information on dummynet:
 http://info.iet.unipi.it/~luigi/ip_dummynet/

you can use it to shape traffic and limit bandwidth.

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: incoming bandwidth limiting using ipfilter

2003-01-03 Thread charles pelletier
ipfilter won't allow you to limit bandwidth, ipfw will. 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hari Bhaskaran
Sent: Friday, January 03, 2003 2:36 PM
To: [EMAIL PROTECTED]
Subject: incoming bandwidth limiting using ipfilter


Hi,

Is there a way to limit incoming traffic (bandwidth) using
ipfilter/ipfw or any such software tool?. I am running a mail
server and I pay per GB transfered. If I have my ISP do the
limiting, they charge extra $$ for it. I know I can limit
incoming mail size via the mail server. But still doesn't
prevent someone from sending a lot of mail or fill up
a 100mbps line for 24 hrs/day.


I am not looking for a perfect solution, and I do realize
ddos attacks and such are still possible. I am only looking
for a reasonable solution.

Any help is appreciated

--
Hari Bhaskaran

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Murat Bicer
Is there anything that limits us from using ipfilter on top of this ipfw
b/w control?

 Is there a way to limit incoming traffic (bandwidth) using
 ipfilter/ipfw or any such software tool?. 

you'll want to lookup information on dummynet:
 http://info.iet.unipi.it/~luigi/ip_dummynet/

you can use it to shape traffic and limit bandwidth.
Murat Bicer
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread randall ehren
 Is there anything that limits us from using ipfilter on top of this ipfw
 b/w control?

doesn't appear so...

from http://home.earthlink.net/~jaymzh666/ipf/IPFfreebsd.html#12:

IPF and IPFW both have features I want to use, must I choose between them?

No. You can run them both on a single machine. However, you must take care to
ensure that one package's rules do not interfere with the other's. Note that
the packages get access to rules in the order in which they were loaded, e.g.
if IPFW is compiled in the kernel and IPF is loaded as a module, IPFW sees
packets before IPF.

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Driver for DVD-RAM

2003-01-03 Thread Lee_Shackelford
Greetings fellow BSD enthusiast.   Can you let me know how to persue the
following question, in the event that it has already been posted and
answered.  I am interested in attaching a DVD-RAM drive to an Intel
computer with FreeBSD operating system.  The computer has a S.C.S.I. board,
and Panasonic makes a drive that attaches to a S.C.S.I. board.  Panasonic
offers no device drivers for FreeBSD.  Has anyone else tried to do this?
Is a device driver available?  Can the proposed arrangement work with a
default S.C.S.I. driver?  Could such a device be made bootable? Any advice
is appreciated.  [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Avleen Vig
On Fri, 3 Jan 2003, Murat Bicer wrote:

 Is there anything that limits us from using ipfilter on top of this ipfw
 b/w control?

Darren Reed, the owner of IPF is probably in the best position to answer
that question. I posed it a week ot two ago on the ipf mailing list.. I'm
waiting for a reply, not sure if it was seen amongst the flurry or mail on
the topic.

Darren could you answer this question please?
Maybe we could get Phil to add the answer to the FAQ.
Phil? :-)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: YP/NIS timeout.

2003-01-03 Thread lewiz
On Wed, Jan 01, 2003 at 08:29:58PM -0600, Dan Nelson wrote:
 In the last episode (Jan 01), lewiz said:
  At the login: prompt I enter my username (lewiz), hit return and get
  nothing for a while until:
  
  yp_order: clnt_call: RPC: Timed out
 Hit ^T during the pause and find out what program is hanging.  You
 probably have a command in your shell's startup script that is trying
 to resolve an NIS username.

^T shows:
load: 1.28  cmd: login 45573 [nanslp] 0.00u 0.04s 0% 1016k

I couldn't find anything about nanslp (locate shows nothing but I
eventually tracked it down to sys/kern/kern_time.c, where it shows up:

sys/kern/kern_time.c:   error = tsleep(nanowait, PWAIT |
PCATCH, nanslp,

Hence, it has something to do with the nanosleep(2) syscall.  Other than
this, I don't know what it's doing.  Maybe you are correct that the
shell is trying to do some stuff but I could find nothing like this in
/etc/profile, /etc/csh.cshrc, /etc/csh.login or any of the user's
personal copies.

-lewiz.

-- 
If only one could get that wonderful feeling of accomplishment without
having to accomplish anything.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14154/pgp0.pgp
Description: PGP signature


Re: Disable Mozilla profile

2003-01-03 Thread Lee Harr
I once suggested on bugzilla that there ought to be a
-never-ever-show-the-profile-manager option when starting
mozilla, but I don't think it went over very well.
Here is the (fairly active) bug, relating to mozilla
opening a new window when it is already running and
its icon is clicked again:
http://bugzilla.mozilla.org/show_bug.cgi?id=122698

Not sure in what context you are seeing the unwanted
profile manager.

I have a bunch of X-terminals running from a FreeBSD
server, and when the (mostly windows-trained) users get
the profile manager they tend to panic. And even if
they don't panic, there is a somewhat tricky proxy
setup which needs to be set up if they try to make
a new profile. It never works. It would be very nice
to just disable profiles completely.

You might also want to try this question on the
freebsd-mozilla list.






_
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread randall ehren
 Does anyone know any hardware (of the size of a regular home
 DSL router) that can give me a simple limit of X bps for two
 IP addresses. I am running out of time and removing ipfilter
 (which I use now) and adding ipfw, learning dummynet and then
 figuring out will take time (at least 5 days with my FreeBSD IQ level).
 I am also hoping it would be in  $500 range.

just add IPFW, IPFIREWALL_DEFAULT_TO_ACCEPT, and DUMMYNET to your kernel, no
need to remove IPFILTER.

then just add whatever rules are needed for dummynet. IPFW should then leave
your packets alone for ipfilter to handle.

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: archos and freebsd

2003-01-03 Thread Matt Gostick
Okay - I added a couple more things to my kernel config file - but for
all I know they have nothing to do with getting what I want.  From what
I've read, this is just supposed to work.  I feel like I'm taking shots
in the dark trying different kernel configs, etc. 

I did read the firewire/00README file - but given my level of knowledge
with kernel source and modules it didn't really help much.  I assumed
that everything was done when I did a build/installworld to 4.7 stable. 
I have tried the two methods that I thought would work...  first was the
complete build/installworld.  When that didn't work I did what the
firewire/00README file stated, downloaded the latest firewire tarball
and made it manually.  Neither worked.

I'm still getting 'Device not configured' when I try and mount
/dev/da0s1.

Here is my dmesg from boot -v 


Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-STABLE #4: Fri Jan  3 16:41:59 EST 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/GUTROT
Calibrating clock(s) ... TSC clock: 400872843 Hz, i8254 clock: 1193074
Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter i8254  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x652  Stepping = 2
 
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 402640896 (393204K bytes)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x00401000 - 0x17ff4fff, 398409728 bytes (97268 pages)
avail memory = 387559424 (378476K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f9ce0
bios32: Entry = 0xf0520 (c00f0520)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x720
pnpbios: Found PnP BIOS data at 0xc00fd110
pnpbios: Entry = f:d140  Rev = 1.0
pnpbios: OEM ID cd041
Other BIOS signatures found:
ACPI: 000f7f20
Preloaded elf kernel kernel at 0xc03da000.
Pentium Pro MTRR support enabled
Creating DISK md0
md0: Malloc disk
Math emulator present
pci_open(1):mode 1 addr port (0x0cf8) is 0x805c
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=00] is there (id=71908086)
Using $PIR table, 6 entries at 0xc00f0d10
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
found- vendor=0x8086, dev=0x7190, revid=0x03
class=06-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[10]: type 1, range 32, base e400, size 26
found- vendor=0x8086, dev=0x7191, revid=0x03
class=06-04-00, hdrtype=0x01, mfdev=0
subordinatebus=1secondarybus=1
found- vendor=0x8086, dev=0x7110, revid=0x02
class=06-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0secondarybus=0
found- vendor=0x8086, dev=0x7111, revid=0x01
class=01-01-80, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[20]: type 1, range 32, base d800, size  4
found- vendor=0x8086, dev=0x7112, revid=0x01
class=0c-03-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=d, irq=9
map[20]: type 1, range 32, base d400, size  5
found- vendor=0x8086, dev=0x7113, revid=0x02
class=06-80-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[90]: type 1, range 32, base e800, size  4
found- vendor=0x10b7, dev=0x9055, revid=0x30
class=02-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=5
map[10]: type 1, range 32, base d000, size  7
map[14]: type 1, range 32, base df80, size  7
found- vendor=0x121a, dev=0x0001, revid=0x02
class=04-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[10]: type 1, range 32, base e100, size 24
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on
pci0
found- vendor=0x102b, dev=0x0521, revid=0x01
class=03-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=11
map[10]: type 1, range 32, base e300, size 24
map[14]: type 1, range 32, base e080, size 14
map[18]: type 1, range 32, base e000, size 23
pci1: PCI bus on pcib1
pci1: Matrox MGA G200 AGP graphics accelerator (vendor=0x102b,
dev=0x0521) at 0.0 irq 11
isab0: Intel 82371AB PCI to ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0xd800-0xd80f at device 4.1
on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd800
ata0: mask=03 ostat0=50 ostat2=50
ata0-slave: ATAPI 00 00
ata0-master: ATAPI 00 00
ata0: mask=03 

RE: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Daniel Goepp
Here is another article that summarizes what you need to do, it's pretty
straight forward really.  I just did this recently on my server, and it
appears to work like a charm so far.

http://www.onlamp.com/pub/a/bsd/2001/07/26/Big_Scary_Daemons.html

Peace.

-Daniel


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of randall ehren
Sent: Friday, January 03, 2003 5:29 PM
To: Hari Bhaskaran
Cc: [EMAIL PROTECTED]
Subject: Re: incoming bandwidth limiting using ipfilter

 Does anyone know any hardware (of the size of a regular home
 DSL router) that can give me a simple limit of X bps for two
 IP addresses. I am running out of time and removing ipfilter
 (which I use now) and adding ipfw, learning dummynet and then
 figuring out will take time (at least 5 days with my FreeBSD IQ
level).
 I am also hoping it would be in  $500 range.

just add IPFW, IPFIREWALL_DEFAULT_TO_ACCEPT, and DUMMYNET to your
kernel, no
need to remove IPFILTER.

then just add whatever rules are needed for dummynet. IPFW should then
leave
your packets alone for ipfilter to handle.

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Installing FreeBSD 4.7

2003-01-03 Thread Ying Shi
Dear Sir,

  I'm trying to install FreeBSD 4.7 onto a device.
It's a PIII-1.2GHz with 1024 megs of memory,
two-drive RAID supported by Promise FastTrak100.

I can boot the Kernel floppy and MFS root floppy with no problem.

After all the conflicts had been resolved, /stand/sysinstall Main Menu
was displayed. Then I selected a standard installation.
I got a message --- No disks found!

I'm wondering if FreeBSD 4.7 can be installed in above device.


Any help would be appreciated. Thanks!


Ying


--
Ying Shi
IPv6 Consortium
UNH InterOperability Lab
University of New Hampshire
[EMAIL PROTECTED]
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Disable Mozilla profile

2003-01-03 Thread Adam Stroud
Thanks for the reply, I am seeing the profile manager when I try to open a 
second instance of Mozilla.  I cant open another instance until I create 
another profile.  I understand that these profiles can be useful, but they 
can also be a sole reason not to use Mozilla.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Hari Bhaskaran

 Hari:

 I think you are going to find that rate-limiting at the box won't
 provide any fiscal relief.  The packets have already traversed your
 ISP's interface where the accounting is taking place.

 Mike

That's bad. But if the machine doesn't accept more than N packets/sec,
why would the ISP router forward any more packets to it? I wouldn't
know the internals, but isn't there any kind of flow control in the
protocol?

-- 
Hari Bhaskaran

(Mike, although I have cc-ed the list
I haven't included your email
anywhere in the reply)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Avleen Vig
On Fri, 3 Jan 2003, randall ehren wrote:

  Darren could you answer this question please?
  Maybe we could get Phil to add the answer to the FAQ.

 http://www.google.com/search?q=ipfilter+ipfw+together
  -- http://false.net/ipfilter/2000_02/0407.html

This is what we settled with eventually, but the processing order for
packets when you're using both IPF and IPFW plus ipnat is seriously
f*rked.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Daniel Goepp
The question is, are they charging you for total bandwidth used, or some
real time rate limit?  When you use bandwidth shaping, you can reduce
your rate, but that will just spread things out.  So if they are
charging you for total bytes moved, then you would have to do some math
to figure out what that breaks down to in Mbps, and put a throttle in to
that rate.  I'm not sure what Mike means by packets already traversing
the network.  If you shape your bandwidth, it's not like all those
packets just pile up at your server's front door, waiting to get in.
The IP protocol will pause within itself to not exceed your defined
bandwidth.

-Daniel


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Hari Bhaskaran
Sent: Friday, January 03, 2003 6:24 PM
To: [EMAIL PROTECTED]
Subject: Re: incoming bandwidth limiting using ipfilter


 Hari:

 I think you are going to find that rate-limiting at the box won't
 provide any fiscal relief.  The packets have already traversed your
 ISP's interface where the accounting is taking place.

 Mike

That's bad. But if the machine doesn't accept more than N packets/sec,
why would the ISP router forward any more packets to it? I wouldn't
know the internals, but isn't there any kind of flow control in the
protocol?

-- 
Hari Bhaskaran

(Mike, although I have cc-ed the list
I haven't included your email
anywhere in the reply)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Konstantin Borovik
May be /usr/ports/sysutils/ipa is the answer to your problem.

Quote from port description:

ipa(8) allows to make IP accounting (network accounting) based on
FreeBSD IPv4/v6 Firewall (including IPFW2), OpenBSD Packet Filter and
IP Filter accounting rules on FreeBSD, NetBSD and OpenBSD.

It supports limits for accounting rules and limits events as limit is
reached, reached limit is expired, etc. It understands time intervals
like end of day, end of week, end of month, etc.

ipastat(8) is a viewer for IP accounting database made by ipa(8).

WWW: http://www.simon.org.ua/ipa/

- Andrey Simonenko
[EMAIL PROTECTED]
[EMAIL PROTECTED]


 Hi,
 
 Is there a way to limit incoming traffic (bandwidth) using
 ipfilter/ipfw or any such software tool?. I am running a mail
 server and I pay per GB transfered. If I have my ISP do the
 limiting, they charge extra $$ for it. I know I can limit
 incoming mail size via the mail server. But still doesn't
 prevent someone from sending a lot of mail or fill up
 a 100mbps line for 24 hrs/day.
 
 
 I am not looking for a perfect solution, and I do realize
 ddos attacks and such are still possible. I am only looking
 for a reasonable solution.
 
 Any help is appreciated
 
 --
 Hari Bhaskaran
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



4.7 release with shuttle s40g xpc

2003-01-03 Thread jay
hello,
does anyone have freebsd working with a shuttle s40g xpc?
at random times, under heavy disk access, i will get either a bus error or
kernel panic and the machine will restart itself.

errors i've seen are things like:

panicstr: softdep_lock: locking against myself
vm_page_unwire: invalid wire count: 0
bus error

i also have a promise fasttrack 100 tx2 IDE RAID card installed in the
box, but as far as i can tell it seems to be recognized and working well.
i have yet to pull that out and test it with a HD plugged into the
motherboard's IDE connectors, but i was wondering if anyone else was
using the ss40g without problems.

the ss40g uses a shuttle spacewalker fs40 amd motherboard w/ a sis 740/961
chipset.  cpu is an athlon 2100+ xp. 512mb ddr2100 ram. promise fasttrack
100 tx2 IDE RAID controller. two 40gb seagate barracuda IV HDs. one aopen
dvd-rom (dvd-1640 pro 0122).

dmesg output:
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254  frequency 1193182 Hz
CPU: AMD Athlon(tm) XP 1500+ (1311.68-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2

Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 503316480 (491520K bytes)
avail memory = 484462592 (473108K bytes)
Preloaded elf kernel kernel at 0xc050f000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fde70
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib2: PCI to PCI bridge (vendor=1039 device=0001) at device 1.0 on pci0
pci1: PCI bus on pcib2
pci1: SiS model 6325 VGA-compatible display device at 0.0
isab0: SiS 85c503 PCI-ISA bridge at device 2.0 on pci0
isa0: ISA bus on isab0
ohci0: SiS 5571 USB controller mem 0xed11-0xed110fff irq 11 at
device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: SiS 5571 USB controller on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: SiS 5571 USB controller mem 0xed111000-0xed111fff irq 9 at device 2.3 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: SiS 5571 USB controller on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: SiS 5591 ATA100 controller port 0x4000-0x400f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: unknown card (vendor=0x13f6, dev=0x0111) at 10.0 irq 5
atapci1: Promise TX2 ATA100 controller port 
0xe400-0xe40f,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd407 mem 0xed1
0-0xed10 irq 11 at device 12.0 on pci0
ata2: at 0xd400 on atapci1
ata3: at 0xdc00 on atapci1
rl0: RealTek 8139 10/100BaseTX port 0xe800-0xe8ff mem 0xed112000-0xed1120ff irq 10 
at device 15.0 on pci0
rl0: Ethernet address: 00:30:1b:11:21:bd
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: unknown card (vendor=0x11c1, dev=0x5811) at 16.0 irq 11
pcib1: SiS 5591 host to AGP bridge on motherboard
pci2: PCI bus on pcib1
orm0: Option ROMs at iomem
0xc-0xcbfff,0xcc000-0xc,0xd-0xd87ff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ar0: 38166MB ATA RAID1 array [4865/255/63] status: READY subdisks:
 0 READY ad4: 38166MB ST340016A [77545/16/63] at ata2-master UDMA100
 1 READY ad6: 38166MB ST340016A [77545/16/63] at ata3-master UDMA100
acd0: DVD-ROM AOpen Inc. DVD-ROM DVD-1640 PRO 0122 at ata0-master PIO4

=jay


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Avleen Vig
On Fri, 3 Jan 2003, randall ehren wrote:

 not to stray too far, but if IPFW is set to allow all incoming packets and is
 only used for shaping, and you have ipfilter handling nat, then it seems it
 would just be:
  network card -- IPFW (traffic shape) -- IPF (filter+nat) -- userland
  i guess an internally NAT address would go back out as:
   IPF -- IPFW -- network card

We actually found it goes:

Internal Net - NIC - IPF+NAT - IPFW - World
World - IPF+NAT - IPFW - NIC - Internal net

After seeing this, I didn't even bother to see what the interal side of
the router processed as. I'm sure it would have given me a headache trying
to set up the runs.

Suffice to say, IPF+NAT always sees the packets first (at least on the
outer side of the router)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Driver for DVD-RAM

2003-01-03 Thread Bill Moran
From: [EMAIL PROTECTED]

Greetings fellow BSD enthusiast.   Can you let me know how to persue the
following question, in the event that it has already been posted and
answered.  I am interested in attaching a DVD-RAM drive to an Intel
computer with FreeBSD operating system.  The computer has a S.C.S.I. board,
and Panasonic makes a drive that attaches to a S.C.S.I. board.  Panasonic
offers no device drivers for FreeBSD.  Has anyone else tried to do this?
Is a device driver available?  Can the proposed arrangement work with a
default S.C.S.I. driver?  Could such a device be made bootable? Any advice
is appreciated.  [EMAIL PROTECTED]


I'm no SCSI or or DVD-RAM expert, but I think I can answer some of your
questions.

For reading, the DVD-RAM should look like a CD-ROM to the SCSI system.
Whether or not there is a driver is something you can check at the
hardware list on www.freebsd.org.  Even if there isn't a specific driver,
it _might_ work anyway, if it's pretty standard in its design.

As far as writing to the device, there are no drivers that I know of.
However, FreeBSD has a spiffy SCSI passthru system that allows software
to directly control SCSI devices: this is how cdrecord works.  Last I
checked, cdrecord did work for many DVD burners, but you couldn't get
the DVD capable version for free, you had to purchase it.  That's been
almost a year, so things may have changed, but there's a point for you
to start researching.

Good luck,
Bill

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


FreeBSD Handbook NIS/YP Instructions

2003-01-03 Thread Adam Stroud
I am tryin to setup a NIS/YP domain.  I just get done reading that chapter in 
the FreeBSD handbook and I just have a quick question.  Since NIS uses RPC, 
do I need to configure inetd.conf to allow RPC on the NIS server and clients?  
The handbook does not make any mention of editing the inetd.conf file.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



How to get best results from FreeBSD-questions

2003-01-03 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update 3 September 1999

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 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 specifically for people 

The Complete FreeBSD, second edition: errata and addenda

2003-01-03 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, second edition




  Last revision: 21 June 1999

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 Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the second edition, formatted on 16 December 1997.  If you have  this
book,  please  check this list.  If you have the first edition of 19 July 1996,
please check ftp://ftp.lemis.com/pub/cfbsd/errata-1. This  same  file  is  also
available via the web link http://www.lemis.com/.

This list is available in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-2.ps. See page 222 of the book  to  find
  out  how  to  print  out  PostScript.   If  at all possible, please take this
  document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-2.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

General changes
___


o In a number of places, I suggest the use of the  following  command  to  find
  process information:

  $ ps aux | grep foo

  Unfortunately,  ps  is sensitive to the column width of the terminal emulator
  upon which it is working.  This command usually works fine  on  a  relatively
  wide  xterm,  but if you're running on an 80-column terminal, it may truncate
  exactly the information you're looking for, so you end  up  with  no  output.
  You can fix that with the w option:

  $ ps waux | grep foo

  Thanks to Sue Blake [EMAIL PROTECTED] for this information


Location of the sample files


On  the  2.2.5 CD-ROM only, the location of the sample files does not match the
specifications in the book (/book on the first CD-ROM).  The 2.2.5 CD-ROM  came
out before the book, and it contains the files on the third (repository) CD-ROM
as a single gzipped tar file  /xperimnt/cfbsd/cfbsd.tar.gz.   It  contains  the
following files:

drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/
drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/mutt/
-rw-r--r-- jkh/jkh 352 Oct 15 15:21 1997 cfbsd/mutt/.mail_aliases
-rw-r--r-- jkh/jkh9394 Oct 15 15:22 1997 cfbsd/mutt/.muttrc
drwxr-xr-x jkh/jkh   0 Oct 17 14:02 1997 cfbsd/scripts/
-rw-r--r-- jkh/jkh   18281 Oct 16 16:52 1997 cfbsd/scripts/.fvwm2rc
-rwxr-xr-x jkh/jkh1392 Oct 17 12:54 1997 cfbsd/scripts/install-desktop
-rw-r--r-- jkh/jkh 296 Oct 17 12:35 1997 cfbsd/scripts/.xinitrc
-rwxr-xr-x jkh/jkh 622 Oct 17 13:51 1997 cfbsd/scripts/install-rcfiles
-rw-r--r-- jkh/jkh1133 Oct 17 13:00 1997 cfbsd/scripts/Uutry
-rw-r--r-- jkh/jkh1028 Oct 17 14:02 1997 cfbsd/scripts/README
drwxr-xr-x jkh/jkh   0 Oct 18 19:32 1997 cfbsd/docs/
-rw-r--r-- jkh/jkh  199111 Oct 16 14:29 1997 cfbsd/docs/packages.txt

Page 2






Errata and addenda for the Complete FreeBSD, second edition


-rw-r--r-- jkh/jkh  189333 Oct 16 14:28 1997 cfbsd/docs/packages-by-category.txt
-rw-r--r-- jkh/jkh  188108 Oct 16 14:29 1997 cfbsd/docs/packages.ps
-rw-r--r-- jkh/jkh  226439 Oct 16 14:27 1997 cfbsd/docs/packages-by-category.ps
-rw-r--r-- jkh/jkh 788 Oct 16 15:01 1997 cfbsd/README
-rw-r--r-- jkh/jkh 248 Oct 17 11:52 1997 cfbsd/errata

To  extract  one  of these files, say cfbsd/docs/packages.txt, and assuming you
have the CD-ROM mounted as /cdrom, enter:

# cd /usr/share/doc
# tar xvzf /cdrom/xperimnt/cfbsd/cfbsd.tar.gz cfbsd/docs/packages.txt

See page 209 for more information on using tar.

These files are an early version of what is described in the book.  I'll put up
some updated 

Re: SOLVED: XFree86 lockfile?

2003-01-03 Thread Greg 'groggy' Lehey
On Friday,  3 January 2003 at 11:11:13 +0100, Marcel Stangenberger wrote:
 I'm afraid I don't know enough about Microsoft to give you any further
 information, but since you say that it happened after the DHCP lease
 expires, you should check your configuration files on the Microsoft
 machine to see if they are making any assumptions about IP addresses.
 You could also try manually starting the client on eldar, pointing it
 at the (running) X server on your Microsoft box.  Something like:

   xterm -display microsoft:0

 this did the trick, after i started it, it gave the report that it
 couldn't find the computername. I checked the DNS entry's and they where
 all correct. After that i checked the /etc/hosts and saw that there was
 an error there. (the computername was listed multiple times with diverent
 IP's). After correcting this, xdm gave my Xserver a beautifull login
 prompt. :-)

Glad to hear that we've solved the problem.  But looking back,
consider the approach.  Reinstalling seldom helps.

Greg
--
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Procmail and Exim - Freebsd

2003-01-03 Thread Greg 'groggy' Lehey
On Friday,  3 January 2003 at 10:10:56 +, Ian Watkinson wrote:
 On Thu, 2003-01-02 at 23:39, Greg 'groggy' Lehey wrote:
 On Thursday,  2 January 2003 at 15:39:07 +, Ian Watkinson wrote:
 Trying to get Fetmail - Procmail - Exim working.

 Please don't reply to a thread with a completely different topic.

 Thread? Threads are in usenet, this is a mailing list.

Mail uses threads as well.  See RFC 2822.

 This message is:

 In-Reply-To: [EMAIL PROTECTED]


 That's not in my original headers looking at the full headers of the
 message I posted.

Yes, that's there.  That's where I got it from.

 That is a thread about problems starting X applications.  It makes it

 Er, no the subject makes it quite clear it's a post about Procmail and
 Exim, on Freebsd.

No, you replied to a thread on X.  You changed the subject, but you
left in the In-Reply-To: and Reference: headers.

 really difficult to follow to find a completely unrelated set of
 messages in the thread.  It also makes it much more difficult to
 filter with procmail, BTW.

 What's wrong with filtering on Subject?

It doesn't show the relationships between the messages.  Look at the
two attachments.

 Can you tell me where the extra header is added,

Most MUAs do it when you reply.  From RFC 2822
(http://www.faqs.org/rfcs/rfc2822.html):

  The In-Reply-To: and References: fields are used when creating a
   reply to a message.  They hold the message identifier of the
   original message and the message identifiers of other messages (for
   example, in the case of a reply to a message which was itself a
   reply).  The In-Reply-To: field may be used to identify the
   message (or messages) to which the new message is a reply, while
   the References: field may be used to identify a thread of
   conversation.

In your specific case, the headers looked like this after they arrived
here:

  From [EMAIL PROTECTED]  Fri Jan  3 02:11:38 2003
  Return-Path: [EMAIL PROTECTED]
  Delivered-To: [EMAIL PROTECTED]
  Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119])
  by wantadilla.lemis.com (Postfix) with ESMTP id BEB2051948
  for [EMAIL PROTECTED]; Fri,  3 Jan 2003 02:11:37 +1030 (CST)
  Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
  by mx2.freebsd.org (Postfix) with ESMTP id 0A1C75560B
  for [EMAIL PROTECTED]; Thu,  2 Jan 2003 07:41:36 -0800 (PST)
  (envelope-from [EMAIL PROTECTED])
  Received: by hub.freebsd.org (Postfix)
  id D205437B409; Thu,  2 Jan 2003 07:41:35 -0800 (PST)
  Delivered-To: [EMAIL PROTECTED]
  Received: by hub.freebsd.org (Postfix, from userid 538)
  id B28E937B405; Thu,  2 Jan 2003 07:41:34 -0800 (PST)
  Received: from localhost (localhost [127.0.0.1])
  by hub.freebsd.org (Postfix) with SMTP
  id 973AE2E8020; Thu,  2 Jan 2003 07:41:34 -0800 (PST)
  Received: by hub.freebsd.org (bulk_mailer v1.12); Thu, 2 Jan 2003 07:41:34 -0800
  Delivered-To: [EMAIL PROTECTED]
  Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
  by hub.freebsd.org (Postfix) with ESMTP id 1BA1637B401
  for [EMAIL PROTECTED]; Thu,  2 Jan 2003 07:41:33 -0800 (PST)
  Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130])
  by mx1.FreeBSD.org (Postfix) with ESMTP id 18D4243ED1
  for [EMAIL PROTECTED]; Thu,  2 Jan 2003 07:41:32 -0800 (PST)
  (envelope-from [EMAIL PROTECTED])
  Received: from pan.ehsrealtime.com ([213.52.146.196])
  by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2)
  id 18U7TM-0007lW-01
  for [EMAIL PROTECTED]; Thu, 02 Jan 2003 15:41:28 +
  Subject: Procmail and Exim - Freebsd
  From: Ian Watkinson [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  In-Reply-To: [EMAIL PROTECTED]
  References: [EMAIL PROTECTED]
  Content-Type: text/plain
  Organization: EHS Brann
  Message-Id: [EMAIL PROTECTED]
  Mime-Version: 1.0
  X-Mailer: Ximian Evolution 1.2.0 
  Date: 02 Jan 2003 15:39:07 +
  Content-Transfer-Encoding: 7bit
  Sender: [EMAIL PROTECTED]
  List-ID: freebsd-questions.FreeBSD.ORG
  List-Archive: http://docs.freebsd.org/mail/ (Web Archive)
  List-Help: mailto:[EMAIL PROTECTED]?subject=help (List Instructions)
  List-Subscribe: mailto:[EMAIL PROTECTED]?subject=subscribe%20freebsd-questions
  List-Unsubscribe: 
mailto:[EMAIL PROTECTED]?subject=unsubscribe%20freebsd-questions
  X-Loop: FreeBSD.ORG
  Precedence: bulk

The In-Reply_To: and References: headers were almost certainly added
by your MUA.

 and where the posting FAQ is for the list, as I seem to have missed
 the don't reply to the list and change the subject bit..

Try http://www.lemis.com/questions.html.  But this isn't related only
to FreeBSD-questions.  It's a general issue.  Note also that it makes
people less likely to want to reply to them.

 information in this email is confidential and is intended solely
 for the addressee(s) and access to this 

Re: Disable Mozilla profile

2003-01-03 Thread Dan Nelson
In the last episode (Jan 03), Adam Stroud said:
 Thanks for the reply, I am seeing the profile manager when I try to
 open a second instance of Mozilla.  I cant open another instance
 until I create another profile.  I understand that these profiles can
 be useful, but they can also be a sole reason not to use Mozilla.

You should not try and open a second instance of Mozilla on the same
profile, since they won't communicate with each other and you'll
probably end up corrupting your cache files, bookmarks, history, etc
etc.  The mozilla port installs a wrapper script at
/usr/X11R6/bin/mozilla that only launches mozilla the first time it is
called, and after that passes commands to the running instance.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Updating Pico Pine

2003-01-03 Thread Warren Block
On Fri, 3 Jan 2003, Danny wrote:

 On a FreeBSD 4.3R major production system. Recommended steps to
 upgrade *without* 'portupgrade' and do you see any implications? E.g.
 address books, config settings, etc.

 Current version is 4.21.

I just upgraded to 4.51.  My dependencies were all messed up, so I
pkg_deleted cclient and the old pine, used pkgdb -F to fix, and then
installed the new Pine from ports.  No problems with old mail or
settings, at least that I've noticed.

(Why don't you want to use portupgrade?)

-Warren Block * Rapid City, South Dakota USA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Updating Pico Pine

2003-01-03 Thread Kevin D. Kinsey, DaleCo, S.P.
 From: Danny [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, January 03, 2003 9:59 AM
 Subject: Updating Pico  Pine
 
 Danny wrote:
 
  On a FreeBSD 4.3R major production system. Recommended steps to
  upgrade *without* 'portupgrade' and do you see any implications?
 E.g.  address books, config settings, etc.
 
  Current version is 4.21.
 
  Thank you.
 
 Heh, the upgrade to 'pico' is:
 
 #cd /usr/ports/editors/nano
#make install clean
#alias pico nano
 
 :-)
 
 KDK 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Adaptec 1200A Driver?

2003-01-03 Thread Justin T. Gibbs
 Hi
 
 I know this card is not supported - is anyone planning on writing a driver
 or is the card fundamentally not compatible with FreeBSD?

The 1200A is an Adaptec branded HighPoint controller.  As such, I believe
that Soren's HighPoint driver should drive it.

--
Justin


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD Handbook NIS/YP Instructions

2003-01-03 Thread Bill Moran
From: Adam Stroud [EMAIL PROTECTED]

Since NIS uses RPC,
do I need to configure inetd.conf to allow RPC on the NIS server and 
clients?
The handbook does not make any mention of editing the inetd.conf file.

inetd doesn't handle RPC.

Use the rc.conf settings suggested in the tutorial and the necessary rpc
servers will be started at boot time by /etc/rc

Once you've got everything running, you can use
ps -ax | grep rpc
to see what rpc servers were started.  I don't actually remember what's
started for NIS, although I believe rpc.statd at least needs to run.

-Bill

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


realplayer8

2003-01-03 Thread T. Green
help !
i am trying to install realplayer 8 no freebsd ver 4.7 using netscape 7.01.
i need to know what file go's where.
thank you



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Redirecting root's email

2003-01-03 Thread Konstantin Borovik
 MDeferred: Operation timed out with localhost.visimation.com.

For some reason sendmail tries to contact localhost.visimation.com

What is the result of command

host visimation.com 

on your box?

Can you check /var/log/maillog file for error messages?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Redirecting root's email

2003-01-03 Thread Adam Lofstedt
I am having trouble redirecting root's email to an external email
account.  This is a 4.7-Release box with not very modifications done to
the standard installation.

I have tried creating a .forward file and placing it in /root with my
external email address in the file.  No luck.

I tried editing /etc/aliases and changed the line:
#root: [EMAIL PROTECTED]
to:
root : [EMAIL PROTECTED]

and then I ran the newaliases command.  Still no luck.

I think it has something to do with name resolution, but I'm not sure
what's going on.  In /etc/hosts I have the following:

127.0.0.1  localhost.visimation.com localhost
xxx.xxx.xxx.xxxforcefield.visimation.com forcefield
xxx.xxx.xxx.xxxforcefield.visimation.com.

In /etc/resolv.conf I have this:
Domain  visimation.com
Nameserver  10.0.0.x

When I look at /var/spool/clientmqueue, it is full of messages.  Here is
a snippet of one:


V6
T1041606452
K1041638852
N19
P1651680
I116/131076/293
MDeferred: Operation timed out with localhost.visimation.com.
Frs
$_localhost
$r
$slocalhost
${daemon_flags}c u
SMAILER-DAEMON
MDeferred: Operation timed out with localhost.visimation.com.
C:root
rRFC822; [EMAIL PROTECTED]
RPF:root
H?P?Return-Path: g
H??Received: from localhost (localhost)
by forcefield.visimation.com (8.12.6/8.12.6/Submit) id
h03F7WAs006196;
Fri, 3 Jan 2003 07:07:32 -0800 (PST)
H?D?Date: Fri, 3 Jan 2003 07:07:32 -0800 (PST)
H?F?From: Mail Delivery Subsystem MAILER-DAEMON
H?x?Full-Name: Mail Delivery Subsystem
H?M?Message-Id: [EMAIL PROTECTED]
H??To: root
H??MIME-Version: 1.0
H??Content-Type: multipart/report; report-type=delivery-status;
boundary=h03F7WAs006196.1041606452/forcefield.visimation.com
H??Subject: Warning: could not send message for past 4 hours
H??Auto-Submitted: auto-generated (warning-timeout)
.
***

Can someone tell me what I am doing wrong?  Thanks a lot,

Adam



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD Handbook NIS/YP Instructions

2003-01-03 Thread Mike Hogsett

portmap is also required for NIS.

- Mike

 From: Adam Stroud [EMAIL PROTECTED]
 
 Since NIS uses RPC,
 do I need to configure inetd.conf to allow RPC on the NIS server and 
 clients?
 The handbook does not make any mention of editing the inetd.conf file.
 
 inetd doesn't handle RPC.
 
 Use the rc.conf settings suggested in the tutorial and the necessary rpc
 servers will be started at boot time by /etc/rc
 
 Once you've got everything running, you can use
 ps -ax | grep rpc
 to see what rpc servers were started.  I don't actually remember what's
 started for NIS, although I believe rpc.statd at least needs to run.
 
 -Bill
 
 _
 The new MSN 8: smart spam protection and 2 months FREE*  
 http://join.msn.com/?page=features/junkmail
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ppp on freebsd 4.7 - disable ccp?

2003-01-03 Thread Lauri Ahonen
If I'm reading this logfile right trying to negotiate compression levels
kills my connection.
I got the connection working on windows by disabling software compression.
Dns is static,
so it's defined in resolv.conf. No ipv6 thank you

(This is a GPRS connection, that's why the odd dial-in number and low com
speed)

-bash-2.05b$ ppp
Working in interactive mode
Using interface: tun0
ppp ON libretto set device /dev/cuaa0
ppp ON libretto set speed 57600
ppp ON libretto disable dns
ppp ON libretto disable ipv6
ppp ON libretto disable ipv6cp
ppp ON libretto  set log local phase lcp ipcp
ppp ON libretto term
Phase: bundle: Establish
Phase: deflink: closed - opening
Phase: deflink: Connected!
deflink: Entering terminal mode on /dev/cuaa0
Type `~?' for help
Phase: deflink: opening - carrier
Phase: deflink: /dev/cuaa0 doesn't support CD
Phase: deflink: carrier - ready
AT
OK
ATZ
OK
AT+CGDCONT=1,IP,internet
OK
ATDT*99***1#
CONNECT
Phase: deflink: PPP packet detected, coming up
Phase: deflink: ready - carrier
Phase: deflink: carrier - lcp
LCP: FSM: Using deflink as a transport
LCP: deflink: State change Initial -- Closed
LCP: deflink: State change Closed -- Stopped
ppp ON libretto LCP: deflink: LayerStart
LCP: deflink: SendConfigReq(1) state = Stopped
LCP:  ACFCOMP[2]
LCP:  PROTOCOMP[2]
LCP:  ACCMAP[6] 0x
LCP:  MRU[4] 1500
LCP:  MAGICNUM[6] 0xd8c553ad
LCP: deflink: State change Stopped -- Req-Sent
LCP: deflink: RecvConfigNak(1) state = Req-Sent
LCP:  ACCMAP[6] 0x000a
LCP: deflink: SendConfigReq(2) state = Req-Sent
LCP:  ACFCOMP[2]
LCP:  PROTOCOMP[2]
LCP:  ACCMAP[6] 0x000a
LCP:  MRU[4] 1500
LCP:  MAGICNUM[6] 0xd8c553ad
LCP: deflink: RecvConfigAck(2) state = Req-Sent
LCP:  ACFCOMP[2]
LCP:  PROTOCOMP[2]
LCP:  ACCMAP[6] 0x000a
LCP:  MRU[4] 1500
LCP:  MAGICNUM[6] 0xd8c553ad
LCP: deflink: State change Req-Sent -- Ack-Rcvd
LCP: deflink: RecvConfigReq(3) state = Ack-Rcvd
LCP:  ACCMAP[6] 0x000a
LCP:  PROTOCOMP[2]
LCP:  ACFCOMP[2]
LCP:  MAGICNUM[6] 0x7e8713c3
LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
LCP: deflink: SendConfigAck(3) state = Ack-Rcvd
LCP:  ACCMAP[6] 0x000a
LCP:  PROTOCOMP[2]
LCP:  ACFCOMP[2]
LCP:  MAGICNUM[6] 0x7e8713c3
LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
LCP: deflink: State change Ack-Rcvd -- Opened
LCP: deflink: LayerUp
LCP: deflink: SendIdent(0) state = Opened
LCP:  MAGICNUM d8c553ad
LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
Phase: bundle: Authenticate
Phase: deflink: his = CHAP 0x05, mine = none
Ppp ON libretto Phase: Chap Input: CHALLENGE (20 bytes)
Phase: Chap Output: RESPONSE ()
Phase: Chap Input: SUCCESS
Phase: deflink: lcp - open
Phase: bundle: Network
IPCP: FSM: Using deflink as a transport
IPCP: deflink: State change Initial -- Closed
IPCP: deflink: LayerStart.
IPCP: deflink: SendConfigReq(1) state = Closed
IPCP:  IPADDR[6] 127.0.0.1
IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
IPCP: deflink: State change Closed -- Req-Sent
PPp ON libretto LCP: deflink: RecvProtocolRej(4) state = Opened
LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was
rejected!
IPCP: deflink: RecvConfigRej(1) state = Req-Sent
LCP: deflink: SendIdent(1) state = Opened
LCP:  MAGICNUM d8c553ad
LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
IPCP: deflink: SendConfigReq(2) state = Req-Sent
IPCP:  IPADDR[6] 127.0.0.1
LCP: deflink: RecvTerminateReq(5) state = Opened
LCP: deflink: LayerDown
LCP: deflink: SendTerminateAck(5) state = Opened
LCP: deflink: State change Opened -- Stopping
Phase: deflink: open - lcp
IPCP: deflink: State change Req-Sent -- Starting
IPCP: deflink: LayerFinish.
IPCP: Connect time: 1 secs: 0 octets in, 0 octets out
IPCP: 0 packets in, 0 packets out
IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Sat Jan  4 04:02:01 2003
IPCP: deflink: State change Starting -- Initial
Phase: bundle: Terminate
ppp ON libretto LCP: deflink: LayerFinish
LCP: deflink: State change Stopping -- Stopped
LCP: deflink: State change Stopped -- Closed
LCP: deflink: State change Closed -- Initial
Phase: deflink: Disconnected!
Phase: deflink: Connect time: 132 secs: 289 octets in, 362 octets out
Phase: deflink: 13 packets in, 10 packets out
Phase:  total 4 bytes/sec, peak 129 bytes/sec on Sat Jan  4 04:02:03 2003
Phase: deflink: lcp - closed
Phase: bundle: Dead
ppp ON libretto




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



iomega usb zip 100

2003-01-03 Thread Ted
Dear FreeBSDers,
I've tried using the mount command to mount my USB Iomega Zip 100 drive 
but have failed. Upon boot w/ the device plugged into the pc, the 
kernal recognizes it as umass0 but on the very next line it states that 
Get Lun (stalled).

How do I mount a USB Iomega Zip 100 drive under FreeBSD 4.7?

Thank you for your assistance,
Ted


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ppp on freebsd 4.7 - disable ccp?

2003-01-03 Thread Matthew Emmerton
- Original Message -
From: Lauri Ahonen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 9:06 PM
Subject: ppp on freebsd 4.7 - disable ccp?


 If I'm reading this logfile right trying to negotiate compression levels
 kills my connection.
 I got the connection working on windows by disabling software compression.
 Dns is static,
 so it's defined in resolv.conf. No ipv6 thank you

 (This is a GPRS connection, that's why the odd dial-in number and low com
 speed)

 -bash-2.05b$ ppp
 Working in interactive mode
 Using interface: tun0
 ppp ON libretto set device /dev/cuaa0
 ppp ON libretto set speed 57600
 ppp ON libretto disable dns
 ppp ON libretto disable ipv6
 ppp ON libretto disable ipv6cp
 ppp ON libretto  set log local phase lcp ipcp
 ppp ON libretto term
 Phase: bundle: Establish
 Phase: deflink: closed - opening
 Phase: deflink: Connected!
 deflink: Entering terminal mode on /dev/cuaa0
 Type `~?' for help
 Phase: deflink: opening - carrier
 Phase: deflink: /dev/cuaa0 doesn't support CD
 Phase: deflink: carrier - ready
 AT
 OK
 ATZ
 OK
 AT+CGDCONT=1,IP,internet
 OK
 ATDT*99***1#
 CONNECT
 Phase: deflink: PPP packet detected, coming up
 Phase: deflink: ready - carrier
 Phase: deflink: carrier - lcp
 LCP: FSM: Using deflink as a transport
 LCP: deflink: State change Initial -- Closed
 LCP: deflink: State change Closed -- Stopped
 ppp ON libretto LCP: deflink: LayerStart
 LCP: deflink: SendConfigReq(1) state = Stopped
 LCP:  ACFCOMP[2]
 LCP:  PROTOCOMP[2]
 LCP:  ACCMAP[6] 0x
 LCP:  MRU[4] 1500
 LCP:  MAGICNUM[6] 0xd8c553ad
 LCP: deflink: State change Stopped -- Req-Sent
 LCP: deflink: RecvConfigNak(1) state = Req-Sent
 LCP:  ACCMAP[6] 0x000a
 LCP: deflink: SendConfigReq(2) state = Req-Sent
 LCP:  ACFCOMP[2]
 LCP:  PROTOCOMP[2]
 LCP:  ACCMAP[6] 0x000a
 LCP:  MRU[4] 1500
 LCP:  MAGICNUM[6] 0xd8c553ad
 LCP: deflink: RecvConfigAck(2) state = Req-Sent
 LCP:  ACFCOMP[2]
 LCP:  PROTOCOMP[2]
 LCP:  ACCMAP[6] 0x000a
 LCP:  MRU[4] 1500
 LCP:  MAGICNUM[6] 0xd8c553ad
 LCP: deflink: State change Req-Sent -- Ack-Rcvd
 LCP: deflink: RecvConfigReq(3) state = Ack-Rcvd
 LCP:  ACCMAP[6] 0x000a
 LCP:  PROTOCOMP[2]
 LCP:  ACFCOMP[2]
 LCP:  MAGICNUM[6] 0x7e8713c3
 LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
 LCP: deflink: SendConfigAck(3) state = Ack-Rcvd
 LCP:  ACCMAP[6] 0x000a
 LCP:  PROTOCOMP[2]
 LCP:  ACFCOMP[2]
 LCP:  MAGICNUM[6] 0x7e8713c3
 LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
 LCP: deflink: State change Ack-Rcvd -- Opened
 LCP: deflink: LayerUp
 LCP: deflink: SendIdent(0) state = Opened
 LCP:  MAGICNUM d8c553ad
 LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
 Phase: bundle: Authenticate
 Phase: deflink: his = CHAP 0x05, mine = none
 Ppp ON libretto Phase: Chap Input: CHALLENGE (20 bytes)
 Phase: Chap Output: RESPONSE ()
 Phase: Chap Input: SUCCESS
 Phase: deflink: lcp - open
 Phase: bundle: Network
 IPCP: FSM: Using deflink as a transport
 IPCP: deflink: State change Initial -- Closed
 IPCP: deflink: LayerStart.
 IPCP: deflink: SendConfigReq(1) state = Closed
 IPCP:  IPADDR[6] 127.0.0.1
 IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
 IPCP: deflink: State change Closed -- Req-Sent
 PPp ON libretto LCP: deflink: RecvProtocolRej(4) state = Opened
 LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was
 rejected!
 IPCP: deflink: RecvConfigRej(1) state = Req-Sent
 LCP: deflink: SendIdent(1) state = Opened
 LCP:  MAGICNUM d8c553ad
 LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
 IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
 IPCP: deflink: SendConfigReq(2) state = Req-Sent
 IPCP:  IPADDR[6] 127.0.0.1
 LCP: deflink: RecvTerminateReq(5) state = Opened
 LCP: deflink: LayerDown
 LCP: deflink: SendTerminateAck(5) state = Opened
 LCP: deflink: State change Opened -- Stopping
 Phase: deflink: open - lcp
 IPCP: deflink: State change Req-Sent -- Starting
 IPCP: deflink: LayerFinish.
 IPCP: Connect time: 1 secs: 0 octets in, 0 octets out
 IPCP: 0 packets in, 0 packets out
 IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Sat Jan  4 04:02:01 2003
 IPCP: deflink: State change Starting -- Initial
 Phase: bundle: Terminate
 ppp ON libretto LCP: deflink: LayerFinish
 LCP: deflink: State change Stopping -- Stopped
 LCP: deflink: State change Stopped -- Closed
 LCP: deflink: State change Closed -- Initial
 Phase: deflink: Disconnected!
 Phase: deflink: Connect time: 132 secs: 289 octets in, 362 octets out
 Phase: deflink: 13 packets in, 10 packets out
 Phase:  total 4 bytes/sec, peak 129 bytes/sec on Sat Jan  4 04:02:03 2003
 Phase: deflink: lcp - closed
 Phase: bundle: Dead
 ppp ON libretto

Since you didn't ask a question, I assume you wanted to ask how can I
disable software compression on FreeBSD?

The answer is to add disable vjcomp to your ppp.conf file.

--
Matt Emmertno


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Majordomo results

2003-01-03 Thread Majordomo
--

 Unsubscribe freebsd-questions
 unsubscribe: '[EMAIL PROTECTED]' is not a member of list 
'freebsd-questions'.
 contact [EMAIL PROTECTED] if you need help.
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



[no subject]

2003-01-03 Thread freebsd-questions
unsubscribe freebsd-questions


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ppp on freebsd 4.7 - disable ccp?

2003-01-03 Thread Lauri Ahonen

- Original Message -
From: Matthew Emmerton [EMAIL PROTECTED]
To: Lauri Ahonen [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, January 04, 2003 4:13 AM
Subject: Re: ppp on freebsd 4.7 - disable ccp?


 - Original Message -
 From: Lauri Ahonen [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, January 03, 2003 9:06 PM
 Subject: ppp on freebsd 4.7 - disable ccp?


  If I'm reading this logfile right trying to negotiate compression levels
  kills my connection.
  I got the connection working on windows by disabling software
compression.
  Dns is static,
  so it's defined in resolv.conf. No ipv6 thank you
 
  (This is a GPRS connection, that's why the odd dial-in number and low
com
  speed)
 CLIP - Let's save a little bandwidth

 Since you didn't ask a question, I assume you wanted to ask how can I
 disable software compression on FreeBSD?

 The answer is to add disable vjcomp to your ppp.conf file.

 --
 Matt Emmertno

Sorry. What I meant to ask is how to disable compression control protocol,
not only vj compression(tried disabling vjcomp, but my link still dies after
LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was
rejected!). The problem might be something else than ccp, but the link dies
everytime at the same point




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Majordomo results

2003-01-03 Thread Ullrich 'Jason' Haag
Sorry guys. Not just once but twice I am publicly screaming I am
stupid...

Please disregard my (hopefully temporary) stupidity...

-Jason


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Disable Mozilla profile

2003-01-03 Thread Lee Harr
Thanks for the reply, I am seeing the profile manager when I try to
open a second instance of Mozilla.  I cant open another instance
until I create another profile.  I understand that these profiles
can
be useful, but they can also be a sole reason not to use Mozilla.


If it is just you, maybe what you are looking for is Ctrl-N
(New window) or (even better) Ctrl-T (new Tab)  ;-)



The mozilla port installs a wrapper script at
/usr/X11R6/bin/mozilla that only launches mozilla the first time it
is
called, and after that passes commands to the running instance.


Hmm... yup. I am pretty sure that is what I am using.
I updated to 1.1 soon after it came out, maybe I should try the
latest version of the port. Thanks.




_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Softer crash a show-interrupter only (please CC me in reply)

2003-01-03 Thread Peter Leftwich
[Please CC me in your reply]

Well, Gnome/Galeon/GAIM/xterm crashed again; the windows all lost their
borders and this time thankfully all I could do was Ctrl-Alt-F1 to the
console again and Ctrl-Z to the startx process running.  I then hit
ScrollLock a number of times and copied and pasted the history buffer to a
file (attached, edited slightly).  By the way, thank you list posters (I
forget your email addresses) for your replies about apmd_enable='YES'
(fixed my `shutdown -p now` issue) and for the recent post about trying to
come in to my box from the network (an astute test to run if I ever get the
chance, unfortunately I'm on a 1-box LAN :) and don't want to leave my PC
in a crashed and possibly vulnerable state while I go find another PC)...

Can anything be gathered from the attached sysconsole messages?  Oh, also,
is there a tcsh command line I can run that will tee messages both to the
console and to a file, such as `startx 2 startx.out` or something? Thx!!

--
Peter Leftwich
President  Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

box 1743 ~ # startx
xauth: (argv):1:  bad display name ...r.com:0 in list command
xauth: (argv):1:  bad display name ...r.com:0 in add command
XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 5.0-CURRENT i386 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Fri Jan  3 17:43:29 2003
(==) Using config file: /etc/XF86Config
(EE) R128(0): [dri] DRIScreenInit failed.  Disabling DRI.
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPo
Couldn't load XKB keymap, falling back to pre-XKB keymap
setenv: not found
SESSION_MANAGER=local/dhcp-407-32.san.rr.com:/tmp/.ICE-unix/185
** (gnome-session:185): WARNING **: Host name lookup failure on localhost.
** (gnome-settings-daemon:200): WARNING **: Unsupported in this build
setting Net/DoubleClickTime 400
setting Gtk/FontName Sans 10
setting Gtk/KeyThemeName Default
setting Net/CursorBlink 1
setting Net/CursorBlinkTime 1200
setting Net/ThemeName Redmond95
-1/-1
Reloading events
error in local config-- (void-value xterm-program)
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
(gnome-panel:208): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to 
`GtkWindow'
** (gnome-settings-daemon:200): WARNING **: Unsupported in this build
(gnome-panel:208): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to 
`GtkWindow'
** (gnome-settings-daemon:200): WARNING **: Unsupported in this build
** (gnome-settings-daemon:200): WARNING **: Encountered problems registering the 
settings daemon with bonobo-activation. Clients may not detect that the settings 
daemon is already running.
GnomeUI-WARNING **: Could not open help topics file NULL
*** Bad argument: #subr window-transient-p, (), 1
capplet-common-Message: cleanup_cb: Enter LoadPlugin: failed to initialize shared 
library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so]

You have to leave in 5 minutes.
Just one more minute!
Time to leave! (etc etc)

assertion window_in_stacking_list_p (w) failed: file stacking-list.c, line 67
rep: received fatal signal: Abort trap
struct debug_buf common:
Backtrace in `fatal_signal_handler':
_thread_sig_wrapper+364
0xbfbfde60
_thread_sig_handle_pending+1722
_thread_sig_handler+722
Lisp backtrace:
Jan  3 18:29:42 0.6 dhcp-407-32 /kernel: pid 202 (sawfish), uid 0: exited on signal 
6 (core dumped)
_thread_sig_handler+722
Lisp backtrace:
Jan  3 18:29:42 0.6 dhcp-407-32 /kernel: pid 202 (sawfish), uid 0: exited on signal 
6 (core dumped)
Gtk-CRITICAL **: file gtkwidget.c: line 3246 (gtk_widget_set_state): assertion `
widget != NULL' failed.
^Z
[1]  + Suspended startx
box 1831 COMPUTER UPTIME IS 50 mim ~ top



Re: FreeBSD Stability

2003-01-03 Thread Philip Hallstrom
 On Thu, Jan 02, 2003 at 06:09:11PM -0600, Dave Uhring said:
  You do realize, I hope, that Linux and Solaris roll over their uptimes
  at something like 492 days.

 from http://uptime.netcraft.com/up/accuracy.html#whichos
 --
 Additionally HP-UX, Linux, Solaris and recent releases of FreeBSD cycle
 back to zero after 497 days, exactly as if the machine had been rebooted
 at that precise point. Thus it is not possible to see a HP-UX, Linux or
 Solaris system with an uptime measurement above 497 days.
 --

It's been years since I've used solaris, but if this is really the case
then how come there's this entry:

26   www.cravath.com   102 ok892   939   940   Solaris 8
Apache/1.3.27 (Unix) PHP/4.2.3

That's certainly more than 492 days... so even if they do reboot, netcraft
is ignoring it or accomodating it seems like.

-philip


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Spontaneous 4.7-S reboots when using a Serial over USB adapter

2003-01-03 Thread William E Reid
I have noticed that if I disconnect the serial port from my usb to serial adapter and 
leave the dongle
in(Aten International Serial adapter,  SiS 5571 usb controller),  my machine will 
reset as soon as I
[Attempt to] send data from the usb side.  So maybe you are losing carrier signal 
sometime during the
transfer.  Another machine with a Via 83C572 USB controller does the same thing.

Sis is running 4.7 Stable from Jan 2 2003.
Via is running 4.6 Stable from Aug 23 2002.



-=Bill


Hans Lambermont wrote:

 Some more info: setting the serial line speed from 115200 baud down to
 9600 does not help; after a few minutes syncing my palmpilot I got
 another reboot. Is anyone succesfully using a Prolific Technology PL2303
 Serial adapter with a 82801CA/CAM ICH3 USB controller ?
 Any hints are welcome.

 I got no response yet to my previous mail:

  I'm seeing spontaneous reboots when using a Prolific Technology PL2303
  Serial adapter (this is a serial to USB convertor) for a palm-pilot full
  backup (using pilot-xfer) on one of my FreeBSD 4.7-STABLE machines.
  The reboots are reproduceable. Nothing shows up in the logs.
  Small data transfers, like syncing my addressbook, go without problems.
 
  Here is the problem-box relevant dmesg log:
 
  FreeBSD 4.7-STABLE #2: Sat Oct 26 16:36:31 CEST 2002
  uplcom0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 
1.10/2.02, addr 2
  uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xb400-0xb41f irq 9 at 
device 4.2 on pci0
  usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
  usb0: USB revision 1.0
 
  My other FreeBSD 4.7-STABLE machine runs the backup without problems
  using the same PL2303 Serial adapter (and palm pilot ;-).
 
  FreeBSD 4.7-STABLE #0: Sat Oct 26 19:16:48 CEST 2002
  uplcom0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 
1.10/2.02, addr 2
  uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0x1800-0x181f irq 10 
at device 29.0 on pci0
  usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A on uhci0
  usb0: USB revision 1.0
 
  But it has a different USB controller chipset.
 
  Is this perhaps a known issue with the 82801CA/CAM ICH3 USB controller ?

 regards,
Hans Lambermont
 --
 http://lambermont.webhop.org/

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-stable in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD Stability

2003-01-03 Thread Matthew Whelan

On Fri, 3 Jan 2003 10:05:05 -0800 (PST) Philip Hallstrom [EMAIL PROTECTED] 
wrote:
 26   www.cravath.com   102 ok892   939   940   Solaris 8
 Apache/1.3.27 (Unix) PHP/4.2.3
 
 That's certainly more than 492 days... so even if they do reboot,
 netcraft is ignoring it or accomodating it seems like.

As it's running Solaris 8, it could be a 64-bit machine.

-- 
Matthew Whelan [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



[resolution] Re: sendmail (Re: 5.0-RC2 informal PR: 90 sec sendmail delay)

2003-01-03 Thread Gary W. Swearingen
(cc'd to -questions, where I first post my problem, with no luck)

Valentin Nechayev [EMAIL PROTECTED] writes:

 I fix it with:
 define(`confDIRECT_SUBMISSION_MODIFIERS',`CC u')dnl
 For now I has no such problem at my home machine.
 Yes, this solution isn't intuitive.

Thanks.  I tried that and some other things (eg service.switch).  Even
read the book and help files some more.  Terry's suggestion regarding
expensive seemed like the opposite of what I needed (I was trying to
keep the msg out of the queues) and I had no luck trying to disable some
DNS which he hinted at.

I got my first good clue after adding level 15 logging to see an 80-sec
delay between MUA-launched sendmail and the MTA daemon.  I then used
level-99 logging to find

Jan  3 13:43:56 localhost sendmail[63611]: h03Lgf6p063607:\
makeconnection (localhost.localdomain. [IPv6:::1]) \
failed: Operation timed out with localhost.localdomain.

I shoulda considered that one big config difference between my 4.7
config and 5.0 is custom kernel without IPv6 on 4.7 and still using
GENERIC kernel with IPv6 on 5.0!  I do have
::1 localhost localhost.localdomain
in my /etc/hosts, but there's apparently something else wrong.

Is there a quick way to disable IPv6?  While I figure that out or
rebuild my kernel, I got a quick fix by changing, in my submit.mc,
this
FEATURE(`msp')
to this
FEATURE(`msp',`[127.0.0.1]')

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [resolution] Re: sendmail (Re: 5.0-RC2 informal PR: 90 sec sendmail delay)

2003-01-03 Thread Terry Lambert
Gary W. Swearingen wrote:
 Thanks.  I tried that and some other things (eg service.switch).  Even
 read the book and help files some more.  Terry's suggestion regarding
 expensive seemed like the opposite of what I needed (I was trying to
 keep the msg out of the queues) and I had no luck trying to disable some
 DNS which he hinted at.
 
 I got my first good clue after adding level 15 logging to see an 80-sec
 delay between MUA-launched sendmail and the MTA daemon.  I then used
 level-99 logging to find

The book is pretty useless.  The reason the fix you are using
works is because you have an IPv6 connection by default, and by
explicitly specifying an IPv4 address, IPv4 is used.

The issue here is the .in-addr.arpa. delegation for localhost
is considered to be local.  When the getpeername() happens, it
gets an IPv6 address instead of an IPv4, and the the gethostbyaddr()
hangs looking for ::1.in-addr.arpa., but has no problem finding
1.0.0.127.in-addr.arpa..

You can fix this by disabling the DNS cross-check in the file
sendmail.cf, and by getting rid of the peer name lookup in the
loopback case.  What you did with the IPv4 just took advanatage
of the fact that the in-addr.arpa. IPv4 delegations existed, when
the IPv6 loopback address ones did not.


 Is there a quick way to disable IPv6?  While I figure that out or
 rebuild my kernel, I got a quick fix by changing, in my submit.mc,
 this
 FEATURE(`msp')
 to this
 FEATURE(`msp',`[127.0.0.1]')

This isn't the correct fix.  The correct fix is to add an IPv6 address
and in-addr.arap. delegation for the loopback in your local DNS.


As far as the HoldExpensive I recommended, the way you stated the
problem seemed to indicate that it was a failure to connect, not
a failure to validate a connection was going through.  In general,
ou want to queue up any mail that can bring up a link, if your link
is transiently connected, and then control the link with a seperate
queue interval.  The other DNS statements I made were to ensure that
the interface did not end up bouncing up when sendmail was started,
for local mail delivery, or for remote mail delivery, outside the
administratively controlled queueing intervals (which could be on
the order of seconds, if you wanted).

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Here are the logs...Re: qmail toaster wont deliver to v mailboxes

2003-01-03 Thread Brian Jackson

On Monday, December 30, 2002, at 09:52  PM, Keith Spencer wrote:


Typical whinges to log when trying to deliver to a shell account 
user...At least it thinks the account exists!

Dec 31 00:00:00 smmcroute newsyslog[34616]: logfile turned over
Dec 31 00:00:03 smmcroute mail: 1041256803.908619 starting delivery 
17893: msg 290936 to local [EMAIL PROTECTED]
Dec 31 00:00:03 smmcroute mail: 1041256803.909261 status: local 1/10 
remote 1/255
Dec 31 00:00:03 smmcroute mail: 1041256803.910348 starting delivery 
17894: msg 289996 to local [EMAIL PROTECTED]
Dec 31 00:00:03 smmcroute mail: 1041256803.911272 status: local 2/10 
remote 1/255
Dec 31 00:00:03 smmcroute mail: 1041256803.920062 delivery 17893: 
deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 00:00:03 smmcroute mail: 1041256803.920384 status: local 1/10 
remote 1/255
Dec 31 00:00:03 smmcroute mail: 1041256803.920474 delivery 17894: 
deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 00:00:03 smmcroute mail: 1041256803.920549 status: local 0/10 
remote 1/255
Dec 31 00:00:05 smmcroute mail: 1041256805.928609 starting delivery 
17895: msg 290849 to local [EMAIL PROTECTED]
Dec 31 00:00:05 smmcroute mail: 1041256805.929225 status: local 1/10 
remote 1/255
Dec 31 00:00:05 smmcroute mail: 1041256805.934214 delivery 17895: 
deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 00:00:05 smmcroute mail: 1041256805.934480 status: local 0/10 
remote 1/255
Dec 31 00:00:10 smmcroute mail: 1041256810.059273 delivery 17886: 
deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/


		OR .when sending to a virtual user as created by 
qmailadmin/vpopmail system
 (and yes I checked the Maildir has been created in 
/usr/local/vpopmail/domains/smmc.qld.edu.au/cs

Dec 31 12:23:28 smmcroute mail: 1041301408.535012 new msg 290797
Dec 31 12:23:28 smmcroute mail: 1041301408.535628 info msg 290797: 
bytes 702 from [EMAIL PROTECTED] qp 49475 uid 89
Dec 31 12:23:28 smmcroute mail: 1041301408.541201 starting delivery 
22514: msg 292224 to local [EMAIL PROTECTED]
Dec 31 12:23:28 smmcroute mail: 1041301408.543116 status: local 2/10 
remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.544101 delivery 22513: 
deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 12:23:28 smmcroute mail: 1041301408.545985 status: local 1/10 
remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.549619 starting delivery 
22515: msg 290797 to local [EMAIL PROTECTED]
Dec 31 12:23:28 smmcroute mail: 1041301408.552142 status: local 2/10 
remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.553299 delivery 22515: 
failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Dec 31 12:23:28 smmcroute mail: 1041301408.554145 status: local 1/10 
remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.557766 bounce msg 290797 qp 
49484
Dec 31 12:23:28 smmcroute mail: 1041301408.558188 end msg 290797


Hm!

Hi Keith -

  Probably should keep the same thread going - I almost missed your 
reply on this - plus people use the archives to help solve issues :)

  I still think it's a permissions issue, but we can check a few other 
things as well.  What's the output of this command?

  $ps -aux | grep -i 'qmail-lspawn'

  On my system, this is what I get:

  nostromo:[~]  ps -aux | grep -i 'qmail-lspawn'
  root   164  0.0  0.2   892  196 con- I 6Dec02   0:01.20 
qmail-lspawn ./Maildir/

  Notice the preceding . and the trailing / on the Maildir - do you see 
the same thing?  If not, check your rc file in /var/qmail - it should 
have your delivery method (or, if your directions call for it, it may 
be in a file called defaultdelivery in the /var/qmail/controls 
directory).

  I know that Matt has made the install simple by making allot of 
perl scripts  - so check in both places.  It's common to miss the last 
/ or the . in the command.

Brian
--
Brian Jackson
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: how can I filter on subject with sendmail 8.12.6?

2003-01-03 Thread Andrew Prewett
On Jan 3 Fuzzy wrote:


 we're having a problem with some cracker using addresses
 harvested from whois and the abuse/www/webmaster with
 domains they get from the database. The mail appears to
 come from us but it cannot as the addresses are oneway incoming
 only.

 the subject is always

 XXX templates
[...]

Try with this at the end of your sendmail.mc
(don't forget to rebuild the sendmail.cf file and restart sendmail)


LOCAL_CONFIG

C{RejectSubject}XXX templates

LOCAL_RULESETS

HSubject:   $CheckSubject

SCheckSubject
R$={RejectSubject}  $#error $@ 5.1.3 $: 554 Header error
R$* $@ OK

-andrew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: how can I filter on subject with sendmail 8.12.6?

2003-01-03 Thread Mark
- Original Message -
From: Fuzzy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 04, 2003 2:48 AM
Subject: how can I filter on subject with sendmail 8.12.6?

 we're having a problem with some cracker using addresses
 harvested from whois and the abuse/www/webmaster with
 domains they get from the database. The mail appears to
 come from us but it cannot as the addresses are oneway
 incoming only.

 the subject is always

 XXX templates

 It claims its advertising for www.liquid2d.com,


Hi Fuzzy, :)

Since you are running sendmail 8.12.6, I strongly recommend using milter. Of
course, you could also do a quick-and-dirty hack with a macro:

HSubject:   $Check_Subject

D{MPat}XXX templates
D{MMsg}Go away, please.

SCheck_Subject

R${MPat} $* $#error $: 553 ${MMsg}

Something like that. :)

- Mark

System Administrator Asarian-host.org

---
If you were supposed to understand it,
we wouldn't call it code. - FedEx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Softer crash a show-interrupter only (please CC me in reply)

2003-01-03 Thread Andreas Ntaflos
On Fri, Jan 03, 2003 at 06:42:42PM -0800, Peter Leftwich wrote:
 [Please CC me in your reply]
 
 Can anything be gathered from the attached sysconsole messages?  Oh, also,
 is there a tcsh command line I can run that will tee messages both to the
 console and to a file, such as `startx 2 startx.out` or something? Thx!!

For that I would use script(1). I think with tcsh it is not possible to
direct stdout and stderr to both a file and the console.

Content-Description: startx.out
 box 1743 ~ # startx
 xauth: (argv):1:  bad display name ...r.com:0 in list command
 xauth: (argv):1:  bad display name ...r.com:0 in add command
 XFree86 Version 4.2.1 / X Window System
 (protocol Version 11, revision 0, vendor release 6600)

I am afraid I don't use either Gnome nor Galeon nor GAIM, so I don't think I
can help you with that, but you should set your IP address and hostname in
/etc/hosts to avoid that xauth errormessage.
As for the rest, you sould probably check your jdk1.3.1 installation
or something like that. This libjavaplugin_oji.so-thingy is something I've
encountered too, but with the native FreeBSD version of Opera. Don't really
have a clue on that. 

HTH (a little)
regards
-- 
Andreas ant Ntaflos   |  A cynic is a man who knows the price of
[EMAIL PROTECTED] |  everything, and the value of nothing.
Vienna, AUSTRIA |   Oscar Wilde

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Mysterious problem with ldconfig and ld

2003-01-03 Thread Justin Hopper
This may be a very simple fix, but so far I've found no solution.  Just
installed expat-1.95.5 in a FreeBSD 4.4 machine.  The install went fine,
and I verified that ldconfig had picked up the library:

host# ldconfig -r | grep expat
73:-lexpat.4 = /usr/local/lib/libexpat.so.4

However, I need to install other packages that require the expat
library, and the configuration fails stating that the expat library
cannot be found.  In fact, just a simple test fails:

host# ld -lexpat
/usr/libexec/elf/ld: cannot find -lexpat

I made sure any previous installations of expat were nuked and all files
deleted.  And the /usr/local/lib/libexpat.so.4 does exist:

higherinnovation# ll /usr/local/lib/libexpat.so.4
-rwxr-xr-x  1 root  wheel  294728 Jan  3 19:44
/usr/local/lib/libexpat.so.4

If ldconfig has an entry for the library and is pointing correctly, what
is the problem?

Maybe I've just been staring at this for too long.

Any help would be appreciated.
-- 
Justin Hopper
[EMAIL PROTECTED]
UNIX Systems Engineer
http://www.spry.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD Stability

2003-01-03 Thread Kevin Stevens

On Thursday, Jan 2, 2003, at 17:17 US/Pacific, Mark wrote:


What is it that makes people rave about the longest uptime? To me, 
this is
just a list of sites whose admins have neglected to perform the 
necessary
upgrade-maintenances, seemingly for almost three years even. To me, 
this is
just a list of potentially vulnerable sites.

Yeah, I've always felt the same way.  If you're making runtime changes 
to your systems without testing that they restart properly, you're 
asking for disaster sooner or later; especially as you stack update 
upon update.  If you're not performing updates at all, you have other 
issues.

What's really significant is the (lowest) number of *unscheduled* 
restarts; unfortunately, that's not easily posted on a scoreboard.

KeS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Mysterious problem with ldconfig and ld

2003-01-03 Thread Matthew Emmerton
 This may be a very simple fix, but so far I've found no solution.  Just
 installed expat-1.95.5 in a FreeBSD 4.4 machine.  The install went fine,
 and I verified that ldconfig had picked up the library:

 host# ldconfig -r | grep expat
 73:-lexpat.4 = /usr/local/lib/libexpat.so.4

 However, I need to install other packages that require the expat
 library, and the configuration fails stating that the expat library
 cannot be found.  In fact, just a simple test fails:

 host# ld -lexpat
 /usr/libexec/elf/ld: cannot find -lexpat

How about ld -L/usr/local/lib -lexpat?  Works fine here:

gabby# ld -L /usr/local/lib -lexpat
/usr/libexec/elf/ld: warning: cannot find entry symbol _start; not setting
start address
/usr/local/lib/libexpat.so: undefined reference to `memmove'
/usr/local/lib/libexpat.so: undefined reference to `memcpy'
/usr/local/lib/libexpat.so: undefined reference to `malloc'
/usr/local/lib/libexpat.so: undefined reference to `realloc'
/usr/local/lib/libexpat.so: undefined reference to `memset'
/usr/local/lib/libexpat.so: undefined reference to `free'
gabby#

If some programs can't find it, it's probably because /usr/local/lib isn't
in their search path.

--
Matt Emmerton


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2003-01-03 Thread Greg 'groggy' Lehey
On Thursday,  2 January 2003 at 16:53:05 +0100, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2003-01-02 16:40:45 +0100:
 # [EMAIL PROTECTED] / 2002-12-30 11:26:22 +1030:
 On Sunday, 29 December 2002 at 18:46:12 +0100, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2002-12-29 10:55:11 +1030:

 ...

 For more information, take a look at the following, which is a message
 I send to systems which appear to be bona fide attempts from broken
 reverse addresses.  Looking at the name of the sender, I'm sure this
 one is not bona fide, and I didn't really send the message.  Most of
 my double bounces come from spammers.

 do you have that script publically available? I'd like to use
 that, too.

 Yes, it's at http://www.lemis.com/B.

 Is that the version you actually use? I believe I found a bug:

 ...

 plus, you stuff the output in $myfile, and get the input from it as
 well. How's that supposed to work? :)

Heh.  You're looking at this section, no doubt:

  cat  $myfile
  server=`egrep -i  $myfile In:  [HE][HE]LO|sed 's/^.*LO *//' `
  if [ $server =  ]; then
server=`egrep -i  $myfile ^Subject.*errors from |sed 's/^Subject.*errors from 
//; s:\[.*::g' `
  fi

Confusing, isn't it?  The thing is, this program is a filter.  The
first line copies stdin to $myfile for future (multiple) readings.  If
it weren't a filter, the cat command would still read from stdin, so
if it were a terminal, it would just appear to hang.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mysterious problem with ldconfig and ld

2003-01-03 Thread Justin Hopper
Hmmm, I guess I just assumed that since ldconfig had cached the absolute
path to the library, ld would not need to know the library path as well,
but for some reason it did.

What ultimately fixed the problem was hardcoding the -L /usr/local/lib
in the configure script, since it refused to pick up that directory any
other way.

Thanks for your help.  As a point of curiosity, I'd still like to know
why ld would still need the -L /usr/local/lib if the full path to the
library is already in the cache?
-- 
Justin Hopper
[EMAIL PROTECTED]
UNIX Systems Engineer
http://www.spry.com

---BeginMessage---
 This may be a very simple fix, but so far I've found no solution.  Just
 installed expat-1.95.5 in a FreeBSD 4.4 machine.  The install went fine,
 and I verified that ldconfig had picked up the library:

 host# ldconfig -r | grep expat
 73:-lexpat.4 = /usr/local/lib/libexpat.so.4

 However, I need to install other packages that require the expat
 library, and the configuration fails stating that the expat library
 cannot be found.  In fact, just a simple test fails:

 host# ld -lexpat
 /usr/libexec/elf/ld: cannot find -lexpat

How about ld -L/usr/local/lib -lexpat?  Works fine here:

gabby# ld -L /usr/local/lib -lexpat
/usr/libexec/elf/ld: warning: cannot find entry symbol _start; not setting
start address
/usr/local/lib/libexpat.so: undefined reference to `memmove'
/usr/local/lib/libexpat.so: undefined reference to `memcpy'
/usr/local/lib/libexpat.so: undefined reference to `malloc'
/usr/local/lib/libexpat.so: undefined reference to `realloc'
/usr/local/lib/libexpat.so: undefined reference to `memset'
/usr/local/lib/libexpat.so: undefined reference to `free'
gabby#

If some programs can't find it, it's probably because /usr/local/lib isn't
in their search path.

--
Matt Emmerton


---End Message---


  1   2   >