Re: Size of variables in awk

2004-03-03 Thread Dan Nelson
In the last episode (Mar 03), Wayne Sierke said:
 It seems I've run into the 32-bit signed number wall in awk
 (5.2-RELEASE).
 
 My totals are maxing out at 2147483648.
 
 Would anyone happen to know whether that's really the case (that awk is
 only implemented with 32-bit number capability - unfortunately I don't
 have any other awks nearby to verify nor can I find any reference info
 that indicates) and/or can suggest a way around it?

Seems to works fine on -current:

$ jot 8 30 | awk '{ print 2^$1 }'
1073741824
2147483648
4294967296
8589934592
17179869184
34359738368
68719476736
137438953472

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


Re: FreeBSD 4.9 rebooting into single user mode

2004-03-03 Thread Patrick Fish

 I would suggest that something is wrong.  FreeBSD
 generally doesn't boot into single user mode unless it's either
 told to, or has to.  The most likely probable cause is a bad HDD*,
 but there may be other possibilities.

 What happens after someone does enter the default shell path?  Does
 another reboot cure the problem?  What console messages (if any,
 but there should be some) appear to be abnormal prior to the boot
 prompt?

Usually, another reboot fixes the problem, yes. However, this last time was due to 
some /etc/fstab error, don't have the exact error since the folks at the NOC couldn't 
remember it, I finally got it fixed, not sure how, but the idents wern't in fstab...I 
added them back and it worked for some reason.

I suspect it might drop into single user mode to fsck...but from my experiences with 
the boxes I have here, it does that on a normal boot if it needs to, not single user...



 Kevin Kinsey
 DaleCo, S.P.


 More specifically, bad sectors or whatnot; anything requiring a
 fsck


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


Re: Size of variables in awk

2004-03-03 Thread Wayne Sierke
On Wed, 2004-03-03 at 18:34, Dan Nelson wrote:
 In the last episode (Mar 03), Wayne Sierke said:
  It seems I've run into the 32-bit signed number wall in awk
  (5.2-RELEASE).
  
  My totals are maxing out at 2147483648.
  
  Would anyone happen to know whether that's really the case (that awk is
  only implemented with 32-bit number capability - unfortunately I don't
  have any other awks nearby to verify nor can I find any reference info
  that indicates) and/or can suggest a way around it?
 
 Seems to works fine on -current:
 
 $ jot 8 30 | awk '{ print 2^$1 }'
 1073741824
 2147483648
 4294967296
 8589934592
 17179869184
 34359738368
 68719476736
 137438953472

Ah, ok. Same for me on 5.2-RELEASE. More info:

I'm using the printf function in awk but something ain't right:

# jot 4 30 | awk '{ printf(%u\n, 2^$1-1) }'
1073741823
2147483647
2147483648
2147483648

# jot 4 30 | awk '{ printf(%lu\n, 2^$1-1) }'
1073741823
2147483647
2147483648
2147483648

# jot 4 30 | awk '{ printf(%llu\n, 2^$1-1) }'
35185445830655
35186519572479
35186519572480
35186519572480


Thoughts?


Wayne


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


Re: DNSBL - including descriptive text in sendmail error message

2004-03-03 Thread Cordula's Web
John Fox wrote on Tue, 2 Mar 2004 10:14:57 -0800:
 I'm running sendmail 8.12.11, and have successfully configured the
 'dnsbl' feature to reject mail from hosts in the black lists, but
 spamhaus.org has requested that MTA error messages contain the
 descriptive text corresponding to the blacklisted host (e.g.
 http://www.spamhaus.org/SBL/sbl.lasso?query=SBL14030;).

This should happen automatically, when an MTA uses the DNSBL feature.
I don't know about sendmail, but with postfix, all you need to do
is to add the following lines to the smtpd_recipient_restrictions
field in /usr/local/etc/postfix/main.cf:

smtpd_recipient_restrictions =
  # . more restrictions here .
  reject_rbl_client bl.spamcop.net,
  reject_rbl_client sbl-xbl.spamhaus.org,
  reject_rbl_client list.dsbl.org,
  reject_rbl_client dnsbl.njabl.org,
  reject_rbl_client relays.ordb.org,
  reject_rbl_client opm.blitzed.org,
  reject_rbl_client dnsbl.sorbs.net,
  # . more restrictions here .

The descriptive text, if provided by the blacklist as a TXT DNS
record, is then always included in the bounce message.

G'luck!

-- 
Cordula's Web. http://www.cordula.ws/

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


generate CHM

2004-03-03 Thread h0444lp6
Dear list,

I am wondering if there is a tool to convert some sort of file (Latex OR
normal text OR html OR sgml, ...) to CHM [something like chm2html, the
other direction]

TIA

zheyu


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


Notify about your e-mail account utilization.

2004-03-03 Thread management
--  Virus Warning Message (on the network)

Found virus WORM_BAGLE.J in file MoreInfo.pif
The file MoreInfo.pif is moved to /var/spool/quarantine/virRWOrivhcl.

This is a machine-generated message, please do not reply via email. If you have 
questions, please contact the Lucent Help Desk at +1 888 300 0770.

-
Dear user  of  e-mail server FreeBSD.org,

Your e-mail account  will be disabled  because of improper  using in next
three days, if  you are still wishing to  use it, please, resign your
account information.

Please, read the attach  for  further details.

Kind regards,
   The FreeBSD.org teamhttp://www.freeBSD.org

--  Virus Warning Message (on the network)

MoreInfo.pif is removed from here because it contains a virus.

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


UPDATING 5.1-REL

2004-03-03 Thread Odhiambo Washington
Hi folks,

I have a machine, with very good specs (2.8GHz, 512MB RAM) and it's
running 5.1-REL.

FreeBSD 5.1-RELEASE-p10 #2: Mon Dec 22 10:19:56 EAT 2003

I's like to upgrade this box to 5.2.1-REL. I have cvsupped very clean
sources. However, make buildworld dies at different stages.
There is no consistent point at which it fails. Everytime I try, it goes
and fails later, at a different stage:

In the logs, I see things like:

 pid 21191 (make), uid 0: exited on signal 4 (core dumped)
 pid 61014 (make), uid 0: exited on signal 10 (core dumped)

Attached is a dmesg output.

Any pointers are welcome.

NB: I have successfully upgraded other 5.1 boxes, so I'm familiar with
the process. 



-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
Nothing is illegal if one hundred businessmen decide to do it.
-- Andrew Young
Copyright (c) 1992-2003 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 5.1-RELEASE-p10 #2: Mon Dec 22 10:19:56 EAT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEBEAST
Preloaded elf kernel /boot/kernel/kernel at 0xc05cf000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc05cf244.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 2790723088 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2790.72-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
real memory  = 268410880 (255 MB)
avail memory = 254259200 (242 MB)
netsmb_dev: loaded
Pentium Pro MTRR support enabled
VESA: v2.0, 8128k memory, flags:0x0, mode table:0xc04dc0e2 (122)
VESA: ATI MACH64
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: COMPAQ D12  on motherboard
ACPI-0629: *** Info: There are no GPE blocks defined in the FADT
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-safe  frequency 3579545 Hz
pcibios: BIOS version 2.10
acpi_timer0: 32-bit timer at 3.579545MHz port 0x920-0x923 on acpi0
acpi_cpu0: CPU port 0x530-0x537 on acpi0
acpi_tz0: thermal zone port 0x530-0x537 on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
ahc0: Adaptec (Compaq OEM) 29160 Ultra160 SCSI adapter port 0x2400-0x24ff mem 
0xf7ff-0xf7ff0fff irq 5 at device 1.0 on pci0
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
bge0: Broadcom BCM5702X Gigabit Ethernet, ASIC rev. 0x1002 mem 0xf7fe-0xf7fe 
irq 10 at device 3.0 on pci0
bge0: Ethernet address: 00:0b:cd:cf:74:83
miibus0: MII bus on bge0
brgphy0: BCM5703 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, 
auto
pci0: display, VGA at device 4.0 (no driver attached)
pci0: base peripheral at device 5.0 (no driver attached)
isab0: PCI-ISA bridge at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: ServerWorks CSB6 UDMA100 controller port 
0x2000-0x200f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: OHCI (generic) USB controller mem 0xf5fd-0xf5fd0fff irq 11 at device 15.2 
on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
ppc0 port 0x778-0x77d,0x378-0x37f irq 7 drq 0 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f2-0x3f5 
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
orm0: Option ROMs at iomem 0xee000-0xe,0xc-0xc7fff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 1.000 msec
BRIDGE 020214 loaded
DUMMYNET initialized (011031)
ipfw2 initialized, divert enabled, 

Report to Sender

2004-03-03 Thread WBG-Domino/Vogel_und_Noot_WT_AG/Rettig_Group




Incident Information:-

Database:   e:/lotus/domino/data/mail1.box
Originator: [EMAIL PROTECTED]
Recipients: [EMAIL PROTECTED]
Subject:Re: Hello
Date/Time:  03.03.2004 11:48:50

Message sent to [EMAIL PROTECTED] was quarantined because it
contained banned content.

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


Strange behaviour of mysql on 5.2.1

2004-03-03 Thread a . buurman
Hi,

I'm having quite a strange problem with mysql on 5.2.1.  mysql-server (40, latest cvs 
port) keeps on reloading when snort is connecting.
When I put on logging, no query reached the engine before the reload. Well, I put on 
tcpdump, and guess what I find. only 7 packets. Yes, 3 way handshake en 4 way 
teardown. No data passes, and the server is the one starting the teardown.
So I rebuilded mysql with debug and guess what? problem solved. 

So no my question, what is the proper group to report this to?

Sincerly, Arnoud Buurman

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


phpnuke forbidden, how to install?

2004-03-03 Thread rfa
i wanted to install phpnuke for content but after cvsuping i found out that

===  phpnuke-6.9 is forbidden: SQL injection vulnerability in Php-Nuke =
7.1.0.

and i checked the phpnuke website, they have a patched version of phpnuke.

im not really sure about not using the ports system coz i get the general
impression that it is much safer to install using that, but does anyone 
think i should take the risk and try the patched version on their website?

also is there a way to use the ports and bypass the forbidden part?

im kinda nooby at the moment, still dont have san-goku like skills yet.

yours,

rommel



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


sophos anti virus and mailmonitor on freebsd

2004-03-03 Thread Scott
Hi all,

I'm trying to get Sophos Mailmonitor running on my 5.2 box, but to no avail.

Below is a sequence of events...

Installed Sophos Anti-virus for FreeBSD 3+.  Sweep (the executable) works fine.
File '/usr/local/bin/sweep' is of brand 'SVR4' (0).
File '/usr/local/lib/libsavi.so.3.2.07.054' is of brand 'SVR4' (0).  This is a library 
both SAV and MailMonitor use.

Installed MailMonitor for Linux (there is no FreeBSD version).  The install works a 
treat.
The executable is called mmsmtpd, there is also a (library?) file called mmsmtp.out.
File '/usr/local/sophos/mmsmtp/bin/mmsmtp.out' is of brand 'SVR4' (0).

Installed linux_base-6.1_5 via packages
Loaded linux.lo
kldstat says:
Id Refs AddressSize Name
 19 0xc040 5d7f1c   kernel
 21 0xc09d8000 51a18acpi.ko
 31 0xc24bb000 2000 dragon_saver.ko
 41 0xc24e7000 19000linux.ko

From /usr/local/sophos/mmsmtp/bin/ ran ./mmstpd -start
Got the following error:
/usr/local/sophos/mmsmtp-1.2.2/Linux-x86/bin/mmsmtp.out: error in loading shared 
libraries: libsavi.so.2: cannot open shared object file: No such file or directory

Created symlink /lib/ (was this correct?)
ln -s /usr/local/lib/libsavi.so.3.2.07.054 /lib/libsavi.so.2

From /usr/local/sophos/mmsmtp/bin/ ran ./mmstpd -start
Got the following error:
/usr/local/sophos/mmsmtp-1.2.2/Linux-x86/bin/mmsmtp.out: error in loading shared 
libraries: libsavi.so.2: ELF file ABI version invalid.

Then I started trying everything...

brandelf -t Linux /usr/local/lib/libsavi.so.3.2.07.054
From /usr/local/sophos/mmsmtp/bin/ ran ./mmstpd -start
Got the following error:
/usr/local/sophos/mmsmtp-1.2.2/Linux-x86/bin/mmsmtp.out: error in loading shared 
libraries: libsavi.so.2: ELF file OS ABI invalid.

So now I'm stuck.  I'd appreciate any help anyone might have!
I've done a search on freebsd-emulation but no luck.

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


Re: sendmail: Operation timed out with

2004-03-03 Thread Ed Budd
On Wed, 3 Mar 2004 07:15:05 +
Matthew Seaman [EMAIL PROTECTED] wrote:

 On Tue, Mar 02, 2004 at 08:11:36PM -0500, Justin Brody wrote:
  A couple pieces of information that might be relevant:
  About a month ago, I was running the same FBSD version with the
  same sendmail.cf from behind a different router connected to a
  different cable modem and calling my box cogito.none.org.  This
  seemed to work o.k.
 
 After sleeping on it, I'm starting to think that the problem is not
 actually within the SMTP setup, but is rather something to do with
 firewalling or similar measures.  Does your ISP permit you to run SMTP
 servers? Many have been bitten very badly by clueless windows users,
 and so deny use of SMTP to all.  Sometime this proscription also
 extends to enforcement by transparent proxying or other measures to
 control SMTP traffic from their clients.  You should check with them
 as to what their policy is.
 
 Can you telnet to port 25 on the UMD server or the ISP's server you're
 trying to connect to?  If you can't get a connection established, I'd
 suspect the problem is firewalling somewhere between you and them.
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH
 UK
 


FWIW I once had similar problems properly sending mail to a particular
ISP mail server (it would timeout just like this one but work fine for
other destination mail servers). Manually running the queue in verbose
mode would indicate that it was connecting properly but hanging at the
data send stage until timing out about five minutes later. Had me
baffled because I had been connecting to that server maybe two weeks
before without a hitch and hadn't changed my sendmail config in that
time.

After searching google and pouring through the FAQ and other docs at
sendmail.org I found a reference to possibly misconfigured intermediary
routers not handling the icmp packets on which the PMTU Discovery
feature needs to work properly (set by default on both FBSD and OBSD I
believe). I disabled PMTU Discovery in /etc/sysctl.conf on my gateway
host and through some ping tests derived 1404 as the optimal PMTU (I'm
on a DSL connection) between my site and the troublesome mail server. I
set this number manually for the outgoing interface on my gateway
through an ifconfig parameter and the problem disappeared. I have been
able to connect properly to that mail server ever since.

Just another potential avenue to investigate...

EB





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


what is my real address?

2004-03-03 Thread Robert Storey
I've set up a FreeBSD client at our school. The client gets its address
via dhcp from the gateway machine which runs Windows NT (yuch!). There
is apparently a proxy server installed which blocks http, but I can get
out onto the Internet using ssh to login to another server, from where I
run lynx if I want to visit web sites. ftp is not blocked, so I can
download if I need to.

For run, I would like to run an ftp server on this client machine. For
that, I would need to know my real address on the web, but I am not sure
how to find this info. If I run ifconfig, it tells me the following:

  inet addr: 10.0.0.10
  Bcast: 10.0.0.31
  Mask 255.255.255.224

I can safely assume that 10.0.0.10 is an internal address for this
network. I've been pouring through the *BSD documentation I have hoping
to find a command that will tell me the address I occupy on the
Internet, but so far I haven't found anything. I'm sure the answer is
simple, but no joy so far - I'd be grateful if somebody could clue me
in.

A related question...I do realize that my address could change everytime
I fire up the client machine. I'm wondering if I can deal with that by
using dyndns? Remember, this would be for an anonymous ftp server, not
http.

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


Re: 1 processor vs. 2

2004-03-03 Thread Stefan Cars
Hi!

Following up on this I'm also looking into buying some servers and have
the almost the same scenario, a MySQL DB together with apache with
mod_perl and embperl, (alot of SQL and dynamic content). Would we be
better off with:

Dual Xeon, 2.4 GHZ with 2GB of RAM or Xeon 3.0 GHZ with 2GB of RAM
and
RAID-1 on three disks or RAID-5 on three disks.


Will the difference between 2.4 and 3.0 really do that much ? Isn't the
SMP system better.

Kind Regards,
Stefan Cars

On Tue, 2 Mar 2004, Scott W wrote:

 Joseph Koenig wrote:

 I'm putting together a system that will host a relatively small database
 (around 20,000 records), as well as run Apache / PHP to search that
 database. I have the option in front of me to use a P III dual 1GHz machine
 with a SCSI Raid 5, or to use a single P4 2.8 GHz with a SCSI Raid 1. Both
 have 1GB RAM. I'm looking to use MySQL as the DB. The site that this machine
 will host gets about 2 million hits per months (yes, hits, not pageviews or
 visitors) from about 21,000 unique visitors. Does anyone have an opinion as
 to which machine will perform best under this scenario? Obviously, both
 would run FreeBSD. Thanks,
 
 Joe Koenig
 Production Manager
 jWeb New Media Design
 [EMAIL PROTECTED]
 http://www.jwebmedia.com/
 636.928.3162
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
 Someone else already mentioned this, but RAID-1 will be faster than the
 RAID-5 at the storage level, if the RAID-5 array is a relatively small #
 of drives.  If you're talking about 2 disk RAID-1 versus 10 disks
 RAID-5, those numbers may change.  If the drives are integrated into the
 systems, it's also possible the RAID-1 disks are faster drives than the
 RAID-5 drives...

 If you're going to run the DB and web server on the same system with a
 high percentage of static pages, the SMP system may help out.

 If you have almost all dynamic content is full of complex DB queries,
 the P4 would do better based solely on CPU speed.

 How about RAID-1 on the dual PIII and keep the P4 as a workstation? :-)

 The PIII is likely up to the task, but it really depends on the type of
 content (is _everything_ PHP generating dynamic content, every page
 hitting the DB etc?)

 Scott

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


--
Stefan Cars
Snowfall Communications
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04



__
SNOWFALL DISCLAIMER:
The information contained in this email and in any
attachments is confidential and may be privileged. If you are not the
intended recipient, please destroy this message and notify the sender
immediately. You should not retain, copy or use this email for any
purpose, nor disclose all or any part of its content to any other person.
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Snowfall Communications.

Snowfall Communications monitors the content of emails sent and received
via its network for unauthorised use and for other lawful business
purposes. The contents of an attachment to this email may contain viruses
which could damage your computer system. While Snowfall Communications has
taken every reasonable precaution to minimise this risk, we cannot accept
liability for any damage which you sustain as a result of software
viruses. You should carry out your own virus checks before opening the
attachment.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Video Card Compatibility

2004-03-03 Thread bradford fligor
Thank you to all of you for your recent help on FreeBSD. 


 While on vacation last week, I decided to buy an ATI Radeon 9000 video card thinking 
it's got to work.  Well I can't get it to work and can't find it on the list of cards 
during install.  In fact no ATI cards seem to be listed.  I should of brought that 
list with me.  Did I buy an incompatible card

I did notice on the video card config page one line had something like pci:1.0.1.. 
  I know my card goes in an AGP slot not PCI.

I was successful in installing Fedoro Linux yesterday!

Thanks again for your great support!!

Brad
  - Original Message - 
  From: Michael Challis 
  To: bradford fligor 
  Sent: Friday, February 20, 2004 7:11 PM
  Subject: Re: Video card compatibility


  bradford fligor wrote:

  Hello Support !
  
  I bought FreeBSD 5.1 and Handbook for my 10 year old computer nut son for 
Christmas and have had problems installing the full graphical version.
  
  When asked for video card on installation, I don't' know what to select. I have 
on-board video on the motherboard at this site. 
  
   http://www.albatron.com.tw/english/it/mb/specification.asp?pro_id=35
  
  I also have an old monitor but I don't think that's the problem.
  
  Will I need to buy a separate video card and if so would you have any suggestions?
  
  Thank you very much for your help!!
  
  Brad Fligor
  508-627-4862
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]

  
  Knoppix Live linux CD will probably identify the card or a Quick Windows 
  98 install. It is helpful to have the information from another OS 
  concerning hardware before installing a new one.
  Good luck with the youngster. 4.9 is probably a better way to go. Just 
  download the first CD to install.
  MC

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


Postfix, amavisd-new, clamav, spamassasin

2004-03-03 Thread Gareth Bailey
I believe Amavisd-new is a good interface for postfix and virus/spam scanners. I am 
not sure, however, whether amavisd-new comes with spamassasin or whether i need to 
install spamd from the freebsd ports collection.

I see there is a hook in the amavisd-new config file for hooking up to a virus 
scanner, but the spam section seems to just use spamassasin without me having to 
specify the program to run.

Is SA included in amavisd-new?

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


hello

2004-03-03 Thread dimitar georgiev
hello
can you tell me what is the best freebsd version, also stable for web servers.


-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPTables - Netfilter

2004-03-03 Thread Michael Banta
Hello.

New here to FreeBSD.  I wanted to install iptables(netfilter) but it will not compile 
on FreeBSD.  Is there a version fro FreeBSD?

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


Apache

2004-03-03 Thread Michael Banta

Hello.

I just installed Apache wilthout error.  I started apache and did a ps aux.  It 
appears to be running fine.  However I cannot bring up the default webpage.  Doing 
lynx localhost does not work.  I set the Servername variable in the config file to 
localhost, just to test.  Everything appears to be in order.  Any suggestions?

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


Enabling DHCPv6 Server on FreeBSD

2004-03-03 Thread Bilal Ahmed
Hi,
 
I have a question about KAME's DHCPv6 Server support on FreeBSD. 
 
Could someone please let me know if KAME's DHCPv6 Server is by default
enabled on FreeBSD? If not, then what are the steps to take to make my
FreeBSD machine work as a DHCPv6 Server?
 
All the information that I have looked up on the net until now, only
points me to ISC's DHCP support for FreeBSD, which obviously is for
DHCPv4 only. An early response would be much helpful. 
 
Thanks,
 
- Bilal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tab Stops

2004-03-03 Thread Craig Wilson
I have a situation where I would like to reduce the tab stops from 8
character columns to 4 character columns. Any help on how to achieve this
would be most welcome.


Thanks in advance.


Craig Wilson

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


Re: what is my real address?

2004-03-03 Thread Matthew Seaman
On Wed, Mar 03, 2004 at 06:15:51PM +0800, Robert Storey wrote:
 I've set up a FreeBSD client at our school. The client gets its address
 via dhcp from the gateway machine which runs Windows NT (yuch!). There
 is apparently a proxy server installed which blocks http, but I can get
 out onto the Internet using ssh to login to another server, from where I
 run lynx if I want to visit web sites. ftp is not blocked, so I can
 download if I need to.

If you need to find your external address quickly, then ssh into this
other machine and look at the variables that ssh sets in your
environment -- I'm assuming that the box you ssh into is running some
variety of OpenSSH. eg:

% env | grep SSH
SSH_CLIENT=81.2.69.219 1483 22
SSH_CONNECTION=81.2.69.219 1483 81.2.69.219 22
SSH_TTY=/dev/ttyp4
SSH_AUTH_SOCK=/tmp/ssh-6kfGMKtW/agent.30744

where you can see I ssh'd from 81.2.69.219 to 81.2.69.219 (yes --
pretty pointless, but this is just for illustration).
 
 For run, I would like to run an ftp server on this client machine. For
 that, I would need to know my real address on the web, but I am not sure
 how to find this info. If I run ifconfig, it tells me the following:
 
   inet addr: 10.0.0.10
   Bcast: 10.0.0.31
   Mask 255.255.255.224

Running an FTP server through a NAT'ing gateway is not going to be a
pleasant experience, even if you were running the NAT gateway on a
FreeBSD box where natd's punch_fw functionality would make things a
great deal easier for you.  FTP is an ancient protocol not designed to
cope with the realities of the modern internet.

You'ld be better off putting a reverse-proxy on your gateway machine.

 A related question...I do realize that my address could change everytime
 I fire up the client machine. I'm wondering if I can deal with that by
 using dyndns? Remember, this would be for an anonymous ftp server, not
 http.

There are several ports in the ports collection that do this sort of
thing -- updating a DNS server when your IP nuber allocation changes
so your registered domains resolve to the right place.  Usually they
work by querying your ADSL router or Cable modem every so often as to
what its IP addresses are.  If the gateway machine supports SNMP, you
might be able to adapt some of those scripts to work using that.  I
can remember off-hand exactly what SNMP oid you need to query to find
out the interface address, but it should work pretty well: mrtg(1)
does that sort of thing against all sorts of hardware.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Postfix, amavisd-new, clamav, spamassasin

2004-03-03 Thread albi
On Wed, 3 Mar 2004 15:10:16 +0200
Gareth Bailey [EMAIL PROTECTED] wrote:

 I see there is a hook in the amavisd-new config file for hooking up to
 a virus scanner, but the spam section seems to just use spamassasin
 without me having to specify the program to run.
 
 Is SA included in amavisd-new?

afair spamassassin gets build when you start building the amavisd-new
port

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


latest security advisory and 5.1R

2004-03-03 Thread Ed Budd
Hi,

Can anyone confirm whether 5.1R is affected by yesterday's
security advisory (FreeBSD-SA-04:04.tcp)? 

On the one hand it says that this affects All FreeBSD releases but on
the other hand only lists STABLE, 5.2, 5.2.1, 4.9 and 4.8 under
corrected. Does this mean it IS affected but not yet fixed on those
versions?

Thanks in advance,

EB

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


Re: Tab Stops

2004-03-03 Thread Matthew Seaman
On Wed, Mar 03, 2004 at 05:44:15PM +1100, Craig Wilson wrote:
 I have a situation where I would like to reduce the tab stops from 8
 character columns to 4 character columns. Any help on how to achieve this
 would be most welcome.

In what application? They all have different ways to doing that sort
of thing.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: latest security advisory and 5.1R

2004-03-03 Thread Matthew Seaman
On Wed, Mar 03, 2004 at 08:24:43AM -0500, Ed Budd wrote:

 Can anyone confirm whether 5.1R is affected by yesterday's
 security advisory (FreeBSD-SA-04:04.tcp)? 
 
 On the one hand it says that this affects All FreeBSD releases but on
 the other hand only lists STABLE, 5.2, 5.2.1, 4.9 and 4.8 under
 corrected. Does this mean it IS affected but not yet fixed on those
 versions?

As it says: all FreeBSD releases are affected.  Fixes have been
released for all supported versions of the OS, and detailed in the
advisory.  It's possible that those fixes will be back-ported to older
versions, but you can't afford to assume so.  Besides, you read the
comments about New Technology Releases and suitable for early
adopters only when you installed 5.1-RELEASE didn't you?  Now that
5.2.1-RELEASE is out, you should probably upgrade.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Video Card Compatibility

2004-03-03 Thread Andrew L. Gould
On Wednesday 03 March 2004 07:06 am, bradford fligor wrote:
 Thank you to all of you for your recent help on FreeBSD.


  While on vacation last week, I decided to buy an ATI Radeon 9000 video
 card thinking it's got to work.  Well I can't get it to work and can't find
 it on the list of cards during install.  In fact no ATI cards seem to be
 listed.  I should of brought that list with me.  Did I buy an incompatible
 card

 I did notice on the video card config page one line had something like
 pci:1.0.1..   I know my card goes in an AGP slot not PCI.

 I was successful in installing Fedoro Linux yesterday!

 Thanks again for your great support!!

 Brad

Both FreeBSD and Linux use XFree86 for its X Window environment.  Video card 
compatibility is handled by XFree86.  So, whether you're using Linux or one 
or FreeBSD, it might be good to bookmark the following page:

http://www.xfree86.org/4.3.0/Status.html

For future purchases, it's also good to know that NVIDIA creates drivers for 
both Linux and FreeBSD.  This has made my purchasing decisions very easy.

http://www.nvidia.com/object/linux.html

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


Re: Video Card Compatibility

2004-03-03 Thread Lucas Holt
The ATI Radeon 9000 does work.  I have the 64mb model and had it 
working correctly in 4.8 Stable and 4.9 release with DRI enabled.

I didn't get a chance to test linux games on it, but the native X11 
client/server worked great.  It really sped up KDE.

I also got a Rage 128 AGP working prior to the radeon.

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'I try to think but nothing happens'
-- Homer Jay Simpson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


packages for 5.2.1

2004-03-03 Thread h0444lp6
Dear list,

The packages for 5.2.1_Release are the same as for 5.2_Release?

So I can use the packages I downloaded for 5.2 with 5.2.1?

TIA
Zheyu


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


Re: 1 processor vs. 2

2004-03-03 Thread Danny Pansters
On Wednesday 03 March 2004 14:05, Stefan Cars wrote:
 Dual Xeon, 2.4 GHZ with 2GB of RAM or Xeon 3.0 GHZ with 2GB of RAM
 and
 RAID-1 on three disks or RAID-5 on three disks.

RAID5 on 3 disks? That's useless.


HTH,

Dan

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


Re: UPDATING 5.1-REL

2004-03-03 Thread Danny Pansters
On Wednesday 03 March 2004 11:13, Odhiambo Washington wrote:
 real memory  = 268410880 (255 MB)
 avail memory = 254259200 (242 MB)

Random buildworld failures are almost always due to bad RAM. You said 512, 
well dmesg only shows half. Try first taking the sticks out and putting them 
back in, swap the sticks one by one for a known good one if needed.


HTH,

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


downloading text files from apache

2004-03-03 Thread fbsd_user
From my web page I link to .zip, .tgz, and .exe files and when the
link
is clicked, apache will open window to download the file.

When I link to an .txt file it gets opened and displayed. I want to
have it open for download like the other files.

Is there some config option in httpd.conf that I have missed?

Thanks





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


Re: latest security advisory and 5.1R

2004-03-03 Thread Ed Budd
On Wed, 3 Mar 2004 13:29:14 +
Matthew Seaman [EMAIL PROTECTED] wrote:

 On Wed, Mar 03, 2004 at 08:24:43AM -0500, Ed Budd wrote:
 
  Can anyone confirm whether 5.1R is affected by yesterday's
  security advisory (FreeBSD-SA-04:04.tcp)? 
  
  On the one hand it says that this affects All FreeBSD releases but
  on the other hand only lists STABLE, 5.2, 5.2.1, 4.9 and 4.8 under
  corrected. Does this mean it IS affected but not yet fixed on
  those versions?
 
 As it says: all FreeBSD releases are affected.  Fixes have been
 released for all supported versions of the OS, and detailed in the
 advisory.  It's possible that those fixes will be back-ported to older
 versions, but you can't afford to assume so.  Besides, you read the
 comments about New Technology Releases and suitable for early
 adopters only when you installed 5.1-RELEASE didn't you?  Now that
 5.2.1-RELEASE is out, you should probably upgrade.
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH
 UK

Thanks for the reply.

I think what's confusing me here is that I assumed that 5.1R was
still officially supported and every other advisory up to this one has
been included, like last week's FreeBSD-SA-04:03.jail advisory, for
example. So am I to assume then that as of this week 5.1R is no longer
officially supported?

EB




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


Re: backup

2004-03-03 Thread Toomas Aas
Hi!

On Tue, 24 Feb 2004 9:32 am, Richard Beyer wrote:
  We're currently doing a back up of a FreeBSD 4.9 (2) server by
  plugging a USB external drive in and then doing
  cp /dev/ad0 /dev/da0
 
  This takes about 30 hours, (USB 1).

To which anubis answered:

 Why not use removeable drive trays with straight pata drives?  

Few months ago I did some research on this and found that not every 
removable IDE drive bay supports hot-swapping - the ones that do are 
somewhat more expensive. I myself ended up using external FireWire 
drives, which have worked out quite well (and the speed is much better 
than USB with FreeBSD 4.9):

# camcontrol devlist
Maxtor 5000DV  v1.00.00  at scbus0 target 1 lun 0 (da1,pass1)
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* If you leave me, can i come too?

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


Re: Strange behaviour in assembly language program

2004-03-03 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 3 Mar 2004 06:23:28 +
Daniela [EMAIL PROTECTED] probably wrote:

 In this situation, I can only use a single-byte instruction to push 4 bytes, 
 everything else costs me too much space. The only one I know of, is PUSHA, 
 but it pushes too many bytes.

Quoting from dev-handbook:

 But assembly language programmers like to shave off cycles. The above
 example requires a call/ret combination. We can eliminate it by
 pushing an extra dword:
 
 open:
 pushdword mode
 pushdword flags
 pushdword path
 mov eax, 5
 pusheax ; Or any other dword
 int 80h
 add esp, byte 16
 
 The 5 that we have placed in EAX identifies the kernel function, in
 this case open.

The last time I wrote `push ebp \n mov ebp, esp' the push took 1
byte :). `push your_favorite_reg' will work, as the kernel doesn't
really care for the value of the dword.

-- 
DoubleF
I'd love to go out with you, but I have to floss my cat.


pgp0.pgp
Description: PGP signature


Re: priority-- curious about cpu resouce share

2004-03-03 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 03 Mar 2004 00:34:37 +0800
Zhang Weiwu [EMAIL PROTECTED] probably wrote:

 Today I did't experiment on {rt|id}prio(1), just to be interesting. I am 
 trying to understand FreeBSD priority mechenism. IMHO realtime/idle 
 priority only starvs processes when there is no cpu resource at all. 
 
 To test, I run mpg321 on realtime priority 3, run ppp on realtime priority 
 4, a little lower than mpg321, and scp over the ppp tunnel on normal 
 priority. 
 
 Top(1) shows an average about:
 55.2% user,  0.0% nice, 21.5% system, 12.2% interrupt, 11.1% idle
 * mpg321 takes average about 70%;
 * ppp is seriously slowed down, it takes about 1.5% (normally 17% on full 
 speed);
 * sshd almost starves; it takes 0.00% (normally 2%) and only transfer 
 several bytes once several minutes; the otherside scp prompts stalled.

sshd doesn't starve CPU, I guess; as you reach it through ppp, and ppp
gets slow, sshd does, too.

 I'm the kind of newbie think 11.1% idle cpu time to be free cpu resource, 
 because I don't have idle process. I wish to know why, as there are still 
 11.1% free cpu resource, ppp and sshd doesn't get this share? 

The most frequent cause is that they don't need the CPU so much as
something else, like disk I/O, etc. Could you please post the whole
output of top (and a snapshot of systat -vmstat, for example)?

 Just to be curious. Thank you.

FWIW, splay uses 30% of a P150:)

-- 
DoubleF
A jury consists of 12 persons chosen to decide
who has the better lawyer.
-- Robert Frost


pgp0.pgp
Description: PGP signature


apache log files rotation

2004-03-03 Thread fbsd_user
Can apache logs be rotated by /etc/newsyslog.conf?
If not, how is it normally done?

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


Re: backup

2004-03-03 Thread Lucas Holt
On Mar 3, 2004, at 8:59 AM, Toomas Aas wrote:

Hi!

On Tue, 24 Feb 2004 9:32 am, Richard Beyer wrote:
We're currently doing a back up of a FreeBSD 4.9 (2) server by
plugging a USB external drive in and then doing
cp /dev/ad0 /dev/da0
This takes about 30 hours, (USB 1).


Could you get a USB 2 PCI card?  Presuming the drive and freebsd 
support it, i would think it could make things a bit faster.  USB2 is 
faster than firewire 400 which is what most pcs have.  Apple just 
starting shipping Firewire 800 last year (its their standard).

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'I try to think but nothing happens'
-- Homer Jay Simpson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hang on boot with 4.9 and 5.2

2004-03-03 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

  I am reinstalling FreeBSD after having destroyed my partition
 like a moron. I encounter the following error after the probe of my
 agp0:
 
 panic: pmap_mapdev: couldn't alloc kernel virtual memory
 
 Any help would be greatly appreciated.

What is your hardware and what did you previously have installed?

I had to install the floppy-boot kernel on my laptop (as a bootstrap
stage) to avoid the AGP probe.  I was then able to build a new kernel
without AGP.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DRI troubles with radeon

2004-03-03 Thread Tobias Aigner
Jason [EMAIL PROTECTED] wrote:

 pci0: memory, RAM at device 0.1 (no driver attached)
 pci0: memory, RAM at device 0.2 (no driver attached)
 pci0: memory, RAM at device 0.3 (no driver attached)
 pci0: memory, RAM at device 0.4 (no driver attached)
 pci0: memory, RAM at device 0.5 (no driver attached)

Exactly the same here.
 
 So now I am trying to rewrite it.  I must say it is a very hard
 thing for me to do. 

Please let me know if it is working.

 Let me know if you got anymore ideas.

Of course.

-- 
Tobias Aigner

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


Re: apache log files rotation

2004-03-03 Thread Odhiambo Washington
* fbsd_user [EMAIL PROTECTED] [20040303 17:14]: wrote:
 Can apache logs be rotated by /etc/newsyslog.conf?
 If not, how is it normally done?

You may need to send apache SIGUSR1 (signal 30) to tell it to reopen its
logfiles. I do this with squid but haven't tried with apache..
There is no harm in trying, you know? It wouldn't blow your box ;)


/path/to/logfile www:www  644 7  * @T00 J /path/to/apache/pid 30



-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
One of the lessons of history is that nothing is often a good thing to
do and always a clever thing to say.
-- Will Durant
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: latest security advisory and 5.1R

2004-03-03 Thread Ronald Clark
All, 

I have what I hope is a simple question. If I cvsup my sources and
complete the makeworld and installworld processes, will that install the
patch, or do I need to apply manually and recompile the kernel? (I have
been under the impression that doing a cvsup would download and install
the patch when sources were updated)

Thanks in advance for the clarification,

Ron Clark


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Seaman
Sent: Wednesday, March 03, 2004 7:29 AM
To: Ed Budd
Cc: [EMAIL PROTECTED]
Subject: Re: latest security advisory and 5.1R

On Wed, Mar 03, 2004 at 08:24:43AM -0500, Ed Budd wrote:

 Can anyone confirm whether 5.1R is affected by yesterday's security 
 advisory (FreeBSD-SA-04:04.tcp)?
 
 On the one hand it says that this affects All FreeBSD releases but 
 on the other hand only lists STABLE, 5.2, 5.2.1, 4.9 and 4.8 under 
 corrected. Does this mean it IS affected but not yet fixed on those 
 versions?

As it says: all FreeBSD releases are affected.  Fixes have been released
for all supported versions of the OS, and detailed in the advisory.
It's possible that those fixes will be back-ported to older versions,
but you can't afford to assume so.  Besides, you read the comments about
New Technology Releases and suitable for early adopters only when
you installed 5.1-RELEASE didn't you?  Now that 5.2.1-RELEASE is out,
you should probably upgrade.

Cheers,

Matthew

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


CONFIDENTIALITY NOTICE:



The information contained in this ELECTRONIC MAIL transmission
is confidential.  It may also be privileged work product or proprietary
information. This information is intended for the exclusive use of the
addressee(s).  If you are not the intended recipient, you are hereby
notified that any use, disclosure, dissemination, distribution [other
than to the addressee(s)], copying or taking of any action because
of this information is strictly prohibited.



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


Re: Is the handbook no longer installed?

2004-03-03 Thread Lowell Gilbert
Randy Bush [EMAIL PROTECTED] writes:

  I just discoverd that on a machine I recently rebuilt, I have a dead link
  to /usr/share/doc/handbook. Is this not installed now? 
 
 same problem.  and i am a religious cvsupper.

cvsup won't help, unless you build the whole thing from sources, in
which case you would understand it thoroughly from reading the FreeBSD
Documentation Project Handbook.  If you are interested in reading it
rather than changing it, just download it from the FTP sites as
described at the front of the document.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email account utilization warning.

2004-03-03 Thread Sergey 'DoubleF' Zaharchenko
On 02 Mar 2004 22:53:49 -0500
Mike Jeays [EMAIL PROTECTED] probably wrote:

 PIF files are Windows Program Information Files, dating from the days of
 Windows 3.1.  I am surprised they still work - but it seems that they
 do. They have executable content, and are now being used to spread
 malicious software.

Just for the sake of correctness...

Physically, real PIFs have no more executable content than something
between a binary data file and a soft link. But Windows thinks that
they can be `executed' (that was necessary to make them usable as
links, I guess), which is quite enough - when the loader analyzes the
file, it understands it's not a PIF but an EXE format executable
from the magic number and runs it.

Some olden virus-writers probably think that if one masquerades an
.exe as .pif, some olden antiviruses won't find them :). They are
making progress: the virus is about 25% smaller than its .C
predecessor:

P.S. And nobody even cared to remove staff@ from CC:)

-- 
DoubleF
Cloning is the sincerest form of flattery.


pgp0.pgp
Description: PGP signature


Re: downloading text files from apache

2004-03-03 Thread Peter Risdon
fbsd_user wrote:

From my web page I link to .zip, .tgz, and .exe files and when the
link
is clicked, apache will open window to download the file.
When I link to an .txt file it gets opened and displayed. I want to
have it open for download like the other files.
Is there some config option in httpd.conf that I have missed?
 

To understand the issue, read the man page for mime.types(5), and look 
at /usr/local/etc/apache/mime.types

Text files are meant to be displayed like that. Easiest answer is to 
compress them and offer the compressed version for download.

PWR.

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


Re: Strange behaviour in assembly language program

2004-03-03 Thread Daniela
On Wednesday 03 March 2004 14:02, Sergey 'DoubleF' Zaharchenko wrote:
 On Wed, 3 Mar 2004 06:23:28 +

 Daniela [EMAIL PROTECTED] probably wrote:
  In this situation, I can only use a single-byte instruction to push 4
  bytes, everything else costs me too much space. The only one I know of,
  is PUSHA, but it pushes too many bytes.

 Quoting from dev-handbook:
  But assembly language programmers like to shave off cycles. The above
  example requires a call/ret combination. We can eliminate it by
  pushing an extra dword:
 
  open:
  pushdword mode
  pushdword flags
  pushdword path
  mov eax, 5
  pusheax ; Or any other dword
  int 80h
  add esp, byte 16
 
  The 5 that we have placed in EAX identifies the kernel function, in
  this case open.

 The last time I wrote `push ebp \n mov ebp, esp' the push took 1
 byte :). `push your_favorite_reg' will work, as the kernel doesn't
 really care for the value of the dword.

Ah yes, thanks. I read that part of the handbook multiple times and never 
understood what that push eax is good for.
I was looking at an incomplete opcode list where that instruction is not even 
listed.


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


Re[2]: Once again floppy mounting problem

2004-03-03 Thread Robert Golovniov
On Tuesday, March 2, 2004, 12:09:19 PM, Koltunov Andrey wrote:

KA This is the ACPI problem. Turn off ACPI in BIOS and boot without ACPI support
KA or use devel/acpicatools

Its  seems  I've done something wrong the first time. When I looked at
it once again, it solved the problem.

Now, is it a bug that will be fixed in a next release or should I just
learn to live with it?

-- 
 -=Robert  Beata Golovniov | Lviv, Ukraine=-
~~
mailto:[EMAIL PROTECTED]Body=Embedded%20key
~~

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


Re: priority-- curious about cpu resouce share

2004-03-03 Thread Zhang Weiwu
Sergey 'DoubleF' Zaharchenko wrote:

* sshd almost starves; it takes 0.00% (normally 2%) and only transfer 
several bytes once several minutes; the otherside scp prompts stalled.
   

sshd doesn't starve CPU, I guess; as you reach it through ppp, and ppp
gets slow, sshd does, too.
 

Sounds reasonable:)

Things can hardly be perfect. Now I begin to use mpg123, I used your 
method of rtprio up and su back, very useful to me.

But if mpg123 has higher priority than ppp, sometimes mpg123 decides to 
move to another song, it reloads buffer, starveing ppp and timeouting 
bluetooth device... If mpg123 has equal/lower priority with ppp, they 
struggle for CPU, and that *sounds* bad. Now I adjusted buffer, it works 
so so.

I read the handbook it says no way to limit CPU percentage. It's my 
toy, a old P166M box, I let other people in the office ssh to the box 
with cmp3 console DJ (backended mpg123) to play music, because it has 
good speakers. I use ppp over bluetooth to connect to the box when I'm 
enjoying sun shine outdoor.

The best way seems to buy a new one:)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache

2004-03-03 Thread Bob Collins
On Tue, Mar  2, 2004, Michael Banta clacked the keyboard to produce:
 
 Hello.
 
 I just installed Apache wilthout error.  I started apache and did a ps aux.  It 
 appears to be running fine.  However I cannot bring up the default webpage.  Doing 
 lynx localhost does not work.  I set the Servername variable in the config file to 
 localhost, just to test.  Everything appears to be in order.  Any suggestions?
 
 Thanks
 Mike

It sounds like a hostname error. Does Apache know it is answering as
localhost? You may want to double-check your `Listen' and `ServerName'
directives.

A quick test is to try lynx to the local ip address and see what
happens. BTW, did you run `apachectl configtest' prior to starting
Apache? That will help you with any issues, although if it is running, I
am not sure configtest would find it.

-- 
Bob

Play is the work of children. It's very serious stuff. And if it's
properly structured in a developmental program, children can blossom.
-Bob Keeshan aka `Captain Kangaroo'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is the handbook no longer installed?

2004-03-03 Thread Randy Bush
 but /usr/share/doc/handbook IS the link,
 right?  The book's real path is:
 
 /usr/share/doc/en_US.ISO8859-1/books/handbook

yep, if you like antiques.  which is the problem.

randy

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


RE: downloading text files from apache

2004-03-03 Thread fbsd_user
I got no info found for man mime.types

Are you saying that if I delete the statement for .txt out of the
/usr/local/etc/apache/mime.types file that apache will
download .txt files?

Is there some statement I can add to httpd.conf to over ride
the mime.types file?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter
Risdon
Sent: Wednesday, March 03, 2004 9:38 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: downloading text files from apache

fbsd_user wrote:

From my web page I link to .zip, .tgz, and .exe files and when the
link
is clicked, apache will open window to download the file.

When I link to an .txt file it gets opened and displayed. I want to
have it open for download like the other files.

Is there some config option in httpd.conf that I have missed?


To understand the issue, read the man page for mime.types(5), and
look
at /usr/local/etc/apache/mime.types

Text files are meant to be displayed like that. Easiest answer is to
compress them and offer the compressed version for download.

PWR.

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

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


Re: Apache

2004-03-03 Thread Nathan Kinkade
On Tue, Mar 02, 2004 at 05:03:24PM -0500, Michael Banta wrote:
 
 Hello.
 
 I just installed Apache wilthout error.  I started apache and did a ps
 aux.  It appears to be running fine.  However I cannot bring up the
 default webpage.  Doing lynx localhost does not work.  I set the
 Servername variable in the config file to localhost, just to test.
 Everything appears to be in order.  Any suggestions?
 
 Thanks
 Mike

Does the machine have any type of firewall running?  What error does the
browser give you? Page not found? Connection refused?  Just to be sure
that Apache is listening on port 80, does `sockstat -l4 | grep httpd'
return results that indicate that Aapache is listening?  Is there and
index file at /usr/local/www/data?  Also, remember that once you edit
httpd.conf you must restart or HUP Apache.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: phpnuke forbidden, how to install?

2004-03-03 Thread Simon Barner
[EMAIL PROTECTED] wrote:
 i wanted to install phpnuke for content but after cvsuping i found out that
 
 ===  phpnuke-6.9 is forbidden: SQL injection vulnerability in Php-Nuke =
 7.1.0.

Hi,

I have created a patch that contains the security fixes from the web
site.

It's available here:

http://home.leo.org/~barner/phpnuke-sec-fixes.patch.bz2

Could you please test whether phpnuke works as exspected after applying
the patch?

 cd /usr/ports/www
 cat /path/to/phpnuke-sec-fixes.patch.bz2 | bunzip2 | patch -p
 cd phpnuke
 find . -name *.orig -exec rm {} \;
 make build

If your tests are successfull, I will file a PR in order to the the port
updated.

Simon


pgp0.pgp
Description: PGP signature


Re: Is the handbook no longer installed?

2004-03-03 Thread Randy Bush
 I just discoverd that on a machine I recently rebuilt, I have a dead link
 to /usr/share/doc/handbook. Is this not installed now? 
 same problem.  and i am a religious cvsupper.
 cvsup won't help, unless you build the whole thing from sources

that is what i do.

 in which case you would understand it thoroughly from reading the
 FreeBSD Documentation Project Handbook.

thoroughly would be quite overly kind to the doc

 If you are interested in reading it rather than changing it, just
 download it from the FTP sites as described at the front of the
 document.

been there, done that too.  error in jade.  but working on it.

do you have any actual help, or just prefer sarcasm and put-down?

randy

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


Re: Is the handbook no longer installed?

2004-03-03 Thread Randy Bush
one basic question is where is the normal place for the
handbook?  is is /usr/doc or /usr/share/doc?  an iso
install puts in in /usr/share/doc, and a 'normal' cvsup
puts it in /usr/doc because one normally (yes, there
is no normal:-) has 
   *default base=/usr

randy

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


qmail revisited

2004-03-03 Thread Brian H
Greeting:

sorry for bringing up qmail again.
I am able to get my mail sent to my user account henninb, but i can't get 
mail for root or postmaaster.
I am trying to use qmail with the Maildir protocol.

here is what i get in my log file.

Mar  3 09:30:34 patriot qmail: 1078327834.967178 starting delivery 600: msg 
1784
to local [EMAIL PROTECTED]
Mar  3 09:30:34 patriot qmail: 1078327834.969457 status: local 1/10 remote 
0/20
Mar  3 09:30:34 patriot qmail: 1078327834.990817 delivery 600: deferral: 
Unable_
to_chdir_to_maildir._(#4.2.1)/
Mar  3 09:30:34 patriot qmail: 1078327834.991689 status: local 0/10 remote 
0/20
Mar  3 09:34:39 patriot qmail: 1078328079.975081 starting delivery 601: msg 
1788
to local [EMAIL PROTECTED]
Mar  3 09:34:39 patriot qmail: 1078328079.977367 status: local 1/10 remote 
0/20
Mar  3 09:34:39 patriot qmail: 1078328079.998920 delivery 601: deferral: 
Unable_
to_chdir_to_maildir._(#4.2.1)/
Mar  3 09:34:39 patriot qmail: 1078328079.999756 status: local 0/10 remote 
0/20

I read in the documentation that no mail can be sent to the root account, 
but I thought it said you could have it sent there if you like.
On thing i noticed on my user account is that my ~/.qmail and 
~alias/qmail-henninb
file don't do anything either because when I remove them the mail still gets 
delivered to
my Maildir.

I put entries in them like: ./Maildir/ , but that

how can i get my ~/.qmail or ~alias/qmail-root file working for root and 
postmaster?

Thanks,

Brian

_
Frustrated with dial-up? Lightning-fast Internet access for as low as 
$29.95/month. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/

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


Re: phpnuke forbidden, how to install?

2004-03-03 Thread Simon Barner
 http://home.leo.org/~barner/phpnuke-sec-fixes.patch.bz2

I just noticed that the patches I used were for phpnuke 6.0, and it
seems that there are no fixes for v. 6.9 available.

The above patch is no longer online, so please consider the
vulnerability _NOT_ to be fixed.

Sorry for the noise!

Simon


pgp0.pgp
Description: PGP signature


Re: Is the handbook no longer installed?

2004-03-03 Thread Ceri Davies
On Wed, Mar 03, 2004 at 07:37:32AM -0800, Randy Bush wrote:
 one basic question is where is the normal place for the
 handbook?  is is /usr/doc or /usr/share/doc?  an iso
 install puts in in /usr/share/doc, and a 'normal' cvsup
 puts it in /usr/doc because one normally (yes, there
 is no normal:-) has 
*default base=/usr

/usr/doc is the canonical place for the sources, which should get
installed into /usr/share/doc after a cd /usr/doc;make install.

Ceri

-- 


pgp0.pgp
Description: PGP signature


Curious sound problem in 5.2.1-R

2004-03-03 Thread Doug Poland
Hello,

I'd like to preface this with the statement that I'm a long-time 4.x user but brand-new
to the 5.x series.  Also, I'm not sure if this belongs on -CURRENT or not, but, here
goes...

I'm trying to get sound working on a Dell Dimension 4600 with the following audio 
device:

pcm0: Intel ICH5 (82801EB) port 0xedc0-0xedff,0xee00-0xeeff mem
0xfeb7f900-0xfeb7f9ff,0xfeb7fa00-0xfeb7fbff irq 3 at device 31.5 on pci0
pcm0: Analog Devices AD1980 AC97 Codec

This dmesg snippet comes from a FreesBIE 5.2 based bootable, live CD (which, BTW, I
think is awesome).  Running FreesBIE 5.2, I've got working sound and dsp devices in
/dev.

Then I installed 5.2.1-RELEASE on this same box, but, the audio device is not found, 
i.e.,
pci0: multimedia, audio at device 31.5 (no driver attached).  Consequently, no sound.

So the question, how do I get the sound chip to be recognized?  Obviously, it's working
on a 5.2-based release from the FreesBIE folks.  I've googled, checked the handbook, 
and
looked at the kernel and /boot/ stuff but to no avail.

Many thanks for your help and a fine OS.

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


Re: Curious sound problem in 5.2.1-R

2004-03-03 Thread Jorn Argelo

Have you compiled the following in your kernel?

device  pcm
device  sbc

Cheers,

Jorn

On 3/3/2004, Doug Poland [EMAIL PROTECTED] wrote:

Hello,

I'd like to preface this with the statement that I'm a long-time 4.x user but 
brand-new
to the 5.x series.  Also, I'm not sure if this belongs on -CURRENT or not, but, here
goes...

I'm trying to get sound working on a Dell Dimension 4600 with the following audio 
device:

pcm0: Intel ICH5 (82801EB) port 0xedc0-0xedff,0xee00-0xeeff mem
0xfeb7f900-0xfeb7f9ff,0xfeb7fa00-0xfeb7fbff irq 3 at device 31.5 on pci0
pcm0: Analog Devices AD1980 AC97 Codec

This dmesg snippet comes from a FreesBIE 5.2 based bootable, live CD (which, BTW, I
think is awesome).  Running FreesBIE 5.2, I've got working sound and dsp devices in
/dev.

Then I installed 5.2.1-RELEASE on this same box, but, the audio device is not found, 
i.e.,
pci0: multimedia, audio at device 31.5 (no driver attached).  Consequently, no 
sound.

So the question, how do I get the sound chip to be recognized?  Obviously, it's 
working
on a 5.2-based release from the FreesBIE folks.  I've googled, checked the handbook, 
and
looked at the kernel and /boot/ stuff but to no avail.

Many thanks for your help and a fine OS.

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


Re: Is the handbook no longer installed?

2004-03-03 Thread Lowell Gilbert
Randy Bush [EMAIL PROTECTED] writes:

 one basic question is where is the normal place for the
 handbook?  is is /usr/doc or /usr/share/doc?  an iso
 install puts in in /usr/share/doc, and a 'normal' cvsup
 puts it in /usr/doc because one normally (yes, there
 is no normal:-) has 
*default base=/usr

The normal place for the sources is /usr/doc, which is what your
supfile is doing.  [I put mine in /usr/src/doc, but that's just me.]
The normal place for the built docs is in /usr/share/doc, which is
where the docs build will put it by default.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache log files rotation

2004-03-03 Thread Dave McCammon

--- fbsd_user [EMAIL PROTECTED] wrote:
 Can apache logs be rotated by /etc/newsyslog.conf?
 If not, how is it normally done?
 
 ___


Here is the relevent portion of my newsyslog.conf

/var/log/httpd-access.log 640  14*$D0   Z 
 /var/run/httpd.pid
/var/log/httpd-error.log  640  14*$D0   Z 
 /var/run/httpd.pid

man newsyslog for more info on the fields.



__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is the handbook no longer installed?

2004-03-03 Thread Lowell Gilbert
Randy Bush [EMAIL PROTECTED] writes:

  I just discoverd that on a machine I recently rebuilt, I have a dead link
  to /usr/share/doc/handbook. Is this not installed now? 
  same problem.  and i am a religious cvsupper.
  cvsup won't help, unless you build the whole thing from sources
 
 that is what i do.

It would have been appreciated if you'd mentioned that earlier.

  in which case you would understand it thoroughly from reading the
  FreeBSD Documentation Project Handbook.
 
 thoroughly would be quite overly kind to the doc

Then don't build from sources; just download it pre-built.

  If you are interested in reading it rather than changing it, just
  download it from the FTP sites as described at the front of the
  document.
 
 been there, done that too.  error in jade.  but working on it.
 
 do you have any actual help, or just prefer sarcasm and put-down?

I was not being sarcastic.  I was suggesting you download the Handbook
from the FTP sites, not cvsup the Handbook's sources.  That would not
involve jade at all, so you clearly didn't comprehend the advice I was
attempting to convey.  

The following two commands would give you an updated copy of the
Handbook in html-split format (you can get any other supported format
in similar fashion):

# fetch 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/book.html-split.tar.bz2
# tar -C /usr/share/doc/en_US.ISO8859-1/books/handbook -xjf book.html-split.tar.bz2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfilter 'keep frags' question

2004-03-03 Thread Shaun T. Erickson
Are only tcp packets subject to fragmentation, or are udp and icmp, as well?

	-ste

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


Re: Curious sound problem in 5.2.1-R

2004-03-03 Thread Aaron Peterson
 Have you compiled the following in your kernel?

 device  pcm
 device  sbc

or alternatively add this to your /boot/loader.conf

snd_ich_load=YES

then run kldload snd_ich.ko as root...

adding to loader.conf makes the proper sound driver load at boot, the
kldload command loads it from the command line so you don't have to
reboot.

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


Re: 1 processor vs. 2

2004-03-03 Thread Matthew Seaman
On Wed, Mar 03, 2004 at 02:53:49PM +0100, Danny Pansters wrote:
 On Wednesday 03 March 2004 14:05, Stefan Cars wrote:
  Dual Xeon, 2.4 GHZ with 2GB of RAM or Xeon 3.0 GHZ with 2GB of RAM
  and
  RAID-1 on three disks or RAID-5 on three disks.
 
 RAID5 on 3 disks? That's useless.

3 disks is the minimum quantity for RAID5: it's certainly not ideal,
but it is by no means useless.  RAID5 setups can span 3 or more drives
-- I don't know what the practical limit is for Vinum or typical PC
raid controller cards, but the last time I used it (which I admit was
some years ago) Veritas Volumne Manager under Solaris made the strong
suggestion that no more than 7 drives be put into one RAID5 group.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Curious sound problem in 5.2.1-R

2004-03-03 Thread Doug Poland
Jorn Argelo said:

 Have you compiled the following in your kernel?

 device  pcm
 device  sbc


shocked and slightly embarrased

No, I interpreted the handbook (16.2.1 Locating the Correct Device) as meaning
sound support would be loaded as a kernel module.  Also, device pcm doesn't exist
in GENERIC or GENERIC.hints , which only confuses me more.

/shocked and slightly embarrased



 On 3/3/2004, Doug Poland [EMAIL PROTECTED] wrote:

Hello,

I'd like to preface this with the statement that I'm a long-time 4.x user but 
brand-new
to the 5.x series.  Also, I'm not sure if this belongs on -CURRENT or not, but, here
goes...

I'm trying to get sound working on a Dell Dimension 4600 with the following audio
 device:

pcm0: Intel ICH5 (82801EB) port 0xedc0-0xedff,0xee00-0xeeff mem
0xfeb7f900-0xfeb7f9ff,0xfeb7fa00-0xfeb7fbff irq 3 at device 31.5 on pci0
pcm0: Analog Devices AD1980 AC97 Codec

This dmesg snippet comes from a FreesBIE 5.2 based bootable, live CD (which, BTW, I
think is awesome).  Running FreesBIE 5.2, I've got working sound and dsp devices in
/dev.

Then I installed 5.2.1-RELEASE on this same box, but, the audio device is not found,
 i.e.,
pci0: multimedia, audio at device 31.5 (no driver attached).  Consequently, no 
sound.

So the question, how do I get the sound chip to be recognized?  Obviously, it's 
working
on a 5.2-based release from the FreesBIE folks.  I've googled, checked the handbook,
 and
looked at the kernel and /boot/ stuff but to no avail.

Many thanks for your help and a fine OS.

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



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


Re: Curious sound problem in 5.2.1-R

2004-03-03 Thread Doug Poland

Aaron Peterson said:
 Have you compiled the following in your kernel?

 device  pcm
 device  sbc

 or alternatively add this to your /boot/loader.conf

 snd_ich_load=YES

 then run kldload snd_ich.ko as root...

 adding to loader.conf makes the proper sound driver load at boot, the
 kldload command loads it from the command line so you don't have to
 reboot.

Thanks Aaron, that's all I needed to do.  If you don't mind, how does
a mere mortal determine that the snd_ich.ko is the module for an Intel
ICH5 82801EB sound chip?

-- 
Regards,
Doug

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


Re: Size of variables in awk

2004-03-03 Thread Dan Nelson
In the last episode (Mar 03), Wayne Sierke said:
 On Wed, 2004-03-03 at 18:34, Dan Nelson wrote:
  In the last episode (Mar 03), Wayne Sierke said:
   It seems I've run into the 32-bit signed number wall in awk
   (5.2-RELEASE).
   
   My totals are maxing out at 2147483648.
   
   Would anyone happen to know whether that's really the case (that awk is
   only implemented with 32-bit number capability - unfortunately I don't
   have any other awks nearby to verify nor can I find any reference info
   that indicates) and/or can suggest a way around it?
  
  Seems to works fine on -current:
  
  $ jot 8 30 | awk '{ print 2^$1 }'
 
 Ah, ok. Same for me on 5.2-RELEASE. More info:
 
 I'm using the printf function in awk but something ain't right:
 
 # jot 4 30 | awk '{ printf(%u\n, 2^$1-1) }'
 2147483648
 
 # jot 4 30 | awk '{ printf(%lu\n, 2^$1-1) }'
 2147483648
 
 # jot 4 30 | awk '{ printf(%llu\n, 2^$1-1) }'
 35186519572480

I see nothing wrong here.  %u is an unsigned int, and on x86 systems,
an int is 32 bits.  %llu is a long long unsigned int, and they are 64
bits.  Since there is no way for C to print a number larger than 64
bits, you won't be able to use the numeric specifiers to print large
numbers.  You can use %s though.  See
/usr/src/contrib/one-true-awk/run.c, the format() function.

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


Problem in starting GNOME

2004-03-03 Thread Stephen Liu
Hi folks,

FreeBSD 5.2
=

On multi-user shell
# gnome-session
could not start 'GNOME.

It must start Xterm first and then from Xterm window starts GNOME.  Besides 
GNOME takes long time to start.

If booting to GUI login screen there are only 2 options there, KDE and 
Failsafe, for selection

#cat /etc/ttys

ttyv8   /usr/local/bin/kdm -nodaemon  xterm on secure


Kindly advise how to make 'GNOME' available for selection on the GUI login 
screen.

Remark: KDE starting has no problem

TIA

B.R.
Stephen Liu


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


Re: hello

2004-03-03 Thread Peter Ulrich Kruppa
On Tue, 2 Mar 2004, dimitar georgiev wrote:

 hello
 can you tell me what is the best freebsd version, also stable for web servers.
I guess 4.9 -RELEASE is what you want.

Take a look at the excellent documentation on
www.freebsd.org/handbook
to get started.

Have fun!

Uli.



 -
 Do you Yahoo!?
 Yahoo! Search - Find what you’re looking for faster.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with thread libraries (+ libmap.conf??)

2004-03-03 Thread Robert Huff

I'm getting:

Fatal error 'Spinlock called when not threaded.' at line 83 in file
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)

for a number of programs.  I though this was supposed to be
fixed by putting:

libc_r.so   libpthread.so
libkse.so   libpthread.so

in /etc/libmap.conf.  Am I correct?
If so - how do I get this to take effect?  Re-run ldconfig?
Reboot the system?


Robert Huff




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


Re: Curious sound problem in 5.2.1-R

2004-03-03 Thread Aaron Peterson
 or alternatively add this to your /boot/loader.conf

 snd_ich_load=YES

 then run kldload snd_ich.ko as root...

 adding to loader.conf makes the proper sound driver load at boot, the
 kldload command loads it from the command line so you don't have to
 reboot.

 Thanks Aaron, that's all I needed to do.  If you don't mind, how does
 a mere mortal determine that the snd_ich.ko is the module for an Intel
 ICH5 82801EB sound chip?

i'm quite sure i figured it out the long way.  However, it was quick and
dirty, and should work on any system I think...

1) I installed, xmms (or any program to play audio I think would work)
2) ran a short shell script as follows:

cd $MODULES_DIRECTORY  # /modules on 4.x and /boot/kernel on 5.x
for f in snd_*; do kldload $f; done #this loads every possible sound module

3) play music with xmms
4) while music is playing execute the following:

cd $MODULES_DIRECTORY
for f in snd_*; do kldunload $f; done #this unloads all snd modules,
however the one in use fails :)

5) kldstat # to view current loaded modules.

I'm sure I could just have looked it up somewhere, but I'm backwards.
Aaron

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


RE: Apache

2004-03-03 Thread Sunil Sunder Raj
Hi,
The value in the servername variable should resolv properly to an IP 
address. Set the value in the /etc/hosts file OR get it resolved by your DBS 
server.

Regards
SSR

From: Michael Banta [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Apache
Date: Tue, 2 Mar 2004 17:03:24 -0500
Hello.

I just installed Apache wilthout error.  I started apache and did a ps aux. 
 It appears to be running fine.  However I cannot bring up the default 
webpage.  Doing lynx localhost does not work.  I set the Servername 
variable in the config file to localhost, just to test.  Everything appears 
to be in order.  Any suggestions?

Thanks
Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Contact brides  grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag 
Only on www.shaadi.com. Register now!

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


mysql in a jail

2004-03-03 Thread doug
I have a system running four jails. MySQL is running in two of the jails and I
am trying to add it to a 3rd jail. Starting the server gets the message:

  040302 19:34:15  mysql started
  040302 19:34:15  Can't start server : Bind on unix socket: Permission denied
  040302 19:34:15  Do you already have another mysqld server running on socket:
   /tmp/mysql.sock ?
  040302 19:34:15  Aborting
  040302 19:34:15  /usr/local/libexec/mysqld: Shutdown Complete
  040302 19:34:15  mysqld ended

The new jail was created by copying the file tree from a jail that had the
desired configuration and then doing clean-up as required. In response to the
error I tried configuring mysqld to use a different port and socket file. That
did not fix the problem. I had forgotten the other two mysql's are using port
3306 and /tmp/mysql.sock.

I next removed mysql and its dependencies and reinstalled mysql-server-4.0.16
using pkg_add. I am still getting the same error. At this point I think it is a
jail problem with something I missed in clean-up but I do not know where to look
next.

Having done all this, I recalled in installing the 2nd MySQL jail, it was
necessary to remove and reinstall mysql. In that instance the re-installation
solved the problem.

Thanks for any ideas.

_
Douglas Denault
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sophos anti virus and mailmonitor on freebsd

2004-03-03 Thread Aaron Sloan
On Wed, 3 Mar 2004 12:50:18 +
Scott [EMAIL PROTECTED] wrote:

 Hi all,
 
 I'm trying to get Sophos Mailmonitor running on my 5.2 box, but to no avail.
 
 Below is a sequence of events...
 
 Installed Sophos Anti-virus for FreeBSD 3+.  Sweep (the executable) works fine.
 File '/usr/local/bin/sweep' is of brand 'SVR4' (0).
 File '/usr/local/lib/libsavi.so.3.2.07.054' is of brand 'SVR4' (0).  This is a 
 library both SAV and MailMonitor use.
 
 Installed MailMonitor for Linux (there is no FreeBSD version).  The install works a 
 treat.
 The executable is called mmsmtpd, there is also a (library?) file called mmsmtp.out.
 File '/usr/local/sophos/mmsmtp/bin/mmsmtp.out' is of brand 'SVR4' (0).
 
 Installed linux_base-6.1_5 via packages
 Loaded linux.lo
 kldstat says:
 Id Refs AddressSize Name
  19 0xc040 5d7f1c   kernel
  21 0xc09d8000 51a18acpi.ko
  31 0xc24bb000 2000 dragon_saver.ko
  41 0xc24e7000 19000linux.ko
 
 From /usr/local/sophos/mmsmtp/bin/ ran ./mmstpd -start
 Got the following error:
 /usr/local/sophos/mmsmtp-1.2.2/Linux-x86/bin/mmsmtp.out: error in loading shared 
 libraries: libsavi.so.2: cannot open shared object file: No such file or directory
 
 Created symlink /lib/ (was this correct?)
 ln -s /usr/local/lib/libsavi.so.3.2.07.054 /lib/libsavi.so.2
 
 From /usr/local/sophos/mmsmtp/bin/ ran ./mmstpd -start
 Got the following error:
 /usr/local/sophos/mmsmtp-1.2.2/Linux-x86/bin/mmsmtp.out: error in loading shared 
 libraries: libsavi.so.2: ELF file ABI version invalid.
 
 Then I started trying everything...
 
 brandelf -t Linux /usr/local/lib/libsavi.so.3.2.07.054
 From /usr/local/sophos/mmsmtp/bin/ ran ./mmstpd -start
 Got the following error:
 /usr/local/sophos/mmsmtp-1.2.2/Linux-x86/bin/mmsmtp.out: error in loading shared 
 libraries: libsavi.so.2: ELF file OS ABI invalid.
 
 So now I'm stuck.  I'd appreciate any help anyone might have!
 I've done a search on freebsd-emulation but no luck.
 
 Thanks in advance
 Scott
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Sorry I can't help..
I'm curious if you tried sophos support?
I'm going to be doing the same in the next few months and would be interested on what 
you find out.
Aaron
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qmail revisited

2004-03-03 Thread Rob McQuillen
On Wednesday 03 March 2004 09:41 am, Brian H wrote:
 sorry for bringing up qmail again.

It's OT on freebsd-questions, so I'm replying privately...

 I am able to get my mail sent to my user account henninb, but i can't
 get mail for root or postmaaster.

Have you read www.lifewithqmail.org?

 I am trying to use qmail with the Maildir protocol.

Maildir is not a protocol, but a different mail storage format (others 
are mbox and /var/spool/mail).

 I read in the documentation that no mail can be sent to the root
 account, but I thought it said you could have it sent there if you
 like. On thing i noticed on my user account is that my ~/.qmail and
 ~alias/qmail-henninb
 file don't do anything either because when I remove them the mail
 still gets delivered to
 my Maildir.

You can *send* mail to root, but it won't be delivered unless you 
arrange for an unprivileged user to pick it up. See below.

 how can i get my ~/.qmail or ~alias/qmail-root file working for root
 and postmaster?

$ echo henninb  /var/qmail/alias/.qmail-root
$ echo henninb  /var/qmail/alias/.qmail-postmaster

should suffice for you. You can safely remove henninb's $HOME/.qmail 
file- if it doesn't exist, mail is delivered to your Maildir (or 
whatever argument to qmail-start is in your startup scripts).

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


Re: latest security advisory and 5.1R

2004-03-03 Thread Matthew Seaman
On Wed, Mar 03, 2004 at 09:00:09AM -0500, Ed Budd wrote:
 
 I think what's confusing me here is that I assumed that 5.1R was
 still officially supported and every other advisory up to this one has
 been included, like last week's FreeBSD-SA-04:03.jail advisory, for
 example. So am I to assume then that as of this week 5.1R is no longer
 officially supported?

Hmmm... Well, the official word on the subject should be the page at
http://www.freebsd.org/releng/index.html, and yes, that does imply
that 5.1-R is a supported security fix branch, but a quick check in
CVS shows no patches have been applied to that branch.
 
There are some changes in the affected files in src/sys/netinet/
between RELENG_4_8, RELENG_4_9, RELENG_5_1 and RELENG_5_2, but the
patch applied to 5.2 was quite similar to the one applied to 4.8 or
4.9, so I'd guess that the affected section of code is still there in
the RELENG_5_1 sources.  No idea if you can merge in the changes on
the RELENG_5_2 branch to the RELENG_5_1 branch without modification
though.

You might want to ask on freebsd-security@ if 5.1-R is still a
supported security fix branch.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Help Setting Up .bashrc

2004-03-03 Thread Peter Risdon
Bob Perry wrote:

Hello,

My environment variables indicate SHELL=/usr/local/bin/bash and
ENV=/home/rperry/.shrc.  My understanding is that bash reads
~/.bashrc for interactive shells and $ENV for non-interactive shells.
I don't have the ~/.bashrc file.  Neither do I have a ~/.bash_profile,
or a ~/.bash_login file.
I also see where the startup files for bash are .profile and .bashrc.
One of the settings in my .profile indicates that ENV=$HOME/.shrc;
export ENV.
I've read where bash will read other files (e.g., .shrc, etc.) when 
it's own
initialization files are not present but I'd like to set up the 
appropriate
bash files anyway.  I've seen examples of the .bashrc file in some text
but was looking for something from within FreeBSD.  I found some
/src/share/skel/dot.* files but none for bash.  Can anyone tell me if 
such
sample files exists and where I might find them?  Do I need really need
them?

Thank you.
Bob Perry
man bash:

When  bash is invoked as an interactive login shell, or as a non-inter-
  active shell with the --login option, it first reads and 
executes  com-
  mands  from  the file /etc/profile, if that file exists.  After 
reading
  that file, it looks for ~/.bash_profile, ~/.bash_login, and 
~/.profile,
  in  that order, and reads and executes commands from the first 
one that
  exists and is readable.  The --noprofile option may be  used  
when  the
  shell is started to inhibit this behavior.

So the skel/dot.profile is used by bash.

PWR.

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


Re: latest security advisory and 5.1R

2004-03-03 Thread Matthew Seaman
On Wed, Mar 03, 2004 at 08:35:00AM -0600, Ronald Clark wrote:

 I have what I hope is a simple question. If I cvsup my sources and
 complete the makeworld and installworld processes, will that install the
 patch, or do I need to apply manually and recompile the kernel? (I have
 been under the impression that doing a cvsup would download and install
 the patch when sources were updated)

So long as you are cvsup'ing one of the branches where the fix has
been applied: that's HEAD, RELENG_5_2, RELENG_4_9, RELENG_4_8 or
RELENG_4, then yes: cvsup, followed by make
{build,install}{world,kernel} will remove the vulnerability.  It seems
that the fix has not been applied to the RELENG_5_1 branch, so
5.1-RELEASE users really should think about upgrading to
5.2.1-RELEASE.

You can download the patches as shown in the advisory and apply them
by hand if you really want to, but that should be left to masochists
only as it does pretty well exactly what cvsup'ing does, except it
takes a lot more concentration and has a greater risk of fat-fingering
the keyboard and so shooting yourself in the foot.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: phpnuke forbidden, how to install?

2004-03-03 Thread Simon Barner
Oliver Eikemeier wrote:
 [EMAIL PROTECTED] wrote:
 
 i wanted to install phpnuke for content but after cvsuping i found out that
 
 ===  phpnuke-6.9 is forbidden: SQL injection vulnerability in Php-Nuke =
 7.1.0.
 
 and i checked the phpnuke website, they have a patched version of phpnuke.
 
 Where did you find that? I can't even find a security link.
 

He probably refers to the following two fixes from 2003 (from which I
produced my bad patch :((

http://www.phpnuke.org/modules.php?name=Downloadsd_op=searchquery=security

Security Fixes for PHP-Nuke 6.0 (1+2).

Simon


pgp0.pgp
Description: PGP signature


Keyspan USB Serial Adapter on FreeBSD 5.1

2004-03-03 Thread Gilles Celli
Hi,

This is my very first posting on the freebsd-questions mailing list :)

I tried to install a Keyspan USB Serial Adapter model: USA19 on FreeBSD 
5.1.
FreeBSD recognizes it with no problem (/var/log/messages)
kernel: ugen0: Keyspan USA-19 serial adapter, rev 1.00/80.01, addr 2

However trying to open /dev/ugen0 a device (Thermometer) connected on 
the USB Serial port
it says that it can't open it. And yes /dev/ugen0 exists. In fact it's 
a C program which opens /dev/ugen0.

On Linux (kernel 2.4.22) (/dev/ttyUSB0)  it works, but I would like to 
test it also on FreeBSD.

Any tips/tricks are greatly appreciated. Thanks a lot.

Gilles

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


Re: Is the handbook no longer installed?

2004-03-03 Thread Randy Bush
 /usr/doc is the canonical place for the sources, which should get
 installed into /usr/share/doc after a cd /usr/doc;make install.

close to bottom line:

doc is not made with buildworld.  i guess it's off-planet.
or maybe just outta this world.

one needs to

cd /usr/ports/textproc/docproj
make JADETEX=no install   # or portupgrade with the hack in
  # /usr/local/etc/pkgtools.conf
cd /usr/doc
make FORMATS=html install # or whatever your favorite flavor is

except the search link in the first para still does not work.
there is no /search/index.html.

randy

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


RE: latest security advisory and 5.1R

2004-03-03 Thread fbsd_user
Are the security advisory fixes rolled into the .iso ftp download
images?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matthew
Seaman
Sent: Wednesday, March 03, 2004 11:40 AM
To: Ronald Clark
Cc: [EMAIL PROTECTED]
Subject: Re: latest security advisory and 5.1R

On Wed, Mar 03, 2004 at 08:35:00AM -0600, Ronald Clark wrote:

 I have what I hope is a simple question. If I cvsup my sources and
 complete the makeworld and installworld processes, will that
install the
 patch, or do I need to apply manually and recompile the kernel? (I
have
 been under the impression that doing a cvsup would download and
install
 the patch when sources were updated)

So long as you are cvsup'ing one of the branches where the fix has
been applied: that's HEAD, RELENG_5_2, RELENG_4_9, RELENG_4_8 or
RELENG_4, then yes: cvsup, followed by make
{build,install}{world,kernel} will remove the vulnerability.  It
seems
that the fix has not been applied to the RELENG_5_1 branch, so
5.1-RELEASE users really should think about upgrading to
5.2.1-RELEASE.

You can download the patches as shown in the advisory and apply them
by hand if you really want to, but that should be left to masochists
only as it does pretty well exactly what cvsup'ing does, except it
takes a lot more concentration and has a greater risk of
fat-fingering
the keyboard and so shooting yourself in the foot.

Cheers,

Matthew

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

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


Re: downloading text files from apache

2004-03-03 Thread Peter Risdon
fbsd_user wrote:

I got no info found for man mime.types
 

No, my fingers were ahead of my brain... mime.types(5) is put there by 
cups and refers to its own mime.types file.

Are you saying that if I delete the statement for .txt out of the
/usr/local/etc/apache/mime.types file that apache will
download .txt files?
 

I'm not advocating that. I'm advocating that you understand what this 
will do and why before thinking of doing it, and that in the meantime 
you compress any text files you want to make available for download, so 
they download as .zip, .gz or whatever.

Apache's documentation says of the mime.types file:

This file sets the default list of mappings from filename extensions to 
content types; changing this file is not recommended.
(http://httpd.apache.org/docs/mod/mod_mime.html#typesconfig)

Note there is an entry for zip files in mime.types with an extension, 
and one for gzipped files without an extension. Both download as you 
want on your computer but will behave slightly differently on some other 
machines. The server and browser are interacting here. It's worth 
learning about it properly before editing a configuration file.

Is there some statement I can add to httpd.conf to over ride
the mime.types file?
 

There's an AddType statement for adding new mime types. That won't help 
you here, though.

Bear in mind that when a browser displays a text file, it _has_ 
downloaded it. If the viewer wants to save it, they can. It's displayed 
to be helpful. Text files can be read and displayed by browsers. 
Changing this will change it everywhere, with everything the server 
does. Are you sure that's what you want?

PWR.

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


Installing Squirrel Mail from the Ports

2004-03-03 Thread whizkid
Running FreeBSD 5.1, I Just ran CVSUP on my ports to bring them current. 
When I try to install Squirrelmail from /usr/ports/mail/squirrelmail I get
the following error:

SquirrelMail is installed into /usr/local/www/squirrelmail
To use the old location /usr/local/squirrelmail define
WITHOUT_WWWDIR when patching or installing

===  Vulnerability check disabled
===  Extracting for squirrelmail-1.4.2_1
 Checksum mismatch for squirrelmail-1.4.2.tar.bz2.
===  Refetch for 1 more times files: squirrelmail-1.4.2.tar.bz2
SquirrelMail is installed into /usr/local/www/squirrelmail
To use the old location /usr/local/squirrelmail define
WITHOUT_WWWDIR when patching or installing

===  Vulnerability check disabled
 squirrelmail-1.4.2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from http://eu.dl.sourceforge.net/squirrelmail/.
fetch:
http://eu.dl.sourceforge.net/squirrelmail/squirrelmail-1.4.2.tar.bz2:
Requested Range Not Satisfiable
 Attempting to fetch from http://us.dl.sourceforge.net/squirrelmail/.
fetch:
http://us.dl.sourceforge.net/squirrelmail/squirrelmail-1.4.2.tar.bz2:
Requested Range Not Satisfiable
 Attempting to fetch from
ftp://ftp.kddlabs.co.jp/sourceforge/squirrelmail/.
fetch: squirrelmail-1.4.2.tar.bz2: local modification time does not match
remote
 Attempting to fetch from ftp://ftp.chg.ru/pub/sourceforge/squirrelmail/.
SquirrelMail is installed into /usr/local/www/squirrelmail
To use the old location /usr/local/squirrelmail define
WITHOUT_WWWDIR when patching or installing

===  Vulnerability check disabled
 Checksum mismatch for squirrelmail-1.4.2.tar.bz2.
===  Giving up on fetching files: squirrelmail-1.4.2.tar.bz2
Make sure the Makefile and distinfo file
(/usr/ports/mail/squirrelmail/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/mail/squirrelmail.
*** Error code 1

Stop in /usr/ports/mail/squirrelmail.

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


Re: Curious sound problem in 5.2.1-R

2004-03-03 Thread Kevin D. Kinsey, DaleCo, S.P.
Doug Poland wrote:

Thanks Aaron, that's all I needed to do.  If you don't mind, how does
a mere mortal determine that the snd_ich.ko is the module for an Intel
ICH5 82801EB sound chip?
   

i'm quite sure i figured it out the long way.  However, it was quick and
dirty, and should work on any system I think...
1) I installed, xmms (or any program to play audio I think would work)
2) ran a short shell script as follows:
cd $MODULES_DIRECTORY  # /modules on 4.x and /boot/kernel on 5.x
for f in snd_*; do kldload $f; done #this loads every possible sound module
3) play music with xmms
4) while music is playing execute the following:
cd $MODULES_DIRECTORY
for f in snd_*; do kldunload $f; done #this unloads all snd modules,
however the one in use fails :)
5) kldstat # to view current loaded modules.

I'm sure I could just have looked it up somewhere, but I'm backwards.
Aaron
 

Actually Aaron, I find that enlightening, resourceful,
and rather amusing (in a good way ;-)
You have the hacker nature, I think

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


Re: latest security advisory and 5.1R

2004-03-03 Thread Kevin D. Kinsey, DaleCo, S.P.
Matthew Seaman wrote:

On Wed, Mar 03, 2004 at 09:00:09AM -0500, Ed Budd wrote:

 

I think what's confusing me here is that I assumed that 5.1R was
still officially supported and every other advisory up to this one has
been included, like last week's FreeBSD-SA-04:03.jail advisory, for
example. So am I to assume then that as of this week 5.1R is no longer
officially supported?
   



 

snip

You might want to ask on freebsd-security@ if 5.1-R is still a
supported security fix branch.
	Cheers,

	Matthew

 

From that list:

I intend to do so as time allows. - Jacques Vidrine

HTH,

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


Re: production box: 4.9, 5.1, 5.2+ ???

2004-03-03 Thread Jerry McAllister
 
 I hesitate to ask this because it sounds stupid.
 
 I went down to the tech book store and bought freeBSD on CD's.
 it happened to be 5.1. 
 I, a neophyte, assumed it was kosher.
 
 I bought it and installed it on 2 machines  and pretty much ok so far.
 Now I've been reading about the STABLE and CURRENT branches
 and cvsup and all other kinds of keeping up.

Unfortunately, by the time a book with CD gets published and all
the way through the distribution chain to a bookstore, the next
version is likely to be nearly out or already out.  The CD is good
for getting started learning about FreeBSD, but is probably old
enough that you wouldn't want to use that version for a production
server.   

So, you can install it and use cvsup to upgrade everything to the
latest - probably a good learning exercise anyway.   Or, you can
play around with it enough to become familiar and then download
the latest mini-ISO and start over from scratch - also a good learning
exercise.   

 What I want is production boxs with of course bug fix and
 security upgrades, but not needing always the latest app releases.

If you are running production servers, the general word is that
you might still want to stick with 4.xx and 4.9 is the latest
release of the 4.xx branch.   

The 5.xx branch was begun to allow work on some significant and 
non-compatible changes to the system.  (not everything is non-compatible, 
but some things are)  Major development work is being done on the 5.xx 
branch, but the 4.xx branch continues to be upgraded, mostly now with 
bug and security fixes, but occasionaly with improved features.   

This will continue until the 5.xx branch is deemed solid and bullet proof 
as far as they can tell and that the new features are complete and
everything works together.   Then regular development on the 4.x branch
will be discontinued.   _Only_ security fixes and _major_ bug fixes
will be applied to the 4.xx branch.   Development of features, bug
fixes and security fixes will then continue on the 5.xx branch, but
not major non-compatible feature changes.   It will be considered stable
and a new branch - 6.xx will sprout which is just the latest (at that 
time) 5.xx reopened for major changes and renamed a 6.xx branch.  After
that time there will (may) be feature additions to 5.xx, as now with 4.xx,
but those are expected to not introduce non-compatible changes.  Of
course, bug fixes and security fixes will continue to be applied as
they will to all branches that are still being supported.   The 4.xx
branch would be supported for a while in that manner, along with 5.xx.
In a year or two, 4.xx would no longer be supported and no longer
get any fixes although you might be able to still apply some fixes
with a little tinkering.

There are some comments on possible 5.xx flaws in the EMail lists.
Search the archives.   The FreeBSD web site Release notes  etc 
have notes on what new features are available in 5.xx.

The long and short of it is that which one you install right at this
moment should be either 4.9 or 5.2.1 (whether you get there from
scratch or cvsupping) and the choice depends on 
  1: is your production environment critical such that an unexpected
 flaw in the new 5.xx branch would severly hurt you.
  2: Do you really need some feature in 5.2 that is unavailable in 4.xx.

If it is yes to 1 and no to 2, then install 4.9.
If it is no to 1 and no to 2, then it is a coin flip.  Maybe 5.2.1 just
  to get in to the future or 4.9 for ease in installation and configuration.
If it is no to 1 and yes to 2, then install 5.2.1

jerry

 
 I've tried to grok the release engineering and all but I don't get it.
 I'm going to put freeBSD on 2 other machines as well,
 but don't know whether
 to install 4.9, use my 5.1 CD's (and then presumably have to
 go to 5.2 + ??? to keep up?), 5.2   or what.  Not to mention the
 2 already installed.
 
 I want to keep all 4 machines pretty much in synch.
 
 thanks for any clarification i can get on:
 1. which is best production version
 2. what is best essential upkeep mechanism (not so much for apps
but for bug fixes in OS and security fixes/patches on essential stuff
like OpenSsh)
 
 thanks much...
 
 lee
 
 
 
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: latest security advisory and 5.1R

2004-03-03 Thread Kevin D. Kinsey, DaleCo, S.P.
fbsd_user wrote:

Are the security advisory fixes rolled into the .iso ftp download
images?
 

Not sure, but certainly not put into -RELEASES.

I imagine you'd have to grab a snapshot ISO 

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


Re: Size of variables in awk

2004-03-03 Thread Wayne Sierke
On Thu, 2004-03-04 at 02:48, Dan Nelson wrote:
 In the last episode (Mar 03), Wayne Sierke said:
  On Wed, 2004-03-03 at 18:34, Dan Nelson wrote:
   In the last episode (Mar 03), Wayne Sierke said:
It seems I've run into the 32-bit signed number wall in awk
(5.2-RELEASE).

My totals are maxing out at 2147483648.

Would anyone happen to know whether that's really the case (that awk is
only implemented with 32-bit number capability - unfortunately I don't
have any other awks nearby to verify nor can I find any reference info
that indicates) and/or can suggest a way around it?
   
   Seems to works fine on -current:
   
   $ jot 8 30 | awk '{ print 2^$1 }'
  
  Ah, ok. Same for me on 5.2-RELEASE. More info:
  
  I'm using the printf function in awk but something ain't right:
  
  # jot 4 30 | awk '{ printf(%u\n, 2^$1-1) }'
  2147483648
  
  # jot 4 30 | awk '{ printf(%lu\n, 2^$1-1) }'
  2147483648
  
  # jot 4 30 | awk '{ printf(%llu\n, 2^$1-1) }'
  35186519572480
 
 I see nothing wrong here.  %u is an unsigned int, and on x86 systems,
 an int is 32 bits.  %llu is a long long unsigned int, and they are 64
 bits.  Since there is no way for C to print a number larger than 64
 bits, you won't be able to use the numeric specifiers to print large
 numbers.  You can use %s though.  See
 /usr/src/contrib/one-true-awk/run.c, the format() function.

When you say they are 64 bits you're referring to a long
(signed/unsigned) int (not long long unsigned int)?

In which case aren't there two problems with the results shown?

1 - %u should print values up to 2^32-1

2 - %lu should print values up to 2^64-1

whereas they're both hitting a limit at 2^31.

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


Re: Apache

2004-03-03 Thread Kevin D. Kinsey, DaleCo, S.P.
Michael Banta wrote:

Hello.

I just installed Apache wilthout error.  I started apache and did a ps aux.  It appears to be running fine.  However I cannot bring up the default webpage.  Doing lynx localhost does not work.  I set the Servername variable in the config file to localhost, just to test.  Everything appears to be in order.  Any suggestions?

Thanks
Mike
___
 

$apachectl configtest 

Can you see any errors from that?

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


Re: hello

2004-03-03 Thread Kevin D. Kinsey, DaleCo, S.P.
dimitar georgiev wrote:

hello
can you tell me what is the best freebsd version, also stable for web servers.
 

The best is generally the latest.  Confusion
arises because there are two branches
of development, -CURRENT (5.X) and -STABLE
(4.X).
For more information, see the FreeBSD Handbook,
chapter 21.
HTH,

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


Re: Installing Squirrel Mail from the Ports

2004-03-03 Thread Kevin D. Kinsey, DaleCo, S.P.
[EMAIL PROTECTED] wrote:

Running FreeBSD 5.1, I Just ran CVSUP on my ports to bring them current. 
When I try to install Squirrelmail from /usr/ports/mail/squirrelmail I get
the following error:

 

snip

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/mail/squirrelmail.
*** Error code 1
Stop in /usr/ports/mail/squirrelmail.

 

So, take a deep breath and decide if you want
to try make -DNO_CHECKSUM install clean 
The real error is the requested range not
available error ... and that's a tad beyond
me.  See RFC 2616 for the actual description.
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: production box: 4.9, 5.1, 5.2+ ???

2004-03-03 Thread Jerry McAllister
 
 thanks Jerry for this detailed reply.  i really appreciate it.
 
 from what you have said i think 4.9  might  be indicated.
 
 but i have one more question.  device drivers.
 
 i have kind of bleeding edge sound and ethernet cards.
 in fact i've already had to put in an older NIC to get 5.1
 to work as-is.  i haven't tackled the on-motherboard sound
 card problem yet.
 
 but i know freeBSD drivers are kind of behind (compared to windoz)
 so would it be harder to get a bleeding driver for 4.9 than 5.2.1?

Well, actually, FreeBSD is mostly up-to-date on drivers.
But, there are some that are available only in 5.xx.   That is
one of those things that would be a feature only in 5.xx - my 
number 2 question in my discussion.

There are supported hardware lists on the FreeBSD web site.
If you look at the main home page  http://www.freebsd.org/
you will see over on the right two releases listed.   Under each
there is a link for Hardware Notes.   Check those.

When it comes to video cards and mouse, you need to check the XFree86 
web site for those compatibilities.  That is: http://www.xfree86.org/

jerry

 
 tks.
 
 lee
 
 
 Jerry McAllister wrote:
 
 I hesitate to ask this because it sounds stupid.
 
 I went down to the tech book store and bought freeBSD on CD's.
 it happened to be 5.1. 
 I, a neophyte, assumed it was kosher.
 
 I bought it and installed it on 2 machines  and pretty much ok so far.
 Now I've been reading about the STABLE and CURRENT branches
 and cvsup and all other kinds of keeping up.
 
 
 
 Unfortunately, by the time a book with CD gets published and all
 the way through the distribution chain to a bookstore, the next
 version is likely to be nearly out or already out.  The CD is good
 for getting started learning about FreeBSD, but is probably old
 enough that you wouldn't want to use that version for a production
 server.   
 
 So, you can install it and use cvsup to upgrade everything to the
 latest - probably a good learning exercise anyway.   Or, you can
 play around with it enough to become familiar and then download
 the latest mini-ISO and start over from scratch - also a good learning
 exercise.   
 
   
 
 What I want is production boxs with of course bug fix and
 security upgrades, but not needing always the latest app releases.
 
 
 
 If you are running production servers, the general word is that
 you might still want to stick with 4.xx and 4.9 is the latest
 release of the 4.xx branch.   
 
 The 5.xx branch was begun to allow work on some significant and 
 non-compatible changes to the system.  (not everything is non-compatible, 
 but some things are)  Major development work is being done on the 5.xx 
 branch, but the 4.xx branch continues to be upgraded, mostly now with 
 bug and security fixes, but occasionaly with improved features.   
 
 This will continue until the 5.xx branch is deemed solid and bullet proof 
 as far as they can tell and that the new features are complete and
 everything works together.   Then regular development on the 4.x branch
 will be discontinued.   _Only_ security fixes and _major_ bug fixes
 will be applied to the 4.xx branch.   Development of features, bug
 fixes and security fixes will then continue on the 5.xx branch, but
 not major non-compatible feature changes.   It will be considered stable
 and a new branch - 6.xx will sprout which is just the latest (at that 
 time) 5.xx reopened for major changes and renamed a 6.xx branch.  After
 that time there will (may) be feature additions to 5.xx, as now with 4.xx,
 but those are expected to not introduce non-compatible changes.  Of
 course, bug fixes and security fixes will continue to be applied as
 they will to all branches that are still being supported.   The 4.xx
 branch would be supported for a while in that manner, along with 5.xx.
 In a year or two, 4.xx would no longer be supported and no longer
 get any fixes although you might be able to still apply some fixes
 with a little tinkering.
 
 There are some comments on possible 5.xx flaws in the EMail lists.
 Search the archives.   The FreeBSD web site Release notes  etc 
 have notes on what new features are available in 5.xx.
 
 The long and short of it is that which one you install right at this
 moment should be either 4.9 or 5.2.1 (whether you get there from
 scratch or cvsupping) and the choice depends on 
   1: is your production environment critical such that an unexpected
  flaw in the new 5.xx branch would severly hurt you.
   2: Do you really need some feature in 5.2 that is unavailable in 4.xx.
 
 If it is yes to 1 and no to 2, then install 4.9.
 If it is no to 1 and no to 2, then it is a coin flip.  Maybe 5.2.1 just
   to get in to the future or 4.9 for ease in installation and configuration.
 If it is no to 1 and yes to 2, then install 5.2.1
 
 jerry
 
   
 
 I've tried to grok the release engineering and all but I don't get it.
 I'm going to put freeBSD on 2 other machines as well,
 but don't know whether

Re: IPTables - Netfilter

2004-03-03 Thread Vulpes Velox
On Tue, 2 Mar 2004 17:00:35 -0500
Michael Banta [EMAIL PROTECTED] wrote:

 Hello.
 
 New here to FreeBSD.  I wanted to install iptables(netfilter) but it
 will not compile on FreeBSD.  Is there a version fro FreeBSD?

Thankfully there is not :P

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


Re: Installing Squirrel Mail from the Ports

2004-03-03 Thread Matthew Seaman
On Wed, Mar 03, 2004 at 08:59:50AM -0800, [EMAIL PROTECTED] wrote:

[...]
  Checksum mismatch for squirrelmail-1.4.2.tar.bz2.
 ===  Giving up on fetching files: squirrelmail-1.4.2.tar.bz2
 Make sure the Makefile and distinfo file
 (/usr/ports/mail/squirrelmail/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/mail/squirrelmail.
 *** Error code 1
 
 Stop in /usr/ports/mail/squirrelmail.

Delete /usr/ports/distfiles/squirrelmail-1.4.2.tar.bz2, and try again.

The file you have by that name has been corrupted somehow and the
ports system is not happy with it. I just checked, and the tarball I
downloaded from sourceforge is identical to the one I used the last
time I updated squirrelmail.  You should end up with:

% ls -la squirrelmail-1.4.2.tar.bz2
-rw-r--r--  1 root  wheel  1888703 Oct  1 20:42 squirrelmail-1.4.2.tar.bz2
% md5 squirrelmail-1.4.2.tar.bz2
MD5 (squirrelmail-1.4.2.tar.bz2) = 8d8271c704a9f23d53138a4ceea38fb4

but the ports system will check that automatically for you.

Cheers,

Matthew 

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


pgp0.pgp
Description: PGP signature


Re: latest security advisory and 5.1R

2004-03-03 Thread Matthew Seaman
On Wed, Mar 03, 2004 at 11:54:22AM -0500, fbsd_user wrote:
 Are the security advisory fixes rolled into the .iso ftp download
 images?

No -- the iso images are produced at release time and not altered
after that.  However, binary patches are being produced by Colin
Percival's FreeBSD-update service -- see his site at
http://www.daemonology.net/freebsd-update/ -- which will apply to
systems installed from the release media.

The fixes will certainly be in the next release, which I think is
going to be 4.10, but that's some time in the future.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Installing Squirrel Mail from the Ports

2004-03-03 Thread whizkid

 Delete /usr/ports/distfiles/squirrelmail-1.4.2.tar.bz2, and try again.

 The file you have by that name has been corrupted somehow and the
 ports system is not happy with it. I just checked, and the tarball I
 downloaded from sourceforge is identical to the one I used the last
 time I updated squirrelmail.  You should end up with:

 % ls -la squirrelmail-1.4.2.tar.bz2
 -rw-r--r--  1 root  wheel  1888703 Oct  1 20:42
 squirrelmail-1.4.2.tar.bz2
 % md5 squirrelmail-1.4.2.tar.bz2
 MD5 (squirrelmail-1.4.2.tar.bz2) = 8d8271c704a9f23d53138a4ceea38fb4

 but the ports system will check that automatically for you.

   Cheers,

   Matthew

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


after deleting the file, I run make and get

# make
===  Patching for squirrelmail-1.4.2_1
===  Applying FreeBSD patches for squirrelmail-1.4.2_1
patch:  can't cd to
/usr/ports/mail/squirrelmail/work/squirrelmail-1.4.2: No such file or
directory
 Patch patch-config-config_default.php failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/mail/squirrelmail.

what I can do to get the port downloaded again?  or how can I clean up
after a failed install?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can Not ping Hosts by name when Underscores are Present.

2004-03-03 Thread Martin McCormick
Does the ping utility do some sort of name checking when one
wants to ping a particular host by name?

A person with an account on a FreeBSD system demonstrated to
me that one could successfully look up a given host using nslookup but
if you pinged that host by name as in

ping host_name.domain, one got an immediate complaint from the ping
utility like:

ping: cannot resolve cl_mail1.mydomain: Unknown server error

I pinged every single host in a range for which host  or
nslookups work and every single name with the _ failed in this manner.
All other names either show an ICMP reply or nobody answering, in
other words, perfectly normal behavior.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Information Technology Division Network Operations Group
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >