RE: Google Chrome

2008-09-04 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of RW
 Sent: Wednesday, September 03, 2008 5:22 PM
 To: freebsd-questions@freebsd.org
 Subject: Re: Google Chrome
 
 
 On Thu, 4 Sep 2008 00:47:34 +0200 (CEST)
 Wojciech Puchar [EMAIL PROTECTED] wrote:
 
   For most people that's already happened, except that it's
   Adobe-Flash WWW. Google's approach of open-source software, and
   open-extensions, leading to new standards, sounds a lot better to
   me.
  
  except it leads to google-everything. not even a bit better than 
  microsoft-everything
 
 There's a lot of difference. Microsoft has always tried to undermine
 standards because standards give its competitors a more level-playing
 field, which is what Google needs for its webapps to compete with
 Microsoft's desktop applications. I don't see how that's bad for
 anyone except Microsoft.

The real reason that Chrome is important is because due to Microsoft
enticement and pressure, a growing number of people are implementing
websites that require active X controls which won't run on anything
other than Windows.  We are seeing a lot of this in embedded stuff
but it's starting to contaminate public websites and most importantly,
general software.

Just by virtue of it coming from Google, a lot of end users and
consumers out there will download, install and run Chrome.  As a result
web designers will have less incentive to jump to active X.  That
is very important.

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


Re: Google Chrome

2008-09-04 Thread Fred C


On Sep 3, 2008, at 5:21 PM, RW wrote:


On Thu, 4 Sep 2008 00:47:34 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:


For most people that's already happened, except that it's
Adobe-Flash WWW. Google's approach of open-source software, and
open-extensions, leading to new standards, sounds a lot better to
me.


except it leads to google-everything. not even a bit better than
microsoft-everything


There's a lot of difference. Microsoft has always tried to undermine
standards because standards give its competitors a more level-playing
field, which is what Google needs for its webapps to compete with
Microsoft's desktop applications. I don't see how that's bad for
anyone except Microsoft.


So you mean that google is learning from the Microsoft mistakes. Or  
maybe
google need to get along with the standards for now, but as soon as  
they have
secured the market they will define the standards as they need it to  
be for their

benefit.

-fred-



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


RE: Google Chrome

2008-09-04 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Fred C
 Sent: Wednesday, September 03, 2008 11:21 PM
 To: RW
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Google Chrome
 
 
 
 On Sep 3, 2008, at 5:21 PM, RW wrote:
 
  On Thu, 4 Sep 2008 00:47:34 +0200 (CEST)
  Wojciech Puchar [EMAIL PROTECTED] wrote:
 
  For most people that's already happened, except that it's
  Adobe-Flash WWW. Google's approach of open-source software, and
  open-extensions, leading to new standards, sounds a lot better to
  me.
 
  except it leads to google-everything. not even a bit better than
  microsoft-everything
 
  There's a lot of difference. Microsoft has always tried to undermine
  standards because standards give its competitors a more level-playing
  field, which is what Google needs for its webapps to compete with
  Microsoft's desktop applications. I don't see how that's bad for
  anyone except Microsoft.
 
 So you mean that google is learning from the Microsoft mistakes. Or  
 maybe
 google need to get along with the standards for now, but as soon as  
 they have
 secured the market they will define the standards as they need it to  
 be for their
 benefit.
 

Since they are defining standards that are implemented in open source
code under BSD license I don't see the problem.

You can complain the day that Adobe releases the source for Acrobat
Reader, and Flash, under BSD license, and Google closes the source for
Chrome, OK?

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


Re: script to assist ASCII text

2008-09-04 Thread Karl Vogel
 On Mon, 25 Aug 2008 21:00:10 -0700, 
 Gary Kline [EMAIL PROTECTED] said:

G This had eluded me for years and it may not be possible, but here goes.
G I write using vi or, less frequently vim.  Is there any sh script that
G would make sure that there were exactly one space ('\040') between words,
G and three spaces between sentences?  My definition of a sentence is a
G string of words that ends in a period or question-mark, exclamation-mark,
G or ellipse (... . || ... ? || ... !)  Also, any dash -- could not have
G any whitespace around it.

   I like a similar setup -- one space between words, sentences ending
   with a period followed by two spaces.  The GNU version of fmt handles
   this pretty well.  Here's the first part of your message, formatted to
   50-character-wide lines, with the type of spacing that drives me nuts:

 me% cat -n msg
   1  This had eluded me for years and it may not be
   2  possible, but here goes. I write using vi or,
   3  less frequently vim. Is there any sh script that
   4  would make sure that there were exactly one
   5  space ('\040') between words, and three spaces
   6  between sentences? My definition of a sentence
   7  is a string of words that ends in a period or
   8  question-mark, exclamation-mark, or ellipse.

   Putting one word on each line and then letting GNU fmt decide on
   sentence-handling does almost exactly what you want:
   
 me% gfmt -1 msg | gfmt -50 | cat -n
   1  This had eluded me for years and it may not be
   2  possible, but here goes.  I write using vi or,
   3  less frequently vim.  Is there any sh script
   4  that would make sure that there were exactly one
   5  space ('\040') between words, and three spaces
   6  between sentences?  My definition of a sentence
   7  is a string of words that ends in a period or
   8  question-mark, exclamation-mark, or ellipse.

   Here's a script I use as a driver for GNU fmt.  It looks for an
   optional environment variable FMTWIDTH to decide how long each line
   should be.  This comes in handy if I call vi/vim from within a script:

 #!/bin/sh
 # driver for fmt.

 case $FMTWIDTH in
 ) opt= ;;
 *)  opt=-$FMTWIDTH ;;
 esac
 case $1 in
 -*) opt= ;;
 *)  ;;
 esac
 exec /usr/local/bin/gfmt $opt ${1+$@}

   Here's an alias I use for quickly reformatting a section of text
   in vim.  I mark where to start using 'a', then move down to the end
   of the section and hit 'v':

 jmbk:'a,.!fmt -1|fmtCR'b

   A similar alias will reformat whatever paragraph I'm in, with no need
   for marks:

 }jmbk{ma}:'a,.!fmt -1|fmtCR'b

   The script below helps me clean up a file or message after running fmt,
   which makes strings like U.S.A. look like the end of a sentence
   even when they're not.  This should give you some ideas.

-- 
Karl Vogel  I don't speak for the USAF or my company
Panda Mating Fails; Veterinarian Takes Over --actual news headline, 1997

---
#!/usr/bin/perl
#
# $Id: cm,v 1.3 2008/08/17 20:25:49 vogelke Exp $
# $Source: /home/vogelke/bin/RCS/cm,v $
#
# cm: clean mail message

while () {
s/Jan\.  /Jan /g;
s/Feb\.  /Feb /g;
s/Aug\.  /Aug /g;
s/Sept\.  /Sept /g;
s/Oct\.  /Oct /g;
s/Nov\.  /Nov /g;
s/Dec\.  /Dec /g;
s/Mr\.  /Mr. /g;
s/Mrs\.  /Mrs. /g;
s/Ms\.  /Ms. /g;
s/Dr\.  /Dr. /g;
s/Sen\.  /Senator /g;
s/Rep\.  /Representative /g;
s/U\.S\.A\.  /USA /g;
s/U\.S\.  /US /g;
s/D\.C\.  /DC /g;
s/U\.N\.  /UN /g;
s/B\.S\.  /BS /g;
s/M\.B\.A\.  /MBA /g;
s/ ([A-Z]\.)  / $1 /g;
s/''/\/g;
s/``/\/g;

s/\342\200\231/'/g; # These come from saving Firefox pages
s/\342\200\234//g;
s/\342\200\235//g;

print;
}

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


Re: Google Chrome

2008-09-04 Thread Fred C


On Sep 3, 2008, at 11:27 PM, Ted Mittelstaedt wrote:





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Fred C
Sent: Wednesday, September 03, 2008 11:21 PM
To: RW
Cc: freebsd-questions@freebsd.org
Subject: Re: Google Chrome



On Sep 3, 2008, at 5:21 PM, RW wrote:


On Thu, 4 Sep 2008 00:47:34 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:


For most people that's already happened, except that it's
Adobe-Flash WWW. Google's approach of open-source software, and
open-extensions, leading to new standards, sounds a lot better to
me.


except it leads to google-everything. not even a bit better than
microsoft-everything


There's a lot of difference. Microsoft has always tried to undermine
standards because standards give its competitors a more level- 
playing

field, which is what Google needs for its webapps to compete with
Microsoft's desktop applications. I don't see how that's bad for
anyone except Microsoft.


So you mean that google is learning from the Microsoft mistakes. Or
maybe
google need to get along with the standards for now, but as soon as
they have
secured the market they will define the standards as they need it to
be for their
benefit.



Since they are defining standards that are implemented in open source
code under BSD license I don't see the problem.

You can complain the day that Adobe releases the source for Acrobat
Reader, and Flash, under BSD license, and Google closes the source for
Chrome, OK?


I am not saying what they are doing is not good for the community.  
Like everyone
here I thing that's great. Not only because it's one more pice of  
freesoftware. Also
because that will force web developers to use standards instead of  
specificities only
available on IE. I am just saying that what they are doing is for  
their own good and
not for the good of mankind. Their business model doesn't rely on  
software ownership

but on data mining.

-fred-



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


Re: problem running named

2008-09-04 Thread Richard Yang
Thank you so much for this tip :)
it is just a simple syntax error in named.conf
it is running now
thank you so much!

2008/9/3 Sebastian Tymków [EMAIL PROTECTED]

 Hello,

 What is on logs ?
 What do you have in your /etc/rc.conf for named ?

 Best regards,

 Shamrock

 2008/9/3 Richard Yang [EMAIL PROTECTED]

 Hello,

 When I tried /etc/rc.d/named forcestart, i got
 ./named: WARNING: run_rc_command: cannot run /etc/namedb/named

 what does it mean and how do i fix this?
 thanx

 --

 Best Regards

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





-- 

Best Regards

Richard Yang
[EMAIL PROTECTED]
[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: ftp server: create/delete user by web interface

2008-09-04 Thread Sebastian Tymków
Hello,

Have you tried cpanel or webmin ?
Or maybe you're looking for solution like ftp server and accounts in
database ?


Best regards,

Sebastian Tymków

2008/9/4 Martin Schweizer [EMAIL PROTECTED]

 Hello

 I've three FreeBSD 7.0 server. Im looking for a combination where I can
 create/delete etc. ftp users as a non-root user (probably from a template).
 Do
 you have some hints which combinations works in such a constellation?

 Regards,

 --

 Martin Schweizer
 [EMAIL PROTECTED]

 PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
 Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
 public key : http://www.pc-service.ch/pgp/public_key.asc;
 fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

 ___
 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: /: write failed, filesystem is full

2008-09-04 Thread Ivailo Tanusheff
I suppose you are downloading some files from ftp to your home.
Is that is the case - then you should check where is your home directory. 
I suppose you do it as root, and the root home is /root, which resides on 
the / mount.

Regards,

Ivailo Tanusheff




Nikola Knežević [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
03.09.2008 21:41

To
freebsd-questions@freebsd.org
cc

Subject
/: write failed, filesystem is full






Hi,
I'm trying to install FreeBSD 7.0 on our new server (Intel Xeon 2x4- 
core machine), which has a 250GB SATAII disk. I used -bootonly CD 
image, and assigned whole disk to FreeBSD. Breakdown is:
/ - 2GB
swap - 4GB
/var - 9GB
/tmp - 4GB
/usr - 213GB

As soon as I start copying files from FTP, this is the error I get:
/: write failed, filesystem is full

This shouldn't happen, since sysinstall did newfs on these partitions.

What to do?

I'll now try to run livefs disk, to see what is happening there.

Cheers,
Nikola
___
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: ThinkPad 3.0GHz: can anybody verify?

2008-09-04 Thread Wojciech Puchar


I'm looking at a 3GHz ThinkPad w/out any OS.  It's got
at most 512M memory and only 40G drive.  The guy I'm going to
have upgrade this l'top thinks it will take a 160GB drive easily.
Also that the RAM might max out at just 2GB.

Any fellow TP-people onlist who know if my friend is right?


no idea. anyway 512MB is more than enough.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-04 Thread Zbigniew Szalbot

Hi,



I'm looking at a 3GHz ThinkPad w/out any OS.  It's got
at most 512M memory and only 40G drive.  The guy I'm going to
have upgrade this l'top thinks it will take a 160GB drive easily.
Also that the RAM might max out at just 2GB.

Any fellow TP-people onlist who know if my friend is right?


no idea. anyway 512MB is more than enough.


Sounds like Bill Gates who once said that 8MB will be more than enough 
for everyone...


--
Zbigniew Szalbot
www.LCWords.com


smime.p7s
Description: S/MIME Cryptographic Signature


RE: Google Chrome

2008-09-04 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Fred C
 Sent: Wednesday, September 03, 2008 11:42 PM
 To: freebsd-questions@freebsd.org
 Cc: Ted Mittelstaedt
 Subject: Re: Google Chrome
 
 
 
 On Sep 3, 2008, at 11:27 PM, Ted Mittelstaedt wrote:
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Fred C
  Sent: Wednesday, September 03, 2008 11:21 PM
  To: RW
  Cc: freebsd-questions@freebsd.org
  Subject: Re: Google Chrome
 
 
 
  On Sep 3, 2008, at 5:21 PM, RW wrote:
 
  On Thu, 4 Sep 2008 00:47:34 +0200 (CEST)
  Wojciech Puchar [EMAIL PROTECTED] wrote:
 
  For most people that's already happened, except that it's
  Adobe-Flash WWW. Google's approach of open-source software, and
  open-extensions, leading to new standards, sounds a lot better to
  me.
 
  except it leads to google-everything. not even a bit better than
  microsoft-everything
 
  There's a lot of difference. Microsoft has always tried to undermine
  standards because standards give its competitors a more level- 
  playing
  field, which is what Google needs for its webapps to compete with
  Microsoft's desktop applications. I don't see how that's bad for
  anyone except Microsoft.
 
  So you mean that google is learning from the Microsoft mistakes. Or
  maybe
  google need to get along with the standards for now, but as soon as
  they have
  secured the market they will define the standards as they need it to
  be for their
  benefit.
 
 
  Since they are defining standards that are implemented in open source
  code under BSD license I don't see the problem.
 
  You can complain the day that Adobe releases the source for Acrobat
  Reader, and Flash, under BSD license, and Google closes the source for
  Chrome, OK?
 
 I am not saying what they are doing is not good for the community.  
 Like everyone
 here I thing that's great. Not only because it's one more pice of  
 freesoftware. Also
 because that will force web developers to use standards instead of  
 specificities only
 available on IE. I am just saying that what they are doing is for  
 their own good and
 not for the good of mankind. Their business model doesn't rely on  
 software ownership
 but on data mining.
 

I actually don't think that everyone here is naieve enough to
believe that Google is doing this purely for altruistic reasons.

Just about every open source program ever written was written
for the good of the programmer, not for the good of the community.
The programmer needed a piece of software, he created it, and
saw that it was good.  The sharing comes later.

Philosophers have been arguing for centuries that nobody
does anything for altruistic reasons.

Keep that in mind when you turn on the RNC and watch all the
speeches from the politicians saying they are running to fix
America.  Such altruism!!! ;-)

Seriously, what Google is doing is exactly like what ATT did
when they sent out source of the early UNIX to all those 
colleges and universities, so many years ago.  From that grew
BSD UNIX and FreeBSD.  But it wasn't done to help UCB, it was
done to help ATT!  Google is just going back to the original
UNIX software model that reigned before the coming of Sauron
and the Great Software Darkness.

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


RE: Google Chrome

2008-09-04 Thread jef moskot

On Thu, 4 Sep 2008, Ted Mittelstaedt wrote:
Seriously, what Google is doing is exactly like what ATT did when they 
sent out source of the early UNIX to all those colleges and 
universities, so many years ago.


This isn't about creating software, it's about collecting our data.  I 
don't understand why people and institutions are willingly handing over 
all their most valuable information to a private corporation, but maybe 
I'm just old and cranky and not ready for the New World Order.


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


[6.3] Upgrading PHP5?

2008-09-04 Thread Gilles
Hello

I successfully upgraded the Ports collection with csup and then
compiled Apache2, but I don't know what to do about PHP5, as it has
several Ports available:

php5-5.2.6 needs updating (port has
5.2.6_1)
php5-bz2-5.2.6 needs updating (port has
5.2.6_1)
php5-ctype-5.2.6   needs updating (port has
5.2.6_1)
php5-curl-5.2.6needs updating (port has
5.2.6_1)
etc.

Thank you.

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


Re: [6.3/Apache22] Right way to compile worker MPM?

2008-09-04 Thread Gilles
On Wed, 03 Sep 2008 15:04:06 -0400, Michael Powell
[EMAIL PROTECTED] wrote:
 One problem is that worker/event mpm is not recommended for use with
mod_php as some pieces of PHP is not thread safe

Arg :-/ So I'll stick to preforked instead. My friends's web server
uses PHP extensively.

 So running PHP as FastCGI with mod_fcgid is what I'm currently playing
 around with for test purposes.

I'm interested in some feedback about preforked vs. FastCGI with
Apache22.

Thank you.

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


LDAP and ssh not working anymore since upgrade to FreeBSD 7.1

2008-09-04 Thread O. Hartmann
I recently updated several boxes up to FreeBSD 7.1-PRE having had a 
working OpenLDAP binding. After this update, I can't log in on those 
boxes connected to an LDAP server via ssh!
The boxes also run lighttpd as a webserver with remote LDAP 
authentication for several user spaces and this still works as expected.
I can log in locally on the boxes in question, even with LDAP backed 
users, so login works fine, also doeing a 'su - USER' as root works 
fine, but no sshd connects. Only local users (stored in /etc/passwd) can 
login in via ssh.


The error message on console is like this: sshd[16434]: fatal: 
login_get_lastlog: Cannot find account for uid 2001


It's funny, seems that sshd never made it to LDAP although I see traffic 
on the LDAP server's log.


I append, for completeness, /etc/pam.d/sshd, /etc/ssh/sshd_conf

#
# $FreeBSD: src/etc/pam.d/sshd,v 1.16 2007/06/10 18:57:20 yar Exp $
#
# PAM configuration for the sshd service
#

# auth
authsufficient  pam_opie.so no_warn 
no_fake_prompts

#auth   requisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn 
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn 
try_first_pass
authsufficient  /usr/local/lib/pam_ldap.so no_warn 
try_first_pass ignore_authinfo_unavail
authrequiredpam_unix.so no_warn 
try_first_pass


# account
account requiredpam_nologin.so
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account sufficient  /usr/local/lib/pam_ldap.so
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session optional/usr/local/lib/pam_mkhomedir.so 
skel=/usr/share/skel mode=0750

session requiredpam_permit.so

# password
#password   sufficient  pam_krb5.so no_warn 
try_first_pass
passwordsufficient  /usr/local/lib/pam_ldap.so  no_warn 
use_authtok
passwordrequiredpam_unix.so no_warn 
try_first_pass




#   $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $
#   $FreeBSD: src/crypto/openssh/sshd_config,v 1.47.2.1 2008/09/01 20:03:13 
des Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

# Note that some of FreeBSD's defaults differ from OpenBSD's, and
# FreeBSD has a few additional options.

VersionAddendum FreeBSD-20080901

Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

# Disable legacy (protocol version 1) support in the server for new
# installations. In future the default will change to require explicit
# activation of protocol 1
Protocol 2

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 1h
ServerKeyBits 1024

# Logging
# obsoletes QuietMode and FascistLogging
SyslogFacility AUTH
LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# Change to yes to enable built-in password authentication.
PasswordAuthentication no
#PermitEmptyPasswords no

# Change to no to disable PAM authentication
# ChallengeResponseAuthentication yes
ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

# Set this to 'no' to disable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will 
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of PermitRootLogin without-password.
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set 

Automatically starting user programs on boot

2008-09-04 Thread Saša Stupar
Hi!

On my FBSD 7 server I also use screen with rtorrent. In case of server
reboot (power outage, server goes on UPS then power down) the user need
manually to login, then start screen and then rtorrent. Is it possible to
start this procedure automatically and of course as certain user and not
as root?
I was thinking about .startup file or something in users home directory.

Regards,
Sasa

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


Re: [6.3] Upgrading PHP5?

2008-09-04 Thread Michael Powell
Gilles wrote:

 Hello
 
 I successfully upgraded the Ports collection with csup and then
 compiled Apache2, but I don't know what to do about PHP5, as it has
 several Ports available:
 
 php5-5.2.6 needs updating (port has
 5.2.6_1)
This is the main PHP section.

 php5-bz2-5.2.6 needs updating (port has
 5.2.6_1)
 php5-ctype-5.2.6   needs updating (port has
 5.2.6_1)
 php5-curl-5.2.6needs updating (port has
 5.2.6_1)
 etc.
These are the extensions.

Not quite sure what you're asking here. I use portupgrade to upgrade. I'm
not sure if you're asking about upgrading, or getting PHP going on the
Apache install for the first time. If it's already there and working but
just needs updating portupgrade can do this.

If you are coming into situation in the middle and have Apache up and
running correctly but these above mentioned ports are leftovers from before
you became involved you may consider simply deleting them and starting over
fresh. Either start over or update, both can work.

You can use pkg_delete, make deinstall in the port directory, or (if
portupgrade is installed) pkg_deinstall. The above list may be confusing
because there are two separate sections to a PHP install. The first is PHP
itself. This is /usr/ports/lang/php5 - a make config screen will come up
and in the options list you'll see one to include mod_php. There are a
couple of messages at the end containing a couple of lines you'll need to
add to httpd.conf for php to work.

The extensions are found here: /usr/ports/lang/php5-extensions These contain
all of the different PHP function modules. The most common example is this
is where you would add/activate MySQL access for PHP. When you do make, or
make config, in the port you will get a list to choose. You can install
only what you know you need, or you can install all of them and comment out
the ones you don't need in /usr/local/etc/php/extensions.ini 

As far as the httpd.conf goes you really need two things. One the mod_php
option should have probably installed and just needs checking. Look for a 

LoadModule php5_modulelibexec/apache22/libphp5.so

entry at the bottom of the LoadModule list. The other are the two lines
mentioned at the end of the port install. Look for the IfModule
mime_module section. I think these are already present but commented out
(it's been a really long time since I've done a virgin install), if not add
(under the IfModule mime_module section in the httpd.conf):

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

The problem you'll encounter when these aren't present is the web server
will just serve up the contents of the .php script without actually running
it.

A real easy test to see if PHP is working correctly is just create some file
in the root of your web server such as php_test.php containing this:

?php
phpinfo();
?

If everything is fine it'll return all the info on your PHP install. 

Hope this helps.

-Mike



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


Re: Automatically starting user programs on boot

2008-09-04 Thread Manolis Kiagias

Saša Stupar wrote:

Hi!

On my FBSD 7 server I also use screen with rtorrent. In case of server
reboot (power outage, server goes on UPS then power down) the user need
manually to login, then start screen and then rtorrent. Is it possible to
start this procedure automatically and of course as certain user and not
as root?
I was thinking about .startup file or something in users home directory.

Regards,
Sasa

  
cron(8) seems to be a good candidate for this. Have a look at 
crontab(5). You can use @reboot to execute your script every time your 
PC starts. Just make sure your script sets the environment (PATH and so 
on) correctly.

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


Re: Automatically starting user programs on boot

2008-09-04 Thread Polytropon
On Thu, 4 Sep 2008 13:06:54 +0200 (CEST), Saša Stupar [EMAIL PROTECTED] wrote:
 Hi!
 
 On my FBSD 7 server I also use screen with rtorrent. In case of server
 reboot (power outage, server goes on UPS then power down) the user need
 manually to login, then start screen and then rtorrent. Is it possible to
 start this procedure automatically and of course as certain user and not
 as root?
 I was thinking about .startup file or something in users home directory.

No need to reinvent the wheel. :-)

The solution is quite simple, allthough it is to be considered a
security risk, and maybe it's a bit ugly. Here's what I would
suggest you to do:

1. Modify /etc/gettytab as follows:

default:\
...

autologin:\
:al=USERNAME:tc=Pc:

a|std.110|110-baud:\
...

where USERNAME is the name of the user who wants the screen
and rtorrent running.

2. After that, go to this user's home directory and create or modify
his ~/.login file to contain the proper commands to start the
screen sessions and rtorrent.

Please note that it might be possible to have another file changed
if the C Shell is not this user's shell. BASH has another file
for startup, I think.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: which gray is best for print?

2008-09-04 Thread Bob McConnell
On Behalf Of Gary Kline
 On Wed September 3 2008 16:26:07 Polytropon wrote:
  On Wed, 3 Sep 2008 16:14:42 -0700, Gary Kline [EMAIL PROTECTED]
wrote:
   Or if there is a color-chooser in ports, that too, altho I haven't
found
   anything in ports/x11 or ports/www.
  
  You may check /usr/ports/x11/xcolorsel, allthough I prefer the
  color choosing dialog of Gimp which provides a hex readout of
  the selected color, as well as the RGB or CMY values (last one
  interesting if you want to print something).
 
 Yeah, you were right about the xcolorsel being less useful than the
GIMP.  I 
 typed in 66 and found others that were as nice.  Then found a 
 december.com site with more info.  33 is a named and safe color
or ink.
 
 Still more to back and look at, read up on. 

W3Schools has some color charts at
http://www.w3schools.com/default.asp that could be useful. They built
a chart that shows which colors most browsers can understand. They also
have some grey scale charts at the end of their advanced HTML tutorial.

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


Re: vmware tools for ESX Server 3.5

2008-09-04 Thread B. Cook


On Sep 3, 2008, at 12:11 PM, John Nielsen wrote:


On Wednesday 03 September 2008, B. Cook wrote:

I am setting up FreeBSD 7.0 and he is asking about the vmware-tools.

Ports has some things, but I am not sure what I need, and neither  
is he.


Can anyone tell me what it needs?


I usually create VM's with the Intel gigabit vNIC's which can use
FreeBSD's em driver. Since Xorg includes the vmmouse and vmware  
video

drivers already, the main things you should be looking for are the
memory balloon driver and the guestd service. In the past I have  
gotten

these to work by using the supplied tools (on the CD image that
is inserted when you select Install VMware tools from the host).
However it is much easier nowadays to use the free version in
ports/emulators/open-vm-tools (or open-vm-tools-nox11).

JN



Well this is the other way..

FreeBSD is the guest not the host.


This is what the owner of the cluster is telling me:

The tools aren't absolutely necessary but if we can we always install  
them in guest machines.
They allow the VMWare server to gracefully shutdown the guest, improve  
memory management, replace the virtual NIC with a higher performance  
one, replace the video driver (if you are running a GUI which we  
aren't in this case.) etc

But this machine is running fine, including the nightly snapshots.

Below is the dmesg from the guest:


Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE-p2 #0: Fri Jul 11 15:42:07 EDT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5450  @ 3.00GHz (2992.58-MHz 686- 
class CPU)

  Origin = GenuineIntel  Id = 0x10678  Stepping = 8
   
Features 
= 
0xfebfbff 
 
FPU 
,VME 
,DE 
,PSE 
,TSC 
,MSR 
,PAE 
,MCE 
,CX8 
,APIC 
,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS

  Features2=0x82211SSE3,DS_CPL,SSSE3,CX16,b19
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
real memory  = 536870912 (512 MB)
avail memory = 511385600 (487 MB)
ACPI APIC Table: PTLTD   APIC  
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,  
RF5413)

hptrr: HPT RocketRAID controller driver v1.1 (Jul 11 2008 15:39:33)
acpi0: PTLTD   RSDT on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 850
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1050-0x105f at device 7.1 on pci0

ata0: ATA channel 0 on atapci0
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci0
ata1: [ITHREAD]
pci0: bridge at device 7.3 (no driver attached)
vgapci0: VGA-compatible display port 0x1060-0x106f mem  
0xf800-0xfbff,0xf400-0xf47f at device 15.0 on pci0
mpt0: LSILogic 1030 Ultra4 Adapter port 0x1080-0x10ff mem  
0xf480-0xf4800fff irq 17 at device 16.0 on pci0

mpt0: [ITHREAD]
mpt0: MPI Version=1.2.0.0
le0: AMD PCnet-PCI port 0x1400-0x147f irq 18 at device 17.0 on pci0
le0: 16 receive buffers, 4 transmit buffers
le0: Ethernet address: 00:50:56:83:49:9d
le0: [ITHREAD]
acpi_acad0: AC Adapter on acpi0
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10  
on acpi0

sio0: type 16550A
sio0: [FILTER]
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on  
acpi0

fdc0: [FILTER]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
pmtimer0 on isa0
orm0: ISA Option ROMs at iomem 0xc-0xc7fff,0xca000-0xcafff, 
0xdc000-0xd,0xe-0xe3fff pnpid ORM on isa0

ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
ppbus0: [ITHREAD]
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 

gigabyte GA-71XE4 (single amd athlon cpu motherboard

2008-09-04 Thread jlm
volodymyr,

greetings


   #Index Previous Next

gigabyte GA-71XE4 (single amd athlon cpu 
 motherboard

   Volodymyr Kostyrko c.kworr at gmail.com 
   Wed Sep 3 12:29:06 UTC 2008

 freebsd v5.2 and 5.3 boots no problems works well but freebsd v7 locks
 solid right when it get to teh load image to/from md0 device this
 happens when i use teh -release cdrom to install freebsd.

How exactly do you load your image?

i have freebsd 5.2-RELEASE and 5.3-RELEASE cdrom sets (downloaded from 
ftp.au.freebsd.org) and burned to cdrom, the same for 7.0-RELEASE as 
well as FreeSBIE v1.1 (this one is freebsd v5.3-release i think).

u i just put teh cdrom into teh dvd/cdrom reader in teh machine and 
reboot the machine ,, then it reads from teh cdrom and starts up (or 
not) depending on what it finds .. i tried again by using a diferent 
cdrom (cut by a diferent person) and if i use teh standard startup 
procedure it will lock solid, only turning off teh machine and pulling 
out teh power cord will recover it so that it will restart next time 
the power is applied.

if i choose option 3 (the safe mode option) it will continute without a 
pause and sysinstall notes that acpi has been disabled and asks if i 
want to make this installation do not use acpi ?? i now (on this 
machine) i say yes .. do not use acpi on this machine !!!

i noticed that in teh /var/log/messages freebsd says something about 
hptrr (rocketraid i think) not found/not available .. i think one of 
teh lines in teh last screen writings makes reference to this hptrr 
device ?? in a day or two i will have access again to this machine, it 
is .. i am not able to get to do anything for it. i plan to try this 
installation again and see if i can capture teh infomations ???

is there some way that i can capture information this early in teh 
'boot' processs ?? i do not have a vt100/vt52 etc terminial to plugin 
and try to capture the relevent details vi dumb terminal ??

much kind regards and sincere appreciations..

cheers and much thanks

jonathan

--  

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


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-04 Thread Wojciech Puchar

Any fellow TP-people onlist who know if my friend is right?


no idea. anyway 512MB is more than enough.






Sounds like Bill Gates who once said that 8MB will be more than enough for 
everyone...


640kB to be exact. would be - with well done software and for things most 
people actually need.

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


Re: KDE4 and plasma icons

2008-09-04 Thread RW
On Wed, 03 Sep 2008 21:12:38 -0400
Eduardo Cerejo [EMAIL PROTECTED] wrote:

 Just installed kde4 on FBSD 7-stable and I start it I get the plasma
 with some icons like the trash icon but all of them are a simple file
 icon with a question mark on them.  I try to change them and tells me
 that I don't have enough permissions to do it but I own every kde
 directory in my home directory though.  Has anyone experienced this
 thing?

The icons are from KDE3, but are not understood by KDE4. I don't know
why it says you don't have enough permissions, but it's probably just
the tip of the iceberg, for example I tried to save a file as
Desktop/foo.avi, and it ended-up as something like Desktop_foo.avi. In
a few hours I had so many such problem that I decided to go back to
KDE3 - I don't think it's ready for real-world use.






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


Re:[6.3] Upgrading PHP5?

2008-09-04 Thread DA Forsyth
On 4 Sep 2008 , [EMAIL PROTECTED] entreated about
 freebsd-questions Digest, Vol 231, Issue 10:

   I successfully upgraded the Ports collection with csup and then
 compiled Apache2, but I don't know what to do about PHP5, as it has
 several Ports available:
 
 php5-5.2.6 needs updating (port has
 5.2.6_1)
 php5-bz2-5.2.6 needs updating (port has
 5.2.6_1)
 php5-ctype-5.2.6   needs updating (port has
 5.2.6_1)
 php5-curl-5.2.6needs updating (port has
 5.2.6_1)
 etc.

install 'portupgrade' then do
   portupgrade -vrR php5


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


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


Re: Automatically starting user programs on boot

2008-09-04 Thread Wojciech Puchar

man crontab

@reboot option

see screen options to start detached


On Thu, 4 Sep 2008, Saša Stupar wrote:


Hi!

On my FBSD 7 server I also use screen with rtorrent. In case of server
reboot (power outage, server goes on UPS then power down) the user need
manually to login, then start screen and then rtorrent. Is it possible to
start this procedure automatically and of course as certain user and not
as root?
I was thinking about .startup file or something in users home directory.

Regards,
Sasa

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

brooktree 878[A?] + samsung S5H1411 + PCI

2008-09-04 Thread Jim
I'm looking at getting a card that has this, and this is the info I've
found. It looks like all of the tuner codes are in the driver. Could
anyone give me an estimate of how likely it would be that I could add
the tuners entry to /usr/src/sys/dev/bktr/bktr_card.c

i.e. add an entry in the static const struct CARDTYPE cards[] array?
What other arrays/values/files would I need to mess with? I'm guessing
I'd have to enter a card ID somewhere, a tuner ID somewhere, and that
array I listed *looks* like it has the card and tuner control
definitions. Am I correct?

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


garmin forerunner 305

2008-09-04 Thread Joey Mingrone
Hi,

Has anyone had any success collecting data from a Garmin Forerunner 305?

When I connect the device I see the kernel messages:
Sep  4 11:39:22 jrm root: Unknown USB device: vendor 0x091e product
0x0003 bus uhub1
Sep  4 11:39:22 jrm kernel: ugen0: vendor 0x091e product 0x0003,
class 255/255, rev 1.10/0.01, addr 2 on uhub1

The documentation for the port astro/GPSMan seems to indicate it
supports this model, but I haven't had any luck.

% uname -a
FreeBSD xxx.xxx 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun 12
18:47:50 ADT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/xxx  i386

Thanks,

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


Re: vmware tools for ESX Server 3.5

2008-09-04 Thread John Nielsen
On Thursday 04 September 2008, B. Cook wrote:
 On Sep 3, 2008, at 12:11 PM, John Nielsen wrote:
  On Wednesday 03 September 2008, B. Cook wrote:
  I am setting up FreeBSD 7.0 and he is asking about the vmware-tools.
 
  Ports has some things, but I am not sure what I need, and neither
  is he.
 
  Can anyone tell me what it needs?
 
  I usually create VM's with the Intel gigabit vNIC's which can use
  FreeBSD's em driver. Since Xorg includes the vmmouse and vmware
  video
  drivers already, the main things you should be looking for are the
  memory balloon driver and the guestd service. In the past I have
  gotten
  these to work by using the supplied tools (on the CD image that
  is inserted when you select Install VMware tools from the host).
  However it is much easier nowadays to use the free version in
  ports/emulators/open-vm-tools (or open-vm-tools-nox11).
 
  JN

 Well this is the other way..

 FreeBSD is the guest not the host.

What I said applies to FreeBSD running as a guest VM. (You don't install 
VMware tools on a host.)

 This is what the owner of the cluster is telling me:

 The tools aren't absolutely necessary but if we can we always install
 them in guest machines.
 They allow the VMWare server to gracefully shutdown the guest

That's guestd. The VMware-supplied version actually does a shutdown -h for 
power-down. On Linux that works but on FreeBSD it simply halts the OS so 
you have to power down the VM yourself. The open-vm-tools power down 
correctly.

 improve 
 memory management

That's the balloon memctl driver. It actually improves memory management 
for the host by asking the guest (where it is running) to feed it available 
memory, which the host can then allocate to other VM's if needed.

 replace the virtual NIC with a higher performance 
 one

That applies to the vmxnet/lance type of virtual NIC. I've heard of people 
getting the VMware-supplied driver running under FreeBSD, but I've never 
messed with it. The le(4) driver does fine. Or you can do as I suggested 
and switch your virtual NIC to an intel one (which is the default for 
64-bit VM's, may require editing the .vmx file for 32-bit VM's) which will 
use the em(4) driver.

 replace the video driver (if you are running a GUI which we 
 aren't in this case.)

The vmware video driver is already included in current versions of Xorg, 
as is the vmmouse input driver which will synch the mouse pointer with 
the viewer's external session and release the cursor when it reaches the 
edge.

 etc 

I think he covered just about everything. :)

 But this machine is running fine, including the nightly snapshots.

I would still advise you to install some form of VMware tools. Again my 
preferences is for open-vm-tools.

 Below is the dmesg from the guest:
snip
 le0: AMD PCnet-PCI port 0x1400-0x147f irq 18 at device 17.0 on pci0
 le0: 16 receive buffers, 4 transmit buffers
 le0: Ethernet address: 00:50:56:83:49:9d

You may want to look at switching to the Intel virtual nic in the VM's 
configuration. (You would then also need to change any ifconfig_le0 entries 
in the guest's /etc/rc.conf to ifconfig_em0). For Workstation (and IIRC 
it's the same for Server and ESX) you do this by changing (or adding) a 
line like this:
ethernet0.virtualDev = e1000
in the config (.vmx) file for the VM.

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


RE: Google Chrome

2008-09-04 Thread Ted Mittelstaedt

I must have missed something, how would running the Chrome
browser collect our valuable data?

Obviously, keying in data into a search engine to find
things is giving the search engine data on what people
are searching for.  Is there any requirement to do this
if your running Chrome?  And, how else would you find
something?

I think I'm missing something here in this argument.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of jef moskot
 Sent: Thursday, September 04, 2008 1:32 AM
 To: freebsd-questions@freebsd.org
 Subject: RE: Google Chrome


 On Thu, 4 Sep 2008, Ted Mittelstaedt wrote:
  Seriously, what Google is doing is exactly like what ATT did when they
  sent out source of the early UNIX to all those colleges and
  universities, so many years ago.

 This isn't about creating software, it's about collecting our data.  I
 don't understand why people and institutions are willingly handing over
 all their most valuable information to a private corporation, but maybe
 I'm just old and cranky and not ready for the New World Order.

 Jeffrey Moskot
 System Administrator
 [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]


server error

2008-09-04 Thread Stephendelic
I was only trying to send an e-mail from an aol article and before I was able 
to type in the address, the screen altered to say that an error server had 
occured and to contact 
[EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) . I'm totally confused as why 
cannot send e-mails and what that even means so please help answer.



**It's only a deal if it's where you want to go. Find your travel 
deal here.  
(http://information.travel.aol.com/deals?ncid=aoltrv000547)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /: write failed, filesystem is full

2008-09-04 Thread Chris Whitehouse

Polytropon wrote:

On Wed, 3 Sep 2008 17:30:58 +0200, Nikola Knežević [EMAIL PROTECTED] wrote:

Hi,
I'm trying to install FreeBSD 7.0 on our new server (Intel Xeon 2x4- 
core machine), which has a 250GB SATAII disk. I used -bootonly CD  
image, and assigned whole disk to FreeBSD. Breakdown is:

/ - 2GB
swap - 4GB
/var - 9GB
/tmp - 4GB
/usr - 213GB

As soon as I start copying files from FTP, this is the error I get:
/: write failed, filesystem is full

This shouldn't happen, since sysinstall did newfs on these partitions.

What to do?


Something went wrong when specifying the disks where the OS
is to be installed to. As it has already been mentioned, /
is placed on a RAM disk. Extraction of the OS's components
has to go to the mountpoints where your correctly created
partitions reside (which are more than big enough, especially
regarding /, I think).

Did you do the installation via the sysinstall utility? If
not, make sure the correct mount points are given for the
software installation, e. g.

/dev/ad0s1a - /mnt/
/dev/ad0s1d - /mnt/tmp
/dev/ad0s1e - /mnt/var
/dev/ad0s1f - /mnt/usr
/dev/ad0s1g - /mnt/home

The structures in / (/bin, /usr/local etc.) are not the
structures you want to have on the disk you're installing on.



PS. Where's your /home partition? :-)



There used to be an issue with the installer that if you crashed out of 
the install process somewhere then restarted it from within sysinstall 
without rebooting you could get a similar issue. Maybe it's been fixed 
by now though. Sorry not to be more specific, it's been a long time 
since it has happened to me, maybe someone who knows more could confirm.


Chris

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


Re: Google Chrome

2008-09-04 Thread Gerard
On Thu, 4 Sep 2008 08:26:46 -0700
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

[snip]

 I must have missed something, how would running the Chrome
 browser collect our valuable data?
 
 Obviously, keying in data into a search engine to find
 things is giving the search engine data on what people
 are searching for.  Is there any requirement to do this
 if your running Chrome?  And, how else would you find
 something?
 
 I think I'm missing something here in this argument.

Please don't top post. It makes reading a thread a lot harder than it
needs to be.

I think I posted this yesterday. In any case, you might want to to take
a look at it and its implications.

http://yro.slashdot.org/article.pl?sid=08/09/03/0247205from=rss

-- 
Gerard
[EMAIL PROTECTED]

Bugs, pl. n.:
Small living things that small living boys throw on small
living girls.


signature.asc
Description: PGP signature


Re: script to assist ASCII text

2008-09-04 Thread Gary Kline
On Wed, Sep 03, 2008 at 09:33:30PM -0400, Karl Vogel wrote:
  On Mon, 25 Aug 2008 21:00:10 -0700, 
  Gary Kline [EMAIL PROTECTED] said:
 
 G This had eluded me for years and it may not be possible, but here goes.
 G I write using vi or, less frequently vim.  Is there any sh script that
 G would make sure that there were exactly one space ('\040') between words,
 G and three spaces between sentences?  My definition of a sentence is a
 G string of words that ends in a period or question-mark, exclamation-mark,
 G or ellipse (... . || ... ? || ... !)  Also, any dash -- could not have
 G any whitespace around it.
 
I like a similar setup -- one space between words, sentences ending
with a period followed by two spaces.  The GNU version of fmt handles
this pretty well.  Here's the first part of your message, formatted to
50-character-wide lines, with the type of spacing that drives me nuts:
 
[[ ... ]]


which makes strings like U.S.A. look like the end of a sentence
even when they're not.  This should give you some ideas.
 


Thanks much.  I sure could have used this yersterday!!
Esp'ly for getting rid of people who send me GUI mail that's
readable-but-messy using Mutt. (**)

-gary



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: Automatically starting user programs on boot

2008-09-04 Thread Polytropon
On Thu, 4 Sep 2008 16:00:06 +0200 (CEST), Wojciech Puchar [EMAIL PROTECTED] 
wrote:
 man crontab
 @reboot option

Much better than my autologin suggestion. :-)



 see screen options to start detached

Or use the detach program (from ports) to launch any program
detached from the user or his login shell.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-04 Thread Gary Kline
On Wed, Sep 03, 2008 at 07:18:13PM -0700, Kurt Buff wrote:
 I got a Thinkpad T61 back in May/June that had 4gig factory-installed.
 Dual core, but only 2.2GHz - I could've gotten a faster proc, but I
 wasn't willing to pay the price. I did splurge on a 120gbyte 7200rpm
 drive, though. Came with SUSE on it, too, but I've got it dual booting
 with FreeBSD 7 amd64. Works great, except that the native FireFox and
 all other web browsers I've tried crash (no core, nothing, it just
 disappears) on the javascript on a lot of web sites, including gmail.
 Haven't had the time to pursue that one very much, though I've asked
 on this list a few times.

Dumb-question-dept:: is the dual-core 2.2GHz == 4.4GHz single
processor? I just bought my daughter a MacBook dual-core 2.4 and
have been wondering.  --Also, time to get her hooked on Unix:)

I'm not sure what model these 3.0GHz is; but IBM cheaped out on
the memory (256-512M) and they're all 40-60G max drive.  So just
wondering how far these used laptops can go.  Since I'll be
running 7.1 or Ubuntu, no need for **super** fast.

You browsers crashes are curious.  FF-2 crashed consistantly here
on my Dell, 7.0.  The others: no problem.  FF3 seems to work fine
except that I'm having troublr with flash.  (I've tried both
native anf the linux-fixefox. same thing.  gdb cannot grok the
core dumps, so rather than waste time, I just KVM over to my
Ubuntu system.)

gary

 
 
 Kurt
 
 On Wed, Sep 3, 2008 at 6:53 PM, Gary Kline [EMAIL PROTECTED] wrote:
 
 Folks,
 
 I'm looking at a 3GHz ThinkPad w/out any OS.  It's got
 at most 512M memory and only 40G drive.  The guy I'm going to
 have upgrade this l'top thinks it will take a 160GB drive easily.
 Also that the RAM might max out at just 2GB.
 
 Any fellow TP-people onlist who know if my friend is right?
 
  --
   Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
 http://jottings.thought.org   http://transfinite.thought.org

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-04 Thread Gary Kline
On Wed, Sep 03, 2008 at 11:00:19PM -0400, Steve Bertrand wrote:
 Gary Kline wrote:
  Folks,
 
  I'm looking at a 3GHz ThinkPad w/out any OS.  It's got 
  at most 512M memory and only 40G drive.  The guy I'm going to
  have upgrade this l'top thinks it will take a 160GB drive easily.
  Also that the RAM might max out at just 2GB.  
 
  Any fellow TP-people onlist who know if my friend is right?
 
 If you specify the model of the laptop, a quick Google or search on IBM 
 (Lenovo) website will inform you what the maximum upgrade path on 
 hardware is on the box.


So if this 3GHz was an X-41 or a T-41, there'll be someplace
online with the exact specs?  Or is there more to the model 
designation.   I have tried to find some specs on upgrade when I
had my 600E.  Found nothing. 
 
 With the resources the manufacturers put out freely regarding 
 documentation, I say that if you have someone who *thinks* the ThinkPad 
 will take certain hardware, you need to walk away, and pay someone 
 different who knows how to find out _for sure_ what hardware the box can 
 take, and who will be confident in saying and showing why if asked.
 
 Once you have a confident hardware tech, then you will be 
 confident/comfortable spending your money there...
 

GVood point! I'll find what what this guy's quals are.  No sense
in blowing $400-500 out the window, then going Oh, S**t!

gary


 
 Steve

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-04 Thread Gary Kline
On Wed, Sep 03, 2008 at 11:13:05PM -0400, Greg Larkin wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Gary Kline wrote:
  Folks,
  
  I'm looking at a 3GHz ThinkPad w/out any OS.  It's got 
  at most 512M memory and only 40G drive.  The guy I'm going to
  have upgrade this l'top thinks it will take a 160GB drive easily.
  Also that the RAM might max out at just 2GB.  
  
  Any fellow TP-people onlist who know if my friend is right?
  
 
 Hi Gary,
 
 What's the laptop's model number (e.g. 2468-8EU or something similar)?
 It should be shown on the bottom somewhere.
 
 The IBM and/or Lenovo support sites have a wealth of information where
 you can find your answers, but it helps to know the model number first.


Ah, okay: that's just what I asked Steve Bertrand, up-queue.
I haven't bought the laptop yet; have seen a (growing) number of
these 3GHz for sale on various used sites.  For unix, anything
over 2.4 is pently reasonable, IMO, so I figure 3.0 ought to
serve for years.  I'll see if the sellers will give me more
detail.

gary


 
 Regards,
 Greg
 - --
 Greg Larkin
 
 http://www.FreeBSD.org/   - The Power To Serve
 http://www.sourcehosting.net/ - Ready. Set. Code.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFIv1JB0sRouByUApARAtchAJ4mAeuJBk4lxnrQCj8Y9mrkwj83nwCgv6Mu
 HTRMZIPeJyt/gJiKWPcGvSY=
 =akk0
 -END PGP SIGNATURE-
 

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-04 Thread Gary Kline
On Thu, Sep 04, 2008 at 10:15:42AM +0200, Wojciech Puchar wrote:
 
  I'm looking at a 3GHz ThinkPad w/out any OS.  It's got
  at most 512M memory and only 40G drive.  The guy I'm going to
  have upgrade this l'top thinks it will take a 160GB drive easily.
  Also that the RAM might max out at just 2GB.
 
  Any fellow TP-people onlist who know if my friend is right?
 
 no idea. anyway 512MB is more than enough.


Not if you're going to create a ram-drive or whatever it's
called these days.


-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-04 Thread Wojciech Puchar

Dumb-question-dept:: is the dual-core 2.2GHz == 4.4GHz single
processor? I just bought my daughter a MacBook dual-core 2.4 and


if you run at least 2 CPU-intensive processes in parallel - yes it's 
MORE THAN 4.4Ghz performance equivalent.


why more? because when processor gets stalled at memory access (memories 
are still 45ns at most), throughput is halved not stopped.


in unix environment bunch of slower processors are always better than one 
fast.



I'm not sure what model these 3.0GHz is; but IBM cheaped out on
the memory (256-512M) and they're all 40-60G max drive.  So just
wondering how far these used laptops can go.  Since I'll be
running 7.1 or Ubuntu, no need for **super** fast.


my ONLY home computer is IBM/Lenovo T23 laptop with celeron 1200 and 256MB 
RAM. it's really enough

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


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-04 Thread Wojciech Puchar

Any fellow TP-people onlist who know if my friend is right?


no idea. anyway 512MB is more than enough.



Not if you're going to create a ram-drive or whatever it's
called these days.

i use tmpfs, but anyway no need to. unix automatically caches as much as 
it can.

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


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-04 Thread Steve Bertrand

Gary Kline wrote:

On Wed, Sep 03, 2008 at 11:00:19PM -0400, Steve Bertrand wrote:

Gary Kline wrote:

Folks,

	I'm looking at a 3GHz ThinkPad w/out any OS.  It's got 
	at most 512M memory and only 40G drive.  The guy I'm going to

have upgrade this l'top thinks it will take a 160GB drive easily.
	Also that the RAM might max out at just 2GB.  


Any fellow TP-people onlist who know if my friend is right?
If you specify the model of the laptop, a quick Google or search on IBM 
(Lenovo) website will inform you what the maximum upgrade path on 
hardware is on the box.



So if this 3GHz was an X-41 or a T-41, there'll be someplace
	online with the exact specs?  Or is there more to the model 
	designation.   I have tried to find some specs on upgrade when I
	had my 600E.  Found nothing. 


As an example (T-41):

http://www-307.ibm.com/pc/support/site.wss/MIGR-58183.html

In the past, when dealing with business client purchases, what upgrade 
paths I could not find on a website or via documentation, I was always 
able to call up and ask via telephone.



GVood point! I'll find what what this guy's quals are.  No sense
in blowing $400-500 out the window, then going Oh, S**t!


This could lead me way into off-topic-ness, so I'm going to leave it 
alone ;)


Cheers,

Steve
___
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 test the uptime of a webserver?

2008-09-04 Thread Redd Vinylene
On Sun, Aug 31, 2008 at 4:59 PM, Matthew Seaman 
[EMAIL PROTECTED] wrote:

 Redd Vinylene wrote:

 On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos [EMAIL PROTECTED]
 wrote:


 On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene [EMAIL PROTECTED]
 wrote:


  I got this dedicated server which is exposed to DDoS attacks quite
 frequently. Say I need to host a website on it, is there any way of
 telling how often it is actually online (to the rest of the world)?

 Maybe make some sort of ping script from a remote server?


 You can install nagios and monitor the web server. It will send you an
 email when
 the server is down and when is up again. With this information you can
 know
 the uptime
 of the web server.


  I'd have to install Nagios on a different server then, right? I doubt
 the actual server knows when its ISP's link drops (or just slows down)
 due to an attack.


 Not necessarily.  You can install nagios on your web server and use it
 to monitor a server at the other end of your wan link -- usually a
 machine in your ISPs infrastructure[*] -- on the basis that if you can get
 packets out, then other people can get packets in.  The trick is to monitor
 something that isn't too far away, or you'll end up monitoring the
 availability of other people's networks, rather than your own.

 There's a lot more can be done than just monitoring connectivity by
 sending ICMP ping packets every so often.  There are any number of
 ways a web server can go wrong -- processes can crash, critical disk
 partitions can fill up, load spikes can overwhelm the machine's capacity.
 You can develop a range of different nagios tests that should tell you
 pretty much at a glance just what has gone wrong.  Takes all the fun out
 of diagnosing the problems perhaps, but it does mean you'll be back to
 bed sooner when the pager goes off in the small hours.

Cheers,

Matthew

 [*] Some ISPs provide machines specifically for this purpose.

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


Thank you guys. I'm looking for the simplest solution though, like a simple
oneliner, or a shell script.

Anybody have an idea?

-- 
http://www.home.no/reddvinylene
___
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 test the uptime of a webserver?

2008-09-04 Thread Redd Vinylene
On Thu, Sep 4, 2008 at 8:58 PM, Redd Vinylene [EMAIL PROTECTED]wrote:


 On Sun, Aug 31, 2008 at 4:59 PM, Matthew Seaman 
 [EMAIL PROTECTED] wrote:

 Redd Vinylene wrote:

 On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos [EMAIL PROTECTED]
 wrote:


 On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene [EMAIL PROTECTED]
 wrote:


  I got this dedicated server which is exposed to DDoS attacks quite
 frequently. Say I need to host a website on it, is there any way of
 telling how often it is actually online (to the rest of the world)?

 Maybe make some sort of ping script from a remote server?


 You can install nagios and monitor the web server. It will send you an
 email when
 the server is down and when is up again. With this information you can
 know
 the uptime
 of the web server.


  I'd have to install Nagios on a different server then, right? I doubt
 the actual server knows when its ISP's link drops (or just slows down)
 due to an attack.


 Not necessarily.  You can install nagios on your web server and use it
 to monitor a server at the other end of your wan link -- usually a
 machine in your ISPs infrastructure[*] -- on the basis that if you can get
 packets out, then other people can get packets in.  The trick is to monitor
 something that isn't too far away, or you'll end up monitoring the
 availability of other people's networks, rather than your own.

 There's a lot more can be done than just monitoring connectivity by
 sending ICMP ping packets every so often.  There are any number of
 ways a web server can go wrong -- processes can crash, critical disk
 partitions can fill up, load spikes can overwhelm the machine's capacity.
 You can develop a range of different nagios tests that should tell you
 pretty much at a glance just what has gone wrong.  Takes all the fun out
 of diagnosing the problems perhaps, but it does mean you'll be back to
 bed sooner when the pager goes off in the small hours.

Cheers,

Matthew

 [*] Some ISPs provide machines specifically for this purpose.

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


 Thank you guys. I'm looking for the simplest solution though, like a simple
 oneliner, or a shell script.

 Anybody have an idea?

 --
 http://www.home.no/reddvinylene


I'll try to write a simple shell script and report back to y'all.

-- 
http://www.home.no/reddvinylene
___
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 test the uptime of a webserver?

2008-09-04 Thread Redd Vinylene
On Thu, Sep 4, 2008 at 9:05 PM, Redd Vinylene [EMAIL PROTECTED]wrote:

 On Thu, Sep 4, 2008 at 8:58 PM, Redd Vinylene [EMAIL PROTECTED]wrote:


 On Sun, Aug 31, 2008 at 4:59 PM, Matthew Seaman 
 [EMAIL PROTECTED] wrote:

 Redd Vinylene wrote:

 On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos [EMAIL PROTECTED]
 wrote:


 On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene [EMAIL PROTECTED]
 
 wrote:


  I got this dedicated server which is exposed to DDoS attacks quite
 frequently. Say I need to host a website on it, is there any way of
 telling how often it is actually online (to the rest of the world)?

 Maybe make some sort of ping script from a remote server?


 You can install nagios and monitor the web server. It will send you
 an
 email when
 the server is down and when is up again. With this information you can
 know
 the uptime
 of the web server.


  I'd have to install Nagios on a different server then, right? I doubt
 the actual server knows when its ISP's link drops (or just slows down)
 due to an attack.


 Not necessarily.  You can install nagios on your web server and use it
 to monitor a server at the other end of your wan link -- usually a
 machine in your ISPs infrastructure[*] -- on the basis that if you can
 get packets out, then other people can get packets in.  The trick is to
 monitor something that isn't too far away, or you'll end up monitoring the
 availability of other people's networks, rather than your own.

 There's a lot more can be done than just monitoring connectivity by
 sending ICMP ping packets every so often.  There are any number of
 ways a web server can go wrong -- processes can crash, critical disk
 partitions can fill up, load spikes can overwhelm the machine's capacity.
 You can develop a range of different nagios tests that should tell you
 pretty much at a glance just what has gone wrong.  Takes all the fun out
 of diagnosing the problems perhaps, but it does mean you'll be back to
 bed sooner when the pager goes off in the small hours.

Cheers,

Matthew

 [*] Some ISPs provide machines specifically for this purpose.

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


 Thank you guys. I'm looking for the simplest solution though, like a
 simple oneliner, or a shell script.

 Anybody have an idea?

 --
 http://www.home.no/reddvinylene


 I'll try to write a simple shell script and report back to y'all.

 --
 http://www.home.no/reddvinylene


Perfection is achieved, not when there's nothing left to add, but when
there's nothing left to take away :)

while sleep 555; do wget http://ip -O /dev/null -t 1 || mail -s email
 Host is down; done

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


pf to block against DDoS?

2008-09-04 Thread Redd Vinylene
Hello hello!

I was quite shocked today when I heard I could use pf to block against DDoS
attacks, using Stateful Tracking Options,
http://www.openbsd.org/faq/pf/filter.html#stateopts.

But does anybody have any nice setups of this they'd want to share?

Much obliged, and thanks.

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


Re: garmin forerunner 305

2008-09-04 Thread Bruce Cran
On Thu, 4 Sep 2008 11:51:33 -0300
Joey Mingrone [EMAIL PROTECTED] wrote:

 Hi,
 
 Has anyone had any success collecting data from a Garmin Forerunner
 305?
 
 When I connect the device I see the kernel messages:
 Sep  4 11:39:22 jrm root: Unknown USB device: vendor 0x091e product
 0x0003 bus uhub1
 Sep  4 11:39:22 jrm kernel: ugen0: vendor 0x091e product 0x0003,
 class 255/255, rev 1.10/0.01, addr 2 on uhub1
 
 The documentation for the port astro/GPSMan seems to indicate it
 supports this model, but I haven't had any luck.
 
 % uname -a
 FreeBSD xxx.xxx 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun 12
 18:47:50 ADT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/xxx  i386

Unfortunately Garmin use their own protocol for communicating between
the GPS and the PC.  Under Linux it's supported by the garmin_gps
driver but there's no equivalent for FreeBSD yet.

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


RELENG_7_0 buildworld fails

2008-09-04 Thread Derek Taylor
I'm attempting to rebuild world after the latest security advisories,
but am having trouble getting the build to complete.  I'm following the
instructions listed in the handbook [1], as I have done before, but keep
tripping in the same spot.

Originally I was getting the error from a `make buildworld`.  I then
moved my make.conf out of the way, thinking it could be something from
there.  
$ ls -l /etc/make.conf
-rw-r--r--  1 root  wheel  0 Sep  4 12:29 /etc/make.conf
With an empty make.conf, I got the same results.

Then I tried a make buildincludes.  This fails in the same place.

Here are the last few lines of the buildincludes:
 BEGIN 
=== include/rpc (buildincludes)
rpcgen -C -h -DWANT_NFS3 rpcb_prot.x -o rpcb_prot.h
=== kerberos5 (buildincludes)
=== kerberos5/doc (buildincludes)
=== kerberos5/tools (buildincludes)
=== kerberos5/tools/make-print-version (buildincludes)
=== kerberos5/tools/make-roken (buildincludes)
=== kerberos5/tools/asn1_compile (buildincludes)
=== kerberos5/lib (buildincludes)
=== kerberos5/lib/libasn1 (buildincludes)
compile_et
/usr/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1/asn1_err.et
compile_et:No such file or directory
*** Error code 1

Stop in /usr/src/kerberos5/lib/libasn1.
*** Error code 1

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

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

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

Stop in /usr/src.
 END 

$ uname -a
FreeBSD hoenikker.aset.psu.edu 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0:
Thu Apr 17 12:44:09 EDT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Is there any advice on how I can rebuild my world?  If I've forgotten
any information, please let me know.

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


Re: Automatically starting user programs on boot

2008-09-04 Thread David Collins
| Date: Thu, 4 Sep 2008 13:06:54 +0200 (CEST)
| From: Sa?a Stupar [EMAIL PROTECTED]
| Subject: Automatically starting user programs on boot
| To: freebsd-questions@freebsd.org
| Message-ID:
|[EMAIL PROTECTED]
| Content-Type: text/plain;charset=iso-8859-2
|
| Hi!
|
| On my FBSD 7 server I also use screen with rtorrent. In case of server
| reboot (power outage, server goes on UPS then power down) the user need
| manually to login, then start screen and then rtorrent. Is it possible to
| start this procedure automatically and of course as certain user and not
| as root?
| I was thinking about .startup file or something in users home directory.
|
| Regards,
| Sasa

Hi,

I have been using rtorrent and screen for a while now, it is a great
setup. Anyway, I found an rc.d file for debian that I have changed to
make work for me on freebsd 7. I doubt it is as good as it could be,
but hey, it works fine for me :)

You will have to change some of the variables at the top of the file.
It opens screen on boot, names it rtorrent and starts rtorrent, does
its thing in the background. To connect to it type screen -r rtorrent

I placed it in /usr/local/etc/rc.d since it isn't part of the base
distribution. I also named it with a .sh suffix, I forget why but it
is something to do with a controlling terminal, I think. I also have a
nice .screenrc file if you would like since I know how much of a pain
it is to figure out!

$ cat /usr/local/etc/rc.d
#!/bin/sh

# PROVIDE: rtorrent
# REQUIRE: DAEMON

#
###Notes###
#
# This script depends on screen.
# For the stop function to work, you must set an
# explicit session directory using ABSOLUTE paths (no, ~ is not
absolute) in your rtorrent.rc.
# If you typically just start rtorrent with just rtorrent on the
# command line, all you need to change is the user option.
# Attach to the screen session as your user with
# screen -dr rtorrent. Change rtorrent with srnname option.
# Licensed under the GPLv2 by lostnihilist: lostnihilist _at_ gmail _dot_ com
##
###/Notes###
##

###
##Start Configuration##
###
# You can specify your configuration in a different file
# (so that it is saved with upgrades, saved in your home directory,
# or whateve reason you want to)
# by commenting out/deleting the configuration lines and placing them
# in a text file (say /home/user/.rtorrent.init.conf) exactly as you would
# have written them here (you can leave the comments if you desire
# and then uncommenting the following line correcting the path/filename
# for the one you used. note the space after the ..
# . /etc/rtorrent.init.conf

# system user to run as
user=davidcollins

# the system group to run as, not implemented, see d_start for
beginning implementation
# group=`id -ng $user`

# the full path to the filename where you store your rtorrent configuration
config=`su $user -c 'echo $HOME'`/.rtorrent.rc

# set of options to run with
options=

# default directory for screen, needs to be an absolute path
base=`su $user -c 'echo $HOME'`

# name of screen session
srnname=rtorrent

# file to log to (makes for easier debugging if something goes wrong)
logfile=/var/log/rtorrentInit.log
###
###END CONFIGURATION###
###

. /etc/rc.subr

PATH=/usr/bin:/usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin
name=rtorrent

rcvar=`set_rcvar`
eval ${rcvar}=\${${rcvar}:-'NO'}

start_precmd=checkcnfg
start_cmd=${name}_start
stop_cmd=${name}_stop

checkcnfg() {
exists=0
for i in `echo $PATH | tr ':' '\n'` ; do
if [ -f $i/$name ] ; then
exists=1
break
fi
done
if [ $exists -eq 0 ] ; then
err 3 cannot find rtorrent binary in PATH $PATH
fi
if ! [ -r ${config} ] ; then
err 3 cannot find readable config ${config}. check that it is
there and permissions are appropriate
fi
session=`getsession $config`
if ! [ -d ${session} ] ; then
err 3 cannot find readable session directory ${session} from
config ${config}. check permissions
fi
}

rtorrent_start()
{
echo Starting $name.
[ -d ${base} ]  cd ${base}
stty stop undef  stty start undef
## start screen with rtorrent inside
su ${user} -c screen -dm -S ${srnname} ${name} ${options} 21
1/dev/null | tee -a $logfile 2
}

rtorrent_stop()
{
echo Stopping $name.
session=`getsession $config`
if ! [ -s ${session}/rtorrent.lock ] ; then
return
fi
pid=`cat ${session}/rtorrent.lock | awk -F: '{print($2)}' | sed
s/[^0-9]//g`
## make sure the pid doesn't belong to another process
if ps -A | grep -sq ${pid}.*rtorrent ; then
kill -s INT ${pid}
fi
}

getsession()
{
session=`cat $1 | grep ^[[:space:]]*session[[:space:]]*= | sed
s/^[[:space:]]*session[[:space:]]*=[[:space:]]*// `
echo $session
}

load_rc_config $name
run_rc_command $1

network documentation

2008-09-04 Thread Jean-Paul Natola
Hi all,

I'm looking for an Open source application that will gather network data, and
let me add info to it -

e.g.   nodes/mac address / ip address / os , which I will be able to add to;
for example

192.168.10.4 freebsd mac address- 
then I will be able to add: mail filter server, running bsd/ exim /clam-
PIV box  mirrored 80 gig drives-root password  and so fourth



tia













Jean-Paul 

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


Re: network documentation

2008-09-04 Thread Kurt Buff
netdisco might fit your needs.

On Thu, Sep 4, 2008 at 12:57 PM, Jean-Paul Natola
[EMAIL PROTECTED] wrote:
 Hi all,

 I'm looking for an Open source application that will gather network data, and
 let me add info to it -

 e.g.   nodes/mac address / ip address / os , which I will be able to add to;
 for example

 192.168.10.4 freebsd mac address-
 then I will be able to add: mail filter server, running bsd/ exim /clam-
 PIV box  mirrored 80 gig drives-root password  and so fourth



 tia













 Jean-Paul

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


Portsnap: No Update Available

2008-09-04 Thread Gerard
Since last evening (2008-09-03), portsnap has been reporting this when
I run it:

Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching snapshot tag from portsnap2.FreeBSD.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Ports tree is already up to date.


Although the mirror changes, that rest of the message is the same.
Except doing a ports freeze, I do not remember FBSD going 24 hours
without some port being updated. I was just wondering if this is
correct or if something is wrong with the mirrors.

-- 
Gerard
[EMAIL PROTECTED]

You should never bet against anything in science at odds of more than
about 10^12 to 1.

Ernest Rutherford


signature.asc
Description: PGP signature


Re: pf to block against DDoS?

2008-09-04 Thread Subhro
What exactly are you looking for? Are you looking for example rulesets?

Thanks
Subhro



On 9/5/08, Redd Vinylene [EMAIL PROTECTED] wrote:
 Hello hello!

 I was quite shocked today when I heard I could use pf to block against DDoS
 attacks, using Stateful Tracking Options,
 http://www.openbsd.org/faq/pf/filter.html#stateopts.

 But does anybody have any nice setups of this they'd want to share?

 Much obliged, and thanks.

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


-- 
Sent from Gmail for mobile | mobile.google.com

Subhro Kar
Software Engineer
Dynamic Digital Technologies Pvt. Ltd.
EPY-3, Sector: V
Salt Lake City
700091
India
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pf to block against DDoS?

2008-09-04 Thread Oliver Peter
On Thu, Sep 04, 2008 at 09:23:09PM +0200, Redd Vinylene wrote:
 Hello hello!
 
 I was quite shocked today when I heard I could use pf to block against DDoS
 attacks, using Stateful Tracking Options,
 http://www.openbsd.org/faq/pf/filter.html#stateopts.
 
 But does anybody have any nice setups of this they'd want to share?
 
 Much obliged, and thanks.

... nice cross-post.

I can recommend reading through this as well:
  http://www.bgnett.no/~peter/pf/en/bruteforce.html

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


circular link /us/share/locale/nb_NO.UTF-8/LC_TIME -- ../nb_NO.UTF-8/LC_TIME

2008-09-04 Thread dacoder

make installworld on 7.1-PRERELEASE had been failing for me on:

install /us/share/locale/nb_NO.UTF-8/LC_TIME

w/ the error message:

Too many levels of symbolic links

until i removed the link:

/us/share/locale/nb_NO.UTF-8/LC_TIME -- ../nb_NO.UTF-8/LC_TIME

anybody know how that circular link got in there to begin with?

thx.

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


Re: network documentation

2008-09-04 Thread Wojciech Puchar

nmap


On Thu, 4 Sep 2008, Jean-Paul Natola wrote:


Hi all,

I'm looking for an Open source application that will gather network data, and
let me add info to it -

e.g.   nodes/mac address / ip address / os , which I will be able to add to;
for example

192.168.10.4 freebsd mac address-
then I will be able to add: mail filter server, running bsd/ exim /clam-
PIV box  mirrored 80 gig drives-root password  and so fourth



tia













Jean-Paul

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


upgrading kdeartwork to version 4.1.1 fetch error in ports

2008-09-04 Thread Dino Vliet
Hi peeps,I want to upgrade my kde41 installation and the kdeartwork port gives 
me troubles. I can't seem to fetch the files due to some checksum mismatch. Can 
you help me out?The commands I entered and the output is here:# portversion -l 
 
# kdeartwork   
  
# portupgrade -aRr   
---  Upgrading 'kdeartwork-4.1.0_1' to 'kdeartwork-4.1.1' 
(x11-themes/kdeartwork4) 
---  Building '/usr/ports/x11-themes/kdeartwork4'  
    
===  Cleaning for kdeartwork-4.1.1 
    
===  Vulnerability check disabled, database not found  
    
===  Found saved configuration for kdeartwork-4.1.1
===  Extracting for kdeartwork-4.1.1
= MD5 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2.
= SHA256 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2.
===  Refetch for 1 more times files: KDE/kdeartwork-4.1.1.tar.bz2 
KDE/kdeartwork-4.1.1.tar.bz2
===  Vulnerability check disabled, database not found
===  Found saved configuration for kdeartwork-4.1.1
= kdeartwork-4.1.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/KDE.
= Attempting to fetch from ftp://ftp.kde.org/pub/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/.
fetch: http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: 
Forbidden
= Attempting to fetch from http://mirrors.isc.org/pub/kde/stable/4.1.1/src/.
fetch: 
http://mirrors.isc.org/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Not 
Found
= Attempting to fetch from 
ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from 
ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from 
http://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from ftp://ftp.oregonstate.edu/pub/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from ftp://ftp.solnet.ch/mirror/KDE/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from ftp://gd.tuwien.ac.at/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from http://gd.tuwien.ac.at/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from ftp://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from 
http://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from 
ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/.
fetch: 
ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2:
 File unavailable (e.g., file not found, no access)
= Attempting to fetch from http://mirrors.dotsrc.org/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from ftp://mirrors.dotsrc.org/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from ftp://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from 
http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/.
fetch: 
http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: 
Moved Permanently
= Attempting to fetch from http://kambing.vlsm.org/kde/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from http://mirrors.evolva.ro/kdeftp/stable/4.1.1/src/.
fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote
= Attempting to fetch from 
ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.kde.org/stable/4.1.1/src/.


[EMAIL PROTECTED] /usr/ports/graphics/digikam]# portversion -l   
   
kdeartwork 
    
[EMAIL PROTECTED] /usr/ports/graphics/digikam]# portupgrade -aRr
   
---  Upgrading 'kdeartwork-4.1.0_1' to 'kdeartwork-4.1.1' 
(x11-themes/kdeartwork4) 
---  Building '/usr/ports/x11-themes/kdeartwork4'  
    

Re: upgrading kdeartwork to version 4.1.1 fetch error in ports

2008-09-04 Thread RW
On Thu, 4 Sep 2008 14:01:49 -0700 (PDT)
Dino Vliet [EMAIL PROTECTED] wrote:

 Hi peeps,I want to upgrade my kde41 installation and the kdeartwork
 port gives me troubles. I can't seem to fetch the files due to some
 checksum mismatch.

Delete the file and start again. 

If that fails, update your ports, delete the file and start again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading kdeartwork to version 4.1.1 fetch error in ports

2008-09-04 Thread Aftab Jahan Subedar
Refetching means, mostly a failed download.
So deleting the KDE/kdeartwork-4.1.1.tar.bz2 would solve the problem, means
it will do a fresh fetch.

To delete that file, do this:  rm
/usr/ports/distfiles/KDE/kdeartwork-4.1.1.tar.bz2

-- 
Aftab Jahan Subedar
CEO/Software Engineer
Subedar Technologies Ltd
Soubedar Baag Bibir Bagicha #1
North Jatra Bari
Dhaka 1204
Bangladesh



On Fri, Sep 5, 2008 at 3:01 AM, Dino Vliet [EMAIL PROTECTED] wrote:

 Hi peeps,I want to upgrade my kde41 installation and the kdeartwork port
 gives me troubles. I can't seem to fetch the files due to some checksum
 mismatch. Can you help me out?The commands I entered and the output is
 here:# portversion -l 
 # kdeartwork  

 # portupgrade -aRr
 ---  Upgrading 'kdeartwork-4.1.0_1' to 'kdeartwork-4.1.1'
 (x11-themes/kdeartwork4)
 ---  Building '/usr/ports/x11-themes/kdeartwork4'

 ===  Cleaning for kdeartwork-4.1.1

 ===  Vulnerability check disabled, database not found

 ===  Found saved configuration for kdeartwork-4.1.1
 ===  Extracting for kdeartwork-4.1.1
 = MD5 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2.
 = SHA256 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2.
 ===  Refetch for 1 more times files: KDE/kdeartwork-4.1.1.tar.bz2
 KDE/kdeartwork-4.1.1.tar.bz2
 ===  Vulnerability check disabled, database not found
 ===  Found saved configuration for kdeartwork-4.1.1
 = kdeartwork-4.1.1.tar.bz2 doesn't seem to exist in
 /usr/ports/distfiles/KDE.
 = Attempting to fetch from ftp://ftp.kde.org/pub/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/.
 fetch:
 http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2:
 Forbidden
 = Attempting to fetch from
 http://mirrors.isc.org/pub/kde/stable/4.1.1/src/.
 fetch:
 http://mirrors.isc.org/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2:
 Not Found
 = Attempting to fetch from
 ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/stable/4.1.1/src/
 .
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 http://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 ftp://ftp.oregonstate.edu/pub/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 ftp://ftp.solnet.ch/mirror/KDE/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from ftp://gd.tuwien.ac.at/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from http://gd.tuwien.ac.at/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 ftp://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 http://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/.
 fetch:
 ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2:
 File unavailable (e.g., file not found, no access)
 = Attempting to fetch from
 http://mirrors.dotsrc.org/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from ftp://mirrors.dotsrc.org/kde/stable/4.1.1/src/
 .
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 ftp://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/.
 fetch:
 http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2:
 Moved Permanently
 = Attempting to fetch from http://kambing.vlsm.org/kde/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 http://mirrors.evolva.ro/kdeftp/stable/4.1.1/src/.
 fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match
 remote
 = Attempting to fetch from
 ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.kde.org/stable/4.1.1/src/.


 [EMAIL PROTECTED] /usr/ports/graphics/digikam]# portversion -l 

 kdeartwork  

 [EMAIL PROTECTED] /usr/ports/graphics/digikam]# portupgrade -aRr

 ---  Upgrading 'kdeartwork-4.1.0_1' to 'kdeartwork-4.1.1'
 

Re: Portsnap: No Update Available

2008-09-04 Thread Norberto Meijome
On Thu, 4 Sep 2008 16:16:07 -0400
Gerard [EMAIL PROTECTED] wrote:

 Although the mirror changes, that rest of the message is the same.
 Except doing a ports freeze, I do not remember FBSD going 24 hours
 without some port being updated. I was just wondering if this is
 correct or if something is wrong with the mirrors.

FreeBSD 7.1 maybe ? not sure if we are in ports freeze yet, but wouldnt
surprise me.

b

_
{Beto|Norberto|Numard} Meijome

unzip ; strip ; touch ; grep ; find ; finger ; mount ; fsck ; more ; yes ;
fsck ; umount ; sleep

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Google Chrome

2008-09-04 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gerard
 Sent: Thursday, September 04, 2008 10:15 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: Google Chrome
 
 
 On Thu, 4 Sep 2008 08:26:46 -0700
 Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 
 [snip]
 
  I must have missed something, how would running the Chrome
  browser collect our valuable data?
  
  Obviously, keying in data into a search engine to find
  things is giving the search engine data on what people
  are searching for.  Is there any requirement to do this
  if your running Chrome?  And, how else would you find
  something?
  
  I think I'm missing something here in this argument.
 
 Please don't top post. It makes reading a thread a lot harder than it
 needs to be.
 
 I think I posted this yesterday. In any case, you might want to to take
 a look at it and its implications.
 
 http://yro.slashdot.org/article.pl?sid=08/09/03/0247205from=rss
 

Um, the OP used Chrome to refer to the Google browser under
FreeBSD, strongly implying compiling the source to it under
FreeBSD.  (ie: porting to FreeBSD) At least that is how I took it.
The Chrome open
source code is under the BSD license, the EULA that is subject
of the discussion is attached to the compiled binary that
is (I would assume) the result of Google compiling that BSD licensed
source under a Windows compiler.

You should certainly be aware of the terms of the BSD license
by now - if I want to take a product like FreeBSD and compile
it's source, I can then commence to apply whatever restrictive
EULA that I please to the result.  Google is free to license
Chrome under BSD then compile a Windows version of Chrome
and then apply an EULA to it that is more restrictive - and
that appears to be what they have done as documented by this
thread you posted.

Since the EULA is only under the Windows precompiled binary
of Chrome, it isn't applicable to a FreeBSD version of Chrome
or to this discussion.

So once more, what is the issue here?  Since you have the
BSD source for Chrome you can certainly remove any secret
data collection routines that might be buried in the browser
code (if that is your concern, assuming such things even
exist) then compile it how you want.

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


does HP Pavilion tx2532la notebook PC work on freebsd?

2008-09-04 Thread Sdävtaker
Did someone try to install FBSD in one of those hp tablets?
I saw a ubuntu running on it few days ago.
I will apreciate any info.
See ya
Sdav
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to view TCP advertised window by using tcpdump?

2008-09-04 Thread EdwardKing
I use TCP client to connect daytimesesrver which port is 13,I want to know how 
to use tcpdump to view TCP advertised window? Where is the TCP advertised 
window in the tcpdump result?

Thanks


--
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation, its 
subsidiaries and/or its affiliates. If any reader of this communication is not 
the intended recipient, unauthorized use, forwarding, printing, storing, 
disclosure or copying is strictly prohibited, and may be unlawful. If you have 
received this communication in error, please immediately notify the sender by 
return e-mail, and delete the original message and all copies from your system. 
Thank you. 
---

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


Re: pf to block against DDoS?

2008-09-04 Thread Peter N. M. Hansteen
Oliver Peter [EMAIL PROTECTED] writes:

 I can recommend reading through this as well:
   http://www.bgnett.no/~peter/pf/en/bruteforce.html

Thanks for recommending that!  However I would generally recommend the
maintained version which is up at http://home.nuug.no/~peter/pf/,
with the direct link to the part about state tracking and bruteforcers
at http://home.nuug.no/~peter/pf/en/bruteforce.html.

(and of course there's the book, nudge, nudge)

- P
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]