RE: Security warning with sshd

2005-08-21 Thread Stephen Major
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

This is due to a mis-configured firewall. If you are using IPFW there are
many tutorials out there that tell you to do the wrong thing. And almost all
of them contradict each other. Below is a basic script that only allows in
and out SSH sessions and blocks all the garbage. Of coarse you must add any
other services you need. The key here is that you allow connections from any
to any established. Then on all outgoing tcp connections be sure to use the
setup keep-state flags. The keep-state flag puts the rule into the dynamic
rules table. Then the allow connections from any to any established allows
already established connections to flow without going through the ruleset
again. When I did this the error messages you are now experiencing went
away.

#!/bin/sh
#IPFW script by Salvia

ipfwcmd="/sbin/ipfw"
flags="-q"

#int
oif="rl0"

logall="log"

### Flush the rules
$ipfwcmd $flags -f flush

### Allow loopback and deny loopback spoofs
$ipfwcmd $flags add 00100 allow all from any to any via lo0
$ipfwcmd $flags add 00110 deny $logall ip from any to 127.0.0.0/8
via $oif
$ipfwcmd $flags add 00120 deny $logall ip from 127.0.0.0/8 to any
via $oif

### Stop PNAs from connecting
$ipfwcmd $flags add 00130 deny $logall ip from 192.168.0.0/16 to any
via $oif
$ipfwcmd $flags add 00140 deny $logall ip from 172.16.0.0/12 to any
via $oif
$ipfwcmd $flags add 00150 deny $logall ip from 10.0.0.0/8 to any via
$oif
$ipfwcmd $flags add 00160 deny $logall ip from any to 192.168.0.0/16
via $oif
$ipfwcmd $flags add 00170 deny $logall ip from any to 172.16.0.0/12
via $oif
$ipfwcmd $flags add 00180 deny $logall ip from any to 10.0.0.0/8 via
$oif

### Deny XMAS tree, Null scan, SYN Flood, Stealth FIN, and forced packer
routing

$ipfwcmd $flags add 00200 deny log tcp from any to any in tcpflags
fin,psh,urg recv $oif
$ipfwcmd $flags add 00210 deny log tcp from any to any in tcpflags
!fin,!syn,!rst,!psh,!ack,!urg recv $oif
$ipfwcmd $flags add 00220 deny log tcp from any to any in tcpflags
syn,fin recv $oif
$ipfwcmd $flags add 00230 deny log tcp from any to any in tcpflags
fin,rst recv $oif
$ipfwcmd $flags add 00240 deny log ip from any to any in ipoptions
ssrr,lsrr,rr,ts recv $oif

### Deny late, redirect, and spoofing attacks
$ipfwcmd $flags add 00250 deny $logall all from any to any frag
$ipfwcmd $flags add 00270 deny $logall icmp from any to any icmptype
5
$ipfwcmd $flags add 00280 deny $logall ip from me to me in via $oif

## inbound section ###

### check the traffic's state
$ipfwcmd $flags add 00500 check-state
$ipfwcmd $flags add 00501 allow tcp from any to any established

### Allow in ssh
$ipfwcmd $flags add 00620 allow tcp from any to me 22 in via $oif
setup keep-state

 Deny & Log all incoming that fall through to here
#

$ipfwcmd $flags add 01000 deny $logall logamount 500 all from any to
any in via $oif


#

## outbound section ##

### Allow out ssh
$ipfwcmd $flags add 02150 allow tcp from me 22 to any out via $oif
setup keep-state





## Everything Else #

### deny and log everything else that is trying to get out.
$ipfwcmd $flags add 03000 deny $logall logamount 500 all from any to
any out via $oif




## deny and log all packets that fell through to see what they
are 

$ipfwcmd $flags add 04000 deny $logall logamount 500 all from any to
any

- -Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Remko Lodder
Sent: Sunday, August 21, 2005 2:36 AM
To: Pat Maddox
Cc: [EMAIL PROTECTED]; FreeBSD Questions
Subject: Re: Security warning with sshd

Pat Maddox wrote:
> In my recent security email, I got the following errors:
> cantona.dnswatchdog.com login failures:
> Aug 20 02:37:19 cantona sshd[9444]: fatal: Write failed: Operation not
permitted
> Aug 20 04:30:42 cantona sshd[16142]: fatal: Write failed: Operation
> not permitted
> Aug 20 21:21:51 cantona sshd[45716]: fatal: Write failed: Operation
> not permitted
> 
> So three questions: What is it?  Should I be worried?  How can I fix it?
> 
> Thanks,
> Pat

A couple of messages that i read when searching through google
appear to indicate that it might rely on your firewall, bad
packets that are not in state anymore and such and then gets
blocked by your firewall.

Could you provide some more details of events happening around
the same time of the messages you posted here? Perhaps something
else precedes the message which gives more information on what
might have happened...

Url with some information:
http://lists.freebsd.org/pipermail/freebsd-pf/2005-August/001337.html
(and related messages)

Cheers,
Re

Re: reassigning boot drive

2005-08-21 Thread Nagilum

[EMAIL PROTECTED] wrote:


Has anyone tried reassigning the boot disk from ad1 to
ad0? What pitfalls are there?
 

You have to adjust your /etc/fstab to reflect the change, if you don't, 
you will get a nasty looking error when booting (which can be worked 
out, I just don't remember if you have to tell you kernel on the boot 
console where your root is  or if you drop into single user mode and 
then have to "mount -o rw -u" your / to edit the fstab or both ;).

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


Re: finding aaccli from Adaptec

2005-08-21 Thread D. Goss




Can someone who may be using this point me where to get a current  
version of the rpm that contains aaccli?





I've had it for a while and don't remember where I got  it, but  
just download everything linux you find at adaptec and you are  
bound to find it, and probably faster than someone here can answer you


Chad



I was just setting out to do that :) and then I got a nice off-list  
email offering to send it.


Thanks -
d.

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


Re: finding aaccli from Adaptec

2005-08-21 Thread Chad Leigh -- Shire.Net LLC


On Aug 21, 2005, at 9:50 PM, D. Goss wrote:




Can someone who may be using this point me where to get a current  
version of the rpm that contains aaccli?


I've had it for a while and don't remember where I got  it, but just  
download everything linux you find at adaptec and you are bound to  
find it, and probably faster than someone here can answer you


Chad



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




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


finding aaccli from Adaptec

2005-08-21 Thread D. Goss
I'm following some directions found in the archives in order to get  
the Linux version (that is apparently more current than the FreeBSD  
one) of aaccli installed to manage an Adaptec RAID card under FreeBSD  
5.4 (using Linux compatibility).


I thought I found the correct rpm from the Linux section of the  
Adaptec downloads for the card (it is an ASR-2230SLP).  The rpm I  
have is "Adaptec Storage Manager for Linux" under RH3.  I must be  
grabbing the wrong one because when I use rpm2cpio and cpio to  
extract the rpm, I am only getting a utility called StorMan.  Nowhere  
in this rpm can I locate aaccli that should be there (if I had the  
right download).


Can someone who may be using this point me where to get a current  
version of the rpm that contains aaccli?


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


Re: WinXP administration guide for unix guru

2005-08-21 Thread stheg olloydson
it was said:

>Can anyone recommend a book which explains this confusing
beast? I'm talking
>about a book which explains where things are put (equiv of
/var/mail,
>/etc/passwd, /etc/rc.conf), where application data is stored,
how printers,
>disks, etc are shared, how to book in "fixit disk" mode, how to
>backup/restore, how to configure swap space. And also questions
like why XP
>is "professional", etc.

Hello,

Assuming you're serious and not trolling, you may wish to
consider Universal Command Guide for Operating Systems, ISBN
0764548336. It claims to cross-reference "every command for
every operating system." I don't know if that's true, but I use
it from time to time, and I have yet to find an actual OS-native
command missing. The book's website is www.ucgbook.com, and it
has free samples.
As for using familiar *nix tools under Windows, MS offers
"Windows Services for UNIX 3.5" as a free download. This creates
a *nix virtual machine on the Windows box that you can use to
administer either a network system (Windows or *nix) or the
local system. Read more about it here:
www.microsoft.com/windowsserversystem/sfu/productinfo/features/default.mspx
(URI may have wrapped).

Regards,

stheg




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Important question cant figure it out...

2005-08-21 Thread Eric Murphy
Okie dokie...


First off the install went flawlessly so i dont think it was a bad install or 
anything...

eed:$ ldd /usr/X11R6/bin/glxgears 
/usr/X11R6/bin/glxgears:
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x2807a000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28104000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x2810c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28119000)
libm.so.4 => /lib/libm.so.4 (0x281da000)
libpthread.so.2 => /usr/lib/libpthread.so.2 (0x281f)
libc.so.6 => /lib/libc.so.6 (0x28215000)
libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0x282ec000)
libnvidia-tls.so.1 => /usr/X11R6/lib/libnvidia-tls.so.1 (0x289fe000)
libm.so.3 => not found (0x0)

So it seems libm.so.3 is in fact not found.. locate does not find it --- so how 
can i install it without installing over the Xorg files with LibGL ?
-Original Message-
From: Louis LeBlanc <[EMAIL PROTECTED]>
Sent: Aug 21, 2005 10:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Important question cant figure it out...

On 08/21/05 09:45 PM, Eric Murphy sat at the `puter and typed:
> When I run either glxgears or mplayer I get this error.
> 
> However when i try to install libGL from ports i get an error saying that is 
> shares the same place as the xorg libs and doesnt want to over write them..
> 
> Im useing BSD 6.0 
> 
> how can I fix this?
> 
> 
> 
> 
> 
> greed# mplayer 
> /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
> "libGL.so.1"
> greed# glxgears 
> /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
> "libGL.so.1"

Try the following:
ldd /usr/X11R6/bin/glxgears

And provide the output.

Mine gives the following:
/usr/X11R6/bin/glxgears:
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x28085000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x2810f000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28116000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28123000)
libm.so.3 => /lib/libm.so.3 (0x281e2000)
libpthread.so.1 => /usr/lib/libpthread.so.1 (0x281fd000)
libc.so.5 => /lib/libc.so.5 (0x28221000)
libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0x282fb000)
libnvidia-tls.so.1 => /usr/X11R6/lib/libnvidia-tls.so.1 (0x28a0d000)


Note that it's looking for libm.so.3 in /lib/.

Next, you might want to find out where (and if) you actually *have*
libm.so.3 in your system - if your location db is up to date, `locate
libm.so.3` will tell you.  If that gives no output, try `locate
libm.so`.

Also, since you're using (Free)BSD(?) 6.0, you might want to make sure
the OS installation went right, and that you've got the latest and
greatest of the 6.0 branch.

Of course, you might also want to search the -current mail list for
similar issues as well.

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Barbara's Rules of Bitter Experience:
  (1) When you empty a drawer for his clothes
  and a shelf for his toiletries, the relationship ends.
  (2) When you finally buy pretty stationary
  to continue the correspondence, he stops writing.

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


Re: Important question cant figure it out...

2005-08-21 Thread Louis LeBlanc
On 08/21/05 09:45 PM, Eric Murphy sat at the `puter and typed:
> When I run either glxgears or mplayer I get this error.
> 
> However when i try to install libGL from ports i get an error saying that is 
> shares the same place as the xorg libs and doesnt want to over write them..
> 
> Im useing BSD 6.0 
> 
> how can I fix this?
> 
> 
> 
> 
> 
> greed# mplayer 
> /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
> "libGL.so.1"
> greed# glxgears 
> /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
> "libGL.so.1"

Try the following:
ldd /usr/X11R6/bin/glxgears

And provide the output.

Mine gives the following:
/usr/X11R6/bin/glxgears:
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x28085000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x2810f000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28116000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28123000)
libm.so.3 => /lib/libm.so.3 (0x281e2000)
libpthread.so.1 => /usr/lib/libpthread.so.1 (0x281fd000)
libc.so.5 => /lib/libc.so.5 (0x28221000)
libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0x282fb000)
libnvidia-tls.so.1 => /usr/X11R6/lib/libnvidia-tls.so.1 (0x28a0d000)


Note that it's looking for libm.so.3 in /lib/.

Next, you might want to find out where (and if) you actually *have*
libm.so.3 in your system - if your location db is up to date, `locate
libm.so.3` will tell you.  If that gives no output, try `locate
libm.so`.

Also, since you're using (Free)BSD(?) 6.0, you might want to make sure
the OS installation went right, and that you've got the latest and
greatest of the 6.0 branch.

Of course, you might also want to search the -current mail list for
similar issues as well.

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Barbara's Rules of Bitter Experience:
  (1) When you empty a drawer for his clothes
  and a shelf for his toiletries, the relationship ends.
  (2) When you finally buy pretty stationary
  to continue the correspondence, he stops writing.


pgpwvEwBm8y1Y.pgp
Description: PGP signature


Important question cant figure it out...

2005-08-21 Thread Eric Murphy
When I run either glxgears or mplayer I get this error.

However when i try to install libGL from ports i get an error saying that is 
shares the same place as the xorg libs and doesnt want to over write them..

Im useing BSD 6.0 

how can I fix this?





greed# mplayer 
/libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
"libGL.so.1"
greed# glxgears 
/libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
"libGL.so.1"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Simple log question...

2005-08-21 Thread Giorgos Keramidas
On 2005-08-21 21:58, Eric Murphy <[EMAIL PROTECTED]> wrote:
> Hi guys, quick question here...
>
> I noticed on some peoples desktop they have a transparent log file
> running in the backround thats constently updated..
>
> Like in this openbsd screen.
>
> http://www.lphp.org/img/snap.png

That would be sysutils/roottail :-)

> I would like to do something similar on my FreeBSD box--- anyone know
> of a program or a way to do this? Can you choose which log?

Yes.  You can certainly choose which log.  You can run roottail much
like tail -f on any file.

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


Simple log question...

2005-08-21 Thread Eric Murphy
Hi guys, quick question here...

I noticed on some peoples desktop they have a transparent log file running in 
the backround thats constently updated..

Like in this openbsd screen. 

http://www.lphp.org/img/snap.png


I would like to do something similar on my FreeBSD box--- anyone know of a 
program or a way to do this? Can you choose which log?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Where to FreeBSD Boot Manager?

2005-08-21 Thread Garrett Cooper


On Aug 21, 2005, at 6:10 PM, Jerahmy Pocott wrote:



On 22/08/2005, at 12:17 AM, Soo-Hyun Choi wrote:




Hi,

I'm trying to install FreeBSD on my system which has two separate HDD
(each has 40GB). I am already using the first drive (e.g., C drive)
only for Window XP and now would like to install FreeBSD on the  
second

drive (e.g., D drive).

Which drive should I install the FreeBSD Boot Manager?




That really depends on how you want to do it..

If you want the use boot manager that comes with FreeBSD you will  
need to

install it on the primary disk (C drive)..

I don't really know much about XP, but isn't it based on NT? The NT  
system
also has its own boot manager which you could use instead.. But XP  
might

not have it..


Yes, XP does have a boot manager, and I suppose I should have  
listed some available options when I originally replied to the email.  
Just thought that someone was making a split decision during an  
install and needed quick help.

You have a few choices:
1. FreeBSD boot manager
Pro: Can install just one boot manager out of the box  
and it takes care of detecting all of the partitions
Con: If you don't like FreeBSD anymore, no more boot  
manager.

2. GRUB
Pro: Plays nicely with Linux.
Con: Still need to install FreeBSD bootloader in the  
boot sector of the FreeBSD partition.

3. NT bootloader
Pro: Stuff's managed through XP (if you like that).
Con: Still need to install FreeBSD bootloader in the  
boot sector of the FreeBSD partition.
There's also LILO with a similar argument to grub, but anytime  
your Windows partition changes, you have to reinstall LILO. Also, the  
NTLoader option doesn't play nice with Linux upgrades if you might  
use Linux in tandem with FreeBSD in the future.

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


Crypt::RSA perl coredump on FreeBSD 5.4-RELEASE

2005-08-21 Thread Mike Friedman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This may not be an appropriate place for my question, but perhaps someone 
has a suggestion.


I installed the perl Crypt::RSA port the other day on my 5.4-RELEASE 
system.  When I try to run a small perl script just to generate an RSA 
keypair, I get a perl core dump.  There are a lot of prereqs that get 
installed with Crypt::RSA, so no doubt there's much opportunity for a 
problem with some library somewhere.  But I don't know where to begin 
looking.


Subsequently, I installed Crypt::DSA and I haven't had a similar problem 
with it.  So I assume it's not the Math::Pari library, which is used by 
both the RSA and DSA packages, that's causing my problem. Similarly for 
other packages that both Crypt::RSA and Crypt::DSA make use of.


I'm just throwing this out here in case someone on this list has already 
run into the same problem.  I realize this is likely not a FreeBSD problem 
at all.


I haven't tried even installing Crypt::RSA on a non-FreeBSD platform, 
precisely because it's a mess given all the dependencies.  But the FreeBSD 
port installs quite smoothly.  (I just wish the software would work!).


Thanks.

Mike

_
Mike Friedman   System and Network Security
[EMAIL PROTECTED]  2484 Shattuck Avenue
1-510-642-1410  University of California at Berkeley
http://ack.Berkeley.EDU/~mikef  http://security.berkeley.edu
_

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQA/AwUBQwknWq0bf1iNr4mCEQJomgCghoOj7WJBUffZxUswseZ7YidSxysAoM8I
+wOAwxmUbHHW3lRpmPsVOb5p
=gjHG
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: polling decreases throughput ~50%

2005-08-21 Thread Garrett Cooper


On Aug 21, 2005, at 8:38 AM, Danial Thom wrote:




--- Garrett Cooper <[EMAIL PROTECTED]>
wrote:

The problem with a "discussion" is that IQ isn't
cumulative. So if no one in the discussion has a
clue, then the conclusions don't mean much. If
you argue the merits of polling based on wrong
information (like the assumption that you'll get
a hardware interrupt for each event), then you've
just wasted a lot of time and learned nothing.

You seem to have missed the point that hardware
has hold-offs that negate ANY need for polling.
Polling is a non-solution to a non-problem in the
modern world.

Danial


Sorry. Obviously not everyone is as experienced and  
knowledgeable as you are.
I didn't say that it was the best solution; I just said it was  
discussed and while I may not have mentioned it previously, my  
professor highly discouraged the use of polling but said it was a  
viable way to solve _some_ problems. And of course, there are always  
more ways than established in all cases to solve a problem; one must  
think outside the box of course. And that is a design problem worthy  
of any engineer.

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


Re: Where to FreeBSD Boot Manager?

2005-08-21 Thread Jerahmy Pocott


On 22/08/2005, at 12:17 AM, Soo-Hyun Choi wrote:



Hi,

I'm trying to install FreeBSD on my system which has two separate HDD
(each has 40GB). I am already using the first drive (e.g., C drive)
only for Window XP and now would like to install FreeBSD on the second
drive (e.g., D drive).

Which drive should I install the FreeBSD Boot Manager?



That really depends on how you want to do it..

If you want the use boot manager that comes with FreeBSD you will  
need to

install it on the primary disk (C drive)..

I don't really know much about XP, but isn't it based on NT? The NT  
system

also has its own boot manager which you could use instead.. But XP might
not have it..



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


Fwd: presario amd64 boot fails

2005-08-21 Thread Damon Blom


--  Forwarded Message  --

Subject: presario amd64 boot fails
Date: Sunday 14 August 2005 03:14 pm
From: Damon Blom <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Hi
5_3_30Dec2004 Freebsd
   hp Presario r3000
   cannot update. ran cvsup current for current source.
  build world, build kernel, installkernel
  device.hints:
 hint.acpi.o.disabled="1"
 hint.apic.0.disabled="1"
 hw.acpi.skip_timer_override="1"
 hint.atkbd.0.flags="0x9"
 boot kernel   loader prompt
 freezes after writing loading ich.ko
 loading sound.ko
 Thank's so much for any help
  Damon.

---
Hi
   Boots fine freebsd-current. 7.0. I put "o" instead of "0"
in hint.atkbd.0.flags="0x9".
   Thank's
Damon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


reassigning boot drive

2005-08-21 Thread modelt20
Hello All:

When my computer was assembled, the CDROM was attached
as master on the first (primary) IDE channel, and the
hard drive was attached as master on the second
(secondary) IDE channel. 
It has now become desirable for me to rearrange my
drives, but I have accumulated a lot of configurations
and settings on my hard disk, so reinstalling is not
attractive. 

Has anyone tried reassigning the boot disk from ad1 to
ad0? What pitfalls are there?

Thanks in advance.

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


MIME stuff pertaining to yesterday's mail

2005-08-21 Thread Gary Kline

Folks,

Well, I  was right on one thing.  In order to mail a file
that both mutt/elm/mail and a GUI/HTML reader can grok,
you *do* see to ^Content-type: headers.  The first for the
plaintext reader, the second for the HTML reader.

Among the mail header must be a long string such as:

Content-Type: multipart/alternative; boundary="=-A1X2"

and following the line count (^Lines:  35) is this test

--=-A1X2
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
 
  test
 

evolution is smart enough to center where I indicated the
center icon.  Immediately below this is the boundary "END"
string.  Followed by the std HTML that I've been hand coding
since '93.  Followed by the boundary EOF (of sorts).

--=-A1X2
Content-Type: text/html; charset=utf-8
 


 test 

  


test


 
--=-A1X2--

If there is an easier way to do this with my N hundred blurbs,
could somebody clue me in?   This will only take a script of
some kind and is probably too specialized to turn into a 
port, but I'll share this with anybody who wants it.  

gary


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

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


Re: rkhunter gives warning for lsof

2005-08-21 Thread [EMAIL PROTECTED]
On Sun, 21 Aug 2005 07:32:59 +
Pat Maddox <[EMAIL PROTECTED]> wrote:

> I ran rkhunter and got this warning:
> lsof: WARNING: compiled for FreeBSD release 5.4-RELEASE; this is 
> 5.4-RELEASE-p6.
> 
> I'm guessing what it means is that when I upgraded the base system
> that lsof wasn't rebuilt along with it?  Is that going to cause a
> problem at all?  How do I rebuild it so that I don't get that warning
> every time I run rkhunter?

portupgrade -rf lsof*

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


Glib 2.6.6 : eval: 1: Syntax error: "|" unexpected

2005-08-21 Thread Luchezar Petkov
Hello.
I'm trying to compile Glib 2.6.6 and get this error:
eval: 1: Syntax error: "|" unexpected
gmake[4]: *** [libglib-2.0.la] Error 2
gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/glib20.
--
My /etc/make.conf :

CFLAGS=-march=i386 -mtune=i386 -O3 -pipe -fomit-frame-pointer -funroll-loops
CXXFLAGS="$CFLAGS"

CHOST="i686-unknown-freebsd5.4"

FETCHCOMMAND='/usr/bin/fetch -o "${DISTDIR}/${FILE}" ${URI}'
FEATURES="-sandbox buildpkg noauto"

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


Re: Postfix / Fetchmail Question

2005-08-21 Thread Graham Bentley

> Why not just put a .forward (containing the dest. address)
> file in the  users home?

Works perfectly - thanks !

>2) Is it possible to have a copy of all in / out mail sent to
> the boss's email box ?

Incoming is easy with always_bbc = bossacount in main.cf

Thanks for help !


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


RE: mail not being delivered

2005-08-21 Thread Glenn Dawson

At 02:35 PM 8/21/2005, Joe Wood wrote:

The message has since been deleted and I cannot give an exact message, but
it says the message has been queued for X days and will be deleted. The
messages then goes on to show the email that was waiting to be delivered and
it is what appears to be the security logs, and among the others are various
cron jobs that failed delivery as well.


That's all typical for that type of message.  Before the copy of the 
message that was undeliverable there should be a line indicating what 
the problem was.



 I am not sure if this would affect
it but about a week ago (the same time this started) we were doing some
reconfigurations on the network and the 3600 series router this machine was
on. There was about 2 hours of down time and my mailbox was flooded with
cron jobs not working (which I expected since they are internet related
jobs) after that all email just stopped.


Depending on what those reconfigurations were, they may or may not be 
related.  This is just a guess, but make sure that the machine in 
question can resolve names properly.


-Glenn



Sorry for the lack of information

Joe

-Original Message-
From: Glenn Dawson [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 21, 2005 5:07 PM
To: Joe Wood; [EMAIL PROTECTED]
Subject: Re: mail not being delivered

At 01:56 PM 8/21/2005, Joe Wood wrote:
>I am running fbsd 5.4, this server has been up for about 70 days and just
>recently (maybe within the last 4 days) I have not been receiving the usual
>security and daily summery reports, but every 2 or 3 days I will get the
>message undeliverable email. Is there any reason why I would not be able to
>get these anymore?

What does the "undeliverable" message say?  If you're not sure how to
interpret it, someone on the list probably can.  Without that
information, all anyone can do is guess what the problem might be.

-Glenn


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

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


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


RE: mail not being delivered

2005-08-21 Thread Joe Wood
The message has since been deleted and I cannot give an exact message, but
it says the message has been queued for X days and will be deleted. The
messages then goes on to show the email that was waiting to be delivered and
it is what appears to be the security logs, and among the others are various
cron jobs that failed delivery as well. I am not sure if this would affect
it but about a week ago (the same time this started) we were doing some
reconfigurations on the network and the 3600 series router this machine was
on. There was about 2 hours of down time and my mailbox was flooded with
cron jobs not working (which I expected since they are internet related
jobs) after that all email just stopped.

Sorry for the lack of information

Joe

-Original Message-
From: Glenn Dawson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 21, 2005 5:07 PM
To: Joe Wood; [EMAIL PROTECTED]
Subject: Re: mail not being delivered

At 01:56 PM 8/21/2005, Joe Wood wrote:
>I am running fbsd 5.4, this server has been up for about 70 days and just
>recently (maybe within the last 4 days) I have not been receiving the usual
>security and daily summery reports, but every 2 or 3 days I will get the
>message undeliverable email. Is there any reason why I would not be able to
>get these anymore?

What does the "undeliverable" message say?  If you're not sure how to 
interpret it, someone on the list probably can.  Without that 
information, all anyone can do is guess what the problem might be.

-Glenn


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

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


Re: WinXP administration guide for unix guru

2005-08-21 Thread Kurt Buff
Paul Schmehl wrote:
> --On August 20, 2005 6:02:18 PM -1000 Kent Hauser
> <[EMAIL PROTECTED]> wrote:
> 
>>
>> I've been a Unix sysadmin  (SunOS 3.x, 4.x, Solaris, FreeBSD) for 15
>> years, but am now being forced to learn how to run a collection of XP
>> boxes.
>>
>> Can anyone recommend a book which explains this confusing beast? I'm
>> talking about a book which explains where things are put (equiv of
>> /var/mail, /etc/passwd, /etc/rc.conf), where application data is stored,
>> how printers, disks, etc are shared, how to book in "fixit disk" mode,
>> how to
>> backup/restore, how to configure swap space. And also questions like why
>> XP is "professional", etc.
>>
> First I'll say a prayer for you.  Having been a long time Windows expert
> and now a competent journeyman on *nix, I can tell you that your
> learning curve will be high.
> 
> I'm afraid I don't know any books that I can recommend.  I can tell you
> that your biggest frustration will be the strong emphasis on the GUI for
> management and the almost complete lack of the tools you're used to
> using (find, grep, awk, sed, cut, tail, vi, etc.)

If that's the worst of his worries, he'll be doing just fine.

All he has to do is visit a couple of web sites:

http://unxutils.sourceforge.net - many of the unixish tools you lament.

http://www.sysinternals.com - all sorts of nifty tools for Windows

http://www.vim.org - VIM for Windows

But, for more complete knowledge, a visit to another web site might be
in order:

http://www.bookpool.com - perhaps one or both of the following:

http://www.bookpool.com/sm/0596008988

http://www.bookpool.com/sm/0735621675

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


Re: mail not being delivered

2005-08-21 Thread Glenn Dawson

At 01:56 PM 8/21/2005, Joe Wood wrote:

I am running fbsd 5.4, this server has been up for about 70 days and just
recently (maybe within the last 4 days) I have not been receiving the usual
security and daily summery reports, but every 2 or 3 days I will get the
message undeliverable email. Is there any reason why I would not be able to
get these anymore?


What does the "undeliverable" message say?  If you're not sure how to 
interpret it, someone on the list probably can.  Without that 
information, all anyone can do is guess what the problem might be.


-Glenn





Thanks

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


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


Re: Network Interface 'overload' in 4.11

2005-08-21 Thread Danial Thom


--- Martin Hepworth <[EMAIL PROTECTED]> wrote:

> Therere's things you cvan do with reasonable
> low end managed switches
> for bandwidth thottling etc. BTW I fing
> symantec 'no the best' and
> prefer Sophos (theres a nice free trial version
> you can download). I'd
> also run some of the anti-spyware programs on
> the boxes (you'll need
> to run more than one) and sometimes the AV
> software can be particular
> about whats viral and whats spyware..
> 
> --
> Martin
> 
> On 8/18/05, Jim Durham <[EMAIL PROTECTED]>
> wrote:
> > On Thursday 18 August 2005 02:31 pm, you
> wrote:
> > > Sounds like viral activity to me. I has
> this at work recently
> > > where 2 mtob infected machines where able
> to bring the entire
> > > 100mbs switched network to its needs  If
> you run ethereal you
> > > may find the network is being flooded by
> arp lookups from the
> > > Windows machine in question.
> > 
> > Yes. I agree. Although we've run Symantec on
> the silly box and
> > nothing is there with the latest identity
> files. In fact, now
> > you can hook it back up to the net and all is
> fine. Maybe it got
> > fixed by one of the 'anti-worm worms' ?  8-)
> .
> > 
> > What I was really wondering is if there is
> some way of preventing
> > one silly Windows box from taking the FreeBSD
> server into a
> > state where it is pretty much useless
> network-wise.
> > 
> > Setting throttling is one thing that was
> suggested, but as I
> > recall, when I tried that, it actually made
> no difference
> > because it throttled the interface and it was
> useless anyway.
> > 
> > Doesn't ethereal really just run tcpdump? 
> Tcpdump showed very
> > little. I guess because it was running on the
> same machine and
> > the machine wasn't delivering packets to the
> internal
> > networking..or it was infernally slow and it
> didn't get much to
> > show.
> > 
> > Probably if I had a 2nd FreeBSD box
> monitoring the network on a
> > hub insdtead of a switch, that would work,
> but this is an "outer
> > office" with no on-site IT staff and that is
> sort of hard to
> > accomplish.
> > 
> > Thanks!
> > 
> > -Jim

The obvious thing to do is don't connect everyone
to the gig backbone at a gigabit. It doesn't
sound like the 4.11 box was the problem; it
sounds like there was no bandwidth for any other
traffic on the wire because the haywire box was
filling it with garbage. So it needs to be fixed
at the source.

DT

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WinXP administration guide for unix guru

2005-08-21 Thread Paul Schmehl
--On August 20, 2005 6:02:18 PM -1000 Kent Hauser <[EMAIL PROTECTED]> 
wrote:


I've been a Unix sysadmin  (SunOS 3.x, 4.x, Solaris, FreeBSD) for 15
years, but am now being forced to learn how to run a collection of XP
boxes.

Can anyone recommend a book which explains this confusing beast? I'm
talking about a book which explains where things are put (equiv of
/var/mail, /etc/passwd, /etc/rc.conf), where application data is stored,
how printers, disks, etc are shared, how to book in "fixit disk" mode,
how to
backup/restore, how to configure swap space. And also questions like why
XP is "professional", etc.

First I'll say a prayer for you.  Having been a long time Windows expert 
and now a competent journeyman on *nix, I can tell you that your learning 
curve will be high.


I'm afraid I don't know any books that I can recommend.  I can tell you 
that your biggest frustration will be the strong emphasis on the GUI for 
management and the almost complete lack of the tools you're used to using 
(find, grep, awk, sed, cut, tail, vi, etc.)


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Yet another simple sound question....

2005-08-21 Thread Theodore
Στις Saturday 20 August 2005 05:10, ο/η Eric Murphy έγραψε:
> I had thought that my Sound Blaster Audigy driver (emu10k1) only
> supported 2 channels (or 2 speakers) however upon playin an mp3
> today i noticed that I was getting sound out of all my speakers
> includeing my sub.  So how do i adject the channels as turning up
> certain speakers or tuning the sub?
>
>
> On a side note: anyone else thats useing raid and 6.0 getting
> random reboots? ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

I have audigy 2 and i use this driver:
http://chibis.persons.gfk.ru/audigy/
which has an emuctrl program where you can adjust the volume for
front rear sub etc.
I am using 5.4 though and it appears that you are using 6 so i don't 
know if it will work for you. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mail not being delivered

2005-08-21 Thread Joe Wood
I am running fbsd 5.4, this server has been up for about 70 days and just
recently (maybe within the last 4 days) I have not been receiving the usual
security and daily summery reports, but every 2 or 3 days I will get the
message undeliverable email. Is there any reason why I would not be able to
get these anymore?

 

Thanks

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


Re: Graphics Card memory as swap dev?

2005-08-21 Thread Kris Kennaway
On Sun, Aug 21, 2005 at 09:52:12PM +0200, Nagilum wrote:
> Hi,
> after reading 
> http://hedera.linuxnews.pl/_news/2002/09/03/_long/1445.html I was 
> wondering if this would be possible with FreeBSD?
> I have a Soekris 4801 box which has way too less memory and no room for 
> more so I was thinking if I could use a graphics card to mitigate the 
> problem a bit..
> Thanks...

No, sorry.

Kris

pgp6KurhsHagE.pgp
Description: PGP signature


Re: Package Names: gls & import

2005-08-21 Thread Kris Kennaway
On Sat, Aug 20, 2005 at 09:19:02PM -0400, Tim Holmes wrote:
> 
> I'm trying to get the command import and gls installed.  I just recently
> installed 5.4, and can't remember which package gave me gls, along with
> some other GNU tools.  I know there's gnuls, but the package I found had
> a number of basic GNU tools, and gls was amoung them.
> 
> The other command is import.  I've done a make search key="" for
> both gls and import and have gotten a lot of things that don't seem to be
> what I'm looking for.  Can anybody possibley tell me which packages those
> commands reside in?

Install portupgrade and use the pkg_which command.

Kris


pgpHAMGLRaWlP.pgp
Description: PGP signature


Subject: "dk-milter" installation

2005-08-21 Thread Hanno Krusken
> Message: 30
> Date: Sun, 21 Aug 2005 15:42:56 -0400
> From: Gerard Seibert <[EMAIL PROTECTED]>
> Subject: "dk-milter" installation
> To: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="UTF-8"
> 
> I was wondering if anyone has installed the 'dk-milter-0.3.0_1' port. I
> installed it, but I could not get it to run. I received several error
> messages at boot-up, even after enabling the files in
> '/usr/local/etc/rc.d', which by the way there was no documentation for.
> In fact, I was unable to find any documentation for this port on FreeBSD.
> If I could locate some decent documentation, perhaps I could get it
> running correctly.
> 
> I am running FreeBSD 5.4 with Sendmail.
> 
> -- 
> Gerard E. Seibert
> [EMAIL PROTECTED]

Hi Gerard,

edit your /etc/mail/YOUR-SENDMAIL.mc file and add this to it, workes for me 
under Sendmail-8.13_1

Xdk-filter, S=inet:[EMAIL PROTECTED]

then rebuild your sendmail make... make install make restart
have a look under:
http://www.elandsys.com/resources/sendmail/domainkeys.html
it's a very detailed description
it will say to add this to the .mc file, but it will not work with out 
reporting errors.
INPUT_MAIL_FILTER(`dk-filter', `S=inet:[EMAIL PROTECTED]')

use:
Xdk-filter, S=inet:[EMAIL PROTECTED]
to avoid errors at boot time.

I got the domainkey build, but still strugle to auto sign.


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


Re: Network Interface 'overload' in 4.11

2005-08-21 Thread Martin Hepworth
Therere's things you cvan do with reasonable low end managed switches
for bandwidth thottling etc. BTW I fing symantec 'no the best' and
prefer Sophos (theres a nice free trial version you can download). I'd
also run some of the anti-spyware programs on the boxes (you'll need
to run more than one) and sometimes the AV software can be particular
about whats viral and whats spyware..

--
Martin

On 8/18/05, Jim Durham <[EMAIL PROTECTED]> wrote:
> On Thursday 18 August 2005 02:31 pm, you wrote:
> > Sounds like viral activity to me. I has this at work recently
> > where 2 mtob infected machines where able to bring the entire
> > 100mbs switched network to its needs  If you run ethereal you
> > may find the network is being flooded by arp lookups from the
> > Windows machine in question.
> 
> Yes. I agree. Although we've run Symantec on the silly box and
> nothing is there with the latest identity files. In fact, now
> you can hook it back up to the net and all is fine. Maybe it got
> fixed by one of the 'anti-worm worms' ?  8-) .
> 
> What I was really wondering is if there is some way of preventing
> one silly Windows box from taking the FreeBSD server into a
> state where it is pretty much useless network-wise.
> 
> Setting throttling is one thing that was suggested, but as I
> recall, when I tried that, it actually made no difference
> because it throttled the interface and it was useless anyway.
> 
> Doesn't ethereal really just run tcpdump?  Tcpdump showed very
> little. I guess because it was running on the same machine and
> the machine wasn't delivering packets to the internal
> networking..or it was infernally slow and it didn't get much to
> show.
> 
> Probably if I had a 2nd FreeBSD box monitoring the network on a
> hub insdtead of a switch, that would work, but this is an "outer
> office" with no on-site IT staff and that is sort of hard to
> accomplish.
> 
> Thanks!
> 
> -Jim
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Few simple questions..

2005-08-21 Thread Giorgos Keramidas
On 2005-08-21 01:50, Eric Murphy <[EMAIL PROTECTED]> wrote:
> QUESTION:::3
>
> I recently installed something called feedparaser its a news feed
> parser that works with some desklets.  I installed it by issueing this
> command: python setup.py install...  How can I remove these packages?
> Ive checked all over online and in the --help theres a bunch of
> install commands but no deinstall commands?

Welcome to the world of stupid Python-based installers.  I still don't
know why people use "setup.py" to distribute Python stuff, but that's
probably just me getting old and grumpy I guess.

I'd recommend using the Ports the next time :-)

The feedparser you installed manually seems to be available as
textproc/py-feedparser in the Ports collection.

% [EMAIL PROTECTED]:/home/giorgos$ ls -ld /usr/ports/*/*feed*
% drwxr-xr-x  3 root  wheel  - 512 Aug 14 03:24 /usr/ports/mail/smtpfeed
% drwxr-xr-x  3 root  wheel  - 512 Aug 14 03:28 /usr/ports/news/cleanfeed
% drwxr-xr-x  3 root  wheel  - 512 Apr  9 20:20 
/usr/ports/textproc/py-feedparser
% drwxr-xr-x  3 root  wheel  - 512 May 29 03:45 /usr/ports/www/feedonfeeds
% [EMAIL PROTECTED]:/home/giorgos$
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Graphics Card memory as swap dev?

2005-08-21 Thread Nagilum

Hi,
after reading 
http://hedera.linuxnews.pl/_news/2002/09/03/_long/1445.html I was 
wondering if this would be possible with FreeBSD?
I have a Soekris 4801 box which has way too less memory and no room for 
more so I was thinking if I could use a graphics card to mitigate the 
problem a bit..

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


"dk-milter" installation

2005-08-21 Thread Gerard Seibert
I was wondering if anyone has installed the 'dk-milter-0.3.0_1' port. I
installed it, but I could not get it to run. I received several error
messages at boot-up, even after enabling the files in
'/usr/local/etc/rc.d', which by the way there was no documentation for.
In fact, I was unable to find any documentation for this port on FreeBSD.
If I could locate some decent documentation, perhaps I could get it
running correctly.

I am running FreeBSD 5.4 with Sendmail.

   __---__
_-   _--__
   __--( / \ )X_
 --XXX(   O   O  )XXX-
/XXX(   U )XXX\
  /X(  )--_  XXX\
 /X/ (  O )   XX   \X\
 X/   /XX   \__ \X
 XX__/  XX \__  -
 ---___  XXX__/  XX  \__ ---
   --  --__/   ___/\  XX/  ___---=
 -____/XX  '--- XX
   --\/XXX\ XX  /X
 \X/X/
  \XX_/X/
\X--__/  __-- /
 --XXX---  X--
\-
  --XX-

-- 
Gerard E. Seibert
[EMAIL PROTECTED]

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


Re: Postfix / Fetchmail Question

2005-08-21 Thread Nagilum

Graham Bentley wrote:


Hi All,

There are a couple of things that I would like to achieve with my
running Fetchmail / Postfix combo ;

1) When a mail comes in for a specific local user it is immediately
forwarded to another external address.

This is for when some staff work from home occasionally

I have goofed about with sender_canonical but I suspect this is more
to do with re-writing the headers /addresses etc although I am
probably getting all this round my neck a bit and getting bogged down
in reading!
 

Why not just put a .forward (containing the dest. address) file in the 
users home?



2) Is it possible to have a copy of all in / out mail sent to the
boss's email box ?

I have filled out 'aliases' and run newaliases for email that is for
non user account (for example we have [EMAIL PROTECTED] and
[EMAIL PROTECTED])
 

There are several ways to achieve that, if the account is aliased 
through /etc/aliases, just add another account to the recipient list:

boss:   [EMAIL PROTECTED],[EMAIL PROTECTED]
If the account is the final destination of several adresses you might 
want to have a look at procmail.

But be sure to tell him, otherwise it might be illegal.


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


Re: bash script

2005-08-21 Thread Nagilum

[EMAIL PROTECTED] wrote:


My knowledge in bash scripting is about medium not very advanced and all
so I am not attempting to make a connection limiter but what I want to
make is a script that checks the irc connections off a certain user and
takes some actions, mostly of this I know how to do but I got stuck at
this :
I write in a file we will call it users.allow the following:
Virtual 5
Test 7
Server 9
Power 2

This will be the file that will hold the limit of the users from where the
script reads when checks.
So my script will read from this file and if the user Virtual for example
has more than 5 connections he will kill all his processes that are
running in background.
But what what I don`t know how to do is make the script read, for example
if I start the script he starts reading from users.allow, I want it to
read an take each line, first taking the line 1 with user Virtual and
setting to a variable the number it has near it like $allow=5, next after
it finishes the process for Virtual takes Test etc.
So my need would be how can I get the script to read first line, do the
process I will make for it, then take the next line and do the process for
that user until end of file. And also after taking the first line for
example reading only the first block in it, the one with user so it can
set $user=Virtual and then to take the path with the number.
I would greatly apreciate if you can help me with this issue, I really
need this script but didn`t know what to look in the manuals for etc.
Also if you know a similar script please let me know.
 


Well, you could either use a counter:
file=$0
count=`expr 1`
lines=`wc -l <$file`
while [ $count -le $lines ]; do
   line=`sed -n ${count}p` $file
   echo $line
   count=`expr $count + 1`
done;

for a very slow version of cat ;) or you could simply grep for the line 
you need

line=`grep "Power" $file`
I hope this helps..

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


Postfix / Fetchmail Question

2005-08-21 Thread Graham Bentley

Hi All,

There are a couple of things that I would like to achieve with my
running Fetchmail / Postfix combo ;

1) When a mail comes in for a specific local user it is immediately
forwarded to another external address.

This is for when some staff work from home occasionally

I have goofed about with sender_canonical but I suspect this is more
to do with re-writing the headers /addresses etc although I am
probably getting all this round my neck a bit and getting bogged down
in reading!

2) Is it possible to have a copy of all in / out mail sent to the
boss's email box ?

I have filled out 'aliases' and run newaliases for email that is for
non user account (for example we have [EMAIL PROTECTED] and
[EMAIL PROTECTED])

Anyway, I digress, any help on the above graciously appreciated !




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


Re: OT: Re: WinXP administration guide for unix guru

2005-08-21 Thread Nikolas Britton
I have a few tips, I started my computer life as a windows guy (I hate
the dam thing now).

hmm,
Grab a copy of ActiveState's ActivePerl and a find a good Perl for Win32 book.
Most everything you want is in the "Control Panel" and you can find
"Computer Management" in there, To get to "Control Panel" click on
Start

Are you really that clueless about windows, you've never used it?
Don't your friends pester you for computer help? Maybe you should
think about resigning...

http://www.amazon.com/exec/obidos/tg/detail/-/0672322633/
http://www.amazon.com/exec/obidos/tg/detail/-/0735621527/
http://www.amazon.com/exec/obidos/tg/detail/-/0735619743/

> > Kent Hauser wrote:
> >
> > >Hi,
> > >
> > >I've been a Unix sysadmin  (SunOS 3.x, 4.x, Solaris, FreeBSD) for 15
> > >years, but am now being forced to learn how to run a collection of
> > >XP boxes.
> > >
> > >Can anyone recommend a book which explains this confusing beast? I'm
> > >talking about a book which explains where things are put (equiv of /
> > >var/mail, 

There is no /var/mail. It's stored under the users profile. click on
My computer then drive C: then Documents and Settings then %username%
then (I think) application data (the folder you want will be hidden,
in the file browser click on tools i think and then option click on
the next tab over and uncheck / check I think the first 5 boxes and
hit OK. the folder to look in is whatever mail program you use,
Outlook stores mail in a .pst file.

/etc/passwd,

Last I checked it was something like ntuser.dat or user.dat or
something like that, you can find it under Documents and
Settings\%username% but you can't do anything with that file because
it's encrypted. hmm. Click on Start >> Setting >> Control Panel >>
Computer Management and a program should pop up then you want some
like "user and group management then User management... sorry I'm
trying to remember all this from heart I don't have any windows
computers around me.

  /etc/rc.conf)

Click on Start >> Run >> type in "regedit" in the box and hit enter.
most of the things you want are under Hkey_Local_machine ... (I don't
remember... service or currentcontrolset somthing... microsoft.. etc.)
but their is hkey_current_user (think shell config file) too

, where application data is
> > >stored

C:\Program Files\%Name of App or Company of App%\

, how printers

Start >> Settings >> Printers

, disks, etc are shared, 

You have admin shares for the root of all disks by default %Diskname%$
so for drive C it would be \\hostname\C$

to share stuff double click on "My Computer" goto the folder you want
to share and right click on it and click properties, click on the tab
"share" or maybe it called sharing

how to book in "fixit
> > >disk" mode

What? hmm Try hitting the F8 key at boot, this will give you a boot menu.

, how to backup/restore, 

You need to buy a 3rd party app for that or make a perl script etc.

how to configure swap space.

Right click on "My computer" and it's its its under the tab system
maybe, It has 3 boxes in it... anyways that will get you halfway
there. click on performance button I think.

 And
> > >also questions like why XP is "professional", etc.

Marketing, the windows XP home and pro disks are the same, home can be
hacked into Pro with a simple hex editor.

BTW Don't ask me for anymore help unless you want to pay for tutoring.
I was feeling generous today when I decided to help Microsoft extend
it's monopoly without getting some of the action, I don't know why.
Maybe because I feel your pain.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Few simple questions..

2005-08-21 Thread Eric Murphy
Are you usre mixer will do all the channels? I dont see anything in it that 
would allow me to change speaker volumes?

-Original Message-
From: Svein Halvor Halvorsen <[EMAIL PROTECTED]>
Sent: Aug 21, 2005 9:51 AM
To: Eric Murphy <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Few simple questions..


* Eric Murphy [2005-08-21 01:50 -0500]
>  Hey guys I use gnuls for colorizing my outputs such as ls..ect.. its 
>  really just an alias.
:
>  So if it doesnt read /etc how can I set global colors (for all users) 
>  for a interactive shell that isnt a login shell? Without creating 
>  ~/.bashrc's in each home directory.

While this is not what you're asking, I would advise you to set the 
CLICOLOR environment variable to YES. This makes bsd-ls output in color. 

To use bsd-ls on a bsd-system make alot more sense than to use gnu-ls, 
since gnu-ls doesn't know about certain things about the UFS filesystem. 
Ie. it won't recognize the -o option.

I set these eniromnet variable in login.conf:

CLICOLOR=YES
LSCOLORS=ExGxFxdxCxDxDxaccxaeex

The first make bsd-ls output in colors, and the other makes bsd-ls output 
about the same colors that gnu-ls does.


>  Im useing the emu10k1 driver and have sound comming out of all my 
>  speakers (includeing the sub) is there a way to adjust each channel? 
>  Maybe some sort of advanced mixer??

mixer(8) will do that.

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

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


Re: polling decreases throughput ~50%

2005-08-21 Thread Dmitry Mityugov
On 8/21/05, Garrett Cooper <[EMAIL PROTECTED]> wrote:
...
> Heh. We just discussed polling vs interrupts in an embedded systems
> class this past quarter. Interrupts are better for more intermittent use
> and polling is better for more frequent use, as polling is actually a
> deadloop of course-for checking a flag most of the time-with potentially
> a lot of wasted clock cycles before a context switch is made and the
> task that was being polled for is run. Also, considering that actual
> computer hardware isn't going to be running 100% of the time (except for
> the CPU running idle tasks and stuff), interrupts are by far the better
> way to go in general. But yeah... too many interrupts are bad as well...
> Anyhow, that was sidetracking a bit :).

Probably a good solution to this problem is to switch to the polling
mode when you get an interrupt (or a few interrupts in a row), and
switch back to the interrupt mode when the line has been idle for a
while.

-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: burncd multiple files

2005-08-21 Thread Fabian Keil
dick hoogendijk <[EMAIL PROTECTED]> wrote:

> I have a directory full with mp3 files and want to burn them to CD with
> burncd. Is there an easy way to do this in stead of writing down all
> filenames to do a "burncd  data file1 file2 file3 fixate" ??
> 
> If it can be done with burncd I'll be happy. If not I have to use one of
> those X programs. (hope not; I like burncd)

If you want to be able to read back the data later,
you should consider creating an image with mkisofs first.

It's in /usr/ports/sysutils/cdrtools-devel.

Read the handbook for more information:


Fabian
-- 
http://www.fabiankeil.de/


pgp5lcQrpuOWw.pgp
Description: PGP signature


burncd multiple files

2005-08-21 Thread dick hoogendijk
I have a directory full with mp3 files and want to burn them to CD with
burncd. Is there an easy way to do this in stead of writing down all
filenames to do a "burncd  data file1 file2 file3 fixate" ??

If it can be done with burncd I'll be happy. If not I have to use one of
those X programs. (hope not; I like burncd)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Partial web page loading

2005-08-21 Thread Subhro

Andrew Waranowski sat at his 'puter and typed on 8/21/2005 21:31:


Hey, I have the same problem over here, except that I can recreate the problem 
well easily and predictably.  I don't know a whole lot about computers but this 
is very weird.  Here's what happened:

I have a website that I'm working on in PHP.  I have a few pages that have text 
and image content and when I go to them, they either load completely or 
partially.  If it's only partially loaded, I can refresh the page a few times 
and then it will show the whole contents of the PHP file it's displaying.  At 
first I thought it had something to do with server caching, but then I found 
that when the web browser displays the whole page, I can refresh it a few times 
and it will display only a portion of the page; it cuts off right in the middle 
of some text.  Weird!  And I've looked at the HTML very carefully - everything 
is as it should be.  The browser cuts off at a seemingly arbitrary place in the 
HTML and does not even include the footer.inc file I included.  Very very 
strange.  Let me know if you get any kind of insight about the problem.  Thanks
   
___

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

 


If it is not a private page, can we have a look at it?

Thanks
S.

--
-+-
 \   /  | Subhro Sankha Kar
  \./   |   GSM: +919831064613  Egold: 2078232
 (0Y0)  |MSN:[EMAIL PROTECTED]  -- Yahoo: subhro82
--ooO--(_)--Ooo--+-

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


only five tun interface

2005-08-21 Thread vladone
Hi!
I have setup an pppoe concentrator on freebsd 5.4 machine. Now i see,
on testing with ifconfig only 5 tun interface.
This mean that only 5 users can connect at time, or, if is needed then
are created more tun interface?
If no, how i can create more tun interface, setting probably ppp.conf?

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


Partial web page loading

2005-08-21 Thread Andrew Waranowski

Hey, I have the same problem over here, except that I can recreate the problem 
well easily and predictably.  I don't know a whole lot about computers but this 
is very weird.  Here's what happened:

I have a website that I'm working on in PHP.  I have a few pages that have text 
and image content and when I go to them, they either load completely or 
partially.  If it's only partially loaded, I can refresh the page a few times 
and then it will show the whole contents of the PHP file it's displaying.  At 
first I thought it had something to do with server caching, but then I found 
that when the web browser displays the whole page, I can refresh it a few times 
and it will display only a portion of the page; it cuts off right in the middle 
of some text.  Weird!  And I've looked at the HTML very carefully - everything 
is as it should be.  The browser cuts off at a seemingly arbitrary place in the 
HTML and does not even include the footer.inc file I included.  Very very 
strange.  Let me know if you get any kind of insight about the problem.  Thanks

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


Re: polling decreases throughput ~50%

2005-08-21 Thread Danial Thom


--- Garrett Cooper <[EMAIL PROTECTED]>
wrote:

> Danial Thom wrote:
> 
> >--- Victor Semionov <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >Why is that? I thought polling should
> >  
> >
> >>decrease CPU usage by avoiding too
> >>
> >>
> >many context switches when a hw irq is
> >  
> >
> >>generated frequently, but it
> >>
> >>
> >shouldn't make the transfer slower if
> >  
> >
> >>there are no other jobs running.
> >>
> >>
> >>>You have to poll often enough to keep the
> >>>  
> >>>
> >>pipe full, otherwise your max
> >>
> >>
> >>>throughput can be limited.  Also, rl
> hardware
> >>>  
> >>>
> >>isn't the greatest and
> >>
> >>
> >>>probably requires a lot more CPU than a
> >>>  
> >>>
> >>device with working buffer/DMA
> >>
> >>
> >>>design.
> >>>  
> >>>
> >>HZ is 1000, which I guess should be more than
> >>enough with 
> >>kern.polling.burst_max=150.
> >>
> >>Indeed, it was hardware's fault - my other
> NIC
> >>is a fxp and I got much better 
> >>results with it - less CPU, while throughput
> >>stayed the same as without 
> >>polling.
> >>
> >>
> >
> >Great. So you've added 900 totally unnecessary
> >context switches, plus all of the rubbish that
> >gets done every clock tick, even when there is
> no
> >traffic. Brilliant.
> >
> >Modern hardware doesn't interrupt every
> packet;
> >in fact with intel em controllers its easily
> >tunable, so you get the advantages of polling
> >without the disadvantages of having a system
> >designed by an idiot. Polling will cause you
> to
> >lose tons of packets under bursts of heavy
> load.
> >Although it is downright comical that you're
> >concerned about cpu cycles but you were using
> the
> >slowest, least efficient ethernet controller
> ever
> >conceived.
> >
> >The fxp driver has a built-in hold off of 6000
> >ints/sec (which is 1/6000th of a second for
> you
> >mathletes). There is no reason to use polling
> >with intel hardware; in fact its a big
> negative.
> >
> >Danial
> >
> Heh. We just discussed polling vs
> interrupts in an embedded systems 
> class this past quarter. Interrupts are better
> for more intermittent use 
> and polling is better for more frequent use, as
> polling is actually a 
> deadloop of course-for checking a flag most of
> the time-with potentially 
> a lot of wasted clock cycles before a context
> switch is made and the 
> task that was being polled for is run. Also,
> considering that actual 
> computer hardware isn't going to be running
> 100% of the time (except for 
> the CPU running idle tasks and stuff),
> interrupts are by far the better 
> way to go in general. But yeah... too many
> interrupts are bad as well...
> Anyhow, that was sidetracking a bit :).
> -Garrett

The problem with a "discussion" is that IQ isn't
cumulative. So if no one in the discussion has a
clue, then the conclusions don't mean much. If
you argue the merits of polling based on wrong
information (like the assumption that you'll get
a hardware interrupt for each event), then you've
just wasted a lot of time and learned nothing.

You seem to have missed the point that hardware
has hold-offs that negate ANY need for polling.
Polling is a non-solution to a non-problem in the
modern world.

Danial

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Where to FreeBSD Boot Manager?

2005-08-21 Thread Gary W. Swearingen
Garrett Cooper <[EMAIL PROTECTED]> writes:
> Soo-Hyun Choi wrote:
>>
>>Which drive should I install the FreeBSD Boot Manager?
>>
>>Thank you.
>>
> Your primary 1st channel IDE drive-the one you have devoted for Windows 
> use-unless you plan on using a bootdisk to
> startup FreeBSD :).

If you have or can install a fancy boot manager (i.e., not FreeBSD's),
starting in the MBR of the first disk, then you can sometimes do
without a BM on the second disk, but if you're going to use a normal
FreeBSD disk layout and you don't have a fancy BM, then you'll
normally want a FreeBSD Boot Manager in the MBR of both disks.  The
first one lets you boot from the partitions on the first disk or start
the second disk's MBR from which you can boot FreeBSD.  Except I don't
know about dual booting with MSFT OSes.  I've read it's possible with
the FreeBSD BM.  The list archives have info on that.



Garrett: I got my BSEE from your school before it became the MSFT
Academy. :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Few simple questions..

2005-08-21 Thread Svein Halvor Halvorsen

* Eric Murphy [2005-08-21 01:50 -0500]
>  Hey guys I use gnuls for colorizing my outputs such as ls..ect.. its 
>  really just an alias.
:
>  So if it doesnt read /etc how can I set global colors (for all users) 
>  for a interactive shell that isnt a login shell? Without creating 
>  ~/.bashrc's in each home directory.

While this is not what you're asking, I would advise you to set the 
CLICOLOR environment variable to YES. This makes bsd-ls output in color. 

To use bsd-ls on a bsd-system make alot more sense than to use gnu-ls, 
since gnu-ls doesn't know about certain things about the UFS filesystem. 
Ie. it won't recognize the -o option.

I set these eniromnet variable in login.conf:

CLICOLOR=YES
LSCOLORS=ExGxFxdxCxDxDxaccxaeex

The first make bsd-ls output in colors, and the other makes bsd-ls output 
about the same colors that gnu-ls does.


>  Im useing the emu10k1 driver and have sound comming out of all my 
>  speakers (includeing the sub) is there a way to adjust each channel? 
>  Maybe some sort of advanced mixer??

mixer(8) will do that.

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


Re: polling decreases throughput ~50%

2005-08-21 Thread Garrett Cooper

Danial Thom wrote:


--- Victor Semionov <[EMAIL PROTECTED]> wrote:

 


Why is that? I thought polling should
 


decrease CPU usage by avoiding too
   


many context switches when a hw irq is
 


generated frequently, but it
   


shouldn't make the transfer slower if
 


there are no other jobs running.
   


You have to poll often enough to keep the
 


pipe full, otherwise your max
   


throughput can be limited.  Also, rl hardware
 


isn't the greatest and
   


probably requires a lot more CPU than a
 


device with working buffer/DMA
   


design.
 


HZ is 1000, which I guess should be more than
enough with 
kern.polling.burst_max=150.


Indeed, it was hardware's fault - my other NIC
is a fxp and I got much better 
results with it - less CPU, while throughput
stayed the same as without 
polling.
   



Great. So you've added 900 totally unnecessary
context switches, plus all of the rubbish that
gets done every clock tick, even when there is no
traffic. Brilliant.

Modern hardware doesn't interrupt every packet;
in fact with intel em controllers its easily
tunable, so you get the advantages of polling
without the disadvantages of having a system
designed by an idiot. Polling will cause you to
lose tons of packets under bursts of heavy load.
Although it is downright comical that you're
concerned about cpu cycles but you were using the
slowest, least efficient ethernet controller ever
conceived.

The fxp driver has a built-in hold off of 6000
ints/sec (which is 1/6000th of a second for you
mathletes). There is no reason to use polling
with intel hardware; in fact its a big negative.

Danial

   Heh. We just discussed polling vs interrupts in an embedded systems 
class this past quarter. Interrupts are better for more intermittent use 
and polling is better for more frequent use, as polling is actually a 
deadloop of course-for checking a flag most of the time-with potentially 
a lot of wasted clock cycles before a context switch is made and the 
task that was being polled for is run. Also, considering that actual 
computer hardware isn't going to be running 100% of the time (except for 
the CPU running idle tasks and stuff), interrupts are by far the better 
way to go in general. But yeah... too many interrupts are bad as well...

   Anyhow, that was sidetracking a bit :).
-Garrett
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Where to FreeBSD Boot Manager?

2005-08-21 Thread Garrett Cooper

Soo-Hyun Choi wrote:


Hi,

I'm trying to install FreeBSD on my system which has two separate HDD
(each has 40GB). I am already using the first drive (e.g., C drive)
only for Window XP and now would like to install FreeBSD on the second
drive (e.g., D drive).

Which drive should I install the FreeBSD Boot Manager?

Thank you.

   Your primary 1st channel IDE drive-the one you have devoted for 
Windows use-unless you plan on using a bootdisk to startup FreeBSD :).

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


Re: Few simple questions..

2005-08-21 Thread Garrett Cooper

Gary W. Swearingen wrote:


Eric Murphy <[EMAIL PROTECTED]> writes:
 


I recently installed something called feedparaser its a news feed parser that 
works with some desklets.  I installed it by issueing this command:  python 
setup.py install...   How can I remove these packages? Ive checked all over 
online and in the --help theres a bunch of install commands but no deinstall 
commands?
   

   Have you tried 'python setup.py uninstall' :)? Python commands are 
all scripted so doing a little searching through the setup.py script for 
any text relating to 'install' will most likely be faster than searching 
for the uninstall directions online.

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


Re: Monitor Tuning

2005-08-21 Thread Garrett Cooper

Sean wrote:


Greg 'groggy' Lehey wrote:


On Friday, 12 August 2005 at 15:52:13 -0400, Sean wrote:

My display is not very sharp and I was looking for a few tips that 
might

help to cure things. I tweeked a few things and no luck. Still a soft
dull image. Little annoying on the eyes.

Is anyone running a NEC Multisync XV17+ with an Nvidia 6500 ultra and
getting a sharp display?

Excerpts from my xorg.conf will give you my monitor and graphics card.




Others have said this already, but to clarify: adjusting the monitor
parameters may enable you to get higher resolution or less flicker,
but they're unlikely to make it sharper unless they were previously
out of the operating range.  Nowadays that's seldom, since monitors
will just refuse to operate out of spec.

Your monitor may be old, but that doesn't mean in itself that it's
worn out.  I'm still using an Eizo (Nanao) monitor made in 1989.  It's
no longer the best, but it still works.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original 
recipients.

For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.



Thanks Greg

I will play with settings further.

Sean


   Speaking of Monitor tuning... I remembered about this website after 
I ran into it on a forum that I frequent.. this will help you setup your 
monitor resolution correctly and it improves the refresh rate actually 
quite a bit: .

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


Re: OT: Re: WinXP administration guide for unix guru

2005-08-21 Thread Garrett Cooper

Andrew L. Gould wrote:


On Sun, 21 Aug 2005 04:17:03 -0400
Louis LeBlanc <[EMAIL PROTECTED]> wrote:

 


On 08/20/05 11:23 PM, Andrew L. Gould sat at the `puter and typed:
   


On Sun, 21 Aug 2005 07:09:52 +0300
Ovidiu Ene <[EMAIL PROTECTED]> wrote:

 


is this a joke?

Kent Hauser wrote:

   


Hi,

I've been a Unix sysadmin  (SunOS 3.x, 4.x, Solaris, FreeBSD)
for 15 years, but am now being forced to learn how to run a
collection of XP boxes.

Can anyone recommend a book which explains this confusing beast?
I'm talking about a book which explains where things are put
(equiv of / var/mail, /etc/passwd, /etc/rc.conf), where
application data is stored, how printers, disks, etc are shared,
how to book in "fixit disk" mode, how to backup/restore, how to
configure swap space. And also questions like why XP is
"professional", etc.

I know it's a bit off topic, but I'm having a hard time figuring
the system to what's what in XP.

Thanks, Kent
 


There are lots of WinXP administration books in the bookstores.
Although there are several books for Windows users moving to Unix,
I've not seen one for the other direction.

There is an O'Reilly book called "Windows XP Annoyances for
Geeks".  It may not help; but at least it has a cool title.  ;-)
 


Does it tell you why XP requires any user wishing to print to a
network printer must have administrator privileges?

Stupid XP.

Lou
--
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2
   



Probably not.  I have normal WinXP users here at home printing to
printers on a Hawking print server using IPP.

Andrew Gould

   Have fun and good luck Kent. Many of the resources for administering 
Windows machines is more difficult as the resources are more obscure 
than for Unix. Granted, a lot of the stuff comes easily as it's 
ascessible via preexisting menus, shortcuts and so forth, so you don't 
have to venture too far for a lot of the important things. However, 
there are quite a few-more difficult to search for-command line commands 
which you can use with greater power to accomplish what you need to do 
as an admin. Google and outside books are your friend in this case 
(especially the Riley ones I think since they produce a lot of books on 
the subject).
   Be happy though that you aren't in charge of an actual Windows 
server product with a domain though, because those are increasingly more 
difficult to learn because of all of the little tools and junk that are 
present, a lot of them command line based. That's why the MSCE 
certification exists.

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


Re: Few simple questions..

2005-08-21 Thread Gary W. Swearingen
Eric Murphy <[EMAIL PROTECTED]> writes:

> Im useing the emu10k1 driver and have sound comming out of all my speakers 
> (includeing the sub) is there a way to adjust each channel? Maybe some sort 
> of advanced mixer??

Try: sh -c 'less $(ls -d /usr/ports/audio/*mix*/pkg-descr)'

(See "next" file with ":n")

> I recently installed something called feedparaser its a news feed parser that 
> works with some desklets.  I installed it by issueing this command:  python 
> setup.py install...   How can I remove these packages? Ive checked all over 
> online and in the --help theres a bunch of install commands but no deinstall 
> commands?

If "feedparaser" docs don't say how, look at "setup.py" code; it's
likely to be fairly easy to find where it handles that "install"
argument and you might find a corresponding thing to uninstall or
at least see what files it installed.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Where to FreeBSD Boot Manager?

2005-08-21 Thread Soo-Hyun Choi
Hi,

I'm trying to install FreeBSD on my system which has two separate HDD
(each has 40GB). I am already using the first drive (e.g., C drive)
only for Window XP and now would like to install FreeBSD on the second
drive (e.g., D drive).

Which drive should I install the FreeBSD Boot Manager?

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


RE: FXP driver....

2005-08-21 Thread Arjan van der Oest
Ted,

>sio0: configured irq 4 not in bitmap of probed irqs 0
>sio0: port may not be enabled

Yep, I see the same.
 
>Could you post your entire dmesg output, please?

After Daniel's response I've been playing around again, disabling all sort of
controllers. Still no luck so far. I can't post my dmesg at the moment, I've
disabled all comports in the bios a second ago and now the box is compaining
on the console:
 
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
 
It stopped the boot here, and there is nothing to make it reboot from the
keyboard. As I'm working on the console via KVMoIP I need to hit the reboot
switch tonight :) (no, no APC installed).
 
Arjan
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FXP driver....

2005-08-21 Thread Ted Mittelstaedt
I have a FreeBSD system running on an Intel brand motherboard
with a 945G chipset - while it doesen't do the thing with the
pings he's talking about, take a look at the following dmesg
snippet:

sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A

However, despite this the serial port does work.  I always thought
this was some harmless bug in the sio code but I wonder now if these
problems are related and it's a bug in the chipset driver in FreeBSD.

Could you post your entire dmesg output, please?

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Danial Thom
>Sent: Sunday, August 21, 2005 5:29 AM
>To: Daniel Gonzalez; [EMAIL PROTECTED]
>Subject: RE: FXP driver
>
>
>Thats the sort of thing that happens when
>interrupts aren't working.
>
>Danial
>
>--- Ted Mittelstaedt <[EMAIL PROTECTED]>
>wrote:
>
>> what about a ping from the 845G to the labbox,
>> does that do
>> the same thing?
>>
>> Ted
>>
>> >-Original Message-
>> >From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED]
>> Behalf Of Daniel Gonzalez
>> >Sent: Friday, August 19, 2005 11:12 AM
>> >To: [EMAIL PROTECTED]
>> >Subject: FXP driver
>> >
>> >
>> >>
>> >> Hi,
>> >>
>> >> I've build a new P4 box (1.8Ghz, 512MB mem)
>> based upon a ASUS P4B533VM
>> >> motherboard. This board has an Intel 845G
>> chipset and onboard 10/100
>> >> mbit/s LAN (fxp driver).
>> >>
>> >> When connected directly to a gateway (in my
>> case an Extreme BD10k) I
>> >> observe the following behaviour: a ping to
>> the gateway starts around
>> >> 1ms and slowly increases in steps of .1 or
>> .2ms to around 10ms. Then
>> >> it suddenly drops back to 1ms and the
>> process starts all over again.
>> >>
>> >> I've tried a different NIC (3com, xl
>> driver), new cabling, new
>> >> switchport and all gives me the same result.
>> My other labbox (a AMD
>> >> 2000 XP+ with 3com PCI nic) connected to the
>> same router is showing
>> >> normal latency. This gives me the feeling
>> it's some sort of timing
>> >> issue on the P4's motherboard itself.
>> >>
>> >> Has anyone seen this before? I've searched
>> the archives and found
>> >> little on this topic. Any tips/hints where I
>> can seach for further
>> >> clues?
>> >>
>> >> Thanks,
>> >>
>> >> Arjan
>> >>
>> >
>> >I haven't used the fxp driver in a while but
>> you can check out
>> >the man page
>> >for the driver (man 4 fxp) and it mentions
>> that you can disable
>> >autoselect
>> >for media type and speed. I remember reading
>> in an article (I
>> >can't locate
>> >the URL) that the autonegotiation between the
>> NIC and
>> >switch/router can be a
>> >bottleneck. That would be the easiset thing to
>> check/eliminate.
>> >Hope that
>> >helps.
>> >--
>> >Dan Gonzalez
>> >[EMAIL PROTECTED]
>> >IM: signulth
>>
>>___
>> >[EMAIL PROTECTED] mailing list
>>
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> >To unsubscribe, send any mail to
>> >"[EMAIL PROTECTED]"
>> >
>> >--
>> >No virus found in this incoming message.
>> >Checked by AVG Anti-Virus.
>> >Version: 7.0.338 / Virus Database:
>> 267.10.13/78 - Release Date:
>> >8/19/2005
>> >
>> --
>> No virus found in this outgoing message.
>> Checked by AVG Anti-Virus.
>> Version: 7.0.338 / Virus Database: 267.10.13/78
>> - Release Date: 8/19/2005
>>
>> ___
>> [EMAIL PROTECTED] mailing list
>>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>>
>
>
>__
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>___
>[EMAIL PROTECTED] mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date:
>8/19/2005
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 8/19/2005

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


Re: Monitor Tuning

2005-08-21 Thread Sean

Greg 'groggy' Lehey wrote:

On Friday, 12 August 2005 at 15:52:13 -0400, Sean wrote:


My display is not very sharp and I was looking for a few tips that might
help to cure things. I tweeked a few things and no luck. Still a soft
dull image. Little annoying on the eyes.

Is anyone running a NEC Multisync XV17+ with an Nvidia 6500 ultra and
getting a sharp display?

Excerpts from my xorg.conf will give you my monitor and graphics card.



Others have said this already, but to clarify: adjusting the monitor
parameters may enable you to get higher resolution or less flicker,
but they're unlikely to make it sharper unless they were previously
out of the operating range.  Nowadays that's seldom, since monitors
will just refuse to operate out of spec.

Your monitor may be old, but that doesn't mean in itself that it's
worn out.  I'm still using an Eizo (Nanao) monitor made in 1989.  It's
no longer the best, but it still works.

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


Thanks Greg

I will play with settings further.

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


Re: polling decreases throughput ~50%

2005-08-21 Thread Danial Thom


--- Victor Semionov <[EMAIL PROTECTED]> wrote:

> > >> Why is that? I thought polling should
> decrease CPU usage by avoiding too
> > >> many context switches when a hw irq is
> generated frequently, but it
> > >> shouldn't make the transfer slower if
> there are no other jobs running.
> >
> > You have to poll often enough to keep the
> pipe full, otherwise your max
> > throughput can be limited.  Also, rl hardware
> isn't the greatest and
> > probably requires a lot more CPU than a
> device with working buffer/DMA
> > design.
> 
> HZ is 1000, which I guess should be more than
> enough with 
> kern.polling.burst_max=150.
> 
> Indeed, it was hardware's fault - my other NIC
> is a fxp and I got much better 
> results with it - less CPU, while throughput
> stayed the same as without 
> polling.

Great. So you've added 900 totally unnecessary
context switches, plus all of the rubbish that
gets done every clock tick, even when there is no
traffic. Brilliant.

Modern hardware doesn't interrupt every packet;
in fact with intel em controllers its easily
tunable, so you get the advantages of polling
without the disadvantages of having a system
designed by an idiot. Polling will cause you to
lose tons of packets under bursts of heavy load.
Although it is downright comical that you're
concerned about cpu cycles but you were using the
slowest, least efficient ethernet controller ever
conceived.

The fxp driver has a built-in hold off of 6000
ints/sec (which is 1/6000th of a second for you
mathletes). There is no reason to use polling
with intel hardware; in fact its a big negative.

Danial

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FXP driver....

2005-08-21 Thread Danial Thom
Thats the sort of thing that happens when
interrupts aren't working.

Danial

--- Ted Mittelstaedt <[EMAIL PROTECTED]>
wrote:

> what about a ping from the 845G to the labbox,
> does that do
> the same thing?
> 
> Ted
> 
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED]
> Behalf Of Daniel Gonzalez
> >Sent: Friday, August 19, 2005 11:12 AM
> >To: [EMAIL PROTECTED]
> >Subject: FXP driver
> >
> >
> >>
> >> Hi,
> >>
> >> I've build a new P4 box (1.8Ghz, 512MB mem)
> based upon a ASUS P4B533VM
> >> motherboard. This board has an Intel 845G
> chipset and onboard 10/100
> >> mbit/s LAN (fxp driver).
> >>
> >> When connected directly to a gateway (in my
> case an Extreme BD10k) I
> >> observe the following behaviour: a ping to
> the gateway starts around
> >> 1ms and slowly increases in steps of .1 or
> .2ms to around 10ms. Then
> >> it suddenly drops back to 1ms and the
> process starts all over again.
> >>
> >> I've tried a different NIC (3com, xl
> driver), new cabling, new
> >> switchport and all gives me the same result.
> My other labbox (a AMD
> >> 2000 XP+ with 3com PCI nic) connected to the
> same router is showing
> >> normal latency. This gives me the feeling
> it's some sort of timing
> >> issue on the P4's motherboard itself.
> >>
> >> Has anyone seen this before? I've searched
> the archives and found
> >> little on this topic. Any tips/hints where I
> can seach for further
> >> clues?
> >>
> >> Thanks,
> >>
> >> Arjan
> >>
> >
> >I haven't used the fxp driver in a while but
> you can check out
> >the man page
> >for the driver (man 4 fxp) and it mentions
> that you can disable
> >autoselect
> >for media type and speed. I remember reading
> in an article (I
> >can't locate
> >the URL) that the autonegotiation between the
> NIC and
> >switch/router can be a
> >bottleneck. That would be the easiset thing to
> check/eliminate.
> >Hope that
> >helps.
> >--
> >Dan Gonzalez
> >[EMAIL PROTECTED]
> >IM: signulth
>
>___
> >[EMAIL PROTECTED] mailing list
>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> >"[EMAIL PROTECTED]"
> >
> >--
> >No virus found in this incoming message.
> >Checked by AVG Anti-Virus.
> >Version: 7.0.338 / Virus Database:
> 267.10.13/78 - Release Date:
> >8/19/2005
> >
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.13/78
> - Release Date: 8/19/2005
> 
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FXP driver....

2005-08-21 Thread Arjan van der Oest
Hi Ted,

>what about a ping from the 845G to the labbox, does that do
>the same thing?


Both are lab boxes, I assume you refer to the other AMD box. Yes, all pings
to all destinations, within the subnet, outside the subnet and outside the
entire AS show the same thing. I've been playing around now for some time,
I've disabled the onboard intel NIC (the fxp nic) and the PCI 3com shows the
same result then.

Thanks,

 

Arjan

 

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


RE: FXP driver....

2005-08-21 Thread Ted Mittelstaedt
what about a ping from the 845G to the labbox, does that do
the same thing?

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Daniel Gonzalez
>Sent: Friday, August 19, 2005 11:12 AM
>To: freebsd-questions@freebsd.org
>Subject: FXP driver
>
>
>>
>> Hi,
>>
>> I've build a new P4 box (1.8Ghz, 512MB mem) based upon a ASUS P4B533VM
>> motherboard. This board has an Intel 845G chipset and onboard 10/100
>> mbit/s LAN (fxp driver).
>>
>> When connected directly to a gateway (in my case an Extreme BD10k) I
>> observe the following behaviour: a ping to the gateway starts around
>> 1ms and slowly increases in steps of .1 or .2ms to around 10ms. Then
>> it suddenly drops back to 1ms and the process starts all over again.
>>
>> I've tried a different NIC (3com, xl driver), new cabling, new
>> switchport and all gives me the same result. My other labbox (a AMD
>> 2000 XP+ with 3com PCI nic) connected to the same router is showing
>> normal latency. This gives me the feeling it's some sort of timing
>> issue on the P4's motherboard itself.
>>
>> Has anyone seen this before? I've searched the archives and found
>> little on this topic. Any tips/hints where I can seach for further
>> clues?
>>
>> Thanks,
>>
>> Arjan
>>
>
>I haven't used the fxp driver in a while but you can check out
>the man page
>for the driver (man 4 fxp) and it mentions that you can disable
>autoselect
>for media type and speed. I remember reading in an article (I
>can't locate
>the URL) that the autonegotiation between the NIC and
>switch/router can be a
>bottleneck. That would be the easiset thing to check/eliminate.
>Hope that
>helps.
>--
>Dan Gonzalez
>[EMAIL PROTECTED]
>IM: signulth
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date:
>8/19/2005
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 8/19/2005

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


Configuring XFree86 on a Asus L7200 laptop

2005-08-21 Thread shafini M.H.
Hi Simon,
Got ur e-mail fr the net. For your info, someone wanna pass me the same laptop 
model you've been using. Can you brief me the advantage & dis :)

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


Re: FreeBSD and projects for kids

2005-08-21 Thread Heiko Grill
Am Freitag, 19. August 2005 03:12 schrieb Gayn Winters:
> I'm building a PC with my 10 year old niece.  Actually we are building
> several PC's out of junk parts that we have laying around the office.
> We are trying various OS's, including FreeBSD, on them. We are trying to
> get various devices to work: printers, scanners, sound cards,
> microphones, video boards, etc.  We're having fun (so far, at least.)
> She's learning a lot.
>
> I've been looking around for a web site (or two) for young girls
> interested in computers.  I came across LinuxChix.org (and its defunct
> special interest group BSDchix.)  It has plenty of female role models,
> but, like FreeBSD-questions, it is a little too advanced for my niece.
> Googling a bit hasn't hit any gold mines for her. But see below.
>
> Thus my questions:  any ideas for very elementary reading on computers
> for a 10 year old?  Any ideas for an appropriate web site for her?
> Anyone tried PicoBSD as an example of a "small OS"?Can anyone advise
> me as to how much of FreeBSD I need to load before there are interesting
> games for 10 year olds in the games ports?   Other advice/ideas?
Take a look at http://www.ofset.org/gcompris
it's in the ports.

Greets

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


Re: Security warning with sshd

2005-08-21 Thread Remko Lodder

Pat Maddox wrote:

On 8/21/05, Remko Lodder <[EMAIL PROTECTED]> wrote:


Pat Maddox wrote:



I don't know what exactly was happening, but after looking at that
link my guess is that it occurred when I enabled the firewall.  If I'm
logged in and enable it, my ssh connection is dropped...except I don't
get disconnected, the ssh connection is simply unresponsive.  Which
makes sense since the firewall just went up.  But maybe that's part of
the problem?


Well that can easily be, people are speaking about "statefull" packets
here.  Do you use statefull filtering on your firewall?  Are you able
to "see" the dropped packets (dropped by your firewall)?  If so you
might want to enable statefull filtering for your ssh sessions..

Hope this helps,

cheers

--
Kind regards,

 Remko Lodder   ** [EMAIL PROTECTED]
 FreeBSD** [EMAIL PROTECTED]
 Reporter DSINET** [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Security warning with sshd

2005-08-21 Thread Pat Maddox
On 8/21/05, Remko Lodder <[EMAIL PROTECTED]> wrote:
> Pat Maddox wrote:
> > In my recent security email, I got the following errors:
> > cantona.dnswatchdog.com login failures:
> > Aug 20 02:37:19 cantona sshd[9444]: fatal: Write failed: Operation not 
> > permitted
> > Aug 20 04:30:42 cantona sshd[16142]: fatal: Write failed: Operation
> > not permitted
> > Aug 20 21:21:51 cantona sshd[45716]: fatal: Write failed: Operation
> > not permitted
> >
> > So three questions: What is it?  Should I be worried?  How can I fix it?
> >
> > Thanks,
> > Pat
> 
> A couple of messages that i read when searching through google
> appear to indicate that it might rely on your firewall, bad
> packets that are not in state anymore and such and then gets
> blocked by your firewall.
> 
> Could you provide some more details of events happening around
> the same time of the messages you posted here? Perhaps something
> else precedes the message which gives more information on what
> might have happened...
> 
> Url with some information:
> http://lists.freebsd.org/pipermail/freebsd-pf/2005-August/001337.html
> (and related messages)
> 
> Cheers,
> Remko
> 
> --
> Kind regards,
> 
>   Remko Lodder   ** [EMAIL PROTECTED]
>   FreeBSD** [EMAIL PROTECTED]
>   Reporter DSINET** [EMAIL PROTECTED]
> 

I don't know what exactly was happening, but after looking at that
link my guess is that it occurred when I enabled the firewall.  If I'm
logged in and enable it, my ssh connection is dropped...except I don't
get disconnected, the ssh connection is simply unresponsive.  Which
makes sense since the firewall just went up.  But maybe that's part of
the problem?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OT: Re: WinXP administration guide for unix guru

2005-08-21 Thread Andrew L. Gould
On Sun, 21 Aug 2005 04:17:03 -0400
Louis LeBlanc <[EMAIL PROTECTED]> wrote:

> On 08/20/05 11:23 PM, Andrew L. Gould sat at the `puter and typed:
> > On Sun, 21 Aug 2005 07:09:52 +0300
> > Ovidiu Ene <[EMAIL PROTECTED]> wrote:
> > 
> > > is this a joke?
> > > 
> > > Kent Hauser wrote:
> > > 
> > > >Hi,
> > > >
> > > >I've been a Unix sysadmin  (SunOS 3.x, 4.x, Solaris, FreeBSD)
> > > >for 15 years, but am now being forced to learn how to run a
> > > >collection of XP boxes.
> > > >
> > > >Can anyone recommend a book which explains this confusing beast?
> > > >I'm talking about a book which explains where things are put
> > > >(equiv of / var/mail, /etc/passwd, /etc/rc.conf), where
> > > >application data is stored, how printers, disks, etc are shared,
> > > >how to book in "fixit disk" mode, how to backup/restore, how to
> > > >configure swap space. And also questions like why XP is
> > > >"professional", etc.
> > > >
> > > >I know it's a bit off topic, but I'm having a hard time figuring
> > > >the system to what's what in XP.
> > > >
> > > >Thanks, Kent
> > 
> > There are lots of WinXP administration books in the bookstores.
> > Although there are several books for Windows users moving to Unix,
> > I've not seen one for the other direction.
> > 
> > There is an O'Reilly book called "Windows XP Annoyances for
> > Geeks".  It may not help; but at least it has a cool title.  ;-)
> 
> Does it tell you why XP requires any user wishing to print to a
> network printer must have administrator privileges?
> 
> Stupid XP.
> 
> Lou
> -- 
> Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
> Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
> Please send off-list email to: leblanc at keyslapper d.t net
> Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Probably not.  I have normal WinXP users here at home printing to
printers on a Hawking print server using IPP.

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


Re: Security warning with sshd

2005-08-21 Thread Remko Lodder

Pat Maddox wrote:

In my recent security email, I got the following errors:
cantona.dnswatchdog.com login failures:
Aug 20 02:37:19 cantona sshd[9444]: fatal: Write failed: Operation not permitted
Aug 20 04:30:42 cantona sshd[16142]: fatal: Write failed: Operation
not permitted
Aug 20 21:21:51 cantona sshd[45716]: fatal: Write failed: Operation
not permitted

So three questions: What is it?  Should I be worried?  How can I fix it?

Thanks,
Pat


A couple of messages that i read when searching through google
appear to indicate that it might rely on your firewall, bad
packets that are not in state anymore and such and then gets
blocked by your firewall.

Could you provide some more details of events happening around
the same time of the messages you posted here? Perhaps something
else precedes the message which gives more information on what
might have happened...

Url with some information:
http://lists.freebsd.org/pipermail/freebsd-pf/2005-August/001337.html
(and related messages)

Cheers,
Remko

--
Kind regards,

 Remko Lodder   ** [EMAIL PROTECTED]
 FreeBSD** [EMAIL PROTECTED]
 Reporter DSINET** [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Security warning with sshd

2005-08-21 Thread Pat Maddox
In my recent security email, I got the following errors:
cantona.dnswatchdog.com login failures:
Aug 20 02:37:19 cantona sshd[9444]: fatal: Write failed: Operation not permitted
Aug 20 04:30:42 cantona sshd[16142]: fatal: Write failed: Operation
not permitted
Aug 20 21:21:51 cantona sshd[45716]: fatal: Write failed: Operation
not permitted

So three questions: What is it?  Should I be worried?  How can I fix it?

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


Re: OT: Re: WinXP administration guide for unix guru

2005-08-21 Thread Louis LeBlanc
On 08/20/05 11:23 PM, Andrew L. Gould sat at the `puter and typed:
> On Sun, 21 Aug 2005 07:09:52 +0300
> Ovidiu Ene <[EMAIL PROTECTED]> wrote:
> 
> > is this a joke?
> > 
> > Kent Hauser wrote:
> > 
> > >Hi,
> > >
> > >I've been a Unix sysadmin  (SunOS 3.x, 4.x, Solaris, FreeBSD) for 15
> > >years, but am now being forced to learn how to run a collection of
> > >XP boxes.
> > >
> > >Can anyone recommend a book which explains this confusing beast? I'm
> > >talking about a book which explains where things are put (equiv of /
> > >var/mail, /etc/passwd, /etc/rc.conf), where application data is
> > >stored, how printers, disks, etc are shared, how to book in "fixit
> > >disk" mode, how to backup/restore, how to configure swap space. And
> > >also questions like why XP is "professional", etc.
> > >
> > >I know it's a bit off topic, but I'm having a hard time figuring the
> > >system to what's what in XP.
> > >
> > >Thanks, Kent
> 
> There are lots of WinXP administration books in the bookstores.
> Although there are several books for Windows users moving to Unix,
> I've not seen one for the other direction.
> 
> There is an O'Reilly book called "Windows XP Annoyances for Geeks".  It
> may not help; but at least it has a cool title.  ;-)

Does it tell you why XP requires any user wishing to print to a
network printer must have administrator privileges?

Stupid XP.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

enhance, v.:
  To tamper with an image, usually to its detriment.


pgpgZBJxn2H3U.pgp
Description: PGP signature


BootManager Installation when there are more than one HDD

2005-08-21 Thread Soo-Hyun Choi
Hi,

I'm trying to install FreeBSD on my system which has two separate HDD
(each has 40GB). I am already using the first drive (e.g., C drive)
only for Window XP and now would like to install FreeBSD on the second
drive (e.g., D drive).

When I go through the partitioning step for the FreeBSD installation,
I faced to install BootManager as well. When the BootManager setup
dialogue comes up, it asks me which drive you want to install
BootManager. I guessed to install it the first drive, but the menu
goes to a partitioning page for the first drive when I choose to
install it the first drive; though I am trying to partition the second
drive now.

Can anyone please give me some advice on this?

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


Re: rkhunter gives warning for lsof

2005-08-21 Thread Pat Maddox
It never fails that when I work on something for an hour, and can't
figure it out so I post to the list..I figure it out two minutes
later.

I thought lsof was part of the base system, turns out it's a port.

(brain dead)

On 8/21/05, Pat Maddox <[EMAIL PROTECTED]> wrote:
> I ran rkhunter and got this warning:
> lsof: WARNING: compiled for FreeBSD release 5.4-RELEASE; this is 
> 5.4-RELEASE-p6.
> 
> I'm guessing what it means is that when I upgraded the base system
> that lsof wasn't rebuilt along with it?  Is that going to cause a
> problem at all?  How do I rebuild it so that I don't get that warning
> every time I run rkhunter?
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Few simple questions..

2005-08-21 Thread Glenn Dawson

At 11:50 PM 8/20/2005, Eric Murphy wrote:

QUESTION 1

Hey guys I use gnuls for colorizing my outputs such as ls..ect.. its 
really just an alias.


When i added the alias to my /etc/profile I noticed that under X my 
terminals were not colorized but if i were to LOGIN to another TTY 
without X, it would be colorized. Now i know that /etc/profile is 
only read if your logging in with bash... so what i did was create a 
.bashrc with my alias in my home directory and it worked fine within 
X. My question is this for users that login with gdm/kdm 
ect...and start X how can i set colorized outputs for them without 
creating a .bashrc file in each home directory. Is there a global 
bashrc file that can be read for people that dont login?


ugh i know this sounds confuseing but i dont know any other way to explain it?


maybe this can explain it...

When an interactive shell that is not a login shell is started, bash
reads and executes commands from ~/.bashrc, if that file exists. This
may be inhibited by using the --norc option. The --rcfile file option
will force bash to read and execute commands from file instead of
~/.bashrc.


So if it doesnt read /etc how can I set global colors (for all 
users) for a interactive shell that isnt a login shell? Without 
creating ~/.bashrc's in each home directory.


If you set CLICOLOR in both /etc/profile and /etc/csh.cshrc that 
should enable colorized ls and things for everyone.


-Glenn

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


rkhunter gives warning for lsof

2005-08-21 Thread Pat Maddox
I ran rkhunter and got this warning:
lsof: WARNING: compiled for FreeBSD release 5.4-RELEASE; this is 5.4-RELEASE-p6.

I'm guessing what it means is that when I upgraded the base system
that lsof wasn't rebuilt along with it?  Is that going to cause a
problem at all?  How do I rebuild it so that I don't get that warning
every time I run rkhunter?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


The FreeBSD Diary: 2005-07-31 - 2005-08-20

2005-08-21 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: What's the best way to set up an ASCII and HTML maillist list?

2005-08-21 Thread Gary Kline
On Sun, Aug 21, 2005 at 12:10:32AM -0600, Danny MacMillan wrote:
> Gary Kline wrote:
> 
> > oUtstanding!  Thanks, you've cleared up a lot other
> > questions.  I do have the mailman port working for my
> > library/writing group, but MIME (ick), blackbox.
> > Just one more thing, David, that you may know of--
> > if not, then somebody else on the list.   Can I
> > include a small graphic ("IMG SRC="sartre.jpg")
> > in the html mail?  When people email photos I have 
> > to quit mutt, bring up evolution and then click on
> > some display icon.  What I'd like to do is have the
> > icon "just-appear" at top or bottom of message.
> > No mouse-clickng required.  If the user//receient
> > has to click to see my icon/picture/graphic, I'll
> > drop it :)
> >
> > gary
> >
> That's MIME, too.  multipart/related.  Send yourself an email that looks 
> like what you want from a client that supports this functionality 
> (Outlook, Outlook Express, and Thunderbird all work for this, probably 
> others, too) and look at the message source on the target system to see 
> how it works.
> 

Well, I gave up on using metasend with it's myriad switches 
and tried from the cmdline.  Closer.  Still, no cigar.
I typed "text/html" wheen it asked for "Content-type".
That gave me the bold "test" from /tmp/test:



test


test 


(Actually, in evoluton it was "test *test*".)

What I want is for non-GUI mailers like mutt and Mail to 
seee 

^test

and in the graphic/html mailers:

*test*

where the astarisks indicate a bold font.  I triied 
"multipart/mixed" annd other things "multipart/<>",
but it doesn't quite work... .

I have seen the raw message source from the multipart 
mail that many people sentf me.  I simply don't know how to
recreate this.  --Things like:

Content-Type: multipart/alternative; boundary="NextPart_Webmail_9m3uFooBarBaz

Maybe metasend is smart enough to accept 
"multipart/alternatve"; boundary="xyz"

Otherwise, I'm stumped.

gary







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

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