proto.m4 file (Sendmail on FreeBSD)

2003-02-26 Thread Andreas Widerøe Andersen
I got Sendmail 8.12.6/8.12.7 on my FreeBSD 4.7 STABLE system and I've 
recently been working with it to stop spam coming through to my email 
users. I've added several FEATURES in the freebsd.mc file and compiled a 
new sendmail.cf file which works pretty good. However, I'm seeing more and 
more of lines in my maillog like the line below:

Feb 26 09:13:00 myserver sendmail[52405]: h1Q8CxZw052405: 
[EMAIL PROTECTED]... User unknown
Feb 26 09:13:00 myserver sendmail[52405]: h1Q8CxZw052405: from=, 
size=3411, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=mxo1.vol.cz 
[195.250.128.76]

The spammer is always using an empty from field and the spammer is 
obviously trying lots of different combinations just to see if it will 
match. I read on the sendmail.org site that there is a workaround to 
prevent spammers do this in 8.12.6.

My question is, where should I put this in in my proto.m4 file? The file is 
rather large and I really don't know where.

Index: proto.m4
===
RCS file: /cvs/cf/m4/proto.m4,v
retrieving revision 8.649.2.12
retrieving revision 8.649.2.13
diff -u -r8.649.2.12 -r8.649.2.13
--- proto.m43 Dec 2002 16:48:37 -   8.649.2.12
+++ proto.m44 Dec 2002 00:12:18 -   8.649.2.13
@@ -1761,6 +1761,9 @@
 dnl workspace: {client_name} $| {client_addr}
 R$+ $| $+  $: $D  $1  ? + Connect  $2 
 dnl workspace: result-of-lookup {client_addr}
+dnl OR $| $+ if client_name is empty
+R   $| $+  $: $A  $1  ? + Connect empty 
client_name
+dnl workspace: result-of-lookup {client_addr}
 R? $+  $: $A  $1  ? + Connect no: 
another lookup
 dnl workspace: result-of-lookup (|{client_addr})
 R? $*  $: OK   found nothing

Also, there are 2 proto.m4 files:

/usr/share/sendmail/cf/m4/proto.m4
/usr/src/contrib/sendmail/cf/m4/proto.m4
Which one should I edit  use?

When I'm compiling up a new sendmail.cf file I do this:

cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.orig
cd /usr/src/etc/sendmail
cp freebsd.mc freebsd.mc.orig
[edit freebsd.mc]
make freebsd.cf
make freebsd.cf install
cd /usr/obj/usr/src/etc/sendmail/
cp freebsd.cf /etc/mail/sendmail.cf
killall -1 sendmail
Thanks!
/Andreas
---
Andreas Widerøe Andersen [EMAIL PROTECTED]
Pragma AS
http://www.pragma.no 

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


Re: potential bug when creating ssh keypairs?

2003-02-26 Thread Cliff Sarginson
On Wed, Feb 26, 2003 at 12:37:58AM -0800, Bsd Neophyte wrote:
 
 i put forward a message on this before, but i received no replies.
 
 i wanted to know if this was a bug and where to report it.
 
 whenever, and only when, i try to create an ssh keypair, the system
 reboots.
 
 this happens 4/5 times.  
 
 if someone can help me out on this, i'd appreciate it.
 
I think it may have been reported by others if it was, but you can of
course submit a PR I guess.

One thing to note is that the generation of this key is an extremely
CPU intensive operation. That may imply something..(too overclocked a
CPU..?).

-- 
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: FreeBSD 4.4 Questions

2003-02-26 Thread Neeraj Arora
another good place to search for information would be the book

the design and implementation of 4.4 bsd

regards,
neeraj

 Willie Viljoen [EMAIL PROTECTED] 02/26/03 06:52PM 
On Wednesday 26 February 2003 9:34, someone, possibly Aas, Eskild, typed:
 Dear Sirs


 We are three students attending Hærens Ingeniørhøgskole (the norwegian
 millitary engineering school). We are currently working on an assignment
 about operating systems. We are writing about FreeBSD 4.4. We would like
 to know if you can help us find , or tell us where we can find
 information about these following subjects:

 * OS structure
 * Process-handling
 * CPU-handling
 * Memory-handling
 * Filesystem (implementation)
 * I/O structure
 * Security

A good place to start would be the FreeBSD developer's handbook, this is 
available at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html 

It is not written specifically about 4.4, which has been deprecated for 
quite some time now, but focuses on FreeBSD in general, it should get you 
well on your way there though.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[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: FreeBSD 4.4 Questions

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 10:59, someone, possibly Neeraj Arora, typed:
 another good place to search for information would be the book

 the design and implementation of 4.4 bsd

Neeraj,

I might be completely off, but I think this book goes to 4.4BSD as it was 
published by UCB. This is very different from FreeBSD 4.4. 4.4BSD is what 
FreeBSD 1.0 (and everything following that) was based on :)

This would still be a good read to get some historical insights into the 
architecture of BSD though.

Will

  Willie Viljoen [EMAIL PROTECTED] 02/26/03 06:52PM 

 On Wednesday 26 February 2003 9:34, someone, possibly Aas, Eskild, typed:
  Dear Sirs
 
 
  We are three students attending Hærens Ingeniørhøgskole (the norwegian
  millitary engineering school). We are currently working on an
  assignment about operating systems. We are writing about FreeBSD 4.4.
  We would like to know if you can help us find , or tell us where we can
  find information about these following subjects:
 
  *   OS structure
  *   Process-handling
  *   CPU-handling
  *   Memory-handling
  *   Filesystem (implementation)
  *   I/O structure
  *   Security

 A good place to start would be the FreeBSD developer's handbook, this is
 available at
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/inde
x.html

 It is not written specifically about 4.4, which has been deprecated for
 quite some time now, but focuses on FreeBSD in general, it should get you
 well on your way there though.

 Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

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


Need install help please

2003-02-26 Thread Ron Andreasen
I just recently got FreeBSD 5.0 and I can't get it to
install.  When it's listing my devices in the very
beginning it does fine untill it hits my HP CD-Writer
Plus 9100i.  Then it just freezes.  Not even an error
message.  If version 4.6 I at least got a non-ATA66
cable or device error, and I fixed that by changing
the PIO on that drive from Auto to Mode0.  This
doesn't work for 5.0 though.

I have tried the following commands in vain:

set hw.ata.ata_dma=1
set hw.ata.atapi_dma=1
and set hint.foo.0.disabled

I also tried the other PIO modes with no luck.  I
tried changing the access mode from Auto to LBA, CHS,
and Large.  I'm outta ideas now.  Here's my ide setup:

Primary Master - IBM 40 gb hard drive
Primary Slave - Liteon CD-Rom
Secondary Master - Maxtor 20 gb hard drive
Secondary Slave - HP CD-Writer Plus 9100i

My BIOS is Phoenix-Award BIOS v6.00PG and my
motherboard is a Jetway 603TCFL with Pentium III 1.1
ghz and via chipset.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


Unable to set virtual screen smaller than physical screen

2003-02-26 Thread LEE TIAM KEAN
Hi,
i'm a beginner in Freebsd. I've set up x windows successfully but i found 
that the screen is larger than my monitor. i've tried the xf86config again 
by answering no when prompted with Want virtual screen larger than physical 
screen?. it still unsuccessful. Any other thing that i've missed out? I'm 
using version 4.7 of the FreeBSD. Thanks





_
Using a handphone prepaid card? Reload your credit online! 
http://www.msn.com.my/reloadredir/default.asp

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


Re: Unable to set virtual screen smaller than physical screen

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 11:20, someone, possibly LEE TIAM KEAN, typed:
 Hi,
 i'm a beginner in Freebsd. I've set up x windows successfully but i found
 that the screen is larger than my monitor. i've tried the xf86config
 again by answering no when prompted with Want virtual screen larger than
 physical screen?. it still unsuccessful. Any other thing that i've
 missed out? I'm using version 4.7 of the FreeBSD. Thanks

Try configuring it with XFree86 -configure

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

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


Re: Need install help please

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 11:11, someone, possibly Ron Andreasen, typed:
 Primary Master - IBM 40 gb hard drive
 Primary Slave - Liteon CD-Rom
 Secondary Master - Maxtor 20 gb hard drive
 Secondary Slave - HP CD-Writer Plus 9100i

The problem here is with the UDMA (Ultra-ATA) standards. Drives that do UDMA 
above UDMA3  want to use an 80-conductor cable, as opposed to the 
40-conductor cable used by standard ATA.

Another problem is that UDMA devices (especially UDMA3+) should not be 
connected together with non-UDMA devices. While this should work according 
to the standards, many systems and driver/hardware combinations do not 
support it. According to the standards, these devices should also be 
willing to work on a 40-conductor cable, albeit at slower speeds. This is 
also not always the case. I have seen drive/controller combinations where 
systems refuse to boot if an 80-conductor cable is not used. The best way 
to solve this would be to make some changes to your configuration, here is 
a sugestion:

On an 80-conductor cable:
Pri. Master:IBM 40GB drive, at highest UDMA mode
Pri. Slave: Maxtor 20GB drive, at highest UDMA mode

On a 40-conductor cable:
Sec. Master:HP CD-Writer+ 9100i, PIO4 mode
Sec. Slave: Liteon CD-ROM, PIO4 mode

Note that while most CD-ROM/R/RW devices claim to support UDMA these days, 
very few of them actually do, and even with devices that do, PIO4 is still 
faster in the case of CD-ROMs, because of the way they work.

The problem that this set-up creates is that your drives are all still 
sharing cables. While there is nothing wrong with this, it will degrade 
performance, as IDE busses do not interleave. For a better solution, I 
would sugest you add a second ATA controller to your system

I have a controller based on the CMD649 chipset. Past CMD chipsets are 
famous for giving all sorts of trouble, but this one seems to behave, 
albeit that I need to disable write caching. The CMD649 comes on extremely 
cheap controllers, most in the sub $25 catagory, but they work just fine 
for what is needed.

If you can get your hands on such a controller, you should use a set-up like 
this:

Motherboard ATA controller:
Pri. Master:Liteon CD-ROM   (PIO4, 40-c cable)
Sec. Master:HP CD-Writer+ 9100i (PIO4, 40-c cable)

Here we make the HP secondary, because most boards will want to boot from 
the first CD-ROM, and you should be saving the writer for writing. The same 
could apply for my example earlier.

Then...

Offboard ATA controller:
Pri. Master:IBM 40GB(highest UDMA, 80-c cable)
Sec. Master:Maxtor 40GB (highest UDMA, 80-c cable)

Note that your BIOS will not directly list these drives as bootable. The 
offboard ATA controller will have its own BIOS. To get your motherboard 
BIOS to hand booting over, set it to boot from SCSI Boot Device or 
SCSI. The ATA controller will then grab controle and do the boot.

You can also invert the order of devices, and have the CD-ROMs on the 
offboard controller, but because it is newer, the offboard will most likely 
support higher UDMA speeds than the onboard one, and only the onboard 
controller will be able to perform a CD-ROM boot.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

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


Undefined symbol __gxx_personality_v0

2003-02-26 Thread Hilmi Hilmiev
I have FreeBSD 5.0, apache 2.0.43 and php 4.2.3. I need XML support for 
php. I have compiled with options --with-apxs2 --with-dom, 
--enable-xslt, --with-xslt-sablot. Compiling process is finished OK, but 
when I try to start apache server I get next error message:\
name# apachectl start
Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp4.so into server: 
/usr/local/lib/libsablot.so.69: Undefined symbol __gxx_personality_v0

Where is the problem? Is this bug? How I can solve the problem?

10x in advanced to all!





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


Re: Undefined symbol __gxx_personality_v0

2003-02-26 Thread Jens Rehsack
Hilmi Hilmiev wrote:
I have FreeBSD 5.0, apache 2.0.43 and php 4.2.3. I need XML support for 
php. I have compiled with options --with-apxs2 --with-dom, 
--enable-xslt, --with-xslt-sablot. Compiling process is finished OK, but 
when I try to start apache server I get next error message:\
name# apachectl start
Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp4.so into server: 
/usr/local/lib/libsablot.so.69: Undefined symbol __gxx_personality_v0

Where is the problem? Is this bug? How I can solve the problem?

10x in advanced to all!

If you just grep the ports-list archives, you'll find at PR/46268 a 
problem record which describes the problem and provides a fix. Even you 
recognize that yesterday 2 guys talked about the committing of this patch.

Check the PR at http://www.freebsd.org/cgi/query-pr.cgi?pr=46268 and 
apply the patch. Rebuild sablot and than php compile should work, too.

Jens

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


xterm + colors just wont splice...

2003-02-26 Thread Thanos Tsouanas
Hello everyone!

Ive never managed to see colored output on an Xterm on FreeBSD..
i mean, the -bg, -fg color switches work fine...
but i cant see the colors of vim, nor when i ls -G etc etc.

Any ideas?

Thanks!

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


Re: Need install help please

2003-02-26 Thread Ron Andreasen
 On an 80-conductor cable:
 Pri. Master:  IBM 40GB drive, at highest UDMA mode
 Pri. Slave:   Maxtor 20GB drive, at highest   UDMA
mode
 
 On a 40-conductor cable:
 Sec. Master:  HP CD-Writer+ 9100i, PIO4 mode
 Sec. Slave:   Liteon CD-ROM, PIO4 mode

I was afraid that would be one of the suggestions for
my problem.  The reason I have it set up the way it is
is so I can record from cd to cd on-the-fly.  Last
time I tried this I had to have the writer/cd-rom on
different ide cables.

 For a
 better solution, I 
 would sugest you add a second ATA controller to your
 system

I will definately look into this ATA controller you
suggested and see if I can grab one.  Will this still
allow me to copy cds on-the-fly?

I think for now I'll just stick with Redhat Linux
since it doesn't seem to have a problem with my
current set up.  At least until I can get my hands on
a second ATA controller.  Thanks a bunch for the
ideas, I appreciate the time you took to help out.

Ron

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


Re: xterm + colors just wont splice...

2003-02-26 Thread Miguel Mendez
On Wed, 26 Feb 2003 02:13:52 -0800 (PST)
Thanos Tsouanas [EMAIL PROTECTED] wrote:

Howdy.

 Ive never managed to see colored output on an Xterm on FreeBSD..
 i mean, the -bg, -fg color switches work fine...
 but i cant see the colors of vim, nor when i ls -G etc etc.

If you are using -STABLE, try setting TERM to xterm-color

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!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: Undefined symbol __gxx_personality_v0

2003-02-26 Thread Jens Rehsack
Hilmi Hilmiev wrote:
OK. 10x. But my second problem is that I don't know how to apply this 
patch :(
Have somebody who can help me?

10x again!

Jens Rehsack wrote:

Hilmi Hilmiev wrote:

I have FreeBSD 5.0, apache 2.0.43 and php 4.2.3. I need XML support 
for php. I have compiled with options --with-apxs2 --with-dom, 
--enable-xslt, --with-xslt-sablot. Compiling process is finished OK, 
but when I try to start apache server I get next error message:\
name# apachectl start
Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp4.so into server: 
/usr/local/lib/libsablot.so.69: Undefined symbol __gxx_personality_v0

Where is the problem? Is this bug? How I can solve the problem?

10x in advanced to all!

If you just grep the ports-list archives, you'll find at PR/46268 a 
problem record which describes the problem and provides a fix. Even 
you recognize that yesterday 2 guys talked about the committing of 
this patch.

Check the PR at http://www.freebsd.org/cgi/query-pr.cgi?pr=46268 and 
apply the patch. Rebuild sablot and than php compile should work, too.

Jens


1st: Do not toppost
2nd: try typing 'man patch'
Jens

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


blank_sever doesn't reset from stanby

2003-02-26 Thread Hanspeter Roth
Hello,

for the text consoles I have setup blank_saver but for X DPMS.
The X DPMS values are as follows:

DPMS (Energy Star):
  Standby: Suspend: 0Off: 0
  DPMS is Enabled

Sometimes when I return to the station after X has switched to
standby mode I can wake X and start a new session.
But when I switch to a text console it is like in standby mode and
can't be woken up again even though I have only blank_saver running.
Thereafter I can't switch back to the X session on console 9.

On the console 9 there is gdm running. Sometimes I have a secondary
X session on console 10 launched by startx.
The X sessions will be terminated by xautolock.
The console sessions have autologout activated.

Has anybody an idea why the text consoles can lock in standby mode?

-Hanspeter

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


Re: Undefined symbol __gxx_personality_v0

2003-02-26 Thread Hilmi Hilmiev


Jens Rehsack wrote:

Hilmi Hilmiev wrote:

OK. 10x. But my second problem is that I don't know how to apply this 
patch :(
Have somebody who can help me?

10x again!

Jens Rehsack wrote:

Hilmi Hilmiev wrote:

I have FreeBSD 5.0, apache 2.0.43 and php 4.2.3. I need XML support 
for php. I have compiled with options --with-apxs2 --with-dom, 
--enable-xslt, --with-xslt-sablot. Compiling process is finished 
OK, but when I try to start apache server I get next error message:\
name# apachectl start
Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp4.so into server: 
/usr/local/lib/libsablot.so.69: Undefined symbol 
__gxx_personality_v0

Where is the problem? Is this bug? How I can solve the problem?

10x in advanced to all!

If you just grep the ports-list archives, you'll find at PR/46268 a 
problem record which describes the problem and provides a fix. Even 
you recognize that yesterday 2 guys talked about the committing of 
this patch.

Check the PR at http://www.freebsd.org/cgi/query-pr.cgi?pr=46268 and 
apply the patch. Rebuild sablot and than php compile should work, too.

Jens


1st: Do not toppost
2nd: try typing 'man patch'
Jens
name# pwd
/usr/ports/textproc/sablotron/work/Sablot-0.96
name# patch -c  sablot-make.diff
Hmm...  I can't seem to find a patch in there anywhere.
name#
OR

name# patch   sablot-make.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|--- sablot-make.diff begins here ---
|--- Makefile.orig  Sat Dec 14 10:42:52 2002
|+++ Makefile   Sat Dec 14 11:16:05 2002
--
Patching file Makefile using Plan A...
Hunk #1 failed at 33.
1 out of 1 hunks failed--saving rejects to Makefile.rej
Hmm...  Ignoring the trailing garbage.
done
name#
Realy I don't know how to do ... What is wrong now? I try to compuile 
Sablot again with patch, but patch does not applay. Why?



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


Re: rfd0 fd0

2003-02-26 Thread Konrad Heuer

On Tue, 25 Feb 2003, Mike Meyer wrote:

 In [EMAIL PROTECTED], Konrad Heuer [EMAIL PROTECTED] typed:
  On Mon, 24 Feb 2003, Brian Henning wrote:
   what is the difference between these two devices?
  fd0 ist a block-oriented device, data are cached in the buffer cache;
  rfd0 is a byte-oriented raw device; data are always read from or
  immediately written to the device.

 This is out-of-date information. Both fd0 and rfd0 are raw character
 devices these days. The old names were kept around for backwards
 compatability, but there is no difference between them.

What does it mean - these days? When did the change occur?

Konrad


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


Re: scroll mouse

2003-02-26 Thread Tijl Coosemans
On Wed, 26 Feb 2003 02:37:55 -0800 (PST), Thanos Tsouanas wrote:

 Hello everyone..
 I am having a similar problem which wont fix with those :(
 Im using 4.7-stable and a logitech usb mouse with wheel...
 
 from the XF86Config file...
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol MouseSystems
 Option  Device /dev/sysmouse
 Option  Buttons 5
 Option  ZAxisMapping 4 5
 EndSection
 
 
 
 from the rc.conf file...
 
 moused_enable=NO
 moused_type=NO
 
 
 from ps aux | grep mouse   
 root  99  0.3  0.1   912  512  ??  Ss   12:17PM   0:00.66
 /usr/sbin/moused -p /dev/ums0 -I/var/run/moused.ums0.pid
 
 
 I see in /dev that sysmouse is different from ums0...
 what changes shud i do?

Try with changing MouseSystems in your XF86Config to Auto. 

 why is moused started?

It's started by usbd when you attach the mouse.

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


Re: potential bug when creating ssh keypairs?

2003-02-26 Thread Bill Moran
Bsd Neophyte wrote:
--- Cliff Sarginson [EMAIL PROTECTED] wrote:

One thing to note is that the generation of this key is an extremely
CPU intensive operation. That may imply something..(too overclocked a
CPU..?).
--
Regards
  Cliff Sarginson 
  The Netherlands


hmmm... but would this tax a 633mhz cel w/512mb ram to where it would
reboot?  the CPU is running normal... no overclocking involved.
Yes.  If your processor is improperly cooled, or your processor, RAM, or
motherboard components are buggy, it will cause a crash every single time.
It's very common to have buggy hardware that only seems to crash under
a certain program.  The keygen process is very math-intensive, it may
overwork math parts of the processor that normally don't get worked out,
and those may be the only parts of the processor that are buggy.
I would recommend installing memtest and cpuburn from the ports and see
if running those applications according to their instructions leads you
to any more conclusions.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


4.7 Upgrade issue

2003-02-26 Thread rew

Hello to all FreeBSD users, supporters, developers.

I'm trying to upgrade from FreeBSD 4.6-STABLE #0: Sat Jun 29 to RELENG_4_7

sysctl -a | grep secure - kern.securelevel: -1

1) rm -rf /usr/src/*  (backed up kernel cfg before)
2) rm -rf /usr/obj/*
3) cvsup-ed RELENG_4_7
4) make buildworld- successfull
5) make buildkernel KERNCONF=MYKERNEL - successfull
6) make installworld  - following error:

mkdir -p /tmp/install.55427
for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln make 
makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname wc zic; do  cp 
`which $prog` /tmp/install.55427;  done
usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target
   cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory
*** Error code 64

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

Stop in /usr/src.


What is wrong?

--
 Get your FREE email, calendar, file storage, bookmarks, and other great services at
 http://www.doneasy.com ! doneasy.com Where timesaving is priceless!
--




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


Re: 4.7 Upgrade issue

2003-02-26 Thread Daniel Bye
On Wed, Feb 26, 2003 at 01:34:31PM +, rew wrote:
 
 Hello to all FreeBSD users, supporters, developers.
 
 I'm trying to upgrade from FreeBSD 4.6-STABLE #0: Sat Jun 29 to RELENG_4_7
 
 sysctl -a | grep secure - kern.securelevel: -1
 
 1) rm -rf /usr/src/*  (backed up kernel cfg before)
 2) rm -rf /usr/obj/*
 3) cvsup-ed RELENG_4_7
 4) make buildworld- successfull
 5) make buildkernel KERNCONF=MYKERNEL - successfull
 6) make installworld  - following error:
 
 mkdir -p /tmp/install.55427
 for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln make 
 makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname wc zic; do  cp 
 `which $prog` /tmp/install.55427;  done
 usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory
 *** Error code 64
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 
 What is wrong?

You must installkernel and reboot before you can installworld.
Read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more details.

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


Re: xterm + colors just wont splice...

2003-02-26 Thread Thanos Tsouanas

--- Miguel Mendez [EMAIL PROTECTED] wrote:
 On Wed, 26 Feb 2003 02:32:33 -0800 (PST)
 Thanos Tsouanas [EMAIL PROTECTED] wrote:
 
 Howdy.
  
  when i run 'xterm' i still get the same problem...
  btw, i dont have an xterm-color binary or sth like that...
 
 Okay, so what happens if you do something like: xterm -bg black -fg
 white -tn xterm-color and then try ls -G, still no colours?
  

Superthanks! it works fine..

I also saw on the man xterm that theres something i can add to my
(non-existent) ~/.Xdefaults file..
I added it though by default xterm runs colorless...
Any ways i can 'embed' the -tn xterm-color into xterm (w/o an alias i mean)
or change something that wud mean all similar applications to run in color-mode?

Thanks again!!!

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


RE: 4.7 Upgrade issue

2003-02-26 Thread rew

I did make installkernel, which was successful

but make installworld failed again now, I ended up with a new kernel/old system.

-Original Message-
From: Daniel Bye 
Sent: Wednesday, February 26, 2003 9:01 AM
To: [EMAIL PROTECTED]  [EMAIL PROTECTED]
Subject: Re: 4.7 Upgrade issue

On Wed, Feb 26, 2003 at 01:34:31PM +, rew wrote:
 
 Hello to all FreeBSD users, supporters, developers.
 
 I'm trying to upgrade from FreeBSD 4.6-STABLE #0: Sat Jun 29 to RELENG_4_7
 
 sysctl -a | grep secure - kern.securelevel: -1
 
 1) rm -rf /usr/src/*  (backed up kernel cfg before)
 2) rm -rf /usr/obj/*
 3) cvsup-ed RELENG_4_7
 4) make buildworld- successfull
 5) make buildkernel KERNCONF=MYKERNEL - successfull
 6) make installworld  - following error:
 
 mkdir -p /tmp/install.55427
 for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln make 
 makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname wc zic; do  cp 
 `which $prog` /tmp/install.55427;  done
 usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory
 *** Error code 64
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 
 What is wrong?

You must installkernel and reboot before you can installworld.
Read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more details.

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


--
 Get your FREE email, calendar, file storage, bookmarks, and other great services at
 http://www.doneasy.com ! doneasy.com Where timesaving is priceless!
--




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


RE: 4.7 Upgrade issue

2003-02-26 Thread Pierrick Brossin
Quoting rew [EMAIL PROTECTED]:

 You must installkernel and reboot before you can installworld.
 Read
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 for more details.

 Daniel Bye

Hi Daniel !

I made/installed kernel and world quite a few times now and never, never,
never reboot before installing world !

 - make world
 - install world
 - make kernel
 - install kernel

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]

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


Re: xterm + colors just wont splice...

2003-02-26 Thread Daniel Bye
On Wed, Feb 26, 2003 at 06:05:22AM -0800, Thanos Tsouanas wrote:
 
 --- Miguel Mendez [EMAIL PROTECTED] wrote:
  On Wed, 26 Feb 2003 02:32:33 -0800 (PST)
  Thanos Tsouanas [EMAIL PROTECTED] wrote:
  
  Howdy.
   
   when i run 'xterm' i still get the same problem...
   btw, i dont have an xterm-color binary or sth like that...
  
  Okay, so what happens if you do something like: xterm -bg black -fg
  white -tn xterm-color and then try ls -G, still no colours?
   
 
 Superthanks! it works fine..
 
 I also saw on the man xterm that theres something i can add to my
 (non-existent) ~/.Xdefaults file..
 I added it though by default xterm runs colorless...
 Any ways i can 'embed' the -tn xterm-color into xterm (w/o an alias i mean)
 or change something that wud mean all similar applications to run in color-mode?

Add this snippet to your ~/.bashrc (will need a slight rewrite to make it
work under csh):

if [ $TERM == xterm ]; then
export TERM=xterm-color
fi

Since xterm sets TERM when it starts up, this approach is reasonably safe.
It will only alter the value of $TERM if it has already been set to xterm.
It will leave $TERM as cons25, for example, when you log in to a tty.  It
works well for me.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


Re: 4.7 Upgrade issue

2003-02-26 Thread Daniel Bye
On Wed, Feb 26, 2003 at 03:23:28PM +0100, Pierrick Brossin wrote:
 Quoting rew [EMAIL PROTECTED]:
 
  You must installkernel and reboot before you can installworld.
  Read
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
  for more details.
 
  Daniel Bye
 
 Hi Daniel !
 
 I made/installed kernel and world quite a few times now and never, never,
 never reboot before installing world !
 
  - make world
  - install world
  - make kernel
  - install kernel

This looks like the old way of doing things.  The new way (buildworld,
buildkernel etc) is different, and you must boot the new kernel to safely
and reliably install the new world.

The instructions in the handbook are very explicit in this regard.  It is
the only supported method of updating your system from source, as it is the
only method that is tested.  While some variations work, they may create
unforeseen problems.

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


Re: scroll mouse

2003-02-26 Thread Marc LeMaire
On February 26, 2003 08:43 am, John Bleichert wrote:
 On Wed, 26 Feb 2003, Thanos Tsouanas wrote:
  Hello everyone..
  I am having a similar problem which wont fix with those :(
  Im using 4.7-stable and a logitech usb mouse with wheel...
 
  from the XF86Config file...
 
  Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol MouseSystems
  Option  Device /dev/sysmouse
  Option  Buttons 5
  Option  ZAxisMapping 4 5
  EndSection
 
 
 
  from the rc.conf file...
 
  moused_enable=NO
  moused_type=NO
 
 
  from ps aux | grep mouse   
  root  99  0.3  0.1   912  512  ??  Ss   12:17PM   0:00.66
  /usr/sbin/moused -p /dev/ums0 -I /var/run/moused.ums0.pid
 
 
  I see in /dev that sysmouse is different from ums0...
  what changes shud i do?
  why is moused started?
 
  Thank you!

 I have the same problem on an ASUS motherboard. See my original post here:

 http://www.freebsd.org/cgi/getmsg.cgi?fetch=1346948+1349825+/usr/local/www/
db/text/2003/freebsd-questions/20030119.freebsd-questions

 (hopefully that link will work). I never solved it (could never figure out
 why moused was running) but I did come up with a workaround, as per that
 post.

 JB

 I've just configured my logitech mouse yesterday (same model) and everything 
is fine here. As I see it, you're almost there. 
You just have to change to auto for the protocol and in the rc.conf 
moused_type=auto

Worked the first time!

BTW, thanks for the infos. It's cool to have a working mouse wheel.

Marc

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


RE: 4.7 Upgrade issue

2003-02-26 Thread rew

So you boot a new kernel with old system?

-Original Message-
From: Daniel Bye 
Sent: Wednesday, February 26, 2003 9:40 AM
To: [EMAIL PROTECTED]  [EMAIL PROTECTED]
Subject: Re: 4.7 Upgrade issue

On Wed, Feb 26, 2003 at 03:23:28PM +0100, Pierrick Brossin wrote:
 Quoting rew :
 
  You must installkernel and reboot before you can installworld.
  Read
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
  for more details.
 
  Daniel Bye
 
 Hi Daniel !
 
 I made/installed kernel and world quite a few times now and never, never,
 never reboot before installing world !
 
  - make world
  - install world
  - make kernel
  - install kernel

This looks like the old way of doing things.  The new way (buildworld,
buildkernel etc) is different, and you must boot the new kernel to safely
and reliably install the new world.

The instructions in the handbook are very explicit in this regard.  It is
the only supported method of updating your system from source, as it is the
only method that is tested.  While some variations work, they may create
unforeseen problems.

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


--
 Get your FREE email, calendar, file storage, bookmarks, and other great services at
 http://www.doneasy.com ! doneasy.com Where timesaving is priceless!
--




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


Re: 4.7 Upgrade issue

2003-02-26 Thread Bill Moran
rew wrote:
I did make installkernel, which was successful

but make installworld failed again now, I ended up with a new kernel/old system.
Interrupt the boot process when it counts down and enter 'boot kernel.old'  This
will boot your previous kernel.
Is it failing in the same place every time?  If not, it's most likely a hardware
problem.
If so, you may want to cvsup again.  It doesn't happen too often, but it is
possible to cvsup exactly in the middle of a series of commits, leaving you
with a combination of files that won't build.
-Original Message-
From: Daniel Bye 
Sent: Wednesday, February 26, 2003 9:01 AM
To: [EMAIL PROTECTED]  [EMAIL PROTECTED]
Subject: Re: 4.7 Upgrade issue

On Wed, Feb 26, 2003 at 01:34:31PM +, rew wrote:

Hello to all FreeBSD users, supporters, developers.

I'm trying to upgrade from FreeBSD 4.6-STABLE #0: Sat Jun 29 to RELENG_4_7
   
sysctl -a | grep secure - kern.securelevel: -1
   
1) rm -rf /usr/src/*  (backed up kernel cfg before)
2) rm -rf /usr/obj/*
3) cvsup-ed RELENG_4_7
4) make buildworld- successfull
5) make buildkernel KERNCONF=MYKERNEL - successfull
6) make installworld  - following error:

mkdir -p /tmp/install.55427
for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln make 
makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname wc zic; do  cp 
`which $prog` /tmp/install.55427;  done
usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target
  cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory
*** Error code 64
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.

What is wrong?


You must installkernel and reboot before you can installworld.
Read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more details.


--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: 4.7 Upgrade issue

2003-02-26 Thread Daniel Bye
On Wed, Feb 26, 2003 at 02:29:57PM +, rew wrote:
 
 So you boot a new kernel with old system?

Yes, but how is that so different from installing a new world for an old
kernel?

When you have built a new kernel, you must reboot to start using it.  After
running make installworld with the new kernel, you have the new world
installed as well.  Your new kernel will only be running for a few minutes
with the old world, until the new one is fully installed.

 
 -Original Message-
 From: Daniel Bye 
 Sent: Wednesday, February 26, 2003 9:40 AM
 To: [EMAIL PROTECTED]  [EMAIL PROTECTED]
 Subject: Re: 4.7 Upgrade issue
 
 On Wed, Feb 26, 2003 at 03:23:28PM +0100, Pierrick Brossin wrote:
  Quoting rew :
  
   You must installkernel and reboot before you can installworld.
   Read
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
   for more details.
  
   Daniel Bye
  
  Hi Daniel !
  
  I made/installed kernel and world quite a few times now and never, never,
  never reboot before installing world !
  
   - make world
   - install world
   - make kernel
   - install kernel
 
 This looks like the old way of doing things.  The new way (buildworld,
 buildkernel etc) is different, and you must boot the new kernel to safely
 and reliably install the new world.
 
 The instructions in the handbook are very explicit in this regard.  It is
 the only supported method of updating your system from source, as it is the
 only method that is tested.  While some variations work, they may create
 unforeseen problems.

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


Re: scroll mouse

2003-02-26 Thread Asenchi
On Wed, 2003-02-26 at 05:37, Thanos Tsouanas wrote:
 Hello everyone..
 I am having a similar problem which wont fix with those :(
 Im using 4.7-stable and a logitech usb mouse with wheel...
 
 from the XF86Config file...
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol MouseSystems
 Option  Device /dev/sysmouse
 Option  Buttons 5
 Option  ZAxisMapping 4 5
 EndSection
 
 
 
 from the rc.conf file...
 
 moused_enable=NO
 moused_type=NO
To add on to what everyone else said, I would do this also:
 Option  Protocol auto
 Option  Device /dev/ums0

This should fix your problem.  I would take moused_enable=NO
completely out of rc.conf or comment it.  This way it doesn't run. 
Granted NO should work, but...

 
 
 from ps aux | grep mouse   
 root  99  0.3  0.1   912  512  ??  Ss   12:17PM   0:00.66 /usr/sbin/moused -p 
 /dev/ums0 -I
 /var/run/moused.ums0.pid
 
 
 I see in /dev that sysmouse is different from ums0...
 what changes shud i do?
 why is moused started?
 
 Thank you!

Good luck!

Curt
 
 __
 Do you Yahoo!?
 Yahoo! Tax Center - forms, calculators, tips, more
 http://taxes.yahoo.com/
 
 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: 4.7 Upgrade issue

2003-02-26 Thread Daniel Bye
On Wed, Feb 26, 2003 at 04:59:53PM +0200, Willie Viljoen wrote:
 On Wednesday 26 February 2003 16:50, someone, possibly Daniel Bye, typed:
  Yes, but how is that so different from installing a new world for an old
  kernel?
 
 The problem with a new world on an old kernel is that libraries in your 
 world may have changed with the upgrade. If a library that interfaces 
 directly with some feature in the kernel is changed, and is expecting the 
 change to be present in the kernel, you will almost certainly have trouble 
 with it.

Agreed, but in this context, I think we are talking about running the
disparate kernel and world, in either event, only as long as it takes to get
both parts, the new kernel and the new world, installed.  Surely, an old
world on a new kernel will have the exact same problems (or the exact
opposite problems?), in that newly-built programs such as ps and top may
have been altered to take account of new kernel memory structures etc, which
won't be available until the new kernel is installed and booted.

Anyone who is up to using buildworld should have enough understanding to
know that you have to build and install both parts for your system to work
properly.

  When you have built a new kernel, you must reboot to start using it. 
  After running make installworld with the new kernel, you have the new
  world installed as well.  Your new kernel will only be running for a few
  minutes with the old world, until the new one is fully installed.
 
 That is exactly how it should be.
 
 The tried and trusted method, that works for me, and is the official method 
 listed in the UPDATING file:
 
 cd /usr/src/sys/i386/conf  vi YOURCONFIG
 cd /usr/src/  make buildworld kernel KERNCONF=YOURCONFIG
 
 The kernel target is a combination of buildkernel and installkernel. These 
 targets are built in order and rely on the previous target making it. Thus, 
 buildworld must succeed for buildkernel to begin, and after buildkernel has 
 worked, installkernel will run. Once this is completed, continue with:
 
 shutdown now
 
 You will now have dropped to single user mode, then, pick /bin/sh for your 
 shell (this is easier to use in single user than csh), and run:
 
 cd /usr/src
 mergemaster -p
 make installworld
 mergemaster
 reboot
 
 You will now have a properly functioning and fully upgraded system.

But even then, there will be some disparity between the running kernel and
the running world, no?  This will only be resolved once all steps are
complete, whichever particular sequence of events you follow.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


RE: 4.7 Upgrade issue - Daniel Bye

2003-02-26 Thread rew

I upgraded my system several times before,

are you saying that one is unable to run successfuly 'make installworld' until the new 
kernel is booted?

has anyone even try to look at the error?

-Original Message-
From: Daniel Bye 
Sent: Wednesday, February 26, 2003 10:16 AM
To: [EMAIL PROTECTED]  [EMAIL PROTECTED]
Subject: Re: 4.7 Upgrade issue

On Wed, Feb 26, 2003 at 04:59:53PM +0200, Willie Viljoen wrote:
 On Wednesday 26 February 2003 16:50, someone, possibly Daniel Bye, typed:
  Yes, but how is that so different from installing a new world for an old
  kernel?
 
 The problem with a new world on an old kernel is that libraries in your 
 world may have changed with the upgrade. If a library that interfaces 
 directly with some feature in the kernel is changed, and is expecting the 
 change to be present in the kernel, you will almost certainly have trouble 
 with it.

Agreed, but in this context, I think we are talking about running the
disparate kernel and world, in either event, only as long as it takes to get
both parts, the new kernel and the new world, installed.  Surely, an old
world on a new kernel will have the exact same problems (or the exact
opposite problems?), in that newly-built programs such as ps and top may
have been altered to take account of new kernel memory structures etc, which
won't be available until the new kernel is installed and booted.

Anyone who is up to using buildworld should have enough understanding to
know that you have to build and install both parts for your system to work
properly.

  When you have built a new kernel, you must reboot to start using it. 
  After running make installworld with the new kernel, you have the new
  world installed as well.  Your new kernel will only be running for a few
  minutes with the old world, until the new one is fully installed.
 
 That is exactly how it should be.
 
 The tried and trusted method, that works for me, and is the official method 
 listed in the UPDATING file:
 
 cd /usr/src/sys/i386/conf  vi YOURCONFIG
 cd /usr/src/  make buildworld kernel KERNCONF=YOURCONFIG
 
 The kernel target is a combination of buildkernel and installkernel. These 
 targets are built in order and rely on the previous target making it. Thus, 
 buildworld must succeed for buildkernel to begin, and after buildkernel has 
 worked, installkernel will run. Once this is completed, continue with:
 
 shutdown now
 
 You will now have dropped to single user mode, then, pick /bin/sh for your 
 shell (this is easier to use in single user than csh), and run:
 
 cd /usr/src
 mergemaster -p
 make installworld
 mergemaster
 reboot
 
 You will now have a properly functioning and fully upgraded system.

But even then, there will be some disparity between the running kernel and
the running world, no?  This will only be resolved once all steps are
complete, whichever particular sequence of events you follow.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


--
 Get your FREE email, calendar, file storage, bookmarks, and other great services at
 http://www.doneasy.com ! doneasy.com Where timesaving is priceless!
--




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


Re: scroll mouse

2003-02-26 Thread John Bleichert
On Wed, 26 Feb 2003, Bill Moran wrote:
 Brian Henning wrote:
  Since my mouse is a logitech 2 button mouse with a scroll wheel i was thinking
  this should be my config
  in my XF86Config. i will comment all the entries for moused in my rc.conf.
  
  Section InputDevice
  Identifier Mouse0
  Driver mouse
  Option Protocol auto
  Option Device /dev/psm0
  Option Buttons 4
  Option ZAxisMapping 3 4
  EndSection
  
  does this seem correct?
 
 Looks good.  I can't verify the ZAxisMapping setting for your particular mouse,
 but if it's wrong, you'll find that the wrong buttons cause scrolling, and you
 should be able to logically determine what the values should be with a few guesses.
 

For my Logitech 2-button/wheel mouse it's

Option ZAxisMapping 4 5

JB

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


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


SCSI Devices Delay

2003-02-26 Thread Mike Alich
I use to run an ABIT Dual Processor board with 2 1 gig processors on it and 
recently upgraded to a single Titan P4 2GIG Celeron single processor board 
and I am now having a weird problem and I hope you can help.

With the old board on boot up the system would say Waiting for SCSI Devices 
to Settle before the OS probed out the devices.

Now after the new board was installed the OS decides to Wait for the SCSI 
Devices to settle after all the devices are probed and about 50% of the 
time the SCSI devices time out and we have to do another reboot.

We are running FreeBSD 3.3-RELEASE.  The SCSI devices I have been referring 
to are our Raid 5 drives.  We have 4 Cheetah 10K drive on a DPT Raid card.

I have recompiled the kernel and this has not helped either.

Thank you in advance.

Mike Alich

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


Re: setting up proxy question 2, aim behind firewall

2003-02-26 Thread Kirk Strauser
At 2003-02-26T13:36:25Z, Alvaro Gil [EMAIL PROTECTED] writes:

 I read through the squid manuals and it requires a ton of disk space and
 ram and a moderately fast computer.

It does if you're using it as a transparent cache for a large ISP.  For your
purposes, your P166 will be plenty sufficient.  If you do install Squid, you
can also install AdZap, which works as a plugin to remove advertisements
From pages that Squid sends to clients.  Configure your browser to use your
new cache, and welcome to the world of no (ok, less) banner ads!  Kill two
birds with one stone!
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


RE: 4.7 Upgrade issue - Kent Stewart

2003-02-26 Thread rew

Hi,

This is a remote box, with noone around.

Dan
-Original Message-
From: Kent Stewart 
Sent: Wednesday, February 26, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: Re: 4.7 Upgrade issue - Daniel Bye

On Wednesday 26 February 2003 12:13 pm, rew wrote:
 I upgraded my system several times before,

 are you saying that one is unable to run successfuly 'make
 installworld' until the new kernel is booted?

 has anyone even try to look at the error?

I have gone off list because it is rehasing old subjects.

That isn't what he was saying. You boot to single user mode on the new 
kernel to test it. If something bad happens, re-booting using 
kernel.old is really easy. Reinstalling an old version is frequently 
called doing a clean install.

Single user mode doesn't start any processes. There isn't a problem with 
the mixed up user world until you start running in multi-user mode. A 
shutdown now is not the same as booting in single user mode.

I did all 4 in multi-user mode for a long time. It always worked but 
then, one day, there was a problem with the kernel and I realized that 
my method was dangerous to my systems operational health. In my mind, 
doing a make world is even more dangerous to your system operation 
health.

Have a good day,

Kent


 -Original Message-
 From: Daniel Bye
 Sent: Wednesday, February 26, 2003 10:16 AM
 To: [EMAIL PROTECTED]  [EMAIL PROTECTED]
 Subject: Re: 4.7 Upgrade issue

 On Wed, Feb 26, 2003 at 04:59:53PM +0200, Willie Viljoen wrote:
  On Wednesday 26 February 2003 16:50, someone, possibly Daniel Bye, 
typed:
   Yes, but how is that so different from installing a new world for
   an old kernel?
 
  The problem with a new world on an old kernel is that libraries in
  your world may have changed with the upgrade. If a library that
  interfaces directly with some feature in the kernel is changed, and
  is expecting the change to be present in the kernel, you will
  almost certainly have trouble with it.

 Agreed, but in this context, I think we are talking about running the
 disparate kernel and world, in either event, only as long as it takes
 to get both parts, the new kernel and the new world, installed. 
 Surely, an old world on a new kernel will have the exact same
 problems (or the exact opposite problems?), in that newly-built
 programs such as ps and top may have been altered to take account of
 new kernel memory structures etc, which won't be available until the
 new kernel is installed and booted.

 Anyone who is up to using buildworld should have enough understanding
 to know that you have to build and install both parts for your system
 to work properly.

   When you have built a new kernel, you must reboot to start using
   it. After running make installworld with the new kernel, you have
   the new world installed as well.  Your new kernel will only be
   running for a few minutes with the old world, until the new one
   is fully installed.
 
  That is exactly how it should be.
 
  The tried and trusted method, that works for me, and is the
  official method listed in the UPDATING file:
 
  cd /usr/src/sys/i386/conf  vi YOURCONFIG
  cd /usr/src/  make buildworld kernel KERNCONF=YOURCONFIG
 
  The kernel target is a combination of buildkernel and
  installkernel. These targets are built in order and rely on the
  previous target making it. Thus, buildworld must succeed for
  buildkernel to begin, and after buildkernel has worked,
  installkernel will run. Once this is completed, continue with:
 
  shutdown now
 
  You will now have dropped to single user mode, then, pick /bin/sh
  for your shell (this is easier to use in single user than csh), and
  run:
 
  cd /usr/src
  mergemaster -p
  make installworld
  mergemaster
  reboot
 
  You will now have a properly functioning and fully upgraded system.

 But even then, there will be some disparity between the running
 kernel and the running world, no?  This will only be resolved once
 all steps are complete, whichever particular sequence of events you
 follow.

 Dan

-- 
Kent Stewart
Richland, WA

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



--
 Get your FREE email, calendar, file storage, bookmarks, and other great services at
 http://www.doneasy.com ! doneasy.com Where timesaving is priceless!
--




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


Re: 4.7 Upgrade issue - Daniel Bye

2003-02-26 Thread Daniel Bye
On Wed, Feb 26, 2003 at 03:13:30PM +, rew wrote:
 
 I upgraded my system several times before,
 
 are you saying that one is unable to run successfuly 'make installworld' until the 
 new kernel is booted?

I am saying that according to the authors of the handbook, there is a
particular order to follow when upgrading your system.  Any deviation away
from this procedure is likely to lead to problems.

 
 has anyone even try to look at the error?

Yes, and the suggestions have been to follow the procedure in the handbook
or the UPDATING file, as the buildworld process is carefully crafted to be
done in that order.

 
 -Original Message-
 From: Daniel Bye 
 Sent: Wednesday, February 26, 2003 10:16 AM
 To: [EMAIL PROTECTED]  [EMAIL PROTECTED]
 Subject: Re: 4.7 Upgrade issue
 
 On Wed, Feb 26, 2003 at 04:59:53PM +0200, Willie Viljoen wrote:
  On Wednesday 26 February 2003 16:50, someone, possibly Daniel Bye, typed:
   Yes, but how is that so different from installing a new world for an old
   kernel?
  
  The problem with a new world on an old kernel is that libraries in your 
  world may have changed with the upgrade. If a library that interfaces 
  directly with some feature in the kernel is changed, and is expecting the 
  change to be present in the kernel, you will almost certainly have trouble 
  with it.
 
 Agreed, but in this context, I think we are talking about running the
 disparate kernel and world, in either event, only as long as it takes to get
 both parts, the new kernel and the new world, installed.  Surely, an old
 world on a new kernel will have the exact same problems (or the exact
 opposite problems?), in that newly-built programs such as ps and top may
 have been altered to take account of new kernel memory structures etc, which
 won't be available until the new kernel is installed and booted.
 
 Anyone who is up to using buildworld should have enough understanding to
 know that you have to build and install both parts for your system to work
 properly.
 
   When you have built a new kernel, you must reboot to start using it. 
   After running make installworld with the new kernel, you have the new
   world installed as well.  Your new kernel will only be running for a few
   minutes with the old world, until the new one is fully installed.
  
  That is exactly how it should be.
  
  The tried and trusted method, that works for me, and is the official method 
  listed in the UPDATING file:
  
  cd /usr/src/sys/i386/conf  vi YOURCONFIG
  cd /usr/src/  make buildworld kernel KERNCONF=YOURCONFIG
  
  The kernel target is a combination of buildkernel and installkernel. These 
  targets are built in order and rely on the previous target making it. Thus, 
  buildworld must succeed for buildkernel to begin, and after buildkernel has 
  worked, installkernel will run. Once this is completed, continue with:
  
  shutdown now
  
  You will now have dropped to single user mode, then, pick /bin/sh for your 
  shell (this is easier to use in single user than csh), and run:
  
  cd /usr/src
  mergemaster -p
  make installworld
  mergemaster
  reboot
  
  You will now have a properly functioning and fully upgraded system.
 
 But even then, there will be some disparity between the running kernel and
 the running world, no?  This will only be resolved once all steps are
 complete, whichever particular sequence of events you follow.
 
 Dan
 
 -- 
 Daniel Bye
 
 PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
 PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
  _
   ASCII ribbon campaign ( )
  - against HTML, vCards and  X
 - proprietary attachments in e-mail / \
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 
 --
  Get your FREE email, calendar, file storage, bookmarks, and other great services at
  http://www.doneasy.com ! doneasy.com Where timesaving is priceless!
 --
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


Re: 4.7 Upgrade issue

2003-02-26 Thread taxman
On Wednesday 26 February 2003 09:50 am, Daniel Bye wrote:
 On Wed, Feb 26, 2003 at 02:29:57PM +, rew wrote:
  So you boot a new kernel with old system?

 Yes, but how is that so different from installing a new world for an old
 kernel?

And it's really usually not that big of a deal anyway.  I successfully ran a 
4.3 kernel on a 4.7 system.  I could only make a few problems occur even when 
trying.  top and ps worked just fine.  Besides, when you installworld, you 
should be booting straight to single user mode, so not much is going on to 
cause problems in installworld.  Of course don't try to do anything else when 
world and kernel are out of sync.
Problems come in especially when trying to run a 3.x kernel on a 4.x system 
and some other cases.

Tim 

 When you have built a new kernel, you must reboot to start using it.  After
 running make installworld with the new kernel, you have the new world
 installed as well.  Your new kernel will only be running for a few minutes
 with the old world, until the new one is fully installed.

  -Original Message-
  From: Daniel Bye
  Sent: Wednesday, February 26, 2003 9:40 AM
  To: [EMAIL PROTECTED]  [EMAIL PROTECTED]
  Subject: Re: 4.7 Upgrade issue
 
  On Wed, Feb 26, 2003 at 03:23:28PM +0100, Pierrick Brossin wrote:
   Quoting rew :
You must installkernel and reboot before you can installworld.
Read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.h
   tml for more details.
   
Daniel Bye
  
   Hi Daniel !
  
   I made/installed kernel and world quite a few times now and never,
   never, never reboot before installing world !
  
- make world
- install world
- make kernel
- install kernel
 
  This looks like the old way of doing things.  The new way (buildworld,
  buildkernel etc) is different, and you must boot the new kernel to safely
  and reliably install the new world.
 
  The instructions in the handbook are very explicit in this regard.  It is
  the only supported method of updating your system from source, as it is
  the only method that is tested.  While some variations work, they may
  create unforeseen problems.


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


Re: 4.7 Upgrade issue

2003-02-26 Thread taxman
On Wednesday 26 February 2003 09:23 am, Pierrick Brossin wrote:
 Quoting rew [EMAIL PROTECTED]:
  You must installkernel and reboot before you can installworld.
  Read
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
  for more details.
 
  Daniel Bye

 Hi Daniel !

 I made/installed kernel and world quite a few times now and never, never,
 never reboot before installing world !

  - make world
  - install world
  - make kernel
  - install kernel

Agreed with Daniel.  Pierrick, this is an incorrect method.  the world target 
has been deprecated.  Really, read the handbook and UPDATING for more info.

To the OP, now that you borked your install by trying to installworld before 
you did installkernel, you may be in an indeterminate state that you can't 
get out of without a lot of work by hand sorting out the files.  You may need 
to backup and start over (fresh install)
Though possibly you can get it working with Bill's method of booting the old 
kernel and trying again.  But if you've done
buildworld
buildkernel
installworld
installkernel
installworld

you may be up a creek without a paddle.  (like I said not that you couldn't 
swim, but in this case it could be like swimming with a weight belt on)

Always read UPDATING and the handook.

Tim


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


Re: 4.7 Upgrade issue - Daniel Bye

2003-02-26 Thread Jack L. Stone
At 03:46 PM 2.26.2003 +, Daniel Bye wrote:
On Wed, Feb 26, 2003 at 03:13:30PM +, rew wrote:
 
 I upgraded my system several times before,
 
 are you saying that one is unable to run successfuly 'make installworld'
until the new kernel is booted?

I am saying that according to the authors of the handbook, there is a
particular order to follow when upgrading your system.  Any deviation away
from this procedure is likely to lead to problems.


Lot snipped out

You do NOT have to boot the new kernel before running make installworld

HOWEVER, it is recommended that you do boot the new kernel before proceding
just to test it. If there is a problem with the new kernel, you can still
revert back to the old and start over.

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


Re: question [addendum to answer]

2003-02-26 Thread Giorgos Keramidas
On 2003-02-26 05:54, Cliff Sarginson [EMAIL PROTECTED] wrote:
 On Wed, Feb 26, 2003 at 03:57:29AM +0200, Giorgos Keramidas wrote:
  http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html
 
  If, after reading through this, you still have questions about what
  ports or what packages are, where to find them, or how to use them for
  installing your favorite applications, then you're always welcome to
  post questions here on freebsd-questions.

 One omission from the documentation on ports concerns ports of software
 that can/should be started at system startup. These create a shell
 startup script in /usr/local/etc/rc.d .. however sometimes the script
 has an .example suffix to it which means it will get ignored. This
 suffix has to be removed by renaming the file. Sometimes at the end of
 the make you may see a comment to this effect I think, but not always.

 Maybe needs a documentation tweak ?

No, this is a bug of the ports that don't mention explicitly that you
need to copy and edit the .sample configs before running the software.
The ports should be fixed instead.

BTW, what ports did you have in mind whenn writing this?

- Giorgos

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


Re: rfd0 fd0

2003-02-26 Thread Mike Meyer
In [EMAIL PROTECTED], Konrad Heuer [EMAIL PROTECTED] typed:
 On Tue, 25 Feb 2003, Mike Meyer wrote:
  In [EMAIL PROTECTED], Konrad Heuer [EMAIL PROTECTED] typed:
   On Mon, 24 Feb 2003, Brian Henning wrote:
what is the difference between these two devices?
   fd0 ist a block-oriented device, data are cached in the buffer cache;
   rfd0 is a byte-oriented raw device; data are always read from or
   immediately written to the device.
  This is out-of-date information. Both fd0 and rfd0 are raw character
  devices these days. The old names were kept around for backwards
  compatability, but there is no difference between them.
 What does it mean - these days? When did the change occur?

I'm not sure. 4.6 sounds right, but might not be. To get exact
details, check the CVS logs. I'd check /dev/MAKEDEV.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


cat

2003-02-26 Thread Tijl Coosemans
I want to remove CRs from text files so what I did is this:

cat filename | tr -d '\r'  filename

However, I often end up with an empty file. Just out of
interest, somebody who knows why that is?

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


Re: isp connection woes

2003-02-26 Thread Brian Henning

- Original Message -
From: Bill Moran [EMAIL PROTECTED]
To: Brian Henning [EMAIL PROTECTED]
Cc: freebsd [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 11:16 AM
Subject: Re: isp connection woes


 Brian Henning wrote:
  - Original Message -
  From: Bill Moran [EMAIL PROTECTED]
 Brian Henning wrote:
 
  Their network design supports no more than 16 hops on the
  way to
 a DHCP server,
 but increasing the (hard-coded) TTL
 (at line 159 in /usr/src/contrib/isc-dhcp/common/packet.c) can help fix the
 problem.
 I would like to manually try to connect to my isp before i try changing the
  code
 for DHCP.
 I got my network info from my lrp operating system. I would like to switch
  that
 to bsd.
 can i use traceroute to find out the number of hops i am currently taking
to
  get
 to my isp's dhcp server?


Ok, i am able to connect to my isp via a manual configuration of my network.
i set my ip address and my default route in rc.conf and i set my dns in
resolv.conf

i now know that i am having problems connecting to my dhcp server.
i am in the process of changing the dhcp code (at line 159 in
/usr/src/contrib/isc-dhcp/common/packet.c)
i changed this to 128. Then i am going to rebuild everything.
i was not able to find out the ip address of the dhcp server that my isp uses so
i hope this solves the problem. any other suggestions? it seems odd that i would
have to make this kind of a change to get dhcp to work.. do i need to add
anything to my rc.conf to enable dhcp?

rebuild everything
--
cd /usr/src  make buildworld
cd /usr/src  make buildkernel
cd /usr/src  make installkernel
 reboot into single user mode 
boot -s
fsck -p
mount -a
cd /usr/src  mergemaster -p
cd /usr/src  make installworld
cd /usr/src  mergemaster
reboot

Thanks,
brian

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


Re: cat

2003-02-26 Thread Krzysztof Parzyszek
On Wed, Feb 26, 2003 at 05:56:13PM +0100, Tijl Coosemans wrote:
 I want to remove CRs from text files so what I did is this:
 
 cat filename | tr -d '\r'  filename
 
 However, I often end up with an empty file. Just out of
 interest, somebody who knows why that is?

Because the shell can open `filename' for writing (because of
output redirection) and thus truncate it to 0 bytes before
cat opens it for reading.

Try
cat filename | tr -d '\r'  filename.new
instead.


-- 
 [EMAIL PROTECTED] Krzysztof Parzyszek9/2/2002
 If you can't convince them, confuse them -- HS Truman

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


Re: cat

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 18:56, someone, possibly Tijl Coosemans, 
typed:
 I want to remove CRs from text files so what I did is this:

 cat filename | tr -d '\r'  filename

 However, I often end up with an empty file. Just out of
 interest, somebody who knows why that is?

Not a clue, but a tool to do this safely called dosunix is available in 
ports :)

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

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


Re: Unable to set virtual screen smaller than physical screen

2003-02-26 Thread Nathan Kinkade
On Wed, Feb 26, 2003 at 11:23:05AM +0200, Willie Viljoen wrote:
 On Wednesday 26 February 2003 11:20, someone, possibly LEE TIAM KEAN, typed:
  Hi,
  i'm a beginner in Freebsd. I've set up x windows successfully but i found
  that the screen is larger than my monitor. i've tried the xf86config
  again by answering no when prompted with Want virtual screen larger than
  physical screen?. it still unsuccessful. Any other thing that i've
  missed out? I'm using version 4.7 of the FreeBSD. Thanks
 
 Try configuring it with XFree86 -configure
 
 Will

Or you could manually edit your XF86Config file (probably at
/etc/X11/XF86Config).  Look for the section labeled Screen.  If you
have a default color depth specified then jump down to the subsection
for that color depth and add a 'Virtual' directive.  Such as:

Virtual 1024 768

See the XF86Config(5) manpage for more info.  By default, X will give
you a virtual screen as large as the largest 'Mode' you have listed -
even if that Mode is not the one currently in use.

Nathan

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


pgp0.pgp
Description: PGP signature


Re: cat

2003-02-26 Thread Kliment Andreev
  I want to remove CRs from text files so what I did is this:
 
  cat filename | tr -d '\r'  filename
 

It's easier with 'tr' but you can also use vi.

# vi text.txt

:1,$s/^M//g

where ^M means that you need to hit Ctrl-V.




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


Re: FreeBSD 4.4 Questions

2003-02-26 Thread Gary D Kline
On Wed, Feb 26, 2003 at 08:34:26AM +0100, Aas, Eskild wrote:
 
 
 Dear Sirs
 
 
 We are three students attending Hærens Ingeniørhøgskole (the norwegian millitary 
 engineering school).
 We are currently working on an assignment about operating systems. We are writing 
 about FreeBSD 4.4. We would like to know if you can help us find , or tell us where 
 we can find information about these following subjects:
 
 * OS structure
 * Process-handling
 * CPU-handling
 * Memory-handling
 * Filesystem (implementation)
 * I/O structure
 * Security
 
 
 We would be very greatfull if we could get this information as soon as possible, 
 because this assignment is due 03.07.03 (Next Friday)
 
 

For an in-depth view of most of your topics you might want to
study The Design and Implementation of the 4.3BSD UNIX 
Operating System by Kirk McKusick et al.  (There is probably
a 4.4BSD version by now; you'll need to google around.)

You guys are going to be busy, wow!

gary kline

 

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


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


Re: cat

2003-02-26 Thread Matthew Seaman
On Wed, Feb 26, 2003 at 05:56:13PM +0100, Tijl Coosemans wrote:
 I want to remove CRs from text files so what I did is this:
 
 cat filename | tr -d '\r'  filename
 
 However, I often end up with an empty file. Just out of
 interest, somebody who knows why that is?

Hmmm... That's a nasty race condition.  In my experience of
accidentally doing something like that, it has *always* ended up with
an empty file.  The problem is that you are attempting both to read
from and write to the same file simultaneously.  Any shell pipeline of
the form:

   command  filename

implies that the shell is going to open 'filename' O_TRUNC (see
open(2)) -- hence shortening the file to zero length, before forking
and exec'ing the command with its stdout redirected to that filename.

Much the same sort of thing can happen when you supply the filename on
the command line rather than using the shell redirection operators to
supply the data on stdin or stdout.  There are commands that can do
in-place edits, eg 'perl -i', 'sed -i' (in recent versions of
FreeBSD), but these do some sleight of hand behind the scenes to
arrange that opening the file for output does not trash it for input,
and they certainly won't do in-place edits when used with the shell's
redirection operators.

The general solution to your problem is always to write to a different
file than what you read:

tr -d '\r'  filename  filename.n  mv filename.n filename

(Note too the influence of the Society for the Suppression of Stray
Cats -- save a process today!)

Cheers,

Matthew

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

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


Re: video recording

2003-02-26 Thread Mike Meyer
In the future, could you please insert newlines every 70 characters or
so?

In [EMAIL PROTECTED], kitsune [EMAIL PROTECTED] typed:
 now I dismis that both the error and record window and go to filesave audio as...

Why are you diong the video save before trying the audio save.

  Using Audio IFF sound file headers
 Sound data is not PCM in /usr/temp/audiocCY5bg.

Have you tried playing back that file? Have you checked to see what is
in the file in any way?

 it will let me record in any other format, excluding mp2/3, but the
 play back button does not work for those...

You just lost me.

 I have it set on audio-auto on input and am just running a jumper
 from the audio out on the tv card to the audio in on the sound card.
 My sound on the system is provided pcm0 which is a VIA VT82C686A
 using the AC97 codec.
 The version of fxtv is 1.03, the version of mpegaudio is 3.9, and I
 am running freebsd 4.7.

Is the mixer set up properly? fxtv doesn't fool with the mixer, but
assumes you've set it up right.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


IDE LiteON CD-RW supported by burncd?

2003-02-26 Thread Michael Sharp
I understand ALL IDE CD-RWs are supported under FreeBSD, but has anyone
actually used a CD-RW by LiteON ( http://liteonit.com ) and had sucess
with it under burncd?

Michael



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


Re: IDE LiteON CD-RW supported by burncd?

2003-02-26 Thread Kjell Midtseter
On Wednesday, 26 February 2003 at 12:42:30 -0500, Michael Sharp wrote:
 I understand ALL IDE CD-RWs are supported under FreeBSD, but has anyone
 actually used a CD-RW by LiteON ( http://liteonit.com ) and had sucess
 with it under burncd?

Yes, I am using one, 48x12x48x. Works fine.
Kjell
 
 Michael
 
 
 
 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


upgrade issue RESOLUTION

2003-02-26 Thread rew

Hi all,

for prog in [ awk cat chflags chmod chown date echo egrep find grep \
ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl \   
test true uname wc zic; do \
cp `which $$prog` ${INSTALLTMP}; \
done

in Makefile.inc1

was failing because /bin/[ was nonexistent
and Now I know it is a hard link to /bin/test

Thanks for help.

--
 Get your FREE email, calendar, file storage, bookmarks, and other great services at
 http://www.doneasy.com ! doneasy.com Where timesaving is priceless!
--




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


antialiasing

2003-02-26 Thread Antoine Jacoutot
Hi !

I have just upgraded to XFree86-libraries-4.2.1_7 and Xft-2.1_2 by the ports, 
and now I can't get antialiasing to work anymore.
The file /usr/X11R6/lib/X11/XftConfig is gone.
Do I miss something here... ?

Thanks.

Antoine


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


Re: IDE LiteON CD-RW supported by burncd?

2003-02-26 Thread Nathan Kinkade
On Wed, Feb 26, 2003 at 12:42:30PM -0500, Michael Sharp wrote:
 I understand ALL IDE CD-RWs are supported under FreeBSD, but has anyone
 actually used a CD-RW by LiteON ( http://liteonit.com ) and had sucess
 with it under burncd?
 
 Michael

I'm using a 8x4x32 Liteon CD-RW ... it works fine with burncd.  No
special configuration needed.

Nathan

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


pgp0.pgp
Description: PGP signature


Networking Drivers

2003-02-26 Thread Hunt, William F
Where can I find networking drivers for Intel silicon?

Bill Hunt
Technical Marketing Engineer
PNG Networking Components
Application Design In Center
Intel Americas Inc.


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


Re: 4.7 Upgrade issue

2003-02-26 Thread Lowell Gilbert
Daniel Bye [EMAIL PROTECTED] writes:

 Agreed, but in this context, I think we are talking about running the
 disparate kernel and world, in either event, only as long as it takes to get
 both parts, the new kernel and the new world, installed.  Surely, an old
 world on a new kernel will have the exact same problems (or the exact
 opposite problems?), in that newly-built programs such as ps and top may
 have been altered to take account of new kernel memory structures etc, which
 won't be available until the new kernel is installed and booted.
 
 Anyone who is up to using buildworld should have enough understanding to
 know that you have to build and install both parts for your system to work
 properly.

Yes, *assuming* everything goes fine, either method works equally well.

The difference is what you can do if something goes wrong.  If you are
running a new kernel on an old world, you can reboot with your old
kernel, but if you're running an old kernel on a new world when things
blow up, you're hosed, and have to start installing from clean media.


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


ipfw troubleshooting (was ipfw rule placement)

2003-02-26 Thread Joshua Lokken
Hello

I am running 4.7-release p6 as a gateway (ipfw+natd).  Thanks to those of you who 
helped me firm up my ruleset.  Natd is running and configured, however, I am not able 
to do port redirection or http from the outside.  (Firewall disk crashed over the 
weekend, and I didn't have things properly backed up).

My firewall log is flooded with this message:

[date and time]churgeon /kernel: ipfw: Deny UDP 10.142.240.1:67 255.255.255.255:68 in 
via ed1

When I run sockstat, I see that dhclient is listening for udp packets on port 68:

root   dhclient62  4  udp4   *:68 *:*

Attached is my ipfw ruleset.  I'd like to know if I need to allow these packets (if 
they're required by dhclient, etc.).
Just in case, I've attached natd.conf and rc.conf, as well.  Thanks for any help.

---

Joshua Lokken
FreeBSD:  The Power to Serve!
[EMAIL PROTECTED]



Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com#!/bin/sh

fwcmd=/sbin/ipfw
oif=ed1
oip=xxx.xxx.xxx.xxx

iif=rl0
inwr=10.0.0.0/8
iip=10.0.0.1

ns1=204.127.198.4
ns2=216.148.227.68
ns3=207.228.252.107
ns4=64.246.26.64

$fwcmd -f flush

$fwcmd add allow all from any to any via lo0

$fwcmd add divert natd all from any to any via $oif

$fwcmd add allow icmp from any to any icmptypes 3,4,11,12

$fwcmd add check-state

$fwcmd add allow udp from $oip to any via $oif keep-state

$fwcmd add allow tcp from any to $oip 22,25,80,110,443,6346,22002,22003,22010 setup 
via $oif keep-state

$fwcmd add allow ip from $oip to any keep-state out via $oif

$fwcmd add allow ip from $inwr to any keep-state via $iif

$fwcmd add 65435 deny log ip from any to any# natd.conf
# flags

interface ed1
dynamic yes
unregistered_only yes

# Web and mail

redirect_port tcp 10.0.0.10:8080 80
redirect_port udp 10.0.0.10:8080 80
redirect_port tcp 10.0.0.10:443 443
redirect_port udp 10.0.0.10:443 443

# SSH
redirect_port tcp 10.0.0.2:22 22002
redirect_port udp 10.0.0.2:22 22002
redirect_port tcp 10.0.0.3:22 22003
redirect_port udp 10.0.0.3:22 22003
redirect_port tcp 10.0.0.10:22 22010
redirect_port udp 10.0.0.10:22 22010

# VNC
redirect_port tcp 10.0.0.2:5900-5910 5900-5910
redirect_port udp 10.0.0.2:5900-5910 5900-5910
# -- sysinstall generated deltas -- # Sat Feb 15 13:14:18 2003
# Created: Sat Feb 15 13:14:18 2003

network_interfaces=lo0 ed1 rl0
hostname=churgeon.joshualokken.com
ifconfig_ed1=DHCP
ifconfig_rl0=inet 10.0.0.1  netmask 255.0.0.0
inetd_enable=NO
kern_securelevel_enable=YES
kern_securelevel=1
nfs_reserved_port_only=YES
sendmail_enable=NONE
sshd_enable=YES
syslogd_enable=YES
syslogd_flags=-ss

gateway_enable=YES
firewall_enable=YES
natd_enable=YES
natd_interface=ed1
natd_flags=-f /etc/natd.conf
firewall_script=/etc/firewall.conf

tcp_extensions=YES
icmp_drop_redirect=YES


Re: IDE LiteON CD-RW supported by burncd?

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 19:42, someone, possibly Michael Sharp, typed:
 I understand ALL IDE CD-RWs are supported under FreeBSD, but has anyone
 actually used a CD-RW by LiteON ( http://liteonit.com ) and had sucess
 with it under burncd?

In addition to working with burncd, you can also get this drive to work with 
cdrtools if you want by making it appear to be a SCSI device. You will need 
a 4.7-RELEASE or newer system (check the Handbook for upgrading 
instructions) and you will need to recompile your kernel with atleast:

device  ata
device  atapicd
device  atapicam
device  scbus
device  pass
device  cd

Some IDE CD-R/RW devices will only work this way... those that do not 
implement the standards that SS adheres strictly to in the burncd code. 
However, this drive, according to numerous posts, will work fine, and does 
implement those standards (which is rather impressive)

The advantage to using it with ATAPICAM rather than burncd is that you will 
also be able to use the other tools from the cdrtools package, cdrecord, 
cdda2wav, etc, and the numerous front ends that have been designed for 
them.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

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


Adobe fonts (installed in Win2k) use

2003-02-26 Thread Jason Morgan
I have several Adobe fonts that I would like to use in FreeBSD. It
appears that by their extensions (.pfb, .pfm) that they are postscript
fonts. Can I use these in X?

Thanks,
Jason

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


ipfw troubleshooting (was ipfw rule placement)

2003-02-26 Thread Joshua Lokken
Hello

I am running 4.7-release p6 as a gateway (ipfw+natd).  Thanks to 
those of you who helped me firm up my ruleset.  Natd is running 
and configured, however, I am not able to do port redirection or 
http from the outside.  (Firewall disk crashed over the weekend, 
and I didn't have things properly backed up).

My firewall log is flooded with this message:

[date and time]churgeon /kernel: ipfw: Deny UDP 10.142.240.1:67 255.255.255.255:68 in 
via ed1

When I run sockstat, I see that dhclient is listening for udp packets on port 68:

root   dhclient62  4  udp4   *:68 *:*

Attached is my ipfw ruleset.  I'd like to know if I need to allow 
these packets (if they're required by dhclient, etc.).
Just in case, I've attached natd.conf and rc.conf, as well.  Thanks for any help.


---

Joshua Lokken
FreeBSD:  The Power to Serve!
[EMAIL PROTECTED]




Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com
fwcmd=/sbin/ipfw
oif=ed1
oip=xxx.xxx.xxx.xxx

iif=rl0
inwr=10.0.0.0/8
iip=10.0.0.1

ns1=204.127.198.4
ns2=216.148.227.68
ns3=207.228.252.107
ns4=64.246.26.64

$fwcmd -f flush

$fwcmd add allow all from any to any via lo0

$fwcmd add divert natd all from any to any via $oif

$fwcmd add allow icmp from any to any icmptypes 3,4,11,12

$fwcmd add check-state

$fwcmd add allow udp from $oip to any via $oif keep-state

$fwcmd add allow tcp from any to $oip 22,25,80,110,443,6346,22002,22003,22010 setup 
via $oif keep-state

$fwcmd add allow ip from $oip to any keep-state out via $oif

$fwcmd add allow ip from $inwr to any keep-state via $iif

$fwcmd add 65435 deny log ip from any to any# natd.conf
# flags

interface ed1
dynamic yes
unregistered_only yes

# Web and mail

redirect_port tcp 10.0.0.10:8080 80
redirect_port udp 10.0.0.10:8080 80
redirect_port tcp 10.0.0.10:443 443
redirect_port udp 10.0.0.10:443 443

# SSH
redirect_port tcp 10.0.0.2:22 22002
redirect_port udp 10.0.0.2:22 22002
redirect_port tcp 10.0.0.3:22 22003
redirect_port udp 10.0.0.3:22 22003
redirect_port tcp 10.0.0.10:22 22010
redirect_port udp 10.0.0.10:22 22010

# VNC
redirect_port tcp 10.0.0.2:5900-5910 5900-5910
redirect_port udp 10.0.0.2:5900-5910 5900-5910
# -- sysinstall generated deltas -- # Sat Feb 15 13:14:18 2003
# Created: Sat Feb 15 13:14:18 2003

network_interfaces=lo0 ed1 rl0
hostname=churgeon.joshualokken.com
ifconfig_ed1=DHCP
ifconfig_rl0=inet 10.0.0.1  netmask 255.0.0.0
inetd_enable=NO
kern_securelevel_enable=YES
kern_securelevel=1
nfs_reserved_port_only=YES
sendmail_enable=NONE
sshd_enable=YES
syslogd_enable=YES
syslogd_flags=-ss

gateway_enable=YES
firewall_enable=YES
natd_enable=YES
natd_interface=ed1
natd_flags=-f /etc/natd.conf
firewall_script=/etc/firewall.conf

tcp_extensions=YES
icmp_drop_redirect=YES


Re: Networking Drivers

2003-02-26 Thread Matthew Seaman
On Wed, Feb 26, 2003 at 10:50:23AM -0800, Hunt, William F wrote:
 Where can I find networking drivers for Intel silicon?

Source code for most current networking chipsets can be found in

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/

With very few exceptions drivers for all devices supported under
FreeBSD are included with the system source code.  As far as I know,
none of the externally supplied drivers are for network interfaces.

See also:

http://www.freebsd.org/releases/5.0R/hardware-i386.html
http://www.freebsd.org/releases/4.7R/hardware-i386.html

Cheers,

Matthew


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

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


where is gated?

2003-02-26 Thread Bruce Cran
I've just setup a network, and have been thinking about configuring the
routing.   I've seen various references to gated in the documentation,
which seems to suggest that it's part of the base FreeBSD installation. 
I've found /usr/src/etc/rc.d/gated on my -current box, but there doesn't
appear to be any corresponding source code or binary.  There also doesn't
appear to be a port for gated - has it been removed from FreeBSD, or am
I just missing something?

Bruce Cran

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


Compaq laptop CDROM troubles

2003-02-26 Thread Dan Langille
I am trying to mount the CD on on Compaq Presario 1620 running 4.6-
STABLE (1 Aug 2002). FWIW, I do not know if this CD drive is in 
operating condition and have never used the CD drive.  

dmesg shows this:

acd0: CDROM TOSHIBA CD-ROM XM-1602B at ata1-master PIO4

Attempts to mount give this error:

# mount /dev/acd0a /cdrom
acd0: TEST_UNIT_READY - MEDIUM ERROR asc=0x57 ascq=0x00 error=0x00
acd0: TEST_UNIT_READY - MEDIUM ERROR asc=0x57 ascq=0x00 error=0x00
mount: /dev/acd0a: Input/output error

# mount -t cd9660 -o ro /dev/acd0c /cdrom
acd0: TEST_UNIT_READY - MEDIUM ERROR asc=0x57 ascq=0x00 error=0x00
acd0: TEST_UNIT_READY - MEDIUM ERROR asc=0x57 ascq=0x00 error=0x00
acd0: TEST_UNIT_READY - MEDIUM ERROR asc=0x57 ascq=0x00 error=0x00
cd9660: /dev/acd0c: Input/output error

If I don't have a CD in the drive, I get this error:

# mount -t cd9660 -o ro /dev/acd0c /cdrom
cd9660: /dev/acd0c: Input/output error

Is this an indication that the drive is functional

Clues?  Thank you.

-- 
Dan Langille : http://www.langille.org/


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


Re: where is gated?

2003-02-26 Thread Matthew Seaman
On Wed, Feb 26, 2003 at 08:07:24PM +, Bruce Cran wrote:
 I've just setup a network, and have been thinking about configuring the
 routing.   I've seen various references to gated in the documentation,
 which seems to suggest that it's part of the base FreeBSD installation. 
 I've found /usr/src/etc/rc.d/gated on my -current box, but there doesn't
 appear to be any corresponding source code or binary.  There also doesn't
 appear to be a port for gated - has it been removed from FreeBSD, or am
 I just missing something?

Nope.  gated has been removed from the ports collection:

happy-idiot-talk:/usr/ports:% grep -i gated MOVED 
net/gated||2002-12-13|no longer distributed by vendor

Try GNU zebra instead.

Cheers,

Matthew

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

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


mac file to unix format

2003-02-26 Thread Bryan Cassidy
I have found many Mac wallpapers online that are in .sit format and I
was wondering if there was a way I could convert a .sit file to say a
.png file so I could use the image on freebsd 5?

thanks in advance

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


Re: video recording

2003-02-26 Thread kitsune
On Wed, 26 Feb 2003 11:21:32 -0600
Mike Meyer [EMAIL PROTECTED] wrote:

 In the future, could you please insert newlines every 70 characters or
 so?

Cool.

 In [EMAIL PROTECTED], kitsune [EMAIL PROTECTED] typed:
  now I dismis that both the error and record window and go to filesave audio as...
 
 Why are you diong the video save before trying the audio save.

Becuase it is the exact same problem. This way it easyier to test multilple settings 
under.

   Using Audio IFF sound file headers
  Sound data is not PCM in /usr/temp/audiocCY5bg.
 
 Have you tried playing back that file? Have you checked to see what is
 in the file in any way?
 
  it will let me record in any other format, excluding mp2/3, but the
  play back button does not work for those...
 
 You just lost me.

Exactly what is says... it will record in other formats with out producing a error 
message but the button marked playback does nothing.

  I have it set on audio-auto on input and am just running a jumper
  from the audio out on the tv card to the audio in on the sound card.
  My sound on the system is provided pcm0 which is a VIA VT82C686A
  using the AC97 codec.
  The version of fxtv is 1.03, the version of mpegaudio is 3.9, and I
  am running freebsd 4.7.
 
 Is the mixer set up properly? fxtv doesn't fool with the mixer, but
 assumes you've set it up right.

Afaik the mixer is fine. I have never really messed with it for recording thought


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


Re: mac file to unix format

2003-02-26 Thread Miguel Mendez
On Wed, 26 Feb 2003 14:10:51 -0600
Bryan Cassidy [EMAIL PROTECTED] wrote:

Howdy,

 I have found many Mac wallpapers online that are in .sit format and I
 was wondering if there was a way I could convert a .sit file to say a
 .png file so I could use the image on freebsd 5?

.sit files are compressed with StuffIt, a very common compression
program for Mac. You can use archivers/stuffit to expand them.

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!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: mac file to unix format

2003-02-26 Thread Matthew Hunt
On Wed, Feb 26, 2003 at 02:10:51PM -0600, Bryan Cassidy wrote:

 I have found many Mac wallpapers online that are in .sit format and I
 was wondering if there was a way I could convert a .sit file to say a
 .png file so I could use the image on freebsd 5?

.sit is Stuffit, an archiver/compressor similar to zip, or tar+gzip.
You'll need to extract the file(s) in the archive and see what graphics
format they're really in.

Take a look at /usr/ports/archivers/stuffit.  I don't know if it works
with all Stuffit files or not (e.g. it may be outdated).

-- 
Matthew Hunt [EMAIL PROTECTED] * Eight lanes of shimmering cement from
http://www.pobox.com/~mph/   * here to Pasadena!

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


Re: Adobe fonts (installed in Win2k) use

2003-02-26 Thread Mike Meyer
In [EMAIL PROTECTED], Jason Morgan [EMAIL PROTECTED] typed:
 I have several Adobe fonts that I would like to use in FreeBSD. It
 appears that by their extensions (.pfb, .pfm) that they are postscript
 fonts. Can I use these in X?

Yup, those are postscript, and you can use them with X. Walk through
the fonts  Freebsd article at URL:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fonts/index.html 
for instructions on how to set that up.

mike

-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


Deleting a soft link that points to a directory - how?

2003-02-26 Thread Steve Warwick
Hey All, 

I cannot seem to delete a soft link (ln -s) that is pointing to a directory
without renaming the directory first. If I try to delete the link it
complains that the link is a directory (which it is pointing to). If I
delete using rm -rf, it deletes the directory that is pointed to but not the
link -- I have been burned by that one!

FreeBSD 4.3

Here is a little test:

%pwd
/tmp
%mkdir me
%cd /root
%ln -s /tmp/me MyTmp
%rm -f MyTmp/
rm: MyTmp/: is a directory
%
%rm -rf MyTmp/  (deletes the directory it points to)
%rm -f MyTmp(deletes the link)
%


Help, suggestions, magic?

Thanks 

Steve


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


RE: Deleting a soft link that points to a directory - how?

2003-02-26 Thread Derrick Ryalls
 I cannot seem to delete a soft link (ln -s) that is pointing 
 to a directory without renaming the directory first. If I try 
 to delete the link it complains that the link is a directory 
 (which it is pointing to). If I delete using rm -rf, it 
 deletes the directory that is pointed to but not the link -- 
 I have been burned by that one!
 
 FreeBSD 4.3
 
 Here is a little test:
 
 %pwd
 /tmp
 %mkdir me
 %cd /root
 %ln -s /tmp/me MyTmp
 %rm -f MyTmp/
 rm: MyTmp/: is a directory
 %
 %rm -rf MyTmp/  (deletes the directory it points to)
 %rm -f MyTmp(deletes the link)
 %

Try not using the trailing slash:

===[root] /data/test # ls
===[root] /data/test # ln -s /tmp/me MyTmp
===[root] /data/test # ls
MyTmp@
===[root] /data/test # rm -f MyTmp/
===[root] /data/test # ls
MyTmp@
===[root] /data/test # rm MyTmp
===[root] /data/test # ls
===[root] /data/test # 


Also, don't do is as root like me :)



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


Re: Deleting a soft link that points to a directory - how?

2003-02-26 Thread Kirk Strauser
At 2003-02-26T20:26:05Z, Steve Warwick [EMAIL PROTECTED] writes:

 %rm -f MyTmp/
 rm: MyTmp/: is a directory
 %
 %rm -rf MyTmp/  (deletes the directory it points to)
 %rm -f MyTmp(deletes the link)
 %

 Help, suggestions, magic?

`MyTmp/' reference to the target.  `MyTmp' (without the slash) refers to the
link.  Abracadabra!
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: SCSI Devices Delay

2003-02-26 Thread Stephen Hilton
On Wed, 26 Feb 2003 10:30:46 -0500
Mike Alich [EMAIL PROTECTED] wrote:

 I use to run an ABIT Dual Processor board with 2 1 gig processors on it and 
 recently upgraded to a single Titan P4 2GIG Celeron single processor board 
 and I am now having a weird problem and I hope you can help.
 
 With the old board on boot up the system would say Waiting for SCSI Devices 
 to Settle before the OS probed out the devices.
 
 Now after the new board was installed the OS decides to Wait for the SCSI 
 Devices to settle after all the devices are probed and about 50% of the 
 time the SCSI devices time out and we have to do another reboot.
 
 We are running FreeBSD 3.3-RELEASE.  The SCSI devices I have been referring 
 to are our Raid 5 drives.  We have 4 Cheetah 10K drive on a DPT Raid card.
 
 I have recompiled the kernel and this has not helped either.

Mike,

You can control the settle time with this kernel config option:

options SCSI_DELAY=3000 #Delay (in ms) before probing SCSI

Add this line to your kernel config and set the SCSI_DELAY= to a 
reasonable option, then rebuild and install the new kernel.

HTH

Stephen Hilton
[EMAIL PROTECTED]

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


Re: rfd0 fd0

2003-02-26 Thread Erik Trulsson
On Wed, Feb 26, 2003 at 10:48:21AM -0600, Mike Meyer wrote:
 In [EMAIL PROTECTED], Konrad Heuer [EMAIL PROTECTED] typed:
  On Tue, 25 Feb 2003, Mike Meyer wrote:
   In [EMAIL PROTECTED], Konrad Heuer [EMAIL PROTECTED] typed:
On Mon, 24 Feb 2003, Brian Henning wrote:
 what is the difference between these two devices?
fd0 ist a block-oriented device, data are cached in the buffer cache;
rfd0 is a byte-oriented raw device; data are always read from or
immediately written to the device.
   This is out-of-date information. Both fd0 and rfd0 are raw character
   devices these days. The old names were kept around for backwards
   compatability, but there is no difference between them.
  What does it mean - these days? When did the change occur?
 
 I'm not sure. 4.6 sounds right, but might not be. To get exact
 details, check the CVS logs. I'd check /dev/MAKEDEV.

A bit earlier than that.  The change occured in Nov/Dec 1999, a couple
of months before the RELENG_4 branch was created, so all of the 4.x
releases have been without block devices.



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]

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


Re: video recording.... some what working now

2003-02-26 Thread kitsune
On Wed, 26 Feb 2003 09:17:57 -0600
kitsune [EMAIL PROTECTED] wrote:

 On Wed, 26 Feb 2003 11:21:32 -0600
 Mike Meyer [EMAIL PROTECTED] wrote:
 
  In the future, could you please insert newlines every 70 characters or
  so?
 
 Cool.
 
  In [EMAIL PROTECTED], kitsune [EMAIL PROTECTED] typed:
   now I dismis that both the error and record window and go to filesave audio 
   as...
  
  Why are you diong the video save before trying the audio save.
 
 Becuase it is the exact same problem. This way it easyier to test multilple settings 
 under.
 
Using Audio IFF sound file headers
   Sound data is not PCM in /usr/temp/audiocCY5bg.
  
  Have you tried playing back that file? Have you checked to see what is
  in the file in any way?
  
   it will let me record in any other format, excluding mp2/3, but the
   play back button does not work for those...
  
  You just lost me.
 
 Exactly what is says... it will record in other formats with out producing a error 
 message but the button marked playback does nothing.
 
   I have it set on audio-auto on input and am just running a jumper
   from the audio out on the tv card to the audio in on the sound card.
   My sound on the system is provided pcm0 which is a VIA VT82C686A
   using the AC97 codec.
   The version of fxtv is 1.03, the version of mpegaudio is 3.9, and I
   am running freebsd 4.7.
  
  Is the mixer set up properly? fxtv doesn't fool with the mixer, but
  assumes you've set it up right.
 
 Afaik the mixer is fine. I have never really messed with it for recording thought

got messing with the mixer and I am now getting sound... and I noticed something 
wierd...

There are two temp files generated for audio and only one will encode to mp2 or mp3.


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


Re: video recording.... some what working now

2003-02-26 Thread kitsune
On Wed, 26 Feb 2003 09:17:57 -0600
kitsune [EMAIL PROTECTED] wrote:

 On Wed, 26 Feb 2003 11:21:32 -0600
 Mike Meyer [EMAIL PROTECTED] wrote:
 
  In the future, could you please insert newlines every 70 characters or
  so?
 
 Cool.
 
  In [EMAIL PROTECTED], kitsune [EMAIL PROTECTED] typed:
   now I dismis that both the error and record window and go to filesave audio 
   as...
  
  Why are you diong the video save before trying the audio save.
 
 Becuase it is the exact same problem. This way it easyier to test multilple settings 
 under.
 
Using Audio IFF sound file headers
   Sound data is not PCM in /usr/temp/audiocCY5bg.
  
  Have you tried playing back that file? Have you checked to see what is
  in the file in any way?
  
   it will let me record in any other format, excluding mp2/3, but the
   play back button does not work for those...
  
  You just lost me.
 
 Exactly what is says... it will record in other formats with out producing a error 
 message but the button marked playback does nothing.
 
   I have it set on audio-auto on input and am just running a jumper
   from the audio out on the tv card to the audio in on the sound card.
   My sound on the system is provided pcm0 which is a VIA VT82C686A
   using the AC97 codec.
   The version of fxtv is 1.03, the version of mpegaudio is 3.9, and I
   am running freebsd 4.7.
  
  Is the mixer set up properly? fxtv doesn't fool with the mixer, but
  assumes you've set it up right.
 
 Afaik the mixer is fine. I have never really messed with it for recording thought

got messing with the mixer and I am now getting sound... and I noticed something 
wierd...

There are two temp files generated for audio and only one will encode to mp2 or mp3.



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


Re: where is gated?

2003-02-26 Thread Bruce Cran
On Wed, Feb 26, 2003 at 08:11:06PM +, Matthew Seaman wrote:
 On Wed, Feb 26, 2003 at 08:07:24PM +, Bruce Cran wrote:
  I've just setup a network, and have been thinking about configuring the
  routing.   I've seen various references to gated in the documentation,
  which seems to suggest that it's part of the base FreeBSD installation. 
  I've found /usr/src/etc/rc.d/gated on my -current box, but there doesn't
  appear to be any corresponding source code or binary.  There also doesn't
  appear to be a port for gated - has it been removed from FreeBSD, or am
  I just missing something?
 
 Nope.  gated has been removed from the ports collection:
 
 happy-idiot-talk:/usr/ports:% grep -i gated MOVED 
 net/gated||2002-12-13|no longer distributed by vendor
 
 Try GNU zebra instead.
 

Thanks.   Should this be submitted as a PR so that the handbook page about routing 
can be updated to remove references to gated?

Bruce

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


Sendmail and MSP issues

2003-02-26 Thread Chris McCluskey

I'm having some issues with Sendmail with the MSP, and I have read so
many docs I have confused myself!

My issue is the following. I'm running 4.7p4 with the 8.12.x Sendmail.
I want to route all local mail to a central mail hub (I'm doing this
somewhat successfully with LOCAL_RELAY and MAIL_HUB). But I'm hitting
a wall with the new MSP (the submit.cf stuff) and mail. When I try to
write an e-mail message using the local mail from a localhost user to
an outside address, the message isn't transferred to the mail hub, but
gets stored in the clientmqueue for processing, and just sits there. I
get the following log entry:

Feb 20 23:06:55 server sendmail[16892]: h1L76tFs016892: from=chris,
size=42, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED],
[EMAIL PROTECTED]
Feb 20 23:06:55 server sendmail[16892]: h1L76tFs016892:
[EMAIL PROTECTED], delay=00:00:00, mailer=esmtp, pri=30041,
dsn=4.4.3, stat=queued

I thought that LOCAL_RELAY was supposed to relay stuff like this and
send it on -- but I don't think that the normal sendmail daemon is
looking at this queue (that's what the MSP is for after all, right?!).
I thought about using genericstable to rewrite the base domain of the
local users, but it doesn't look like MSP would even look at it to do
the domain rewrite anyway. Any help would be appreciated.

My assumption riding though all of this is that on a normal system,
the only thing that uses the LOCAL mailer part of Sendmail (and now
the MSP mailer) is the CLI mailer mail. Most other programs use SMTP
to talk directly with a local mail relay.

Thanks.


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


Re: cat

2003-02-26 Thread Giorgos Keramidas
On 2003-02-26 17:56, Tijl Coosemans [EMAIL PROTECTED] wrote:
 I want to remove CRs from text files so what I did is this:

 cat filename | tr -d '\r'  filename

 However, I often end up with an empty file. Just out of
 interest, somebody who knows why that is?

The shell opens filename for input and then attempts to reopen it once
more for output, at the same time.  The '' operator truncates the
file.  You will get much better and more predictable results if you
use a temporary file to store the intermediate result of tr(1):

$ tr -d '\r'  filename  filename.tmp
$ mv filename.tmp filename

- Giorgos

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


Re: proto.m4 file (Sendmail on FreeBSD)

2003-02-26 Thread Giorgos Keramidas
On 2003-02-26 09:34, Andreas Wider?e Andersen [EMAIL PROTECTED] wrote:
 I got Sendmail 8.12.6/8.12.7 on my FreeBSD 4.7 STABLE system and
 I've recently been working with it to stop spam coming through to my
 email users. I've added several FEATURES in the freebsd.mc file
 and compiled a new sendmail.cf file which works pretty
 good. However, I'm seeing more and more of lines in my maillog like
 the line below:

 Feb 26 09:13:00 myserver sendmail[52405]: h1Q8CxZw052405:
 [EMAIL PROTECTED]... User unknown
 Feb 26 09:13:00 myserver sendmail[52405]: h1Q8CxZw052405:
 from=, size=3411, class=0, nrcpts=0, proto=ESMTP, daemon=MTA,
 relay=mxo1.vol.cz [195.250.128.76]

What you're seeing is okay.  Spammers try to harvest addresses by
connecting to your mail server and testing if delivery to certain
usernames is allowed, or even if the can relay mail through you.

I'd block them with FEATURE(access_db) if I were you.

You should read the file /usr/share/sendmail/cf/README.  Especially
the part that describes access_db and confPRIVACY_FLAGS.

 My question is, where should I put this in in my proto.m4 file? The
 file is rather large and I really don't know where.

Nowhere.  Don't blindly make changes to .m4 files, without
understanding what's going on.  You'll break your mail server,
very very soon.

 Also, there are 2 proto.m4 files:

 /usr/share/sendmail/cf/m4/proto.m4
 /usr/src/contrib/sendmail/cf/m4/proto.m4

 Which one should I edit  use?

None of these.  Leave them be.

 When I'm compiling up a new sendmail.cf file I do this:

 cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.orig
 cd /usr/src/etc/sendmail
 cp freebsd.mc freebsd.mc.orig
 [edit freebsd.mc]
 make freebsd.cf
 make freebsd.cf install
 cd /usr/obj/usr/src/etc/sendmail/
 cp freebsd.cf /etc/mail/sendmail.cf
 killall -1 sendmail

You should use the rules of the /etc/mail/Makefile.  Just copy
/etc/mail/freebsd.org to /etc/mail/myhostname.mc and make your
local changes ONLY to myhostname.mc.

Then generate myhostname.cf and submit.cf:

# make

Then savee a backup copy of your existing sendmail.cf file and install
the new files as sendmail.cf and submit.cf in /etc/mail:

# cp sendmail.cf sendmail.cf.bak
# make install

and restart Sendmail.

# make restart

.

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


Re: 4.7 Upgrade issue

2003-02-26 Thread Daxbert
Quoting rew [EMAIL PROTECTED]:

 I'm trying to upgrade from FreeBSD 4.6-STABLE #0: Sat Jun 29 to RELENG_4_7
 
 mkdir -p /tmp/install.55427
 for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln make
 makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname wc zic;
 do  cp `which $prog` /tmp/install.55427;  done
 usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory
 *** Error code 64
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 

If the install is still failing for you...

It looks as if the 'which' command is failing to find the executables listed. 
Could root's path be improperly set?  Since you mentioned that this host was
remote.  Did you 'su' to root or 'su -'?  

Just a thought.

BTW, to find out which binary is missing, or can't be foundin the path, 
run this script.  
It will tell you what executable(s) is(are) the problem.


#!/bin/sh

for prog in [ awk cat chflags chmod chown date \
echo egrep find grep  ln make makewhatis mtree \
mv perl pwd_mkdb rm sed sh sysctl  test true \
uname wc zic;
do  echo WHICH $prog:   ::`which $prog`::; done


just look for the one with the empty value ''

--daxbert

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


send-pr fails with error: 554 Service unavailable; blocked usingrelays.osirusoft.com

2003-02-26 Thread Stacey Roberts
Hello,
 Has something changed with the send-pr procedure lately?

I used to be able to use the cmdline send-pr in the recent past, but
today, this is failing for me with the above error provided in the
returned mail.

Regards,

Stacey
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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


can't get to ATA133

2003-02-26 Thread Len Conrad
FreeBSD 4.7R

Promise TX2000 with two ATA133 drives as ata masters using the ATA133 IDE 
cables that came with the TX2000.

dmesg shows:

ad4: DMA limited to UDMA33, non-ATA66 cable or device
ad6: DMA limited to UDMA33, non-ATA66 cable or device
ar0: 39083MB ATA SPAN array [4982/255/63] status: READY subdisks:
 0 READY ad4: 39083MB Maxtor 6Y040L0 [79408/16/63] at ata2-master UDMA33
ar1: 39083MB ATA SPAN array [4982/255/63] status: READY subdisks:
 0 READY ad6: 39083MB Maxtor 6Y040L0 [79408/16/63] at ata3-master UDMA33
Anybody know why TX sees only 33?

Len



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


Unable to ping from one of my Bridged Interfaces

2003-02-26 Thread Charlie Livingston
I'm having issues with bridging in FreeBSD - I can't ping the machine from anything 
connected to one of the bridged interfaces.

My configuration is as follows:

Internet
   |
   |
  fxp0
---
| FreeBSD 4-Stable Router |
---
 xl0wi0
 |  |
 |  |
 Wired NodesWireless Nodes

fxp0 has the ip xx.xx.166.214 (first 2 octets blanked for privacy)
xl0 has the ip xx.xx.167.233 netmask 255.255.255.248 (same)
The other nodes have ips assigned out of the 167.232/28 subnet.

The problem is, none of the nodes connected to wi0 can ping the router.  But traffic 
is passed freely from xl0 to wi0 and vice versa.  Nodes connected via xl0 work 
perfectly.

The commands I used to configure the bridge are:
kldload bridge
sysctl net.link.ether.bridge=1
sysctl net.link.ether.bridge_cfg=wi0 xl0
sysctl net.inet.ip.forwarding=1
wicontrol -s FreeBSD AP -t 3 -n HomeNetwork
ifconfig wi0 inet up ssid HomeNetwork mediaopt hostap
wicontrol -p 6

What am I doing wrong?

Thanks;

Charlie Livingston

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


Re: send-pr fails with error: 554 Service unavailable; blocked using relays.osirusoft.com

2003-02-26 Thread James Long
On Wed, Feb 26, 2003 at 10:55:16PM +, Stacey Roberts wrote:
 
 I used to be able to use the cmdline send-pr in the recent past, but
 today, this is failing for me with the above error provided in the
 returned mail.

Pretty much as it says, your mail server (81.86.129.77) is listed in one 
or more of the anti-spam databases at osirusoft.com.

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


Re: XDM on multiple virutal X screens ( ALT-F9,ALT-F10...)

2003-02-26 Thread User Tysken
On Wed, Feb 26, 2003 at 06:03:50AM -0800, Aaron Burke wrote:

 This is the only file that you have to modify, however you need
 to make two seperate mods.
 
 The default file just says
 :0 local /usr/X11R6/bin/X
 
 Just change it to say the following.
 :0 local /usr/X11R6/bin/X :0
 :1 local /usr/X11R6/bin/X :1

 The only line that is in there is :0 local /usr/X11R6/bin/X

Okej, then I almost did right.

 You have searched  well enough. I remember playing with this
 for about a week in the past. (when I first got it working).
 Its amazing how easy the change is to make though.

Perhaps folk does not like to run it for some reasons. But If i want it to
get it running on diffrent screens I have to edit /usr/X11R6/lib/X11/XF86Config I 
guess and add the other graphic card there, and so forth.

 This is an unrelated problem. Feel free to ask about it on
 -questions though.

I thinking of it.

 You should always be able to ssh into your box (provided your
 running the server, and you are).

I know I do that, but the computer real crashes hard.

 Nothing to do there.

Okie dokie

  Anyway thanks for reading and perhaps replying to this mail :)
 Thats what some of us are here for.

I might not answer any mails on the list but I help my friends IRL istead.
But I don't know that many IRL that runs FreeBSD. Any way this is getting of
topic. Expect me to write more mail on other subjects.

 
  Mvh Mattias Bj?rk
 
 
 
 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: send-pr fails with error: 554 Service unavailable; blockedusing relays.osirusoft.com

2003-02-26 Thread Stacey Roberts
Hi,

On Wed, 2003-02-26 at 23:05, James Long wrote:
 On Wed, Feb 26, 2003 at 10:55:16PM +, Stacey Roberts wrote:
  
  I used to be able to use the cmdline send-pr in the recent past, but
  today, this is failing for me with the above error provided in the
  returned mail.
 
 Pretty much as it says, your mail server (81.86.129.77) is listed in one 
 or more of the anti-spam databases at osirusoft.com.
 

Cheer for this, I'm looking into this now.

Thanks again.

Regards,

Stacey

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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


Re: FreeBSD 4.4 Questions

2003-02-26 Thread taxman
On Wednesday 26 February 2003 12:13 pm, Gary D Kline wrote:
 On Wed, Feb 26, 2003 at 08:34:26AM +0100, Aas, Eskild wrote:
  Dear Sirs
 
 
  We are three students attending Hærens Ingeniørhøgskole (the norwegian
  millitary engineering school). We are currently working on an assignment
  about operating systems. We are writing about FreeBSD 4.4. We would like
  to know if you can help us find , or tell us where we can find
  information about these following subjects:
 
  *   OS structure
  *   Process-handling
  *   CPU-handling
  *   Memory-handling
  *   Filesystem (implementation)
  *   I/O structure
  *   Security

Uh, hi.  You're asking someone else to do your work for you.  An online 
tradition, but a questionable one in terms of what you'll learn.
There is a lot of information on that in the FreeBSD Handbook and the 
developers handbook, both available from the FreeBSD.org site.
The real details of that information exists only in the brains of the 
developers and to an extent in the mailing list archives.  The -hackers and 
-current mailing lists are especially know for the detailed conerstions on 
topics like those.

  We would be very greatfull if we could get this information as soon as
  possible, because this assignment is due 03.07.03 (Next Friday)

   For an in-depth view of most of your topics you might want to
   study The Design and Implementation of the 4.3BSD UNIX
   Operating System by Kirk McKusick et al.  (There is probably
   a 4.4BSD version by now; you'll need to google around.)

Gary is this a joke?  The Design and Implementation of the 4.4BSD Operating 
System by McKusik et al.  was published in 1996.  4.4BSD is what FreeBSD 1.0 
and later (along with NetBSD, and therefore later OpenBSD) were based on.   
The 4.3BSD version of the book came out a year or so before that.
Though much in FreeBSD has changed since those books were published, they 
remain an excellent introduction to the concepts that underly FreeBSD.  The 
implementations have nearly all changed.
There were rumors that Kirk was writing an updated FreeBSD version of the 
book, but my guess was the profitability of it was questioned.  Kirk sells 
courses and tapes, and I'm sure does well with them.
 http://www.mckusick.com/courses/index.html
with among other things a course on FreeBSD Kernel Internals: An Intensive 
Code Walkthrough  tm

Tim

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


I need big Help! (Not yet another newbie question!)

2003-02-26 Thread Murat
Hi,

I'm using freebsd 4.7 release with IBM dedicated server (P3-1133, 512 ram,
36 gigs hdd etc)

I was happy with freebsd, before that I was using Linux redhat as server
OS.
Everything started at, when I want to install eDonkey client. It asked for
Linux-Base package, and installed automatically (/usr/ports collection)

Because eDonkey didn't work usual, and crashes, I de-installed linux-base
with eDonkey. Everything was normal at this moment.
When I try to upgrade my apache, with compiling PHP, Php-Accelerator, I
noticed my Apache is using 150Mb ram from now on!
Like this (a line from top command)
38016 nobody2   0   145M  8308K sbwait   0:04  0.00%  0.00%
httpd

it should use 10-12 Mb usually, and increase when child proccess number
increase.
But Apache start with 145-150Mb ram usage, this stays exactly like that in
top command
But when proccess increase, my swap ram getting filled, and server
slowdowns
a lot

I asked for a freebsd upgrade (to my host) and they installed freebsd 4.7
(it was 4.5 release, when things happened)
After that, I recompiled apache-php (with php-accelerator) again. Nothing
was changed, it still uses 145-150Mb ram

I am sure linux-base is responsible for that. Because when I use
linux-sun-java-1.4.1 (a simple link checker with 20 threads) I see 200Mb
ram
usage.

What can I do? Please help

PS: Apache / Php compile configurations below
Apache Step 1:
with bash:
EAPI_MM=/usr/local/mm-1.2.1 \
./configure \
--enable-module=rewrite \
--enable-module=speling \
--enable-module=expires \
--enable-module=info \
--enable-module=log_agent \
--enable-module=log_referer \
--enable-module=usertrack \
--enable-module=proxy \
--enable-module=userdir \
--enable-module=so \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl

make
make install

Apache Step 2:
With BASH
EAPI_MM=/usr/local/mm-1.2.1 \
./configure \
--enable-module=rewrite \
--enable-module=log_agent \
--enable-module=log_referer \
--enable-module=log_config \
--enable-module=auth \
--enable-module=digest \
--enable-module=autoindex \
--enable-module=cgi \
--enable-module=dir \
--enable-module=env \
--enable-module=include \
--enable-module=mime \
--enable-module=so \
--activate-module=src/modules/perl/libperl.a \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=perl

Php 4.3.0:
Deleted: --with-apxs=/usr/local/apache/bin/apxs \

./configure \
--with-apache=/usr/local/apache_1.3.27/ \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--with-gd --with-freetype-dir=/usr/local/include/freetype2 \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--with-mm=/usr/local/mm-1.2.1 \
--with-jpeg-dir=/usr/lib \
--with-zlib-dir=/usr/local

cp php.ini-dist /usr/local/lib/php.ini
Add: zend_extension=/usr/local/phpa-1.3.3r2/php_accelerator_1.3.3r2.so
Fix: register_globals = On;


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


Re: Map backspace key to backspace, not delete

2003-02-26 Thread Warren Block
On Tue, 25 Feb 2003, Odhiambo Washington wrote:

 I just installed KDE3.1 and although it looks good, I am annoyed with one
 thing I cannot figure out. When I ssh to a remote box from a terminal of
 my box, I get the backspace key doing DELETE instead of BACKSPACE.
 How do I fix this?

This may help (no line wrap):

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1467030+0+archive/2003/freebsd-questions/20030202.freebsd-questions

-Warren Block * Rapid City, South Dakota USA

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


Re: IDE LiteON CD-RW supported by burncd?

2003-02-26 Thread Warren Block
On Wed, 26 Feb 2003, Michael Sharp wrote:

 I understand ALL IDE CD-RWs are supported under FreeBSD,

Some IDE drives are not supported, or only partly supported.  For
example, I've got an 8X LG drive that will burn ISO-9660 CDs, but not
music CDs.  Some brands may not work at all.

 but has anyone actually used a CD-RW by LiteON ( http://liteonit.com )
 and had sucess with it under burncd?

I've used several of the 48X and 52X LiteOns sold as Sony drives.  They
work well.

-Warren Block * Rapid City, South Dakota USA

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


Re: IDE LiteON CD-RW supported by burncd?

2003-02-26 Thread Rod Person
On Wed, 26 Feb 2003 12:42:30 -0500 (EST)
Michael Sharp [EMAIL PROTECTED] wrote:

 I understand ALL IDE CD-RWs are supported under FreeBSD, but has anyone
 actually used a CD-RW by LiteON ( http://liteonit.com ) and had sucess
 with it under burncd?
 
 I have the a 32x RW and it works great with FreeBSD 5.0, you have to use the 
camcontrol. 

Rod


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


Re: I need big Help! (Not yet another newbie question!)

2003-02-26 Thread Daxbert
Quoting Murat [EMAIL PROTECTED]:

 I'm using freebsd 4.7 release with IBM dedicated server (P3-1133, 512 ram,
 36 gigs hdd etc)
 
 Everything was normal at this moment.
 When I try to upgrade my apache, with compiling PHP, Php-Accelerator, I
 noticed my Apache is using 150Mb ram from now on!
 Like this (a line from top command)
 38016 nobody2   0   145M  8308K sbwait   0:04  0.00%  0.00%
 httpd
 
 it should use 10-12 Mb usually, and increase when child proccess number
 increase.
 But Apache start with 145-150Mb ram usage, this stays exactly like that in
 top command
 But when proccess increase, my swap ram getting filled, and server
 slowdowns
 a lot

Can you show us the output of following commands both before and after starting
apache:

vmstat
swapinfo
top

I ask because, I too am running apache and see the same large memory consumption
reported by SIZE (in top).  However, it's *not* caused me any problems, and even
with 60 processes all reporting 145MB (145MB x 60 = 8.7GB) I use no swap.  

--daxbert



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


Òåëåèìèäæ êîìïàíèè. Ïðîäàæè ïî òåëåôîíó dRrNg

2003-02-26 Thread Admin
Title: Post Message




   :



 .   

11-12  2003 .



 :



o ,   ! 

o   . 

o  . 

o . 

o  ,  ?

o  ,  ?

o  ? 

o,   ? 

o  ??,   . 

o   ,. 

o  ,?

o,?

o,  ?

o ? 

o   ?  ?. 

o? 

o  . 

o  .

o ,. 

o   . 

o  ?



 ..

 

  :   - -,   (Personal coaches),UNESCO,   " " (  ), CD.().  1994 . call-   "".  : "-", "",  Volvo, Audi, Ford, ""   .



  220 .. (  ).-   .

   . (095) 250-76-39, 748-19-62



P.S.   ,.



! . 





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


You know who wants to meet you?!!

2003-02-26 Thread Ahab
Title: Win Mail











click here for contest rules





We appreciate your patronage, and thank you for opting in To cancel your subscription to this newsletter, click here.






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


-=Îïåðàòèâíàÿ ïîëèãðàôèÿ ïî îòëè÷íûì öåíàì!=-

2003-02-26 Thread Ï*Î*Ë*È*Ã*Ð*À*Ô*È*ß







  
  

  

   
  
  (  
  1200dpi)   
  !   -  , ,  
  , ,  -   
   . ,  
 -  
   ( 15   1,5 ). - 
  !
  -  
  :  !!(  
  ):
  
  
  


  

  
 
 ($)

  
50
  
7,5

  
100
  
9

  
200
  
19

  
500
  
40

  
1000
  
75
  * 
 300 /2  ( 
  - ):
  
  
  


  

  
 
 ($)

  
50
  
5

  
100
  
7

  
200
  
15

  
500
  
25

  
1000
  
40
  * 
 300 
/2
 3:


  
  

  

   
   ($)
  

  1

  5
  

  5

  20
  

  10

  35
  

  50

  150
 
:


  
  

  

   
   ($)
  

  50

  20
  

  100

  35
  

  300

  80

 
  :

 


 
   : 


 
:


  
  

  

   
   ($)
  

  50

  30
  

  100

  38
  

  200

  50,7
  

  500

  110
  

  1000

  195

 
, - 100
!
!   
 :(095) 
275-24-50 (). 




 
JVBTOWNFXFGPGSJIQCRXPSDMWBJBDNCPBKRKLC

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


¤p®É­Ô³\¤UªºÄ@±æ¹ê²{¤F¶Ü?

2003-02-26 Thread hoho
Title: ´º®ð¤£¦n



 
 

  

  
  


  
½Ö»¡´º®ð¤£¦n¡H

  
   
  


  [EMAIL PROTECTED]

  
±zªº©m¦W¡G¡@
   
  

  
¥X¥Í¦~¤ë¡G¡@
  ¥Á°ê  ¦~ 
 ¤ë 
 ¤é 


  
Ápµ¸¹q¸Ü¡G
   


  
±zªº¦a§}¡G¡@
   

  
¹q¤l«H½c¡G¡@
   
  

  
[EMAIL PROTECTED]@¨B¤F¸Ñ §Ú·Q¨£³o¨Ç¤ë¤J¤Q¸U©±ªø 
§Ú·Q¤F¸Ñºô¸ô¦æ¾Pµ¹§Úªº¤ä´© 
¥J²Ó¤F¸Ñ¼úÀy¨î«×ªºÀu¶Õ 
§Ú·Q°Ñ¥[¥[·ù»¡©ú·| 

  
  
 
  

  

  
  

[EMAIL PROTECTED]@¥÷¨Æ·~³Æ­L¥H¤Î°µ¦n¥¢·~¡BÂà·~ªº·Ç³Æ¶Ü¡H¦b¨D¾¤£©ö¡A³Ð·~¤S¯Ê¥F¸êª÷ªº±¡ªp¤U¡A±z±N¶V¨Ó¶V®ø¨H
¡C§Ú­Ìªº¥[·ù³Ð·~¨t²Î¡A¥i¥H§â§A±q¥Ø«e§x¹Ò¤¤©Ô¥X¡A±z±N¦³¾÷·|¹ê²{³Ð·~ªº¹Ú·Q ¡A¦b¤£´º®ð¥¢·~¼é¤¤
¡A³Ð³y¥Í¾÷¡C[EMAIL PROTECTED]@[EMAIL PROTECTED]§K±À¾P¡B§K°e³f¡B§KÅv§Qª÷¡C²{¦¨¨Æ·~¡A¤½¥q©Ó¾á©Ò¦³­·ÀI¡A­°§C¦Û³Ð¨Æ·~­·ÀI¡A¤½¥q´£¨Ñª÷¬y¡Bª«¬y¡Aµ¹±z«~µP¡A¦Û¤v¦¬¨ú¥[·ùª÷¡IÅý±z¨É¨ü°µ¥Í·N·í¦ÑÁ󪺧ַP[EMAIL PROTECTED]¬ü°ê¥¿¦b¬y¦æ¡A¥xÆW¥¿§j°_³o¼Ëªº­·¼é¡C¡C·Qª¾¹D§ó¦h  


..
  



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


  1   2   >