Re: Unable to reach hosts outside my subnet after initial installation

2008-06-14 Thread Peter Boosten



Edward Lay wrote:

From: Derek Ragona [EMAIL PROTECTED]


It seems more like a router/gateway network configuration type of
problem. I've just discovered that when I ping the gateway's IP
address, I get no answer.  Now I know the gateway is functioning as
every other host on the network can reach the rest of the internet and
in fact, I've just successfully ping'd the gateway from the machine
where I'm writing this message. So I'm wondering what could cause this
or at least some way of approaching the problem. 



netmask?

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


Re: sound card

2008-06-12 Thread Peter Boosten



Joey Mingrone wrote:

Hi,

I'm trying to determine what sound card a notebook has.  There are
three relevant dmesg lines below, but looking at freebsd's hardware
notes, I can't tell whether I should use the snd_ich(4) driver for an
Intel ICH4 card, the snd_hda(4) driver for an 82801 card or a sigmatel
card.  Any suggestions?


%cat /var/run/dmesg.boot| grep pcm
pcm0: Intel ICH4 (82801DB) port 0xee00-0xeeff,0xe000-0xe03f mem
0xffaff800-0xffaff9ff,0xffaff400-0xffaff4ff irq 4 at device 31.5 on
pci0
pcm0: [ITHREAD]
pcm0: SigmaTel STAC9750/51 AC97 Codec



http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

Especially:

If you are not sure which driver to use, you may try to load the 
snd_driver module:


# kldload snd_driver

This is a metadriver loading the most common device drivers at once. 
This speeds up the search for the correct driver.


Peter
--
http://www.boosten.org
___
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 determine the date a port is installed

2008-06-11 Thread Peter Pentchev
On Tue, Jun 10, 2008 at 10:41:25PM -0700, Jeremy Chadwick wrote:
 On Wed, Jun 11, 2008 at 12:09:33AM -0500, Novembre wrote:
  Two questions:
  1) Is it possible to determine the date a port/package is installed?
 
 ls -ld /var/db/pkg/port, use the mtime of the directory.
 
  2) How can I delete all the ports/packages installed after a certain date?
 
 Use a combination of find with the -mtime flag, and pkg_delete.

Not really.  This is a bit dangerous.

The dangerous part is the mtime of the directory.  It would be much
better to use the mtime of the +CONTENTS file, since it never changes
*after* the package has been installed.

It is possible, though not certain, that the mtime of the directory may
change if another package is installed later which depends on this one -
pkg_add(1) then updates some files, most notably +REQUIRED_BY, to
reflect the new dependency, so that pkg_delete(1) may warn you later if
you try to delete something that other packages depend on.  Of course,
the part with the mtime of the directory may change depends a bit on
the filesystem used, but I find it easier to just rely on the +CONTENTS
file that I'm sure should never change - unless I edit it by hand, but
then all bets are off :)

Novembre, you might want to try something like:

# Change the working directory for easier path handling
cd /var/db/pkg

# Create a temporary file with the modification time set to the date
# that you want to examine (in this case, May 15, 2008, 11:00am)
touch -t 200805151100 /tmp/stamp

# Find all +CONTENTS files that have a modification time later than that
# of the stamp file
find . -type f -name '+CONTENTS' -mnewer /tmp/stamp

# Extend the previous command - get only the second component of the
# file path, which is the name of the package directory, which coincides
# with the name of the package :)
find . -type f -name '+CONTENTS' -mnewer /tmp/stamp | cut -d/ -f2

That should give you a list; you may redirect it to a file or, if you
are feeling really adventurous, just pipe it to | xargs pkg_delete :)

G'luck,
Peter

-- 
Peter Pentchev  [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I had to translate this sentence into English because I could not read the 
original Sanskrit.


pgpRMeph8IlP3.pgp
Description: PGP signature


Re: how to determine the date a port is installed

2008-06-11 Thread Peter Pentchev
On Wed, Jun 11, 2008 at 01:40:19PM +0100, Florent Thoumie wrote:
 On Wed, Jun 11, 2008 at 8:31 AM, Peter Pentchev [EMAIL PROTECTED] wrote:
  On Tue, Jun 10, 2008 at 10:41:25PM -0700, Jeremy Chadwick wrote:
  On Wed, Jun 11, 2008 at 12:09:33AM -0500, Novembre wrote:
   Two questions:
   1) Is it possible to determine the date a port/package is installed?
 
  ls -ld /var/db/pkg/port, use the mtime of the directory.
 
   2) How can I delete all the ports/packages installed after a certain 
   date?
 
  Use a combination of find with the -mtime flag, and pkg_delete.
 
  Not really.  This is a bit dangerous.
 
  The dangerous part is the mtime of the directory.  It would be much
  better to use the mtime of the +CONTENTS file, since it never changes
  *after* the package has been installed.
 
 It actually does if you're using portupgrade (and probably
 portmaster), see the @pkgdep entries.
 
 Use +DESC, +COMMENT or +MTREE_DIRS instead.

Yep.  Sorry.  Any of those would be a better candidate.
I'd simply forgotten about port management tools modifying
the dependencies in-place.

G'luck,
Peter

-- 
Peter Pentchev  [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
Thit sentence is not self-referential because thit is not a word.


pgpKsLwZy90xN.pgp
Description: PGP signature


Re: vmware timekeeping

2008-06-07 Thread Peter Thoenen

I run FreeBSD 7.0 inside VMware Workstation-6.0.4 (ACE Edition) and I
don't have to setup anything. The time is the always same as the host


How long do you keep it up though Odhiambo and how intensive are you 
using your native OS?  I have a similar setup and while it sync's on 
boot, I routinely lose 15 minutes a day (I keep it up 24x7).  I think it 
is not so much a bug in VMware as opposed to the host OS running slower 
than it thinks (e.g. maybe a second of OS time is really 1.01 
seconds of real time adding up over long periods) if the native OS is 
under moderate to heavy use.

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


Re: Reverse proxy recommendation

2008-05-31 Thread Peter Boosten

Thomas Mullins wrote:

Hello,

We have three internal web servers that we make accessible to the
internet.  Right now we simply use pf and port redirection.  Works
great.  


But, we would like to tighten up security.  I know you can do this with
squid, apache and a few others.  Could someone please make a
recommendation on what solutions they have used or seen in the past?  



I'm using squid as reverse proxy, for several internal hosts (just one 
squid reading the host-header), both as rp for 'normal' sites and as 
https front end.


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


Re: ipw2200 freebsd 7 firmware problem

2008-05-22 Thread peter harrison
Thursday, 22 May 2008 at  9:13:41 +0100, Vince Hoffman said:
 Fernando Apesteguía wrote:
  On 5/22/08, Vince Hoffman [EMAIL PROTECTED] wrote:
  Fernando Apesteguía wrote:
  On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman [EMAIL PROTECTED]
  wrote:
  Fernando Apesteguía wrote:
 
  Hi all,
 
  I have an ipw2200 bg. I can't make it work under FreeBSD 7 on AMD64.
 
  This is the output of pciconf -lv
 
  [EMAIL PROTECTED]:0:5:0:   class=0x028000 card=0x27028086 
  chip=0x42208086
  rev=0x05 hdr=0x00
 vendor = 'Intel Corporation'
 device = 'MPCI3B  driverIntel PRO/Wireless 2200BG'
 class  = network
 
  dmesg shows the following:
 
  pci0: network at device 5.0 (no driver attached)
 
  I tried to instal the iwi-firmware from ports:
 
 
  Have you read the manpage for iwi?
 
  No, I tried with iwi-firmware and iwicontrol and none of them existed.
 
 
  no ports are needed the firmware is now in the base system, Just add the
  entries as specified in this snippet from man iwi
 
  So... shouldn't this port be removed?
 
 
  I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the
  port is needed for 7.x
 
   Alternatively, to load the driver as a module at boot time, place the
 following lines in loader.conf(5):
 
   if_iwi_load=YES
   wlan_load=YES
   firmware_load=YES
 
 In both cases, place the following lines in loader.conf(5) to load
  the
 firmware modules:
 
   iwi_bss_load=YES
   iwi_ibss_load=YES
   iwi_monitor_load=YES
 
  and
 
   This driver requires firmware to be loaded before it will work.  For
  the loaded firmware to work the license at
 /usr/share/doc/legal/intel_iwi/LICENSE must be
  agreed to and the
  follow-ing line be added to loader.conf(5):
 
   legal.intel_iwi.license_ack=1
 
 
  I'll try it. But AFAIK, I have to recompile the kernel cause the
  device iwi line is missing.
 
  Am i right?
 
 
  I think they should all be loadable as modules if they arent in generic.
 
  To try without rebooting I believe the commands you want are:
  kenv legal.intel_iwi.license_ack=1
  kldload if_iwi
  kldload wlan
  kldload firmware
  kldload iwi_bss
  kldload iwi_ibss
  kldload iwi_monitor
 
  However, I just had a look in my /boot/kernel for the if_iwi module and its
  not there so you may be correct. (I'm a touch supprised as the do exist on
  my i386 box)
  
  The same on my machine. The line is not in GENERIC and that modules
  don't exist. I will recompile my module as soon as I have some spare
  time.
  Thanks for your help.
  
 In theory you should be able to just
 cd /usr/src/sys/modules/iwi
 make  make install
 cd /usr/src/sys/modules/iwifw
 make  make install
 
 
 without rebuilding the entire kernel. I'm just puzzled why they dont
 build by default.

I'm running a stock 7.0-STABLE with GENERIC and a default make.conf and I get 
the iwi modules no problem. I just followed the instructions in the man page 
and was up and running in 5 minutes.


Peter Harrison

 
 
 Vince
 
 
  Best Regards
  
 
  regards,
  Vince
 
 
 ___
 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: ipw2200 freebsd 7 firmware problem

2008-05-22 Thread peter harrison
Thursday, 22 May 2008 at 14:04:46 +0100, Vince Hoffman said:
 peter harrison wrote:
  Thursday, 22 May 2008 at  9:13:41 +0100, Vince Hoffman said:
  Fernando Apesteguía wrote:
  On 5/22/08, Vince Hoffman [EMAIL PROTECTED] wrote:
  Fernando Apesteguía wrote:
  On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman [EMAIL PROTECTED]
  wrote:
 snip
  Have you read the manpage for iwi?
 
  No, I tried with iwi-firmware and iwicontrol and none of them existed.
 
 
  no ports are needed the firmware is now in the base system, Just add 
  the
  entries as specified in this snippet from man iwi
 
  So... shouldn't this port be removed?
 
 
  I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the
  port is needed for 7.x
 
   Alternatively, to load the driver as a module at boot time, place the
 following lines in loader.conf(5):
 
   if_iwi_load=YES
   wlan_load=YES
   firmware_load=YES
 
 In both cases, place the following lines in loader.conf(5) to load
  the
 firmware modules:
 
   iwi_bss_load=YES
   iwi_ibss_load=YES
   iwi_monitor_load=YES
 
  and
 
   This driver requires firmware to be loaded before it will work.  For
  the loaded firmware to work the license at
 /usr/share/doc/legal/intel_iwi/LICENSE must be
  agreed to and the
  follow-ing line be added to loader.conf(5):
 
   legal.intel_iwi.license_ack=1
 
 
  I'll try it. But AFAIK, I have to recompile the kernel cause the
  device iwi line is missing.
 
  Am i right?
 
 
  I think they should all be loadable as modules if they arent in generic.
 
  To try without rebooting I believe the commands you want are:
  kenv legal.intel_iwi.license_ack=1
  kldload if_iwi
  kldload wlan
  kldload firmware
  kldload iwi_bss
  kldload iwi_ibss
  kldload iwi_monitor
 
  However, I just had a look in my /boot/kernel for the if_iwi module and 
  its
  not there so you may be correct. (I'm a touch supprised as the do exist 
  on
  my i386 box)
  The same on my machine. The line is not in GENERIC and that modules
  don't exist. I will recompile my module as soon as I have some spare
  time.
  Thanks for your help.
 
  In theory you should be able to just
  cd /usr/src/sys/modules/iwi
  make  make install
  cd /usr/src/sys/modules/iwifw
  make  make install
 
 
  without rebuilding the entire kernel. I'm just puzzled why they dont
  build by default.
  
  I'm running a stock 7.0-STABLE with GENERIC and a default make.conf and I 
  get the iwi modules no problem. I just followed the instructions in the man 
  page and was up and running in 5 minutes.
  
  
 Are you running AMD64? the modules are there on my i386 laptop but not
 my AMD64 server (I dont use iwi on either though.)

I'm running i386, so that may be the difference. I don't have an AMD64 system 
to check I'm afraid.


Peter Harrison.

 
 vince
 
  Peter Harrison
  
 
  Vince
 
 
  Best Regards
 
  regards,
  Vince
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with Apache-2.2.8 PHP5 (+extensions) ports

2008-05-18 Thread Peter Boosten

Quoting Volker Jahns [EMAIL PROTECTED]:



Apache reports this:

[notice] child pid 31685 exit signal Illegal instruction (4)

and my /var/log/messages state:

kernel: pid 31685 (httpd), uid 80: exited on signal 4


Have a look into apache log file,
increase loglevel in httpd.conf
  LogLevel debug



Hi Volker,

Thanks for your answer. I tried that, but unfortunately it doesn't  
give me any more information (except deflating my traffic with gzip).  
Since this was in the errorlog I removed the DEFLATE option, just as a  
test, but that doesn't give the desired result either.


This is the log:

[debug] mod_deflate.c(619): [client 192.168.13.173] Zlib: Compressed  
215 to 171 : URL /favicon.ico


Peter

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


Re: Problems with Apache-2.2.8 PHP5 (+extensions) ports

2008-05-18 Thread Peter Boosten



Reko Turja wrote:
Whenever I click these, my browser wants to save a blank php-page, 
Apache reports this:


[notice] child pid 31685 exit signal Illegal instruction (4)


I've got signal 4's with PHP earlier, but I can't for now remember the 
exact cause. Usually my PHP problems have related to having module 
conflict in PHP, especially recode has been problematic. The solution 
has been commenting out extensions from 
/usr/local/etc/php/extensions.ini and then adding them back one by one 
until the problem returns - the last one added is the one causing the 
conflict. Of course you have to keep at least some extensions available 
in order to keep the website you're testing functional - databases etc.


Reko,

That's actually a good pointer. I'll try tonight.



Other solution is trying to tweak the extension load order in 
extensions.ini after you have found the extension causing the crash.


Other possible thing is accidentally building PHP against the wrong 
Apache if I recall right - in your case building Apache2 or Apache1 
version when you are running Apache22.


How would I do that? I installed Apache22 from ports and after that PHP. 
It never asked for any apache version.


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


Re: Problems with Apache-2.2.8 PHP5 (+extensions) ports

2008-05-18 Thread Peter Boosten



Mel wrote:


[notice] child pid 31685 exit signal Illegal instruction (4)


That would mean faulty CFLAGS when building or faulty asm in c files, usually 
seen in multimedia apps (seriously doubt that applies here). 


I thought so at first. I had these in my /etc/make.conf, but rebuild 
every port without them:


CPUTYPE=   i686
CFLAGS=-O -pipe
COPTFLAGS= -O -pipe


I don't think 
there's anything binary in joomla, but you may want to inspect the code in 
those faulty links. It might just shell_exec() an old binary you have lying 
around.




Both FreeBSD, apache, php and joomla were fresh installs.

Thanks for your answer.

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


Re: Problems with Apache-2.2.8 PHP5 (+extensions) ports

2008-05-18 Thread Peter Boosten

Reko Turja wrote:



How would I do that? I installed Apache22 from ports and after that PHP.
It never asked for any apache version.


I can't remember if that was at point in time when there 
wasAPACHE_VER=xxx knob - it was a long while ago. The module loading 
order difficulties tend to crop up every upgrade of PHP, forgetfulness 
to turn some extensions off from my part...




Solved it by installing PHP from source.

Thanks for your answer.

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


Problems with Apache-2.2.8 PHP5 (+extensions) ports

2008-05-17 Thread Peter Boosten

Hi all,

Here's the situation: FreeBSD 7.0-RELEASE-p1, apache-2.2.8 from ports 
and php5:


php5-5.2.6  PHP Scripting Language
php5-bz2-5.2.6  The bz2 shared extension for php
php5-ctype-5.2.6The ctype shared extension for php
php5-dom-5.2.6  The dom shared extension for php
php5-extensions-1.1 A meta-port to install PHP extensions
php5-gd-5.2.6   The gd shared extension for php
php5-gettext-5.2.6  The gettext shared extension for php
php5-iconv-5.2.6The iconv shared extension for php
php5-imap-5.2.6_1   The imap shared extension for php
php5-mbstring-5.2.6 The mbstring shared extension for php
php5-mcrypt-5.2.6   The mcrypt shared extension for php
php5-mhash-5.2.6The mhash shared extension for php
php5-mysql-5.2.6The mysql shared extension for php
php5-pcre-5.2.6 The pcre shared extension for php
php5-pdo-5.2.6  The pdo shared extension for php
php5-posix-5.2.6The posix shared extension for php
php5-session-5.2.6  The session shared extension for php
php5-simplexml-5.2.6 The simplexml shared extension for php
php5-spl-5.2.6  The spl shared extension for php
php5-tokenizer-5.2.6 The tokenizer shared extension for php
php5-xml-5.2.6  The xml shared extension for php
php5-xmlreader-5.2.6 The xmlreader shared extension for php
php5-xmlwriter-5.2.6 The xmlwriter shared extension for php
php5-zlib-5.2.6 The zlib shared extension for php

I've downloaded Joomla 1.5 from their site and installed it in my 
webroot, configured it with sample data and it works except for (so 
far) two links:


Whenever I click these, my browser wants to save a blank php-page, 
Apache reports this:


[notice] child pid 31685 exit signal Illegal instruction (4)

and my /var/log/messages state:

kernel: pid 31685 (httpd), uid 80: exited on signal 4

I've reinstalled all my ports with portupgrade -af (as suggested by a 
google search result), but still it keeps doing this. On my other 
machine (6.3, apache from ports, but php installed from source) Joomla 
runs flawlessly.


Anyone seen this (a solution would be nice :-) )?

Thanks in advance.

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


Re: DHCP server with no persistent storage

2008-05-15 Thread Peter Boosten

Quoting Luke Dean [EMAIL PROTECTED]:


Will the DHCP server be this trouble-free if I switch my whole
network to dynamic IPs?

When the DHCP server goes offline, then comes back online, what happens?



M0n0wall does it (http://m0n0.ch).  I run M0n0 on my 4801 (I'm not  
using any DHCP on it however), but it seems to work.


Maybe you'll find your answers at their site?

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


Re: [SSHd] Increasing wait time?

2008-05-10 Thread Peter Boosten

Christian Laursen wrote:


It is also worth taking a look at the ProxyCommand option.

For the case above something like this should be put in ~/.ssh/config:

Host your.own.host-tunneled
  HostKeyAlias your.own.host
  ProxyCommand ssh [EMAIL PROTECTED] nc your.own.host 22

The you can just do ssh your.own.host-tunneled and go through
your.friends.host transparently.



I forgot about this one: indeed a beauty ;-)

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


Re: [SSHd] Increasing wait time?

2008-05-08 Thread Peter Boosten

Vince Sabio wrote:

** At 07:33 +0200 on 05/08/2008, Peter Boosten wrote:

Vince Sabio wrote:

Note if you choose to do this: scp'ing files becomes a four-step 
process (i.e., scp file(s) to intermediate server, log in to 
intermediate server, scp to destination server, delete file(s) from 
intermediate server). Still worth it, though.


Never thought of port forwarding?


Sure, but that would still leave my machines vulnerable to script 
kiddies. 


Huh?!?

Peter

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


Re: [SSHd] Increasing wait time?

2008-05-08 Thread Peter Boosten



Valeriu Mutu wrote:

On Thu, May 08, 2008 at 07:33:13AM +0200, Peter Boosten wrote:

Vince Sabio wrote:
Note if you choose to do this: scp'ing files becomes a four-step process 
(i.e., scp file(s) to intermediate server, log in to intermediate server, 
scp to destination server, delete file(s) from intermediate server). Still 
worth it, though.

Never thought of port forwarding?

Peter


Exactly.

Following Peter's idea and assuming that public key authentication is setup, 
the tunnel could be setup as easy as:
ssh -f -L localhost::localhost: [EMAIL PROTECTED] ssh -f -L 
localhost::localhost:22 [EMAIL PROTECTED] sleep 120

In this case, we setup a tunnel through machineA to machineB.


No, I was more thinking of:

ssh -L :your.own.host:22 [EMAIL PROTECTED]

and then open a new shell:

scp -P  the-file-you-want-to-copy [EMAIL PROTECTED]:

This works easiest with agent forwarding, but I guess any authentication 
will do.


Peter

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


Re: [SSHd] Increasing wait time?

2008-05-07 Thread Peter Boosten

Vince Sabio wrote:


Note if you choose to do this: scp'ing files becomes a four-step process 
(i.e., scp file(s) to intermediate server, log in to intermediate 
server, scp to destination server, delete file(s) from intermediate 
server). Still worth it, though.


Never thought of port forwarding?

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


Re: [SSHd] Increasing wait time?

2008-05-06 Thread Peter Boosten



Beech Rintoul wrote:

On Tuesday 06 May 2008, David Kelly said:

On Tue, May 06, 2008 at 09:31:15AM -0800, Beech Rintoul wrote:

Is there a way to configure SSHd, so that the wait time between
login attempts increases after X failed tries?

Not that I know of. You should look into denyhosts (in the ports)
it works well and even has a RBL feature to block some of these
script kiddies proactively. Unfortunately, these attempts have
become a fact of life. I probably get 20 - 30 attempts a day
between my various servers.

Depending on how you use ssh from external systems you could add
firewall rules to disallow all but known sources.


I was doing that in the past, but I found it to be inflexable and 
sometimes a pain to deal with. I sometimes need to access a server 
from a new location and that kind of hard lockdown just isn't 
practical. The denyhosts solution works very well for me and the RBH 
feature blocks 9 out of 10 attempts outright. 



It's quite simple if you're using pf:

in your pf.conf:


table blacklist persist

block in quick on $ext_if proto tcp from blacklist to any\
port 22 label ssh bruteforce

pass in on $ext_if inet proto tcp from any to any port ssh flags S/SA \
keep state (max-src-conn 15, max-src-conn-rate 5/40, \
overload blacklist flush global)



What is does is to check whether more than 15 connections are made from 
the same IP address, or 5 within 40 seconds. If that happens the 
offending IP address is put in a dynamic list called blacklist and gets 
blocked.


Works like charm.

Another option is sshguard (/usr/ports/security/sshguard)

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


Re: living with freebsd

2008-05-05 Thread Peter Boosten

Quoting Zbigniew Szalbot [EMAIL PROTECTED]:


This got me interested. So basically for a server, you don't do any
upgrades unless there are security issues to solve or new features that
you need?

It seems to me that sometimes if you have waited with an upgrade for
too long, it is more difficult to upgrade than it would have been if
you had followed all small updates which appeared along the way...



I think you have to differentiate between updates and upgrades. I  
consider an upgrade moving from one release to another (say from 6.2  
to 6.3), while security patches are updates.


I always run updates, but I don't always follow upgrades. Recently I  
upgraded one older machine from 5.5 to 6.2 (en even more recent to 6.3).


Peter

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


Re: Variable arg function question

2008-05-04 Thread Peter Boosten

Unga wrote:

Hi all

I need to implement a variable argument function in C.
The number of args are not known but the type is
known, all are strings.

Unfortunately va_arg() [stdarg(3)] does not return
NULL or any other suitable value after processing the
arg list, it just simply crashes once the arg list is
exhausted.

It seems there is no way to know the number of args
inside the called function.


Why is it in your opinion so hard to count the number of arguments
*before* you call the function, in other words, what in your program
prevents this count?

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


webcam

2008-04-25 Thread Peter Toth
Hi guys,

Any recommendations for a particular webcam which works reasonably well
under FreeBSD? I've noticed some drivers in the ports tree (would like
to use it with Skype2).

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


Re: pw create home dir issue

2008-04-22 Thread Peter Boosten



Unga wrote:

Hi

I cannot get the pw to create a new user's home
directory. Here is what I used:

pw -V /etc useradd -n test \
-c Test User -b /home/ \
-G wheel,operator -m -M 0700 \
-k /etc/skel/ -s /usr/local/bin/bash

It creates the user without user's home directory.
Once home directory is created manually, the account
can be used. I don't have a /etc/pw.conf. I also used
-d /home/, but it still doesn't create the home
directory.



I use it without the slash:

adduser -d /home -q -s /usr/local/bin/rzsh

Works like charm

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


Re: pw create home dir issue

2008-04-22 Thread Peter Boosten


Unga wrote:

--- Peter Boosten [EMAIL PROTECTED] wrote:



Unga wrote:

Hi

I cannot get the pw to create a new user's home
directory. Here is what I used:

pw -V /etc useradd -n test \
-c Test User -b /home/ \
-G wheel,operator -m -M 0700 \
-k /etc/skel/ -s /usr/local/bin/bash

It creates the user without user's home directory.
Once home directory is created manually, the

account

can be used. I don't have a /etc/pw.conf. I also

used

-d /home/, but it still doesn't create the home
directory.


I use it without the slash:

adduser -d /home -q -s /usr/local/bin/rzsh

Works like charm



There is no keyword adduser to the pw(8) :)



Ah, yeah you're right: therefore I used the adduser command :-)

Apologies for the confusion.

Peter

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


When's FreeBSD going to catch up in the world of virtualization.

2008-04-21 Thread Peter Brezny
I'm a die hard FreeBSD user.

For the past 10 years (since version 2.8 was released) it's been in
production on all of my servers.

Now however, I'm forced to use linux as the host OS for Vmware as there
currently seems to be no current support for FreeBSD as the Host OS for
popular VM applications.

Is there hope for FreeBSD as a popularly supported virtual machine host, or
am I stuck in the multiple disappointments of linsux land.


Sincerely,

Peter Brezny
Purplecat Networks Inc.
www.purplecat.net 





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


RE: When's FreeBSD going to catch up in the world of virtualization.

2008-04-21 Thread Peter Brezny
Yeah, But Jail offers no real segmentation of resource utilization and
certainly no simple management interface to hand to customers.

At least not back in 2006 when I was using them on a 4.x system, where none
of the jails survived a simple upgrade (from like 4.9 to 4.10 or something I
don't remember).

A great tool for testing and such, but I just didn't find it could do what I
needed (real resource segmentation and control).

How's virtualbox coming along?  Does it have FreeBSD host support yet?
Anyone using it in production?



Sincerely,

Peter Brezny
Purplecat Networks Inc.
www.purplecat.net 




-Original Message-
From: xSAPPYx [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 21, 2008 1:47 PM
To: Peter Brezny
Subject: Re: When's FreeBSD going to catch up in the world of
virtualization.

Thats a loaded question. Some might say that Freebsd has been a leading in
virtualization ( jail(8) for example). Support for Zen Dom0 is coming along
nicely it seems. If you want VMware hosting support, not really sure what to
say there. VMware server is a linux kernel..
starting to get into the middle of linux land if you go down the VMware
route.

On Mon, Apr 21, 2008 at 9:35 AM, Peter Brezny [EMAIL PROTECTED] wrote:
 I'm a die hard FreeBSD user.

  For the past 10 years (since version 2.8 was released) it's been in  
 production on all of my servers.

  Now however, I'm forced to use linux as the host OS for Vmware as 
 there  currently seems to be no current support for FreeBSD as the 
 Host OS for  popular VM applications.

  Is there hope for FreeBSD as a popularly supported virtual machine 
 host, or  am I stuck in the multiple disappointments of linsux land.


  Sincerely,

  Peter Brezny
  Purplecat Networks Inc.
  www.purplecat.net





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


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


FreeBSD network problem.

2008-04-19 Thread Peter Ankerstål

I have such a strange problem I cant even guess whats worng.

Im running FreeBSD 7.0-RELEASE amd64 and zfs.

When the machine starts everything works fine but after a while (the  
only thing I noticed, when the free memory drops below 1700MB)
it starts to behave VERY strange when serving web-pages (running  
apache22). It has no problem serving html-pages but css and images
doesnt work. The http-log reports 200 OK and tcpdump shows the whole  
css-code sent out on the interface. But the browser/telnet just sits
there waiting for data. Sometimes we even get HTTP-requests inside the  
css-file from another machine to another server. (see picture)

http://jf.jail.se/tmp/css.png

When I reboot the machine everything works fine again but after a  
while this appears again. using lynx is no problem at all. or telnet and

GET / HTTP/1.1
Host: blabla

this gives the correct data, but GET /style.css HTTP/1.1 gives  
nothing, just waiting for data. Other protocols like ftp, ssh, smtp,  
imap seems to
work fine. And sometimes it seems like it works fine UNTIL you do  
shift+reload until that the sites works fine.


of course I figured that this must be a problem between the server and  
myself but since a reboot fixes the problem for a certain amout of time
that could (maybe) not be the case. I really need some ideas on this.. 
___

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


Re: ClamAV 0.93 on FreeBSD 4.11

2008-04-17 Thread Peter Boosten



Juergen Fiedler wrote:

Hello,

I am trying to install ClamAV 0.93 on a FreeBSD 4.11 (i386)
system. I have downloaded and untarred the port, but when I
try to install it, I get an error message indicating that
my gcc can't build executables.
The section of config.log that I believe to be relevant
looks like this:

/usr/libexec/elf/ld: cannot find -lpthread


You should either upgrade your FreeBSD or build ClamAV without pthread 
support (you won't get the daemon then). I don't think 4.11 supports 
pthreads.


Peter

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


Re: Xfce and shutting down...

2008-04-17 Thread Peter Harrison
Tuesday, 15 April 2008 at 22:53:55 +0100, Peter Harrison said:
 I upgraded my ports a week or so ago (after the Gnome 2.20 upgrade if that 
 helps).
 
 I'm running Xfce on both 7.0 and 6.3. Before the upgrade, I could use the 
 Xfce opanel shutdown button to poweroff the system (with the appropriate 
 entry in sudoers).
 
 Following the upgrade, I simply get returned to the login screen, with the 
 following message repeated twice in /var/log/messages:
 
 console-kit-daemon[839]: GLib-CRITICAL: g_hash_table_destroy: assertion 
 `hash_table != NULL' failed
 
 Can anyone shed any light on what's changed to prevent Xfce from being able 
 to shut the system down? (Note, I can still poweroff by su-ing to root and 
 running 'shutdown -p now').
 
 Can anyone shed any light?
 
 Thanks for your help.


Answering my own question, but for the sake of the archives...

It seems that xfsm-shutdown-helper no longer uses sudo to gain the necessary 
privileges to shut the system down - instead it uses hal  policykit.

Unfortunately this changeover doesn't seem to be documented anywhere - either 
for freebsd or xfce. However, give the user the appropriate permissions in 
/usr/local/etc/PolicyKit/PolicyKit.conf (see the man page for details) and it 
all starts working again.



Peter Harrison



 
 
 Peter Harrison.
 ___
 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: how to exec a process in a jail while being on the main host?

2008-04-16 Thread Peter
 For example, i have an already runing jail with some JID and i am logged
 in on the main host (which runs the jail).
 How can i run a new process inside the jail with a known JID w/o ssh-ing
 into that jail or doing a lot of strange
 manupulations?

 I am asking, because i have about 20 jails running and each has a
 running special control daemon which
 changes a lot and often. When change occures i need then to enter each
 jail as root, kill the old daemon, start the new one.
 This take a lot of time and is really annoying.


jls

jexec jid /program/to/exec

jexec 1 /bin/sh


 --
 Regards,
 Artem


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


Xfce and shutting down...

2008-04-15 Thread Peter Harrison
I upgraded my ports a week or so ago (after the Gnome 2.20 upgrade if that 
helps).

I'm running Xfce on both 7.0 and 6.3. Before the upgrade, I could use the Xfce 
opanel shutdown button to poweroff the system (with the appropriate entry in 
sudoers).

Following the upgrade, I simply get returned to the login screen, with the 
following message repeated twice in /var/log/messages:

console-kit-daemon[839]: GLib-CRITICAL: g_hash_table_destroy: assertion 
`hash_table != NULL' failed

Can anyone shed any light on what's changed to prevent Xfce from being able to 
shut the system down? (Note, I can still poweroff by su-ing to root and running 
'shutdown -p now').

Can anyone shed any light?

Thanks for your help.


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


Re: wlan driver for VIA USB card

2008-04-12 Thread Peter Boosten

[EMAIL PROTECTED] wrote:

I am looking for a driver for the VIA VNT6656G6A40 54 MBps Wireless USB
Module to run on FreeBSD 7.0 i386. This is a daughterboard built around the
VIA 6656 chipset. Two VIA drivers are listed in /boot/defaults/loader.conf
but they are for different chip sets.

http://www.via.com.tw/en/products/networking/wireless/vt6656/

http://www.logicsupply.com/products/vnt6656g6a40



Gary,

You can make one yourself if you have the Windows drivers. Have a look 
at ndisgen(8).


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


Re: ZFS-Pool is lost after reboot ( amd64 )

2008-04-11 Thread Peter Schuller
 If I run zpool import x1 it works. But as you say it should do it by its
 own. Maybe it whould be the best to open a bugreport ?

In addition to what has already been mentioned by Ivan Voras, make sure 
your /boot is not the subject to strangeness. Specifically, imported pools 
are kept track of in /boot/zfs/zpool.cache. If you somehow have multiple 
versions of your /boot, or it is read-only somehow, you may see problems like 
this.

(For example, if your real /boot during boot is different from the location 
actually at /boot once the system has mounted all filesystems, and ZFS is 
loaded at boot due to loader variable.)

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



signature.asc
Description: This is a digitally signed message part.


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-08 Thread Peter Harrison
Tuesday,  8 April 2008 at 15:41:04 +0200, Matthias Apitz said:
 El día Monday, April 07, 2008 a las 10:06:02PM +0100, Peter Harrison escribió:
 
   I have seen this before, if ( /devel/ ) gio-fam-backend needs a library 
   that 
   is outdated, it gives this sort of error.  I know when I had the issue, 
   it 
   was that it needs glib 2.16 and I had 2.14.  Thankfully it doesn't have 
   too 
   many dependancies so it isn't hard to check them all.
  
  
  Right, I'll start looking through the gio-fam-backend dependencies and 
  report back.
  Thanks for the quick response.
  
  Peter Harrison.
  
  
   
   Mark Moellering
 
 I've installed last weekend a 7.0R, did portsnap fetch/extract and fired
 up my script to run in BATCH mode through the ~200 ports I wanted have
 installed on the box; when I came back late night and was hoping all
 went fine, some of the ports failed as well with gio-fam-backend; it
 took me some time to go to /usr/ports/devel/glib20, deinstall and
 install it fresh which changed it from glib-2.14.2 to 2.16.x (don't know
 the x from the top of my head now); after this all was fine again;
 
 really, I did not understand how this was possible after portsnap
 fetch/extract on a real new system, just installed from boot CD;
 
   matthias


Seems to me there might have been a problem with the port.

I noticed that gio-fam-backend had been updated to 2.16.3, ran portsnap and it 
then installed without problem. No other intervention required. I'm running 
portupgrade -a again now with no problems so far.

Thanks all for the responses.


Peter Harrison.




 
 -- 
 Matthias Apitz
 Manager Technical Support - OCLC GmbH
 Gruenwalder Weg 28g - 82041 Oberhaching - Germany
 t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
 b http://gurucubano.blogspot.com/
 Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
 A: Because it messes up the order in which people normally read text.
 Q: Why is it such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on Usenet and in e-mail?
 ___
 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]


USB bluetooth problem...

2008-04-08 Thread Peter Harrison
I'm trying to get a no-name usb bluetooth dongle working without luck so far.

I'm reading through the handbook, so I've run:

# kldload ng_ubt

then I plug the dongle in, this is what I see in /var/log/messages:

Apr  8 20:23:23 laptop root: Unknown USB device: vendor 0x1131 product 0x1001 
bus uhub0
Apr  8 20:23:28 laptop kernel: ubt0: vendor 0x1131 ISSCBTA, class 224/1, rev 
1.10/3.73, addr 2 on uhub0
Apr  8 20:23:28 laptop kernel: ubt0: Interface 0 endpoints: interrupt=0x81, 
bulk-in=0x82, bulk-out=0x2
Apr  8 20:23:28 laptop kernel: ubt0: Interface 1 (alt.config 5) endpoints: 
isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294
Apr  8 20:23:29 laptop kernel: WARNING: attempt to net_add_domain(bluetooth) 
after domainfinalize()
Apr  8 20:23:29 laptop kernel: WARNING: attempt to net_add_domain(netgraph) 
after domainfinalize()
Apr  8 20:23:35 laptop kernel: ng_hci_process_command_timeout: ubt0hci - unable 
to complete HCI command OGF=0x3, OCF=0x3. Timeout
Apr  8 20:23:36 laptop root: /etc/rc.d/bluetooth: ERROR: Unable to setup 
Bluetooth stack for device ubt0
Apr  8 20:28:22 laptop root: rc.d/bluetooth: ERROR: Unsupported device: 

and I don't get a /dev/ubt0 so none of the other commands will work. I also 
don't have a /usr/share/examples/netgraph/bluetooth/rc.bluetooth as suggested, 
but I do have a /etc/rc.d/bluetooth which seems to attempt to start the stack.

This is on:

FreeBSD laptop.piggybox 7.0-STABLE FreeBSD 7.0-STABLE #4: Wed Apr  2 21:38:37 
BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Any thoughts? Thanks in advance,


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


Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread peter harrison
I'm having a problem running portupgrade -a. The original run was interrupted 
by a system crash. Now when I try to repeat it fails asking for pkgdb -fF to be 
run.

When I run this, I get stale dependencies on policykit, but when I say yes to 
install, the install of policykit fails on gio-fam-backend (not a port I had 
installed before the attempted upgrade).

Here's an extract from the build:


 -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -pthread 
-DG_LOG_DOMAIN=\GLib-GIO\ -I../.. -I../../glib -I../../gmodule -I../../gio 
-DG_DISABLE_CAST_CHECKS -DGIO_MODULE_DIR=\/usr/local/lib/gio/modules\ 
-DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall 
-MT libgiofam_la-gfamfilemonitor.lo -MD -MP -MF 
.deps/libgiofam_la-gfamfilemonitor.Tpo -c gfamfilemonitor.c -o 
libgiofam_la-gfamfilemonitor.o /dev/null 21
mv -f .deps/libgiofam_la-gfamfilemonitor.Tpo 
.deps/libgiofam_la-gfamfilemonitor.Plo
gmake: *** No rule to make target `../../gio/libgio-2.0.la', needed by 
`libgiofam.la'.  Stop.
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.72819.0 
env make
** Fix the problem and try again.
---  Skipping 'sysutils/policykit' because a requisite port 
'devel/gio-fam-backend' failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/gio-fam-backend (unknown build error)
* sysutils/policykit
Command failed [exit code 1]: /usr/local/sbin/portinstall sysutils/policykit

So now I'm stuck halfway through a portupgrade.

This is on 

FreeBSD desktop.piggybox 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #5: Wed Apr  2 
03:41:26 BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Can anyone offer a suggestion for how I fix this?

Thanks in advance.

Peter Harrison

__

Trillian did a little research in the ship's copy of 
THHGTTG. It had some advice to offer on drunkenness.
`Go to it,' it said, `and good luck.'
It was cross-referenced to the entry concerning the size of 
the Universe and ways of coping with that.

- One of the more preferable pieces of advice contained in the Guide. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick spamd question

2008-04-07 Thread Peter N. M. Hansteen
Brian Martinez [EMAIL PROTECTED] writes:

 check right now to verify), but once an entry gets listed WHITE, should 
 the GREY entry remain?  I seem to remember that the GREY entry expires 
 immediately after the second attempt (thereby making the tuple 
 whitelisted).

The GREY entry may live on for a while, but the existence of a WHITE
entry will ensure that the delivery will succeed on the next attempt.

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


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread Peter Harrison
Monday,  7 April 2008 at 16:35:06 -0400, Mark Moellering said:
 On Monday 07 April 2008 03:54:12 pm peter harrison wrote:
  I'm having a problem running portupgrade -a. The original run was
  interrupted by a system crash. Now when I try to repeat it fails asking for
  pkgdb -fF to be run.
 
  When I run this, I get stale dependencies on policykit, but when I say
  yes to install, the install of policykit fails on gio-fam-backend (not a
  port I had installed before the attempted upgrade).
 
  Here's an extract from the build:
 
 
   -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -pthread
  -DG_LOG_DOMAIN=\GLib-GIO\ -I../.. -I../../glib -I../../gmodule
  -I../../gio -DG_DISABLE_CAST_CHECKS
  -DGIO_MODULE_DIR=\/usr/local/lib/gio/modules\ -DGIO_COMPILATION
  -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall -MT
  libgiofam_la-gfamfilemonitor.lo -MD -MP -MF
  .deps/libgiofam_la-gfamfilemonitor.Tpo -c gfamfilemonitor.c -o
  libgiofam_la-gfamfilemonitor.o /dev/null 21 mv -f
  .deps/libgiofam_la-gfamfilemonitor.Tpo
  .deps/libgiofam_la-gfamfilemonitor.Plo gmake: *** No rule to make target
  `../../gio/libgio-2.0.la', needed by `libgiofam.la'.  Stop. *** Error code
  2
 
  Stop in /usr/ports/devel/gio-fam-backend.
  ** Command failed [exit code 1]: /usr/bin/script -qa
  /tmp/portinstall.72819.0 env make ** Fix the problem and try again.
  ---  Skipping 'sysutils/policykit' because a requisite port
  'devel/gio-fam-backend' failed (specify -k to force) ** Listing the failed
  packages (-:ignored / *:skipped / !:failed)
  ! devel/gio-fam-backend (unknown build error)
  * sysutils/policykit
  Command failed [exit code 1]: /usr/local/sbin/portinstall
  sysutils/policykit
 
  So now I'm stuck halfway through a portupgrade.
 
  This is on
 
  FreeBSD desktop.piggybox 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #5: Wed Apr 
  2 03:41:26 BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
  i386
 
  Can anyone offer a suggestion for how I fix this?
 
  Thanks in advance.
 
  Peter Harrison
 
 I have seen this before, if ( /devel/ ) gio-fam-backend needs a library that 
 is outdated, it gives this sort of error.  I know when I had the issue, it 
 was that it needs glib 2.16 and I had 2.14.  Thankfully it doesn't have too 
 many dependancies so it isn't hard to check them all.


Right, I'll start looking through the gio-fam-backend dependencies and report 
back.
Thanks for the quick response.

Peter Harrison.


 
 Mark Moellering
 ___
 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: Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread Peter Harrison
Monday,  7 April 2008 at 16:28:07 -0400, Forrest Aldrich said:
 I'm having the same type of problems when compiling scanlogd (just 
 posted a separate message about it).  I installed the binary *.tbz 
 package from freebsd.org, and that didn't quite work, there are other 
 dependencies it needs.   It's been a little frustrating.

I'm also having trouble using downloaded packages - but I think that's mostly 
because of different compiled in options to the defaults further up the 
dependency chain.
This is the first time I've had a problem with portupgrade where the solution 
didn't seem reasonably obvious.

Thanks for the response.

Peter Harrison.

 
 ___
 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: wpa_supplicant not starting with /etc/rc.d/netif

2008-04-04 Thread Peter Boosten

Oleg Dolgov wrote:
ifconfig_ral0=WPA DHCP 

ifconfig_ral0=DHCP WPA


Both worked for me, so that should not be the problem.
I've had my deal of issues with that ral driver though.

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


Re: Remote backups using ssh and dump

2008-04-04 Thread Peter Boosten



Paul Schmehl wrote:

Has anyone done this?

I'm presently using rsync over ssh, but I think dump would be better if 
it will work.  I've been reading the man page, but I'm wondering if 
anyone is doing this successfully and would like to share their cmdline.




I did this once: http://www.boosten.org/content/view/50/50/

But nowadays I prefer dirvish. That really works like charm.

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


Re: X.org 7.3 sure is a mess...

2008-03-24 Thread Peter Boosten

Scott Bennett wrote:

 On Wed, 19 Mar 2008 20:09:54 +0100 Peter Boosten [EMAIL PROTECTED]
wrote:
The only problem I'm having since 7.3 btw (I forgot about that, but just 
remembered) is everytime I start nethack-qt (either local or remote) X 
restarts, kicking me out of my session.



 Does it restart by itself?  Or simply crash on a signal 11?



It just restarted, I had to logon again, but it has already been solved: 
I removed all the 'Acceleration' stuff from the conf file. Apparently my 
hardware didn't like that.


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


Re: I'd like some help

2008-03-22 Thread Peter Schuller
 I've been learning about a bunch of the BSD OSes, and i want to try Free
 BSD, but i can't figure out how to download it and the instructions don't
 make sense. I am running Windows XP OS- can you tell me how to download
 Free BSD with it?

The easiest method is probably to download CD-ROM images as per instructions 
at:

   http://www.freebsd.org/where.html

More specifically for amd64 (if you have one of the newer 64 bit computers) 
you have:

   ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/7.0/

Or for i386 (older 32 bit):

   ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.0/

DIsc 1 
(ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/7.0/7.0-RELEASE-amd64-disc1.iso
 
and 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.0/7.0-RELEASE-i386-disc1.iso
 
respectively) are enough to install the operating system directly from CD.

For actually burning the images onto a physical CD, you would have to use 
whichever CD burning software you have in Windows XP.

Make sure you consult the FreeBSD handbook in relation to installation and 
aftewards:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

I don't know if this made any more sense than what you have already read. If 
things are unclear, please clarify what part you are having trouble will!

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



signature.asc
Description: This is a digitally signed message part.


Re: i have questions

2008-03-21 Thread Peter Boosten

Ko Htoo wrote:

Are you crazy ?
you are bastard
.!$%$#@@[EMAIL PROTECTED][EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED][EMAIL PROTECTED]@%#^%#%


dump is the command to backup. If not sure, please ask, instead of 
flaming a guy for his good advice!


Peter

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


Re: some problems after upgrading to 7.0-RELEASE

2008-03-20 Thread Peter Boosten



Novembre wrote:


Anyhow, smbd was looking for libgnutls.so.13 which I don't have, but I
do have a libgnutls.so.26 and libgnutls.so in /usr/local/lib/ (the
latter is a symlink to the former). Also, libgnutls.so.15 exists in
/usr/local/lib/compat/pkg/. So what I did was creating a symlink to
libgnutls.so.26 and called it libgnutls.so.13, and after rebooting,
smbd starts just fine. I don't know whether I'm allowed to do such a
thing or not, but since I didn't get any error message while upgrading
samba, I don't know what could have gone wrong...

Any ideas? :)



You probably missed this one (from UPDATING):

20080303:
  AFFECTS: users of security/gnutls and any port that depends on it
  AUTHOR: [EMAIL PROTECTED]

  gnutls has been updated to 2.2.2 and all shared libraries' versions
  have been bumped. So you need to rebuild all applications that
  depend on gnutls. Do something like:

portupgrade -rf gnutls

Peter

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


Re: some problems after upgrading to 7.0-RELEASE

2008-03-20 Thread Peter Boosten



Novembre wrote:


I've read UPDATING before doing anything, but I assumed that 
portupgrade -faP  also covers that part about gnutls as well. Isn't
it true? Unless portupgrade did upgrade samba first and then gnutls,
which means it's not smart enough!

Am I wrong?


Probably not :-)
In my experience portupgrade -fa isn't always that smart.

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


Re: Gcc and make not producing executable

2008-03-19 Thread Peter Boosten

Eduardo Cerejo wrote:

Objective is to create a makefile which will create an executable named main.  
The books has this code in the Makefile:

CC=gcc
CFLAGS=-Wall
main: main.o hello_fn.o

clean:
rm -f main main.o hello_fn.o

The book says this should create two object files named main.o and hello_fn.o plus an executable named main.  


gmake does the trick.

Otherwise your Makefile should look like this:

begin Makefile
main: main.o hello_fn.o
gcc main.o hello_fn.o -o main

main.o: main.c
gcc -c main.c

hello_fn.o: hello_fn.c
gcc -c hello_fn.c


clean:
rm -f main *.o

end Makefile

Or easier:

begin Makefile
CC=gcc

main: main.o hello_fn.o
$(CC) main.o hello_fn.o -o main

.c.o:
$(CC) $(CFLAGS) -c $


clean:
rm -f main *.o
end Makefile

Peter


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


Re: X.org 7.3 sure is a mess...

2008-03-19 Thread Peter Boosten

Mark Ovens wrote:


The other thing I've noticed is, on my box at least, that the problem 
always starts when I move the mouse (not every time of course) so could 
it be Xorg 7.3 not playing nicely with the mouse driver - or the USB 
driver since my mouse is a USB one? Which may explain why some people 
see the problem and others don't?


My mouse is on USB, still no problems.



This is really becoming a big PITA.



So I wonder how we can help the port maintainer to fix the issue. Maybe 
it's an idea to collect some data on installed ports (including 
versions), used hardware and whether or not one has problems?


The only problem I'm having since 7.3 btw (I forgot about that, but just 
remembered) is everytime I start nethack-qt (either local or remote) X 
restarts, kicking me out of my session.


Peter

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


Re: Gcc and make not producing executable

2008-03-19 Thread Peter Boosten



Eduardo Cerejo wrote:

On Linux systems, there is no base system 'make', so GNU make is
installed as 'make'. On FreeBSD systems, there is a base system make
that is maintained by the FreeBSD project, so GNU make is installed as
'gmake'. The main differences in making with them is that GNU make and
FreeBSD make accept different arguments, and their makefile syntaxes
have discrepancies.


What kind of documentation is available on FreeBSD's make, other than the man 
page?  I was browsing through /usr/share/doc/ but I didn't see anything related 
to make.  I saw pmake but not make.


From the make man page:

 PMake - A Tutorial.  in /usr/share/doc/psd/12.make

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


Re: Urgent: filesystem full, though space is available

2008-03-18 Thread Peter Toth
Matthew Seaman wrote:
 David Kelly wrote:
 On Mon, Mar 17, 2008 at 06:11:47PM +0100, Erwan David wrote:
 I use lsof to get the list of removed files still open (lsof +L1,
 useful after a port upgrade to check wether all upgraded daemons
 indeed restarted). It seems it's not possible with fstat.

 ... which is exactly what Jennifer needs at this moment (if she has room
 to install lsof). She has removed files yet not freed space and needs a
 tool to figure out who/what has these files open.

 fstat(1).  It comes with the system.

 Cheers,

 Matthew
Don't forget to check out all the snapshot files as well, I've had a
similar issue and after deleting the snapshots the disk space was back
in normal.

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


Re: X.org 7.3 sure is a mess...

2008-03-18 Thread Peter Boosten



Scott Bennett wrote:

 Now that I've upgraded to X.org 7.3, I'm wishing that I hadn't done it.
Firefox hangs the server, using lots of CPU time, and the only way to get
the screen, keyboard, and mouse access again is to power the machine down and
up again, and then reboot.  The xscreensaver modules mostly display nicely in
the little window in the xscreensaver preferences panel, but about half of
them when run in full-screen mode immediately crash the X server on a signal
11.  PuTTY (installed from a port) is missing its terminal fonts, so I'm
stuck using ssh(1) inside an xterm.
 I'm still discovering more and more broken stuff in 7.3 each day.  It's
only partially usable.  How did this release ever make it out the door?  What
a mess.  I suppose I can restore from the backups to get back to 6.9, though,
but what a drag.  All that mucking around to get through the upgrade, and for
this??  Pardon my frustration, please.



Looks like you're having a problem with your window manager, instead of 
Xorg.


Mine (with enlightenment-devel) works like charm. None of the issues you 
describe anyway.


Peter

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


Re: X.org 7.3 sure is a mess...

2008-03-18 Thread Peter Boosten



Norberto Meijome wrote:

On Tue, 18 Mar 2008 11:19:19 +0100
Peter Boosten [EMAIL PROTECTED] wrote:

Looks like you're having a problem with your window manager, instead of 
Xorg.


Mine (with enlightenment-devel) works like charm. None of the issues you 
describe anyway.


indeed - i've jumped onto 7.3 as soon as it hit the ports tree. I'm using XFCE 
4, on a relatively slow single cpu laptop and it just works as great as ever 
(quite well :P ).

what cpu / wm are you using? what were you using before the upgrade ?


Are you asking me?

I'm on a very old laptop, a Toshiba Satellite Pro 4300 (I think), 500Mhz 
Celeron. I tried a myriad different wm's, but none of them really were 
what I was searching for (but they worked all). I didn't try KDE/Gnome, 
because my old laptop would not be able to handle them, and have 
functionality I'm not looking for.


While enlightenment-devel still has its bugs (for instance 'lock screen' 
really does, it won't accept any password as valid - but it doesn't 
hang) it's fast, small, cool :-)


Peter

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


Re: X.org 7.3 sure is a mess...

2008-03-18 Thread Peter Boosten

Ken Gunderson wrote:

[snip]
Looks like you're having a problem with your window manager, instead of 
Xorg.


Mine (with enlightenment-devel) works like charm. None of the issues
you describe anyway.

Peter


So how would you explain that I am seeing same type of behaviors in
straight startx with default twm, i.e. bundled Xorg wm?



Dunno. But the troubles cannot originate from the xorg ports, or 
everyone would see the same behaviour, right?


Maybe some other port, or hardware (maybe your video card? - just 
guessing), or the driver for that particular piece of hardware.


Peter

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


Re: FW: VMWare Tools for FreeBSD

2008-03-17 Thread Peter Boosten


Terry Sposato wrote:


Ted / Jeff,

Could you please let me know where to download these free vm tools. The 
only description at google I can find is that of the actual VMWare Tools 
by VMWare. If you point me to a download link that would be great!




Although my name isn't Ted or Jeff I will post the link :-)

This is from a discussion last week:

http://open-vm-tools.sourceforge.net/

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


Re: FW: VMWare Tools for FreeBSD

2008-03-17 Thread Peter Boosten

Gelsema, P (Patrick) - FreeBSD wrote:

On Tue, March 18, 2008 11:40, Peter Boosten wrote:


http://open-vm-tools.sourceforge.net/



Just to confirm. This one runs on RELENG_7_0?


quote
Kernel modules for FreeBSD, including an experimental port of HGFS to 
FreeBSD.

/quote


It allows dymanic memory management by the VM Ware host?


 It also allows the VMWare host to gracefully shutdown the Freebsd guest?


quote
The following components have been released as OSS:

* Drivers for devices and filesystems access
* Memory ballooning
* Shared folders
* Drag and Drop, Text and File Copy/Paste
* Clipboard sharing
* Disk wiping and shrinking
* Time synchronization
* Automatic guest screen resolution resizing
* GuestInfo (provides statistics about guest environment)
* Guest SDK (provides information about the VM)
* Soft power operations
* Multiple monitor support
* GTK Toolbox UI
/quote

Peter

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


Java based Content Management Systems on FreeBSD?

2008-03-16 Thread Peter Ulrich Kruppa

Hi,

surfing the internet I a page describing some fancy Java 
based CMS's:


http://java-source.net/open-source/content-managment-systems

Does anyone have any experience with them on FreeBSD, do they 
work?


(Please no flames about the advantages of PHP or Python, I am 
just looking for a starting point for some testing :) )


Greetings,

Uli.

-
Peter Ulrich Kruppa
Wuppertal
Germany
___
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 FreeBSD

2008-03-16 Thread Peter Boosten


Ted Mittelstaedt wrote:

Are you asking if FreeBSD can be made to run the ESX software so that
a FreeBSD server can virtualize multiple systems, or are you asking
if an ESX server can create a virtual machine that FreeBSD can run in?

If your using the commercial ESX product I would assume you would be
using it on it's own bare metal product incarnation which I think
uses a hacked-up version of Linux (without a compiler or any other
normal Linux tools).  In that case I do not see why you would have
a problem running multiple FreeBSD virtual servers on the ESX
server.



That's not what OP is asking. He wants to run FreeBSD as VM in ESX.
There's currently no support from VMWare for FreeBSD, but it runs anyway.

Peter

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


RE: Java based Content Management Systems on FreeBSD?

2008-03-16 Thread Peter Ulrich Kruppa

On Sat, 15 Mar 2008, Ted Mittelstaedt wrote:





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter Ulrich
Kruppa
Sent: Saturday, March 15, 2008 11:05 PM
To: freebsd-questions@freebsd.org
Subject: Java based Content Management Systems on FreeBSD?


Hi,

surfing the internet I a page describing some fancy Java
based CMS's:

http://java-source.net/open-source/content-managment-systems

Does anyone have any experience with them on FreeBSD, do they
work?


Java is write-once, run anywhere.  As long as they run under the
JDK that has been ported to FreeBSD then there's no problems.

I know this is so because Sun Microsystems says so in their
literature about Java.  Sun says that a language that can only
run on 1 specific platform is no good, that is the entire point
of why they wrote Java, according to Sun.

I see - you mean I should test myself:

Jahia for example installs and works like a charm with 
diablo-jdk1.5.0 , but the drag-'n-drop and copy-'n-paste features 
- I would like to see - are commercial.


I think I will try another one.

Thanks for your help.

Uli.

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


Re: FreeBSD bind performance in FreeBSD 7

2008-03-10 Thread Peter Schuller
 The people complaining about hardware compatibility need
 to pull their heads out.  If they are buying brand new systems
 they are utter fools if they don't check out in advance
 what works and what doesen't.  It's not like there's a
 shortage of experienced people on this list who could
 tell them what to buy.  And if after the fact they find out
 their shiny new PC won't run FreeBSD - then they take it
 back to the retailer and exchange it for a different model.
 Why is this so difficult?

The difficulty is not in checking out hardware before hand, the problem is 
FINDING hardware that satisfies your requirements. Just because I know that 
NIC so-and-so is recommended, it does not mean that I can find a complete 
server that:

* Is within the budget.
* Whose NIC is recommended for use in FreeBSD.
* Whose disk/raid controller is recommended for use in FreeBSD
  - Including proper handling of write caching, cache flushing, etc
* Is being sold in a fashion that is acceptable with respect to hardware 
support / replacement parts.
* Otherwise is known to work with well FreeBSD.

If you are a large company buying 200 servers I'm sure it's not a problem to 
get sample servers to try things on, or go for more expensive options just 
because of perceived FreeBSD compatibility. 

If you're a poor sod trying to get *one* machine for personal or small-company 
use and you want something that works and is stable, especially if you want 
it rack mountable, it is NOT necessarily trivial. Part of it is the problem 
of finding a solution that meets the requirements, and parts of it is about 
figuring out whether a particular solution DOES meet the requirements.

For example, once your cheaper Dell server has arrived and you suddenly notice 
that it's delivered without a BBU, and clearly has write caching turned on 
based on performance, try asking (remember, this is a lonely customer with a 
single service) Dell hardware support whether that particular controller will 
honor cache flush requests right down to the constituent drives... I did, and 
eventually got a response after 1-2 weeks. But the response was such that I 
could not feel confident that the question was accurately forwarded to the 
right individual.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



signature.asc
Description: This is a digitally signed message part.


Sophos Puremessage

2008-03-08 Thread Peter Toth
Anyone is running Sophos Puremessage out there on FreeBSD 6.3 or 7.0?
Sophos has official support for 6.2 and just wondering if it's worth to
risk 6.3 or 7.0 for a big production box.

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


Support for multiple VTs simultanously displayed (was: how to design a tablet driver?)

2008-03-06 Thread Peter Ross
As said off-list, sorry for hijacking a thread. This was not my intention.

I move it from -current to -questions and hope that it suits everyone.

On Wed, 5 Mar 2008, Chuck Robey wrote:
 
 Peter Ross wrote:

  I tried to find out whether FreeBSD's 
  infrastructure does not support displaying of more than one VTs at the 
  time, as someone claimed. I would like to configure my laptop to use the 
  small internal monitor as a text console while the external monitor is 
  serving X.
  
 BTW, in fact, you can rather easily get multiple monitors to work with Any
 system using X11, and that happens to include FreeBSD?

I do not deny that X11 is able to support multiple monitors.

The question I had is different, and it is not a X11 question, I believe.

A text console on the internal screen and a X output on the external.. two 
different VTs displayed at the same time using the same graphics card.

In a normal multiple monitor setup the XServer controls both outputs.

I had a discussion with a KGI (Kernel Graphics Interface) developer, with 
Linux experience, now porting KGI to Hurd. He said that Linux does not 
have the kernel infrastructure to support the display of two virtual 
terminals at the same time.

He doubted that FreeBSD has, so I try to find out.

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


RE: Printing with a laserjet 1018

2008-03-05 Thread Peter


First of all, thanks to those who have helped me so far.
I have configured the printer and everything looks OK, but when I do a test
print the test page goes into the printer queue and stays there for ever.
The printer doesn't even squeak. First I had to use the print driver for a
laserjet 1010 as I couldn't kind a driver for the 1018. Second the printer
does work under the alternate OS.

Any ideas?

Thank you,

Bob

Here is my config for the HP1018:
dsl:#pkg_info| egrep cups|ghost|foo
cups-base-1.3.4_1   Common UNIX Printing System
cups-pstoraster-8.15.4_1 Postscript interpreter for CUPS printing to
non-PS printers
foo2zjs-20070120_1  Driver for printers that use the ZjStream wire protocol
foomatic-db-20070124_1 Foomatic database
foomatic-filters-3.0.2_4 Foomatic wrapper scripts
ghostscript-gpl-8.60 GPL Postscript interpreter


dsl:$cat /root/bin/printer.sh
#!/bin/sh
export
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin

cat /usr/local/share/foo2zjs/firmware/sihp1018.dl  /dev/ugen0.1

you might need to change your 'ugen0.1' to whatever USB port your printer
is plugged into.  Before you can use the printer, you have to do that
above 'cat' command to load firmware.

make sure regular users can use the printer: [chmod 666]
dsl:#ls -l /dev/ugen0.1
crw-rw-rw-  1 root  operator0,  40 Mar  4 23:32 /dev/ugen0.1

and
via the cups web interface [localhost:631] just configure a new printer
and choose the HP foo drivers,etc.etc.  It just works.
When you do the 'cat' command for firmware, the printer should make some
noise and moving around.  After that I'm able to print from
konqueror/kprinter/firefox/etc.etc.

dsl:#cat /usr/local/etc/cups/printers.conf
# Printer configuration file for CUPS v1.3.4
# Written by cupsd on 2008-02-27 18:44
Printer HP1018
Info HP LaserJet 1018
Location 1018
DeviceURI usb:/dev/ugen0.1
State Idle
StateTime 1204163073
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
AllowUser root
AllowUser peter
AllowUser Sanyusha
OpPolicy default
ErrorPolicy stop-printer
/Printer

]Peter[

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


Re: FreeBSD bind performance in FreeBSD 7

2008-03-03 Thread Peter Losher

Ted Mittelstaedt wrote:


My beef with the DNS tests was that ISC ran out and bought
the hardware FIRST, -then- they started testing.  This is
directly contrary to every bit of advice ever given in
the computer industry for the last 50 years - you select
the software FIRST, -then- you buy the hardware that runs it.
In short, it said far more about the incompetence of the
testers than the shortcomings of the software.


This is ridiculous.  ISC is one of the most fervent pro-FreeBSD 
companies out there (basing most of our services on the OS, and 
contributing to the FreeBSD community including the busiest CVSup  FTP 
servers and have FreeBSD committers on staff)  I will not stand back and 
watch folks on a public mailing list call us incompetent individuals 
with a anti-FreeBSD bias.


First off the final report was published last Friday at:
http://www.isc.org/pubs/tn/index.pl?tn=isc-tn-2008-1.html
(the server this is served from runs FreeBSD)

I was not one of the direct testers (we had a couple PhD's handling 
that, who I know both use FreeBSD on their personal systems), but as one 
of the folks who supported them in their work, I can tell you that the 
stats we gave the FreeBSD folks were from a test sponsored by the US 
National Science Foundation.  We were mandated to use branded HW and we 
tested several models from HP, Sun, even Iron Systems (whitebox) before 
deciding on the HP's.  The mechanism we used are all documented in the 
paper We were also asked to test DNS performance on several OS's.


The short version was 'take a standard commercial off the shelf' server 
and see how BIND performs (esp. with DNSSEC) on it.  We weren't asked to 
get hardware that was perfect for Brand X OS; that wasn't part of the remit.


(We actually use the exact same HP HW for a secondary service where we 
host a couple of thousand zones using BIND including 30+ TLD zones.  Oh 
and it runs FreeBSD)


Yes we found FreeBSD performed poorly in our initial tests. and I talked 
to several folks (including rwatson and kris) about the issue.  Kris had 
already been working on improving performance with MySQL and PgSQL and 
was interested in doing the same with BIND.  Kris went off and hacked 
away and right before EuroBSDcon last September asked us to re-run the 
tests (on the same HW) using a 7.0-CURRENT snapshot, and the end results 
are shown with a 33,000 query increase over 6.2-RELEASE, bring FreeBSD 
just behind the Linux distros we tested.  I know rwatson and kris have 
continually worked on the relevent network stack issues that cover BIND, 
and additional performance gains have been found since then, and working 
on this issue has been a true partnership between the FreeBSD developers 
and ISC.


BIND isn't perfect, we admit that, we have been constantly improving 
it's multi-CPU performance and BIND 9.4 and 9.5 are continuing in that 
effort.  We have several members of our dev team who use FreeBSD as 
their developent platform, including a FreeBSD committer.


So Ted, stop spouting this ISC is spewing anti-FreeBSD bias crap, it 
flatly isn't true...


Oh, and this email is coming to you via several of ISC FreeBSD MX 
servers which resolve the freebsd.org name via caching DNS servers 
running FreeBSD, to freebsd.org's MX server over a IPv6 tunnel supplied 
by ISC to the FreeBSD project to help FreeBSD eat their own IPv6 dog food...


Yeah, ISC just hates FreeBSD... rolls eyes

Best Wishes - Peter
--
[EMAIL PROTECTED] | ISC | OpenPGP 0xE8048D08 | The bits must flow



signature.asc
Description: OpenPGP digital signature


Re: dependencies in portmaster

2008-03-01 Thread Peter Clark


 I am trying to figure out what-all would happen if I were to install
 a particular port.  IOW I want to do something like

   # portmaster {some set of options} name-of-port

 and have it report something along the lines of

   name-of-port vn #.## requires:
 port  status
   --
 dependency-1  OK
 dependency-2  need vn 2.22, current 1.05
 dependency-3  not installed
 ...

   dependency-2 vn 2.22 requires:
 port  status
   --
 dependency-4  OK
 dependency-5  need vn 5.03, current 4.57
 ...

   dependency-3 vn #.## requires:
 port  status
   --
 dependency-6  not installed

   ...

 I do not want it to actually build or install anything.

 If I am understanding the portmaster manpage correctly this is close
 to what -n would do, but I don't even want it to do 'make config' --
 I just want a report of what would have to be added or upgraded in
 order to install the port in question.  (I imagine portmaster has
 to already be collecting this sort of information internally, the
 question is how to get it reported externally.)

 BTW I am looking for a solution that does not involve portupgrade,
 because I do not have portupgrade installed and before attempting
 to install it I would want to see this sort of report regarding it.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


If you truly are just looking at the dependency list and do not wish to
have make do anything, wouldn't this do the trick:

http://portsmon.freebsd.org/portdependencytree.py

I guess you would need to have an up to date ports tree for this to be
accurate.


Peter



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


Re: tape splitter

2008-02-22 Thread Peter Giessel
On Friday, February 22, 2008, at 02:07PM, Derek Ragona [EMAIL PROTECTED] 
wrote:
At 01:23 PM 2/22/2008, Wojciech Puchar wrote:
anybody know program to split data (from stdin) on tapes like that

something|splittotapes /dev/sa0

and then

concattapes /dev/sa0 |something


i know dump do this, but i need other thing to be written to more than 1 tape.

Well sonny in the old days we would create a volume with tar or cpio, then 
uuencode it, then run it through split. 

I believe gtar
( /usr/ports/archivers/gtar   if I recall correctly)
can do this directly.

See the manual for more details:

http://www.gnu.org/software/tar/manual/tar.html#SEC153
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


POP3 recommendations...

2008-02-21 Thread Peter Harrison
I've not run a POP3 server before, but now I'm getting tired of confusing 
myself pulling my email down from my ISP across my laptop, desktop, and home 
server. Could someone recommend a solution for me?

The situation is that I have a home server (running NFS, Samba, FTP, Apache, 
Mysql), plus a desktop and laptop (which generally gets used just around the 
house). The desktop and laptop both run fetchmail to collect my email from my 
ISP - but obviously this means some of my email ends up on the laptop, and some 
on the desktop.

I'm after something like using fetchmail on the server to collect the mail, 
then probably sort it with procmail before making it available to my home 
network. The aim is for the mail to remain on the home server - Ie. In one 
central location on my network.

Any recommendations for a POP3 server that would fit into a home network and 
make this easy to understand for the newbie?

Thanks for your help.


Peter Harrison

Peter, Deb, Jessica,  Alex
Visit us online at www.4harrisons.blogspot.com

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


Re: Computers that us FreeBSD. HELP!!!!!!!

2008-02-19 Thread Peter Clark

Ryan Jenkins wrote:

Hello,
 
I currently have a Computer System that is based off the FreeBSD Operating

System and I am trying to find a new supplier of hardware.  Right now I am
having a hard time finding a Computer Manufacture that can make a system
that uses FreeBSD.  I currently have found a product from MPC or
Micron/Gateway that creates systems with no Operating System, but my
programmers are having a hard time with getting the software loaded on the
system.  Can you please help me find a supplier that builds Desktop or
All-in-One computers that will operate FreeBSD.
 
 


  Ryan Jenkins
  
  P.O. Box 21138

  P:  406 896-9900
  F:  406 896-0045
  C:  406 208-8193
  Email:
[EMAIL PROTECTED]

 



I have had very good experiences with FreeBSD Systems (now called 
freedomtc).


http://www.freedomtc.com/


Peter

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


RE: PHP cli segfaults

2008-02-19 Thread Peter
 Drew Sanford wrote:
 | Command line programs for php seem to segfault on a 7.0RC1 box (yes, I
 | know, I should update to RC2) - for example:
 |
 | [EMAIL PROTECTED](~/bin)$ php -v
 | PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb  9 2008 13:03:20)
 | Copyright (c) 1997-2007 The PHP Group
 | Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
 | zsh: segmentation fault (core dumped)  php -v
 |
 | Any pointers? Just update and see if that fixes it? Thanks in advance.
 |
 |
 | uname output:
 | FreeBSD colossus.cotharyus.net 7.0-RC1 FreeBSD 7.0-RC1 #0: Sat Feb  9
 | 11:43:37 CST 2008


  Getting same thing, fresh install of 7.0 [cvsupped to rc2?], latest or
not latest portsnap, I found it was the 'mhash.so' extension that was
causing php to segfault - did portsnap update, and rebuilt all php
stuff, still does same thing - have not tried it for last several weeks,
so could be fixed by now...I did cvsup to latest sources...
my emails were subjected apache coredump with 'mhash' php extension
enabled - with mhash disabled, php works fine now.  Will try and
buildworld/reinstall php with the latest 7 sometime soon.

]Peter[

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


mysql client

2008-02-16 Thread Peter Boosten

Hi all,

Just after upgrading the mysql client to mysql-client-5.1.23 on 6.3, it 
seems that it's completely ignoring ~/.my.cnf.


Anyone else has this problem?

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


disk error

2008-02-16 Thread Peter Boosten

Hi all,

Just found these messages in my logfile. Is it something to worry about?
I've never seen them before upgrading to 6.3.

ra kernel: ad0: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=281550271
ra kernel: ad0: FAILURE - READ_DMA48 status=51READY,DSC,ERROR 
error=4ABORTED LBA=281550271
ra kernel: g_vfs_done():ad0s1f[READ(offset=138248126464, 
length=16384)]error = 5

ra kernel: handle_workitem_freeblocks: block count
ra kernel: handle_workitem_freeblks: got error 5 while accessing filesystem

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


Re: disk error

2008-02-16 Thread Peter Boosten

Brian A. Seklecki wrote:

On Sat, 2008-02-16 at 17:59 +0100, Peter Boosten wrote:

Hi all,

Just found these messages in my logfile. Is it something to worry about?
I've never seen them before upgrading to 6.3.

ra kernel: ad0: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=281550271
ra kernel: ad0: FAILURE - READ_DMA48 status=51READY,DSC,ERROR 
error=4ABORTED LBA=281550271


Yea -- normally that means a bad sector(*), and where there's one,
there's bound to be more.  Failed drive eventually.

I would pull this server from rotation and run a full surface sector
scan on it (download an ISO of Hiran's Boot CD)



Brian, thanks for your answer (and sugggestion).

Isn't a drive supposed to mark a bad sector as bad and ignore it (that 
is: not use it anymore)?


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


Re: Security Patches and Reboots

2008-02-15 Thread Peter Boosten

Chris Maness wrote:
If I do a security update via freebsd-update, and it contains kernel 
related binary patches.  I am assuming I need to reboot.  Is this correct?




Correct!

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


Build part of a port.

2008-02-12 Thread Peter Clark

Hello,

I am building a 7.0-RC1 FreeBSD LDAP server. I have installed OpenLDAP 
from ports and now want to move on to the wed front end. I am using 
Litespeed as the webserver (built from source), PHP-5 (built from source 
and customized) and would like to install phpldapadmin. There is a port 
for it but the port (and some of it's dependencies) will try to install 
the php5 port and the apache port. Is there a way to install 
phpldapadmin from ports while telling it (and it's dependencies) I have 
php5 already installed and not to install apache?




Thank you,
Peter

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


Error in the handbook

2008-02-11 Thread Peter Rosa

Hi,

there is an error in the handbook, section 28.6.5.7 An Example NAT and 
Stateful Ruleset.


On the bottom are two examples, 1st with command:
$cmd 420 allow tcp from any to me 80 in via $pif setup limit src-addr 1

and second with command
$cmd 370 allow tcp from any to me 80 in via $pif setup limit src-addr 2

Both commands should look  in via $pif setup keep-state limit 

Or am I wrong?


Best regards,

--

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


Error in the Handbook

2008-02-11 Thread Peter Rosa

Hi,

there is an error in the handbook, section 28.6.5.7 An Example NAT and 
Stateful Ruleset.


On the bottom are two examples, 1st with command:
$cmd 420 allow tcp from any to me 80 in via $pif setup limit src-addr 1

and second with command
$cmd 370 allow tcp from any to me 80 in via $pif setup limit src-addr 2

Both commands should look  in via $pif setup keep-state limit 

Or am I wrong?


Best regards,

--

Peter Rosa

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


how to debug crashing X-app

2008-02-10 Thread Peter Boosten

Hi all,

I'm having trouble with my local X server, I think:

If I start nethack(-qt), it throws me out of my X session, right back to 
 the xdm login prompt. If I start nethack from another machine (on the 
same X server) the same happens. If I use another X server, for instance 
xming (on Windows), nethack runs normally, so I think it's (some part 
of) X server.


But which part could that be? How can I analyse what exactly is going on?

The Xorg.0.log.old shows these messages on the end, but googling shows 
nothing meaningful.


Fatal server error:
Caught signal 11.  Server aborting

(==) VESA(0): Write-combining range (0x0,0x1000) was already clear
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear

TIA

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


Re: libicui18n.so.36 not found, required by evolution

2008-02-09 Thread Peter Boosten

Quoting E. J. Cerejo [EMAIL PROTECTED]:


Running FBSD 6.3 and after updating the ports where icu was one of the
ports to be updated I'm getting the libexec/ld-elf.so.1: Shared object
libicui18n.so.36 not found, required by evolution error, I can see
that the new version of icu installed libicui18n.so.38.  Is there a
better way to fix this or should I just symlink libicui18n.so.38 to
libicui18n.so.36?


Rebuild evolution. I did the same with tin.

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


Re: Clock stabilization in VMWare hosted machines?

2008-02-09 Thread Peter Boosten

Quoting Shawn Barnhart [EMAIL PROTECTED]:



When you installed the tools, did they require X to be operational?
I'm not planning on running X.


Neither am I, so no X here.

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


Re: Clock stabilization in VMWare hosted machines?

2008-02-09 Thread Peter Boosten

Quoting Shawn Barnhart [EMAIL PROTECTED]:


I know this is a major nuisance, but I can't remember how I dealt with
it in the past.  My most recent stab at using ntpd with minpoll 4
polling of a local ntp time source isn't working, the clock drift
prevents any sync from happening (but I'll admit not trying some of the
more aggressive time adjustment options to ntpd).

VMWare's documentation and support leans pretty heavily toward Linux
and I'm not finding a decent recommendation from them.

I rebuilding a kernel with options HZ=100 to see if that makes a
difference, not sure why I remember that helping, but any other
strategies known to work?



In my /boot/loader.conf:

kern.hz=100

In the vmx-file:
tools.synctime = TRUE

I installed the vmware tools and ntpd

That's about all.

ntpdate -d 192.168.23.15:

 9 Feb 20:26:47 ntpdate[45172]: adjust time server 192.168.23.15  
offset 0.057667 sec


Cheers,

Peter

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


Re: A non FreeBSD question.

2008-02-07 Thread Peter Boosten

अनुज Anuj Singh wrote:

Hi,
It may start flame, Next lines may seem funny but I want to see what
people think say, sorry i am posting here, just to get an idea. Cause
i am also one of the open source user/lover and my most of the time
goes with computers over freebsd/linux.

If someone is away from his cell for around an hour, thus not picking
the phone, and his colleagues does not knows where is he as he has not
to give reporting to anyone, it means what's he doing?


In the bathroom playing Nethack on his FreeBSD laptop


1.From a normal persons point of view.
2.From the point of view of spouse.


Give the guy some trust or divorce him...

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


Re: usb wifi

2008-02-04 Thread Peter Harrison
I don't know about the adaptor you've mentioned, but I'm using an Asus WL-167g 
(a ralink chipset) without problem using the native ural driver. Check the 
manpage for other supported devices.

Peter Harrison

Peter, Deb, Jessica,  Alex
Visit us online at www.4harrisons.blogspot.com

-Original Message-

From:  Brian [EMAIL PROTECTED]
Subj:  usb wifi
Date:  Mon 4 Feb 2008 6:39
Size:  386 bytes
To:  freebsd-questions@freebsd.org

Has anyone tried the usb based wifi adapters, something like this 
http://catalog.belkin.com/IWCatProductPage.process?Product_Id=179211 
with freebsd?

Brian
___
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: Can I run ntpd in a jail?

2008-02-02 Thread Oliver Peter
On Thu, Jan 31, 2008 at 01:35:55AM -0800, Rudy wrote:
 ...
 Can ntpd update the system clock from within a jail?

That is not possible.
You have to update the system clock on the host system.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgp1yefDk33BU.pgp
Description: PGP signature


Re: Building kernel with DEBUG

2008-02-02 Thread Oliver Peter
On Fri, Feb 01, 2008 at 10:06:19AM -0500, Gerard wrote:
 Near the top of the /usr/src/sys/i386/GENERIC file, is the line:
 
 makeoptions DEBUG=-g  # Build kernel with gdb(1) debug symbols
 
 Is this line really necessary? If I don't intend to ever debug a
 kernel, why should I leave it? It would seem like I could
 save some time compiling a kernel if I just remove or commented out
 that line.

I'm sure that the time you took to write this mail was much more than
you will save by removing the debug symbol...  Maybe sometimes you do
intend to debug your kernel because your machine crashed, you don't
know why, ask this list  and a FreeBSD developer ask about the
kernel-dump...  But maybe not.

Good luck.  :-)

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpJWMgPYsRXL.pgp
Description: PGP signature


Re: cron to attach a gz file

2008-01-31 Thread Peter Boosten

Zbigniew Szalbot wrote:

Hello,

I know I can use

mail -s logfile   /var/log/httpd_access.log

in cron to email the content of a log file to a particular email
address but how do I make that log file a binary attachment (*.gz)?


gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz | mail 
-s logfile [EMAIL PROTECTED]


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


Re: cron to attach a gz file

2008-01-31 Thread Peter Boosten

[EMAIL PROTECTED] wrote:

I know I can use

mail -s logfile   /var/log/httpd_access.log

in cron to email the content of a log file to a particular email
address but how do I make that log file a binary attachment (*.gz)?
gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz | mail 
-s logfile [EMAIL PROTECTED]


If you want an actual MIME attachment, see /usr/ports/mail/nail


From a modern mail reader point of view there is not much difference 
between a MIME or a uuencoded attachment.


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


Re: WPA and static IP

2008-01-30 Thread Peter Boosten

Vince Hoffman wrote:

Hi all,
I'm wondering if there is a way to specify WPA ad a static IP for an 
interface in /etc/rc.conf I've had a quick look though the handbook and 
google but all the examples use WPA and DHCP.




ifconfig_ath0=WPA inet 192.168.13.8 netmask 255.255.255.0

works for me.

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


Re: formatting disk for FreeBSD : Detecting IDE Primary Master ... [Press F4 to skip]

2008-01-25 Thread Peter
iH,
   Sounds to me like the BIOS doesn't see the disk at all;
disk too big for bios?
I remember having to boot [manager] from an old HD with the actual OS on
a new big HD that the bios would not see/boot from.
formatting does not matter as bios does not see the disk anyways.
I'd look into a controller, or update firmware.

]Peter[

 On Fri, 25 Jan 2008 22:48:07 +
 David Larkin [EMAIL PROTECTED] wrote:

 Hi Guys,

 I'm trying to  install FreeBSD  6.3 on an old PC.

 I have  bought a  new Maxtor DiamondMax 80Gig  disk,  to replace the old
  one. I will have only one disk in the PC.

 I am  looking to build using boot floppies and FTP.

 There  is  no CD  drive on  the PC.

 When I turn the PC on the BIOS hangs with the message
  Detecting  IDE  Primary  Master ...  [Press F4 to skip]

 However, by holding down  F4, I was able to boot using the floppies
 boot.flp , kern1.flp , kern2.flp  kern3.flp

 This detected disk and I selected standard configuration, and the FTP
 installation all went to plan.

 I got message saying installation was successful and I added users and
 set root password.

 However, when I reboot (without floppies) I still get the message
  Detecting  IDE  Primary  Master ...  [Press F4 to skip]

 and when I go into BIOS , it still doesn't detect  the IDE disk.

 How do I format disk so BIOS  recognises it ?

 I read something about using DOS fdisk , but I haven't got DOS floppies.

 Can I format disk using boot or fixit floppies ?

 Thanks

 Some further info ...

From sysinstall, I  did Configure  -- Fdisk

 It shows

 Disk name : ad0
 |Disk Geom:  9729 cyls/255  heads/63 sectors = 156296385 sectors(76316MB)

 Offset SizeEND   Name  Ptype  DescSubtype Flags
  0 63  62- 12 unused   0
 63 156296322   156296384 ad0s1 8 freebsd   165
 156296385  5103156301487 - 12unused0


 hope this helps




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



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


Re: USB / umass / automount

2008-01-23 Thread Oliver Peter
On Tue, Jan 22, 2008 at 07:13:17PM -0500, Chris Hill wrote:
 On Tue, 22 Jan 2008, David Alanis wrote:
 Quoting Oliver Peter [EMAIL PROTECTED]:
 Hi,
 What is currently the best way to attach and detach umass-devices
 automatically?
 Bye
 Oliver
 --
 Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
 Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.
 
 Could you just edit your fstab to have:
 
 /dev/umass-device /umass /umass-type auto 0 0

 This will not make the auto-mounter daemon happen; rather, it will cause 
 the system to try to mount /dev/umass-device at boot time. If the umass 
 device is not connected at boot time, the system will need manual 
 intervention in order to boot. Probably not what the OP wants. Besides, 
 auto is the default anyway.

Thanks for your answers!

That's not exactly what I want - I thought about to plug e.g. an
usb-stick into my machine, let it mount via amd and after I detach the
device from my machine amd should umount the devices automatically.

Is this possible?

AFAIR bad things happen when a mounted usb-devices disappears...

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpLeHUZErBaY.pgp
Description: PGP signature


apache coredump / segfault in 7.0-beta2/4/RC1- php/mhash.

2008-01-22 Thread Peter
iH,
   apache13 segfaults/coredump on FreeBSD 7-RC with php mhash extension
enabled, works fine on 6.3 [several boxes, fresh install 6 and  7].
   [with or without latest cvsup RELENG_7 build/install world/kernel]
   apache13
   php-5.2.5
   mhash-0.9.9
   php5-mhash-5.2.5
[ and all the other required libraries/etc ]
this was installed via 'make config install' in more or less the above order;
[and tested on a fresh box via pkg_add -r also]
both ways, apache segfaults and dumps core /httpd.core, with that mhash
php extension disabled, it works in 7, otherwise only in 6.x.
 This is a default install of 7-RC1.iso, portsnap fetch extract, make
install;
Same process on 6.3, apache works, no segfault/coredump.

I've tested this several times and reloaded OS many times [under VMWare
and a physical box - latest RELENG_7 cvsup/buildworld as of about
Saturday/19th.]

]Peter[

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


USB / umass / automount

2008-01-22 Thread Oliver Peter
Hi,

What is currently the best way to attach and detach umass-devices
automatically?

Bye
Oliver

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgp6dOGpuYMWL.pgp
Description: PGP signature


Re: xorg-drivers-7.3

2008-01-21 Thread Peter Boosten

Bob Hall wrote:

I'm trying to update xorg-drivers-7.3 on an old machine. I didn't know
that the i810 drivers do the job of the i740 drivers, so I selected i740
in the config screen when I ran portmanager. Unfortunately, this
conflicts with i810, and unfortunately, this choice I made is preserved
in some configuration data hidden somewhere. When I try to redo it, it
picks up my previous choice instead of giving me the option of making a
new choice. 


Found saved configuration for xorg-drivers-7.3_1

portupgrade and Make distclean followed by Make both give this
message.

I've tried searching, but the key words I use aren't getting me any
information. What do I do to deselect i740, or to force portmanager to
let me reselect my options?


make config :-)

Greetings,

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


Re: Build server for ports and world...

2008-01-19 Thread peter harrison
On Sat, Jan 19, 2008 at 03:07:54AM +0300, Yuri Pankov wrote:
 On Fri, Jan 18, 2008 at 11:32:37PM +, peter harrison wrote:
  I'd like to set up a build server at home to save me time when running 
  portupgrade and building world.
  
  I've read the handbook on this, and I'm happy with the process of NFS 
  mounting /usr/src /usr/obj and /usr/ports etc..
  
  I've two questions though.
  
  First, my home server currently runs 6.2-RELEASE - I update it using 
  freebsd-update and it doesn't have the source for world  kernel.
  Is it possible to put the 7.0 source on this and build for installation on 
  my desktop, or do I need to take the server to 7.0 before I do this?
 
 Yes, it should be possible.
 
  Second, is there anyway of building packages without installing them?
  I'm not keen to put X and all my desktop gubbins on the server when I only 
  need it to build the packages.
 
 Look at ports-mgmt/tinderbox, does exactly what you want :-)
 
  Thanks for any help.
  
  
  Peter Harrison.
  -- 
  `That young girl is one of the least benightedly 
  unintelligent organic life forms it has been my profound 
  lack of pleasure not to be able to avoid meeting.' 
  
  - Marvin's first ever compliment about anybody. 
 
 HTH,
 Yuri
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Thanks Yuri, I'll take a look at Tinderbox.


Peter Harrison.

-- 
`Maybe somebody here tipped off the Galactic Police,' said 
Trillian. `Everybody saw you come in.'
`You mean they want to arrest me over the phone?' said 
Zaphod, `Could be. I'm a pretty dangerous dude when I'm 
cornered.'
`Yeah,' said a voice from under the table [Ford's now 
completely rat-arsed at this point], `you go to pieces so 
fast people get hit by the shrapnel.'

- Zaphod getting paranoid over a phone call. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recovering data from a newfs filesystem

2008-01-19 Thread Peter
try 'testdisk'
mailds:#cat /usr/ports/sysutils/testdisk/pkg-descr
Tool to check and undelete partition
Works with the following partitions:
- FAT12 FAT16 FAT32
- Linux EXT2/EXT3
- Linux SWAP (version 1 and 2)
- NTFS (Windows NT/W2K/XP)
- BeFS (BeOS)
- UFS (BSD)
- Netware
- ReiserFS

TestDisk is under GNU Public License.
You can compile it under Dos with DJGPP or under Linux or BSD with gcc.

WWW: http://www.cgsecurity.org/

- Florent Thoumie
[EMAIL PROTECTED]

]Peter[
 Months ago, I got a new USB drive for my Mac OS X, did newfs
 /dev/disk1 on it, and it's been working fine.

 I then foolishly did disklabel -create /dev/disk1, which broke
 it. How can I recover my data? I've tried fsck w/ alternate
 superblocks to no avail.

 less -f /dev/disk1 shows me the disk label I created:

 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN
 http://www.apple\
 .com/DTDs/PropertyList-1.0.dtd
 plist version=1.0
 dict
 keyBase/key
 integer131072/integer
 keySize/key
 integer500107730944/integer
 /dict
 /plist

 but also shows me my file names/content, so I'm convinced the data is
 still there.

 How do I recover my data? I assume newfs creates a UFS by default? Can
 I decode /dev/disk1 the way one might decode a TAR file?

 Posting here because I know Mac OS X is FreeBSD inside.

 --
 We're just a Bunch Of Regular Guys, a collective group that's trying
 to understand and assimilate technology. We feel that resistance to
 new ideas and technology is unwise and ultimately futile.
 ___
 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]


Build server for ports and world...

2008-01-18 Thread peter harrison
I'd like to set up a build server at home to save me time when running 
portupgrade and building world.

I've read the handbook on this, and I'm happy with the process of NFS mounting 
/usr/src /usr/obj and /usr/ports etc..

I've two questions though.

First, my home server currently runs 6.2-RELEASE - I update it using 
freebsd-update and it doesn't have the source for world  kernel.
Is it possible to put the 7.0 source on this and build for installation on my 
desktop, or do I need to take the server to 7.0 before I do this?

Second, is there anyway of building packages without installing them?
I'm not keen to put X and all my desktop gubbins on the server when I only need 
it to build the packages.

Thanks for any help.


Peter Harrison.
-- 
`That young girl is one of the least benightedly 
unintelligent organic life forms it has been my profound 
lack of pleasure not to be able to avoid meeting.' 

- Marvin's first ever compliment about anybody. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gutman Method on Empty Space

2008-01-17 Thread Peter Boosten

Marc Silver wrote:

Hi there,

Check out /usr/ports/security/wipe/  - It should meet your requirements.



Or always 'rm -P' :-)

Peter

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


Re: Anyone out there using SSL-Explorer?

2008-01-16 Thread Peter Boosten

Kurt Buff wrote:



Per a private message (thanks, Peter) I learned that 'ant run' is
deprecated, and I should instead use 'ant start'.

This seems to have no effect, as the output is the same.

The README does talk about a wizard, which, after pondering all of
this overnight, seems to mean some GUI component that guides you
through setup. There is no window manager on this machine, and I don't
have X installed, except for what Java/Ant libraries were installed.

So, I'm still left with the questions above.



Kurt,

We spoke briefly about 'ant install' opening port 28080... when this 
happens, you can connect your browser to that port 
(http://yourhost:28080 - this is the wizard the readme is talking 
about). There seems to be some timegap between the installer reporting 
it's ready and the actual opening of the port (I tried last night).


You don't need X (I don't have it), just some patience. When you've 
completed the install (with your browser), the ant will shutdown and you 
can start then sslexplorer with 'ant start'. Again there will be a 
timegap between the ending of the startup script and the opening of the 
port.


Peter

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


My local time seems to be out of sync

2008-01-15 Thread Peter Boosten

Anyone seen this (the date...)?

/usr/ports/UPDATING:

20080118:   p10 FreeBSD-SA-08:01.pty, FreeBSD-SA-08:02.libc
Fix issues which allow snooping on ptys. [08:01]
Fix an off-by-one error in inet_network(3). [08:02]

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


Re: Which is the Latest Clustering Tools for FreeBSD7.0

2008-01-14 Thread Peter Ross
Hi Susanth,

On Mon, 14 Jan 2008, Susanth K wrote:

 Am Interested to know more about the Latest Clustering tools available in
 FreeBSD 7.0

Me too;-)

 Is SG Cluster Still active project ? [http://turtle.ee.ncku.edu.tw/sgcluster/

I don't know.. and have not used it. Sorry.

 Applications am Willing to run in Very Large Scale are :
 Apache + PHP + MySQL + FastCGI + C++ Based Custom Web Based Application +
 PostgreSQL on Top of FreeBSD 7.0

At my work place we have (FreeBSD based) Juniper DXes as a frontend to Red 
Hat boxes.

With vanilla FreeBSD I could think of CARP/VRRP and pf incl. pfsync for 
redundancy on packet layer and pound as a web frontend (does reverse 
proxy, loadbalancing and heart-beat to mark failed servers). I did this 
before.

I never run MySQL and PostgreSQL clustered, just in master/slave 
replication mode. Clustering at my workplace is done using MS SQL.

We start a bigger Drupal project I am keen to know what PostgreSQL and 
MySQL offer in this regard these days (the MS SQL support in Drupal is a 
bit dubious)

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


Re: How backup huge pgsql ?

2008-01-12 Thread Peter Schuller
 I want to known how can I make backup of huge postgresql database (huge
 mean ~ 2To).

 I can stop the access of the database during N1 hours.

 Any idea about this ?

pg_dump should work as usual. No need to stop database access since read-only 
access won't block anything else and it won't be blocked by other processes.

That said, pg_dump:ing a database that is 2 terrabytes in size is going to 
take some significant time. If you want to maintain frequent backups you may 
want to look into using point in time recovery and WAL archiving. See:

http://www.postgresql.org/docs/8.2/static/continuous-archiving.html

Also the very long transaction used for the backup will prevent vacuuming from 
freeing tuples for the duration of the backup. If you have tables that rely 
on very frequent vacuuming for performance, those may be affected.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



signature.asc
Description: This is a digitally signed message part.


Setting up Smart Cards? (SCR3310)

2008-01-09 Thread Peter Thoenen

Morning everybody,

How exactly does one setup FreeBSD (primarily Firefox and Thunderbird) 
to use smart cards.  While I understand both FF and TB have security 
device settings, trying to figure out how to get FreeBSD to first 
recognize my card.  I have both a STCII and a SCR3310 and not sure what 
do once I plugged them in and inserted card.  Can't find any 
documentation on this either.


# dmesg
ugen0: SCM Microsystems Inc. SCR3310 USB Smart Card Reader, class 0/0, 
rev 2.00/5.18, addr 3 on uhub3

ugen0: at uhub3 port 2 (addr 3) disconnected
ugen0: detached
ugen0: SCM Microsystems Inc. STCII Smart Card Reader, class 0/0, rev 
1.10/1.40, addr 3 on uhub3


And then what?

Thanks,

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


<    5   6   7   8   9   10   11   12   13   14   >