Re: FreeBSD 4.9 and TCP

2004-08-26 Thread Kevin D. Kinsey, DaleCo, S.P.
wilsonb wrote:
Good Morning,
My name is Brian Wilson and I am currently studying computer science honours
at the University of the Witwatersrand in Johannesburg South Africa. As part
of our honours course we have to conduct some small scale research projects.
A number of us are in the position of having to use your FreeBSD product. We
are however having some difficulties in finding out whether or not it is
actually the correct product to be using and we have been unable to find the
necessary information in our numerous searches of the Interent.
 

Well, of course it's the correct product ... for me, anyway ;)
We have to run tests on different versions of TCP, to measure performance
issues and the like.
What I would like to know from you is the following :
1) Which versions of TCP does the FreeBSD 4.9 distribution support and
implement -- we need to use TCP Reno, NewReno, Tahoe, SACK and T/TCP in our
experiments.
2) How exactly do we change the installation of FreeBSD to enable each of
these TCP types -- if you tell us where to look and what we need to change it
would be great
Essentially, what we need your help for is to find out exactly which versions
of TCP FreeBSD 4.9 is capable of using (seding and receiving) as well as how
to implement each of them separately.
If you could tell us what to do or at least where to look to find this
informaiton, it would be greatly appreciated.
Thank you
 

Hi, Brian ...
First, I think I'm supposed to give you an obligatory tweak on
the nose, something to the effect of do you really want us all
to do your homework for you, so you have more time to drink
and chase women? :-D
Secondly, I must admit to being first and foremost a (GOAM)
Geek Of Another Major, and therefore not qualified to answer
very many of your well phrased questions.
However, note the following message, entitled backport of
TCP SACK to -STABLE posted to the freebsd-stable
mailing list about 36 hours ago by Marko Zec and quoted
in near entirety here:
I've prepared a more or less blind backport of the TCP SACK code which was 
recently introduced in -CURRENT.  Didn't put the patch through lots of 
testing, but it just seems to work...  The patch is available from the URL 
bellow and should apply cleanly against both 4.10-RELEASE and -STABLE.

http://tel.fer.hr/zec/BSD/4.10-sack.diff
[[Please note that discussion has ensued about whether or not
this code should be used in this way (ie, merged into the -STABLE
tree, which for a little while is still the 4.x branch.  But maybe 
you could test it for him, eh?]]

I'm not much of a programmer, but a quick perusal of this diff
clued me in on at least some of your questions in regard to 4._10_
vs 5-{{NEARLYSTABLE}}*.  I'll leave the rest of the exercise up to you;
as you are studying 4.9**, it may be a simple exercise in exclusion
And, of course, there really are some good hackers reading these
lists who may tell you everything you wish to know ...
Kevin Kinsey
DaleCo, S.P.
*FreeBSD is readying itself for a big change, the discussion of
which is beyond the scope of this document, but available on the
project's fine website at www.freebsd.org
**If you are in the position of having to use FreeBSD, why not
something more modern, like 4.10 or 5.2.1?  Or, if you have time,
5.3 is scheduled for release in 6-7 weeks or so 

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


crontab question involving cvsup

2004-08-26 Thread Joshua Tinnin
OK, I have searched the archives, and I can't find that my question has 
been answered previously, but please forgive me if that's incorrect.

I'm using (or rather trying to use) cron to update my ports tree daily. 
I've tried several different combinations without success, and lately 
this is what I have in my crontab file:

/usr/local/bin/cvsup -g -L 2 /home/krinklyfig/supfiles/ports-supfile 
 /usr/local/bin/portindex  /usr/local/sbin/portsdb -u

It runs as root once a day. What appears to be happening is that the 
cvsup is happening, but portindex is not, and because of the latter 
portsdb -u doesn't either. The reason I know cvsup is working is 
because portindex indicates that the ports tree has been updated if I 
run it manually later, but running portversion before manually running 
portindex will not indicate any changes. The cron log doesn't show 
anything but the commands being executed. So, my question is: is this 
type of command valid, or should each command be separate? Or is it not 
working for some other reason?

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


RE: crontab question involving cvsup

2004-08-26 Thread Ivailo Tanusheff
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joshua Tinnin
Sent: Thursday, August 26, 2004 10:07 AM
To: FreeBSD-questions
Subject: crontab question involving cvsup

OK, I have searched the archives, and I can't find that my question has been
answered previously, but please forgive me if that's incorrect.

I'm using (or rather trying to use) cron to update my ports tree daily. 
I've tried several different combinations without success, and lately this
is what I have in my crontab file:

/usr/local/bin/cvsup -g -L 2 /home/krinklyfig/supfiles/ports-supfile
 /usr/local/bin/portindex  /usr/local/sbin/portsdb -u

It runs as root once a day. What appears to be happening is that the cvsup
is happening, but portindex is not, and because of the latter portsdb -u
doesn't either. The reason I know cvsup is working is because portindex
indicates that the ports tree has been updated if I run it manually later,
but running portversion before manually running portindex will not indicate
any changes. The cron log doesn't show anything but the commands being
executed. So, my question is: is this type of command valid, or should each
command be separate? Or is it not working for some other reason?

- jt


Hi,

I'll suggest you to use /usr/local/sbin/portsdb -uU instead of
/usr/local/bin/portindex  /usr/local/sbin/portsdb -u
It works perfect with me :)

Regards,
Ivailo Tanusheff

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


Re: crontab question involving cvsup

2004-08-26 Thread Subhro Kar
First of all, you need to read the manual page for cvsup. It is
clearly stated that the option -L shows the amount of verbosity cvsup
maintains. If you are running it from inside a script, then either you
have to
reduce the verbosity to 1 ie, the command will be cvsup -g -L 1 supfile
OR
redirect the output to some file (if you want to look into it later)
or to /dev/null to discard it.

Secondly, You can always set up multiple crontabs. But since you are
using  (ie doo only if prev was successful), that would works if the
output of cvsup is properly dealt with.

Regards

S.


On Thu, 26 Aug 2004 00:07:26 -0700, Joshua Tinnin [EMAIL PROTECTED] wrote:
 OK, I have searched the archives, and I can't find that my question has
 been answered previously, but please forgive me if that's incorrect.
 
 I'm using (or rather trying to use) cron to update my ports tree daily.
 I've tried several different combinations without success, and lately
 this is what I have in my crontab file:
 
 /usr/local/bin/cvsup -g -L 2 /home/krinklyfig/supfiles/ports-supfile
  /usr/local/bin/portindex  /usr/local/sbin/portsdb -u
 
 It runs as root once a day. What appears to be happening is that the
 cvsup is happening, but portindex is not, and because of the latter
 portsdb -u doesn't either. The reason I know cvsup is working is
 because portindex indicates that the ports tree has been updated if I
 run it manually later, but running portversion before manually running
 portindex will not indicate any changes. The cron log doesn't show
 anything but the commands being executed. So, my question is: is this
 type of command valid, or should each command be separate? Or is it not
 working for some other reason?
 
 - jt
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: crontab question involving cvsup

2004-08-26 Thread epilogue
On Thu, 26 Aug 2004 00:07:26 -0700
Joshua Tinnin [EMAIL PROTECTED] wrote:

 OK, I have searched the archives, and I can't find that my question has 
 been answered previously, but please forgive me if that's incorrect.
 
 I'm using (or rather trying to use) cron to update my ports tree daily. 
 I've tried several different combinations without success, and lately 
 this is what I have in my crontab file:
 
 /usr/local/bin/cvsup -g -L 2 /home/krinklyfig/supfiles/ports-supfile 
  /usr/local/bin/portindex  /usr/local/sbin/portsdb -u
 
 It runs as root once a day. What appears to be happening is that the 
 cvsup is happening, but portindex is not, and because of the latter 
 portsdb -u doesn't either. The reason I know cvsup is working is 
 because portindex indicates that the ports tree has been updated if I 
 run it manually later, but running portversion before manually running 
 portindex will not indicate any changes. The cron log doesn't show 
 anything but the commands being executed. So, my question is: is this 
 type of command valid, or should each command be separate? Or is it not 
 working for some other reason?

man cron gives:

crontab [-u user] file

'file' being the important part, methinks.   ;)

what you might want to do, is simply write a shell script and feed that
into your crontab.  in case you're not sure how to make a script, it is
very simple and google will return many tutorials.

in a nutshell, you put the commands you want into a file, make that file
executable (chmod), and away you go.

the first line of a shell script has an obligatory format and invokes the
shell that will be used.

#!/bin/sh   the leading # is required
/usr/local/bin/cvsup -L 2 /foo/path/to/your/ports-supfile;
# comments are allowed
portindex;
exit

note: you might also prefer to end commands with  rather than ;

i'm new to scripting myself so please forgive my feeble explanation.

about the commands which you are planning to include, why the 'portsdb -u'?
is that not doing essentially the same work as 'portindex' ?

(http://www.freshports.org/sysutils/portindex/)

anyhow.  hope this helps.


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


Re: crontab question involving cvsup

2004-08-26 Thread Joshua Tinnin
On Thursday 26 August 2004 12:19 am, Subhro Kar [EMAIL PROTECTED] 
wrote:
 First of all, you need to read the manual page for cvsup. It is
 clearly stated that the option -L shows the amount of verbosity cvsup
 maintains. If you are running it from inside a script, then either
 you have to
 reduce the verbosity to 1 ie, the command will be cvsup -g -L 1
 supfile OR
 redirect the output to some file (if you want to look into it later)
 or to /dev/null to discard it.

Yes, I've read the cvsup man page, but hadn't considered that verbosity 
might cause a failure if it's not directed. I think that might have 
been my problem. I had previously been directing output to a file, but 
not recently.

 Secondly, You can always set up multiple crontabs. But since you are
 using  (ie doo only if prev was successful), that would works if
 the output of cvsup is properly dealt with.

Well, again I know cvsup is working, but I think the verbosity might be 
a problem in executing the next command; i.e., I think since it can't 
direct output, it does run cvsup but fails in the verbosity aspect, 
and therefore no more commands are executed after. In any event, I 
think I'll try it with cvsup -g -L 2 supfile  /dev/null 21 (of 
course with the proper paths) and see what happens, and alternately try 
to direct output to a file the next time, as I'd like to have a log. 
I'll probably also change it to portsdb -Uu as Ivailo suggested, as I 
don't need to have it run quickly when it's a daily job done when I'm 
sleeping.

Thanks for the help.

- jt

 Regards

 S.

 On Thu, 26 Aug 2004 00:07:26 -0700, Joshua Tinnin 
[EMAIL PROTECTED] wrote:
  OK, I have searched the archives, and I can't find that my question
  has been answered previously, but please forgive me if that's
  incorrect.
 
  I'm using (or rather trying to use) cron to update my ports tree
  daily. I've tried several different combinations without success,
  and lately this is what I have in my crontab file:
 
  /usr/local/bin/cvsup -g -L 2
  /home/krinklyfig/supfiles/ports-supfile  /usr/local/bin/portindex
   /usr/local/sbin/portsdb -u
 
  It runs as root once a day. What appears to be happening is that
  the cvsup is happening, but portindex is not, and because of the
  latter portsdb -u doesn't either. The reason I know cvsup is
  working is because portindex indicates that the ports tree has been
  updated if I run it manually later, but running portversion before
  manually running portindex will not indicate any changes. The cron
  log doesn't show anything but the commands being executed. So, my
  question is: is this type of command valid, or should each command
  be separate? Or is it not working for some other reason?
 
  - jt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: crontab question involving cvsup

2004-08-26 Thread Joshua Tinnin
On Thursday 26 August 2004 12:42 am, epilogue [EMAIL PROTECTED] 
wrote:
 On Thu, 26 Aug 2004 00:07:26 -0700

 Joshua Tinnin [EMAIL PROTECTED] wrote:
  OK, I have searched the archives, and I can't find that my question
  has been answered previously, but please forgive me if that's
  incorrect.
 
  I'm using (or rather trying to use) cron to update my ports tree
  daily. I've tried several different combinations without success,
  and lately this is what I have in my crontab file:
 
  /usr/local/bin/cvsup -g -L 2
  /home/krinklyfig/supfiles/ports-supfile  /usr/local/bin/portindex
   /usr/local/sbin/portsdb -u
 
  It runs as root once a day. What appears to be happening is that
  the cvsup is happening, but portindex is not, and because of the
  latter portsdb -u doesn't either. The reason I know cvsup is
  working is because portindex indicates that the ports tree has been
  updated if I run it manually later, but running portversion before
  manually running portindex will not indicate any changes. The cron
  log doesn't show anything but the commands being executed. So, my
  question is: is this type of command valid, or should each command
  be separate? Or is it not working for some other reason?

 man cron gives:

 crontab [-u user] file

 'file' being the important part, methinks.   ;)

I'm not sure what you mean ... If you're wondering, I'm using the main 
crontab file (/etc/crontab), as right now there's no need for me to use 
multiple ones.

 what you might want to do, is simply write a shell script and feed
 that into your crontab.  in case you're not sure how to make a
 script, it is very simple and google will return many tutorials.

I had considered this, and eventually would like to do so, as I'd like 
to add the output of fastest_cvsup to the server listed in the supfile.

 in a nutshell, you put the commands you want into a file, make that
 file executable (chmod), and away you go.

 the first line of a shell script has an obligatory format and invokes
 the shell that will be used.

 #!/bin/sh   the leading # is required
 /usr/local/bin/cvsup -L 2 /foo/path/to/your/ports-supfile;
 # comments are allowed
 portindex;
 exit

Is verbosity of -L 2 allowed in a script without output? IOW, should 
that first line be:

/usr/local/bin/cvsup -L 2 /path/to/supfile  /dev/null 21;

Or does it matter if the output has nowhere to go?

 note: you might also prefer to end commands with  rather than ;

 i'm new to scripting myself so please forgive my feeble explanation.

I'm pretty new to scripting as well. Does ; allow the next line to run, 
even if the previous one didn't, as opposed to  which would only 
allow the next line to run if the previous one was successful? (This 
would be similar to how a one-line command works outside a script.)

 about the commands which you are planning to include, why the
 'portsdb -u'? is that not doing essentially the same work as
 'portindex' ?

 (http://www.freshports.org/sysutils/portindex/)

No, portindex doesn't update the database. The command portsdb -U 
generates an INDEX, which is what portindex does (although portindex 
does it faster), while portsdb -u generates the INDEX.db from the ports 
INDEX file. However, the database is generated automatically if need be 
when it's looked up, so it's not necessary - man portsdb mentions this 
- but I like to have my ducks in a row, so to speak ;)

 anyhow.  hope this helps.

Yes, it has me thinking I should probably start testing out a script, 
but it will include a bit more than just cvsup'ping, updating the INDEX 
and database. Thanks.

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


FreeBSD 5.2.1-RELEASE and Windows XP on one system

2004-08-26 Thread Marc van Woerkom
Hello,
I am trying to run both FreeBSD 5.2.1-RELEASE and Windows 
XP on one system and had no success yet.

The system is a rather old PIII-400 with one 4 GB IDE hard 
disk (recognized by the BIOS) as master and one 40 GB IDE 
hard (where I have to disable the BIOS recognition) as 
slave hard disk.

So far I managed to run Windows XP on that box, when I put 
a little start partition on the master drive and the XP 
installation on the slave drive. 
Windows XP was able to work with the 40 GB disk, while the 
BIOS hangs while autodetecting it.

Then I tried to install FreeBSD 5.2.1-RELEASE in another 
partition of the 40 GB disk. 

Sysinstall complained about the geometry of the 40 GB 
disk, saying that the values it read were impossible and 
it would continue with something more appropriate.
Except for that bit the installation went as usual.

However booting the system was not successful.
The boot manager installed by sysinstall was neither able 
to boot Windows XP nor the FreeBSD installation.

Is it possible that the standard FreeBSD boot manager 
doesn't work with Windows XP?

Yesterday I tried to just install FreeBSD on that system, 
and maybe after that doing a new installation of Windows 
XP.
But even this didn't work.

So I now think that FreeBSD has big trouble with my disks.
Perhaps the on board controller of the PIII-400 board is 
too  old for 40 GB IDE drives?

It is a bit frustrating that I managed to get both Windows 
XP and some older SuSE linux running on that system and 
not old faithful FreeBSD. :(

I also bought the complete FreeBSD recently, it has really 
progressed from my old Walnut creek edition, but it 
doesn't cover systems running both FreeBSD and any Windows 
= Windows 2000.
Any idea what is going on?
Help would be very welcome!
Regards,
Marc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error When Attempting to Use portmanager

2004-08-26 Thread Matthew Seaman
On Wed, Aug 25, 2004 at 06:30:17PM -0400, Gerard Seibert wrote:

 OK, I am not that knowledgable about compiling programs, etc. Exactly how
 do I recompile with (-g flag on cc). Does this cause it to get a
 backtrace? If not, then how do I go about it?

To compile a program from ports with '-g' you should be able to use
the CFLAGS make variable from /etc/make.conf (ideally, you should be
able to override it from the environment or the command line and avoid
having to fiddle with that file at all, but YMMV).  Taking portmanager as the
example:

# cd /usr/ports/sysutils/portmanager
# make clean
# make CFLAGS='-g -O' all

This will leave you with a copy of the portmanager executable in

${WRKDIRPREFIX}/sysutils/portmanager/work/portmanager-0.2.0/portmanager

(${WRKDIRPREFIX} will be /usr/ports, unless you've deliberately changed it)

% file portmanager 
portmanager: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for 
FreeBSD 4.9.1, dynamically linked (uses shared libs), not stripped

That 'not stripped' part is important: it means that this copy of the
executable contains all of the debug symbols the '-g' puts in.
However, if you go ahead and install the port, all of those symbols
will be stripped out -- debug symbols generally take up a huge amount
of space, and that's a waste unless you are actually debugging things.

All is not lost though: go ahead and install the portmanager port, and
do whatever it was that you did which caused it to dump core.  Do
*not* run 'make clean' in the port directory.

You should have a file portmanager.core To obtain a stack trace with
useful information, run:

# gdb 
${WRKDIRPREFIX}/sysutils/portmanager/work/portmanager-0.2.0/portmanager/portmanager -c 
portmanager.core

(ie. tell gdb to use the unstripped copy of the program, and match it
against the core dump.)

Then when it has loaded all of the symbols etc., type:

 where

Cut'n'paste that output into your e-mail report to the developers, but
make sure you keep the corefile and the unstripped version of
portmanager to hand, as you may well be asked to run some other gdb(1)
commands to extract further information.

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


pgpxcN9BUqr25.pgp
Description: PGP signature


Re: help with 'hello world'

2004-08-26 Thread cpghost
On Wed, Aug 25, 2004 at 07:40:07PM -0700, David Syphers wrote:
 #include iostream
 
 int main()
 {
 cout  Hello World;

std::cout  Hello World;

// or:

std::cout  Hello World
   std::endl;

 return 0;

// There's nothing wrong with this, but the Standard says
// that main would return 0 anyway, if you don't say it
// explicitely.

 }

Or, as Uli and others pointed out,

use namespace std;

 This happens with vector too. However, I can use iostream.h and vector.h, 
 though it complains they're deprecated. 

This is the same problem:

#include vector
#include map

std::vectordouble aVector;
std::mapstd::string, std::string aMap;

Oh, and try using the c++ front-end instead of g++. 

 Thanks for the help,
 
 -David

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.8 4.10 successful. Now 5.x?

2004-08-26 Thread Matthew Seaman
On Wed, Aug 25, 2004 at 04:32:18PM -0700, Curtis Vaughan wrote:

 Whereas I intend to run this server as a Postfix server w/ Courier 
 IMAP, authentication through PAM/LDAP it would seem that I should stay 
 at 4.10 then.  Is this correct or not?

Correct.  4.x doesn't support nsswitch.conf, so you can't use LDAP for
your local machine accounts (well, not without pain).  However, it
does support PAM/ldap, and postfix+cyrus has been written to take
advantage of that combo, so you can certainly use LDAP to provide
virtual user accounts for your e-mail users.  Not having your e-mail
clients being able to log directly into the server would probably fall
on the side of feature rather than bug in most installations.
 
 Also, if this server goes into production, then how much of a pain in 
 the ass is it going to be to move to 5.x when it's stable?

There should be an officially sanctioned route to upgrade from
4.10-STABLE to 5.3-STABLE once 5.3-STABLE is released.  However, all
upgrades over a major version bump are painful, and as many people on
this list have said, just doing a re-install is probably your best
bet.  One very good reason for doing that is that 5.x has a new
default filesystem type: UFS2 -- of course, it can still use UFS1,
the default from 4.x; but there's no way to change a filesystem from
UFS1 to UFS2 without a wipe and reinstall.

If the continued reliability of this server is important to you
(ie. your job or your income depends on it) then I'd be even more
cautious about switching from 4.x to 5.x: since 5.2.1 came out there
have been some quite significant changes to vital parts of the 5.x
kernel, and it's likely to take a bit of time (even accounting for the
5.3 release process) before everything works in the way intended.
Monitor the [EMAIL PROTECTED] list for news of any showstopping
problems, and if you can, experiment with 5.3-STABLE on a scratch
machine before attempting the upgrade.

4.10-RELEASE and the upcoming 4.11-RELEASE will be supported by the
FreeBSD project for quite some time (typically 1 year after the
release date), so there's no need to be in a great hurry to update
everything.

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


pgpRDY4QYCTCb.pgp
Description: PGP signature


Re: help with 'hello world'

2004-08-26 Thread cpghost
Replying to self. Apologies.

 use namespace std;

s/use/using/

Sorry for the typo.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: crontab question involving cvsup

2004-08-26 Thread kstewart
On Thursday 26 August 2004 01:09 am, Joshua Tinnin wrote:
 On Thursday 26 August 2004 12:42 am, epilogue [EMAIL PROTECTED]

 wrote:
  On Thu, 26 Aug 2004 00:07:26 -0700
 
  Joshua Tinnin [EMAIL PROTECTED] wrote:
   OK, I have searched the archives, and I can't find that my question
   has been answered previously, but please forgive me if that's
   incorrect.
  
   I'm using (or rather trying to use) cron to update my ports tree
   daily. I've tried several different combinations without success,
   and lately this is what I have in my crontab file:
  
   /usr/local/bin/cvsup -g -L 2
   /home/krinklyfig/supfiles/ports-supfile  /usr/local/bin/portindex
/usr/local/sbin/portsdb -u
  
   It runs as root once a day. What appears to be happening is that
   the cvsup is happening, but portindex is not, and because of the
   latter portsdb -u doesn't either. The reason I know cvsup is
   working is because portindex indicates that the ports tree has been
   updated if I run it manually later, but running portversion before
   manually running portindex will not indicate any changes. The cron
   log doesn't show anything but the commands being executed. So, my
   question is: is this type of command valid, or should each command
   be separate? Or is it not working for some other reason?
 
  man cron gives:
 
  crontab [-u user] file
 
  'file' being the important part, methinks.   ;)

 I'm not sure what you mean ... If you're wondering, I'm using the main
 crontab file (/etc/crontab), as right now there's no need for me to use
 multiple ones.

  what you might want to do, is simply write a shell script and feed
  that into your crontab.  in case you're not sure how to make a
  script, it is very simple and google will return many tutorials.

 I had considered this, and eventually would like to do so, as I'd like
 to add the output of fastest_cvsup to the server listed in the supfile.

  in a nutshell, you put the commands you want into a file, make that
  file executable (chmod), and away you go.
 
  the first line of a shell script has an obligatory format and invokes
  the shell that will be used.
 
  #!/bin/sh   the leading # is required
  /usr/local/bin/cvsup -L 2 /foo/path/to/your/ports-supfile;
  # comments are allowed
  portindex;
  exit

 Is verbosity of -L 2 allowed in a script without output? IOW, should
 that first line be:

 /usr/local/bin/cvsup -L 2 /path/to/supfile  /dev/null 21;

 Or does it matter if the output has nowhere to go?

  note: you might also prefer to end commands with  rather than ;
 
  i'm new to scripting myself so please forgive my feeble explanation.

 I'm pretty new to scripting as well. Does ; allow the next line to run,
 even if the previous one didn't, as opposed to  which would only
 allow the next line to run if the previous one was successful? (This
 would be similar to how a one-line command works outside a script.)

  about the commands which you are planning to include, why the
  'portsdb -u'? is that not doing essentially the same work as
  'portindex' ?
 
  (http://www.freshports.org/sysutils/portindex/)

 No, portindex doesn't update the database. The command portsdb -U
 generates an INDEX, which is what portindex does (although portindex
 does it faster), while portsdb -u generates the INDEX.db from the ports
 INDEX file. However, the database is generated automatically if need be
 when it's looked up, so it's not necessary - man portsdb mentions this
 - but I like to have my ducks in a row, so to speak ;)

  anyhow.  hope this helps.

 Yes, it has me thinking I should probably start testing out a script,
 but it will include a bit more than just cvsup'ping, updating the INDEX
 and database. Thanks.


This is my cron job. I don't test for completion because of the multiple 
commands I execute. It doesn't fail very often. It also include the usage of 
portindex and portsdb.

ruby# m uports
#! /bin/sh
export 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
cd /root/cvsup
cvsup -g -L 2 ports-supfile 21 | tee /var/log/build/ports_cvsup.log

cd /var/log/build

# Now convert the log to html`
cvsuplog  ports_cvsup.log  ports-`date +%Y%m%d-%H%M`.html

# Now update the index pages.
cd /usr/ports
#
# make bzip2 backup and save 4 old ones for the days when make index
# is broken
#
rm INDEX.3.bz2
mv INDEX.2.bz2 INDEX.3.bz2
mv INDEX.1.bz2 INDEX.2.bz2
mv INDEX.0.bz2 INDEX.1.bz2
bzip2 -c INDEX  INDEX.0.bz2
#
# get new INDEX
#make index 21 | tee /var/log/build/make-index-`date +%Y%m%d-%H%M`.log
portindex 21 | tee /var/log/build/make-index-`date +%Y%m%d-%H%M`.log
#
#fetch www.freebsd.org/ports/INDEX
#chmod 644 INDEX
portsdb -u


-- 
Kent Stewart
Richland, WA

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

Re: tomcat

2004-08-26 Thread Matthew Seaman
On Wed, Aug 25, 2004 at 06:38:42PM -0400, Rail mail wrote:
 there doesn't seem to be a linux-jdk13 in the ports
 
 I just have a fresh install of 5.2.1 and 5.1

Ummm... I wouldn't use FreeBSD 5.1 on any new installs.  That was an
unstable developer preview release that has long since been
superceeded.  Stick with 5.2.1 for now, and plan on upgrading to
5.3-STABLE sometime after it comes out in October.  
 
 all the tutorials I find seem to want linux-jdk13
 
 I only see things like
 
 linux-sun-jdk13
 linux-ibm-jdk13
 linux-blackdown-jdk13
 
 any help would be much appreciated

Any of those three ports should work for you.  Unless you've got a
good reason not to, I'd choose linux-sun-jdk13 out of those.
Actually, if I was going to use a Linux JDK, I'd tend to choose
java/linux-sun-jdk14 nowadays, as that's the current stable release
version of Java.

However, on FreeBSD, you are generally better off using a native JDK.
With 5.x, that really boils down to installing java/jdk14 from source.
It's a monumental pain in the bottom, having to jump through all of
the hoops that SDSL forces you to just to download the sources, and
then the actual compilation step is a bit monumental as well, but in
the end it's all worth it because of the improved stability and speed
of native java 1.4.x over other JDKs.




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


pgpvkYsTcXQ3n.pgp
Description: PGP signature


Re[4]: Error When Attempting to Use portmanager

2004-08-26 Thread Gerard Seibert
On Thursday, August 26, 2004 4:45:00 AM Matthew Seaman [EMAIL PROTECTED] wrote:

|On Wed, Aug 25, 2004 at 06:30:17PM -0400, Gerard Seibert wrote:
|
| OK, I am not that knowledgable about compiling programs, etc. Exactly how
| do I recompile with (-g flag on cc). Does this cause it to get a
| backtrace? If not, then how do I go about it?
|
|To compile a program from ports with '-g' you should be able to use
|the CFLAGS make variable from /etc/make.conf (ideally, you should be
|able to override it from the environment or the command line and avoid
|having to fiddle with that file at all, but YMMV).  Taking portmanager as the
|example:
|
|# cd /usr/ports/sysutils/portmanager
|# make clean
|# make CFLAGS='-g -O' all
|
|This will leave you with a copy of the portmanager executable in
|
|${WRKDIRPREFIX}/sysutils/portmanager/work/portmanager-0.2.0/portmanager
|
|(${WRKDIRPREFIX} will be /usr/ports, unless you've deliberately changed it)
|
|% file portmanager 
|portmanager: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for 
FreeBSD 4.9.1, dynamically linked (uses shared libs), not stripped
|
|That 'not stripped' part is important: it means that this copy of the
|executable contains all of the debug symbols the '-g' puts in.
|However, if you go ahead and install the port, all of those symbols
|will be stripped out -- debug symbols generally take up a huge amount
|of space, and that's a waste unless you are actually debugging things.
|
|All is not lost though: go ahead and install the portmanager port, and
|do whatever it was that you did which caused it to dump core.  Do
|*not* run 'make clean' in the port directory.
|
|You should have a file portmanager.core To obtain a stack trace with
|useful information, run:
|
|# gdb 
${WRKDIRPREFIX}/sysutils/portmanager/work/portmanager-0.2.0/portmanager/portmanager -c 
portmanager.core
|
|(ie. tell gdb to use the unstripped copy of the program, and match it
|against the core dump.)
|
|Then when it has loaded all of the symbols etc., type:
|
| where
|
|Cut'n'paste that output into your e-mail report to the developers, but
|make sure you keep the corefile and the unstripped version of
|portmanager to hand, as you may well be asked to run some other gdb(1)
|commands to extract further information.
|
|  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


** Reply Separator **
Thursday, August 26, 2004 5:43:00 AM

Thanks for you reply. I will try it this evening.

It is amassing what I learn just reading this mail forum.

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


Re: Change root user name? possible?

2004-08-26 Thread Matthew Seaman
On Thu, Aug 26, 2004 at 08:49:06AM +0930, Tim Aslat wrote:
 In the immortal words of Charles Swiger [EMAIL PROTECTED]...
  Whether this gains you much security is another question entirely, and
  you risk breaking single-user mode and various low-level pieces of 
  software which expect root to exist, but it can be done.
 
 I know it can be done, a couple of typos in vipw and I lost the root
 account, very disconcerting, but single use mode still seemed to work,
 probably because the toor account was still intact even though it has a
 password of *.

Actually, single user mode doesn't consult the password file at all --
or anything much in /etc except for /etc/fstab, and even that you can
avoid.  It gives you a superuser login session simply by setting the
UID to 0, which is all that really counts to the lower leves of the
system.

If you think about it, that's a really useful design feature.  It
means you can recover the system even if your /etc directory gets
completely scrambled.  A good measure of the strength of your unix-fu
is how badly trashed a system you can recover without having to
re-install.  You'ld be amazed at what some people have managed to
resurrect.

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


pgpyM98O1icdI.pgp
Description: PGP signature


Re: FreeBSD 4.9 and TCP

2004-08-26 Thread Matthew Seaman
On Thu, Aug 26, 2004 at 07:54:21AM +0200, wilsonb wrote:

 1) Which versions of TCP does the FreeBSD 4.9 distribution support and
 implement -- we need to use TCP Reno, NewReno, Tahoe, SACK and T/TCP in our
 experiments.

SACK is not available in 4.9 -- although it is available in recent
5.x.  I've seen mention of a possible MFC of code to support SACK, but
as far as I'm aware, that hasn't happened yet.  In any case, once
MFC'd, you'ld have to upgrade to 4.10-STABLE to get it.  Actually, for
the purposes of experimentation you'ld probably be better off running
a recent 5.3-CURRENT or 6.0-CURRENT, although take note of the
warnings about WITNESS and INVARIANTS in /usr/src/UPDATING, and how
they affect performance.

I think all of the other features are available -- typically you'ld
use net.inet.tcp sysctls to turn them on or off: see the tcp(4),
ttcp(4) man pages for details.  Another good approach is just to
grep(1) through the kernel source code for interesting strings, and
read the comments, if not the code itself.

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


pgpBzmseOyg0I.pgp
Description: PGP signature


Re: FreeBSD 5.2.1-RELEASE and Windows XP on one system

2004-08-26 Thread Subhro
Well FreeBSD 5.2.1-RELEASE-p9 is running on my box with Windiws XP in
dual boot. So the installation definitely works. Now in your case
there may be a few posiblities. First of all, have u fixed the master
drive at the end of the cable and the slave drive in the middle
connector?. FreeBSD has been very fussy about hardware. The other
probability you have already guessed. Yes it may be the BIOS. Its a
good move to search the manufacturer site for updated BIOS and flash
it. However be careful. Thirdly, I would say put the 40G drive as
master as olders drives have buggy controller firmware and they *may*
create troubles in case of newer slaves. Fourtly, Jumper the drives
explicitly to be master and slave. Do not rely on the CS.

S. 

On Thu, 26 Aug 2004 10:13:55 +0200, Marc van Woerkom
[EMAIL PROTECTED] wrote:
 Hello,
 
 I am trying to run both FreeBSD 5.2.1-RELEASE and Windows
 XP on one system and had no success yet.
 
 The system is a rather old PIII-400 with one 4 GB IDE hard
 disk (recognized by the BIOS) as master and one 40 GB IDE
 hard (where I have to disable the BIOS recognition) as
 slave hard disk.
 
 So far I managed to run Windows XP on that box, when I put
 a little start partition on the master drive and the XP
 installation on the slave drive.
 Windows XP was able to work with the 40 GB disk, while the
 BIOS hangs while autodetecting it.
 
 Then I tried to install FreeBSD 5.2.1-RELEASE in another
 partition of the 40 GB disk.
 
 Sysinstall complained about the geometry of the 40 GB
 disk, saying that the values it read were impossible and
 it would continue with something more appropriate.
 Except for that bit the installation went as usual.
 
 However booting the system was not successful.
 The boot manager installed by sysinstall was neither able
 to boot Windows XP nor the FreeBSD installation.
 
 Is it possible that the standard FreeBSD boot manager
 doesn't work with Windows XP?
 
 Yesterday I tried to just install FreeBSD on that system,
 and maybe after that doing a new installation of Windows
 XP.
 But even this didn't work.
 
 So I now think that FreeBSD has big trouble with my disks.
 Perhaps the on board controller of the PIII-400 board is
 too  old for 40 GB IDE drives?
 
 It is a bit frustrating that I managed to get both Windows
 XP and some older SuSE linux running on that system and
 not old faithful FreeBSD. :(
 
 I also bought the complete FreeBSD recently, it has really
 progressed from my old Walnut creek edition, but it
 doesn't cover systems running both FreeBSD and any Windows
 = Windows 2000.
 
 Any idea what is going on?
 Help would be very welcome!
 
 Regards,
 Marc
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cannot remove own file from tmp

2004-08-26 Thread Mipam
Hi,

I have a system where tmp is a symlink to /var/tmp
The permissions or /var/tmp are as follows:
(doing a ls -l in /tmp):
drwxrwxrwt  3 root wheel   512 Aug 26 11:48 tmp

in tmp is created a file test:

ls -lo test

-rw-rw-r--  1 mipam  wheel  -   8 Aug 26 11:46 test

However, i cannot remove this file as mipam eventhough i own it.
No chflags have been said as can be seen.
How is this possible, why can i not remove a file in here eventhough
i created it myself and own it myself?
Bye,

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


Tracking data transfer?

2004-08-26 Thread Subhro
Could anyone suggest me a port which will allow me to keep a watch on
the net data transfer that had occured through a particular IP that is
associated with the NIC of my box?

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Re: Advice on webmail server

2004-08-26 Thread Dirk-Willem van Gulik
On Thu, 19 Aug 2004, Jerry McAllister wrote:

  I thought of Squirrelmail as the likely candidate. Mostly internal

Make sure that you compile/activate SSL support in to the imap client
linked in with PHP - See the relevant make files in ports (it is something
like WITH_SSL=YES). OR search for my name, squirrelmail and imap for a
patch which allows localhost non-ssl and public-ssl. As otherwise you may
find it hard to enforce SSL on the outside connections while also making
it work with Squirrelmail.

You propably also want to pick apache with ssl - just to ensure some level
of privacy and safety.

  going to make the 4x72.8G a raid5 and that be the mail spool
  partition. Is that sound like a good idea?

Combined with quota's if you are using user-level accounts (but you may
want to look into cyrus - although a pain to setup; it does allow for a
lot of automation when your userbase often mutates).

  I've not used FreeBSD for anything like this before and frankly am not
  sure what changes from default I should use, if any. Should I stick
  with 4.10, or is 5.2.1 OK? Any sysctl changes? Default kernel OK?

I'd consider quota's (see the Handbook) and adding the firewall (with a
default ACCEPT) just in case you later need to block something abused.

 stick with 4.10 for now.

Aye - you should be fine for the next years.

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


Re: cannot remove own file from tmp

2004-08-26 Thread Subhro
Could we have a look at mount -a please?

Regards
S.

On Thu, 26 Aug 2004 12:18:06 +0200 (MEST), Mipam [EMAIL PROTECTED] wrote:
 Hi,
 
 I have a system where tmp is a symlink to /var/tmp
 The permissions or /var/tmp are as follows:
 (doing a ls -l in /tmp):
 drwxrwxrwt  3 root wheel   512 Aug 26 11:48 tmp
 
 in tmp is created a file test:
 
 ls -lo test
 
 -rw-rw-r--  1 mipam  wheel  -   8 Aug 26 11:46 test
 
 However, i cannot remove this file as mipam eventhough i own it.
 No chflags have been said as can be seen.
 How is this possible, why can i not remove a file in here eventhough
 i created it myself and own it myself?
 Bye,
 
 Mipam.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tracking data transfer?

2004-08-26 Thread Subhro
I meant a watch on the total data transferred through or from the IP
in questions, not the packets which are transferred via that IP.

Regards
S.

On Thu, 26 Aug 2004 13:29:20 +0300, Ivailo Tanusheff
[EMAIL PROTECTED] wrote:
 Check trafshow. You can also use tcpdump for more detiled info or mrtg for
 summary info :)
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Subhro
 Sent: Thursday, August 26, 2004 1:18 PM
 To: [EMAIL PROTECTED]
 Subject: Tracking data transfer?
 
 Could anyone suggest me a port which will allow me to keep a watch on the
 net data transfer that had occured through a particular IP that is
 associated with the NIC of my box?
 
 Regards
 S.
 
 --
 Subhro Sankha Kar
 School of Information Technology
 Block AQ-13/1 Sector V
 ZIP 700091
 India
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot remove own file from tmp

2004-08-26 Thread Mipam
On Thu, 26 Aug 2004, Subhro wrote:

 Could we have a look at mount -a please?

/dev/wd0a on /config: Operation not permitted
/dev/wd0d on /var: Operation not permitted
/dev/wd0e on /opt: Operation not permitted
/dev/wd0f on /: Operation not permitted
procfs: Operation not permitted

Bye,

Mipam.
 
 Regards
 S.
 
 On Thu, 26 Aug 2004 12:18:06 +0200 (MEST), Mipam [EMAIL PROTECTED] wrote:
  Hi,
  
  I have a system where tmp is a symlink to /var/tmp
  The permissions or /var/tmp are as follows:
  (doing a ls -l in /tmp):
  drwxrwxrwt  3 root wheel   512 Aug 26 11:48 tmp
  
  in tmp is created a file test:
  
  ls -lo test
  
  -rw-rw-r--  1 mipam  wheel  -   8 Aug 26 11:46 test
  
  However, i cannot remove this file as mipam eventhough i own it.
  No chflags have been said as can be seen.
  How is this possible, why can i not remove a file in here eventhough
  i created it myself and own it myself?
  Bye,
  
  Mipam.
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
 
 -- 
 Subhro Sankha Kar
 School of Information Technology
 Block AQ-13/1 Sector V
 ZIP 700091
 India
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot remove own file from tmp

2004-08-26 Thread Subhro
Silly me :-(, Login as root and type mount without the s. Also
could we have a listing of /etc/fstab and uname -a.

Regards
S.

On Thu, 26 Aug 2004 12:34:23 +0200 (MEST), Mipam [EMAIL PROTECTED] wrote:
 On Thu, 26 Aug 2004, Subhro wrote:
 
  Could we have a look at mount -a please?
 
 /dev/wd0a on /config: Operation not permitted
 /dev/wd0d on /var: Operation not permitted
 /dev/wd0e on /opt: Operation not permitted
 /dev/wd0f on /: Operation not permitted
 procfs: Operation not permitted
 
 Bye,
 
 Mipam.
 
 
 
  Regards
  S.
 
  On Thu, 26 Aug 2004 12:18:06 +0200 (MEST), Mipam [EMAIL PROTECTED] wrote:
   Hi,
  
   I have a system where tmp is a symlink to /var/tmp
   The permissions or /var/tmp are as follows:
   (doing a ls -l in /tmp):
   drwxrwxrwt  3 root wheel   512 Aug 26 11:48 tmp
  
   in tmp is created a file test:
  
   ls -lo test
  
   -rw-rw-r--  1 mipam  wheel  -   8 Aug 26 11:46 test
  
   However, i cannot remove this file as mipam eventhough i own it.
   No chflags have been said as can be seen.
   How is this possible, why can i not remove a file in here eventhough
   i created it myself and own it myself?
   Bye,
  
   Mipam.
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
 
  --
  Subhro Sankha Kar
  School of Information Technology
  Block AQ-13/1 Sector V
  ZIP 700091
  India
 
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot remove own file from tmp

2004-08-26 Thread Mipam
On Thu, 26 Aug 2004, Subhro wrote:

 Silly me :-(, Login as root and type mount without the s. Also
 could we have a listing of /etc/fstab and uname -a.

$ mount
/dev/wd0f on / (local, read-only)
/dev/wd0a on /config (local)
/dev/wd0d on /var (local)
/dev/wd0e on /opt (local)
procfs on /proc (local)

/etc/fstab:

/dev/wd0a   /config ufs rw 1 2
/dev/wd0b   noneswapsw 0 0
/dev/wd0d   /varufs rw 1 2
/dev/wd0e   /optufs rw 1 2
/dev/wd0f   /   ufs ro 1 1
proc/proc   procfs  rw 0 0

In / i do ls -l:

lrwxr-xr-x   1 root  wheel 8 Aug 25 13:30 tmp - var/tmp2

in /var i do ls -l:

drwxrwxrwt  5 root wheel  1024 Aug 26 12:38 tmp2

Bye,

Mipam.

 
 Regards
 S.
 
 On Thu, 26 Aug 2004 12:34:23 +0200 (MEST), Mipam [EMAIL PROTECTED] wrote:
  On Thu, 26 Aug 2004, Subhro wrote:
  
   Could we have a look at mount -a please?
  
  /dev/wd0a on /config: Operation not permitted
  /dev/wd0d on /var: Operation not permitted
  /dev/wd0e on /opt: Operation not permitted
  /dev/wd0f on /: Operation not permitted
  procfs: Operation not permitted
  
  Bye,
  
  Mipam.
  
  
  
   Regards
   S.
  
   On Thu, 26 Aug 2004 12:18:06 +0200 (MEST), Mipam [EMAIL PROTECTED] wrote:
Hi,
   
I have a system where tmp is a symlink to /var/tmp
The permissions or /var/tmp are as follows:
(doing a ls -l in /tmp):
drwxrwxrwt  3 root wheel   512 Aug 26 11:48 tmp
   
in tmp is created a file test:
   
ls -lo test
   
-rw-rw-r--  1 mipam  wheel  -   8 Aug 26 11:46 test
   
However, i cannot remove this file as mipam eventhough i own it.
No chflags have been said as can be seen.
How is this possible, why can i not remove a file in here eventhough
i created it myself and own it myself?
Bye,
   
Mipam.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
   
  
  
   --
   Subhro Sankha Kar
   School of Information Technology
   Block AQ-13/1 Sector V
   ZIP 700091
   India
  
  
 
 
 -- 
 Subhro Sankha Kar
 School of Information Technology
 Block AQ-13/1 Sector V
 ZIP 700091
 India
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot remove own file from tmp

2004-08-26 Thread Subhro
Your / is mounted as read only and that is most likely creating
problems. Try mounting it with rw and go ahead. Let us know if that
worked.

Regards.
S.

On Thu, 26 Aug 2004 12:40:36 +0200 (MEST), Mipam [EMAIL PROTECTED] wrote:
 On Thu, 26 Aug 2004, Subhro wrote:
 
  Silly me :-(, Login as root and type mount without the s. Also
  could we have a listing of /etc/fstab and uname -a.
 
 $ mount
 /dev/wd0f on / (local, read-only)
 /dev/wd0a on /config (local)
 /dev/wd0d on /var (local)
 /dev/wd0e on /opt (local)
 procfs on /proc (local)
 
 /etc/fstab:
 
 /dev/wd0a   /config ufs rw 1 2
 /dev/wd0b   noneswapsw 0 0
 /dev/wd0d   /varufs rw 1 2
 /dev/wd0e   /optufs rw 1 2
 /dev/wd0f   /   ufs ro 1 1
 proc/proc   procfs  rw 0 0
 
 In / i do ls -l:
 
 lrwxr-xr-x   1 root  wheel 8 Aug 25 13:30 tmp - var/tmp2
 
 in /var i do ls -l:
 
 drwxrwxrwt  5 root wheel  1024 Aug 26 12:38 tmp2
 
 
 
 Bye,
 
 Mipam.
 
 
  Regards
  S.
 
  On Thu, 26 Aug 2004 12:34:23 +0200 (MEST), Mipam [EMAIL PROTECTED] wrote:
   On Thu, 26 Aug 2004, Subhro wrote:
  
Could we have a look at mount -a please?
  
   /dev/wd0a on /config: Operation not permitted
   /dev/wd0d on /var: Operation not permitted
   /dev/wd0e on /opt: Operation not permitted
   /dev/wd0f on /: Operation not permitted
   procfs: Operation not permitted
  
   Bye,
  
   Mipam.
  
  
   
Regards
S.
   
On Thu, 26 Aug 2004 12:18:06 +0200 (MEST), Mipam [EMAIL PROTECTED] wrote:
 Hi,

 I have a system where tmp is a symlink to /var/tmp
 The permissions or /var/tmp are as follows:
 (doing a ls -l in /tmp):
 drwxrwxrwt  3 root wheel   512 Aug 26 11:48 tmp

 in tmp is created a file test:

 ls -lo test

 -rw-rw-r--  1 mipam  wheel  -   8 Aug 26 11:46 test

 However, i cannot remove this file as mipam eventhough i own it.
 No chflags have been said as can be seen.
 How is this possible, why can i not remove a file in here eventhough
 i created it myself and own it myself?
 Bye,

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

   
   
--
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
   
  
 
 
  --
  Subhro Sankha Kar
  School of Information Technology
  Block AQ-13/1 Sector V
  ZIP 700091
  India
 
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Change root user name? possible?

2004-08-26 Thread Dick Davies
* Ara Avvali [EMAIL PROTECTED] [0804 00:04]:
 What I mean if someone wants to hack to machine or even get physical access
 half of the job is done by knowing the root user name. Although windows
 security blows but they have this feature renaming administrator user
 account name

uid 0 is special, not the name root. A lot of exploits try to su to uid 0.

But a buttload of scripts would do a chown root secretfile; chmod 400 secretfile
which would cause you all sorts of problems.

 It would be like if you want to go in a street and steal a diamond ring.
 First you have to know the lot number of house which has it and second the
 key to get in. would make it harder to try every single house

you're better off locking the door. disallow root logins off the network.

-- 
VMS is like a nightmare about RSX-11M.
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mplayer error compiling

2004-08-26 Thread Osmany Guirola Cruz
i have these error compiling MPlayer-1.0pre5

In file included from vf_qp.c:56:
../libavcodec/dsputil.h:561: error: syntax error before int
In file included from vf_qp.c:56:
../libavcodec/dsputil.h:557:1: unterminated #ifndef
../libavcodec/dsputil.h:28:1: unterminated #ifndef
vf_qp.c:51:1: unterminated #else
vf_qp.c:39:1: unterminated #ifdef
gmake[1]: *** [vf_qp.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/mplayer/work/MPlayer-1.0pre5/libmpcodecs'
gmake: *** [libmpcodecs/libmpcodecs.a] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/mplayer.

Help


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


Logging router errors using syslog

2004-08-26 Thread Mark Ovens
FreeBSD 4.9-RELEASE
My ADSL router/modem, Zyxel P650R-31, supports error logging to a remote 
*nix host using syslog but I can't get it to work.

The router has been set up to log to the local2 facility and I've added 
these lines to the end of /etc/syslog.conf:

!*
+P650R-31
local2  /var/log/router/zyxel
and created the log file and restarted syslogd (kill -HUP) - the machine 
has also since been rebooted.

There is an entry in /etc/hosts for the router.
I originally made both router/ and router/zyxel 644 root/wheel but have 
also tried changing the perms to 777 and changing the group to network.

Can anyuone suggest why this is not working?
Thanks.
Regards,
Mark
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: xorg on 5.3 beta

2004-08-26 Thread Osmany Guirola Cruz
Ok i copy my old Xfree86 to xorg and . works but i have message again
NVRM: detected agp.ko, aborting NVIDIA AGP setup 
but the glx works fine i think that it'sa problem of the lasta driver 



-Original Message-
From: edwinculp [mailto:edNVRM: detected agp.ko, aborting NVIDIA AGP [EMAIL PROTECTED]
Sent: Wed 8/25/2004 5:39 PM
To: [EMAIL PROTECTED]
Cc: 
Subject: Re: xorg on 5.3 beta



- Mensaje original -
De: Osmany Guirola Cruz [EMAIL PROTECTED]
Fecha: Mircoles, Agosto 25, 2004 3:45 pm
Asunto: xorg on 5.3 beta

 hi people
 i am trying to configure my nvidia card on freebsd 5.3beta
 and it's imposible to me do it 
 first xorgconfig does not find the card database like when i use 
 xf86config in 4.10 then the xorg.conf file it's incomplete 
 then i use the xorgcfg and does not work i get a gray screen with a 
 mouse an nothing more my last choice is with sysinstall with 
 xorgcfg -textmode and i can find in the card database for my 
 Geforce2 .. but when i do startx i get screen not found my solution 
 was copy the xorg.con.new in the /root directory to /etc/X11/ then 
 startx works but i compile the nvidia driver an this error apears 
 in the console 
 NVRM: detected agp.ko, aborting NVIDIA AGP setup but the startx works
I had a similar problem and ended up using an old XF86Config file that worked with 
XFree86 and it works fine.  In fact I've been modifying it and using it with other 
cards, too. 

Probably not a good idea but it might solve you problem is you have an old 
configuration file that worked laying around.

good luck,

ed
 but glxgears give these error
 Xlib:  extension GLX missing on display :0.0.
 Error: couldn't get an RGB, Double-buffered visual
 HOW can i do my video card work correctly with xorg
 HELP PLEASE
 
 
 
 
 
 
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

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





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


Re: FreeBSD 5.2.1-RELEASE and Windows XP on one system

2004-08-26 Thread Marc van Woerkom
Well FreeBSD 5.2.1-RELEASE-p9 is running on my box with 
Windiws XP in
dual boot. So the installation definitely works.
Ok, that is already a good hint.
What boot manager do you use for that dual boot system?

First of all, have u 
fixed the master
drive at the end of the cable and the slave drive in the 
middle
connector?. 
I need to check that. I did not know about such a 
preference, and assumed both connectors are equal.


probability you have already guessed. Yes it may be the 
BIOS. Its a
good move to search the manufacturer site for updated 
BIOS and flash
it. However be careful.
Perhaps I better try to get a newer board.. but then I 
need newer ram, newer proc.. the usual upgrade madness. :)

Thirdly, I would say put the 40G 
drive as
master as olders drives have buggy controller firmware 
and they *may*
create troubles in case of newer slaves. 
OK, I'll try that.
Fourtly, Jumper 
the drives
explicitly to be master and slave. Do not rely on the CS.
I hope, I did that. But I check.
Thanks a lot for the hints!
Marc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


compiling 5.3 BETA turn off debug code

2004-08-26 Thread Osmany Guirola Cruz
Hi people 
 I want compile the world of my 5.3 beta but i read the UPDATING and then i need 
remove the debuging code for a best performance what things i have to change

thanks


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


Can you e-mail me the minimal requirements for FreeBSD?

2004-08-26 Thread Douglas Blancahrd
Yes, I need a list of minimal requirements for FreeMSD, including amount of video card 
memory or whatever it's called, hard disk space, etc., and also will it support 
SoundMAX integrated sound cards?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Logging router errors using syslog

2004-08-26 Thread Martin Hasenbein
On 26 Aug 2004 (13:55:35) [1093521335], Mark Ovens wrote:

Hi Mark,

 The router has been set up to log to the local2 facility and I've added 
 these lines to the end of /etc/syslog.conf:
 
 !*
 +P650R-31
 local2/var/log/router/zyxel

 Can anyuone suggest why this is not working?

how did you start syslogd? If it was started from /etc/rc.conf
without modifying the flags for syslogd, it won't work.
The default-flag for syslogd is

syslogd_flags=-s

From the man-page:

 -s  Operate in secure mode.  Do not log messages from remote
 machines.  If specified twice, no network socket will be opened
 at all, which also disables logging to remote machines.


You have to disable this option and restart syslogd.


Ciao,
 -Martin.

-- 
Martin Hasenbein |Volkartstr. 55| D-80636 Muenchen
fon: +49 89 12163761 | fax: +49 89 12163763 | gsm: +49 175 2255715
[EMAIL PROTECTED] |  [EMAIL PROTECTED]  | [EMAIL PROTECTED]
Unix is simple, but it takes a genius to understand the simplicity
  --Dennis Ritchie

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


Re: cannot remove own file from tmp

2004-08-26 Thread Malcolm Kay
On Thursday 26 August 2004 19:48, Mipam wrote:
 Hi,

 I have a system where tmp is a symlink to /var/tmp
 The permissions or /var/tmp are as follows:
 (doing a ls -l in /tmp):
 drwxrwxrwt  3 root wheel   512 Aug 26 11:48 tmp

This seems rather strange. If you are actually in /tmp
(I take it you mean by 'cd /tmp') then 
 % ls -l
should not report a tmp directory unless you have 
another tmp as a subdirectory of /tmp i.e. /tmp/tmp

If you are actually in the root directory and 
/tmp is a truly symbolic link to /var/tmp then 'ls -l'
should report something like:
   l?  ? root  wheel ?? Aug 26 11:48 tmp - /var/tmp

Please check your information.

Malcolm
 
 in tmp is created a file test:

 ls -lo test

 -rw-rw-r--  1 mipam  wheel  -   8 Aug 26 11:46 test

 However, i cannot remove this file as mipam eventhough i own it.
 No chflags have been said as can be seen.
 How is this possible, why can i not remove a file in here eventhough
 i created it myself and own it myself?
 Bye,

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

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


Re: FreeBSD 5.2.1-RELEASE and Windows XP on one system

2004-08-26 Thread Subhro
On Thu, 26 Aug 2004 14:08:42 +0200, Marc van Woerkom
[EMAIL PROTECTED] wrote:
 Well FreeBSD 5.2.1-RELEASE-p9 is running on my box with
 Windiws XP in
 dual boot. So the installation definitely works.
 

 Ok, that is already a good hint.
 What boot manager do you use for that dual boot system?
 
 

I use the FreeBSD boot manager which comes with the system.

 First of all, have u
 fixed the master
 drive at the end of the cable and the slave drive in the
 middle
 connector?.
 
 I need to check that. I did not know about such a
 preference, and assumed both connectors are equal.
 

For Winshit (read Windows) or Linshit (read Linux), they are indeed
equal, but as I indicated, FreeBSD is *very* *very* fussy about
hardware. So you need to maintain that order.


 
 probability you have already guessed. Yes it may be the
 BIOS. Its a
 good move to search the manufacturer site for updated
 BIOS and flash
 it. However be careful.
 
 Perhaps I better try to get a newer board.. but then I
 need newer ram, newer proc.. the usual upgrade madness. :)
 
  Thirdly, I would say put the 40G
 drive as
 master as olders drives have buggy controller firmware
 and they *may*
 create troubles in case of newer slaves.
 
 OK, I'll try that.
 
 Fourtly, Jumper
 the drives
 explicitly to be master and slave. Do not rely on the CS.
 
 I hope, I did that. But I check.
 
 Thanks a lot for the hints!
 Marc
 

Let us know if that worked out.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer error compiling

2004-08-26 Thread Subhro
Have u cvsuped with ports-all? If not then DO that NOW. If you have
already done that kindly paste /etc/make.conf and reply back.

Regards
S.

On Thu, 26 Aug 2004 07:44:31 -0400, Osmany Guirola Cruz
[EMAIL PROTECTED] wrote:
 i have these error compiling MPlayer-1.0pre5
 
 In file included from vf_qp.c:56:
 ../libavcodec/dsputil.h:561: error: syntax error before int
 In file included from vf_qp.c:56:
 ../libavcodec/dsputil.h:557:1: unterminated #ifndef
 ../libavcodec/dsputil.h:28:1: unterminated #ifndef
 vf_qp.c:51:1: unterminated #else
 vf_qp.c:39:1: unterminated #ifdef
 gmake[1]: *** [vf_qp.o] Error 1
 gmake[1]: Leaving directory 
 `/usr/ports/multimedia/mplayer/work/MPlayer-1.0pre5/libmpcodecs'
 gmake: *** [libmpcodecs/libmpcodecs.a] Error 2
 *** Error code 2
 
 Stop in /usr/ports/multimedia/mplayer.
 
 Help
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: compiling 5.3 BETA turn off debug code

2004-08-26 Thread Subhro
Read man malloc.conf

Regards
S.

On Thu, 26 Aug 2004 08:11:15 -0400, Osmany Guirola Cruz
[EMAIL PROTECTED] wrote:
 Hi people
 I want compile the world of my 5.3 beta but i read the UPDATING and then i need 
 remove the debuging code for a best performance what things i have to change
 
 thanks
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Logging router errors using syslog

2004-08-26 Thread Mark Ovens
Martin Hasenbein wrote:
On 26 Aug 2004 (13:55:35) [1093521335], Mark Ovens wrote:
Hi Mark,
The router has been set up to log to the local2 facility and I've added 
these lines to the end of /etc/syslog.conf:

!*
+P650R-31
local2  /var/log/router/zyxel

Can anyuone suggest why this is not working?
how did you start syslogd? If it was started from /etc/rc.conf
without modifying the flags for syslogd, it won't work.
The default-flag for syslogd is
syslogd_flags=-s
From the man-page:
 -s  Operate in secure mode.  Do not log messages from remote
 machines.  If specified twice, no network socket will be opened
 at all, which also disables logging to remote machines.
You have to disable this option and restart syslogd.
Thanks, yes, I was. I've changed it and restarted without ''-s'' but it 
still doesn't appear to be logging anything - I configured the router to 
log everything so the file should grow quite quickly.

Do you have any other idea(s)?
Regards,
Mark
Ciao,
 -Martin.

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


Login to Netware NDS ?

2004-08-26 Thread Feczak Szabolcs
Is it possible somehow to log in to netware nds from freebsd ?
ncplip doesn't support it and this project is discontinued 
according to the maintainer ... 

Any stable way to access netware shares ? Im having
problems with the accessibility even with bindery 
http://www.freebsd.org/cgi/query-pr.cgi?pr=65920

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

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


Re: Logging router errors using syslog

2004-08-26 Thread Martin Hasenbein
On 26 Aug 2004 (15:30:52) [1093527052], Mark Ovens wrote:

Hi Mark,

 Thanks, yes, I was. I've changed it and restarted without ''-s'' but it 
 still doesn't appear to be logging anything - I configured the router to 
 log everything so the file should grow quite quickly.
 
 Do you have any other idea(s)?

are you running some kind of firewall, like ipfilter or ipfw?
If so, did you open Port 514/UDP?
What happens, if you change this line in /etc/syslog.conf

local2  /var/log/router/zyxel

to

local2.*/var/log/router/zyxel

and restart?


Ciao,
 -Martin.

-- 
Martin Hasenbein |Volkartstr. 55| D-80636 Muenchen
fon: +49 89 12163761 | fax: +49 89 12163763 | gsm: +49 175 2255715
Unix is simple, but it takes a genius to understand the simplicity
  --Dennis Ritchie

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


Re: Logging router errors using syslog

2004-08-26 Thread Mark Ovens
Martin Hasenbein wrote:
On 26 Aug 2004 (15:30:52) [1093527052], Mark Ovens wrote:
Hi Mark,
Thanks, yes, I was. I've changed it and restarted without ''-s'' but it 
still doesn't appear to be logging anything - I configured the router to 
log everything so the file should grow quite quickly.

Do you have any other idea(s)?
are you running some kind of firewall, like ipfilter or ipfw?
No, I'm not.
If so, did you open Port 514/UDP?
What happens, if you change this line in /etc/syslog.conf
local2  /var/log/router/zyxel
to
local2.*/var/log/router/zyxel
and restart?
It is actually local2.*, it was a typo in my original post, sorry.
Regards,
Mark
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Postfix thinks there isn't enough disk space in a jail

2004-08-26 Thread adp
This problem seems to be affecting Postfix in a FreeBSD jail, and I haven't
seen this problem outside of a jail, so I'm trying questions@ first.

I am running postfix-2.0.18,1 (from ports) in a FreeBSD 4.10 system in a
jail. Everything was fine until recently I moved NFS services over to this
same server. (This may be a red herring.) Now, every few mails I get an
email to Postmaster like this:

Transcript of session follows.

 Out: 220 xx ESMTP
 In:  EHLO yy
 Out: 250-xx
 Out: 250-PIPELINING
 Out: 250-SIZE 102400
 Out: 250-VRFY
 Out: 250-ETRN
 Out: 250 8BITMIME
 In:  MAIL FROM:[EMAIL PROTECTED] SIZE=13414
 Out: 452 Insufficient system storage
 In:  QUIT
 Out: 221 Bye

Okay, so the disk is filling up.

box# df -hl
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ar0s1a  1008M45M   882M 5%/
/dev/ar0s1d27G23G   1.9G92%/jails
/dev/ar0s1h  1008M20M   908M 2%/home
/dev/ar0s1g  1008M  10.0K   927M 0%/tmp
/dev/ar0s1f   3.9G   1.2G   2.4G34%/usr
/dev/ar0s1e   2.0G   148M   1.7G 8%/var
procfs4.0K   4.0K 0B   100%/proc
procfs4.0K   4.0K 0B   100%/jails/xxx/proc

Okay, we are at 92%. We should clean some things up, but we do still have
1.9GB of free space. (And we often linger around this anyway.)

Postfix is set to accept mail as long as there is 25MB of free space:

main.cf:queue_minfree = 2500

Anyone seen this happen? Postfix should not be returning '452 Insufficient
system storage' to clients at this point.

It doesn't happen for all mails. Just around 5% of so. It seems fairly
random to me.

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


Re: Login to Netware NDS ?

2004-08-26 Thread Dan Nelson
In the last episode (Aug 26), Feczak Szabolcs said:
 Is it possible somehow to log in to netware nds from freebsd ? ncplip
 doesn't support it and this project is discontinued according to the
 maintainer ...
 
 Any stable way to access netware shares ? Im having problems with the
 accessibility even with bindery
 http://www.freebsd.org/cgi/query-pr.cgi?pr=65920

See the mount_nwfs and ncplogin manpages.  ncplib was merged into the
base system long ago.  You could also run Netware NFS on your Netware
server and access it via regular NFS mounts on Unix.

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


virtual-mailman

2004-08-26 Thread Muhammad Reza
Dear List
I Try to configure mailing list manager with mailman and postfix virtual 
domain, everything is install via port at 4.10RELEASE.  But why cant i 
create virtual-mailman and aliases with newlist command or via web 
interface.
yes i add POSTFIX_STYLE_VIRTUAL_DOMAINS = [domain,domain2] in 
mm.cfg.py.
Please help me

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


virtual-mailman

2004-08-26 Thread Muhammad Reza
Dear List
I Try to configure mailing list manager with mailman and postfix virtual 
domain, everything is install via port at 4.10RELEASE.  But why cant i 
create virtual-mailman and aliases with newlist command or via web 
interface.
yes i add POSTFIX_STYLE_VIRTUAL_DOMAINS = [domain,domain2] in mm.cfg.py.
Please help me

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


Re: crontab question involving cvsup

2004-08-26 Thread Kevin D. Kinsey, DaleCo, S.P.
Joshua Tinnin wrote:
On Thursday 26 August 2004 12:42 am, epilogue [EMAIL PROTECTED] 
wrote:
 

On Thu, 26 Aug 2004 00:07:26 -0700
Joshua Tinnin [EMAIL PROTECTED] wrote:
   

OK, I have searched the archives, and I can't find that my question
has been answered previously, but please forgive me if that's
incorrect.
I'm using (or rather trying to use) cron to update my ports tree
daily. I've tried several different combinations without success,
and lately this is what I have in my crontab file:
/usr/local/bin/cvsup -g -L 2
/home/krinklyfig/supfiles/ports-supfile  /usr/local/bin/portindex
 /usr/local/sbin/portsdb -u
It runs as root once a day. What appears to be happening is that
the cvsup is happening, but portindex is not, and because of the
latter portsdb -u doesn't either. The reason I know cvsup is
working is because portindex indicates that the ports tree has been
updated if I run it manually later, but running portversion before
manually running portindex will not indicate any changes. The cron
log doesn't show anything but the commands being executed. So, my
question is: is this type of command valid, or should each command
be separate? Or is it not working for some other reason?
 

man cron gives:
crontab [-u user] file
'file' being the important part, methinks.   ;)
   

I'm not sure what you mean ... If you're wondering, I'm using the main 
crontab file (/etc/crontab), as right now there's no need for me to use 
multiple ones.
 

Just an aside, but a rather important one:  /etc/crontab is the *system*
crontab and shouldn't have your jobs in it.  It may in fact be this issue
that is causing the problem, but I've not looked into it enough to say
unequivocally...
Since your job needs root privileges, you should put this in root's
crontab, either by su'ing to root and running crontab -e at the prompt,
or if you have sudo installed, sudo crontab -e will get you there.
Unlike the system crontab, user crontabs, including root's, are
under /var/cron; the file format is slightly different, and misuse
of the system crontab for regular jobs is the cause of several
FAQ posts we see here every few months or so; one of these goes
something like, why do I get an email from cron saying it can't
complete my job, unknown user, etc. ??
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]


Installation - Couldn't make filesystems properly | momentus 20gb hard drive geometry problem???

2004-08-26 Thread Michael Clark
I am attempting to install FreeBSD 5.2.1 on a mini-itx Via c3 533.
I have a momentus 20 GB st92911A as the hard disk.

After I create my slice and /usr swap /tmp ext and go on with the
installation I get the following errors:
Unable to make root filesystem on /dev/ad0s1a command returned status 36
Couldn't make filesystems properly.  Aborting

The detected geometry for the drive is 38760/16/63
I looked this up on google and found:
http://www.seagate.com/docs/pdf/datasheet/disc/ds_momentus.pdf

When this geometry is used the install still does not work, and it believes
the drive is only 8 GB

Someone was nice enough to explain drive geometry in detail several months
back on this list.
I went back and read the post but I am still at a lose.  Perhaps it is not
the geometry?



  

Michael Clark
Nemschoff Chairs Inc
mclark at nemschoff dot com
CompTIA A+, Network+, Server+, MCP
Voice: (920) 457 7726 x294
Fax:  (920) 453 6594


CONFIDENTIALITY NOTE: This electronic transmission, including all
attachments, is directed in confidence solely to the person(s) to whom it is
addressed, or an authorized recipient, and may not otherwise be distributed,
copied or disclosed. The contents of the transmission may also be subject to
intellectual property rights and all such rights are expressly claimed and
are not waived. If you have received this transmission in error, please
notify the sender immediately by return electronic transmission and then
immediately delete this transmission, including all attachments, without
copying, distributing or disclosing same. 


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


Re: crontab question involving cvsup

2004-08-26 Thread Lucas Holt
Here is my setup which works:
crontab -e yeilds
0 1 * * *   /bin/sh /root/bin/port.sh 21 | mail root
port.sh contains:
#!/bin/sh
/usr/local/bin/cvsup /etc/ports-supfile
/usr/local/sbin/portsdb -Uu
/usr/local/sbin/portversion -v | /usr/bin/grep 
then this gets mailed to me everyday with the outcome and the ports 
that need updating.

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bridging on 5.3 beta not working

2004-08-26 Thread Dave McCammon
Maybe I should post this to the CURRENT mail list or
maybe STABLE(even though releng_5 isn't stable yet)
but I wanted to try here first.

I can't seem to get bridging working on a new install
of 5.3 beta. I set up the system correctly as far as I
can tell(see info below). I gave one nic(em0) an ip
and can reach other machines(using ssh as the test).
If I move the ethernet cable from em0 to em1 I can't
get out to any machines. Perhaps this is not a valid
test (seems it should be). 
I must also mention that I did try both ports plugged
in(between two switches) but no traffic was getting
through.

below is the output of `sysctl net.link.ether.bridge'

net.link.ether.bridge.version: 031224
net.link.ether.bridge.debug: 0
net.link.ether.bridge.ipf: 0
net.link.ether.bridge.ipfw: 1
net.link.ether.bridge.copy: 0
net.link.ether.bridge.ipfw_drop: 0
net.link.ether.bridge.ipfw_collisions: 0
net.link.ether.bridge.packets: 382
net.link.ether.bridge.dropped: 0
net.link.ether.bridge.predict: 201
net.link.ether.bridge.enable: 1
net.link.ether.bridge.config: em0:0,em1:0


I have `options BRIDGE' compiled in the kernel, along
with 
options IPFIREWALL
options IPFIREWALL_VERBOSE

I can send the entire kernel config if needed.


output from `ipfw show'
65000 722 74390 allow ip from any to any
65535   1   108 deny ip from any to any


Below is dmesg.boot.

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1991, 1992, 1993, 1994
The Regents of the University of California. All
rights reserved.
FreeBSD 5.3-BETA1 #5: Wed Aug 25 14:57:39 EST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/BG
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3400.14-MHz
686-class CPU)
  Origin = GenuineIntel  Id = 0xf34  Stepping = 4
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 1073479680 (1023 MB)
avail memory = 1045135360 (996 MB)
ACPI APIC Table: DELL   PE750   
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: DELL PE750 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality
1000
acpi_timer0: 24-bit timer at 3.579545MHz port
0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on
acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 3.0 on pci0
pci1: ACPI PCI bus on pcib1
em0: Intel(R) PRO/1000 Network Connection, Version -
1.7.25 port 0xece0-0xecff mem 0xfe2e-0xfe2f
irq 18 at device 1.0 on pci1
em0: [GIANT-LOCKED]
em0: Ethernet address: 00:c0:9f:44:bd:ed
em0:  Speed:N/A  Duplex:N/A
pcib2: ACPI PCI-PCI bridge at device 28.0 on pci0
pci2: ACPI PCI bus on pcib2
aac0: Dell CERC SATA RAID 2 mem
0xf400-0xf7ff irq 24 at device 1.0 on pci2
aac0: [FAST]
aac0: Unknown processor 100MHz, 48MB cache memory,
optional battery not installed
aac0: Kernel 4.1-0, Build 7028, S/N bc68d4
aac0: Supported
Options=1097cWCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,ALARM
uhci0: UHCI (generic) USB controller port
0xcce0-0xccff irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: UHCI (generic) USB controller port
0xccc0-0xccdf irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: base peripheral at device 29.4 (no driver
attached)
pci0: base peripheral, interrupt controller at
device 29.5 (no driver attached)
pci0: serial bus, USB at device 29.7 (no driver
attached)
pcib3: ACPI PCI-PCI bridge at device 30.0 on pci0
pci3: ACPI PCI bus on pcib3
em1: Intel(R) PRO/1000 Network Connection, Version -
1.7.25 port 0xdcc0-0xdcff mem 0xfdee-0xfdef
irq 21 at device 2.0 on pci3
em1: [GIANT-LOCKED]
em1: Ethernet address: 00:c0:9f:44:bd:ee
em1:  Speed:N/A  Duplex:N/A
pci3: display, VGA at device 14.0 (no driver
attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel 6300ESB SATA150 controller port
0xfea0-0xfeaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at
device 31.2 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver
attached)
fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 

Re: Can you e-mail me the minimal requirements for FreeBSD?

2004-08-26 Thread Kevin D. Kinsey, DaleCo, S.P.
Douglas Blancahrd wrote:
Yes, I need a list of minimal requirements for FreeMSD, 
 

Do you mean FreeBSD? ;-)
including amount of video card memory or whatever it's called, 

Well, video card memory is video card memory.  It sounds
as if you're expecting a Windows-like recommended minimum
hardware configuration list; you won't find one, because
FreeBSD is extremely flexible; there is not a standard
application model necessarily.  If you want a headless
firewall box, for example, you don't need hardware that is
anywhere near as hefty as you would for, say, working
as an animator at Pixar  just as an example.
The short answer---depends on what you want to see. 
You can probably run a base system on hardware from 1988 if you
want to.  If you want to see graphics and pretty colors or pictures,
something more modern is needed.  Video card memory isn't usually
as important as the type of video card; I've run FreeBSD+XFree86+
GNOME on SiS, Savage, Trident, Nvidia GeForce, and a few
other types of hardware.

hard disk space, etc., 

Again, it depends on what you want to do; AAMOF, you
can run FreeBSD without a Hard disk (assuming you have
a second machine to read from via the network)
You could get by with as little as a few hundred megabytes
if you just wanted a little system; if you intend to make it
your desktop machine, you'll want as much as you can
reasonably afford, if you're much like the rest of us.  The
machine I'm using ATM has a 40 GB HDD, and I'm constantly
guarding against getting it too full; it serves as a desktop
computer, LAN web/mail server, LAN gateway/DNS/firewall,
RSync backup server, web development environment, LAN
mp3 storage, etc., etc., etc... needless to say I'm always on
the lookout for storage bargains
and also will it support SoundMAX integrated sound cards?
 

Does it use the AC '97 protocol?  If so, I'd say yes.  Check
the organization's web site for a Hardware Compatibility
List, which might list your device.  In general, I've found the
pcm driver to be rather flexible.  Hardware from the windoze
world that gives more trouble are usually things like internal
modems and certain USB devices, along with the odd archaic
peripheral that just never got a driver written for it...
Kevin Kinsey
DaleCo, S.P.
P.S.  You may or may not have noticed; in the context of
replying to you, I caused your lines to be broken into smaller
lines (around 72-80 characters is best).  As FreeBSD users
run the gamut from a graphics guy working with a dual 21 inch
display at some goshawful resolution to someone reading from
a 80-column serial console, it's good practice to hit enter
whenever your lines get about as long as these; that way we
can be nice to the 80-column guys
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg on 5.3 beta

2004-08-26 Thread matti k
On Thu, 26 Aug 2004 08:00:10 -0400
Osmany Guirola Cruz [EMAIL PROTECTED] wrote:

 Ok i copy my old Xfree86 to xorg and . works but i have message
 again NVRM: detected agp.ko, aborting NVIDIA AGP setup 
 but the glx works fine i think that it'sa problem of the lasta
 driver 

This is covered in the README. My solution was to set
hint.agp.0.disabled=1 in /boot/device.hints
Please check the README file.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login to Netware NDS ?

2004-08-26 Thread Feczak Szabolcs
Dan Nelson dnelson at allantgroup.com wrote:
 See the mount_nwfs and ncplogin manpages.  ncplib was merged into the
 base system long ago.  
I have checked, but nothing about NDS there ...

More things here that I do not understand

ipx setting

# grep ipx /etc/rc.conf
   
ifconfig_xl0f2_ipx=ipx 0x8021
ipxrouted_flags=-q
ipxrouted_enable=YES

latest release

# uname -a 
  
FreeBSD backup.sdi.hu 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #2: Wed Aug 18 20:08:14 
CEST 2004 [EMAIL PROTECTED]:/mnt/data/obj/mnt/data/cvs/src/sys/BACKUP  i386

after boot ipxrouted starts

# ps uaxw| grep IPXrouted
root   74  0.0  0.2   944  572  ??  Ss5:28PM   0:00.00 IPXrouted -q
root  208  0.0  0.3  1092  660  p0  S+5:30PM   0:00.00 grep IPXrouted

routing tables are not so right ..

# netstat -rf ipx  
Routing tables

IPX:
DestinationGatewayFlagsNetif Expire
8021.* 8021.a5e3efe20 U   xl0f2

I can't see the server

# ncplist s
Can't attach to a nearest server

Serverlog says error

Aug 26 17:32:36 backup IPXrouted[74]: DELETEservice 0278 TREE 
addr 37dc#0:0:0:0:0:1.4006   metric 16
Aug 26 17:32:36 backup IPXrouted[74]: DELETEservice 026B TREE 
addr 37dc#0:0:0:0:0:1.0005   metric 16
Aug 26 17:32:36 backup IPXrouted[74]: DELETEservice 0004 SZABO-SERVER-BAJCSY  
addr 37dc#0:0:0:0:0:1.0451   metric 16
Aug 26 17:33:07 backup /kernel: ncp_send: error 51 for server SZABO-SERVER-BAJCSY
Aug 26 17:33:07 backup /kernel:
Aug 26 17:33:07 backup /kernel: Aug 26 17:33:07 backup /kernel: ncp_send: error 51 for 
server SZABO-SERVER-BAJCSY

restart IPXrouted

# killall -9 IPXrouted
# IPXrouted -q

Routing gets better

# netstat -rf ipx  
 
Routing tables

IPX:
DestinationGatewayFlagsNetif Expire
default8021.105abc6f5 UG  xl0f2
8021.* 8021.a5e3efe20 U   xl0f2

So finally I can see it

# ncplist s
Visible servers (from SZABO-SERVER-BAJCSY):
NameNetworkNode   Port
---   
SZABO-SERVER-BAJCSY 37DC:0001:0451

and the volumes

# ncplist v SZABO-SERVER-BAJCSY
  

Mounted volumes on server SZABO-SERVER-BAJCSY:
Number Name
-- ---
0 SYS
1 DATA

mount it (bindery)

# mount_nwfs -U admin -S SZABO-SERVER-BAJCSY -V DATA /mnt/nwfs 
  
Netware password: 

go to one of the dirs in the mount

# cd /mnt/nwfs/xxx 
 

I have a file here already

# ls   
   /mnt/nwfs/xxx
aliases

Would like to copy here another one

# cp /etc/make.conf .  
   /mnt/nwfs/xxx
cp: ./make.conf: Unknown error: 35207

error ...

about the rights

# ls -ld . 
   /mnt/nwfs/xxx
drwxr-xr-x  1 root  wheel  16384 Aug 26 17:42 .

about the mount

# mount | grep nwfs
/SZABO-SERVER-BAJCSY:ADMIN/DATA on /mnt/nwfs (nwfs)

more errors ...

Aug 26 17:51:20 backup /kernel: ncp_send: error 4 for server SZABO-SERVER-BAJCSY
Aug 26 17:51:20 backup /kernel: 
Aug 26 17:51:20 backup /kernel: Aug 26 17:51:20 backup /kernel: ncp_send: error 4 for 
server SZABO-SERVER-BAJCSY
Aug 26 17:53:20 backup IPXrouted[281]: ADD dst 37dc#0:0:0:0:0:0, router 
8021#0:10:5a:bc:6f:56, metric 1, ticks 2, flags UP|GATEWAY state CHANGED
Aug 26 17:53:20 backup IPXrouted[281]: ADD   service 0004 SZABO-SERVER-BAJCSY  
addr 37dc#0:0:0:0:0:1.0451   metric 1
Aug 26 17:53:20 backup IPXrouted[281]: ADD   service 026B TREE 
addr 37dc#0:0:0:0:0:1.0005   metric 1
Aug 26 17:53:20 backup IPXrouted[281]: ADD   service 0278 TREE 
addr 37dc#0:0:0:0:0:1.4006   metric 1


it is a fresh install of netware 4.11 btw

 You could also run Netware NFS on your Netware
 server and access it via regular NFS mounts on Unix.
First, Is this free ? Second, Is this ok with Netware 4.11 ?

I have heard some weeks ago that there is a port in the tree which can mount
nwfs shares through the nfs calls or something on the client side, but
I can not recall its name

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


Re: RE: xorg on 5.3 beta

2004-08-26 Thread edwinculp


- Mensaje original -
De: Osmany Guirola Cruz [EMAIL PROTECTED]
Fecha: Jueves, Agosto 26, 2004 7:00 am
Asunto: RE: xorg on 5.3 beta

 Ok i copy my old Xfree86 to xorg and . works but i have message 
 again 
 NVRM: detected agp.ko, aborting NVIDIA AGP setup 
 but the glx works fine i think that it'sa problem of the lasta 
 driver 
 
I'm using a cheap card that identifies as:

[EMAIL PROTECTED]:0:0: class=0x03 card=0x chip=0x018110de rev=0xc1 hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'GeForce4 MX 440 with AGP 8X [NV18.2]'
class= display
subclass = VGA

I don't load agp.ko and it works fine but I'm not a graphics person so what do I know.

I just have the following in my XF86Config

Section Device
Identifier  NVIDIA GeForce
Driver  nv
#VideoRam32768
# Insert Clocks lines here if appropriate
EndSection

No bells, no whistles and no errors to worry about ;-) 

ed
 
 
 -Original Message-
 From: edwinculp [edNVRM: detected agp.ko, aborting NVIDIA AGP 
 [EMAIL PROTECTED]: Wed 8/25/2004 5:39 PM
 To: [EMAIL PROTECTED]
 Cc: 
 Subject: Re: xorg on 5.3 beta
 
 
 
 - Mensaje original -
 De: Osmany Guirola Cruz [EMAIL PROTECTED]
 Fecha: Miércoles, Agosto 25, 2004 3:45 pm
 Asunto: xorg on 5.3 beta
 
  hi people
  i am trying to configure my nvidia card on freebsd 5.3beta
  and it's imposible to me do it 
  first xorgconfig does not find the card database like when i use 
  xf86config in 4.10 then the xorg.conf file it's incomplete 
  then i use the xorgcfg and does not work i get a gray screen with 
 a 
  mouse an nothing more my last choice is with sysinstall with 
  xorgcfg -textmode and i can find in the card database for my 
  Geforce2 .. but when i do startx i get screen not found my 
 solution 
  was copy the xorg.con.new in the /root directory to /etc/X11/ 
 then 
  startx works but i compile the nvidia driver an this error apears 
  in the console 
  NVRM: detected agp.ko, aborting NVIDIA AGP setup but the startx 
 worksI had a similar problem and ended up using an old XF86Config 
 file that worked with XFree86 and it works fine.  In fact I've been 
 modifying it and using it with other cards, too. 
 
 Probably not a good idea but it might solve you problem is you have 
 an old configuration file that worked laying around.
 
 good luck,
 
 ed
  but glxgears give these error
  Xlib:  extension GLX missing on display :0.0.
  Error: couldn't get an RGB, Double-buffered visual
  HOW can i do my video card work correctly with xorg
  HELP PLEASE
  
  
  
  
  
  
  
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-
  [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]
 
 
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

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


Re: crontab question involving cvsup

2004-08-26 Thread Paul Schmehl
--On Thursday, August 26, 2004 12:07:26 AM -0700 Joshua Tinnin 
[EMAIL PROTECTED] wrote:

OK, I have searched the archives, and I can't find that my question has
been answered previously, but please forgive me if that's incorrect.
I'm using (or rather trying to use) cron to update my ports tree daily.
I've tried several different combinations without success, and lately
this is what I have in my crontab file:
/usr/local/bin/cvsup -g -L 2 /home/krinklyfig/supfiles/ports-supfile
 /usr/local/bin/portindex  /usr/local/sbin/portsdb -u
It runs as root once a day. What appears to be happening is that the
cvsup is happening, but portindex is not, and because of the latter
portsdb -u doesn't either. The reason I know cvsup is working is
because portindex indicates that the ports tree has been updated if I
run it manually later, but running portversion before manually running
portindex will not indicate any changes. The cron log doesn't show
anything but the commands being executed. So, my question is: is this
type of command valid, or should each command be separate? Or is it not
working for some other reason?
Just out of curiosity, why would you use cron rather than 
/etc/periodic/daily?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtual-mailman

2004-08-26 Thread Paul Schmehl
--On Thursday, August 26, 2004 03:17:07 AM +0700 Muhammad Reza 
[EMAIL PROTECTED] wrote:

Dear List
I Try to configure mailing list manager with mailman and postfix virtual
domain, everything is install via port at 4.10RELEASE.  But why cant i
create virtual-mailman and aliases with newlist command or via web
interface.
yes i add POSTFIX_STYLE_VIRTUAL_DOMAINS = [domain,domain2] in
mm.cfg.py.
Please help me
Did you run postalias on the mailman alias list?
man (1) postalias
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: crontab question involving cvsup

2004-08-26 Thread Radek Kozlowski
On Thu, Aug 26, 2004 at 11:48:53AM -0400, Lucas Holt wrote:
 Here is my setup which works:
 
 crontab -e yeilds
 0 1 * * *   /bin/sh /root/bin/port.sh 21 | mail root
 
 port.sh contains:
 #!/bin/sh
 
 /usr/local/bin/cvsup /etc/ports-supfile
 /usr/local/sbin/portsdb -Uu
 /usr/local/sbin/portversion -v | /usr/bin/grep 

portversion -vl  would give the same results.

Also, you might want to give portindex a try, which will do the same
part as portsdb -U, but noticeably faster.

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


Re: Login to Netware NDS ?

2004-08-26 Thread Dan Nelson
In the last episode (Aug 26), Feczak Szabolcs said:
 Dan Nelson dnelson at allantgroup.com wrote:
  See the mount_nwfs and ncplogin manpages.  ncplib was merged into
  the base system long ago.
 I have checked, but nothing about NDS there ...

Oops.  It looks like you are right.  I haven't run IPX on my network
for a long time, so I can't help you with your connection problems
though.
 
 it is a fresh install of netware 4.11 btw
 
  You could also run Netware NFS on your Netware
  server and access it via regular NFS mounts on Unix.

 First, Is this free ? Second, Is this ok with Netware 4.11 ?

It was a separate product for 4.11 and 5, but they started including it
for free in Netware 6.0 (it's now part of NFAP - native file and print).

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


Can't upgrade from 5.2.1-p9 to 5.3-BETA1, wrong config version!what to do?

2004-08-26 Thread Joel [Alikzus] Nilsson
Hi!
As my long subject says I can't upgrade from 5.2.1-p9 to 5.3-BETA1 
(Source CVSuped with RELENG_5 tag). When I tries to build the kernel I 
got the error message beneth, telling me I got the wrong version of 
config. How can I upgrade just config?

I have tested both with my own kernel who I changed a bit for fitting 
5.3 and GENERIC. Both gives the same error!

I can neither build the world, but it gives an other error message, so 
let's start out with the kernel ;)

I will be very happy for a solution!
=
THE ERROR MESSAGE:
...
ERROR: version of config(8) does not match kernel!
config version = 500012, version required = 500013
Make sure that /usr/src/usr.sbin/config is in sync
with your /usr/src/sys and install a new config binary
before trying this again.
If running the new config fails check your config
file against the GENERIC or LINT config files for
changes in config syntax, or option/device naming
conventions
...
--
\\Joel [Alikzus] Nilsson
E-mail: [EMAIL PROTECTED]
ICQ:16724249
MSN:[EMAIL PROTECTED]
IRC:Alikzus @ EFNet  DALnet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't upgrade from 5.2.1-p9 to 5.3-BETA1, wrong configversion!what to do?

2004-08-26 Thread Kevin D. Kinsey, DaleCo, S.P.
Joel [Alikzus] Nilsson wrote:
[fixed overlong lines]
Hi!
As my long subject says I can't upgrade from 5.2.1-p9 to 5.3-BETA1
(Source CVSuped with RELENG_5 tag). When I tries to build the kernel
I got the error message beneth, telling me I got the wrong version of
config. How can I upgrade just config?
I have tested both with my own kernel who I changed a bit for
fitting 5.3 and GENERIC. Both gives the same error!
I can neither build the world, but it gives an other error message,
so let's start out with the kernel ;)
But you need to _start_ with the world, so the kernel can be built,
methinks.  What is the other error message?
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mount nwfs share over tcp/ip

2004-08-26 Thread Feczak Szabolcs
there is not too much about native IP access 
in the manpage, only that the -A should be used
I guess parametered with the IP, but I hav no
success


# ifconfig xl0f2 ipx 0x8021
  
# IPXrouted -q 
  
# netstat -rf ipx  
  
Routing tables

IPX:
DestinationGatewayFlagsNetif Expire
default8021.105abc6f5 UG  xl0f2
8021.* 8021.a5e3efe20 U   xl0f2
# ncplist s
  
Visible servers (from SZABO-SERVER-BAJCSY):
NameNetworkNode   Port
---   
SZABO-SERVER-BAJCSY 37DC:0001:0451

# mount_nwfs -U admin -S SZABO-SERVER-BAJCSY -A 192.168.0.101 -V DATA /mnt/nwfs
  
Netware password:
mount_nwfs: cannot login to server SZABO-SERVER-BAJCSY: syserr = Connection refused


??

# ping 192.168.0.101   
  
PING 192.168.0.101 (192.168.0.101): 56 data bytes
64 bytes from 192.168.0.101: icmp_seq=0 ttl=128 time=0.134 ms
^C
--- 192.168.0.101 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.134/0.134/0.134/0.000 ms

Interesting ports on 192.168.0.101:
PORT   STATE SERVICE
7/tcp  open  echo
7/udp   open  echo
9/tcp  open  discard
9/udp   open  discard
19/tcp open  chargen
19/udp  open  chargen
161/udp open  snmp
520/udp open  route


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

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


RE: sick and tired of freebsd resolving problems

2004-08-26 Thread Hauan, David


 -Original Message-
 From: Jorge Mario G. [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 25, 2004 5:21 PM
 To: [EMAIL PROTECTED]
 Subject: sick and tired of freebsd resolving problems
 
 
 Hi there
 I`ve been experiencing resolving problems with freebsd 
 5.2.1-release-p9
 
 the problem is this: I CAN NOT RESOLV
 my hosts file is ok
 looks like this in the gateway
 
 #
 127.0.0.1  localhost localhost.myfoodamin.org
 192.168.0.1   a a.foodoamin.org #NIC2
 192.168.0.2   b b.foodomain.org # WIFI AP
 192.168.0.254 laptop laptop.foodoamin.org # latop
 ...
 ...
 ##
 the laptop (Linux/FreeBSD) has the same hosts file
 and linux can ping to the outside world ALWAYS.
 so can do it the Windows boxes.
 
 the resolv.conf is not the problem because is working
 for linux in the same box and some other windows
 machines.
 
 FreeBSD (the gateway and laptop) can ping to the
 outside world Some times but very rarely
 
 I can not figure out what can be the problem
 
 when I run tcpdump on the latop I see it tries to
 resolv DNS but it cant
 
 somthing like this
 icmp echo request freebsd.org (my DNS servers) here
 then it tries freebsd.foodamain.org
 
 then after like 2 mins I get
 
 coulnt lookup host 
 or something like that
 
 please any help would be apreciated this is driving me nuts
 
 =

Can you ping outside IP addresses from this machine?

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


Re: sick and tired of freebsd resolving problems

2004-08-26 Thread Andrew L. Gould
On Thursday 26 August 2004 12:11 pm, Hauan, David wrote:
  -Original Message-
  From: Jorge Mario G. [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, August 25, 2004 5:21 PM
  To: [EMAIL PROTECTED]
  Subject: sick and tired of freebsd resolving problems
 
 
  Hi there
  I`ve been experiencing resolving problems with freebsd
  5.2.1-release-p9
 
  the problem is this: I CAN NOT RESOLV
  my hosts file is ok
  looks like this in the gateway
 
  #
  127.0.0.1  localhost localhost.myfoodamin.org
  192.168.0.1   a a.foodoamin.org #NIC2
  192.168.0.2   b b.foodomain.org # WIFI AP
  192.168.0.254 laptop laptop.foodoamin.org # latop
  ...
  ...
  ##
  the laptop (Linux/FreeBSD) has the same hosts file
  and linux can ping to the outside world ALWAYS.
  so can do it the Windows boxes.
 
  the resolv.conf is not the problem because is working
  for linux in the same box and some other windows
  machines.
 
  FreeBSD (the gateway and laptop) can ping to the
  outside world Some times but very rarely
 
  I can not figure out what can be the problem
 
  when I run tcpdump on the latop I see it tries to
  resolv DNS but it cant
 
  somthing like this
  icmp echo request freebsd.org (my DNS servers) here
  then it tries freebsd.foodamain.org
 
  then after like 2 mins I get
 
  coulnt lookup host
  or something like that
 
  please any help would be apreciated this is driving me nuts
 
  =

 Can you ping outside IP addresses from this machine?

 dave

What are the contents of /etc/resolv.conf?

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


Re: sick and tired of freebsd resolving problems

2004-08-26 Thread Mark
On Thu, Aug 26, 2004 at 12:11:27PM -0500, Hauan, David wrote:
 
 
  -Original Message-
  From: Jorge Mario G. [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, August 25, 2004 5:21 PM
  To: [EMAIL PROTECTED]
  Subject: sick and tired of freebsd resolving problems
  
  
  Hi there
  I`ve been experiencing resolving problems with freebsd 
  5.2.1-release-p9
  
  the problem is this: I CAN NOT RESOLV
  my hosts file is ok
  looks like this in the gateway
  
  #
  127.0.0.1  localhost localhost.myfoodamin.org
  192.168.0.1   a a.foodoamin.org #NIC2
  192.168.0.2   b b.foodomain.org # WIFI AP
  192.168.0.254 laptop laptop.foodoamin.org # latop
  ...
  ...
  ##
  the laptop (Linux/FreeBSD) has the same hosts file
  and linux can ping to the outside world ALWAYS.
  so can do it the Windows boxes.
  
  the resolv.conf is not the problem because is working
  for linux in the same box and some other windows
  machines.
  
  FreeBSD (the gateway and laptop) can ping to the
  outside world Some times but very rarely
  
  I can not figure out what can be the problem
  
  when I run tcpdump on the latop I see it tries to
  resolv DNS but it cant
  
  somthing like this
  icmp echo request freebsd.org (my DNS servers) here
  then it tries freebsd.foodamain.org
  
  then after like 2 mins I get
  
  coulnt lookup host 
  or something like that
  
  please any help would be apreciated this is driving me nuts
  
  =
 
 Can you ping outside IP addresses from this machine?
 
 dave
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

is there a default route set in /etc/rc.conf ?

defaultrouter=192.168.1.1 -- called a gateway in m$land
-- 

==

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.

==

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


Re: Can't upgrade from 5.2.1-p9 to 5.3-BETA1, wrong config version! what to do?

2004-08-26 Thread Joel [Alikzus] Nilsson
Kevin D. Kinsey, DaleCo, S.P. wrote:
But you need to _start_ with the world, so the kernel can be built,
methinks.  What is the other error message?
Oups, yes, that's right. It's the way I've done it the other 
times (I mean buildworld then buildkernel).

However, I still can't build the world. As the error message 
below tells it has something to do with _init_tls (what that is 
you have to tell me), I also get this error while compiling some 
ports (the nvidia drivers for e.g). I think I have broken 
something when playing around, but how to fix it?

=
ERROR MESSAGE NO. 2:
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  DESTDIR= 
INSTALL=sh /usr/src/tools/install.sh 
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
 WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS=-m 
/usr/src/tools/build/mk  -m /usr/src/share/mk 
/usr/obj/usr/src/make.i386/make -f Makefile.inc1 
BOOTSTRAPPING=502128  -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC 
-DNOPROFILE  -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS bootstrap-tools
=== games/fortune/strfile
/usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for 
/usr/src/games/fortune/strfile
rm -f .depend
mkdep -f .depend -a-I/usr/obj/usr/src/i386/legacy/usr/include 
/usr/src/games/fortune/strfile/strfile.c
echo strfile: /usr/lib/libc.a 
/usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a  .depend
cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include -c 
/usr/src/games/fortune/strfile/strfile.c
cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include  -static 
-L/usr/obj/usr/src/i386/legacy/usr/lib -o strfile strfile.o -legacy
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x5b): undefined reference to `_init_tls'
*** Error code 1
...

--
\\Joel [Alikzus] Nilsson
E-mail: [EMAIL PROTECTED]
ICQ:16724249
MSN:[EMAIL PROTECTED]
IRC:Alikzus @ EFNet  DALnet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix thinks there isn't enough disk space in a jail

2004-08-26 Thread Charles Ulrich

adp said:
 This problem seems to be affecting Postfix in a FreeBSD jail, and I haven't
 seen this problem outside of a jail, so I'm trying questions@ first.

 I am running postfix-2.0.18,1 (from ports) in a FreeBSD 4.10 system in a
 jail. Everything was fine until recently I moved NFS services over to this
 same server. (This may be a red herring.) Now, every few mails I get an
 email to Postmaster like this:

In normal operation, Postfix makes a system call to check to see if it can
create a file of a certain size. Inside a jail, this call will not succeed as
per the very design of jails. Thus, you must use the following one-line patch
to make postfix work. You can use the `patch` command, but it's probably just
easiest to insert the line manually. Remember that a 'make clean' from within
the port directory will wipe this change out, patch or no.

--- ./src/util/file_limit.c.origTue Aug 22 14:44:44 2000
+++ ./src/util/file_limit.c Mon Apr  8 12:43:55 2002
   @@ -85,6 +85,7 @@
 #else
 struct rlimit rlim;
+limit = RLIM_INFINITY;
 rlim.rlim_cur = rlim.rlim_max = limit;
 if (setrlimit(RLIMIT_FSIZE, rlim)  0)
msg_fatal(setrlimit: %m);

This patch probably hasn't made it into the port because it completely
bypasses a moderately important check. As long as you keep a close eye on disk
space, you should be okay.

-- 
Charles Ulrich
System Administrator
Ideal Solution - http://www.idealso.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: crontab question involving cvsup

2004-08-26 Thread Charles Ulrich

Paul Schmehl said:
 Just out of curiosity, why would you use cron rather than
 /etc/periodic/daily?

If you want something to run at a different time of day than the daily
scripts. You could modify /etc/crontab and move the time around, but the rest
of the scripts still follow and most of us have been trained to never monkey
with files in /etc except a few.

Also, typing 'crontab -e' is extremely simple when all you have to do is run a
single command.

-- 
Charles Ulrich
System Administrator
Ideal Solution - http://www.idealso.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Particular problem with ftpd

2004-08-26 Thread Pedro n/a
Hi everybody,
 My name is Pedro and I'm having some troubles with ftpd. I'd like to ask 
you for some help.
 I'm a complete beginner at FreeBSD, my distribution is FreeBSD 4.10-STABLE 
and I've been configuring it as I read things on the internet.

I'm running FTPD in stand-alone mode, with a single line home-made 
initialization script (on rc.d)

# ftpd -D -ll
I adjusted the config files /etc/ftpusers and /etc/ftpchroot, to give a 
particular group the priviledge to read the folders of the FTP home and 
obviously root the group to this directory.

After that I configured my TCP Wrapper to allow (and generate a log) with 
all the requests made to the ftpd deamon (/etc/hosts.allow)

ftpd : ALL : spawn (/usr/echo %c  /var/log/ftpconn) : allow
ALL : ALL : deny
I execute the FTP program from command-line and then it goes well. I just 
log on with a valid user and proceed.

#ftp localhost
But the problem comes when I ask a buddy to test my ftp... everyone tells me 
the same thing:
My client says your server is busy.

I've already looked for a log at /var/log, but I didn't find anything that 
even register a connection request.

If you could give me a single sparkle of light... I didn't find anything on 
the documentations or over the internet that tells me a thing about that...

Thanks in Advance,
Pedro
_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.2.1-RELEASE and Windows XP on one system

2004-08-26 Thread FreeBsdBeni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 26 August 2004 10:13, Marc van Woerkom wrote:
 Hello,

 I am trying to run both FreeBSD 5.2.1-RELEASE and Windows
 XP on one system and had no success yet.

I'm having FreeBSD 5.2.1-REL-p9, WinXP and Mandrake 10.0 on my 200 GB drive. 
My bootmanager is GAG (http://gag.sf.net) wich works wonderful with all 3 
systems.

Hope this helps,

Beni.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBLiloU1uWMKLNG5ARAgJgAJ0Y8Y2ZbFrGCaxkXSVv9XEEPv5riQCdG+zj
PQo+bKa6PMdpWn9uHle3Rwo=
=eDcj
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Odd performance with FreeBSD 4.10 and Compaq 317453-001 dual ethernet NIC

2004-08-26 Thread J. Seth Henry
Hello,
I recently decided to swap out the 3Com 3C905-TXM board in my router for a 
dual port Compaq NC3122 (317453-001) dual port NIC so I could avoid using the 
built-in NIC (the Intel ICH2 integrated fxp device) Ironically, I was told 
that this board would perform well for this application.

The board has a Intel/DEC 21152 PCI bridge, and two Intel S82558B ethernet 
controllers - all of which are found and initialized. The board shows up as 
fxp0 and fxp1 under pcib1. Both ports indicate a link to the switch, and show 
activity. 

The problem is that performance for both ports is, shall we say, extremely 
lacking. I will see normal performance for a few seconds, then the board will 
disappear for several seconds, then reappear. In some cases, the board 
will quit responding so long that services will time out. When I ssh into the 
router through one of the ports on this board, I can see the remote end stop 
responding to my typing in mid-stream.

Other than the fact that remote hosts are having a devil of a time talking to 
the router when this board is used, there is nothing in the logs to indicate 
trouble, and the machine is stable.  The original NIC works fine - and I use 
it to log in and halt the box when I am testing.

Is this just a bad board, or is something else going on? If anything, I would 
suspect the bridge chip, as both ports exhibit this behavior.

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


Re: sick and tired of freebsd resolving problems

2004-08-26 Thread John Murphy
Hi there
I`ve been experiencing resolving problems with freebsd
5.2.1-release-p9

the problem is this: I CAN NOT RESOLV
my hosts file is ok
looks like this in the gateway

#
127.0.0.1  localhost localhost.myfoodamin.org
192.168.0.1   a a.foodoamin.org #NIC2
192.168.0.2   b b.foodomain.org # WIFI AP
192.168.0.254 laptop laptop.foodoamin.org # latop
...
...
##

Do you realise there are three different domains there?
Only 'laptop' and 'a' are in the same domain.

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


Re: Stable version of FreeBSD 5.0

2004-08-26 Thread Gerald S. Stoller


From: Dan Nelson [EMAIL PROTECTED]
To: Gerald S. Stoller [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Stable version of  FreeBSD 5.0
Date: Wed, 25 Aug 2004 16:04:36 -0500
In the last episode (Aug 25), Gerald S. Stoller said:
I have the impression from reading the McGraw Hill book on this 
version
 (The Complete Reference FreeBSD) that the  1024  cylinder limit (in 
the
 boot loader) may have gone away with this release.  Is that true, and if
 so, what is the new limit?  Any other significant changes?  Also, about
 when is this release due to come out?

The 1024-cylinder limit hasn't been a problem for years.  I believe the
loader has always supported it, and the boot block has a packet mode
I haven't heard (or read) about this at all (nor has a friend who uses  
Linux ),
where can I find out about the packet mode and how to use it.  I'm running
FreeBSD  version 4.3 (also have version 4.7 but I'm not using it much), does 
it
have this packet mode?
you can turn on that lets you boot from partitions that start past the
1024-cyl limit.
--
Dan Nelson
[EMAIL PROTECTED]
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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


Alternatives to CVSUP for Security Updates and Errata

2004-08-26 Thread Kenneth A. Bond
Hello.
I am a systems adminstrator for large multi-national firm, consisting of approximately 
90,000 employees.
 
I currently manage several FreeBSD 4.9 and 4.10 servers that serve as high volume web 
servers to several of our employees worldwide.
 
As you can imagine, in firm the size of ours, various teams are reponsible for various 
aspects of our technology infrastructure. With that said, I have requested to have our 
security team create a policy that will allow traffic to and from my servers via port 
5999 for CVSup, so that I could synch my source.
 
My request has been flatly refused, due to the fact that FreeBSD is not a 
firm-standard operating system. The security team will not open up the firewalls for 
this purpose. CVSup is not an option.
 
My question is what would be the best possible method of keeping up-to-date with 
security patches and errata? I have tried Colin Percival's FreeBSD-Update in the past, 
but I'm not sure that this is the best method, since I am using some SMP custom 
kernels.
I've also heard that CTM is a very error-plagued and archaic method.
 
Please advise.
Thank you.




-
Post your free ad now! Yahoo! Canada Personals
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Change root user name? possible?

2004-08-26 Thread Jerold McAllister
Ara Avvali writes: 

Sorry if this might sound crazy, but is there anyway to rename root account
to something else for extra security?
Thank you 


It would not provide you any more security.
The key thing is the UID which for root has to be '0'
You can create any number of accounts with UID of 0 if
you want.  I usually create another account with UID 0 for
my own use, but for convenience reasons and not security.
That way I can have a root account with a different home
directory and shell, and such stuff all ready for me when I
log in, but not have to tamper with the main root account. 

jerry 

___
[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: Alternatives to CVSUP for Security Updates and Errata

2004-08-26 Thread Phil Schulz
Kenneth A. Bond wrote:
[Has no way of upgrading sources via CVSup b/c of firewalls]
If your security guys do not block SSH traffic, you could check out your 
sources using CVS over ssh.
See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html 
for some mirrors which allow ssh.

Regards,
Phil.
P.S.: Oh, and wrap your lines...
--
Did you know...
If you play a Windows 2000 CD backwards, you hear satanic messages,
but what's worse is when you play it forward
   ...it installs windows 2000
-- Alfred Perlstein on [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix thinks there isn't enough disk space in a jail

2004-08-26 Thread Andy Smith
On Thu, Aug 26, 2004 at 01:53:15PM -0400, Charles Ulrich wrote:
 In normal operation, Postfix makes a system call to check to see if it can
 create a file of a certain size. Inside a jail, this call will not succeed as
 per the very design of jails. Thus, you must use the following one-line patch
 to make postfix work.

Hmm, I run postfix in two jails (both hosted on -STABLE), and have
never had this problem unless I've really been out of disk..


pgpV00er9KhzB.pgp
Description: PGP signature


Maximum Transfer Size, ATA, and UFS2, was lowered? How?

2004-08-26 Thread David Kelly
I have been watching the maximum KB/t for devices using systat -v. 
A week or two ago prompted by other messages here experimented with 
tunefs -m 5 ad0s1f and very shortly thereafter restored it to the 
original value of 8. Previously 127 KB/t was often seen for large file 
actions. Currently seems that the limit has been dropped from 128k to 
64k. All I can think that I did was flip the minfree percentage using 
tunefs from 8 to 5 and back to 8. How can I restore the fs 
characteristics back to normal?

System is 5.2.1-p9. More possibly useful information:
# bsdlabel /dev/ad0s1
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   52428804.2BSD 2048 16384 32776
  b:  4140688   524288  swap
  c: 2412480420unused0 0 # raw part, 
don't edit
  d:   524288  46649764.2BSD 2048 16384 32776
  e:   524288  51892644.2BSD 2048 16384 32776
  f: 235534490  57135524.2BSD 2048 16384 28552
# dumpfs -m /dev/ad0s1f
# newfs command for /dev/ad0s1f (/dev/ad0s1f)
newfs -O 2 -U -a 8 -b 16384 -d 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 
8 -o time -s 58883622 /dev/ad0s1f

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stable version of FreeBSD 5.0

2004-08-26 Thread Matthew Seaman
On Thu, Aug 26, 2004 at 02:58:25PM -0400, Gerald S. Stoller wrote:

 From: Dan Nelson [EMAIL PROTECTED]

 The 1024-cylinder limit hasn't been a problem for years.  I believe the
 loader has always supported it, and the boot block has a packet mode

 I haven't heard (or read) about this at all (nor has a friend who uses  
 Linux ),
 where can I find out about the packet mode and how to use it.  I'm running
 FreeBSD  version 4.3 (also have version 4.7 but I'm not using it much), 
 does it
 have this packet mode?

Yes it does.  See the boot0cfg(8) man page, but in short you need a
command like:

# boot0cfg -o packet ad0

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


pgpjK6MLTRv4r.pgp
Description: PGP signature


Re: crontab question involving cvsup

2004-08-26 Thread Joshua Tinnin
On Thursday 26 August 2004 08:28 am, Kevin D. Kinsey, DaleCo, S.P. 
[EMAIL PROTECTED] wrote:
 Joshua Tinnin wrote:
 On Thursday 26 August 2004 12:42 am, epilogue
  [EMAIL PROTECTED]
 
 wrote:
 On Thu, 26 Aug 2004 00:07:26 -0700
 
 Joshua Tinnin [EMAIL PROTECTED] wrote:
 OK, I have searched the archives, and I can't find that my
  question has been answered previously, but please forgive me if
  that's incorrect.
 
 I'm using (or rather trying to use) cron to update my ports tree
 daily. I've tried several different combinations without success,
 and lately this is what I have in my crontab file:
 
 /usr/local/bin/cvsup -g -L 2
 /home/krinklyfig/supfiles/ports-supfile 
  /usr/local/bin/portindex  /usr/local/sbin/portsdb -u
 
 It runs as root once a day. What appears to be happening is that
 the cvsup is happening, but portindex is not, and because of the
 latter portsdb -u doesn't either. The reason I know cvsup is
 working is because portindex indicates that the ports tree has
  been updated if I run it manually later, but running portversion
  before manually running portindex will not indicate any changes.
  The cron log doesn't show anything but the commands being
  executed. So, my question is: is this type of command valid, or
  should each command be separate? Or is it not working for some
  other reason?
 
 man cron gives:
 
 crontab [-u user] file
 
 'file' being the important part, methinks.   ;)
 
 I'm not sure what you mean ... If you're wondering, I'm using the
  main crontab file (/etc/crontab), as right now there's no need for
  me to use multiple ones.

 Just an aside, but a rather important one:  /etc/crontab is the
 *system* crontab and shouldn't have your jobs in it.  It may in fact
 be this issue that is causing the problem, but I've not looked into
 it enough to say unequivocally...

I don't think this is true. For one thing, as suggested, directing 
output of cvsup to /dev/null worked, and now my cron job is working. 
Another is that neither the handbook nor the /etc/crontab file itself 
warn about editing it. In fact, the handbook section 11.6 says, 
Important: You must not use the procedure described here to 
edit/install the system crontab. Simply use your favorite editor: the 
cron utility will notice that the file has changed and immediately 
begin using the updated version. This is what I did. I didn't use the 
crontab command to edit/install it, I just used an editor.

 Since your job needs root privileges, you should put this in root's
 crontab, either by su'ing to root and running crontab -e at the
 prompt, or if you have sudo installed, sudo crontab -e will get you
 there.

 Unlike the system crontab, user crontabs, including root's, are
 under /var/cron; the file format is slightly different, and misuse
 of the system crontab for regular jobs is the cause of several
 FAQ posts we see here every few months or so; one of these goes
 something like, why do I get an email from cron saying it can't
 complete my job, unknown user, etc. ??

Again, I see nothing in the documentation warning against editing the 
system crontab file, only that it can't be installed/edited with the 
crontab command.

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


Re: crontab question involving cvsup

2004-08-26 Thread Joshua Tinnin
On Thursday 26 August 2004 02:28 am, kstewart [EMAIL PROTECTED] wrote:
 On Thursday 26 August 2004 01:09 am, Joshua Tinnin wrote:
  On Thursday 26 August 2004 12:42 am, epilogue
  [EMAIL PROTECTED]
 
  wrote:
   On Thu, 26 Aug 2004 00:07:26 -0700
  
   Joshua Tinnin [EMAIL PROTECTED] wrote:
OK, I have searched the archives, and I can't find that my
question has been answered previously, but please forgive me if
that's incorrect.
   
I'm using (or rather trying to use) cron to update my ports
tree daily. I've tried several different combinations without
success, and lately this is what I have in my crontab file:
   
/usr/local/bin/cvsup -g -L 2
/home/krinklyfig/supfiles/ports-supfile 
/usr/local/bin/portindex  /usr/local/sbin/portsdb -u
   
It runs as root once a day. What appears to be happening is
that the cvsup is happening, but portindex is not, and because
of the latter portsdb -u doesn't either. The reason I know
cvsup is working is because portindex indicates that the ports
tree has been updated if I run it manually later, but running
portversion before manually running portindex will not indicate
any changes. The cron log doesn't show anything but the
commands being executed. So, my question is: is this type of
command valid, or should each command be separate? Or is it not
working for some other reason?
  
   man cron gives:
  
   crontab [-u user] file
  
   'file' being the important part, methinks.   ;)
 
  I'm not sure what you mean ... If you're wondering, I'm using the
  main crontab file (/etc/crontab), as right now there's no need for
  me to use multiple ones.
 
   what you might want to do, is simply write a shell script and
   feed that into your crontab.  in case you're not sure how to make
   a script, it is very simple and google will return many
   tutorials.
 
  I had considered this, and eventually would like to do so, as I'd
  like to add the output of fastest_cvsup to the server listed in the
  supfile.
 
   in a nutshell, you put the commands you want into a file, make
   that file executable (chmod), and away you go.
  
   the first line of a shell script has an obligatory format and
   invokes the shell that will be used.
  
   #!/bin/sh   the leading # is required
   /usr/local/bin/cvsup -L 2 /foo/path/to/your/ports-supfile;
   # comments are allowed
   portindex;
   exit
 
  Is verbosity of -L 2 allowed in a script without output? IOW,
  should that first line be:
 
  /usr/local/bin/cvsup -L 2 /path/to/supfile  /dev/null 21;
 
  Or does it matter if the output has nowhere to go?
 
   note: you might also prefer to end commands with  rather than ;
  
   i'm new to scripting myself so please forgive my feeble
   explanation.
 
  I'm pretty new to scripting as well. Does ; allow the next line to
  run, even if the previous one didn't, as opposed to  which would
  only allow the next line to run if the previous one was successful?
  (This would be similar to how a one-line command works outside a
  script.)
 
   about the commands which you are planning to include, why the
   'portsdb -u'? is that not doing essentially the same work as
   'portindex' ?
  
   (http://www.freshports.org/sysutils/portindex/)
 
  No, portindex doesn't update the database. The command portsdb -U
  generates an INDEX, which is what portindex does (although
  portindex does it faster), while portsdb -u generates the INDEX.db
  from the ports INDEX file. However, the database is generated
  automatically if need be when it's looked up, so it's not necessary
  - man portsdb mentions this - but I like to have my ducks in a row,
  so to speak ;)
 
   anyhow.  hope this helps.
 
  Yes, it has me thinking I should probably start testing out a
  script, but it will include a bit more than just cvsup'ping,
  updating the INDEX and database. Thanks.

 This is my cron job. I don't test for completion because of the
 multiple commands I execute. It doesn't fail very often. It also
 include the usage of portindex and portsdb.

 ruby# m uports
 #! /bin/sh
 export
 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/us
r/X11R6/bin:/root/bin cd /root/cvsup
 cvsup -g -L 2 ports-supfile 21 | tee /var/log/build/ports_cvsup.log

 cd /var/log/build

 # Now convert the log to html`
 cvsuplog  ports_cvsup.log  ports-`date +%Y%m%d-%H%M`.html

 # Now update the index pages.
 cd /usr/ports
 #
 # make bzip2 backup and save 4 old ones for the days when make index
 # is broken
 #
 rm INDEX.3.bz2
 mv INDEX.2.bz2 INDEX.3.bz2
 mv INDEX.1.bz2 INDEX.2.bz2
 mv INDEX.0.bz2 INDEX.1.bz2
 bzip2 -c INDEX  INDEX.0.bz2
 #
 # get new INDEX
 #make index 21 | tee /var/log/build/make-index-`date
 +%Y%m%d-%H%M`.log portindex 21 | tee
 /var/log/build/make-index-`date +%Y%m%d-%H%M`.log #
 #fetch www.freebsd.org/ports/INDEX
 #chmod 644 INDEX
 portsdb -u

Excellent. Thanks so much for sending this, as this is just the sort of 
thing I need. I'll 

Startup with no-ip

2004-08-26 Thread Olof Andersson
Hi!
I have problems getting noip to start automatically at startup. I'm a 
beginner at FreeBSD and Unix and I need help with this. I added some 
info from my system that I hope will be usefull. noip works fine when 
manually started.

FreeBSD anderssons.no-ip.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: 
Mon Feb 23 20:45:55 GMT 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

In /usr/local/etc/rc.d I have a file called noip.sh with the following 
content:

#!/bin/sh
case $1 in
start)
if [ -x /usr/local/bin/noip2 -a -f /usr/local/etc/no-ip2.conf 
]; then
echo -n ' noip';
su -m noip -c '/usr/local/bin/noip2' 2 /dev/null  
/dev/null
fi
;;
stop)
echo -n ' noip';
killall noip2
;;
*)
echo Usage: `basename $0` {start|stop} 2
exit 1
;;
esac
exit 0

My noip2 file is located in:
anderssons# ls -al /usr/local/bin/noip2
-rwx--  1 root  wheel  32716 Dec  5  2003 /usr/local/bin/noip2
And status is:
anderssons# /usr/local/bin/noip2 -S
No noip2 processes active.
Configuration data from /usr/local/etc/no-ip2.conf.
Account [EMAIL PROTECTED]
configured for:
host  anderssons.no-ip.com
Address check every 1 minute, directly connected via /dev/fxp0.
My no-ip2.conf is located in:
anderssons# ls -al /usr/local/etc/no-ip2.conf
-rw---  1 root  wheel  132 Aug 25 20:09 /usr/local/etc/no-ip2.conf
Best regards and thanks in advance
/Olof Andersson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Troubles with PPP

2004-08-26 Thread Dmitriy
Hello FreeBSD Team!

Please help me! I have some problems with internet connection.

I'm using internet by a modem (dial-up).

My Internet Service Provider uses Microsoft CBCP
callback protocol. How can I setup my FreeBSD to work with this
callback? Phone number to call back to I shouldn't enter, it's
stored on Internet Service Provider's Server.

My FreeBSD release is 5.1-RELEASE.

Can't you send me example of a /etc/ppp/ppp.conf file, which contains
settings for dial-up connection with Microsoft CBCP callback.

Thanks,
with best regards,
Dmitriy ([EMAIL PROTECTED])

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


Re: 5.3-Beta1: So far, so goo. Day 5.

2004-08-26 Thread Giorgos Keramidas
On 2004-08-25 17:07, Gary Kline [EMAIL PROTECTED] wrote:

   But Q1:  how exactly, does one get rid of the debugging stuff?

You can disable most of the debugging stuff with:

# /bin/rm -fr /etc/malloc.conf
# ln -s ajr /etc/malloc.conf

and then commenting our or deleting the following options from your
kernel config file:

%%%
makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols
options KDB # Enable kernel debugger support.
options DDB # Support DDB.
options GDB # Support remote GDB.
options INVARIANTS  # Enable calls of extra sanity checking
options INVARIANT_SUPPORT   # Extra sanity checks of internal structures, 
required by INVARIANTS
options WITNESS # Enable checks to detect deadlocks and cycles
options WITNESS_SKIPSPIN# Don't run witness on spinlocks for speed
%%%

Disabling all of these is certainly going to yield a faster system.

   And Q2, now that we've got gcc-3.4, would it help to use a higher
   opyimization? say, -O3?   

I'm not sure if the speed gain is significant and worth the risk.
I still use the same make.conf settings, shown below:

NO_CPU_CFLAGS=  true# Don't add -march=cpu to CFLAGS automatically
NO_CPU_COPTFLAGS=true   # Don't add -march=cpu to COPTFLAGS automatically

and I have commented out the CFLAGS and COPTFLAGS, the same way I did a
year ago and two years ago, etc.

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


Re: Startup with no-ip

2004-08-26 Thread Dan Rue
On Thu, Aug 26, 2004 at 10:20:39PM +0200, Olof Andersson wrote:
 Hi!
 
 I have problems getting noip to start automatically at startup. I'm a 
 beginner at FreeBSD and Unix and I need help with this. I added some 
 info from my system that I hope will be usefull. noip works fine when 
 manually started.
 
 FreeBSD anderssons.no-ip.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: 
 Mon Feb 23 20:45:55 GMT 2004 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 
 In /usr/local/etc/rc.d I have a file called noip.sh with the following 
 content:
 
 #!/bin/sh
 
 case $1 in
 start)
 if [ -x /usr/local/bin/noip2 -a -f /usr/local/etc/no-ip2.conf 
 ]; then
 echo -n ' noip';
 su -m noip -c '/usr/local/bin/noip2' 2 /dev/null  
  ^^
Here's your problem.  This script gets run as root, so the su is
redundant and failing.


 /dev/null
 fi
 ;;
 stop)
 echo -n ' noip';
 killall noip2
 ;;
 *)
 echo Usage: `basename $0` {start|stop} 2
 exit 1
 ;;
 esac
 exit 0
 

[snip]

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


Re: Alternatives to CVSUP for Security Updates and Errata

2004-08-26 Thread Dan Nelson
In the last episode (Aug 26), Kenneth A. Bond said:
 I currently manage several FreeBSD 4.9 and 4.10 servers that serve as
 high volume web servers to several of our employees worldwide.
  
 As you can imagine, in firm the size of ours, various teams are
 reponsible for various aspects of our technology infrastructure. With
 that said, I have requested to have our security team create a policy
 that will allow traffic to and from my servers via port 5999 for
 CVSup, so that I could synch my source.
  
 My request has been flatly refused, due to the fact that FreeBSD is
 not a firm-standard operating system. The security team will not open
 up the firewalls for this purpose. CVSup is not an option.

You don't need to allow incoming connections to port 5999; cvsup by
default will multiplex traffic over the one outgoing connection.  You
can also connect through a SOCKS proxy server (but not an HTTP proxy)
if your company has one.  If your firewall blocks all outgoing TCP
connects, then you are probably stuck.

-- 
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: Startup with no-ip

2004-08-26 Thread Bill Moran
Dan Rue [EMAIL PROTECTED] wrote:
 On Thu, Aug 26, 2004 at 10:20:39PM +0200, Olof Andersson wrote:
  Hi!
  
  I have problems getting noip to start automatically at startup. I'm a 
  beginner at FreeBSD and Unix and I need help with this. I added some 
  info from my system that I hope will be usefull. noip works fine when 
  manually started.
  
  FreeBSD anderssons.no-ip.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: 
  Mon Feb 23 20:45:55 GMT 2004 
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
  
  In /usr/local/etc/rc.d I have a file called noip.sh with the following 
  content:
  
  #!/bin/sh
  
  case $1 in
  start)
  if [ -x /usr/local/bin/noip2 -a -f /usr/local/etc/no-ip2.conf 
  ]; then
  echo -n ' noip';
  su -m noip -c '/usr/local/bin/noip2' 2 /dev/null  
   ^^
 Here's your problem.  This script gets run as root, so the su is
 redundant and failing.

No.

He wants to su to the user noip to run the command, which is actually
a good idea.

I would guess what's causing problems is this: 2

I would guess that the 2 doesn't belong?

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


Re: crontab question involving cvsup

2004-08-26 Thread kstewart
On Thursday 26 August 2004 01:15 pm, Joshua Tinnin wrote:
 On Thursday 26 August 2004 02:28 am, kstewart [EMAIL PROTECTED] wrote:
  On Thursday 26 August 2004 01:09 am, Joshua Tinnin wrote:
   On Thursday 26 August 2004 12:42 am, epilogue
   [EMAIL PROTECTED]
  
   wrote:
On Thu, 26 Aug 2004 00:07:26 -0700
   
Joshua Tinnin [EMAIL PROTECTED] wrote:
 OK, I have searched the archives, and I can't find that my
 question has been answered previously, but please forgive me if
 that's incorrect.

 I'm using (or rather trying to use) cron to update my ports
 tree daily. I've tried several different combinations without
 success, and lately this is what I have in my crontab file:

snip
  cd /usr/ports
  #
  # make bzip2 backup and save 4 old ones for the days when make index
  # is broken
  #
  rm INDEX.3.bz2
  mv INDEX.2.bz2 INDEX.3.bz2
  mv INDEX.1.bz2 INDEX.2.bz2
  mv INDEX.0.bz2 INDEX.1.bz2
  bzip2 -c INDEX  INDEX.0.bz2
  #
  # get new INDEX
  #make index 21 | tee /var/log/build/make-index-`date
  +%Y%m%d-%H%M`.log portindex 21 | tee
  /var/log/build/make-index-`date +%Y%m%d-%H%M`.log #
  #fetch www.freebsd.org/ports/INDEX
  #chmod 644 INDEX
  portsdb -u

 Excellent. Thanks so much for sending this, as this is just the sort of
 thing I need. I'll work on it a bit tonight to customize it for my
 system. I'm glad you posted this, as in searching the archives I
 noticed you've posted it before, but it's changed since the last time.


After I sent it, I noticed that in the past I had used fetch. I would now use 
make fetchindex instead. With fetchindex, you don't have to modify the 
permissions on INDEX to use it as a user. 

When index builds are dying, it is a kind of moot point because I would resort 
to one of my backed up versions and not fetch from FreeBSD anyway. 

The output from a cron job can be pretty verbose at times and it all ends up 
as an email. I typically run uports at 4am and 4pm. My cvsup mirror is 
updated on the odd hours. Until I started using portindex, I used a job that 
just did the cvsup section and created the html. I would fetch a local copy 
of INDEX and INDEX.db from my test machine. That way only one machine spent 
the time creating INDEX. 

At this point, the test machine is using xorg-* and I have dropped my normal 
machine back to using XFree86. So, I have to create INDEX on both machines. 
There is a situation when xorg and KDE loses track of what keyboard and 
layout you are using. KDE switched into using some form of Greek. At least 
the letters appear to be from the Greek alphabet :).

Kent

-- 
Kent Stewart
Richland, WA

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


OT procmail question

2004-08-26 Thread doug
I am sure this is my problem but I can not see it. I was making a copy of all
emails. The end of my .procmailrc file:

  :
  :
:0HB:
 * ? bogofilter -u
 spam

# Make a copy of all Optigold mail
:0c:
 support-archive

:0A
  ${DEFAULT}

From 25 Mar 2004 until 13 Aug 2004 (I did not notice until writing this that is
Friday :) it worked just fine. After 8/13, it is as if the copy is not there.

Is there anything outside of procmail that could account for this.

Thanks for any ideas, I really hate to subscribe to the procmail mailing list just to
ask this question.


_
Douglas Denault
http://www.safeport.com
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Startup with no-ip

2004-08-26 Thread Lowell Gilbert
Olof Andersson [EMAIL PROTECTED] writes:

 Hi!
 
 I have problems getting noip to start automatically at startup. I'm a
 beginner at FreeBSD and Unix and I need help with this. I added some
 info from my system that I hope will be usefull. noip works fine when
 manually started.

[snip[

  su -m noip -c '/usr/local/bin/noip2' 2 /dev/null  /dev/null

I suspect that you wanted:
  su -m noip -c '/usr/local/bin/noip2' 21 /dev/null

but I suggest not running the updater as a daemon at all.

I have the dhcp client run it automatically when the address changes,
by creating /etc/dhclient-exit-hooks as follows:

  #!/bin/sh

  updater_prog = /usr/local/bin/noip2 
  if [ x$reason = xREBOOT ]   ||\
 [ x$old_ip_address = x ] ||\
 [ x$old_ip_address != x$new_ip_address ]; then
  if [ -x $updater_prog ]; then 
  ${updater_prog} -i $new_ip_address
  else
  logger dhclient-exit-hooks cannot find updater $updater_prog
  fi
  fi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unable to load kernel: Aborted!

2004-08-26 Thread Grabowski, Philip D - Pittsburgh, PA
Hello all,

I was at 4.9 and I decided to upgrade, this is one disk Compaq EVO,
which was running great.

I just did a binary upgrade from the sysinstall and now I'm getting the
following.

 

Loading /boot/defaults/loader.conf

Unable to load kernel:

Aborted!

-

Hit [Enter] to boot immediately, or any other key for command prompt.

Booting [kernel]...

Cant' load 'kernel'

Cant load 'kernel.old'

 

Type '?' for list of commands, 'help' for more detailed help.

ok

 

Thanks in advance

 

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


Re: crontab question involving cvsup

2004-08-26 Thread Ion-Mihai Tetcu
On Thu, 26 Aug 2004 13:48:19 -0700
kstewart [EMAIL PROTECTED] wrote:

 On Thursday 26 August 2004 01:15 pm, Joshua Tinnin wrote:
  On Thursday 26 August 2004 02:28 am, kstewart [EMAIL PROTECTED]
  wrote:
   On Thursday 26 August 2004 01:09 am, Joshua Tinnin wrote:
On Thursday 26 August 2004 12:42 am, epilogue
[EMAIL PROTECTED] wrote:
 On Thu, 26 Aug 2004 00:07:26 -0700
 Joshua Tinnin [EMAIL PROTECTED] wrote:

 snip

   cd /usr/ports
   #
   # make bzip2 backup and save 4 old ones for the days when make
   index# is broken
   #
   rm INDEX.3.bz2
   mv INDEX.2.bz2 INDEX.3.bz2
   mv INDEX.1.bz2 INDEX.2.bz2
   mv INDEX.0.bz2 INDEX.1.bz2
   bzip2 -c INDEX  INDEX.0.bz2
   #
   # get new INDEX
   #make index 21 | tee /var/log/build/make-index-`date
   +%Y%m%d-%H%M`.log portindex 21 | tee
   /var/log/build/make-index-`date +%Y%m%d-%H%M`.log #
   #fetch www.freebsd.org/ports/INDEX
   #chmod 644 INDEX
   portsdb -u

I'm using the same approach, although the script is different and (on
the master machine) it also parse the cvsup output for distinfo and
does a make fech and make checksum in the ports, plus saves the failed
fetch ports to retry to re-fetch them.

One thing you might want to add is -l flag to cvsup so if the cvsup
process fails (e.g. rejected by server: Access limit .. ) you don't end
up with 2 cvsup running in the same time.

[ ... ]

 The output from a cron job can be pretty verbose at times and it all
 ends up as an email. I typically run uports at 4am and 4pm. My cvsup
 mirror is updated on the odd hours. Until I started using portindex, I
 used a job that just did the cvsup section and created the html. I
 would fetch a local copy of INDEX and INDEX.db from my test machine.
 That way only one machine spent the time creating INDEX. 
 
 At this point, the test machine is using xorg-* and I have dropped my
 normal machine back to using XFree86. So, I have to create INDEX on
 both machines. There is a situation when xorg and KDE loses track of
 what keyboard and layout you are using. KDE switched into using some
 form of Greek. At least the letters appear to be from the Greek
 alphabet :).

I usually find it better to build index on all machines, since they have
different ports installed and *_DEPENDS may differ largely; this make
portversion happy.


-- 
IOnut
Unregistered ;) FreeBSD user

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


cannot get rc.conf to configure an second interface

2004-08-26 Thread Bob Ababurko
Hello-
  I am trying to configure rc.conf to set up my second interface.  Right 
now, I have these lines in the rc.conf file and when I boot the mahine, 
fxp1 is not configured.  Also, it seems that that ipv6 is set up an I am 
not sure how to disable it.  Here is my rc.conf entries that refer to the 
network:

ifconfig_fxp0=inet 192.168.102.14  netmask 255.255.255.0
ifconfig_fxp1=inet 192.168.102.15  netmask 255.255.255.0
defaultrouter=192.168.102.1
  IS there thing else that I need to do to configure fxp1 to survive a 
reboot?  One thing that happens when I configure the NIC with ifconfig is this:
bash-2.05b# ifconfig fxp1 192.168.102.15 netmask 255.255.255.0
ifconfig: ioctl (SIOCAIFADDR): File exists
what I end up needing to do is configure the IP and then the network, 
separately.  I think that this error has something to do with my problem, 
but I am not sure how to deal with that.  Any info that anyone ca lead me 
to will be great.

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


Re: cannot get rc.conf to configure an second interface

2004-08-26 Thread Bill Moran
Bob Ababurko [EMAIL PROTECTED] wrote:

 Hello-
 
I am trying to configure rc.conf to set up my second interface.  Right 
 now, I have these lines in the rc.conf file and when I boot the mahine, 
 fxp1 is not configured.  Also, it seems that that ipv6 is set up an I am 
 not sure how to disable it.  Here is my rc.conf entries that refer to the 
 network:
 
 ifconfig_fxp0=inet 192.168.102.14  netmask 255.255.255.0
 ifconfig_fxp1=inet 192.168.102.15  netmask 255.255.255.0
 defaultrouter=192.168.102.1

Add a line:
network_interfaces=lo0 fxp0 fxp1

IPv6 is built into the kernel.  To my knowledge, you'll have to recompile
your kernel sans IPv6 to get rid of it.

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


Re: cannot get rc.conf to configure an second interface

2004-08-26 Thread Eric F Crist
Bob Ababurko wrote:
Hello-
  I am trying to configure rc.conf to set up my second interface.  Right 
now, I have these lines in the rc.conf file and when I boot the mahine, 
fxp1 is not configured.  Also, it seems that that ipv6 is set up an I am 
not sure how to disable it.  Here is my rc.conf entries that refer to 
the network:

ifconfig_fxp0=inet 192.168.102.14  netmask 255.255.255.0
ifconfig_fxp1=inet 192.168.102.15  netmask 255.255.255.0
defaultrouter=192.168.102.1
  IS there thing else that I need to do to configure fxp1 to survive a 
reboot?  One thing that happens when I configure the NIC with ifconfig 
is this:
bash-2.05b# ifconfig fxp1 192.168.102.15 netmask 255.255.255.0
ifconfig: ioctl (SIOCAIFADDR): File exists
what I end up needing to do is configure the IP and then the network, 
separately.  I think that this error has something to do with my 
problem, but I am not sure how to deal with that.  Any info that anyone 
ca lead me to will be great.

thanks,
Bob
If I've been learning anything lately, you cannot have two interfaces 
configured on the same subnet on FreeBSD.  The boot process is erroring 
out on this, hence why you're getting the ifconfig error listed above. 
One way to get around this is set those interfaces with a netmask of all 
ones, or 255.255.255.255, or simply do have these entries in you're 
rc.conf file:

ifconfig_fxp0=inet 192.168.102.14/32
ifconfig_fxp1=inet 192.168.102.15/32
defaultrouter=192.168.102.1
Again, this is if I got everything correctly.
HTH
Eric F Crist
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PERL + DBD::ODBC/iODBC/freetds - MSSQL Server 2000

2004-08-26 Thread Philip M. Gollucci
Hi All,
PLEASE CC [EMAIL PROTECTED] in the reply my work address is 
not subscribed :)

Error Message:
===
perl db_test.pl DBI:ODBC:ejp05_pnas  
DBI connect('ejp05_pnas','xx',...) failed: [iODBC][Driver 
Manager]Driver's SQLAllocEnv() failed (SQL-IM004)(DBD: 
db_login/SQLConnect err=-1) at db_test.pl line 31
 at db_test.pl line 22

I am sure that ejp05_pnas is a valid database and my user/name/password 
in $ARGV[1], $ARGV[2] are correct.  What am I missing. I believe this 
error message means I didn't authenticate correct.  I can connect to 
this database via a System ODBC DSN on Win2k using an MSSQL 2000 
connection successfully.

Thanks in advance.
P.S.
 I've tried some googling (web and groups), most of this is for php but 
 applies.  Not much actually say how to fix this problem other then to 
try different combinations such as DBD-Sybase or unixODBC.

db_test.pl:

===-[START]-===
#!/usr/bin/perl -w
use strict;
use warnings FATAL = 'all';
use Carp;
use DBI qw (:sql_types);
my $db_attrs = {
RaiseError = 1,
PrintError = 0,
Taint  = 1,
AutoCommit = 0,
ShowErrorStatement = 1,
NAME_lc= 1
};
my $dbh = eval {
DBI-connect($ARGV[0], $ARGV[1], $ARGV[2], $db_attrs);
};
confess $@ if $@;
print Connected\n;
my $rc = $dbh-disconnect();
confess $rc unless $rc;
print Disconnected\n;
 ===-[END]-===
uname:
===
FreeBSD 5.2.1-RELEASE-p9
Ports:
==
perl5.8.5
p5-DBD-ODBC-1.09/
libiodbc-3.51.2/
freetds-0.62.3/
Configuration files:

/usr/local/etc/libiodbc/iodbc.ini
===-[START]-===
[ODBC]
Debug = Yes
Trace = Yes
DebugFile = /usr/home/philip/bin/odbc-debug.log
TraceFile = /usr/home/philip/bin/odbc-trace.log
TraceAutoStop = 1
[ODBC Data Sources]
ejp05_pnas = my pnas database
[ejp05_pnas]
Driver  = /usr/local/lib/libtds.so.3
Description = ejp05_pnas
Host= 192.168.1.5
ServerName  = ejp05
ServerType  = MSSQL 2000
FetchBufferSize = 99
ReadOnly= no
[Default]
Driver = /usr/local/lib/libtds.so.3
===-[END]-===
/usr/local/etc/freetds.conf
===-[START]-===
[global]
tds version = 4.2
initial block size = 512
swap broken dates = no
swap broken money = no
try server login = yes
try domain login = no
dump file = /usr/home/philip/bin/freetds.log
debug level = 10
[ejp05]
host = 192.168.1.5
port = 1433
tds version = 4.2
===-[END]-===
END
---
eJournalPress
DBA / Software Engineer / System Administrator
E-Mail: [EMAIL PROTECTED]
URL   : http://www.ejournalpress.com
Phone : 301.530.6375
$Id: .signature,v 1.5 2004/08/01 23:46:37 philip Exp $
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache port ignoring datadir variable

2004-08-26 Thread Aaron Glenn
All,

I'm trying to build apache13-modssl with the data directory set to
/var/www. I've tried the obvious make DATADIR=/var/www install clean
to no avail. Issuing env DATADIR=/var/www make install clean doesn't
do it either. I went so far as to editing the Makefile itself and I
*still* end up with everything in /usr/local/www. Why?

On a related note, while looking at the Makefile I noticed line 148
disregards the $DOCUMENT_ROOT variable and instead uses
$PREFIX/www/data; which as far as I can tell is incorrect.

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


Re: Tracking data transfer?

2004-08-26 Thread Nathan Kinkade
On Thu, Aug 26, 2004 at 04:02:24PM +0530, Subhro wrote:
   Could anyone suggest me a port which will allow me to keep a watch on the
   net data transfer that had occured through a particular IP that is
   associated with the NIC of my box?
  
   Regards
   S.
 
  
  Check trafshow. You can also use tcpdump for more detiled info or mrtg for
  summary info :)
  

 I meant a watch on the total data transferred through or from the IP
 in questions, not the packets which are transferred via that IP.
 
 Regards
 S.

trafshow gives some summary stats at the bottom of the screen, such as
total bytes, bytes/s, and total packets.  you can pass expressions to
trafshow such as host 10.0.1.1 - the same expression syntax as that of
tcpdump, I believe.

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49


pgpQjO0Erqy92.pgp
Description: PGP signature


sudo syntax

2004-08-26 Thread David Bear
I want to run a command

tar czf - / | ssh [EMAIL PROTECTED] dd of=tarball.tgz

I need to run tar as root.  However, I need to run ssh as user 'id'.

I tried 

sudo tar czf - / | ssh [EMAIL PROTECTED] dd of=tar.tgz

but am unsure if ssh was launched as 'id' or as root.

Any way to be certain that sudo is doing what I want?

-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Messed up port updating (Was Re: Updated to 4.10, now portupgrade?)

2004-08-26 Thread Curtis Vaughan
On 25 Aug, 2004, at 17:44, Steven Friedrich wrote:
On Wednesday 25 August 2004 08:01 pm, Curtis Vaughan wrote:
So now that I'm running 4.10, I understand I need to do a portupgrade
on all ports? and then I'll install the ports I want.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
Nope.
What you want to do is cvsup the ports collection, and probably the 
src-all
collection.  There are many ways to do it but here's how I do it.

Here's my /etc/make.conf.  Notice the lines regarding the three sup 
files:
# LIGHTNING: /etc/make.conf
#
# CPUTYPE doesn't work in 4.x yet, except openssh
#CPUTYPE=p4
#
X_WINDOW_SYSTEM=xfree86-4
#
BDECFLAGS= -W -Wall -amsi -pedantic -Wbad-function-cast -Wcast-align \
  -Wcast-qual -Wchar-subscripts -Winline \
  -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
  -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
#
# To avoid building various parts of the base system:
NOPROFILE= true # Avoid compiling profiled libraries
#
# If you're resident in the USA, this will help various ports to 
determine
# whether or not they should attempt to comply with the various U.S.
# export regulations on certain types of software which do not apply to
# anyone else in the world.
#
USA_RESIDENT=  YES
#
# CVSup update flags.  Edit SUPFILE settings to reflect whichever 
distribution
# file(s) you use on your site (see /usr/share/examples/cvsup/README 
for more
# information on CVSup and these files).  To use, do make update
in /usr/src.
#
SUP_UPDATE= yes
#
SUP=/usr/local/bin/cvsup
#SUPFLAGS=   -g -L 2
SUPHOST=cvsup.FreeBSD.org
SUPFILE=/root/cvsup/stable-supfile
PORTSSUPFILE=   /root/cvsup/ports-supfile
DOCSUPFILE= /root/cvsup/doc-supfile
#
# Documentation
#
# The list of languages and encodings to build and install
#
DOC_LANG= en_US.ISO8859-1

# cups-lpr requirements
#CUPS_OVERWRITE_BASE=yes
#NO_LPR=yes
#
# -- use.perl generated deltas -- #
# Created: Sun Aug  8 11:13:32 2004
# Setting to use base perl from ports:
#PERL_VER=5.8.5
#PERL_VERSION=5.8.5
#PERL_ARCH=mach
#NOPERL=yo
#NO_PERL=yo
#NO_PERL_WRAPPER=yo
You can use find to find these files on your machine:
find / -name ports-supfile
You should also use find to look for an example make.conf.  There's 
knowledge
in there.

Don't be offended if you're familiar with find, I have no idea about 
your
expertise.

And within the ports-supfile, you'll probably let it say ports-all.
So then you go to /usr/src and say:
make update
And if you have if set up right, it'll connect to the cvsup server of 
your
choice and download the latest changes.  Please refer to the handbook 
for
more details for what I've discussed so far and/or ask questions.

After cvsupping the ports skeleton (a collection of Makefiles, etc.)
you need to run portsdb -U.
All the preceeding requires at least two ports already be installed, 
cvsup (or
cvsup-without-gui if you don't have X windows installed) and 
portupgrade.

Once you've cvsupped the ports skeleton, you'll be able to install the 
latest
version of any port (on occasion they're broke though).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Ok, first off I didn't follow the instructions above verbatim.  What I 
did do is copy ports-supfile, edited it, and perform a cvsup using it.
All it seemed to do, however, is delete everything in the ports 
directory.

Here's how I edited my ports-supfile
*default host=cvsup10.us.FreeBSD.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
ports-all
Did I do something horribly wrong?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >