Re: Making bootable USB keys

2009-09-05 Thread Fbsd1

Samuel Martín Moro wrote:

In fact, we provide the servers and the keys.
So we're sure everything will work.

And also, our install CD is already able to create this kind of USB stick.


I am just curious.
What manufacture / model and GB size of USB stick are you using?
When you plug the USB stick into a FreeBSD system what version of the 
USB standard is used in the firmware on the USB stick (1.0, 2.0 or 2.2)?
The firmware USB version standard used by the stick is displayed when 
the stick is first plugged into a Freebsd release 7.2

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


Inconsistency in root partition size

2009-09-05 Thread jaymax

I apparently have open file handles in my / partitions.
It was partitioned at 512 Mb size, used about 150Mb
df shows
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M492M-36M   108%/

alert condition output
/: write failed, filesystem is full

and a constant stream of error messages to console
__

I ran lsof which  produced a list of 2083 files
Randomly selected portions produced the composite below

COMMANDPID  USER   FD   TYPE DEVICE SIZE/OFF NLINK NODE NAME
init  1   root  cwd VDIR   0,96   1024   2 /
init  1   root  txt VREG   0,96 474576   41282
/sbin/init
adjkerntz   147   root  cwd VDIR   0,96   1024   2 /
adjkerntz   147   root  rtd VDIR   0,96   1024   2 /
adjkerntz   147   root0uVBAD   (revoked)
adjkerntz   147   root1uVBAD   (revoked)
devd254   root  txt VREG   0,96 262516   41258
/sbin/devd
devd254   root0uVCHR   0,240t0  24 /dev/null
syslogd 292   root  txt VREG   0,96  41908 231
/lib/libutil.so.5
syslogd 292   root  txt VREG   0,96 877604 236
/lib/libc.so.6
amd 413   root  txt VREG   0,96 136984 808
/libexec/ld-elf.so.1
amd 413   root  txt VREG   0,96 877604 236
/lib/libc.so.6
amd 413   root0uVCHR   0,240t0  24 /dev/null
nfsd457   root  txt VREG   0,96 877604 236
/lib/libc.so.6
nfsd457   root0uVCHR   0,240t0  24 /dev/null
usbd484   root  txt VREG  0,101  14964 3653493
/usr/sbin/usbd
smbd500   root  txt VREG  0,101 121414 1941471
/usr/local/lib/libcups.so.2
smbd500   root  txt VREG  0,101 445658 3535409
/usr/local/lib/compat/pkg/libgnutls.so.12
nmbd502   root  txt VREG  0,101 445658 3535409
/usr/local/lib/compat/pkg/libgnutls.so.12
nmbd502   root  txt VREG  0,101 340795 1941251
/usr/local/lib/libgcrypt.so.13
httpd   504   root  txt VREG   0,96  28676 225
/lib/libcrypt.so.3
httpd   504   root  txt VREG   0,96 877604 236
/lib/libc.so.6
httpd   508 nobody   15wVREG  0,1011272700 2340767
/usr/local/apache/logs/error_log
httpd   512   root  txt VREG  0,101 952544  966860
/usr/local/apache2/bin/httpd
httpd   512   root  txt VREG   0,96 136984 808
/libexec/ld-elf.so.1
httpd   512   root  txt VREG   0,96  98120 227
/lib/libm.so.4
httpd   512   root  txt VREG  0,101 280725  966866
/usr/local/apache2/lib/libaprutil-1.so.3
httpd   512   root  txt VREG  0,101 157398 1942626
/usr/local/lib/libexpat.so.6
httpd   512   root  txt VREG  0,101 423490  966861
/usr/local/apache2/lib/libapr-1.so.3
httpd   512   root  txt VREG   0,96  28676 225
/lib/libcrypt.so.3
httpd   512   root  txt VREG  0,101 140112 3653763
/usr/lib/libpthread.so.2
httpd   512   root  txt VREG   0,96 877604 236
/lib/libc.so.6
httpd   512   root  txt VREG  0,101 355787 1941402
/usr/local/lib/libapr-1.so.0
httpd   512   root  txt VREG  0,101  22323  95
/usr/local/apache2/modules/mod_authn_file.so
httpd   512   root  txt VREG  0,101  22612  96
/usr/local/apache2/modules/mod_authn_dbm.so
httpd   512   root   20wVREG  0,101 274254  966466
/usr/local/apache2/logs/error_log
rwhod   548 daemon  txt VREG  0,101  10912 3653467
/usr/sbin/rwhod
rwhod   548 daemon  txt VREG   0,96 136984 808
/libexec/ld-elf.so.1
httpd   570 nobody  txt VREG  0,101  23956  966670
/usr/local/apache2/modules/mod_authz_host.so
httpd   570 nobody  txt VREG  0,101  26206  966671
/usr/local/apache2/modules/mod_authz_groupfile.so
httpd   570 nobody  txt VREG  0,101  20770  966672
/usr/local/apache2/modules/mod_authz_user.so
sshd586   root  txt VREG  0,101 168488 3651348
/usr/sbin/sshd
sshd586   root  txt VREG   0,96 136984 808
/libexec/ld-elf.so.1
sendmail591   root  txt VREG  0,101  27812 3653790
/usr/lib/libwrap.so.4
sendmail591   root  txt VREG  0,101 184752 3653852
/usr/lib/libssl.so.4
cron614   root  txt VREG  0,101  30748 3653316
/usr/sbin/cron
cron614   root  txt VREG   0,96 136984 808
/libexec/ld-elf.so.1
moused  717   root  txt VREG  0,101  32480 3653390
/usr/sbin/moused
moused  717   root  txt VREG   0,96 136984 808
/libexec/ld-elf.so.1
inetd   739   root  rtd VDIR   0,96   1024   2 /
inetd   739   root  txt VR

Re: Is there such thing as a 'soft checksum' tool?

2009-09-05 Thread Karl Vogel
>> On Sat, 5 Sep 2009 10:33:03 -0600, 
>> Modulok  said:

M> I'm looking for a pseudo-checksum tool for use with cataloging images.
M> For example, a strict checksum algorithm, like the sha family, will
M> produce a dramatically different checksum for two files which differ by
M> only a single bit.  I'm looking for something where two images, which
M> are similar, get a proportionally similar checksum.

   This works pretty well with text, but I don't know about images.

 http://ixazon.dynip.com/~cmeclax/nilsimsa.html
 What's a nilsimsa code?
 A nilsimsa code is something like a hash, but unlike hashes, a small
 change in the message results in a small change in the nilsimsa code.
 Such a function is called a locality-sensitive hash.

-- 
Karl Vogel  I don't speak for the USAF or my company
Garlic gum is not funny.--written on blackboard by Bart Simpson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Can anyone reproduce this Samba problem?

2009-09-05 Thread Karl Vogel
>> On Wed, 26 Aug 2009 21:54:02 -0700, 
>> John W  said:

J> I have been trying to set up a 'dropbox' Samba share on FreeBSD, but am
J> not having luck.  I went back and forth on the Samba ML for a bit, and
J> now I'm trying to determine if I am seeing FreeBSD-specific bad
J> behavior.

   http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/
   has some suggestions that might help.

-- 
Karl Vogel  I don't speak for the USAF or my company

:-{8Person who is unhappy with the results of her
breast-enlargement surgery.  --Dave Barry's emoticons
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-05 Thread Gary Kline

in my manuscript, i have many places where i'ved used several newlines 
to indicate a
jump in time, or topic, or mood, or <>.  i have lost these 
vertical spacing
in all but my original draft.  can i use grep somehow to find these 
extra newlines?

if not grep, then sed, ed, or what?!

tia,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 5.67a release of Jottings: http://jottings.thought.org/index.php

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


portmaster --check-depends

2009-09-05 Thread ajtiM
When I run portmaster --check-depends I got:

Checking kde-3.5.10_2
===>>> @pkgdep wavpack-4.50.1 is listed as a dependency
===>>> but there is no installed version

===>>> Delete this dependency data? [n]

Checking kdegraphics-3.5.10_4
===>>> @pkgdep portaudio-18.1_2 is listed as a dependency
===>>> but there is no installed version

===>>> Delete this dependency data? [n]

Checking kmplayer-0.10.0c_3,2
===>>> @pkgdep lirc-0.8.0_2 is listed as a dependency
===>>> but there is no installed version

===>>> Delete this dependency data? [n]

Checking mencoder-0.99.11_4
===>>> @pkgdep lirc-0.8.0_2 is listed as a dependency
===>>> but there is no installed version

===>>> Delete this dependency data? [n]
mplayerplug-in-3.55_3
===>>> @pkgdep lirc-0.8.0_2 is listed as a dependency
===>>> but there is no installed version

===>>> Delete this dependency data? [n]

I have all three ports installed and I reinstalled them again but the problem 
is here still.

What is wrong, please?
Thanks.

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


Re: Logging failed attempts

2009-09-05 Thread Kalle Møller
About the SSH.. Have a look in /var/log/auth.log looks like what your
looking for

On Fri, Sep 4, 2009 at 1:25 AM, Alan Shearer  wrote:

> Howdy,
>
> I was curious if there was a way to setup logging of *failed* attempts to
> login to a PPTP Server hosted on freebsd 7?  I can only see successful
> logins.
>
> On a similar note is there a way to log successful and failed attempts to
> SSH into freebsd?
>
> Thanks for the help!
> Alan
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>



-- 

Med Venlig Hilsen

Kalle R. Møller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there such thing as a 'soft checksum' tool?

2009-09-05 Thread Charlie Kester

On Sat 05 Sep 2009 at 09:33:03 PDT Modulok wrote:

List,

I'm not even sure such a tool exists, but it's worth asking:

I'm looking for a pseudo-checksum tool for use with catalogging
images. For example, a strict checksum algorithm, like the sha family,
will produce a dramatically different checksum for two files which
differ by only a single bit. I'm looking for something where two
images images, which are similar, get a proportionally similar
checksum. When I speak of similarities I'm referring to their image
patterns. i.e two images of differing sizes, which are otherwise
identical, would produce very similar checksums. So the closer the
checksums are, the more similar two given images are.

Does anyone know of anything like this?


libpuzzle might be what you're looking for.  There's a tool called ftwin
that uses libpuzzle to find duplicate or only-slightly-modified files.

http://libpuzzle.pureftpd.org/project/libpuzzle
http://jok.is-a-geek.net/ftwin.php

Both of these are in the portstree.  ;-)

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


Re: Reverse Proxy /Proxy Pass

2009-09-05 Thread Mel Flynn
On Saturday 05 September 2009 09:55:54 Agus wrote:
> 2009/9/3 Mel Flynn :
> > On Friday 04 September 2009 01:20:46 Agus wrote:
> >> What server, application do u know/recommend me for using as a
> >> ProxyPass / Reverse Proxy...
> >>
> >> The idea is to forward all requests to port 80 to this server and then
> >> from here according to the vhost send it to the actual server... For
> >> now i only need proxying.. dont think cacheing will be possible so im
> >> just looking for a pretty fast, light and stable app to do this on a
> >> freebsd 7...
> >>
> >> Thanks and ihope to hear some cool recommendations.. hehe
> >
> > If lightweight, go with www/nginx. Features, go with www/squid or
> > apache+mod_proxy.
> > --
> > Mel
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscr...@freebsd.org"
>
> Thanks Mel... Now i've been reading a little and found that cherokee
> maybe a very good alternative also I also found that the
> performance will variate according to the syscall the server uses... i
> read about poll,etc how to know which syscalls does the servers
> support and which one is better/fastest?

kqueue is preferred on *BSD, since it's able to aggregate multiple filter 
matches into one event if they happen to occur in a close time frame. This 
reduces copyout from kernel to userland. It also used to be true that poll is 
a busywait, but I think that has been corrected.

If you're interested, the original design document for kqueue is available 
here:
http://people.freebsd.org/~jlemon/papers/kqueue.pdf
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Is there such thing as a 'soft checksum' tool?

2009-09-05 Thread Modulok
List,

I'm not even sure such a tool exists, but it's worth asking:

I'm looking for a pseudo-checksum tool for use with catalogging
images. For example, a strict checksum algorithm, like the sha family,
will produce a dramatically different checksum for two files which
differ by only a single bit. I'm looking for something where two
images images, which are similar, get a proportionally similar
checksum. When I speak of similarities I'm referring to their image
patterns. i.e two images of differing sizes, which are otherwise
identical, would produce very similar checksums. So the closer the
checksums are, the more similar two given images are.

Does anyone know of anything like this?
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How to correct *Failed sysctlbyname("net.inet.ip.fw.tables_max")*

2009-09-05 Thread Коньков Евгений
Hi

vpn# ipfw table 12 list
ipfw: Failed sysctlbyname("net.inet.ip.fw.tables_max")
vpn# sysctl -a | grep net.inet.ip.fw
net.inet.ip.fw.dyn_keepalive: 1
net.inet.ip.fw.dyn_short_lifetime: 5
net.inet.ip.fw.dyn_udp_lifetime: 10
net.inet.ip.fw.dyn_rst_lifetime: 1
net.inet.ip.fw.dyn_fin_lifetime: 1
net.inet.ip.fw.dyn_syn_lifetime: 20
net.inet.ip.fw.dyn_ack_lifetime: 300
net.inet.ip.fw.static_count: 46
net.inet.ip.fw.dyn_max: 4096
net.inet.ip.fw.dyn_count: 0
net.inet.ip.fw.curr_dyn_buckets: 256
net.inet.ip.fw.dyn_buckets: 256
net.inet.ip.fw.default_rule: 65535
net.inet.ip.fw.verbose_limit: 0
net.inet.ip.fw.verbose: 1
net.inet.ip.fw.debug: 1
net.inet.ip.fw.one_pass: 0
net.inet.ip.fw.autoinc_step: 100
net.inet.ip.fw.enable: 1
vpn# uname -a
FreeBSD vpn.in 7.1-RELEASE-p7 FreeBSD 7.1-RELEASE-p7 #1: Sat Sep  5 00:26:18 
EEST 2009 k...@vpn.in:/usr/obj/usr/src/sys/KES_KERN_v71  i386

I just upgrade from 7.0.
Sources are RELENG_7_1

Hot to solve this problem?

-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

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


Re: Making bootable USB keys

2009-09-05 Thread Matthias Luft
Dimitri Yioulos wrote:
> Might want to try UNetbootin.

There is also a similar script -- but the related tutorial is a german one:
http://wiki.bsdforen.de/howto/cd_iso_to_usb

so long,
Matthias



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Reverse Proxy /Proxy Pass

2009-09-05 Thread Agus
2009/9/3 Mel Flynn :
> On Friday 04 September 2009 01:20:46 Agus wrote:
>
>> What server, application do u know/recommend me for using as a
>> ProxyPass / Reverse Proxy...
>>
>> The idea is to forward all requests to port 80 to this server and then
>> from here according to the vhost send it to the actual server... For
>> now i only need proxying.. dont think cacheing will be possible so im
>> just looking for a pretty fast, light and stable app to do this on a
>> freebsd 7...
>>
>> Thanks and ihope to hear some cool recommendations.. hehe
>
> If lightweight, go with www/nginx. Features, go with www/squid or
> apache+mod_proxy.
> --
> Mel
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>

Thanks Mel... Now i've been reading a little and found that cherokee
maybe a very good alternative also I also found that the
performance will variate according to the syscall the server uses... i
read about poll,etc how to know which syscalls does the servers
support and which one is better/fastest?

I will continue looking for this...

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