securing apache2 on freebsd
Hey, Does someone have a good link, pdf or doc to share about how to secure apache2 (or apache 1.3.X if there is currently no specific version 2 paper) on freebsd, file permissions etc disable modules! How secure is the default installation of apache? Can you tighten it up if you only use static html content, no cgi, no php etc..? I'm new to *NIX OSes! I only need to serve static html pages, so perhaps you could direkt me to other good doc! I have read this one: http://httpd.apache.org/docs-2.0/misc/security_tips.html ( so please don't redirect me there ;-) Thanks a lot!!! Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: once last try
# [EMAIL PROTECTED] / 2002-12-30 13:40:50 -0500: 3) Watch your /var/log/maillog for mail coming in from freebsd.org. If majordomo sends you one of the two messages, it most probably sends the other one, too. Or at least I can't think of a situation when it wouldn't do so. Here is one of the majordomo emails coming back: Dec 30 12:16:01 spike postfix/cleanup[78326]: 6743D2013: message-id=[EMAIL PROTECTED] Dec 30 12:16:01 spike postfix/qmgr[193]: 6743D2013: from=[EMAIL PROTECTED], size=2615, nrcpt=1 (queue active) Dec 30 12:16:01 spike postfix/smtpd[78325]: CFA4E205F: client=localhost[127.0.0.1] Dec 30 12:16:01 spike postfix/cleanup[78326]: CFA4E205F: message-id=[EMAIL PROTECTED] Dec 30 12:16:01 spike postfix/qmgr[193]: CFA4E205F: from=[EMAIL PROTECTED], size=2665, nrcpt=1 (queue active) Why is Postfix getting the messages from localhost? An antivirus or something? Where is the line telling the message was delivered? This is a complete log for a message going through our gateway (Postfix-1.1.11): Jan 2 00:15:29 lilith postfix/smtpd[17850]: connect from vlad.horde.org[199.175.137.148] Jan 2 00:15:29 lilith postfix/smtpd[17850]: BD91669: client=vlad.horde.org[199.175.137.148] Jan 2 00:15:30 lilith postfix/cleanup[17852]: BD91669: message-id=[EMAIL PROTECTED] Jan 2 00:15:30 lilith postfix/smtpd[17850]: disconnect from vlad.horde.org[199.175.137.148] Jan 2 00:15:30 lilith postfix/qmgr[186]: BD91669: from=[EMAIL PROTECTED], size=1636, nrcpt=1 (queue active) Jan 2 00:15:30 lilith postfix/smtp[17853]: BD91669: to=[EMAIL PROTECTED], relay=ishtar.bellavista.cz[10.0.0.25], delay=1, status=sent (250 Ok: queued as 43BD12DD089) As you can see, the snippet you posted is missing (besides the connect/disconnect lines) a line describing delivery of the message. Try grepping that date's maillog for CFA4E205F. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: opinions on my plan
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Darren Sent: Wednesday, January 01, 2003 11:49 AM To: fbsd-questions Subject: opinions on my plan I am building a firewall/NAT box for my father. This is the first firewall that I've built. And, I'm trying to put only the minimum software on it that will help me remote administer it (ie. ssh) and keep it up to date (ie. portupgrade). I figured I'd need a few programs installed for convenience. But, I didn't want to sacrafice security. I thought I might get the advice of those who have gone before me. At 15:16 01/01/2003 -0600, Craig M. Luchtefeld wrote: For mine I did the following: - Minimal install - kern_securelevel_enable=YES in rc.conf - recompiled kernel for ipf and take out extra crap - disabled inetd - disabled sendmail - used ipf and ipmon for firewall/nat My firewall is running on minimal hardware and it's a firewall.. I only want to mess with it once and be done with it. Why not look at picobsd (in ports). It's a script that you run on your FreeBSD box which produces a minimal system on small media (single floppy, bootable CD, CF disc etc), and is ideally suited for running routers, firewalls, etc. You customise it for your exact requirements. It boots up and runs from RAMdisc - no hard disc required. Problems? Reboot and it's clean again.. Obviously the less you have on any externally exposed machine, the less security risk it poses. Since you can use pretty much any crap hardware to run as a router/firewall, find an old P1 (or worse) somewhere, and hide the decent machine you would need for squid internally, and put that, cvsup, etc on that, where it's safer. To upgrade the router, you just re-run the script to create a new floppy, disc image, etc. [any technical questions on picobsd best addressed to freebsd-small mailing list]. Regards Rob -- APH Computers Ltd. Tel: 0161-442 2603 Fax: 0161-443 1162 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: burning audio CD's from mp3's
# [EMAIL PROTECTED] / 2002-12-30 15:29:35 -0300: On Mon, 30 Dec 2002, Roman Neuhauser wrote: I have a few mp3 files I'd like to burn an audio cd from. I use mpg321 for playing mp3's, and burncd to burn cd's, so my first thought was: let's pipe them together. I read the man pages, and tried this: I had good look with mpg123 to convert the mp3 into wav, and then using cdrecord to burn them into a cd. I guess I didn't make myself clear enough. The problem is not converting the mp3's to wav files or burning those. It's that I wanted to do it in one pipe: mpg321 -s- $files | burncd -ends 16 audio - fixate as opposed to: for f in $files; do mpg321 -s $f.raw $f; done burncd -ends 16 audio *.raw fixate I guess this is just not possible. Not that this is of any importance or anything... -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: do we have to wait for PHP 4.3 port?
# [EMAIL PROTECTED] / 2002-12-31 01:35:06 -0500: Brian [EMAIL PROTECTED] writes: BTW I'd love to see sendmail and named removed from the installs and moved to ports/packages only. Lots of people say that, but no one's done the work yet. It's a *huge* amount of work, if you think about it: being able to deliver daily reports is a critical function, Warning: you *must* install an MTA for the system to function properly! Take a look at /usr/ports/mail. :) and while most systems don't need named, other essential resolver tools can't be easily separated from the rest of BIND. other essential resolver tools... what are they? are you talking about dig and other commad line tools, or the library? DJB has released his resolver library into public domain, and it's easily separated from the rest of djbdns. :) Maybe that could help the issue? :) -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
promiscuous mode / strange ethernet packets duplication problem
Hi, We have several FreeBSD 4.7 boxes that put automatically all their interfaces into promiscuous mode during the boot process. What should I do to prevent this from happening ? Our boxes are connected on a D-Link switch. We have noticed a very weird behaviour from a few of these machines, I'll try yo explain it : Our switch has a standard MAC address aging value of 300 seconds. When one MAC address expires on the switch, the next packet targeted to this MAC address is broadcasted on all ports of the switch (because the switch doesn't remember anymore on what port the target MAC address is). That at least seems to be normal. But each time an ethernet packet broadcasted as descrbibed above arrives on the interfaces of our machines, these machines resend the packet to the network, decrementing the TTL value bye one. I mean, these machines are resending packets that are NOT targeted to them - neither the destination MAC address OR the destination IP address of the packet match the interface of the machine. This happends only on machines with interfaces in promiscuous mode AND with net.inet.ip.forwarding = 1. As several boxes have this problem, they resend packets to each others very quickly, generating a flood on the network. This flood only stop when all TTL of packets reach 0 or when the switch finally re-learn on what port is located the interface with the target MAC address. Does anybody have any clue about what this kind of problem may be ? Thanks for your answers Regards Yann -- Yann GROSSEL Email: [EMAIL PROTECTED] HEXANET NOC URL: http://www.hexanet.fr/ Tel: +33 (0)3 26 79 30 05 Fax: +33 (0)3 26 79 30 06 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Shell scripting tutorial
Hi everybody I am looking for shell scripting manual, in html or pdf form, can anyone help To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Shell scripting tutorial
Google.com On Thursday 02 January 2003 13:20, Wayne Swart wrote: Hi everybody I am looking for shell scripting manual, in html or pdf form, can anyone 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
Digiboard Classicboard under FreeBSD
Hi all, Are the Digiboard Classicboard 8 PCI or ISA in any way usable under FreeBSD? Thanks, Per olof To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
/etc/ftpchroot
lo everyone is there a wildcdard type you can specify for /etc/ftpchroot ? this is on bsd 4.7 using ftpd thanks wayne To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Shell scripting tutorial
On Thu, Jan 02, 2003 at 01:20:43PM +0200, Wayne Swart wrote: Hi everybody I am looking for shell scripting manual, in html or pdf form, can anyone help While these links are for bash, rather than shell, if you're using sh (as opposed to csh or one of its variants) most of it will work. http://home.nyc.rr.com/computertaijutsu/shellscripting.html There is also http://www.shelldorado.com HTH -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Faith: When I'm fighting, it's like the whole world goes away. I only know one thing: that I'm gonna win, and they're gonna lose. I like that feeling. Buffy: Well sure, beats that 'dead' feeling you get when they win and you lose. msg13958/pgp0.pgp Description: PGP signature
Re: /etc/ftpchroot
Today Wayne Swart wrote: lo everyone is there a wildcdard type you can specify for /etc/ftpchroot ? joe*, doe[0-9], etc. won't work this is on bsd 4.7 using ftpd This is from ftpd(8): ... 5. If the user name appears in the file /etc/ftpchroot, or the user is a member of a group with a group entry in this file, i.e. one prefixed with `@', the session's root will be changed to the user's login directory by chroot(2) as for an ``anonymous'' or ``ftp'' account (see next item). This facil- ity may also be triggered by enabling the boolean ftp-chroot capability in login.conf(5). However, the user must still supply a password. This feature is intended as a compromise between a fully anonymous account and a fully privileged account. The account should also be set up as for an anony- mous account. ... Create a new group, add users to the group (see pw(8) for details), add `@groupname' to /etc/ftpchroot. -andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 lockfile?
In article info.freebsd.questions/[EMAIL PROTECTED] you wrote: I was working in my X-client lastnight (i use Exceed from my workstation to connect to the X-Client on my FreeBSD server) when i lost my dhcp lease due to a faulty config. Because of this my X session crashed. Now my Xclient refuses to give me a logon screen when i start Exceed. I'm guessing it has a file somewhere saying that i'm still logged in or something. But i can't seem to find this file (or any other reason for this beheavure). Can anyone tell me what is going on and how i can fix this? Sometimes the X server or other X components are still running. In similar circumstances, I use ps axw | grep X and kill any X components that I see. I've tried restarting xdm (killall -HUP xdm) but that didn't help. I've also restarted the entire machine, but that didn't help either. I've just tried to connect using another computer, but that didn't work either. So i'm now thinking of reinstalling XFree86 Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make world because of sendmail
Hy, (from a *NIX newbie) I've been playing a bit around with freebsd! This a thing that happened a few times to me: When I did a make world it fails because of the sendmail configuration files! This happened to me when: 1) I simply had sendmail_enable=YES in rc.conf or 2) when I modified a few sendmail config files, which is the problem/case right NOW!! The sample below is the output after having modified /etc/make.conf by changing these two lines: SENDMAIL_MC=/etc/mail/test.somewhere.com.mc SENDMAIL_SUBMIT_MC=/etc/mail/test.somewhere.com.submit.mc And creating customizing: /etc/mail/test.somewhere.com.cf and /etc/mail/test.somewhere.com.submit.cf This is why it make world I assume, but why? What do I have to do, so that make world succeeds? What to I have to modify? The exact command I used was: make world DESTDIR=/usr/local/jail/ And the output was: (cd /usr/src/etc/sendmail m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 /etc/mail/test.somewhere.com.submit.mc) /etc/mail/test.somewhere.com.submit.cf chmod 444 /etc/mail/test.somewhere.com.submit.cf make: don't know how to make /etc/mail/foo.cf. Stop *** Error code 2 Stop in /usr/src/etc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 When I comment the 2 lines in /etc/make.conf it even fails and the output is: (cd /usr/src/etc/sendmail m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 freebsd.mc) freebsd.cf chmod 444 freebsd.cf make: don't know how to make /etc/mail/foo.cf. Stop *** Error code 2 Stop in /usr/src/etc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 What is the problem? What happens exactly? Many thanks Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
/etc/resolv.conf
Hello ppl, i got a problem with /etc/resolv.conf. On every start up, it gets somehow overwritten with settings i had earlier. I just don't find the script/program which rewrites it. Can somebody please help me ...thanks in advance To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: /etc/resolv.conf
Check out dhclient which uses the dhclient-script to overwrite your resolv.conf under certain (such as the default) conditions. Dw. On Thu, 2 Jan 2003, McClain wrote: Hello ppl, i got a problem with /etc/resolv.conf. On every start up, it gets somehow overwritten with settings i had earlier. I just don't find the script/program which rewrites it. Can somebody please help me ...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: /etc/resolv.conf
# [EMAIL PROTECTED] / 2003-01-02 14:47:57 +: i got a problem with /etc/resolv.conf. On every start up, it gets somehow overwritten with settings i had earlier. I just don't find the script/program which rewrites it. Can somebody please help me DHCP? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: /etc/resolv.conf
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of McClain i got a problem with /etc/resolv.conf. On every start up, it gets somehow overwritten with settings i had earlier. I just don't find the script/program which rewrites it. Can somebody please help me man dhclient-script thanks in advance To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 lockfile?
On Thu, Jan 02, 2003 at 12:34:09PM +0100, Marcel Stangenberger wrote: In article info.freebsd.questions/[EMAIL PROTECTED] you wrote: I was working in my X-client lastnight (i use Exceed from my workstation to connect to the X-Client on my FreeBSD server) when i lost my dhcp lease due to a faulty config. Because of this my X session crashed. Now my Xclient refuses to give me a logon screen when i start Exceed. I'm guessing it has a file somewhere saying that i'm still logged in or something. But i can't seem to find this file (or any other reason for this beheavure). Can anyone tell me what is going on and how i can fix this? Sometimes the X server or other X components are still running. In similar circumstances, I use ps axw | grep X and kill any X components that I see. I've tried restarting xdm (killall -HUP xdm) but that didn't help. I've also restarted the entire machine, but that didn't help either. I've just tried to connect using another computer, but that didn't work either. So i'm now thinking of reinstalling XFree86 Marcel Ugh, hopefully it won't come to that :-( You might have been onto something with your comment about lock files -- XFree86 creates various hidden files in /tmp, for instance I have: .ICE-unix/ .X0-lock .X110unix/ You might try deleting all of those (if you have them) and restarting xdm again. I'm not entirely sure it'll help, but it's worth a try. HTH, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines [EMAIL PROTECTED] | 0xAA775B8B | -- Anon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 lockfile?
Ugh, hopefully it won't come to that :-( You might have been onto something with your comment about lock files -- XFree86 creates various hidden files in /tmp, for instance I have: .ICE-unix/ .X0-lock .X110unix/ You might try deleting all of those (if you have them) and restarting xdm again. I'm not entirely sure it'll help, but it's worth a try. I tried doing that, but it didn't work either. I just uninstalled XFree86 and recompiled and installed it from the ports (thank god for fast computers), but it still isn't working. i don't see what is wrong, a friend of mine just said the only solution is to reinstall the entire machine, but i don't really consider that to be an option. Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: promiscuous mode / strange ethernet packets duplication problem
From: Yann GROSSEL [EMAIL PROTECTED] Hi, We have several FreeBSD 4.7 boxes that put automatically all their interfaces into promiscuous mode during the boot process. What should I do to prevent this from happening ? Our boxes are connected on a D-Link switch. We have noticed a very weird behaviour from a few of these machines, I'll try yo explain it : Our switch has a standard MAC address aging value of 300 seconds. When one MAC address expires on the switch, the next packet targeted to this MAC address is broadcasted on all ports of the switch (because the switch doesn't remember anymore on what port the target MAC address is). That at least seems to be normal. But each time an ethernet packet broadcasted as descrbibed above arrives on the interfaces of our machines, these machines resend the packet to the network, decrementing the TTL value bye one. I mean, these machines are resending packets that are NOT targeted to them - neither the destination MAC address OR the destination IP address of the packet match the interface of the machine. This happends only on machines with interfaces in promiscuous mode AND with net.inet.ip.forwarding = 1. There's your answer. Any machine with forwarding turned on will resend a packet that isn't destin for it. That's by design. It doesn't make much sense to me that you'd have a lot of machines with forwarding turned on. Usually only gateways use this. Honestly, I can't thing of any reason to have forwarding on if your machine only has 1 IP address. As several boxes have this problem, they resend packets to each others very quickly, generating a flood on the network. This flood only stop when all TTL of packets reach 0 or when the switch finally re-learn on what port is located the interface with the target MAC address. Does anybody have any clue about what this kind of problem may be ? Turn forwarding of on all but your gateways. -Bill _ STOP MORE SPAM with 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
Lots of files in a directory
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. It was a surprise to me (but probably not to those on this list) that the file system does not handle that many files in an expeditious manner (I'm being kind here). Is there anything I can do so that the file system works faster with such a large number of files? I'm looking for an increase in the area of 5 to 1. For example, the command rm -rf misc where misc is the directory containing the 250,000 files takes a couple of hours to run. If misc is my current working directory, and I type rm * I get the message that there are too many arguments being passed into rm. Some details: FreeBSD 4.5, dmesg below. Filesystem containing the files: /dev/da0s1f on /usr (ufs, local, with quotas) 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.5-RELEASE-p20 #12: Sat Sep 28 11:03:59 EDT 2002 [snip]:/usr/obj/usr/src/sys/STABLE4FW Timecounter i8254 frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (797.48-MHz 686-class CPU) Origin = GenuineIntel Id = 0x686 Stepping = 6 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC A,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 805224448 (786352K bytes) avail memory = 778473472 (760228K bytes) Preloaded elf kernel kernel at 0xc0468000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: math processor on motherboard npx0: INT 16 interface pcib0: ServerWorks NB6635 3.0LE host to PCI bridge on motherboard pci0: PCI bus on pcib0 pci0: S3 Savage 4 graphics accelerator at 1.0 fxp0: Intel Pro 10/100B/100+ Ethernet port 0x2200-0x223f mem 0xfea0-0xfeaf,0xfeb7f000-0xfeb7 irq 10 at device 2.0 on pci0 fxp0: Ethernet address 00:06:29:1f:27:61 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: ServerWorks IB6566 PCI to ISA bridge at device 15.0 on pci0 isa0: ISA bus on isab0 atapci0: ServerWorks ROSB4 ATA33 controller port 0x700-0x70f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ohci0: OHCI (generic) USB controller mem 0xfeb7e000-0xfeb7efff irq 7 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pcib1: ServerWorks NB6635 3.0LE host to PCI bridge on motherboard pci1: PCI bus on pcib1 ahc0: Adaptec aic7892 Ultra160 SCSI adapter port 0x2300-0x23ff mem 0xe000-0xefff irq 9 at device 3.0 on pci1 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs orm0: Option ROM at iomem 0xc-0xc9fff on isa0 fdc0: direction bit not set fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 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=0x100 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: parallel port not found. IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging limited to 10 packets/entry by default acd0: CDROM CRN-8241B at ata0-master using PIO4 Waiting 15 seconds for SCSI devices to settle pass2 at ahc0 bus 0 target 8 lun 0 pass2: IBM FTlV1 S2 0 Fixed Processor SCSI-2 device pass2: 3.300MB/s transfers da0 at ahc0 bus 0 target 0 lun 0 da0: IBM-PSG DDYS-T18350M M S9AA Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 17357MB (35548320 512 byte sectors: 255H 63S/T 2212C) da1 at ahc0 bus 0 target 1 lun 0 da1: IBM-ESXS ST336605LC!# B243 Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 34715MB (71096640 512 byte sectors: 255H 63S/T 4425C) Mounting root from ufs:/dev/da0s1a To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Lots of files in a directory
# [EMAIL PROTECTED] / 2003-01-02 09:01:27 -0500: 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. It was a surprise to me (but probably not to those on this list) that the file system does not handle that many files in an expeditious manner (I'm being kind here). Is there anything I can do so that the file system works faster with such a large number of files? I'm looking for an increase in the area of 5 to 1. For example, the command rm -rf misc where misc is the directory containing the 250,000 files takes a couple of hours to run. If misc is my current working directory, and I type rm * I get the message that there are too many arguments being passed into rm. Some details: FreeBSD 4.5, dmesg below. Filesystem containing the files: /dev/da0s1f on /usr (ufs, local, with quotas) would this help? (I don't know if this was available in 4.5, look in your /sys/i386/conf/LINT) roman@freepuppy ~ 1003:0 grep -B2 DIRHASH /sys/i386/conf/LINT # Directory hashing improves the speed of operations on very large # directories at the expense of some memory. options UFS_DIRHASH -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
openssl 0.9.6h checksum in ports
Hi, I just did a cvsup and updated the ports collection and wanted to update the openssl. I see the makefile was updated to 0.9.6h, but the checksum isn't. Unless of course the openssl.org got yet another bad file. # make openssl-0.9.6h.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.openssl.org/source/. Receiving openssl-0.9.6h.tar.gz (2178314 bytes): 100% 2178314 bytes transferred in 9.8 seconds (217.15 kBps) === Extracting for openssl-0.9.6h Checksum mismatch for openssl-0.9.6h.tar.gz. Make sure the Makefile and distinfo file (/usr/ports/security/openssl/distinfo) are up to date. If you are absolutely sure you want to override this check, type make NO_CHECKSUM=yes [other args]. *** Error code 1 Stop in /usr/ports/security/openssl. # ls -al total 24 drwxr-xr-x3 root wheel 512 Jan 2 08:01 ./ drwxr-xr-x 310 root wheel 6144 Jan 2 08:01 ../ -rw-rw-r--1 root wheel 6272 Jan 2 08:01 Makefile -rw-rw-r--1 root wheel 1754 Aug 30 02:02 Makefile.ssl -rw-rw-r--1 root wheel63 Jan 2 08:01 distinfo drwxr-xr-x2 root wheel 512 Jan 2 08:01 files/ -rw-rw-r--1 root wheel23 Aug 15 1997 pkg-comment -rw-rw-r--1 root wheel 812 Nov 20 2001 pkg-descr -rw-rw-r--1 root wheel 110 Sep 17 1999 pkg-message -rw-rw-r--1 root wheel 2171 Dec 24 12:55 pkg-plist Is this OK to upgrade openssl like this - since it is one of those packages that is integrated to the core all. -- Hari Bhaskaran To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: promiscuous mode / strange ethernet packets duplication problem
On Thu, 02 Jan 2003 08:56:42 -0500 Bill Moran [EMAIL PROTECTED] wrote: There's your answer. Any machine with forwarding turned on will resend a packet that isn't destin for it. That's by design. It doesn't make much sense to me that you'd have a lot of machines with forwarding turned on. Usually only gateways use this. Honestly, I can't thing of any reason to have forwarding on if your machine only has 1 IP address. As several boxes have this problem, they resend packets to each others very quickly, generating a flood on the network. This flood only stop when all TTL of packets reach 0 or when the switch finally re-learn on what port is located the interface with the target MAC address. Does anybody have any clue about what this kind of problem may be ? Turn forwarding of on all but your gateways. Mhhh. Gateways are designed to forward packets from network to network. If a machine wants to send a packet to a remote network, it will send that packet to the gateway by putting the gateway interface MAC address in the destination field of the ethernet packet. The gateway will know that it must forward the packet because of that. And it will know where to forward the packet by looking to the destination IP address field of the packet. Here the machines are forwarding ethernet packets with a destination MAC address field set to ANOTHER machine of our network. In other words, these packets are NOT targetted to the gateways, neither from their MAC address destination field nor from their IP address destination field. So why are these packets forwarded ? Regards Yann -- Yann GROSSEL Email: [EMAIL PROTECTED] HEXANET NOC URL: http://www.hexanet.fr/ Tel: +33 (0)3 26 79 30 05 Fax: +33 (0)3 26 79 30 06 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: recording audio with SoundBlaster Live/pcm cards: has anyonetried this?
On Wed, 1 Jan 2003, paul beard wrote: Date: Wed, 01 Jan 2003 21:49:04 -0800 From: paul beard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: recording audio with SoundBlaster Live/pcm cards: has anyone tried this? I have been working on recording vinyl LPs to digital files but have run into a problem. It turns out I misread the cryptic runes on the back of the sound card and was actually recording through the mic jack. It worked as far as I could tell -- I got sound -- but I now have audio that sounds suspiciously like mono. So after tracking down the manual for the card (an SB Live! Gamer or Platinum w/o the Live drive), I am now using the line in and running the audio through an stereo receiver. But now nothing registers on the level indicators in gramofile. According to Creative's open source site, audio in and out is supported, but there's supported and proven to work. Anyone have any experience with this or troubleshooting ideas I should be aware of? -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 I do a *lot* of recording with my SBLive! card and FreeBSD. It's all guitar and drum machine through a 4-track, plugged into my sound card. The trick with the line-in (at least on my rig) was that the input volume on that channel was zero by default. I use the 4-track to do a little pre-mix before recording. I found that if I pull up an audio mixer (kmix, since I use KDE) I can bring the level up on line-in just fine. However, I have found that for certain tracks the mic input is better, although I have to bring the input gain down with kmix. Also, if you need to 'clean up' your recordings to get the 'eggs-frying' noise out of the mix (all my vinyl has it :), Audacity has great noise filters and it's in the ports collection. HTH - JB PS: If you want to carry on this discussion and feel it too off-topic, feel free to contact me off-list. # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Lots of files in a directory
From: MikeM [EMAIL PROTECTED] 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. It was a surprise to me (but probably not to those on this list) that the file system does not handle that many files in an expeditious manner (I'm being kind here). Is there anything I can do so that the file system works faster with such a large number of files? I'm looking for an increase in the area of 5 to 1. For example, the command rm -rf misc where misc is the directory containing the 250,000 files takes a couple of hours to run. If misc is my current working directory, and I type rm * I get the message that there are too many arguments being passed into rm. Try the dirhash option in your kernel (as suggested elsewhere). As for commands like rm, you have a few options (as I was recently taught). find(1) appears to handle large numbers of files, thus you can use it as a pipe for just about anything, i.e.: find /path/to/misc -name '*' -print0 | xargs -0 rm (although you don't really need the pipe for rm, but it's an example) I don't know how much of a problem this is for you, but it will work for mv, cp, grep ... just about anything. The quotes around * are important. Also, there is a sysctl (kern.argmax) that you can tweak to increase the length of command line arguments that can be processed, but I don't know how big you'd have to make it to handle 250,000 files! 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
Mount / read-only.
Hi, I've got a FreeBSD 4.7 box with 4 differents partitions: /, /var, /tmp and /home, and the configuration is finish. Is it possible to mount / read-only without troubles ? Thanks for your answers, roland. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: promiscuous mode / strange ethernet packets duplication problem
From: Yann GROSSEL [EMAIL PROTECTED] On Thu, 02 Jan 2003 08:56:42 -0500 Bill Moran [EMAIL PROTECTED] wrote: There's your answer. Any machine with forwarding turned on will resend a packet that isn't destin for it. That's by design. It doesn't make much sense to me that you'd have a lot of machines with forwarding turned on. Usually only gateways use this. Honestly, I can't thing of any reason to have forwarding on if your machine only has 1 IP address. As several boxes have this problem, they resend packets to each others very quickly, generating a flood on the network. This flood only stop when all TTL of packets reach 0 or when the switch finally re-learn on what port is located the interface with the target MAC address. Does anybody have any clue about what this kind of problem may be ? Turn forwarding of on all but your gateways. Mhhh. Gateways are designed to forward packets from network to network. If a machine wants to send a packet to a remote network, it will send that packet to the gateway by putting the gateway interface MAC address in the destination field of the ethernet packet. The gateway will know that it must forward the packet because of that. And it will know where to forward the packet by looking to the destination IP address field of the packet. Here the machines are forwarding ethernet packets with a destination MAC address field set to ANOTHER machine of our network. In other words, these packets are NOT targetted to the gateways, neither from their MAC address destination field nor from their IP address destination field. So why are these packets forwarded ? Well, this is getting into internals that are a little beyond me, but I would say that it's because forwarding occurs at the IP level. You seem to be confusing the behaviour your expecting with a bridge, which forwards at the MAC level. I'd bet the kernel logic that handles forwarding knows nothing about MAC addresses (based on the network stack model) and thus can't make decisions based on them. IP forwarding would have nothing to do with MAC addresses, if it did, how could you forward across a PPP or serial link (or any other media that doesn't have a MAC addy)? Is there a reason that forwarding should be on for these machines? -Bill _ 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
Problem with AMD AM79C978 (PCNet32/Home - HomeHPNA) and external PHY
I have a system with an onboard ethernet controller, the above mentioned PCNet32/Home device. Instead of using the two onboard PHY's, there is an external 10/100 PHY. Both are detected by the kernel, but in the wrong order. As such, the pcn device fails because it can't find any MII PHY's, and a few devices later, finds ukphy0 Here is the dmesg output: [EMAIL PROTECTED]:/export3/src/sys/compile/xterminal Timecounter i8254 frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (267.28-MHz 586-class CPU) Origin = AuthenticAMD Id = 0x58c Stepping = 12 Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX AMD Features=0x8800SYSCALL,3DNow! real memory = 31457280 (30720K bytes) avail memory = 27189248 (26552K bytes) Preloaded elf kernel kernel at 0xc0383000. K6-family MTRR support enabled (2 registers) md0: Malloc disk Using $PIR table, 7 entries at 0xc00fa040 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib1: PCI to PCI bridge (vendor=1106 device=8501) at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: Trident model 8420 VGA-compatible display device at 0.0 irq 10 pci0: unknown card (vendor=0x11c1, dev=0x0441) at 4.0 irq 7 pcn0: AMD PCnet/Home HomePNA port 0x1c00-0x1c1f mem 0x4120-0x4120001f irq 9 at device 5.0 on pci0 pcn0: Ethernet address: 00:01:fa:ff:ac:57 pcn0: MII without any PHY! device_probe_and_attach: pcn0 attach returned 6 isab0: VIA 82C686 PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 82C686 ATA66 controller port 0x1c60-0x1c6f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: VIA 83C572 USB controller port 0x1c20-0x1c3f irq 11 at device 7.2 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0x1c40-0x1c5f irq 11 at device 7.3 on pci0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered aue0: LINKSYS Inc. LINKSYS USB Adapter, rev 1.10/1.01, addr 2 aue0: Ethernet address: 00:04:5a:95:47:aa miibus0: MII bus on aue0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: unknown card (vendor=0x1106, dev=0x3057) at 7.4 pcm0: VIA VT82C686A port 0x1c7c-0x1c7f,0x1c78-0x1c7b,0x1400-0x14ff irq 10 at device 7.5 on pci0 chip1: VIA 82C686 AC97 Modem port 0x1800-0x18ff irq 10 at device 7.6 on pci0 orm0: Option ROMs at iomem 0xc-0xc,0xe9000-0xebfff,0xec000-0xe 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 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 ad0: 30MB SanDisk SDP3B-32 [490/4/32] at ata0-master PIO1 ad2: 342MB IBM-DMDM-10340 [695/16/63] at ata1-master PIO1 Mounting root from ufs:/dev/ad2s1a And here is my kernel config: machine i386 cpu I586_CPU cpu I686_CPU ident xterminal maxusers32 #makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols options MATH_EMULATE#Support for x87 emulation options INET#InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT#NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options UCONSOLE#Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style
Re: promiscuous mode / strange ethernet packets duplication problem
On Thu, 02 Jan 2003 09:42:13 -0500 Bill Moran [EMAIL PROTECTED] wrote: Gateways are designed to forward packets from network to network. If a machine wants to send a packet to a remote network, it will send that packet to the gateway by putting the gateway interface MAC address in the destination field of the ethernet packet. The gateway will know that it must forward the packet because of that. And it will know where to forward the packet by looking to the destination IP address field of the packet. Here the machines are forwarding ethernet packets with a destination MAC address field set to ANOTHER machine of our network. In other words, these packets are NOT targetted to the gateways, neither from their MAC address destination field nor from their IP address destination field. So why are these packets forwarded ? Well, this is getting into internals that are a little beyond me, but I would say that it's because forwarding occurs at the IP level. You seem to be confusing the behaviour your expecting with a bridge, which forwards at the MAC level. I'd bet the kernel logic that handles forwarding knows nothing about MAC addresses (based on the network stack model) and thus can't make decisions based on them. I think it can't be so. If a gateway's kernel doesn't look at the destination MAC address of ethernet packets before forwarding them, a gateway on a network with hubs (and not switches) will try to forward ALL packets passing on the wire. IP forwarding would have nothing to do with MAC addresses, if it did, how could you forward across a PPP or serial link (or any other media that doesn't have a MAC addy)? Well, I think in this case the packets to be forwarded are already inside the machine that have got the PPP or serial link when the forwarding occurs. So the kernel knows how to send them through the link, there is no MAC addresses involved. Is there a reason that forwarding should be on for these machines? Some of the machines were not gateways, so we turned of forwading off on them after we noticed the problem. Doing so reduced the amount of flood. However other machines are true gateways to other networks so we can't turn forwading off on these. Regards Yann PS: someone is posting right now in the [EMAIL PROTECTED] ML a problem that look very much like mine (Routing and Zebra) -- Yann GROSSEL Email: [EMAIL PROTECTED] HEXANET NOC URL: http://www.hexanet.fr/ Tel: +33 (0)3 26 79 30 05 Fax: +33 (0)3 26 79 30 06 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mount / read-only.
On Thu, Jan 02, 2003 at 03:47:35PM +0100, roland Mathieu wrote: Hi, I've got a FreeBSD 4.7 box with 4 differents partitions: /, /var, /tmp and /home, and the configuration is finish. Is it possible to mount / read-only without troubles ? You'll find that you get errors as various programs try to change permissions on files in /dev. Various other things may arbitrarily fail. So, no, you can't mount / read only *without* trouble. That's not to say it's completely impossible. This is something that various people have attempted in the past with varying degrees of success. I'm sure Google will turn up all manner of interesting accounts of what they did. 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
Re: What are the SMTP rules for sending mail to FreeBSD
# [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: --- B.orig Thu Jan 2 16:25:28 2003 +++ B Thu Jan 2 16:37:08 2003 @@ -59,7 +59,7 @@ postmaster=postmaster@$domain fi if [ $hostmaster = ]; then - hostmaster=`nslookup -q=soa wantech.de|grep mail addr|sed 's:.*= ::; s:\.:@:'` + hostmaster=`nslookup -q=soa $domain|grep mail addr|sed 's:.*= ::; s:\.:@:'` fi if [ $hostmaster = ]; then hostmaster=hostmaster@$domain -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mount / read-only.
On Thu, 2 Jan 2003, roland Mathieu wrote: Hi, I've got a FreeBSD 4.7 box with 4 differents partitions: /, /var, /tmp and /home, and the configuration is finish. Is it possible to mount / read-only without troubles ? No. and yes :) You can, but you can't without problems' Some of the problems you'll get: * You can't change passwords. * You can't update or replace binaries in case of a bug/security problem * You can't add/remove users/groups * You can't change the configuration if you need to. Fer Thanks for your answers, roland. 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: Portupgrade vs. multiple versions of packages
On Wed, Jan 01, 2003 at 03:01:43PM +1030, Brian Astill wrote: That upgrade is a doozie. Been there, done that! rm -fr qt2 is (I think) the correct thing to do (someone else on the list will correct me). Then port kde3. qt2 and qt3 will NOT live comfortably together. So delete qt2 and all the apps dependent on it (that includes kde2 and its apps). The kde3 port will look for the version of qt it needs, fail to find it, and fetch it for you. Ain't that nice? Do get confirmation of that rm command I listed, though. Brian, I think my problem was believing that portupgrade was smarter than it actually is... it's certainly way smarter than me though :-) Looks like my mistake was not completely purging the old qt2/kde2 before I started upgrading things. I'll blow away the Frankenstein's Monster install I have now and try again from a clean start. I'd still love to know if that extra +CONTENTS file is good for anything though... Thanks, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines [EMAIL PROTECTED] | 0xAA775B8B | -- Anon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 lockfile?
On Thu, 2 Jan 2003, Marcel Stangenberger wrote: Date: Thu, 2 Jan 2003 15:29:58 +0100 (CET) From: Marcel Stangenberger [EMAIL PROTECTED] To: Brent J. Ermlick [EMAIL PROTECTED] Cc: Scott Mitchell [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: XFree86 lockfile? On Thu, 2 Jan 2003, Brent J. Ermlick wrote: On Thu, Jan 02, 2003 at 02:52:22PM +0100, Marcel Stangenberger wrote: . . . i don't see what is wrong, a friend of mine just said the only solution is to reinstall the entire machine, but i don't really consider that to be an option. That doesn't make sense. What errors do you see in /var/log/XFree86.0.log? -- 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 4.7-RELEASE-p2 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: Wed Jan 1 10:02:54 2003 (EE) Unable to locate/open config file (EE) Error from xf86HandleConfigFile() Looks to me like XFree86 can't find its configuration file, which by default is in /etc/X11/XF86Config. This file needs to be generated by a configuration program. You can either do this in /stand/sysinstall or by running 'xf86config' manually, which is my preferred method. Re-installing the box is certainly not necessary. I mean, this isn't Windows ;) # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 lockfile?
On Thu, 2 Jan 2003, Brent J. Ermlick wrote: On Thu, Jan 02, 2003 at 03:29:58PM +0100, Marcel Stangenberger wrote: . . . (==) Log file: /var/log/XFree86.0.log, Time: Wed Jan 1 10:02:54 2003 (EE) Unable to locate/open config file (EE) Error from xf86HandleConfigFile() Ah -- I think this is important. You need to reconfigure X. XFree86 -configure I just did so and reconfigured X, i placed the file in /etc/ en restarted xdm. It now says the following in XFree86.0.log -- 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 4.7-RELEASE-p2 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: Thu Jan 2 16:02:37 2003 (++) Using config file: /root/XF86Config.new (==) ServerLayout XFree86 Configured (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0 (==) Keyboard: CustomKeycode disabled (**) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Sp eedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ (**) RgbPath set to /usr/X11R6/lib/X11/rgb (**) ModulePath set to /usr/X11R6/lib/modules (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (II) Module ABI versions: XFree86 ANSI C Emulation: 0.1 XFree86 Video Driver: 0.5 XFree86 XInput driver : 0.3 XFree86 Server Extension : 0.1 XFree86 Font Renderer : 0.3 (II) Loader running on freebsd (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=The XFree86 Project compiled for 4.2.1, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.3 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=The XFree86 Project compiled for 4.2.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 1039,0635 card , rev 11 class 06,00,00 hdr 80 (II) PCI: 00:01:0: chip 1039,0001 card , rev 00 class 06,04,00 hdr 01 (II) PCI: 00:02:0: chip 1039,0008 card , rev 00 class 06,01,00 hdr 80 (II) PCI: 00:02:5: chip 1039,5513 card 1039,5513 rev d0 class 01,01,80 hdr 80 (II) PCI: 00:09:0: chip 5333,8a01 card 5333,8a01 rev 01 class 03,00,00 hdr 00 (II) PCI: 00:0d:0: chip 10b7,9004 card 10b7,9004 rev 04 class 02,00,00 hdr 00 (II) PCI: 00:0f:0: chip 1000,0001 card 1000,1000 rev 23 class 01,00,00 hdr 00 (II) PCI: End of PCI scan (II) LoadModule: scanpci (II) Loading /usr/X11R6/lib/modules/libscanpci.a (II) Module scanpci: vendor=The XFree86 Project compiled for 4.2.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) UnloadModule: scanpci (II) Unloading /usr/X11R6/lib/modules/libscanpci.a (II) Host-to-PCI bridge: (II) PCI-to-ISA bridge: (II) PCI-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x02 (VGA_EN is cleared) (II) Bus 1 I/O range: (II) Bus 1 non-prefetchable memory range: [0] -1 0xd7e0 - 0xd7ef (0x10) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0xd7c0 - 0xd7cf (0x10) MX[B] (II) Bus -1: bridge is at (0:2:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus -1 I/O range: (II) Bus -1 non-prefetchable memory range: (II) Bus -1 prefetchable memory range: (--) PCI:*(0:9:0) S3 ViRGE/DX or /GX rev 1, Mem @ 0xdc00/26, BIOS @ 0xdbff00 00/16 (II) Addressable bus resource ranges are [0] -1 0x - 0x (0x0) MX[B] [1] -1 0x - 0x (0x1) IX[B] (II) OS-reported resource ranges: [0] -1 0xffe0 - 0x (0x20) MX[B](B) [1] -1 0x0010 - 0x3fff (0x3ff0) MX[B]E(B) [2] -1 0x000f - 0x000f (0x1) MX[B] [3] -1 0x000c - 0x000e (0x3) MX[B]
Procmail and Exim - Freebsd
Trying to get Fetmail - Procmail - Exim working. From the Exim site for Version 4, it suggests # transport procmail_pipe: driver = pipe command = /usr/local/bin/procmail -d $local_part return_path_add delivery_date_add envelope_to_add check_string = From escape_string = From user = $local_part group = mail # router procmail: driver = accept check_local_user transport = procmail_pipe In the exim config file, however, when I start Exim, I get exim 2003-01-02 15:35:27 Exim configuration error in line 228: transport procmail: cannot find transport driver accept Line 228 of the config file is the driver = accept line. Anyone got exim and procmail working together, and would care to share that part of the file with the list. Thanks in advance. Ian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 lockfile?
On Thu, Jan 02, 2003 at 04:18:48PM +0100, Marcel Stangenberger wrote: . . . so i assume X is working on the server now (i don't have a monitor on the server) but i'm not getting a login prompt on my Exceed :( the xdm.log is empty so there are no errors reported by xdm. xdm is started properly from /etc/ttys i also rechecked the xdm config files (Xaccess, Xsession, xdm-config and others) and they are still correct. Whoops. I thought that the X server and the client were on the same machine. I apologize. The X server is the machine with the monitor. If there are two different machines, then it looks as if the problem is with the Exceed. That is where you need to look for locks and protection issues. Make sure that you have run the xhost command (or the equivalent on the Exceed) so that the Exceed allows clients running on the FreeBSD machine (such as xdm and xterm) to display on the screen of the Exceed. -- Brent J. ErmlickVeritas liberabit uos [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Saving a partially rotting IBM DTLA-307030 Harddisk
Hello list, I've got the following problem which I hope someone could help me with: One of my boxes running FreeBSD 4.7-STABLE has an IBM DTLA-307030 (30GB) which worked very well for more than 2 years now, but I think it starts rotting away according the following: * The security output shows something like this every day since Dec 11: ---8-- Checking setuid files and devices: find: /usr/home/user1/path/to/file1: Input/Output error find: /usr/home/user1/path/to/file2: Input/Output error . . [snip, lots of similar blahs] . . find: /usr/home/user1/path/to/file17: Input/Output error ---8-- So I know that it is just a specific area on the disk that seems to be done for, which corresponds to the following console messages: * ad4: READ command timeout tag=0 serv=0 - resetting ata2: resetting devices .. done ad4: READ command timeout tag=0 serv=0 - resetting ata2: resetting devices .. done ad4: READ command timeout tag=0 serv=0 - resetting ata2: resetting devices .. done swap_pager: indefinite wait buffer: device: #ad/0x20021, blkno: 1656, size: 4096 ad4: READ command timeout tag=0 serv=0 - resetting ad4: trying fallback to PIO mode ata2: resetting devices .. done ad4s1h: hard error reading fsbn 62679087 of 29163648-29163679 (ad4s1 bn 62679087; cn 3901 tn 151 sn 9) status=59 error=40 ad4s1h: hard error reading fsbn 62679087 of 29163648-29163679 (ad4s1 bn 62679087; cn 3901 tn 151 sn 9) status=59 error=40 * trying to `rm -rf` the affected directories and files results in the same messages: rm: /usr/home/user1/path/to/file1: Input/Output error rm: /usr/home/user1/path/to/file2: Input/Output error ad4s1h: hard error reading fsbn 62679087 of 29163648-29163679 (ad4s1 bn 62679087; cn 3901 tn 151 sn 9) status=59 error=40 ad4s1h: hard error reading fsbn 62679087 of 29163648-29163679 (ad4s1 bn 62679087; cn 3901 tn 151 sn 9) status=59 error=40 As can be seen, the data in that affected area is virtually lost, but luckily not very important. So my question is, what can I do to get the disk fully operational again? Some time ago I read that writing binary zeroes there could be used as some kind of low-level-format to get rid of the bad sectors. If this would be of any use, how would I accomplish to dd /dev/zero to just that specific part of the disk, leaving the rest intact? Is that possible at all? Or are there any other ways to solve that problem, apart from buying a new disk or low-level-formating the whole thing? I would really appreciate any help or hints on that. Kind 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
Re: opinions on my plan
I'm open to all suggestions, links or any other comments. This is new territory for me. how-to on building a freebsd firewall with ipfilter: http://www.schlacter.net/public/FreeBSD-STABLE_and_IPFILTER.html NAT with ipfilter: http://www.isber.ucsb.edu/~randall/wireless/ipnat.html ipfilter only: http://www.isber.ucsb.edu/~randall/ipfilter/ -- :// 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
kern.maxfiles guidelines
Hello, We have a 4.4-RELEASE server in production running primarily MySQL which, under extremely heavy loads, puts a lot of /kernel: file: table is full errors into the syslog. Newsgroup posts all seem to prescribe 'sysctl -w kern.maxfiles=[big number]', but I haven't seen any guidelines for the value of 'big'. Assume I get excited and do 'sysctl -w kern.maxfiles=99'. What will happen as I open more and more files? Is there a formula for calculating good values of 'big' (eg, MB RAM * SQL_MAX_CONNECTIONS * Pi)? Or do I just keep increasing it until it's 'big enough'? Increasing the value (which I've done) indeed fixes the problem, but I've yet to see a rationale for the stated values people are using and there *must* be a reason for the defaults (anybody know what it is?). Thanks, Michael Wimpee Network Technician Natural Bodycare [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ata fallback to PIO mode on dual processor AMD systems
On Tue, Dec 31, 2002 at 03:57:16PM -0500, Bruce Campbell wrote: I am seeing a problem with ata disks on 4 new systems, which I believe is either a bug in the ata driver, or a problem with the onboard IDE controller, or something else. Systems are as follows: Motherboard: ASUS A7M266-D CPUs : 2 x 2000+ AMD MP Memory : 2 x 512MB Crucial part: CT6472Y265 Disks (all UDMA100): Master Slave System 1: WDC WD400BB WDC WD1000BB System 2: WDC WD400BB WDC WD1000BB System 3: WDC WD400BB WDC WD800BB System 4: WDC WD400BB Maxtor 98196H8 Kernel : 4.7-RELEASE, custom kernel (compared to GENERIC): commented out: cpu I386_CPU cpu I486_CPU enabled options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O I am running a test with dbench (/usr/ports/benchmarks/dbench) with a script which runs: dbench 1 sleep for 5 minutes dbench 2 sleep for 5 minutes dbench 3 ... to simulate 1,2,3... clients. The following has happened on systems 2,3 and 4, after about 15 hours of running the test: Dec 30 23:26:59 ecserv13 /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting Dec 30 23:26:59 ecserv13 /kernel: ata0: resetting devices .. done Dec 30 23:26:59 ecserv13 /kernel: ad0: WRITE command timeout tag=0 serv=0 resetting Dec 30 23:27:00 ecserv13 /kernel: ata0: resetting devices .. done Dec 30 23:27:00 ecserv13 /kernel: ad0: WRITE command timeout tag=0 serv=0 resetting Dec 30 23:27:00 ecserv13 /kernel: ata0: resetting devices .. done Dec 30 23:27:00 ecserv13 /kernel: ad0: WRITE command timeout tag=0 serv=0 resetting Dec 30 23:27:00 ecserv13 /kernel: ad0: timeout waiting for cmd=ef s=d0 e=00 Dec 30 23:27:00 ecserv13 /kernel: ad0: trying fallback to PIO mode Dec 30 23:27:00 ecserv13 /kernel: ata0: resetting devices .. done The test continues to run with the ata controller in PIO mode, with slower performance, and higher load average. Once the master drops to PIO, attempts to access the slave then cause it to drop to PIO. If I run: atacontrol mode 0 UDMA100 UDMA100 attempts to access either drive result in a delay until the controller drops to PIO, and then operations resume. A soft reboot and things work in UDMA mode again. Also tried UDMA33 and UDMA66 with no change. I also tried atacontrol reinit 0 with no help. Theories when I search the web for fallback to PIO mode include: - bad disks - something to do with thermal recalibration I don't believe the problems are bad disks, as the slave drops to PIO after the master does, and I can't get in back to UDMA, other than by soft reboot. Plus I see the problem on 6 of 8 disks. The problem is very repeatable. Can anyone offer any ideas, or suggest investigative steps ? I have a system in PIO mode right now. Thanks, -- Bruce Campbell Engineering Computing CPH-2374B University of Waterloo (519)888-4567 ext 5889 This mail sent through www.mywaterloo.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message end of the original message Same problem here, but slightly different configuration: # atacontrol list ATA channel 0: Master: ad0 IC35L040AVER07-0/ER4OA44A ATA/ATAPI rev 5 Slave: no device present ATA channel 1: Master: acd0 LG CD-ROM CRD-8521B/1.03 ATA/ATAPI rev 0 Slave: no device present ATA channel 2: Master: ad4 IC35L040AVER07-0/ER4OA44A ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 IC35L040AVER07-0/ER4OA44A ATA/ATAPI rev 5 Slave: no device present ad4 and ad6 are attached to a Promise FastTrak 100 TX2 ATA RAID controller. # atacontrol mode 0 Master = UDMA100 Slave = ??? # atacontrol mode 1 Master = PIO4 Slave = ??? # atacontrol mode 2 Master = UDMA100 Slave = ??? # atacontrol mode 3 Master = PIO4 Slave = ??? ad6 falls back to PIO mode on heavy I/O activity, i.e. when the system does a level 0 file systems dump from the RAID 1 array (ad4,ad6) to the backup disk ad0. Rebooting and rebuilding the array with the Promise BIOS utility temporarily solve the problem. The system may be up and running for 1-4 weeks doing a level 0 dump every morning at 5:30am and then one day the drive ad6 falls back to PIO mode again (little before the completion of fs dump). Do the hard drives you are using support the ATA tagged queuing? And if so, do you have TQ enbled? Francesco Casadei -- You can download my public key from http://digilander.libero.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B msg13998/pgp0.pgp Description: PGP signature
Followup to fallback to PIO mode on dual processor AMD systems
By the way, I've determined our removable IDE disk trays are manufactured by SNT (http://www.snt.com.tw/metal.htm) and are part number SNT-129. It looks like these are the same ones startech sells. I've placed my hardware configuration here: http://www.freebsd.uwaterloo.ca/twiki/bin/view/Freebsd/DualAmd2000 Out of my 4 AMD systems, my test results are now: - 1 refuses to die - 1 panic'ed and died, after not being able to drop to PIO. Many fsck errors upon reboot. The console error was ata0: resetting devices .. ad0: DMA limited to UDMA33, non-ATA66 cable or device - 2 dropped to PIO after about 15 hours of tests, and ran fine (but slowly) with PIO As for the the 2 that dropped to PIO and worked, I rebooted and manually ran atacontrol mode 0 UDMA33 UDMA33 and restarted the tests. No problems in 36 hours so far. My 4 Intel systems (which only have a UDMA33 controller on the motherboard) have also been running 48 hours no problems. The test I run is... dbench 1 sleep 300 dbench 2 sleep 300 dbench 3 ... up to about dbench 80 and then I kill and restart. With UDMA100, dbench 10 gave 43 MB/Sec With UDMA33, dbench 10 gives 37 MB/Sec I still plan to: - try UDMA100 with the drives directly attached (ie. no removable tray) - maybe try a non onboard IDE controller - shuffle the disks to see if the problems follow the disks or not At present, I don't suspect bad media because the error message is WRITE command timeout tag=0 serv=0 which doesn't suggest a specific sector/track etc, and running with UDMA33 instead of UDMA100 makes the problem appear to vanish. This mail sent through www.mywaterloo.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
port question
is there a command i can use to see what packages will be installed before I install something from the ports? using freebsd 4.6.2 __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Followup to 'fallback to PIO mode' on dual processor AMD systems
Bruce Campbell said: - try UDMA100 with the drives directly attached (ie. no removable tray) - maybe try a non onboard IDE controller yes I would reccomend a PCI ide controller, such as the Promise ATA/100, or Promise ATA/66. Also be sure your IDE cables are 18 and not 24 or 32 some people like to go crazy with overly long IDE cables. Sometimes for me longer then 18 and I get CRC errors(but nothing fatal). - shuffle the disks to see if the problems follow the disks or not At present, I don't suspect bad media because the error message is WRITE command timeout tag=0 serv=0 which doesn't suggest a specific sector/track etc, and running with UDMA33 instead of UDMA100 makes the problem appear to vanish. I read your burn in procedures, a couple additions to throw in I'd reccomend: CPUBurn: http://users.ev1.net/~redelm/ I've only tried it on linux but the page lists *BSD too. This package also includes a memory tester, I usually run 1 CPUburn process per CPU and as many memory testers as I have RAM. If you try to load too many the newest process will segfault(since it can't allocate memory), harmless. Run this for at least 24 hours. memtest86: http://www.memtest86.com/ when you boot it, go to the options screen and turn on all tests, and run it through once or twice, with your system I'd expect 1 pass of all tests to be done in about 20 hours. most of my servers that run IDE have DMA/33 controllers, the few that have faster ones all use Promise ATA/100 cards or 3ware 6800 series raid cards. I haven't trusted recent AMD/VIA/Intel IDE chips for a while. nate To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Lots of files in a directory
On 1/2/03 at 8:58 AM Mikko Työläjärvi wrote: |On Thu, 2 Jan 2003, MikeM wrote: | | On 1/2/03 at 3:13 PM Roman Neuhauser wrote: | | |# [EMAIL PROTECTED] / 2003-01-02 09:01:27 -0500: | | 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. | |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. | | I already have UFS_DIRHASH specified in my kernel config file. :-( | |Maybe you can tweak some sysctls: | | atlas% sysctl -a | grep dirhash | vfs.ufs.dirhash_minsize: 2560 | vfs.ufs.dirhash_maxmem: 2097152 | vfs.ufs.dirhash_mem: 795239 | vfs.ufs.dirhash_docheck: 0 | |Try playing with with vfs.ufs.dirhash_maxmem. I suppose it has to |be at least as large as the size of the Directory From Hell. Thanks, I'll give them a try. |... |It would probably be better to patch the dang server to use a |multi-level directory structure instead. That thought has crossed my mind. Many thanks for the assist. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: port question
On Thu, 2 Jan 2003, bryan cassidy wrote: Date: Thu, 2 Jan 2003 09:06:16 -0800 (PST) From: bryan cassidy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: port question is there a command i can use to see what packages will be installed before I install something from the ports? using freebsd 4.6.2 make all-depends-list In the ports dir in question. HTH - JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
OT: multitrack recording [was: recording audio with SoundBlaster Live...]
On Thu, Jan 02, 2003 at 09:06:14AM -0500, John Bleichert wrote: I do a *lot* of recording with my SBLive! card and FreeBSD. It's all guitar and drum machine through a 4-track, plugged into my sound card. The trick with the line-in (at least on my rig) was that the input volume on that channel was zero by default. I use the 4-track to do a little pre-mix before recording. I found that if I pull up an audio mixer (kmix, since I use KDE) I can bring the level up on line-in just fine. However, I have found that for certain tracks the mic input is better, although I have to bring the input gain down with kmix. Also, if you need to 'clean up' your recordings to get the 'eggs-frying' noise out of the mix (all my vinyl has it :), Audacity has great noise filters and it's in the ports collection. HTH - JB PS: If you want to carry on this discussion and feel it too off-topic, feel free to contact me off-list. # John Bleichert This is off-topic from the original post, but since you mention that you do a lot recording to your SBLive I though I would ask. Is there any good multitrack recording software for FreeBSD. I recently made a little preamp so that I could plug my guitar into the sound card and am looking for multitrack recording software. I have waded through the ports and come across a few possibilities, but each leaves something to be desired. I found ecasound, audacity, and snd. Audacity is just what I am looking for, but v1 doesn't support full duplex on *nix. Apparently v1.1 does, but it is not released as stable yet. ecasound looks powerful, but it would be nice if it had a graphical interface - well, there is one, but it's not very intuitive and the documentation is nonexistent, apparently. snd had an interesting interface, but I can't seem to tell if it was meant to do what I want, or at least I can't coax it to. I just want to make multitrack guitar recordings i.e. record one track and record the next while listening to the first, etc, etcany ideas? Thanks, Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: openssl 0.9.6h checksum in ports
Funny the ftp directory in ftp.openssl.org/source contains two sets of files. The checksum in ports seem to match with the BOGUS one. -rw-rw-r-- 1 openssl openssl 691 Dec 9 16:41 openssl-0.9.6h.BOGUS-0.9.6h.patch -rw-rw-r-- 1 openssl openssl 2178290 Dec 5 23:25 openssl-0.9.6h.BOGUS.tar.gz -rw-rw-r-- 1 openssl openssl 460 Dec 5 23:25 openssl-0.9.6h.BOGUS.tar.gz.asc -rw-rw-r-- 1 openssl openssl33 Dec 5 23:25 openssl-0.9.6h.BOGUS.tar.gz.md5 -rw-rw-r-- 2 openssl openssl 2178314 Dec 8 20:43 openssl-0.9.6h.tar.gz -rw-rw-r-- 1 openssl openssl 460 Dec 8 20:43 openssl-0.9.6h.tar.gz.asc -rw-rw-r-- 1 openssl openssl33 Dec 8 20:43 openssl-0.9.6h.tar.gz.md5 On Thu, Jan 02, 2003 at 10:35:59AM -0500, Matt Smith wrote: Confirmed -- Hari is not alone. On Thu, 2003-01-02 at 09:13, Hari Bhaskaran wrote: Hi, I just did a cvsup and updated the ports collection and wanted to update the openssl. I see the makefile was updated to 0.9.6h, but the checksum isn't. Unless of course the openssl.org got yet another bad file. # make openssl-0.9.6h.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.openssl.org/source/. Receiving openssl-0.9.6h.tar.gz (2178314 bytes): 100% 2178314 bytes transferred in 9.8 seconds (217.15 kBps) === Extracting for openssl-0.9.6h Checksum mismatch for openssl-0.9.6h.tar.gz. Make sure the Makefile and distinfo file (/usr/ports/security/openssl/distinfo) are up to date. If you are absolutely sure you want to override this check, type make NO_CHECKSUM=yes [other args]. *** Error code 1 Stop in /usr/ports/security/openssl. # ls -al total 24 drwxr-xr-x3 root wheel 512 Jan 2 08:01 ./ drwxr-xr-x 310 root wheel 6144 Jan 2 08:01 ../ -rw-rw-r--1 root wheel 6272 Jan 2 08:01 Makefile -rw-rw-r--1 root wheel 1754 Aug 30 02:02 Makefile.ssl -rw-rw-r--1 root wheel63 Jan 2 08:01 distinfo drwxr-xr-x2 root wheel 512 Jan 2 08:01 files/ -rw-rw-r--1 root wheel23 Aug 15 1997 pkg-comment -rw-rw-r--1 root wheel 812 Nov 20 2001 pkg-descr -rw-rw-r--1 root wheel 110 Sep 17 1999 pkg-message -rw-rw-r--1 root wheel 2171 Dec 24 12:55 pkg-plist Is this OK to upgrade openssl like this - since it is one of those packages that is integrated to the core all. -- Hari Bhaskaran To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Matt Smith [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: port question
On Thu, Jan 02, 2003 at 09:06:16AM -0800, bryan cassidy wrote: is there a command i can use to see what packages will be installed before I install something from the ports? using freebsd 4.6.2 I suppose you could use # make pretty-print-run-depends-list and/or # make pretty-print-build-depends-list in the specific ports directory. See man ports(7). -- 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
Problems installing FreeBSD
I've got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message Missing Operating System. --- [Quipo ISP - Questa E-mail e' stata controllata dal programma Declude Virus] [Quipo ISP - This E-mail was scanned for viruses by Declude Virus] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems installing FreeBSD
I've got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message Missing Operating System. sounds like the partition is not bootable start /stand/sysinstall goto configuration and start fdisk place the bar on the freebsd partition and press s after that press W and exit sysinstall. to get into it simply start the machine from the BSD cdrom Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems installing FreeBSD
Hello Bruno, Thursday, January 2, 2003, 6:48:13 PM, you wrote: I've got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message Missing Operating System. When creating the filesystem and partitions. Did u marked the slice as bootable? If so.. did u also installed a MBR? --- [Quipo ISP - Questa E-mail e' stata controllata dal programma Declude Virus] [Quipo ISP - This E-mail was scanned for viruses by Declude Virus] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Gr, dwaasje [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: multitrack recording [was: recording audio with SoundBlasterLive...]
On Thu, 2 Jan 2003, Nathan Kinkade wrote: snip This is off-topic from the original post, but since you mention that you do a lot recording to your SBLive I though I would ask. Is there any good multitrack recording software for FreeBSD. I recently made a little preamp so that I could plug my guitar into the sound card and am looking for multitrack recording software. I have waded through the ports and come across a few possibilities, but each leaves something to be desired. I found ecasound, audacity, and snd. Audacity is just what I am looking for, but v1 doesn't support full duplex on *nix. Apparently v1.1 does, but it is not released as stable yet. ecasound looks powerful, but it would be nice if it had a graphical interface - well, there is one, but it's not very intuitive and the documentation is nonexistent, apparently. snd had an interesting interface, but I can't seem to tell if it was meant to do what I want, or at least I can't coax it to. I just want to make multitrack guitar recordings i.e. record one track and record the next while listening to the first, etc, etcany ideas? Thanks, Nathan I use Audacity for all of my mixing. I do a lot of the individual track recording to my 4-track, and do the mixing afterwards in Audacity. The lack of full-duplex support in *nix is in the OSS drivers, not Audacity, and it really stinks. I've been thinking of getting a better card (like an RME Hammerfalle) which has full-duplex support with the ALSA drivers, but until my employment situation levels out, that's not gonna happen. In FreeBSD Audacity is the best IMHO. Another great one (much more full-featured) is Ardour, but it seems to be Linux-only and I have no idea what would be required to re-compile it for FreeBSD. # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: openssl 0.9.6h checksum in ports
On Thu, 2 Jan 2003, Hari Bhaskaran wrote: openssl.org just decided to re-release a release! It would have been much cleaner to bump up a version if they fix something! Come on, we are in 2003! Yeah, and they're on 0.9.7. ;) KeS To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
where can i get RIP source code.
thanks shivaji --The World is the manifestation of our inner state To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ata fallback to PIO mode on dual processor AMD systems
Quoting Francesco Casadei [EMAIL PROTECTED]: On Tue, Dec 31, 2002 at 03:57:16PM -0500, Bruce Campbell wrote: I am seeing a problem with ata disks on 4 new systems, which I believe is either a bug in the ata driver, or a problem with the onboard IDE controller, or something else. Systems are as follows: ... Motherboard: ASUS A7M266-D CPUs : 2 x 2000+ AMD MP Memory : 2 x 512MB Crucial part: CT6472Y265 Dec 30 23:26:59 ecserv13 /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting Dec 30 23:26:59 ecserv13 /kernel: ata0: resetting devices .. done Dec 30 23:26:59 ecserv13 /kernel: ad0: WRITE command timeout tag=0 serv=0 resetting Dec 30 23:27:00 ecserv13 /kernel: ata0: resetting devices .. done Dec 30 23:27:00 ecserv13 /kernel: ad0: WRITE command timeout tag=0 serv=0 resetting Dec 30 23:27:00 ecserv13 /kernel: ata0: resetting devices .. done Dec 30 23:27:00 ecserv13 /kernel: ad0: WRITE command timeout tag=0 serv=0 resetting Dec 30 23:27:00 ecserv13 /kernel: ad0: timeout waiting for cmd=ef s=d0 e=00 Dec 30 23:27:00 ecserv13 /kernel: ad0: trying fallback to PIO mode Same problem here, but slightly different configuration: # atacontrol list ATA channel 0: Master: ad0 IC35L040AVER07-0/ER4OA44A ATA/ATAPI rev 5 Slave: no device present ATA channel 1: Master: acd0 LG CD-ROM CRD-8521B/1.03 ATA/ATAPI rev 0 Slave: no device present ATA channel 2: Master: ad4 IC35L040AVER07-0/ER4OA44A ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 IC35L040AVER07-0/ER4OA44A ATA/ATAPI rev 5 Slave: no device present ad4 and ad6 are attached to a Promise FastTrak 100 TX2 ATA RAID controller. # atacontrol mode 0 Master = UDMA100 Slave = ??? # atacontrol mode 1 Master = PIO4 Slave = ??? # atacontrol mode 2 Master = UDMA100 Slave = ??? # atacontrol mode 3 Master = PIO4 Slave = ??? ad6 falls back to PIO mode on heavy I/O activity, i.e. when the system does a level 0 file systems dump from the RAID 1 array (ad4,ad6) to the backup disk ad0. Rebooting and rebuilding the array with the Promise BIOS utility temporarily solve the problem. The system may be up and running for 1-4 weeks doing a level 0 dump every morning at 5:30am and then one day the drive ad6 falls back to PIO mode again (little before the completion of fs dump). Do the hard drives you are using support the ATA tagged queuing? And if so, do you have TQ enbled? I don't have it enabled: hw.ata.tags: 0 I've manually set: atacontrol mode 0 UDMA33 UDMA33 and the problem has not recurred. -- Bruce Campbell Engineering Computing CPH-2374B University of Waterloo (519)888-4567 ext 5889 This mail sent through www.mywaterloo.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Multicast Routing
Usually multicast groups are joined on a multicast address. On Ethernet there is a mapping between multicast addresses and multicast ethernet addresses and if the ethernet card is well behaved, filters only those multicast ethernet addresses, and the IP stack filters the multicast IP address that are wanted. For multiple ethernet cards on one machine, a multicast routing program such as pimd (PIM) or mrouted (DVMRP) is usually used, and it forwards data when a remote client joins a multicast group (address). You sound like you want to static route the multicast traffic. I have seen default multicast routes, but have not done static multicast routes. I would not suggest you do port based routing, it will turn your multicast into broadcasts. --Mark Tinguely To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
File Descriptors
Is there any way to see how many entries are being used in the file descriptor table? In other words, I want to know how many files are open on my system. msg14017/pgp0.pgp Description: PGP signature
Re: File Descriptors
man fstat On Thu, 2003-01-02 at 14:12, Walker Pendleton wrote: Is there any way to see how many entries are being used in the file descriptor table? In other words, I want to know how many files are open on my system. -- Matt Smith [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kern.maxfiles guidelines
Michael Wimpee [EMAIL PROTECTED] writes: errors into the syslog. Newsgroup posts all seem to prescribe 'sysctl -w kern.maxfiles=[big number]', but I haven't seen any guidelines for the value of 'big'. Assume I get excited and do 'sysctl -w kern.maxfiles=99'. What will happen as I open more and more files? Is there a formula for calculating good values of 'big' (eg, MB RAM * SQL_MAX_CONNECTIONS * Pi)? Or do I just keep increasing it until it's 'big enough'? Unless you have an a priori method of determining the most file handles that should ever be needed simultaneously, empirical methods are the best choice available -- and will do fine. Increasing the value (which I've done) indeed fixes the problem, but I've yet to see a rationale for the stated values people are using and there *must* be a reason for the defaults (anybody know what it is?). It's a compromise between running out of file handles and wasting memory on the file table. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: File Descriptors
Walker Pendleton wrote: Is there any way to see how many entries are being used in the file descriptor table? In other words, I want to know how many files are open on my system. sysctl kern.openfiles sysctl -a will provide you with a vast amount of information about the state of the system... -Chuck To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Lots of files in a directory
On 1/2/03 at 11:38 AM Dan Nelson wrote: |In the last episode (Jan 02), MikeM said: | Is there anything I can do so that the file system works faster with | such a large number of files? I'm looking for an increase in the | area of 5 to 1. For example, the command rm -rf misc where misc | is the directory containing the 250,000 files takes a couple of hours | to run. If misc is my current working directory, and I type rm * | I get the message that there are too many arguments being passed into | rm. | |In addition to the other suggestions, enabling softupdates will make |file creation and deletion much faster (your rm -rf will speed up |~100x, for example). = Thanks. tunefs for enabling softupdates seems to require console access and single user boot mode. So I'll have to schedule that on my distant server. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Followup to fallback to PIO mode on dual processor AMD systems
On Thu, 2 Jan 2003, Bruce Campbell wrote: At present, I don't suspect bad media because the error message is WRITE command timeout tag=0 serv=0 which doesn't suggest a specific sector/track etc, and running with UDMA33 instead of UDMA100 makes the problem appear to vanish. The fallback is clearly wrong because it turns isolated media errors into pessimized i/o for the whole disk at best, system hangs during resets next best, and system crashes at worst. I keep a disk with bad media on line for testing some of this, and zap the fallback using the following patch (hope this is complete; it was edited from a larger patch). %%% Index: ata-disk.c === RCS file: /home/ncvs/src/sys/dev/ata/ata-disk.c,v retrieving revision 1.139 diff -u -2 -r1.139 ata-disk.c --- ata-disk.c 17 Dec 2002 16:26:22 - 1.139 +++ ata-disk.c 18 Dec 2002 01:03:37 - @@ -597,5 +606,5 @@ else { ata_dmainit(adp-device, ata_pmode(adp-device-param), -1, -1); - printf( falling back to PIO mode\n); + printf( NOT falling back to PIO mode\n); } TAILQ_INSERT_HEAD(adp-device-channel-ata_queue, request, chain); @@ -603,4 +612,5 @@ } +#if 0 /* if using DMA, try once again in PIO mode */ if (request-flags ADR_F_DMA_USED) { @@ -613,4 +623,5 @@ return ATA_OP_FINISHED; } +#endif request-flags |= ADR_F_ERROR; %%% Bruce To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: promiscuous mode / strange ethernet packets duplication problem
Yann GROSSEL [EMAIL PROTECTED] writes: On Thu, 02 Jan 2003 08:56:42 -0500 Bill Moran [EMAIL PROTECTED] wrote: There's your answer. Any machine with forwarding turned on will resend a packet that isn't destin for it. That's by design. It doesn't make much sense to me that you'd have a lot of machines with forwarding turned on. Usually only gateways use this. Honestly, I can't thing of any reason to have forwarding on if your machine only has 1 IP address. As several boxes have this problem, they resend packets to each others very quickly, generating a flood on the network. This flood only stop when all TTL of packets reach 0 or when the switch finally re-learn on what port is located the interface with the target MAC address. Does anybody have any clue about what this kind of problem may be ? Turn forwarding of on all but your gateways. Mhhh. Gateways are designed to forward packets from network to network. If a machine wants to send a packet to a remote network, it will send that packet to the gateway by putting the gateway interface MAC address in the destination field of the ethernet packet. The gateway will know that it must forward the packet because of that. And it will know where to forward the packet by looking to the destination IP address field of the packet. Yep. Here the machines are forwarding ethernet packets with a destination MAC address field set to ANOTHER machine of our network. In other words, these packets are NOT targetted to the gateways, neither from their MAC address destination field nor from their IP address destination field. The machines doing the forwarding don't know that. So why are these packets forwarded ? That's what a router does; when it receives a packet that isn't for itself, it forwards the packet towards the destination. Your FreeBSD machines, by running in promiscuous mode, are receiving *all* the packets on their bit of the wire, and are correct to do so. [A host on that net could send *all* of its packets to a gateway, even the ones to the local net, and expect them to get to the right places. This one-armed router configuration is legitimate and occasionally useful.] Here's what's probably happening: the MAC address mapping times out on the network switch before it times out on the routing hosts (gateways). Then the switch sends those packets to the routing hosts. The routing hosts normally would be screening out those packets on the NIC, because the destination MAC address doesn't belong to the host, but because it's in promiscuous mode, it sends the packet to the IP stack anyway. The IP stack knows how to reach the destination IP address from the packet, and does so. The correct solution is one of two things: make sure that the switch doesn't time out its MAC address mappings any faster than the hosts do, or make sure that the the forwarding machines don't get into promiscuous mode unless they're supposed to. Going further out on a limb, I'll guess that the switch is not refreshing its mappings from passing traffic like an ARP host would, and a smarter switch wouldn't have this problem. Good luck. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 lockfile?
On Thu, Jan 02, 2003 at 04:18:48PM +0100, Marcel Stangenberger wrote: . . . so i assume X is working on the server now (i don't have a monitor on the server) but i'm not getting a login prompt on my Exceed :( the xdm.log is empty so there are no errors reported by xdm. xdm is started properly from /etc/ttys i also rechecked the xdm config files (Xaccess, Xsession, xdm-config and others) and they are still correct. Whoops. I thought that the X server and the client were on the same machine. I apologize. The X server is the machine with the monitor. If there are two different machines, then it looks as if the problem is with the Exceed. That is where you need to look for locks and protection issues. Make sure that you have run the xhost command (or the equivalent on the Exceed) so that the Exceed allows clients running on the FreeBSD machine (such as xdm and xterm) to display on the screen of the Exceed. I've tried reinstalling exceed but that didn't help. I disabled the xhosts so that it will allow any client to display but that doesn't help either. I've also tried using X-Win32 on this system (and on my laptop) but that doesn't work either. It's very odd. Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 lockfile?
On Thu, Jan 02, 2003 at 05:28:44PM +0100, Marcel Stangenberger wrote: . . . I've tried reinstalling exceed but that didn't help. I disabled the xhosts so that it will allow any client to display but that doesn't help either. I've also tried using X-Win32 on this system (and on my laptop) but that doesn't work either. It's very odd. XFree86-4.+ has more security than the older versions of X. Instead of disabling xhosts, try making sure that the FreeBSD server is explicitly allowed to access the X server on your other machine. -- Brent J. ErmlickVeritas liberabit uos [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 lockfile?
On Thu, 2 Jan 2003, Brent J. Ermlick wrote: On Thu, Jan 02, 2003 at 05:28:44PM +0100, Marcel Stangenberger wrote: . . . I've tried reinstalling exceed but that didn't help. I disabled the xhosts so that it will allow any client to display but that doesn't help either. I've also tried using X-Win32 on this system (and on my laptop) but that doesn't work either. It's very odd. XFree86-4.+ has more security than the older versions of X. Instead of disabling xhosts, try making sure that the FreeBSD server is explicitly allowed to access the X server on your other machine. i just tried that on both Exceed and X-Win32 but both still don't give a login prompt Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Procmail and Exim - Freebsd
On Thu, Jan 02, 2003 at 03:39:07PM +, Ian Watkinson wrote: Trying to get Fetmail - Procmail - Exim working. From the Exim site for Version 4, it suggests # transport procmail_pipe: driver = pipe command = /usr/local/bin/procmail -d $local_part return_path_add delivery_date_add envelope_to_add check_string = From escape_string = From user = $local_part group = mail # router procmail: driver = accept check_local_user transport = procmail_pipe In the exim config file, however, when I start Exim, I get exim 2003-01-02 15:35:27 Exim configuration error in line 228: transport procmail: cannot find transport driver accept Line 228 of the config file is the driver = accept line. Anyone got exim and procmail working together, and would care to share that part of the file with the list. Thanks in advance. Ian Are you sure that sure that each of your transport and route declarations are in the correct sections of the config file? Make sure that your router configuration ONLY comes after the the line begin routers and that your transport config only comes after the line begin transports. The config file is not randomly parsed. There are definite discrete sections that need to be observed. It looks as if you have put your router definition in the transport section. Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Lots of files in a directory
In the last episode (Jan 02), MikeM said: It was a surprise to me (but probably not to those on this list) that the file system does not handle that many files in an expeditious manner (I'm being kind here). Is there anything I can do so that the file system works faster with such a large number of files? I'm looking for an increase in the area of 5 to 1. For example, the command rm -rf misc where misc is the directory containing the 250,000 files takes a couple of hours to run. If misc is my current working directory, and I type rm * I get the message that there are too many arguments being passed into rm. In addition to the other suggestions, enabling softupdates will make file creation and deletion much faster (your rm -rf will speed up ~100x, for example). If you're doing file operations directly on known filenames, then the dirhash suggestions will really help. If freedb is doing directory scans or wildcard globbing, then no filesystem will save you :) -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Is there a way to get a MAC address from an IP address
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. 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
Re: Is there a way to get a MAC address from an IP address
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. display all entries in current arp cache: % arp -a get the MAC for a specific IP: % arp IP from % man arp: DESCRIPTION The arp program displays and modifies the Internet-to-Ethernet address translation tables used by the address resolution protocol (arp(4)). With no flags, the program displays the current ARP entry for hostname. The host may be specified by name or by number, using Internet dot nota- tion. -- :// 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: Procmail and Exim - Freebsd
On Thu, 2003-01-02 at 17:09, Nathan Kinkade wrote: On Thu, Jan 02, 2003 at 03:39:07PM +, Ian Watkinson wrote: Trying to get Fetmail - Procmail - Exim working. From the Exim site for Version 4, it suggests # transport snip # router snip In the exim config file, however, when I start Exim, I get exim 2003-01-02 15:35:27 Exim configuration error in line 228: transport procmail: cannot find transport driver accept Line 228 of the config file is the driver = accept line. Anyone got exim and procmail working together, and would care to share that part of the file with the list. Thanks in advance. Ian Are you sure that sure that each of your transport and route declarations are in the correct sections of the config file? Make sure that your router configuration ONLY comes after the the line begin routers and that your transport config only comes after the line begin transports. The config file is not randomly parsed. There are definite discrete sections that need to be observed. It looks as if you have put your router definition in the transport section. Nathan Hallelujah! Nathan said let there be light, and a bulb appeared above Ian's head! That looks to be it, looking at the exim docs again, it's not clear anywhere that it needs to be inserted in certain sections. Thanks very much for that. Any idea if these replace any of the normal router/transports, or are pure additions? -- Ian Watkinson EHS Brann Systems Administrator To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Procmail and Exim - Freebsd
On Thu, Jan 02, 2003 at 06:18:21PM +, Ian Watkinson wrote: On Thu, 2003-01-02 at 17:09, Nathan Kinkade wrote: On Thu, Jan 02, 2003 at 03:39:07PM +, Ian Watkinson wrote: Trying to get Fetmail - Procmail - Exim working. snip In the exim config file, however, when I start Exim, I get exim 2003-01-02 15:35:27 Exim configuration error in line 228: transport procmail: cannot find transport driver accept snip Ian Are you sure that sure that each of your transport and route declarations are in the correct sections of the config file? Make sure that your router configuration ONLY comes after the the line begin routers and that your transport config only comes after the line begin transports. The config file is not randomly parsed. There are definite discrete sections that need to be observed. It looks as if you have put your router definition in the transport section. Nathan Hallelujah! Nathan said let there be light, and a bulb appeared above Ian's head! That looks to be it, looking at the exim docs again, it's not clear anywhere that it needs to be inserted in certain sections. Thanks very much for that. Any idea if these replace any of the normal router/transports, or are pure additions? Ian Watkinson EHS Brann Systems Administrator You should be able to concoct your own routes/transports. From what I understand, when going through the router section, Exim will use the first route if finds that matches the given address - and I think it will skip the rest and immediately go to the specified transport. So, depending on the rules of your route, it may or may not replace an other given routes. The order of the routes matters, the order of transports does not. This is made clear in the config file itself. The docs at Exims site are rather outstanding, in my opinion. Good luck! Nathan Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: File Descriptors
In the last episode (Jan 02), Walker Pendleton said: Is there any way to see how many entries are being used in the file descriptor table? In other words, I want to know how many files are open on my system. $ sysctl kern.openfiles kern.openfiles: 662 $ BTW - your PGP key is not on any of the keyservers, so no-one can validate your signature. You're using gpg, so run gpg --keyserver keyserver.net --send-keys B0E571BC to export your public key so other people can use it. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ssh+slrn screengarbage
On 30 Dec To freebsd-questions wrote: In the last episode (Dec 10), dick hoogendijk said: So, somehow there has to be something wrong w/ cons25 on the bsd machine OR the support for it on the Debian Woody linux machine. It's a small thing but still a pity ;-(( Like to solve it.. Nobody seems interested anymore and it still is something that's wrong and not working nicely. As of today I'm sure it's something in cons25 and slrn and midnight commander working through ssh. I copied the cons25 file of my fbsd machine to my linux box hoping it would be over, but none of this happened. Still the same results. I cannot work remotely from my fbsd box to my linux box through ssh. the screen gets messed up!! (slrn/mc). The linux cons25 and fbsd version act the same ;-( The ONLY way to work OK remotely is starting with: screen ssh remotehost My screen stays uncluttered. That nice, but I don't have an answer to the WHY ;-) -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ssh+slrn screengarbage
On Thu, 2 Jan 2003, dick hoogendijk wrote: The ONLY way to work OK remotely is starting with: screen ssh remotehost My screen stays uncluttered. That nice, but I don't have an answer to the WHY ;-) I've seen this behaviour regularly on (debian) linux to freebsd, solaris or AIX terms. And not the other way round or between the others. Dumming down the terminal with TERM does not always solves it; as TERM and COLOR are ignored by linux for the first layer. That is why the screen command makes it work. Dw To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ssh+slrn screengarbage
On 02 Jan Dirk-Willem van Gulik wrote: On Thu, 2 Jan 2003, dick hoogendijk wrote: The ONLY way to work OK remotely is starting with: screen ssh remotehost My screen stays uncluttered. That nice, but I don't have an answer to the WHY ;-) I've seen this behaviour regularly on (debian) linux to freebsd, solaris or AIX terms. And not the other way round or between the others. Am I to understand that a ssh connection _from_ my linux to my fbsd box does not have these problems? Linux does not use cons25, does it? -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ssh+slrn screengarbage
On Thu, 2 Jan 2003, dick hoogendijk wrote: On 02 Jan Dirk-Willem van Gulik wrote: Am I to understand that a ssh connection _from_ my linux to my fbsd box does not have these problems? Linux does not use cons25, does it? Linux its default terminal on the screen is 'Linux' which is close to a vt100 terminal. Obviously changing the TERM value does not make it an emulator :-) Dw 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 vmailboxes
Keith Spencer [EMAIL PROTECTED] writes: [...] qmail has its own list[1]. Don't post this stuff to freebsd-*. -Drew Footnotes: [1] http://cr.yp.to/lists.html#qmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Followup to fallback to PIO mode on dual processor AMD systems
Quoting Bruce Evans [EMAIL PROTECTED]: On Thu, 2 Jan 2003, Bruce Campbell wrote: At present, I don't suspect bad media because the error message is WRITE command timeout tag=0 serv=0 which doesn't suggest a specific sector/track etc, and running with UDMA33 instead of UDMA100 makes the problem appear to vanish. The fallback is clearly wrong because it turns isolated media errors into pessimized i/o for the whole disk at best, system hangs during resets next best, and system crashes at worst. I keep a disk with bad media on line for testing some of this, and zap the fallback using the following patch (hope this is complete; it was edited from a larger patch). Thanks for the patch. Under moderate load, I am seeing occasional instances of: /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting /kernel: ata0: resetting devices .. done and everything keeps on working normally via DMA. ie it does not drop to PIO. The more manacing case is this: Dec 30 23:26:59 /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting Dec 30 23:26:59 /kernel: ata0: resetting devices .. done Dec 30 23:26:59 /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting Dec 30 23:27:00 /kernel: ata0: resetting devices .. done Dec 30 23:27:00 /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting Dec 30 23:27:00 /kernel: ata0: resetting devices .. done Dec 30 23:27:00 /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting Dec 30 23:27:00 /kernel: ad0: timeout waiting for cmd=ef s=d0 e=00 Dec 30 23:27:00 /kernel: ad0: trying fallback to PIO mode Dec 30 23:27:00 /kernel: ata0: resetting devices .. done So it appears it would no longer with DMA, but it would work with PIO. If it is manually set back to UDMA with the atacontrol command, it times out again, and falls back to PIO. However, a soft reboot, and all is well again. %%% Index: ata-disk.c === RCS file: /home/ncvs/src/sys/dev/ata/ata-disk.c,v retrieving revision 1.139 diff -u -2 -r1.139 ata-disk.c --- ata-disk.c17 Dec 2002 16:26:22 - 1.139 +++ ata-disk.c18 Dec 2002 01:03:37 - @@ -597,5 +606,5 @@ else { ata_dmainit(adp-device, ata_pmode(adp-device-param), -1, -1); - printf( falling back to PIO mode\n); + printf( NOT falling back to PIO mode\n); } TAILQ_INSERT_HEAD(adp-device-channel-ata_queue, request, chain); @@ -603,4 +612,5 @@ } +#if 0 /* if using DMA, try once again in PIO mode */ if (request-flags ADR_F_DMA_USED) { @@ -613,4 +623,5 @@ return ATA_OP_FINISHED; } +#endif request-flags |= ADR_F_ERROR; %%% Bruce -- Bruce Campbell Engineering Computing CPH-2374B University of Waterloo (519)888-4567 ext 5889 This mail sent through www.mywaterloo.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ata fallback to PIO mode on dual processor AMD systems
On Thu, Jan 02, 2003 at 01:42:03PM -0500, Bruce Campbell wrote: [snip] I don't have it enabled: hw.ata.tags: 0 I've manually set: atacontrol mode 0 UDMA33 UDMA33 and the problem has not recurred. -- Bruce Campbell Engineering Computing CPH-2374B University of Waterloo (519)888-4567 ext 5889 This mail sent through www.mywaterloo.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message end of the original message # atacontrol mode 3 Master = PIO4 Slave = ??? # atacontrol mode 3 udma33 xxx Master = UDMA33 Slave = ??? # atacontrol mode 3 Master = UDMA33 Slave = ??? # find / -name nonexistent -print # atacontrol mode 3 Master = PIO4 Slave = ??? After little disk activity, like searching a file throughout the entire filesystem, the second disk of the RAID array falls back to PIO4 mode. I booted the system from the live system cd (2nd disk of the freebsd distribution set) then ran dd to read from and write to ad6: no errors were found. Francesco Casadei -- You can download my public key from http://digilander.libero.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B msg14040/pgp0.pgp Description: PGP signature
Re: Followup to fallback to PIO mode on dual processor AMD systems
On Fri, Jan 03, 2003 at 06:36:29AM +1100, Bruce Evans wrote: The fallback is clearly wrong because it turns isolated media errors into pessimized i/o for the whole disk at best, system hangs during resets next best, and system crashes at worst. I keep a disk with bad media on line for testing some of this, and zap the fallback using the following patch (hope this is complete; it was edited from a larger patch). Perhaps the right answer is to test uptime and do the fallback if the error happens in the first minute, at least for permanently-mounted disks. In any case, retries in the current mode should be exhausted first. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: once last try
Why is Postfix getting the messages from localhost? An antivirus or something? Where is the line telling the message was delivered? This is a complete log for a message going through our gateway (Postfix-1.1.11): At home I don't run the mail server on my firewall. It's running on a box behind the firewall. Below is a message coming back from [EMAIL PROTECTED] that states another request must be sent in with an authorization key, which has been sent to: [EMAIL PROTECTED] Except that second email never arrives. Dec 28 22:02:18 spike postfix/smtpd[14897]: connect from localhost.spike[127.0.0.1] Dec 28 22:02:18 spike postfix/smtpd[14897]: 3EC35369C: client=localhost.spike[127.0.0.1] Dec 28 22:02:18 spike postfix/cleanup[14898]: 3EC35369C: message-id=[EMAIL PROTECTED] Dec 28 22:02:18 spike postfix/qmgr[90891]: 3EC35369C: from=[EMAIL PROTECTED], size=4095, nrcpt=1 (queue active) Dec 28 22:02:18 spike spamd[248]: connection from localhost.spike [127.0.0.1] at port 3727 Dec 28 22:02:18 spike spamd[14904]: processing message [EMAIL PROTECTED] for jim:1001, expecting 4131 bytes. Dec 28 22:02:18 spike postfix/smtpd[14897]: disconnect from localhost.spike[127.0.0.1] Dec 28 22:02:21 spike spamd[14904]: clean message (1.1/5.0) for jim:1001 in 3.1 seconds, 4131 bytes. Dec 28 22:02:21 spike postfix/local[14900]: 3EC35369C: to=[EMAIL PROTECTED], relay=local, delay=3, status=sent (|/usr/local/bin/procmail) Now when I try to subscribe I don't even get the first email back. Perhaps I've angered Majordomo and it's blackballed me. :) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Missing file - Help!
I know you didn't ask, but you might consider using NUT (Network UPS Tools) which has extensive architecture and device support (including USB UPSes). BTW, I used: find / -name int*4 on FreeBSD 3.2, FreeBSD 4.6, and FreeBSD 4.7 Release, but the results did not contain your indicated file. Steven Lake wrote: Hi all. I was trying to build and install apcupsd and during the build I get this error: shared library intl.4 does not exist Anybody know how to fix this? I've never seen this error before and have no idea what this file is or does. Thanks for the help. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems installing FreeBSD
On Thu, Jan 02, 2003 at 06:48:13PM +0100, Bruno Campanelli wrote: I've got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message Missing Operating System. Version 2.1.5 is about 7 years out of date. You might want to retry this with a more recent release (we're up to 4.7-RELEASE). The ISO images are available from : ftp://ftp.freebsd.org/pub/releases/i386/ISO-IMAGES/ -- Jonathan Chen [EMAIL PROTECTED] -- Nyuck, nyuck, nyuck - Curly To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: [was: recording audio with SoundBlaster Live...]
On January 2, 2003 09:40 am, John Bleichert wrote: On Thu, 2 Jan 2003, Nathan Kinkade wrote: snip ,snip I use Audacity for all of my mixing. I do a lot of the individual me too. except my requirement is to record audio tapes to mp3. In FreeBSD Audacity is the best IMHO. Another great one (much more The one missing piece of my knowledge and understanding is to actually do the recording. I've hooked up the tape card to the line-in of the sound but I can't get the sound to be recorded. I am getting sound as I can listen to the tapes on the computer. What device do I specify for the recording in from the line-in of the sound card using audacity? When I use the default /dev/dsp nothing is captured. -- - Joe Sotham - If the only prayer you say in your entire life is Thank You, that will suffice. - Meister Eckhart To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Jail setup with FreeBSD 5.0
Axel Gruner wrote: Hi. I am trying to setup a jail in FreeBSD 5.0 RC2. I found out to use mount -t devfs / $D/dev instead of cd %D/dev; sh MAKEDEV jail. So, i configured my jail a bit, and wanted to start it with the command:jail /jail/ssh testhome 192.168.0.201 /bin/sh /etc/rc But the jail is not starting, here the output: hw.bus.devctl_disable: 1 - 1 Entropy harvesting:sysctl: kern.random.sys.harvest.interrupt: Operation not perm itted interruptssysctl: kern.random.sys.harvest.ethernet: Operation not permitted ethernetsysctl: kern.random.sys.harvest.point_to_point: Operation not permitted point_to_point. Fast boot: skipping disk checks. mount: /: unknown special file or file system adjkerntz[76259]: sysctl(put_wallclock): Operation not permitted Doing initial network setup:. ifconfig: ioctl (SIOCDIFADDR): permission denied lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 Additional routing options:. Mounting NFS file systems:. ELF ldconfig path: /usr/lib /usr/lib/compat a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout Starting local daemons:. Updating motd. Configuring syscons: keymap blanktime. Initial i386 initialization:. Additional ABI support:. Local package initialization:. Additional TCP options:. ln: vga: Operation not permitted Starting cron. Starting background file system checks. Mon Dec 23 12:19:27 CET 2002 So after that i mounted also procfs (like it is told in jail manpage). Same result. So, how different is it to setup up a jail in FreeBSD 5 compared to FreeBSD 4.x? Or, where is my mistake? Thanks in advance. What's your concrete question? -- L i W W W i Jens Rehsack LW W W L i W W W W i nnnLiWing IT-Services L iW W W Wi n n g g i W W i n n g gFriesenstraße 2 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED] Fax: +49 - 3 45 - 5 17 05 92http://www.liwing.de/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: [was: recording audio with SoundBlaster Live...]
On Thu, 2 Jan 2003, joe wrote: In FreeBSD Audacity is the best IMHO. Another great one (much more The one missing piece of my knowledge and understanding is to actually do the recording. I've hooked up the tape card to the line-in of the sound but I can't get the sound to be recorded. I am getting sound as I can listen to the tapes on the computer. What device do I specify for the recording in from the line-in of the sound card using audacity? When I use the default /dev/dsp nothing is captured. In Audacity, I use /dev/dsp. Works with my SBLive - which card are you using? # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Missing file - Help!
Someone mentioned to me that this is supposed to come with the app gettext. But I'm not sure. On Thu, 2 Jan 2003, Gregory Carvalho wrote: I know you didn't ask, but you might consider using NUT (Network UPS Tools) which has extensive architecture and device support (including USB UPSes). BTW, I used: find / -name int*4 on FreeBSD 3.2, FreeBSD 4.6, and FreeBSD 4.7 Release, but the results did not contain your indicated file. Steven Lake wrote: Hi all. I was trying to build and install apcupsd and during the build I get this error: shared library intl.4 does not exist Anybody know how to fix this? I've never seen this error before and have no idea what this file is or does. Thanks for the help. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Missing file - Help!
Steven Lake [EMAIL PROTECTED] writes: Someone mentioned to me that this is supposed to come with the app gettext. But I'm not sure. That's correct. The apcupsd port is supposed to build the gettext port (as a dependency). On Thu, 2 Jan 2003, Gregory Carvalho wrote: I know you didn't ask, but you might consider using NUT (Network UPS Tools) which has extensive architecture and device support (including USB UPSes). BTW, I used: find / -name int*4 on FreeBSD 3.2, FreeBSD 4.6, and FreeBSD 4.7 Release, but the results did not contain your indicated file. Steven Lake wrote: Hi all. I was trying to build and install apcupsd and during the build I get this error: shared library intl.4 does not exist Anybody know how to fix this? I've never seen this error before and have no idea what this file is or does. Thanks for the 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
Re: Missing file - Help!
Someone, quite probably Steven Lake, once wrote: Someone mentioned to me that this is supposed to come with the app gettext. But I'm not sure. Well the ports Makefile for apcupsd contains the line: LIB_DEPENDS=intl.4:${PORTSDIR}/devel/gettext But the pkg-plist for gettext doesn't mention intl.4, the closest is lib/libintl.so.4 It looks like the port for apcupsd may need updating. Kevin On Thu, 2 Jan 2003, Gregory Carvalho wrote: I know you didn't ask, but you might consider using NUT (Network UPS Tools) which has extensive architecture and device support (including USB UPSes). BTW, I used: find / -name int*4 on FreeBSD 3.2, FreeBSD 4.6, and FreeBSD 4.7 Release, but the results did not contain your indicated file. Steven Lake wrote: Hi all. I was trying to build and install apcupsd and during the build I get this error: shared library intl.4 does not exist Anybody know how to fix this? I've never seen this error before and have no idea what this file is or does. Thanks for the help. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
JDK
HEllo Im trying to install JDK in my FRee BSD 4.7 box , but there is no port for it. I have read the FreeBSD java proyect and the docs say that there sould be a port in the /usr/ports/jdk directory, I only have the ports from SUN, But I cannot find the sources of the sdk in Sun's web site, I only find the linux script, Shoul I install it ?, I want to install Open office and it needs JDK as a dependency To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: JDK
Alvaro Rosales R. wrote: HEllo Im trying to install JDK in my FRee BSD 4.7 box , but there is no port for it. I have read the FreeBSD java proyect and the docs say that there sould be a port in the /usr/ports/jdk directory, I only have the ports from SUN, But I cannot find the sources of the sdk in Sun's web site, I only find the linux script, Shoul I install it ?, I want to install Open office and it needs JDK as a dependency To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message The port is located in /usr/ports/java/jdk13/. If you want to build it, you need a java compiler for that, so the linux one may a good choice if you can live with the fact, that the linux emulator want to control the ldt. The pages at http://www.freebsd.org/java/ have some information how to build and install. Jens -- L i W W W i Jens Rehsack LW W W L i W W W W i nnnLiWing IT-Services L iW W W Wi n n g g i W W i n n g gFriesenstraße 2 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED] Fax: +49 - 3 45 - 5 17 05 92http://www.liwing.de/ 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
On Thursday, 2 January 2003 at 16:40:45 +0100, Roman Neuhauser wrote: # [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: --- B.origThu Jan 2 16:25:28 2003 +++ B Thu Jan 2 16:37:08 2003 @@ -59,7 +59,7 @@ postmaster=postmaster@$domain fi if [ $hostmaster = ]; then - hostmaster=`nslookup -q=soa wantech.de|grep mail addr|sed 's:.*= ::; s:\.:@:'` + hostmaster=`nslookup -q=soa $domain|grep mail addr|sed 's:.*= ::; s:\.:@:'` fi if [ $hostmaster = ]; then hostmaster=hostmaster@$domain Heh. Guess who'd been giving me problems lately. Yes, I found that bug this morning and fixed it. I've also put in a check for completely unidentifiable domains. Take another look. 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: Missing file - Help!
Ok, I finally got it to install. I used the install file right off the apcupsd website and it installed fine. Thanks!! :) (*and yes, the port is busted*) On Thu, 2 Jan 2003, Kevin Golding wrote: Someone, quite probably Steven Lake, once wrote: Someone mentioned to me that this is supposed to come with the app gettext. But I'm not sure. Well the ports Makefile for apcupsd contains the line: LIB_DEPENDS=intl.4:${PORTSDIR}/devel/gettext But the pkg-plist for gettext doesn't mention intl.4, the closest is lib/libintl.so.4 It looks like the port for apcupsd may need updating. Kevin On Thu, 2 Jan 2003, Gregory Carvalho wrote: I know you didn't ask, but you might consider using NUT (Network UPS Tools) which has extensive architecture and device support (including USB UPSes). BTW, I used: find / -name int*4 on FreeBSD 3.2, FreeBSD 4.6, and FreeBSD 4.7 Release, but the results did not contain your indicated file. Steven Lake wrote: Hi all. I was trying to build and install apcupsd and during the build I get this error: shared library intl.4 does not exist Anybody know how to fix this? I've never seen this error before and have no idea what this file is or does. Thanks for the help. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: [was: recording audio with SoundBlaster Live...]
On Thu, Jan 02, 2003 at 02:16:04PM -0800, joe wrote: On January 2, 2003 09:40 am, John Bleichert wrote: On Thu, 2 Jan 2003, Nathan Kinkade wrote: snip ,snip I use Audacity for all of my mixing. I do a lot of the individual me too. except my requirement is to record audio tapes to mp3. In FreeBSD Audacity is the best IMHO. Another great one (much more The one missing piece of my knowledge and understanding is to actually do the recording. I've hooked up the tape card to the line-in of the sound but I can't get the sound to be recorded. I am getting sound as I can listen to the tapes on the computer. What device do I specify for the recording in from the line-in of the sound card using audacity? When I use the default /dev/dsp nothing is captured. - Joe Sotham - What are your mixer settings? Do you have the LineIn configured to record or just for playback? Check out the man page for mixer(8) on how to set an input for recording. There are also quite a few ports for various mixer interfaces in /usr/ports/audio. Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
vsftpd and samba problem
I am having some problems with vsftpd and I was wondering if someone could offer me some insight. I have an ftp server (using vsftpd) that mounts FAT32 shares from another machine via Samba. I can mount the shares with no problem and access the files if I log onto the machine with SSH. However, when I logon to the FTP server using an FTP client I am not able to transfer files with vsftpd. I get an error that states 426: failure writing network stream. I am able to change into the directory that I mount on and get a file listing. Another interesting thing is that when I use another FTP server (such as ProFTPd) everything works fine; I am able to transfer files from the samba shares. I have not been able to find much documentation involving a problem similar to mine. Any ideas/insight would be greatly appreciated. VSFTPD 1.1.3 Samba 2.2.7a FreeBSD 4.7 ProFTPd 1.2.7 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Sendmail waiting?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Brian Astill Sent: Thursday, January 02, 2003 4:29 PM To: [EMAIL PROTECTED] Subject: Sendmail waiting? My silly system ... Using 4.6 RELEASE, 1.1G Athlon ABit KT7A VIA chipset - running FVCool permanently in idle mode to maintain CPU cool temperature. The really silly bit is ... I don't switch off every day, but I have noticed that, on restart, loading sometimes waits for ever at installing standard daemons sendmail. Last night the wait was 2 full minutes, and the effect was for me not to be able to get X and worse - getty repeating too fast - sleeping for 30 seconds During that sleep, I could work from the console normally, but then the screen blanked and fluttered for several seconds before the sleeping phase was again reimposed. This morning - not expecting too much - I switched on and this time loading swept past sendmail without delay and everything is working normally again. I do not propose to switch off for some time. :-) Q1. Can anyone suggest any explanation for the sendmail-wait problem and subsequent horrors? Q2. I am cvsupping and ready to update to the latest stable. Is this sound, and is it in any way likely to resolve my problem with v 4.6 RELEASE? My experience is that if your network goes down or DNS cannot easily resolve your name, sendmail will pause for a bit. I believe installing a caching(sp) name server on the box will probably help out. I cannot remember the command to install it, so check the archives, but it is really simple. Hope this helps. Thanks in advance. -- Brian 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