Re: Increase max data segment size?

2004-04-16 Thread Mark Kirkwood
I mean in /boot/loader.conf  (growl...)

Mark Kirkwood wrote:

which looked suspicously like a kernel tunable for data segment size.
So setting kern.maxdsiz in /etc/loader.conf seems to be the thing to 
do...


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


Re: Increase max data segment size?

2004-04-16 Thread Mark Kirkwood
Yes there is, some more poking around in /usr/src/sys/kern/subr_param.c 
brought to light :

   maxdsiz = MAXDSIZ;
   TUNABLE_QUAD_FETCH("kern.maxdsiz", &maxdsiz);
which looked suspicously like a kernel tunable for data segment size.
So setting kern.maxdsiz in /etc/loader.conf seems to be the thing to do...
Of course by this time I have managed to find some postings concerning 
MAXDSIZ and kern.maxdsiz.

Hopefully the next person confused about this will find my postings 
*before* dredging the code!

regards

Mark

Mark Kirkwood wrote:

so is there any reason *not* to amend this and recompile?

e.g.

#define MAXDSIZ (1024UL*1024*1024)   /* max data size now 
1G */



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


Re: Fwd: Call For Assistance #4 - slapd won't die gracefully, multiple versions.

2004-04-16 Thread Kris Kennaway
On Sat, Apr 17, 2004 at 01:22:00AM -0400, Jason Lixfeld wrote:
> I've been having this issue with openldap for over a month now and they 
> folks at openldap seem to think this may be a FreeBSD issue.  Not sure 
> if it's a general FreeBSD issue or an AMD64 issue so it's going to 
> both.
> 
> Can anyone have a look at this and tell me what they think?

You may have to do some debugging on your own, e.g. with gdb, to try
and isolate the problem.

Kris


pgp0.pgp
Description: PGP signature


Fwd: Call For Assistance #4 - slapd won't die gracefully, multiple versions.

2004-04-16 Thread Jason Lixfeld
I've been having this issue with openldap for over a month now and they 
folks at openldap seem to think this may be a FreeBSD issue.  Not sure 
if it's a general FreeBSD issue or an AMD64 issue so it's going to 
both.

Can anyone have a look at this and tell me what they think?

Begin forwarded message:

From: Jason Lixfeld <[EMAIL PROTECTED]>
Date: April 17, 2004 12:38:44 AM EDT
To: [EMAIL PROTECTED]
Subject: Call For Assistance #4 - slapd won't die gracefully, multiple 
versions.

My machine is AMD64.  I'm running 5.2.1-RELEASE-p1. I've tried 2.1.29, 
2.1.30, 2.2.7, 2.2.8 and 2.2.10 all from FreeBSD ports. no special 
make options, just plain make.  No modifications to the config files, 
all plain vanilla out-of-the-box configs.  I've tried with BDB and 
LDBM.  Same issue with both types of databases.  All openldap server 
versions i have tried exhibit the same problem (this output is from 
2.1.29.  Output is identicle on all versions, with the exception of 
the Berkeley DB version in the -d 256 output):

If I start slapd and kill it without issuing a transaction to the 
server, slapd will die gracefully, no problem:

su-2.05b# /etc/rc.d/slapd start
ps: kvm_getprocs: No such process
Starting slapd.
su-2.05b# ps xa|grep slap
92971  ??  Ss 0:00.01 /usr/local/libexec/slapd -h 
ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/ -u ldap -g 
ldap
su-2.05b# /etc/rc.d/slapd stop
Stopping slapd.
Waiting for PIDS: 92971.
su-2.05b# ps xa|grep slapd
su-2.05b#

If I start slapd and issue a transaction to the server, slapd will NOT 
die gracefully.  I need to kill -9 it which will do bad things to the 
database.  kill -INT will not work either:

su-2.05b# /usr/local/libexec/slapd -d 256
bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 
2002)
bdb_db_init: Initializing BDB database
slapd starting

conn=0 fd=12 ACCEPT from IP=127.0.0.1:48071 (IP=0.0.0.0:389)
conn=0 op=0 BIND dn="" method=128
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 SRCH base="" scope=0 filter="(objectClass=*)"
conn=0 op=1 SRCH attr=namingContexts
conn=0 op=1 RESULT tag=101 err=0 text=
conn=0 op=2 UNBIND
conn=0 fd=12 closed
^Cslapd shutdown: waiting for 0 threads to terminate
^C^C^C^C^C
The transaction I performed was the one from the Quickstart guide 
here: http://www.openldap.org/doc/admin22/quickstart.html

su-2.05b# ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: namingContexts
#
#
dn:
namingContexts: dc=my-domain,dc=com
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
su-2.05b#
I've been struggling with this since my first post regarding this 
issue on March 7th and I still haven't figured it out.  I'm asking 
anyone who may have some experience with OpenLDAP to PLEASE help me 
sort this out.  This has really got me by the balls...

Thanks in advance.

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


Re: Increase max data segment size?

2004-04-16 Thread Mark Kirkwood
Bit sad replying to myself again:-)

Anyway - no it does not... still 512M

A bit of grepping through the 4.9 source finds that the beast 
controlling all this is:

$ grep  MAXDSIZ /usr/src/sys/i386/include/vmparam.h
#ifndef MAXDSIZ
#define MAXDSIZ (512UL*1024*1024)   /* max data size */
so is there any reason *not* to amend this and recompile?

e.g.

#define MAXDSIZ (1024UL*1024*1024)   /* max data size now 1G */

any opinions out there?

regards

Mark

Mark Kirkwood replied to himself:

I should have mentioned that I built the kernel when the machine had 
either 512M or 1G of ram, and have subsequently added another 1G. 
Would rebuilding the kernel result in this limit being recalculated?


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


Re: Question

2004-04-16 Thread Greg 'groggy' Lehey
On Saturday, 17 April 2004 at  7:21:56 +0400, SerVit wrote:
>Hello!
>
> I have laptop Dell Inspiron 1100. I want install any *nix OS on it,
> but I'm newbye. There is network adapter Broadcom 440x 10/100
> Integrated Controller on this laptop. I cann't install this adapter.

This adaptor is supported by the bfe driver in release 5.

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.


pgp0.pgp
Description: PGP signature


Re: perl script help

2004-04-16 Thread Warren Block
On Fri, 16 Apr 2004, Shaun Friedle wrote:

> #!/usr/bin/perl
> $timezone=`date +\%z`;#Gets the offset in $timezone
> $timezone =~ s/(\+[0-9][0-9])/$1:/;   #Replaces ±NN with ±NN:
> print $timezone;  #Prints $timezone

The regex should allow either a plus or a minus as the first character:
s/([+-][0-9]{2})/$1:/

I like Perl a lot, and use it often, but it seems a bit much for this.
If there were easy shell substring operations...  Anyway, shell-only:

date +%z | sed 's/.../&:/'  # insert colon after first three chars

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


Question

2004-04-16 Thread SerVit
   Hello!

I have laptop Dell Inspiron 1100. I want install any *nix OS on it, but I'm newbye. 
There is network adapter Broadcom 440x 10/100 Integrated Controller on this laptop. I 
cann't install this adapter. But I can install FreeBSD on another computer (adapter - 
Realtek 8139).

 May be Broadcom 440x 10/100 Integrated Controller cann't work in FreeBSD 4.9 ?

 What I can do, if I want learn any *nix OS on THIS laptop?

  Please, help me

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


Re: pppoe ..., newbie

2004-04-16 Thread Canggung Mendonan
On Fri, 16 Apr 2004, Rainer wrote:

> proceeded to follow the instructions in the handbook for pppoe used the
> example - no joy! based on my linux experience there seemed to be info
> lacking, like isp's dns servers.read over the user ppp general section
> and added 'resolv.conf' and 'ppp.linkup'. still doesn't work.

Please post the relevant parts from your ppp.conf. The things you
mentioned (DNS config, ppp.linkup) should work as well, at least on my
ISP.

--mendonan
"Yang mimpikan secangkir kopi panas dengan selimut.."
 (Dreaming of a cup of hot coffee, and a blanket..")
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pppoe ..., newbie

2004-04-16 Thread Rainer
hello,

upgraded to version 4.9 since the last post.

installed the same way as 4.5 but actually got rid of all the conflicts in
kernel configuration, selected ep for network device, seems to come up fine,
beeps shows up in ifconfig with a mac address.

proceeded to follow the instructions in the handbook for pppoe used the
example - no joy! based on my linux experience there seemed to be info
lacking, like isp's dns servers.read over the user ppp general section and
added 'resolv.conf' and 'ppp.linkup'. still doesn't work.

i originally got  something like 'can't add route' at the prompt after
trying to connect. now (perhaps after adding the 2 last config files) i get
'working in ddial mode / using interface: tun1, but it still doesn't
connect.

ppp.log says only, connected!/opening >
dial/dial>carrier/disconnected/carrier hangup.

any pointers would be useful,

thanks


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


Re: KDE crashes for 1 user but not the others?

2004-04-16 Thread Michael L. Squires
> A few days ago KDE under root account wouldn't start (startx).  Howevere 
> KDE started under a regular user account works perfectly (and continues 
> to do so).
> 
> Furthermore, Gnome (2.4) under root starts (half-way?) up to the point 
> of the banner and then hangs.
> 
> Here is the error message produced by the KDE crash:

I had a similar problem and wound moving my home directory somewhere else
and then recreating the account from scratch (and removing directories
from /tmp).  After getting KDE to work I then copied everything over to
my original home directory, and moved it back.

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


Microsoft wireless mouse problem

2004-04-16 Thread 10,000 Screaming Monkeys
I tried sending this to freebsd-hardware, but nobody replied, so I
thought I would try here, as well.

On one of my machines, I'm running FreeBSD 5.2-CURRENT (last built on
Jan 15th, 2004).

I recently purchased a "Microsoft Wireless Optical Desktop," which is a
wireless setup with a PS/2 keyboard and a USB mouse (with a USB->PS/2
converter, if I need it).

The system recognizes both the keyboard and mouse during boot (and the
keyboard actually works right from the loader):

] ums0: Microsoft Microsoft Wireless Optical Desktop\M-. 1.00, rev
]   2.00/73.73, addr 2, iclass 3/1
] ums0: 5 buttons
] atkbdc0:  port 0x64,0x60 irq 1 on acpi0
] atkbd0:  flags 0x1 irq 1 on atkbdc0
] kbd0 at atkbd0

The system also correctly detects when the USB mouse is unplugged and
plugged back in:

] ums0: at uhub0 port 1 (addr 2) disconnected
] ums0: detached

moused starts just fine (automatically) during the system boot, and
XF86, using /dev/sysmouse, starts without complaining about anything.
"XFree86 -config" detects the mouse as sysmouse, as well.

Unfortunately, the mouse doesn't respond at all. On the console & in X,
I get the mouse pointer in the center of the screen, but it doesn't
respond to the movement of the mouse. 

When I plug in a regular, non-wireless USB mouse (an IntelliMouse
Explorer, to be precise), it's detected as /dev/ums1 and works just fine
both on the console (with moused running) and in X.

] ums1: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev
]   1.10/3.00, addr 3, iclass 3/1
] ums1: 5 buttons and Z dir.

So, I'm assuming my kernel & USB configurations are correct.
I've tried killing moused and starting X using the ums0 device directly,
but that didn't work either. 

Plugging the mouse cord on the wireless receiver into the PS/2 mouse
port doesn't seem to have any effect on the matter -- the system detects
a mouse on the psm0 port, but it still doesn't respond to movement.

Has anybody else seen a similar problem? Any suggestions as to what to
do next? Nothing I've tried seems to be working and I could use all the
help I can get...

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


Re: Increase max data segment size?

2004-04-16 Thread Mark Kirkwood
I should have mentioned that I built the kernel when the machine had 
either 512M or 1G of ram, and have subsequently added another 1G. Would 
rebuilding the kernel result in this limit being recalculated?

Mark Kirkwood wrote:

Dear Questions:

I have a machine with 2G of ram. I would like to be able to malloc 
about half of it. However I keep running into the max data segment 
size limitation:

$ ulimit -d
524288

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


Increase max data segment size?

2004-04-16 Thread Mark Kirkwood
Dear Questions:

I have a machine with 2G of ram. I would like to be able to malloc about 
half of it. However I keep running into the max data segment size 
limitation:

$ ulimit -d
524288
Is there any way to increase or amend this ?

I am running FreeBSD 4.9 RELEASE i386 with the following non default 
kernel options :

makeoptions   COPTFLAGS="-O2 -pipe -funroll-loops"
options   SMP # Symmetric MultiProcessor Kernel
options   APIC_IO # Symmetric (APIC) I/O
regards

Mark

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


Re: PicoBSD create a http menu

2004-04-16 Thread Clayton Scott Kern
Have you looked into either m0n0wall (http://m0n0.ch/wall/) or m0n0bsd 
(http://m0n0.ch/bsd/).

I'm using m0n0wall with a Soekris net4801 and I plan to try m0n0bsd in the future.

on 04-17-2004, Sjaak Nabuurs wrote:
> Hello
> 
> I would like to setup a small box for managing bandwith, firewall rules and more ... 
> on a flash cards if possible 32Mb card
> A user must have to setup his setting like ip adres gateway and DNS and firewall 
> rules and more
> 
> Everything has to be small I dont want to install apache/perl/php.
> I like picoBSD and this looks nice to me.
> 
> Does anybody give me a good hint how to setup a webserver menu. Just like many 
> devices use for settings (routers/asdl modems .) some devices use telnet for 
> settings.
> How they work with not to have perl or php do they use bash or something like to 
> have interaction between a webserver and settings 
> I like to use the Boa webserver but how to get the settings from the webserver to 
> example the /etc/rc.conf without perl or any programming language.
> Password management etc
> 
> I good hint on menu driven telnet/sh/bash  would be nice as well.
> Are there some examples for this, like passwd management.
> 
> 
> Cheers
> 
> Sjaak
> 
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Clayton Scott Kern   
[EMAIL PROTECTED]The software states that it
UNIX System Administrator  requires Microsoft Windows 95,
FreeBSD, OpenBSD, NetBSD,  Windows 98, Windows NT 4.0 or
Linux, Solaris, HP-UX  higher, so I installed FreeBSD.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


"The Complete FreeBSD": errata and addenda

2004-04-16 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


How to get best results from FreeBSD-questions

2004-04-16 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to "[EMAIL PROTECTED]" with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey <[EMAIL PROTECTED]>

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies l

Re: boot log

2004-04-16 Thread Greg 'groggy' Lehey
On Friday, 16 April 2004 at 17:37:10 -0400, Charles Swiger wrote:
> On Apr 16, 2004, at 11:31 AM, RazorOnFreeBSD wrote:
>> I just would like to know how can I read the exact text that is
>> displaying very fast at the FreeBSD boot.
>
> Try:
>
>   dmesg | less

Unfortunately, this shows only the kernel messages, not the subsequent
messages from userland programs run during startup.  In particular,
messages from fsck(8) are missing.  Unfortunately, since the demise of
paper consoles, there's no way to save this information.  This is a
general UNIX problem, not a FreeBSD problem.

Greg
--
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Install problems RE: bootloader

2004-04-16 Thread Lance Earl
I have made the decision to move from Linux to FreeBSD as the OS for our
web server and desktops because I am more comfortable with the FreeBSD
philosopy.

I have a small network in my office that consisted of several Linux boxes
and one computer with Windows on hd0 and Linux on hd1.

The install on the straight Linux boxes has gone without a hitch. The
Windows/Linux Box is another story. During the install, it tells me that
since I am installion FreeBSD on hd1, that I will have a chance to install
the bootloader to hd0 at a later time. I have installed the OS twice and
on both occasions I am never given an opportunity to install the boot
loader.

The OS will install without a problem, but when I reboot the machine, it
hangs with GRUB being the last thing displayed on the moniter. What have I
missed?


Lance Earl
DallyPost, Inc.
208-548-2721
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PicoBSD create a http menu

2004-04-16 Thread Sjaak Nabuurs
Hello

I would like to setup a small box for managing bandwith, firewall rules and more ... 
on a flash cards if possible 32Mb card
A user must have to setup his setting like ip adres gateway and DNS and firewall rules 
and more

Everything has to be small I dont want to install apache/perl/php.
I like picoBSD and this looks nice to me.

Does anybody give me a good hint how to setup a webserver menu. Just like many devices 
use for settings (routers/asdl modems .) some devices use telnet for settings.
How they work with not to have perl or php do they use bash or something like to have 
interaction between a webserver and settings 
I like to use the Boa webserver but how to get the settings from the webserver to 
example the /etc/rc.conf without perl or any programming language.
Password management etc

I good hint on menu driven telnet/sh/bash  would be nice as well.
Are there some examples for this, like passwd management.


Cheers

Sjaak



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


Re: What does: "is an interactive port" mean?

2004-04-16 Thread Kris Kennaway
On Fri, Apr 16, 2004 at 05:25:54PM -0400, Gerard Seibert wrote:
> I was just trying to install Star Office 7.0 and I received the following
> error message:
> 
> ** 'editors/staroffice70' is marked as IGNORE:
> "is an interactive port"
> 
> I have run cvsup and portsdb -Uu prior to this. Can anyone enlighten me?

An interactive port is one that asks questions and waits for user
input when building or installing.

Kris


pgp0.pgp
Description: PGP signature


Kernel question about sk(4)

2004-04-16 Thread Mark
I have a question about the sk(4) driver. I want to use the 3Com 3C940,
onboard an ASUS K8V Deluxe motherboard, using FreeBSD 4.9R.

I asked this before; but this is not really a 3com question, but more a
kernel question, I think. At the SYNOPSIS of sk(4), I read:

  device miibus
  device sk

Does that mean I need to recompile the kernel? Because "device sk" is not
part of my kernel config, it seems.

Thanks,

- Mark

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


Re: firewall rules error

2004-04-16 Thread RazorOnFreeBSD
Whatever the rules I'm using I get this message when booting and starting
ipfw :

ipfw: bad arguments, for usage summary "ipfw"

except if I use the /etc/rc.firewall file but that's another "I don't know
why?" it doesn't work with the "SIMPLE" argument in /etc/rc.conf and
modified with the right values.
Do you think this message come from the fwcmd="/sbin/ipfw" line ?
I also verified because I was curious, the ipfw executable file of course
exists in my /sbin directory



> read man ipfw and look at this
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/dialup-firewall/rules.html
> for a basic pattern to follow.
> Untill you get the basics down keep it simple.
>
>
> ### basic rules, ipfw
> ## fxp0 lan  helps you remember later what you are working with
> ## dc0 wan
> ## lo0 loop
> ### first match rule applies #
>
> # Define the firewall command (as in /etc/rc.firewall) for easy
> # reference.  Helps to make it easier to read.
> fwcmd="/sbin/ipfw"
>
> # Force a flushing of the current rules before we reload.
> $fwcmd -f flush
>
>
>
> # Divert all packets through the tunnel interface.
> $fwcmd add divert natd all from any to any via dc0
>
> # Allow all data from my network card and localhost.
> $fwcmd add allow ip from any to any via lo0
> $fwcmd add allow ip from any to any via fxp0
>
> # Allow all connections that I initiate.
> $fwcmd add allow tcp from any to any out xmit dc0 setup
>
> # Once connections are made, allow them to stay open.
> $fwcmd add allow tcp from any to any via dc0 established
>
> # RESET ident packets.
> #$fwcmd add reset log tcp from any to any 113 in recv dc0
>
> # Allow outgoing DNS queries ONLY to the specified servers.
> $fwcmd add allow udp from any to x.x.x.x 53 out xmit dc0
>
> # Allow them back in with the answer
> $fwcmd add allow udp from x.x.x.x 53 to any in recv dc0
>
> # Allow ICMP (for ping and traceroute to work).  You may wish to
> # disallow this, but I feel it suits my needs to keep them in.
> $fwcmd add allow icmp from any to any
>
> # Deny all the rest.
> $fwcmd add deny log ip from any to any
>  end of rules
>
>
> On Fri, Apr 16, 2004 at 10:51:05AM +0200, RazorOnFreeBSD wrote:
> > Hi everyone,
> >
> > I'm trying to write my own rules for ipfw under 4.9 STABLE.
> > But everytime I try to use the file with my rules  my network is
totally blocked and the "ipfw show" command returns :
> >
> > 65535  38 2311  deny ip from any to any
> >
> > I think there's a problem in my rules file and the system replaces my
rules by this one, but I can't figure out what is the problem, my rules file
is really short compared to what I saw sometimes on Internet :
> >
>
> --

> > fwcmd="/sbin/ipfw"
> > oif="dc0"
> > iif="dc1"
> >
> > ${fwcmd} -f flush
> > ${fwcmd} add check-state
> >
> > ${fwcmd} add deny ip from any to any in via $oif verrevpath
> >
> > add 050 divert natd all from any to any via $oif
> > add 100 pass all from any to any via lo0
> > add 200 deny all from any to 127.0.0.0/8
> > add 300 deny ip from 127.0.0.0/8 to any
> >
> > ${fwcmd} add allow ip from me to any via $oif keep-state
> >
> > ${fwcmd} add allow icmp from any to any via $oif icmptypes 0,3,11,12
> >
> > ${fwcmd} add allow tcp from any to me dst-port 22 in via $iif setup
keep-state
> >
> > ${fwcmd} add deny log ip from any to any
>
> --

> >
> > Can anybody tell me what's wrong ?
> >
> > Thanks.
> >
> > razor.
> > ___
> > [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: Beginning C++ in FreeBSD

2004-04-16 Thread Lucas Holt
Why would one need C++ if it's converted to C anyway?

C++ is useful for programmers that believe in object oriented 
methodologies.  Some things are easier to do in C++ as well.  It all 
depends on the programmer.

You seem to favor assembly languages.  I've found that many people into 
assembly never seem to get OO and therefore languages like C++ and Java 
make no sense to them.   Assembly *can be* fast but its not portable.  
C was created to make unix portable.  C++ was created to add OO 
features to C.  (as was objective c)

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'I try to think but nothing happens'
-- Homer Jay Simpson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Beginning C++ in FreeBSD

2004-04-16 Thread Daniela
On Friday 16 April 2004 20:31, Kai Grossjohann wrote:
> Daniela <[EMAIL PROTECTED]> writes:
> > What? C++ code is converted to C? Which compiler are you using, and
> > why the hell would a compiler do this?
>
> In the old days, C++ was implemented by a program called cfront, I
> believe, and it did convert C++ to C.
>
> If you can write a program that converts language X to C, then you get
> to take advantage of all the nifty optimizing C compilers out there.
> If you try to go the direct route to compiling into machine language,
> then you need to do the optimization part yourself.  So converting
> into C as an intermediary language is an option that requires less
> work.

There's no harm in doing the optimizing yourself. If you compile directly, 
then you can optimize much more because you can take advantage of the 
structure of the language. Two different languages always have different 
strengths and weak points.
BTW, when I need somthing optimized, I'll do it in assembly anyway.

> GCC has a backend which can server as an intermediary language, I
> guess, but if you convert into C, then you aren't even wedded to GCC.
>
> Kai
>
>
> ___
> [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: How do I eliminate resolver delay??

2004-04-16 Thread Henrik W Lund
Subject:
Re: How do I eliminate resolver delay??
From:
Jonathon McKitrick <[EMAIL PROTECTED]>
Date:
Fri, 16 Apr 2004 19:12:58 +0100
To:
peter lageotakes <[EMAIL PROTECTED]>
To:
peter lageotakes <[EMAIL PROTECTED]>
CC:
[EMAIL PROTECTED]
On Fri, Apr 16, 2004 at 11:06:48AM -0700, peter lageotakes wrote:
: FYI:  If I remember correctly, running dhcpd
: overwrites the resolve.conf.
That's what caused my problem.  I need a way to restore it when using the
other network with assigned IPs.


jm
Your situation is identical to mine, I have a wireless card I use for my 
 home network with DHCP, and an Ethernet card for school on a fixed-IP 
network. I've thought about using enter and exit hooks with the 
dhclient, but haven't gotten around to trying it out yet.

Maybe having an exit hook that sets resolv.conf up for the fixed-IP 
nameservers whenever the wireless link is taken down? Since it's 
automatically set up when dhclient first assigns an IP you don't really 
need an entry hook, but if you want to do some fancy checks (for a 
connection on the Ether card, for instance) I guess you could set one 
up. And let's not forget the routing tables. Rather than having it in 
rc.conf, maybe throwing that into entry and exit hooks to set up the 
default gateway for the wireless is a good idea as well?

But like I said, I haven't gotten around to trying it out yet. If you 
beat me to it, do tell how it worked out, ok? ;-)

-Henrik W Lund

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


Re: boot log

2004-04-16 Thread RazorOnFreeBSD
Thanks everyone, you were (as usual) very helpful ! ;)

 
> - Original Message - 
> From: "Charles Swiger" <[EMAIL PROTECTED]>
> To: "RazorOnFreeBSD" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, April 16, 2004 11:37 PM
> Subject: Re: boot log
> 
> 
> > On Apr 16, 2004, at 11:31 AM, RazorOnFreeBSD wrote:
> > > I just would like to know how can I read the exact text that is 
> > > displaying very fast at the FreeBSD boot.
> > 
> > Try:
> > 
> > dmesg | less
> > 
> > -- 
> > -Chuck
> > 
> >

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


Re: boot log

2004-04-16 Thread Kevin D. Kinsey, DaleCo, S.P.
RazorOnFreeBSD wrote:

Hello everyone,

I'm pretty sure I so that in another thread but I can't remember and I can't find it in the archive. 
I don't search the right words probably
I just would like to know how can I read the exact text that is displaying very fast at the FreeBSD boot.
All the kernel things and everything that starts up at this time ?
Because I saw my firewall has a problem when the system boot up but I can't read it's too quick.

Thanks.

Best regards.

razor
 

$dmesg

   should get you much of the output, at any time.

In a typical system, the file "/var/log/messages"
would contain an entire transcript of the boot,
IIRC.
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: boot log

2004-04-16 Thread RazorOnFreeBSD
Thanks everyone, you were (as usual) very helpful ! ;)


- Original Message - 
From: "Charles Swiger" <[EMAIL PROTECTED]>
To: "RazorOnFreeBSD" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 11:37 PM
Subject: Re: boot log


> On Apr 16, 2004, at 11:31 AM, RazorOnFreeBSD wrote:
> > I just would like to know how can I read the exact text that is 
> > displaying very fast at the FreeBSD boot.
> 
> Try:
> 
> dmesg | less
> 
> -- 
> -Chuck
> 
> 

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


Re: Beginning C++ in FreeBSD

2004-04-16 Thread Daniela
On Friday 16 April 2004 19:13, Miles Lubin wrote:
> On Fri, 16 Apr 2004 17:20:36 +
>
> Daniela <[EMAIL PROTECTED]> wrote:
> > On Thursday 15 April 2004 11:10, Lucas Holt wrote:
> > > Many universities teach C++ exclusiveley now.  Java and C++ share some
> > > common ground on syntax and the fact that they both support Object
> > > oriented programming.  Aside from that, there are many differences. 
> > > C++ is native code and executes faster than java which uses a virtual
> > > machine.  C++ code is compiled into C code by the compiler and then
> > > assembly.  Java is converted into byte code for a virtual machine.
> >
> > What? C++ code is converted to C? Which compiler are you using, and why
> > the hell would a compiler do this?
> >
> > I would definitely recommend to start with assembly. It gives you a good
> > understanding of the hardware, and every programming language you learn
> > afterwards will be a piece of cake. Then get a good reference (some have
> > already been mentioned) and start coding a real program right away, skip
> > that boring "hello world" stuff. I learned seven programming languages in
> > five months with this method.
> >
> > Daniela
>
> I believe origionally that C++ compilers converted C++ to C.

Why would one need C++ if it's converted to C anyway?

> I'm not sure about starting with assembly, it could be overwhelming.
> I started with Basic, and I learned all the other languages fine.

ASM knowledge really doesn't help with the simple stuff. But later, when you 
need to debug a buffer overflow in a big complicated program, you'd be glad 
to have a basic idea of what the processor is doing. And if ASM is your very 
first language, you are less likely to become a sloppy and lazy coder.

Besides that, I think ASM is the most logical thing in the world. There's 
almost nothing you really have to learn. Actually, that's not so true for 
assembly, but rather for the opcodes themselves. I have always wondered how 
one could remember what all these cryptical numbers stand for, until I 
recognized that I don't have to. There are just a few basic rules, and if you 
know them, you have already won the game.
I think that's a lot simpler than remembering complex syntax rules with many 
exceptions, reserved words, includes, ...

Just my $0.02.

Daniela


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


Re: boot log

2004-04-16 Thread Charles Swiger
On Apr 16, 2004, at 11:31 AM, RazorOnFreeBSD wrote:
I just would like to know how can I read the exact text that is 
displaying very fast at the FreeBSD boot.
Try:

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


Re: boot log

2004-04-16 Thread Josh Paetzel
On Fri, Apr 16, 2004 at 05:31:30PM +0200, RazorOnFreeBSD wrote:
> Hello everyone,
> 
> I'm pretty sure I so that in another thread but I can't remember and I can't find it 
> in the archive. 
> I don't search the right words probably
> I just would like to know how can I read the exact text that is displaying very fast 
> at the FreeBSD boot.
> All the kernel things and everything that starts up at this time ?
> Because I saw my firewall has a problem when the system boot up but I can't read 
> it's too quick.
> 
> Thanks.
> 
> Best regards.
> 
> razor.

scroll-lock will enable you to page-up.  Also there is a /var/run/dmesg.boot

Josh Paetzel

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


Re: What does: "is an interactive port" mean?

2004-04-16 Thread Micheal Patterson




- Original Message - 
From: "Gerard Seibert" <[EMAIL PROTECTED]>
To: "freebsd-questions" <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 4:25 PM
Subject: What does: "is an interactive port" mean?


> I was just trying to install Star Office 7.0 and I received the following
> error message:
>
> ** 'editors/staroffice70' is marked as IGNORE:
> "is an interactive port"
>
> I have run cvsup and portsdb -Uu prior to this. Can anyone enlighten me?
>
> Thanks!
>
> Gerard E. Seibert
> [EMAIL PROTECTED]
>

As I recall, Star Office is no longer a freeware item. You have to purchase
it from the main web site, place the downloaded tarball in your distfiles
directory and then re-run make to patch it properly for fbsd. The last time
I looked into purchasing it was when it was still 6.0 and it was $75.00 per
copy.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


boot log

2004-04-16 Thread RazorOnFreeBSD
Hello everyone,

I'm pretty sure I so that in another thread but I can't remember and I can't find it 
in the archive. 
I don't search the right words probably
I just would like to know how can I read the exact text that is displaying very fast 
at the FreeBSD boot.
All the kernel things and everything that starts up at this time ?
Because I saw my firewall has a problem when the system boot up but I can't read it's 
too quick.

Thanks.

Best regards.

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


What does: "is an interactive port" mean?

2004-04-16 Thread Gerard Seibert
I was just trying to install Star Office 7.0 and I received the following
error message:

** 'editors/staroffice70' is marked as IGNORE:
"is an interactive port"

I have run cvsup and portsdb -Uu prior to this. Can anyone enlighten me?

Thanks!

Gerard E. Seibert
[EMAIL PROTECTED]


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


Re: timezone command

2004-04-16 Thread Shaun Friedle
On Fri, 2004-04-16 at 17:17, Matthew Seaman wrote:
> You can do it very easily with perl:
> 
> #!/usr/bin/perl -w
> 
> use POSIX (strftime);
> 
> ($d = strftime("%z", localtime)) =~ s/(\d\d)(\d\d)/$1:$2/;
> 
> print "$d\n";
> 
> but it's probably a bit too heavyweight to use perl to format the
> string if you aren't already writing a whole script in perl.  Instead,
> try:
> 
> date +%z | sed -e 's,\([0-9][0-9]\)\([0-9][0-9]\),\1:\2,'
> 
>   Cheers,
> 
>   Matthew


Oops, didn't notice this because it was in a different thread. Well now
you  have two Perl solutions :)
-- 
Shaun Friedle

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


Re: ports upgrade error?

2004-04-16 Thread Marwan Sultan
Thank you Tim, Thank you Kent,
This fixed the problem.


On Fri, 16 Apr 2004 07:14:28 -0700, Kent Stewart wrote
> 
> You only need the one with the *default on it. It is complaining 
> about the first one.
> 
> Kent
> 
> > *default base=/usr
> > *default prefix=/usr
> > *default release=cvs tag=.
> > *default delete use-rel-suffix
> > *default compress
> > ports-all

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


Re: perl script help

2004-04-16 Thread Shaun Friedle
On Fri, 2004-04-16 at 17:05, JJB wrote:
> I know nothing about writing perl scripts.
> 
> Can somebody show me how to  add the : in the output 
> of the date command in the simple following script?

Try this:

#!/usr/bin/perl
$timezone=`date +\%z`;  #Gets the offset in $timezone
$timezone =~ s/(\+[0-9][0-9])/$1:/; #Replaces ±NN with ±NN:
print $timezone;#Prints $timezone


-- 
Shaun Friedle
[EMAIL PROTECTED]

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


4.9R - BTX HALTED problem - my solution

2004-04-16 Thread Keith Baldwin
After reading an agonizing thread in freebsd-hackers from back in 2000 with
no solution in layman's terms, this is how I got this to work.

My system:
Celeron 1.7Ghz
MSI MS6526 v2  mobo (Intel arch, apparently this and/or the bios is the
problem)
WD 40GB HDD

The problem: 
After doing a new cd install using the sysinstall menu's as I normally do
this machine failed to boot. All I had to go on was a bunch of technical
"garbage" and the message BTX HALTED.

The solution:

Boot with the install cd
Select Standard Install
In fdisk, as suggested in the freebsd-hackers thread, I tried altering the
disk geometry to what my BIOS "sees". That has never worked for me.
Nonetheless, I did try it. Fdisk just complains and reverts back to what
fdisk "sees".
Create one Slice or select "A"
Select "F" for dd mode, select yes when prompted.
Make the freebsd slice bootable with "S"
Quit fdisk with "Q"
At the Disklabel part of the install select "A"
I didn't like the setup so I deleted all and recreated my scheme.
Quit disklabel with "Q"
When prompted for the boot manager I chose Standard (no boot manager)
The install continued and viola, the box booted normally.

Hopes this helps.


Regards,
Keith



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


Re: Beginning C++ in FreeBSD

2004-04-16 Thread Kai Grossjohann
Daniela <[EMAIL PROTECTED]> writes:

> What? C++ code is converted to C? Which compiler are you using, and
> why the hell would a compiler do this?

In the old days, C++ was implemented by a program called cfront, I
believe, and it did convert C++ to C.

If you can write a program that converts language X to C, then you get
to take advantage of all the nifty optimizing C compilers out there.
If you try to go the direct route to compiling into machine language,
then you need to do the optimization part yourself.  So converting
into C as an intermediary language is an option that requires less
work.

GCC has a backend which can server as an intermediary language, I
guess, but if you convert into C, then you aren't even wedded to GCC.

Kai


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


Re: upgrading Gnome components using portupgrade

2004-04-16 Thread Kent Stewart
On Friday 16 April 2004 12:42 pm, Jeremy Messenger wrote:
> On Fri, 16 Apr 2004 11:52:04 -0700, Kent Stewart <[EMAIL PROTECTED]> 
wrote:
> > On Friday 16 April 2004 11:39 am, sAndri Kok wrote:
> >> Hi guys,
> >>
> >> I have what I believe are Gnome components installed on my
> >> computer (gimp, Gconf, gtk, glib, etc). I'm running portupgrade
> >> now and I read the message that I should upgrade Gnome using the
> >> script provided by FreeBSD Gnome. The question is, if I only have
> >> parts of Gnome installed, while I'm using fluxbox as window
> >> manager, do I need to run the script? or is portupgrade fine? my
> >> portupgrade is currently still running and I don't seem to
> >> encounter any problem (yet).
> >
> > I also run that way and from my experience the odds are pretty high
> > that something will be done out of order. I did a portupgrade -pufr
> > glib to do the upgrade and had a few problems that I had to
> > manually update. I understand from other comments that re-running
> > the upgrade script makes the update go faster than a -rf glib. If
> > you look at ports that you have installed that depend on glib, the
> > list seems to go forever. I don't know if a -pufrR glib would have
> > prevented the problems but that would have used even more computer
> > time to do the update. I think the AMD 2400+ needed something like
> > 13 hours to do the update the way I did it.
>
> I personal would go for rebuild everything that depend on pkg-config
> instead glib, because of libxml2, libxslt and etc that don't depend
> on glib.
>

I think that is close to the overkill -rRfa. You only want to update the 
ports that should be updated. It hasn't been that long since I did a 
-rf expat. I feel strongly about updating all dependancies of 
libraries. That is one of the fine features of make in the programming 
world. If you modify a library, it updates everything that uses it. It 
just isn't always necessary.

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: How do I eliminate resolver delay??

2004-04-16 Thread Olaf Hoyer
On Fri, 16 Apr 2004, Jonathon McKitrick wrote:

> On Fri, Apr 16, 2004 at 11:06:48AM -0700, peter lageotakes wrote:
> : FYI:  If I remember correctly, running dhcpd
> : overwrites the resolve.conf.
>
> That's what caused my problem.  I need a way to restore it when using the
> other network with assigned IPs.

In your /etc/dhclient.conf you can use default/prepend statements, see
dhclient.conf (5)

You can rather finetune this, or have other ways:

When you have @home some kind of server, have him also playing DHCP with
assignment of gateway, dns etc.

when it comes to dns, then you could setup named with split forward.

So make sure that you have @home a different network than that from your
work.

Steps to do:

in /etc/namedb, run ./make-localhost after /etc/hosts is populated with
reasonable name for your box.
make sure that a recent named.root is available.

in named.conf:

zone "." {
type hint;
file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};


then comes the magic:
//Aufsetzen des split forward fuer intern
zone "0.168.192.IN-ADDR.ARPA" {
type forward;
forward only;
forwarders {
192.168.0.1;
};
};

zone "example.de" {
type forward;
forward only;
forwarders {
192.168.0.1;
};
};





Add forwarder statements where approp.

I use this setup in a production environment on a box running nagios for
monitoring several subnets, all VLAN with their own DNS in those
VLANS...

named will act as a caching nameserver only, when it comes to private
VLAN, it will use those other DNS, anything not in those forwarders
clauses will be resolved on his own, generating queries himself up to
the root Nameservers.

That would be the smart way of dealing with this, when you want, you
could add a default forwarders statement to the ns of your ISP @home...

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freeradius + 800 users :-(

2004-04-16 Thread Kai Grossjohann
Mipam <[EMAIL PROTECTED]> writes:

> That is, the machines acts as radius server. Another machine will file a
> radius authentication request to the server to give access to certain
> users. But 800 users is a lot and sometimes users will be removed and be
> added etc. Does anybody have suggestions how to maintain such a system
> and a mechanism to remove and add users?

I guess most people have their home-grown mechanisms for
provisioning.  AFAIK, FreeRadius can authenticate against LDAP or a
MySQL database, and there are frontends for, well, at least for MySQL,
and I'd be very surprised if there wasn't something better than
ldapsearch for LDAP...

Kai

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


Re: How to capture/record virtual console output?

2004-04-16 Thread Kirk Strauser
At 2004-04-16T18:54:04Z, Mike <[EMAIL PROTECTED]> writes:

> KDE (3.14) is crashing on me and I need to capture the error messages (so
> that I can submit my problem to the this mailing list).

A generally useful command is "script", which captures every bit of text
send to and received from the console.
-- 
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: upgrading Gnome components using portupgrade

2004-04-16 Thread Jeremy Messenger
On Fri, 16 Apr 2004 11:52:04 -0700, Kent Stewart <[EMAIL PROTECTED]> wrote:

On Friday 16 April 2004 11:39 am, sAndri Kok wrote:
Hi guys,

I have what I believe are Gnome components installed on my computer
(gimp, Gconf, gtk, glib, etc). I'm running portupgrade now and I read
the message that I should upgrade Gnome using the script provided by
FreeBSD Gnome. The question is, if I only have parts of Gnome
installed, while I'm using fluxbox as window manager, do I need to
run the script? or is portupgrade fine? my portupgrade is currently
still running and I don't seem to encounter any problem (yet).
I also run that way and from my experience the odds are pretty high that
something will be done out of order. I did a portupgrade -pufr glib to
do the upgrade and had a few problems that I had to manually update. I
understand from other comments that re-running the upgrade script makes
the update go faster than a -rf glib. If you look at ports that you
have installed that depend on glib, the list seems to go forever. I
don't know if a -pufrR glib would have prevented the problems but that
would have used even more computer time to do the update. I think the
AMD 2400+ needed something like 13 hours to do the update the way I did
it.
I personal would go for rebuild everything that depend on pkg-config 
instead glib, because of libxml2, libxslt and etc that don't depend on 
glib.

Cheers,
Mezz
Kent


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


KDE crashes for 1 user but not the others?

2004-04-16 Thread Mike
Greeting:

The system: FreeBSD 4.9-stable

I have KDE 3.14 installed and all was working well for a number of 
weeks. Root and one other regular user account had been able to start 
and use KDE and Gnome.  And both GUI environments operated normally.

A few days ago KDE under root account wouldn't start (startx).  Howevere 
KDE started under a regular user account works perfectly (and continues 
to do so).

Furthermore, Gnome (2.4) under root starts (half-way?) up to the point 
of the banner and then hangs.

Here is the error message produced by the KDE crash:

=== ERROR MESSAGE START ==
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 4.9 i386 [ELF]
Build Date: 07 October 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Apr 16 11:12:49 2004
(==) Using config file: "/etc/X11/XF86Config"
startkde: Starting up...
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
DCOP aborting call from 'anonymous-3839' to 'kded'
ERROR: Communication problem with kded, it probably crashed.
DCOP aborting call from 'anonymous-3842' to 'knotify'
ERROR: Communication problem with knotify, it probably crashed.
startkde: Shutting down...
KLauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.
=== ERROR MESSAGE END ==
Question:  There is just ONE install of KDE so,  how can this happen? 
Both user accounts start-up the "same" KDE right?

I've tried comparing the .kde and .kderc files between the user accounts 
but I can't find any diffences (or I don't know what to look for).

Any hints or suggestions would be appreciated.  Thanks.

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


Re: How do I eliminate resolver delay??

2004-04-16 Thread peter lageotakes

--- Jonathon McKitrick <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 16, 2004 at 11:06:48AM -0700, peter
> lageotakes wrote:
> : FYI:  If I remember correctly, running dhcpd
> : overwrites the resolve.conf.
> 
> That's what caused my problem.  I need a way to
> restore it when using the
> other network with assigned IPs.
> 
> 
> 
> jm
> -- 
> My other computer is your Windows box.
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

I dont believe that the dchpd is truely the cause of
the issue, with respect to the overwriting of
resolv.conf.  As you plug into a new network, the
resolve.conf file should be updated correctly.  I
believe that it is the defaultrouter entry in the
rc.conf file that is causing the issue with your DNS.

Additonal thoughts and suggest (corrections) welcomed.

Pete







__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to capture/record virtual console output?

2004-04-16 Thread Mike
Kent Stewart wrote:

On Friday 16 April 2004 11:54 am, Mike wrote:

Greetings:

System: FreeBSD 4.9-stable

KDE (3.14) is crashing on me and I need to capture the error messages
(so that I can submit my problem to the this mailing list).
I'm logged in as root. And I'm in tty0.  KDE crashes (core dump) and
produces several error messages along with mention of the file
"/var/log/XFree86.0.log".
I checked the contents of "/var/log/XFree86.0.log" and it does not
contain the error messages produced by the crashing KDE.


Have you tried something like
startx >& kde.log
Kent,

Thanks. That worked perfectly.  I was thrashing around trying to use 
"tail" without much success.

So now I have the error messages.  On the next problem...

Mike
I don't start up in kde but at the cli and use startx to fire off kde.

Yes, I should have mentioned that. I use startx too to start kde.

I suspect that you did a partial update of some of the recent library 
changes. Something is linking to a new library but has the old 
structures.

Kent


So I need to find a way grab or capture the text output generated
from the crash.
I've tried opening pico in tty1 and using the mouse in tty0 to
highlight (and place in the buffer?) the error messages on tty0.  No
go. It's either that the buffer gets cleared when switching between
tty0 and tty1 or that highlighting the text via mouse isn't working.
I've gone through 2-years worth of FreeBSD mailing list messages but
I can't seem to come up with solution.
Hints?  Thank you.

Michael Chinn
___
[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: Beginning C++ in FreeBSD

2004-04-16 Thread Miles Lubin
On Fri, 16 Apr 2004 17:20:36 +
Daniela <[EMAIL PROTECTED]> wrote:

> On Thursday 15 April 2004 11:10, Lucas Holt wrote:
> > Many universities teach C++ exclusiveley now.  Java and C++ share some
> > common ground on syntax and the fact that they both support Object oriented
> > programming.  Aside from that, there are many differences.  C++ is native
> > code and executes faster than java which uses a virtual machine.  C++ code
> > is compiled into C code by the compiler and then assembly.  Java is
> > converted into byte code for a virtual machine.
> 
> What? C++ code is converted to C? Which compiler are you using, and why the 
> hell would a compiler do this?
> 
> I would definitely recommend to start with assembly. It gives you a good 
> understanding of the hardware, and every programming language you learn 
> afterwards will be a piece of cake. Then get a good reference (some have 
> already been mentioned) and start coding a real program right away, skip that 
> boring "hello world" stuff. I learned seven programming languages in five 
> months with this method.
> 
> Daniela

I believe origionally that C++ compilers converted C++ to C.

I'm not sure about starting with assembly, it could be overwhelming.
I started with Basic, and I learned all the other languages fine.

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


Re: How to capture/record virtual console output?

2004-04-16 Thread Kent Stewart
On Friday 16 April 2004 11:54 am, Mike wrote:
> Greetings:
>
> System: FreeBSD 4.9-stable
>
> KDE (3.14) is crashing on me and I need to capture the error messages
> (so that I can submit my problem to the this mailing list).
>
> I'm logged in as root. And I'm in tty0.  KDE crashes (core dump) and
> produces several error messages along with mention of the file
> "/var/log/XFree86.0.log".
>
> I checked the contents of "/var/log/XFree86.0.log" and it does not
> contain the error messages produced by the crashing KDE.

Have you tried something like
startx >& kde.log

I don't start up in kde but at the cli and use startx to fire off kde.

I suspect that you did a partial update of some of the recent library 
changes. Something is linking to a new library but has the old 
structures.

Kent

>
> So I need to find a way grab or capture the text output generated
> from the crash.
>
> I've tried opening pico in tty1 and using the mouse in tty0 to
> highlight (and place in the buffer?) the error messages on tty0.  No
> go. It's either that the buffer gets cleared when switching between
> tty0 and tty1 or that highlighting the text via mouse isn't working.
>
> I've gone through 2-years worth of FreeBSD mailing list messages but
> I can't seem to come up with solution.
>
> Hints?  Thank you.
>
> Michael Chinn
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


How to capture/record virtual console output?

2004-04-16 Thread Mike
Greetings:

System: FreeBSD 4.9-stable

KDE (3.14) is crashing on me and I need to capture the error messages 
(so that I can submit my problem to the this mailing list).

I'm logged in as root. And I'm in tty0.  KDE crashes (core dump) and 
produces several error messages along with mention of the file 
"/var/log/XFree86.0.log".

I checked the contents of "/var/log/XFree86.0.log" and it does not 
contain the error messages produced by the crashing KDE.

So I need to find a way grab or capture the text output generated from 
the crash.

I've tried opening pico in tty1 and using the mouse in tty0 to highlight 
(and place in the buffer?) the error messages on tty0.  No go. It's 
either that the buffer gets cleared when switching between tty0 and tty1 
or that highlighting the text via mouse isn't working.

I've gone through 2-years worth of FreeBSD mailing list messages but I 
can't seem to come up with solution.

Hints?  Thank you.

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


Re: upgrading Gnome components using portupgrade

2004-04-16 Thread Kent Stewart
On Friday 16 April 2004 11:39 am, sAndri Kok wrote:
> Hi guys,
>
> I have what I believe are Gnome components installed on my computer
> (gimp, Gconf, gtk, glib, etc). I'm running portupgrade now and I read
> the message that I should upgrade Gnome using the script provided by
> FreeBSD Gnome. The question is, if I only have parts of Gnome
> installed, while I'm using fluxbox as window manager, do I need to
> run the script? or is portupgrade fine? my portupgrade is currently
> still running and I don't seem to encounter any problem (yet).
>

I also run that way and from my experience the odds are pretty high that 
something will be done out of order. I did a portupgrade -pufr glib to 
do the upgrade and had a few problems that I had to manually update. I 
understand from other comments that re-running the upgrade script makes 
the update go faster than a -rf glib. If you look at ports that you 
have installed that depend on glib, the list seems to go forever. I 
don't know if a -pufrR glib would have prevented the problems but that 
would have used even more computer time to do the update. I think the 
AMD 2400+ needed something like 13 hours to do the update the way I did 
it.

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: sshd login "error"

2004-04-16 Thread Antoine Jacoutot
On Friday 16 April 2004 20:47, Thomas Beer wrote:
> The DSAauthentication key is for a normal user and
> runs smoothly. If I try to login as root from
> one of the boxes to another (works in both directions)
> I get a password prompt and after entering the root
> password access is granted!??
>
> Am I missing something?

Maybe try to add:

ChallengeResponseAuthentication no

This will disable PAM authentication.

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


sshd login "error"

2004-04-16 Thread Thomas Beer
Dear All,

I'm running sshd on two machines (4.8 and 4.9 respectively)
with the following options in sshd_config

PermitRootLogin no
PasswordAuthentication no

The DSAauthentication key is for a normal user and
runs smoothly. If I try to login as root from
one of the boxes to another (works in both directions)
I get a password prompt and after entering the root
password access is granted!??

Am I missing something?

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


Re: thinkpad 600

2004-04-16 Thread Bob Collins
On Fri, Apr 16, 2004, Jerry McAllister clacked the keyboard to produce:
> > 
> > On Thu, Apr 15, 2004, [EMAIL PROTECTED] clacked the keyboard to produce:
> > > I would  like to  investigate  freebsd   as an os   and  use it in an 
> > > everyday  enviroment  and  say  good riddens  to  MS  and  hopefolly 
> > > do my bit for  the other battlers   in the field  
> > 
> 
> Works real well.   I would suggest FreeBSD 4.9 for now.

Same here. Have tried some of the 5.x, and ran into some kookiness, if
you will. The 4.9 is quite good right now.

> 
> > Your best bet will be to delete the partition set up for Windows 98 and
> > use the full disk and auto slices from the install routine. 
> 
> I am not sure why this would be recommended.  
> If you have enough disk, then just shrink the Win-98 slice to
> make room for another one and install FreeBSD on it.  Then you
> can "dual boot" the machine - that is you can have both systems 
> available and choose at boot time which to bring up.

The OP notes, as seen above, that he is after using FreeBSD daily and to
be rid of Microsoft, hence my suggestion of a single boot device.

-- 
Bob

"Play is the work of children. It's very serious stuff. And if it's
properly structured in a developmental program, children can blossom."
-Bob Keeshan aka `Captain Kangaroo'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: nfs cache

2004-04-16 Thread Henning, Brian


-Original Message-
From: Dan Nelson [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 16, 2004 11:34 AM
To: Brian Henning
Cc: [EMAIL PROTECTED]
Subject: Re: nfs cache


In the last episode (Apr 16), Brian Henning said:
> I am trying to get some info on the cache for nfs on the nfs client. I

> have looked at nfsstat
> 
> where are the settings located for the nfs cache?

I think they're just part of the system's regular disk cache, except for
the sysctl below.
 
> the setattr percentages are really high on this server. The is the 
> main reason i want to know what is going on with the cache.

Getattr, you mean?  That just means that the client has stat()'ed a file
twice within the timeout specified by the vfs.nfs.access_cache_timeout
sysctl, and has pulled the value from its cache instead of querying the
server.

> Version 2: (185583924 calls)
> null  getattr   setattr   root  lookup
> 0 0%  175265837 94% 66975 0%  0 0%  6407008 3%

So here, 94% of the getattr calls were pulled from cache.

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

Dan,
Sorry, you were right I did mean getattr.
Just curious, does this mean that 94% of the NFS calls made, where
getattr() calls (175265837/185583924 = .944)?
Thanks,

Brian



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


upgrading Gnome components using portupgrade

2004-04-16 Thread sAndri Kok
Hi guys,

I have what I believe are Gnome components installed on my computer (gimp, 
Gconf, gtk, glib, etc). I'm running portupgrade now and I read the message 
that I should upgrade Gnome using the script provided by FreeBSD Gnome. The 
question is, if I only have parts of Gnome installed, while I'm using 
fluxbox as window manager, do I need to run the script? or is portupgrade 
fine? my portupgrade is currently still running and I don't seem to 
encounter any problem (yet).

Regards,

Andri Kok

_
SEEK: Now with over 50,000 dream jobs! Click here:  
http://ninemsn.seek.com.au?hotmail

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


Re: thinkpad 600

2004-04-16 Thread Jerry McAllister
> 
> On Thu, Apr 15, 2004, [EMAIL PROTECTED] clacked the keyboard to produce:
> > Hi Please can you tell me  how to install freebsd   on my thinkpad  600  
> > as  I have  win 98 on it  and  it is a refurbed  unit  
> > I would  like to  investigate  freebsd   as an os   and  use it in an 
> > everyday  enviroment  and  say  good riddens  to  MS  and  hopefolly 
> > do my bit for  the other battlers   in the field  
> > Thanks  
> > gary
> 
> Sure, you will need to start at the FreeBSD web pages and read up on the
> install methods etc. Next you will want to download some form of the
> media, either the floppy images or a full CD iso image. Or better yet,
> purchase them from the FreeBSD mall. If not purchase, you can make a
> donation to the project, but I digress.
> 
> Once you have the media, assuming the CD, you can set the Thinkpad BIOS
> to boot from the CD. When you boot from the CD, you will begin the
> install and just follow through.

Works real well.   I would suggest FreeBSd 4.9 for now.

> Your best bet will be to delete the partition set up for Windows 98 and
> use the full disk and auto slices from the install routine. 

I am not sure why this would be recommended.  
If you have enough disk, then just shrink the Win-98 slice to
make room for another one and install FreeBSD on it.  Then you
can "dual boot" the machine - that is you can have both systems 
available and choose at boot time which to bring up.

There are good directions in the FreeBSd documentation on how
to dual boot a machine.   It works well.   I have three of them
dual booted here in the office - with Win-95, Win2k, and XP along
side the FreeBSD.

The only real difficulty is that people often get confused by the
terminology.FreeBSD divides a disk in up to 4 to slices that
are designated 1,,4.  Then each slice can be divided in to as many 
as 8 partitions designated a,,h.   But, Microsoft calls those
slices primary partitions.   It can get a little more convuluted
because MS has extra divisions it calls extended partitions, but
they have no _direct_ analog in FreeBSD.   So, documentation can 
be a little confusing.   Just pay attention to how the terms are
being used.

> It should be
> obvious when you run through it. Just take your time and read each
> screen well and make sure you understand what you are doing at each
> screen. I have read it here before that if this is your first go at
> FreeBSD, like Window$, you will want to install more than once, just
> because as a newbie you will make a mistake or two. No worries though,
> there are many people here who will help when you have troubles.
> 
> Just be sure to read as much as you can prior to asking a question, and
> maybe search google or dogpile or something like that to get answers
> prior to asking. Almost all the questions you will have in the beginning
> will have already been answered many times before.

I agree with reading as much as you can before getting started.
The place to start is with the FreeBSd handbook - available on
the FreeBSD web site and then the FAQs and some other archive and
third party web page comments.   Finally there are several good
pubblished books in print such as "The Complete FreeBSD" and
"FreeBSD Unleashed" that take you through the install process.

Finally, when you have digested those sources as much as you can
(admittedly, it is hard to absorb everything before you start and
gain some experience), ask clarifying questions on this list or
on the newbies list, etc.

jerry

> 
> Finally, you will most likely want to ask Thinkpad specific questions on
> the `mobile' FreeBSD mailing list. The address is
> [EMAIL PROTECTED] Questions about FreeBSD belong here. Just so
> you know, FreeBSD runs great on the 600 series. It is running nicely on
> my 600X and also on my T22.
> 
> Good luck and enjoy.
> 
> -- 
> Bob
> 
> "Play is the work of children. It's very serious stuff. And if it's
> properly structured in a developmental program, children can blossom."
> -Bob Keeshan aka `Captain Kangaroo'
> ___
> [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: How do I eliminate resolver delay??

2004-04-16 Thread Jonathon McKitrick
On Fri, Apr 16, 2004 at 11:06:48AM -0700, peter lageotakes wrote:
: FYI:  If I remember correctly, running dhcpd
: overwrites the resolve.conf.

That's what caused my problem.  I need a way to restore it when using the
other network with assigned IPs.



jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I eliminate resolver delay??

2004-04-16 Thread peter lageotakes

--- Jonathon McKitrick <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 16, 2004 at 07:26:00PM +0200, Olaf Hoyer
> wrote:
> : > So maybe I need to replace these when I connect
> to my wireless network?
> : >
> : Yes, because in that case your notebook tries to
> reach your DNS server
> : at your workplace, and times out.
> 
> Ah, now it all makes sense.  I fixed hosts when
> using the network, but
> forgot about resolv.conf.
> 
> Is there an easier way to replace resolv rather than
> just running a script,
> which is what I (will) do now?
> 
> : Or you run named as a caching-only NS, and add
> nameserver 127.0.0.1
> : first place in /etc/resolv.conf.
> : 
> : 
> : pris 18:57 >host batcave.org
> : batcave.org has address 64.12.47.237
> : 
> : something like batcave.home or so will be fine...
> 
> So batcave.home will solve the problem rather than
> setting up named?
> 
> Vielen dank!
> 
> jm
> -- 
> My other computer is your Windows box.
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

FYI:  If I remember correctly, running dhcpd
overwrites the resolve.conf.

Pete




__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I eliminate resolver delay??

2004-04-16 Thread Jonathon McKitrick
On Fri, Apr 16, 2004 at 07:26:00PM +0200, Olaf Hoyer wrote:
: > So maybe I need to replace these when I connect to my wireless network?
: >
: Yes, because in that case your notebook tries to reach your DNS server
: at your workplace, and times out.

Ah, now it all makes sense.  I fixed hosts when using the network, but
forgot about resolv.conf.

Is there an easier way to replace resolv rather than just running a script,
which is what I (will) do now?

: Or you run named as a caching-only NS, and add nameserver 127.0.0.1
: first place in /etc/resolv.conf.
: 
: 
: pris 18:57 >host batcave.org
: batcave.org has address 64.12.47.237
: 
: something like batcave.home or so will be fine...

So batcave.home will solve the problem rather than setting up named?

Vielen dank!

jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Identifying traffic logged by ipfw

2004-04-16 Thread Ben Beuchler
I'm working on a new bridging firewall using ipfw on FBSD 5.1.  The goal
is to default to closed with a few exceptions.  To test my ruleset, I end
with this rule:

add 420 allow log ip from any to any

The idea is that by watching the logs I could see what protocols I forgot
to create rules for.  This is what I'm getting in the logs:

Apr 16 16:43:40 bfw kernel: ipfw: 420 Accept MAC in via em2

I'm guessing this means it's matching non-ip traffic, but I couldn't find
any info to confirm this.  Is there any sort of trick I could use to log
the entire packet?  Since nothing about the source or destination was
logged, I don't have enough info to create a tcpdump filter.  Perhaps some
sort of divert rule?

Thanks!

-Ben

-- 
Ben Beuchler   There is no spoon.
[EMAIL PROTECTED]-- The Matrix
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do you switch between wireless networks?

2004-04-16 Thread Remko Lodder
BSD baby wrote:
I just got my wireless connection working with a new PCMCIA card.
But I'm still naming the wireless network in my rc.conf file. (DHCP 
connection)
But as I go to join other wireless DHCP networks around the world,
what's the best way to switch to that network without rebooting to do it 

from rc.conf?
ifconfig  ssid   netmask 
should do that trick without rebooting.


What I couldn't find in the handbook was how to do this for DHCP?

If I don't know the IP or netmask, and want to let the DHCP server decide,
how to I tell that to ifconfig?


dhclient $ifname ? (only i am not sure whether the sid gets caught, it 
might do it when the ssid is not hidden, but mostly the ssid is hidden 
(as it should), if you know that you can first ifconfig wi0 ssid 
 and then run dhcp or something.)

Hope this helps a bit...

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bigsister

2004-04-16 Thread OMAR SAID ROSAS CORBALA
Hola mi nombre es Said soy de México, quisiera saber como puedo instalar 
"big sister" en freebsd para poder monitorear mi red

agradezco su respuesta bye

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


bigsister

2004-04-16 Thread OMAR SAID ROSAS CORBALA
Hola mi nombre es Said soy de México, quisiera saber como puedo instalar 
"big sister" en freebsd para poder monitorear mi red

agradezco su respuesta bye

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


Re: How do I eliminate resolver delay??

2004-04-16 Thread Olaf Hoyer
On Fri, 16 Apr 2004, Jonathon McKitrick wrote:
>
> The ed1 is when I am at work.  The wi0 is at home.  I just checked
> resolv.conf, and found this:
>
> search winnt.net
> nameserver 10.100.20.70
> nameserver 10.100.20.76
>
> So maybe I need to replace these when I connect to my wireless network?
>
Yes, because in that case your notebook tries to reach your DNS server
at your workplace, and times out.

You also should choose another domain for home use, batcave.org is
registered in the internet, so there are replies for that, also for a
root name server its a legit domain, so it forwards the query to the
approp. NS in the net, and there you get some results back you surely
will not want to get.

Or you run named as a caching-only NS, and add nameserver 127.0.0.1
first place in /etc/resolv.conf.


pris 18:57 >host batcave.org
batcave.org has address 64.12.47.237

something like batcave.home or so will be fine...


HTH
Olaf



-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vinum havoc

2004-04-16 Thread Joan Picanyol i Puig
[please honour Mail-Followup-To:, can't read the list until I solve thi
until I solve this]

Hi,

For unknown reasons, vinum has broken itself again (the only weird thing
I did was booting from a different root partition). The only commands I
have given are start/stop whatever (pretty much everything). Note how
storage & worthless are apparently empty, plus an *invalid* drive at the
bottom (long lines):

# vinum ld
D storage   State: up   Device /dev/ad0s1d  Avail: 38166/381 66 MB 
(100%)
D worthless State: up   Device /dev/ad2s1d  Avail: 38038/380 38 MB 
(100%)
D barracuda State: up   Device /dev/da0s1e  Avail: 2/1280 MB (0%)
D barracudafState: up   Device /dev/da0s1f  Avail: 0/7210 MB (0%)
D ultrastar State: up   Device /dev/da1s1e  Avail: 1279/1280 MB 
(100%)
D ultrastarfState: up   Device /dev/da1s1f  Avail: 7210/7210 MB 
(100%)
D *invalid* State: referenced   Device  Avail: 0/0 MB

Any attempt to start the volume on storage/worthless fails like:

vinum -> lv -r bulk
V bulk  State: down Plexes:   1 Size: 74 GB
P bulk.p0 C State: faulty   Subdisks: 2 Size: 74 GB
S bulk.p0.s0State: crashed  PO:0  B Size: 37 GB
S bulk.p0.s1State: crashed  PO:   37 GB Size: 37 GB
vinum -> start bulk.p0.s0
Can't start bulk.p0.s0: Drive is down (5)
vinum -> start bulk.p0.s1
Can't start bulk.p0.s1: Drive is down (5)

Now for the worst (more damage inflicting) part. Even though vinum says
a mirrored volume is up, I can't even fsck it:

# vinum lv home
V home  State: up   Plexes:   2 Size:   4394 MB
# fsck /dev/vinum/home
** /dev/vinum/home
BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/vinum/home: NOT LABELED AS A BSD FILE SYSTEM (unused)
# mount /fs/home/mount
mount: /fs/home/dev-mount on /fs/home/mount: incorrect super block

This is on RELENG_4_9, and I have already rebooted/restarted vinum many
times. 

What should I do to make vinum come back to reason? 

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


Re: how do you switch between wireless networks?

2004-04-16 Thread BSD baby
> >I just got my wireless connection working with a new PCMCIA card.
> >But I'm still naming the wireless network in my rc.conf file. (DHCP 
> >connection)
> >But as I go to join other wireless DHCP networks around the world,
> >what's the best way to switch to that network without rebooting to do it 
> >from rc.conf?
> 
> ifconfig  ssid   netmask 
> should do that trick without rebooting.


What I couldn't find in the handbook was how to do this for DHCP?

If I don't know the IP or netmask, and want to let the DHCP server decide,
how to I tell that to ifconfig?

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


Re: How do I eliminate resolver delay??

2004-04-16 Thread Jonathon McKitrick
On Fri, Apr 16, 2004 at 09:05:30AM -0700, peter lageotakes wrote:
: Just curious, what do you have in your resolv.conf and
: rc.conf file?  Are you also running DHCP or any
: routing daemons?


Hmm.  I have 2 setups:

hostname="snakepit"
network_interfaces="lo0 tun0"
ifconfig_ed1="dhcp"
#ifconfig_ed1="inet 192.168.0.2 netmask 255.255.255.0"
#ifconfig_ed1="inet 10.0.0.2 netmask 255.255.255.0"
ifconfig_wi0="inet 10.0.0.2 netmask 255.255.255.0"
defaultrouter="10.0.0.1"
sshd_enable="yes"

The ed1 is when I am at work.  The wi0 is at home.  I just checked
resolv.conf, and found this:

search winnt.net
nameserver 10.100.20.70
nameserver 10.100.20.76

So maybe I need to replace these when I connect to my wireless network?

jonathon

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


Re: Setting Sendmail to Refuse Possibly Forged Headers

2004-04-16 Thread Dan Nelson
In the last episode (Apr 16), antenneX said:
> If I may ask one more thing about the milter-sender:
> The only feature I really wanted from the milter was the option to
> control the number of connections for "unknown users". I get a lot of
> those -- dozens -- hundreds. I believe that is called the
> "Rumplestilkin" (sp?) attack where a search is conducted for good
> emails on a system.
>
> I have not yet seen this option available inside Sendmail and wonder
> if there is one out there yet...?? -- without having to install the
> milter?

There's a confBAD_RCPT_THROTTLE value you can set, which will make
sendmail add 1-second delays between checks after a specified number of
invalid emails, but that's about all you can do from there.

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


sound card problems

2004-04-16 Thread Rogue Spider
i tried using hints to enable my ess1886 sound card
its a 32 bit sound card and all i get is a message
device /dev/dsp operation not supported by device
what does it mean?
?how do i fix it?

freebds 5.0, kde 3.0, compaQ 200mz MMX, 32 bit ram,
ess 1886 32 bit sound card, ass chewing machine.





__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nfs cache

2004-04-16 Thread Dan Nelson
In the last episode (Apr 16), Brian Henning said:
> I am trying to get some info on the cache for nfs on the nfs client.
> I have looked at nfsstat
> 
> where are the settings located for the nfs cache?

I think they're just part of the system's regular disk cache, except
for the sysctl below.
 
> the setattr percentages are really high on this server. The is the
> main reason i want to know what is going on with the cache.

Getattr, you mean?  That just means that the client has stat()'ed a
file twice within the timeout specified by the
vfs.nfs.access_cache_timeout sysctl, and has pulled the value from its
cache instead of querying the server.

> Version 2: (185583924 calls)
> null  getattr   setattr   root  lookup
> 0 0%  175265837 94% 66975 0%  0 0%  6407008 3%

So here, 94% of the getattr calls were pulled from cache.

-- 
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: perl script help

2004-04-16 Thread Remko Lodder
Not that i am very good in perl,
In KSH scripting it's like this:
%H:%M for a 00:00 output instead of 

Perhaps that will help you:-)

(Oh the command date +%H:%M)

Cheers

Well that does not work (FYI)

Cheers (perhaps Matthew's comments on this are better ;-) )



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Beginning C++ in FreeBSD

2004-04-16 Thread Daniela
On Thursday 15 April 2004 11:10, Lucas Holt wrote:
> Many universities teach C++ exclusiveley now.  Java and C++ share some
> common ground on syntax and the fact that they both support Object oriented
> programming.  Aside from that, there are many differences.  C++ is native
> code and executes faster than java which uses a virtual machine.  C++ code
> is compiled into C code by the compiler and then assembly.  Java is
> converted into byte code for a virtual machine.

What? C++ code is converted to C? Which compiler are you using, and why the 
hell would a compiler do this?

I would definitely recommend to start with assembly. It gives you a good 
understanding of the hardware, and every programming language you learn 
afterwards will be a piece of cake. Then get a good reference (some have 
already been mentioned) and start coding a real program right away, skip that 
boring "hello world" stuff. I learned seven programming languages in five 
months with this method.

Daniela


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


Re: perl script help

2004-04-16 Thread Remko Lodder
JJB wrote:
I need $timezone to hold the time zone in this format  -00:00
The command  date +%z  will give it as  -
I know nothing about writing perl scripts.

Can somebody show me how to  add the : in the output 
of the date command in the simple following script?

The cat statement is just so I can see results are correct.

#!/usr/bin/perl
$timezone=date +%z;
cat $timezone
Not that i am very good in perl,
In KSH scripting it's like this:
%H:%M for a 00:00 output instead of 

Perhaps that will help you:-)

(Oh the command date +%H:%M)

Cheers



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


--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: timezone command

2004-04-16 Thread Matthew Seaman
On Fri, Apr 16, 2004 at 11:48:11AM -0400, JJB wrote:
> Yes that is close enough for an starting point, thank you.
> 
> I need $timezone to hold the time zone in this format  -00:00
> The command date +%z  will give it as  -
> 
> I know nothing about writing perl scripts.
> 
> Can somebody show me how to  add the : in the output
> of the date command in the simple following script?
> 
> The cat statement is just so I can see results are correct.
> 
> 
> #!/usr/bin/perl
> $timezone=date +%z;
> cat $timezone

You can do it very easily with perl:

#!/usr/bin/perl -w

use POSIX (strftime);

($d = strftime("%z", localtime)) =~ s/(\d\d)(\d\d)/$1:$2/;

print "$d\n";

but it's probably a bit too heavyweight to use perl to format the
string if you aren't already writing a whole script in perl.  Instead,
try:

date +%z | sed -e 's,\([0-9][0-9]\)\([0-9][0-9]\),\1:\2,'

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: Setting Sendmail to Refuse Possibly Forged Headers

2004-04-16 Thread antenneX
- Original Message - 
From: "Dan Nelson" <[EMAIL PROTECTED]>
To: "antenneX" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 11:01 PM
Subject: Re: Setting Sendmail to Refuse Possibly Forged Headers


> In the last episode (Apr 15), antenneX said:
> > > SLocal_check_mail
> > > R$* $: $1 $| $&s Put helo name in workspace
> > > R$* $| $={RejectHelo} $#error $@ 5.7.1 $: "550 Spammer access denied"
> > > R$* $| $* $: $1 Extract helo from workspace if it doesn't match
> > > #-/\-
> >
> > Dan: Your suggestions here were appealing, but I'm batting zero.
> >
> > 1- Will milter-sender work alongside spamass-milter...??
> > I *think* it was working on a test box, but failed on production
box.
>
> They should coexist peacefully.  In general, milters should be unaware
> of each other.  I'd put milter-sender in front of spamass-milter, since
> spamassassin can be CPU-hungry and there's no need to mark a message as
> spam if milter-sender is just going to deny it anyway.
>
> > 2- Each of your 3 lines above for "local_check_mail" yelled about
> > expecting a Tab when sendmail was restarted... not sure how to fix
> > that.
>
> My outgoing message had tabs; if your mailer removes them or replaces
> them with spaces, here's where they go:
>
> R$*$: $1 $| $&sPut helo name in workspace
> R$* $| $={RejectHelo}$#error $@ 5.7.1 $: "550 Spammer access denied"
> R$* $| $*$: $1Extract helo from workspace if it doesn't match
>
> -- 
> Dan Nelson
> [EMAIL PROTECTED]

Dan: Thanks for clearing that up.

If I may ask one more thing about the milter-sender:
The only feature I really wanted from the milter was the option to control
the number of connections for "unknown users". I get a lot of those -- 
dozens -- hundreds. I believe that is called the "Rumplestilkin" (sp?)
attack where a search is conducted for good emails on a system.

I have not yet seen this option available inside Sendmail and wonder if
there is one out there yet...?? -- without having to install the milter?

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


Re: How do I eliminate resolver delay??

2004-04-16 Thread peter lageotakes

--- Jonathon McKitrick <[EMAIL PROTECTED]> wrote:
> 
> Since I started my wireless network, I am getting
> odd delays when starting
> apps that I am told is the resolver.  With the wired
> network, this does not
> happen.
> 
> I've had ssh take longer than normal, I've had X
> take 3 minutes, and today
> Xemacs didn't start so I shut it down and rebooted
> without the network.  It
> came right up.
> 
> In all of these cases, xauth is running and stuck in
> the kqueue read state.
> 
> I HAVE the host listed in /etc/hosts:
> 
> ::1 localhost
> localhost.my.domain
> 127.0.0.1   localhost
> localhost.my.domain
> 10.0.0.1neptune  
> neptune.batcave.org
> 
> Of course, 'batcave.org' is not a registered domain
> name.
> 
> What can I do to reduce or eliminate this annoying
> delay?
> 
> NOTE: Please CC me, as I am not currently
> subscribed.  Thanks.
> 
> jm
> -- 
> My other computer is your windows box.
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

Hello Jonathon,

Just curious, what do you have in your resolv.conf and
rc.conf file?  Are you also running DHCP or any
routing daemons?




__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


perl script help

2004-04-16 Thread JJB

I need $timezone to hold the time zone in this format  -00:00
The command  date +%z  will give it as  -

I know nothing about writing perl scripts.

Can somebody show me how to  add the : in the output 
of the date command in the simple following script?

The cat statement is just so I can see results are correct.


#!/usr/bin/perl
$timezone=date +%z;
cat $timezone




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


mod_perl installation and non-standard perl path

2004-04-16 Thread Andy Harrison
For reasons I don't want to trouble you with, I had to install the
latest perl port into /usr/local/rt3/perl/ and now I need to get
mod_perl to compile against that version.


I edited the Makefile, added
MOD_PERLCONFIG=/usr/local/rt3/perl/bin/perl to CONFIGURE_ARGS and I
edited the shebang line in /usr/local/bin/apxs to point to my new
installation of perl.

Then, I tried using this cli in the mod_perl port directory.

 bash-2.05b# PERL5LIB=/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd 
PREFIX=/usr/local/rt3/perl SITE_PERL=/usr/local/rt3/perl/lib/site_perl make

While pieces of the compile output show that it is using
/usr/local/rt3/perl/*, most of it shows that it's pulling from
/usr/local/lib/perl5/* for libs.

I even combed through the work directory and manually changed the
references to the perl binary to /usr/local/rt3/perl/bin/perl with no
luck.  Same results every time.  And yes, I've been doing a make clean
in between compiles.

Any advice?

-- 
Andy Harrison
(full headers for details)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: timezone command

2004-04-16 Thread JJB
Yes that is close enough for an starting point, thank you.

I need $timezone to hold the time zone in this format  -00:00
The command date +%z  will give it as  -

I know nothing about writing perl scripts.

Can somebody show me how to  add the : in the output
of the date command in the simple following script?

The cat statement is just so I can see results are correct.


#!/usr/bin/perl
$timezone=date +%z;
cat $timezone


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Erik
Trulsson
Sent: Friday, April 16, 2004 1:01 AM
To: JJB
Cc: Greg 'groggy' Lehey; [EMAIL PROTECTED] ORG
Subject: Re: timezone command

On Fri, Apr 16, 2004 at 12:28:58AM -0400, JJB wrote:
> I know how to set timezone, date and time.
>
> I am looking for command to display on the console screen the
> systems timezone in this kind of format "-00:00"
>
> Is there such an command or some way to get this info?
>
> In an perl script I tried  $timezone= $ENV{TZ}  and I did not get
> 00:00 format which I was looking for.

Try 'date +%z' to get the timezone in the format "+0200".
Not exactly what you asked for, but almost.


--

Erik Trulsson
[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]"


nfs cache

2004-04-16 Thread Brian Henning
Greetings,

I am trying to get some info on the cache for nfs on the nfs client. I have
looked at nfsstat

where are the settings located for the nfs cache?

the setattr percentages are really high on this server. The is the main reason i
want to know
what is going on with the cache.

Any ideas?

 thanks,
bh

# nfsstat -c

Client rpc:
Connection oriented:
calls badcalls  badxids   timeouts  newcreds
143885090 301   232   0 0
badverfs  timerscantconn  nomem interrupts
0 0 5 0 232
Connectionless:
calls badcalls  retrans   badxids   timeouts
203132147 23675 2793  692793
newcreds  badverfs  timersnomem cantsend
0 0 4330  0 0

Client nfs:
calls badcalls  clgetscltoomany
346433939 23947 346448014 2
Version 2: (185583924 calls)
null  getattr   setattr   root  lookup
0 0%  175265837 94% 66975 0%  0 0%  6407008 3%
readlink  read  wrcache   write create
18540 0%  1866245 1%0 0%  1356437 0%70530 0%
removerenamelink  symlink   mkdir
72376 0%  10037 0%  1139 0%   9658 0%   3455 0%
rmdir readdir   statfs
2344 0%   399234 0% 34109 0%
Version 3: (143319090 calls)
null  getattr   setattr   lookupaccess
0 0%  102639638 71% 796374 0% 9784537 6%6378938 4%
readlink  read  write createmkdir
2017 0%   9299172 6%10831505 7%   374932 0% 14035 0%
symlink   mknod removermdir rename
5741 0%   2750 0%   528773 0% 15443 0%  45381 0%
link  readdir   readdirplus   fsstatfsinfo
95277 0%  249881 0% 2243928 1%513 0%789 0%
pathconf  commit
9466 0%   0 0%
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ports upgrade error?

2004-04-16 Thread Tim McMillen
On Fri, 2004-04-16 at 15:11, Marwan Sultan wrote:
> Hello everyone,

> PS: This command will run as a background proccess? if i disconnect from
> internet and I connect again later (Dialup) it will resume the updating?

I think it will time out and exit the process eventually, so you would
have to restart the cvsup.  You could script that, but be careful as
noted below.

> or i have to download it one time?

No, it is mostly a linear process.  Whatever is updated by the time you
disconnect will still be updated.  Then when you restart the cvsup, you
wont have to redo that part.  There is some overhead searching through
parts that don't need to be updated, so don't do it every 5minutes, but
its not huge overhead.

Tim

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


Belkin F5D5020

2004-04-16 Thread Tim McMillen

Hi,
This card is listed in /etc/defaults/pccard.conf but I can't get the
driver to recognize it.  I searched and found:
http://lists.freebsd.org/pipermail/freebsd-current/2003-July/007588.html
but that only refers to 4.8, and I have 5.2.1 installed.
I tried setting the IRQ in /etc/rc.conf as noted in the above email, but
that didn't seem to help.
dmesg stays the same as follows:
pccard0:  (manufacturer=0x01bf, product=0x2328) at
function 0
pccard0:CIS info: Belkin, F5D5020-PCMCIA-Network-Card, V1
and nothing relevant after that.

Any other ideas of things I can try?
Thanks,

Tim

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


FBSD 5.2-1 NIS/YP KDE

2004-04-16 Thread RA Cohen
Hello All,

I am trying to build a network around NIS/YP on a v 4.9-STABLE
central/login server. Clients are FBSD v 5.2-1. The goal is a
centrally administered KDE environment for each workstation.
Because I am exporting the home directories on the server, as
well as passwords via YP, users default to their home
directories on the server upon successful login. This works,
there are no issues yet (except for the member of more than 16
groups issue)...

I have been successful in all aspects but one:  client logins
default to the most basic window mgr (tvwm I think). There are
approx. 400 potentiaol users total over 65 workstations (a
school environment). How can I make all of them default to KDE
without manually going into each and every central home
directory to set this? Do I need a Perl sctript to do this? How
can I get a new user addition to default to KDE?

I hope I have been clear. I would think this scenario is
becoming more common as people try to move away from MS-based
networks, but I have found really scant info...There's a
LinuxWorld November 2002 article on KDE central administration,
but it doesn't address the additional problems NIS causes!

Thanks in advance,
Roy





__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: thinkpad 600

2004-04-16 Thread Andrew L. Gould
On Friday 16 April 2004 09:59 am, Rob wrote:
> [EMAIL PROTECTED] wrote:
> >Hi Please can you tell me  how to install freebsd   on my thinkpad  600
> >as  I have  win 98 on it  and  it is a refurbed  unit
> >I would  like to  investigate  freebsd   as an os   and  use it in an
> >everyday  enviroment  and  say  good riddens  to  MS  and  hopefolly
> >do my bit for  the other battlers   in the field
> >Thanks
> >gary
> >___
>
> Hi Gary, Easiest way is to download one of the release (4.9 latest)
> iso's off of ftp.freebsd.org or mirrors.  Bun the cd as bootable, then
> boot up with it.   A graphical ibstall program guides u thru the
> installation.  But beware- keep windoze if you choose to use as the
> first partition.  it doesnt like being any where else :)  FreeBSD as
> part of the instal, will install a menued bootloader,   hope this
> helps sincerely, Rob

You might also check the url below:

http://www.linux-on-laptops.com/ibm.html

Whereas most of the Linux info will be irrelevant, you may find some good tips 
on XFree86 configuration and other issues that are common between Linux and 
FreeBSD.

Good luck,

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


Re: thinkpad 600

2004-04-16 Thread Rob
[EMAIL PROTECTED] wrote:

Hi Please can you tell me  how to install freebsd   on my thinkpad  600  
as  I have  win 98 on it  and  it is a refurbed  unit  
I would  like to  investigate  freebsd   as an os   and  use it in an 
everyday  enviroment  and  say  good riddens  to  MS  and  hopefolly 
do my bit for  the other battlers   in the field  
Thanks  
gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

 

Hi Gary, Easiest way is to download one of the release (4.9 latest) 
iso's off of ftp.freebsd.org or mirrors.  Bun the cd as bootable, then 
boot up with it.   A graphical ibstall program guides u thru the 
installation.  But beware- keep windoze if you choose to use as the 
first partition.  it doesnt like being any where else :)  FreeBSD as 
part of the instal, will install a menued bootloader,   hope this 
helps sincerely, Rob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


firewall rules error

2004-04-16 Thread RazorOnFreeBSD
Hi everyone,

I'm trying to write my own rules for ipfw under 4.9 STABLE.
But everytime I try to use the file with my rules  my network is totally blocked 
and the "ipfw show" command returns :

65535  38 2311  deny ip from any to any

I think there's a problem in my rules file and the system replaces my rules by this 
one, but I can't figure out what is the problem, my rules file is really short 
compared to what I saw sometimes on Internet :

--
fwcmd="/sbin/ipfw"
oif="dc0"
iif="dc1" 

${fwcmd} -f flush
${fwcmd} add check-state

${fwcmd} add deny ip from any to any in via $oif verrevpath

add 050 divert natd all from any to any via $oif
add 100 pass all from any to any via lo0
add 200 deny all from any to 127.0.0.0/8
add 300 deny ip from 127.0.0.0/8 to any

${fwcmd} add allow ip from me to any via $oif keep-state

${fwcmd} add allow icmp from any to any via $oif icmptypes 0,3,11,12

${fwcmd} add allow tcp from any to me dst-port 22 in via $iif setup keep-state

${fwcmd} add deny log ip from any to any
--

Can anybody tell me what's wrong ?

Thanks.

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


Re: getting a current system

2004-04-16 Thread Aaron Walker
On Fri, 2004-04-16 at 01:54, jens wrote:
> Hello Aaron, 
> 
> Could you give us the output of the different error messages you got
> during this upgrading? You described in detail what you did but did
> not describe the errors.
> 

I will try those steps again (I was waiting for feedback to make sure I
was doing it right) and record any errors.  After pulling my hair out
for the last week or two over this, I finally decided to record
everything I was doing last night.  Will post any errors later on today
(watch it work ;)).

Thanks again guys.

-- 
Aaron Walker <[EMAIL PROTECTED]>
http://ka0ttic.dyndns.org/

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


Re: ports upgrade error?

2004-04-16 Thread Kent Stewart
On Friday 16 April 2004 08:11 am, Marwan Sultan wrote:
> Hello everyone,
>
> Im on FreeBSD 5.1-Release, CVsup, portupgrade are installed.
> I want to upgrade my ports tree, so I did whats on the Handbook.
> I'v copied and edit the file - ports-supfile.
> I ran the command cvsup -g -L 2 /path/to/ports-supfile
>
> And it gave me the following error:
>
> Parsing supfile "/usr/home/deadline/things/ports-supfile"
> Release not specified for collection "host=cvsup1.freebsd.org"
>
> I tired to change the mirror site, Also i tried to uncomment one
> of the packages, and I tired to add ports-all to end of the entries,
> but all gave the same error, any ideas? tips? please.
>
> This is my ports-supfile entries:
>
> host=cvsup1.freebsd.org
> *default host=cvsup1.freebsd.org

You only need the one with the *default on it. It is complaining about 
the first one.

Kent

> *default base=/usr
> *default prefix=/usr
> *default release=cvs tag=.
> *default delete use-rel-suffix
> *default compress
> ports-all
>
>
> PS: This command will run as a background proccess? if i disconnect
> from internet and I connect again later (Dialup) it will resume the
> updating? or i have to download it one time?
> --
> Marwan Sultan
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


ports upgrade error?

2004-04-16 Thread Marwan Sultan
Hello everyone,

Im on FreeBSD 5.1-Release, CVsup, portupgrade are installed.
I want to upgrade my ports tree, so I did whats on the Handbook.
I'v copied and edit the file - ports-supfile.
I ran the command cvsup -g -L 2 /path/to/ports-supfile

And it gave me the following error:

Parsing supfile "/usr/home/deadline/things/ports-supfile"
Release not specified for collection "host=cvsup1.freebsd.org"

I tired to change the mirror site, Also i tried to uncomment one of the 
packages, and I tired to add ports-all to end of the entries, but 
all gave the same error, any ideas? tips? please.

This is my ports-supfile entries:

host=cvsup1.freebsd.org
*default host=cvsup1.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all


PS: This command will run as a background proccess? if i disconnect from
internet and I connect again later (Dialup) it will resume the updating?
or i have to download it one time?
--
Marwan Sultan

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


Re: /proc

2004-04-16 Thread Stephen Fisher

On Tue, Apr 13, 2004 at 01:56:24AM -0400, Shaun T. Erickson wrote:

> One of the things I really miss from my Linux system, is the /proc
> directory structure, where I could easily find out so much about my
> system and, in some cases, modify it.
> 
> Is there are way I can get such a thing under FreeBSD
> 5.2.1-RELEASE-p4?

As another person mentioned, use "sysctl" to change things.  To view 
information about your system try "dmesg" to view the boot-up screens 
again.


-- 
Stephen Fisher
San Jose, CA USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I eliminate resolver delay??

2004-04-16 Thread Matthew Seaman
On Fri, Apr 16, 2004 at 02:23:11PM +0100, Jonathon McKitrick wrote:
> 
> Since I started my wireless network, I am getting odd delays when starting
> apps that I am told is the resolver.  With the wired network, this does not
> happen.
 
> I've had ssh take longer than normal, I've had X take 3 minutes, and today
> Xemacs didn't start so I shut it down and rebooted without the network.  It
> came right up.

Hmmm... This could be due to packet loss on your wireless network.
DNS, being a UDP protocol in the main, can't distinguish between
"response lost in transit" and "no response made by server", so it has
to sit and wait for the timeout before trying again.

You should be able to tcpdump(1) the port 53 traffic from your caching
DNS (or the DNS traffic out of your LAN, if you don't run your own
DNS), and cross reference that with the traffic generated by one of
your client machines, in order to get clues about exactly where things
are going wrong.

> Of course, 'batcave.org' is not a registered domain name.

Oh yes it is... Just not your registered domain name.
 
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: how do you switch between wireless networks?

2004-04-16 Thread Remko Lodder
BSD baby wrote:
I just got my wireless connection working with a new PCMCIA card.

But I'm still naming the wireless network in my rc.conf file. (DHCP connection)

But as I go to join other wireless DHCP networks around the world,
what's the best way to switch to that network without rebooting to do it from rc.conf?
Hey BSDbaby,

ifconfig  ssid   netmask 

should do that trick without rebooting.




If there's a tutorial about this kind of thing (besides /handbook/network-wireless.html) - please point me there.
Dunno, i read ifconfig man page when i needed to know.

Thanks!
Yw

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD 5.2.1 - video card resolution problem

2004-04-16 Thread Konrad Heuer

On Fri, 16 Apr 2004, Brian Henning wrote:

> Greetings:
>
> I am running bsd 5.2.1 and I installed the nvidia driver from the ports for the
> follwoing video card.
>
> dmesg
>
> nvidia0:  mem 0xc000-0xc7ff,0xce00-0xceff
> irq 5 at device 0.0 on pci1
>
> pciconf results:
>
>  class=0x03 card=0x chip=0x00de rev=0xb2 hdr=0x00
> vendor   = 'NVIDIA Corporation'
> device   = 'GeForce2 MX 100/200 (DDR) [NV11DDR]'
> class= display
> subclass = VGA
>
>
>
> The installation went good, the card was recognized. The problem is the
> resolution doesn't get to my desired setting.
>
> ..
>
> Section "Monitor"
> Identifier "Monitor0"
> VendorName "SUN"
> ModelName "574"
> HorizSync 30-70
> VertRefresh 50-120
> Option "DPMS"
> EndSection
>
> ..
>
> Section "Screen"
> Identifier "Screen0"
> Device "Card0"
> Monitor "Monitor0"
> DefaultDepth 24
>
> SubSection "Display"
> Depth 24
> Modes "1152x864" "1024x768" "800x600" "640x480"
> EndSubSection
> EndSection
>
> Above are my XF86Config settings but all I get is a resolution of 640x480. Is
> there a way to get a higher resolution with this card?

Take a look at /var/log/XFree86.0.log; it contains a rather voluminous log
written by XFree86. You may find a reason there why modes other than
640x480 are excluded.

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


how do you switch between wireless networks?

2004-04-16 Thread BSD baby
I just got my wireless connection working with a new PCMCIA card.

But I'm still naming the wireless network in my rc.conf file. (DHCP connection)

But as I go to join other wireless DHCP networks around the world,
what's the best way to switch to that network without rebooting to do it from rc.conf?


If there's a tutorial about this kind of thing (besides 
/handbook/network-wireless.html) - please point me there.

Thanks!


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


FBSD 5.2.1 - video card resolution problem

2004-04-16 Thread Brian Henning
Greetings:

I am running bsd 5.2.1 and I installed the nvidia driver from the ports for the
follwoing video card.

dmesg

nvidia0:  mem 0xc000-0xc7ff,0xce00-0xceff
irq 5 at device 0.0 on pci1

pciconf results:

 class=0x03 card=0x chip=0x00de rev=0xb2 hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'GeForce2 MX 100/200 (DDR) [NV11DDR]'
class= display
subclass = VGA



The installation went good, the card was recognized. The problem is the
resolution doesn't get to my desired setting.

..

Section "Monitor"
Identifier "Monitor0"
VendorName "SUN"
ModelName "574"
HorizSync 30-70
VertRefresh 50-120
Option "DPMS"
EndSection

..

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Above are my XF86Config settings but all I get is a resolution of 640x480. Is
there a way to get a higher resolution with this card?

Thanks,

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


Re: Ports Error

2004-04-16 Thread Kris Kennaway
On Fri, Apr 16, 2004 at 01:54:13PM +0100, Ben Craig wrote:
> Hi,
> 
> I recently upgraded a system to 4.9R and now receive
> the following error when using the "make install
> clean" comment on any port in /usr/ports (and also
> using package installation in sysinstall):
> 
> There is a COMMENTFILE in this port.
> COMMENTFILEs have been deprecated in
> favor of COMMENT variables.
> Please, rectify this.
> *** Error code 1

Sounds like your ports collection is (partly) out of date.  How did
you update it?  If you used cvsup, post your cvsupfile.

Kris


pgp0.pgp
Description: PGP signature


How do I eliminate resolver delay??

2004-04-16 Thread Jonathon McKitrick

Since I started my wireless network, I am getting odd delays when starting
apps that I am told is the resolver.  With the wired network, this does not
happen.

I've had ssh take longer than normal, I've had X take 3 minutes, and today
Xemacs didn't start so I shut it down and rebooted without the network.  It
came right up.

In all of these cases, xauth is running and stuck in the kqueue read state.

I HAVE the host listed in /etc/hosts:

::1 localhost localhost.my.domain
127.0.0.1   localhost localhost.my.domain
10.0.0.1neptune   neptune.batcave.org

Of course, 'batcave.org' is not a registered domain name.

What can I do to reduce or eliminate this annoying delay?

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports Error

2004-04-16 Thread Remko Lodder
Ben Craig wrote:
Hi,

I recently upgraded a system to 4.9R and now receive
the following error when using the "make install
clean" comment on any port in /usr/ports (and also
using package installation in sysinstall):
Hey ben, you said that you upgraded the system to 4.9, did you also 
upgrade the ports?

(What exactly did you do to upgrade?)

Hope this helps a bit


Regards,

Ben Craig

Cheeers :-)

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >