Re: User unknown?

2006-03-28 Thread Guillaume R.
2006/3/27, Erik Nørgaard [EMAIL PROTECTED]:
 Guillaume R. wrote:
Hello
 Sounds like you're coming from Linux?
Yes I'm an early freebsd user (I use it since one year more or less)

 Did you add the user? can you login as that user?
I can login with that user and I add it

 If you pasted the user info into master.passwd then you need run
 pwd_mkdb to update the db files. If you pasted into passwd, then that's
 not the way to do it.

 Use pw(8) to add users and keep files correctly updated.

 You set hostname in rc.conf.
Thx

 Cheers, Erik
PS: Kevin thx for the option found in the man page it was too late 
yesterday night for me I think :/
--
Powered by FreeBSD 6.O
http://www.freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Motherboards

2006-03-28 Thread Tamouh H.
 
 
 I have a number of servers that are reaching end of life.  
 They are over 7 years old and I can no longer find IDE drives 
 that work with the slower controllers they have.  These are 
 all towers and use ASUS motherboards.  Those were quite cheap 
 at the time and the boards have worked very well over the 
 years.  However, I am now hearing rumers that ASUS 
 motherboards are no longer the best quality and probably 
 should be avoided.  Don't need much on the machines, but do 
 have to have 2 NICs and a SCSI controller on each.  What are 
 good, rock solid, motherboards with FreeBSD 6.0?

I can't speak for FBSD 6 best motherboard, however, regarding ASUS their 
quality is not as good as it used to be. I deal with number of computer 
suppliers and we're beginning to see more common ASUS motherboard problems. In 
the entry level market if you're going to use Intel CPU maybe it is best to 
stick with Intel boards (they are not flexible, but quality wise pretty good). 
If in AMD, I see NForce chipsets most popular.

Tamouh


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


Xorg problem

2006-03-28 Thread RJ45


Hello I installed 6.0-RELEASE on Alpha.
But I cannot find the Xorg packages to be installed on the system,
I did a network install.
Now I need Xorg for many reasons and if I Try to install it from the ports 
collection it won't compile because the systems does not have the 
/usr/X11R6/include/X11 needed stuff.

How I can install Xorg ?
Where can I find a pre-packaged one ?
I just would need the include files so I Can compile ghostrscript for 
example.

thanks

Rick

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


Re: Motherboards

2006-03-28 Thread Andrew Pantyukhin
Tyan are as rock-solid as it gets. Supermicro are also very
good, but IMO they come second after Tyan.

If you're looking for cheap mobo's, Gigabyte is a nice
choice. Asus seems to be fine too, but my personal
experience says against them (very loudly in fact). Abit
was great a few years ago (I still have BE6-II with 200-300
days of uptime), but they have their issues now.

So stick with Tyan if you want stability and stick with
Gigabyte if you don't have enough money.

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


Restricted SFTP access to server for one user

2006-03-28 Thread Ashley Moran
Thanks to an unfortunate turn of events, we are hosting a website for a client 
that should have been hosted externally.  Now he wants FTP access to a 
directory on the server.  I don't want to install an FTP program, and we 
don't use password authentication for SSH, so I'm going to tell him to create 
a key pair and send us his public key.

I can remove his login shell, but how do I restrict him to only view his home 
directory over SFTP?

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


Re: Restricted SFTP access to server for one user

2006-03-28 Thread Martin Hudec

Hello Ashley,

Ashley Moran wrote:
I don't want to install an FTP program, and we 
don't use password authentication for SSH, so I'm going to tell him to create 
a key pair and send us his public key.


Maybe for the client, it would be better to use also password based 
authentication, ask him - he is the client and he should define what he 
wants.


I can remove his login shell, but how do I restrict him to only view his home 
directory over SFTP?


I think that shells/scponly should have chroot ability for their users.


Cheers,
Martin

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


Re: User unknown?

2006-03-28 Thread Guillaume R.
Re
To be more accurate here is a trace that I can found in
/var/mail/root. Seems to be a internal mail for my user (which never
receive any mail...)

The original message was received at Fri, 11 Nov 2005 19:34:32 +0100 (CET)
from [EMAIL PROTECTED]

   - The following addresses had permanent fatal errors -
gnux
(reason: 550 5.1.1 [EMAIL PROTECTED]... User unknown)
(expanded from: gnux)

 - Transcript of session follows -
... while talking to [127.0.0.1]:
 DATA
 550 5.1.1 [EMAIL PROTECTED]... User unknown
550 5.1.1 gnux... User unknown
 503 5.0.0 Need RCPT (recipient)

There is a lot of mails like that in this directory. Could anyone
explain me why? Indeed I cant find anything in the handbook about this
internal mailer daemon...
Thx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The font iso05-8x16.fnt in FreeBSD 6.0-STABLE is broken

2006-03-28 Thread User Elisej
The font iso05-8x16.fnt in FreeBSD 6.0-STABLE is broken.
The letter q looks like whitespace.

How can I get a right font?

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


How to see keyboard scan codes?

2006-03-28 Thread User Elisej
Is there a program showing keyboard scan codes?
I mean I press a key, and the program shows its code.

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


Changing prompt

2006-03-28 Thread Rodrigo G. Tavares de Souza

Hi,

  How could I show the path on prompt or see colored files when I make 
a ls command?


Best Regards,
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing prompt

2006-03-28 Thread Vaaf

At 12:24 28.03.2006, Rodrigo G. Tavares de Souza wrote:

Hi,

  How could I show the path on prompt or see colored files when I 
make a ls command?


Best Regards,
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Try to install /usr/ports/shells/zsh, and use this as your /etc/zshrc:

###  BEGIN

umask 022

alias vi='vim'
alias j='jobs -l'
alias h='history'
alias ls='ls -G'
alias cd..='cd ..'
alias cd...='cd ../..'
alias cd='cd ../../..'
alias cd.='cd ../../../..'
alias cd..='cd ../../../../..'
alias cd/='cd /'
alias wf='w -f'
alias ws='w -s'
alias df='df -h'
alias ftp='lftp'
alias pfdump='tcpdump -n -e -ttt -r /var/log/pflog'
alias pfmonitor='tcpdump -n -e -ttt -i pflog0'
alias pfreload='pfctl -F all  pfctl -f /etc/pf.conf'
alias pfshow='pfctl -vvsr'

autoload -U compinit
compinit -C

zstyle ':completion:*' completer _complete _prefix
zstyle ':completion::prefix-1:*' completer _complete
zstyle ':completion:incremental:*' completer _complete _correct
zstyle ':completion:predict:*' completer _complete
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ~/.zsh/cache/$HOST
zstyle ':completion:*' expand 'yes'
zstyle ':completion:*' squeeze-slashes 'yes'
zstyle ':completion::complete:*' '\'
zstyle ':completion::complete:*:tar:directories' file-patterns '*~.*(-/)'
zstyle ':completion:*:complete:-command-::commands' ignored-patterns '*\~'
zstyle ':completion:*:matches' group 'yes'
zstyle ':completion:*:options' description 'yes'
zstyle ':completion:*:options' auto-description '%d'
zstyle ':completion:*:history-words' stop verbose
zstyle ':completion:*:history-words' remove-all-dups yes
zstyle ':completion:*:history-words' list false
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}

PROMPT=$'%{\e[01;36m%}(%{\e[22;36m%}%n%{\e[01;30m%}@'
PROMPT+=$'%{\e[22;36m%}%m%{\e[01;36m%})%{\e[01;36m%}%{\e[01;36m%}('
PROMPT+=$'%{\e[22;36m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;36m%}%D{%m/%d/%y}'
PROMPT+=$'%{\e[01;36m%})%{\e[01;30m\e[00m%}\n%{\e[01;36m%}('
PROMPT+=$'%{\e[22;36m%}%#%{\e[01;30m%}:%{\e[22;36m%}%~%{\e[01;36m%})'
PROMPT+=$'%{\e[01;30m\e[00m%} '

if [[ `whoami` = root ]] then
PROMPT=$'%{\e[01;31m%}(%{\e[22;31m%}%n%{\e[01;30m%}@'
PROMPT+=$'%{\e[22;31m%}%m%{\e[01;31m%})%{\e[01;31m%}%{\e[01;31m%}('
PROMPT+=$'%{\e[22;31m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;31m%}%D{%m/%d/%y}'
PROMPT+=$'%{\e[01;31m%})%{\e[01;30m\e[00m%}\n%{\e[01;31m%}('
PROMPT+=$'%{\e[22;31m%}%#%{\e[01;30m%}:%{\e[22;31m%}%~%{\e[01;31m%})'
PROMPT+=$'%{\e[01;30m\e[00m%} '
fi

###  END

This is truly a beautiful prompt.

Enjoy,
Vaaf

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


Re: Changing prompt

2006-03-28 Thread Glenn Dawson

At 02:29 AM 3/28/2006, Vaaf wrote:

At 12:24 28.03.2006, Rodrigo G. Tavares de Souza wrote:

Hi,

  How could I show the path on prompt or see colored files when I 
make a ls command?


Best Regards,
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Try to install /usr/ports/shells/zsh, and use this as your /etc/zshrc:

###  BEGIN

umask 022

alias vi='vim'
alias j='jobs -l'
alias h='history'
alias ls='ls -G'
alias cd..='cd ..'
alias cd...='cd ../..'
alias cd='cd ../../..'
alias cd.='cd ../../../..'
alias cd..='cd ../../../../..'
alias cd/='cd /'
alias wf='w -f'
alias ws='w -s'
alias df='df -h'
alias ftp='lftp'
alias pfdump='tcpdump -n -e -ttt -r /var/log/pflog'
alias pfmonitor='tcpdump -n -e -ttt -i pflog0'
alias pfreload='pfctl -F all  pfctl -f /etc/pf.conf'
alias pfshow='pfctl -vvsr'

autoload -U compinit
compinit -C

zstyle ':completion:*' completer _complete _prefix
zstyle ':completion::prefix-1:*' completer _complete
zstyle ':completion:incremental:*' completer _complete _correct
zstyle ':completion:predict:*' completer _complete
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ~/.zsh/cache/$HOST
zstyle ':completion:*' expand 'yes'
zstyle ':completion:*' squeeze-slashes 'yes'
zstyle ':completion::complete:*' '\'
zstyle ':completion::complete:*:tar:directories' file-patterns '*~.*(-/)'
zstyle ':completion:*:complete:-command-::commands' ignored-patterns '*\~'
zstyle ':completion:*:matches' group 'yes'
zstyle ':completion:*:options' description 'yes'
zstyle ':completion:*:options' auto-description '%d'
zstyle ':completion:*:history-words' stop verbose
zstyle ':completion:*:history-words' remove-all-dups yes
zstyle ':completion:*:history-words' list false
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}

PROMPT=$'%{\e[01;36m%}(%{\e[22;36m%}%n%{\e[01;30m%}@'
PROMPT+=$'%{\e[22;36m%}%m%{\e[01;36m%})%{\e[01;36m%}%{\e[01;36m%}('
PROMPT+=$'%{\e[22;36m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;36m%}%D{%m/%d/%y}'
PROMPT+=$'%{\e[01;36m%})%{\e[01;30m\e[00m%}\n%{\e[01;36m%}('
PROMPT+=$'%{\e[22;36m%}%#%{\e[01;30m%}:%{\e[22;36m%}%~%{\e[01;36m%})'
PROMPT+=$'%{\e[01;30m\e[00m%} '

if [[ `whoami` = root ]] then
PROMPT=$'%{\e[01;31m%}(%{\e[22;31m%}%n%{\e[01;30m%}@'
PROMPT+=$'%{\e[22;31m%}%m%{\e[01;31m%})%{\e[01;31m%}%{\e[01;31m%}('

PROMPT+=$'%{\e[22;31m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;31m%}%D{%m/%d/%y}'
PROMPT+=$'%{\e[01;31m%})%{\e[01;30m\e[00m%}\n%{\e[01;31m%}('
PROMPT+=$'%{\e[22;31m%}%#%{\e[01;30m%}:%{\e[22;31m%}%~%{\e[01;31m%})'
PROMPT+=$'%{\e[01;30m\e[00m%} '
fi

###  END

This is truly a beautiful prompt.


Yikes.

If you're using /bin/csh that comes with FreeBSD, the following will 
do what you asked about:


set prompt=%/ 
setenv CLICOLOR

For more info, see the prompt variable in the csh(1) man page, and 
the environment section of the ls(1) man page.


-Glenn



Enjoy,
Vaaf

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [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: Restricted SFTP access to server for one user

2006-03-28 Thread Ashley Moran
On Tuesday 28 March 2006 10:36, Martin Hudec wrote:
 Hello Ashley,

 Ashley Moran wrote:
  I don't want to install an FTP program, and we
  don't use password authentication for SSH, so I'm going to tell him to
  create a key pair and send us his public key.

 Maybe for the client, it would be better to use also password based
 authentication, ask him - he is the client and he should define what he
 wants.

Hi Martin,

We shouldn't really be hosting his site (it turned out his ISP doesn't offer 
PHP), and I don't think he's paying anything for this, so he gets what we 
give :D

  I can remove his login shell, but how do I restrict him to only view his
  home directory over SFTP?

 I think that shells/scponly should have chroot ability for their users.

I'm looking at shells/rssh, which appears to be the most popular way to give 
restricted sftp access.  But I'm not having much luck with the chroot.  I 
might try scponly if I don't get anywhere.

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


panic on 4.10R

2006-03-28 Thread Helge Sandring
Dear list,

for a few days i have every morning when I get up the following message on
the console of my server:

===

Syncing discs

Fatal Trap 12: page fault in Kernel mode
Fault virtual address  = 0x30
Fault code = supervisor read, page not present
Intruction pointer = 0x8:0x0033c328
Stack pointer  = 0x10:0xc045554ec
Frame pointer  = 0x10:0xc04554F4
Code segment = base 0x0, limit 0xf, type=0x1b
   = DPL 0, pres 1, def32 1, gran 1
Process eflags = interrupt enabled, resume, 1DPL=0
Current process  = idle
Interrupt mask = bio
Trap number= 12
Panic: page fault
Uptime: 23h52m27s
Twe0: Cannot delete unit, error=16
Automatic reboot in 15s - press key on the console to abort



what does that mean? the server ran without problems for 530+ days now
suddenly this?

dmesg.boot attached

TIA

Zheyu

-- 
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer

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

Re: User unknown?

2006-03-28 Thread Erik Norgaard

Guillaume R. wrote:

Re
To be more accurate here is a trace that I can found in
/var/mail/root. Seems to be a internal mail for my user (which never
receive any mail...)

The original message was received at Fri, 11 Nov 2005 19:34:32 +0100 (CET)
from [EMAIL PROTECTED]

   - The following addresses had permanent fatal errors -
gnux
(reason: 550 5.1.1 [EMAIL PROTECTED]... User unknown)
(expanded from: gnux)

 - Transcript of session follows -
... while talking to [127.0.0.1]:

DATA

 550 5.1.1 [EMAIL PROTECTED]... User unknown
550 5.1.1 gnux... User unknown
 503 5.0.0 Need RCPT (recipient)

There is a lot of mails like that in this directory. Could anyone
explain me why? Indeed I cant find anything in the handbook about this
internal mailer daemon...


You should be able to find this in /var/log/maillog. Include the error 
message from the maillog.


Did you upgrade postfix when you moved from linux to freebsd? Maybe your 
configuration is no longer current and should be updated.


Cheers, Erik

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cron operator /usr/libexec/save-entropy

2006-03-28 Thread Vaaf


Hello again!

Cron keeps spamming me:

override r  operator/operator for 
/var/db/entropy/saved-entropy.6? (y/n [n]) not overwritten
override r  operator/operator for 
/var/db/entropy/saved-entropy.5? (y/n [n]) not overwritten
override r  operator/operator for 
/var/db/entropy/saved-entropy.4? (y/n [n]) not overwritten
override r  operator/operator for 
/var/db/entropy/saved-entropy.3? (y/n [n]) not overwritten
override r  operator/operator for 
/var/db/entropy/saved-entropy.2? (y/n [n]) not overwritten


How do I stop this?

Thanks,
Vaaf

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


Re: Changing prompt

2006-03-28 Thread Vaaf

At 12:57 28.03.2006, Glenn Dawson wrote:

At 02:29 AM 3/28/2006, Vaaf wrote:

At 12:24 28.03.2006, Rodrigo G. Tavares de Souza wrote:

Hi,

  How could I show the path on prompt or see colored files when I 
make a ls command?


Best Regards,
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Try to install /usr/ports/shells/zsh, and use this as your /etc/zshrc:

###  BEGIN

umask 022

alias vi='vim'
alias j='jobs -l'
alias h='history'
alias ls='ls -G'
alias cd..='cd ..'
alias cd...='cd ../..'
alias cd='cd ../../..'
alias cd.='cd ../../../..'
alias cd..='cd ../../../../..'
alias cd/='cd /'
alias wf='w -f'
alias ws='w -s'
alias df='df -h'
alias ftp='lftp'
alias pfdump='tcpdump -n -e -ttt -r /var/log/pflog'
alias pfmonitor='tcpdump -n -e -ttt -i pflog0'
alias pfreload='pfctl -F all  pfctl -f /etc/pf.conf'
alias pfshow='pfctl -vvsr'

autoload -U compinit
compinit -C

zstyle ':completion:*' completer _complete _prefix
zstyle ':completion::prefix-1:*' completer _complete
zstyle ':completion:incremental:*' completer _complete _correct
zstyle ':completion:predict:*' completer _complete
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ~/.zsh/cache/$HOST
zstyle ':completion:*' expand 'yes'
zstyle ':completion:*' squeeze-slashes 'yes'
zstyle ':completion::complete:*' '\'
zstyle ':completion::complete:*:tar:directories' file-patterns '*~.*(-/)'
zstyle ':completion:*:complete:-command-::commands' ignored-patterns '*\~'
zstyle ':completion:*:matches' group 'yes'
zstyle ':completion:*:options' description 'yes'
zstyle ':completion:*:options' auto-description '%d'
zstyle ':completion:*:history-words' stop verbose
zstyle ':completion:*:history-words' remove-all-dups yes
zstyle ':completion:*:history-words' list false
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}

PROMPT=$'%{\e[01;36m%}(%{\e[22;36m%}%n%{\e[01;30m%}@'
PROMPT+=$'%{\e[22;36m%}%m%{\e[01;36m%})%{\e[01;36m%}%{\e[01;36m%}('
PROMPT+=$'%{\e[22;36m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;36m%}%D{%m/%d/%y}'
PROMPT+=$'%{\e[01;36m%})%{\e[01;30m\e[00m%}\n%{\e[01;36m%}('
PROMPT+=$'%{\e[22;36m%}%#%{\e[01;30m%}:%{\e[22;36m%}%~%{\e[01;36m%})'
PROMPT+=$'%{\e[01;30m\e[00m%} '

if [[ `whoami` = root ]] then
PROMPT=$'%{\e[01;31m%}(%{\e[22;31m%}%n%{\e[01;30m%}@'
PROMPT+=$'%{\e[22;31m%}%m%{\e[01;31m%})%{\e[01;31m%}%{\e[01;31m%}('
PROMPT+=$'%{\e[22;31m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;31m%}%D{%m/%d/%y}'
PROMPT+=$'%{\e[01;31m%})%{\e[01;30m\e[00m%}\n%{\e[01;31m%}('

PROMPT+=$'%{\e[22;31m%}%#%{\e[01;30m%}:%{\e[22;31m%}%~%{\e[01;31m%})'
PROMPT+=$'%{\e[01;30m\e[00m%} '
fi

###  END

This is truly a beautiful prompt.


Yikes.

If you're using /bin/csh that comes with FreeBSD, the following will 
do what you asked about:


set prompt=%/ 
setenv CLICOLOR

For more info, see the prompt variable in the csh(1) man page, and 
the environment section of the ls(1) man page.


-Glenn



Enjoy,
Vaaf

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


Yeah but I'm sure Mr Souza appreciates some good design also?

-- Vaaf



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


Re: how to create da* device?

2006-03-28 Thread Erik Norgaard

Peter wrote:

I am still trying to get my USB hard drive to work.  It used to work
but now when I plug it in all I get is:

kernel: umass0: PI-036 USB2.0 Drive, rev 2.00/0.01, addr 2
kernel: umass0: Get Max Lun not supported (STALLED)

I remember such messages before but after them there were some more
meesages beginning with da0.  But now no da* device is created under
/dev.

I figured maybe this (new) drive has gone bad but it works under
Windows 2000.  Any ideas why this has stopped working?  I did not
change anything on my system although I just updated my sources and
baked a new kernel without success (same results).


What kernel config do you have? custom or GENERIC? What modules have you
loaded? umass shouldn't work if these options are excluded:

device  scbus   #base SCSI code
device  da  #SCSI direct access devices (aka disks)

maybe this, i'm not sure:

device  pass#CAM passthrough driver

Do you have another usb drive that works?

Regards, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9

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


RE: 3ware 9550SX-8LP RAID help

2006-03-28 Thread Ted Mittelstaedt

You can build a 6.0 or 5.4 kernel if you really want, with the 3ware
drivers, but 6.0-beta4 is just as good, probably better.  Or
wait for 6.1

You get the 3ware drivers from the freebsd cvsup.  3ware had some brains
at least, they do not host their freebsd drivers on their own ftp server,
they use the cvs server for FreeBSD.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Erik Trulsson
Sent: Monday, March 27, 2006 2:17 PM
To: Huy Ton That
Cc: [EMAIL PROTECTED]
Subject: Re: 3ware 9550SX-8LP RAID help


On Mon, Mar 27, 2006 at 04:35:18PM -0500, Huy Ton That wrote:
 Hello I just purchased a new server and was installing FBSD.
It currently
 has 2 internal harddrives which are working and mountable.
Additionally
 there are 3 hotswappable hdds which are connected to a 3ware
9550sx-8LP raid
 5/0 controller card.  Everything has been configured properly
within the
 controller's bios.  However, the controller is not detected
during boot
 time.

 I found out that the 'twa' drivers should take care of this, and after
 consulting the online manpages I saw...  however it said
FreeBSD 7.0 below
 at the bottom of the online manpage...

 *HARDWARE*
http://www.freebsd.org/cgi/man.cgi?query=twasektion=4manpath=
FreeBSD+7.0-current#end

As can be seen in the link, that is the manpage for 7-CURRENT.

  The *twa* driver supports the following SATA RAID controllers:

  *·*  AMCC's 3ware 9500S-4LP
  *·*  AMCC's 3ware 9500S-8
  *·*  AMCC's 3ware 9500S-8MI
  *·*  AMCC's 3ware 9500S-12
  *·*  AMCC's 3ware 9500S-12MI
  *·*  AMCC's 3ware 9500SX-4LP
  *·*  AMCC's 3ware 9500SX-8LP
  *·*  AMCC's 3ware 9500SX-12
  *·*  AMCC's 3ware 9500SX-12MI
  *·*  AMCC's 3ware 9500SX-16ML
  *·*  AMCC's 3ware 9550SX-4LP
  *·*  AMCC's 3ware 9550SX-8LP
  *·*  AMCC's 3ware 9550SX-12
  *·*  AMCC's 3ware 9550SX-12MI
  *·*  AMCC's 3ware 9550SX-16ML

 The odd thing is that when I do man twa locally on the
machine, this is all
 I have on my list:

  o   AMCC's 3ware 9500S-4LP
  o   AMCC's 3ware 9500S-8
  o   AMCC's 3ware 9500S-8MI
  o   AMCC's 3ware 9500S-12
  o   AMCC's 3ware 9500S-12MI

 Is this just what is supported for FreeBSD 6.0?

Yes, that is all the devices that twa supported when 6.0 was made.
Support for the 95x0SX cards have been added since.
The upcoming 6.1 should support all the devices that 7-CURRENT supports.


 I don't know what else to do, does anyone know how to get
this recognized?
 I've spent all morning trying to get this figured out :/.

Try one of the 6.1 betas.  It ought to work.


--
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
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 Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/293 - Release Date: 3/26/2006


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


Re: Restricted SFTP access to server for one user

2006-03-28 Thread Ashley Moran
On Tuesday 28 March 2006 10:36, Martin Hudec wrote:
 I think that shells/scponly should have chroot ability for their users.

I'm sorted now - got rssh working after following a guide by John Delgado I 
found by googling.

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


problem building xorg

2006-03-28 Thread RJ45



FreeBSD 6.0-STABLE
cd /usr/ports/x11/xorg

make install...

I have error during xorg build...


any ideas ?
thanks a lot


===  Configuring for libXft-2.1.7_1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel

checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by gmake... GNU
checking dependency style of cc... gcc3
checking build system type... alpha-portbld-freebsd6.0
checking host system type... alpha-portbld-freebsd6.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc static flag  works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... 
yes

checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag CXX to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... 
yes

checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... 
yes

checking dynamic linker characteristics... freebsd6.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag F77 to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... 
yes

checking dynamic linker characteristics... freebsd6.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for xrender = 0.8.2... gnome-config: not found
gnome-config: not found
checking for xrender = 0... gnome-config: not found
gnome-config: not found
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking X11/extensions/Xrender.h usability... no
checking X11/extensions/Xrender.h presence... no
checking for X11/extensions/Xrender.h... no
configure: error: Xrender.h not found.
===  Script configure failed unexpectedly.
Please run the 

Indiana goes to DST

2006-03-28 Thread DAve
Not ever having had to configure DST before, any advice on a work around 
since most OSes provide no DST for my timezone?


tzsetup doesn't state whether DST will be set. Is it just as simple as

#date -d dst?

Thanks,

DAve
--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: Changing prompt

2006-03-28 Thread User Elisej
On Tue, Mar 28, 2006 at 07:24:05AM -0300, Rodrigo G. Tavares de Souza wrote:
 Hi,
 
   How could I show the path on prompt or see colored files when I make a ls 
 command?
 
 Best Regards,
 Rodrigo Souza
 Sao Paulo - Brazil

The first depends on the shell used. For example, in bash do:
export PS1='\w'

All about prompt is described in bash(1), tcsh(1) and so on.

Use
ls -G
for colored files
or set CLICOLOR and CLICOLOR_FORCE environment variables for the same. For 
example, in bash type:
export CLICOLOR=
export CLICOLOR_FORCE=

All about this is described in ls(1).

Best Regards,
Elisej Babenko
Kiev
Ukraine
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to see keyboard scan codes?

2006-03-28 Thread Svein Halvor Halvorsen
On 3/28/06, User Elisej [EMAIL PROTECTED] wrote:
 Is there a program showing keyboard scan codes?
 I mean I press a key, and the program shows its code.

Under X, xev might help.


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


Re: how to create da* device?

2006-03-28 Thread Peter

--- Erik Norgaard [EMAIL PROTECTED] wrote:

 Peter wrote:
  I am still trying to get my USB hard drive to work.  It used to
 work
  but now when I plug it in all I get is:
  
  kernel: umass0: PI-036 USB2.0 Drive, rev 2.00/0.01, addr 2
  kernel: umass0: Get Max Lun not supported (STALLED)
  
  I remember such messages before but after them there were some more
  meesages beginning with da0.  But now no da* device is created
 under
  /dev.
  
  I figured maybe this (new) drive has gone bad but it works under
  Windows 2000.  Any ideas why this has stopped working?  I did not
  change anything on my system although I just updated my sources and
  baked a new kernel without success (same results).
 
 What kernel config do you have? custom or GENERIC? What modules have
 you loaded? umass shouldn't work if these options are excluded:
 
 device  scbus   #base SCSI code
 device  da  #SCSI direct access devices (aka
 disks)
 
 maybe this, i'm not sure:
 
 device  pass#CAM passthrough driver


I'm using a GENERIC kernel.  I have all the kernel devices you mention.
 This was working before!


 Do you have another usb drive that works?


Yes!  An identical drive works but this one doesn't (anymore).  But
why does it work with Windows?  The same behaviour is exhibited on
another machine (6.0) [both disks worked and then this one ceased to
work].  The system I am currently using is 5.4.

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


libiconv doesn't compile

2006-03-28 Thread Vittorio
I tried 
cd /usr/ports/converters/libiconv
make install

but...
:..
...
if test -n ; then install  -o root -g wheel -m 444  /usr/local/lib/.
new  mv /usr/local/lib/.new /usr/local/lib/ ; fi
cd srclib  make 
install prefix='/usr/local' exec_prefix='/usr/local' 
libdir='/usr/local/lib'
cd src  make install prefix='/usr/local' 
exec_prefix='/usr/local' libdir='/usr/local/lib'
test `ls -ld . | sed -
e 's/^d\(.\).*/\1/'` = rwxrwxrwx || chmod 777 .
if [ ! -d 
/usr/local ] ; then /bin/sh ../autoconf/mkinstalldirs /usr/local ; fi
if [ ! -d /usr/local ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local ; fi
if [ ! -d /usr/local/bin ] ; then /bin/sh ..
/autoconf/mkinstalldirs /usr/local/bin ; fi
case freebsd6.0 in  
hpux*) cc  `if test -n ''; then  /usr/local/bin; fi` iconv.o ..
/srclib/libicrt.a -L/usr/local/lib -liconv -lintl -o iconv;;  freebsd*) 
/bin/sh ../libtool --mode=link cc  `if test -n ''; then  
/usr/local/bin; fi` iconv.o ../srclib/libicrt.a ../lib//libiconv.la -
lintl -o iconv;;  *) /bin/sh ../libtool --mode=link cc  `if test -n ''; 
then  /usr/local/bin; fi` iconv.o ../srclib/libicrt.a 
/usr/local/lib/libiconv.la -lintl -o iconv;;  esac
cc iconv.o -o .
libs/iconv  ../srclib/libicrt.a ../lib//.libs/libiconv.so -lintl -Wl,--
rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find -lintl
*** Error code 
1
..

What's the matter with it?

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


Re: DVD-Slideshow

2006-03-28 Thread usleepless
Chris,

i tried your commands, but ran into trouble:
  seq is not found, i symlinked it to jot, have you done the same?

after that it seems to work flawless. i end up with a Test.vob which
is playable by mplayer and contains the slideshow.

no sign of crossfading though.

regards,

usleep


On 3/28/06, Chris Maness [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:

 yes, but i have not used the fading before.
 
 i am willing to try your run, but then you have to package the pics +
 sideslow-config-file, and mail it?
 
 regards,
 
 usleep
 
 
 
 I am not around that box at the moment, but I can give you the exact
 commands that you can try on a batch of shots in a folder.

 # dir2slideshow -t 3 -c 2 -n Test .

 Then...

 # dvd-slideshow -n Test -f Test.txt .

 The period at the end is part of the command...

 Thanks

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


Re: Indiana goes to DST

2006-03-28 Thread Jacob S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 28 Mar 2006 10:19:21 -0500
DAve [EMAIL PROTECTED] wrote:

 Not ever having had to configure DST before, any advice on a work
 around since most OSes provide no DST for my timezone?

Sure. Just pick a city in the Eastern Timezone that is _not_in Indiana.
Then it will automatically follow DST at the appropriate time of year.
Just about any city on the East Coast should do it.
 
 tzsetup doesn't state whether DST will be set. Is it just as simple as
 
 #date -d dst?

Not sure there, sorry.

HTH,
Jacob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEKV0hkpJ43hY3cTURAq10AKDmJ81hRUV43+ErCfjz3OE8ISymeQCghCkn
SwmRdPtYgOm69fY7zZp5Ytg=
=2zWI
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Indiana goes to DST

2006-03-28 Thread Chuck Swiger
DAve wrote:
 Not ever having had to configure DST before, any advice on a work around
 since most OSes provide no DST for my timezone?

You underestimate the true power of this operating system.  :-)

Either change the /etc/localtime symlink to point to the right timezone file, or
run /stand/sysinstall, choose Configure for post-install config, select Time
Zone, and you'll end up being prompted with these choices:

x x 1   Eastern Time
x x 2   Eastern Time - Michigan - most locations
x x 3   Eastern Time - Kentucky - Louisville area
x x 4   Eastern Time - Kentucky - Wayne County
x x 5   Eastern Standard Time - Indiana - most locations
x x 6   Eastern Standard Time - Indiana - Crawford County
x x 7   Eastern Standard Time - Indiana - Starke County
x x 8   Eastern Standard Time - Indiana - Switzerland County

...which will do the same thing.

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


Re: Indiana goes to DST

2006-03-28 Thread DAve

Chuck Swiger wrote:

DAve wrote:

Not ever having had to configure DST before, any advice on a work around
since most OSes provide no DST for my timezone?


You underestimate the true power of this operating system.  :-)


Nah, I underestimated the power of our state legislature 8^o



Either change the /etc/localtime symlink to point to the right timezone file, or
run /stand/sysinstall, choose Configure for post-install config, select Time
Zone, and you'll end up being prompted with these choices:

x x 1   Eastern Time
x x 2   Eastern Time - Michigan - most locations
x x 3   Eastern Time - Kentucky - Louisville area
x x 4   Eastern Time - Kentucky - Wayne County
x x 5   Eastern Standard Time - Indiana - most locations
x x 6   Eastern Standard Time - Indiana - Crawford County
x x 7   Eastern Standard Time - Indiana - Starke County
x x 8   Eastern Standard Time - Indiana - Switzerland County

...which will do the same thing.



Selections 5 through 8 will no longer be valid in April. The list of 
counties changed. More counties than #6, #7, #8 are going to Central TZ, 
one county is going with Commerce Time, and item #5 (most locations) 
is switching to DST.


So I must setup DST manually, or select to #1. I think.

DAve
--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: Cheap FreeBSD hosting?

2006-03-28 Thread Robin Vley

Scott I. Remick wrote:

Scott,


Hey Tim... my needs are the reverse: lots of storage, low bandwidth. I'm
already at 2.5GB and slowly growing, but average 200-300MB/month transfer.
Unfortunately I don't see a plan on your site that fits my needs, but


I never saw any requirement for WHERE this machine should be located, 
but we offer webhosting on FreeBSD machines (CPanel control panel). Our 
machines are located in Amsterdam. The storage is not the biggest 
problem for us, we can always work out some custom package for that if 
you're interested in non-US locations.


http://www.fx-services.com

--
Robin Vley
F/X Services Managed Hosting
http://www.fx-services.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Oops: Deleted /var/named

2006-03-28 Thread daniel
Yes, it was dumb, but while I have a backup of all of my domain info and have 
restored it all, starting named gives me this error now:

  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device

I can only assume that it has something to do with the files 
in /var/named/dev/ that I have untarred there.  I tried doing a make 
deinstall; make install in /usr/ports/dns/bind9 but that didn't create 
anything.  What is the propper way to re-set this up?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Indiana goes to DST

2006-03-28 Thread DAve

Jacob S wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 28 Mar 2006 10:19:21 -0500
DAve [EMAIL PROTECTED] wrote:


Not ever having had to configure DST before, any advice on a work
around since most OSes provide no DST for my timezone?


Sure. Just pick a city in the Eastern Timezone that is _not_in Indiana.
Then it will automatically follow DST at the appropriate time of year.
Just about any city on the East Coast should do it.


That was my first thought. I prefer the KISS method whenever possible.
Just wanted to be certain there wasn't anything else I should be doing.

Thanks,

DAve

 

tzsetup doesn't state whether DST will be set. Is it just as simple as

#date -d dst?


Not sure there, sorry.

HTH,
Jacob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEKV0hkpJ43hY3cTURAq10AKDmJ81hRUV43+ErCfjz3OE8ISymeQCghCkn
SwmRdPtYgOm69fY7zZp5Ytg=
=2zWI
-END PGP SIGNATURE-




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



--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: problem building xorg

2006-03-28 Thread Paul Schmehl

--On Tuesday, March 28, 2006 07:35:41 -0700 RJ45 [EMAIL PROTECTED] wrote:


===  Script configure failed unexpectedly.
Please run the gnomelogalyzer, available from
http://www.freebsd.org/gnome/gnomelogalyzer.sh;, which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer
cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
[EMAIL PROTECTED], and attach (a)
/usr/ports/x11-fonts/libXft/work/libXft-2.1.7/config.log, (b) the output
of the failed make command, and (c) the gnomelogalyzer output. Also, it
might
be a good idea to provide an overview of all packages installed on your
system
(i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1)
with
the attachment. Try to avoid sending any attachments to the mailing list
([EMAIL PROTECTED]), because attachments sent to FreeBSD mailing lists are
usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXft.
*** Error code 1

Stop in /usr/ports/x11/xorg-clients.
*** Error code 1

Stop in /usr/ports/x11/xorg.
rt-ca#


Did you download and run gnomelogalyzer?

In general, when ports don't build, you should 1) run cvsup to ensure your 
ports are up to date and 2) go to the port that's failing and make 
deinstall clean and make install clean.  99% of the time, this will solve 
your problem.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

Re: Oops: Deleted /var/named

2006-03-28 Thread Peter

--- daniel [EMAIL PROTECTED] wrote:

 Yes, it was dumb, but while I have a backup of all of my domain info
 and have 
 restored it all, starting named gives me this error now:
 
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
 
 I can only assume that it has something to do with the files 
 in /var/named/dev/ that I have untarred there.  I tried doing a make
 
 deinstall; make install in /usr/ports/dns/bind9 but that didn't
 create 
 anything.  What is the propper way to re-set this up?

Your problem probably has to do with missing devices.  They are not
regular files.  Try running in non-chroot environment.

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


Re: Indiana goes to DST

2006-03-28 Thread Dave McCammon


--- DAve [EMAIL PROTECTED] wrote:

 Chuck Swiger wrote:
  DAve wrote:
  Not ever having had to configure DST before, any
 advice on a work around
  since most OSes provide no DST for my timezone?
  
  You underestimate the true power of this operating
 system.  :-)
 
 Nah, I underestimated the power of our state
 legislature 8^o
 
  
  Either change the /etc/localtime symlink to point
 to the right timezone file, or
  run /stand/sysinstall, choose Configure for
 post-install config, select Time
  Zone, and you'll end up being prompted with these
 choices:
  
  x x 1   Eastern Time
  x x 2   Eastern Time - Michigan - most
 locations
  x x 3   Eastern Time - Kentucky -
 Louisville area
  x x 4   Eastern Time - Kentucky - Wayne
 County
  x x 5   Eastern Standard Time - Indiana -
 most locations
  x x 6   Eastern Standard Time - Indiana -
 Crawford County
  x x 7   Eastern Standard Time - Indiana -
 Starke County
  x x 8   Eastern Standard Time - Indiana -
 Switzerland County
  
  ...which will do the same thing.
  
 
 Selections 5 through 8 will no longer be valid in
 April. The list of 
 counties changed. More counties than #6, #7, #8 are
 going to Central TZ, 
 one county is going with Commerce Time, and item
 #5 (most locations) 
 is switching to DST.
 
 So I must setup DST manually, or select to #1. I
 think.
 

Take a look at /usr/src/share/zoneinfo/northamerica,
particularly for Indianapolis.
It looks like, at least on a 6-Stable system(March 7),
that if you use the Indianapolis choice you will get
the DST change. It(the 6-stable zoneinfo file) isn't
as new as the one obtained from the link below but the
change for Indianapolis looks the same.

This has instructions for updating zone file info. 
https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20060128100824
I had to use this on some 4.11-stable systems that I
have in production.

If you find any discrepancies in the above, please let
me know.

Thanks.
Dave


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


Re: Motherboards

2006-03-28 Thread John Cruz
I have to recommend MSI. I haven't run BSD on one yet but they have 
always given me great performance and reliability over time. They're not 
the cheapest, but I'd still rather have a low-end MSI board then the 
most expensive Abit or PC Chips board


Doug Hardie wrote:
I have a number of servers that are reaching end of life.  They are 
over 7 years old and I can no longer find IDE drives that work with 
the slower controllers they have.  These are all towers and use ASUS 
motherboards.  Those were quite cheap at the time and the boards have 
worked very well over the years.  However, I am now hearing rumers 
that ASUS motherboards are no longer the best quality and probably 
should be avoided.  Don't need much on the machines, but do have to 
have 2 NICs and a SCSI controller on each.  What are good, rock solid, 
motherboards with FreeBSD 6.0?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[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: Xorg problem

2006-03-28 Thread Paul Schmehl

--On Tuesday, March 28, 2006 02:23:29 -0700 RJ45 [EMAIL PROTECTED] wrote:


Hello I installed 6.0-RELEASE on Alpha.
But I cannot find the Xorg packages to be installed on the system,
I did a network install.
Now I need Xorg for many reasons and if I Try to install it from the
ports collection it won't compile because the systems does not have the
/usr/X11R6/include/X11 needed stuff.
How I can install Xorg ?
Where can I find a pre-packaged one ?
I just would need the include files so I Can compile ghostrscript for
example.
thanks


cd /usr/ports/print/ghostscript-gpl/ (for example)
make install clean

If it has Xorg dependencies, it will install them.

If you want Xorg installed, choose your window manager and install that. 
Xorg will be installed as well.


For example:

cd /usr/ports/x11-wm/xfce4/
make install clean

Or if you want gnome,
cd /usr/ports/x11/gnome2/
make install clean

All the standard gnome stuff will be installed and everything you need from 
xorg will be installed as well.


Ports are your friend.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

Re: Oops: Deleted /var/named

2006-03-28 Thread Dan Nelson
In the last episode (Mar 28), daniel said:
 Yes, it was dumb, but while I have a backup of all of my domain info
 and have restored it all, starting named gives me this error now:
 
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
 
 I can only assume that it has something to do with the files in
 /var/named/dev/ that I have untarred there.  I tried doing a make
 deinstall; make install in /usr/ports/dns/bind9 but that didn't
 create anything.  What is the propper way to re-set this up?

Remove everything in /var/named/dev and remount devfs on top of it (or
run /etc/rc.d/named restart which should do the same).

-- 
Dan Nelson
[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: how to create da* device?

2006-03-28 Thread David J Brooks
On Tuesday 28 March 2006 09:46, Peter wrote:

  Do you have another usb drive that works?

 Yes!  An identical drive works but this one doesn't (anymore).  But
 why does it work with Windows?  The same behaviour is exhibited on
 another machine (6.0) [both disks worked and then this one ceased to
 work].  The system I am currently using is 5.4.

Try plugging it into the box with a USB extender cable... I have a 
umass 'flash' drive that works fine on every computer I've plugged it into, 
except for the one at my office. On that machine (an XP box) it isn't 
recognized at all, unless I use an extender. It seems to be a unique problem 
between that particular device and that particular machine. Go figure...

David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Indiana goes to DST

2006-03-28 Thread wc_fbsd

At 11:08 AM 3/28/2006, you wrote:
Selections 5 through 8 will no longer be valid in April. The list of 
counties changed. More counties than #6, #7, #8 are going to Central 
TZ, one county is going with Commerce Time, and item #5 (most 
locations) is switching to DST.


Crikeys!  When is Indiana just gonna realize they are far enough 
west, they SHOULD all be Central time?!  I grew up in western Ohio, 
and I remember it was light till nearly 11pm at the solstice.


  -Wayne

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


Re: help needed - GBDE mounts on top of FUSE sshfs (fails)

2006-03-28 Thread Christian Laursen
Ensel Sharon [EMAIL PROTECTED] writes:

 Any comments ?  I really want an offsite encrypted volume.  I have the
 offsite from rsync.net, and the transport is encrypted via sshfs, but I am
 paranoid and do not want them (or anyone) to see the contants, so I want
 to just upload a single 2gig file and make a GBDE on it.

You could probably use geom_gate for it and forward the connection from the
local ggatec to the remote ggated via your ssh connection.

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


Re: panic on 4.10R

2006-03-28 Thread Kris Kennaway
On Tue, Mar 28, 2006 at 01:19:02PM +0200, Helge Sandring wrote:
 Dear list,
 
 for a few days i have every morning when I get up the following message on
 the console of my server:
 
 ===
 
 Syncing discs
 
 Fatal Trap 12: page fault in Kernel mode
 Fault virtual address  = 0x30
 Fault code = supervisor read, page not present
 Intruction pointer = 0x8:0x0033c328
 Stack pointer  = 0x10:0xc045554ec
 Frame pointer  = 0x10:0xc04554F4
 Code segment   = base 0x0, limit 0xf, type=0x1b
= DPL 0, pres 1, def32 1, gran 1
 Process eflags = interrupt enabled, resume, 1DPL=0
 Current process= idle
 Interrupt mask = bio
 Trap number= 12
 Panic: page fault
 Uptime: 23h52m27s
 Twe0: Cannot delete unit, error=16
 Automatic reboot in 15s - press key on the console to abort
 
 
 
 what does that mean? the server ran without problems for 530+ days now
 suddenly this?

Your hardware is failing?

Kris


pgpAaN72HWGKO.pgp
Description: PGP signature


Re: Indiana goes to DST

2006-03-28 Thread DAve

Dave McCammon wrote:


Take a look at /usr/src/share/zoneinfo/northamerica,
particularly for Indianapolis.
It looks like, at least on a 6-Stable system(March 7),
that if you use the Indianapolis choice you will get
the DST change. It(the 6-stable zoneinfo file) isn't
as new as the one obtained from the link below but the
change for Indianapolis looks the same.

This has instructions for updating zone file info. 
https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20060128100824

I had to use this on some 4.11-stable systems that I
have in production.

If you find any discrepancies in the above, please let
me know.


An excellent link, thank you very much. That will ensure my file times 
are correctly calculated as well.


DAve

--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: DVD-Slideshow

2006-03-28 Thread Chris Maness



On Tue, 28 Mar 2006, [EMAIL PROTECTED] wrote:


Chris,

i tried your commands, but ran into trouble:
 seq is not found, i symlinked it to jot, have you done the same?

after that it seems to work flawless. i end up with a Test.vob which
is playable by mplayer and contains the slideshow.

no sign of crossfading though.

regards,

usleep



Do you have the latest one from the ports tree?  Seq is added as a dep. 
And it has been modified for seq2.

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


Re: Indiana goes to DST

2006-03-28 Thread DAve

[EMAIL PROTECTED] wrote:

At 11:08 AM 3/28/2006, you wrote:
Selections 5 through 8 will no longer be valid in April. The list of 
counties changed. More counties than #6, #7, #8 are going to Central 
TZ, one county is going with Commerce Time, and item #5 (most 
locations) is switching to DST.


Crikeys!  When is Indiana just gonna realize they are far enough west, 
they SHOULD all be Central time?!  I grew up in western Ohio, and I 
remember it was light till nearly 11pm at the solstice.


  -Wayne


Sorry but after 20+ years of debate every session, it was just cheaper 
to change timezones, change DST, change anything. Just end the argument.


Somehow it came about that changing to DST would save millions of 
dollars a year and bring in billions in additional income to the state. 
Not sure how, no one ever answered that question.


But looking at the docs for Exchange server and LookOut it would seem 
that PC support companies are going to make a fortune ;^)


DAve


--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: help needed - GBDE mounts on top of FUSE sshfs (fails)

2006-03-28 Thread Ensel Sharon


On Tue, 28 Mar 2006, Christian Laursen wrote:

 Ensel Sharon [EMAIL PROTECTED] writes:
 
  Any comments ?  I really want an offsite encrypted volume.  I have the
  offsite from rsync.net, and the transport is encrypted via sshfs, but I am
  paranoid and do not want them (or anyone) to see the contants, so I want
  to just upload a single 2gig file and make a GBDE on it.
 
 You could probably use geom_gate for it and forward the connection from the
 local ggatec to the remote ggated via your ssh connection.


Can you elaborate, or point me to a document that describes using
geom_gate ?  My only exposure to these things was with the GBDE HOWTO:

http://0x06.sigabrt.de/howtos/freebsd_encrypted_image_howto.html

Thanks.

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


Re: help needed - GBDE mounts on top of FUSE sshfs (fails)

2006-03-28 Thread Christian Laursen
Ensel Sharon [EMAIL PROTECTED] writes:

 On Tue, 28 Mar 2006, Christian Laursen wrote:

 Ensel Sharon [EMAIL PROTECTED] writes:
 You could probably use geom_gate for it and forward the connection from the
 local ggatec to the remote ggated via your ssh connection.

 Can you elaborate, or point me to a document that describes using
 geom_gate ?  My only exposure to these things was with the GBDE HOWTO:

Read the man pages for ggatec and ggated.

Furthermore read the man page for ssh, especially the part about the -L
option.

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


virtusertable blocking seems to have no effect

2006-03-28 Thread Mikhail Teterin
Hi!

I host a domain with a handful of real addresses. I noticed, that spammers 
are using a variety of random-generated names @mydomain and wish to block such 
addresses with No spam responses instead of User unknown.

Here is (almost) what I have in the virtusertable:

[EMAIL PROTECTED]  foo
[EMAIL PROTECTED]bar
@example.com  error:5.7.0:550 No spam, thanks

I can see the No spam,thanks messages logged in the maillog (without the 
space after coma, for some reason), but there is no reject=550 message logged 
(which interferes with my other software) and some of these messages seem to 
pass through (although others are intercepted by other anti-spam defenses).

For example, here are the only two log entries, that a spam message generates:

Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: [EMAIL 
PROTECTED]... No spam,thanks
Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: from=[EMAIL 
PROTECTED], size=3305, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, 
relay=example.example.net [xx.x.xx.xxx]

Despite the No spam,thanks the message was accepted.

What am I doing wrong? Thanks!

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


Re: Motherboards

2006-03-28 Thread Kevin Kinsey

Doug Hardie wrote:

I have a number of servers that are reaching end of life. 
They are over 7 years old and I can no longer find IDE
drives that work with the slower controllers they have. 
These are all towers and use ASUS motherboards. 
Those were quite cheap at the time and the boards

have worked very well over the years.  However, I am
now hearing rumers that ASUS motherboards are no
longer the best quality and probably should be avoided. 
Don't need much on the machines, but do have to have

2 NICs and a SCSI controller on each.  What are good,
rock solid, motherboards with FreeBSD 6.0?




 John Cruz wrote:

 I have to recommend MSI. I haven't run BSD on one yet
 but they have always given me great performance and
 reliability over time. They're not the cheapest, but I'd still
 rather have a low-end MSI board then the most expensive
 Abit or PC Chips board

Interesting.  I've not used a great many MSI boards,
that's Micro-Star International, but I'm sitting on
one ATM.  It feels cheap, but it runs quite well enough,
considering it's FAMP devel/app server, LAN gateway/DNS,
FTP server, and my desktop. 


I've pretty much given up on SOYO for reasons I can't
even really remember ... I *think* it had to do with their
phone support and return policy; I've several dead older
SOYO boards in some drawer around here, a couple of
which were DOA at the time, IIRC.

OP:  2 NICS no issue here on older MSI board; also, this
is the third motherboard thread this month (not
complaining, but you can find more advice in the
archives, perhaps.)

Kevin Kinsey

--
The days are all empty and the nights are unreal.


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


4.11 Server Locks Up

2006-03-28 Thread Tom Grove
Over the past few months I have noticed that our mail server is flat out 
locking up.  I monitor it via Nagios and about once every two months I 
get emails saying it is down and when I go over to the console the 
server is totally unresponsive.  I've gone through logs every time and 
find nothing at all wrong. 

This is a Dell PowerEdge 2850 with Dual Xeon cpu's and 2GB of memory.  
Uname replies with:


FreeBSD colossus 4.11-RELEASE-p13 FreeBSD 4.11-RELEASE-p13 #0: Fri Oct 
14 13:34:01 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/COLOSSUS  i386


One, has anyone else had similar problems with boxes just becoming 
unresponsive under high load?  Two, is there any reason this would occur?


-Tom Grove


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


RE: virtusertable blocking seems to have no effect

2006-03-28 Thread Erin Fortenberry
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Mikhail Teterin
 Sent: Tuesday, March 28, 2006 2:23 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: virtusertable blocking seems to have no effect
 
 Hi!
 
 I host a domain with a handful of real addresses. I 
 noticed, that spammers are using a variety of 
 random-generated names @mydomain and wish to block such 
 addresses with No spam responses instead of User unknown.
 
 Here is (almost) what I have in the virtusertable:
 
   [EMAIL PROTECTED]  foo
   [EMAIL PROTECTED]bar
   @example.com  error:5.7.0:550 No spam, thanks
 
 I can see the No spam,thanks messages logged in the maillog 
 (without the space after coma, for some reason), but there is 
 no reject=550 message logged (which interferes with my other 
 software) and some of these messages seem to pass through 
 (although others are intercepted by other anti-spam defenses).
 
 For example, here are the only two log entries, that a spam 
 message generates:
 
 Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: 
 [EMAIL PROTECTED]... No spam,thanks
 Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: 
 from=[EMAIL PROTECTED], size=3305, class=0, nrcpts=0, 
 proto=ESMTP, daemon=MTA, relay=example.example.net [xx.x.xx.xxx]
 
 Despite the No spam,thanks the message was accepted.
 
 What am I doing wrong? Thanks!


Your users that are getting SPAM are in a BCC field.

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


Why are so many people using 4.x?

2006-03-28 Thread Joseph Vella
I notice a lot of references to version 4.x.  Is there any overwhelming reason 
why its use seems to be still popular.  I'm wanting to set up a server (just 
for play) on my home network using a PII machine.  Am I better off using an 
older version for such old equipment?  If so, do any particular versions 
stand out?



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


Re: Why are so many people using 4.x?

2006-03-28 Thread DAve

Joseph Vella wrote:
I notice a lot of references to version 4.x.  Is there any overwhelming reason 
why its use seems to be still popular.  I'm wanting to set up a server (just 
for play) on my home network using a PII machine.  Am I better off using an 
older version for such old equipment?  If so, do any particular versions 
stand out?


If I had my choice I would use 4.10 instead of 5.X. No real bias against 
the changes or decisions made in 5.X, and I don't want to start an 
argument. But my 4.x servers just run, and run, and run. I've never had 
to ask a question or had any issues when patching or installing 
software/hardware on my 4.X servers. 4.X just seems more stable and more 
mature to me, which is what attracted me to FreeBSD 7 odd years ago.


If you want to *learn* FreeBSD I would recommend 4.X as there is lots of 
information, forum data, HowTo, example information already out there.


On the flip side, I've never needed any of the features provided by 5.X 
over 4.X. If I needed jails, or ACL, max performance, or bleeding edge 
hardware support, I am sure my opinion would be different. So my opinion 
is just that, my opinion.


DAve

--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: Motherboards

2006-03-28 Thread Beech Rintoul
On Tuesday 28 March 2006 07:49, John Cruz wrote:
 I have to recommend MSI. I haven't run BSD on one yet but they have
 always given me great performance and reliability over time. They're not
 the cheapest, but I'd still rather have a low-end MSI board then the
 most expensive Abit or PC Chips board

 Doug Hardie wrote:
  I have a number of servers that are reaching end of life.  They are
  over 7 years old and I can no longer find IDE drives that work with
  the slower controllers they have.  These are all towers and use ASUS
  motherboards.  Those were quite cheap at the time and the boards have
  worked very well over the years.  However, I am now hearing rumers
  that ASUS motherboards are no longer the best quality and probably
  should be avoided.  Don't need much on the machines, but do have to
  have 2 NICs and a SCSI controller on each.  What are good, rock solid,
  motherboards with FreeBSD 6.0?

I also like MSI. Several weeks ago I build a new economy server-desktop for 
one of my clients. I started out with an Asus K-8 series and it was so bad I 
ended up returning the board. I went with a MSI K-8T Neo and have had zero 
problems with it. The server is rock solid and everything works as advertised 
with no system tweaks necessary to set it up. I originally set it up for 
AMD64 but went back to I-386 because of lack of desktop support. I would 
recommend them highly for low-end servers. It's happily running 6-STABLE.

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpje4J3BNYbP.pgp
Description: PGP signature


Re: Why are so many people using 4.x?

2006-03-28 Thread Björn König

Joseph Vella schrieb:
I notice a lot of references to version 4.x.  Is there any overwhelming reason 
why its use seems to be still popular.


Because these systems were installed a few years ago and they are still 
runnnig fine. Furthermore it might be not harmless to upgrade a 
production server to a newer version of FreeBSD.


I'm wanting to set up a server (just 
for play) on my home network using a PII machine.  Am I better off using an 
older version for such old equipment?  If so, do any particular versions 
stand out?


Try latest first, i.e. 6.0-RELEASE or 6.1-BETA if you like. I have no 
problems with 6.0-RELEASE running on a Pentium III 300 machine.


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


Re: Why are so many people using 4.x?

2006-03-28 Thread [EMAIL PROTECTED]
On 3/28/06, Joseph Vella [EMAIL PROTECTED] wrote:
 I notice a lot of references to version 4.x.  Is there any overwhelming reason
 why its use seems to be still popular.  I'm wanting to set up a server (just
 for play) on my home network using a PII machine.  Am I better off using an
 older version for such old equipment?  If so, do any particular versions
 stand out?

Because the headache of upgrading isn't worth the
advantages in many cases.  If you're installing from
scratch, go with 6.x, if you already a functional (and
security patched!) 4.x server have (and needn't ye
any of the features of 6.x) no need there is upgrading
to do.

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


Re: Why are so many people using 4.x?

2006-03-28 Thread John Cruz

I'm running 6.0 on a pentium3 700mhzno problems whatsoever with it.

Joseph Vella wrote:
I notice a lot of references to version 4.x.  Is there any overwhelming reason 
why its use seems to be still popular.  I'm wanting to set up a server (just 
for play) on my home network using a PII machine.  Am I better off using an 
older version for such old equipment?  If so, do any particular versions 
stand out?




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [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: Why are so many people using 4.x?

2006-03-28 Thread Tom Grove

Joseph Vella wrote:

I notice a lot of references to version 4.x.  Is there any overwhelming reason 
why its use seems to be still popular.  I'm wanting to set up a server (just 
for play) on my home network using a PII machine.  Am I better off using an 
older version for such old equipment?  If so, do any particular versions 
stand out?




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


 

I would certainly recommend going with 6.x.  The reason that many of our 
servers still run 4.x is that 5.x got a bad reputation and there really 
is no upgrade path from 4.x to 6.x.  5 and 6 default to using UFS2 and 4 
uses UFS so, IMHO it's better to rebuild and taking a few hundred users 
offline for a couple of hours whilst this happens isn't fun.


That's my scenario...I'm sure others have totally different reasons.

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


Re: Why are so many people using 4.x?

2006-03-28 Thread Philip Hallstrom

I notice a lot of references to version 4.x.  Is there any overwhelming reason
why its use seems to be still popular.  I'm wanting to set up a server (just
for play) on my home network using a PII machine.  Am I better off using an
older version for such old equipment?  If so, do any particular versions
stand out?


A lot changed b/n 4.x and 5.x (and 6.x).  Enough that a lot of people 
haven't upgraded because what they have works, they know it, and upgrading 
might break an app/system of theirs that isn't broken.


That said, I've gone from 4.x straight to 6.x with my last round of 
servers.  Granted I was starting from scratch and I didn't mind the 
adjustment time (by adjustment I mean getting used to /etc/rc.d/* instead 
of /etc/rc.xyz*, etc.)


If I were you, I'd go with 6.x.

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


Re: 4.11 Server Locks Up

2006-03-28 Thread Mark Cullen

Tom Grove wrote:
Over the past few months I have noticed that our mail server is flat out 
locking up.  I monitor it via Nagios and about once every two months I 
get emails saying it is down and when I go over to the console the 
server is totally unresponsive.  I've gone through logs every time and 
find nothing at all wrong.
This is a Dell PowerEdge 2850 with Dual Xeon cpu's and 2GB of memory.  
Uname replies with:


FreeBSD colossus 4.11-RELEASE-p13 FreeBSD 4.11-RELEASE-p13 #0: Fri Oct 
14 13:34:01 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/COLOSSUS  i386


One, has anyone else had similar problems with boxes just becoming 
unresponsive under high load?  Two, is there any reason this would occur?


-Tom Grove


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




I have very recently (a couple of weeks a go) had my small home server 
start randomly deciding to lock up, not even under heavy load. It would 
just decide to freeze up for no reason. It would happen usually at least 
once a week, and it was fairly common for it to lock up during the O/S 
boot. It would never lock up in BIOS though.


After replacing every single piece of hardware in the machine, aside 
from the motherboard, nothing seemed to help. Upon further inspection of 
the motherboard, just before looking to buy a new one, I noticed bulging 
/ leaking capacitors around the CPU socket. It looked like *all* of the 
most important caps were knackered. I am suprised it managed to turn on 
and stay up (for a while) at all.


Just the other day I ordered some good brand name caps (Rubycon MCZ's) 
and replaced all but 3 of the original capacitors on the board. It's 
been up for 11 days with no signs of locking up. Before leaving it on 
again I tested it out, just by restarting a fair few times, to see if it 
continued to lock up during O/S boot. Not *once* did it lock up after 
the capacitor replacement jobby I did. It appears to have solved all my 
instability problems!


It may be a long shot, but it's perhaps worth perhaps checking the 
capacitors and making sure they're in good condition. Even a slight 
bulge is the sign of a failing capacitor, as far as I am aware. The tops 
should be *perfectly* flat, and nice and shiny :-) Of course, you may 
not be comfortable taking a soldering iron to your board. If you do 
discover bad caps and would like to have them replaced by someone with 
experience, take a look at www.badcaps.net. They offer a paid service 
for capacitor replacement. Not exactly certified by any motherboard 
manufacturers or anything, but appears to have a lot of experience.

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


Re: Why are so many people using 4.x?

2006-03-28 Thread Kevin Kinsey

Joseph Vella wrote:

I notice a lot of references to version 4.x.  Is there any overwhelming reason 
why its use seems to be still popular.  I'm wanting to set up a server (just 
for play) on my home network using a PII machine.  Am I better off using an 
older version for such old equipment?  If so, do any particular versions 
stand out?
 



==

TOP TEN REASONS PEOPLE STILL USE FREEBSD 4.11

10.  format  reinstall sounds too much like MSFT!

9.  Spinal Tap fans can't wait to hit 4.*14* 

8.  'uname -a' substitutes for ATT information call...

7.  Procmail rules delete announce@ headers

6.  Believed [EMAIL PROTECTED] trolling

5.  African users are non-migratory.++

4.  Tools, not policy.

3.  Too busy coding to update.

2.   It Just Works(tm).

1.  Uptime, uptime, uptime, baby!



Truth:  I dunno.  Some people are afraid of destabilization,
I guess, and follow the adage if it ain't broke ??

KDK ;-)


++ Not an ethnic or nationalist slur, catch the
Monty Python reference, please---especially
if you call yourself a geek

--
They make a desert and call it peace.
-- Tacitus (55?-120?)


Appendix.

10] 5.X introduced UFS2, and you've got to
newfs your disks to get it.

9] Ref. movie: This is Spinal Tap (which
   I've never seen-I can't really call
   myself an elder geek, then, can I?)

8]  Google's faster, and free.

7] Might be interesting to know how many
   admins really haven't thought about the
   fact that 5.x (heck, 6?  7??) exists.

6] Not his real name, I hope.  Some people
   *have* had issues.  This happens to everyone
   running a computer, I think, and isn't *directly*
   related to one's choice of OS

5] See Bruce Mah's Migration Guide(s).

4] Nobody's forcing them to upgrade.  Compare and
   contrast this with the word Free, as in FreeBSD
   and a certain well-known software company.

3] FreeBSD does allow you to do Real Work,
   especially if you don't spend your time
   running every possible update permutation.
   Or, composing silly emails to the lists...

2] 1]  ... self-explanatory?

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


Re: Why are so many people using 4.x?

2006-03-28 Thread Kris Kennaway
On Tue, Mar 28, 2006 at 03:58:37PM -0500, DAve wrote:
 Joseph Vella wrote:
 I notice a lot of references to version 4.x.  Is there any overwhelming 
 reason why its use seems to be still popular.  I'm wanting to set up a 
 server (just for play) on my home network using a PII machine.  Am I 
 better off using an older version for such old equipment?  If so, do any 
 particular versions stand out?
 
 If I had my choice I would use 4.10 instead of 5.X. No real bias against 
 the changes or decisions made in 5.X, and I don't want to start an 
 argument. But my 4.x servers just run, and run, and run. I've never had 
 to ask a question or had any issues when patching or installing 
 software/hardware on my 4.X servers. 4.X just seems more stable and more 
 mature to me, which is what attracted me to FreeBSD 7 odd years ago.
 
 If you want to *learn* FreeBSD I would recommend 4.X as there is lots of 
 information, forum data, HowTo, example information already out there.

Except that over the next year all support for 4.x will be terminated
(and in practise 4.x is already largely unsupported), so you'll be
basically on your own with a lot of stuff.

Really you want to use 6.0 or 6.1 on any new system, simply because
that's the modern, supported version of FreeBSD.

Kris


pgpieHkdlWTyo.pgp
Description: PGP signature


Re: Why are so many people using 4.x?

2006-03-28 Thread Kris Kennaway
On Tue, Mar 28, 2006 at 03:44:57PM -0500, Tom Grove wrote:

 I would certainly recommend going with 6.x.  The reason that many of our 
 servers still run 4.x is that 5.x got a bad reputation and there really 
 is no upgrade path from 4.x to 6.x.  5 and 6 default to using UFS2 and 4 
 uses UFS so, IMHO it's better to rebuild and taking a few hundred users 
 offline for a couple of hours whilst this happens isn't fun.

FYI, there's no reason you need to switch to UFS2 to run 6.

Kris


pgplz5nhZDmKO.pgp
Description: PGP signature


PCMCIA Xircom XA2000 not detecting

2006-03-28 Thread Playnet
Hello freebsd-questions,

pccard0: 16 bit PCCard bus on cbb0
pccard1: Card has no functions!
cbb1: PC Card card activation failed

FreeBSD 6.0 with DEFAULT kernel
What i need?

-- 
Best regards,
Playnet  mailto:[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: Motherboards Flaky Caps (was: 4.11 Server Locks Up)

2006-03-28 Thread wc_fbsd

At 04:23 PM 3/28/2006, Mark Cullen wrote:
Upon further inspection of the motherboard, just before looking to 
buy a new one, I noticed bulging / leaking capacitors around the CPU 
socket. It looked like *all* of the most important caps were 
knackered. I am suprised it managed to turn on and stay up (for a 
while) at all.


Yup, agreed.  Caps are really the only components that go bad just 
from age.  And on Intel Pentium 2  up mobo's, as well as AMD 
stuff = Athlon,  they're heavily stressed and often marginal quality 
from the start.


On any mobo's that support different CPU voltages,  you'll see a 
bunch of caps, coils, etc usually adjacent to the CPU socket.  It's a 
DC-DC power converter to generate all the required voltages.  Lots of 
folks are also running later models CPUs that draw more power than 
the board was designed to work with, stressing they further.


Thanks for the BadCaps.net tip -- I see *lots* of kits for ABIT 
[crap]  -- why am I not surprised?


  -Wayne

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


Re: Oops: Deleted /var/named

2006-03-28 Thread daniel
On Tuesday 28 March 2006 11:54, Dan Nelson wrote:
 In the last episode (Mar 28), daniel said:
  Yes, it was dumb, but while I have a backup of all of my domain info
  and have restored it all, starting named gives me this error now:
 
devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
 
  I can only assume that it has something to do with the files in
  /var/named/dev/ that I have untarred there.  I tried doing a make
  deinstall; make install in /usr/ports/dns/bind9 but that didn't
  create anything.  What is the propper way to re-set this up?

 Remove everything in /var/named/dev and remount devfs on top of it (or
 run /etc/rc.d/named restart which should do the same).

I'd tried running /etc/rc.d/named restart a few times until I realised that 
I had to delete the files that were already there (from the tarball).  Once I 
did that, a service restart did the trick.

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


Re: Why are so many people using 4.x?

2006-03-28 Thread DAve

Kris Kennaway wrote:

On Tue, Mar 28, 2006 at 03:58:37PM -0500, DAve wrote:

Joseph Vella wrote:
I notice a lot of references to version 4.x.  Is there any overwhelming 
reason why its use seems to be still popular.  I'm wanting to set up a 
server (just for play) on my home network using a PII machine.  Am I 
better off using an older version for such old equipment?  If so, do any 
particular versions stand out?
If I had my choice I would use 4.10 instead of 5.X. No real bias against 
the changes or decisions made in 5.X, and I don't want to start an 
argument. But my 4.x servers just run, and run, and run. I've never had 
to ask a question or had any issues when patching or installing 
software/hardware on my 4.X servers. 4.X just seems more stable and more 
mature to me, which is what attracted me to FreeBSD 7 odd years ago.


If you want to *learn* FreeBSD I would recommend 4.X as there is lots of 
information, forum data, HowTo, example information already out there.


Except that over the next year all support for 4.x will be terminated
(and in practise 4.x is already largely unsupported), so you'll be
basically on your own with a lot of stuff.


Though he could install 6.1 as one of his many reinstalls. It seems 
people who really want to learn the how and why will reinstall at least 
a few times, every one I know has ;^) It is likely that any issue he 
might run into installing 4.X could be answered by most experienced 
users on this list, right off the top of their heads. He doesn't state 
if he is new to Unix, if he were, Half Price Books would likely have 
hardcopy that covers 4.X. Google would certainly have more information 
on 4.X than on 6.X.


But yes, you do have a very valid point. He will be using 6.X 
eventually, and the changes between 4.X and 6.X are not trivial. I 
retract my statement, it is probably better to go ahead and start 
learning 6.X now.



Really you want to use 6.0 or 6.1 on any new system, simply because
that's the modern, supported version of FreeBSD.

Kris


I get frightened when something is no longer modern when it is less 
than a year old. http://www.freebsd.org/releases/5.4R/announce.html
Good reasons to recommend 6.X would be bug FOO is fixed, hardware FOO 
is now fully supported, FOO is now a kernel module and can be unloaded 
or loaded at will, disk performance is gazillion% better, etc.


Because it's new is the reason I stopped using Linux.

DAve

--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


RE: Indiana goes to DST

2006-03-28 Thread Murray Taylor
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of DAve
 Sent: Wednesday, March 29, 2006 3:58 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Indiana goes to DST
 
 Dave McCammon wrote:
 
  Take a look at /usr/src/share/zoneinfo/northamerica,
  particularly for Indianapolis.
  It looks like, at least on a 6-Stable system(March 7),
  that if you use the Indianapolis choice you will get
  the DST change. It(the 6-stable zoneinfo file) isn't
  as new as the one obtained from the link below but the
  change for Indianapolis looks the same.
  
  This has instructions for updating zone file info. 
  
 https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Doc
 s/20060128100824
  I had to use this on some 4.11-stable systems that I
  have in production.
  
  If you find any discrepancies in the above, please let
  me know.
 
 An excellent link, thank you very much. That will ensure my 
 file times 
 are correctly calculated as well.
 
 DAve
 
 -- 
 This message was checked by forty monkeys and
 found to not contain any SPAM whatsoever.
 
 Your monkeys may vary

It was necessary for me to run tzsetup again to reset /etc/localtime
when I did a similar adjustment for the change to daylight savings rules
during the Commonwealth Games here in Australia.

Alternatively you could copy the appropriate zone file as follows

cp /usr/share/zoneinfo/Australia/Melbourne /etc/localtime

after applying the new datafile (this is the sequence I used last
december) 

# cd /usr/src/share/zoneinfo
# tar zxf tzdata2005r.tar.gz
# make
# make install
# cp /usr/share/zoneinfo/Australia/Melbourne /etc/localtime

---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why are so many people using 4.x?

2006-03-28 Thread Kris Kennaway
On Tue, Mar 28, 2006 at 05:11:05PM -0500, DAve wrote:

 Really you want to use 6.0 or 6.1 on any new system, simply because
 that's the modern, supported version of FreeBSD.
 
 Kris
 
 I get frightened when something is no longer modern when it is less 
 than a year old. http://www.freebsd.org/releases/5.4R/announce.html
 Good reasons to recommend 6.X would be bug FOO is fixed, hardware FOO 
 is now fully supported, FOO is now a kernel module and can be unloaded 
 or loaded at will, disk performance is gazillion% better, etc.

If it makes you happy, all of those things are also true.

Kris

pgpSyz2nUtNM7.pgp
Description: PGP signature


Re: virtusertable blocking seems to have no effect

2006-03-28 Thread Derek Ragona

Block that in /etc/mail/access instead, use this syntax:
@example.comERROR:550  No spam, thanks

Note the leading space and use of double quotes.

-Derek


At 01:22 PM 3/28/2006, Mikhail Teterin wrote:

Hi!

I host a domain with a handful of real addresses. I noticed, that 
spammers are using a variety of random-generated names @mydomain and wish 
to block such addresses with No spam responses instead of User unknown.


Here is (almost) what I have in the virtusertable:

[EMAIL PROTECTED]  foo
[EMAIL PROTECTED]bar
@example.com  error:5.7.0:550 No spam, thanks

I can see the No spam,thanks messages logged in the maillog (without the 
space after coma, for some reason), but there is no reject=550 message 
logged (which interferes with my other software) and some of these 
messages seem to pass through (although others are intercepted by other 
anti-spam defenses).


For example, here are the only two log entries, that a spam message generates:

Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: 
[EMAIL PROTECTED]... No spam,thanks
Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: 
from=[EMAIL PROTECTED], size=3305, class=0, nrcpts=0, proto=ESMTP, 
daemon=MTA, relay=example.example.net [xx.x.xx.xxx]


Despite the No spam,thanks the message was accepted.

What am I doing wrong? Thanks!

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

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


Removable drives

2006-03-28 Thread Christopher Sean Hilton
Hi,

I have a question to the community about removable drives, pendrives
and usb and firewire attached hard drives. I'm just wondering how
people are dealing with them in FreeBSD. I don't have any operational
problems with them. I'm just wondering if I'm doing things the hard
way.

First Question: Which filesystem are people using on usb flash drives
and removable hard drives? I'm using a mixture of ufs2, ext2, and
msdos. I'm using ufs2 because I'm also using cfs to encrypt the
contents and although I haven't tested this, I'm fairly certain cfs
want's semantics that aren't in the msdos filesystem.

Second Question: Are most people using vfs_usermount=1? I'm using the
automounter. It's a little bit more work to setup but I'm using a
laptop and since I've started to use the automounter the number of
times that I've had to fsck my removable drive because I've suspended
my laptop with a pendrive still attached and mounted has been reduced
incredibly.

Thanks for your time
-- Chris


-- 
Chris Hilton   chris-at-vindaloo-dot-com

All I was doing was trying to get home from work!
 -- Rosa Parks


pgpc2rr9R1T4K.pgp
Description: PGP signature


Re: Removable drives

2006-03-28 Thread Luke Dean



On Tue, 28 Mar 2006, Christopher Sean Hilton wrote:


I have a question to the community about removable drives, pendrives
and usb and firewire attached hard drives. I'm just wondering how
people are dealing with them in FreeBSD. I don't have any operational
problems with them. I'm just wondering if I'm doing things the hard
way.

First Question: Which filesystem are people using on usb flash drives
and removable hard drives? I'm using a mixture of ufs2, ext2, and
msdos. I'm using ufs2 because I'm also using cfs to encrypt the
contents and although I haven't tested this, I'm fairly certain cfs
want's semantics that aren't in the msdos filesystem.


I use msdosfs because I use my portable devices with MS Windows systems 
and digital cameras frequently, and I need compatibility more than 
anything else.



Second Question: Are most people using vfs_usermount=1? I'm using the
automounter. It's a little bit more work to setup but I'm using a
laptop and since I've started to use the automounter the number of
times that I've had to fsck my removable drive because I've suspended
my laptop with a pendrive still attached and mounted has been reduced
incredibly.


I define the device to /etc/fstab with the noauto option, then
explicitly mount and unmount the device as necessary.  If I happen to need 
to mounst  more than one of these devices at a time, I study the 
device numbers and read man pages until I remember how to

mount something by its device name.

So no, you're not doing things the hard way.  :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops: Deleted /var/named

2006-03-28 Thread Olivier Nicole
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
 
 I can only assume that it has something to do with the files 
 in /var/named/dev/ that I have untarred there.  I tried doing a make 

What I can see from my environment (4.11), you only need
/var/named/dev/null, copy it from /dev/null

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


Re: virtusertable blocking seems to have no effect

2006-03-28 Thread Mikhail Teterin
вівторок 28 березень 2006 18:55, Derek Ragona написав:
 Block that in /etc/mail/access instead, use this syntax:
 @example.comERROR:550  No spam, thanks

 Note the leading space and use of double quotes.

Nope, that went back to saying User unknown instead of No spam...

Thanks!

-mi

 At 01:22 PM 3/28/2006, Mikhail Teterin wrote:
 Hi!
 
 I host a domain with a handful of real addresses. I noticed, that
 spammers are using a variety of random-generated names @mydomain and wish
 to block such addresses with No spam responses instead of User
  unknown.
 
 Here is (almost) what I have in the virtusertable:
 
  [EMAIL PROTECTED]  foo
  [EMAIL PROTECTED]bar
  @example.com  error:5.7.0:550 No spam, thanks
 
 I can see the No spam,thanks messages logged in the maillog (without the
 space after coma, for some reason), but there is no reject=550 message
 logged (which interferes with my other software) and some of these
 messages seem to pass through (although others are intercepted by other
 anti-spam defenses).
 
 For example, here are the only two log entries, that a spam message
  generates:
 
 Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026:
 [EMAIL PROTECTED]... No spam,thanks
 Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026:
 from=[EMAIL PROTECTED], size=3305, class=0, nrcpts=0, proto=ESMTP,
 daemon=MTA, relay=example.example.net [xx.x.xx.xxx]
 
 Despite the No spam,thanks the message was accepted.
 
 What am I doing wrong? Thanks!
 
  -mi
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FBSD 6.0 ipfilter nat redirect not working.

2006-03-28 Thread fbsd_user
Been running ipfilter long time.
Now with FBSD 6.0 having no joy at getting
redirect to web server on LAN to work.
This is first time trying this.

rl0 is NIC facing the public internet.
10.0.10.4 is the LAN ip address of the web server.
Have friend uses http://79.69.59.49:6188/index.htm
to target me. The ip address is fake for this posting.

# /root ipnat -l
List of active MAP/Redirect filters:
map rl0 10.0.10.0/29 - 0.0.0.0/32 proxy port ftp ftp/tcp
map rl0 0.0.0.0/0 - 0.0.0.0/32 proxy port ftp ftp/tcp
map rl0 10.0.10.0/29 - 0.0.0.0/32
rdr rl0 0.0.0.0/0 port 6188 - 10.0.10.4 port 80 tcp

List of active sessions:
RDR 10.0.10.4   80- - 79.69.59.49 6188  [65.45.227.95
2698]
MAP 10.0.10.6   1857  - - 79.69.59.49 1857
[216.155.193.144 5050]

Nothing happens. No ipf.log records on gateway box and
no ipf.log records on the LAN web server box.
There is firewall rule to log  pass from any to 10.0.10.4 port = 80
keep state
And any packet that does not match a firewall rule get logged and
dropped.

Gateway box has these sysctl nobs set
net.inet.ip.forwarding=1
net.inet.ip.sourceroute=0
net.ip.accept_sourceroute=0

From the active session list, it looks like the rdr command was
executed
but no packet showed up at the firewall.

My question is, does any one have ipfilter nat redirect working on
Freebsd 6.0


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


Re: virtusertable blocking seems to have no effect

2006-03-28 Thread Glenn Dawson

At 06:54 PM 3/28/2006, Mikhail Teterin wrote:

צ×ÔÏÒÏË 28 ÂÅÒÅÚÅÎØ 2006 18:55, Derek Ragona ÎÁÐÉÓÁ×:
 Block that in /etc/mail/access instead, use this syntax:
 @example.comERROR:550  No spam, thanks

 Note the leading space and use of double quotes.

Nope, that went back to saying User unknown instead of No spam...


I use this in my virtusertable:

[EMAIL PROTECTED]  error:nouser 550 No such user here

but you should be able to change the message half of that with no trouble.

That generates the following in my sendmail logs:

Mar 28 18:43:08 foo sendmail[11056]: 
k2T2g3Le011056: [EMAIL PROTECTED]... No such user here
Mar 28 18:43:11 foo sendmail[11056]: 
k2T2g3Le011056: lost input channel from 
200-100-163-150.dial-up.telesp.net.br [200.100.163.150] to MTA after rcpt
Mar 28 18:43:11 foo sendmail[11056]: 
k2T2g3Le011056: from=[EMAIL PROTECTED], size=0, 
class=0, nrcpts=0, proto=SMTP, daemon=MTA, 
relay=200-100-163-150.dial-up.telesp.net.br [200.100.163.150]



-Glenn




Thanks!

-mi

 At 01:22 PM 3/28/2006, Mikhail Teterin wrote:
 Hi!
 
 I host a domain with a handful of real addresses. I noticed, that
 spammers are using a variety of random-generated names @mydomain and wish
 to block such addresses with No spam responses instead of User
  unknown.
 
 Here is (almost) what I have in the virtusertable:
 
  [EMAIL PROTECTED]  foo
  [EMAIL PROTECTED]bar
  @example.com  error:5.7.0:550 No spam, thanks
 
 I can see the No spam,thanks messages logged in the maillog (without the
 space after coma, for some reason), but there is no reject=550 message
 logged (which interferes with my other software) and some of these
 messages seem to pass through (although others are intercepted by other
 anti-spam defenses).
 
 For example, here are the only two log entries, that a spam message
  generates:
 
 Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026:
 [EMAIL PROTECTED]... No spam,thanks
 Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026:
 from=[EMAIL PROTECTED], size=3305, class=0, nrcpts=0, proto=ESMTP,
 daemon=MTA, relay=example.example.net [xx.x.xx.xxx]
 
 Despite the No spam,thanks the message was accepted.
 
 What am I doing wrong? Thanks!
 
  -mi
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Need some tips in reorganizing our LAN.

2006-03-28 Thread Mark Jayson Alvarez
Hi,
 
 Right now, I'm working in a poor government agency where the network is not 
well organized. Its hard to trace users that are doing this stuff and doing 
that.IP addresses are scattered all around the 3 story building.Switches are 
cascading everywhere.. Everything is a disaster. When a machine is infected 
with some worms, its trivial to track it down..When one is doing p2p, no one 
can stop him. Perhaps the reason why this is happening right now is that the 
former network administrators did not consider the scenarios that will happen 
in the future, like increasing number of users and workstations 
mobilization of employees from one area to another, etc.
 
 
 Right now, we have a freebsd 4.7 lying in a dark room not far away from where 
I am right now. And it is indeed the center of our Local Area Network.. Guess 
what, it has only 2 interfaces. One connected to public, and the other 
connected to our private switch. That private interfaced is aliased to multiple 
subnets like this:
 
 10.10.1.1
 10.10.2.1
 10.10.3.1
 10.10.4.1
 10.10.5.1
 
 This interface is connected to 1 switch and then 5 or more switches are 
connected to this main switch. Those 5 or more switches are then scattered to 
every area of the building. I know you are thinking a lot of negative things 
about this setup, but this is what it really looks right now.
 
 The MIS suggested a LAN transition project, and I was assigned to lead the 
team. Right now, we are only two in this very big team. :-) I'm just wondering 
if I will ever gonna finish this project or not. I have a lot of stuffs mixed 
up in my mind right now but I really don't know where to start.
 
 I have these in my mind right now:
 
 Connectivity
 1. wired
 2. wireless
 
 Machines being hooked into the network:
 1. servers
 2. workstations
 3. testbeds
 4. personal (laptops etc.)
 
 Will use DHCP
 Will use centralized directory service
 Will use centralized authentication
 We have at most 150 employees...
 We don't have that much to spend on equipments like managed switches, powerful 
servers, etc.
 We have a lot of political issues that needs to be resolved regarding network 
usage policies
 
 
 All these stuffs, basically mixed up in my mind. I really have no idea where 
to start aside from creating a purchase request for a new PC router and a 
multiple port lan card, which I already did a week ago..And it has not arrived 
yet. :-) Please help me. I told my partner that services configuration is just 
a piece of cake once we already have a definite plan. I really don't know where 
to start. I'm not even tasked to do this... I'm just tasked to help my partner 
who is a member of the poor MIS. At first, I thought this would be just as easy 
as upgrading the machine to FreeBSD 6.0 and then reconfiguring the firewall 
ruleset, but I was wrong.
 
 If you have any Network Transition plan that you may want to share to me, 
please do so. Even if we don't have that much similarities in our network 
setup, at least the non technical part like planning etc...
 
 
 Thanks
 
 Sincerely
 -jay
 
 
 
 
 
 

-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail dns lookups

2006-03-28 Thread Giorgos Keramidas
On 2006-03-25 15:41, fbsd_user [EMAIL PROTECTED] wrote:
Giorgos Keramidas wrote:
On 2006-03-20 23:02, fbsd_user [EMAIL PROTECTED] wrote:
 How do you tell sendmail not to do dns lookups?

 You may be interested at the description of FEATURE(`nodns') in
 the file `/usr/share/sendmail/cf/README'.

 After trying to activate the sendmail nodsn feature in FreeBSD 6.0 I
 get a make error.

Careful there.  The feature is not called nodsn, but nodns.

 It seems that this feature is no longer available.

Or you are mistyping its name...

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


Error Compiling Open Office

2006-03-28 Thread Chris Maness


I just updated my ports and tried to compile open office.  got this 
failure while trying to compile.  Any suggestions?


g++-ooo: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
dmake:  Error code 1, while making '../unxfbsd.pro/obj/textenc.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making 
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/sal/textenc

dmake:  Error code 1, while making 'build_instsetoo_native'
'---* *---'
*** Error code 255
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need some tips in reorganizing our LAN.

2006-03-28 Thread Peter

--- Mark Jayson Alvarez [EMAIL PROTECTED] wrote:

 Hi,
  
  Right now, I'm working in a poor government agency where the network
 is not well organized. Its hard to trace users that are doing this
 stuff and doing that.IP addresses are scattered all around the 3
 story building.Switches are cascading everywhere.. Everything is a
 disaster. When a machine is infected with some worms, its trivial to
 track it down..When one is doing p2p, no one can stop him. Perhaps
 the reason why this is happening right now is that the former network
 administrators did not consider the scenarios that will happen in the
 future, like increasing number of users and workstations
 mobilization of employees from one area to another, etc.

snip

Do all cables lead to a centralized server room?

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


Re: Need some tips in reorganizing our LAN.

2006-03-28 Thread Olivier Nicole
Jay,

  If you have any Network Transition plan that you may want to share
  to me, please do so. Even if we don't have that much similarities
  in our network setup, at least the non technical part like planning
  etc...

It really depends of the goals you want to reach, the services you plan
to provide, how you wantto devide your network in groups, if there is
effective geographical division (one service in one single floor or in
one single office), if you can afford new cabling in the building, etc.

Once you have the big picture clear, then you can think of the
technical parts.

Best regards,

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


Re: Need some tips in reorganizing our LAN.

2006-03-28 Thread Benjamin Lutz
Hello jay,

On Wednesday 29 March 2006 05:55, Mark Jayson Alvarez wrote:
 The MIS suggested a LAN transition project, and I was assigned to lead the
 team. Right now, we are only two in this very big team. :-) I'm just
 wondering if I will ever gonna finish this project or not. I have a lot of
 stuffs mixed up in my mind right now but I really don't know where to
 start.

If you don't have it already, I'd start cleaning up the old system without 
changing it's structure. Remove the redudancies, eg unnecessary cascading 
switches, or computers that are no longer used. This will give you a clear 
idea of what the current layout looks like, making it easier to plan changes, 
and with some luck it'll also give you a hardware stockpile that you can then 
recycle for your new LAN.

  I have these in my mind right now:

  Connectivity
  1. wired
  2. wireless

I see no place for a wireless network in a professional network. It's hard to 
secure it (it's possible, encrypted-VPN-over-WLAN works, but it's difficult 
and expensive to set up). Stick with a wired LAN, and there'll be one 
security threat less that you have to worry about.

  Machines being hooked into the network:
  1. servers
  2. workstations

Make a list of the servers you have, and which user groups need them. Make a 
list of which logical user groups there are. Then design a network layout to 
match those needs. You could, for example, put each use group into its own 
subnet, including the servers it needs. Access between user groups could then 
be restricted at will*.

Alternatively, put some or all servers into a dedicated subnet. This will also 
allow protecting them better.

I realize I'm being very unspecific, but you didn't give us all that much 
information.

  3. testbeds

If there are users accessing those, treat them as servers. Otherwise, isolate 
them from the production network.

  4. personal (laptops etc.)

This is a difficult one. Personal laptops are machines you have no direct 
control over (you cannot control what software is installed on it), and as 
such they are a high risk factor when they are connected to your network. 
They might introduce malware into the company, or evade your file storage 
procedures.

This is a matter of policy basically. Try to restrict personal machines as 
much as you can. Forbid connecting them to the LAN. If you can't do that, 
maybe have specialized laptop ports that are firewalled off from the rest of 
the network.

  Will use DHCP

Keep in mind that a DHCP server needs to be in the same subnet it serves. 
Other services do not have this requirement.

  Will use centralized directory service
  Will use centralized authentication

Sounds good. Personal laptops will undermine this though, another reason to 
try to keep them away.

  We have at most 150 employees...
  We don't have that much to spend on equipments like managed switches,
 powerful servers, etc. We have a lot of political issues that needs to be
 resolved regarding network usage policies

You don't need powerful hardware to manage a network with just 150 employees. 
Some gigabit hardware for popular servers would be nice, but the network 
management will use very little CPU resources (unless of course you decide to 
play around with VPNs). So don't worry about that too much.

  All these stuffs, basically mixed up in my mind. I really have no idea
 where to start aside from creating a purchase request for a new PC router
 and a multiple port lan card, which I already did a week ago..And it has
 not arrived yet. :-)

It sounds like you're planning to have all subnets connected through this one 
FreeBSD box. This is not necessary. You can put a router in between subnets, 
and have that one located elsewhere, where it's more convenient. It can also 
make perfect sense to have firewalls on these routers. If you isolate user 
groups that need to communicate with each other into different subnets and 
block traffic between them, it'll be easier to contain a worm outbreak.

And oh yeah: in my opinion, the firewall, ie the outermost machine that's 
connected to the internet, should have 2 or 3 interfaces only, and carry data 
only on 2 of them. Do not give it several interfaces for the purpose of 
routing your LAN. It'll make creating an airtight firewall ruleset much more 
difficult. Instead, have one or several routers inside your LAN that handle 
it, that don't need to deal with malicious outside traffic too.

 Please help me.

Feel free to be more specific about your plan or with your questions, I'm sure 
people here will happily comment on or answer them.

I'm also sensing that you feel a bit overwhelmed. Try to keep pressure on 
yourself low, by having as few disruptive changes as necessary. Don't try to 
change your whole network over a weekend, it's too large for that. Install 
the new parts bit by bit, and try to do so with the rest of the old system 
still working, until you change it. In other words: take it slow, and plan 
your 

Re: Xemacs cursor in console

2006-03-28 Thread Giorgos Keramidas
On 2006-03-26 11:40, Thomas Dickey [EMAIL PROTECTED] wrote:
On Sun, Mar 26, 2006 at 04:28:31PM +0300, User Elisej wrote:
 I use XEmacs 21.4 (patch 19)
 It sets the cursor as large blinking block on its own everytime.
 How to forbid it this?

 It's using the terminal settings (terminfo cvvis, termcap vs)
 to see how to do this.  FreeBSD provides only rudimentary
 support for customizing your terminal description (the
 preferred solution); and chosing an alternative description can
 be frustrating (apparently the recommended solution ;-)

I'm not sure if XEmacs does this too, but GNU Emacs used to set
the cursor to visible when it fires up.  This is what sets the
cursor to a large blinking box in FreeBSD consoles.

In CVS versions of GNU Emacs this has been fixed with the
'visible-cursor tunable.  If this is set to non-nil, the cursor
is still set to a large blinking box.  If set to nil, then the
cursor remains the same as before (my preferred setting).

HTH,
Giorgos

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


How to clear userland?

2006-03-28 Thread Graham North
Is there a nice tidy way to clear my userland - CLEAN without 
jeopardizing or reloading the OS?


My 4.11 box is still stable - it started life as a webserver (my first 
learning experience with Unix), then added printserver and was still 
pretty light in junk.  Recently however, I decided to add a mail 
server - what with naivety and inexperience and looking at anti-spam and 
uncle virus etc I think I clogged up my HD with too many  extras.


I would like to take it back to a barebones OS and reinstall userland 
without having to re-install OS - can someone suggest safest and least 
painful options.

Thanks,  Graham/

BTW - I stayed with 4.11 mainly because it is stable, and it does what 
it is supposed to do - well, on fairly light hardware, IBM PIII-600 w. 
256MB.  If it ain't broke..   When the hardware breaks it will 
probably be time to upgrade the software and check out 6.x's new goodies 
- or maybe it will be 7.x or 8.x by that time.  ..;--)

Cheers, G/

--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: virtusertable blocking seems to have no effect

2006-03-28 Thread Mikhail Teterin
On Tuesday 28 March 2006 10:09 pm, Glenn Dawson wrote:
= I use this in my virtusertable:
= [EMAIL PROTECTED]          error:nouser 550 No such user here
= 
= but you should be able to change the message half of that with no trouble.

Please, review this thread from the beginning. I want some of the foos to be
accepted and forwarded, but all other @bar.com addresses to trigger a no-spam 
response.

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


Re: virtusertable blocking seems to have no effect

2006-03-28 Thread Glenn Dawson

At 09:26 PM 3/28/2006, Mikhail Teterin wrote:

On Tuesday 28 March 2006 10:09 pm, Glenn Dawson wrote:
= I use this in my virtusertable:
= [EMAIL PROTECTED]  error:nouser 550 No such user here
=
= but you should be able to change the message half of that with no trouble.

Please, review this thread from the beginning. I want some of the foos to be
accepted and forwarded, but all other @bar.com addresses to trigger a no-spam
response.


I saw that, but you had that part right...I thought the only problem 
was with getting the reject message to work properly.


Anyway...

This is what I typically do:

[EMAIL PROTECTED]   localaccount1
[EMAIL PROTECTED]   localaccount2
@bar.com  error:nouser 550 No such user here

Note that the order of the entries is important, the catch-all has to 
be at the end.  Organizationally, I typically keep all the @bar.com 
type entries at the end of the file and group the others before those 
in whatever way makes the most sense.


-Glenn



-mi


---

Go that way, really fast.  If something gets in your way, turn.

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


Re: Need some tips in reorganizing our LAN.

2006-03-28 Thread Garrett Cooper

Jay,

snip

This interface is connected to 1 switch and then 5 or more switches are 
connected to this main switch. Those 5 or more switches are then scattered 
to every area of the building. I know you are thinking a lot of negative 
things about this setup, but this is what it really looks right now.




You didn't define how large your client base (number of machines) was (or at 
least give us a guesstimate).


The MIS suggested a LAN transition project, and I was assigned to lead the 
team. Right now, we are only two in this very big team. :-) I'm just 
wondering if I will ever gonna finish this project or not. I have a lot of 
stuffs mixed up in my mind right now but I really don't know where to 
start.


Just sitting down with a piece of paper and working through the issues in a 
command and conquer fashion gets the job done. That's the stuff that 
engineers are made of :).



I have these in my mind right now:

Connectivity
1. wired
2. wireless


Only do wireless if you intend to have a semi-smart setup with a set of 
wireless routers that restrict the clients connecting who are not known to 
force them to login. You can ensure that the clients are known (registered) 
by recording their Mac addresses and records; that's how the dept I work for 
does things, and it works pretty well. Otherwise, there's always an SSL 
login via wireless each time that ties into a domain/kerberos login.



Machines being hooked into the network:
1. servers
2. workstations
3. testbeds
4. personal (laptops etc.)


As said before, just isolate the testbed machines from the servers and 
workstations because it will pose less of a security risk, and just in case 
something goes awry with a testbed machine, the odds of the problems 
cascading over into the other subnets will be reduced.



Will use DHCP
Will use centralized directory service
Will use centralized authentication
We have at most 150 employees...
We don't have that much to spend on equipments like managed switches, 
powerful servers, etc.


Don't need something powerful unless you want something 'simple' or 
dedicated to use; with proper setups and Unix machines (one of FreeBSD's 
definite forte's), you will probably be able to take a upper level P3 and/or 
a lower level P4 and service an entire subnet with little latency issues. I 
don't suggest running more than sshd, ipfw (or an equivalent firewall), 
sendmail, and a syslog daemon, just to keep things light and traffic moving 
quickly.


We have a lot of political issues that needs to be resolved regarding 
network usage policies


Again, registration and port blocking can solve this by restricting the 
ports and 'punishing' the rule breakers. Be aware that no solution's perfect 
and someone will always come up with something to beat your clever 
'mousetrap'.


All these stuffs, basically mixed up in my mind. I really have no idea 
where to start aside from creating a purchase request for a new PC router 
and a multiple port lan card, which I already did a week ago..And it has 
not arrived yet. :-)


If you've already done this, make sure to make this your central machine; 
that way the machine sifting through all of the traffic and redirecting 
requests can be the best equipped to meet the issue at hand.


Please help me. I told my partner that services configuration is just a 
piece of cake once we already have a definite plan.


Shouldn't have said that... building up client expectation isn't a wise 
thing necessarily if one can't deliver due to unexpected issues or turns.


I really don't know where to start. I'm not even tasked to do this... I'm 
just tasked to help my partner who is a member of the poor MIS. At first, I 
thought this would be just as easy as upgrading the machine to FreeBSD 6.0 
and then reconfiguring the firewall ruleset, but I was wrong.


Stuff isn't always as easy as it seems. That's what I've learned through my 
little experience in the real world.


If you have any Network Transition plan that you may want to share to me, 
please do so. Even if we don't have that much similarities in our network 
setup, at least the non technical part like planning etc...


Uhm... don't mean to be rude, but aren't you getting paid to think of ideas 
and not me ;)?


Just thought you might want to mull over those points I just mentioned a 
bit. Basically follow the advice given already, which essentially is:


1. Calm down
2. Think stuff over
   a. Write down what needs to be accomplished and the requirements that 
need to be met.

   b. Eliminate unnecessary components.
   c. Draw up a new plan.
3. Execute your new plan

HTH,
-Garrett 


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


Re: How to clear userland?

2006-03-28 Thread [EMAIL PROTECTED]
On 3/28/06, Graham North [EMAIL PROTECTED] wrote:
 Is there a nice tidy way to clear my userland - CLEAN without
 jeopardizing or reloading the OS?

pkg_delete -a
should get rid of anything not in the base system.
alternately, deleting /usr/local and /usr/X11R6 will
remove it pretty quickly, as well.  though one would
have to check for things started in /etc/rc.conf

Unlike certain operating systems, the bloat doesn't
do much except take up drive space if you're not
actually running the stuff in the bloat.

Make the locate database build a tiny bit slower,
I suppose.

rock the bloat/don't rock the bloat

You can rebuild the base system from scratch by
following the whole cvsup, buildworld, kernel
business.  Note what can be not installed in
/etc/make.conf (I think you still have a partial
reference living in /etc/defaults/make.conf on 4.11,
though I may have forgotten.)

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


newsyslog: nonexistent time for 'at' value

2006-03-28 Thread Rob W.
newsyslog: nonexistent time for 'at' value:
/var/log/ipfw/ipfw.log 600  10*$W0D2 Z

I keep getting this message emailed to me. I don't have any entries in crontab 
or syslog. Anybody know what this is and how do I get rid of it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to clear userland?

2006-03-28 Thread Graham North

Hi illoai:
Thank you.
G/


[EMAIL PROTECTED] wrote:


On 3/28/06, Graham North [EMAIL PROTECTED] wrote:
 


Is there a nice tidy way to clear my userland - CLEAN without
jeopardizing or reloading the OS?
   



pkg_delete -a
should get rid of anything not in the base system.
alternately, deleting /usr/local and /usr/X11R6 will
remove it pretty quickly, as well.  though one would
have to check for things started in /etc/rc.conf

Unlike certain operating systems, the bloat doesn't
do much except take up drive space if you're not
actually running the stuff in the bloat.

Make the locate database build a tiny bit slower,
I suppose.

rock the bloat/don't rock the bloat

You can rebuild the base system from scratch by
following the whole cvsup, buildworld, kernel
business.  Note what can be not installed in
/etc/make.conf (I think you still have a partial
reference living in /etc/defaults/make.conf on 4.11,
though I may have forgotten.)

--
--


 



--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: newsyslog: nonexistent time for 'at' value

2006-03-28 Thread Rob W.
Scratch that, I found it out. It's in /etc/newsyslog.conf. I had an entry 
located in there. 



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


Re: newsyslog: nonexistent time for 'at' value

2006-03-28 Thread Dan Nelson
In the last episode (Mar 29), Rob W. said:
 newsyslog: nonexistent time for 'at' value:
 /var/log/ipfw/ipfw.log 600  10*$W0D2 Z
 
 I keep getting this message emailed to me. I don't have any entries
 in crontab or syslog. Anybody know what this is and how do I get rid
 of it?

You sure you don't have a line like this in /etc/crontab?

0   *   *   *   *   rootnewsyslog

It looks like newsyslog is having problems parsing that $W0D2 value,
but it works okay for me.  Possibly the timezone you are in has a DST
switch that skips directly from 1:59 to 3:00 next Sunday, which means
there is no 2:00, which is why newsyslog is complaining.

-- 
Dan Nelson
[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: Need some tips in reorganizing our LAN.

2006-03-28 Thread lars
Benjamin Lutz [EMAIL PROTECTED] wrote:
 Hello jay,
 
 On Wednesday 29 March 2006 05:55, Mark Jayson Alvarez wrote:
  The MIS suggested a LAN transition project, and I was assigned to lead the
  team. Right now, we are only two in this very big team. :-) I'm just
  wondering if I will ever gonna finish this project or not. I have a lot of
  stuffs mixed up in my mind right now but I really don't know where to
  start.
 
 If you don't have it already, I'd start cleaning up the old system without 
 changing it's structure. Remove the redudancies, eg unnecessary cascading 
 switches, or computers that are no longer used. This will give you a clear 
 idea of what the current layout looks like, making it easier to plan changes, 
 and with some luck it'll also give you a hardware stockpile that you can then 
 recycle for your new LAN.
 
   I have these in my mind right now:
 
   Connectivity
   1. wired
   2. wireless
 
 I see no place for a wireless network in a professional network. It's hard to 
 secure it (it's possible, encrypted-VPN-over-WLAN works, but it's difficult 
 and expensive to set up). Stick with a wired LAN, and there'll be one 
 security threat less that you have to worry about.
 
   Machines being hooked into the network:
   1. servers
   2. workstations
 
 Make a list of the servers you have, and which user groups need them. Make a 
 list of which logical user groups there are. Then design a network layout to 
 match those needs. You could, for example, put each use group into its own 
 subnet, including the servers it needs. Access between user groups could then 
 be restricted at will*.
 
 Alternatively, put some or all servers into a dedicated subnet. This will 
 also 
 allow protecting them better.
 
 I realize I'm being very unspecific, but you didn't give us all that much 
 information.
 
   3. testbeds
 
 If there are users accessing those, treat them as servers. Otherwise, isolate 
 them from the production network.
 
   4. personal (laptops etc.)
 
 This is a difficult one. Personal laptops are machines you have no direct 
 control over (you cannot control what software is installed on it), and as 
 such they are a high risk factor when they are connected to your network. 
 They might introduce malware into the company, or evade your file storage 
 procedures.
 
 This is a matter of policy basically. Try to restrict personal machines as 
 much as you can. Forbid connecting them to the LAN. If you can't do that, 
 maybe have specialized laptop ports that are firewalled off from the rest of 
 the network.
 
   Will use DHCP
 
 Keep in mind that a DHCP server needs to be in the same subnet it serves. 
 Other services do not have this requirement.
 
   Will use centralized directory service
   Will use centralized authentication
 
 Sounds good. Personal laptops will undermine this though, another reason to 
 try to keep them away.
 
   We have at most 150 employees...
   We don't have that much to spend on equipments like managed switches,
  powerful servers, etc. We have a lot of political issues that needs to be
  resolved regarding network usage policies
 
 You don't need powerful hardware to manage a network with just 150 employees. 
 Some gigabit hardware for popular servers would be nice, but the network 
 management will use very little CPU resources (unless of course you decide to 
 play around with VPNs). So don't worry about that too much.
 
   All these stuffs, basically mixed up in my mind. I really have no idea
  where to start aside from creating a purchase request for a new PC router
  and a multiple port lan card, which I already did a week ago..And it has
  not arrived yet. :-)
 
 It sounds like you're planning to have all subnets connected through this one 
 FreeBSD box. This is not necessary. You can put a router in between subnets, 
 and have that one located elsewhere, where it's more convenient. It can also 
 make perfect sense to have firewalls on these routers. If you isolate user 
 groups that need to communicate with each other into different subnets and 
 block traffic between them, it'll be easier to contain a worm outbreak.
 
 And oh yeah: in my opinion, the firewall, ie the outermost machine that's 
 connected to the internet, should have 2 or 3 interfaces only, and carry data 
 only on 2 of them. Do not give it several interfaces for the purpose of 
 routing your LAN. It'll make creating an airtight firewall ruleset much more 
 difficult. Instead, have one or several routers inside your LAN that handle 
 it, that don't need to deal with malicious outside traffic too.
 
  Please help me.
 
 Feel free to be more specific about your plan or with your questions, I'm 
 sure 
 people here will happily comment on or answer them.
 
 I'm also sensing that you feel a bit overwhelmed. Try to keep pressure on 
 yourself low, by having as few disruptive changes as necessary. Don't try to 
 change your whole network over a weekend, it's too large for that. Install 
 the 

Re: How to clear userland?

2006-03-28 Thread Erik Norgaard

[EMAIL PROTECTED] wrote:

On 3/28/06, Graham North [EMAIL PROTECTED] wrote:

Is there a nice tidy way to clear my userland - CLEAN without
jeopardizing or reloading the OS?


pkg_delete -a
should get rid of anything not in the base system.
alternately, deleting /usr/local and /usr/X11R6 will
remove it pretty quickly, as well.  though one would
have to check for things started in /etc/rc.conf


Variables set in rc.conf refering to nonexistent programs have no effect. 
But if you delete /usr/local and /usr/X11R6 you'll mess up the package 
database. Clean it by deleting content of /var/db/pkg also. Recreate the 
/usr/local and /usr/X11R6 using mtree.


Cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libiconv doesn't compile

2006-03-28 Thread Conrad J. Sabatier
On Tue, 28 Mar 2006 16:59:41 +0100 (GMT+01:00)
Vittorio [EMAIL PROTECTED] wrote:

 I tried 
 cd /usr/ports/converters/libiconv
 make install
 
 but...
 :..
 ...
 if test -n ; then install  -o root -g wheel -m 444  /usr/local/lib/.
 new  mv /usr/local/lib/.new /usr/local/lib/ ; fi
 cd srclib  make 
 install prefix='/usr/local' exec_prefix='/usr/local' 
 libdir='/usr/local/lib'
 cd src  make install prefix='/usr/local' 
 exec_prefix='/usr/local' libdir='/usr/local/lib'
 test `ls -ld . | sed -
 e 's/^d\(.\).*/\1/'` = rwxrwxrwx || chmod 777 .
 if [ ! -d 
 /usr/local ] ; then /bin/sh ../autoconf/mkinstalldirs /usr/local ; fi
 if [ ! -d /usr/local ] ; then /bin/sh ../autoconf/mkinstalldirs 
 /usr/local ; fi
 if [ ! -d /usr/local/bin ] ; then /bin/sh ..
 /autoconf/mkinstalldirs /usr/local/bin ; fi
 case freebsd6.0 in  
 hpux*) cc  `if test -n ''; then  /usr/local/bin; fi` iconv.o ..
 /srclib/libicrt.a -L/usr/local/lib -liconv -lintl -o iconv;;  freebsd*) 
 /bin/sh ../libtool --mode=link cc  `if test -n ''; then  
 /usr/local/bin; fi` iconv.o ../srclib/libicrt.a ../lib//libiconv.la -
 lintl -o iconv;;  *) /bin/sh ../libtool --mode=link cc  `if test -n ''; 
 then  /usr/local/bin; fi` iconv.o ../srclib/libicrt.a 
 /usr/local/lib/libiconv.la -lintl -o iconv;;  esac
 cc iconv.o -o .
 libs/iconv  ../srclib/libicrt.a ../lib//.libs/libiconv.so -lintl -Wl,--
 rpath -Wl,/usr/local/lib
 /usr/bin/ld: cannot find -lintl
 *** Error code 
 1
 ..
 
 What's the matter with it?
 
 Ciao
 Vittorio

I don't know why this isn't listed as a dependency for this particular
port, but anyway...

The linker is not finding libintl.  Try installing devel/gettext and
then recompiling.

-- 
Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to create da* device?

2006-03-28 Thread Conrad J. Sabatier
On Tue, 28 Mar 2006 01:51:41 -0500 (EST)
Peter [EMAIL PROTECTED] wrote:

 I am still trying to get my USB hard drive to work.  It used to work
 but now when I plug it in all I get is:
 
 kernel: umass0: PI-036 USB2.0 Drive, rev 2.00/0.01, addr 2
 kernel: umass0: Get Max Lun not supported (STALLED)
 
 I remember such messages before but after them there were some more
 meesages beginning with da0.  But now no da* device is created under
 /dev.
 
 I figured maybe this (new) drive has gone bad but it works under
 Windows 2000.  Any ideas why this has stopped working?  I did not
 change anything on my system although I just updated my sources and
 baked a new kernel without success (same results).

Updating your sources and building *only* a new kernel without also
building world is never a good idea.  Your kernel and world are most
likely out of sync right now, perhaps even critically so.

I just added an external USB/firewire drive myself, which is working
fine.  The kernel options I added to support the device are:

device  da
device  ehci
device  ohci
device  pass
device  ugen
device  uhci
device  umass
device  usb

Hope this helps.

-- 
Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The 'Amnesiac' screen s set up when FreeBSD starts up

2006-03-28 Thread Conrad J. Sabatier
On Mon, 27 Mar 2006 20:36:16 GMT
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

   When  FreeBSD  starts up, you see a screen (on an  IBM PC )
 with a heading line that says:
   FreeBSD/i386 (Amnesiac) (ttyv0)

This is because you have no hostname set in /etc/rc.conf.

   Is there a command that tells one on which screen one now
 sits, and if so what is its path-name?  Where are these screens
 set up, and can one change that, say adding new screens?

You can use who, w, or who am i to see where you're at.

The ttys are controlled by the file /etc/ttys.  But don't go tinkering
with it unless you understand what you're doing.

-- 
Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD 6.0 ipfilter nat redirect not working.

2006-03-28 Thread Erik Norgaard

fbsd_user wrote:


# /root ipnat -l
List of active MAP/Redirect filters:
map rl0 10.0.10.0/29 - 0.0.0.0/32 proxy port ftp ftp/tcp
map rl0 0.0.0.0/0 - 0.0.0.0/32 proxy port ftp ftp/tcp
map rl0 10.0.10.0/29 - 0.0.0.0/32
rdr rl0 0.0.0.0/0 port 6188 - 10.0.10.4 port 80 tcp

List of active sessions:
RDR 10.0.10.4   80- - 79.69.59.49 6188  [65.45.227.95
2698]
MAP 10.0.10.6   1857  - - 79.69.59.49 1857
[216.155.193.144 5050]

Nothing happens. No ipf.log records on gateway box and
no ipf.log records on the LAN web server box.
There is firewall rule to log  pass from any to 10.0.10.4 port = 80
keep state
And any packet that does not match a firewall rule get logged and
dropped.


Please post your filter ruleset also.

Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]