7.0R: printing from Samba to CUPS

2008-03-23 Thread Matthias Apitz

Hello All,

During the last weekend I've installed FreeBSD 7.0R, the system and
compiled all the 'ports' I need, i.e. as well

cups-base-1.3.6_1   Common UNIX Printing System
cups-pdf-2.4.6  A virtual printer for CUPS to produce PDF files
cups-pstoraster-8.15.4_1 Postscript interpreter for CUPS printing to non-PS 
printers
cups-samba-6.0  The Common UNIX Printing System:  MS Windows client drivers

samba-3.0.28,1  A free SMB and CIFS client and server for UNIX
samba-libsmbclient-3.0.28 Shared libs from the samba package

I'm using Samba only to have access from a Windows XP in a virtual
machine (Qemu) on my laptop to the files in FreeBSD world and for
printing from XP to the CUPS in FreeBSD world. Worked all fine before in
FreeBSD 6.2R, but not in 7.0R. It says in /var/log/cups/error_log:

E [22/Mar/2008:10:12:40 +0100] Unsupported character set iso-8859-1!

I've digged into this and could make it work again by launching Samba in
an UTF8 environment, for example with:

# LANG=en_US.UTF-8 /usr/local/etc/rc.d/samba start

(or setting LANG=en_US.UTF-8 in the start script). Any comments on this?

Thanks in advance

matthias

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


Re: A few jail questions

2008-03-23 Thread Matthew Seaman

David Allen wrote:

I've recently been examining the use of jails in FreeBSD, and I have some
questions I hope someone can shed some light on with respect to running
virtual servers in jails.

1. Upgrading.  This probably a It Depends question, but if a host system
is upgraded (within version numbers), will the new kernel and world on the
host system cause potential problems with existing jails when they are
restarted?  Or do the jails need to be rebuilt before they are started?


In general, no.  It is quite possible to host a jail running effectively a
different version of FreeBSD than the base machine -- a technique that is used
extensively in the ports build cluster.  The emulation is not perfect, and
of course the kernel that is used is the one from the base system, but it's
fine for most purposes.

If it's just a case of slight lag between updating the base system and the
jails, then I wouldn't worry about it.


2. Localhost.  Jails seem to be implemented using IP address aliasing, so
anything within the jail that wants to, or is configured to, bind to the
localhost address, now gets bound to the jail's IP address.  This means
that what was once local, is now publically available.  Will running a
firewall on the host system work in such cases?


Yes, a firewall is a good idea.  One very effective method to secure a jail
is to create the jail bound to the *loopback* interface of the main host, and
then use firewall redirect rules to send the wanted traffic to the jail's 
IP.  eg. using pf:


jail_int = 127.0.0.2
jail_ext = 12.34.56.78

[...]

nat on $ext_if proto { tcp udp }  \
from $jail_int   \
to !$jail_int - $jail_ext static-port
rdr on $ext_if proto tcp  \
from any \
to $jail_ext port { 22 80 } - $jail_int
rdr on $ext_if proto udp  \
from any \
to $jail_ext port 53 - $jail_int

So in this case on tcp traffic to ports 22 nd 80 or udp traffic to port 53
is redirected into the jail.

Variations on this technique are about the only way to effectively give a
jail more than one IP.


3. Sendmail.  The usual approach of setting sendmail_enable=NO (or using
DAEMON_OPTIONS) won't prevent sendmail running in a jail from starting up
and listening for incoming mail from external hosts.  Short of disabling
sendmail entirely, I'm wondering what approach most people use as a
workaround.


Fixed by the bind-jail-to-loopback trick above.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: samba

2008-03-23 Thread Julius Huang


On Mar 23, 2008, at 12:15 , MD Keith wrote:


Thank you,

 That did it for me also,  so what does that change do? change hash  
etc uses for

sending passwords?



I think M$ change LM default Auth setting to make Vista a little more  
Secure,

 but break some old Samba which does not support some Auth Method.

This is quite common problem when Vista connect to old or low end NAS.

J.


Again thanks for the fix

Mark



On Sat, Mar 22, 2008 at 12:52 PM, Julius Huang  
[EMAIL PROTECTED] wrote:

Hi,


On Mar 22, 2008, at 02:02 , MD Keith wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Greetings, I have a FreeBSD box i set up long ago as a file server

 has worked great till I had to get a better laptop with gfx card to
 keep
 up with my SecondLife Addiction.  and now can't get the installed
 Vista Os to connect to it.


Try change LmCompatibilityLevel to '0' or '1' on Vista using regedt32.

It is under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa.

Works for me.

J.

 Help would be appreciated,

 running 5.4-RELEASE FreeBSD 5.4-RELEASE #0 on the box

 Thanks in advance,
  Wolf


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: http://firegpg.tuxfamily.org

 iD8DBQFH4/grLYy55nbmwbwRAo4gAJ90NYqAIE9Mgxevh9SIlLdFv93BzACeOGQt
 crK8s0gUSNtkI4w6Tbv4dGk=
 =0BQG
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [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: Console Random Text

2008-03-23 Thread Derek Ragona

At 06:27 PM 3/21/2008, Andy Christianson wrote:

Hello everyone,



I am having a very strange problem. My sever stopped responding in SSH.
At the time,

a co-worker said he was importing a MySQL database from a USB drive
mounted as ext2fs.



I went back to check on the console, and it was scrolling *EXTREMELY*
quickly with

apparently random text (it could have said something, but it was too
fast to read).



I could not switch to another virtual console. It would not respond to
any keyboard input.



Oddly enough, the machine was still responding to ICMP.



Does anyone have ANY clues as to what this could be? This is a server
that an entire

Company runs on, so it's really important that I find out what is
causing this.



Thanks in advance! This FreeBSD community is the friendliest one I've
found yet.



-Andy


ICMP will continue to respond unless the system is completely locked 
up.  ICMP is a basic function built into the ethernet interface.  I suspect 
the rest of you system was so tied up, with CPU at 100%.  So the random 
text is whatever the system could still output to the console before being 
totally consumed.


You would do well to try a few things.  I would try the import of the data 
again but do it in two steps.  First move the data from the USB drive to 
the hard drive, and unmount the usb drive.  Then try the import from the 
file(s) on the hard drive.


Your system may have had trouble with the usb drive and that caused the 
system to freeze.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: media conversion utilities in the ports

2008-03-23 Thread Michaël Grünewald

Andrew Falanga a écrit :

Hi,

A few quick searches on freshports.org didn't turn up much so I'm
hoping that the knowledge here will eclipse it.  Are there any good,
or workable, scriptable WMA to MP3 converter programs in ports?


Mplayer pretends it can handle WMA files, however I did not try this 
feature. See multimedia/mplayer, it installs an `mencoder' program you 
might be interested in.

--
Cheers,
Michaël

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


Re: List replies

2008-03-23 Thread Tore Lund
Erik Trulsson wrote:
 On Sat, Mar 22, 2008 at 11:54:00PM +0100, Tore Lund wrote:
 [snip]
 I request that this misunderstood piece of etiquette is revised.  If
 someone has the brains to find this list as well as the brains to use
 FreeBSD at all, they also have the brains to come back here to look for
 answers.
 
 Wrong.  Not everybody who posts here is even aware that it is a mailing
 list, much less how to read mails sent to the list.

I guess the problem is lack of imagination on my part.  I am not able to
fathom how anyone can pick up and use the address of this list without
realizing that it is a mailing list.  Nor have I seen this point
explained in the many previous discussions on this topic.

 There are reasons why this list is explicitly and deliberatly set up so you
 do not need to be subscribed to post here.

Yes, and those reasons would also be good reasons to ponder whether a
mailing list is the right type of forum.  Lurkers and newbies should
preferably peruse other people's question for a while before they post,
and this is hard to do if they are not even aware that this is a mailing
list.

An HTML forum is probably out of the question, but I wish FreeBSD would
at least consider turning the mailing lists into newsgroups - something
like news.mozilla.org - unless someone has a better idea.
-- 
Tore


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


Re: media conversion utilities in the ports

2008-03-23 Thread Da Rock

On Sun, 2008-03-23 at 09:41 +0100, Michaël Grünewald wrote:
 Andrew Falanga a écrit :
  Hi,
  
  A few quick searches on freshports.org didn't turn up much so I'm
  hoping that the knowledge here will eclipse it.  Are there any good,
  or workable, scriptable WMA to MP3 converter programs in ports?
 
 Mplayer pretends it can handle WMA files, however I did not try this 
 feature. See multimedia/mplayer, it installs an `mencoder' program you 
 might be interested in.

you need the win32 codecs to make this work though.

good luck

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


Re: mplayer-problems

2008-03-23 Thread Niels Kobschaetzki
On Fri, 21 Mar 2008 20:47:09 +0530
Mehul Ved [EMAIL PROTECTED] wrote:

 On Sat, Mar 22, 2008 at 03:06:22PM +0100, Niels Kobschaetzki wrote:
  Now the video plays but the output looks scrambled and mplayer tells
  me that my machine is too slow. But even on a P3 1 GHz DVDs should
  run???especially when DivX and co can be decoded w/out any problems.
  Any ideas?
 
 Is the media fine? I have had this many times with bad media, improperly
 encoded files and I believe low RAM, too.

The media is fine, low RAM could be it but I think that sound would be choppy, 
too would'nt it?
In /var/log/messages I get a lot of the following and I guess that that is the 
culprit:
Mar 23 10:30:09 mars kernel: acd0: FAILURE - REPORT_KEY ILLEGAL REQUEST 
asc=0x6f ascq=0x04 
Mar 23 10:30:09 mars kernel: ata1: FAILURE - non aligned DMA transfer attempted
Mar 23 10:30:09 mars kernel: acd0: setting up DMA failed
Mar 23 10:30:09 mars kernel: ata1: FAILURE - non aligned DMA transfer attempted
Mar 23 10:30:09 mars kernel: acd0: setting up DMA failed
Mar 23 10:30:29 mars kernel: acd0: FAILURE - REPORT_KEY ILLEGAL REQUEST 
asc=0x6f ascq=0x04 
Mar 23 10:30:29 mars kernel: ata1: FAILURE - non aligned DMA transfer attempted
Mar 23 10:30:29 mars kernel: acd0: setting up DMA failed
Mar 23 10:30:29 mars kernel: ata1: FAILURE - non aligned DMA transfer attempted
Mar 23 10:30:29 mars kernel: acd0: setting up DMA failed

I have no real idea what to do and Google just gives me, that it seems to be a 
problem of FreeBSD 7 - some other dude seems to have it, too but no problems on 
FreeBSD6.x

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


Re: mplayer-problems

2008-03-23 Thread Niels Kobschaetzki
On Sun, 23 Mar 2008 02:39:10 +0100
Nikola Lečić [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: RIPEMD160
 
 On Sat, 22 Mar 2008 15:06:22 +0100
 Niels Kobschaetzki [EMAIL PROTECTED] wrote:
  
  Now the video plays but the output looks scrambled and mplayer tells
  me that my machine is too slow. But even on a P3 1 GHz DVDs should
  run…especially when DivX and co can be decoded w/out any problems.
  Any ideas?
 
 If the DVD output is scrambled you most likely need
 multimedia/libdvdcss. However, don't forget that (from ports/LEGAL):
 
   multimedia/libdvdcss   CSS code may violate the DMCA

The output isn't scrambled in the idea of it can't be decoded but in the idea 
of I get error messages that my comp is too slow (what I do not believe)

 
 The best way to play DVDs in mplayer is to access them through
 
   mplayer dvdnav://
 
 This way you will have a full control over DVD menus. 

I didn't know that one :)

 Lastly, you can
 try multimedia/ogle, which is a DVD-only player and probably handles DVD
 menus better than mplayer. Ogle also needs libdvdcss.

Every freeware-media player needs libdvdcss because it has otherwise no 
possibility to decode css-protected DVDs. Open Source-projects usually do not 
have the money and possibilities to get their project licensed with the DVD 
association.

Btw. ogle gives me only:
ERROR[ogle_nav]: faild to open/read the DVD
callbacks.on_opendvd_activate(): DVDSetDVDRoot: Root not set
Note[ogle_gui]: GetDiscID failed


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


make readmes errors

2008-03-23 Thread fire jotawski
hi sirs,

my machine is FreeBSD siting.oaep.go.th 7.0-RELEASE FreeBSD 7.0-RELEASE #3:
Fri Mar  7 03:20:47 ICT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SITING
i386
i try making README.html for all ports but get errors at the last state as

Creating README.html for all ports
/usr/ports/Tools/make_readmes : Permission denied
*** Error code 126

please help me in makeing readme.html
thanks in advance for any hints.

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


Re: media conversion utilities in the ports

2008-03-23 Thread Roland Smith
On Sun, Mar 23, 2008 at 07:26:20PM +1000, Da Rock wrote:
 
 On Sun, 2008-03-23 at 09:41 +0100, Michaël Grünewald wrote:
  Andrew Falanga a écrit :
   Hi,
   
   A few quick searches on freshports.org didn't turn up much so I'm
   hoping that the knowledge here will eclipse it.  Are there any good,
   or workable, scriptable WMA to MP3 converter programs in ports?
  
  Mplayer pretends it can handle WMA files, however I did not try this 
  feature. See multimedia/mplayer, it installs an `mencoder' program you 
  might be interested in.
 
 you need the win32 codecs to make this work though.

No you don't. The built-in ffmpeg can handle it:

uname -a
FreeBSD slackbox.xs4all.nl 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Feb 29
01:45:32 CET 2008  amd64

Note: win32 codecs don't even work on amd64!

mplayer foo.wma 
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 4000+ (Family: 15, Model: 39, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing foo.wma.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
Clip info:
 name: x
 author: 
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16002-176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpa8fFOgLcAQ.pgp
Description: PGP signature


Re: ifconfig gif0 and rc.conf [was: Re: IP packet with options]

2008-03-23 Thread Malcolm Clarke

Hi

Does anyone know the IPv6 vesion of the command that would be of the form

gifconfig_gif0=fec0::1 fec0::2

that would set up the two physical ends of a tunnel?

Sadly the above does not works as it does not recognise the IPv6 address 
as there is no


ipv6_gifconfig_gif0=fec0::1 fec0::2

to correspond to the command

ifconfig gif0 inet6 tunnel src-addr dst_addr

Regards

Malcolm

___
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 uninstall a flash port.

2008-03-23 Thread Chris Whitehouse

Eduardo Cerejo wrote:

On Sat, 22 Mar 2008 21:03:18 +
Chris Whitehouse [EMAIL PROTECTED] wrote:


Al Plant wrote:

Eduardo Cerejo wrote:
I installed the Linux flash9 port on a new 7.0 box to work with 
SeaMonkey and it dies when it reaches flash using sites.


How can I de-install this port with out causing problems to other 
programs?


I cant find it in the  handbook how to's.   Im I missing something?

Thanks...

by the way you can use linux-flash7 instead and if you are using the 
native FreeBSD firefox and not linux-firefox you have to install and 
use nspluginwrapper or else it will not work, your second alternative 
is gnash which works natively with firefox.  To use nspluginwrapper 
you would have to run this after the install.
nspluginwrapper -i 
/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
remember for the linux plugins to embed on the native firefox they 
need some kind of wrapper.  Flashplugin9 will not work with native 
firefox or linux-firefox and I think it's because the linux emulator 
uses an old version of linux so we have to wait until it changes to a 
more current version.



Sorry not a response to the OP but hopefully useful correction:

%uname -sr
FreeBSD 7.0-STABLE
%pkg_info -Ix firefox
firefox-2.0.0.12_1,1 Web browser based on the browser portion of Mozilla
%pkg_info -Ix plugin
linux-flashplugin-9.0r115 Adobe Flash Player NPAPI Plugin
nspluginwrapper-0.9.91.5 A compatibility plugin for Netscape 4 (NPAPI) 
plugins

...

I don't actually see a lot of flash as I have flashblock installed but I 
can't recall having probs when I have chosen to view it, except it still 
doesn't work with youtube. I've just installed wine and win32 
firefox+flashplugin for youtube and bbc iplayer and that works fine.


Are you trying to tell me that you got flash 9 working?  I sure would like to 
know how to get it working without crashing.


Yes though like I say I also use flashblock so I only see the flash I 
want to.  I'm moving house at the moment so I can't try and recreate my 
steps to install it but it was something like:


install firefox, linux-flashplugin9, nspluginwrapper from ports
locate libflashplayer.so
run nspluginwrapper

I'll try running without flashblock for a while and see what happens.

Chris


___
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: media conversion utilities in the ports

2008-03-23 Thread Robert Huff

=?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?= writes:

   A few quick searches on freshports.org didn't turn up much so I'm
   hoping that the knowledge here will eclipse it.  Are there any good,
   or workable, scriptable WMA to MP3 converter programs in ports?
  
  Mplayer pretends it can handle WMA files, however I did not try this 
  feature. See multimedia/mplayer, it installs an `mencoder' program you 
  might be interested in.

In my experience, mplayer has been able to handle WMA files
... _except_ for those that require Windows Media Player 10 due to
DRM.
(If someone knows how to get mplayer over that obstacle, please
share.)


Robert Huff


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


Re: [Fwd: Re: List replies]

2008-03-23 Thread Bill Moran
Gerard [EMAIL PROTECTED] wrote:

 On Sat, 22 Mar 2008 08:30:28 -0400
 Bill Moran [EMAIL PROTECTED] wrote:
 
  Da Rock [EMAIL PROTECTED] wrote:
  
   Fair enough, but is it necessary on all the lists for freebsd?
  
  http://www.unicom.com/pw/reply-to-harmful.html
  
 That is one man's point of view. There are several others though.

a) What was your point in saying that?

b) Not really.  It's a list of reasons and the reasons are factual,
   not opinion.  While the overall conclusion is opinion, the article
   is factual and informative in nature.

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


Re: List replies

2008-03-23 Thread Robert Huff
Tore Lund writes:


  An HTML forum is probably out of the question, but I wish FreeBSD
  would at least consider turning the mailing lists into newsgroups
  - something like news.mozilla.org - unless someone has a better
  idea.

There is comp.uinx.bsd.freebsd.misc (I think - been a while
since I had time for newgroups on other than desperation resource
basis), which gets reasonable traffic of the same kind see here,
A bi-directional gateway is certainly possible, but if it
hasn't been installed I'm sure there's a reason.


Robert Huff



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


Re: List replies

2008-03-23 Thread Alex de Kruijff
On Sat, Mar 22, 2008 at 11:54:00PM +0100, Tore Lund wrote:
 Jonathan McKeown wrote:
  [snip]
  As regards copying the original recipients, this list specifically requests 
  it: check the regular posting titled ``how to get best results from 
  freebsd-questions'', particularly para VII.6.
 
 I think you mean para VI.6.  The gist of that paragraph is a wish to
 avoid taking a message which is of general interest off the list,
 hence the advice to cc the list.  There is no argument there about why
 the sender should receive the mail.  Indeed, such a practice is simply
 counter-productive to the intention expressed, since copying the sender
 increases the likelihood that a message (or even an ensuing discussion)
 of general interest is taken off the list.
 
 I request that this misunderstood piece of etiquette is revised.  If
 someone has the brains to find this list as well as the brains to use
 FreeBSD at all, they also have the brains to come back here to look for
 answers.  Copying the sender makes no sense at all, as far as I can see.
 Whether or not headers should be modified is a separate matter.

I'm happy the way it is. The current setup allows me to seperate replies
to my own messages from the entaire list. I like having the option of
juist following the discussions I took part in and juist view the list
every now and then. 
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: [Fwd: Re: List replies]

2008-03-23 Thread Gerard
On Sun, 23 Mar 2008 09:25:54 -0400
Bill Moran [EMAIL PROTECTED] wrote:

 Gerard [EMAIL PROTECTED] wrote:
 
  On Sat, 22 Mar 2008 08:30:28 -0400
  Bill Moran [EMAIL PROTECTED] wrote:
  
   Da Rock [EMAIL PROTECTED] wrote:
   
Fair enough, but is it necessary on all the lists for freebsd?
   
   http://www.unicom.com/pw/reply-to-harmful.html
   
  That is one man's point of view. There are several others though.
 
 a) What was your point in saying that?

Because I believe it, why else?
 
 b) Not really.  It's a list of reasons and the reasons are factual,
not opinion.  While the overall conclusion is opinion, the article
is factual and informative in nature.

Check out the URL below. Another man's opinion. (One that I generally
agree with).

http://www.metasystema.net/essays/reply-to.mhtml


-- 
Gerard
[EMAIL PROTECTED]

When I sell liquor, it's called bootlegging; when my patrons serve
it on silver trays on Lake Shore Drive, it's called hospitality.

Al Capone


signature.asc
Description: PGP signature


Very bad performance when using battery on my laptop with FB7

2008-03-23 Thread Kemian Dang
Dear all,

I have a Compaq laptop running FB7 stable.
When I use battery, the system becomes very slow, there are even lag
of the cursor.
The load average would be 1 - 2, while the idle CPU is 99.0%.
It would not change even I plug the ac power later.

But if I reboot the machine whit ac power, everything would be OK.

Any idea appreciated for what should I do to solve this ...

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


freebsd and macbook(-pro)

2008-03-23 Thread Marco Calviani
Dear list,
   i was wondering how well freebsd runs on macbook pros laptops.
I've had a look here http://wiki.freebsd.org/AppleMacbook and here
http://goddess-gate.com/dc2/index.php/post/251 but both of them are related
to macbook machines.
Anyone has experience with macbook pros?

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


Re: List replies

2008-03-23 Thread Giorgos Keramidas
On Sun, 23 Mar 2008 10:19:11 +0100, Tore Lund [EMAIL PROTECTED] wrote:
 Erik Trulsson wrote:
 On Sat, Mar 22, 2008 at 11:54:00PM +0100, Tore Lund wrote:
 [snip]
 I request that this misunderstood piece of etiquette is revised.  If
 someone has the brains to find this list as well as the brains to use
 FreeBSD at all, they also have the brains to come back here to look for
 answers.

 Wrong.  Not everybody who posts here is even aware that it is a mailing
 list, much less how to read mails sent to the list.

 I guess the problem is lack of imagination on my part.  I am not able to
 fathom how anyone can pick up and use the address of this list without
 realizing that it is a mailing list.  Nor have I seen this point
 explained in the many previous discussions on this topic.

In February 2007, Jeffrey Goldberg asked the same thing too.  It comes
up every few months, and the explanation I had written below seemed to
be satisfactory for him.  Perhaps it can help in this re-occurence of
the old thread?

% On 2007-02-19 10:27, Jeffrey Goldberg [EMAIL PROTECTED] wrote:
% [mailed and posted and cc'ed to grog]
% On Feb 19, 2007, at 4:54 AM, Giorgos Keramidas wrote:
%  There is a very good reason why it is customary in this mailing list
%  to copy the sender when replying.  We don't accept email messages
%  only from subscribers.  This means that some people may post a
%  question without even being subscribed to the list.  By Reply-To:
%  header hacks, like the one you are describing, the original poster
%  may never see your reply.
% 
%  Thank you for that explanation.  It might be a good idea to add this
%  to point 6 of section 8 of
% 
%  
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html

 Yes, and those reasons would also be good reasons to ponder whether a
 mailing list is the right type of forum.  Lurkers and newbies should
 preferably peruse other people's question for a while before they post,
 and this is hard to do if they are not even aware that this is a mailing
 list.

We don't accept email only from lurkers.  The mailing list is  also
advertized as the official place to ask questions in CD-ROMs provided by
vendors, in our documentation, on magazines, conferences, and so on.

We don't want to make it _obligatory_ to subscribe, because this would
alienate users who are too new to the Internet to be familiar with
lists, subscriptions, and similar 'filtering' things.

 An HTML forum is probably out of the question, [...]

No, it isn't out of the question.  There are several reasons why `old
guard' FreeBSD people may prefer email, but we are also investigating
the idea of forums.  It comes up now and then, and it will probably
happen sooner or later.  I don't have the email thread of the old forum
discussions readily available, but it isn't something the FreeBSD
Project as a team would vehemently object to :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Subversion and FreeBSD permission problems

2008-03-23 Thread Darrell Blake
I'm fairly new to FreeBSD and SVN but myself and a few developer
friends are undertaking a small project and I've been tasked with
getting the source control working. I decided to use FreeBSD for the
server for numerous reasons, stability and security among them. I'm no
stranger to Unix, however, I've been using Linux for a long time.

Anyway, my server is up and running and I've install svn via the ports
system (acquire from portsnap). I have set up a repository in
/usr/local/svn/repository via svnadmin create
/usr/local/svn/repository and imported a test project into it via
svn import TestProject file:///usr/local/svn/repository/TestProject.
I then fired off the deamon server via svnserve -d -r
/usr/local/svn/repository which all seems to have worked well.

The thing is, I can't actually perform a checkout of the repository
via the server.

If I move into a temp directory and do svn checkout
file:///usr/local/svn/repository/TestProject it works fine but if I
do svn svn://127.0.0.1/TestProject I get an error stating svn:
Can't connect to host '127.0.0.1': Connection refused.

Also, if I try and use TortoiseSVN to browse the repository externally
I get an error stating Error * Can't connect to host '192.168.0.10':
No connection could be made because the  target machine actively
refused it.

Does anyone have any idea what I could be doing wrong? I've been
reading the free O'Reilly Subversion book but I'm a bit clueless. I
suspect it's something to do with permissions on FreeBSD but I just
don't know enough about it =o)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tinybsd ports (dhcpd3)

2008-03-23 Thread Sys Admin
I suppose this is more a question on ports than on Tinybsd.

I'm trying to build a Tinybsd 0.9 system with DHCP-server (isc-dhcpd3)
and included it in tinybsd.ports file.  When the system builds though,
there is an on-screen configuration menu for the dhcpd3 port.  This
screen appears, but is not able to take keyboard input.  Ultimately,
it wasn't possible to configure anything, and the only thing I could
do was to hit enter and continue with the defaults.

Is there any way to circumvent this onscreen menu?

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


Re: bus_dmamem_alloc

2008-03-23 Thread Mr Y
Hi Mark,
Actualy I'm not getting any error from bus_dmamem_alloc, that's the strange
thing.
Yet printing the dma_map pointer shows 0 unless I use bus_dmamap_create
after bus_dmamem_alloc.
bus_mamap_load doesn't fail in both cases.

I'm working on an Ethernet driver for FreeBSD, pinging messages larger than
MTU crash the kernel at some point, I'm investigating the dma direction at
the moment.

--Yony


On Thu, Mar 20, 2008 at 7:29 PM, Mark Tinguely [EMAIL PROTECTED]
wrote:

   so I'm running:
 
   err =
   bus_dmamem_alloc(ring-dma_tag, ring-buf,
   BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW, ring-dma_map);
 
   but after calling bus_dmamem_allloc the dma_map variable is still NULL.
 is
   this OK?

 Sure, you are allocating with BUS_DMA_NOWAIT. err is probably equal to
 ENOMEM.

 If allocation size is larger than a PAGE_SIZE or specific alignment is
 require then contigmalloc() is called to satisfy the allocation.
 contigmalloc() can fail even when specifying WAITOK.

 --Mark Tinguely.

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


Re: Virtualized FreeBSD

2008-03-23 Thread Brian A. Seklecki (Mobile)


 Sorry, I meant virtualized as in a guest os under Xen.
 

I need to experiment with FreeBSD as a DomU guest under a Xen hypervisor
-- and it looks like NetBSD/amd64 is the only quality platform for Dom0
(function Xen DOM0, iSCSI, SMP, IPv6, VLANs, briding, pf(4), mfi(4),
PowerEdge 9th gen support)

I'll probably take a crack at this week.  Maybe build a bsd-appliance
image to compete with the Dell Viso soft-visor .
 
~~BAS 




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.


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


Re: ifconfig gif0 and rc.conf [was: Re: IP packet with options]

2008-03-23 Thread Kevin Downey
On Sun, Mar 23, 2008 at 5:35 AM, Malcolm Clarke
[EMAIL PROTECTED] wrote:
 Hi

  Does anyone know the IPv6 vesion of the command that would be of the form

  gifconfig_gif0=fec0::1 fec0::2

  that would set up the two physical ends of a tunnel?

  Sadly the above does not works as it does not recognise the IPv6 address
  as there is no

  ipv6_gifconfig_gif0=fec0::1 fec0::2

  to correspond to the command

  ifconfig gif0 inet6 tunnel src-addr dst_addr

  Regards

  Malcolm


sorry for the duplicate mail Malcolm, forgot to reply to the list as well.

the attached patch should let use the inet6 keyword.
example:

gifconfig_gif0=inet6 fec0::1 fec0::2






--- /etc/network.subr   2008-03-23 09:50:35.0 -0700
+++ /tmp/network.subr   2008-03-23 10:06:51.0 -0700
@@ -470,7 +470,6 @@
fi
done
 }
-
 gif_up() {
# The following must be removed once RELENG_7 is branched.
case ${gif_interfaces} in
@@ -486,6 +485,11 @@
'')
continue
;;
+   *inet6*)
+   ifconfig $i create /dev/null 21
+   ifconfig $i inet6 tunnel `echo ${peers} | cut -d \  -f 
2-`
+   ifconfig $i up
+   ;;
*)
ifconfig $i create /dev/null 21
ifconfig $i tunnel ${peers}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tinybsd ports (dhcpd3)

2008-03-23 Thread Tim Judd

Sys Admin wrote:

I suppose this is more a question on ports than on Tinybsd.

I'm trying to build a Tinybsd 0.9 system with DHCP-server (isc-dhcpd3)
and included it in tinybsd.ports file.  When the system builds though,
there is an on-screen configuration menu for the dhcpd3 port.  This
screen appears, but is not able to take keyboard input.  Ultimately,
it wasn't possible to configure anything, and the only thing I could
do was to hit enter and continue with the defaults.

Is there any way to circumvent this onscreen menu?

Thanks
Ashant
  
Running make config in the port dir before making Tinybsd should prevent 
it.  The config is saved under /var/db/ports.  If Tinybsd is doing 
standard port system commands (cd net/dhcp3-server; make install), it 
should pick up the existing config and go with it.


Or, running tinybsd with the enironment BATCH=yes will skip the port 
config, and build what is default if no config file exists.  This one 
you probably don't want, but if the above doesn't work, this is 
something else to try.  This may affect tinybsd in a way that is 
unpredictable though.


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


Re: How use and manage a Berkeley DB 1.85?

2008-03-23 Thread Martin Schweizer
Hello Nicolas

Sorry for the delay. I know Berkeley 1.85 from Cyrus SASL. If you install 
/ports/databases/db42 you get dump (to a text file)  and restore tools. They 
are called db42_... and are located in /usr/local/bin. In 
/usr/local/share/doc/db42 are some docs.

Regards,


Am Wed, Mar 12, 2008 at 11:05:30AM +0100 Nicolas Letellier schrieb:
 Hello,
 
 I have a db Berkeley DB 1.85. I have softwares which use it.
 I would like to know how manage it? How show all datas contained? How 
 delete a data? How insert a data?
 Is there a port to do this?
 
 
 Thanks.
 
 - Nicolas.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 

Martin Schweizer
[EMAIL PROTECTED]

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

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


Re: ifconfig gif0 and rc.conf [was: Re: IP packet with options]

2008-03-23 Thread Malcolm Clarke

Dear Kevin

Many thanks.

Maybe this can make it to the next release to fill a gap.

Regards

Malcolm


Kevin Downey wrote:


On Sun, Mar 23, 2008 at 5:35 AM, Malcolm Clarke
[EMAIL PROTECTED] wrote:
 


Hi

Does anyone know the IPv6 vesion of the command that would be of the form

gifconfig_gif0=fec0::1 fec0::2

that would set up the two physical ends of a tunnel?

Sadly the above does not works as it does not recognise the IPv6 address
as there is no

ipv6_gifconfig_gif0=fec0::1 fec0::2

to correspond to the command

ifconfig gif0 inet6 tunnel src-addr dst_addr

Regards

Malcolm

   



sorry for the duplicate mail Malcolm, forgot to reply to the list as well.

the attached patch should let use the inet6 keyword.
example:

gifconfig_gif0=inet6 fec0::1 fec0::2






--- /etc/network.subr   2008-03-23 09:50:35.0 -0700
+++ /tmp/network.subr   2008-03-23 10:06:51.0 -0700
@@ -470,7 +470,6 @@
fi
done
}
-
gif_up() {
# The following must be removed once RELENG_7 is branched.
case ${gif_interfaces} in
@@ -486,6 +485,11 @@
'')
continue
;;
+   *inet6*)
+   ifconfig $i create /dev/null 21
+   ifconfig $i inet6 tunnel `echo ${peers} | cut -d \  -f 
2-`
+   ifconfig $i up
+   ;;
*)
ifconfig $i create /dev/null 21
ifconfig $i tunnel ${peers}

 



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


Re: Subversion and FreeBSD permission problems

2008-03-23 Thread Giorgos Keramidas
On Sun, 23 Mar 2008 16:01:48 +, Darrell Blake [EMAIL PROTECTED] wrote:
 I'm fairly new to FreeBSD and SVN but myself and a few developer
 friends are undertaking a small project and I've been tasked with
 getting the source control working. I decided to use FreeBSD for the
 server for numerous reasons, stability and security among them. I'm no
 stranger to Unix, however, I've been using Linux for a long time.

 Anyway, my server is up and running and I've install svn via the ports
 system (acquire from portsnap). I have set up a repository in
 /usr/local/svn/repository via svnadmin create
 /usr/local/svn/repository and imported a test project into it via
 svn import TestProject file:///usr/local/svn/repository/TestProject.
 I then fired off the deamon server via svnserve -d -r
 /usr/local/svn/repository which all seems to have worked well.

 The thing is, I can't actually perform a checkout of the repository
 via the server.

 If I move into a temp directory and do svn checkout
 file:///usr/local/svn/repository/TestProject it works fine but if I
 do svn svn://127.0.0.1/TestProject I get an error stating svn:
 Can't connect to host '127.0.0.1': Connection refused.

When you run svnserve without a --listen-port option it listens by
default on port 3690.

Can you check with telnet to see if that port is accessible from remote
hosts?  If it isn't, are you running any firewall?

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


Re: Subversion and FreeBSD permission problems

2008-03-23 Thread David Kelly


On Mar 23, 2008, at 11:01 AM, Darrell Blake wrote:

If I move into a temp directory and do svn checkout
file:///usr/local/svn/repository/TestProject it works fine but if I
do svn svn://127.0.0.1/TestProject I get an error stating svn:
Can't connect to host '127.0.0.1': Connection refused.

Also, if I try and use TortoiseSVN to browse the repository externally
I get an error stating Error * Can't connect to host '192.168.0.10':
No connection could be made because the  target machine actively
refused it.



I suggest using svn+ssh: rather than svn:

Then so long as you can ssh into the machine you can do svn.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Very bad performance when using battery on my laptop with FB7

2008-03-23 Thread Oliver Herold
Hi

just a shoot into the dark, but did you set debug.cpufreq.lowest=1000 in
/etc/sysctl.conf? 1000 MHz is the lowest (usable) frequency of my
laptop.

Cheers,

Olier

Kemian Dang [EMAIL PROTECTED] wrote:
 Dear all,
 
 I have a Compaq laptop running FB7 stable.
 When I use battery, the system becomes very slow, there are even lag
 of the cursor.
 The load average would be 1 - 2, while the idle CPU is 99.0%.
 It would not change even I plug the ac power later.
 
 But if I reboot the machine whit ac power, everything would be OK.
 
 Any idea appreciated for what should I do to solve this ...
 
 Best wishes,
 Kemian
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
From the Pro 350 Pocket Service Guide, p. 49, Step 5 of the
instructions on removing an I/O board from the card cage, comes a new
experience in sound:

5.  Turn the handle to the right 90 degrees.  The pin-spreading
sound is normal for this type of connector.


pgpmfsW2XQHGQ.pgp
Description: PGP signature


Re: Virtualized FreeBSD

2008-03-23 Thread Outback Dingo
Ive been there, you wount get very far XEN FreeBSD isnt quite there yet,
itll boot but doing much else wth it, ie compiling things is highly
questionable, hit or miss at best but they are working on it time will
tell

On Sun, Mar 23, 2008 at 11:49 PM, Brian A. Seklecki (Mobile) 
[EMAIL PROTECTED] wrote:



  Sorry, I meant virtualized as in a guest os under Xen.
 

 I need to experiment with FreeBSD as a DomU guest under a Xen hypervisor
 -- and it looks like NetBSD/amd64 is the only quality platform for Dom0
 (function Xen DOM0, iSCSI, SMP, IPv6, VLANs, briding, pf(4), mfi(4),
 PowerEdge 9th gen support)

 I'll probably take ,a crack at this week.  Maybe build a bsd-appliance
 image to compete with the Dell Viso soft-visor .

 ~~BAS




 IMPORTANT: This message contains confidential information and is intended
 only for the individual named. If the reader of this message is not an
 intended recipient (or the individual responsible for the delivery of this
 message to an intended recipient), please be advised that any re-use,
 dissemination, distribution or copying of this message is prohibited. Please
 notify the sender immediately by e-mail if you have received this e-mail by
 mistake and delete this e-mail from your system.


 ___
 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: bus_dmamem_alloc

2008-03-23 Thread Mark Tinguely
  Actualy I'm not getting any error from bus_dmamem_alloc, that's the strange
  thing.
  Yet printing the dma_map pointer shows 0 unless I use bus_dmamap_create
  after bus_dmamem_alloc.
  bus_mamap_load doesn't fail in both cases.

  I'm working on an Ethernet driver for FreeBSD, pinging messages larger than
  MTU crash the kernel at some point, I'm investigating the dma direction at
  the moment.

  --Yony

Maybe you could show a sequence of the code (bus_dma_tag_create(),
 bus_dmamem_alloc() etc).

--Mark Tinguely.

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


sudo mkextcache?

2008-03-23 Thread Jeffrey Ellis
Hi--

I¹m trying to make a bootable clone of my startup drive, and read Mike
Bombich¹s instructions on how to do this.

He includes the following line as the last step in the process:

Finally, recreate the kernel extension cache for the CD:

sudo mkextcache -t ppc -d \
/Volumes/Rescue/System/Library/Extensions \
-o /Volumes/Rescue2/System/Library/Extensions.mkext

That doesn¹t look like a command to me. Anyone know what he¹s trying to do
here?

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


Re: sudo mkextcache?

2008-03-23 Thread Tim Judd

Jeffrey Ellis wrote:

Hi--

I¹m trying to make a bootable clone of my startup drive, and read Mike
Bombich¹s instructions on how to do this.

He includes the following line as the last step in the process:

Finally, recreate the kernel extension cache for the CD:

sudo mkextcache -t ppc -d \
/Volumes/Rescue/System/Library/Extensions \
-o /Volumes/Rescue2/System/Library/Extensions.mkext

That doesn¹t look like a command to me. Anyone know what he¹s trying to do
here?

Thanks :)
  

/Volumes looks like a OSX layout.

posting the URI might help others looking too.

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


Re: List replies

2008-03-23 Thread Tore Lund
Giorgos Keramidas wrote:
 [snip]
 We don't accept email only from lurkers.  The mailing list is  also
 advertized as the official place to ask questions in CD-ROMs provided by
 vendors, in our documentation, on magazines, conferences, and so on.

The normal thing on all other forums that I have heard of - and that
includes Usenet - is that you have to go back to the forum to pick up
answers to your question.  The mechanism that you defend represents a
break with established practice for most computer users.  I have heard
all the arguments many times over, and I don't buy them.  I think it
would be better to direct newbies to comp.unix.bsd.freebsd.misc, which
at least has a predictable interface.  (For instance, you don't risk
missing the rest of a discussion because someone decides to prune the
headers.)

 We don't want to make it _obligatory_ to subscribe, because this would
 alienate users who are too new to the Internet to be familiar with
 lists, subscriptions, and similar 'filtering' things.

There is a touching concern for newbies in all this, which is out of
step with the somewhat edgy aspect of FreeBSD that most of you seem to
embrace in other connections.  And the bottom line is that most newbies
end up elsewhere.  If making FreeBSD more popular is a priority, there
is long list of issues that are more vital than this detail that we are
discussing in this thread.

Happy Easter!
-- 
Tore



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


Flash doesn't work in Opera

2008-03-23 Thread Niels Kobschaetzki
Hi!

I installed Opera and opera-linuxplugins. While Flash works on Firefox w/out 
any problems it doesn't work in opera.
When I start Opera I get this message:

Opera encountered a problem during plug-in setup.
Plug-ins will not work properly.
Check your installation.

Could not start plug-in executable 'operapluginwrapper'


Searched directory:

/usr/local/share/opera/bin/

operapluginwrapper is in the mentioned directory and the permissions are 755. 
Any ideas how I can solve the problem?

Niels

-- 
Niels Kobschaetzki [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: mpd pptp server?

2008-03-23 Thread Alex de Kruijff
On Wed, Mar 19, 2008 at 12:43:58AM +0100, Jon Theil Nielsen wrote:
 I have tried some different ways to make a working VPN server on FreeBSD 7.0.
 The main goal is to make it possible for Windows clients to access their
 Samba home shares. I'm not sure if mpd is the best solution, but I will give
 it a try.
 I have installed /usr/ports/mpd4 and have the following configuration:

I run openvpn on FreeBSD and Windows XP.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Xorg crashing randomly

2008-03-23 Thread Ghirai
Hello list,

Lately Xorg (log file says X.Org X Server 1.4.0') seems to crap out randomly,
sometimes after a few hours, sometimes after a few days.

I'm running 7.0-RELEASE, custom kernel (ULE scheduler and unneeded drivers 
removed, everything else is default), and nvidia driver (latest).

There's nothing in messages, nor in the xorg log file, except:

---
Fatal server error:
Caught signal 11.  Server aborting
---

I don't know what other info i should give, there isn't much (if anything) in 
the log files.

I might add that i've tested the RAM, plus the rest of the system is ok.

Any ideas are appreciated.

Thanks.

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


Re: List replies

2008-03-23 Thread Giorgos Keramidas
On Sun, 23 Mar 2008 20:53:54 +0100, Tore Lund [EMAIL PROTECTED] wrote:
 Giorgos Keramidas wrote:
 [snip]
 We don't accept email only from lurkers.  The mailing list is  also
 advertized as the official place to ask questions in CD-ROMs provided by
 vendors, in our documentation, on magazines, conferences, and so on.

 The normal thing on all other forums that I have heard of - and that
 includes Usenet - is that you have to go back to the forum to pick up
 answers to your question.

The `normal' thing is defined only on a per-forum basis, however.  What
other forums do is not `The Law', and the opposite of what you are
trying to defend has been wide-spread practice in all the mailing lists
of FreeBSD and in many other free and open source projects I am
contributing to for more than 15 years or so.

I would be surprised if that were the case, but I think we must have
been using different alter egos of the Internet until we met here ;-)

 The mechanism that you defend represents a break with established
 practice for most computer users.

I'm not sure replying only to the list is `established practice for most
computer users'.  So I can't agree that this is a valid argument for
switching what we have been doing in freebsd-questions for the past 10
years or so that I'm subscribed.

 I have heard all the arguments many times over, and I don't buy them.
 I think it would be better to direct newbies to
 comp.unix.bsd.freebsd.misc, which at least has a predictable
 interface.  (For instance, you don't risk missing the rest of a
 discussion because someone decides to prune the headers.)

The header trimming and its dangers seem to be an argument exactly for
the _opposite_ of what you are suggesting.  By posting a reply only to
the list the user runs the risk of missing even the _first_ reply ever!

I'm sorry, but it's me who doesn't feel inclined to buy into any of the
arguments presented so far.

- Giorgos

___
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 uninstall a flash port.

2008-03-23 Thread Eduardo Cerejo

  I installed the Linux flash9 port on a new 7.0 box to work with 
  SeaMonkey and it dies when it reaches flash using sites.
 
  How can I de-install this port with out causing problems to other 
  programs?
 
  I cant find it in the  handbook how to's.   Im I missing something?
 
  Thanks...
  
  by the way you can use linux-flash7 instead and if you are using the 
  native FreeBSD firefox and not linux-firefox you have to install and 
  use nspluginwrapper or else it will not work, your second alternative 
  is gnash which works natively with firefox.  To use nspluginwrapper 
  you would have to run this after the install.
  nspluginwrapper -i 
  /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
  remember for the linux plugins to embed on the native firefox they 
  need some kind of wrapper.  Flashplugin9 will not work with native 
  firefox or linux-firefox and I think it's because the linux emulator 
  uses an old version of linux so we have to wait until it changes to a 
  more current version.
 
  Sorry not a response to the OP but hopefully useful correction:
 
  %uname -sr
  FreeBSD 7.0-STABLE
  %pkg_info -Ix firefox
  firefox-2.0.0.12_1,1 Web browser based on the browser portion of Mozilla
  %pkg_info -Ix plugin
  linux-flashplugin-9.0r115 Adobe Flash Player NPAPI Plugin
  nspluginwrapper-0.9.91.5 A compatibility plugin for Netscape 4 (NPAPI) 
  plugins
  ...
 
  I don't actually see a lot of flash as I have flashblock installed but I 
  can't recall having probs when I have chosen to view it, except it still 
  doesn't work with youtube. I've just installed wine and win32 
  firefox+flashplugin for youtube and bbc iplayer and that works fine.
  
  Are you trying to tell me that you got flash 9 working?  I sure would like 
  to know how to get it working without crashing.
 
 Yes though like I say I also use flashblock so I only see the flash I 
 want to.  I'm moving house at the moment so I can't try and recreate my 
 steps to install it but it was something like:
 
 install firefox, linux-flashplugin9, nspluginwrapper from ports
 locate libflashplayer.so
 run nspluginwrapper
 
 I'll try running without flashblock for a while and see what happens.
 
 Chris

What linux emulator are you running?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports fetch timeout

2008-03-23 Thread Sys Admin
I've been trying to install a bunch of packages on a freshly built
7.0-REL machine.  The ports make install command has been
consistently failing to download files from ftp servers on Internet.
I can however ftp to the servers and get the files manually into
/usr/ports/distfiles directory, and then the port installation is able
to continue just fine.

I have no firewall on my network and as seen above, am able to FTP
files down using the command-line ftp client.

Is there any fetch related setting that's preventing the downloads?
Or are there any environment variables to be configured for this to
work?  Any config for the ports sub-system?

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


Re: Subversion and FreeBSD permission problems

2008-03-23 Thread Mark G.

David Kelly wrote:


On Mar 23, 2008, at 11:01 AM, Darrell Blake wrote:

If I move into a temp directory and do svn checkout
file:///usr/local/svn/repository/TestProject it works fine but if I
do svn svn://127.0.0.1/TestProject I get an error stating svn:
Can't connect to host '127.0.0.1': Connection refused.

Also, if I try and use TortoiseSVN to browse the repository externally
I get an error stating Error * Can't connect to host '192.168.0.10':
No connection could be made because the  target machine actively
refused it.


What does the output of `sockstat -4` look like?  It should
list the SVN server's listening port.




I suggest using svn+ssh: rather than svn:

Then so long as you can ssh into the machine you can do svn.



Here is a short paper I wrote about SVN over SSH on FreeBSD.

https://www.giovannetti.ca/bsd/SubversionOnFreeBSDWithSSH.pdf

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


Build: mtree: line 48: unknown group games

2008-03-23 Thread Kyrre Nygård
mtree: line 48: unknown group games
*** Error code 1

Is the games account really that important?

Thanks,
Kyrre


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


Re: mpd pptp server?

2008-03-23 Thread Jon Theil Nielsen
2008/3/23, Alex de Kruijff [EMAIL PROTECTED]:

 On Wed, Mar 19, 2008 at 12:43:58AM +0100, Jon Theil Nielsen wrote:
  I have tried some different ways to make a working VPN server on FreeBSD
 7.0.
  The main goal is to make it possible for Windows clients to access their
  Samba home shares. I'm not sure if mpd is the best solution, but I will
 give
  it a try.
  I have installed /usr/ports/mpd4 and have the following configuration:

 I run openvpn on FreeBSD and Windows XP.

 --
 Alex

I have now succeeded in establishing connections from Windows to a VPN
server based on mpd4. But it has some severe limitations: I have to define
every single connection in the conf file (not a major problem). And I don't
see any option to authenticate against neither UNIX or Samba passwords. Is
that different through openvpn? Could you give some brief hints on the
configuration or maybe a reference to a useful howto?

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


OT: (Way OT) PHP and MySQL concurrency control using MyISAM tables

2008-03-23 Thread Da Rock
I know this is not quite the list for these things, but I tried the PHP
list and got no reply whatsoever. In fact, I don't think anyone's home
cause the entire list is silent...

I'm trying to setup a system using web apps in PHP using MySQL as the
backend database, only this time I need transaction services. According
to the PHP manual if a transaction is served for MySQL it can come back
as committed even though it may not. So what I'm trying to accomplish is
develop some row level locking with the PHP script.

I enquired about setting up a servlet (for want of a better term) with
PHP, something that will serve the requests of the rest of the app. To
be honest though, I'm not entirely sure how to approach this.

Any ideas would be very welcome.

Cheers

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


Timezone problem

2008-03-23 Thread fred
Hello everyone,

 

First of all, sorry for the terrible English I will do my best, also I don't
have much programming knowledge only some PHP.

 

I am having issues with a software that I run on my FreeBSD server
(6.2-RELEASE). Here is a simple demonstration of the problem:

 

This code:

 

// CODE START

#include stdio.h

#include time.h

 

int main() {

extern long timezone1;

 

tzset();

 

printf(timezone is %d\n, timezone);

printf(tzname[0] is %s\n, tzname[0]);

printf(tzname[1] is %s\n, tzname[1]);

return 0;

}

// CODE END

 

 

Give this result:

 

timezone is 134513672

tzname[0] is EST

tzname[1] is EDT

 

 

The value of timezone should be 14400 which is the difference between my
timezone (EDT) and UTC in seconds. This problem only appeared when we went
from EST to EDT (daylight saving time) on march 9th. Anyone knows why I am
getting 134513672 ?

 

Here is some more information about my system:

 

# date

Sat Mar 22 15:24:42 EDT 2008

# date -u

Sat Mar 22 19:24:45 UTC 2008

# gcc -v

Using built-in specs.

Configured with: FreeBSD/i386 system compiler Thread model: posix gcc
version 3.4.6 [FreeBSD] 20060305

# uname -a

FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

 

 

Thank for the help!

 

-fred

 

 

 

 

 

___
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 uninstall a flash port.

2008-03-23 Thread Chris Whitehouse

Eduardo Cerejo wrote:
I installed the Linux flash9 port on a new 7.0 box to work with 
SeaMonkey and it dies when it reaches flash using sites.


How can I de-install this port with out causing problems to other 
programs?


I cant find it in the  handbook how to's.   Im I missing something?

Thanks...

by the way you can use linux-flash7 instead and if you are using the 
native FreeBSD firefox and not linux-firefox you have to install and 
use nspluginwrapper or else it will not work, your second alternative 
is gnash which works natively with firefox.  To use nspluginwrapper 
you would have to run this after the install.
nspluginwrapper -i 
/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
remember for the linux plugins to embed on the native firefox they 
need some kind of wrapper.  Flashplugin9 will not work with native 
firefox or linux-firefox and I think it's because the linux emulator 
uses an old version of linux so we have to wait until it changes to a 
more current version.



Sorry not a response to the OP but hopefully useful correction:

%uname -sr
FreeBSD 7.0-STABLE
%pkg_info -Ix firefox
firefox-2.0.0.12_1,1 Web browser based on the browser portion of Mozilla
%pkg_info -Ix plugin
linux-flashplugin-9.0r115 Adobe Flash Player NPAPI Plugin
nspluginwrapper-0.9.91.5 A compatibility plugin for Netscape 4 (NPAPI) 
plugins

...

I don't actually see a lot of flash as I have flashblock installed but I 
can't recall having probs when I have chosen to view it, except it still 
doesn't work with youtube. I've just installed wine and win32 
firefox+flashplugin for youtube and bbc iplayer and that works fine.

Are you trying to tell me that you got flash 9 working?  I sure would like to 
know how to get it working without crashing.
Yes though like I say I also use flashblock so I only see the flash I 
want to.  I'm moving house at the moment so I can't try and recreate my 
steps to install it but it was something like:


install firefox, linux-flashplugin9, nspluginwrapper from ports
locate libflashplayer.so
run nspluginwrapper

I'll try running without flashblock for a while and see what happens.

Chris


What linux emulator are you running?


Sorry i've packed my computer :( but it is whatever comes as standard in 
7.0R or ports upgraded very soon afterwards.


Chris


___
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: List replies

2008-03-23 Thread perryh
 There is a touching concern for newbies in all this, which is out
 of step with the somewhat edgy aspect of FreeBSD that most of you
 seem to embrace in other connections.  And the bottom line is that
 most newbies end up elsewhere.  If making FreeBSD more popular is
 a priority, there is long list of issues that are more vital than
 this detail that we are discussing in this thread.

Given that the project is run almost entirely by volunteers,
I suppose some disconnects are inevitable.  One example:  it's
considered very important for questions@ to be newbie-friendly,
to the point of accepting posts from non-subscribers, but it's
*not* considered important to tune up sysinstall to prevent
botches like installing a system that can't be booted because
it has no kernel.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: media conversion utilities in the ports

2008-03-23 Thread fbsd

Robert Huff wrote:

=?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?= writes:

  

  A few quick searches on freshports.org didn't turn up much so I'm
  hoping that the knowledge here will eclipse it.  Are there any good,
  or workable, scriptable WMA to MP3 converter programs in ports?
 
 Mplayer pretends it can handle WMA files, however I did not try this 
 feature. See multimedia/mplayer, it installs an `mencoder' program you 
 might be interested in.



In my experience, mplayer has been able to handle WMA files
... _except_ for those that require Windows Media Player 10 due to
DRM.
(If someone knows how to get mplayer over that obstacle, please
share.)


Robert Huff


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


  

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


Re: OT: (Way OT) PHP and MySQL concurrency control using MyISAM tables

2008-03-23 Thread Bill Moran
Da Rock [EMAIL PROTECTED] wrote:

 I know this is not quite the list for these things, but I tried the PHP
 list and got no reply whatsoever. In fact, I don't think anyone's home
 cause the entire list is silent...
 
 I'm trying to setup a system using web apps in PHP using MySQL as the
 backend database, only this time I need transaction services. According
 to the PHP manual if a transaction is served for MySQL it can come back
 as committed even though it may not. So what I'm trying to accomplish is
 develop some row level locking with the PHP script.
 
 I enquired about setting up a servlet (for want of a better term) with
 PHP, something that will serve the requests of the rest of the app. To
 be honest though, I'm not entirely sure how to approach this.

Wow.  That's one crazy attempt at a workaround.

The correct solution is to use the correct tool for the job.  Either
install PostgreSQL and use it instead, or use InnoDB tables.

-- 
Bill Moran
http://www.potentialtech.com
___
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-23 Thread Novembre
On Thu, Mar 20, 2008 at 10:34 PM, Peter Boosten [EMAIL PROTECTED] wrote:


  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



I did a  portupgrade -rf gnutls  and it compiled a lot of the ports
and finally fixed the problem. However, I'm wondering why the release
notes suggest doing a  portupgrade -faP  if it's not going to
upgrade the installed ports in the correct way?

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


Re: Subversion and FreeBSD permission problems

2008-03-23 Thread Darrell Blake
I'm SSHing to my server from my desktop as I haven't actually got a
monitor on the server but when I do a sockstat I get the following
output regarding svn:

svusersvnserve   846   3  tcp6   *:3690*:*

When I try and do telnet 127.0.0.1 3690 on the server I get...

telnet: connect to address 127.0.0.1: Connection refused.
telnet: Unable to connect to remote host

...and if I try and do telnet 192.168.0.10 3690 from my desktop I get...

Connecting To 192.168.0.10...Could not open connection to the host, on port 3690
: Connect failed

I'm not opposed to using SVN via SSH but I'd kind like to get a
vanilla SVN server going first. It's becoming an unusually steep
learning curve =o)


On Sun, Mar 23, 2008 at 8:34 PM, Mark G.
[EMAIL PROTECTED] wrote:
 David Kelly wrote:
  
   On Mar 23, 2008, at 11:01 AM, Darrell Blake wrote:
   If I move into a temp directory and do svn checkout
   file:///usr/local/svn/repository/TestProject it works fine but if I
   do svn svn://127.0.0.1/TestProject I get an error stating svn:
   Can't connect to host '127.0.0.1': Connection refused.
  
   Also, if I try and use TortoiseSVN to browse the repository externally
   I get an error stating Error * Can't connect to host '192.168.0.10':
   No connection could be made because the  target machine actively
   refused it.

  What does the output of `sockstat -4` look like?  It should
  list the SVN server's listening port.


  
  
   I suggest using svn+ssh: rather than svn:
  
   Then so long as you can ssh into the machine you can do svn.
  

  Here is a short paper I wrote about SVN over SSH on FreeBSD.

  https://www.giovannetti.ca/bsd/SubversionOnFreeBSDWithSSH.pdf

  Mark

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


Re: Fork bomb immune to limits for user.

2008-03-23 Thread Bill Moran
Michal Garbowski [EMAIL PROTECTED] wrote:

 Hello,
 
 I've the question, to the bug report: 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=121949 .
 
 Is there any limit, (which I didn't wrote in PR), which can stop gives 
 memory for user (not root) in fBSD ?

Can't help you much here because I can't reproduce the problem.  I compiled
your program and ran it and I was still able to use the system just fine
as it was scrolling numbers past.  I was also able to CTRL-C the program
from the terminal and it stopped without any problems.  Nor did I see
any unusual memory usage.

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


Re: OT: (Way OT) PHP and MySQL concurrency control using MyISAM tables

2008-03-23 Thread Da Rock

On Sun, 2008-03-23 at 19:17 -0400, Bill Moran wrote:
 Da Rock [EMAIL PROTECTED] wrote:
 
  I know this is not quite the list for these things, but I tried the PHP
  list and got no reply whatsoever. In fact, I don't think anyone's home
  cause the entire list is silent...
  
  I'm trying to setup a system using web apps in PHP using MySQL as the
  backend database, only this time I need transaction services. According
  to the PHP manual if a transaction is served for MySQL it can come back
  as committed even though it may not. So what I'm trying to accomplish is
  develop some row level locking with the PHP script.
  
  I enquired about setting up a servlet (for want of a better term) with
  PHP, something that will serve the requests of the rest of the app. To
  be honest though, I'm not entirely sure how to approach this.
 
 Wow.  That's one crazy attempt at a workaround.
 
 The correct solution is to use the correct tool for the job.  Either
 install PostgreSQL and use it instead, or use InnoDB tables.
 

Actually, I think I may have got some facts confused here- I thought
that MyISAM was not supposed to be transaction supported, but according
to most stuff I've read it supports table level transaction locking.

And the PHP manual says it will only come back with a false commit IF
the table DOESN'T support transactions at all.

So what is the truth here? If MyISAM supports transaction table locking
I may be ok here- and save myself a hell of a lot of trouble to boot.

Thanks guys, again.

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


Re: OT: (Way OT) PHP and MySQL concurrency control using MyISAM tables

2008-03-23 Thread Patrick C
MyISAM supports locking (like all engines) but not transactions. Without
transactions, you can do a lock lock a table or tables, and unlock them,
however you cannot roll back statements -- so if a statement down the line
fails for some reason there is no way to rollback and undo past statements
(automagically at least)

The simple solution is to use InnoDB, which supports Good Things you want -
it's more scalable across multiple threads, row-level locking, transactions,
foreign keys, etc.

The differences are fairly well documented. It sounds like you're using PDO,
please read up on auto-commit mode. Don't reinvent the wheel, especially
when the wheel is already built better than you could hack out a replacement
for it :)

-Patrick

On 23/03/2008, Da Rock [EMAIL PROTECTED] wrote:


 On Sun, 2008-03-23 at 19:17 -0400, Bill Moran wrote:
  Da Rock [EMAIL PROTECTED] wrote:
  
   I know this is not quite the list for these things, but I tried the
 PHP
   list and got no reply whatsoever. In fact, I don't think anyone's home
   cause the entire list is silent...
  
   I'm trying to setup a system using web apps in PHP using MySQL as the
   backend database, only this time I need transaction services.
 According
   to the PHP manual if a transaction is served for MySQL it can come
 back
   as committed even though it may not. So what I'm trying to accomplish
 is
   develop some row level locking with the PHP script.
  
   I enquired about setting up a servlet (for want of a better term) with
   PHP, something that will serve the requests of the rest of the app. To
   be honest though, I'm not entirely sure how to approach this.
 
  Wow.  That's one crazy attempt at a workaround.
 
  The correct solution is to use the correct tool for the job.  Either
  install PostgreSQL and use it instead, or use InnoDB tables.
 


 Actually, I think I may have got some facts confused here- I thought
 that MyISAM was not supposed to be transaction supported, but according
 to most stuff I've read it supports table level transaction locking.

 And the PHP manual says it will only come back with a false commit IF
 the table DOESN'T support transactions at all.

 So what is the truth here? If MyISAM supports transaction table locking
 I may be ok here- and save myself a hell of a lot of trouble to boot.

 Thanks guys, again.


 ___
 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: Subversion and FreeBSD permission problems

2008-03-23 Thread Mark G.

Hi Darrell,

Please don't top post.  Further help follows.

Darrell Blake wrote:

I'm SSHing to my server from my desktop as I haven't actually got a
monitor on the server but when I do a sockstat I get the following
output regarding svn:

svusersvnserve   846   3  tcp6   *:3690*:*

When I try and do telnet 127.0.0.1 3690 on the server I get...

telnet: connect to address 127.0.0.1: Connection refused.
telnet: Unable to connect to remote host

...and if I try and do telnet 192.168.0.10 3690 from my desktop I get...

Connecting To 192.168.0.10...Could not open connection to the host, on port 3690
: Connect failed

I'm not opposed to using SVN via SSH but I'd kind like to get a
vanilla SVN server going first. It's becoming an unusually steep
learning curve =o)




I wonder if you have inetd running and intercepting these
connections--not likely, but you can check.

Have you gone through the /path-to-repository/conf/svnserve.conf
file and twiddled with any of the settings in there?

Check man svnserve.conf and man svnserve (there's a debug setting
for the server that might provide some clues as to why connections
are failing).  Particularly, in svnserve.conf(5) is:

  anon-access = none|read|write
  Determines the access  level  for  unauthenticated  users.   write
  access  allows  all repository operations.  read access allows all
  operations except committing  and  changing  revision  properties.
  none access allows no access.  The default level is read.

   auth-access = none|read|write ...

Mark





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


Re: OT: (Way OT) PHP and MySQL concurrency control using MyISAM tables

2008-03-23 Thread Paul Schmehl
--On March 24, 2008 9:03:35 AM +1000 Da Rock 
[EMAIL PROTECTED] wrote:



I know this is not quite the list for these things, but I tried the PHP
list and got no reply whatsoever. In fact, I don't think anyone's home
cause the entire list is silent...

I'm trying to setup a system using web apps in PHP using MySQL as the
backend database, only this time I need transaction services. According
to the PHP manual if a transaction is served for MySQL it can come back
as committed even though it may not. So what I'm trying to accomplish is
develop some row level locking with the PHP script.

I enquired about setting up a servlet (for want of a better term) with
PHP, something that will serve the requests of the rest of the app. To
be honest though, I'm not entirely sure how to approach this.

Any ideas would be very welcome.



Following list etiquette, I'm replying to you and the list.

I believe that postgresql has transaction locking.  You might consider 
using it instead.  Mysql is supposed to have transaction locking in 
version 5.1, but I haven't tested it and don't know how robust it is.


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

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


Re: Very bad performance when using battery on my laptop with FB7

2008-03-23 Thread Kemian Dang
Thanks for reply, but this does not work, it is still slow.

I get some output from sysctl:
%sysctl -a |grep freq
kern.acct_chkfreq: 15
kern.timecounter.tc.i8254.frequency: 1193182
kern.timecounter.tc.ACPI-safe.frequency: 3579545
kern.timecounter.tc.HPET.frequency: 2500
kern.timecounter.tc.TSC.frequency: 1808243242
net.inet.sctp.sack_freq: 2
debug.cpufreq.verbose: 0
debug.cpufreq.lowest: 1000
machdep.tsc_freq: 1808243242
machdep.i8254_freq: 1193182
machdep.acpi_timer_freq: 3579545
dev.cpu.0.freq: 1800
dev.cpu.0.freq_levels: 1800/35000 1600/28347 1400/24803 1200/21260 1000/17716
dev.powernow.0.freq_settings: 1800/35000 1600/28347 800/8227
dev.powernow.1.freq_settings: 1800/35000 1600/28347 800/8227
dev.cpufreq.0.%driver: cpufreq
dev.cpufreq.0.%parent: cpu0
dev.cpufreq.1.%driver: cpufreq
dev.cpufreq.1.%parent: cpu1
dev.acpi_throttle.0.freq_settings: 1/-1 8750/-1 7500/-1 6250/-1
5000/-1 3750/-1 2500/-1 1250/-1

Any ideas, thanks.

Best wishes,
Kemian

On 23/03/2008, Oliver Herold [EMAIL PROTECTED] wrote:
 Hi

  just a shoot into the dark, but did you set debug.cpufreq.lowest=1000 in
  /etc/sysctl.conf? 1000 MHz is the lowest (usable) frequency of my
  laptop.

  Cheers,

  Olier


  Kemian Dang [EMAIL PROTECTED] wrote:
   Dear all,
  
   I have a Compaq laptop running FB7 stable.
   When I use battery, the system becomes very slow, there are even lag
   of the cursor.
   The load average would be 1 - 2, while the idle CPU is 99.0%.
   It would not change even I plug the ac power later.
  
   But if I reboot the machine whit ac power, everything would be OK.
  
   Any idea appreciated for what should I do to solve this ...
  
   Best wishes,
   Kemian

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


  --
  From the Pro 350 Pocket Service Guide, p. 49, Step 5 of the
  instructions on removing an I/O board from the card cage, comes a new
  experience in sound:

 5.  Turn the handle to the right 90 degrees.  The pin-spreading
 sound is normal for this type of connector.


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


Re: Subversion and FreeBSD permission problems

2008-03-23 Thread Mark G.

Hi again,

Darrell Blake wrote:

I'm SSHing to my server from my desktop as I haven't actually got a
monitor on the server but when I do a sockstat I get the following
output regarding svn:

svusersvnserve   846   3  tcp6   *:3690*:*



I just noticed the 'tcp6' in the above line.  Looks like your
svn server is listening on an IP version 6 address.  It won't
answer a request made from an IP version 4 address (it can't
even see it), which is what 127.0.0.1 and 192.168.*.* are.

Does the output to 'sockstat -4' show any services?  Note the
-4 option restricts sockstat's output to IP v4 addresses.

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


Re: Laptop advice

2008-03-23 Thread Fred C

On Mar 21, 2008, at 6:48 AM, Derek Ragona wrote:


At 04:56 AM 3/21/2008, Joe Demeny wrote:

I need to get a budget-priced laptop, such as one of these:

http://www.newegg.com/Product/Product.aspx?Item=N82E16834101123
http://www.newegg.com/Product/Product.aspx?Item=N82E16834114430

Does anyone have experience with these?

Any suggestions for other comparable choices?


I would choose the Toshiba, much better quality and support.  You  
may want to look at Lenovo's too.


In a laptop I would look at the graphics if you plan to run X.


In laptops you want to look at everything. If one of the chipset is  
not supported or badly you cannot like on a desktop change a component  
by an another.


You want to go here http://www.freebsd.org/releases/7.0R/hardware.html  
and search if every component of you laptop is supported.


-fred-


--
Fred C!
PGP-KeyID: E7EA02EC3B487EE9
PGP-FingerPrint: A906101E2CCDBB18D7BD09AEE7EA02EC3B487EE9



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


Re: Timezone problem

2008-03-23 Thread Jonathan Chen
On Sun, Mar 23, 2008 at 04:05:39PM -0400, fred wrote:

[...]
 The value of timezone should be 14400 which is the difference between my
 timezone (EDT) and UTC in seconds. This problem only appeared when we went
 from EST to EDT (daylight saving time) on march 9th. Anyone knows why I am
 getting 134513672 ?

The obvious question is:

Have you updated your system for latest daylight savings changes?

-- 
Jonathan Chen [EMAIL PROTECTED]
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
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-23 Thread Chad Perrin
On Sun, Mar 23, 2008 at 09:10:04AM +1000, Da Rock wrote:
 
 On Sat, 2008-03-22 at 14:58 -0700, Matthew Woodson wrote:
  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?
 
 Go to the download section of the site and download the iso files. Once
 you have those, double click on them and burn them to disk.

Last I checked, the MS Windows built-in CD burning software didn't do
burning from an image -- you'd need third-party software.  Burning an ISO
without such software would just result in a copy of the ISO on the CD,
rather than a CD that would boot up an installer.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
McCloctnick the Lucid: The first rule of magic is simple. Don't waste your
time waving your hands and hopping when a rock or a club will do.
___
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-23 Thread Da Rock

On Sun, 2008-03-23 at 19:51 -0600, Chad Perrin wrote:
 On Sun, Mar 23, 2008 at 09:10:04AM +1000, Da Rock wrote:
  
  On Sat, 2008-03-22 at 14:58 -0700, Matthew Woodson wrote:
   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?
  
  Go to the download section of the site and download the iso files. Once
  you have those, double click on them and burn them to disk.
 
 Last I checked, the MS Windows built-in CD burning software didn't do
 burning from an image -- you'd need third-party software.  Burning an ISO
 without such software would just result in a copy of the ISO on the CD,
 rather than a CD that would boot up an installer.
 

Which software were you using and how long ago? I've used Roxio, Nero,
and Easy CD Creator- all of which did that. Most bundled burning
software will do it automatically. They offer burn from cd/dvd  image,
as well as data cd creation, so when you double click on an iso file it
sets up to burn the image for you.

If you haven't got the bundled software installed I agree with you
though. Fairly uncommon though.

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


Re: Subversion and FreeBSD permission problems

2008-03-23 Thread Giorgos Keramidas
On Sun, 23 Mar 2008 23:13:12 +, Darrell Blake [EMAIL PROTECTED] wrote:
 I'm SSHing to my server from my desktop as I haven't actually got a
 monitor on the server but when I do a sockstat I get the following
 output regarding svn:

 svusersvnserve   846   3  tcp6   *:3690*:*

 When I try and do telnet 127.0.0.1 3690 on the server I get...

 telnet: connect to address 127.0.0.1: Connection refused.
 telnet: Unable to connect to remote host

 ...and if I try and do telnet 192.168.0.10 3690 from my desktop I get...

 Connecting To 192.168.0.10...Could not open connection to the host, on port 
 3690
 : Connect failed

Ok, now is a good time to check your firewall ruleset :)

It looks like you are blocking incoming connections to the
svnserve port.

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


RE: Timezone problem

2008-03-23 Thread fred
Yes, I have applied this patch:

http://security.freebsd.org/advisories/FreeBSD-EN-07:04.zoneinfo.asc

I have also installed this port:

/usr/ports/misc/zoneinfo

Which installs :

tzdata2008a.tar.gz

And I have obviously ran tzsetup, rebooted, but the problem persists.

Thanks for help

-fred

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Chen
Sent: 23 mars 2008 20:57
To: fred
Cc: freebsd-questions@freebsd.org
Subject: Re: Timezone problem

On Sun, Mar 23, 2008 at 04:05:39PM -0400, fred wrote:

[...]
 The value of timezone should be 14400 which is the difference between
my
 timezone (EDT) and UTC in seconds. This problem only appeared when we went
 from EST to EDT (daylight saving time) on march 9th. Anyone knows why I am
 getting 134513672 ?

The obvious question is:

Have you updated your system for latest daylight savings changes?

-- 
Jonathan Chen [EMAIL PROTECTED]
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
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]


VPN setup with OpenVPN (was: mpd pptp server?)

2008-03-23 Thread Alex de Kruijff
On Sun, Mar 23, 2008 at 10:45:57PM +0100, Jon Theil Nielsen wrote:
 2008/3/23, Alex de Kruijff [EMAIL PROTECTED]:
  On Wed, Mar 19, 2008 at 12:43:58AM +0100, Jon Theil Nielsen wrote:
   I have tried some different ways to make a working VPN server on FreeBSD
  7.0.
   The main goal is to make it possible for Windows clients to access their
   Samba home shares. I'm not sure if mpd is the best solution, but I will
  give
   it a try.
   I have installed /usr/ports/mpd4 and have the following configuration:
 
  I run openvpn on FreeBSD and Windows XP.
 
 I have now succeeded in establishing connections from Windows to a VPN
 server based on mpd4. But it has some severe limitations: I have to define
 every single connection in the conf file (not a major problem). And I don't
 see any option to authenticate against neither UNIX or Samba passwords. Is
 that different through openvpn? Could you give some brief hints on the
 configuration or maybe a reference to a useful howto?

Giving you the program name ought to be enove of a hint.
http://www.google.com/search?q=openvpn
The openvpn site has a very nice howto.

I can tell you the setup I have. I don't authenticate against UNIX or
Samba passwords. I don't see what good it will do to require such
autentication. It might even post a security risk. It might be posible.

I do use certificates (standard) so I can cut off machines. Users need
to authenticate when the connect to the services of a machine. I have
a firewall on each computer.

I have a VPN tunnel beteen sites and a road warrior setup for laptops.
And I have a setup that allows me to take a server down without
disrupting traffic flow beteen sites.
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Help : about FreeBSD 6.2 kernel error!

2008-03-23 Thread 刘德安
FreeBSD GFAOS 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan  7 15:29:50 UTC 2008  
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

when rebooting system
Error messages:

kernel: Fatal trap 12: page fault while in kernel mode 
kernel: cpuid = 0; apic id = 00 
kernel: fault virtual address = 0x9da324e4 
kernel: fault code = supervisor write, page not present 
kernel: instruction pointer = 0x20:0xc059c7be 
kernel: stack pointer = 0x28:0xe3ea9c50 
kernel: frame pointer = 0x28:0xe3ea9c88 
kernel: code segment = base 0x0, limit 0xf, type 0x1b 
kernel: = DPL 0, pres 1, def32 1, gran 1 
kernel: processor eflags = interrupt enabled, resume, IOPL = 0 
kernel: current process = 13 (swi4: clock) 
kernel: trap number = 12 
kernel: panic: page fault 
kernel: cpuid = 0 
kernel: Uptime: 6m53s 
kernel: Cannot dump. No dump device defined. 
kernel: Automatic reboot in 15 seconds - press a key on the console to abort


who cat help me?
thanks!!!

--
Oddvar
2008-03-24

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


Mac osX drivers

2008-03-23 Thread Da Rock
I know I keep asking about drivers, but what about Mac drivers? I
understand that Mac osX is based fairly well on BSD, so would the
drivers be portable?

This is all on a current project I'm working on...

Cheers

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