Re: /sys/amd64/conf/DEFAULTS

2011-11-08 Thread Niclas Zeising

On 11/08/11 12:36, O. Hartmann wrote:

Sorry for the boring question, but is the default configuration file
/sys/amd64/conf/DEFAULTS anywhere include in a regular configuration
file for the kernel while building the kernel?

I looked for include statements in GENERIC, but didn't find one. I use
custom kernel config files and adapt most changes from the NOTES files
in the sources tree.

With the today's update of README in /sys/amd64/conf I realised some
important changes, so this triggered my question.

I simply made an additional include in the custom config file, but if
this isn't necessary, I'll delete it again. And I'm interested in how
the kernel is built from. It is a very convenient way to type simply
make kerne in /usr/src/, but it vanishes to much of the complexity and
understanding how the system builds and could cause problems.

Thanks for your patience and tahnks in advance,

Regards,
Oliver


From my understanding of things, the DEFAULTS kernel configuration file 
is automatically included into the build by config(8). There is no need 
to include it into the generic using the include statement. It was 
first added 6 years ago, on October 27 2005.

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


Re: Buildworld failure after update r224806 to r224886

2011-08-15 Thread Niclas Zeising
 -Werror -Wall -Wno-format-y2k 
 -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/rpc/svc_vc.c -o 
 svc_vc.po
 ...
 
 ...
 === lib/clang/libllvmx86instprinter (all)
 === lib/clang/libllvmx86utils (all)
 === lib/clang/include (all)
 6 errors
 *** Error code 2
 *** Error code 2
 
 Stop in /usr/src.
 ...
 
 
 Someone have any idea what is that?
 
 Thanks!


There was a period when there was a bug in dev/std{in,err,out}, which
amongst other things made it impossible to complete a buildworld.
Compile a new kernel (past r224842), boot to that kernel and rebuild
world, that should work. For details see UPDATING r224875.
HTH!

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


Re: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-14 Thread Niclas Zeising
On 2011-08-13 12:08, Roland Smith wrote:
 On Sat, Aug 13, 2011 at 09:51:41AM +0200, Hartmann, O. wrote:
 On 08/13/11 09:26, Roland Smith wrote:
 On Sat, Aug 13, 2011 at 12:43:52AM +0200, Hartmann, O. wrote:
 On 08/12/11 22:54, Roland Smith wrote:
 On Fri, Aug 12, 2011 at 08:44:07PM +0200, Hartmann, O. wrote:
 files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz
 Does this file actually exist if you extract the snapshot? And are the
 permissions et cetera OK?

 Roland

 No, it does not.

 What I did so far over night:

 I deleted /var/db/portsnap as well as /usr/ports/. Then I tried again. 
 Again failure.
 After that it got the ports tree via CVS (make update in /usr/ports). 
 Everything seems
 all right. I tried portsnap again. portsnap compalins about a 
 non-portsnap-created /usr/ports
 and please me to use 'extract'. I do ... but then I run into the very 
 same failure:

 (portsnap fetch extract:)
 /usr/ports/devel//
 /usr/ports/devel/ccdoc/
 /usr/ports/devel/ccrtp/
 /usr/ports/devel/cdash/
 files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz 
 not 
 found -- snapshot corrupt.
 
 I've been looking at the portsnap shellscript. This error message is generated
 by the shell's built-in test command, specifically '[ -r'. It is looking for a
 file that was extracted with tar. So the place to look for the bug is IMO
 
 1) the portsnap script itself (differences between 8.2 and 9?)
 2) the sh(1)'s built-in test command (ditto)
 3) tar (ditto)
 
 When you run 'portsnap fetch' it downloads a tgz archive and unpacks it with
 tar(1). What you could try is to comment out the line 'rm ${SNAPSHOTHASH}.tgz'
 in portsnap, and test if the tgz file extracts differently using an
 8.2-RELEASE tar and the 9-CURRENT tar.  If so, that would be a bug!
 
 Roland

Just a me too!. It happens for me on a recently updated 9-current
virtual machine, built with clang.
Regards!
-- 
Niclas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Supported PCI Express x1 Ethernet Cards

2007-04-20 Thread Niclas Zeising

On 4/20/07, Don O'Neil [EMAIL PROTECTED] wrote:

Does anyone have a suggestion for a supported 10/100/1000 PCI Express x1
ethernet card supported under 6.1?

Thanks!



The Intel PRO/1000 pci-e is supported afaik. It uses the em driver,
and at least hhe pci one works like a charm.
HTH
//Niclas
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: who is showing impossible things (small update)

2007-04-18 Thread Niclas Zeising

On 4/18/07, Joel V. [EMAIL PROTECTED] wrote:

Hello people!

I have a strange problem. So, I log into my freebsd server at my office in
the morning and as always, first thing I do is who. And then I almost have
a heart attack because I see two lines:

ohyeah   ttyp0Apr 18 08:41 (82.131.87.246)
ohyeah   ttyp1Sep  7 08:58 (82.131.87.246:S.)

Here's finger:

ohyeah   Oh Yeah  p0 Wed08:41
ohyeah   Oh Yeah  p1   8:15  Sep  7 2006

Oh that's nice. I always log out properly before I go to bed and this one
process is from september 2006?! I'm sure it wasn't there yesterday. Now the
strange part is that freebsd shows the same IP for that process as I'm using
now, and I've had that IP from my ISP for like a month. auth.log is clean,
too. My FreeBSD 4.8 server has been running for 222 days now, could it just
be too tired and in need of a restart? Has anyone seen anything like this
before?

UPDATE: Sorry for sending the mail twice, but this might be important. Now
I'm logged in to freebsd via two ssh connections, and 10 min ago it showed 3
lines with who. Now when I check I see only two, and one of them is the
crazy crap from 2006! So it even doesn't show one of my logins anymore.

Please note that I'm not in the list, so if you want to send me a reply,
please send also a copy directly to me at [EMAIL PROTECTED]

Thanks in advance!


Do you use screen? And in that case, do you have any old screens lying
around, or can it be that you first started screen in 2006? The
x.x.x.x:S seem to indicate that, at least on my box, when i type who,
I see a user for each of my console inside the screen, with the IP of
my box and :S after the IP-address.

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


Re: who is showing impossible things (small update)

2007-04-18 Thread Niclas Zeising

[re-add CC]

On 4/18/07, Joel V. [EMAIL PROTECTED] wrote:

Yep I had screen running. You think it could just be a zombified screen from
2006? I have irssi running in screen and it worked fine, and never before it
had shown up like that with who...
Changed passwords and restarted the server and now it seems to be okay.



Please don't top-post...
Reply below.



-Original Message-
From: Niclas Zeising [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 18, 2007 10:19 AM
To: Joel V.
Cc: freebsd-questions@freebsd.org
Subject: Re: who is showing impossible things (small update)

On 4/18/07, Joel V. [EMAIL PROTECTED] wrote:
 Hello people!

 I have a strange problem. So, I log into my freebsd server at my
 office in the morning and as always, first thing I do is who. And
 then I almost have a heart attack because I see two lines:

 ohyeah   ttyp0Apr 18 08:41 (82.131.87.246)
 ohyeah   ttyp1Sep  7 08:58 (82.131.87.246:S.)

 Here's finger:

 ohyeah   Oh Yeah  p0 Wed08:41
 ohyeah   Oh Yeah  p1   8:15  Sep  7 2006



[SNIP]


Do you use screen? And in that case, do you have any old screens lying
around, or can it be that you first started screen in 2006? The x.x.x.x:S
seem to indicate that, at least on my box, when i type who, I see a user for
each of my console inside the screen, with the IP of my box and :S after the
IP-address.

HTH!
//Niclas
--



It's most likely a zombified screen, or it might be a regular screen.
When you run who inside the screen you'll se a user for every terminal
inside every attached screen. I think 2006 is the first time you
started the screen.
HTH!
//Niclas
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dualcore performance-smp technology

2007-02-23 Thread Niclas Zeising

On 2/23/07, Stephen Liu [EMAIL PROTECTED] wrote:

Hi folks,

FreeBSD-6.2-amd64

Pls advice how to make FreeBSD fully utinize the benefit of dualcore.
In Linux I recompiled a smp-kernel then it used dualcore performance.
TIA


B.R.
Stephen Liu



Just recompile your kernel with options SMP and device apic.
See the handbook for more information [1]

[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

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


Re: Compile of Python 2.4.4 core dumps

2007-02-14 Thread Niclas Zeising

On 2/14/07, Rob Gallagher [EMAIL PROTECTED] wrote:

Hi,

Upgrading to latest version of python24 port (2.4.4), the compilation process
core dumps shortly after it begins. Here is the output leading up to the core
dump:

cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t 
-DTHREAD_STACK_SIZE=0x2 -fPIC -fno-strict-aliasing -I. 
-I/usr/ports/lang/python24/work/Python-2.4.4/./Include -I/usr/local/include 
-I/usr/ports/lang/python24/work/Python-2.4.4/Include 
-I/usr/ports/lang/python24/work/Python-2.4.4 -c 
/usr/ports/lang/python24/work/Python-2.4.4/Modules/_cursesmodule.c -o 
build/temp.freebsd-6.2-RELEASE-i386-2.4/_cursesmodule.o
cc -shared -pthread -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t 
-DTHREAD_STACK_SIZE=0x2 
build/temp.freebsd-6.2-RELEASE-i386-2.4/_cursesmodule.o -L/usr/local/lib 
-lncurses -o build/lib.freebsd-6.2-RELEASE-i386-2.4/_curses.so
Segmentation fault (core dumped)

I'm running 6.2-RELEASE. I've upgraded another 6.2 box to python 2.4.4 without 
a problem, so I'm thinking the issue must lie with something on this system.

rg



Usually if a compile coredumps it's due to faulty memory or other
hardware. Might be good to check that first. Especially since it
worked flawlessly on another box.
HTH
//Niclas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to update fstab (or other) in Single User (read only fs)

2007-02-06 Thread Niclas Zeising

On 2/6/07, DSA - JCR [EMAIL PROTECTED] wrote:

Hi all

FreeBSD 6.2 i386

I need to edit fstab to delete a geom mirror dev in order to boot my PC
and I can´t because when my computer boots find a problem in fstab
(because geom mirror device not ok) and then go to Single User mode.

In this mode I can´t edit fstab, because there is not editor working (I´ve
tried ee, vi.. all says fs is readonly)

How can I do this? I think there must be a way to do it, isn't it?

thanks in advance

Juan Coruña
Desarrollo de Software Atlantico



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




You have to remount / rw, try mount -uw / from the command line prompt
you get when you are in single user mode, then use vi /etc/fstab or
/rescue/vi /etc/fstab if the regular vi won't work.
HTH!
//Niclas
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How-to build / make / install

2007-01-18 Thread Niclas Zeising

On 1/18/07, Don Munyak [EMAIL PROTECTED] wrote:

How-to build/make/install

{disclaimer}...I've been using FreeBSD for about a year, so while I
consider myself still a n00b, I'm just not a complete n00b :) OS:
6.1-RELEASE

I really need some help building a package for install (if that's the
correct terminology).

hobbitmon is the next re-named version of big brother
http://hobbitmon.sourceforge.net/

I have downloaded the tar.gz file into /usr/local/etc
I extracted the tar using:

   don-bsd# tar xvfz file.tar.gz

then I cd in to the directory
   don-bsd# cd /usr/local/etc/hobbit-4.2.0

The directory listing is as follows:

   don-bsd# pwd
   /usr/local/etc/hobbit-4.2.0



[SNIP filelisting]



The README says to simply
   don-bsd# ./configure
   don-bsd# make
   don-bsd# make install

However, when I type ./configure  from /usr/local/etc/hobbit-4.2.0

   don-bsd# ./configure

   Configuration script for Hobbit

   This script asks a few questions and builds a Makefile to compile Hobbit

   Checking your make-utility
   GNU make is required to build Hobbit.
   If it is available as gmake, run configure as: 'MAKE=gmake
./configure.server'
   don-bsd#

*

Help please, Thanks


Have you had a look in the ports tree to see if you can find Hobbit there?
Otherwise, gmake is available from ports/devel/gmake, just do cd
ports/devel/gmake and make install clean and then you've got it.
Then you do MAKE=gmake ./configure-server or whatever in the source
catalog for hobbit.
The thing that might be weird is that FreeBSD installs ports in
/usr/local/[bin,sbin] by default, you'll proably end up with hobbit in
/usr/[bin,sbin] if you don't install it from ports. See if you can
find a configure parameter to set the install directory to where you
want to install hobbit.
HTH
//Niclas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling mtr without GUI

2007-01-16 Thread Niclas Zeising

On 1/13/07, Christian Baer [EMAIL PROTECTED] wrote:

Hi there Peeps!

Somehow the mtr-port is bugging me a little. I want to install mtr on a
machine with no keyboard and no monitor and thus no X - and I'd like to
keep it that way. Since I couldn't find a package of mtr without the
GUI, I guess, I'm stuck with the port.

I've looked at the makefile and found the variable WITHOUT_X11. However,
a 'make -D WITHOUT_X11' and a 'make WITHOUT_X11=1' both[1] result in X.org
being downloaded and built. Now I am no real expert on makefiles but
AFAIK in this case it shouldn't matter, what value WITHOUT_X11 has, as
long as it is set at all.

Am I too thick to be getting the point here or have I missed something
not all that obvious?

Don't think it matters but the Plattform is SPARC64 and the Version is
6.1-RELEASE (no cvsup run yet).

Regards
Chris


I'm not entierly sure, but i think you have to provide -DWITHOUT_X11,
no space between D and the rest. That's how i specify make options
anyway.
AS others suggested, if you never intend to run a X11-server, setting
WITHOUT_X11=yes in make.conf is propablyu better, then you don't have
to worry at all about X being installed if there is a option not to.
HTH!
//Niclas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Documenting a ports depedency tree?

2007-01-16 Thread Niclas Zeising

On 1/16/07, stan [EMAIL PROTECTED] wrote:

On Mon, Jan 15, 2007 at 08:32:13PM -0800, Jay Chandler wrote:
 stan wrote:
 Is there a way to document the entire depedency tree for a given port?
 
 EG, if a dpends on b which depends on d  e, which in turn depend on z,
 I'd like to print out this dependency list.
 
 
 A good question, which I've taken the liberty of researching.

 montreal# cd /usr/ports/mail/p5-FuzzyOcr
 montreal# make pretty-print-run-depends-list
 This port requires package(s) ImageMagick-6.2.9.8 curl-7.16.0_1
 expat-2.0.0_1 fontconfig-2.3.2_6,1 freetype2-2.2.1_1 gettext-0.14.5_2
 ghostscript-gnu-7.07_15 gnupg-1.4.6_3 gocr-0.43 gsfonts-8.11_2
 jasper-1.701.0_1 jbigkit-1.6 jpeg-6b_4 lcms-1.16,1 libdrm-2.0.2
 libfpx-1.2.0.12 libiconv-1.9.2_2 libltdl-1.5.22 libungif-4.1.4_2
 libxml2-2.6.26 mpeg2codec-1.2_1 netpbm-10.26.37 p5-Archive-Tar-1.30
 p5-Authen-SASL-2.10_1 p5-Compress-Raw-Zlib-2.003 p5-Compress-Zlib-2.002
 p5-Digest-1.15 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.36
 p5-Digest-SHA1-2.11 p5-GSSAPI-0.23 p5-HTML-Parser-3.55
 p5-HTML-Tagset-3.10 p5-IO-Compress-Base-2.003 p5-IO-Compress-Zlib-2.002
 p5-IO-Socket-INET6-2.51_1 p5-IO-Socket-SSL-1.02 p5-IO-String-1.08
 p5-IO-Zlib-1.04_1 p5-MIME-Base64-3.07 p5-Mail-SpamAssassin-3.1.7_3
 p5-Mail-Tools-1.74 p5-Math-BigInt-1.77 p5-Net-1.19,1 p5-Net-DNS-0.59
 p5-Net-IP-1.25 p5-Net-SSLeay-1.30_1 p5-PathTools-3.24
 p5-Scalar-List-Utils-1.19,1 p5-Socket6-0.19 p5-String-Approx-3.26
 p5-URI-1.35 p5-libwww-5.805 perl-5.8.8 pkg-config-0.21 png-1.2.14
 tcl-8.4.13_1,1 tiff-3.8.2_1 tk-8.4.13,2 xorg-libraries-6.9.0 to run.
 montreal# pretty-print-build-depends-list
 pretty-print-build-depends-list: Command not found.
 montreal# make pretty-print-build-depends-list
 This port requires package(s) perl-5.8.8 to build.
 montreal#

 Kinda crappy looking.  You can also 'make readmes to generate HTML
 readme files, but I don't believe it recurses.

 Anyone else want to chime in?

Thanks, that's exactly what I needed.

A dollowup question, if I might? Are all the various make targets for the
ports tree documented anywhere?



Most of them are documented in the ports(7) manpage, at least the
targets regarding ports. make(4) might have some info as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread Niclas Zeising

On 1/16/07, linux quest [EMAIL PROTECTED] wrote:

Dear FreeBSD Communities,

Lets say, I wanted to create a Perl script to execute a very simple nmap 
command as listed below, may I know how do I do it?

unix# nmap 192.168.1.2

I know we need to save it in .pl extension. May I know what else I need to do?

I have researched and google this for the entire week, but I still can't find the 
solution. For example in Windows, all I need to do is to type nmap 
192.168.1.2 and save it in a text file with the extension .bat - and everything 
will be taken care of.

I hope someone can share with me the simple coding to solve this problem.

Thank you so much, guys :)



I think you're better of with a sh shell script for these simple kinds
of task. Perl might be a bit of overkill.
Somethink like this might do the trick:

#!/bin/sh
nmap 192.168.1.2

You can add | mail [yourmail] if you want the output mailed
somewhere  (if you have mail set up properly on your machine) or just
redirect the output to a file if you like. Otherwise the output of the
script (i.e. nmap) will end up on stdout.

Save the file with a .sh extention, chmod u+x file to make it
executable, and run it.
sh(1) has more info on how the sh shell works and how to write scripts
in it. It's far more sofisticated than the windows .bat-thingie ;)
HTH!
//Niclas
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libkrb5.so.8 - missing

2007-01-10 Thread Niclas Zeising

On 1/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Vizion [EMAIL PROTECTED] wrote:

 Can someone please tell me what package installs libkrb5.so.8
 for FREEBSD-6.1-RELEASE #0?

On my 6.1 system, /usr/ports/INDEX contains an entry for krb5-1.5_1
but my /usr/ports/security/krb5/pkg-plist lists lib/libkrb5.so.3
rather than libkrb5.so.8.  To make matters even more interesting,
my /usr/lib does include a libkrb5.so.8 (dated May  6  2006).
I do not pretend to understand the discrepancy :)

I'll send it separately, since the list does not like attachments.


Kerberos 5, the KTH/Heimdal implementation is included in the base
distribution. The bort /usr/ports/security/krb5 is the MIT
implementation of the Kerberos5 portocol suite.  As far as I know the
KTH/Heimdal and the MIT are not compatible with each other.

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


Re: libkrb5.so.8 - missing

2007-01-09 Thread Niclas Zeising

On 1/9/07, Vizion [EMAIL PROTECTED] wrote:

Hi

Can someone please tell me what package installs libkrb5.so.8 for 
FREEBSD-6.1-RELEASE #0?

Thanks in advance

David


It's kerberos5. If i remember correctly it's installed by default if
you havent added NO_KERBEROS to make.conf, see make.conf(5)

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


Re: libkrb5.so.8 - missing

2007-01-09 Thread Niclas Zeising

On 1/9/07, Vizion [EMAIL PROTECTED] wrote:



 -Original Message-
 From: Niclas Zeising [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 09, 2007 2:41 AM
 To: Vizion
 Cc: freebsd-questions@freebsd.org
 Subject: Re: libkrb5.so.8 - missing


 On 1/9/07, Vizion [EMAIL PROTECTED] wrote:
  Hi
 
  Can someone please tell me what package installs
 libkrb5.so.8 for FREEBSD-6.1-RELEASE #0?
 
  Thanks in advance
 
  David

 It's kerberos5. If i remember correctly it's installed by default if
 you havent added NO_KERBEROS to make.conf, see make.conf(5)

Umph well somehow I have lost libkrb5.so.8.

Any idea of correct way to re-install?

Thanks
david



The best way is to rebuild the entire FreeBSD world + maybe kernel.
See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
For documentation on how to to that.  You can also try to only rebuild
the kerberos5 part of the soruce tree, but that's not supported and
might not work.

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


Re: NMap Installation Problem ...

2007-01-09 Thread Niclas Zeising

On 1/9/07, linux quest [EMAIL PROTECTED] wrote:

After running nmap for some time, I have got problem running a simple command 
of nmap ... like

nmap 192.168.1.2
nmap: Command not found

I think there is something wrong with my installation procedures. I type in make install 
clean command in /usr/local/bin/nmap and /usr/ports/security/nmap - but somehow I still see 
the command not found message.

I have also typed in make deinstall clean on both of the directory location, restart the OS, and 
install everything again using the make install clean command (on both of the directory location) 
- but I still receive the same nmap: Command not found message.

Thanks for the help :)

Regards,
Linux Quest
 __


Have you tried running rehash after the install? If you're using
[t]csh this is nessesary to make the shell discover new commands.
You only need to do make install clean in ports/security/nmap, not
in local/bin/nmap.
HTH
//Niclas
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVS

2006-08-30 Thread Niclas Zeising

Martin Schweizer wrote:

Hello

Which ports does I need for a cvs system (client and server)? I searched 
against cvs in ports but it gets a lot of links. Any hints are welcome.




cvs is already in the base system.
//Niclas
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Differences between vim and vim-lite ports

2006-08-25 Thread Niclas Zeising

Alberto Rizzi wrote:

What are the differences between vim and vim-lite ports?


The vim port compiles both vim and gvim. Gvim is the graphical version 
of vim, for use with x. It has ogot some menues and stuff... vim-lite is 
only the cli-part of vim.


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


Re: Where is mfsroot.flp ?

2006-08-24 Thread Niclas Zeising

Yuan, Jue wrote:

Hi all.

I just wonder where mfsroot.flp is going now. It seems it has been replaced by 
boot.flp and kernX.flp. why?


What I really want is to get a mfsroot to embed into a FreeBSD kernel, since 
kernel has option MD_ROOT to support this. I have found mfsroot.gz in boot/, 
but after uncompressing, it turns out to be as big as 4.2MB, which is too big 
for me. :-( Does anyone knows how to create a custom mfsroot, say which files 
do I need to put in to it, to make it not larger than 4MB?


Any idea would be greatly appreciated. :-)
 


The mfsroot.flp has been replaced in favour of kernX.flp. It was 
sometime when the mfsroot grew bigger that the 1.44KiB-limit. What 
someone did was making the kernel splitable over multiple floppies, and 
still bootable, iirc.


Why do you need a mfsroot instead of an ordinary /? Are you planing on 
making a live cd? Just out of curiosity.


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


Re: How get swedish keyboard on the consol after loggin on

2006-02-12 Thread Niclas Zeising

John S wrote:

After the system starts and before I log on to the system
the keys and letters åäö and ÅÄÖ seem to work OK. But
as soon as I log on they don't. Why is that?

Thanks!
/John


Have you edited your ~/.login.conf to properly display Swedish 
characters? Take a look at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html 
 on how to achieve it.


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


Virtual Computer - Jail

2005-10-14 Thread Niclas Zeising
I was thinking about having some sort of virtual computer or operating 
system to test stuff in. The point being that i can just to a rm -rf on 
it and start over if i mess something upp really bad, all without 
affecting my regular workstation. Is jail a good sulotion for this? Is 
there any other sulotions?

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


Re: securing FreeBSD

2005-07-13 Thread Niclas Zeising

[EMAIL PROTECTED] wrote:

hi guys

I would like to secure my FreeBSD server.
I don't want anyone to be able to access to the disk using a bootable CD (or by
setting the actual hdd to secondary and plug an other primary hdd).

I just don't want anyone to be able to hack this box nor any password.

Do you have a solution?

Cheers

Alex


You can start by looking in the handbook, chapter 14, about security. 
Then you also have security(7) manual page to look at for information 
about how to secure a FreeBSD server.


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


ntpd and ntp.conf

2005-04-02 Thread Niclas Zeising
Hi!
I am trying to configure my ntpd to sync my computer clock, but I can't 
figure ut how to do it. I don't want to use ntpd -q and just sync it on 
computer startup, because the clock drifts too much.

How do I manage to get a properly configured ntpd without giving the 
whole world access to it?
Thanks beforhand!

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


malloc.conf and malloc debugging

2004-10-16 Thread Niclas Zeising
Hi list!
I know you can turn malloc debugging on and of by symlinking 
/etc/malloc.conf, i.e. ln -s AJ /etc/malloc.conf. But how do i check if 
the debugging is on or not? I can't find a /etc/malloc.conf in my 
system, niether can i find a AJ symlink.
I'm running 5.3-BETA7 now, but are planning to upgrade to HEAD. Will 
malloc debugging be turned on in the upgrade?

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