Re : Display country selected during sysinstall

2010-04-23 Thread Alexandre L.
I think this is what your are searching for 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-sysinstall.html
Go to 'KEYMAP' and change it.

If your system is already installed, you can edit /etc/rc.conf and see what 
keymap is configured.

--- En date de : Jeu 22.4.10, Aiza aiz...@comclark.com a écrit :

 De: Aiza aiz...@comclark.com
 Objet: Display country selected during sysinstall
 À: FreeBSD Questions freebsd-questions@freebsd.org
 Date: Jeudi 22 avril 2010, 10h11
 How do I display or change the
 country selected at start of sysinstall?
 ___
 freebsd-questions@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 




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


Re: lighten kernel

2010-04-23 Thread Paul B Mahol
On 4/23/10, xyz harvey.two.face.k...@gmail.com wrote:
 Those numbers mean the size in mo, of linux kernel (3.2mo), and freebsd
 kernel (33,9mo) for the same hardware configuration.

My kernel is 2.8 MB and ~30 MB are modules (all of them).

 Is it difficult to update the patch?

Is it difficult to stop top posting.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Re : Display country selected during sysinstall

2010-04-23 Thread Aiza



De: Aiza aiz...@comclark.com
Subject: Display country selected during sysinstall
FreeBSD Questions freebsd-questions@freebsd.org
Date: Jeudi 22 avril 2010, 10h11
How do I display or change the
country selected at start of sysinstall?
___

Alexandre L. wrote:
 I think this is what your are searching for 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-sysinstall.html

 Go to 'KEYMAP' and change it.

 If your system is already installed, you can edit /etc/rc.conf and 
see  what keymap is configured.


 --- En date de : Jeu 22.4.10, Aiza aiz...@comclark.com a écrit :


The handbook is very out of date with the new sysinstall now part of 
8.0. I have no keymap in my rc.conf. The new 8.0 sysinstall shows a 
country selection menu even before the main sysinstall menu is shown.


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


bsdstats country

2010-04-23 Thread Aiza

How does bsdstats know what country the PC posting its info is from?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Re: Is there PHP 5.2.x in ports?

2010-04-23 Thread Антон Клесс
portdowngrade seems is what I need.

So, I run it:


# portdowngrade lang/php5

portdowngrade 0.6 by Heiner Eichmann
Please note, that nothing is changed in the ports tree
unless it is explicitly permitted in step 6!  

Seeking port lang/php5 ... 

Found several matches:
1: lang/php5  
2: lang/php5-extensions

Please choose one: 1

Downgrading port: lang/php5

Step 1: Checking out port from CVS repository
CVS root directory: anon...@anoncvs1.freebsd.org:/home/ncvs

Step 2: Reading the port history from the CVS repository

Step 3: Analyzing the port history from the CVS repository

Step 4: Load port version numbers and present results
Keys: space : next page  d : details
p : previous page
  enter : leave presentation and downdgrade if wanted
==
number date portversion  comment
1  2010/04/19 10:43:29  5.3.2Switch to use newer GMP version.
2  2010/04/16 13:52:11  5.3.2Add CONFLICTS to php5-pcre and 
php5-spl.
3  2010/04/12 08:03:49  5.3.2Fix build if multibyte regex support 
is disabled.
4  2010/04/11 07:53:17  5.3.2PHP dropped support for Oracle8 client 
library.
5  2010/04/09 09:34:41  5.3.2Update to PHP 5.3.2 release!
6  2010/04/05 18:57:38  5.2.12   - fix build for png-1.4.1
7  2010/04/03 10:44:18  5.2.12   Chase the ftp/curl shlib version bump.
8  2010/03/28 06:38:57  5.2.12   - update to 1.4.1
9  2010/02/05 11:40:17  5.2.12   - update to jpeg-8
   10  2009/12/29 14:39:10  5.2.12   Update to 5.2.12 release.


Total lines: 223. Command:
Enter version number to change port to (0: exit):



Which option do I have to choose? 6  2010/04/05 18:57:38  5.2.12   - as the 
latest 5.2.x in list?

And, if I downgrade PHP to that version, do I have to downgrade something else? 
At least,  lang/php5-extensions, I guess?



22.04.10, 22:06, Eitan Adler eitanadlerl...@gmail.com:
  
  php 5.2 is not currently in the ports system. You could get it by
  using porteasy or portdowngrade.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installation on HP Proliant via iLO - Error mounting /dev/acd0 on /dist

2010-04-23 Thread Doug Poland
On Thu, Apr 22, 2010 at 06:36:39PM -0600, Tim Judd wrote:
 On 4/22/10, Ewald Jenisch a...@jenisch.at wrote:
  Hi,
 
  I'm having a hard time trying to install FreeBSD 8.0 on an HP
  Proliant server. To be specific I try to instal the amd64 variant of
  FreeBSD 8.0 on a ProLiant DL385 G1.
 
  Since the server is remote installation is to be done via the
  virtual CD/DVD of the iLO management.
 
  The install process runs smooth up to the point where the install
  process finishes formatting then I get the following error:
 
  Error mounting /dev/acd0 on /dist: Input/output error (5)
 
  and installation can't proceed.
 
  Interestingly that the installation runs from CD up to this point
  without any problem whatsoever. This can't be a problem with the
  CD/DVD since I've mounted the ISO-image via a virtual drive.
 
  I've already tried downloading the ISO again - same result.
 
  Likewise I tried with the CD-image instead of the DVD-image - same result
  :-(
 
  So here are my questions:
 
  o) has anybody seen symptoms like this on a HP proliant server when
  installation is done via the virtual CD/DVD-drive?
 
  o) Any cure against this?
 
Try a re-scan of the devices from the options menu.  If that doesn't
help, try connecting to an ISO image in iLO instead of an optical
device.  

-- 
Regards,
Doug
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


KDE 4.4.2

2010-04-23 Thread Andrew Hill
Hi does anyone know if kde 4.4.2 is in freebsd ports?

Thanks
Andrew Hill
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KDE 4.4.2

2010-04-23 Thread ajtiM
On Friday 23 April 2010 02:58:12 Andrew Hill wrote:
 Hi does anyone know if kde 4.4.2 is in freebsd ports?
 
 Thanks
 Andrew Hill
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 

It is not. Soon will be out KDE 4.4.3 and maybe we will be lucky with this 
one.

Mitja

http://starikarp.redbubble.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installation on HP Proliant via iLO - Error mounting /dev/acd0 on /dist

2010-04-23 Thread Ewald Jenisch
On Fri, Apr 23, 2010 at 06:27:11AM -0500, Doug Poland wrote:


 Try a re-scan of the devices from the options menu.  If that doesn't
 help, try connecting to an ISO image in iLO instead of an optical
 device.  

Hi Doug,

This is exactly what I did in the first playe, i.e. mounting an
ISO-Image as a iLO virtual CD/DVD then starting the installation off
this .ISO.

-ewald


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


nmap - error during compile

2010-04-23 Thread Ewald Jenisch
Hi,

During a regular upgrade of my installed ports I ran into a problem
wrt nmap:

--  Cut here  --

===  Building for nmap-5.21_1
Makefile:341: makefile.dep: No such file or directory
c++ -MM -I/usr/include/lua -I/usr/local/include/lua51 
-Ilibdnet-stripped/include -I/usr/local/include  -I/usr/local/include -Inbase 
-Insock/include main.cc nmap.cc targets.cc tcpip.cc nmap_error.cc utils.cc 
idle_scan.cc osscan.cc osscan2.cc output.cc payload.cc scan_engine.cc timing.cc 
charpool.cc services.cc protocols.cc nmap_rpc.cc portlist.cc NmapOps.cc 
TargetGroup.cc Target.cc FingerPrintResults.cc service_scan.cc 
NmapOutputTable.cc MACLookup.cc nmap_tty.cc nmap_dns.cc traceroute.cc 
portreasons.cc nse_main.cc nse_nsock.cc nse_fs.cc nse_nmaplib.cc nse_debug.cc 
nse_pcrelib.cc nse_binlib.cc nse_bit.cc nse_openssl.cc nse_ssl_cert.cc   
makefile.dep
In file included from nse_openssl.cc:11:
/usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled.
gmake: *** [makefile.dep] Error 1
*** Error code 1

Stop in /usr/ports/security/nmap.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20100423-38886-c1qjuh-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=nmap-5.21 UPGRADE_PORT_VER=5.21 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! security/nmap (nmap-5.21) (unknown build error)

--  Cut here  --


Please note that all other ports are up2date.

Here's what I tried:

o) make clean
o) make distclean
o) cvsup for ports, followed by the usual make fetchindex, pkgdb -F

...always the same error.

Any ideas what's wrong here?

Thanks in advance for your help,
-ewald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installation on HP Proliant via iLO - Error mounting /dev/acd0 on /dist

2010-04-23 Thread Ewald Jenisch
On Thu, Apr 22, 2010 at 06:36:39PM -0600, Tim Judd wrote:
 
 ...
 Most remote management devices like Dell's DRAC and HP's iLO should
 present the drive to the OS as a USB rom.  The new IPMI management
 cards are still unknown.

Oops, now I understand.

Just curious: Why can the machine boot off the CD/DVD then during
installation goes south - shouldn't it be either I recognize this
drive or I don't recognize this drive?

 
 The acd0 is an ATAPI/IDE device.  Here's what I'd try.  Two options...
 
 1) Boot the livefs ISO and do a ftp/http install

Thanks much for the hint. I think I'm going this way since the
installation runs perfectly to right after formatting the partitions
on the HD is done.

Best regards,
-ewald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Re: Is there PHP 5.2.x in ports?

2010-04-23 Thread doug schmidt
On Fri, Apr 23, 2010 at 1:53 AM, Антон Клесс rc5h...@yandex.kz wrote:
 portdowngrade seems is what I need.
[...]

 Which option do I have to choose?     6  2010/04/05 18:57:38  5.2.12   - as 
 the latest 5.2.x in list?

yes. the latest 5.2.x

 And, if I downgrade PHP to that version, do I have to downgrade something 
 else? At least,  lang/php5-extensions, I guess?


i had to do the same last week. i downgraded both lang/php5 and
lang/php5-extensions. php5-extensions was a little
fussy due to some ports being removed from the tree as they were now
included in php5-5.3.2 base. here is a link in
the archive from when i had to downgrade, if you have similar issues;

http://www.mail-archive.com/freebsd-questions@freebsd.org/msg231377.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pf icmp6 question

2010-04-23 Thread Baginski Darren
Hi!

Could please someone explain me the difference between

pass quick inet6 proto icmp6 all keep state   - IPv6 works only within 
switch collision domain 

AND

pass quick proto icmp6 all keep state  - IPv6 works globaly for whole 
internet


IPv6 is staticaly set everywhere, none of routers or servers have stateless IPs.

Thank you!


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


dhcpd doesn't sent route information

2010-04-23 Thread Onur Aslan
Hi.

I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a
client machine, this machine doesn't get gateway from dhcp server. I configured
dhcpd server as described in FreeBSD handbook.

My dhcpd.conf file:

option domain-name-servers 8.8.8.8, 8.8.8.4;
option subnet-mask 255.255.255.0;

default-lease-time 3600;
max-lease-time 86400;
ddns-update-style none;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.4 192.168.1.24;
  option routers 192.168.1.1;
}

host onur-pc { 
hardware ethernet 00:0e:2e:ff:6b:e7;
  fixed-address 192.168.1.2;
}

host onur-eee {
hardware ethernet 00:22:43:45:a1:2d;
  fixed-address 192.168.1.3;
}

I attached client machines dhclient.conf file (client is Debian GNU/Linux
testing/squeeze).

Do you have any idea?
# Configuration file for /sbin/dhclient, which is included in Debian's
#   dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
#   man page for more information about the syntax of this file
#   and a more comprehensive list of the parameters understood by
#   dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
#   not leave anything out (like the domain name, for example), then
#   few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

#send host-name andare.fugue.com;
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name fugue.com home.vix.com;
#prepend domain-name-servers 127.0.0.1;
prepend domain-name-servers 8.8.8.8, 8.8.8.4;
#request subnet-mask, broadcast-address, time-offset, routers,
#   domain-name, domain-name-servers, domain-search, host-name,
#   netbios-name-servers, netbios-scope, interface-mtu,
#   rfc3442-classless-static-routes, ntp-servers;
request subnet-mask, broadcast-address;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script /etc/dhcp3/dhclient-script;
#media -link0 -link1 -link2, link0 link1;
#reject 192.33.137.209;

#alias {
#  interface eth0;
#  fixed-address 192.5.5.213;
#  option subnet-mask 255.255.255.255;
#}

#lease {
#  interface eth0;
#  fixed-address 192.33.137.200;
#  medium link0 link1;
#  option host-name andare.swiftmedia.com;
#  option subnet-mask 255.255.255.0;
#  option broadcast-address 192.33.137.255;
#  option routers 192.33.137.250;
#  option domain-name-servers 127.0.0.1;
#  renew 2 2000/1/12 00:00:01;
#  rebind 2 2000/1/12 00:00:01;
#  expire 2 2000/1/12 00:00:01;
#}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: dhcpd doesn't sent route information

2010-04-23 Thread Chuck Swiger
On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote:
 I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a
 client machine, this machine doesn't get gateway from dhcp server. I 
 configured
 dhcpd server as described in FreeBSD handbook.

If the machine you are testing from is one of onur-pc or onur-eee, you aren't 
getting a default router because you've only defined it for the dynamic pool 
range of .4 - .24.  Move the:

   option routers 192.168.1.1;

...statement to the top level, or move the host declarations inside of the 
subnet 192.168.1.0 block.  Or copy the routers line to your host declarations, 
I suppose.

Regards,
-- 
-Chuck

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


Re: Disk Usage

2010-04-23 Thread Lowell Gilbert
Jerry freebsd.u...@seibercom.net writes:

 I just did a fresh install of FreeBSD-8.0/amd64. Previously, I had
 FreeBSD-7.3/i386  installed. It appears the the size of / has
 increased dramatically.

 $ df -H
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a1.0G527M428M55%/
 devfs  1.0k1.0k  0B   100%/dev
 /dev/ad0s1d520M 18k478M 0%/tmp
 /dev/ad0s1e236G6.0G212G 3%/usr
 /dev/ad1s1d238G720M218G 0%/var

 When I attempted to build World and a new kernel after first installing
 8.0, I received an error that / was at 106% and the process stopped. I
 reinstalled 8.0 and increased the size to 1.0G and now everything
 appears to be working correctly.

 In my old installation, the root directory only used a minuscule amount
 of space. Why has it increased so dramatically in 8.0/amd64?

New modules, mostly.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dhcpd doesn't sent route information

2010-04-23 Thread Onur Aslan
I tried, but It doesn't helped.

On Fri, Apr 23, 2010 at 08:22:54AM -0700, Chuck Swiger wrote:
 On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote:
  I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in 
  a
  client machine, this machine doesn't get gateway from dhcp server. I 
  configured
  dhcpd server as described in FreeBSD handbook.
 
 If the machine you are testing from is one of onur-pc or onur-eee, you aren't 
 getting a default router because you've only defined it for the dynamic pool 
 range of .4 - .24.  Move the:
 
option routers 192.168.1.1;
 
 ...statement to the top level, or move the host declarations inside of the 
 subnet 192.168.1.0 block.  Or copy the routers line to your host 
 declarations, I suppose.
 
 Regards,
 -- 
 -Chuck
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dhcpd doesn't sent route information

2010-04-23 Thread Kevin Kinsey

Onur Aslan wrote:

I tried, but It doesn't helped.


Please show us the revised dhcpd.conf.  Also, did you -HUP
your named?

Kevin Kinsey

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?




On Fri, Apr 23, 2010 at 08:22:54AM -0700, Chuck Swiger wrote:

On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote:

I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a
client machine, this machine doesn't get gateway from dhcp server. I configured
dhcpd server as described in FreeBSD handbook.
If the machine you are testing from is one of onur-pc or onur-eee, you aren't 

 getting a default router because you've only defined it for the dynamic pool
 range of .4 - .24.  Move the:


   option routers 192.168.1.1;

...statement to the top level, or move the host declarations inside 

 of the subnet 192.168.1.0 block.  Or copy the routers line to your
 host declarations, I suppose.


Regards,
--
-Chuck


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


[Fwd: Re: dhcpd doesn't sent route information]

2010-04-23 Thread Kevin Kinsey

Onur Aslan wrote:

I tried, but It doesn't helped.


Please show us the revised dhcpd.conf.  Also, did you -HUP
your named?

Sorry!  That should be dhcpd.

$kill -HUP `pgrep dhcpd`

should do the trick.

KDK



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


Re: bsdstats country

2010-04-23 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 23/04/2010 11:15:58, Aiza wrote:
 How does bsdstats know what country the PC posting its info is from?

GeoIP almost certainly.  Like this: http://www.geoiptool.com/

Cheers

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvRgRUACgkQ8Mjk52CukIyxrACbB5gWQSuFwy0g0KxwVpxtpo72
cUoAnRr6UOFr2vezd1WXor5CuagnS9dO
=y/jM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: bsdstats country

2010-04-23 Thread Kevin Kinsey

Aiza wrote:

How does bsdstats know what country the PC posting its info is from?


Probably via a lookup in the regional registry; see RFC 2050.

Kevin Kinsey

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


Re: Disk Usage

2010-04-23 Thread Jerry
On Fri, 23 Apr 2010 11:26:02 -0400
Lowell freebsd-questions-lo...@be-well.ilk.org articulated:

 Jerry freebsd.u...@seibercom.net writes:
 
  I just did a fresh install of FreeBSD-8.0/amd64. Previously, I had
  FreeBSD-7.3/i386  installed. It appears the the size of / has
  increased dramatically.
 
  $ df -H
  Filesystem SizeUsed   Avail Capacity  Mounted on
  /dev/ad0s1a1.0G527M428M55%/
  devfs  1.0k1.0k  0B   100%/dev
  /dev/ad0s1d520M 18k478M 0%/tmp
  /dev/ad0s1e236G6.0G212G 3%/usr
  /dev/ad1s1d238G720M218G 0%/var
 
  When I attempted to build World and a new kernel after first
  installing 8.0, I received an error that / was at 106% and the
  process stopped. I reinstalled 8.0 and increased the size to 1.0G
  and now everything appears to be working correctly.
 
  In my old installation, the root directory only used a minuscule
  amount of space. Why has it increased so dramatically in 8.0/amd64?
 
 New modules, mostly.

OK, in that case, the install utility should be updated to allocate a
larger share to the root directory. As I stated, I ran out of room
while doing an initial World/Kernel build. Perhaps a mention in the
documentation would also be beneficial.

Just my 2¢.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

Leave no stone unturned.

Euripides


signature.asc
Description: PGP signature


Re: dhcpd doesn't sent route information

2010-04-23 Thread Onur Aslan
$ cat /usr/local/etc/dhcpd.conf
option domain-name-servers 8.8.8.8, 8.8.8.4;
option subnet-mask 255.255.255.0;

default-lease-time 3600;
max-lease-time 86400;
ddns-update-style none;

option routers 192.168.1.1;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.4 192.168.1.24;
}

host onur-pc { 
hardware ethernet 00:0e:2e:ff:6b:e7;
fixed-address 192.168.1.2;
}

host onur-eee {
hardware ethernet 00:22:43:45:a1:2d;
fixed-address 192.168.1.3;
}

#

I am starting dhcpd with '/usr/local/etc/rc.d/isc-dhcpd start'. It's
starting with this command:

/usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf
/var/db/dhcpd/dhcpd.leases -pf /var/run/dhcpd/dhcpd.pid -user dhcpd
-group dhcpd ral0


After I added dhcpd_flags=-HUP to my rc.conf It's giving an error
message when I starting dhcpd:

# /usr/local/etc/rc.d/isc-dhcpd restart
Internet Systems Consortium DHCP Server V3.0.7
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
Usage: dhcpd [-p UDP port #] [-d] [-f]
 [-cf config-file] [-lf lease-file]
 [-user user] [-group group]
 [-chroot dir] [-early_chroot]
 [-jail name ip]
   [-tf trace-output-file]
   [-play trace-input-file]
 [-t] [-T] [-s server] [if0 [...ifN]]
Configuration file sanity check failed:
===
Internet Systems Consortium DHCP Server V3.0.7
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
Usage: dhcpd [-p UDP port #] [-d] [-f]
 [-cf config-file] [-lf lease-file]
 [-user user] [-group group]
 [-chroot dir] [-early_chroot]
 [-jail name ip]
   [-tf trace-output-file]
   [-play trace-input-file]
 [-t] [-T] [-s server] [if0 [...ifN]]
===


It's saying 'Configuration file sanity check failed' but I don't see
any problem in my configuration file.


On Fri, Apr 23, 2010 at 10:43:40AM -0500, Kevin Kinsey wrote:
 Onur Aslan wrote:
 I tried, but It doesn't helped.
 
 Please show us the revised dhcpd.conf.  Also, did you -HUP
 your named?
 
 Kevin Kinsey
 
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?
 
 
 
 On Fri, Apr 23, 2010 at 08:22:54AM -0700, Chuck Swiger wrote:
 On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote:
 I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient 
 in a
 client machine, this machine doesn't get gateway from dhcp server. I 
 configured
 dhcpd server as described in FreeBSD handbook.
 If the machine you are testing from is one of onur-pc or
 onur-eee, you aren't
  getting a default router because you've only defined it for the dynamic 
  pool
  range of .4 - .24.  Move the:
 
option routers 192.168.1.1;
 
 ...statement to the top level, or move the host declarations
 inside
  of the subnet 192.168.1.0 block.  Or copy the routers line to your
  host declarations, I suppose.
 
 Regards,
 -- 
 -Chuck
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Disk Usage

2010-04-23 Thread ill...@gmail.com
On 22 April 2010 12:02, Jerry freebsd.u...@seibercom.net wrote:
 I just did a fresh install of FreeBSD-8.0/amd64. Previously, I had
 FreeBSD-7.3/i386  installed. It appears the the size of / has
 increased dramatically.

 $ df -H
 Filesystem     Size    Used   Avail Capacity  Mounted on
 /dev/ad0s1a    1.0G    527M    428M    55%    /
 devfs          1.0k    1.0k      0B   100%    /dev
 /dev/ad0s1d    520M     18k    478M     0%    /tmp
 /dev/ad0s1e    236G    6.0G    212G     3%    /usr
 /dev/ad1s1d    238G    720M    218G     0%    /var

 When I attempted to build World and a new kernel after first installing
 8.0, I received an error that / was at 106% and the process stopped. I
 reinstalled 8.0 and increased the size to 1.0G and now everything
 appears to be working correctly.

 In my old installation, the root directory only used a minuscule amount
 of space. Why has it increased so dramatically in 8.0/amd64?


64bit executables are going to be larger,
sometimes as much as 2x, but do you
now have a bunch of (large)
/boot/kernel/*.symbols
files now?

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


Re: Disk Usage

2010-04-23 Thread Jerry
On Fri, 23 Apr 2010 12:06:14 -0400
ill...@gmail.com ill...@gmail.com articulated:

 64bit executables are going to be larger,
 sometimes as much as 2x, but do you
 now have a bunch of (large)
 /boot/kernel/*.symbols
 files now?

I have 1115 total files in that directory. It appears that half of them
are *.symbols files.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

The hardest thing in the world to understand is the income tax.

Albert Einstein


signature.asc
Description: PGP signature


Re: Installation on HP Proliant via iLO - Error mounting /dev/acd0 on /dist

2010-04-23 Thread CyberLeo Kitsana
On 04/23/2010 06:51 AM, Ewald Jenisch wrote:
 On Thu, Apr 22, 2010 at 06:36:39PM -0600, Tim Judd wrote:

 ...
 Most remote management devices like Dell's DRAC and HP's iLO should
 present the drive to the OS as a USB rom.  The new IPMI management
 cards are still unknown.
 
 Oops, now I understand.
 
 Just curious: Why can the machine boot off the CD/DVD then during
 installation goes south - shouldn't it be either I recognize this
 drive or I don't recognize this drive?

During boot, the loader uses the bios-supplied routines to load the
kernel, modules, and md root. One would hope the bios knows how to
communicate with its hardware.

By the time sysinstall is running (from the preloaded memory disk), the
kernel has mapped all the hardware it knows, and no longer utilizes the
bios routines for I/O. Thus, if FreeBSD knows not of the hardware
connecting the CD drive, it will not be able to present it as an option.

Fortunately, once you get this far, you need not actually use the CD to
install; network installation works quite well.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Disk Usage

2010-04-23 Thread Jerry
On Fri, 23 Apr 2010 11:18:57 -0500 (CDT)
Mark tingu...@casselton.net articulated:

 
 The command (as root) will show which directories in the root
 partition use the most space:
 
  # du -kx / | sort -n
 
 Sometime install will backup the boot kernel directory.
 Multiple /boot/kernel* directories can quickly eat up space.

/ $ sudo du -kx / | sort -n
1   /dev
2   /.snap
2   /boot/firmware
2   /boot/zfs
2   /cdrom
2   /etc/ntp
2   /etc/skel
2   /etc/ssl/demoCA/crl
2   /etc/zfs
2   /media
2   /mnt
2   /proc
2   /tmp
2   /usr
2   /var
4   /etc/devd
4   /etc/gnats
4   /etc/ppp
4   /etc/ssl/demoCA/certs
6   /etc/gss
6   /etc/periodic/monthly
6   /etc/ssl/demoCA/private
8   /etc/bluetooth
10  /etc/X11
10  /etc/ssl/demoCA/newcerts
14  /etc/periodic/weekly
14  /etc/ssl/apache-certs
16  /root/kernels
24  /boot/defaults
34  /root
36  /etc/pam.d
36  /etc/security
40  /etc/periodic/security
42  /etc/ssl/demoCA
54  /etc/defaults
56  /etc/periodic/daily
74  /etc/mtree
94  /etc/ssl
118 /etc/periodic
144 /etc/ssh
252 /etc/mail
336 /lib/geom
386 /etc/rc.d
1026/libexec
1152/bin
1888/etc
4416/rescue
5240/sbin
7586/lib
12884   /boot/modules
238354  /boot/kernel.old
240616  /boot/kernel
492826  /boot
514199  /


I am assuming that I can safely delete the contents of
/boot/kernel.old. It is not that I am in dire need of space but
rather I do not want to risk running out of space in root again. Next
time I will allocate at least 2G to root.

$ df -cih
Filesystem SizeUsed   Avail Capacity iused ifree %iused  Mounted on
/dev/ad0s1a989M502M408M55%2.9k  138k2%   /
devfs  1.0K1.0K  0B   100%   0 0  100%   /dev
/dev/ad0s1d496M 18K456M 0%  15   66k0%   /tmp
/dev/ad0s1e220G6.1G196G 3%371k   29M1%   /usr
/dev/ad1s1d222G737M203G 0% 28k   30M0%   /var
total  443G7.3G401G 2%402k   60M1% 

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

I'd rather have a bottle in front of me than a frontal lobotomy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dhcpd doesn't sent route information

2010-04-23 Thread Chuck Swiger
Hi--

On Apr 23, 2010, at 9:02 AM, Onur Aslan wrote:
 After I added dhcpd_flags=-HUP to my rc.conf It's giving an error message 
 when I starting dhcpd:

Remove that; I believe what Kevin meant was to do this:

  kill -HUP `cat /var/run/dhcpd.pid`

...to restart dhcpd.  Running dhcpd -t will let you test the config file 
syntax, but what you've shown most recently should work now.

Regards,
-- 
-Chuck

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


Re: Disk Usage

2010-04-23 Thread Michael Powell
ill...@gmail.com wrote:

 On 22 April 2010 12:02, Jerry freebsd.u...@seibercom.net wrote:
 I just did a fresh install of FreeBSD-8.0/amd64. Previously, I had
 FreeBSD-7.3/i386  installed. It appears the the size of / has
 increased dramatically.

 $ df -H
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a1.0G527M428M55%/
 devfs  1.0k1.0k  0B   100%/dev
 /dev/ad0s1d520M 18k478M 0%/tmp
 /dev/ad0s1e236G6.0G212G 3%/usr
 /dev/ad1s1d238G720M218G 0%/var

 When I attempted to build World and a new kernel after first installing
 8.0, I received an error that / was at 106% and the process stopped. I
 reinstalled 8.0 and increased the size to 1.0G and now everything
 appears to be working correctly.

 In my old installation, the root directory only used a minuscule amount
 of space. Why has it increased so dramatically in 8.0/amd64?

 
 64bit executables are going to be larger,
 sometimes as much as 2x, but do you
 now have a bunch of (large)
 /boot/kernel/*.symbols
 files now?
 

You can comment out 'makeoptionsDEBUG=-g' from your kernel config file, 
along with all other debugging facilities and set  WITHOUT_PROFILE= true in 
src.conf. I also have STRIP= -s in my make.conf, but IIRC this should only 
apply to ports builds.

The downside to this is if you need to do some serious troubleshooting 
you're screwed. On production boxen I run Release versions, and only do 
security updates/patches or upgrade to the next Release. In the past using 
the most quiescent code has been good to me.

After two kernel builds/installs the huge GENERIC gets moved out of the way. 
My i386 box has 91MB of space used in / and the 64 bit boxen are typically 
about 93-95MB. I only have one i386 box left and it's crunched down kernel 
is 4.2MB, and my 64 bit ones average around 4.5MB.

This can be an effective strategy to mitigate a / being too small, but at 
the cost of reducing one's ability to get down and dirty troubleshooting 
code bugs.

-Mike


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


Duplicate ports with the same name, shou,d thy be banned/renamed?

2010-04-23 Thread Yuri

I see there are two ports:
/usr/ports/audio/mpc
/usr/ports/math/mpc

When I run 'pkg_add -r mpc' the first one gets installed, there is 'All' 
directory under packages, here all of them from all subdirectories are 
dropped.


Shouldn't duplication be banned?

Yuri

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


Re: Duplicate ports with the same name, shou,d thy be banned/renamed?

2010-04-23 Thread Glen Barber
Hi,

Yuri wrote: 
 I see there are two ports:
 /usr/ports/audio/mpc
 /usr/ports/math/mpc
 
 When I run 'pkg_add -r mpc' the first one gets installed, there is 'All' 
 directory under packages, here all of them from all subdirectories are 
 dropped.
 
 Shouldn't duplication be banned?
 

This is where the LATEST_LINK entry in the port Makefile comes in.  If you
want to pkg_add math/mpc, use:

pkg_add -r math_mpc

Regards,

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Setup Fail2Ban on FreeBSD

2010-04-23 Thread Bauer, Aaron J.
I am currently using FreeNAS 0.7 for a file server.  I have multiple SSH 
bruteforce attacks each week, and wish to use fail2ban to prevent this.

I don't have much experience with BSD, and am having trouble getting everything 
to work.  I ran pkg_add -r python25 and pkg_add -r py25-fail2ban.  I now have 
all the files for Fail2Ban, and did the cp jail.conf jail.local as the other 
distro's for linux use.

However, how do I start using fail2ban?  I have configured it for CentOS and 
Ubuntu, and it starts in init.d.  I don't know how to add it to /etc/rc.d to 
get it to work correctly..

Any help is greatly appreciated.  If you need more info, please let me know.

Aaron 
Software Research Intern 
aaron.j.ba...@saic.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KDE 4.4.2

2010-04-23 Thread Bruce Cran
On Fri, Apr 23, 2010 at 07:58:12PM +1200, Andrew Hill wrote:
 Hi does anyone know if kde 4.4.2 is in freebsd ports?

It's not yet - a big upgrade to Xorg and KDE is being worked on so I 
guess it'll be available in a few days. 

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


blogware or online-feedback utilities?

2010-04-23 Thread Gary Kline
The soundings i got by this list alone re my novel told me that
it has interest.  I think more broadly that just among fellow 
computer nerds.  What I want to know is about getting feedback 
both from list like -questions as well as the others that I 
belong to.  Or are there some canned php scripts I can use?

I've run this site for  20 years out of pocket; now I would
like to check into something like Paypal donations.  Anybody here
have a clue about that?   If this seems too far OT, please
get back to me offlist.

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
 http://journey.thought.org  100% Guaranteed Novel

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


Re: Problems with printing

2010-04-23 Thread Frank Wißmann

Hi, hello and a good day!

Warren Block schrieb:

On Thu, 22 Apr 2010, Frank Wi?mann wrote:


chkprintcap -d -f /etc/printcap exits with no error message.


That -d may have now changed things, but okay.


lpc status lp gives that:

lp:
   queuing is enabled
   printing is enabled
   no entries in spool area
   printer idle


That's good.  Try sending a short test file to the printer, like
ls -lh | lpr

(lp is the default, so -Plp is not needed.)


The beast does it. At least, it does print from the command line like 
cat /etc/rc.conf|lpr.




Watch the printer display to see if it receives a job.  If the printer 
doesn't print, check the status with lpc again.  Oh, and you might want 
to check that the printer is set to Auto personality so it'll accept all 
types of print jobs.


Don't know, but I set group and owner to daemon:daemon.  Incidentally, 


Which directories do you include in daemon:daemon?


The spool dir, but 'chown -R daemon:daemon /var/spool/lpd' should be all 
right, too.


I changed that so it is now like yours.



using the first name of the printer (lp) for the spooldir would make 
more sense to me.


I did change that but it seems not to have any effect. I also took my 
user in the groups daemon and operator but that didn't help, too.


You should not be a member of the daemon group; operator is fine.  And 
also beware of changing multiple settings at the same time.


I rechanged that, too. Now I am out of daemon.



-Warren Block * Rapid City, South Dakota USA



The printer does not accept a job from a GUI application like Firefox 
or Thunderbird. So how can I go on from now?


Greetings Frank

--
GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE 
Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y?


When pack meets pack in the jungle
and no one will move from the trail
wait till the leaders have spoken
it may be fair words shall prevail

(Rudyard Kipling)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is there PHP 5.2.x in ports?

2010-04-23 Thread doug schmidt
On Thu, Apr 22, 2010 at 3:18 PM, Olivier Mueller om-lists-...@omx.ch wrote:
 On Thu, 2010-04-22 at 22:06 +0300, Eitan Adler wrote:
    Is there 5.2.x in ports, or is there other way to get it installed?
    For MySQL, for example, there are both 5.0.x and 5.1.x in ports.

 php 5.2 is not currently in the ports system. You could get it by
 using porteasy or portdowngrade.

 And if you are patient, some devs are planing to add a php52 port, there
 is even something in the PR DB :
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145772  (but I don't
 know how active they are, maybe asking on freebsd-ports would be
 better).

lang/php52 has been added to the ports tree.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Setup Fail2Ban on FreeBSD

2010-04-23 Thread Noel Jones
On Fri, Apr 23, 2010 at 12:49 PM, Bauer, Aaron J.
aaron.j.ba...@saic.com wrote:
 I am currently using FreeNAS 0.7 for a file server.  I have multiple SSH 
 bruteforce attacks each week, and wish to use fail2ban to prevent this.

 I don't have much experience with BSD, and am having trouble getting 
 everything to work.  I ran pkg_add -r python25 and pkg_add -r py25-fail2ban.  
 I now have all the files for Fail2Ban, and did the cp jail.conf jail.local as 
 the other distro's for linux use.

 However, how do I start using fail2ban?  I have configured it for CentOS and 
 Ubuntu, and it starts in init.d.  I don't know how to add it to /etc/rc.d to 
 get it to work correctly..


add the line:
fail2ban_enable=YES
to /etc/rc.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dhcpd doesn't sent route information

2010-04-23 Thread Kevin Kinsey

Onur Aslan wrote:

$ cat /usr/local/etc/dhcpd.conf
option domain-name-servers 8.8.8.8, 8.8.8.4;
option subnet-mask 255.255.255.0;

default-lease-time 3600;
max-lease-time 86400;
ddns-update-style none;

option routers 192.168.1.1;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.4 192.168.1.24;
}

host onur-pc { 
hardware ethernet 00:0e:2e:ff:6b:e7;

fixed-address 192.168.1.2;
}

host onur-eee {
hardware ethernet 00:22:43:45:a1:2d;
fixed-address 192.168.1.3;
}

#

I am starting dhcpd with '/usr/local/etc/rc.d/isc-dhcpd start'. It's
starting with this command:

/usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf
/var/db/dhcpd/dhcpd.leases -pf /var/run/dhcpd/dhcpd.pid -user dhcpd
-group dhcpd ral0


After I added dhcpd_flags=-HUP to my rc.conf It's giving an error
message when I starting dhcpd:

# /usr/local/etc/rc.d/isc-dhcpd restart
Internet Systems Consortium DHCP Server V3.0.7
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
Usage: dhcpd [-p UDP port #] [-d] [-f]
 [-cf config-file] [-lf lease-file]
 [-user user] [-group group]
 [-chroot dir] [-early_chroot]
 [-jail name ip]
   [-tf trace-output-file]
   [-play trace-input-file]
 [-t] [-T] [-s server] [if0 [...ifN]]
Configuration file sanity check failed:
===
Internet Systems Consortium DHCP Server V3.0.7
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
Usage: dhcpd [-p UDP port #] [-d] [-f]
 [-cf config-file] [-lf lease-file]
 [-user user] [-group group]
 [-chroot dir] [-early_chroot]
 [-jail name ip]
   [-tf trace-output-file]
   [-play trace-input-file]
 [-t] [-T] [-s server] [if0 [...ifN]]
===


-HUP is an option to kill(1).  Many daemons can
be told to re-read their configuration file like this:

kill -HUP `pgrep daemonname`

   where daemonname is something like dhcpd, named, inetd,
httpd, etc.  I've never had much trouble with dhcpd, so I
may be wrong about using kill -HUP on it; I am fairly
certain you don't wanna flag -HUP in /etc/rc.conf,
though.  Take it away and the usage message will disappear.


It's saying 'Configuration file sanity check failed' but I don't see
any problem in my configuration file.


Me neither, unless Chuck was also mistaken and you can't put the
option routers line up there, I don't think I see anything either.
Of course, my monitor's a little dusty and I think I need a stronger
eyeglass prescription :-)

If at first you don't succeed, edit, and try again?  :-)

KDK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is there PHP 5.2.x in ports? yes.

2010-04-23 Thread Olivier Mueller
On Fri, 2010-04-23 at 15:34 -0400, doug schmidt wrote:
 On Thu, Apr 22, 2010 at 3:18 PM, Olivier Mueller om-lists-...@omx.ch wrote:
  And if you are patient, some devs are planing to add a php52 port, there
  is even something in the PR DB :
  http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145772  (but I don't
  know how active they are, maybe asking on freebsd-ports would be
  better).
 
 lang/php52 has been added to the ports tree.

wow, that was quick... cool! thanks for the information :) 
( http://www.freebsd.org/cgi/ports.cgi?query=php52stype=allsektion=all )

regards,
Olivier

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


Re: Problems with printing

2010-04-23 Thread Warren Block

On Fri, 23 Apr 2010, Frank Wi?mann wrote:

The beast does it. At least, it does print from the command line like 
cat /etc/rc.conf|lpr.


Excellent.

The printer does not accept a job from a GUI application like 
Firefox or Thunderbird. So how can I go on from now?


That may be a function of the desktop environment.  With xfce4, 
Settings/Printing set to BSD/LPR, Firefox prints fine.


Worst case, you can enter lpr in the Command Line box of the Firefox 
printing dialog.  Or /usr/bin/lpr if it's wrongly trying to run the CUPS 
lpr.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is there PHP 5.2.x in ports? yes.

2010-04-23 Thread Антон Клесс
There are no archivers/php52-zlib.
So, it is unavailable to install lang/php52 with lang/php5-extensions,
having zlib extension choosen at make config.

2010/4/24 Olivier Mueller om-lists-...@omx.ch

 On Fri, 2010-04-23 at 15:34 -0400, doug schmidt wrote:
  On Thu, Apr 22, 2010 at 3:18 PM, Olivier Mueller om-lists-...@omx.ch
 wrote:
   And if you are patient, some devs are planing to add a php52 port,
 there
   is even something in the PR DB :
   http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145772  (but I don't
   know how active they are, maybe asking on freebsd-ports would be
   better).
 
  lang/php52 has been added to the ports tree.

 wow, that was quick... cool! thanks for the information :)
 ( http://www.freebsd.org/cgi/ports.cgi?query=php52stype=allsektion=all )

 regards,
 Olivier

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




-- 
С уважением,
Антон Клесс,
http://kless.spb.ru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KDE 4.4.2

2010-04-23 Thread ajtiM
On Friday 23 April 2010 13:39:44 Bruce Cran wrote:
 On Fri, Apr 23, 2010 at 07:58:12PM +1200, Andrew Hill wrote:
  Hi does anyone know if kde 4.4.2 is in freebsd ports?
 
 It's not yet - a big upgrade to Xorg and KDE is being worked on so I
 guess it'll be available in a few days.
 
...and again my question: why upgrade on 4.4.2 after two months if 4.4.3 
coming out in the end of the month?? The version 4.4 was out in February 9th!

Mitja

http://starikarp.redbubble.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


bsdstats error

2010-04-23 Thread Aiza
Some thing wrong with the bsdstats process. I am a retired American who 
is now living in the Philippines. All during RELEASE 7.0, 7.1, 7.2, and 
now 8.0 I have been running the bsdstats port on my single system. Some 
times I reboot the system a few times a week which fire off the bsdstat 
reports as well as running over the change of month which also fires off 
the bsdstat report. Yesterday I checked the http://bsdstats.org website 
by country and to my great surprise there are no Freebsd systems in the 
Philippines. Also the previous months reports are no longer shown on the 
website and the port stats don't show at all. This is not the results 
talked about on this list when the bsdstats project was trying to get 
Freebsd participation 3 years ago. Maybe the bsdstats website has been 
un-supported, un-updated for over 2 years now and nobody noticed until I 
 showed up in a country with out any Freebsd counts, but knowing I was 
reports regularly.


What good is participation if there are no real-time results.
Guess it's time to remove bsdstats from my system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Setup Fail2Ban on FreeBSD

2010-04-23 Thread Zhu Jing
On Sat, Apr 24, 2010 at 1:49 AM, Bauer, Aaron J. aaron.j.ba...@saic.comwrote:

 I am currently using FreeNAS 0.7 for a file server.  I have multiple SSH
 bruteforce attacks each week, and wish to use fail2ban to prevent this.

 I don't have much experience with BSD, and am having trouble getting
 everything to work.  I ran pkg_add -r python25 and pkg_add -r py25-fail2ban.
  I now have all the files for Fail2Ban, and did the cp jail.conf jail.local
 as the other distro's for linux use.

 However, how do I start using fail2ban?  I have configured it for CentOS
 and Ubuntu, and it starts in init.d.  I don't know how to add it to
 /etc/rc.d to get it to work correctly..

 Any help is greatly appreciated.  If you need more info, please let me
 know.

 Aaron
 Software Research Intern
 aaron.j.ba...@saic.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


http://www.freebsd.org/doc/en/books/handbook/configtuning-rcd.html
---
t is easy to check if a service is enabled in /etc/rc.conf by running the
appropriate rc.d script with the option rcvar. Thus, an administrator can
check that sshd is in fact enabled in /etc/rc.conf by running:

# /etc/rc.d/sshd rcvar
# sshd

$sshd_enable=YES
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


restore via netcat not ending

2010-04-23 Thread Doug Poland
Hello,

I've got a restore process running now that doesn't seem to want to
end.  The dump (level 0) was made this morning and sent to another
host on the network.  I reformatted the partition and am restoring the
43GB dump as such...

restore#  cd /data  nc -l 1234 | restore -rf-
backup% nc restore 1234  data.dump

I watched the file system slowly fill up for about 4 hours, then
network and disk I/O dropped dramatically after the restore file
system is roughly the same size as the dump file.  Yet the restore is
still running.

When I look at the file system, the parent directories are still owned
by root and 700.  Will this thing ever end?


-- 
Regards,
Doug

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


Re: KDE 4.4.2

2010-04-23 Thread Michael Powell
ajtiM wrote:

 On Friday 23 April 2010 13:39:44 Bruce Cran wrote:
 On Fri, Apr 23, 2010 at 07:58:12PM +1200, Andrew Hill wrote:
  Hi does anyone know if kde 4.4.2 is in freebsd ports?
 
 It's not yet - a big upgrade to Xorg and KDE is being worked on so I
 guess it'll be available in a few days.
 
 ...and again my question: why upgrade on 4.4.2 after two months if 4.4.3
 coming out in the end of the month?? The version 4.4 was out in February
 9th!
 

Because the release of this software on FreeBSD does not happen on the same 
day as KDE releases it. It has to be patched and ported by people who are 
volunteering their free time. These patches are needed to make compiling and 
running KDE on FreeBSD a worthwhile experience. This takes time.

A lot of third party apps are not as 100% portable as they could be, and 
many contain a lot of 'Linuxisms' which need to be adjusted out.

So do not look at the release dates on the KDE site and think that because 
KDE x.y.z is released by KDE on xx somemonth that it will magically appear 
in the FreeBSD ports immediately. This stuff has to be patched first.

-Mike



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


Network laser printcap

2010-04-23 Thread Graham Bentley
Hi All,

Could anyone using a network laser printer post
their working /etc/printcap entry?

Having mixed results getting a Kyocera FS-1010
working consistently on both ascii  ps

Thanks!

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