microuptime() went backwards

2004-04-23 Thread hugle
Hello all.
SOmetimes I see such messages in dmesg.

perl# dmesg
uptime() went backwards (1574174.333073 - 1573478.944788)

what they mean? and what causes them to appear ?
is it good or bad?? :)

-- 
Best regards,Hugle

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


Re: installing kde-lite from port

2004-04-23 Thread Chiang Seng Chang
I should have added heh heh... for self sarcasm...

On Thu, Apr 22, 2004 at 05:38:30PM -0700, Kris Kennaway wrote:
 On Thu, Apr 22, 2004 at 08:31:42PM -0400, Chiang Seng Chang wrote:
  not a question but may be its not such a good idea after all to install kde
  from port on a p2-400, still compiling after 10 hours...
 
 It'll be going for a while yet.  The smart thing to do on slow
 hardware is to install from packages.
 
 Kris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: microuptime() went backwards

2004-04-23 Thread Vijay

On Fri, 2004-04-23 at 11:34, hugle wrote:
 Hello all.
 SOmetimes I see such messages in dmesg.
 
 perl# dmesg
 uptime() went backwards (1574174.333073 - 1573478.944788)
 
Is your system clock working fine ?

 what they mean? and what causes them to appear ?
 is it good or bad?? :)
---
Vijay

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


backing up cvs files

2004-04-23 Thread dave
Hello,
I've got a cvs repository i'd like to move to another system, but i am
uncertain as to how to back it up, any advice helpful.
Also, i've got an anonymous user in the file READERS, however he can
still commit changes to the repository, i am speculating this might be a
permissions issue, can anyone confirm this?
Thanks.
Dave.

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


majordomo question

2004-04-23 Thread Christoph Kukulies
I was trying to find out why I din't receive any mail from
the freebsd-java list and sent a

which

command to majordomo at freebsd.org but didn't get
me listed with my email address. That's strange since I'm definitely
subscribed to a couple of lists and I'm receiving messages.


--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to repair a system?

2004-04-23 Thread Daan Hoogland
Once again,...

I have a system on which make buildworld won't work. I am thinking of 
doing a binary install on the system, but my only access to the system 
is ssh. So I am thinking of copying an image over and running 
sysinstall to install a new set of binaries and libraries.

Can this be done?
Is it the way to go?
What image should I use?
(Where to find sysinstall on it?)
a.i.v.d,

D.A.A.N.

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


Re: How to repair a system?

2004-04-23 Thread Matthew Seaman
On Fri, Apr 23, 2004 at 09:27:04AM +0200, Daan Hoogland wrote:

 I have a system on which make buildworld won't work. I am thinking of 
 doing a binary install on the system, but my only access to the system 
 is ssh. So I am thinking of copying an image over and running 
 sysinstall to install a new set of binaries and libraries.

I would strongly advise you not to attempt doing something like this
remotely over ssh(1).  Chances are what will happen is the machine
will crash and end up in an unbootable state.

In order to upgrade a system you really have to have access to the
system console.  That means either you have to be right in front of
the machine, or you have to use a serial console either with a console
server or by connecting it via a null-modem cable to a nearby machine.
 
 Can this be done?

Probably not.  

 Is it the way to go?

Not if your job or your company depends on it.  Not unless you enjoy pain.

 What image should I use?

Well, the choice at the moment would seem to be 4.9-RELEASE, 4.10-RC1
or 5.2.1-RELEASE.  If you can wait for a few weeks, 4.10-RELEASE will
be available.  That is what I'd go for first on a machine being used
as a serious server.  However, 5.2.1-RELEASE while still a developer
preview is getting well on the way towards stability.  You might need
it if you have hardware unsupported under 4.x.

 (Where to find sysinstall on it?)

Under 4.x it's in /stand/sysinstall

Under 5.x it's in /usr/sbin/sysinstall

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: newbie question: Gnome 2.6 upgrade

2004-04-23 Thread Joshua Lokken
* Lucas Holt [EMAIL PROTECTED] [2004-04-22 11:32]:
  
 
 The problem only seems to be with X11.  I tried running several commands in
 console mode that I can normally run from any location and they all worked
 fine.  so far startx seems to be the only thing that won't run like it used

This could be for naught, but what does 'xinit' do for you?

 to.  I read something about shells having to be rehashed to update the PATH
 lines?  I run in bash if that makes a difference.
 
 
 
 If I'm not mistaken, you only need to run rehash with a csh not sh/bash.
 Besides, you said the machine rebooted.  The path should be correct then.

Right and right.  Rehash is a [t]csh builtin, not present in Bourne
shells, and yep, if the machine was rebooted (or the user logged out),
then the point is moot.
 
-- 
Joshua

You can't treat the working man this way! One day we'll form
 a union, and get the fair and equitable treatment we deserve!
 Then, we'll get corrupt and shiftless, and the Japanese will
 eat us alive!--Anonymous Simpsons character

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


Re: GD from ports on FreeBSD 4.9

2004-04-23 Thread Wayne Pascoe
On Thu, Apr 22, 2004 at 10:49:33AM -0500, Dan Nelson wrote:
 In the last episode (Apr 22), Wayne Pascoe said:
  I'm trying to build mrtg from /usr/ports/net-mgmt/mrtg and it appears
  to want to update gd
  
  The gd update is failing with the following errors:
  
  cc -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd/work/gd-2.0.22
  -I/usr/local/include/freetype2/freetype  -I/usr/local/include/freetype2
  -I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
  -DHAVE_LIBZ   -c gdft.c -o gdft.o
  gdft.c: In function `fontFetch':
  gdft.c:485: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this
  function)
 
 Make sure your freetype is up-to-date (2.1.7_3 is the current version) also.

Thanks a bunch. That actually appears to be a bit broken, but I'll
contact the gd2 maintainer.

I was using portupgrade to update gd2, and I would have assumed that if
freetype was a dependency, portupgrade should have updated that as well.

Regards,

-- 
Wayne Pascoe
I have a very firm grasp on reality. I can
reach out and strangle it any time!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: majordomo question

2004-04-23 Thread Matthew Seaman
On Fri, Apr 23, 2004 at 09:34:28AM +0200, Christoph Kukulies wrote:
 I was trying to find out why I din't receive any mail from
 the freebsd-java list and sent a
 
 which
 
 command to majordomo at freebsd.org but didn't get
 me listed with my email address. That's strange since I'm definitely
 subscribed to a couple of lists and I'm receiving messages.

FreeBSD mailing lists are no longer managed with majordomo.
Everything runs through MailMan now, and has done for over a year --
see

http://lists.freebsd.org/mailman/listinfo

Use the web interface to verify your subscription status -- the text
field by the 'Unsubscribe or edit options' button is usually where you
want to go. You should get a monthly reminder message telling you that
information by default, although you can turn that off using MailMan's
control panel.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: majordomo question

2004-04-23 Thread Christoph P. Kukulies
On Fri, Apr 23, 2004 at 09:10:22AM +0100, Matthew Seaman wrote:
 FreeBSD mailing lists are no longer managed with majordomo.
 Everything runs through MailMan now, and has done for over a year --
 see
 
 http://lists.freebsd.org/mailman/listinfo
 
 Use the web interface to verify your subscription status -- the text
 field by the 'Unsubscribe or edit options' button is usually where you

Thanks. Sorry, missed that.
--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org

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


PPP

2004-04-23 Thread xavier collot
Hi!
I'm french and don't understand the chapter 18.2.1.2 (Creating PPP device Nodes) in 
the freeBSD handbook.
Precicely I don't understand what is N in the first paragraph. Is it necessary to 
change the tun0?
I have an other question.(I'm sorry if it seems stupid). Is it essential to have an 
Internet access to use PPP? I want use it between two networks but I haven't Internet 
in these two networks.
To finish how can I know my FreeBSD version?
Thank you very much for your help!!
 
Xavier


-
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail and masquerading

2004-04-23 Thread Matthew Seaman
On Fri, Apr 23, 2004 at 09:43:22AM +0200, Harald Schmalzbauer wrote:

 I have another question(s) please:
 How can I have sendmail using a specified EHLO domain.tld instead of the 
 machines name (changing the machines name is not a solution for me)

Use:

   define(`confDOMAIN_NAME', `domain.tld')dnl

in your `hostname`.mc file.

 And a last question: What do I have to use for sendmail when I want to do 
 masquerading on a MTA which has a smart host defined? If I use the same two 
 lines like on my local machine (which works) nothing happens on the MTA. No 
 mail gets masqueraded.

It's basically the same basic setup as for your local machine.  You
might find adding the following useful:

FEATURE(limited_masquerade)dnl

Applies masquerading only to those machines listed as
MASQUERADE_DOMAIN below.  The default is to do that plus all of the
names listed in 'local-host-names'.

FEATURE(masquerade_entire_domain)dnl

Applies masquerading to all of the hosts under 'domain.tld' (from the
MASQUERADE_DOMAIN setting below).

MASQUERADE_AS(`domain.tld')dnl
MASQUERADE_DOMAIN(`domain.tld')dnl

See /usr/share/sendmail/cf/README for more details on these and other
settings.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


compile proftpd with mod_quotatab

2004-04-23 Thread K. Worley
ok I currently make this built and installed with mod mysql(from ports) 
for user validation and all is good.
However I wish to deinstall this and rebuild with mod_quotatab so as to 
keep track of usage better and limit the abusers.

My question is this:

How do I add mod_quotatab to the port to be able to make this? Has it 
been done by someone?
I have read the handbook and am currently trying to make a custom 
makefile but I really do not think i have the skills to do that 
successfully.

I do have the ability to make the port fully from the website source but 
I really would like to use the port simply because I think (not too 
sure) that there are special patches for FreeBsd.

Links:
the mod_quotatab page
http://www.castaglia.org/proftpd/modules/mod_quotatab.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel debugging question

2004-04-23 Thread Jorn Argelo
On Friday 23 April 2004 00:42, Greg 'groggy' Lehey wrote:
 [Format recovered--see http://www.lemis.com/email/email-format.html]

 Wrapped text still broken.

 On Thursday, 22 April 2004 at 16:45:11 +0200, Jorn Argelo wrote:
  On Thursday, 22 April 2004 at 4:18:52 +0200, Gregg 'groggy' Lehey wrote:
  On Monday, 19 April 2004 at 14:46:57 +0200, Jorn Argelo wrote:
  I currently have a backtrace, a chunk of source code which probably
  causes the panic, and some register output. I haven't read all 99
  pages of your documentation, but hopefully it'll be enough. Send me
  a mail when you have time, and I'll mail you the contents. (The
  source code is quite long, so posting everything in a single mail is
  not a good idea). I can drop a mail at the current folks as well, if
  you prefer that.
 
  Put it on the -questions list for now.  It could be instructive.
 
  Alright, I've added the below mentioned information (backtrace,
  register info and the chunk of source code) as an attachment(34KB)
  It also contains an ps -ax output, and some other kernel messages
  which might be of use.
 
 
  Thanks Greg, I look forward to your reply.
 
  Jorn
 
  P.S: I did notice your signature, but I thought about it the moment
  I pressed the send button. Sorry about that. I'll make sure everything
  will remain as it was.

 You seem to have missed (again):

Excuse my, perhaps dumb, remark, but I kept everything the way it was. I don't 
understand what I'm doing wrong then. I used Outlook (bad me) before, but I'm 
using KMail now. Perhaps something went wrong with the format which I am 
unaware of. Hopefully things will go better now.

  When replying to this message, please copy the original recipients.
  If you don't, I may ignore the reply or reply to the original
  recipients.
  For more information, see http://www.lemis.com/questions.html
 
  [EMAIL PROTECTED] ~/dump# gdb -k /boot/kernel/kernel.debug
  /usr/home/jorn/dump/vmcore.0 ...
  (kgdb) bt
 
  #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
  #1  0xc0520da2 in boot (howto=256) at
  /usr/src/sys/kern/kern_shutdown.c:372 #2  0xc05210d7 in panic () at
  /usr/src/sys/kern/kern_shutdown.c:550 #3  0xc0647866 in trap_fatal
  (frame=0xcdcb7bac, eva=0)
  at /usr/src/sys/i386/i386/trap.c:821
  #4  0xc0646f13 in trap (frame=
{tf_fs = -1066532840, tf_es = 16, tf_ds = -1066991600, tf_edi =
  -1049879296, tf_esi = 1, tf_ebp = -842302460, tf_isp = -842302504, tf_ebx
  = -842302241, tf_edx = -1066500160, tf_ecx = -1049858920, tf_eax = 0,
  tf_trapno = 12, tf_err = 2, tf_eip = -842302481, tf_cs = 8, tf_eflags =
  67714, tf_esp = -1049902208, tf_ss = 0}) at
  /usr/src/sys/i386/i386/trap.c:250 #5  0xc0638f48 in calltrap () at
  {standard input}:94
  #6  0xc064a209 in clkintr (frame=0xcdcb7cdf)
  at /usr/src/sys/i386/isa/clock.c:193
  #7  0xc063d078 in intr_execute_handlers (isrc=0xc06d9fe0, iframe=0x1)
  at /usr/src/sys/i386/i386/intr_machdep.c:192
  #8  0xc0649d1f in atpic_handle_intr (iframe=
{if_vec = 0, if_fs = 24, if_es = 16, if_ds = -1026949104, if_edi =
  -1026910720, if_esi = -1026910696, if_ebp = -842302280, if_ebx =
  -1049871268, if_edx = 0, if_ecx = -1026910048, if_eax = 1, if_eip =
  -1063719291, if_cs = 8, if_eflags = 582, if_esp = -842302232, if_ss =
  -1063719867}) at /usr/src/sys/i386/isa/atpic.c:368
  #9  0xc0649e7e in Xatpic_intr0 () at {standard input}:32
  #10 0xc098ec45 in acpi_cpu_idle () at
  /usr/src/sys/dev/acpica/acpi_cpu.c:830 #11 0xc063f3af in cpu_idle () at
  /usr/src/sys/i386/i386/machdep.c:1074 #12 0xc050da48 in idle_proc
  (dummy=0x0) at /usr/src/sys/kern/kern_idle.c:86 #13 0xc050d7ee in
  fork_exit (callout=0xc050da30 idle_proc, arg=0x0, frame=0x0) at
  /usr/src/sys/kern/kern_fork.c:793

 Interesting one.  You've had a trap in the clock interrupt code, which
 suggests some type of memory corruption.  This could be difficult to
 debug.

  (kgdb) l
  235 static void
  236 doadump(void)
  237 {
  238
  239 savectx(dumppcb);
  240 dumping++;
  241 dumpsys(dumper);
  242 }

 As shown on page 45 and 46, the frame you're looking for is the one
 below trap.  This is the code at frame 0, showing how the system
 dumps.  It's not related to the problem.  Take a look at page 46 and
 send me the information for frame 6.

Hopefully I'm doing it right like this. I'm not sure if you just wanted one 
list as mentioned below or the entire source code. 

(kgdb) f 6
#6  0xc064a209 in clkintr (frame=0xcdcb7cdf) 
at /usr/src/sys/i386/isa/clock.c:193
193 timer_func(frame);
Current language:  auto; currently c
(kgdb) l
188 i8254_lastcount = 0;
189 }
190 clkintr_pending = 0;
191 mtx_unlock_spin(clock_lock);
192 }
193 timer_func(frame);
194 #ifdef SMP
195 if (timer_func == hardclock)
196 forward_hardclock();
197 #endif
(kgdb)

Re: PPP

2004-04-23 Thread Matthew Seaman
On Fri, Apr 23, 2004 at 10:18:19AM +0200, xavier collot wrote:
 Hi!
 I'm french and don't understand the chapter 18.2.1.2 (Creating PPP device Nodes) in 
 the freeBSD handbook.

Yes.  It's a pity that 

http://www.fr.freebsd.org/doc/fr_FR.ISO8859-1/books/handbook/userppp.html

hasn't finished being translated yet.

 Precicely I don't understand what is N in the first paragraph. Is it necessary to 
 change the tun0?

'N' is just being used as a variable there -- it just means you can
have any number of tun devices.  If you're just using the system to
dial into an ISP then you probably only need one.

 I have an other question.(I'm sorry if it seems stupid). Is it essential to have an 
 Internet access to use PPP? I want use it between two networks but I haven't 
 Internet in these two networks.

Sure -- you just need a couple of modems, a telephone line and a
little know-how: connectivity to the rest of the internet is not
necessary.  You should set up one of the machines as the server
(ie. takes the incoming phone call) and the other as client (ie. makes
the call) initially.  There are plenty of examples for setting up the
machine as a PPP server in /usr/share/examples/ppp.

 To finish how can I know my FreeBSD version?

% uname -r

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


MRTG from ports

2004-04-23 Thread Wayne Pascoe
Hi all,

I've just installed mrtg from /usr/ports/net-mgmt/mrtg. I used to have
an older version of mrtg on the machine that I removed by doing 
pkg_delete mrtg*

Since the re-install, I've been getting this error:
SNMP_util version 0.97 required--this is only version 0.93 at
/usr/local/lib/perl5/5.8.0/Exporter/Heavy.pm line 116.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/MRTG_lib.pm line 20.
Compilation failed in require at /usr/local/bin/mrtg line 78.
BEGIN failed--compilation aborted at /usr/local/bin/mrtg line 78

I also had this with MRTG_lib, which I rectified by doing a make in
/usr/ports/net-mgmt/mrtg and copying the resulting MRTG_lib.pm to
/usr/local/lib/perl5/site_perl/5.8.0/MRTG_lib.pm

However, I can't seem to find a more recent SNMP_util.pm in the mrtg
directory.

I've tried installing ucd-snmp-4.2.6_3 from Ports, but this didn't give
me a newer versoin either.

Can anyone please enlighten me as to the best way to build mrtg from
ports WITH all of its dependencies ? 

thanks,

-- 
Wayne Pascoe
I'm only in this job until an opening comes up 
in the fast food business...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MIDI (and audio) on freeBSD

2004-04-23 Thread Pierluigi Adami
MIDI support on freeBSD. I know it's a quite common question, sorry for 
not being able to solve it by myself, but I read tons of Google's pages 
with poor results.
I've just installed freeBSD 5.2 on a quite old laptop (Pentium II, audio 
card Yamaha DS-XG). It works fine for most stuff but the midi.
first question:
After some troubles, and a Kernel recompilation with the option device 
pcm, I found in /dev directory lots of devices related to sound. KDE 
still does not sound at all: it looks for a /dev/dsp device that does 
not exists; a /dev/dsp0.0 exists instead, but I haven't found the way to 
instruct KDE to load the right device.
second question:
MIDI is not loaded at all. Is there any other module to put in the 
Kernel config file? Should I add some specific lines to /boot/load.conf?
Thank you all fo supporting me.
Pierluigi Adami
[EMAIL PROTECTED]

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


Warning: A possible virus has been detected in one of your messages.

2004-04-23 Thread control

A virus or an infected file has been detected in a message:

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Protected Mail System

Messages containing infected attachments will no longer
be forwarded.

If you wish to send emails with attachment, we strongly
recommend that you enclose your attachment in formats
like .ZIP.

This is the size of the email in question:
-rw---1 root mail41543 Apr 23 10:08 msg.ktcI

This is what our filter said about the issue:
-
X-Procmail-AV: Probably a NetSky.P/Q/C or similar virus detected.
-

These filenames were found in the message:
pgp_sess01.zip
Content-Disposition: attachment;

If you want this mail anyway, please click here:
mailto:[EMAIL PROTECTED]/msg.ktcI

Should that fail, click here in stead:
mailto:[EMAIL PROTECTED]


__

RECIPIENT:
__

You are our customer, therefore we did this effort to protect you
from viruses.
If you do not want the antivirus scanning for your emails, please
click here: mailto:[EMAIL PROTECTED]
otherwise no action is required on your part. A copy of this
message has been delivered to the sender.


__

SENDER:
__

Please update your virus detection software and clean
your system before attempting to resend this message.

If you are one of our customers, we suggest that you
use our WebMail system at:

http://YOURDOMAIN/webmail



**

Regards,

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


What chooses the cvsup server ?

2004-04-23 Thread Aleksandar Simic
Hello,


the reason I ask is because when I issue 'make update' command in
/usr/src I get the following message:


[root@/usr/src]# make update
--
 Running /usr/local/bin/cvsup
--
Parsing supfile /usr/local/etc/cvsup/cvsup.stable
Connecting to cvsup2.uk.FreeBSD.org
Connected to cvsup2.uk.FreeBSD.org
Rejected by server: Access limit exceeded; try again later
Will retry at 10:16:19
 

*note the server name*:  cvsup2.uk.FreeBSD.org


My /usr/local/etc/cvsup/cvsup.stable looks like this:

*default host=cvsup18.us.FreeBSD.org -- note the server name
*default base=/usr/local/etc/cvsup   
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default compress
src-all


Now if I 'cd' to /usr/local/etc/cvsup/ and issue 'grep cvsup2 *' I
don't get anything back. 

So where is this cvsup2.uk.FreeBSD.org comming from ?



Thank you

Aleksandar 

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


Re: What chooses the cvsup server ?

2004-04-23 Thread Matthew Seaman
On Fri, Apr 23, 2004 at 10:22:34AM +0100, Aleksandar Simic wrote:

 the reason I ask is because when I issue 'make update' command in
 /usr/src I get the following message:

 *note the server name*:  cvsup2.uk.FreeBSD.org

 *default host=cvsup18.us.FreeBSD.org -- note the server name

 So where is this cvsup2.uk.FreeBSD.org comming from ?

/etc/make.conf  -- specifically the SUPHOST setting.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Jail and spammass-milter (sendmail/spamassassin)

2004-04-23 Thread Harald Schmalzbauer
Dear all,

is it possible that spamass-milter doesn't work in a jail?
I have sendmail running, spamassassin running (both working fine) and the 
following line in my hostname.mc file:

INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, 
T=C:15m;S:4m;R:4m;E:10m')

But no mail is checked. I don't see any X-SPAM in the header. I use this MTA 
not for local delivery instead I use a virtuser table but I don't think this 
should prevent spamass-milter from working.

Thanks,

-Harry

-- 
Please never add my reply address to CC nor to the recipient list!
If you make answers to all please remove my address!
I'll complain if I see my reply address on any mailinglist


pgp0.pgp
Description: signature


Re: Trunking

2004-04-23 Thread Yaraghchi, Stephan
 -Original Message-
 From: Frank Bonnet [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 23, 2004 11:16 AM
 To: Yaraghchi, Stephan
 Subject: Re: Trunking
 
 
 Yaraghchi, Stephan a écrit :
 
  Hi Frank,
  
  I used the explanations found at
  http://bsdvault.net/sections.php?op=viewarticleartid=98
  for trunking (called bundling in the article) 4 NIC's of
  a COMPAQ Proliant ML370 based on the netgraph module.
  
  It works in that way that the NIC's get utilized in sequence.
  I was just disappointed that the construction is not fault
  tolerant: If one cable gets unplugged the whole connection
  breaks down.
  
  Stephan.
  
 
 Thanks for your help
 
 -- 
 Cordialement,
 Frank Bonnet
 
 

Hi Frank,

If you should run into any problems just shout for help.

I would also be interested in your experiences regarding this
issue -- and of course the opinions of all the others:

Who's experimenting with trunking / bundling of multiple NIC's?
Are there other solutions than netgraph?
What about HA vs. HP?


Regards,

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


Re: What chooses the cvsup server ?

2004-04-23 Thread Aleksandar Simic
On Fri, Apr 23, 2004 at 10:23:16AM +0100, Matthew Seaman wrote:
 On Fri, Apr 23, 2004 at 10:22:34AM +0100, Aleksandar Simic wrote:
 
  the reason I ask is because when I issue 'make update' command in
  /usr/src I get the following message:
 
  *note the server name*:  cvsup2.uk.FreeBSD.org
 
  *default host=cvsup18.us.FreeBSD.org -- note the server name
 
  So where is this cvsup2.uk.FreeBSD.org comming from ?
 
 /etc/make.conf  -- specifically the SUPHOST setting.
 

Doh !

I was just looking at the SUPFILE setting and completely glazing over
SUPHOST even though it is just a line above it.

I feel so guilty about bothering the list with this.

Thanks Matthew

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


Using pxeboot for installation (bug in pxeboot - tftp)

2004-04-23 Thread Kasper Fock
Hi
I have used pxeboot to load freebsd 5.2.1 through tftp. It seems as the tftp 
client in pxeboot fails to send an data acknowledge after the last datapacket 
in each tftp transfer. (not very nice for server which resends last 
datapacket several times)

BTW: Does anybody know a way to specify freebsd to retrieve an install.cfg 
from outside mfs_root ? 

-- 
Kasper Fock
EasySpeedy ApS

Høsterkøbvej 33
2970 Hørsholm
___ 
European Dedicated Server Hosting 
Extremely low prices, secure, and reliable
Linux distributions only 
___

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


Too long dialing time

2004-04-23 Thread Igor Zbirka
I'm using FreeBSD 3.4-RELEASE as a server which should provide connection to internet 
through dialing on demand (tun0).
The connection to internet works fine, but the problem I have is with disconnecting.
If one of the computers in LAN wants to send for ex. email, the server dials and 
establish connection. But then it keeps that connection even though the email was send 
long time a go.
According to the led's on modem I can see that sporadicaly there are still some datas 
send and received. But WHY?

Because of this sporadical datas being send and received the limit 60 seconds for 
disconecting the modem don't arrive even for 12 hours. And this 12 hours was started 
by sending one email.
I would like to know how can I check what is being send and from wich computer in my 
LAN.
Any ideas how?

Thanks.

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


[OT] - FBSD logo, graphics

2004-04-23 Thread Robert Storey
I'm writing a review of FBSD for a well-known web site (I'll let you know when
it's posted - probably tomorrow). Anyway, I'm looking for a few FBSD graphics to
dress up the page - Beastie is the likely candidate. I don't need much, one or
two images will be sufficient. Can anyone suggest a source (one where there will
be no copyright issues).

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


Re: backing up cvs files

2004-04-23 Thread Giorgos Keramidas
On 2004-04-23 02:44, dave [EMAIL PROTECTED] wrote:
 Hello,
 I've got a cvs repository i'd like to move to another system, but i am
 uncertain as to how to back it up, any advice helpful.
 Also, i've got an anonymous user in the file READERS, however he can
 still commit changes to the repository, i am speculating this might be a
 permissions issue, can anyone confirm this?

CVS doesn't store information in any special filesystem metadata area.
The CVSROOT files are plain text files, whose normal attributes (owner,
permissions, creation-modification and access times, etc.) are all that
needs to be backed up.

I have moved CVSROOT hierarchies many times, either in different places
within the same filesystem or in other filesystems/machines altogether.
All you should need to do is:

a. Make sure nobody uses the CVSROOT in question while you back it up.

   This is important, to avoid taking a backup copy of files that are
   either locked by a running cvs client or are incomplete, since
   they're being updated at the time you start backing up.

b. Use your favorite archiver to take a backup copy, i.e.:

% cd $CVSROOT
% tar cvf cvsroot.tgz .

That should be enough :)

- Giorgos

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


Re: Dummynet+Firewall+One_pass question

2004-04-23 Thread Alex de Kruijff
On Thu, Apr 22, 2004 at 04:25:53PM -0300, Marcelo Pinheiro wrote:
 Hi,
 
 I am very new to FreeBSD, and I have a quite simple question: How does IPFW
 work when I use PIPES, divert and some other Firewall rules?
 What does net.inet.ip.fw.one_pass mean? For instance, if I use a pipe before
 a divert with one_pass set to 1, the packet passes through the pipe, but
 does not pass through the divert and that makes total sense. However if I
 set one_pass to 1 and set the pipe after the divert using the internal IP
 address ( RFC 1918 ) it works that does not make any sense, at least to
 me. :)

man ipfw gives me:
 pipe pipe_nr
 Pass packet to a dummynet(4) ``pipe'' (for bandwidth
limitation, delay, etc.).  See the TRAFFIC SHAPER (DUMMYNET)
CONFIGURATION Section for further information.  The search terminates;
however, on exit from the pipe and if the sysctl(8) variable
net.inet.ip.fw.one_pass is not set, the packet is passed again to the
firewall code starting from the next rule.

 Here are some sample rules:
 
 # INTERNAL NETWORK
 ${fwcmd} pipe 1000 config bw 1024Kbit/s
 ${fwcmd} pipe 1001 config bw 1024Kbit/s
 
 ${fwcmd} add divert natd all from 10.0.0.0/8 to any
 ${fwcmd} add divert natd all from any to 200.x.x.x
 
 ${fwcmd} add pipe 1038 ip from 10.0.0.0/8 to any
 ${fwcmd} add pipe 1039 ip from any to 10.0.0.0/8
 
 If I set the way above, it works fine, even if the one_pass is set to 1 (
 one ). The divert changes the packet header to my external IP, and my real
 question is: How in the world the pipe works if the header is changed to
 200, instead of 10?
 
 THIS WAY IT DOES NOT WORK WITH ONE_PASS SET TO 1, it passes through the
 pipe, but does not pass through the divert:
 
 # INTERNAL NETWORK
 ${fwcmd} pipe 1000 config bw 1024Kbit/s
 ${fwcmd} pipe 1001 config bw 1024Kbit/s
 
 ${fwcmd} add pipe 1038 ip from 10.0.0.0/8 to any
 ${fwcmd} add pipe 1039 ip from any to 10.0.0.0/8
 
 ${fwcmd} add divert natd all from 10.0.0.0/8 to any
 ${fwcmd} add divert natd all from any to 200.x.x.x
 
 I deeply appreciate any ideas.

Thats because the packes that meet the pipe rules are also allowed and
thus never meet the divert rule.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Possible security hole in FreeBSD 4.8-RELEASE????

2004-04-23 Thread MaXX
Good afternoon,
I have installed FreeBSD 4.8Release on a machine to experiment settings
before attempting to place them on my server. Due to a problem with the
port system on this machine I decided to reinstall only the port system via
sysinstall, during the process, I switched to anoter console (ttyv3) and
login as root, the password was not asked...
Hopefully I was not able to connect the machine via Telnet and so on,
but I ask myself, if the root password is cleared by sysinstall, there can
be more possibilities to acces the machine via some other techniques, I'm
some kind of newbie, but since Apache still running there can be some
hacking techniques to gain root rights on the machine
Security is not a real concern for me because those machines are my home
network but for people who uses freeBSD as production machine, I could be
interesting to warn them about this fact and ask them to shutdown most of
the network related services (like apache) during such process. I also know
that poduction machine are not updated that way so often (sysadmins are not
as stupid as me) but who knows when an attack will appen?

Sam
P.S.: Sorry for my bad english and thank again. I'm very interested in
FreeBSD and I still availlable for comments... Have a nice day! Ho i Forgot:
 FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Possible security hole in FreeBSD 4.8-RELEASE????

2004-04-23 Thread Kris Kennaway
On Fri, Apr 23, 2004 at 01:38:47PM +0200, MaXX wrote:
 Good afternoon,
 I have installed FreeBSD 4.8Release on a machine to experiment settings
 before attempting to place them on my server. Due to a problem with the
 port system on this machine I decided to reinstall only the port system via
 sysinstall, during the process, I switched to anoter console (ttyv3) and
 login as root, the password was not asked...

You're asked to choose the root password when you first install the
system.  If you choose not to set it, then the account will have no
password.  By default you still cannot log in remotely to the root
account, or to accounts without passwords.

Kris


pgp0.pgp
Description: PGP signature


Re: Jail and spammass-milter (sendmail/spamassassin)

2004-04-23 Thread Harald Schmalzbauer
Am Freitag, 23. April 2004 11:27 schrieb Harald Schmalzbauer:
 Dear all,

 is it possible that spamass-milter doesn't work in a jail?

Ok, I verified that it's working with the same configuration under -stabel 
outside a jail, but not on -current inside a jail.

Is there any way I can make it work? I think the problem is with the local 
socket between sendmail and spamass-milter.

Is there a sysctl to allow local sockets or is it possible to tell sendmail to 
connect via localhost (127.0.0.1)?

Thanks,

-Harry

 I have sendmail running, spamassassin running (both working fine) and the
 following line in my hostname.mc file:

 INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock,
 F=, T=C:15m;S:4m;R:4m;E:10m')

 But no mail is checked. I don't see any X-SPAM in the header. I use this
 MTA not for local delivery instead I use a virtuser table but I don't think
 this should prevent spamass-milter from working.

 Thanks,

 -Harry

-- 
Please never add my reply address to CC nor to the recipient list!
If you make answers to all please remove my address!
I'll complain if I see my reply address on any mailinglist


pgp0.pgp
Description: signature


Re: microuptime() went backwards

2004-04-23 Thread Jez Hancock
On Fri, Apr 23, 2004 at 09:04:56AM +0300, hugle wrote:

 SOmetimes I see such messages in dmesg.
 
 perl# dmesg
 uptime() went backwards (1574174.333073 - 1573478.944788)
 
 what they mean? and what causes them to appear ?
 is it good or bad?? :)

I'd always presumed these messages occured on my machine because the
ntpd (network time protocol daemon) had adjusted the system clock.  I
can't actually tell you for sure since the messages aren't logged by
syslog here so there's no easy way of comparing the times to see if they
correspond to the ntpd adjustments.  

Check to see if you have ntpd running - if so that's probably the reason
for the messages.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fw: Re: IMAP server and client recommendations?

2004-04-23 Thread Joshua Lokken

From: Kevin Stevens [EMAIL PROTECTED]
Date: Wed, 21 Apr 2004 21:42:00 -0700
To: Danny MacMillan [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: IMAP server and client recommendations?
X-Mailer: Apple Mail (2.613)


On Apr 21, 2004, at 21:22, Danny MacMillan wrote:

Hello.

I have six or seven hundred megabytes of email imprisoned in a few 
.pst (Microsoft Outlook Personal Folders) files.  I've been looking 
for an alternative email client lately.  Of course, the issue is 
converting these old messages so that they are usable by the new 
software -- ideally so that multiple clients could access the mail.  
The thought that immediately occurred to me was that one of the 
standard Unix formats -- mbox or maildir -- would be appropriate for 
this task.

After scouring the internet for possibilities for converting between 
the hated .pst format and mbox or Maildir, I found a few people who'd 
seemingly hit upon an ideal solution:  add an IMAP folder to Outlook 
and copy their mail to that folder, then do the reverse inside a 
client that stores its mail in mbox or maildir format.

Almost right, but not quite.  You set up an IMAP server that stores 
mail in the desired format, add the IMAP support to Outlook, and then 
drag/drop the mail into the IMAP mailbox.  There is no equivalent 
client-side export needed.

And yes, in my experience this is BY FAR the easiest/fastest/best 
approach to get mail from a .pst file to something else.  Caveat is 
that you have to have an Outlook installation available to do it, not 
just the .pst file.

Then it struck me -- =leaving= the mail in the IMAP server would give
me even more flexibility.

Blinding flash of the obvious?  ;)

Is it feasible to use the IMAP server as a mail storage solution like 
this?

Sure, that's what they're designed for.

  Can anyone recommend a good IMAP server (for FreeBSD of course) and 
give me some tips on considerations for choosing one?  I blush to say 
it, but I've never even had an IMAP account.

The main contenders are Cyrus, Courier, and UW-IMAP.  Biggest 
consideration is probably what format you want to store the mail in.  I 
prefer mbox format, so use UW-IMAP.  It is configured to pull mail from 
the standard spool directory, and store it in a /mail directory of my 
user account.

The big advantage of using IMAP (for me) is that I can access my mail 
from a web based server (Squirrelmail) while at work, pine when on the 
road, and OS X's Mail.app when at home on my PowerBook.  Even when I'm 
reading mail on the server box itself the access is actually through 
the IMAP server.  It's an OS X G5 now, but I did the exact same thing 
when it was a FreeBSD Intel box.

KeS

- End forwarded message -

There's a note for future reference.  If you want to run a large email
server that'll play friendly with Outlook, OS mail clients, and webmail,
use an IMAP server.  Question:  Is Exchange an IMAP server, or is
Exchange kinda it's own thing?  Maybe, rather, does Exchange speak IMAP?


-- 
Joshua

...and *no* funny stuff; and by funny stuff I mean,
 handholding, goo-goo eyes, misdirected woo
 (which is pretty much any John Wu film...)
   -- Homer Simpson

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


Info request

2004-04-23 Thread SergioMarta
Dear Sirs,
 
I am interested in your product very much and I need some information about
his capabilities.

*   I have the following hardware and software: 


*   I developed one application using Merant Net Express (Microfocus
Cobol) that created *.exe and *.gnt files (I can also create *.dll files) 

*   I am using a Small Office Network with Windows XP Professional 

*   My programs (*.exe and *.gnt) and data (*.dat and *.idx) are
installed on the server

With this configuration, I can run the application from any client of the
network.

*   I am looking for something that would allow to me, to run my
application via Internet (as I do with my Office Network).

I would like to know if your product can do that or, if you know about some
other product that can.
 
Best regards
 
Sergio Marta
[EMAIL PROTECTED] 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


netgraph ability

2004-04-23 Thread David Yeske
I'm in a situation where I need to emulate multiple ethernet devices with
different mac addresses.  I have gotten far enough to have this.

I ran ngctl and then ran
mkpeer . eiface hook ether

I then ran
ifconfig ngeth0 link '00:bd:03:11:21:11'
ifconfig ngeth0 192.168.20.5
ifconfig sis0 192.168.23.45

So basically I want to be able to ping / connect to 
192.168.20.5 from another box on the 192.168.23.0/24 network, and have it see
the mac address that I have set rather than the mac address of my sis0 device.
I know I can do this with vmware, but I am trying to avoid that.

Anyone know if this is possible?  Is there a way to do this with the tap device
and or arpd?

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


Re: Rackmount Server recommendation

2004-04-23 Thread frank cheong
Don't buy IBM x series server unless you know all hardware components completely 
supported by FreeBSD.
 
Check out the list below is the problem encountered by me and still not yet solved and 
now wondering if I should move back to linux where everything is ready..
http://www.freebsdforums.org/forums/showthread.php?s=threadid=20473
 
But I like BSD more for its well known stability, port collection, cvsup updating..
 
Frank

Bill Campbell [EMAIL PROTECTED] wrote:
On Thu, Apr 22, 2004, Troy Settle wrote:
...

I've had two wonderful experiences with www.asacomputers.com. Both were
nearly identical machines (save for the raid controller), one for FreeBSD,
the other for w2k server. I'm getting ready to order a 3rd box from them in
order to deploy dialup accelleration.

We got a 1U box from asacomputers.com that was delivered with a couple of
screws cross threaded and wrenched off on the DB-9 serial connectors at the
back of the case (I personally ban any non-manual screwdrivers and such
from the shop). ASA replaced the main board, but it was a bit of a hassle.

We use IBM xSeries rack mount servers for most of our critical sites,
largely because of the 3 year on-site support from IBM. It's a lot easier
on our customers in the boonies than to wait for somebody from Seattle to
get there. The xSeries boxes are easily the best engineered of any Intel
servers I've seen with hot-swap everything, and even allow one person to
mount them on their standard slide rails unassisted.

Bill
--
INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

When I hear a man applauded by the mob I always feel a pang of pity
for him. All he has to do to be hissed is to live long enough.
-- H.L. Mencken, ``Minority Report''
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
...
  
http://ringtone.yahoo.com.hk/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fw: Re: OpenSSL/0.9.7c-p1 OpenSSH_3.5p1

2004-04-23 Thread Joshua Lokken

From: Matthew Seaman [EMAIL PROTECTED]
Date: Thu, 22 Apr 2004 12:31:24 +0100
To: Pelle Andersson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: OpenSSL/0.9.7c-p1  OpenSSH_3.5p1
User-Agent: Mutt/1.5.6i

On Thu, Apr 22, 2004 at 10:27:10AM +0200, Pelle Andersson wrote:
 Hi!
 
 How can I the easiest way update/upgrade OpenSSL  OpenSSH on a FreeBSD 4.9
 machine?
 
 I saw on the net that they where part of the base system and therefore I
 can't
 use portupgrade or make deinstall/make reinstall
 
 I thought they where updated when running 'make world'?
 
 Now I am using:
  OpenSSL 0.9.7c-p1 30 Sep 2003
  OpenSSH_3.5p1 FreeBSD-20030924
 
 uname -a:
 
 FreeBSD frodo.domain.xyz 4.9-RELEASE-p5 FreeBSD 4.9-RELEASE-p5 #2: Wed Apr
 21 10:21:22 CEST 2004
 @frodo.domain.xyz:/usr/obj/usr/src/sys/FIBOPTIMIZED  i386

You're running 4.9-RELEASE.  One of the points about the -RELEASE
branches is that they are guarranteed *not* to have any new
functionality introduced.  Updates are limited to bugfixes, generally
for security bugs only.

Now, you are running the latest patchlevel on the 4.9-RELEASE branch,
which means that all known bugs in OpenSSL and OpenSSH will have been
fixed.  However *only* the bugs have been fixed.  There haven't been
any patches to add features, neither have there been any patches to
modify version numbers.  Naive security scanners that *just* look at
the version numbers of installed packages will tell you incorrectly
that you have a problem.

If you want the newer versions of those packages, then you have two
choices.  You can install them from ports, or you can upgrade to and
track a different FreeBSD source branch.

If you install from ports, there is a facility for you to install the
port in such a way as to overwrite the equivalents in the base system.
You can certainly do this if you want, but think carefully before
doing so.  Overwriting bits of the base system will make it harder for
you to do regular upgrades.

Otherwise, if you choose to upgrade to a different source branch, you
will need to choose one of the development branches in order to get
new versions of stuff -- that either 4-STABLE or 5-CURRENT.  But
5-CURRENT is not really suitable for any use other than developing the
system. 4-STABLE is quite close to winding down, and it's not planned
to import the very latest versions of OpenSSH etc: the upcoming
4.10-RELEASE will probably be the last release branched from there,
and that will have OpenSSH 3.5p1.  Other packages may well get updates
though.  5-STABLE is planned coincident with 5.3-RELEASE, which is the
next release planned to happen after 4.10.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

- End forwarded message -

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


Re: microuptime() went backwards

2004-04-23 Thread Matthew Seaman
On Fri, Apr 23, 2004 at 01:13:11PM +0100, Jez Hancock wrote:
 On Fri, Apr 23, 2004 at 09:04:56AM +0300, hugle wrote:
 
  SOmetimes I see such messages in dmesg.
  
  perl# dmesg
  uptime() went backwards (1574174.333073 - 1573478.944788)
  
  what they mean? and what causes them to appear ?
  is it good or bad?? :)
 
 I'd always presumed these messages occured on my machine because the
 ntpd (network time protocol daemon) had adjusted the system clock.  I
 can't actually tell you for sure since the messages aren't logged by
 syslog here so there's no easy way of comparing the times to see if they
 correspond to the ntpd adjustments.  
 
 Check to see if you have ntpd running - if so that's probably the reason
 for the messages.

Actually, that shouldn't happen because of ntpd(8).  If ntpd detects
that your system clock is fast, it will make it run slightly slower
until it gradually comes back into synch.  It shouldn't ever jump the
system clock to the right time during normal operation, neither should
it ever cause the system clock to run backwards.

Of course, there is an exception: right after boot, it's usual to run
ntpdate(8), and fairly common to run that with the '-b' flag so that
the time gets stepped straight to the correct value.  The ntpd
developers have marked ntpdate for eventual retirement and have rolled
its functionality into the main ntpd(8) -- so 'ntpq -q' is meant to be
functionally equivalent to ntpdate.  Even so, it's not clear to me
that the 'step the clock' mode of operation is available from 'ntpd
-q'.

The OP's original query about 'microuptime went backwards' is
something that has come up fairly frequently on various mailing lists.
Googling for that message returns a few hundred hits.  There has been
quite a lot of effort to eradicate it, but apparently not with
complete success yet.  Most of the time it was apparently due to
problems with apm on certain hardware, but it could be caused by other
factors.  With the switch to APCI in 5.x there have been far fewer
reports of these errors appearing.

Usually this is pretty innocuous.  If you're only getting these
messages occasionally, then you can probably just ignore them.  On the
other hand, if you've suddenly started to get floods of these messages
for no apparent reason, it may possibly indicate that you have
hardware which is starting to get a bit marginal.  Keep the system
under observation, backup religiously and check the log messages for
clues regularly.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Newbie:Home network mail forwarding

2004-04-23 Thread Alex de Kruijff
On Thu, Apr 22, 2004 at 07:00:48PM -0400, Peter Tokanel wrote:
 
 
 Alex de Kruijff wrote:
 
 On Wed, Apr 21, 2004 at 07:33:51PM -0400, Peter Tokanel wrote:
  
 
 Hi,
 
 I am new to unix but I have managed to setup a home network using  
 Free BSD. The
 FreeBSD box is a gateway/firewall/router for my Windows XP box and a 
 wireless access
 point. The XP box can access the web just great using the shared 
 connection.
 My problem is when email is used on the WindowsXP box , no messages can be
 sent out. I can receive email from my ISP's pop-server just fine. I am 
 not sure if I need
 to start some kind of mail daemon or what Is it my firewall 
 configuration
 I have included some of my setup files, hopefully someone can tell me 

 
 
 XP 192.168.1.0/24 - 192.168.1.0/24 gateway public_ip - internet
 
 It could be your firewall but it could also be you XP configuration.
 If you give me the output of 'ipfw sh' then i'll check if I can find
 anything that blocks sending mail.
 
  
 
 
 -- 
 Hi,
  Here is the output of 'ipfw sh'..I don't pretend to understand 
 what all these mean. The
 ipfw rules for the 'simple' case in rc.firewall were a starting point, 
 but then I added a few
 additional rules from various spots on the net attempting to fix various 
 problems. Any advice
 would be appreciated.

I couldn't find exacly what the problem is. It looks oke for me. If you
like to go on with this one you could try doing:
1. ipfw z
2. Try sending your mail
3. ipfw sh (and look where the packed gets blocked)
4. If you sloved the problem skip to the end
5. Add log to the rule and do 1-3. Then check /etc/security and look for
the rigth packets and see what happens.

What I like to do is offer you an alternative framework. I'll be in a
better position to help you this way.

For this first put these lines in your /etc/rc.conf. This will load the
firewall rules from that file.
firewall_enable=YES
firewall_type=/etc/firewall.conf

Then put these rules in your /etc/firewall.conf:
# Select NIC (1 = internal 2 = external)
add 00010 skipto 1  ip from any to any via rl0
add 00020 skipto 2  ip from any to any via vl0
add 00030 allow ip from any to any via lo0
add 0 deny  ip from any to any

 A packet send from the XP box to the internet passes these rule twice
 because it goes through two NICs.

# Internal NIC
19997 allow ip from 192.168.1.0/24 to any
19997 allow ip from any to 192.168.1.0/24
19998 reject log ip from any to any in
1 deny log ip from any to any out

 reject = deny + it tells the sender that no such service exist. That
 is smart for _you own_ computer.

## External NIC - Anti spoofing
#add 20200 skipto 20300  ip from 192.168.1.0/24 to any in
#add 20210 rejectip from any to 10.0.0.0/8 out
#add 20220 rejectip from any to 172.0.0.0/12   out
#add 20230 rejectip from any to 192.168.0.0/16 out
#add 20240 deny  ip from 10.0.0.0/8 to any in
#add 20250 deny  ip from 172.0.0.0/12   to any in
#add 20260 deny  ip from 192.168.0.0/16 to any in

 Afther everything works you can place your anti spoofing rules here
 and keep those packets from going into natd. Rules 200,240-260 can
 block you out and are optional.

# External NIC - Natd
20520 skipto 20600 ip from me to any
20530 divert 8668 ip from any to any
20540 allow ip from me to any
20550 allow ip from any to 192.168.31.0/24

 This acts like a stateful firewall (like below) for the lan.

# External NIC - Stateful firewall
29800 allow tcp from me to any keep-state setup
29810 allow udp from me to any keep-state
29820 allow ip  from me to any keep-state

 This allows packets out and responce back in.

# External NIC - deny or reject everyting else
29998 deny log ip from any to any in
2 reject log ip from any to any out

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Freebsd machine as a wireless access point ?

2004-04-23 Thread Darryl Hoar
I have a spare PC with Freebsd installed on it.  Can I configure
this machine to be a wireless access point ?

just curious.

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


Re: Freebsd machine as a wireless access point ?

2004-04-23 Thread Doug Poland
Darryl Hoar wrote:
I have a spare PC with Freebsd installed on it.  Can I configure
this machine to be a wireless access point ?
just curious.



http://www.google.com/search?q=freebsd+wireless+access+pointsourceid=mozilla-searchstart=0start=0ie=utf-8oe=utf-8

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


RE: Specifying sort fields

2004-04-23 Thread JJB
Thank you that worked. You know that nowhere in the 'man sort' info
does it say that to use sort command you have to use pipe commands
to feed it data. How is somebody without UNIX programming background
going to read that and know how to feed sort it's data to sort?
Don't you think the man sort info needs updating to explain this
fact?  Even some examples at end of technical info would go long way
to making the 'man sort' info user friendly and meaningfully.

-Original Message-
From: Dan Nelson [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 5:35 PM
To: JJB
Cc: [EMAIL PROTECTED] ORG
Subject: Re: Specifying sort fields

In the last episode (Apr 22), JJB said:
 How to specify the  fields the sort program is to sort on?

 My file has blanks between the fields and I want to sort on
 field number 9 which is ip address.

 I want to sort filea and put results in fileb.

 A sample of the sort command  to be used from the command line
would
 go an long way to understanding how to use it.

Somthing like sort -k 9bn  filea  fileb should work, but it will
end up sorting only the first octect.  If you can get your addresses
to
be 0-padded (000.000.000.000), you can drop the 'n' from the sort
command and just do a plain ascii sort.

--
Dan Nelson
[EMAIL PROTECTED]

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


Re: Re: IMAP server and client recommendations?

2004-04-23 Thread Clarence Brown
You could download Eudora for Windows and import
the outlook email into Eudora. It stores the email in
mbox format. I don't know if their mbox format is fully
unix standard, but they are the same people that maintain
the qpopper pop3 daemon, so they obviously understand
unix mbox format.

Cla.
- Original Message - 
From: Joshua Lokken [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 4:47 PM
Subject: Fw: Re: IMAP server and client recommendations?



 From: Kevin Stevens [EMAIL PROTECTED]
 Date: Wed, 21 Apr 2004 21:42:00 -0700
 To: Danny MacMillan [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: IMAP server and client recommendations?
 X-Mailer: Apple Mail (2.613)


 On Apr 21, 2004, at 21:22, Danny MacMillan wrote:

 Hello.
 
 I have six or seven hundred megabytes of email imprisoned in a few
 .pst (Microsoft Outlook Personal Folders) files.  I've been looking
 for an alternative email client lately.  Of course, the issue is
 converting these old messages so that they are usable by the new
 software -- ideally so that multiple clients could access the mail.
 The thought that immediately occurred to me was that one of the
 standard Unix formats -- mbox or maildir -- would be appropriate for
 this task.
 
 After scouring the internet for possibilities for converting between
 the hated .pst format and mbox or Maildir, I found a few people who'd
 seemingly hit upon an ideal solution:  add an IMAP folder to Outlook
 and copy their mail to that folder, then do the reverse inside a
 client that stores its mail in mbox or maildir format.

 Almost right, but not quite.  You set up an IMAP server that stores
 mail in the desired format, add the IMAP support to Outlook, and then
 drag/drop the mail into the IMAP mailbox.  There is no equivalent
 client-side export needed.

 And yes, in my experience this is BY FAR the easiest/fastest/best
 approach to get mail from a .pst file to something else.  Caveat is
 that you have to have an Outlook installation available to do it, not
 just the .pst file.

 Then it struck me -- =leaving= the mail in the IMAP server would give
 me even more flexibility.

 Blinding flash of the obvious?  ;)

 Is it feasible to use the IMAP server as a mail storage solution like
 this?

 Sure, that's what they're designed for.

   Can anyone recommend a good IMAP server (for FreeBSD of course) and
 give me some tips on considerations for choosing one?  I blush to say
 it, but I've never even had an IMAP account.

 The main contenders are Cyrus, Courier, and UW-IMAP.  Biggest
 consideration is probably what format you want to store the mail in.  I
 prefer mbox format, so use UW-IMAP.  It is configured to pull mail from
 the standard spool directory, and store it in a /mail directory of my
 user account.

 The big advantage of using IMAP (for me) is that I can access my mail
 from a web based server (Squirrelmail) while at work, pine when on the
 road, and OS X's Mail.app when at home on my PowerBook.  Even when I'm
 reading mail on the server box itself the access is actually through
 the IMAP server.  It's an OS X G5 now, but I did the exact same thing
 when it was a FreeBSD Intel box.

 KeS

 - End forwarded message -

 There's a note for future reference.  If you want to run a large email
 server that'll play friendly with Outlook, OS mail clients, and webmail,
 use an IMAP server.  Question:  Is Exchange an IMAP server, or is
 Exchange kinda it's own thing?  Maybe, rather, does Exchange speak IMAP?


 -- 
 Joshua

 ...and *no* funny stuff; and by funny stuff I mean,
  handholding, goo-goo eyes, misdirected woo
  (which is pretty much any John Wu film...)
-- Homer Simpson

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



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


Re: Freebsd machine as a wireless access point ?

2004-04-23 Thread Jonathan T. Sage
Probably.  I'm not too familiar with how the ad-hoc connections work, 
but i am certain that for a single client it would work.  Just get a 
wireless NIC in it, play a little routing magic, maybe look at the dhcpd 
port (dhcp server)

~j

Darryl Hoar wrote:
I have a spare PC with Freebsd installed on it.  Can I configure
this machine to be a wireless access point ?
just curious.

-D
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Yesterday upon the stair I saw a man
who wasn't there, he wasn't there
again today, oh how i wish he'd go away
Rev. Jonathan T. Sage
Lighting / Set Designer
Professional Web Design
[HTTP://theatre.msu.edu]
[EMAIL PROTECTED]
[See Headers for Contact Info]


pgp0.pgp
Description: PGP signature


Re: Freebsd machine as a wireless access point ?

2004-04-23 Thread Thomas Beer
The NIC on the AP has to be able to support Host AP mode to work
as an access point. Netgear MA 521 *with firmware 1.3* are on
example for this.

Cheers Tom

 I have a spare PC with Freebsd installed on it.  Can I configure
 this machine to be a wireless access point ?

 just curious.

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



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


Re: jdk14

2004-04-23 Thread Radu MOLNAR
Yep, that was the problem.
When i had started the make i didn't have the linprocfs mounted.
I did a make clean and a make and it compiled properly.
Thanks


 Thu, 22 Apr 2004, Matt Navarre wrote:

 You might have to make clean and restart the build. I was getting the same
 error building java after I started the build without linprocfs mounted,
 blowing it away and starting over built fine.

 On Thursday 22 April 2004 06:26, Martin Hudec wrote:
  Hello Radu,
 
  and do you have linux_enable=YES set in /etc/rc.conf?
 
 
  Cheers,
 
  Martin
 
  On Thu, Apr 22, 2004 at 04:13:27PM +0300 or thereabouts, Radu MOLNAR wrote:
   I have problems installing jdk14 from the ports. I searched for the error
   and i found that i have to have linuxprocfs mounted so i did that:
   linprocfs on /usr/compat/linux/proc (linprocfs, local)
  
   I also have installed linux_base package:
   linux_base-7.1_7The base set of packages needed in Linux mode
  
   Do i have to do something else to get this to compile?

 --
 [EMAIL PROTECTED] http://badstateofgruntledness.blogspot.com
 it was a hard sell, since he's a database person, and as far as I've seen,
 once those database worms eat into your brain, it's hard to ever get anything
 practical done again. To a database person, every nail looks like a thumb. Or
 something like that. - jwz
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Freebsd machine as a wireless access point ?

2004-04-23 Thread Dirk-Willem van Gulik


On Fri, 23 Apr 2004, Darryl Hoar wrote:

 I have a spare PC with Freebsd installed on it.  Can I configure
 this machine to be a wireless access point ?

Install a prism 2 card and do something like (assuming fxp0
is your upstream iface and wi0 your card in AP mode).

rc.conf
ifconfig_wi0=inet 10.0.0.1/24 ssid myap channel 11 mediaopt hostap
gateway_enable=YES
natd_enable=YES
natd_interface=fxp0

Then install from ports isc-dhcpd with a config like:

ddns-update-style none;
always-broadcast on;

subnet 10.0.0.0 netmask 255.255.255.0 {
range  10.0.0.10 10.0.0.100;
option broadcast-address 10.0.0.255;
option subnet-mask 255.255.255.0;
option routers 10.0.0.1;
}

You rpopralby want do add a crrect
option domain-name-servers 10.0.0.1;
etc, etc.

The above is not secure in any way - so you may want to add WEP
for a start and then get more serious; add ipfw packet filtering
and nail things shut.

DW.

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


handbook - kernel build question

2004-04-23 Thread Terry L. Tyson Jr.
In section 9.3 of the handbook just before the two procedures it lists
If you are building a new kernel without updating the source code
(perhaps just to add a new option, such as IPFIREWALL) you can use
either procedure.

However, after the two procedures it says If you have not upgraded
your source tree in any way (you have not run CVsup, CTM, or used
anoncvs), then you should use the config, make depend, make, make
install sequence. which is procedure 1.

This seems contradictory to me. Also, I have not upgraded anything on
this particular box, used procedure 2 and all seems well.

Have I missed something here? Are the words update and upgrade the
same thing here or are they different?

TIA

--
Terry

Because we have been saved through the blood of Jesus, we are not
free to sin with abandon; we are free to abandon sin. -Mark Brousard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Freebsd machine as a wireless access point ?

2004-04-23 Thread Andrew L. Gould
On Friday 23 April 2004 08:01 am, Jonathan T. Sage wrote:
 Probably.  I'm not too familiar with how the ad-hoc connections work,
 but i am certain that for a single client it would work.  Just get a
 wireless NIC in it, play a little routing magic, maybe look at the dhcpd
 port (dhcp server)

 ~j

 Darryl Hoar wrote:
  I have a spare PC with Freebsd installed on it.  Can I configure
  this machine to be a wireless access point ?
 
  just curious.
 
  -D

From 'man wi':

Cards based on the Intersil PRISM-II and PRISM-2.5 chips also have a
host-based access point mode which allows the card to act as an access
point (base station).  Access points are different than operating in IBSS
mode.  They operate in BSS mode.  They allow for easier roaming and
bridge all ethernet traffic such that machines connected via an access
point appear to be on the local ethernet segment.

For more information on configuring this device, see ifconfig(8).

Once you get the device properly configured and working as an access point, 
you'll need to configure the computer as a gateway and add NAT into you're 
firewall.  For home networking, the choice between dynamic and static ip 
addresses is probably a question of personal preference.

Also, since different cards support difference levels of encryption, consider 
your security options before you purchase hardware.  If you're going to use a 
VPN, the choice of hardware shouldn't matter as much.

Best of luck,

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


Re: Home server upgrade 4.9 - 5.2.1, drop in hard disk ornetworkperformance?

2004-04-23 Thread Markie


| -Original Message-
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED] Behalf Of Markie
| Sent: Thursday, April 22, 2004 6:15 PM
| To: [EMAIL PROTECTED]
| Subject: Re: Home server upgrade 4.9 - 5.2.1, drop in hard disk
| ornetworkperformance?
|
|
| - Original Message -
| From: Markie [EMAIL PROTECTED]
| To: [EMAIL PROTECTED]
| Sent: Thursday, April 22, 2004 10:53 PM
| Subject: Home server upgrade 4.9 - 5.2.1, drop in hard disk or
| networkperformance?
|
|
| | Hello everyone!
| |
| | I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after
| having a
| few
| | problems with modems and random hard lockups(?).
| |
| | Well, first off the upgrade didn't solve this and I can still
| reliably
| make
| | the box freeze with a new modem I bought which I hoped would cure
| the
| | problem... when infact it's 10x worse with that modem :o) Has
| anyone got
| | any ideas as to what could be causing this? The network card for
| the
| | internal side is an fxp card and the network card the modem is
| attached
| to
| | is an older 10megabit vx card (3com Etherlink III).
| |
| | I can't really think of any other information to provide right now
| but I
| | really would be grateful for some prompting of more info and a bit
| of
| help!
| | My last few emails to questions about the hard lock ups didn't get
| any
| | replies if I remember rightly :o)
| |
| | Aside from that, I just copied a 400 meg file over samba and it
| really
| did
| | seem incredibly slow compared to when it was running 4.9. It took
| agess
| | to untar the backup 1.5gig file too! Is there anything I am
| supposed to
| | tweak here?
| | I am thinking about just reinstalling 4.9 again but I would like
| to avoid
| | that if I can, as it would be alot of time wasted :o) I don't have
| any
| | numbers for this unfortuantly either, it just feels and seems a
| hell of
| | alot slower! For instance, when I was copying this file and tried
| to ssh
| in
| | from my windows machine it just sat there for ages doing
| (apparently)
| | nothing!
| |
| | Thanks!
| |
|
| Well I was just using bmon from ports to monitor the speed and
| copying a
| file to the box over samba is dramatically slower than copying from
| it:
|
| Copying a 1.5gig backup tar from the freebsd machine to my box is
| around
| 6-7 meg a second
| Copying a 600 odd meg file to the freebsd machine from my box is
| around
| only 1-2 meg a second!
|
| I do seem to remember having this kind of problem ages ago when I
| used
| Linux. Before installing 5.2.1 I did enable plug and play in BIOS
| (it hung
| with that turned on using 4.9, not with 5.2.1 though) so I will try
| disabling that either later or tomorrow morning to see if that fixes
| my
| issue! Could it be that which is causing it?
|
| Other than that I don't think I have had any major issues with the
| install
| yet :o) Well... except for it didn't solve my hard lockup problem
| like I
| hoped it would have. Seems like it isn't a hard disk performance
| drop
| though :o)
|

- Original Message - 
From: JJB [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Sent: Friday, April 23, 2004 1:33 PM
Subject: RE: Home server upgrade 4.9 - 5.2.1, drop in hard disk
ornetworkperformance?


| Release 5.x uses an new file system which many people have reported
| noticeable performance problems and hard disk sector lock outs. Keep
| in mind that all the 5.x version are full of new experimental code.
| If performance and reliability is requirement you need on your
| servers then only use the stable versions of FreeBSD. 4.9 is the
| current production stable version, 4.10 beta is available now and in
| 2 weeks 4.10 is scheduled to be released becoming the official
| current production stable version.

Yeah I realise that. I just find it a bit strange that it pulls off the
machine normal speeds but sending something over to it is really slow. I
don't remember it being so slow on 4.9! And the untar was slow from one
drive to the other... on seperate channels too (and that was before I
turned off write caching :o)

I am now playing about trying to figure out why the box keeps locking up on
me with my new modem :o( I compiled a kernel with invarients and witness
and stuff in but... it just locks up totally! I would appreciate it if
anyone could help me out or suggest anything at all!

At the moment I am thinking perhaps the card is just bad or something. An
old PCI 3COM Etherlink III 590 or something along those lines. I am about
to try it on my other 5.x box with just one intel card to see if it'll lock
that up too. Expect more moaning from me :o)

Thanks for your reply!!

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


Local (UNIX domain) Socket understanding /Jail

2004-04-23 Thread Harald Schmalzbauer
Hi all,

can anybody point me to some info which can help me understand local sockets 
(=? UNIX Domain sockets?)?
I have the problem that I can't get milter work in a jail and I suspect 
the /var/run/milter.sock socket but don't really understand what it is and 
how it works.

Thanks,

-Harry

-- 
Please never add my reply address to CC nor to the recipient list!
If you make answers to all please remove my address!
I'll complain if I see my reply address on any mailinglist


pgp0.pgp
Description: signature


Serious NWFS problems ...

2004-04-23 Thread Feczak Szabolcs
Hi, 

The problem first occured with rsync :
link_stat /mnt/nwfs/. failed: No such file or directory
rsync error: some files could not be transferred (code 23) at main.c(632)

But I have figured out that is not rsync specific problem, 
I can reproduce the error, with basic system tools, such as cp

Here it is:
/NWSERVER:ADMIN/SDI is mounted on /mnt/nwfs (nwfs)

First test:

$ file /mnt/nwfs/. 
/mnt/nwfs/.: directory
# that is okay so far
$ ls -l /tmp/testfile*   
-rw-r--r--  1 root  wheel  2525 Apr 23 15:06 /tmp/testfile1
-rw-r--r--  1 root  wheel  2525 Apr 23 15:06 /tmp/testfile2
$ file /tmp/testfile* 
/tmp/testfile1: ASCII English text
/tmp/testfile2: ASCII English text
$ cp /tmp/testfile1 /mnt/nwfs
$ cp /tmp/testfile2 /mnt/nwfs
# here something wicked happend, since :
$ file /mnt/nwfs/. 
/mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory).


Second test:

$ ls -l /mnt/nwfs/a
total 16
drwxr-xr-x  1 root  wheel  16384 Apr 23 14:28 b
$ rm /mnt/nwfs/a/*
zsh: sure you want to delete all the files in /mnt/nwfs/a [yn]? y
rm: /mnt/nwfs/a/b: is a directory
$ umount /mnt/nwfs 
umount: unmount of /mnt/nwfs failed: Device busy
$ umount /mnt/nwfs
# Second umnount is successeded
# though if I execute rm, than sleep 2 for example, then
# first umount also fails

-- 
  _(_)_
 (_. o_)F3CZ0
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //

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


fsck: cannot find inode X

2004-04-23 Thread Todd Meister
Hello,

Tonight, a server crashed and, when it came up, required a manual fsck.  
Normally, this is not a big deal, especially on our customer web servers, 
where there isn't much real activity at the time the server crashed 
(~5:00am).  This time, though, I saw this error for the first time, while 
running fsck on /dev/rccd0c (mounted normally as /usr/home):

  fsck: cannot find inode 71683

I searched around a bit for the error, and didn't find a whole lot, and 
nothing that solved the problem.  I remembered the fsdb utility, and ran 
it, like so:

  fsdb /dev/rccd0c

which put me in interactive mode.  I poked around a bit, hoping I'd be 
smarter than fsck, and would find the inode on my own.  Turns out, fsck 
was right - I couldn't find the inode.  Not knowing of a better way (any 
suggestions are welcome, of course), I cleared the inode:

  clri 71683

I was then able to successfully complete a fsck on that partition, and the 
server booted with no problems (so far).

I'm writing this mainly so that it'll go into the archives, and hopefully 
help someone else out later.

I'm no longer on the freebsd-questions list (too much traffic for my poor 
brane), so CC me on replies, if you want to.

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


Re: handbook - kernel build question

2004-04-23 Thread Kent Stewart
On Friday 23 April 2004 06:15 am, Terry L. Tyson Jr. wrote:
 In section 9.3 of the handbook just before the two procedures it
 lists If you are building a new kernel without updating the source
 code (perhaps just to add a new option, such as IPFIREWALL) you can
 use either procedure.

 However, after the two procedures it says If you have not upgraded
 your source tree in any way (you have not run CVsup, CTM, or used
 anoncvs), then you should use the config, make depend, make, make
 install sequence. which is procedure 1.

 This seems contradictory to me. Also, I have not upgraded anything on
 this particular box, used procedure 2 and all seems well.

 Have I missed something here? Are the words update and upgrade the
 same thing here or are they different?



Procedure 1 uses the installed world to build the kernel and procedure 2 
uses the libraries created by the buildworld but not installed to build 
the kernel. Once you have done an installworld, you are using the same 
libraries regardless of the method.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Local (UNIX domain) Socket understanding /Jail

2004-04-23 Thread Konrad Heuer

On Fri, 23 Apr 2004, Harald Schmalzbauer wrote:

 can anybody point me to some info which can help me understand local sockets
 (=? UNIX Domain sockets?)?
 I have the problem that I can't get milter work in a jail and I suspect
 the /var/run/milter.sock socket but don't really understand what it is and
 how it works.

/usr/share/doc/psd/20.ipctut/paper.ascii.gz may help.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: Serious NWFS problems ...

2004-04-23 Thread Feczak Szabolcs
Oh btw, it is 4.10-BETA, since 4.9-RELEASE I had
problems with smbfs see here :
http://www.freebsd.org/cgi/query-pr.cgi?pr=64719

So I have to act as a samba and netware client.
I have also tried 5.x, but 5.x freezes with 
ncpmount ... 

Any ideas appreciated ... Thanks



-- 
  _(_)_
 (_. o_)F3CZ0
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //

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


Re: Freebsd machine as a wireless access point ?

2004-04-23 Thread Paul Tan
Try this URL:

http://www.samag.com/documents/s=7121/sam0205a/sam0205a.htm

:D

cheers,

Paul Tan
[EMAIL PROTECTED]
As we enjoy great advantages from inventions of others, we should
be glad of an opportunity to serve others by any invention of ours;
and this we should do freely and generously. - Benjamin Franklin
Darryl Hoar wrote:
I have a spare PC with Freebsd installed on it.  Can I configure
this machine to be a wireless access point ?
just curious.

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


Re: microuptime() went backwards

2004-04-23 Thread Peter Elsner
At 01:04 AM 4/23/2004, you wrote:

Hello all.
SOmetimes I see such messages in dmesg.
perl# dmesg
uptime() went backwards (1574174.333073 - 1573478.944788)
what they mean? and what causes them to appear ?
is it good or bad?? :)
--
Best regards,Hugle
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Simply comment out (Disable) the device apm in your kernel and
recompile.  That's what fixed it for me.
Peter

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.659 / Virus Database: 423 - Release Date: 4/15/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Home server upgrade 4.9 - 5.2.1, drop in hard diskornetworkperformance?

2004-04-23 Thread Markie

- Original Message - 
From: Markie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, April 23, 2004 2:21 PM
Subject: Re: Home server upgrade 4.9 - 5.2.1, drop in hard
diskornetworkperformance?


|
|
| | -Original Message-
| | From: [EMAIL PROTECTED]
| | [mailto:[EMAIL PROTECTED] Behalf Of Markie
| | Sent: Thursday, April 22, 2004 6:15 PM
| | To: [EMAIL PROTECTED]
| | Subject: Re: Home server upgrade 4.9 - 5.2.1, drop in hard disk
| | ornetworkperformance?
| |
| |
| | - Original Message -
| | From: Markie [EMAIL PROTECTED]
| | To: [EMAIL PROTECTED]
| | Sent: Thursday, April 22, 2004 10:53 PM
| | Subject: Home server upgrade 4.9 - 5.2.1, drop in hard disk or
| | networkperformance?
| |
| |
| | | Hello everyone!
| | |
| | | I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after
| | having a
| | few
| | | problems with modems and random hard lockups(?).
| | |
| | | Well, first off the upgrade didn't solve this and I can still
| | reliably
| | make
| | | the box freeze with a new modem I bought which I hoped would cure
| | the
| | | problem... when infact it's 10x worse with that modem :o) Has
| | anyone got
| | | any ideas as to what could be causing this? The network card for
| | the
| | | internal side is an fxp card and the network card the modem is
| | attached
| | to
| | | is an older 10megabit vx card (3com Etherlink III).
| | |
| | | I can't really think of any other information to provide right now
| | but I
| | | really would be grateful for some prompting of more info and a bit
| | of
| | help!
| | | My last few emails to questions about the hard lock ups didn't get
| | any
| | | replies if I remember rightly :o)
| | |
| | | Aside from that, I just copied a 400 meg file over samba and it
| | really
| | did
| | | seem incredibly slow compared to when it was running 4.9. It took
| | agess
| | | to untar the backup 1.5gig file too! Is there anything I am
| | supposed to
| | | tweak here?
| | | I am thinking about just reinstalling 4.9 again but I would like
| | to avoid
| | | that if I can, as it would be alot of time wasted :o) I don't have
| | any
| | | numbers for this unfortuantly either, it just feels and seems a
| | hell of
| | | alot slower! For instance, when I was copying this file and tried
| | to ssh
| | in
| | | from my windows machine it just sat there for ages doing
| | (apparently)
| | | nothing!
| | |
| | | Thanks!
| | |
| |
| | Well I was just using bmon from ports to monitor the speed and
| | copying a
| | file to the box over samba is dramatically slower than copying from
| | it:
| |
| | Copying a 1.5gig backup tar from the freebsd machine to my box is
| | around
| | 6-7 meg a second
| | Copying a 600 odd meg file to the freebsd machine from my box is
| | around
| | only 1-2 meg a second!
| |
| | I do seem to remember having this kind of problem ages ago when I
| | used
| | Linux. Before installing 5.2.1 I did enable plug and play in BIOS
| | (it hung
| | with that turned on using 4.9, not with 5.2.1 though) so I will try
| | disabling that either later or tomorrow morning to see if that fixes
| | my
| | issue! Could it be that which is causing it?
| |
| | Other than that I don't think I have had any major issues with the
| | install
| | yet :o) Well... except for it didn't solve my hard lockup problem
| | like I
| | hoped it would have. Seems like it isn't a hard disk performance
| | drop
| | though :o)
| |
|
| - Original Message - 
| From: JJB [EMAIL PROTECTED]
| To: Markie [EMAIL PROTECTED]
| Sent: Friday, April 23, 2004 1:33 PM
| Subject: RE: Home server upgrade 4.9 - 5.2.1, drop in hard disk
| ornetworkperformance?
|
|
| | Release 5.x uses an new file system which many people have reported
| | noticeable performance problems and hard disk sector lock outs. Keep
| | in mind that all the 5.x version are full of new experimental code.
| | If performance and reliability is requirement you need on your
| | servers then only use the stable versions of FreeBSD. 4.9 is the
| | current production stable version, 4.10 beta is available now and in
| | 2 weeks 4.10 is scheduled to be released becoming the official
| | current production stable version.
|
| Yeah I realise that. I just find it a bit strange that it pulls off the
| machine normal speeds but sending something over to it is really slow. I
| don't remember it being so slow on 4.9! And the untar was slow from one
| drive to the other... on seperate channels too (and that was before I
| turned off write caching :o)
|
| I am now playing about trying to figure out why the box keeps locking up
on
| me with my new modem :o( I compiled a kernel with invarients and witness
| and stuff in but... it just locks up totally! I would appreciate it if
| anyone could help me out or suggest anything at all!
|
| At the moment I am thinking perhaps the card is just bad or something. An
| old PCI 3COM Etherlink III 590 or something along those lines. I am about
| to try it on my 

Upgrade gone bad, please help

2004-04-23 Thread Joseph Koenig
I have a system that was running FreeBSD 4.3. At the time I built the
system, I compiled a custom kernel, but at this time, I do not need the
modifications I made to the kernel. Turns out I never really did need them.
So, I went to upgrade the machine to 4.9 using sysinstall. All went well,
except when I rebooted, it says it can't find the kernel. It then boots up,
but nothing works. I can log into the system at the physical machine, but no
network connections work, even things such as top and ps give me 'Out of
Memory' errors. The machine has 1 GB of RAM. I did make a complete backup of
the system before upgrading. I also have my previous kernel. Will it help to
reinstall the previous kernel? If so, how do I do that? Thanks,

Joe Koenig
Production Manager
jWeb New Media Design
[EMAIL PROTECTED]
http://www.jwebmedia.com/
636.928.3162 

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


Re: GD from ports on FreeBSD 4.9

2004-04-23 Thread Dan Nelson
In the last episode (Apr 23), Wayne Pascoe said:
 On Thu, Apr 22, 2004 at 10:49:33AM -0500, Dan Nelson wrote:
  In the last episode (Apr 22), Wayne Pascoe said:
   gdft.c:485: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this
   function)
  
  Make sure your freetype is up-to-date (2.1.7_3 is the current
  version) also.
 
 Thanks a bunch. That actually appears to be a bit broken, but I'll
 contact the gd2 maintainer.
 
 I was using portupgrade to update gd2, and I would have assumed that
 if freetype was a dependency, portupgrade should have updated that as
 well.

You would need to add -R to upgrade packages required by the one you're
upgrading.  -r will upgrade packages depending on the one you're
upgrading.  They're not the default because most of the time they're
not necessary, and can really slow down a build if there's a big piece
of software like mozilla, jdk, or openoffice somewhere in the
dependency chain.

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


Re: Specifying sort fields

2004-04-23 Thread Dan Nelson
In the last episode (Apr 23), JJB said:
 Thank you that worked. You know that nowhere in the 'man sort' info
 does it say that to use sort command you have to use pipe commands to
 feed it data. How is somebody without UNIX programming background
 going to read that and know how to feed sort it's data to sort? Don't
 you think the man sort info needs updating to explain this fact? 
 Even some examples at end of technical info would go long way to
 making the 'man sort' info user friendly and meaningfully.

Well, it does, sort of:

SYNOPSIS
   sort [OPTION]... [FILE]...

DESCRIPTION
   Write sorted concatenation of all FILE(s) to standard output.

and a bit farther down:

   With no FILE, or when FILE is -, read standard input.

I agree that examples would be nice.

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


Jailed postfix - Cannot connect to named Unix socket

2004-04-23 Thread jeremie le-hen
Hi list,

I set up a Postfix system in a jail, using mount_nullfs(8) in order to
access various files it needs (libs, mailboxes, and so on...).  The main
goal is that I can start Postfix either in a jail or not, and it doesn't
complain.  Therefore I can do nearly everything from the host : exporting
mailboxes using NFS, managing Postfix queues, stopping the mail system...
However, I got a strange message when I use mailq(1) on a jailed Postfix
that I don't have when using it on a standart Postfix :

obiwan:log# mailq
postqueue: warning: Mail system is down -- accessing queue directly
Mail queue is empty

I used ktrace(1) to see where does the problem come from and it appears
that when postqueue(1) tries to connect to named Unix socket
`/var/spool/postfix/public/showq' from the host and Postfix runs in a
jail, it gets a ECONNREFUSED while it works perfectly when Postfix is not
jailed.

I read the  Jails: Confining the omnipotent root  paper from phk@ and
rwatson@ and I saw that  Jail does not prevent, nor is it intended to
prevent, the use of covert channels or communications mechanisms via
accepted interfaces -- for example, two processes may communicate via
sockets over the IP network interface.   Right, I understand that
jail(2) tries to create a virtual machine just as it would be on a real
one and therefore does not allow communication between processes from
different virtual machine using Unix sockets.  But I do not want to have
to ssh my jail just to see mail queues.  Does anyone have a solution to
use mailq(1) (or postqueue(1)) from the host without accessing queue
directly ?

Regards,
-- 
Jeremie LE HEN aka TtZ/TataZ  [EMAIL PROTECTED]
 [EMAIL PROTECTED]
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Specifying sort fields

2004-04-23 Thread Kirk Strauser
At 2004-04-23T13:00:17Z, JJB [EMAIL PROTECTED] writes:

 Thank you that worked. You know that nowhere in the 'man sort' info does
 it say that to use sort command you have to use pipe commands to feed it
 data.

It doesn't because you don't.  The syntax is:

sort [OPTION]... [FILE]...

which means that you may optionally specify the name of the file to process.
For what it's worth, the wide majority of Unix commands accept input from
pipes and can write output to pipes.
-- 
Kirk Strauser

94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box.


pgp0.pgp
Description: PGP signature


Re: ports question

2004-04-23 Thread Alex de Kruijff
Dear Andri Kok,

Please put your reply to the buttom and cut out text thats no longer
relevant. This makes the mail more readable for others.

On Thu, Apr 22, 2004 at 04:23:52PM +1000, sAndri Kok wrote:
 Hi guys,
 
 Thx for he previous replies =) Now, u said that I may not be able to run 
 some new applications on old FreeSD releases (in this case 4.8), does cvsup 

No cvsup doesn't know that. Its posible that the port it self knows if
its upgradable or not. But also this is not garanteed.

 know how to handle which ports are upgradeable and which are not? 
 I assuming from the replies that I had that since all ports are the
 same if they are upadated at the same time and 

That is correct.

 I read in the mailing list the other 
 day that Gnome2.6 wouldn't be able to run properly on 4.8 machines. Any 
 pointes? Thx again =)

In that case you migth want to try to download the package instead of
the port from the ftp server (ftp.freebsd.org).

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to repair a system?

2004-04-23 Thread Peter Ulrich Kruppa
On Fri, 23 Apr 2004, Daan Hoogland wrote:

 Once again,...

 I have a system on which make buildworld won't work.
Why doesn't it work?
I am asking this, because this would probably be the simpliest
way to do an unattended upgrade.

Uli.

 I am thinking of
 doing a binary install on the system, but my only access to the system
 is ssh. So I am thinking of copying an image over and running
 sysinstall to install a new set of binaries and libraries.

 Can this be done?
 Is it the way to go?
 What image should I use?
 (Where to find sysinstall on it?)

 a.i.v.d,

 D.A.A.N.

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


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


Re: newbie question: Gnome 2.6 upgrade

2004-04-23 Thread Joe Altman
On Fri, Apr 23, 2004 at 01:03:16AM -0700, Joshua Lokken wrote:
 * Lucas Holt [EMAIL PROTECTED] [2004-04-22 11:32]:
  
  The problem only seems to be with X11.  I tried running several commands in
  console mode that I can normally run from any location and they all worked
  fine.  so far startx seems to be the only thing that won't run like it used
 
 This could be for naught, but what does 'xinit' do for you?
 
  to.  I read something about shells having to be rehashed to update the PATH
  lines?  I run in bash if that makes a difference.
 
  If I'm not mistaken, you only need to run rehash with a csh not sh/bash.
  Besides, you said the machine rebooted.  The path should be correct then.
 
 Right and right.  Rehash is a [t]csh builtin, not present in Bourne
 shells, and yep, if the machine was rebooted (or the user logged out),
 then the point is moot.

hash is in bash.

There's a slogan in there, somewhere...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


concurrent portinstall

2004-04-23 Thread Chiang Seng Chang
while portinstall is running, is it safe to do another portinstall in
another tty ?  or this is a sure recipe for diaster ?

-cs

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


Re: How to repair a system?

2004-04-23 Thread Daan Hoogland
On 23-apr-04, at 17:01, Peter Ulrich Kruppa wrote:

On Fri, 23 Apr 2004, Daan Hoogland wrote:

Once again,...

I have a system on which make buildworld won't work.
Why doesn't it work?
crunchgen: make error: cd: can't cd to 
/usr/obj/usr/5.2/src/rescue/rescue/../../contrib/tcsh/nls/spanish

crunchgen: make error: cd: can't cd to 
/usr/obj/usr/5.2/src/rescue/rescue/../../contrib/tcsh/nls/ukrainian

Run make -f rescue.mk to build crunched binary.
*** Error code 1
Stop in /usr/5.2/src/rescue/rescue.
*** Error code 1
Stop in /usr/5.2/src/rescue.
*** Error code 1
Stop in /usr/5.2/src.
*** Error code 1
Stop in /usr/5.2/src.
*** Error code 1
Stop in /usr/5.2/src.

I include text from an earlier posting here:

On 29-mrt-04, at 11:36, Odhiambo Washington wrote:

* Daan Hoogland [EMAIL PROTECTED] [20040329 11:56]: wrote:
ls,

I am building the cvs version of freebsd on a openbrick machine. My
present installation is a 5.0 version with a broken su. su - gives a
bus error. When i throw away usr/obj and usr/src, cvsup all possible
things, and do a make build world, the machine works for a day or so
and then stops. First I had with the following messages:


Don't run -CURRENT.
Use RELENG_5_2 for cvsup.
After another day of tiring waiting I can say that this approach makes 
no difference, except that I now get the first error again:

crunchgen: make error: cd: can't cd to 
/usr/obj/usr/src/rescue/rescue/../../contrib/tcsh/nls/ukrainian

Run make -f rescue.mk to build crunched binary.
*** Error code 1
as before: Some other languages preceding and some levels of nested 
makes following.


I am asking this, because this would probably be the simpliest
way to do an unattended upgrade.
Uli.

I am thinking of
doing a binary install on the system, but my only access to the system
is ssh. So I am thinking of copying an image over and running
sysinstall to install a new set of binaries and libraries.
Can this be done?
Is it the way to go?
What image should I use?
(Where to find sysinstall on it?)
a.i.v.d,

D.A.A.N.

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

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+

a.i.v.d,

D.A.A.N.

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


upgrade a port

2004-04-23 Thread Chiang Seng Chang
currently i have openldap client 2.1 installed.

$ pkg_glob -r openldap-client-2.1.30
openldap-client-2.1.30
kdeutils-3.2.2
kdebase-3.2.2
kdenetwork-3.2.2
kdegraphics-3.2.2
kdegames-3.2.2
kdelibs-3.2.2
gnupg-1.2.4_1
samba-3.0.3.p2_1,1

if i want to use version 2.2, do i just simply:

 pkg_deinstall openldap-client-2.1.30
 portinstall net/openldap22-client

i suspect step 1 would fail because there are dependency, or switching them
around would work ? as in:

$ portinstall net/openldap22-client
$ pkg_deinstall openldap-client-2.1.30

-cs

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


openoffice menus

2004-04-23 Thread Malcolm Kay
I recently installed openoffice1.1 under FBSD 4.9-release.
The capability is quite impressive and it genereally seems 
to behave very well.

But I do have a problem: I am using a high resolution 
1600x1200 display and the fonts used by the base UI are 
are crisp and clear but rather too small for my aging eyes.
I'm refering here to the fonts used in the Menu bars, Drop
downs and Option dialogs. The toolbar icons are also a bit 
small. (The fonts in the working areas can of course be 
readily changed through the toolbars.)

I've spent some time searching but can't discover how 
(or whether) this base font size can be changed.

Could someone please enlighten me?

Malcolm

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


Re: Freebsd machine as a wireless access point ?

2004-04-23 Thread Vince Hoffman


On Fri, 23 Apr 2004, Thomas Beer wrote:

 The NIC on the AP has to be able to support Host AP mode to work
 as an access point. Netgear MA 521 *with firmware 1.3* are on
 example for this.

 Cheers Tom

  I have a spare PC with Freebsd installed on it.  Can I configure
  this machine to be a wireless access point ?
 
  just curious.

I do exactly this (well the Freebsd box is also a
firewall and samba,web,ldap,mail and a few other things server)
man wi will give a list of most of the cards that support HostAP
mode if i remember rightly.

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

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

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


Re: Serious NWFS problems ...

2004-04-23 Thread Feczak Szabolcs
It gets more interesting:

$ mkdir /mnt/nwfs/.
mkdir: /mnt/nwfs/.: File exists
$ file /mnt/nwfs/.
/mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory).

Looks like we realy have problem with nwfs here ;(

Any ideas to solve ?


-- 
  _(_)_
 (_. o_)F3CZ0
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //

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


4.9R changing MTA to Postfix - no periodic.conf

2004-04-23 Thread Danny
Greetings,

So I have installed Postfix from the ports, read the pkg-message, read the 
changing the MTA in the handbook, and did a bit of searching.

So after the switch, I obviously get:

Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh
Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH

Because I did not:

Also, you will want to disable some Sendmail-specific daily maintenance
routines in your /etc/periodic.conf file:

daily_clean_hoststat_enable=NO
daily_status_mail_rejects_enable=NO
daily_status_include_submit_mailq=NO
daily_submit_queuerun=NO

However, I do not have a periodic.conf. How is the periodic running without a 
config file?

Could someone please show me there periodic.conf file and why they chose the 
options they did, or maybe baseline.

Thank you!


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


Re: upgrade a port

2004-04-23 Thread John Oxley
On Fri 2004-04-23 (11:18), Chiang Seng Chang wrote:
 currently i have openldap client 2.1 installed.
 
 $ pkg_glob -r openldap-client-2.1.30
 openldap-client-2.1.30
 kdeutils-3.2.2
 kdebase-3.2.2
 kdenetwork-3.2.2
 kdegraphics-3.2.2
 kdegames-3.2.2
 kdelibs-3.2.2
 gnupg-1.2.4_1
 samba-3.0.3.p2_1,1
 
 if i want to use version 2.2, do i just simply:
 
  pkg_deinstall openldap-client-2.1.30
  portinstall net/openldap22-client
 
 i suspect step 1 would fail because there are dependency, or switching them
 around would work ? as in:
 
 $ portinstall net/openldap22-client
 $ pkg_deinstall openldap-client-2.1.30

A better idea would be
portupgrade -r openldap22-client
The -r recursively upgrade all packages that are dependent on
openldap22-client.

if you specify -rf it will force a recompile of all ports that are dependent
on it.  Much better idea, although it does take longer.

-Ox

-- 
/~\ The ASCII   ASCII stupid question, get a EBCDIC ANSI.
\ / Ribbon Campaign John Oxley
 X  Against HTMLhttp://oxo.rucus.net/
/ \ Email!  oxo at rucus.ru.ac.za
Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy 
dungeon like NT.
-- Thomas Scoville
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.9R changing MTA to Postfix - no periodic.conf

2004-04-23 Thread Bill Moran
Danny wrote:
Greetings,

So I have installed Postfix from the ports, read the pkg-message, read the 
changing the MTA in the handbook, and did a bit of searching.

So after the switch, I obviously get:

Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh
Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH
Because I did not:

Also, you will want to disable some Sendmail-specific daily maintenance
routines in your /etc/periodic.conf file:
daily_clean_hoststat_enable=NO
daily_status_mail_rejects_enable=NO
daily_status_include_submit_mailq=NO
daily_submit_queuerun=NO
However, I do not have a periodic.conf. How is the periodic running without a 
config file?

Could someone please show me there periodic.conf file and why they chose the 
options they did, or maybe baseline.
/etc/defaults/periodic.conf has all the default values for periodic.  You should
_NOT_ endit /etc/defaults/periodic.conf ... the point is that /etc/periodic.conf
overrides those defaults.  You can, however, use /etc/defaults/periodic.conf as
a reference to see what values are available and what their default values are.
Simply create a new file called /etc/periodic.conf and put the configuration
options shown above in it.  Anything not in /etc/periodic.conf will be
set from /etc/defaults/periodic.conf.
(Copying /etc/defaults/periodic.conf to /etc/periodic.conf is NOT a good idea, as
it defeats the purpose of the default file.  FYI, a lot of things are handled in
this manner, look at /etc/defaults/rc.conf for another example)
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server and client recommendations?

2004-04-23 Thread Chris Shenton
Clarence Brown [EMAIL PROTECTED] writes:

 You could download Eudora for Windows and import
 the outlook email into Eudora. It stores the email in
 mbox format. I don't know if their mbox format is fully
 unix standard, but they are the same people that maintain
 the qpopper pop3 daemon, so they obviously understand
 unix mbox format.

When Eudora uploads to an IMAP server, it damages the message.  It
mutates MIME headers and puts in fake HTML which only Eudora can
recognize.   Been through this with a bunch of customers, lots of
scripts to fix the Eudora-damaged mail, not any fun. It's stupid for
them to intentionally break MIME-formatted mail but that's what they do.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Serious NWFS problems ...

2004-04-23 Thread Feczak Szabolcs
Ok here gets realy interesting :

$ mount /mnt/nwfs/
$ mount | grep nwfs
/NWSERVER:ADMIN/SDI on /mnt/nwfs (nwfs)
$ file /mnt/nwfs/.
/mnt/nwfs/.: directory
$ rm /mnt/nwfs/*
rm: /mnt/nwfs/DESKTOP.AFP: is a directory
rm: /mnt/nwfs/Icon: Unknown error: 35216
rm: /mnt/nwfs/Network Trash Folder: is a directory
rm: /mnt/nwfs/a: is a directory
rm: /mnt/nwfs/agica: is a directory
rm: /mnt/nwfs/baby: is a directory
rm: /mnt/nwfs/data: is a directory
rm: /mnt/nwfs/deleted.sav: is a directory
rm: /mnt/nwfs/fokonyv: is a directory
rm: /mnt/nwfs/test: is a directory
rm: /mnt/nwfs/x: is a directory
$ cp /tmp/testfile1 /mnt/nwfs

# yayy problem here
$ file /mnt/nwfs/.
/mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory).

# here we use a little trick
$ file /mnt/nwfs/a/../.
/mnt/nwfs/a/../.: directory

# and whoola its readable again
$ file /mnt/nwfs/.
/mnt/nwfs/.: directory

-

If after problem I go inside the /mnt/nwfs dir and repeat ls several times 
I got:

$ file /mnt/nwfs/.
/mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory).
$ cd /mnt/nwfs
$ ls
ls: .: No such file or directory
$ ls
ls: .: No such file or directory
$ ls
ls: .: No such file or directory
$ ls
ls: .: No such file or directory
$ ls
DESKTOP.AFP a   datatest
Iconagica   deleted.sav testfile2
Network Trash Folderbabyfokonyv x
$ 

hm strange ...

Kernel is compiled with 
options HZ=1000

Can be this the problem ? 


-- 
  _(_)_
 (_. o_)F3CZ0
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //

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


Re: Serious NWFS problems ...

2004-04-23 Thread Malcolm Kay
On Saturday 24 April 2004 01:04, Feczak Szabolcs wrote:
 It gets more interesting:

 $ mkdir /mnt/nwfs/.
 mkdir: /mnt/nwfs/.: File exists

This command should always give an error. If
/mnt/nwfs does not exist you can't create
/mnt/nwfs/., and if /mnt/nwfs exist then so will
/mnt/nwfs/.


On Friday 23 April 2004 23:01, Feczak Szabolcs wrote:
...
 So I have to act as a samba and netware client.
 I have also tried 5.x, but 5.x freezes with
 ncpmount ...

I see that ncpmount is commonly used in Linux 
environments and I have found some old and rather 
vague references to it under FBSD. But I can't find it
in the FBSD ports, and it is certainly not in the base
system of FBSD 4.7, 4.8 or 4.9. Where did you get it
or is it standard on 5.x?

I've been using mount_nwfs on 4.5, 4.7, 4.8 and 4.9
releases from the standard installation without 
problems.

Malcolm

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


Re: majordomo question

2004-04-23 Thread Kevin D. Kinsey, DaleCo, S.P.
Christoph Kukulies wrote:

I was trying to find out why I din't receive any mail from
the freebsd-java list and sent a
which

command to majordomo at freebsd.org but didn't get
me listed with my email address. That's strange since I'm definitely
subscribed to a couple of lists and I'm receiving messages.
 

Hmm, I'm pretty sure that we're not using majordomo
any more.  Head over to the web site and look for info.
I know that mailman is now in charge of the lists, and
I think that the preferred method of list management is
web-based; there probably is a way to do it via email, but
that's beyond the scope of my answer ;-)
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Freebsd machine as a wireless access point ?

2004-04-23 Thread Joe Altman
On Fri, Apr 23, 2004 at 07:55:38AM -0500, Darryl Hoar wrote:
 I have a spare PC with Freebsd installed on it.  Can I configure
 this machine to be a wireless access point ?

Check out the handbook on your machine, in /usr/share/doc/ for the
chapter on advanced networking; specifically the page labelled
wireless.html.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade gone bad, please help

2004-04-23 Thread Joe Altman
On Fri, Apr 23, 2004 at 09:16:52AM -0500, Joseph Koenig wrote:
 I have a system that was running FreeBSD 4.3. At the time I built the
 system, I compiled a custom kernel, but at this time, I do not need the
 modifications I made to the kernel. Turns out I never really did need them.
 So, I went to upgrade the machine to 4.9 using sysinstall. All went well,
 except when I rebooted, it says it can't find the kernel. It then boots up,
 but nothing works. I can log into the system at the physical machine, but no
 network connections work, even things such as top and ps give me 'Out of
 Memory' errors. The machine has 1 GB of RAM. I did make a complete backup of
 the system before upgrading. I also have my previous kernel. Will it help to
 reinstall the previous kernel? If so, how do I do that? Thanks,

There should be a bootable kernel, in / , no? IOW, if you didn't
remove them, you should have kernel.GENERIC and kernel.old; have you
tried booting either of those?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MRTG from ports

2004-04-23 Thread Dan Nelson
In the last episode (Apr 23), Wayne Pascoe said:
 Hi all,
 
 I've just installed mrtg from /usr/ports/net-mgmt/mrtg. I used to have
 an older version of mrtg on the machine that I removed by doing 
 pkg_delete mrtg*
 
 Since the re-install, I've been getting this error:
 SNMP_util version 0.97 required--this is only version 0.93 at 
 /usr/local/lib/perl5/5.8.0/Exporter/Heavy.pm line 116.
 BEGIN failed--compilation aborted at 
 /usr/local/lib/perl5/site_perl/5.8.0/MRTG_lib.pm line 20.
 Compilation failed in require at /usr/local/bin/mrtg line 78.
 BEGIN failed--compilation aborted at /usr/local/bin/mrtg line 78

Older versions of mrtg installed local copies of SNMP_session, and I
don't think they were part of the plist, so they would hang around
after deinstall.  Try deleting all copies of

BER.pm
SNMP_Session.pm
SNMP_util.pm
mach/auto/SNMP_Session/.packlist

you see on your system, and reinstall the SNMP_Session port.

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


Re: 4.9R changing MTA to Postfix - no periodic.conf

2004-04-23 Thread Danny
On Fri, 23 Apr 2004 11:51:28 -0400, Bill Moran wrote
 Danny wrote:
  Greetings,
  
  So I have installed Postfix from the ports, read the pkg-message, read 
the 
  changing the MTA in the handbook, and did a bit of searching.
  
  So after the switch, I obviously get:
  
  Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh
  Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH
  
  Because I did not:
  
  Also, you will want to disable some Sendmail-specific daily maintenance
  routines in your /etc/periodic.conf file:
  
  daily_clean_hoststat_enable=NO
  daily_status_mail_rejects_enable=NO
  daily_status_include_submit_mailq=NO
  daily_submit_queuerun=NO
  
  However, I do not have a periodic.conf. How is the periodic running 
without a 
  config file?
  
  Could someone please show me there periodic.conf file and why they chose 
the 
  options they did, or maybe baseline.
 
 /etc/defaults/periodic.conf has all the default values for periodic.

Defaults as a reference, or the defaults that are currently enforced even 
without /etc/periodic.conf?

  You should _NOT_ endit /etc/defaults/periodic.conf ... the point is 
 that /etc/periodic.conf overrides those defaults.

So, in theory, IF (which I won't, don't worry) I did edit 
the /etc/defaults/periodic.conf, and disabled the postfix  sendmail 
specified settings, those changes would be enforced even without 
a /etc/periodic.conf?

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


Re: 4.9R changing MTA to Postfix - no periodic.conf

2004-04-23 Thread Bill Moran
[please fix your mail program so it doesn't mangle emails by wrapping lines]

Danny wrote:
On Fri, 23 Apr 2004 11:51:28 -0400, Bill Moran wrote

Danny wrote:

Greetings,

So I have installed Postfix from the ports, read the pkg-message, read 
the 

changing the MTA in the handbook, and did a bit of searching.

So after the switch, I obviously get:

Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh
Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH
Because I did not:

Also, you will want to disable some Sendmail-specific daily maintenance
routines in your /etc/periodic.conf file:
daily_clean_hoststat_enable=NO
daily_status_mail_rejects_enable=NO
daily_status_include_submit_mailq=NO
daily_submit_queuerun=NO
However, I do not have a periodic.conf. How is the periodic running 
without a 

config file?

Could someone please show me there periodic.conf file and why they chose 
the 

options they did, or maybe baseline.
/etc/defaults/periodic.conf has all the default values for periodic.
Defaults as a reference, or the defaults that are currently enforced even 
without /etc/periodic.conf?
Both.

The default values _could_ be hardcoded into the periodic program but
there are good reasons not to do this.  The most notable is that it's
much easier for the average sysadmin to look in /etc/defaults/* to see
what default values are than to look through program code.
The reason you don't want to edit /etc/defaults/periodic.conf is that
upgrading FreeBSD will upgrade /etc/defaults/periodic.conf, but won't
change /etc/periodic.conf.  That way, if new config options are added
or the default values are changed, you get the updates without messing
up the settings that each admin changed.
You should _NOT_ endit /etc/defaults/periodic.conf ... the point is 
that /etc/periodic.conf overrides those defaults.
So, in theory, IF (which I won't, don't worry) I did edit 
the /etc/defaults/periodic.conf, and disabled the postfix  sendmail 
specified settings, those changes would be enforced even without 
a /etc/periodic.conf?
Yes, that would happen.

Then, when you upgrade to 4.10, you'll lose your changes.

If you create /etc/periodic.conf and put your override values in there,
upgrading won't reset your config, but it will add new values as needed
and change any defaults to match new changes in 4.10.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.9R changing MTA to Postfix - no periodic.conf

2004-04-23 Thread Charles Swiger
On Apr 23, 2004, at 2:12 PM, Danny wrote:
On Fri, 23 Apr 2004 11:51:28 -0400, Bill Moran wrote
/etc/defaults/periodic.conf has all the default values for periodic.
Defaults as a reference, or the defaults that are currently enforced 
even
without /etc/periodic.conf?
Yes, to both.  The two aren't exclusive.

 You should _NOT_ endit /etc/defaults/periodic.conf ... the point is
that /etc/periodic.conf overrides those defaults.
So, in theory, IF (which I won't, don't worry) I did edit
the /etc/defaults/periodic.conf, and disabled the postfix  sendmail
specified settings, those changes would be enforced even without
a /etc/periodic.conf?
Sure.  But your changes might get blown away the next time you updated 
the system and ran mergemaster, unless you were careful.  Putting the 
changes in /etc/periodic.conf is the right thing to do...

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


make package from port

2004-04-23 Thread Killermink !
Hello all,

I have installed a few ports, the most notable being xfce-4.0.0

I now want to reinstall BSD, mainly because I am playing, but also because I 
am going to delete my XP partition and use the whole disk for FreeBSD.

So, after doing so I wish to be able to install Xfce again, but don't want 
to have to go through the ports install as it takes ages on my lowly machine 
and I do not want to have to remain connected to the net while doing so.

Is there a way I can create a package of xfce and its dependencies, so i can 
back them up, reinstall then pkg_add them/it easily?  I tried a make package 
but it failed as it said it was already installed?

For those not familiar with the xfce install, I made the xfce-4.0.0 port 
installed from the CD, which is a meta-port for the other packages. (I say 
this cos it may be relevant to why make package does not work)

All help thankfully received!

Killermink

_
Sign-up for a FREE BT Broadband connection today! 
http://www.msn.co.uk/specials/btbroadband

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


bktr sloppy on 5.x

2004-04-23 Thread karma
greetings:

does anyone confirm sloppy video on bktr (hauppauge) on 5.2.1 if compared to 
4.9?
is there a solution for that?

cheers,

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


updated ports tree

2004-04-23 Thread Killermink !
Hello all,

I am about to (re)install FreeBSD 5.2.1, and wish to make sure I have the 
latest ports afterwards.  I do not really wish to install the whole ports 
tree from sysinstall as disk space is at a premium, and i will (soon) have a 
fast internet connection so seems pointless when i am only going to install 
like 10 ports. Also, the ports tree on the 5.2.1 ISO is out of date now.

I have read the manual over and over, but cannot fathom how I can make a 
port without the whole ports tree being installed...

Is it possible to make a port in this way, and how is it done?

Thanks,

killermink

_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger

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


Re: make package from port

2004-04-23 Thread Matthew Seaman
On Wed, Apr 21, 2004 at 09:59:19PM +, Killermink ! wrote:

 Is there a way I can create a package of xfce and its dependencies, so i 
 can back them up, reinstall then pkg_add them/it easily?  I tried a make 
 package but it failed as it said it was already installed?

To create a package from an already installed port:

# pkg_create -b pkg-name

(where pkg-name is the appropriate entry in /var/db/pkg)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Jail and spammass-milter (sendmail/spamassassin)

2004-04-23 Thread Dan Nelson
In the last episode (Apr 23), Harald Schmalzbauer said:
 Am Freitag, 23. April 2004 11:27 schrieb Harald Schmalzbauer:
  Dear all,
 
  is it possible that spamass-milter doesn't work in a jail?
 
 Ok, I verified that it's working with the same configuration under
 -stabel outside a jail, but not on -current inside a jail.
 
 Is there any way I can make it work? I think the problem is with the
 local socket between sendmail and spamass-milter.
 
 Is there a sysctl to allow local sockets or is it possible to tell
 sendmail to connect via localhost (127.0.0.1)?

If your jail is not chrooted at /, /var/run/spamass-milter.sock will
point to different locations inside and outside the jail, so you'll
have to use inet sockets to communicate.  

Actually if you have a single jail, you can configure the outer
processes to use /usr/myjail/var/run/spamass-milter.sock and the jailed
processes to use /var/run/spamass-milter.sock, but that won't work if
you have multiple jails.
 
The sendmail syntax is inet:[EMAIL PROTECTED]|ip-address}, so you can do
something like this in your .mc file:

INPUT_MAIL_FILTER(`spamassassin',`S=inet:[EMAIL PROTECTED], F=, 
T=C:15m;S:4m;R:4m;E:10m')dnl 

and then run spamass-milter with -p inet:[EMAIL PROTECTED].

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


Slow loading websites

2004-04-23 Thread Jammet
I am running FireFox right now, but this happens a lot with other
browsers as well. 

Just basics about my system, im running a AMD k6-2 400 386mb ram and an
32meg ati video card (dont remember the exact product right now)

When i go to a website, say Slashdot or freshmeat, or any where that
involves ads on the page some where, about 99% of the time it can take
upwards of 2-3 minutes to load the entire page. Every time it halts on
waiting on some address relating to an ad some where on the net, if i
jump over to my fiance's P2 400 running windows and go to the page it
loads the page long before mine finishs. If i hit reload on it a few
duzzon times it will generally bring up the proper page and i can go
about my business.  

I guess my main question is, anyone ever seen this, if so ever get it
fixed? How did you fix it and is there anything i should look into other
than buying a faster machine. 

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


Re: backing up cvs files

2004-04-23 Thread Bill Moran
dave wrote:
Hello,
I've got a cvs repository i'd like to move to another system, but i am
uncertain as to how to back it up, any advice helpful.
You can back up your CVS repository just like any other files.  It would make
sense to ensure that nobody is using it when you do so.
Just find out where CVSROOT is on that machine, and back that up.

Also, i've got an anonymous user in the file READERS, however he can
still commit changes to the repository, i am speculating this might be a
permissions issue, can anyone confirm this?
Unless I remember wrong, cvs security is based on file permissions.  So
be sure that the anonymous user only has read access to the files in the
repository (I could be wrong on this, I apologize if I lead you astray).
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade gone bad, please help

2004-04-23 Thread Joe Altman
You should be able to hit the space bar at the appropriate time, drop
to a prompt that consists of one word:

ok

then, type ?

you'll see a list of options, among them unload...so type:

unload kernel

then type:

load kernel.GENERIC

and you should be able to complete a boot...OTOH, there are
(probably?) many ways to do what you will need to do.

BTW: did you copy the list on your reply to me? Its' a really good
idea to do so, as it may be instructive for us all; and there may be a
better way to do what your needs dictate; and someone may offer it.

On Fri, Apr 23, 2004 at 11:51:01AM -0500, Joseph Koenig wrote:
 They are both there actually. However, my question is, what do I need to do
 to boot from them? I was able to get the network working on the machine, and
 someone on the list recommended doing a CVSup of my source, then build
 world, then build new kernel, as my source is most likely out of date (In
 fact, I'm sure it was). Does that sound reasonable? Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow loading websites

2004-04-23 Thread Charles Swiger
On Apr 23, 2004, at 1:38 PM, Jammet wrote:
When i go to a website, say Slashdot or freshmeat, or any where that
involves ads on the page some where, about 99% of the time it can take
upwards of 2-3 minutes to load the entire page. [ ... ]
I guess my main question is, anyone ever seen this, if so ever get it
fixed?
Most probably, you are running into delays because your browser queries 
websites for an IPv6 address before trying an IPv4 address.  
Reportedly, many ad-sites use broken nameservers which botch IPv6 
queries, causing the delay.  The problem lies on their end, not yours, 
but disabling IPv6 or using a proxy server like Squid will probably 
remove the delays.

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


Re: updated ports tree

2004-04-23 Thread Joe Altman
On Wed, Apr 21, 2004 at 10:04:06PM +, Killermink ! wrote:
 Hello all,
 
 I am about to (re)install FreeBSD 5.2.1, and wish to make sure I have the 
 latest ports afterwards.  I do not really wish to install the whole ports 
 tree from sysinstall as disk space is at a premium, and i will (soon) have 
 a fast internet connection so seems pointless when i am only going to 
 install like 10 ports. Also, the ports tree on the 5.2.1 ISO is out of date 
 now.
 
 I have read the manual over and over, but cannot fathom how I can make a 
 port without the whole ports tree being installed...
 
 Is it possible to make a port in this way, and how is it done?

If disk space is at a premium with an out of date ports tree, and
ports were likely added in the interim, then disk space will still be
an issue with a current ports tree, no?

So you may want to:

1) use packages, and skip ports entirely

or

2) install the ports tree, and update it as a part of a make world
   process.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vinum requirements

2004-04-23 Thread synrat
thanx Greg. like your book.
hope there will be another edition.

Does all this mean that if I don't have ~133kb available
for Vinum in the beginning of the disk before my first ( root )
partition, I can't use Vinum on that disk ? or would it write half
of the configuration in that first 60kb and the rest in whatever other
freespace I have ? I admit this sounds like a joke :).

thanx again.


On Fri, 23 Apr 2004, Greg 'groggy' Lehey wrote:

 On Thursday, 22 April 2004 at 11:32:22 -0400, synrat wrote:
 
  does vinum configuration need to be located
  in the beginning of the drive after bootstrap or
  is it possible to store at the end of the drive ?

 Currently it must be at the beginning of a drive.

  the reason I ask is I only have 60kb available in the beginining and
  the first partition is /.  I should be able to shrink swap, which is
  at the end of the drive, but I'm not sure I understand how vinum
  stores it's configuration. Does there need to be a separate
  partition for vinum that has at least enough space for
  configuration, which doesn't overlap with anything else ?

 No, it's part of the drive.  In Vinum terminology, a drive is a disk
 partition, the same one on which the subdisks are stored.

  Is the rest of vinum partition supposed to overlap with everything
  that I want to configure as a plex ( I'm talking about mirroring
  exisiting partitions ) Or should there be 2 different vinum
  partitions, one for configuration and another one for plexes ?

 I'd suggest you take a look at the documentation at
 http://www.vinumvm.org/cfbsd/vinum.pdf.  It should clarify a number of
 things.

 And yes, in retrospect it was a bad idea to put the configuration at
 the front of the drive.

 Greg
 --
 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original recipients.
 For more information, see http://www.lemis.com/questions.html
 Note: I discard all HTML mail unseen.
 Finger [EMAIL PROTECTED] for PGP public key.
 See complete headers for address and phone numbers.

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


Re: Upgrade gone bad, please help

2004-04-23 Thread Joseph Koenig
At this point, I have upgraded my src as it was out of date before I
upgraded via sysinstall. The system is up and running, although far from
stable. My question is, at this point, have I done enough damage to
everything that using sysinstall to upgrade is out of the question, or can I
reboot my old kernel and try the sysinstall since my src is now up to date?
Thanks,

Joe

 You should be able to hit the space bar at the appropriate time, drop
 to a prompt that consists of one word:
 
 ok
 
 then, type ?
 
 you'll see a list of options, among them unload...so type:
 
 unload kernel
 
 then type:
 
 load kernel.GENERIC
 
 and you should be able to complete a boot...OTOH, there are
 (probably?) many ways to do what you will need to do.
 
 BTW: did you copy the list on your reply to me? Its' a really good
 idea to do so, as it may be instructive for us all; and there may be a
 better way to do what your needs dictate; and someone may offer it.
 
 On Fri, Apr 23, 2004 at 11:51:01AM -0500, Joseph Koenig wrote:
 They are both there actually. However, my question is, what do I need to do
 to boot from them? I was able to get the network working on the machine, and
 someone on the list recommended doing a CVSup of my source, then build
 world, then build new kernel, as my source is most likely out of date (In
 fact, I'm sure it was). Does that sound reasonable? Thanks

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


Re: Serious NWFS problems ...

2004-04-23 Thread Feczak Szabolcs
On Sat, Apr 24, 2004 at 01:39:14AM +0930, Malcolm Kay wrote:
 This command should always give an error. If
 /mnt/nwfs does not exist you can't create
 /mnt/nwfs/., and if /mnt/nwfs exist then so will
 /mnt/nwfs/.

That was the point, to make the os admit, that it
exist, so 

$ mkdir /mnt/nwfs/.
mkdir: /mnt/nwfs/.: File exists

It claims that it exist

$ file /mnt/nwfs/.
/mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory).

It claims that it does not exist 

- Confusion

Anyhow, the most confusing thing is that it produces this
thing :

$ mount | grep nwfs
/NWSERVER:ADMIN/SDI on /mnt/nwfs (nwfs)

So I have the fs mounted, fine

$ file /mnt/nwfs/.
/mnt/nwfs/.: directory

Lets check if the /mnt/nwfs/. reference works ..
Since it returns that it is a directory
fstat was successfull

$ rm /mnt/nwfs/*
rm: /mnt/nwfs/DESKTOP.AFP: is a directory
rm: /mnt/nwfs/Icon: Unknown error: 35216
rm: /mnt/nwfs/Network Trash Folder: is a directory
rm: /mnt/nwfs/a: is a directory
rm: /mnt/nwfs/agica: is a directory
rm: /mnt/nwfs/baby: is a directory
rm: /mnt/nwfs/data: is a directory
rm: /mnt/nwfs/deleted.sav: is a directory
rm: /mnt/nwfs/fokonyv: is a directory
rm: /mnt/nwfs/test: is a directory
rm: /mnt/nwfs/x: is a directory

Lets delete the files in the root path of the mount,
but not the directories, we got some errors, but
it is okay to be so

$ cp /tmp/testfile1 /mnt/nwfs

Lets copy a normal ascii file to the root dir of
the mount

$ file /mnt/nwfs/.
/mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory).

and whoala we have problem

So it claims that it does not exist, at least the mount is
unreachable

$ cd /mnt/nwfs

$ ls
ls: .: No such file or directory

And realy it is not
Wait a few seconds here, and I got:

$ ls
DESKTOP.AFP agica   fokonyv
Iconbabytest
Network Trash Folderdatatestfile1
a   deleted.sav x

$ file /mnt/nwfs/.
/mnt/nwfs/.: directory

So now it exist and reports that it is a directory 
reachable again 
But If I do not issue ls or the thing just a little
bit lower explained here I got back an error from 
the file /mnt/nwfs/. command as many times I issue it
unless I remount it or make the os rethink this with
ls or file command trick.

The above process can be repeated unlimited times, and produces
the error in every case - Thats good at least it is consequent
and not a random error

Looks like after file operations, the kernel or ncpmount does
not refresh the stats on the fs, or has problem with it, since
it can not access it for some seconds ... It always makes to
behave the mounted fs right instatly If I issue the
file /mnt/nwfs/a/../.
which is in theory should be equivalent to
file /mnt/nwfs/.
but in practice it doesn't since, the first one restores the normal
behaviour of the filesystem, the second one in the errorous state
only returns en error (after first command is issued, the second
also works, but If I issue the second one first it claims that it
does not exist)

You may wonder why Im I refering to /mnt/nwfs as /mnt/nwfs/.
because the problem comes from, that I can not rsync it some times
and rsync needs to access this directory in the above form.

 I see that ncpmount is commonly used in Linux 
 I've been using mount_nwfs on 4.5, 4.7, 4.8 and 4.9
 releases from the standard installation without 
 problems.

Well good maybe I will have a look with 4.9-Release
again, saidly it can be only a test, since Im not
able to use 4.9-Release for my purposes, as I mentioned
I have to reach samba volumes as well, and 4.9-Release
has the file lock problem 
http://www.freebsd.org/cgi/query-pr.cgi?pr=64719

4.9-Beta and 5.2.1 has this fixed, saidly 5.2.1 produces
critical kernel panic with ncpmount, so my only choice
currently is 4.9-Beta ... but If I can't resolve these
problems ... maybe none :(


I try to recompile my kenrel with higher HZ value
thats my only idea at the moment  

-- 
  _(_)_
 (_. o_)F3CZ0
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //

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


  1   2   3   4   5   6   7   8   9   10   >