The FreeBSD Diary: 2003-03-09 - 2003-03-29

2003-03-30 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source

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


Re: file permission baffle

2003-03-30 Thread Ruben de Groot
On Sun, Mar 30, 2003 at 03:11:18AM -0500, David Banning typed:
 I have these links from my web directory; 
 
 root# cd /usr/local/www/data/fax/
 root# ls -l
 
 lrwxr-xr-x  1 root  wheel  18 Mar 29 16:37 chantelle - /usr/chantelle/fax
 lrwxrwxrwx  1 root  wheel  14 Mar 10 00:15 david - /usr/david/fax
 
 I can't change the permissions on them. It's because the permissions
 are dependent on the linked directory right? Doesn't seem so;

Permissions on symbolic links are irrelevant. 
If you want to change them anyway, here's what you have to do:

# cd /usr/local/www/data/fax/
# rm chantelle
# umask 0
# ln -s /usr/chantelle/fax chantelle

Don't forget to change your umask back to something reasonable afterwards.

 
 root# ls -ld /usr/chantelle/fax
 drwxrwxrwx  2 chantelle  wheel  512 Mar 30 02:26 /usr/chantelle/fax
 root# ls -ld /usr/david/fax
 drwxrwxrwx  2 david  wheel  512 Mar 30 02:40 /usr/david/fax
 root# 
 
 Even going further upstream doesn't show anything;
 
 root# ls -ld /usr/chantelle
 drwxr-xr-x  7 chantelle  wheel  1024 Mar 29 23:13 /usr/chantelle
 root# ls -ld /usr/david
 drwxr-xr-x  68 david  wheel  5632 Mar 29 22:23 /usr/david
 
 I am having a problem writing to the top dir shown, (chantelle)
 but not the following one (david).
 
 Anyone understand this?
 ___
 [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: file permission baffle

2003-03-30 Thread Matthew Seaman
On Sun, Mar 30, 2003 at 03:11:18AM -0500, David Banning wrote:
 I have these links from my web directory; 
 
 root# cd /usr/local/www/data/fax/
 root# ls -l
 
 lrwxr-xr-x  1 root  wheel  18 Mar 29 16:37 chantelle - /usr/chantelle/fax
 lrwxrwxrwx  1 root  wheel  14 Mar 10 00:15 david - /usr/david/fax
 
 I can't change the permissions on them. It's because the permissions
 are dependent on the linked directory right? Doesn't seem so;

You can use 'chmod -h' to change the permissions on the link itself. eg.

% ln -s bar baz 
/tmp/foo:% ls -la 
total 0
-rw-r--r--  1 matthew  wheel0 Mar 30 10:13 bar
lrwxr-xr-x  1 matthew  wheel3 Mar 30 10:14 baz@ - bar
% chmod -h 664 baz 
% ls -la 
total 0
-rw-r--r--  1 matthew  wheel0 Mar 30 10:13 bar
lrw-rw-r--  1 matthew  wheel3 Mar 30 10:14 baz@ - bar

When you open a file or directory via a symbolic link, first you need
sufficient permissions to read the link itself --- think of it as a
tiny little file that simply contains the name of the file that should
really be opened.  However, once that has been done, the system
automatically switches to opening the link target instead, and it's
the permissions on the target and its containing directory that have
the most effect practically.

There's a '-h' flag to chown(1) that works equivalently for changing
ownership.

However, in general, you don't need to fiddle with link permissions
and ownership.  root:wheel ownership and lrwxrwxrwx permissions will
work just fine.
 
 root# ls -ld /usr/chantelle/fax
 drwxrwxrwx  2 chantelle  wheel  512 Mar 30 02:26 /usr/chantelle/fax
 root# ls -ld /usr/david/fax
 drwxrwxrwx  2 david  wheel  512 Mar 30 02:40 /usr/david/fax
 root# 
 
 Even going further upstream doesn't show anything;
 
 root# ls -ld /usr/chantelle
 drwxr-xr-x  7 chantelle  wheel  1024 Mar 29 23:13 /usr/chantelle
 root# ls -ld /usr/david
 drwxr-xr-x  68 david  wheel  5632 Mar 29 22:23 /usr/david
 
 I am having a problem writing to the top dir shown, (chantelle)
 but not the following one (david).

Hmmm... I think you're barking somewhat up the wrong tree here.
Permissions are too lax, if anything --- I'd certainly change the
permissions on those personal fax directories to 755 or 775.

The question is, what is the UID of the process that is attempting to
write to those fax directories?  Is it a well known Fax management
package or something home brewed?  Either way permissions need to be
controlled.  The process either has to have a real UID of root and be
able to set it's effective UID to the owner of the directory (see
seteuid(2)), or it has to belong to the same group as the group
ownership of the directories, and group write permission has to be set
on the directories.  In the latter case, it helps to make sure that
any files created also have group write permission or the directory
owner won't be able to modify 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


pgp0.pgp
Description: PGP signature


fonts.alias / fonts.scale

2003-03-30 Thread /* jsha */

Hello!

I've got a directory filled with Type1 fonts (.afm, .inf, .pfa, .pfb and .pfm
accompanying each font release) which I'm trying to install on X11. However,
in order to make mkfontdir work I seem to need a fonts.alias and/or fonts.scale
in advance.

How do I make one?

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


file permission baffle

2003-03-30 Thread David Banning
I have these links from my web directory; 

root# cd /usr/local/www/data/fax/
root# ls -l

lrwxr-xr-x  1 root  wheel  18 Mar 29 16:37 chantelle - /usr/chantelle/fax
lrwxrwxrwx  1 root  wheel  14 Mar 10 00:15 david - /usr/david/fax

I can't change the permissions on them. It's because the permissions
are dependent on the linked directory right? Doesn't seem so;

root# ls -ld /usr/chantelle/fax
drwxrwxrwx  2 chantelle  wheel  512 Mar 30 02:26 /usr/chantelle/fax
root# ls -ld /usr/david/fax
drwxrwxrwx  2 david  wheel  512 Mar 30 02:40 /usr/david/fax
root# 

Even going further upstream doesn't show anything;

root# ls -ld /usr/chantelle
drwxr-xr-x  7 chantelle  wheel  1024 Mar 29 23:13 /usr/chantelle
root# ls -ld /usr/david
drwxr-xr-x  68 david  wheel  5632 Mar 29 22:23 /usr/david

I am having a problem writing to the top dir shown, (chantelle)
but not the following one (david).

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


Help!! My CDR!!!

2003-03-30 Thread /* jsha */
Hi.

For some reason, my CDR quit working a while ago. I don't know if it's history,
or if there's a hope.

It's there in dmesg:

ahc0: Adaptec 2902/04/10/15/20/30C SCSI adapter port 0xf800-0xf8ff mem 
0xfffbf000-0xfffb irq 11 at device 15.0 on pci0
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
cd0 at ahc0 bus 0 target 3 lun 0
cd0: YAMAHA CDR400t 1.0m Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed

It's definately there:

aegis# cdrecord dev=0,3,0 -checkdrive
Cdrecord 2.0 (i386-unknown-freebsd4.7) Copyright (C) 1995-2002 Jörg Schilling
scsidev: '0,3,0'
scsibus: 0 target: 3 lun: 0
Using libscg version 'schily-0.7'
Device type: Removable CD-ROM
Version: 2
Response Format: 2
Capabilities   : 
Vendor_info: 'YAMAHA  '
Identifikation : 'CDR400t '
Revision   : '1.0m'
Device seems to be: Yamaha CDR-400.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO 
Supported modes: TAO PACKET SAO RAW/R96R

But when I try to burn something:

aegis# cdrecord -v dev=0,3,0 speed=4 -audio -pad 01.wav
Cdrecord 2.0 (i386-unknown-freebsd4.7) Copyright (C) 1995-2002 Jörg Schilling
TOC Type: 0 = CD-DA
scsidev: '0,3,0'
scsibus: 0 target: 3 lun: 0
Using libscg version 'schily-0.7'
atapi: 0
Device type: Removable CD-ROM
Version: 2
Response Format: 2
Capabilities   : 
Vendor_info: 'YAMAHA  '
Identifikation : 'CDR400t '
Revision   : '1.0m'
Device seems to be: Yamaha CDR-400.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO 
Supported modes: TAO PACKET SAO RAW/R96R
FIFO size  : 4194304 = 4096 KB
Track 01: audio  549 MB (54:27.52) no preemp pad 
Total size:  549 MB (54:27.53) = 245065 sectors
Lout start:  550 MB (54:29/40) = 245065 sectors
cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00 00 00 00 08 00 00 
00 00 00 00 08 00 01 06
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.003s timeout 40s
cdrecord: No disk / Wrong disk!
cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: retryable 
error
CDB:  1E 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00 00 00 00 08 00 00 
00 00 00 00 08 00 01 06
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.003s timeout 40s

In cdrdao, things aren't more promising:

0,3,0: YAMAHA CDR400t   Rev: 1.0m
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x)
WARNING: Unit not ready, still trying...

If anyone has ANY idea as to what might be the problem, please do let me know.
Heck, I'll even burn you a CD with some soothing and rare house/hiphop/funk/soul
music. Or I'll just send you a blank one ;-)

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


diskless root-etc and special-etc struggles

2003-03-30 Thread Hartmann, O.
Hello.

Testing new 5.0-Current stuff for diskless booting I ran into struggle
with some kind of misleading hierarchy in how /etc and /conf/default/etc
ist treated.

I use an environment for diskless systems that has well populated specific
i(assuming I am chrooted to the diskless root partition):

/conf/base/etc, /conf/default/etc and /conf/MY.IP/etc

It works as exspected - but not in all ways.
/etc in diskless environment can not be left empty, the startup seems to need
rc, rc.subr and both rc.diskless[12] files to get clear to startup. rc.d and
the new RCng facility does not work.

Am I right to say: we need rc, rc.subr and both rc.diskless1 and 2 for a proper
diskless boot? Does this imply that rc.d for diskless does not work?
I tried to clean /etc or populated /etc/defaults but that ends up in a dead
diskless system.

Please, this is only a question. At the moment I feel happy that diskless works again
in 5.X and hope it works with RCng soon.

Oliver



--
MfG
O. Hartmann

[EMAIL PROTECTED]
--
Systemadministration des Institutes fuer Physik der Atmosphaere (IPA)
--
Johannes Gutenberg Universitaet Mainz
Becherweg 21
55099 Mainz

Tel: +496131/3924662 (Maschinenraum)
Tel: +496131/3924144 (Buero)
FAX: +496131/3923532
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spamassassin tools

2003-03-30 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-02-24 08:37:04 +0100:
 I installed the spamassassin port, but I believe somewhere there should
 be a tools directory for various utility programs. I can find no trace
 of it ?
 Anyone a clue ?

Have you had a look in the ports plist?

grep -v ^@ /var/db/pkg/portname/+CONTENTS

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sendmail not building

2003-03-30 Thread Robert Hulme
Hi,

I wonder if anyone can help me?

I've used cvsup to get the latest ports collection because of the
sendmail vulnerability but sendmail fails to build:

www# make clean
===  Cleaning for sendmail-8.12.9
www# make
===  Extracting for sendmail-8.12.9
 Checksum OK for sendmail.8.12.9.tar.gz.
===  Patching for sendmail-8.12.9
===  Applying FreeBSD patches for sendmail-8.12.9
===  Configuring for sendmail-8.12.9
/usr/bin/sed -e s,\`-pthread\',\`-pthread\',  -e s,\`-O\',\`-O -pipe
\',  /usr/ports/mail/sendmail/work/sendmail-8.12.9/devtools/OS/FreeBSD.
sed   /usr/ports/mail/sendmail/work/sendmail-8.12.9/devtools/OS/FreeBSD
/usr/bin/sed -e s=%%PREFIX%%=/usr/local= -e
s=%%LOCALBASE%%=/usr/local=
/usr/ports/mail/sendmail/files/site.config.m4.pre4 /usr/ports/mail/
sendmail/files/site.config.m4
/usr/ports/mail/sendmail/files/site.config.m4.ipv6
/usr/ports/mail/sendmail/files/site.config.m4.milter  /usr/por
ts/mail/sendmail/work/sendmail-8.12.9/devtools/Site/site.config.m4
===  Building for sendmail-8.12.9
Making all in:
/usr/ports/mail/sendmail/work/sendmail-8.12.9/libsm
Configuration: pfx=, os=FreeBSD, rel=4.5-RELEASE, rbase=4,
rroot=4.5-RELEASE, arch=i386, sfx=, variant=optimized
Using M4=/usr/local/bin/gm4
Creating
/usr/ports/mail/sendmail/work/sendmail-8.12.9/obj.FreeBSD.4.5-RELEASE.i3
86/libsm using /usr/ports/mail/sendmail/work/sendmail-8.12.9/de
vtools/OS/FreeBSD
Including
/usr/ports/mail/sendmail/work/sendmail-8.12.9/devtools/Site/site.config.
m4
Making dependencies in
/usr/ports/mail/sendmail/work/sendmail-8.12.9/obj.FreeBSD.4.5-RELEASE.i3
86/libsm
rm -f sm_os.h
ln -f -s ../../include/sm/os/sm_os_freebsd.h sm_os.h
mkdep -a -f Makefile -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX
assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c
strerror.
c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c
findfp.c flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c
fseek.c fv
write.c fwalk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c
setvbuf.c smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c
vasprintf.c vf
printf.c vfscanf.c vprintf.c vsnprintf.c vsprintf.c vsscanf.c wbuf.c
wsetup.c string.c stringf.c xtrap.c strto.c test.c path.c strcasecmp.c
strr
evcmp.c signal.c clock.c config.c shm.c mbdb.c strexit.c cf.c ldap.c
niprop.c mpeix.c   t-event.c t-exc.c t-rpool.c t-string.c t-smstdio.c
t-mat
ch.c t-strio.c t-heap.c t-fopen.c t-strl.c t-strrevcmp.c t-types.c
t-path.c t-float.c t-scanf.c t-shm.c t-cf.c b-strcmp.c
Making in
/usr/ports/mail/sendmail/work/sendmail-8.12.9/obj.FreeBSD.4.5-RELEASE.i3
86/libsm
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c assert.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c debug.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c
errstring.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c exc.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c heap.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c match.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c rpool.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c strdup.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c strerror.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c strl.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c clrerr.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fclose.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c feof.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c ferror.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fflush.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fget.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fpos.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c findfp.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c flags.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fopen.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fprintf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fpurge.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fput.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fread.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fscanf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fseek.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fvwrite.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fwalk.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fwrite.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c get.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c makebuf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c put.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c refill.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c rewind.c
cc -O -pipe -I. 

write failed, disk is full

2003-03-30 Thread Jason End
Installing 4.7 through ftp, I get a series of errors
that say things like:
/ write failed. disk is full
failed to create /usr/src disk is full

The disk is new, and certainly isn't full, so I'm
thinking it could be a problem of where I've place the
partitions on the disk.
The disk is a new 120Gb WD1200JB and the relevant
partitions are as such (in this order):
10gb ntfs
3gb freebsd (/)
800mb freebsd (swap)
55gb freebsd (/usr)

Are my freebsd too far into the disk?
thanks, 

J

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Laptop with PCcard ethernet: how to set up?

2003-03-30 Thread Dan Pelleg
Paul Hoffman [EMAIL PROTECTED] writes:

 I have a laptop with an Ethernet PCcard which comes up as ep0. I want to
 use DHCP on it. My rc.conf has:
 
 
 pccard_enable=YES
 pccard_ifconfig=YES
 ifconfig_ep0=DHCP
 
 The card comes up fine, but it doesn't get ifconfig'd. Do I need to add
 something else to rc.conf?
 

1. You don't need the ifconfig_ep0 line.

2. Change the pccard_ifconfig value to either DHCP or something like
inet 192.168.1.1/24.

-- 

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


RE: Misplaced audio CD question

2003-03-30 Thread Harald Schmalzbauer
[EMAIL PROTECTED] wrote:
 Right now I'm want to make an audio CD with burncd. I understand the
 burncd part but the mp3 to audio CD format I dont understand. How do I

You need mkisofs (from ports or package) to generate an image wich burcd
writes onto CD. If you want a real CD-DA (audio) you first have to
convert MP3 to wav. Otherwise you have to make a DATA CD with mp3 files
in the data track. man mkisofs is overwhelming.
I'm sure there are howto's out there.

-Harry

 do it?

 ___
 [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: write failed, disk is full

2003-03-30 Thread W. Sierke

From: Jason End [EMAIL PROTECTED]
 Installing 4.7 through ftp, I get a series of errors
 that say things like:
 / write failed. disk is full
 failed to create /usr/src disk is full

 The disk is new, and certainly isn't full, so I'm
 thinking it could be a problem of where I've place the
 partitions on the disk.
 The disk is a new 120Gb WD1200JB and the relevant
 partitions are as such (in this order):
 10gb ntfs
 3gb freebsd (/)
 800mb freebsd (swap)
 55gb freebsd (/usr)

I had a similar experience, albeit on a much smaller partition. Just to be
sure, check that you haven't run out of inodes somewhere (assuming you can
boot into a console):

df -i

I recently talked with someone on IRC who had just had a similar experience.
I'm wondering if there might be an issue here in that perhaps the default
block/fragment size being used during new installations is too small?


Wayne

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


Bind 9

2003-03-30 Thread dusk
This may be a silly question but I need some help so here it is. I
installed bind 9 and I am unable to find it. I installed FreeBSD 4.4
upgraded to 4.7 stable. I have bind 8 installed. I want to run bind 9   
for security reasons. I installed in from ports. I can't find it. I 
thought that it simply replaced the executable /usr/sbin/named. But the   
last change date it has is from the initial install. The named.conf file  
has not changed, and I can't find a directory specifying bind 9. Anybody 
able to help me out here?


[EMAIL PROTECTED]
[EMAIL PROTECTED]

And so, it begins - Kosh

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


Re: My computer asks me to run a Manual FSCK

2003-03-30 Thread Doug Reynolds
On Sat, 29 Mar 2003 23:59:56 +, Lee Harr wrote:

/dev/ad4s1a: CAN'T CHECK FILE SYSTEM.
/dev/ad4s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
Automatic file system check failed... help!

I find this tends to happen when the disk is on its way out.

I recommend that you back up any important information on
this disk. You can mount a filesystem read-only even without
going through the fsck.

Hardly.

that is what happens when your file system gets corrupted..  I had that
happen when my ups run out on my server.  you just have to FSCK
manually in single user mode.  
---
doug reynolds | the maverick | [EMAIL PROTECTED]


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


Re: Bind 9

2003-03-30 Thread Tim van den Elsen
On Sun, 30 Mar 2003 09:55:15 -0500 (EST)
[EMAIL PROTECTED] wrote:

 This may be a silly question but I need some help so here it is. I
 installed bind 9 and I am unable to find it. I installed FreeBSD 4.4
 upgraded to 4.7 stable. I have bind 8 installed. I want to run bind 9   
 for security reasons. I installed in from ports. I can't find it. I 
 thought that it simply replaced the executable /usr/sbin/named. But the   
 last change date it has is from the initial install. The named.conf file  
 has not changed, and I can't find a directory specifying bind 9. Anybody 
 able to help me out here?

Programs installed via ports are always placed in /usr/local/ and configs to 
/usr/local/etc/
The same for binaries :) /usr/local/sbin/named

Regards,

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


Re: Laptop with PCcard ethernet: how to set up?

2003-03-30 Thread Paul Hoffman
At 8:14 AM -0500 3/30/03, Dan Pelleg wrote:
  I have a laptop with an Ethernet PCcard which comes up as ep0. I want to
 use DHCP on it. My rc.conf has:

 pccard_enable=YES
 pccard_ifconfig=YES
 ifconfig_ep0=DHCP
 The card comes up fine, but it doesn't get ifconfig'd. Do I need to add
 something else to rc.conf?
1. You don't need the ifconfig_ep0 line.

2. Change the pccard_ifconfig value to either DHCP or something like
inet 192.168.1.1/24.
That worked fine, thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How can I rescan the scsi-bus in freebsd?

2003-03-30 Thread Eveline
Hi there,

I'd like to know how to rescan the scsi bus in FreeBSD 4.7. I have an
external scsi harddisk that I only switch on when needed. I would like to
be able to mount the hd as soon as I've switched it on, without having to
reboot my FreeBSD machine.

Thanx in advance.

Greetings,

Eveline.

-- 
 Stoppen met irc kan echt! Ben al gestopt sinds Sun Mar 16 20:13 CET 2003 
Willow (in Buffy 7x04 'Help'): 'Have you Googled her already?'
Xander: 'Willow, she's only seventeen!'
Willow: 'It's a search engine.'

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


Problem with Swedish Keyboard after XFree86 and Gnome upgrade

2003-03-30 Thread Magnus J
Hello everyone


I just upgraded my FreeBSD 4.7 box from XFree86 4.2.1, Gnome 1.4
to XFree86 4.3 and Gnome 2.2. After that, my Swedish keyboard no
longer works as it used to do, e.g. the characters åäö doesn't
work anymore. When I press those keys nothing happens. Anyone
seen this problem?


This is how my XF86Config looks like.

...
Identifier  Keyboard1
Driver  Keyboard
Option  AutoRepeat 500 30# Specify which
keyboard LEDs can be user-controlled (eg, with xset(1))
Option  XkbRules xfree86
Option  XkbModel pc98
Option  XkbLayout se
EndSection


Regards
Magnus
(I am not a subscriber to the mailing list.)

_
Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express
Se mer på: http://se.docs.yahoo.com/info/express/help/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Best X configurator for laptops?

2003-03-30 Thread Paul Hoffman
Hi again. I have a Dell Inspiron 3500 laptop, now running 4.7. 
xf86cfg and xf86config both give (different) unusable results for my 
system. Which of the other X configurators in the ports collection 
seem to do a good job on laptops, if any?

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


Cant fork for getty! FBSD 5.0

2003-03-30 Thread Tommy Forrest - KE4PYM
Howdy all.

Got that pesky domain name problem worked out.  First entry in my
resolv.conf file was no longer vaild for my ISP.  Doe!

Anyway, I've enabled options IPFIREWALL and
IPFIREWALL_DEFAULT_TO_ACCEPT.  When I reboot I get:

init: can't for for getty on port /dev/ttyv4: Resource temporarily
unavailable.

I cannot log in during this time either.

Comment out the firewall options, rebuild and blamo problem goes away. 
What gives?


Tommy Forrest - KE4PYM -  [EMAIL PROTECTED]
My two cents:
WELCOME TO KENTUCKY - Set your watch back 20 years.


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


Re: how to aggregate rules using ipfw2 ?

2003-03-30 Thread Markie
Hi!

I remember having difficulty getting this to work when I first got IPFW2,
turns out it wouldn't accept it because there _has_ to be a space between
the { and }.

For example...

ipfw add allow ip from any to { 192.168.0.0/16 or 10.0.0.0/8 }

not

ipfw add allow ip from any to {192.168.0.0/16 or 10.0.0.0/8}

Markie

- Original Message -
From: Ilia E. Chipitsine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 3:18 PM
Subject: how to aggregate rules using ipfw2 ?


 Dear Sirs,

 how can I aggregate rules ...

 ipfw add allow ip from any to 192.168.0.0/16
 ipfw add allow ip from any to 10.0.0.0/8

 ... into the single rule, probably using { .. or .. } syntax?
 I read man page, tried few combination, but them don't work for me.

 Cheers,
 Ilia Chipitsine

 ___
 [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: Bind 9

2003-03-30 Thread Kirk Strauser
At 2003-03-30T15:20:17Z, Tim van den Elsen [EMAIL PROTECTED] writes:

 Programs installed via ports are always placed in /usr/local/ and configs
 to /usr/local/etc/ The same for binaries :) /usr/local/sbin/named

That's not true.  From /usr/ports/net/bind9/Makefile:

.if defined(PORT_REPLACES_BASE_BIND9)
PKGNAMESUFFIX=  -base
PREFIX= /usr
BIND_DESTETC=   /etc/namedb
CONFIGURE_ARGS+=--prefix=${PREFIX} \
--sysconfdir=${BIND_DESTETC} \
--mandir=${MANPREFIX}/man


Building with that option will install BIND9 in /usr/bin and place its
config files in /etc/namedb.
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: Bind 9

2003-03-30 Thread Markie
You can also overwrite the base bind by defining PORT_REPLACES_BASE_BIND9
like so...

cd /usr/ports/net/bind9
make -DPORT_REPLACES_BASE_BIND9
make install
make clean

or using portinstall or portupgrade

portinstall -m '-DPORT_REPLACES_BASE_BIND9' bind9
portupgrade -m '-DPORT_REPLACES_BASE_BIND9' bind9

should do it (I think :))
There are similar defines for OpenSSH and OpenSSL too,
OPENSSL_OVERWRITE_BASE and OPENSSH_OVERWRITE_BASE :)

Markie

- Original Message -
From: Tim van den Elsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 4:20 PM
Subject: Re: Bind 9


 On Sun, 30 Mar 2003 09:55:15 -0500 (EST)
 [EMAIL PROTECTED] wrote:

  This may be a silly question but I need some help so here it is.
I
  installed bind 9 and I am unable to find it. I installed FreeBSD 4.4
  upgraded to 4.7 stable. I have bind 8 installed. I want to run bind 9
  for security reasons. I installed in from ports. I can't find it. I
  thought that it simply replaced the executable /usr/sbin/named. But the
  last change date it has is from the initial install. The named.conf file
  has not changed, and I can't find a directory specifying bind 9. Anybody
  able to help me out here?

 Programs installed via ports are always placed in /usr/local/ and configs
to /usr/local/etc/
 The same for binaries :) /usr/local/sbin/named

 Regards,

 Tim
 ___
 [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: Best X configurator for laptops?

2003-03-30 Thread Nathan Kinkade
On Sun, Mar 30, 2003 at 07:59:59AM -0800, Paul Hoffman wrote:
 Hi again. I have a Dell Inspiron 3500 laptop, now running 4.7. 
 xf86cfg and xf86config both give (different) unusable results for my 
 system. Which of the other X configurators in the ports collection 
 seem to do a good job on laptops, if any?
 
 --Paul Hoffman

You need to be more specific about the problems you are encountering.
What is the specific error you get when you try to launch X?  What
version of X are you running?  I had an Inspiron 4000(?) running fine
with X v3 a little over a year ago.  The only specific I can remember is
that I had to set the mouse protocol to BusMouse in order to get the
touchpad to work properly.  If you are using X version 4 you could try
to generate a skeleton config file using `XFree86 -configure`.

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc


pgp0.pgp
Description: PGP signature


Re: Spamassassin tools

2003-03-30 Thread Mike Meyer
In [EMAIL PROTECTED], Roman Neuhauser [EMAIL PROTECTED] typed:
 # [EMAIL PROTECTED] / 2003-02-24 08:37:04 +0100:
  I installed the spamassassin port, but I believe somewhere there should
  be a tools directory for various utility programs. I can find no trace
  of it ?
  Anyone a clue ?
 Have you had a look in the ports plist?
 grep -v ^@ /var/db/pkg/portname/+CONTENTS

pkg_info -L portname does the same thing. Using zsh you even get
completikon of the portname against /var/db/pkg.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bind 9

2003-03-30 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 This may be a silly question but I need some help so here it is. I
 installed bind 9 and I am unable to find it. I installed FreeBSD 4.4
 upgraded to 4.7 stable. I have bind 8 installed. I want to run bind 9   
 for security reasons. I installed in from ports. I can't find it. I 
 thought that it simply replaced the executable /usr/sbin/named. But the   
 last change date it has is from the initial install. The named.conf file  
 has not changed, and I can't find a directory specifying bind 9. Anybody 
 able to help me out here?

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


RE: Sendmail not building

2003-03-30 Thread Robert Hulme
  Has anyone got any ideas why it isnt building?
 something is wrong with your libbind.so
 please update or deinstall bind8 or bind9
 
 sendmail-8.12.9 builds fine here FreeBSD.4.5-RELEASE.
I've tried deinstall and installing bind8 from ports... It installs fine
(and now runs the latest version) but /usr/lib/libbind.so is not
updated, the file modification date stays the same as it was before, and
sendmail wont compile...

I can see a libbind.a in the src directory but no .so... Shouldn't this
file be automatically installed in the right place?

-rob

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


Re: how to aggregate rules using ipfw2 ? Follow-up, Why Aggregate?

2003-03-30 Thread Joe Sotham

Markie said:

snip
 ipfw add allow ip from any to { 192.168.0.0/16 or 10.0.0.0/8 }

Why aggregate?  Is it more efficient?

-- 
Joe Sotham

If the only prayer you say in your entire life is Thank You,
that will suffice.
- Meister Eckhart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: audio question

2003-03-30 Thread Mike Meyer
In [EMAIL PROTECTED], [EMAIL PROTECTED] typed:
 I am looking to capture audio input into a file (from a microphone).
 I looked through the ports but did see anything applicable.
 Is there a package available that I can use to capture audio
 input to a file that I can later output it?

There are lots. audio/sox includes both play and rec commands.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I rescan the scsi-bus in freebsd?

2003-03-30 Thread Mike Meyer
In [EMAIL PROTECTED], Eveline [EMAIL PROTECTED] typed:
 
 I'd like to know how to rescan the scsi bus in FreeBSD 4.7. I have an
 external scsi harddisk that I only switch on when needed. I would like to
 be able to mount the hd as soon as I've switched it on, without having to
 reboot my FreeBSD machine.

Camcontrol takes a rescan command. camcontrol rescan all is the
simple way, but see the camcontrol man page for details on how to
specify what to rescan.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to aggregate rules using ipfw2 ? Follow-up, Why Aggregate?

2003-03-30 Thread Markie
More efficient in the way of typing (less of it) :) and I find it easier to
read. That's just my personal opinion though.
Can't say whether there's any speed improvement though, because I just don't
know.

Markie

- Original Message -
From: Joe Sotham [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED];
[EMAIL PROTECTED]
Cc: @
Sent: Sunday, March 30, 2003 5:55 PM
Subject: Re: how to aggregate rules using ipfw2 ? Follow-up, Why Aggregate?



 Markie said:

 snip
  ipfw add allow ip from any to { 192.168.0.0/16 or 10.0.0.0/8 }

 Why aggregate?  Is it more efficient?

 --
 Joe Sotham
 
 If the only prayer you say in your entire life is Thank You,
 that will suffice.
 - Meister Eckhart


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


general email question

2003-03-30 Thread DJ Boris
hi there,

I need help. I have done quite a bit of reading but it is all just beating
around the bush.. or maybe I am missing something.
I have one ISP POP3 account (maildrop) with 5 aliases. I need to collect all
mail onto the local fbsd server mail server and sort it according to the
To: field so LAN users can collect mail from that server. I also want
users to be able to send mail to the LAN mail server and then the server has
to relay that mail to the ISP's SMTP. all this has to be done over a Dial-up
link.
the dial-up is up and running OK.

as far as I understand I need fetchmail, sendmail, procmail, and some mail
server. am I right? could someone point me to the right documentation or
examples on the internet OR if possible to explain to me what comes first
and how all the above components (fetchmail, sendmail, etc) come together
and possibly suggest what combination of software packages I should use.

thanx a lot

***
STUPID JOKE:
David and John are walking along the beach and John says - David, look, a
dead seagull
John looks up and says - Where?
***

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


RE: Sendmail not building

2003-03-30 Thread Robert Hulme
Is it safe for me to do a buildworld, but just copy the libbind.so in
/usr/src/ over the one in /usr/lib ?

Or can I make sendmail link against a different libbind.so ?

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


Re: Problem with Swedish Keyboard after XFree86 and Gnome upgrade

2003-03-30 Thread Joe Marcus Clarke
On Sun, 2003-03-30 at 12:02, Juli Mallett wrote:
 * De: Magnus J [EMAIL PROTECTED] [ Data: 2003-03-30 ]
   [ Subjecte: Problem with Swedish Keyboard after XFree86 and Gnome upgrade ]
  I just upgraded my FreeBSD 4.7 box from XFree86 4.2.1, Gnome 1.4
  to XFree86 4.3 and Gnome 2.2. After that, my Swedish keyboard no
  longer works as it used to do, e.g. the characters åäö doesn't
  work anymore. When I press those keys nothing happens. Anyone
  seen this problem?
  
  
  This is how my XF86Config looks like.
  
  ...
  Identifier  Keyboard1
  Driver  Keyboard
  Option  AutoRepeat 500 30# Specify which
  keyboard LEDs can be user-controlled (eg, with xset(1))
  Option  XkbRules xfree86
  Option  XkbModel pc98
  Option  XkbLayout se
  EndSection
 
 Mine works fine with XkbRules=xfree86, XkbModel=pc105, XkbLayout=se,
 XkbVariant=nodeadkeys...  Do they work in e.g. xterm, or is it
 GNOME apps you have problems with?  Likely you should run the GNOME
 Keyboard utility, which will allow you to switch.  I do, however,
 remember it doing stupid things like not showing me real possible
 choices until I had a LOCALE/LANG suitable.

This should be fixed in the patch at
http://www.marcuscom.com/downloads/freeze/.

Joe

 
 Hope this helps,
 juli.
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Re: How can I rescan the scsi-bus in freebsd?

2003-03-30 Thread taxman
On Sunday 30 March 2003 10:52 am, Eveline wrote:
 Hi there,

 I'd like to know how to rescan the scsi bus in FreeBSD 4.7. I have an
 external scsi harddisk that I only switch on when needed. I would like to
 be able to mount the hd as soon as I've switched it on, without having to
 reboot my FreeBSD machine.

camcontrol(8) is what you're looking for
man man if you don't know what this means

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


Re: FreeBSD and Oracle

2003-03-30 Thread Matthew Emmerton
On Fri, 28 Mar 2003, Adam wrote:

 On Fri, 2003-03-28 at 04:25, Michael Hostbaek wrote:
  I have a linux box runnning Oracle, I'd like to switch it to FreeBSD.
  Has anyone successfully run oracle on FreeBSD in a prodution
  environment?
 
  I am using Oracle 8i - it should be possible to run it under FreeBSD
  with linux emulation, right ?

 It can be an amazing pain getting Oracle to work on FreeBSD .. The only
 way I've ever heard of anyone getting it to work is to install it on a
 Linux box, then copy all the files over to FreeBSD, then use Linux
 emulation to run it .. Even this is a bit too dodgy for me ..

 IMO, better to stick with DB2 or PGSQL on FreeBSD.

DB2 on FreeBSD?  You must be dreaming the same dream I'm having :)

--
Matt Emmerton

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


Re: db2

2003-03-30 Thread Matthew Emmerton
On Fri, 28 Mar 2003, Mike Meyer wrote:

 In [EMAIL PROTECTED], Brian Henning [EMAIL PROTECTED] typed:
  is there a port for db2 for freebsd?

 make search key=db2 in /usr/ports turns up:

 Port:   db-2.7.7_1
 Path:   /usr/ports/databases/db2
 Info:   The Berkeley DB package, revision 2

I think the poster was asking about IBM DB2, adn the answer is no.

Last time I asked (and I work for IBM), the price was USD$250,000 to get
them to _think_ about making a port, and then they'd have to get people to
actually buy it.

FreeBSD 5.0 satisfies a lot of the pre-requisites for the most
recent DB2 implementation, so the landscape may be shaping up for this to
become a reality in the future.

Any interested parties should contact me directly.

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


Re: general email question

2003-03-30 Thread Matthias Teege
DJ Boris [EMAIL PROTECTED] writes:

 hi there,
Moin,

 as far as I understand I need fetchmail, sendmail, procmail, and some mail
 server. am I right? could someone point me to the right documentation or

Yes, that is corrent.

 examples on the internet OR if possible to explain to me what comes first

There are a lot of documents out there. Try google and look for
«pop toaster».

 and how all the above components (fetchmail, sendmail, etc) come together
 and possibly suggest what combination of software packages I should use.

Maybe qmail and getmail are a solution for you.

Bis dann
Matthias

-- 
Matthias Teege -- http://www.mteege.de
make world not war
PGP-Key auf Anfrage
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


question

2003-03-30 Thread Qpoilkj
Dear sir,
I am interested to host my personal web site on BSD server. Can you please 
inform if there is any free bsd server hosting please

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


Re: general email question

2003-03-30 Thread Mike Meyer
In [EMAIL PROTECTED], DJ Boris [EMAIL PROTECTED] typed:
 I need help. I have done quite a bit of reading but it is all just beating
 around the bush.. or maybe I am missing something.
 I have one ISP POP3 account (maildrop) with 5 aliases. I need to collect all
 mail onto the local fbsd server mail server and sort it according to the
 To: field so LAN users can collect mail from that server. I also want
 users to be able to send mail to the LAN mail server and then the server has
 to relay that mail to the ISP's SMTP. all this has to be done over a Dial-up
 link.
 the dial-up is up and running OK.
 
 as far as I understand I need fetchmail, sendmail, procmail, and some mail
 server. am I right?

Not quite. You don't need procmail, but it's handy to have around. You
need a pop mail server. Sendmail will be your smtp mail server.

 could someone point me to the right documentation or
 examples on the internet OR if possible to explain to me what comes first
 and how all the above components (fetchmail, sendmail, etc) come together
 and possibly suggest what combination of software packages I should use.

Personally, I don't use sendmail - it's massive overkill for job of
being an smtp server. But it's very popular, already installed on
FreeBSD, and you shouldn't have trouble getting help with it.

Basically, the flow goes:

mail arrives at your ISP's smtp server, which puts it where your POP
server can get it.

fetchmail picks up mail from the the pop server, and hands it to your
local delivery agent. Procmail can do that for you, or Sendmail can do
it. That needs to put the mail where your local POP mail server can
find it. There are a lots of choices for that - just check out
/usr/ports/mail/*pop*. I use qmail-pop3d, which comes in the qmail
port, which is what I use instead of sendmail.

Outbound is even simpler. Your users will tell their clients to
deliver outgoing mail to your local SMTP server. Since you have(?) to
use your ISP's SMTP server, you'll configure your sendmail to use that
as a SMARTER_HOST. There were details on that here in the last couple
of weeks. That will cause all outgoing mail to be sent to your ISP's
SMTP server to be forwarded to the actual destination.

I'd advise doing one direction at a time. Set up sendmail for local
delivery by setting sendmail_enable=YES in /etc/rc.conf. Check
/etc/defaults/rc.conf for other sendmail flags you may want to set
up. Then install the fetchmail port, and set that up to read mail from
your ISP's POP server and deliver it to sendmail. Finally, choose a
pop mail server and install that so you can read mail locally. If you
have any questions about the individual steps, ask back here after
you've checked the ports documentation and the handbook.

Once that's done, all that's left is tweaking your sendmail config for
to set the SMARTER_HOST stuff up. Check the archives of this list for
information on how to do that.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network programming

2003-03-30 Thread Socketd
Hi all

I'm programming in C++ and want to play with ACE, but I can't find it 
in the ports. Am I wrong? if no is someone porting it to FreeBSD?

Is libpcap and libnet is the base system? I found libnet is the 
ports, but not libpcap.

(Some people tend to only reply to the group, but as I am not on the 
list, please CC to me.)

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


racoon problems with -STABLE

2003-03-30 Thread chris scott
Hi,

I have just cvsuped to RELENG-4 yesterday and made world and installed the
new kernel. I also rebuild racoon as it ofen breaks after an upgrade of
openssl. Howver racoon still keeps dying. Has anything changed in the build
of openssl between 4.7 and 4.8?

These are the error messages I am getting

2003-03-30 20:00:50: DEBUG: oakley.c:2745:oakley_do_encrypt(): begin
encryption.
2003-03-30 20:00:50: DEBUG: algorithm.c:382:alg_oakley_encdef():
encription(3des)
2003-03-30 20:00:50: DEBUG: oakley.c:2761:oakley_do_encrypt(): pad length =
4
2003-03-30 20:00:50: DEBUG: plog.c:193:plogdump():
0b18 28c7a485 75ad76ad b39e3d1a c184 72fcc45b 001c 0001
01106002 1ab8a05a 48d31cbd 3882106f 51b1f3f3 0004
2003-03-30 20:00:50: DEBUG: algorithm.c:382:alg_oakley_encdef():
encription(3des)
/usr/libexec/ld-elf.so.1: /usr/local/sbin/racoon: Undefined symbol
des_key_sched


It looks like to me that something has changed in the crypto libraries from
4-7-4.8.


Chris


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


racoon problems with -STABLE

2003-03-30 Thread chris scott

Hi,

I have just cvsuped to RELENG-4 yesterday and made world and installed the
new kernel. I also rebuild racoon as it ofen breaks after an upgrade of
openssl. Howver racoon still keeps dying. Has anything changed in the build
of openssl between 4.7 and 4.8?

These are the error messages I am getting

2003-03-30 20:00:50: DEBUG: oakley.c:2745:oakley_do_encrypt(): begin
encryption.
2003-03-30 20:00:50: DEBUG: algorithm.c:382:alg_oakley_encdef():
encription(3des)
2003-03-30 20:00:50: DEBUG: oakley.c:2761:oakley_do_encrypt(): pad length =
4
2003-03-30 20:00:50: DEBUG: plog.c:193:plogdump():
0b18 28c7a485 75ad76ad b39e3d1a c184 72fcc45b 001c 0001
01106002 1ab8a05a 48d31cbd 3882106f 51b1f3f3 0004
2003-03-30 20:00:50: DEBUG: algorithm.c:382:alg_oakley_encdef():
encription(3des)
/usr/libexec/ld-elf.so.1: /usr/local/sbin/racoon: Undefined symbol
des_key_sched


It looks like to me that something has changed in the crypto libraries from
4-7-4.8.


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


Accessing network shares without SMB

2003-03-30 Thread Daniela
Is it possible to access a remote Windoze drive by simply mounting it, as if 
it was a local one? If yes, how?
Can I enter a device name in the host:path notation?
Could the path be, for example, /dev/ad0s1 to access the first slice (I know 
almost nothing about that Micro$oft stuff)?
At least, I want to access it by giving just the IP, without that workgroup 
stuff.

Daniela


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


Backport of ServerWorks ATA to 4-Stable?

2003-03-30 Thread John Wilson
Hello all.

I was wondering if there would be a backport of the
ServerWorks GC chipset (CSB6 South bridge) to
4-Stable.  I am only able to obtain BIOSDMA support
on my HD's and basic PIO support of my CD-RW.

I played around with 5.0-Current on this machine and
by utilizing 'atacontrol', I was able to get DMA mode
transfers on all of the installed media.  There were
also no stability issues running in this mode either
under 5-Current.

Failing any plans by the developers to include this
support into the upcoming 4.8-Release or later -Stable
code, would it be possible to try and hack the
-Current code into -Stable myself?

Thank you for your time,
John Wilson

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


test

2003-03-30 Thread kirt
having trouble posting to the list, please ignore

--
-- kirt
-- www.pwnd.org



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


Re: Backport of ServerWorks ATA to 4-Stable?

2003-03-30 Thread Kevin Stevens
On Sunday, Mar 30, 2003, at 11:17 US/Pacific, John Wilson wrote:

Hello all.

I was wondering if there would be a backport of the
ServerWorks GC chipset (CSB6 South bridge) to
4-Stable.  I am only able to obtain BIOSDMA support
on my HD's and basic PIO support of my CD-RW.
I thought that was the optimum configuration.  (I have ServerWorks in 
my Dell 600SC.)
My understanding of the problem with the ServerWorks chipset was the 
inability to recognize slave drives; I still have this problem but have 
just put the server together so have not worked on it much yet.

I played around with 5.0-Current on this machine and
by utilizing 'atacontrol', I was able to get DMA mode
transfers on all of the installed media.  There were
also no stability issues running in this mode either
under 5-Current
What were your atacontrol settings, and how did you differentiate the 
results (dmesg, sysctl)?
FWIW, my drive recognition problem exists in 5.0 and 4.7-Stable.

I'll forward separately to you a message I received a couple of weeks 
ago on this or a related issue.

KeS

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


USB Printer

2003-03-30 Thread Konrad Scorciapino
Hello,

How can I configure a USB Printer on FreeBSD? Actually I have a Deskjet 656c 
from HP and I've tried to send something to /dev/ulpt0, but the system simply 
locked up.

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


switching IDE controllers

2003-03-30 Thread kirt
i've checked the handbook, man pages, web, etc. for info regarding
this and i'm still not entirely sure as to how i should go about it.

FreeBSD daemon.pwnd.local 4.7-STABLE FreeBSD 4.7-STABLE #6:
 Sun Mar 30 08:50:48 EST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DAEMONSMP  i386

dual AMD 1200 MP, 512 RAM

my original FreeBSD server was an older PC that did not have an
ATA100 IDE controller on-board, so i used a Promise TX2 ATA100
controller for all my drives, and just left the CD and DVD-roms on
the slower on-board controller.

now, later down the road, i've upgraded quite a bit and the server
has an on-board AMD 766 ATA100 Controller and i'd like to add some
drives to the setup.  i figured now would be as good a time as any
to move my main drive off the Promise card and on to the motherboard.

here are the 4 drives i currently have (from dmesg)

ad4: 19092MB WDC WD200BB-75CLB0 [38792/16/63] at ata2-master UDMA100
ad5: 38166MB WDC WD400BB-32CJA0 [77545/16/63] at ata2-slave UDMA100
ad6: 38166MB WDC WD400BB-00CLB0 [77545/16/63] at ata3-master UDMA100
ad7: 38166MB WDC WD400BB-75AUA1 [77545/16/63] at ata3-slave UDMA100

and the CD-ROM and DVD are on the on-board secondary IDE channel.

i want to take ad4, which is where FreeBSD is installed and all of my
main partitions are (/ , /var , /tmp , /usr , and the swap), and move
it to the on-board controller.  the other 3 drives are nothing but
data for samba shares.

i am not using the boot manager.

i've gathered that i will have to change the mount points in
/etc/fstab to reflect the new drive location (ad0), but past that i
am unsure as to what all needs to be done to have the machine boot
correctly.

i'm also a little afraid to just experiment because i have a lot of
really important stuff on here.  =)

thanks in advance.

--
-- kirt
-- www.pwnd.org



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


Re: Problem with Swedish Keyboard after XFree86 and Gnome upgrade

2003-03-30 Thread Magnus J
Hello


Tried adding the XkbVariant without any success. No xterm don't
work either. Just found out that angle brackets  are dead
too.

Which one of the GNOME keyboard utilities? Not very familiar
with GNOME, because I haven't really had any problem with it
before.

Thanks
Magnus
 --- Juli Mallett [EMAIL PROTECTED] skrev:  * De: Magnus J
[EMAIL PROTECTED] [ Data: 2003-03-30 ]
   [ Subjecte: Problem with Swedish Keyboard after XFree86 and
 Gnome upgrade ]
  I just upgraded my FreeBSD 4.7 box from XFree86 4.2.1, Gnome
 1.4
  to XFree86 4.3 and Gnome 2.2. After that, my Swedish
 keyboard no
  longer works as it used to do, e.g. the characters åäö
 doesn't
  work anymore. When I press those keys nothing happens.
 Anyone
  seen this problem?
  
  
  This is how my XF86Config looks like.
  
  ...
  Identifier  Keyboard1
  Driver  Keyboard
  Option  AutoRepeat 500 30# Specify which
  keyboard LEDs can be user-controlled (eg, with xset(1))
  Option  XkbRules xfree86
  Option  XkbModel pc98
  Option  XkbLayout se
  EndSection
 
 Mine works fine with XkbRules=xfree86, XkbModel=pc105,
 XkbLayout=se,
 XkbVariant=nodeadkeys...  Do they work in e.g. xterm, or is it
 GNOME apps you have problems with?  Likely you should run the
 GNOME
 Keyboard utility, which will allow you to switch.  I do,
 however,
 remember it doing stupid things like not showing me real
 possible
 choices until I had a LOCALE/LANG suitable.
 
 Hope this helps,
 juli.
 -- 
 juli mallett. email: [EMAIL PROTECTED]; aim: bsdflata;
 efnet: juli; 

_
Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express
Se mer på: http://se.docs.yahoo.com/info/express/help/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Accessing network shares without SMB

2003-03-30 Thread Tim Kellers
On Sunday 30 March 2003 02:15 pm, Daniela wrote:
 Is it possible to access a remote Windoze drive by simply mounting it, as
 if it was a local one? If yes, how?
 Can I enter a device name in the host:path notation?
 Could the path be, for example, /dev/ad0s1 to access the first slice (I
 know almost nothing about that Micro$oft stuff)?
 At least, I want to access it by giving just the IP, without that workgroup
 stuff.

 Daniela


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

I think this is an example of the command you want:

mount_smbfs -W [workgroup name] -I [windows box IP address]  //[valid windows 
box [EMAIL PROTECTED] name of windows box]/[the share name you want to mount] 
/[Freebsd mount point]

You'll be prompted for a password; there is also a way to have it read the 
windows password from a FreeBSD file.

This is all covered in man mount_smbfs(8)

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


Re: Problem with Swedish Keyboard after XFree86 and Gnome upgrade

2003-03-30 Thread Joe Marcus Clarke
On Sun, 2003-03-30 at 14:54, Magnus J wrote:
 Hello
 
 
 Tried adding the XkbVariant without any success. No xterm don't
 work either. Just found out that angle brackets  are dead
 too.

Perhaps this is not the right list for you to be using.  Have you tried
posting on [EMAIL PROTECTED]

 
 Which one of the GNOME keyboard utilities? Not very familiar
 with GNOME, because I haven't really had any problem with it
 before.

gnomeapplets2 has an applet called gkb that lets you switch keyboard
layouts.

Joe

 
 Thanks
 Magnus
  --- Juli Mallett [EMAIL PROTECTED] skrev:  * De: Magnus J
 [EMAIL PROTECTED] [ Data: 2003-03-30 ]
  [ Subjecte: Problem with Swedish Keyboard after XFree86 and
  Gnome upgrade ]
   I just upgraded my FreeBSD 4.7 box from XFree86 4.2.1, Gnome
  1.4
   to XFree86 4.3 and Gnome 2.2. After that, my Swedish
  keyboard no
   longer works as it used to do, e.g. the characters åäö
  doesn't
   work anymore. When I press those keys nothing happens.
  Anyone
   seen this problem?
   
   
   This is how my XF86Config looks like.
   
   ...
   Identifier  Keyboard1
   Driver  Keyboard
   Option  AutoRepeat 500 30# Specify which
   keyboard LEDs can be user-controlled (eg, with xset(1))
   Option  XkbRules xfree86
   Option  XkbModel pc98
   Option  XkbLayout se
   EndSection
  
  Mine works fine with XkbRules=xfree86, XkbModel=pc105,
  XkbLayout=se,
  XkbVariant=nodeadkeys...  Do they work in e.g. xterm, or is it
  GNOME apps you have problems with?  Likely you should run the
  GNOME
  Keyboard utility, which will allow you to switch.  I do,
  however,
  remember it doing stupid things like not showing me real
  possible
  choices until I had a LOCALE/LANG suitable.
  
  Hope this helps,
  juli.
  -- 
  juli mallett. email: [EMAIL PROTECTED]; aim: bsdflata;
  efnet: juli; 
 
 _
 Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express
 Se mer på: http://se.docs.yahoo.com/info/express/help/index.html
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Re: Backport of ServerWorks ATA to 4-Stable?

2003-03-30 Thread John Wilson
Hi, Kevin.

I, too, have the Dell PowerEdge 600SC.  Here is my IDE
configuration:

- 120GB Western Digital on primary master.
- Plextor CD-RW on secondary master.
- Lite-On DVD-Rom on secondary slave.

I've been running the 4-Stable series of FBSD for
quite some time now and just relegated the lack of
support of the ServerWorks Southbridge to should be
here soon.  Just for grins, I installed 5.0 and
cvsup'd -Current.

While running 5.0, I was able to throw the primary HD
into UDMA100 and noticed a fair amount of increased
visual performance.  The same went for the CD-RW and
DVD-Rom, under UDMA33.  I burned a number of full CD's
and made a number of full dumps of various DVD's to
the HD without issue.

Also, with the CD-RW and DVD-Rom, while running under
4.x, there is quite a hit on the interrupt activity as
reported by `top` while copying large amounts of data.
 On 5.0-Current, there was virtually none.   This is
about as scientific I've gotten with this thus far. :p

In regard to your machine not being able to recognize
slave devices, I don't really know.  I've both the
CD-RW and DVD-Rom on the secondary controller without
a hitch, and one HD on the primary master.

 What were your atacontrol settings, and how did you
 differentiate the 
 results (dmesg, sysctl)?

If I remember correctly, I used the following under
5.0:

atacontrol mode 0 UDMA100 UDMA100
atacontrol mode 1 UDMA33 UDMA33

Attempting to place the secondary controller into DMA
mode under 4.x, the machine would lock up shortly
after.

One other thing, the dmesg for 4.x states the
following:
pcib0: ServerWorks host to PCI bridge(unknown
chipset) on motherboard

Where as under 5.0, the dmesg correctly picked up and
displayed actual support for the CSB6 Southbridge.   I
don't have a dmesg handy for this.

- John

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Printer

2003-03-30 Thread Mike Meyer
In 200303301644.13393.Konrad Scorciapino , Konrad Scorciapino  typed:
 How can I configure a USB Printer on FreeBSD? Actually I have a Deskjet 656c 
 from HP and I've tried to send something to /dev/ulpt0, but the system simply 
 locked up.

if ulpt0 is showing up in dmesg, then you have the printer
configured. What to do next depends on what you want to do with the
printer - and whether or not the deskjet is a winprinter.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: switching IDE controllers

2003-03-30 Thread Mike Meyer
In [EMAIL PROTECTED], kirt [EMAIL PROTECTED] typed:
 i've checked the handbook, man pages, web, etc. for info regarding
 this and i'm still not entirely sure as to how i should go about it.

Yes you are.

 i want to take ad4, which is where FreeBSD is installed and all of my
 main partitions are (/ , /var , /tmp , /usr , and the swap), and move
 it to the on-board controller.  the other 3 drives are nothing but
 data for samba shares.

 i've gathered that i will have to change the mount points in
 /etc/fstab to reflect the new drive location (ad0), but past that i
 am unsure as to what all needs to be done to have the machine boot
 correctly.

That should do it. You may have to tweak the BIOS boot settings so it
boots from the new ad0. I don't have the hardware you do, so I can't
check that.

While you're adding new drives, I'd recommend adding a second swap
partition. Letting the kernel interleave paging across two drives
improves paging performance. If you're not paging, it doesn't matter.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Acroread port errors

2003-03-30 Thread taxman

Hi, I installed acroread-3.02 from ports but I get errors when trying to run 
it. First I got 3-4 errors about different lib versions needed, eg:

libc.so.5: cannot open shared object file: No such file or directory

Thats true because I had  libc.so.6 - libc-2.2.4.so  in /usr/compat/linux/lib
there were others that were similiar, but I forgot which ones.  So for fun, to 
see if it would work, I just created the new links  with 
# ln -s libc-2.2.4.so libc.so.5
and similiar for the others.  Now I get this error, and don't know what to do:

/usr/local/Acrobat3/Reader/intellinux/bin/acroread: relocation error: 
/usr/local/Acrobat3/Reader/intellinux/bin/acroread: undefined symbol: 
__libc_init

I'm guessing this is where the different lib versions are not playing well 
together.

pkg_version shows all of the relevant ports such as  linux_base-7.1_2 and 
acroread up to date.  cvsup'd ports last night

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


FB 5.0 Release - sound card problem - VIA VT82C686A

2003-03-30 Thread Stacy Trippe
Sound card makes no sound.  Verified that sound device enabled on boot,
and installed mpg123, to test.  Verified Mixer is set to 75-100 level on all
channels.  Everything appears to work, no error, however, no sound.



beowulf# uname -a
FreeBSD beowulf 5.0-RELEASE-p6 FreeBSD 5.0-RELEASE-p6 #5: Fri Mar 21 22:15:51 
CST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BEOWULF  i386
beowulf#

beowulf# dmesg |grep pcm
pcm0: VIA VT82C686A port 0x1850-0x1853,0x1854-0x1857,0x1000-0x10ff irq 5 at 
device 7.5 on pci0
beowulf#

beowulf# mpg123 Debra-apc.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title  : Debra   Artist: Beck
Album  : Midnite VulturesYear  : 1999
Comment: Genre : Rock

Playing MPEG stream from Debra-apc.mp3 ...
Junk at the beginning 49443303
MPEG 1.0 layer III, 192 kbit/s, 44100 Hz joint-stereo


My computer is a Compaq Presario 700-series laptop, with an AMD Athlon 4 
1500+.  I've attached the dmesg log.

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.0-RELEASE-p6 #5: Fri Mar 21 22:15:51 CST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/BEOWULF
Preloaded elf kernel /boot/kernel/kernel at 0xc051d000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc051d0a8.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1295520236 Hz
CPU: mobile AMD Athlon(tm) 4 1500+ (1295.52-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 251658240 (240 MB)
avail memory = 238858240 (227 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: PTLTDRSDT   on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 7 entries at 0xc00fdf50
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-safe  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x8008-0x800b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Sleep Button on acpi0
acpi_button1: Power Button on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_acad0: AC adapter on acpi0
acpi_cmbat0: Control method Battery on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA 82C8363 (Apollo KT133A) host to PCI bridge mem 0xec00-0xefff at 
device 0.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 82C686 ATA100 controller port 0x1840-0x184f at device 7.1 on pci0
atapci0: Correcting VIA config for southbridge data corruption bug
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: VIA 83C572 USB controller port 0x1800-0x181f irq 9 at device 7.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: bridge, PCI-unknown at device 7.4 (no driver attached)
pcm0: VIA VT82C686A port 0x1850-0x1853,0x1854-0x1857,0x1000-0x10ff irq 5 at device 
7.5 on pci0
pci0: simple comms at device 9.0 (no driver attached)
cbb0: TI1410 PCI-CardBus Bridge mem 0xffbfe000-0xffbfefff at device 10.0 on pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
pcib0: slot 10 INTA is routed to irq 11
rl0: RealTek 8139 10/100BaseTX port 0x1400-0x14ff mem 0xe801-0xe80100ff irq 11 
at device 11.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:08:02:4d:76:0b
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f0-0x3f5 
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model 

Create a hot backup server machine?

2003-03-30 Thread Ralph Dratman
I'm trying to create an offsite hot backup of a FreeBSD server. If 
the primary server fails, I want to transport the spare machine to 
the existing site and bring it up as a replacement, with little or no 
reconfiguration necessary.

Nightly mirroring would be adequate in this situation. The system is 
not running live transaction processing or anything comparable.

Is there a straightforward, automated way to mirror a whole FreeBSD 
system, using open source software?

I'm testing ftpcopy to remotely mirror the files and directories. 
Ftpcopy performs an incremental comparison using dates and file 
sizes, which should minimize the nightly backup time and traffic 
load. So far that part seems to be working well.

But I haven't figured out how to get the users, groups and 
permissions mirrored. There are about 200 users. And there may be 
other gotchas I haven't thought of yet.

Thank you very much.

Regards,

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


Re: Create a hot backup server machine?

2003-03-30 Thread Anti
On Sun, 30 Mar 2003 17:18:54 -0500
Ralph Dratman [EMAIL PROTECTED] wrote:

 I'm trying to create an offsite hot backup of a FreeBSD server. If 
 the primary server fails, I want to transport the spare machine to 
 the existing site and bring it up as a replacement, with little or no 
 reconfiguration necessary.
 
 Nightly mirroring would be adequate in this situation. The system is 
 not running live transaction processing or anything comparable.
 
 Is there a straightforward, automated way to mirror a whole FreeBSD 
 system, using open source software?


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


Wine

2003-03-30 Thread E. J. Cerejo
I'm running FreeBSD 4.8 and installed the latest version of wine.  I 
installed two windows applications using wine and they installed just 
fine, mIRC and WinMX, they run pretty well but I can't connect to any 
servers and I get the same error:

fixme:winsock:WS_bind Setting WS_SO_REUSEADDR on socket before we binding it
fixme:winsock:WS_bind Setting WS_SO_REUSEADDR on socket before we binding it
fixme:winsock:WS_bind Setting WS_SO_REUSEADDR on socket before we binding it
fixme:winsock:WS_bind Setting WS_SO_REUSEADDR on socket before we binding it
fixme:winsock:WS_bind Setting WS_SO_REUSEADDR on socket before we binding it
fixme:winsock:WS_bind Setting WS_SO_REUSEADDR on socket before we binding it
fixme:winsock:WS_bind Setting WS_SO_REUSEADDR on socket before we binding it
fixme:winsock:WS_bind Setting WS_SO_REUSEADDR on socket before we binding it
I have no problems connecting when using a X app.  I'm also behind a 
firewall but I have no problems when running Xchat or Limewire.  Is 
there anything extra I should do to my ~/.wine/config file so that these 
window apps see my TCP connection?

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


Re: Create a hot backup server machine?

2003-03-30 Thread Matthew Seaman
On Sun, Mar 30, 2003 at 05:18:54PM -0500, Ralph Dratman wrote:
 I'm trying to create an offsite hot backup of a FreeBSD server. If 
 the primary server fails, I want to transport the spare machine to 
 the existing site and bring it up as a replacement, with little or no 
 reconfiguration necessary.
 
 Nightly mirroring would be adequate in this situation. The system is 
 not running live transaction processing or anything comparable.
 
 Is there a straightforward, automated way to mirror a whole FreeBSD 
 system, using open source software?
 
 I'm testing ftpcopy to remotely mirror the files and directories. 
 Ftpcopy performs an incremental comparison using dates and file 
 sizes, which should minimize the nightly backup time and traffic 
 load. So far that part seems to be working well.
 
 But I haven't figured out how to get the users, groups and 
 permissions mirrored. There are about 200 users. And there may be 
 other gotchas I haven't thought of yet.

Sounds to me like this is a job for rsync(1) --- see
http://rsync.samba.org/ or net/rsync in ports.  You can use rsync to
maintain a remote copy of a partition, as you describe.  rsync(1) will
transmit only the minimum necessary over the wire in order to bring
the two filesystems into synch.  Eg. to save or update a copy of the
/var partition on your live server to a backup machine:

# rsync -avx --delete /var/ backup.example.com:/backups/var/

By default on FreeBSD, rsync(1) will use ssh(1) for remote shell
access.  For unattended access you probably need to set up appropriate
ssh keys without passwords, but definitely limiting access based on
the 'from=' hostname and/or command used via options in the
~/.ssh/authorized_keys file, as described in the 'AUTHORIZED_KEYS FILE
FORMAT' section of sshd(8) -- you should also turn off the three types
of forwarding with an autologin key.  See also
http://www.snailbook.com/faq/no-passphrase.auto.html

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Create a hot backup server machine?

2003-03-30 Thread Doug Hardie
On Sunday, Mar 30, 2003, at 14:18 US/Pacific, Ralph Dratman wrote:

I'm trying to create an offsite hot backup of a FreeBSD server. If 
the primary server fails, I want to transport the spare machine to the 
existing site and bring it up as a replacement, with little or no 
reconfiguration necessary.

Nightly mirroring would be adequate in this situation. The system is 
not running live transaction processing or anything comparable.

Is there a straightforward, automated way to mirror a whole FreeBSD 
system, using open source software?

I'm testing ftpcopy to remotely mirror the files and directories. 
Ftpcopy performs an incremental comparison using dates and file sizes, 
which should minimize the nightly backup time and traffic load. So far 
that part seems to be working well.

But I haven't figured out how to get the users, groups and permissions 
mirrored. There are about 200 users. And there may be other gotchas I 
haven't thought of yet.
The approach I am using is to tar the system to a file on the 
production machine and then rsync that file with my off-site backup 
machine.  I leave it as a tar file on the backup as its almost 
impractical for me to move that machine to the production site.  I 
would replace the machine on the production site and then copy the file 
back from the backup machine and un-tar it.

In your case I would create the tar file, rsync it to the backup 
machine and then un-tar it there.  Tar retains permissions and 
ownership properly.  Leave the previous tar file on the backup machine 
as rsync will use it to reduce the download time.  My backup file (4 
servers) is just over 4 GB.  The rsync transfer only sends 1/16th of 
it.  Much of the archived data does not change very often.

-- Doug

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


Re: Mitsubishi Diamond Touch keyboard problem

2003-03-30 Thread Murray Taylor
On Sat, 29 Mar 2003 12:16, Greg 'groggy' Lehey wrote:
 On Friday, 28 March 2003 at 14:13:45 +1030, W. Sierke wrote:
  Greg 'groggy' Lehy wrote:
  This is probably a timing problem with the keyboard.  I had a couple
 
  snip
 
  I'd suggest you try 4.8 or 5.0 and see if the problem persists.  You
 
  Thanks for that, Greg. In fact I had originally attempted an install of
  5.0 and when I sought assistance with that same problem it was suggested
  that I drop back to 4.7. So the problem does still appear to be present.
 
  Who could I speak to in order to determine whether any assistance can be
  offered in debugging any outstanding issues with this keyboard?

 This kind of question has come by before.  IIRC it's a question of
 setting certain timing delays correctly.  See if you can find anything
 in the archives.  Google may also be able to help.

 Greg
 --



---8

I cant recall the PR number but this is in the send-pr database...
Someone created the entry nad I added to it..

It is to do with the setting of the atkbd flag in the GENERIC kernel
as supplied.  It has to be set to 0 for the Mitsubishi keyboards to have any 
hope of
working ... but in the GENERIC kernel from about 4.5?? it is set to 1. So on a 
new
install, you will get through the bootloader then die.
Not being a kernel driver hacker.. I didnt/couldnt get any further.

The only workarounds for the Mitsubishi keyboards is dont use them. OR
install an early distro (4.5??), cvsup to -STABLE or wherver, edit the 
GENERIC configuration file and set the offending flag to 0, make world
and try again. (verrr tedious... and could still bite you)

We got a batch of these keyboards some time ago at work and had to return
them all.

HTH

Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
Phone: 61 3 8710 2555
Fax: 61 3 8710 2599
Direct: 61 3 9238 4275
Mobile: 61 0417 319 256
Email: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com


This Email has been scanned for Viruses by MailMarshal.

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


Only one of two builtin USB hubs working with 4.x, both work with5.x

2003-03-30 Thread Jody Franklin
I have an IBM NetVista A40i, and with both FreeBSD 4.7, and 4.8 RC I can 
only use the first of the two builtin USB hubs. While with 5.0 they both 
work. I went back from 5.0 to 4.x because of the changes in the device 
driver handling (I use the 4Front sound drivers), and found that the USB 
ports on the front of my machine stopped working with 4.7, when updating 
to 4.8 RC they still didn't work. The ones on the back still work fine.

This is the relevant dmesg output:

uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 9 at device 
7.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 9 at device 
7.3 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered

Is there anything I can do to make the second one actually work (there 
is no event triggered with I connect a device to either of the ports for 
the second hub) or is this a known issue I'll just have to wait for?

Jody

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


Re: Best X configurator for laptops?

2003-03-30 Thread Greg 'groggy' Lehey
On Sunday, 30 March 2003 at  8:44:34 -0800, Paul Hoffman wrote:
 At 8:29 AM -0800 3/30/03, Nathan Kinkade wrote:
 On Sun, Mar 30, 2003 at 07:59:59AM -0800, Paul Hoffman wrote:
 Hi again. I have a Dell Inspiron 3500 laptop, now running 4.7.
 xf86cfg and xf86config both give (different) unusable results for my
 system. Which of the other X configurators in the ports collection
 seem to do a good job on laptops, if any?

 You need to be more specific about the problems you are encountering.

 I was trying to avoid that because it doesn't seem like this is a
 good place to debug particular XWindows problems.

 But, since you asked, the screen comes up blank. There are no
 XWindows errors, just a blank screen.

Can you exit the screen again with ctrl-alt-backspace?

There were some problems with certain chip sets a while back.  When I
got my Inspiron 7500, I had the same problem (well, as far as you
describe it).  They needed to update XFree86 to fix it.  You might
find it a good idea to install the latest version of XFree86 from the
Ports Collection.

 Thus, my quest for a better configuration...

You're jumping to conclusions that it's the configurator.

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


pgp0.pgp
Description: PGP signature


Smarter 'make buildkernel'?

2003-03-30 Thread Paul Hoffman
Hi again. Is there a way to get 'make buildkernel' in /usr/src to not 
rebuild things that it already compiled? I'm playing around on a 
not-very-fast laptop, and the rebuilds take forever.

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


Only one of two builtin USB hubs working with 4.x, both work with5.x

2003-03-30 Thread Jody Franklin
I have an IBM NetVista A40i, and with both FreeBSD 4.7, and 4.8 RC I can
only use the first of the two builtin USB hubs. While with 5.0 they both
work. I went back from 5.0 to 4.x because of the changes in the device
driver handling (I use the 4Front sound drivers), and found that the USB
ports on the front of my machine stopped working with 4.7, when updating
to 4.8 RC they still didn't work. The ones on the back still work fine.
This is the relevant dmesg output:

uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 9 at device
7.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 9 at device
7.3 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
Is there anything I can do to make the second one actually work (there
is no event triggered with I connect a device to either of the ports for
the second hub) or is this a known issue I'll just have to wait for?
Jody

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


Re: Best X configurator for laptops?

2003-03-30 Thread Paul Hoffman
At 9:43 AM +0930 3/31/03, Greg 'groggy' Lehey wrote:
  Thus, my quest for a better configuration...

You're jumping to conclusions that it's the configurator.
Turns out I wasn't. None of the configuration programs got me 
anywhere close. They either got the monitor wrong, the card wrong, 
the screen wrong, or a combination.

I ended up cobbling it together from some advice for Linux, some 
other snippets and so on. In case anyone cares, the relevant hard 
parts of the XF86Config for (my/the) Inspiron 3500 are:

Section Monitor
Identifier   Monitor0
HorizSync31.5-48.5
VertRefresh  60
EndSection
Section Device
Identifier  Card0
Driver  neomagic
VendorName  Neomagic
BoardName   NM2200
EndSection
Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 16
SubSection Display
Depth 16
Modes1024x768
EndSubSection
EndSection
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dd

2003-03-30 Thread Grant Peel
Hi all,

I am about to make the trip to shutdown one of our servers and 'dd' the
first SCSI drive to the second.

from what I have read, and what some of you have kindly offered, I just kick
into single user mode, with only root mounted on the primary drive, and away
we go...

dd if=/dev/da0 of=/dev/da1 bs=1m

One last question, the second drive is identical to the first, but should it
be right out odf the box condition, formatted, fdisk'ed partiitioned or does
any of that matter since it will be copies bit for bit?

TIA!

-Grant

Grant W. Peel
Server Admin
[EMAIL PROTECTED]
http://thenetnow.com

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


Re: UDMA

2003-03-30 Thread Wilkinson,Alex
I have seen these errors before. It has to do with Electro Magnetic Interference 
(noise).
Try using different ribbons (ATA33) and see if the errors disappear.

 - aW


ad0: UDMA ICRC error cmd=read fsbn 61731938
 retrying
ad0: UDMA ICRC error cmd=read fsbn 61731938
 retrying
ad0: UDMA ICRC error cmd=read fsbn 61731938
 retrying
ad0: UDMA ICRC error cmd=read fsbn 61731938

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


Re: UDMA

2003-03-30 Thread Josh Paetzel
On Mon, Mar 31, 2003 at 09:39:40AM +0930, Wilkinson,Alex wrote:
 I have seen these errors before. It has to do with Electro Magnetic Interference 
 (noise).
 Try using different ribbons (ATA33) and see if the errors disappear.
 
  - aW


It can also have to do with dying drives and/or controllers, as well as bad 
cables.

Josh Paetzel
 
 
   ad0: UDMA ICRC error cmd=read fsbn 61731938
retrying
   ad0: UDMA ICRC error cmd=read fsbn 61731938
retrying
   ad0: UDMA ICRC error cmd=read fsbn 61731938
retrying
   ad0: UDMA ICRC error cmd=read fsbn 61731938
 
 ___
 [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]


[no subject]

2003-03-30 Thread skylex
%list
-- 
 ,
 skylex  mailto:[EMAIL PROTECTED]



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


Possible to use multiple keyboards simultaneously?

2003-03-30 Thread Bob Thompson
Greetings.

I'd *really* like to use multiple keyboards simultaneously on the same
FreeBSD 4.x box(*).  Console mode would be great, but I'd settle for
an X11-only solution.  A 5.x solution would be fine, too.

The best I can find is using kbdcontrol(1) to choose which keyboard is
the active one:

# kbdcontrol -k /dev/kbd0  /dev/console
# kbdcontrol -k /dev/kbd1  /dev/console

... where /dev/kbd0 is my PS/2 keyboard and /dev/kbd1 is (when plugged
in) a USB keyboard.  Like I said, I wish to have both active
simultaneously.

The man page for kbdcontrol(1) and ukbd(4) don't say anything that
makes me hopeful.  From what I see in the implementation of the
CONS_SETKBD ioctl(), I'm even less hopeful.  Hopefully I'm just
wrong?

/bob

(*) I've got a Mini from FingerWorks, http://www.fingerworks.com/.
When plugged in, it advertises itself both as a keyboard and as a
mouse.

Mar 18 22:25:59 littlebird /kernel: ukbd0: FingerWorks TouchStream Mini ver 1.09, 
rev 1.10/1.09, addr 2, iclass 3/1
Mar 18 22:25:59 littlebird /kernel: kbd1 at ukbd0
Mar 18 22:25:59 littlebird /kernel: ums0: FingerWorks TouchStream Mini ver 1.09, 
rev 1.10/1.09, addr 2, iclass 3/1
Mar 18 22:25:59 littlebird /kernel: ums0: 5 buttons and Z dir.

It's a really cool thing mouse-wise: simultaneous multiple finger
gestures are really cool.  And useful.  However, the keyboard isn't as
nice to type on as my Kinesis.  But there are some gestures that the
Mini sends as a keyboard device, such as up/down/right/left arrows,
not as a mouse device.  Once you start dragging two fingers across a
FingerWorks keyboard to move the mouse and a single finger to move the
cursor, it gets addictive *very* quickly.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailing list was: no subject

2003-03-30 Thread taxman
On Sunday 30 March 2003 09:42 pm, skylex wrote:
 %list

The freebsd lists aren't administrated with majordomo anymore, checkout this 
link:  
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd

2003-03-30 Thread taxman
On Sunday 30 March 2003 07:57 pm, Grant Peel wrote:
 Hi all,

 I am about to make the trip to shutdown one of our servers and 'dd' the
 first SCSI drive to the second.

 from what I have read, and what some of you have kindly offered, I just
 kick into single user mode, with only root mounted on the primary drive,

ro, I assume

 and away we go...

 dd if=/dev/da0 of=/dev/da1 bs=1m

That'll copy the data, but you'll want to prep the disk.  I've seen 
recommendations something along the lines of: read data off the whole new 
disk first  dd if=/dev/da1 of=/dev/null  then write the data you want on it, 
then read it off to /dev/null again.
Something to the effect of populating the drives on disk bad sector records.  
There may be more burn in recommended, but I couldn't find anything in the 
archives.

 One last question, the second drive is identical to the first, but should
 it be right out odf the box condition, formatted, fdisk'ed partiitioned or
 does any of that matter since it will be copies bit for bit?

None of that matters for the reason you noted.

 TIA!

np,

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


Re: Bind 9

2003-03-30 Thread dusk
Thank you very much!


[EMAIL PROTECTED]
[EMAIL PROTECTED]

And so, it begins - Kosh

On 30 Mar 2003, Lowell Gilbert wrote:

 [EMAIL PROTECTED] writes:
 
  This may be a silly question but I need some help so here it is. I
  installed bind 9 and I am unable to find it. I installed FreeBSD 4.4
  upgraded to 4.7 stable. I have bind 8 installed. I want to run bind 9   
  for security reasons. I installed in from ports. I can't find it. I 
  thought that it simply replaced the executable /usr/sbin/named. But the   
  last change date it has is from the initial install. The named.conf file  
  has not changed, and I can't find a directory specifying bind 9. Anybody 
  able to help me out here?
 
 pkg_info -L 'bind*'
 

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


Can FreeBSD-SA-03:07.sendmail be fixed with cvsup and portupgrade?

2003-03-30 Thread Gary Dunn
With regards to the sendmail advisory just published
(FreeBSD-SA-03:07.sendmail), will upgrading from the ports CVSup fix the
problem, or do I have to perform one of the procedures described in the
bulletin? I am working towards tracking the 4.6-STABLE tree, but for now I
am at 4.6.2-RELEASE. I do upgrade my ports with cvsup and portupgrade.

-- 

   _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
  _/ _/
 _/  Gary Dunn  _/
_/  Open Slate Project _/
   _/  http://openslate.sourceforge.net/  _/
  _/  http://www.aloha.com/~knowtree/_/
 _/  Honolulu   _/
_/  registered Linux user #273809  _/
   _/ _/
  _/  This tagline is umop apisdn.   _/
 _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


intel desktop board and floppy drive

2003-03-30 Thread Andrew Thomson
anyone experience problems mounting floppies using an intel desktop
board??

I've been able to replicate the problem under 4.4 and 5.0

mount -t msdos /dev/fd0 /mnt/floppy/
msdosfs: /dev/fd0: Input/output error

fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port
0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
fd0: hard error cmd=read fsbn 128 of 128-143 (ST0 44abnrml,top_head
ST1 4sec_not_fnd ST2 0 cyl 3 hd 1 sec 3)
fd0: hard error cmd=read fsbn 128 of 128-143 (ST0 44abnrml,top_head
ST1 4sec_not_fnd ST2 0 cyl 3 hd 1 sec 3)

ajt.

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


evolution...

2003-03-30 Thread Gary D Kline

Folks,

I find that the reason my newly build evolution just-hangs
is that it is looking for at least one library.  After 
much hassling with the config windows I have evolution 
working in my daughter's account on my RH platform.  (mutt 
has been working for a few days, no prob.)

Anyway, can anybdy give me the magic commands to get pkg_add -r
to work?  From now on, unless I really, really want to see the
src, a package installation is fine.  I'm running 4.7 here.

thanks much,

gary

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


microuptime problem!

2003-03-30 Thread Robert
Dear Sir,
Sorry to disturb you, We are motherboard manufacturer on IPC and POS area.
Our company is: UNICORN COMPUTER corp., and my name is: Robert Liou
We got a problem on FreeBSD!
One of customer setup system on our motherboard with FreeBSD4.7(release) and encounter 
some error message:
/kernel: microuptime() went backwards (520876.453077 - 520876.-694936726)
And customer send me some information from FreeBSD organization, but I'm really don't 
understand what is that meaning!
It is look like some software procedure. But unfortunately, I'm H/W designer. So, my 
question is:
Is any possible to patch this issue by hardware solution?
Please give me a EMAIL and  thanks for your help!

2003-03-31
w/ Best Regards,
= UNICORN COMPUTER Corp. =
Robert Liou
Technical Dept.
Tel: 886-2-2223-6699 (ext.28)
Fax: 886-2--1269
E-mail: [EMAIL PROTECTED]
http://www.unicorn-computer.com.tw
=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Smarter 'make buildkernel'?

2003-03-30 Thread Erik Trulsson
On Sun, Mar 30, 2003 at 04:21:57PM -0800, Paul Hoffman wrote:
 Hi again. Is there a way to get 'make buildkernel' in /usr/src to not 
 rebuild things that it already compiled? I'm playing around on a 
 not-very-fast laptop, and the rebuilds take forever.

'make -DNOCLEAN buildkernel' should do the trick.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Software Watchdog?

2003-03-30 Thread Lasse Laursen
Hi,

Are there any apps. like 'watchdog' -
http://packages.debian.org/stable/admin/watchdog.html - for FreeBSD?

I have been searching the ports tree and freshmeat but was unable to locate
anything usefull.

Regards
--
Lasse Laursen [EMAIL PROTECTED] - Systems Developer
NetGroup A/S, St. Kongensgade 40H, DK-1264 Kbenhavn K, Denmark
Phone: +45 3370 1526 - Fax: +45 3313 0066 - Web: www.netgroup.dk

- Don't be fooled by cheap finnish imitations ; BSD is the One True Code


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


Re: Network programming

2003-03-30 Thread Francesco Casadei
On Sun, Mar 30, 2003 at 08:48:38PM +0200, Socketd wrote:
 Hi all
 
 I'm programming in C++ and want to play with ACE, but I can't find it 
 in the ports. Am I wrong? if no is someone porting it to FreeBSD?

I don't know, sorry.

 
 Is libpcap and libnet is the base system? I found libnet is the 
 ports, but not libpcap.

Yes, pcap is in the base system. Source is in:

/usr/src/contrib/libpcap
/usr/src/lib/libpcap

man pcap for more information.

 
 (Some people tend to only reply to the group, but as I am not on the 
 list, please CC to me.)
 
 br
 socketd
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 end of the original message

Francesco Casadei
-- 
You can download my public key from http://digilander.libero.it/fcasadei/
or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...)

Key fingerprint is: 1671 9A23 ACB4 520A E7EE  00B0 7EC3 375F 164E B17B



pgp0.pgp
Description: PGP signature


Re: Best X configurator for laptops?

2003-03-30 Thread Pierrick Brossin
Quoting Greg 'groggy' Lehey [EMAIL PROTECTED]:

 There were some problems with certain chip sets a while back.  When I
 got my Inspiron 7500, I had the same problem (well, as far as you
 describe it).  They needed to update XFree86 to fix it.  You might
 find it a good idea to install the latest version of XFree86 from the
 Ports Collection.

Well, I have a SONY Vaio laptop running XF 4.3.0 (and 4.2.1 before).
I both time had to modify the config file to insert VertRefresh and HorizSync
and also a modeline.

Otherwise I would a 640x480 screen.

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Mail Prof: pbrossin_AT_quark.ch Mail Priv: admin_AT_swissgeeks.com
* Website: http://www.swissgeeks.com * 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Lyx 1.3.0

2003-03-30 Thread Eduardo Viruena Silva

I have successfully compiled Lyx 1.3.0 from the ports.
It was not simple, I had to cvs-update my ports, and I had
to compile qt-3.1.1_4 and kde 3.1.

Now, the problem is:  I cannot see formulae in the editor.
Nevertheless, they are correctly processed by LaTeX and displayed
with View/DVI in the main menu.

It seems to me I have missed some fonts... but I don't know
which and where I must install them.

Could you help me?

Eduardo.

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


isnan() with gcc 3.2.2 on FreeBSD 5.0-C

2003-03-30 Thread Ying-Chieh Liao
the following code snippet works fine with gcc 2.95.4 on RELENG_4
but failed on my -current

code
#include iostream
#include cmath

using namespace std;

int main(void)
{
cout  isnan(1.0)  endl;
return 0;
}
/code

err
test.cpp: In function `int main()':
test.cpp:8: `isnan' undeclared (first use this function)
test.cpp:8: (Each undeclared identifier is reported only once for each function
   it appears in.)
/err

what's wrong with my system ? or what can I do for it ?
-- 
int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\
o, world!\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
-- IOCCC 1984


pgp0.pgp
Description: PGP signature


Re: Can FreeBSD-SA-03:07.sendmail be fixed with cvsup and portup

2003-03-30 Thread Toomas Aas
Hi!

 With regards to the sendmail advisory just published
 (FreeBSD-SA-03:07.sendmail), will upgrading from the ports CVSup fix the
 problem, or do I have to perform one of the procedures described in the
 bulletin? 

The advisory is about Sendmail in the base system, so anything you do with ports
shouldn't affect it.

There is, of course, a possibility to install Sendmail from ports (replacing
the one in the base system) and if the port is recent enough then the problem
is fixed there. But you need to check the port information first.

I think that for just fixing this particular bug it is easier to patch and
rebuild the base system sendmail as described in the advisory.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I haven't lost my mind; I know exactly where I left it.

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


making expect without X11

2003-03-30 Thread Jim Arnold
How do I compile expect without having X windows installed?

If I use: make WITHOUT_X11=yes  if bombs out with the message below:

ct.o shared/exp_event.o  shared/exp_chan.o shared/Dbg.o 
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -ltcl83   -lm -lc
/usr/libexec/elf/ld: unrecognized option '-Wl,-rpath,/usr/local/lib'
/usr/libexec/elf/ld: use the --help option for usage information
*** Error code 1

Stop in /usr/ports/lang/expect/work/expect-5.38.
*** Error code 1
Stop in /usr/ports/lang/expect.

Please CC any responses to me as I cannot subscribe to the list.

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


Re: How can I rescan the scsi-bus in freebsd?

2003-03-30 Thread Jeremy Faulkner
On Sun, Mar 30, 2003 at 05:52:18PM +0200, Eveline wrote:
 Hi there,
 
 I'd like to know how to rescan the scsi bus in FreeBSD 4.7. I have an
 external scsi harddisk that I only switch on when needed. I would like to
 be able to mount the hd as soon as I've switched it on, without having to
 reboot my FreeBSD machine.
 
 Thanx in advance.
 
 Greetings,
 
   Eveline.

camcontrol rescan

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


/dev on a read-only filesystem?

2003-03-30 Thread J. Seth Henry
I have managed, through hook and crook, to get a full 4.7-REL install on a
Compaq IA-1 internet appliance. I put a kernel, /bin, /etc, /boot, /dev,
/proc, and a partial /sbin on the internal flash memory. During boot, I
mount a complete /sbin, /usr and swap on a microdrive. Since I want to
reduce the number of writes to the flash, I linked /tmp, /var, and /root
to directories in /usr. So far, so good - the bulk of the write/update
activity is now pointed to the microdrive which has no physical write
limits.

The trick is, if I make / read-only, I run into problems with /dev. During
boot, I get numerous error messages - and things don't seem to work quite
right. Is there a way to mount / read-only, while maintaining a working
/dev? Can /dev be mounted from another filesystem - or, preferably (since
the OS is already running) be linked to, say, /usr/dev?

If not, how much write activity to the actual, physical volume takes place
in /dev. Also, does anything happen on the physical disk with /proc. I
don't think it does squat to the physical disk, since a procfs
filesystem is mounted there, but I want to make sure I don't damage the
flash with periodic writes. I would feel best if the internal flash were
completely read-only. BTW - if it wasn't clear, the system boots from
flash, and them mounts the microdrive.

Also, and perhaps unrelated, if I attempt to run getty from the flash, I
get an error message about getty spawning too fast - and I can't ever
login on the console. This doesn't happen when I launch getty from the
microdrive. Odd, but unimportant - as the microdrive is necessary for the
system to run

Thanks,
Seth Henry

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


4.7-REL and the AM79C978C PCNet-Home HNPA/10Base-T adapter

2003-03-30 Thread J. Seth Henry
I think this came up a while back, and no one had any clues, but this
device doesn't seem to be fully supported in 4.7-REL. The adapter itself
is, but I always get an error message about there being no supported PHY's
- which is interesting, because there are actually two MII phy's in the
ASIC.

Here is the kernel info:
pcn0: AMD PCnet/Home HomePNA port 0x1c00-0x1c1f mem
0x4120-0x4120001f irq 9 at device 5.0 on pci0
pcn0: Ethernet address: 00:01:fa:ff:ac:57
pcn0: MII without any PHY!
device_probe_and_attach: pcn0 attach returned 6

I have configured my kernel thusly:
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these
NICs!
device  miibus0 # MII bus support
device  miibus
device  xl  # 3Com 3c905c support
device  pcn # AMD PCnet32/PCI support

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop# Network loopback
pseudo-device   ether   # Ethernet support
pseudo-device   tun # Packet tunnel.
pseudo-device   pty # Pseudo-ttys (telnet etc)
pseudo-device   md  # Memory disks
#pseudo-device  gif # IPv6 and IPv4 tunneling
#pseudo-device  faith   1   # IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf #Berkeley packet filter

# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage
device  ums # Mouse
# USB Ethernet, requires mii
device  aue # ADMtek USB ethernet
device  cue # CATC USB ethernet
device  kue # Kawasaki LSI USB ethernet

(note - I only included the network and USB sections for brevity)

the xl driver was included for development builds - as my development PC
has a 3Com nic in it (just makes things easier)

Does anyone know if this is on the bug-board, or fixed in the next
release? I ask only because I can't replace it - it is built into the
Compaq IA-1's with ethernet. Presently, I am working around the issue with
a USB NIC, but performance is far from optimal.

Thanks,
Seth Henry

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


how to aggregate rules using ipfw2 ?

2003-03-30 Thread Ilia E. Chipitsine
Dear Sirs,

how can I aggregate rules ...

ipfw add allow ip from any to 192.168.0.0/16
ipfw add allow ip from any to 10.0.0.0/8

... into the single rule, probably using { .. or .. } syntax?
I read man page, tried few combination, but them don't work for me.

Cheers,
Ilia Chipitsine

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


Re: Sendmail not building

2003-03-30 Thread Dan Nelson
In the last episode (Mar 30), Robert Hulme said:
   Has anyone got any ideas why it isnt building?
  something is wrong with your libbind.so
  please update or deinstall bind8 or bind9
  
  sendmail-8.12.9 builds fine here FreeBSD.4.5-RELEASE.
 I've tried deinstall and installing bind8 from ports... It installs fine
 (and now runs the latest version) but /usr/lib/libbind.so is not
 updated, the file modification date stays the same as it was before, and
 sendmail wont compile...

There should be no /usr/lib/libbind.so.  Delete it.

-- 
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: fonts.alias / fonts.scale

2003-03-30 Thread Mike Meyer
In [EMAIL PROTECTED], /* jsha */ [EMAIL PROTECTED] typed:
 I've got a directory filled with Type1 fonts (.afm, .inf, .pfa, .pfb and .pfm
 accompanying each font release) which I'm trying to install on X11. However,
 in order to make mkfontdir work I seem to need a fonts.alias and/or fonts.scale
 in advance.

See URL:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fonts/x141.html 
for instructions on adding fonts to fonts.dir and fonts.scale.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fonts.alias / fonts.scale

2003-03-30 Thread Dan Nelson
In the last episode (Mar 30), /* jsha */ said:
 I've got a directory filled with Type1 fonts (.afm, .inf, .pfa, .pfb
 and .pfm accompanying each font release) which I'm trying to install
 on X11. However, in order to make mkfontdir work I seem to need a
 fonts.alias and/or fonts.scale in advance.
 
 How do I make one?

The XFree86 4.3.0 port installs a mkfontscale command that generates
fonts.scale files from Type1 and TTF fonts.

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