The FreeBSD Diary: 2002-11-03 - 2002-11-23

2002-11-24 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/. 

These are the articles posted during this period:

13-Nov : CUPS (Common UNIX Printing System) - installation and configuration
 A portable printing layer for UNIX-based operating systems
 http://freebsddiary.org/cups.php?2

6-Nov : Postfix - virtual domains
 This is easier than it sounds
 http://freebsddiary.org/postfix.php?2


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


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



Re: Ports base?

2002-11-24 Thread Kent Stewart


Peter Leftwich wrote:

I tried to install just the ports base using sysinstall but it started to
download the entire ports collection, and my HD space is limited.

Is there a part of the handbook that explains how to do this?  Or is there
a single command line I can use to cvsup the ports base?  I'm overdue.



Copy /usr/share/examples/cvsup/ports-supfile to someplace convienent. 
Edit it and comment the ports-all and uncomment #ports-base and use 
it as the command argument to cvsup.

It still sounds like you are trying to install the transmission and 
ignore the rest of the car.

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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


Re: Ports base?

2002-11-24 Thread Kris Kennaway
On Sun, Nov 24, 2002 at 12:03:46AM -0800, Peter Leftwich wrote:
 I tried to install just the ports base using sysinstall but it started to
 download the entire ports collection, and my HD space is limited.

I didn't think that sysinstall allowed you to install parts of the
ports collection, only the entire collection (which is about 9MB).

Kris



msg09960/pgp0.pgp
Description: PGP signature


Logging transactions in MySQL

2002-11-24 Thread Kjell
Hi!

I have followed the instructions on the mysql.com site to set up mysql 
to log all changes to my data base. This works fine. But when I reboot 
the PC I have to manually restart the logging. How can I automate this?

regards from Kjell/LA3SG


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



Re: Confirmation: ext2fs requires kernel rebuild?

2002-11-24 Thread David Schultz
Thus spake Cliff Sarginson [EMAIL PROTECTED]:
 On Thu, Nov 21, 2002 at 03:09:12PM -0800, David Schultz wrote:
  Thus spake Cliff Sarginson [EMAIL PROTECTED]:
  FreeBSD support for ext2fs is a specific instance of the more
  general problem that features that very few people care about tend
  not to get maintained.  FreeBSD already has a filesystem that is
  more complete and faster than ext2fs,[1] so the only people using
  both UFS and ext2fs are also running Linux.  If you mount an
  ext2fs filesystem r/w, consider yourself a beta tester.
  
 Oh I am not comparing their relative merits. But the thing is there are
 people who for one reason or another run heterogenous networks. I mean
 it is not a crime to run both Linux and FreeBSD (or is it ?). My feeling
 is that it is a shame that is all. 
 
 As for your scathing comment about the evolution of EXT2, I have no comment
 since it sounds like opinion rather than fact. 

The point of my post was to point out why nobody is interested in
maintaining FreeBSD's ext2fs support.  But ext2fs really is a
simplified version of FFS!  Basically, they took out support for
fragments and vastly simplified the allocation policies.  Some of
the things they took out aren't even used anymore in FFS, like the
code to take rotational offsets on the disk into consideration.
On the other hand, they left out Kirk's realloc algorithm, which
has been shown to significantly reduce fragmentation as
filesystems age.

(FYI, some people have expressed interest in porting ReiserFS to
FreeBSD.  Hans Reiser is willing to negotiate special exceptions
to the license, as long as Microsoft can't build the next version
of Windows on top of FreeBSD and be able to use his filesystem for
free.)

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



Re: Disk copying

2002-11-24 Thread David Schultz
Thus spake Mark [EMAIL PROTECTED]:
  Are the disks the same size/geometry?  If so:
 
  dd if=/dev/olddisk of=/dev/newdisk bs=32k
 
 Can dd also be used to copy to/fro my RAID disks (40G), to a single 40G
 disk? The latter is of a different brand, but has the same size. In other
 words: how identical does the geometry need to be?
 
 If I can use dd here, I think I will use dd to create a core system; and
 then use additional dumps to backup individual slices.

If the drives have the same geometry as far as the BIOS is
concerned, you should be okay.  Basically, the partition table you
copy has to be valid for the target drive.  But it's much more
reliable to just use dump/restore.  If you want to have a spare
`live filesystem', just restore the backup to the new disk.

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



freebsd slice - 2 hdd's

2002-11-24 Thread Michael Sharp
My wife's business wants to have a freebsd server and they gave her a old
computer to install freebsd on. The machine has 2 small hdd's ( seen as
ad0 and ad1 ) and I was wondering if anyone sees any problem with putting
the / , /var, /tmp , and swap slices on ad0 and putting all of the /usr
slice on ad1 and installing the freebsd boot manager to ad0?

Michael

GnuPG Key: http://probsd.org/michael.asc



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



Re: Serious problem installing freebsd into a...

2002-11-24 Thread Matthew Seaman
On Sat, Nov 23, 2002 at 11:59:10PM +0100, TooManySecrets wrote:

 I've a SIS 648 MAX motherboard, whit the SIS648 driver, a Seagate 80Gb 7200 
 rpm hard drive, Creative nvidia Ti4400 and a Pentium 4 2'4Mhz with 533 fsb.
 Well, when I try to install freebsd in it, I obtain this message:
 
 ad0: READ command timeout tag=0 serv=0 - resetting
 ata0: resetting devices...

In the hardware notes at
http://www.freebsd.org/releases/4.7R/relnotes-i386.html it states that
the following SiS chipsets are known to work:

 SiS 530, 540, 620
 SiS 630, 633, 635, 645, 730, 733, 735, 740, 745, 750
 SiS 5591 ATA100

which doesn't mention your particular model. Normally since a very
similar one is mentioned there would be a reasonable chance yours
would work too.  However, it seems that other people are having the
same problem you are ---
http://groups.google.co.uk/groups?selm=aodat1%242q1p%241%40FreeBSD.csie.NCTU.edu.twoe=UTF-8output=gplain
and there is no mention of 'SiS 648' in the 4-STABLE kernel sources as
of yesterday, so I think you've unfortunately bought an unsupported
motherboard.  Try asking your vendor if they will swap it for an
alternative model --- I think the Asus P4B533 is supported, and that
looks compatible with the rest of your components.

Cheers,

Matthew

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

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



Fwd: Re: Serious problem installing freebsd into a...

2002-11-24 Thread TooManySecrets
That is the thread about my question with Kent.


TooManySecrets wrote:
 Hi!!

 My name is Manuel Trujillo, from Spain. First, I will apologize about my
 english... sorry :(
 Well, I use freebsd since february-2002, and I'm very happy with it. But my
 problem is now, when I change my pc hardware.
 I've a SIS 648 MAX motherboard, whit the SIS648 driver, a Seagate 80Gb 7200
 rpm hard drive, Creative nvidia Ti4400 and a Pentium 4 2'4Mhz with 533 fsb.
 Well, when I try to install freebsd in it, I obtain this message:

 ad0: READ command timeout tag=0 serv=0 - resetting
 ata0: resetting devices...

Hola Manuel,

Are you using ATA-100 or ATA-133 cables to hook your Maxtor to the SIS
motherboard. Don't connect your CDROM on the same controller as your HD.

What do you have in your /boot/loader.conf. The following are possible.

ruby# m loader.conf
# -- sysinstall generated deltas -- #
userconfig_script_load=YES
hw.ata.atapi_dma=1
ruby# sysctl -a | grep hw.ata
hw.ata.ata_dma: 1
hw.ata.wc: 1
hw.ata.tags: 0
hw.ata.atapi_dma: 1

BTW, I have one of those motherboards but haven't tried to replace my
gateway with it. I have 4 machines with SIS-645.

Kent

 I cleared any conflict into kernel installation with the configure kernel
 in visual mode, but is the same :(
 I try something like the disable pciide into the openbsd, but don't work
 correctly. I was read the documentation (handbook), and I looked any cloud
 via Google, but my quest was unfruitful.
 I'm desesperate, because I don't want to install any other OS (maybe
 openbsd) and I don't want to install linux. I want FreeBSD.

 Please, help me please...

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

---

-- 
(Acentos y enyes han sido omitidos intencionadamente por el uso de un teclado 
ingles)
Have a nice day :-)
TooManySecrets

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



Fwd: Re: Serious problem installing freebsd into a...

2002-11-24 Thread TooManySecrets
That is the thread about my question with Kent.


TooManySecrets wrote:
 El Sáb 23 Nov 2002 23:17, escribió:
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices...

Hola Manuel,
Are you using ATA-100 or ATA-133 cables to hook your Maxtor to the SIS
motherboard. Don't connect your CDROM on the same controller as your HD.
What do you have in your /boot/loader.conf. The following are possible.
ruby# m loader.conf
# -- sysinstall generated deltas -- #
userconfig_script_load=YES
hw.ata.atapi_dma=1
ruby# sysctl -a | grep hw.ata
hw.ata.ata_dma: 1
hw.ata.wc: 1
hw.ata.tags: 0
hw.ata.atapi_dma: 1
BTW, I have one of those motherboards but haven't tried to replace my
gateway with it. I have 4 machines with SIS-645.

 Hi Kent.

 First, thank you very much for your quickly answer to my question.
 The cable what I use is the same provided into the motherboard box. Is
 possible is a ATA-133, because the motherboard support this feature.
 The CDROM are in a sepparate cable and ide, and the hard disk isn't a
 Maxtor, is a Seagate ata100 80 Gb at 7200 rpm.
 My chipset isn't a sis645, is a sis648.

Eintendo, yo tiene 4 computadores con 645's. One motherboard still in
box with 648.

 Now, I try to put your configuration into the initial boot. Just a momment
 please...
 Well, I put the hw.ata.* like your config, and the result is the same... :(

I didn't think about you trying to boot when I told you about that.

 I cannot put anything of your config into the loader.conf, because I cannot
 install the SO. I try with this config at the boot stage, with the set
 command.

 Please, any idea? Help me please.

Did you install the motherboard. The ATA-100 cables have a blue (azul)
connector and a black (negro). On my cables, the blue goes into the
socket on the motherboard. I have some ATA-133 cables with ~green
(verde) and negro. The negro connector  HD. If you have the wrong
color in socket on mother board, you will have problemas gigante. Also
make sure your cables including power are pushed in all of the way.

Maxtor doesn't always setup their HDs as standalone masters. I don't
know what Seagate does. I have only used Seagate Baracuda scsis. Check
your setup jumpers. FreeBSD does not like HDs setup as standalone slaves.

 Thank you very much for your help at this momments.

I can't think of anything else that would cause the problem.

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

---

-- 
(Acentos y enyes han sido omitidos intencionadamente por el uso de un teclado 
ingles)
Have a nice day :-)
TooManySecrets

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



test

2002-11-24 Thread zgr zaslan
test


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



Possible SPAM (accuracy low): /kernel: arplookup x.x.x.x failed: host is not on local network

2002-11-24 Thread zgr zaslan
I've 2 DNS servers that are in different subnet. My freeBSD4.6.2 server is
master and the other one is slave. Slave server connects to My freeBSD
server for DNS updates but always FreeBSD gives the message:

/kernel: arplookup x.x.x.x failed: host is not on local network

How can I prevent this message? x.x.x.x is the ip of my slave dns server.

Thanks.

Özgür ÖZASLAN
http://ozaslan.ifbim.itu.edu.tr




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



Re: How to make FreeBSD like NetBIOS names?

2002-11-24 Thread Matthew Seaman
On Sun, Nov 24, 2002 at 01:47:54AM +0100, Pascal Giannakakis wrote:

 But how can i make FreeBSD use NetBIOS-names, so that commans like the one
 below will work?
 
  ping winmachine
 
 I want my FreeBSD to resolve names this way:
 
 1.) /etc/hosts
 2.) NetBIOS names (probably managed by Samba)
 3.) DNS
 
 How do i achieve this? Thx.

That's not possible in FreeBSD 4.x: there's no general support for
NetBIOS name resolution outside of the Samba code.  Usually you can
get along fine without it --- a good thing to do is ensure that the
DNS and NetBIOS names of all your windows machines match up.  If you
use a Windows DHCP/DNS server with dynamic DNS, you may be able to
automate that.  Otherwise, you're going to have to lash something
together with scripts or just manually keep your DNS in line with
NetBIOS.

In FreeBSD 5.x there will be support for Name Service Switch
functionality, which will make it possible for someone to write an
add-on to allow name resolution via NetBIOS.  However, that doesn't
help here and now.

Cheers,

Matthew

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

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



How can I prevent this message?

2002-11-24 Thread zgr zaslan
I've 2 DNS servers that are in different subnet. My freeBSD4.6.2 server is
master and the other one is slave. Slave server connects to My freeBSD
server for DNS updates but always FreBSD gives the message:

/kernel: arplookup x.x.x.x failed: host is not on local network

How can I prevent this message? x.x.x.x is the ip of my slave dns server.

Thanks.

Özgür ÖZASLAN
http://ozaslan.ifbim.itu.edu



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



Re: DHCP and an internal web server

2002-11-24 Thread Matthew Seaman
On Sat, Nov 23, 2002 at 11:02:52PM -0800, Gary D Kline wrote:
 
   I understand that there are hardware solutions that allow
   a host to run a web server thu DHCPD, but is there a way 
   of configuring one of my behind-the-firewall server to 
   serve pages.
 
   zen.thought.org is an example; i is an older 4.7 system
   hardwired as 10.0.0.247.  Is there a way of configuring
   things to let http://zen.thought.org serve miscellaneous
   essays and references, e.g., for my profs.
 
   thanks for ny clues...  i'm new to dhcp... obviously!

Errr... Are you by any chance confusing DHCP with NAT?  All that DHCP
will do for you is assign IP numbers etc. for machines on your local
network and tell them where to find various services.  For foreign
machines trying to access your systems, it won't do anything.  In
fact, you really, really don't want foreign machines to be able to
access your DHCP server at all.

Now zen.thought.org has an RFC1918 address.  That's fine for you, on
your intranet, but it can't be accessed from the Internet at large.
If you're going to publish stuff via HTTP from that machine you need
to somehow give it access to a registered internet IP.  One way of
doing that is by using natd(8) to forward packets to port 80 on one
of your Internet visible machines to a machine on your private
network:

natd -n fxp0 -redirect_port 10.0.0.247:80 80

Another way is to use a web server running apache on an internet
visible machine to reverse-proxy requests for particular URI's to your
internal web server.  There a good discussion about using mod_rewrite
to do that sort of thing in the apache manual:

http://httpd.apache.org/docs/misc/rewriteguide.html

Both of these solutions will require you to hardwire the address of
your internal server in the dhcpd(8) config, so that you don't run
into problems if the lease doesn't get renewed with the same IP
number.

(You might want to investigate using some DNS trickery with views to
hide your internal addresses from the outside world, whilst still
letting your internal machines operate normally.  But that's just
icing on the cake.)

Cheers,

Matthew

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

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



Re: freebsd slice - 2 hdd's

2002-11-24 Thread Matthew Seaman
On Sun, Nov 24, 2002 at 06:29:15AM -0500, Michael Sharp wrote:
 My wife's business wants to have a freebsd server and they gave her a old
 computer to install freebsd on. The machine has 2 small hdd's ( seen as
 ad0 and ad1 ) and I was wondering if anyone sees any problem with putting
 the / , /var, /tmp , and swap slices on ad0 and putting all of the /usr
 slice on ad1 and installing the freebsd boot manager to ad0?

That should work fine.  You don't even need to install the boot
manager on ad0 --- the default MBR should work perfectly well.  You
only need the boot manager when you've got several different OS's on
the same machine --- not when there's just the one OS, even if spread
over several disks.

Cheers,

Matthew

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

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



Re: freebsd slice - 2 hdd's

2002-11-24 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-24 06:29:15 -0500:
 I was wondering if anyone sees any problem with putting the / , /var,
 /tmp , and swap slices on ad0 and putting all of the /usr slice on ad1
 and installing the freebsd boot manager to ad0?

I do: you don't need to install a boot manager just because you have
the system spread over more than one disk. :)

Seriously: no problem, but the boot manager prompt (and delay) is
going to turn into a nuisance. Install the standard mbr (unless,
of course, you want to boot more than one system on the box).

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: Upgrading FreeBSD

2002-11-24 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-23 18:23:05 -0900:
 I'm learning how the FreeBSD upgrade process works. I've got cvsup
 working and can grabe 4-stable.
 
 What I don't understand is the ports tree. Does it get updated when I
 do make buildworld etc...?

no. it gets updated when you update it. how that is done depends on
details of your setup: you can either run cvsup with the right
supfile by hand, or you can have your ports tree updated by issuing
make update in /usr/ports or /usr/src (this is how I do it).

look in /etc/defaults/make.conf for details.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: How to make FreeBSD like NetBIOS names?

2002-11-24 Thread Pascal Giannakakis
 On Sun, Nov 24, 2002 at 01:47:54AM +0100, Pascal Giannakakis wrote:

  But how can i make FreeBSD use NetBIOS-names, so that commans like the
one
  below will work?
 
   ping winmachine
 
  I want my FreeBSD to resolve names this way:
 
  1.) /etc/hosts
  2.) NetBIOS names (probably managed by Samba)
  3.) DNS
 
  How do i achieve this? Thx.

 That's not possible in FreeBSD 4.x: there's no general support for
 NetBIOS name resolution outside of the Samba code.  Usually you can
 get along fine without it --- a good thing to do is ensure that the
 DNS and NetBIOS names of all your windows machines match up.  If you
 use a Windows DHCP/DNS server with dynamic DNS, you may be able to
 automate that.  Otherwise, you're going to have to lash something
 together with scripts or just manually keep your DNS in line with
 NetBIOS.

 In FreeBSD 5.x there will be support for Name Service Switch
 functionality, which will make it possible for someone to write an
 add-on to allow name resolution via NetBIOS.  However, that doesn't
 help here and now.

Please tell me more, i use FreeBSD 5.0-CURRENT. Has this made the way into
the handbook yet?



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



SCSI Disk question

2002-11-24 Thread Cliff Sarginson
Hi
I have a chance to get at a good price a
IBM 73LZX 18GB 160 drive

I know there was a mechanical problem with one of the IBM SCSI ranges.
Does anyone know anything about this particular model ?

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



adding ca_ES locale to FreeBSD

2002-11-24 Thread Joan Picanyol i Puig
Hi,

I'd like to have the ca_ES locale added to FreeBSD. In my -STABLE src
tree I find:

grummit:/usr/src$ find . -name es_ES*
./share/colldef/es_ES.ISO8859-1.src
./share/colldef/es_ES.ISO8859-15.src
./share/monetdef/es_ES.ISO8859-1.src
./share/msgdef/es_ES.ISO8859-1.src
./share/numericdef/es_ES.ISO8859-1.src
./share/timedef/es_ES.ISO8859-1.src

I've reviewed all of these and the only one which would need changing
would be share/timedef/*.src (and probably share/*/Makefile) which I
attach to this message.

What would be the fastest way to get this commited? Are there any other
files which would need some changes? Should I file a PR?
Should I make a patch to create all the files (hints to obtain a perfect
patch are welcomed)? To whom should I send it?

tks
-- 
pica



ca_ES.ISO8859-1.src
Description: WAIS Source


Email with enclosed suspicious file type intercepted.

2002-11-24 Thread Jason postmaster de Cordoba, Vista View Imagery
Email with enclosed suspicious file type intercepted.



Automated Message:

An email was intercepted that had an enclosed attachment that was considered 
dangerous.  The email was deleted and the recipient was spared the situation of 
receiving an email containing a possible virus.


This account is for debugging purposes only.  Sending email to this account may mean 
that it may not be processed by a human.  If you wish to contact those responsible for 
postmaster duties at vvi.at please visit http://www.vvi.at for the appropriate contact 
information.

.src

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



Re: dhclient too verbose in /var/log/messages

2002-11-24 Thread David Kelly
On Sunday 24 November 2002 12:48 am, David Daugherty wrote:
 It's not much to go on but you might be able to find something under
 'man dhclient.conf'

BTDT. /log results in no hits in man dhclient.conf. Same results for 
/verb looking for verbose.

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of David
  Kelly Sent: Thursday, November 21, 2002 7:27 AM
  To: [EMAIL PROTECTED]
  Subject: dhclient too verbose in /var/log/messages
 
 
  For the last year or so something changed in dhclient and/or
  my ISP resulting in dhclient being way too chatty with syslog
  and flooding /var/log/messages with this about every 75
  minutes, when my DHCP lease is renewed:
 
  Nov 21 05:43:00 Frisket dhclient: New Network Number:
  24.214.110.0 Nov 21 05:43:00 Frisket dhclient: New Broadcast
  Address: 24.214.110.255
 
  I don't see any ready way to configure dhclient to mute this
  output.
 
  Placing a sed filter in /etc/syslog.conf would be one way to
  stifle the chattyness but that should be the avenue of last
  resort. How might I convince dhclient to be quiet and/or log
  elsewhere?
 
  --
  David Kelly N4HHE, [EMAIL PROTECTED]
  ===
 == The human mind ordinarily operates at only ten percent of its
  capacity -- the rest is overhead for the operating system.
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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



RPM with FreeBSD

2002-11-24 Thread Janine C . Buorditez
Hi.

I'm trying to install the full version of VMWare using RPM on my FreeBSD system.

I'm experiencing this problem:

aegis# rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm 
vmware-workstation-3.2.0-2230.i386.rpm 
error: failed dependencies:
/usr/bin/perl is needed by VMwareWorkstation-3.2.0-2230

Is anyone familiar with this? Any feedback is appreciated. Thank you.

Sincerely,
Janine

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



Re: RPM with FreeBSD

2002-11-24 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-24 17:45:15 +0100:
 Hi.
 
 I'm trying to install the full version of VMWare using RPM on my
 FreeBSD system.
 
 I'm experiencing this problem:
 
 aegis# rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm 
vmware-workstation-3.2.0-2230.i386.rpm 
 error: failed dependencies:
 /usr/bin/perl is needed by VMwareWorkstation-3.2.0-2230
 
 Is anyone familiar with this? Any feedback is appreciated. Thank you.

Looks like it wants /usr/compat/linux/usr/bin/perl.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: RPM with FreeBSD

2002-11-24 Thread Janine C . Buorditez
Hi.

Unfortunately I have no /compat/linux/bin/perl, nor a /usr/compat/linux/bin/perl.

By the way, how do I tell RPM where perl is located? And why won't it use
/usr/bin/perl?

--janine

On Sun, 24 Nov 2002 16:49:26 +0100
Roman Neuhauser [EMAIL PROTECTED] wrote:

 # [EMAIL PROTECTED] / 2002-11-24 17:45:15 +0100:
  Hi.
  
  I'm trying to install the full version of VMWare using RPM on my
  FreeBSD system.
  
  I'm experiencing this problem:
  
  aegis# rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm 
vmware-workstation-3.2.0-2230.i386.rpm 
  error: failed dependencies:
  /usr/bin/perl is needed by VMwareWorkstation-3.2.0-2230
  
  Is anyone familiar with this? Any feedback is appreciated. Thank you.
 
 Looks like it wants /usr/compat/linux/usr/bin/perl.
 
 -- 
 If you cc me or remove the list(s) completely I'll most likely ignore
 your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



jumping sound with maestro3 card

2002-11-24 Thread Aragon Gouveia
Hi,

Can anyone comment on their experience with Maestro3 cards under FreeBSD and
XFree86?

I've just recently set mine up. I'm finding sound output (xmms) incredibly
jerky. Anyone else experienced the same thing?

Any help appreciated.


Thanks,
Aragon

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



Re: Logging transactions in MySQL

2002-11-24 Thread Nathan Kinkade
On Sun, Nov 24, 2002 at 10:12:24AM -, Kjell wrote:
 Hi!
 
 I have followed the instructions on the mysql.com site to set up mysql 
 to log all changes to my data base. This works fine. But when I reboot 
 the PC I have to manually restart the logging. How can I automate this?
 
 regards from Kjell/LA3SG

How did you go about setting up MySQL to log?  You can generally put a
script of your own making in /usr/local/etc/rc.d if you want have
something occur on every boot.  `man rc` - look for rc.d.

Nathan

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



Re: How to make FreeBSD like NetBIOS names?

2002-11-24 Thread Matthew Seaman
On Sun, Nov 24, 2002 at 03:00:09PM +0100, Pascal Giannakakis wrote:

  In FreeBSD 5.x there will be support for Name Service Switch
  functionality, which will make it possible for someone to write an
  add-on to allow name resolution via NetBIOS.  However, that doesn't
  help here and now.
 
 Please tell me more, i use FreeBSD 5.0-CURRENT. Has this made the way into
 the handbook yet?

See the nsswitch.conf(5) man page for how to configure NSS.  In theory
the software you want is already written as part of the Samba project
--- see:

http://us1.samba.org/samba/docs/man/wbinfo.1.html
http://us1.samba.org/samba/docs/man/winbindd.8.html

however at the moment it seems that the net/samba port doesn't install
either of those executables, or any sort of libnss_* modules (I
suspect that naming convention may be a Linux-ism: no idea what the
equivalent under FreeBSD is, if it's different).  So I guess there's a
job of porting to do there.

There was a thread on this subject in [EMAIL PROTECTED] back
in July, starting with this message:


http://docs.freebsd.org/cgi/getmsg.cgi?fetch=187816+0+archive/2002/freebsd-hackers/20020728.freebsd-hackers

Cheers,

Matthew

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

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



Re: lsof: help understanding output

2002-11-24 Thread Matthew Seaman
On Sun, Nov 24, 2002 at 04:01:13PM +0100, Per olof Ljungmark wrote:
 I installed the BIND daemon as chroot to /chroot/mamed,
 does the following lsof output show that named is not chroot'ed?
 
 FreeBSD 4.6.2, BIND 9.2.1
 
 syslogd80root4u  unix 0xca5d0e000t0 
 /chroot/named/dev/log
 named 470   named  cwd   VDIR  13,131072512  16715 
 /chroot/named/etc/namedb
 named 470   named  rtd   VDIR  13,131072512  16305 /chroot/named
 named 470   named  txt   VREG  13,1310723337414  16966 
 /chroot/named/named
 named 470   named  txt   VREG  13,131079  80756 175176 
 /usr/libexec/ld-elf.so.1
 named 470   named  txt   VREG  13,131079 580520 336941 
 /usr/lib/libc.so.4
 named 470   named0u  VCHR2,20t0  16948 
 /chroot/named/dev/null (like character special /dev/null)
 named 470   named1u  VCHR2,20t0  16948 
 /chroot/named/dev/null (like character special /dev/null)
 named 470   named2u  VCHR2,20t0  16948 
 /chroot/named/dev/null (like character special /dev/null)
 named 470   named3u  unix 0xca5d0bc00t0-0xca5d0ec0
 named 470   named4u  IPv4 0xca65fc800t0UDP 
 candyman.i.inter-sonic.com:domain
 named 470   named5u  IPv4 0xca6eee800t0TCP 
 candyman.i.inter-sonic.com:domain (LISTEN)
 named 470   named6u  IPv4 0xca65fb000t0UDP 
 localhost.i.inter-sonic.com:domain
 named 470   named7u  IPv4 0xca6eec600t0TCP 
 localhost.i.inter-sonic.com:domain (LISTEN)
 named 470   named8u  IPv4 0xca65fa400t0UDP *:domain
 named 470   named9u  IPv6 0xca65fbc00t0UDP *:1064
 named 470   named   10r  VCHR2,30t0  16949 
 /chroot/named/dev/random (like character special /dev/random)

No --- that's fine.  named dynamically links against libc.so.4 before
the call to chroot(2), so you don't need to copy great chunks of
/usr/lib into your chroot area.  Then when it daemonizes, it reopens
file descriptors 0, 1, 2 onto /dev/null (SOP for a well behaved daemon
process: see daemon(3)), and you can see that because of the chroot(2)
call, it's actually redirecting to /chroot/named/dev/null.

Cheers,

Matthew

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

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



Re: Kernel - Error Code 1

2002-11-24 Thread Miguel Mendez
On Sun, 24 Nov 2002 08:42:50 -0800 (PST)
Casey Luttrull [EMAIL PROTECTED] wrote:

Hi,

 I compiled my new kernal and called in MYKERNEL.  Then
 I issue the command 
 make buildkernel KERNCONF=MYKERNEL.
 Everything seems to go fine until the end of the
 process it gives my this error:
 
 linking kernel
 umass.o: In function `umass_cam_attach_sim':
 umass.o(.text+0x12bf): undefined reference to
[...]
 umass.o(.text+0x1999): undefined reference to
 `xpt_done'
 *** Error code 1

The error is caused by having umass but no scsi...

device  umass   # Disks/Mass storage - Requires scbus and da
^^^

umass requires the scbus and da scsi drivers, which you commented on
your kernel config. Enable them and it should work fine.

Cheers,
---
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

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



Re: Kernel - Error Code 1

2002-11-24 Thread Matthew Seaman
On Sun, Nov 24, 2002 at 08:42:50AM -0800, Casey Luttrull wrote:
 I compiled my new kernal and called in MYKERNEL.  Then
 I issue the command 
 make buildkernel KERNCONF=MYKERNEL.
 Everything seems to go fine until the end of the
 process it gives my this error:

[...]

 # SCSI peripherals
 #device   scbus   # SCSI bus (required)
 #device   da  # Direct Access (disks)

[...]

 deviceumass   # Disks/Mass storage - Requires scbus and da
   ^

Please read the instructions carefully.

Cheers,

Matthew


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

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



ugen0: Lucent ORiNOCO USB Client

2002-11-24 Thread Bela Pesics
Hi!

Does anybody know if ugen0: Lucent ORiNOCO USB Client is working under FreeBSD?

dmesg:

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
ugen0: Lucent ORiNOCO USB Client, rev 1.01/0.01, addr 2

dmesg| grep wi:

nothing

usbdevs -d:
addr 1: UHCI root hub, VIA
  uhub0
 addr 2: ORiNOCO USB Client, Lucent
   ugen0

I thought that i would use pccardd because the usb client consists a pcmcia card... 
but: pccardd[173]: fatal error: no PC-CARD slots

what should i do to get it work?

thx

  Bela Pesics   -   [EMAIL PROTECTED] -]
CovySoft Networks Ltd. [-   http://www.covysoft.net -]

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



Re: RPM with FreeBSD

2002-11-24 Thread Miguel Mendez
On Sun, 24 Nov 2002 17:45:15 +0100
Janine C.Buorditez [EMAIL PROTECTED] wrote:

Hi,

 aegis# rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm
 vmware-workstation-3.2.0-2230.i386.rpm error: failed dependencies:
 /usr/bin/perl is needed by VMwareWorkstation-3.2.0-2230

VMware 3.x doesn't work on FreeBSD due to lack of suitable kernel
modules. However, 2.x does, and it's even in the ports tree, under the
emulators section.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

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



Re: The FreeBSD Diary: 2002-11-03 - 2002-11-23

2002-11-24 Thread Heiko Recktenwald
 6-Nov : Postfix - virtual domains
  This is easier than it sounds
  http://freebsddiary.org/postfix.php?2

Wonderfull for ISPs etc, but I wish you would also
bring something like sendmail.cf for dialup users, 
things that could go into the faq, or sendmail.cf
with auth, for smarthosts that need that.


H.



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



cvs server takes al lot of cpu time and memory

2002-11-24 Thread Sven Vermeulen
Hello,

I have a problem with the cvs server which comes with freebsd. When a user
connects my cvs server, inetd creates a cvs process as usual but when that
process is finished with its job, it doesn't stop anymore and it takes a lot
of cpu time and memory!

It looks like that this problem has been appeared after I did a make world
to 4.7-STABLE. I  also added IPv6 to the kernel and enabled it in
/etc/rc.conf, may'be this has something to do with it...


Thanks in advance,
Sven.



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



Re: Sound panic (was: recording from line input)

2002-11-24 Thread John Bleichert
On Sun, 24 Nov 2002, Vladimir Kushnir wrote:
 Subject: Re: Sound panic (was: recording from line input)
 
 Hi,
 I had the same problem under -CURRENT
 
 On Fri, 9 Aug 2002, Richard Tobin wrote:
 
  Following up my own question:
 
   I want to record audio from my sound card's line in.  I'm then going to
   record the output onto a CD.  I'm familiar with writing CDs, but what's
   the easiest way to get the input?
 
  I tried the audacity port, and to my surprise pressing on the record
  button produced a panic.  Trying something simpler, I also get a panic
  with
 
aurecord -rate 44000 -file aiff -data AuFormatLinearSigned16MSB /tmp/rec
   ~
 
 Here seems to be a problem. Yamaha (at least YMF724) for some reason
 doesn't like any rate but 48000. With this rate, all the resorders I tried
 work fine.
 
snip

Yep, things get panicky if you try an unsupported sample rate. Find one 
that works (as above) and Audacity should work fine.

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



disabling ultradma

2002-11-24 Thread TooManySecrets
Hi!

Anybody know howto disable ultradma at initial install for freebsd 4.7???

Thank you very much.

-- 
(Acentos y enyes han sido omitidos intencionadamente por el uso de un teclado 
ingles)

Have a nice day :-)
TooManySecrets

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



Re: Kerberos is set up - now what?

2002-11-24 Thread Peter Much

Hi all, 

 as it seems to me, Kerberos5 is mostly unsupported in FreeBSD.

Yes, this is going to be a rant.

If you have an appropriate Kerberos support, no rsh, rlogin,
ftp, telnet or elsewhat will ever ask you for a password, if
you login to an account where you are allowed to do so via its
.klogin file.
This means, that support for Kerberos5 needs to be built into
the servers and clients for ftp, telnet, rsh, rlogin, etc. It
is not enough to just run a kerberos5 server (aka kdc) and
make logins kerberos-aware via PAM.

This was already implemented with FreeBSD 2.2 and kerberos4
at least for rsh and rlogin, but now(*) with Kerberos5, if I 
connect to the kshell port, I just get:
rshd[8654]: usage: rshd [-alnDL]

Furthermore, it is possible to do session encryption based
on the principal, so essentially we could throw ssh etc. and all
that crap completely into the wastebasket, and instead had
a third-party based authentication scheme with single-sign-on
over the whole network and a central (and replicateable) server 
that can optionally be adminstered remotely. (Supposed the 
crypt stuff inside kerberos5 is hardened enough for today's
purposes.)

Ok, I do not know of any unix distribution that actually engages 
these possibilities, but they are there. Well, AIX got fairly
far with 4.3.3, telnet and ftp and all the rsh stuff actually
works without passwords there, and K4 and K5 and standard
logins all do work simultaneously. But when I asked the support
how to run telnet with session encryption based on my DCE/K5
principal (aka packet-level privacy as documented for DCE
and practically used in DFS), they shrugged and suggested me
to install ssh!


(*) now means FreeBSD 4.4, I didnt get the time to upgrade 
further yet. No doubt the PAM integration has evolved since 
then, but it doesnt look like a really substantial progress to 
what I described above.

PMc

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



Adding users in FreeBSD 4.7

2002-11-24 Thread KevinG
Hello,

I installed 4.7 on a new box and when I try to add users (by
  running adduser) I smack into a roadblock;
  the system asks that I enter the username, which I do,
  and it continues to insist that I enter the username again, over and
  over...
  It seems the regular expressions feature is balling me up and I am
  unsure how this fits into the scheme.
  Man adduser and pw haven't helped me much.

-- 
Best regards,
 KevinG  mailto:[EMAIL PROTECTED]



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



Re: Adding users in FreeBSD 4.7

2002-11-24 Thread Jack L. Stone
At 10:14 AM 11.24.2002 -0800, KevinG wrote:
Hello,

I installed 4.7 on a new box and when I try to add users (by
  running adduser) I smack into a roadblock;
  the system asks that I enter the username, which I do,
  and it continues to insist that I enter the username again, over and
  over...
  It seems the regular expressions feature is balling me up and I am
  unsure how this fits into the scheme.
  Man adduser and pw haven't helped me much.

-- 
Best regards,
 KevinG  mailto:[EMAIL PROTECTED]


The system will first ask you to set the regexpressions and all you should
do is press enter to each one if you agree with its offering to set up.
Then, onec that is done, it will ask for the user to set up.

I suspect you are trying to enter the user too soon in the process... that
is the usual problem.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



.sh interactive ok, from crontab, not

2002-11-24 Thread Len Conrad
Trying to write a little watch-dog/keep-alive script for a couple of 
related daemons, an MTA and an SMTP AV scanner.

This snippet works fine...

if ( ps aux | grep -i ^root.*master )  /dev/null
then
echo then: exit code equal 0
exit 0
else
try to run the daemon

... when run from the command line, the echo text displays. But, when run 
from crontab every 10 minutes, the if fails, and the else clause runs.

I've tried every syntax I know, but still can't get this logic to work.

Upstream in the same script, there is another if with same syntax that 
also checks a related daemon, and that IF works as expected, both 
interactively and from crontab.

suggestions?

Len


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


Re: Adding users in FreeBSD 4.7

2002-11-24 Thread Unix Tools
Hi,
In /etc/adduser.conf
The line usernameregexp should look like
usernameregexp = '^[a-z0-9_][a-z0-9_-]*$'

If not replace it with the above line and then add a user.
on running the adduser script it will first ask for 
Usernames must match regular expression:
[^[a-z0-9_][a-z0-9_-]*$]:

JUST HIT ENTER ON THE PROMPT.

Cheers



- Original Message - 
From: KevinG [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 24, 2002 11:44 PM
Subject: Adding users in FreeBSD 4.7


 Hello,
 
 I installed 4.7 on a new box and when I try to add users (by
   running adduser) I smack into a roadblock;
   the system asks that I enter the username, which I do,
   and it continues to insist that I enter the username again, over and
   over...
   It seems the regular expressions feature is balling me up and I am
   unsure how this fits into the scheme.
   Man adduser and pw haven't helped me much.
 
 -- 
 Best regards,
  KevinG  mailto:[EMAIL PROTECTED]
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

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



Re: The FreeBSD Diary: 2002-11-03 - 2002-11-23

2002-11-24 Thread Dan Langille
On 24 Nov 2002 at 18:03, Heiko Recktenwald wrote:

  6-Nov : Postfix - virtual domains
   This is easier than it sounds
   http://freebsddiary.org/postfix.php?2
 
 Wonderfull for ISPs etc, 

I assure you, not just ISPs use that.  Many people using FreeBSD in 
non-ISP situations use this stuff.  Hopefully you aren't grouping 
them into the 'etc' category.  :)

 but I wish you would also
 bring something like sendmail.cf for dialup users, 
 things that could go into the faq, or sendmail.cf
 with auth, for smarthosts that need that.

The article is about Postfix, but sendmail.cf is for Sendmail.  I 
don't think I will be writing about Sendmail anytime soon because I 
don't use it for my mail servers.

Thanks for the feedback.
-- 
Dan Langille : http://www.langille.org/


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



problem to init irssi

2002-11-24 Thread xxavi

good, when I init irssi, it don't init:

[root@x]/root(111): irssi
/usr/libexec/ld-elf.so.1: /usr/libdata/perl/5.00503/mach/auto/Irssi/Irssi.so:
Undefined symbol signal_add_full
[root@x]/root(112): 

an idea for solvent this problem?

thanks.

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



Re: Manage, centralize and backup configuration files

2002-11-24 Thread Janine C . Buorditez
Hi.

You are a true genious. It is like I've found something I've been looking for all
my life. And for that I am grateful.

This sure beats the RCS-only method with tons of RCS directories spread across
the system with little or no control. If I get this right, critical will copy the
listed files into its location and manage them from there? Simply put. I haven't
tested it yet as:

::: janine[aegis] [~/cvs] % ./critical  [19:54]
./critical: Command not found.

I made the file executeable, and tried installing ksh, obviously to no good.

What do I do to get going?

By the way, how do you create those fancy directory listings? I have to say I
loved them. It seems to me you're quite taken with systemized neat design as I
am. Keep up the good work. Let me know what other goodies you have, except the
ones available at your site. That'd be great!

THANK YOU! *hugs*

Sincerely,
Janine

On 22 Nov 2002 16:49:36 -0500
Karl Vogel [EMAIL PROTECTED] wrote:

  On Fri, 22 Nov 2002 13:53:48 +0100, 
  Janine C.Buorditez [EMAIL PROTECTED] said:
 
 J I was thinking better back up my configuration files.  Then I thought,
 J what if they were regularly backed up into a centralized directory where
 J I also could manage them from?  Like, when I'm done modifying a file it
 J is compied from the config repository into its original directory.
 
You can do that.  I prefer to modify them in place and let the system
worry about putting them under revision control.
 
 J What about a combination of rsync and CVS?
 
Rsync is a good idea if you want your files backed up on a separate
server.  CVS is a bit inflexible with directories, so I prefer RCS.
 
 J I'm not even sure this is possible.  Which is why I'm open for advices
 J from anyone who has a working model of how to set up such a convenient
 J way of administering your system.
 
http://www.dnaco.net/~vogelke/Software/Configuration_Management/System_Files
describes my setup.  All it does is keep a chosen set of files under RCS
control.
 
 -- 
 Karl Vogel   ASC/YCOA, Wright-Patterson AFB, OH 45433
 [EMAIL PROTECTED]   http://www.dnaco.net/~vogelke
 
 I used up all my sick days, so I'm calling in dead.

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



Re: jumping sound with maestro3 card

2002-11-24 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 (11.24.2002 @ 0812 PST): Aragon Gouveia said, in 0.4K: 
 Hi,
 
 Can anyone comment on their experience with Maestro3 cards under FreeBSD and
 XFree86?
 
 I've just recently set mine up. I'm finding sound output (xmms) incredibly
 jerky. Anyone else experienced the same thing?
 end of jumping sound with maestro3 card from Aragon Gouveia 

Yes. I have a Dell Inspiron 8100 laptop, p3/1.2Ghz, half a gig of RAM.
When I play streaming mp3s the sound is fine, but playing tracks locally
is a mess.

I was going to use this laptop for my band's live shows... boot a custom
kernel that would dedicate the system solely to becoming a sampler, but
the blips and skips were too ridiculous.

# Adam


- --
Adam Weinberger
vectors.cx[EMAIL PROTECTED]
FreeBSD.org   [EMAIL PROTECTED]
Bayer Berkeley[EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE94Rquo8KM2ULHQ/0RAnyIAJ9COOufNUUBQBE3W3dyIyOeaV8O8QCfcYRb
xAYZi5NEcyld0IDDySjwTms=
=8Yid
-END PGP SIGNATURE-

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



Re: Mail to News software suggestions?

2002-11-24 Thread Jason George


I want to read busy mailing lists with nn or trn.  I have space to
store the messages as news articles locally.  I'm looking for a
system that will take incoming list mail and deposit it in newsgroups
I create for them on this machine.  I use procmail, so it would be
fine to pass off list mail messages to this system via procmail
recipes.  I also hope to find an easy way to expire/delete articles
easily after I read them, individually or (more likely) in bulk
after each of my nn/trn sessions.  Note that these pseudo-newsgroups
are for my use only and will not be seen outside of my system, so
a read article never need be kept at all, really, unless I decide
to keep an archive.  Also, I do not handle real newsgroups here
at all (I don't have THAT much space); if I ever use nn/trn locally
to read real news, I'll find an NNTP server.

Does anyone know a good way to do this?


http://tack.fukui-med.ac.jp/NetBSD/en/mail2news.html

I've been very happy with this package.  I gateway about 4000 list messages 
per day into INN and auto-expire them after 90 days.


--J
Jason George, P.Eng.
Calgary, Canada

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



Default Quotas and Regex Searches

2002-11-24 Thread Grant Peel
Hi all,

A while back I set something somewhere so that when I add a new user,
the OS (FreeBSD 4.4) sets a default user quota for that new user. I have
since decided to give users more space, but can;t remember where I set up
the default *sigh*. Does anyone know where new user default quotas are set?

I need to set up some scripts, but an reletively new to shell scripting.
I was wondering if anyone could give me a primer on how to search through
text files (example httpd.conf) and add /delete / replace lines based on
matching the strings ServerName /VirtualHost.
For example, If I want to write a script to set up new Webalizer logs, I
would make the script add a file in the webalizer dir to add a conf file
(domain.ext.conf) then would need to add the TransferLog directive to a
specific VirtualHost ... /VirtualHost directive.

-Grant

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


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



packages settings and portupgrade

2002-11-24 Thread Hans Lambermont
Hi,

How can I best set (and store for future use) local package settings
like 'no_gui' etc. for frequent cvsup and portupgrade usage ?

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

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



Re: Fwd: Re: Serious problem installing freebsd into a...

2002-11-24 Thread Giorgos Keramidas
On 2002-11-24 14:00, TooManySecrets [EMAIL PROTECTED] wrote:
 That is the thread about my question with Kent.
 TooManySecrets wrote:
  Hi!!
 
  My name is Manuel Trujillo, from Spain. First, I will apologize about my
  english... sorry :(
  Well, I use freebsd since february-2002, and I'm very happy with it. But my
  problem is now, when I change my pc hardware.
  I've a SIS 648 MAX motherboard, whit the SIS648 driver, a Seagate 80Gb 7200
  rpm hard drive, Creative nvidia Ti4400 and a Pentium 4 2'4Mhz with 533 fsb.
  Well, when I try to install freebsd in it, I obtain this message:
 
  ad0: READ command timeout tag=0 serv=0 - resetting
  ata0: resetting devices...

I was seeing exactly this sort of thing too, after replacing my old
Pentium 133 workstation with a newer machine.  Then, FreeBSD would
freeze and stop responding even to CTRL-ALT-ESC that should bring up
the kernel debugger :/

 Hola Manuel,
 
 Are you using ATA-100 or ATA-133 cables to hook your Maxtor to the SIS
 motherboard. Don't connect your CDROM on the same controller as your HD.
 
 What do you have in your /boot/loader.conf. The following are possible.
 
 ruby# m loader.conf
 # -- sysinstall generated deltas -- #
 userconfig_script_load=YES
 hw.ata.atapi_dma=1
 ruby# sysctl -a | grep hw.ata
 hw.ata.ata_dma: 1
 hw.ata.wc: 1
 hw.ata.tags: 0
 hw.ata.atapi_dma: 1
 
 BTW, I have one of those motherboards but haven't tried to replace my
 gateway with it. I have 4 machines with SIS-645.

I have a Gigabyte Titan 667 Series motherboard on my Celeron @ 1800.
The model of the motherboard is GA-8ST667.  The dmesg output includes
the following:

% dmesg | grep -i sis
atapci0: SiS 5591 ATA33 controller port 0xf000-0xf00f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: SiS 7012 port 0xe400-0xe47f,0xe000-0xe0ff irq 10 at device 2.7 on pci0
ohci0: SiS 5571 USB controller mem 0xef001000-0xef001fff irq 11 at device 3.0 on 
pci0
usb0: SiS 5571 USB controller on ohci0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
ohci1: SiS 5571 USB controller mem 0xef002000-0xef002fff irq 9 at device 3.1 on 
pci0
usb1: SiS 5571 USB controller on ohci1
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
ohci2: SiS 5571 USB controller mem 0xef003000-0xef003fff irq 7 at device 3.2 on 
pci0
usb2: SiS 5571 USB controller on ohci2
uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1

I could only boot my installed -CURRENT by disabling hw.ata.atapi_dma :/

Try setting hw.ata.ata_dma=0 and hw.ata.atapi_dma=0 at the loader
prompt, and see if you can at least boot your system.

Giorgos.


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



Re: Kernel - Error Code 1

2002-11-24 Thread Giorgos Keramidas
On 2002-11-24 17:52, Miguel Mendez [EMAIL PROTECTED] wrote:
 On Sun, 24 Nov 2002 08:42:50 -0800 (PST)
 Casey Luttrull [EMAIL PROTECTED] wrote:
  umass.o(.text+0x1999): undefined reference to `xpt_done'
  *** Error code 1
 
 The error is caused by having umass but no scsi...
 
 deviceumass   # Disks/Mass storage - Requires scbus and da
 ^^^

 umass requires the scbus and da scsi drivers, which you commented on
 your kernel config. Enable them and it should work fine.

Add pass (Pass through) to the list of required devices too.

: keramida@gothmog:/home/keramida grep scbus /usr/src/sys/conf/NOTES
: device  scbus   #base SCSI code
: # needs CAM to be present (scbus  pass)

This is a relatively hidden dependency of umass too.  I recall
discussing this on IRC with someone a few days back :)

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



Re: freebsd slice - 2 hdd's

2002-11-24 Thread Giorgos Keramidas
On 2002-11-24 14:20, Roman Neuhauser [EMAIL PROTECTED] wrote:
 # [EMAIL PROTECTED] / 2002-11-24 06:29:15 -0500:
  I was wondering if anyone sees any problem with putting the / , /var,
  /tmp , and swap slices on ad0 and putting all of the /usr slice on ad1
  and installing the freebsd boot manager to ad0?
 
 I do: you don't need to install a boot manager just because you have
 the system spread over more than one disk. :)
 
 Seriously: no problem, but the boot manager prompt (and delay) is
 going to turn into a nuisance. Install the standard mbr (unless,
 of course, you want to boot more than one system on the box).

Right.  As long as the standard MBR can locate and boot the slice that
contains your root fs, you don't need to worry about putting /var,
/usr or /home or any other partition on a second disk.  Just edit your
/etc/fstab with the right entries and you'll be set to go (sysinstall
should do that for you, if this is a new installation).

- Giorgos


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



Re: Mail to News software suggestions?

2002-11-24 Thread Giorgos Keramidas
On 2002-11-24 09:51, Cliff Sarginson [EMAIL PROTECTED] wrote:
 On Sat, Nov 23, 2002 at 06:12:45PM -0500, Doug Lee wrote:
  Now, if you know of a mail reader sporting an nn/trn-style UI, I'm all
  ears! :)

 I am not sure whether this would do what you want, and I have never
 tried it, but I believe there is a Mutt patch somewher that gives Mutt
 news reading capabilities. I know squat about it, I just pass this on
 for your information.

The mutt-devel port has this patch integrated:

% grep NNTP /usr/ports/mail/mutt-devel/Makefile | head -1
#  WITH_MUTT_NNTP

I've used it for a while, and you will most certainly find the
following bindings very useful in your .muttrc file if you use it too:

bind   index  C   change-newsgroup
bind   pager  C   change-newsgroup

This is similar to 'c' which changes mail folders, and I find it very
easy to remember.

The port dumps core on me on -current while it attempts to close the
nntp connection, and I have started using Emacs + gnus to read some
Usenet stuff, because right now I have no time to debug the problems
it appears to have... but I thought I'd post this anyway.

- Giorgos

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



Re: .sh interactive ok, from crontab, not

2002-11-24 Thread Paul A. Scott
 From: Len Conrad [EMAIL PROTECTED]
  snip
 This snippet works fine...
 
 if ( ps aux | grep -i ^root.*master )  /dev/null
 then
 echo then: exit code equal 0
 exit 0
 else
 try to run the daemon
 
 ... when run from the command line, the echo text displays. But, when run
 from crontab every 10 minutes, the if fails, and the else clause runs.
 
 I've tried every syntax I know, but still can't get this logic to work.

It works for me, and I suspect that it's working for you, too. However, you
may not see the results expected if you are piping the cron output through
sendmail, because the 'echo then: ...' could be interpreted as a mail
header. Make certain that you output a blank line, eg., echo , *before*
any lines that contain 'some-word:' so that sendmail stops looking for
headers.

Just a guess.

Also, make sure that you're running the expected shell. Check the SHELL=
line in crontab, or force the script to run via the expected shell by
running 'sh script' instead of just 'script', or tell the script what shell
to run by adding something like the following on the first line:

#!/bin/sh

Although this isn't related to your problem , you might find it simpler to
use the -q option on grep instead of redirecting the output. For example,

if ( ps -aux | grep -q -i ^root.*master ); then

instead of,

if ( ps aux | grep -i ^root.*master )  /dev/null; then

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Kernel - Error Code 1

2002-11-24 Thread Casey Luttrull
I compiled my new kernal and called in MYKERNEL.  Then
I issue the command 
make buildkernel KERNCONF=MYKERNEL.
Everything seems to go fine until the end of the
process it gives my this error:

linking kernel
umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x12bf): undefined reference to
`cam_simq_alloc'
umass.o(.text+0x12e5): undefined reference to
`cam_sim_alloc'
umass.o(.text+0x12fe): undefined reference to
`xpt_bus_register'
umass.o(.text+0x130e): undefined reference to
`cam_simq_free'
umass.o: In function `umass_cam_rescan_callback':
umass.o(.text+0x1327): undefined reference to
`xpt_free_path'
umass.o: In function `umass_cam_rescan':
umass.o(.text+0x1371): undefined reference to
`xpt_periph'
umass.o(.text+0x137a): undefined reference to
`xpt_create_path'
umass.o(.text+0x138d): undefined reference to
`xpt_setup_ccb'
umass.o(.text+0x13a8): undefined reference to
`xpt_action'
umass.o: In function `umass_cam_detach_sim':
umass.o(.text+0x145f): undefined reference to
`xpt_bus_deregister'
umass.o(.text+0x147d): undefined reference to
`cam_sim_free'
umass.o: In function `umass_cam_detach':
umass.o(.text+0x14be): undefined reference to
`xpt_create_path'
umass.o(.text+0x14df): undefined reference to
`xpt_async'
umass.o(.text+0x14e7): undefined reference to
`xpt_free_path'
umass.o: In function `umass_cam_action':
umass.o(.text+0x1805): undefined reference to
`xpt_done'
umass.o(.text+0x1815): undefined reference to
`xpt_done'
umass.o: In function `umass_cam_cb':
umass.o(.text+0x1911): undefined reference to
`xpt_done'
umass.o: In function `umass_cam_sense_cb':
umass.o(.text+0x1988): undefined reference to
`xpt_done'
umass.o(.text+0x1999): undefined reference to
`xpt_done'
*** Error code 1

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


I have attached the new kernel.  Thanks for your help.
Casey Luttrull

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
#
# MYKERNEL -- Casey's custom kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.43 2002/05/23 17:04:01 obrien Exp $

machine i386
#cpuI386_CPU
#cpuI486_CPU
cpu I586_CPU
#cpuI686_CPU
ident   MYKERNEL
maxusers0

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

#optionsMATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
#optionsINET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
#optionsUFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
#optionsNFS #Network Filesystem
#optionsNFS_ROOT#NFS usable as root device, NFS required
#optionsMSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev

# To make an SMP kernel, the next two 

Re: Mail to News software suggestions?

2002-11-24 Thread Doug Lee
On Sun, Nov 24, 2002 at 08:20:31PM +0200, Giorgos Keramidas wrote:
 On 2002-11-24 09:51, Cliff Sarginson [EMAIL PROTECTED] wrote:
  On Sat, Nov 23, 2002 at 06:12:45PM -0500, Doug Lee wrote:
   Now, if you know of a mail reader sporting an nn/trn-style UI, I'm all
   ears! :)
 
  I am not sure whether this would do what you want, and I have never
  tried it, but I believe there is a Mutt patch somewher that gives Mutt
  news reading capabilities. I know squat about it, I just pass this on
  for your information.
 
 The mutt-devel port has this patch integrated:

Um, this is all very interesting... but the reverse of what I'm
looking for. grin

I read mail with Mutt and, at the moment, don't read newsgroups at
all.  I want a more news-like interface for mail, not a more mail-like
interface for news.

But some cool suggestions have come from this thread.  Not sure any
will do what I want though, so I'm still watching replies...

-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
Bartimaeus Group   [EMAIL PROTECTED]   http://www.bartsite.com
The very smart may feel they have nothing to learn from anyone;
The very wise will find something to learn from everyone.  (7/14/01)

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



Bad IP version for 1.44.2.5

2002-11-24 Thread Christoph Kukulies
Strange, I kill -HUP inetd and get the following:
Nov 24 20:44:50 host inetd[201]: bad IP version for 1.44.2.5

Any clues?
(FreeBSD 4.4)
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

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



Re: Network connection dropping during file transfers

2002-11-24 Thread David Smithson
Hi Matthew.  Thanks for your response.  Pending more tests, the problem has
been resolved.  Special thanks to Stacey Roberts and his girlfriend.  :)

A while back I expanded our subnet from 255.255.255.224 to 255.255.255.0.
Long story short:  Samba was binding to the wrong broadcast address.  That
is, 192.168.1.31 instead of 192.168.1.255.  It was an oversight of mine -- a
setting I forgot to changed during the subnet expansion extravaganza.  I
haven't done any real sniffing to see what was actually going on when the
interface timed out.  I'm just glad it works now.  I'll celebrate 50 hours
of overtime with a beer or two...or three, maybe four 5 6 7...

I'll answer some of your questions below.

 i) Is there any chance of meeting your deadline given the current state
 of your system?

I will be able to meet the deadline now.  Yay!  (The citizens of Custom Film
Effects -- after much deliberation -- decide to acknowledge System
Administrator Day)

 ii) Have you ever had this hardware setup working well under this sort
 of load?

Not really.  I've added render engines and workstations recently.  Also, the
new version of Digital Fusion seems to be more efficient at using processor
time and memory so I really cranks out frames.

 iii) Do you really need 1000baseTX network speeds?

Absolutely.  We're dealing with 12MB cineon images.  Some comp'd shots
render very quickly -- load, save, load, save, load, save, load, save ...

Thanks for taking an interest.



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



Re: Network connection dropping during file transfers

2002-11-24 Thread david
On Sunday 24 November 2002 15:28, David Smithson wrote:
 Hi Matthew.  Thanks for your response.  Pending more tests, the problem has
 been resolved.  Special thanks to Stacey Roberts and his girlfriend.  :)


Glad you got it all working. :)


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



cannot access floppy drive

2002-11-24 Thread Jens Rehsack
Hi,

though I have configured floppy access into kernel I cannot access 
floppies on my -CURRENT box. Neither 'cat /dev/fd0.1440 /dev/null' 
works nor 'mdir a:'.

dmesg output:
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Sat Nov 23 07:42:32 CET 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOGTHROB
Preloaded elf kernel /boot/kernel/kernel at 0xc04a9000.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 334093026 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x660  Stepping = 0

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 268369920 (255 MB)
avail memory = 255668224 (243 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc0424122 (122)
VESA: NVidia
acpi0: GBTAWRDACPI on motherboard
Using $PIR table, 6 entries at 0xc00fded0
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 0x4008-0x400b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 
0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0
 initial configuration 
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.0
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.1
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.2
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.3
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.0
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.1
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.2
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.3
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.10.0
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.10.1
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.10.2
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.10.3
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.11.0
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.11.1
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.11.2
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.11.3
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.7.0
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.7.1
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.7.2
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.7.3
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.1.0
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.1.1
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.1.2
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.1.3
 before setting priority for links 
\\_SB_.PCI0.ISA_.LNKC:
	interrupts:	 3 4 5 6 71011121415
	penalty:	  1660  1660   660  1660  1660  1260  1260  1660 10660 10660
	references:	6
	priority:	0
 before fixup boot-disabled links -
\\_SB_.PCI0.ISA_.LNKC:
	interrupts:	 3 4 5 6 71011121415
	penalty:	  1660  1660   660  1660  1660  1260  1260  1660 10660 10660
	references:	6
	priority:	19680
 after fixup boot-disabled links --
 arbitrated configuration -
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.0
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.1
\\_SB_.PCI0.ISA_.LNKC irq   5: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.2
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.3
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.0
\\_SB_.PCI0.ISA_.LNKC irq   5: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.1
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.2
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.3

Re: cannot access floppy drive

2002-11-24 Thread Jens Rehsack
Jens Rehsack wrote:

Hi,

though I have configured floppy access into kernel I cannot access 
floppies on my -CURRENT box. Neither 'cat /dev/fd0.1440 /dev/null' 
works nor 'mdir a:'.

What I have forgotten: on the same machine the floppy access works using 
DOS (by boot disk!) or 4.7-STABLE

Jens

dmesg output:
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Sat Nov 23 07:42:32 CET 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOGTHROB
Preloaded elf kernel /boot/kernel/kernel at 0xc04a9000.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 334093026 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x660  Stepping = 0

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR 

real memory  = 268369920 (255 MB)
avail memory = 255668224 (243 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc0424122 (122)
VESA: NVidia
acpi0: GBTAWRDACPI on motherboard
Using $PIR table, 6 entries at 0xc00fded0
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 0x4008-0x400b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 
0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0
 initial configuration 
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.0
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.1
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.2
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.3
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.0
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.1
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.2
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.3
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.10.0
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.10.1
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.10.2
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.10.3
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.11.0
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.11.1
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.11.2
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.11.3
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.7.0
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.7.1
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.7.2
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.7.3
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.1.0
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.1.1
\\_SB_.PCI0.ISA_.LNKC irq   0: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.1.2
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.1.3
 before setting priority for links 
\\_SB_.PCI0.ISA_.LNKC:
interrupts: 3 4 5 6 7101112
1415
penalty:  1660  1660   660  1660  1660  1260  1260  1660 10660 
10660
references:6
priority:0
 before fixup boot-disabled links -
\\_SB_.PCI0.ISA_.LNKC:
interrupts: 3 4 5 6 7101112
1415
penalty:  1660  1660   660  1660  1660  1260  1260  1660 10660 
10660
references:6
priority:19680
 after fixup boot-disabled links --
 arbitrated configuration -
\\_SB_.PCI0.ISA_.LNKA irq  11: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.0
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.1
\\_SB_.PCI0.ISA_.LNKC irq   5: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.2
\\_SB_.PCI0.ISA_.LNKD irq  10: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.8.3
\\_SB_.PCI0.ISA_.LNKB irq   9: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.0
\\_SB_.PCI0.ISA_.LNKC irq   5: [  3  4  5  6  7 10 11 12 14 15] 
low,level,sharable 0.9.1

Re: packages settings and portupgrade

2002-11-24 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 (11.24.2002 @ 1309 PST): Hans Lambermont said, in 0.3K: 
 Hi,
 
 How can I best set (and store for future use) local package settings
 like 'no_gui' etc. for frequent cvsup and portupgrade usage ?
 end of packages settings and portupgrade from Hans Lambermont 

portupgrade will honor settings in /usr/local/etc/pkgtools.conf.
Specifically, you will want to be altering the MAKE_ARGS variable.

# Adam


- --
Adam Weinberger
vectors.cx[EMAIL PROTECTED]
FreeBSD.org   [EMAIL PROTECTED]
Bayer Berkeley[EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE94UWro8KM2ULHQ/0RAjn5AJ4jrWaCzwFhB/4NEk3tfQboi5Er5wCgu+Kv
jikqBidwcdCfDAH/iwcaBIA=
=CAfx
-END PGP SIGNATURE-

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



setiathome port: Can't open file temp.sah

2002-11-24 Thread Tomas Pluskal

Hello,

I've installed the astro/setiathome port, but when I run it (using
rc.d/setiathome.sh register or just setiathome -login), it fails to
work:

Welcome to SETI@home.
We use your email address to identify you.
Please type:
1 to set up a new account (first-time users);
2 to log into an existing account (returning users).
Your choice (1 or 2): 2
Email address: [EMAIL PROTECTED]
Can't open file temp.sah
If you need help or have questions,
please check the FAQ at http://setiathome.ssl.berkeley.edu.
Please type:
1 to set up a new account (first-time users);
2 to log into an existing account (returning users).

It always says Can't open file temp.sah and asks again for account
setup. It's not filesystem/rights problem, it does even when run as root.

I don't have a public IP (10.0.0...) and I am connected to internet via
NAT, but I believe it doesn't matter (internet communication works OK, and
setiathome is AFAIK using only http).

I've tried to run strace on it, but it was not very helpful:
...
connect(4, {sin_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr(66.28.250.122)}}, 16) = 0
close(4)= 0
write(1, Can\'t open file temp.sah\n, 25Can't open file temp.sah
) = 25
write(1, If you need help or have questio..., 96If you need help or have
questions,
please check the FAQ at http://setiathome.ssl.berkeley.edu.
) = 96
write(1, Please type:\n1 to set up a n..., 142Please type:
1 to set up a new account (first-time users);
2 to log into an existing account (returning users).
Your choice (1 or 2): ) = 142
read(0,
...

My system is 4.7-STABLE, few weeks old.

Thanks

Tomas Pluskal



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



Re: Kerberos is set up - now what?

2002-11-24 Thread Dancho Penev
On Sun, Nov 24, 2002 at 05:48:22AM +0100, Peter Much wrote:

From: Peter Much [EMAIL PROTECTED]
Subject: Re: Kerberos is set up - now what?
To: [EMAIL PROTECTED]
Date: Sun, 24 Nov 2002 05:48:22 +0100 (CET)


Hi all, 

as it seems to me, Kerberos5 is mostly unsupported in FreeBSD.

It's not very correct(it's totally incorrect).
If kerberos is installed (port or one in the base system) you have
all services that you want to use. They are not enabled by default
but it isn't mean that FreeBSD hasn't support for kerberos. Scroll 
down in inetd.conf and look for kerberos services. I use pam_krb5
and MIT Kerberos for a year without any problems, with single
login to workstation and access to other computers via telnet,
rlogin etc. If you can't configure kerberos services to work then
ask for help and don't make conclusion has or hasn't FreeBSD 
support for something.


BTW Kerberos5 access control file is .k5login(5) not .klogin.


Yes, this is going to be a rant.

If you have an appropriate Kerberos support, no rsh, rlogin,
ftp, telnet or elsewhat will ever ask you for a password, if
you login to an account where you are allowed to do so via its
.klogin file.
This means, that support for Kerberos5 needs to be built into
the servers and clients for ftp, telnet, rsh, rlogin, etc. It
is not enough to just run a kerberos5 server (aka kdc) and
make logins kerberos-aware via PAM.

This was already implemented with FreeBSD 2.2 and kerberos4
at least for rsh and rlogin, but now(*) with Kerberos5, if I 
connect to the kshell port, I just get:
rshd[8654]: usage: rshd [-alnDL]

Furthermore, it is possible to do session encryption based
on the principal, so essentially we could throw ssh etc. and all
that crap completely into the wastebasket, and instead had
a third-party based authentication scheme with single-sign-on
over the whole network and a central (and replicateable) server 
that can optionally be adminstered remotely. (Supposed the 
crypt stuff inside kerberos5 is hardened enough for today's
purposes.)

Ok, I do not know of any unix distribution that actually engages 
these possibilities, but they are there. Well, AIX got fairly
far with 4.3.3, telnet and ftp and all the rsh stuff actually
works without passwords there, and K4 and K5 and standard
logins all do work simultaneously. But when I asked the support
how to run telnet with session encryption based on my DCE/K5
principal (aka packet-level privacy as documented for DCE
and practically used in DFS), they shrugged and suggested me
to install ssh!


(*) now means FreeBSD 4.4, I didnt get the time to upgrade 
   further yet. No doubt the PAM integration has evolved since 
   then, but it doesnt look like a really substantial progress to 
   what I described above.

PMc

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

--
Regards,
D. Penev

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



Re: setiathome port: Can't open file temp.sah

2002-11-24 Thread Kent Stewart


Tomas Pluskal wrote:

Hello,

I've installed the astro/setiathome port, but when I run it (using
rc.d/setiathome.sh register or just setiathome -login), it fails to
work:

Welcome to SETI@home.
We use your email address to identify you.
Please type:
1 to set up a new account (first-time users);
2 to log into an existing account (returning users).
Your choice (1 or 2): 2
Email address: [EMAIL PROTECTED]
Can't open file temp.sah
If you need help or have questions,
please check the FAQ at http://setiathome.ssl.berkeley.edu.
Please type:
1 to set up a new account (first-time users);
2 to log into an existing account (returning users).

It always says Can't open file temp.sah and asks again for account
setup. It's not filesystem/rights problem, it does even when run as root.

I don't have a public IP (10.0.0...) and I am connected to internet via
NAT, but I believe it doesn't matter (internet communication works OK, and
setiathome is AFAIK using only http).


That doesn't matter either. I use a 192... convention.

It has to be a permission problem. I generate about 25 wu's a day on 
FreeBSD machines and have no problems. Make sure your directory 
permissions are consistant with your user access rights.

I created a user called seti and I get into trouble when I do 
something as root because seti can't modify files created by root.

Kent


I've tried to run strace on it, but it was not very helpful:
...
connect(4, {sin_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr(66.28.250.122)}}, 16) = 0
close(4)= 0
write(1, Can\'t open file temp.sah\n, 25Can't open file temp.sah
) = 25
write(1, If you need help or have questio..., 96If you need help or have
questions,
please check the FAQ at http://setiathome.ssl.berkeley.edu.
) = 96
write(1, Please type:\n1 to set up a n..., 142Please type:
1 to set up a new account (first-time users);
2 to log into an existing account (returning users).
Your choice (1 or 2): ) = 142
read(0,
...

My system is 4.7-STABLE, few weeks old.

Thanks

Tomas Pluskal



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

.




--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Re: setiathome port: Can't open file temp.sah

2002-11-24 Thread Tomas Pluskal

  NAT, but I believe it doesn't matter (internet communication works OK, and
  setiathome is AFAIK using only http).

 That doesn't matter either. I use a 192... convention.

I think so.


 It has to be a permission problem. I generate about 25 wu's a day on
 FreeBSD machines and have no problems. Make sure your directory
 permissions are consistant with your user access rights.

Well, I've checked everything twice, made new dir for setiathome few
times, tried to run it as root as well as normal user, tried to make blank
temp.sah manually..
It is _definitely_ not a permission problem (and neither a disk space
problem).

Tomas


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



Re: setiathome port: Can't open file temp.sah

2002-11-24 Thread Kent Stewart


Tomas Pluskal wrote:

NAT, but I believe it doesn't matter (internet communication works OK, and
setiathome is AFAIK using only http).


That doesn't matter either. I use a 192... convention.



I think so.



It has to be a permission problem. I generate about 25 wu's a day on
FreeBSD machines and have no problems. Make sure your directory
permissions are consistant with your user access rights.



Well, I've checked everything twice, made new dir for setiathome few
times, tried to run it as root as well as normal user, tried to make blank
temp.sah manually..
It is _definitely_ not a permission problem (and neither a disk space
problem).



This is a working seti

drwxr-xr-x  2 seti  staff  512 Nov 21 10:43 ruby3

ruby#seticd ruby3
ruby#setill
total 675
-rw-r--r--  1 seti  staff 132 Nov 24 14:00 key.sah
-rw-r--r--  1 seti  staff   0 Apr 10  2000 lock.sah
-rw-r--r--  1 seti  staff 828 Nov 24 13:11 outfile.sah
-rw-r--r--  1 seti  staff   6 Nov 24 12:48 pid.sah
-rw-r--r--  1 seti  staff 160 Nov 21 10:43 result_header.sah
-rwxr-xr-x  1 seti  staff  299008 Dec 26  2000 setiathome
-rw-r--r--  1 seti  staff4065 Nov 24 14:00 state.sah
-rw-r--r--  1 seti  staff 405 Apr 10  2000 temp.sah
-rw-r--r--  1 seti  staff 366 Nov 21 10:43 user_info.sah
-rw-r--r--  1 seti  staff  32 Dec 27  2000 version.sah
-rw-r--r--  1 seti  staff  356282 Nov 21 10:43 work_unit.sah

ruby#setistate 3
ncfft=7368
cr=1.020013e+01
fl=131072
cpu=3884.564995
prog=0.23630062
potfreq=-1
potactivity=0
outfilepos=828
bs_power=182.312408
bs_score=0.658756

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



ATI SVGA and the X window

2002-11-24 Thread Dead Line

Hello everyone,

   Im sending this email after hell of times of trying and after many
   days of trying..

   Im on PIII 733, FreeBSD 4.3-R fresh installation.
   Im trying to Install the X-WIndow system thro the FreeBSD CD I have
   I faild!

   When I choose Setup xf86cfg The graphical mode,
   and I choose my VGA Card... (which not specified exactly)
   it says (Unable to start X)

   My VGA is ATI - Rage 128 Pro, AGP 4X

   and the cards in list is (ATI-Rage 128 (generic))

   anyway i tried many cards its faild.. also i installed the SVGA MACH
   and many others but still the same..

   Please anyhelp is appreciate it

   Thank you very much.
   Please CC me when you email the list.
   Marwan Sultan




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


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


Re: setiathome port: Can't open file temp.sah

2002-11-24 Thread Tomas Pluskal

Well, this is a non-working seti :)

[root@eddie tmp]# l /tmp/seti
total 320
-rw-r--r--  1 plusik  wheel   0 24 lis 22:53 lock.sah
-r-xr-xr-x  1 plusik  wheel  299008 24 lis 22:24 setiathome

The /tmp/seti dir has these permissions:
drwxr-xr-x  2 plusik  wheel 512 24 lis 22:53 seti

There are no .sah files, because I was unable to login to seti@home.
(Of course I've tried to remove lock.sah, create new fresh dir etc.)

I've tried to connect to the seti@home server manually and there is no
problem with connection.

Tomas


 This is a working seti

 drwxr-xr-x  2 seti  staff  512 Nov 21 10:43 ruby3

 ruby#seticd ruby3
 ruby#setill
 total 675
 -rw-r--r--  1 seti  staff 132 Nov 24 14:00 key.sah
 -rw-r--r--  1 seti  staff   0 Apr 10  2000 lock.sah
 -rw-r--r--  1 seti  staff 828 Nov 24 13:11 outfile.sah
 -rw-r--r--  1 seti  staff   6 Nov 24 12:48 pid.sah
 -rw-r--r--  1 seti  staff 160 Nov 21 10:43 result_header.sah
 -rwxr-xr-x  1 seti  staff  299008 Dec 26  2000 setiathome
 -rw-r--r--  1 seti  staff4065 Nov 24 14:00 state.sah
 -rw-r--r--  1 seti  staff 405 Apr 10  2000 temp.sah
 -rw-r--r--  1 seti  staff 366 Nov 21 10:43 user_info.sah
 -rw-r--r--  1 seti  staff  32 Dec 27  2000 version.sah
 -rw-r--r--  1 seti  staff  356282 Nov 21 10:43 work_unit.sah



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



Re: .sh interactive ok, from crontab, not

2002-11-24 Thread Len Conrad


 if ( ps aux | grep -i ^root.*master )  /dev/null
 then
 echo then: exit code equal 0
 exit 0
 else
 try to run the daemon

 ... when run from the command line, the echo text displays. But, when run
 from crontab every 10 minutes, the if fails, and the else clause runs.

 I've tried every syntax I know, but still can't get this logic to work.

It works for me, and I suspect that it's working for you, too.


well, it's really not.  The crontab execution is trying to run the daemon 
even when the daemon shows up in ps aux.

 However, you
may not see the results expected if you are piping the cron output through
sendmail


I'm not, and anyway the echo is after the IF condition fails.


Also, make sure that you're running the expected shell. Check the SHELL=
line in crontab, or force the script to run via the expected shell by
running 'sh script' instead of just 'script', or tell the script what shell
to run by adding something like the following on the first line:

#!/bin/sh


already there, and /etc/crontab also contains

SHELL=/bin/sh


Although this isn't related to your problem , you might find it simpler to
use the -q option on grep instead of redirecting the output. For example,

if ( ps -aux | grep -q -i ^root.*master ); then

instead of,


ok.

thanks
Len


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



Re: .sh interactive ok, from crontab, not

2002-11-24 Thread Paul A. Scott

 From: Len Conrad [EMAIL PROTECTED]
 It works for me, and I suspect that it's working for you, too.
 
 well, it's really not.  The crontab execution is trying to run the daemon
 even when the daemon shows up in ps aux.

Well, it was just a guess. :) I tested against my 'named' daemon, using the
code you supplied and it works fine. What version of FreeBSD? Are you using
the 'stock' shell? Did you look at the output from grep to see what you get?
How about splitting the test onto more than one line so that you can echo
and then test the status code.

ps -aux | grep -i ^root.*master
STATUS=$?
echo got $STATUS
if [ $STATUS = 0 ] ; then

That might tell you something if you get a status 2.

If you'd like, send me your exact script, and crontab entry; I'll test it
here.

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Re: .sh interactive ok, from crontab, not

2002-11-24 Thread Len Conrad


Well, it was just a guess. :) I tested against my 'named' daemon, using the
code you supplied and it works fine.


same code works fine for my AV daemon, but not for the MTA daemon


 What version of FreeBSD?


4.5


Are you using
the 'stock' shell?


yes


 Did you look at the output from grep to see what you get?


I forgot to mention, I'm blue in the face


How about splitting the test onto more than one line so that you can echo
and then test the status code.


done that  :))


ps -aux | grep -i ^root.*master
STATUS=$?
echo got $STATUS
if [ $STATUS = 0 ] ; then


here's what I get from the command line:

ps -aux | grep -i ^root.*master
STATUS=$?
echo got $STATUS
if [ $STATUS = 0 ] ; then

#if ( ps aux | grep -qi ^root.*master )
#then
#echo then: exit code equal 0
exit 0
else

gives:

# /usr/local/bin/watchdog.sh
root  48701  0.0  0.9  1012  572  ??  Is5:01PM   0:02.30 
/usr/libexec/postfix/master
got 0

... but your version, or my multiple versions, have never mishaved from the 
command line, it's running from crontab that does comes out inverted.

I´ll see what happens in 10 min with next crontab run

thanks

Len


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


Re: jumping sound with maestro3 card

2002-11-24 Thread Aragon Gouveia
| By Adam Weinberger [EMAIL PROTECTED]
|  [ 2002-11-24 20:28 +0200 ]
 Yes. I have a Dell Inspiron 8100 laptop, p3/1.2Ghz, half a gig of RAM.
 When I play streaming mp3s the sound is fine, but playing tracks locally
 is a mess.

Mine's an Inspiron 8000, p3/1GHz, same ammount of RAM. I've found streaming
(over LAN) and locally played files to both be jumpy. Sound from movie
playback as well, which in turn is causing the video to jump too.

I've only tried xmms and mplayer so far, but with my past experience of
getting sound working properly on this system, all apps will probably do the
same thing. I had the same problems even in windows - sound playback only
became smooth after *alot* of BIOS and driver updates. I'm convinced the
Maestro3 is just a crap card. :) *sigh*


 I was going to use this laptop for my band's live shows... boot a custom
 kernel that would dedicate the system solely to becoming a sampler, but
 the blips and skips were too ridiculous.

Yea. I was hoping to wipe Windows from my notebook. Been setting up and
playing with FreeBSD 5.0-DP2 this weekend and have been VERY pleased with
how it runs on my notebook. Version 4 has always been useless for me because
of no cardbus support. The latest nvidia drivers even work pretty darn well
too.

I guess Windows will have to stay until I get a notebook with decent sound
hardware.


Thanks,
Aragon

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



Re: .sh interactive ok, from crontab, not

2002-11-24 Thread Paul A. Scott
 I forgot to mention, I'm blue in the face

Sorry, didn't know what you'd already done. Thought I had to ask.

 ... but your version, or my multiple versions, have never mishaved from the
 command line, it's running from crontab that does comes out inverted.

What does your crontab entry look like?

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Re: .sh interactive ok, from crontab, not

2002-11-24 Thread Len Conrad


What does your crontab entry look like?


*/10*   *   *   *   root/usr/local/bin/watchdog.sh



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



Re: Mail to News software suggestions?

2002-11-24 Thread lewiz
On Sat, Nov 23, 2002 at 06:12:45PM -0500, Doug Lee wrote:
 
 Now, if you know of a mail reader sporting an nn/trn-style UI, I'm all
 ears! :)
 
Hi, I use mutt for reading mail.  From what I've read I'm quite sure
that with some clever use of keybindings you could set all of that up
easily.

set sort=reverse-threads

might be of use -- it groups all messages together much the same way as
most newsreaders do.  Tell me how you get on, if you decide to go down
this route, I'd be interested to see what you come up with.

  Best wishes,


-lewiz.

-- 
The older I grow the more I distrust the familiar doctrine that age
brings wisdom.
-- H. L. Mencken

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



msg10042/pgp0.pgp
Description: PGP signature


Re: Ports base?

2002-11-24 Thread Greg 'groggy' Lehey
On Sunday, 24 November 2002 at  0:12:51 -0800, Kris Kennaway wrote:
 On Sun, Nov 24, 2002 at 12:03:46AM -0800, Peter Leftwich wrote:
 I tried to install just the ports base using sysinstall but it
 started to download the entire ports collection, and my HD space is
 limited.

 I didn't think that sysinstall allowed you to install parts of the
 ports collection, only the entire collection (which is about 9MB).

Those were the days.  I've just checked out the ports tree, and it's
314 MB!  This is probably partially a consequence of the larger file
system block size on modern systems, and also of course because of the
CVS directories (each of which takes up 16 kB), for a total of 128 MB.
Even without them, though, that leaves 186 MB.  

Greg
--
See complete headers for address and phone numbers

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



Re: Ports base?

2002-11-24 Thread Kris Kennaway
On Mon, Nov 25, 2002 at 10:48:31AM +1030, Greg 'groggy' Lehey wrote:
 On Sunday, 24 November 2002 at  0:12:51 -0800, Kris Kennaway wrote:
  On Sun, Nov 24, 2002 at 12:03:46AM -0800, Peter Leftwich wrote:
  I tried to install just the ports base using sysinstall but it
  started to download the entire ports collection, and my HD space is
  limited.
 
  I didn't think that sysinstall allowed you to install parts of the
  ports collection, only the entire collection (which is about 9MB).
 
 Those were the days.  I've just checked out the ports tree, and it's
 314 MB!  This is probably partially a consequence of the larger file
 system block size on modern systems, and also of course because of the
 CVS directories (each of which takes up 16 kB), for a total of 128 MB.
 Even without them, though, that leaves 186 MB.  

You're correct I was underestimating (I was thinking of the compressed
ports.tar.gz file), but my CVS ports tree is only 204MB including CVS
directories, so I think you're overestimating (perhaps you included
the distfiles/ directory?)

Kris



msg10044/pgp0.pgp
Description: PGP signature


Mutt / NNTP_patch.

2002-11-24 Thread lewiz
Hi,

  Like many of you I use mutt for email.  I recently reinstalled mutt
and included the NNTP patch allowing me to read news directly through
mutt.  However, I have the same home directory (and therefore muttrc)
shared across many machines - not all of which have the nntp patch.
Because I have nntp switches in my muttrc is there any way I can have
these ignored and not throw errors if I am running a version of mutt
without the patch?

  Thanks very much,

-lewiz.

-- 
To iterate is human, to recurse, divine.

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



msg10045/pgp0.pgp
Description: PGP signature


Re: Ports base?

2002-11-24 Thread Greg 'groggy' Lehey
On Sunday, 24 November 2002 at 16:51:07 -0800, Kris Kennaway wrote:
 On Mon, Nov 25, 2002 at 10:48:31AM +1030, Greg 'groggy' Lehey wrote:
 On Sunday, 24 November 2002 at  0:12:51 -0800, Kris Kennaway wrote:
 On Sun, Nov 24, 2002 at 12:03:46AM -0800, Peter Leftwich wrote:
 I tried to install just the ports base using sysinstall but it
 started to download the entire ports collection, and my HD space is
 limited.

 I didn't think that sysinstall allowed you to install parts of the
 ports collection, only the entire collection (which is about 9MB).

 Those were the days.  I've just checked out the ports tree, and it's
 314 MB!  This is probably partially a consequence of the larger file
 system block size on modern systems, and also of course because of the
 CVS directories (each of which takes up 16 kB), for a total of 128 MB.
 Even without them, though, that leaves 186 MB.

 You're correct I was underestimating (I was thinking of the compressed
 ports.tar.gz file), but my CVS ports tree is only 204MB including CVS
 directories, so I think you're overestimating (perhaps you included
 the distfiles/ directory?)

Nope, as I said, I checked out a completely new tree from the
repository.  FWIW, my real ports tree (including distfiles) runs to
3.1 GB.

I'd guess that your file system block size is smaller than mine.  The
default for new file systems is now 16 kB block and 2 kB fragments,
and since nearly every file in the Ports Collection is smaller than
the old 512 bytes fragment size, this means that they are now 1.5 kB
larger.  My ports tree currently has 170,000 files in it (including
distfiles, admittedly; I don't want to check out again), so that's in
the right ball park.

Greg
--
See complete headers for address and phone numbers

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



Re: DHCP and an internal web server

2002-11-24 Thread Michael Ross
Hey,

 I understand that there are hardware solutions that allow
 a host to run a web server thu DHCPD, but is there a way 
 of configuring one of my behind-the-firewall server to 
 serve pages.

there are two ways actually,

* get in touch with the person managing your dhcp server, supply them with the 
mac address of your machines network card and have them reserve a specific IP 
for your machine. Then have your dns admin point your domain name to that IP. 
This way whenever your machine requests an IP via DHCP it will get the same 
one.

* email the admin of your dhcp/dns servers and have them setup dynamic dns 
updates. This is a lot more complex then the above suggestion, but it means that 
whenever your machine gets a new IP it automatically updates the dns server 
with your new IP.

 zen.thought.org is an example; i is an older 4.7 system
 hardwired as 10.0.0.247.  Is there a way of configuring
 things to let http://zen.thought.org serve miscellaneous
 essays and references, e.g., for my profs.

the only problem you will hit depends on how willing your dhcp/dns server admins 
are to reconfiguring your server. otherwise you should be fine.

=)

Michael Ross 
[EMAIL PROTECTED]

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



Re: using 5.0-RELEASE

2002-11-24 Thread Scott Robbins
On Mon, Nov 25, 2002 at 12:26:32AM +0100, Jens Rehsack wrote:
 Hi,
 
 just a question to the possibilies using 5.0-RELEASE. In the early 
 adopters guide (chapter 1) it's written, that 5.0-RELEASE should be as 
 stable as possible to getting a large number of users to test. But if 
 it's not recommented to use it in production environments, what test 
 results do you expect?

I've been playing with 5.0-2 DR and so far, the only problem I've had
was with OpenOffice--lazy sod that I am, I download the binaries from
openoffice.org and install them.  That's failed to install properly.

On the other hand, I've not been using it in production, simply as a
desktop. I don't have the courage (or the expertise) to try it in
production. 

The basic workstation type stuff like opera, lbreakout2, sound and the
like have all installed without problem.  


-- 

Scott

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Spike: What, your Mom doesn't know? 
Joyce: Know what? 
Buffy: That I'm, uh...in a band. A rock band...with Spike here. 
Spike: Right. She plays the-the triangle... 
Buffy: Drums. 
Spike: Drums, yeah. She's hell on the old skins, you know. 
Joyce: (to Spike) And what do you do?
Spike: Well I sing. 



msg10048/pgp0.pgp
Description: PGP signature


Re: using 5.0-RELEASE

2002-11-24 Thread Giorgos Keramidas
Please do not cross-post to lists!

On 2002-11-25 00:26, Jens Rehsack [EMAIL PROTECTED] wrote:
 Hi,
 
 just a question to the possibilies using 5.0-RELEASE. In the early 
 adopters guide (chapter 1) it's written, that 5.0-RELEASE should be as 
 stable as possible to getting a large number of users to test. But if 
 it's not recommented to use it in production environments, what test 
 results do you expect?

That's very honest, in my opinion.  The 5.0-RELEASE of FreeBSD brings
many new and exciting features, which will definitely look inviting
and interesting to the users who read the release notes.  The people
who wrote these features are always welcome for new comments,
suggestions, or evenn complaints about the system works.  They are
honest though to admit that some of these things might cause problems
that haven't been discovered yet, despite the tests done so far.

Bearing that in mind, I am using FreeBSD-CURRENT at my workstation at
home for over a year now.  There were no serious problems, when I
carefully read and kept notes of the changes that were daily going in.

There were also occasions that I had to carefully reinstall the base
system, paying attention not to delete any important data, after
having broken it so horribly by `cvs up'-ing the wrong time.

FreeBSD-CURRENT is a moving target, and 5.0-RELEASE is exactly what it
says.  A release for early adopters.

 Wouldn't it better to say: 5.0-CURRENT is not recommented for production 
 environments (as it's said 'bout using -STABLE blindly), 5.0-RELEASE may 
 be used in non-critical environment, but heavily use of backup tool is 
 recommented?

The exact wording might not be perfect.  I'm sure that Bruce Mah and
the folks who work on the release notes for 5.0 will welcome any help
you can give in that area :)

- Giorgos

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



Re: cannot access floppy drive

2002-11-24 Thread Giorgos Keramidas
On 2002-11-24 22:06, Jens Rehsack [EMAIL PROTECTED] wrote:
 Jens Rehsack wrote:
 Hi,
 
 though I have configured floppy access into kernel I cannot access 
 floppies on my -CURRENT box. Neither 'cat /dev/fd0.1440 /dev/null' 
 works nor 'mdir a:'.
 
 What I have forgotten: on the same machine the floppy access works using 
 DOS (by boot disk!) or 4.7-STABLE

Floppy access works mostly fine here in a fairly recent snapshot:

# uname -v
FreeBSD 5.0-CURRENT #0: Sun Nov 24 20:04:27 EET 2002
# grep fdc /var/run/dmesg.boot
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
# dd if=/dev/zero of=/dev/fd0 bs=512 count=10
10+0 records in
10+0 records out
5120 bytes transferred in 1.290642 secs (3967 bytes/sec)
# disklabel -B -r -w fd0.1440 fd1440
# newfs -i 65536 fd0.1440
/dev/fd0.1440: 1.4MB (2880 sectors) block size 16384, fragment size 2048
using 1 cylinder groups of 1.41MB, 90 blks, 128 inodes.
super-block backups (for fsck -b #) at:
 32
# mount /dev/fd0.1440 /mnt
# df /mnt
Filesystem1K-blocks Used Avail Capacity  Mounted on
/dev/fd0.1440  1374   16  1250 1%/mnt

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



Re: cannot access floppy drive

2002-11-24 Thread Jens Rehsack
Giorgos Keramidas wrote:

On 2002-11-24 22:06, Jens Rehsack [EMAIL PROTECTED] wrote:


Jens Rehsack wrote:


Hi,

though I have configured floppy access into kernel I cannot access 
floppies on my -CURRENT box. Neither 'cat /dev/fd0.1440 /dev/null' 
works nor 'mdir a:'.

What I have forgotten: on the same machine the floppy access works using 
DOS (by boot disk!) or 4.7-STABLE


Floppy access works mostly fine here in a fairly recent snapshot:

# uname -v
FreeBSD 5.0-CURRENT #0: Sun Nov 24 20:04:27 EET 2002
# grep fdc /var/run/dmesg.boot
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
# dd if=/dev/zero of=/dev/fd0 bs=512 count=10
10+0 records in
10+0 records out
5120 bytes transferred in 1.290642 secs (3967 bytes/sec)
# disklabel -B -r -w fd0.1440 fd1440
# newfs -i 65536 fd0.1440
/dev/fd0.1440: 1.4MB (2880 sectors) block size 16384, fragment size 2048
using 1 cylinder groups of 1.41MB, 90 blks, 128 inodes.
super-block backups (for fsck -b #) at:
 32
# mount /dev/fd0.1440 /mnt
# df /mnt
Filesystem1K-blocks Used Avail Capacity  Mounted on
/dev/fd0.1440  1374   16  1250 1%/mnt


Mine say:

-bash-2.05b# dd if=/dev/zero of=/dev/fd0 bs=512 count=10
dd: /dev/fd0: Device not configured
1+0 records in
0+0 records out
0 bytes transferred in 0.000684 secs (0 bytes/sec)

I think he hates me :-)

I would try another floppy if it wouldn't work using a boot disk.

Jens
--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED]
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/



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



Re: cannot access floppy drive

2002-11-24 Thread Giorgos Keramidas
On 2002-11-25 01:57, Jens Rehsack [EMAIL PROTECTED] wrote:
 Giorgos Keramidas wrote:
 Floppy access works mostly fine here in a fairly recent snapshot:
 
 # dd if=/dev/zero of=/dev/fd0 bs=512 count=10
 10+0 records in
 10+0 records out
 5120 bytes transferred in 1.290642 secs (3967 bytes/sec)

 Mine say:
 
 -bash-2.05b# dd if=/dev/zero of=/dev/fd0 bs=512 count=10
 dd: /dev/fd0: Device not configured

Is this with a GENERIC kernel?
If not, do you have 'device fdc' in your kernel config?

It seems that your floppy hasn't been recognised by the running
kernel.  If you are running a kernel that *does* include support for
floppy disks, this is probably a bug that we should address.

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



Re: Manage, centralize and backup configuration files

2002-11-24 Thread Matthew D. Fuller
On Fri, Nov 22, 2002 at 04:49:36PM -0500 I heard the voice of
Karl Vogel, and lo! it spake thus:
 
 J What about a combination of rsync and CVS?
 
Rsync is a good idea if you want your files backed up on a separate
server.  CVS is a bit inflexible with directories, so I prefer RCS.

Eh?  CVS is a *LOT* more flexible with directories.

I keep all my configs in one central repository, which I co on different
machines using CVS-over-[rs]sh.  Then I just have a set of Makefiles in
the CVS tree to install the configs to the system directories.  Simple.



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet

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



Re: dhclient too verbose in /var/log/messages

2002-11-24 Thread David Kelly
On Sunday 24 November 2002 09:38 am, JoeB wrote:
 You have to change the level keyword in /etc/syslog.conf to select
 or not to select what type of messages you want to log. The level
 describes the severity of the message, and is a keyword from the
 following ordered list (higher to lower): emerg, alert, crit, err,
 warning, notice, info and debug. You may want to start with warning
 as notice, info, and debug generates the kind of general operational
 msgs you are seeing. For more details read the man page on
 syslog.conf

Thank you but you missed the point. I don't want to change the messages 
syslogd traps and writes to files. Its just fine the way it is. OTOH 
something changed in the past year with dhclient and/or both ISP's I 
have systems connected via. Something changed which causes dhclient to 
spit out excess messages in such a way as to cause syslogd to write 
them to /var/log/messages.

If I were to muffle the syslog levels logged I would then risk failing 
to log something I should not miss. In the case of dhclient its 
verbosity is predictable and redundant. So now that I've seen this 
message too much its time to put an end to this one source and leave 
everything else well enough alone.

Considering how top-posting ruined this thread for proper continuance 
I'll repeat the original situation;

/var/log/messages is being flooded with this:

Nov 24 16:23:44 grumpy dhclient: New Network Number: 24.214.34.0
Nov 24 16:23:44 grumpy dhclient: New Broadcast Address: 24.214.34.255
Nov 24 17:36:47 grumpy dhclient: New Network Number: 24.214.34.0
Nov 24 17:36:47 grumpy dhclient: New Broadcast Address: 24.214.34.255
Nov 24 18:51:32 grumpy dhclient: New Network Number: 24.214.34.0
Nov 24 18:51:32 grumpy dhclient: New Broadcast Address: 24.214.34.255
Nov 24 20:05:52 grumpy dhclient: New Network Number: 24.214.34.0
Nov 24 20:05:52 grumpy dhclient: New Broadcast Address: 24.214.34.255

It is not a fault for syslogd to be recording these messages. It is an 
error in dhclient for claiming these parameters have changed when they 
have not changed.

man dhclient and man dhclient.conf make no mention of how to control 
logging. No metion of what priority, facility, or level is used when 
writing log entries. Sadly this is a typical Unix documentation 
shortcoming. Is also a shortcoming in syslogd in that the logs it 
writes do not include any hint as to what parameter triggered its 
filter (syslog.conf) and caused the item to be written to a log file.

The solution is to insert a specific sed filter in syslog.conf to delete 
this excessive verbosity. Or to fix dhclient either by patch or 
dhclient.conf. But once again the dhclient man pages fail to metion 
logging as a configurable parameter.

Am I the only one who gets these messages every time dhclient renews my 
lease?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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



auth bf252e5b unsubscribe freebsd-questions lockecole@ig.com.br

2002-11-24 Thread Ricardo Aielo Pequeneza
auth bf252e5b unsubscribe freebsd-questions [EMAIL PROTECTED]


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



any advice before I buy a printer for FreeBSD?

2002-11-24 Thread BSD baby
Any advice before I buy a printer for FreeBSD?

I'm finally going to get a printer for my FreeBSD devbox this week.

Are they all pretty much FreeBSD-compatible?
or is there some spec I need to look for?

I assume parallel port is still the way to go
or is USB really ready on FreeBSD?

Main thing I want to do is print PDF files, in batches.
(Send a directory of 300 different PDF files to the printer at once.)

Are there any command-line tools to do that?
or do you need an X11 Adobe Acrobat app?

Any advice appreciated.

Thanks!


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



Re: any advice before I buy a printer for FreeBSD?

2002-11-24 Thread David Kelly
On Sunday 24 November 2002 09:45 pm, BSD baby wrote:
 Any advice before I buy a printer for FreeBSD?

 I'm finally going to get a printer for my FreeBSD devbox this week.

 Are they all pretty much FreeBSD-compatible?
 or is there some spec I need to look for?

 I assume parallel port is still the way to go
 or is USB really ready on FreeBSD?

The most painless way to print within FreeBSD is with a Postscript 
printer which speaks lpd protocol on ethernet.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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



Re: .sh interactive ok, from crontab, not

2002-11-24 Thread Paul A. Scott

Okay, I was able to duplicate your problem. It is due to the output of 'ps'
being truncated to 80 columns, the default terminal size. You are likely
running a wide terminal display on your interactive session (as I do) but
cron will see the default 80 column terminal. This is the difference between
the two.

Try running 'ps' using the -w flag (wide column mode):

  if ( ps -auxw | grep -iq ^root.*master ) ; then

I've tested this and it works.

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Error on installing FreeBSD 4.4 on Dell Inspiron 2650 ( 2.0 GHz )

2002-11-24 Thread soheil soheil
Hi
I bought a laptop ( Dell Inspiron 2650 ) and want to install 4.4BSD on it . 
but when it is going to be installed after it ask for configuration when the 
kernel is going to probe the devices and write the devices on the screen , 
it says that
pci0 unknown device (vendor=8086  ) IRQ ...
pci0 unknown device (vendor=8086  ) IRQ ...
pci0 unknown device (vendor=8086  ) IRQ ...
and then it hanged up and never going to continue

What can i do ???

I really love the FreeBSD ;)

Thanx


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


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


Re: any advice before I buy a printer for FreeBSD?

2002-11-24 Thread Lin Jianfong
Try to avoid any so-called winprinters, i.e. the one that rely 
specifically on the existence of Microsoft Windows OS to function. One good 
example of winprinters are some of the older HP series printers that uses 
Performance Printing Architecture (PPA), in which case much of the 
computational ability of the printer is being relegated to the OS instead of 
being done by the printer internally, much like dumb terminals. Although 
thru the use of special filters, and there's such filter, you can set up 
winprinters to function with FreeBSD, that's highly not recommended.

As for printing batches and batches of PDF files, set up apsfilter on your 
printer, and write a script that automates the printing job, set up the 
printing daemon lpd to handle the job priorities, spooling, etc. The FreeBSD 
handbook described how to do all these tasks in great details. I assume you 
know at least some shell scriptings if you're using FreeBSD. X11 AcroReader 
is only needed when you need to view the PDF files without printing them.

And, the most important of all, check the hardware compatibility list of 
printers suitable for FreeBSD.

Fong

From: BSD baby [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: any advice before I buy a printer for FreeBSD?
Date: Sun, 24 Nov 2002 19:45:20 -0800

Any advice before I buy a printer for FreeBSD?

I'm finally going to get a printer for my FreeBSD devbox this week.

Are they all pretty much FreeBSD-compatible?
or is there some spec I need to look for?

I assume parallel port is still the way to go
or is USB really ready on FreeBSD?

Main thing I want to do is print PDF files, in batches.
(Send a directory of 300 different PDF files to the printer at once.)

Are there any command-line tools to do that?
or do you need an X11 Adobe Acrobat app?

Any advice appreciated.

Thanks!


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



_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


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


Re: Mutt / NNTP_patch.

2002-11-24 Thread Cliff Sarginson
On Sun, Nov 24, 2002 at 07:24:45PM +, lewiz wrote:
 Hi,
 
   Like many of you I use mutt for email.  I recently reinstalled mutt
 and included the NNTP patch allowing me to read news directly through
 mutt.  However, I have the same home directory (and therefore muttrc)
 shared across many machines - not all of which have the nntp patch.
 Because I have nntp switches in my muttrc is there any way I can have
 these ignored and not throw errors if I am running a version of mutt
 without the patch?
 
Several ways.
One which springs to mind is a shell wrapper, say called runmutt, which
tests the name of the machine and runs mutt as appropriate. Something
like:

#/bin/sh
#
NODE=`uname -n`
if [ $NODE = muttandnews ]; then
mutt -nntpflags
else
mutt
fi

adjusted as appropriate for your systems.

There are several other ways of course, this is my 7 a.m. in the morning
suggestion :)


-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: .sh interactive ok, from crontab, not

2002-11-24 Thread Len Conrad


Okay, I was able to duplicate your problem. It is due to the output of 'ps'
being truncated to 80 columns, the default terminal size. You are likely
running a wide terminal display on your interactive session (as I do)


yep, TeraTerm on Windows, very wide display.


but cron will see the default 80 column terminal. This is the difference 
between the two.

ugh, amazing!


Try running 'ps' using the -w flag (wide column mode):

  if ( ps -auxw | grep -iq ^root.*master ) ; then

I've tested this and it works.


here, too, thanks!!

Len


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



Re: any advice before I buy a printer for FreeBSD?

2002-11-24 Thread Cliff Sarginson
On Sun, Nov 24, 2002 at 10:19:31PM -0600, David Kelly wrote:
 On Sunday 24 November 2002 09:45 pm, BSD baby wrote:
  Any advice before I buy a printer for FreeBSD?
 
  I'm finally going to get a printer for my FreeBSD devbox this week.
 
  Are they all pretty much FreeBSD-compatible?
  or is there some spec I need to look for?
 
  I assume parallel port is still the way to go
  or is USB really ready on FreeBSD?
 
 The most painless way to print within FreeBSD is with a Postscript 
 printer which speaks lpd protocol on ethernet.
 
Sadly this is quite an expensive way.
Avoid so called Windows printers, although some of them can be made to
work, they are a pain in the neck since they rely on custom drivers.
It may not be obvious when you look at a printer box and/or glossy
whether it is one of these animals, so check in the usual places.

Epson's are generally a good bet (although not all of them).
I have no problems with USB support, and in fact many printers do come
with both USB and Parallell ports so you can hedge your bets that way.

I asked the list about PS printers the other day, I knew they should all
work without problem but I wanted to see it in writing :). But since a
PS printer is a very intelligent device, really a specialised computer
with a Risc processor, they may require a second mortgage to buy ..
luckily someone is going to sell me a second hand one :)

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: RELENG_5_0_DP2 as server

2002-11-24 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-25 00:07:28 +0100:
 what would people say to using 5.0-DP2 as apache2, php, mysql and qmail
 server? Is it not safe yet?  The problem is that its a server I cant get
 to physically after its install. I think I know the answer to this
 question to this already :) but please play along. Why should I not do
 this?

Apache-2 / PHP combination is going to give you enough headache no
matter what os you choose. See thw warning on
http://www.php.net/manual/en/print/install.apache2.php

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: any advice before I buy a printer for FreeBSD?

2002-11-24 Thread Kevin Stevens

On Sunday, Nov 24, 2002, at 23:08 US/Pacific, Cliff Sarginson wrote:


On Sun, Nov 24, 2002 at 10:19:31PM -0600, David Kelly wrote:

On Sunday 24 November 2002 09:45 pm, BSD baby wrote:

Any advice before I buy a printer for FreeBSD?

I'm finally going to get a printer for my FreeBSD devbox this week.

Are they all pretty much FreeBSD-compatible?
or is there some spec I need to look for?

I assume parallel port is still the way to go
or is USB really ready on FreeBSD?


The most painless way to print within FreeBSD is with a Postscript
printer which speaks lpd protocol on ethernet.


Sadly this is quite an expensive way.


If you can find one on eBay or somewhere, look into a Lexmark Optra 
Color 40 (or 45).
Nice color inkjet printer, WITH Postscript.  It comes with a fighting 
2MB of memory, but add a 32 or 64MB SIMM and you're good to go; prints 
great from FreeBSD, WinXP, and Mac OS X.  I've  loved mine for two 
years, and recently acquired another NIB that I might, MIGHT be talked 
out of.  Better yet, go find your own - should be less than $100.  
Recommended.

KeS

BTW, I was recently looking to see what else is out there, and the best 
I came up with is an HP 2280 at $450.


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


  1   2   >