RE: Error During Make Installworld

2004-03-26 Thread Kevin Greenidge
-Original Message-
From: Chris Pressey [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 26, 2004 1:42 AM
To: Kevin Greenidge
Cc: [EMAIL PROTECTED]
Subject: Re: Error During Make Installworld

On Fri, 26 Mar 2004 01:13:06 -0600
Kevin Greenidge [EMAIL PROTECTED] wrote:

 I am using FreeBSD 4.9. Does anyone know what can be causing this?
Here
 is the error below: 
  
 install: rename: /sbin/init to /sbin/init.bak: Operation not permitted
 *** Error code 71
  
 Stop in /usr/src/sbin/init.

Hi Kevin,

Does your /sbin/init have the immutable flag set?

Try

ls -lo /sbin/init

to find out.  If it does, and you want to remove it, try

chflags noschg /sbin/init

-Chris



chflags noschg /sbin/init command worked perfectly. 

This is what I had set:

-r-x--  1 root  wheel  - 280656 Mar 14 18:59 /sbin/init


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


Remote Administration Problem

2004-03-26 Thread Hamed Abangar
Dear members
 
I'm new to this list and also  I'm new to FreeBSD environment .I'm network 
administrator in an isp.Recently i have changed our Internet servers from Linux to 
freebsd ( cache servers , dns servers , firewall , mail servers) . Every things works 
well , but i have a problem.I can't control my servers remotely.I have activated SSH 
and telnet but i can't login to my server with root account from my home or every 
other where. Each time i want to check my servers , i must go to my server's room and 
this is not good for a network administrator , i didn't have this problem with Linux.
 
Any one can help me?
 
thanks 
Hamed Abangar


-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Remote Administration Problem

2004-03-26 Thread Kevin Greenidge
What kind of error messages do you get? I am assuming if you are trying
to login directly as root then you'll have to enable root login in the
/etc/ssh/sshd_config and uncommenting PermitRootlogin yes. This is a big
security risk to login directly as root let alone telnet. Also make sure
it's not blocked by a firewall or port 22 is not blocked by your ISP.
Only speaking from experience here as I've had a similar issue. 

Kevin  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hamed Abangar
Sent: Friday, March 26, 2004 2:43 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Remote Administration Problem

Dear members
 
I'm new to this list and also  I'm new to FreeBSD environment .I'm
network administrator in an isp.Recently i have changed our Internet
servers from Linux to freebsd ( cache servers , dns servers , firewall ,
mail servers) . Every things works well , but i have a problem.I can't
control my servers remotely.I have activated SSH and telnet but i can't
login to my server with root account from my home or every other where.
Each time i want to check my servers , i must go to my server's room and
this is not good for a network administrator , i didn't have this
problem with Linux.
 
Any one can help me?
 
thanks 
Hamed Abangar


-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[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: Remote Administration Problem

2004-03-26 Thread Peter Risdon
Hamed Abangar wrote:

Dear members

I'm new to this list and also  I'm new to FreeBSD environment .I'm network administrator in an isp.Recently i have changed our Internet servers from Linux to freebsd ( cache servers , dns servers , firewall , mail servers) . Every things works well , but i have a problem.I can't control my servers remotely.I have activated SSH and telnet but i can't login to my server with root account from my home or every other where.

Remote root logins are disabled by default. This is probably the best 
way to leave things. You can log in as a user then su to root, use sudo 
or whatever.

If you do want to modify this, edit /etc/ssh/sshd_config and alter the line:

#PermitRootLogin no

to read:

PermitRootLogin yes

then restart sshd

PWR.



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


Re: Remote Administration Problem

2004-03-26 Thread Peter Risdon
Peter Risdon wrote:

Hamed Abangar wrote:

 i can't login to my server with root account from my home or every 
other where.

Remote root logins are disabled by default. This is probably the best 
way to leave things. You can log in as a user then su to root, use 
sudo or whatever.
I should have mentioned, the user must be in the wheel group to be 
allowed to su to root.

PWR.



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


RE: Remote Administration Problem

2004-03-26 Thread Andras Kende

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hamed Abangar
Sent: Friday, March 26, 2004 2:43 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Remote Administration Problem

Dear members
 
I'm new to this list and also  I'm new to FreeBSD environment .I'm network
administrator in an isp.Recently i have changed our Internet servers from
Linux to freebsd ( cache servers , dns servers , firewall , mail servers) .
Every things works well , but i have a problem.I can't control my servers
remotely.I have activated SSH and telnet but i can't login to my server with
root account from my home or every other where. Each time i want to check my
servers , i must go to my server's room and this is not good for a network
administrator , i didn't have this problem with Linux.
 
Any one can help me?
 
thanks 
Hamed Abangar


-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Hamed,

You can't ssh into as root by default..

Create a new user in the wheel group...  
ssh as user then su to root

Or

/etc/ssh/sshd_config 
PermitRootlogin yes



Andras Kende
http://www.kende.com



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


Re: Remote Administration Problem

2004-03-26 Thread Matt Coe, CCNA
Hamed Abangar wrote:

Dear members

I'm new to this list and also  I'm new to FreeBSD environment .I'm network administrator in an isp.Recently i have changed our Internet servers from Linux to freebsd ( cache servers , dns servers , firewall , mail servers) . Every things works well , but i have a problem.I can't control my servers remotely.I have activated SSH and telnet but i can't login to my server with root account from my home or every other where. Each time i want to check my servers , i must go to my server's room and this is not good for a network administrator , i didn't have this problem with Linux.

Out of the box, FreeBSD disallows remote root logins. Instead, you can 
make a separate user part of the wheel group and su into root from 
there. I wouldn't necessarily advise doing all of your activity as the 
wheel'd user, though I haven't been playing with my FreeBSD machines on 
a sufficiently frequent basis to be able to say, one way or the other, 
if that would definitely cause problems.

--
Matt Coe, CCNA
Member-At-Large, Dalhousie University CS Society Fall 2003
'Ford! There's an infinite number of monkeys outside who want to talk
to us about this script for Hamlet they've worked out.'
 -- DNA, 'The Hitch Hiker's Guide to the Galaxy', Arthur Philip Dent
Sick of long-distance bills? Get Skype! www.skype.com

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


sleeping for 30 seconds

2004-03-26 Thread Richard P. Williamson


Hello world,

I've got a shell script that in essence does this:

FOREVER:
  pre-process stuff
  mainapp
  post-process stuff

If the mainapp returns too soon, the assumption must be that 
there is a configuration problem of some sort.  Under those
conditions, I don't want to immediately jump to the pre-process
stuff and start the mainapp again.

Instead, I want to sleep for an arbitrary time between attempts
(giving an operator some leeway to fix the configuration before
trying again).

If mainapp runs long enough, then it should just post-, pre-
mainapp again immediately.

What's a good sh algorithm for the above?  (assume  10
seconds indicates error condition and a 50 second sleep
between iterations when necessary, and I don't need a
'five attempts then sleep' thing).  Also, assume I've
simplified for the home audience.  The sh script is 
lots more involved then the example above implies. 

rip  

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


[no subject]

2004-03-26 Thread Hugh Ekeberg
  


-
Find local movie times and trailers on Yahoo! Movies.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote Administration Problem

2004-03-26 Thread Martin Hudec
Hi Hamed,

Why are you using telnet for administration, when there is SSH available? :)

In default configuration SSH is not allowing to log in as [EMAIL PROTECTED]

What you want to enable is:

PermitRootLogin yes

in /etc/ssh/sshd_config

But is it difficult for you to log in there as normal user and then switch
by su to root? su is checking in, who is in group wheel, and if you are
in wheel group, then you are allowed to su to root, else you are blocked to
su to root.

You wouldn't have to go to server room, if you would create also another
ordinary user account to which you will be loggin in when using ssh.

cheers,
Martin

On Fri, Mar 26, 2004 at 12:43:26AM -0800, Hamed Abangar ([EMAIL PROTECTED]) wrote:
 Dear members
  
 I'm new to this list and also  I'm new to FreeBSD environment .I'm network 
 administrator 
 in an isp.Recently i have changed our Internet servers from Linux to freebsd ( cache 
 servers , dns servers , firewall , mail servers) . Every things works well , but i 
 have 
 a problem.I can't control my servers remotely.I have activated SSH and telnet but i 
 can't login to my server with root account from my home or every other where. 
 Each time i want to check my servers , i must go to my server's room and this is not 
 good 
 for a network administrator , i didn't have this problem with Linux.
  
 Any one can help me?
  
 thanks 
 Hamed Abangar

-- 
=--
:
:. kind regards
:.. Martin Hudec
:.:
:.: :m: +421.907.303393
:.: :@: [EMAIL PROTECTED]
:.: :w: http://www.aeternal.net



pgp0.pgp
Description: PGP signature


Virus Alert

2004-03-26 Thread network
The mail message (file: readme.zip) you sent to [EMAIL PROTECTED] contains a virus. 
(on iscan.phys.s.u-tokyo.ac.jp)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: alcru negative time

2004-03-26 Thread Matthew Seaman
On Thu, Mar 25, 2004 at 01:01:30PM -0800, Marcel wrote:
 After installed freeBSD 5.2.1 when botting a lot of
 messages saying something like alcru negative time for
 PID...
 I?m a novice at freeBSD, and that?s looks like an
 error..what may be causing this?how to solve?

That's calcru: negative time -- an error message that
(unfortunately) shows up for any number of reasons.

Often the cause is buggy hardware, but sometimes it can be a software
problem.

For example there's:


http://groups.google.co.uk/groups?hl=enlr=ie=UTF-8oe=UTF-8safe=offthreadm=fa.g80oftc.186qv3o%40ifi.uio.nornum=7prev=/groups%3Fq%3Dcalcru%2Bnegative%2Btime%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26safe%3Doff%26sa%3DN%26scoring%3Dd

However, unless you're doing some sort of specific action that
triggers that particular case, that is unlikely to be the root cause
of what you're seeing.

See microtime(9) for an explanation of where this comes from.  The
solution given there, ie:

# sysctl -w kern.timecounter.method=1

is a good thing to try first.

Cheers,

Matthew


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


pgp0.pgp
Description: PGP signature


Re: log off with process running

2004-03-26 Thread Matthew Seaman
On Fri, Mar 26, 2004 at 09:22:48AM +0100, Robert Storey wrote:
 OK, that download might run for hours. I don't want to stay connected for hours,
 I want to log off and hang up the modem. The question is, how to do so? With the
 above process running, I can't even get back to the command line to type exit
 (and wouldn't typing exit kill any process I'm running?). Ditto if I hit
 ctrl-c. I suppose I could just hang up the modem, but that's not elegant.

Others have posted a number of useful solutions to this sort of
problem.  However all of those solutions require a deal of
forethought.

Suppose you've got a long running process hogging the foreground of
your shell, and you want to background it.  All you need do is hit
Ctrl-Z to stop the process and then 'bg' to restart it in background.
If you've got a lot of jobs running concurrently in a shell you might
need to tell the shell which one to background, which you do by: 'bg
%n' -- 'n' is the job number, as returned by the 'jobs' shell built-in
command.  Putting the process into the background like that is usually
enough to protect the process from being killed when you log out,
although different shells can behave differently in that respect.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Sample server for Cyrus SASL

2004-03-26 Thread WebTent Support
I have Cyrus SASL 2.1.18 installed from ports on 5.2.1. Does it place
the source somewhere? How can I test with the sample-server and
sample-client?

-- 
Robert

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


Re: sleeping for 30 seconds

2004-03-26 Thread Jan Grant
On Fri, 26 Mar 2004, Richard P. Williamson wrote:

 What's a good sh algorithm for the above?  (assume  10
 seconds indicates error condition and a 50 second sleep
 between iterations when necessary, and I don't need a
 'five attempts then sleep' thing).  Also, assume I've
 simplified for the home audience.  The sh script is
 lots more involved then the example above implies.

You might, if the possibility is there, want to use the exit value of
the main process to indicate errors, which is perhaps a little more
reliable.

If you want the time in seconds between two points, you might try
something like this:

start_time=`date +%s`
# ... do something
end_time=`date +%s`
time_taken=$(($end_time - $start_time))



-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
New Freedom of Information Act: theirs, to yours. Happy now?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache+mod_ssl + php4 crashes

2004-03-26 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Thu, Mar 25, 2004 at 02:27:02PM +0100, Heinrich Rebehn wrote:


I tried substituting libc_r with libkse (there is no libpthread on 
5.2.1-RELEASE-p3). Still no good. httpd dumps core. :-(


Yes.  I now have heard that the new threading libraries have been
deemed good enough to be made part of the system, so libc_r is the
place for all threaded programs to link against, and the libkse and
libpthread stuff is basically obsolete.
 

I did an lsof for the httpd process (with php4 commented out) and it 
shows no sign of any two modules using different threading libraries:


So the core dump is only happening when mod_php is enabled?  Do you
have the command line version of php installed (you get this with
lang/php4, but not www/mod_php4), and does the crash still happen with
that?  If so, try:
% /usr/local/bin/php  E_O_F
? ? phpinfo() ?
? E_O_F
(The ? at the start of those lines is a shell prompt, which might
appear as  in some shell.  Either way, don't type that character.)
That should print out a large amount of information about your PHP setup.

Hmmm... Probably the next thing to try is simply rebuilding the
mod_php4 port.  I'm fairly certain there is some sort of shlib
conflict or missing shlib which is making everything fall over.  Try
only enabling the minimum number of options you can in the PHP config.
	Cheers,

	Matthew

I experimented with PHP config options and found out:

make -DWITH_CTYPE -DWITH_OVERLOAD -DWITH_PCRE -DWITH_POSIX 
-DWITH_SESSION -DWITH_TOKENIZER -DWITH_XML -DWITH_ZLIB == httpd runs

make -DWITH_CTYPE -DWITH_OVERLOAD -DWITH_PCRE -DWITH_POSIX 
-DWITH_SESSION -DWITH_TOKENIZER -DWITH_XML -DWITH_ZLIB -DWITH_DOMXML == 
httpd dumps core

So DOMXML seems to be the problem, but why??? What is it good for anyhow?

-- Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


help with mounting floppy and...

2004-03-26 Thread JH Crouch
have just gotten 5.2.1 release installed on my toshiba sat pro 400cs 
just can't mount the floppy drive
I've tried a number of solutions , edit /etc/fstab, hint.acpi disabled 
any options would be appreciated
ii can mount cdrom 
and the floppy drive is recognized during boot process 
thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sample server for Cyrus SASL

2004-03-26 Thread Lewis Thompson
On Fri, Mar 26, 2004 at 07:38:42AM -0500, WebTent Support wrote:
 I have Cyrus SASL 2.1.18 installed from ports on 5.2.1. Does it place
 the source somewhere? How can I test with the sample-server and
 sample-client?

I don't think it gets installed.  Look in the work directory.  server
and client under sample.

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Ports/CD images?

2004-03-26 Thread Igor Skalski
Dear Sir/Madam,

I would like to try to install FreeBSD on my home computer wchich is not
connected to the Internet. In my opinion the most important aspect of
using free software in such a conditions is possessing whole set of CD's
containing both most important programs and source code. 
I can not find on the Internet CD images containing ports and sources.
Are they available anywhere? I am not intend to buy the CD set - at least
before trying the system.

Igor Skalski
[EMAIL PROTECTED]

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


Re: sendmail local mta mode only

2004-03-26 Thread Dan Strick
On Thu, 25 Mar 2004 19:24:08 -0700, David Bear wrote:

 I would like to run the stock sendmail freebsd has as a local MTA
 only... ie I don't want to listening on ANY real/public interface for
 mail.  I do want it to handle delivery of local messages to local
 accounts -- and handle sending messages destined for external systems.

 any pointers ?


Recent versions of the sendmail are installed non-setuid-root for
security reasons (paranoia probably justified in the case of sendmail).
Since local mail delivery requires root privilege in the general case,
all local mail is forwarded to the smtp port on the local host for
local delivery.  If there is no sendmail daemon running as root and
listening on the local smtp port, local mail cannot be delivered.
Even on a non-networked single user workstation this is inconvenient
because cron job output is delivered via email.

I think you can modify /etc/mail/freebsd.submit.mc to deliver local
mail the old way and make /usr/libexec/sendmail/sendmail setuid root.
This may be documented /usr/src/contrib/sendmail/src/SECURITY.
It looks ugly to me and may create worse security problems than
running a sendmail daemon that listens on the smtp port.

The standard FreeBSD version of sendmail is built with libwrap support.
If your primary concern is hackers on other systems abusing your sendmail
daemon, you can modify /etc/hosts.allow to permit smtp port access only
from the local host.  Life is too short to spend most of it trying to
understand obscure sendmail documentation.

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


SNMP FreeBSD as a router.

2004-03-26 Thread Eduardo Viruena Silva

Hello, FreeBSD gurus!

I have a FreeBSD 5.2.1 box that I'm using as a
router and I would like to watch how its interfaces
are being used.

I would like to use MRTG in another FreeBSD box
to graph the use of the interfaces, but I do not
how to make my router an SNMP agent.

How do I do that?

Any pointers will be appreciated.

Thanks in advance.

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


Re: Setting up Apache

2004-03-26 Thread Clint Gilders
Kevin Kinsey wrote:
For starters, make sure your ports tree is up to date,
and issue the following (assuming version 1.3.x here):
#cd /usr/ports/www/apache13
#make install clean
(if csh or tcsh)

#rehash

Then:

#apachectl configtest
You'll want to do an:

#apachectl start

before trying http://localhost .  configtest  only tests your httpd.conf 
it doesn't start apache.

--
Clint Gilders [EMAIL PROTECTED]
Director of Technology Services
OnlineHobbyist.com, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sleeping for 30 seconds

2004-03-26 Thread Richard P. Williamson
At 13:08 26/03/2004, Jan Grant wrote:
On Fri, 26 Mar 2004, Richard P. Williamson wrote:

You might, if the possibility is there, want to use the exit value of
the main process to indicate errors, which is perhaps a little more
reliable.

Except it doesn't tell me how long it ran for before it falling
over, which is the bit I need to look at.

If you want the time in seconds between two points, you might try
something like this:

start_time=`date +%s`
# ... do something
end_time=`date +%s`
time_taken=$(($end_time - $start_time))

That's what I'm looking for, thanks!

(that, and )

if [ $time_taken -lt 10 ]; then
  sleep 50
fi

Regards, and thanks!
rip 

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


cups Administration with Webinterfaces: - Device: Parallel Port missing

2004-03-26 Thread Christian Tanghe
Hi, 
in brief:
My system: FBSD 5.2 Current, Cups, Gimp-print and ghostscript from this days

I want to add a locally connected Printer using the webinterface. In the
dropdown menue Device apear different printer devices, e.g. LPD/LPR Host or
Printer and IPP, but _not_ Parallel Port.

1. what is wrong?

2. are more infos about the System needed?

3. right group?

Thank you, greetings
Christian

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz

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


Re: Bandwidth hit in natd/ipfw on 4.4-RELEASE

2004-03-26 Thread Ruben de Groot
On Thu, Mar 25, 2004 at 08:24:04PM -0700, [EMAIL PROTECTED] typed:
 Hey, I just my got NAT box running 4.4-RELEASE on an old Pentium 90 and 
 I'm experiencing a number of problems and I think they're related.. 
 there's been a major bandwidth hit in all my web surfing and my ICQ, AOL and MSN 
 (using both Trillian and Messenger) are dropping connections -- a lot. I don't think 
 a single day's gone by without a connection dropping or two. As I said before, I've 
 taken a bandwidth hit on my surfing as well -- to the point where connection 
 attempts are completely timing out. I've included an abbreviated rc.conf and my 
 natd.conf here..

Please wrap your lines at ~70 characters.
4.4-RELEASE is quite old. Have you considered the possibility that you
got rooted?

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


Re: Why does favicon.ico show as error in apache log

2004-03-26 Thread Ruben de Groot
On Thu, Mar 25, 2004 at 09:32:35PM -0600, Jeff Hinrichs typed:
 - Original Message - 
 From: JJB [EMAIL PROTECTED]
 To: [EMAIL PROTECTED] ORG [EMAIL PROTECTED]
 Sent: Thursday, March 25, 2004 12:59 PM
 Subject: Why does favicon.ico show as error in apache log
 
 
  I do not use this favicon.ico file in my web site, But an small
  number of the visitors for some reason try to get this file which is
  not there. This is reported as file error in the analog apache log
  reports. Can someone explain why some visitor browsers try to get
  this file, and what I can do to fix this?
 There is no fix per se.  People using IE are viewing your page.  IE by
 default, looks for a favicon.ico file in the root of the web.  If it finds
 one, it displays it next to the URL in the address field.
 
 If you don't like the error, then create a cool icon and place it in your
 directory.  For more specifics, google is your friend.

Or link favicon.ico to /dev/urandom to annoy IE users ;-)
Just kidding.

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


Re: Bandwidth hit in natd/ipfw on 4.4-RELEASE

2004-03-26 Thread Matt Coe, CCNA
Ruben de Groot wrote:

4.4-RELEASE is quite old. Have you considered the possibility that you
got rooted?
 

I'm sure it's /possible/, but extraordinarily unlikely. The server's 
only been three days and I'm on a university resnet; I'd guess that no 
port below 1024 is accessible from outside my house.. and the most 
computer-literate people in this house are either Counter-Strike addicts 
or me. There are very few Computer Science students in this house, and 
I'm probably the only person who actively uses something other than 
WinXP or MacOS X.

--
Matt Coe, CCNA
Member-At-Large, Dalhousie University CS Society Fall 2003
'Ford! There's an infinite number of monkeys outside who want to talk
to us about this script for Hamlet they've worked out.'
 -- DNA, 'The Hitch Hiker's Guide to the Galaxy', Arthur Philip Dent
Sick of long-distance bills? Get Skype! www.skype.com

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


Re: SNMP FreeBSD as a router.

2004-03-26 Thread Jorn Argelo
I believe that there's an SNMP daemon shipping with FreeBSD. At least, I have 
one on my FreeBSD 5.2.1 Box and I never installed anything regarding SNMP.

/usr/local/sbin/snmpd

Cheers,

Jorn

On Friday 26 March 2004 15:00, Eduardo Viruena Silva wrote:
 Hello, FreeBSD gurus!

 I have a FreeBSD 5.2.1 box that I'm using as a
 router and I would like to watch how its interfaces
 are being used.

 I would like to use MRTG in another FreeBSD box
 to graph the use of the interfaces, but I do not
 how to make my router an SNMP agent.

 How do I do that?

 Any pointers will be appreciated.

 Thanks in advance.

   Eduardo.
 ___
 [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: Bandwidth hit in natd/ipfw on 4.4-RELEASE

2004-03-26 Thread Ruben de Groot
On Fri, Mar 26, 2004 at 10:43:56AM -0400, Matt Coe, CCNA typed:
 Ruben de Groot wrote:
 
 4.4-RELEASE is quite old. Have you considered the possibility that you
 got rooted?
  
 
 I'm sure it's /possible/, but extraordinarily unlikely. The server's 
 only been three days and I'm on a university resnet; I'd guess that no 
 port below 1024 is accessible from outside my house.. and the most 
 computer-literate people in this house are either Counter-Strike addicts 
 or me. There are very few Computer Science students in this house, and 
 I'm probably the only person who actively uses something other than 
 WinXP or MacOS X.

So maybe *they* got infected by some bandwidth-hungry virus/trojan/worm ?

Seriously, have you tried investigating (netstat/sockstat/tcpdump are
all good tools for this) what exactly is consuming so much bandwidth
on your system?

Ruben

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


Re: Sample server for Cyrus SASL

2004-03-26 Thread Breno Colom
 El 26/26/2004 07:38AM, WebTent Support escribio:
 I have Cyrus SASL 2.1.18 installed from ports on 5.2.1. Does it place
 the source somewhere? How can I test with the sample-server and
 sample-client?
 

/usr/ports/distfiles should have the tarballs of everything installed
from ports.



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


Re: Why does favicon.ico show as error in apache log

2004-03-26 Thread Richard P. Williamson
At 14:30 26/03/2004, Ruben de Groot wrote:
Or link favicon.ico to /dev/urandom to annoy IE users ;-)
Just kidding.

Well, it isn't just IE that uses the favicon, as mozilla 
displays it also. 

Now, a favicon.ico is a 16pix x 16pix image in a certain 
format.  If you assume 16 bits per pixel, thats 512 bytes.
You could go up to 24 bits and still fit within a single 
packet.

So read in 512 bytes from /dev/urandom instead, and spoof 
the .ico image format around it, and output that instead.  Every 
user ends up with a different favicon in their browser 
window and you can claim 'well, it works for me, I don't 
know what /you/re talking about what do you /mean/ it looks 
like garbage?'

Hm.  Sounds like fun.  Once my laptop is back from the shop
(four motherboards and counting...), I might take a swing
at it.

rip 

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


Re: SNMP FreeBSD as a router.

2004-03-26 Thread Breno Colom
 El 26/26/2004 09:50AM, Jorn Argelo escribio:
 I believe that there's an SNMP daemon shipping with FreeBSD. At least, I have 
 one on my FreeBSD 5.2.1 Box and I never installed anything regarding SNMP.
 
 /usr/local/sbin/snmpd
 

FreeBSD doesnt ship an SNMP daemon with the base system, if it did it would've
been placed in /usr/sbin, you can test which port that binary came from
using:

% pkg_which /usr/local/sbin/snmpd

The package you'd want to use for SNMP is net-snmp.


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


Re: Sample server for Cyrus SASL

2004-03-26 Thread Robert Fitzpatrick
On Fri, 2004-03-26 at 10:04, Breno Colom wrote:
  El 26/26/2004 07:38AM, WebTent Support escribio:
  I have Cyrus SASL 2.1.18 installed from ports on 5.2.1. Does it place
  the source somewhere? How can I test with the sample-server and
  sample-client?
  
 
 /usr/ports/distfiles should have the tarballs of everything installed
 from ports.

I see the tarball, but if I untar it and try to 'make server' in the
sample directory, I get errors. I believe this has to be done after a
successful build of the package in order for it to capture variables,
etc. Can I just do 'configure...' to allow building the sample apps? If
so, how can I determine the parameters used for the original
configuration so I can use the same?

-- 
Robert

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


Re: help with mounting floppy and...

2004-03-26 Thread Lowell Gilbert
JH Crouch [EMAIL PROTECTED] writes:

 have just gotten 5.2.1 release installed on my toshiba sat pro 400cs 
 just can't mount the floppy drive
 I've tried a number of solutions , edit /etc/fstab, hint.acpi disabled 
 any options would be appreciated
 ii can mount cdrom 
 and the floppy drive is recognized during boot process 
 thanks

There is an entry in the FreeBSD FAQ on this.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#REMOVABLE-DRIVES
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SNMP FreeBSD as a router.

2004-03-26 Thread Jorn Argelo
On Friday 26 March 2004 16:09, Breno Colom wrote:
  El 26/26/2004 09:50AM, Jorn Argelo escribio:
  I believe that there's an SNMP daemon shipping with FreeBSD. At least, I
  have one on my FreeBSD 5.2.1 Box and I never installed anything regarding
  SNMP.
 
  /usr/local/sbin/snmpd

 FreeBSD doesnt ship an SNMP daemon with the base system, if it did it
 would've been placed in /usr/sbin, you can test which port that binary came
 from using:

 % pkg_which /usr/local/sbin/snmpd

 The package you'd want to use for SNMP is net-snmp.

I have net-snmp installed as well, but I can't recall that I ever installed 
it. I suppose that it is an dependency from something. 

Thanks for the info Breno.

Cheers,

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


Re: SNMP FreeBSD as a router.

2004-03-26 Thread Breno Colom
 El 26/26/2004 09:50AM, Jorn Argelo escribio:
 I believe that there's an SNMP daemon shipping with FreeBSD. At least, I have 
 one on my FreeBSD 5.2.1 Box and I never installed anything regarding SNMP.
 
 /usr/local/sbin/snmpd
 

FreeBSD doesnt ship an SNMP daemon with the base system, if it did it
would've been placed in /usr/sbin, you can test which port that
binary came from using:

% pkg_which /usr/local/sbin/snmpd

The package you'd want to use for SNMP is net-snmp.


-- 
Breno

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


Re: apache+mod_ssl + php4 crashes

2004-03-26 Thread Matthew Seaman
On Fri, Mar 26, 2004 at 02:11:26PM +0100, Heinrich Rebehn wrote:

 I experimented with PHP config options and found out:
 
 make -DWITH_CTYPE -DWITH_OVERLOAD -DWITH_PCRE -DWITH_POSIX 
 -DWITH_SESSION -DWITH_TOKENIZER -DWITH_XML -DWITH_ZLIB == httpd runs
 
 make -DWITH_CTYPE -DWITH_OVERLOAD -DWITH_PCRE -DWITH_POSIX 
 -DWITH_SESSION -DWITH_TOKENIZER -DWITH_XML -DWITH_ZLIB -DWITH_DOMXML == 
 httpd dumps core

Excellent work.  You should certainly report this to the port's
maintainer.
 
 So DOMXML seems to be the problem, but why??? What is it good for anyhow?

'DOM' is the Document Object Model: 

http://www.w3.org/DOM/ 
http://xml.coverpages.org/dom.html

As the -DWITH_DOMXML flag turns on linking against libxml2, but
-DWITH_XML turns on linking against expat2, I wonder if there could be
an incompatibility between those two libraries.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


RE: SNMP FreeBSD as a router.

2004-03-26 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Viruena
Silva
Sent: Friday, March 26, 2004 8:00 AM
To: [EMAIL PROTECTED]
Subject: SNMP  FreeBSD as a router.


Hello, FreeBSD gurus!

I have a FreeBSD 5.2.1 box that I'm using as a
router and I would like to watch how its interfaces
are being used.

I would like to use MRTG in another FreeBSD box
to graph the use of the interfaces, but I do not
how to make my router an SNMP agent.

How do I do that?

Any pointers will be appreciated.

Thanks in advance.

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


Eduardo,


cd /usr/ports/net/net-snmp 
make install clean
snmpconf -i
/etc/rc.conf : snmpd_enable=YES
/usr/local/etc/rc.d/snmpd.sh start


Andras Kende
http://www.kende.com



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


Re: Keyboard probing problem during installation - Solved

2004-03-26 Thread Randy Pratt
 On Tuesday 19 February 2002 12:13 pm, Simon Dick wrote:
  On Tue, 2002-02-19 at 16:57, Randy Pratt wrote:
   I'm helping a friend to install FreeBSD on his machine 250 miles away.
   We're having some trouble with keyboard detection on versions later than
   4.0. Version 4.0 detected the keyboard and the probing finished:
  
atkbdc0: keyboard controller (i0842) at port 0x60-0x6f on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
  
   Using version 4.4 or 4.5 (cdroms), the installation seemed to hang when
   it started probing hardware.  After doing some digging (man boot), I
   found that if the keyboard is not detected, the output is sent to the
   serial port instead of the internal display which is why it appeared to
   hang.
  
   In checking the mail archives, I found there was a change to the way the
   keyboard was probed between 4.0 and 4.1.  The atbkd driver flag
   FAIL_IF_NO_KBD (0x1) was added along with other changes for USB support.
   Changing this flag in the hardware configuration didn't seem to help
   (0x0, 0x2, 0x3).
  
   We also tried some different booting options:  boot -P, boot -D and boot
   -h. A few combinations of boot options and keyboard flags were tried
   also.  Any suggestions for a combination to try would be appreciated.
  
   The Plug and Play option was set to off during all the testing.
  
   It doesn't seem to be an issue with the keyboard itself since two
   keyboards were tried.  There are no problems with keyboard detection on
   his windows or Corel Linux installations.
  
   This box is a Gateway PII 450 using an Advaced Logic Reseach motherboard
   and Phoenix bios 4.0 Release 6.
  
   An installation of 4.0 could probably be accomplished but it would be
   better if a later version could be used.  Of course, upgrading from 4.0
   would pose a problem also.
  
   Any insight, direction or suggestions would be appreciated.  I'm not sure
   what to suggest to him to try at this point.  I've put the
   hand-transcribed probe results from 4.0 at the end for reference.  Its
   understood that there may be other unknown hardware issues after
   installation.
 
  I know that feeling well, my desktop PC never gets it's keyboard
  detected by FreeBSD, if you can get to the visual configuration screen
 then you can change the atkbd flags to 0x0 which should allow you to use
  it. I admit that I've started building my own releases with that flag
  set to 0x0 though as the visual config sometimes doesn't work here :)
 
 I had him retest using that 0x0 flag but it still would not allow the probing 
 to continue.  He did verify that he could change the flag for the keyboard in 
 the visual configuration screen.
 
 Thanks for the suggestion anyway.  I know there's others that have had this 
 issue come up.  I'm just hoping I can hit on a solution before he becomes 
 discouraged.  Anybody??

Following up with the solution just for the archives.  Yes, I know
its a long time after the fact but troubleshooting over distance
is not easy.  The red herring of an older installation going ok
didn't help.

In this case, it turned out to be a second parallel port card that
was somehow conflicting with the video card and causing the apparent
keyboard hang during installation.  Removing that parallel port card
for the installation allowed the install (4.9-RELEASE now) to
proceed.

Moral: If you have problems with the install hanging, remove any
non-essential hardware and try, try again.

In any event, he's now a FreeBSD user who migrated from
Win/Linux ;-)

Thanks,

Randy


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


RE: SNMP FreeBSD as a router.

2004-03-26 Thread Eduardo Viruena Silva
On Fri, 26 Mar 2004, Andras Kende wrote:



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Viruena
 Silva
 Sent: Friday, March 26, 2004 8:00 AM
 To: [EMAIL PROTECTED]
 Subject: SNMP  FreeBSD as a router.


 Hello, FreeBSD gurus!

 I have a FreeBSD 5.2.1 box that I'm using as a
 router and I would like to watch how its interfaces
 are being used.

 I would like to use MRTG in another FreeBSD box
 to graph the use of the interfaces, but I do not
 how to make my router an SNMP agent.

 How do I do that?

 Any pointers will be appreciated.

 Thanks in advance.

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


 Eduardo,


 cd /usr/ports/net/net-snmp
 make install clean
 snmpconf -i
 /etc/rc.conf : snmpd_enable=YES
 /usr/local/etc/rc.d/snmpd.sh start



thank you very much Andras!


 Andras Kende
 http://www.kende.com




- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SNMP FreeBSD as a router.

2004-03-26 Thread Eduardo Viruena Silva
On Fri, 26 Mar 2004, Breno Colom wrote:

  El 26/26/2004 09:50AM, Jorn Argelo escribio:
  I believe that there's an SNMP daemon shipping with FreeBSD. At least, I have
  one on my FreeBSD 5.2.1 Box and I never installed anything regarding SNMP.
 
  /usr/local/sbin/snmpd
 

 FreeBSD doesnt ship an SNMP daemon with the base system, if it did it would've
 been placed in /usr/sbin, you can test which port that binary came from
 using:

 % pkg_which /usr/local/sbin/snmpd

 The package you'd want to use for SNMP is net-snmp.


thank you guys!
I found it in /usr/ports/net/net-snmp


 --
 Breno


- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sample server for Cyrus SASL

2004-03-26 Thread Jez Hancock
On Fri, Mar 26, 2004 at 07:38:42AM -0500, WebTent Support wrote:
 I have Cyrus SASL 2.1.18 installed from ports on 5.2.1. Does it place
 the source somewhere? How can I test with the sample-server and
 sample-client?

If you issue:

cd /usr/ports/security/cyrus-sasl2
make extract
cd work/cyrus-sasl-2.1.18/utils

you can find some utilities for testing there.

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


IMAP-UW Question.

2004-03-26 Thread samy lancher
Hello,
 
I have installed squirrelmail and i get Unknown user or password incorrect everytime 
at login page. I did telnet localhost 143 and i got the following:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS LOGINDISABLED] 
localhost IMAP4rev1 blah blah ...

I think IMAP_UW  rejects non-encrypted logins by default. So I guess LOGINDISABLED has 
got something to do with the default SSL support in IMAP-UW. Is there any way to 
disable default SSL support, without actually reinstalling cclient and IMAP with make 
variables WITHOUT_SSL or WITH_SSL_AND_PLAINTEXT.

Thanks,

Naveen.



-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems building glib port

2004-03-26 Thread stan
I've got one machine that is failing to build the glib 2 port. It fails
like this:

Building for glib-2.2.3_1
/usr/libexec/ld-elf.so.1: Shared object libintl.so.4 not found


I've just re cvsup'd the ports tree on this machine, and it's fairly
current (4.9 STABLE from a week or so agao). 

What do I need to do to correct this?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: glx

2004-03-26 Thread Breno Colom
 El 25/25/2004 07:18PM, Jason Dusek escribio:
 Hi Everyone,
 
 How do I get the glx library for my system?  Or how do I activate it?
 

Add the line:

Load glx

to the Module section in your /etc/X11/XF86Config file and restarting
the X server.

If your videocard vendor releases compatible drivers you'd probably
get much better performance by using their release, which will include
their own GLX module.

You can find the model and vendor of your videocard by using FreeBSD's
pciconf or XFree86's scanpci tools.

% pciconf -lv
% scanpci -vv


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


SMP on FreeBSD 4.9

2004-03-26 Thread Jason Williams
Good morning everyone.

I has a couple of quick questions regarding taking advantage of dual 
processors on a server that I have for our company. Now, i've never setup a 
FreeBSD box on a system that has 2 CPU's so this is my first shot at it.

Following the handbook, I recompiled my kernel with support for SMP. After 
a quick reboot, I took a look at dmesg and here is what I see:

CPU: Intel Pentium III (996.85-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x68a  Stepping = 10
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 2147401728 (2097072K bytes)
avail memory = 2086166528 (2037272K bytes)
APIC_IO: MP table broken: 8259-APIC entry missing!
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec0
 io1 (APIC): apic id: 13, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel kernel at 0xc0551000.
Pentium Pro MTRR support enabled
It looks like it is working for 2 CPU's, but what is that entry where the 
line starts with APIC_IO...?

Also, how can I do some testing to ensure both CPU's are being utilized.

I appreciate the help.

Jason

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


`BIOCIMMEDIATE' undeclared in dsniff and firewalk

2004-03-26 Thread Pratt, Benjamin E.
Hello -

I'm trying to build dsniff-2.3 and firewalk-5.0 from the ports tree but
in each build I get the error:

error: `BIOCIMMEDIATE' undeclared (first use in this function)

I'm not sure what the issue is and when I searched Google I didn't find
any answers either so I thought I'd come here and ask.  I'm running
FreeBSD 5.2.1-RELEASE-p3 #0: Thu Mar 18 20:46:44 CST 2004 and have
updated my ports tree using cvsup just before I got these errors.

Thanks for any help,

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


Re: 4.9 minimal install

2004-03-26 Thread lee slaughter


Troy Settle wrote:
...
Once installed, I grab the cvsup package (via FTP of course), which I use to
get the ports collection and bring the box up to -STABLE.
FWIW, once you've completed the minimal installation from the mini image,
you can change your media from CDROM to FTP, and continue on to add other
distributions (including the ports collection) and packages (like cvsup, so
you can get the ports collection).
--


beautiul.  exactly what i was asking for. thank you.
lee
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPv6 supported cvsup servers

2004-03-26 Thread Brian
Hi,

I recently setup an IPv6 tunnel on my FreeBSD 5.2.1 machine.
I know they're some IPv6 http mirrors like http://www1.uk.freebsd.org

But I was wondering if they're any cvsup servers that are IPv6 ready?
After some googling and a look around at the mailings lists I can't seem
to find much information on it.

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


Re: SNMP FreeBSD as a router.

2004-03-26 Thread Gary W. Swearingen
Breno Colom [EMAIL PROTECTED] writes:

 FreeBSD doesnt ship an SNMP daemon with the base system, if it did it would've

It looks to me like it does, but names it basic or Berkeley (?) SNMP deamon:

   /usr/sbin/bsnmpd

I know little of SNMP, and haven't install such a SNMP-related port,
but I did this on my 5.2+:

   $ whereis snmpd
   snmpd: /usr/src/contrib/bsnmp/snmpd

In that dir, I noticed bsnmpd.1, and man bsnmpd gave a snmpd
manpage.  The OP should have tried studying a locate snmp output,
too.




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


harddisk problem and/or fsck problem?

2004-03-26 Thread Richard Dawes
Greetings, fellow FreeBSD users!

Everything so far works fine for me, until I drop into single-
user mode to prep for making world.  Even then, it seems OK,
except for this alarming output of fsck -p:

/dev/da0s1a: NO WRITE ACCESS
/dev/da0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

I run fsck /dev/da0s1a, and I'm just told of NO WRITE for the
fs, and the phases shown without error.  But I *can* write
there -- my / partition.

OK, FYI -- This happens on 4.9-RELEASE and 5.2.1-RELEASE-i386
both.  I have an IBM UltraStar Ultra160 SCSI disk, model no.
IC35L018UDW210-0 ... Runs on a Tyan S2462 Thunder K7 dual
Athlon-MP board, using the GENERIC kernel.

I've run the onboard Adaptec-controller's format and verify
utilities, which I presume run without error, since they just
do their thing without error messages and just say when they're
done.

I install the above via the miniinst CDs, cvsup the lastest
sources, and that's it for usage.  But the machine boots and
runs fine otherwise.

Is this something to really worry about?  Is it safe to proceed
with making world?  Should I try forcing fsck to do anything?
Or, should I try running fsck having booted from CD?  Other
ideas or suggestions?

Thanks all for any help offered!  Cheers,

-Rich

-- 

Richard Dawes
Enhanced Performance Systems
[EMAIL PROTECTED]
+01 619 743-0506

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


mounting the hard drive in PicoBSD

2004-03-26 Thread kennonward
To all:

I am still having a problem mounting a HD in PicoBSD.

The /etc/fstab line for the HD is:
/dev/wd0s1  /dosmsdos  rw 0 0

I get the following when I run mount:

mount /dev/wd0s1  /dos
mount: /dev/wd0s1 on /dos: incorrect super block
I have only a limited subset of the BSD system.  I tried runing dd I got sh: dd: not 
found.
fsck /dev/wd0s1
**dev/rwd0s1
BAD SUPER BLOCK: MAGIC NUMBER WRONG
ioctl (GCINFO): Invalidargument
fsck: /dev/rw0s1: can't read disk label

Because I am running one disk PicoBSD I have only a few of the programs that would 
normally be on an Unix system.  I have limited resorces no fdisk or utilities such as 
df,mount,mount_msdos,mount_ext2fs, mount_cd9660.  All of these give similar responses. 
 I still have no HD access.

Thank you all for your help.
Regards;
Kenn Ward
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.9 minimal install

2004-03-26 Thread lee slaughter


Kevin D. Kinsey, DaleCo, S.P. wrote:

lee slaughter wrote:

from mini cd, just for educational purposes.
this is known as the base distribution, right?
only 123MB.  what does one do next?  /usr/ports isn't even there.
there is no discussion in handbook.
thanks.


This has been discussed rather extensively,
on this list, over the past few days. 
well, my recollection is that there are always many discussions on
installation.   there was recently a large thread on exactly what is ON the
mini CD, but there are so many permutations on installation.
anyway, Troy Settle gave me what I wanted, which i posted
to group also.  maybe some other poor newcomer will be helped.
rant on..
i'm not stupid but i've been trying to get a handle on both the
general installation philosophy AND the confiration management
(for FBSD)
since January sometime.
it is very difficult.
rant off.


What do you *want* to do?  What is your
purpose for this box? 
a.  to be a repository for my work stuff (java development, notes, ...)
b.  to learn
c.  mail, etc. usual stuff
d.  not a server


I'm up for a while, 
thanks Kevin.



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]


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


Kernel configuration

2004-03-26 Thread Toni Heinonen
% grep NFS /usr/src/sys/i386/conf/MEITSIN
#optionsNFSCLIENT   # Network Filesystem Client
#optionsNFSSERVER   # Network Filesystem Server
#optionsNFS_ROOT# NFS usable as /, requires NFSCLIENT
% ls /boot/kernel/nfs*
/boot/kernel/nfsclient.ko   /boot/kernel/nfsserver.ko
% grep MEITSIN /boot/kernel/kernel 
Binary file /boot/kernel/kernel matches

I didn't give options NFSCLIENT or NFSSERVER yet it seems to have compiled support. 
What gives?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems building glib port

2004-03-26 Thread Matthew Seaman
On Fri, Mar 26, 2004 at 12:48:16PM -0500, stan wrote:

 Building for glib-2.2.3_1
 /usr/libexec/ld-elf.so.1: Shared object libintl.so.4 not found

That's a FAQ.

# portupgrade -rf gettext

You need to reinstall everything that links against libintl.so
(again), because they bumped the ABI version (again).
 
Cheers,

Matthew 

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


pgp0.pgp
Description: PGP signature


Re: IMAP-UW Question.

2004-03-26 Thread Chuck Swiger
samy lancher wrote:
I think IMAP_UW rejects non-encrypted logins by default. So I guess
LOGINDISABLED has got something to do with the default SSL support in IMAP-UW.
Is there any way to disable default SSL support, without actually reinstalling
cclient and IMAP with make variables WITHOUT_SSL or WITH_SSL_AND_PLAINTEXT.
Sorry, no.  UWash IMAP doesn't have a config file which might be able to 
override the compiled-in settings.

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


Re: gaim error

2004-03-26 Thread Simon Barner
 Fatal error 'Spinlock called when not threaded.' at line 83 in file 
 /mnt/s10/BSD/usr_src/lib/libpthread/thread/thr_spinlock.c (errno = 0)

Hmm, as I thought, there's something wrong with your threads.
Unfortunately, I'm not too familiar with FreeBSD 5 (yet ;-), but the
[EMAIL PROTECTED] mailing list will certainly assist you to fix it.

Unless you find a different solution, I'd suggest that you ask you
question there again (together with all the information you gave me).

A good idea is also to build a debugging version of gaim and provide a
backtrace:

/etc/make.conf:
CFLAGS=-O -pipe -g
STRIP=

The reinstall gaim, and once it crashes, either gather a backtrace with
bugbuddy (it should be started automatically if it's installed), or with
gdb:

gdb gaim gaim.core (the enter 'bt' at the gdb prompt).

 I haven't had time to look into Michael's suggestions, maybe I'll give it
 a go tonight.

I generally dislike the idea of manually building things that are in the
ports collection, but don't feel discouraged to do same investigations
;-)
 - you lose the control about your installed software
 - if the problem is in the ports collection, others will have the same
   problem, so it's better to fix it globally

Cheers,
 Simon


signature.asc
Description: Digital signature


Re: Kernel configuration

2004-03-26 Thread Matthew Seaman
On Fri, Mar 26, 2004 at 08:20:42PM +0200, Toni Heinonen wrote:
 % grep NFS /usr/src/sys/i386/conf/MEITSIN
 #optionsNFSCLIENT   # Network Filesystem Client
 #optionsNFSSERVER   # Network Filesystem Server
 #optionsNFS_ROOT# NFS usable as /, requires NFSCLIENT
 % ls /boot/kernel/nfs*
 /boot/kernel/nfsclient.ko   /boot/kernel/nfsserver.ko
 % grep MEITSIN /boot/kernel/kernel 
 Binary file /boot/kernel/kernel matches
 
 I didn't give options NFSCLIENT or NFSSERVER yet it seems to have compiled support. 
 What gives?

What you don't compile into your kernel (by eg. 'options NFSCLIENT')
will generally be compiled as a loadable module instead -- here
nfsclient.ko

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Kernel configuration

2004-03-26 Thread Joshua Lokken
* Matthew Seaman [EMAIL PROTECTED] [2004-03-26 10:56]:
 On Fri, Mar 26, 2004 at 08:20:42PM +0200, Toni Heinonen wrote:
  
  I didn't give options NFSCLIENT or NFSSERVER yet it seems to have compiled 
  support. What gives?
 
 What you don't compile into your kernel (by eg. 'options NFSCLIENT')
 will generally be compiled as a loadable module instead -- here
 nfsclient.ko
 

I've wondered about this -- is that the significance of the 

NO_MODULES parameter in make.conf?  IOW, if one was to specify
no_modules, would that build only the kernel modules that were
specified in the conf?


-- 
Joshua

Those who hate and fight must stop themselves -- otherwise it is not
stopped.
-- Spock, Day of the Dove, stardate unknown
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Monitoring load average - healthy figure?

2004-03-26 Thread Chuck Swiger
Jamie wrote:
 I've googled the results, and I've seen a couple posts from people
who claim that the general rule of thumb is that your load average should
be less than the number of CPU's. I don't know what OS they were referring
to, however. Does this sound right for FreeBSD? Are there better ways of
monitoring load average?
If the load average is greater than the # of CPU's, your machine is CPU-bound 
and tasks are waiting to get processor time.

If that's because the machine is a busy server, one ought to add more 
resources or rebalance the load.  If this happens because you're running a 
screensaver or setiathome, you probably don't care.  :-)

I use a warning system which notifies me (via email) if the 5-minute load 
average on one of my servers goes too high, which I've set at 2.5 for 
single-proc machines, 4.5 for dual-procs, and 7 for the single quad-proc box 
I've got.  YMMV.

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


vinum list anomaly

2004-03-26 Thread Sean Ellis
Hello,

after adding too drives as a concatenated vinum volume I see a line in
the `vinum list` output which doesn't look right to me. Specifically, the
line that refers to spanned_log.p0.s0. Is there a typical explanation for
something like this?

2 drives:
D a State: up   Device /dev/ad2s1e  Avail:
10/4110 MB (0%)
D b State: up   Device /dev/ad3s1e  Avail:
10/4110 MB (0%)

1 volumes:
V spanned_log   State: up   Plexes:   1 Size:   8200
MB

1 plexes:
P spanned_log.p0  C State: up   Subdisks: 2 Size:   8200
MB

2 subdisks:
S spanned_log.p0.s0 State: up   PO:0  B Size:   4100
MB
S spanned_log.p0.s1 State: up   PO: 4100 MB Size:   4100
MB

I created the volume with the following,

drive a device /dev/ad2s1e
drive b device /dev/ad3s1e
volume spanned_log
plex org concat
sd length 4100m drive a
sd length 4100m drive b

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


Re: xmms libpthread

2004-03-26 Thread Michael Johnson
try

libc_r.so.5 libpthread.so.1
libc_r.so   libpthread.so
michael

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


Re: Kernel configuration

2004-03-26 Thread Matthew Seaman
[ kernel modules ]

On Fri, Mar 26, 2004 at 11:03:49AM -0800, Joshua Lokken wrote:
 * Matthew Seaman [EMAIL PROTECTED] [2004-03-26 10:56]:

  What you don't compile into your kernel (by eg. 'options NFSCLIENT')
  will generally be compiled as a loadable module instead -- here
  nfsclient.ko

 I've wondered about this -- is that the significance of the 
 
 NO_MODULES parameter in make.conf?  IOW, if one was to specify
 no_modules, would that build only the kernel modules that were
 specified in the conf?

If you put NO_MODULES=true into /etc/make.conf, then you'll only get
the kernel build.  You won't get any extra loadable modules.

Other than that, you can specify a list of modules to build if you
don't want all of them:

MODULES_OVERRIDE=  linux ipfw

Not sure what happens if you configure those options in the kernel
config, and also add them to the 'MODULES_OVERRIDE' list.  

There's also 'MODULES_WITH_WORLD=true' which separates building kernel
modules from building the rest of the kernel.  This is solely for
backwards compatability -- I can't think of any good reason to use
this option otherwise.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: gaim error

2004-03-26 Thread Kent Stewart
On Thursday 25 March 2004 07:26 pm, Adam Bozanich wrote:
 On Fri, 26 Mar 2004, Simon Barner wrote:
  The output of something like
 
pkg_info | grep gaim
 
  is usually more helpful, since it also shows the version of the
  FreeBSD port you are using.

 Sorry about that

 [EMAIL PROTECTED] gaim
 Fatal error 'Spinlock called when not threaded.' at line 83 in file
 /mnt/s10/BSD/usr_src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
 zsh: abort  gaim
 [EMAIL PROTECTED] pkg_info| grep gaim
 gaim-0.75_8 Gtk+-2.0 open-source 'clone' of AOL's Instant
 Messenger cli


 I haven't had time to look into Michael's suggestions, maybe I'll
 give it a go tonight.


This problem comes up from the pthread change to 5.x. There are a number 
of fixes that have been discussed on -current. Do a mailman web search 
http://www.freebsd.org/cgi/search.cgi?words=spinlockmax=25sort=scoreindex=recentsource=freebsd-current

Kent

-- 
Kent Stewart
Richland, WA

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


Re: SMP on FreeBSD 4.9

2004-03-26 Thread Breno Colom
03/26/2004 12:49PM, Jason Williams wrote:

 Also, how can I do some testing to ensure both CPU's are being utilized.
 

You could run top and watch the C column, which shows which particular CPU
is being used by a process.


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


Re: harddisk problem and/or fsck problem?

2004-03-26 Thread Kent Stewart
On Friday 26 March 2004 10:06 am, Richard Dawes wrote:
 Greetings, fellow FreeBSD users!

 Everything so far works fine for me, until I drop into single-
 user mode to prep for making world.  Even then, it seems OK,
 except for this alarming output of fsck -p:

Well, you missed reading something because you are supposed to boot -s 
into single user mode. Then, you don't have write access and the fsck 
works. 

BTW, the whole point of booting into single user mode is to avoid a bad 
kernel. When you drop into single user mode, you aren't testing the new 
kernel.

Kent


 /dev/da0s1a: NO WRITE ACCESS
 /dev/da0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

 I run fsck /dev/da0s1a, and I'm just told of NO WRITE for the
 fs, and the phases shown without error.  But I *can* write
 there -- my / partition.

 OK, FYI -- This happens on 4.9-RELEASE and 5.2.1-RELEASE-i386
 both.  I have an IBM UltraStar Ultra160 SCSI disk, model no.
 IC35L018UDW210-0 ... Runs on a Tyan S2462 Thunder K7 dual
 Athlon-MP board, using the GENERIC kernel.

 I've run the onboard Adaptec-controller's format and verify
 utilities, which I presume run without error, since they just
 do their thing without error messages and just say when they're
 done.

 I install the above via the miniinst CDs, cvsup the lastest
 sources, and that's it for usage.  But the machine boots and
 runs fine otherwise.

 Is this something to really worry about?  Is it safe to proceed
 with making world?  Should I try forcing fsck to do anything?
 Or, should I try running fsck having booted from CD?  Other
 ideas or suggestions?

 Thanks all for any help offered!  Cheers,

 -Rich

-- 
Kent Stewart
Richland, WA

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


Re: cups Administration with Webinterfaces: - Device: Parallel Port missing

2004-03-26 Thread Danny Pansters
On Friday 26 March 2004 15:16, Christian Tanghe wrote:
 Hi,
 in brief:
 My system: FBSD 5.2 Current, Cups, Gimp-print and ghostscript from this
 days

 I want to add a locally connected Printer using the webinterface. In the
 dropdown menue Device apear different printer devices, e.g. LPD/LPR Host
 or Printer and IPP, but _not_ Parallel Port.

 1. what is wrong?

It doesn't see or know that there's something on the par port.

 2. are more infos about the System needed?

What printer and what does 'dmesg' say about it? 

I've been scratching my head a while ago when setting up cups because of the 
same problem, and I found out that if my printer was on while booting, it 
would report something like lpt0: HP OfficeJet PNP on ppbus0 suggesting 
something plug and play instead of lpt0: Printer on ppbus0 if the printer 
was turned off. You might want to try that (only for first time detection).  

 3. right group?

Yes.

 Thank you, greetings
 Christian

HTH,

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


Re: SMP on FreeBSD 4.9

2004-03-26 Thread Jason Williams

You could run top and watch the C column, which shows which particular CPU
is being used by a process.
This is quite interesting. After rebuilding my kernel for SMP support, I 
noticed the load average went up slightly.
Is that normal?

Right now, the system is being tested as a mail gateway server, running 
sendmail, mailscanner, SpamAssassin and clamav.

Before I did the recompile, my load average was low, almost zero. It is 
showing a load average of around 0.02 now...Not much, but interesting.

Any ideas?

Jason 

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


Re: SNMP FreeBSD as a router.

2004-03-26 Thread Breno Colom
03/26/2004 01:04PM, Gary W. Swearingen wrote:
 
  FreeBSD doesnt ship an SNMP daemon with the base system, if it did it would've
 
 It looks to me like it does, but names it basic or Berkeley (?) SNMP deamon:
 
/usr/sbin/bsnmpd
 

Ah, yes, crosschecked in a 5.2.1 box, digging a little it seems it's a
minimal SNMP implementation coded by Harti Brandt and that has just
recently been included in the base system, it's not in 4.9/5.0.

More info about bsnmp in:

http://people.freebsd.org/~harti/bsnmp/index.html

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


Re: Kernel configuration

2004-03-26 Thread Joshua Lokken
* Matthew Seaman [EMAIL PROTECTED] [2004-03-26 11:57]:
 [ kernel modules ]
 
 If you put NO_MODULES=true into /etc/make.conf, then you'll only get
 the kernel build.  You won't get any extra loadable modules.

Got it.  Thank you.  On my workstations, where resources are
plentiful, I suppose it doesn't matter much to have all of the kernel
modules built and installed, but on resource-scant or single-purpose
machines (ie firewall/router), it seems that it would be somewhat
significant to exclude them.  Others' feedback?

-- 
Joshua

What kind of love is that?  Not to be loved; never to have shown love.
-- Commissioner Nancy Hedford, Metamorphosis,
   stardate 3219.8
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: harddisk problem and/or fsck problem?

2004-03-26 Thread Richard Dawes
On Fri, Mar 26, 2004 at 11:55:06AM -0800, Kent Stewart wrote:
 On Friday 26 March 2004 10:06 am, Richard Dawes wrote:
  Greetings, fellow FreeBSD users!
 
  Everything so far works fine for me, until I drop into single-
  user mode to prep for making world.  Even then, it seems OK,
  except for this alarming output of fsck -p:
 
 Well, you missed reading something because you are supposed to boot -s 
 into single user mode. Then, you don't have write access and the fsck 
 works. 
 
 BTW, the whole point of booting into single user mode is to avoid a bad 
 kernel. When you drop into single user mode, you aren't testing the new 
 kernel.
 
 Kent

Doh!  Yes, I guess I was reading too quickly.  And of course
it makes sense that I'd not need to fsck and mount things if
I just drop into single-user mode.

But I wasn't yet testing a new kernel... I haven't yet made the
buildworld target.  I see later on, though, where I'm supposed
to boot -s  after installing a newly built kernel.

Thanks for your help!

-Rich

-- 

Richard Dawes
Enhanced Performance Systems
[EMAIL PROTECTED]
+01 619 743-0506

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


How widely is FreeBSD used in China?

2004-03-26 Thread JJB
To all readers of this list from China.

I would like to gauge the popularity of FreeBSD in China.

Please answer the questions and feel free to add anything
related to FreeBSD you may think is helpful.

Do the computer stores and or book stores sell FreeBSD books and
CDs?

Have you purchased any?
Which one?
What language?

Is FreeBSD taught in any of the Colleges?

What PC based operating systems are taught in schools?

Are there any FreeBSD clubs or web sites for users to get help from?
How active / helpful are they?
Do you use them?
Please list URL's.

How did you first learn about FreeBSD?

Where do you get your copy of FreeBSD from?

Do you know of any commercial users of FreeBSD in China?
List?

What is your understanding of how widely FreeBSD is used in China?

Do you have search engine access to public FreeBSD
English how-to web sites?

Are there any limitations on access to public world internet?

What search engine url do you use to find Chinese FreeBSD info?
What search engine url do you use to find English FreeBSD info?

What do you see as the problems hindering wider use
of FreeBSD in China?

What would you like to see FreeBSD.org do or change that would help
the expansion of FreeBSD in China?

Please reply off list as this may be considered off topic
by some list members.

Thanks for your input

Joe


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


Re: harddisk problem and/or fsck problem?

2004-03-26 Thread Kent Stewart
On Friday 26 March 2004 01:02 pm, Richard Dawes wrote:
 On Fri, Mar 26, 2004 at 11:55:06AM -0800, Kent Stewart wrote:
  On Friday 26 March 2004 10:06 am, Richard Dawes wrote:
   Greetings, fellow FreeBSD users!
  
   Everything so far works fine for me, until I drop into single-
   user mode to prep for making world.  Even then, it seems OK,
   except for this alarming output of fsck -p:
 
  Well, you missed reading something because you are supposed to boot
  -s into single user mode. Then, you don't have write access and the
  fsck works.
 
  BTW, the whole point of booting into single user mode is to avoid a
  bad kernel. When you drop into single user mode, you aren't testing
  the new kernel.
 
  Kent

 Doh!  Yes, I guess I was reading too quickly.  And of course
 it makes sense that I'd not need to fsck and mount things if
 I just drop into single-user mode.

 But I wasn't yet testing a new kernel... I haven't yet made the
 buildworld target.  I see later on, though, where I'm supposed
 to boot -s  after installing a newly built kernel.


The sequence that is designed to keep your out of trouble is buildworld, 
buildkernel, installkernel, boot -s, and installworld, followed by a 
mergemaster.

There are times as the statfs change to current that would render your 
system useless until you repair if if you do the installworld before 
booting to the new kernel. The sequence is /usr/src/UPDATING is there 
for a reason. You can change the order but if it breaks your system, 
you could have to repair it using the fixit disk or re-install.

Kent

-- 
Kent Stewart
Richland, WA

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


Wine: user_ldt not recognized?

2004-03-26 Thread Stefan A. Deutscher
Hi folks,

 trying to install wine on 5.1Release the build of Wine-20030508.tar.gz
from ports went fine but told me to rebuild the kernel, among other
options, with

  USER_LDT

Now, the kernel build tells me

   CAMSOUNDWINE: unknown option USER_LDT
   make: don't know how to make depend. Stop

What gives?


Any pointers are appreciated!

 Good night  Cheers, Stefan




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


Re: harddisk problem and/or fsck problem?

2004-03-26 Thread Richard Dawes
On Fri, Mar 26, 2004 at 02:09:35PM -0800, Kent Stewart wrote:
 
 The sequence that is designed to keep your out of trouble is buildworld, 
 buildkernel, installkernel, boot -s, and installworld, followed by a 
 mergemaster.
 
 There are times as the statfs change to current that would render your 
 system useless until you repair if if you do the installworld before 
 booting to the new kernel. The sequence is /usr/src/UPDATING is there 
 for a reason. You can change the order but if it breaks your system, 
 you could have to repair it using the fixit disk or re-install.
 
 Kent
 

Yes, I'm hip to all that... Thanks, again!  -Rich

-- 

Richard Dawes
Enhanced Performance Systems
[EMAIL PROTECTED]
+01 619 743-0506

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


Re: Wine: user_ldt not recognized?

2004-03-26 Thread Alistair Sutton
On Fri, 2004-03-26 at 23:56, Stefan A. Deutscher wrote:
 Hi folks,
 
  trying to install wine on 5.1Release the build of Wine-20030508.tar.gz
 from ports went fine but told me to rebuild the kernel, among other
 options, with
 
   USER_LDT
 
 Now, the kernel build tells me
 
CAMSOUNDWINE: unknown option USER_LDT
make: don't know how to make depend. Stop
 
 What gives?

USER_LDT is included in the kernel by default on 5.x systems so there is
no need to specify it in your kernel config.

Al
-- 
LJ: http://www.livejournal.com/users/everlone
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg


signature.asc
Description: This is a digitally signed message part


Re: Ports/CD images?

2004-03-26 Thread Kris Kennaway
On Fri, Mar 26, 2004 at 02:28:11PM +0100, Igor Skalski wrote:
 Dear Sir/Madam,
 
 I would like to try to install FreeBSD on my home computer wchich is not
 connected to the Internet. In my opinion the most important aspect of
 using free software in such a conditions is possessing whole set of CD's
 containing both most important programs and source code. 
 I can not find on the Internet CD images containing ports and sources.
 Are they available anywhere? I am not intend to buy the CD set - at least
 before trying the system.

No - with nearly 11000 ports it would take a few dozen CD images to
contain what you want.  You can download the packages and distfiles
from the FTP sites as needed though.

Kris


pgp0.pgp
Description: PGP signature


Re: vinum list anomaly

2004-03-26 Thread Greg 'groggy' Lehey
On Friday, 26 March 2004 at 11:12:45 -0800, Sean Ellis wrote:
 Hello,

 after adding too drives as a concatenated vinum volume I see a line in
 the `vinum list` output which doesn't look right to me. Specifically, the
 line that refers to spanned_log.p0.s0. Is there a typical explanation for
 something like this?

 2 drives:
 D a State: up   Device /dev/ad2s1e  Avail:
 10/4110 MB (0%)
 D b State: up   Device /dev/ad3s1e  Avail:
 10/4110 MB (0%)

 1 volumes:
 V spanned_log   State: up   Plexes:   1 Size:   8200
 MB

 1 plexes:
 P spanned_log.p0  C State: up   Subdisks: 2 Size:   8200
 MB

 2 subdisks:
 S spanned_log.p0.s0 State: up   PO:0  B Size:   4100
 MB
 S spanned_log.p0.s1 State: up   PO: 4100 MB Size:   4100
 MB

This looks like your MUA folded it.  It should look like this:

 2 drives:
 D a State: up   Device /dev/ad2s1e  Avail: 10/4110 MB 
 (0%)
 D b State: up   Device /dev/ad3s1e  Avail: 10/4110 MB 
 (0%)

 1 volumes:
 V spanned_log   State: up   Plexes:   1 Size:   8200 MB

 1 plexes:
 P spanned_log.p0  C State: up   Subdisks: 2 Size:   8200 MB

 2 subdisks:
 S spanned_log.p0.s0 State: up   PO:0  B Size:   4100 MB
 S spanned_log.p0.s1 State: up   PO: 4100 MB Size:   4100 MB

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


pgp0.pgp
Description: PGP signature


Re: vinum list anomaly

2004-03-26 Thread Sean Ellis
On Sat, Mar 27, 2004 at 10:00:18AM +1030, Greg 'groggy' Lehey wrote:
 On Friday, 26 March 2004 at 11:12:45 -0800, Sean Ellis wrote:

  after adding too drives as a concatenated vinum volume I see a line in
  the `vinum list` output which doesn't look right to me. Specifically, the
  line that refers to spanned_log.p0.s0. Is there a typical explanation for
  something like this?
 
  2 drives:
  D a State: up   Device /dev/ad2s1e  Avail:
  10/4110 MB (0%)
  D b State: up   Device /dev/ad3s1e  Avail:
  10/4110 MB (0%)
 
 This looks like your MUA folded it.  It should look like this:
 
  2 drives:
  D a State: up   Device /dev/ad2s1e  Avail: 10/4110 MB 
  (0%)
  D b State: up   Device /dev/ad3s1e  Avail: 10/4110 MB 
  (0%)

Sorry, the pasted in details did lose their formatting.

The line that I'm curious about though appears below; the line referring
to spanned_log.p0.s0. The two disks are identical, and I thought that
I'd prepared them in like fashion, yet one displays 0 B Size and the
other 4100 MB Size.

  S spanned_log.p0.s0 State: up   PO:0  B Size:   4100 MB
  S spanned_log.p0.s1 State: up   PO: 4100 MB Size:   4100 MB

I've just ran `vinum list` again, and I now have other problems (below),
so I will be dealing with them and seeing how things stand at that
point.

new 'list'

S spanned_log.p0.s0 State: up   PO:0  B Size:   4100 MB
S spanned_log.p0.s1 State: crashed  PO: 4100 MB Size:   4100 MB

--
Sean

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


Re: vinum list anomaly

2004-03-26 Thread Greg 'groggy' Lehey
On Friday, 26 March 2004 at 16:10:13 -0800, Sean Ellis wrote:
 On Sat, Mar 27, 2004 at 10:00:18AM +1030, Greg 'groggy' Lehey wrote:
 On Friday, 26 March 2004 at 11:12:45 -0800, Sean Ellis wrote:

 after adding too drives as a concatenated vinum volume I see a line in
 the `vinum list` output which doesn't look right to me. Specifically, the
 line that refers to spanned_log.p0.s0. Is there a typical explanation for
 something like this?

 2 drives:
 D a State: up   Device /dev/ad2s1e  Avail:
 10/4110 MB (0%)
 D b State: up   Device /dev/ad3s1e  Avail:
 10/4110 MB (0%)

 This looks like your MUA folded it.  It should look like this:

 2 drives:
 D a State: up   Device /dev/ad2s1e  Avail: 10/4110 MB 
 (0%)
 D b State: up   Device /dev/ad3s1e  Avail: 10/4110 MB 
 (0%)

 Sorry, the pasted in details did lose their formatting.

 The line that I'm curious about though appears below; the line referring
 to spanned_log.p0.s0. The two disks are identical, and I thought that
 I'd prepared them in like fashion, yet one displays 0 B Size and the
 other 4100 MB Size.

You're misparsing.  They are both Size:   4100 MB.  The first is
at plex offset 0 MB, the second at plex offset 4100 MB.

 I've just ran `vinum list` again, and I now have other problems (below),
 so I will be dealing with them and seeing how things stand at that
 point.

 new 'list'

 S spanned_log.p0.s0 State: up   PO:0  B Size:   4100 MB
 S spanned_log.p0.s1 State: crashed  PO: 4100 MB Size:   4100 MB

Take a look at http://www.vinumvm.org/vinum/how-to-debug.html if you
haven't already done so.

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


pgp0.pgp
Description: PGP signature


How to get best results from FreeBSD-questions

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

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

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

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

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

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

=

Contents:

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

I: Introduction
===

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

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

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

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

II:  How to unsubscribe from FreeBSD-questions
==

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

  Welcome to the freebsd-questions mailing list!

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

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

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

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

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

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

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

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

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

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

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

The Complete FreeBSD: errata and addenda

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

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

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

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


Re: vinum list anomaly

2004-03-26 Thread Sean Ellis
On Sat, Mar 27, 2004 at 10:53:42AM +1030, Greg 'groggy' Lehey wrote:
 On Friday, 26 March 2004 at 16:10:13 -0800, Sean Ellis wrote:
  On Sat, Mar 27, 2004 at 10:00:18AM +1030, Greg 'groggy' Lehey wrote:
  On Friday, 26 March 2004 at 11:12:45 -0800, Sean Ellis wrote:

  The line that I'm curious about though appears below; the line referring
  to spanned_log.p0.s0. The two disks are identical, and I thought that
  I'd prepared them in like fashion, yet one displays 0 B Size and the
  other 4100 MB Size.
 
 You're misparsing.  They are both Size:   4100 MB.  The first is
 at plex offset 0 MB, the second at plex offset 4100 MB.

Aha. PO .. plex offset. Ok, thanks. 

 
  S spanned_log.p0.s0 State: up   PO:0  B Size:   4100 MB
  S spanned_log.p0.s1 State: crashed  PO: 4100 MB Size:   4100 MB
 
 Take a look at http://www.vinumvm.org/vinum/how-to-debug.html if you
 haven't already done so.

Ok, great. 

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


Re: mounting the hard drive in PicoBSD

2004-03-26 Thread Gary W. Swearingen
kennonward [EMAIL PROTECTED] writes:

 The /etc/fstab line for the HD is:
 /dev/wd0s1  /dosmsdos  rw 0 0

 I get the following when I run mount:

 mount /dev/wd0s1  /dos
 mount: /dev/wd0s1 on /dos: incorrect super block

That mount command is trying to mount the partition UFS.  With your
/etc/fstab, you should use either of these:
  mount /dev/wd0s1
  mount /dos

 I have only a limited subset of the BSD system.  I tried runing dd I got sh: dd: not 
 found.
 fsck /dev/wd0s1
 **dev/rwd0s1
 BAD SUPER BLOCK: MAGIC NUMBER WRONG
 ioctl (GCINFO): Invalidargument
 fsck: /dev/rw0s1: can't read disk label

Probably the same default (UFS).

 Because I am running one disk PicoBSD I have only a few of the programs that would 
 normally be on an Unix system.  I have limited resorces no fdisk or utilities such 
 as df,mount,mount_msdos,mount_ext2fs, mount_cd9660.  All of these give similar 
 responses.  I still have no HD access.

Some of us use mail readers that expect standard messages which don't
require reformatting.  Please keep your new paragraphs = 70 columns
and expect 78 columns to require your readers to scroll horizontally.

If you're going to use a msdos FS, then I suppose you'll need to
ensure that your picoBSD build includes the necessary msdosfs and
other tools.  IIRC, you tell it what to include and it stuffs them all
into one big, but crunched, executable, etc.  (My picoBSD box doesn't
have a HD, so I haven't had many HD problems. :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


3Com 3C940

2004-03-26 Thread Mark
Hello,

Does FreeBSD 4.9R-p3 support the 3Com 3C940 LAN card?

Thanks,

- Mark

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


5.2.1 install wont see sata raid

2004-03-26 Thread Ryan Pekarik
I am using a via:VT8237 on board raid controller running sata raid0 on 2 250GB hds.  I 
have 10GB set aside.. and when i boot to the fbsd cd ISO, the drives show up seperate. 
 sysinstall doesnt give me the option to install on a raid.  Is there a loader option 
or something else I am missing.  I am having trouble finding support for vt8237 sata 
raid.

However it does say its support: 
http://www.freebsd.org/cgi/man.cgi?query=atasektion=4manpath=FreeBSD+5.2.1-RELEASE

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


Java Requires X Windows?

2004-03-26 Thread Joe Pokupec
Hey Guys,

Do I need to have X Windows installed for Java to 1.4 to run on FreeBSD 5.1?

Thanks

Joe

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


Re: ssh no longer connecting automatically

2004-03-26 Thread Dag-Erling Smørgrav
Jonathon McKitrick [EMAIL PROTECTED] writes:
 Interestingly, my laptop (running 4.8R) is working now.  No password needed
 for any rsh operation to this site.  But the same procedure on a 4.8-stable
 box (this one, now) gives this error: [...]

It's definitely a client side problem.  Try rm ~/.ssh/known_hosts.

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


Re: ssh no longer connecting automatically

2004-03-26 Thread Jonathon McKitrick
On Fri, Mar 26, 2004 at 09:46:44AM +0100, Dag-Erling Smørgrav wrote:
: Jonathon McKitrick [EMAIL PROTECTED] writes:
:  Interestingly, my laptop (running 4.8R) is working now.  No password needed
:  for any rsh operation to this site.  But the same procedure on a 4.8-stable
:  box (this one, now) gives this error: [...]
: 
: It's definitely a client side problem.  Try rm ~/.ssh/known_hosts.

Does it matter that this fails only for protocol 2? 'ssh -1 ...' connects and
asks for the password.   Protocol 2 fails entirely.

Here is what happens when known_hosts is deleted:

debug2: mac_init: found hmac-md5
debug1: kex: server-client blowfish-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client-server blowfish-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 131/256
debug2: bits set: 499/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /home/jcm/.ssh/known_hosts
debug3: check_host_in_hostfile: filename /usr/local/etc/ssh/ssh_known_hosts
debug3: check_host_in_hostfile: filename /home/jcm/.ssh/known_hosts
debug3: check_host_in_hostfile: filename /usr/local/etc/ssh/ssh_known_hosts
debug3: check_host_in_hostfile: filename /home/jcm/.ssh/known_hosts
debug3: check_host_in_hostfile: filename /usr/local/etc/ssh/ssh_known_hosts
debug2: no key of type 0 for host dogma.freebsd-uk.eu.org
debug3: check_host_in_hostfile: filename /home/jcm/.ssh/known_hosts2
debug3: check_host_in_hostfile: filename /usr/local/etc/ssh/ssh_known_hosts2
debug3: check_host_in_hostfile: filename /home/jcm/.ssh/known_hosts
debug3: check_host_in_hostfile: filename /usr/local/etc/ssh/ssh_known_hosts
debug2: no key of type 1 for host dogma.freebsd-uk.eu.org
The authenticity of host 'dogma.freebsd-uk.eu.org (130.88.200.97)' can't be
established.
DSA key fingerprint is c4:81:d6:8d:48:0e:39:ba:b3:40:e2:52:62:18:d4:f5.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'dogma.freebsd-uk.eu.org,130.88.200.97' (DSA) to
the list of known hosts.
debug2: bits set: 513/1024
debug1: ssh_dss_verify: signature incorrect
key_verify failed for server_host_key
neptune:~ 



: 
: DES
: -- 
: Dag-Erling Smørgrav - [EMAIL PROTECTED]


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


RE: Need assitance installin FreeBSD

2004-03-26 Thread Dan MacMillan
 -Original Message-
 From: Jerry McAllister
 
  On Tue, 23 Mar 2004 17:42:04 -0500 (EST)
  Jerry McAllister [EMAIL PROTECTED] wrote:
 
  snip
 
   Actually, I think the intention of the MINI-ISO is to boot and
   run the installation with everything loaded from one of the ftp
   sites.
 
  I believe you're thinking of the bootonly.iso (21MB) which is just
  the boot/sysinstall stuff.

 I don't remember seeing any bootonly.iso in what is offered under any
 of the regular directory trees on the main ftp.freebsd.org site.

 Maybe the mini.iso contains more than just /stand/sysinstall, but
 it still needs ftp access to do a complete install - or another CD.

ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/5.2.1/5.2.1-RELEASE-i386-b
ootonly.iso
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/5.2.1/5.2.1-RELEASE-i386-m
iniinst.iso

-Dan

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


RE: FreeBSD - Linux / Unix ?

2004-03-26 Thread Dan MacMillan
 From: Jerry McAllister
 Sent: March 25, 2004 07:17

 Much of what the responder said here is right, but I think there might be
 just one little point to pick.

  ... lots excised ...

B.  Unix
  Depends on what you mean by Unix. There is code in it that
  derives from the original ATT UNIX.

 It is this.  Although the idea of Unix may have started in Bell Labs,
 I thought the big lawsuits 10+ years ago and lots of work by early
 developers settled that no code in the current BSD line can be said
 to derive from Bell Labs code.

Actually, that is not true.  The only point the lawsuits settled
definitively is that BSD did not infringe on USL's copyrights.  In fact it
was basically stipulated that some parts of NET/2 / BSDi =were= derived
(even copied) from the USL code, but that it didn't matter because the
copyrights being claimed had been abandoned or were invalid for one reason
or another.

-Dan

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


Vinum Subdisk Crashed - How To Repair?

2004-03-26 Thread Drew Tomlinson
Please excuse whatever format in which this email
arrives.  My system is unusable so I am posting from
Yahoo!.

I have a 4.9-RELEASE-p4 system.  I have not made any
changes to any source code.  I have 3 vinum volumes
configured.  While attempting to diagnose problems
with one of the volumes that uses a firewire drive, my
system crashed with a trap 12 error.  I have my /usr
configured as a striped vinum volume with one plex and
two subdisks.  Upon reboot, the usr volume has one
subdisk in a crashed state.  Thus I can't mount /usr
and can't get my system up and running.  

I *REALLY* don't want to lose my data on /usr as I
don't have a backup.  It was my backup volume problems
I was looking at when my trouble started.  I have
looked at
http://www.vinumvm.org/vinum/how-to-debug.html.  I
have a copy of my config files and the page says one
can use those to recreate his config without losing
data as it does not write to the subdisks.  Is this
what I should do?  Should I do something else?

Please cc me on any replies as I am not able to
receive them via my subscription at the moment.

Thanks for your help!

Drew

-- begin output of data requested on vinumvm.org

I can not provide the extract of
/var/log/vinum_history or /var/log/messages as I
symlinked /var to /usr/var.

vinum - list
4 drives:
D ftp1  State: up   Device
/dev/ad0s1h  Avail: 76318/76319 MB (100%)
D ftp2  State: up   Device
/dev/ad1s1h  Avail: 0/76319 MB (0%)
D disk1 State: up   Device
/dev/da0s1h  Avail: 84701/8383 MB (1010%)
D disk2 State: up   Device
/dev/da1s1h  Avail: 0/8383 MB (0%)
D *invalid* State: referenced   Device
 Avail: 0/0 MB

3 volumes:
V usr   State: up   Plexes:  
1 Size: 16 GB
V ftp   State: up   Plexes:  
1 Size:149 GB
V backupState: down Plexes:  
1 Size: 74 GB

3 plexes:
P usr.p0  S State: corrupt  Subdisks:
2 Size: 16 GB
P ftp.p0  C State: up   Subdisks:
2 Size:149 GB
P backup.p0   C State: faulty   Subdisks:
1 Size: 74 GB

5 subdisks:
S usr.p0.s0 State: up   PO:0 
B Size:   8383 MB
S usr.p0.s1 State: crashed  PO:  256
kB Size:   8383 MB
S ftp.p0.s0 State: up   PO:0 
B Size: 74 GB
S backup.p0.s0  State: crashed  PO:0 
B Size: 74 GB
S ftp.p0.s1 State: up   PO:   74
GB Size: 74 GB




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


Problem compiling code in freeBSD 4,9 strtof related.

2004-03-26 Thread Eric De la Cruz Lugo
Hi, I am trying to compile the BhPos software (Point of Sale for Linux. 
 
But I need the strtof function , but FreeBSD 4,9 does not have this function, 
it is possible to install it taking the source code from the 5.X FreeBSD 
branch? 
 
here is my cc output: 
 
 
cc -O -pipe  -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include 
-D__DBINTERFACE_PRIVATE -DINET6 -DPOSIX_MISTAKE 
-I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP  -c 
/usr/src/lib/libc/../libc/stdlib/strtof.c -o strtof.o 
In file included from /usr/include/gdtoaimp.h:180, 
 from /usr/src/lib/libc/../libc/stdlib/strtof.c:38: 
/usr/include/gdtoa.h:41: arith.h: No such file or directory 
In file included from /usr/src/lib/libc/../libc/stdlib/strtof.c:38: 
/usr/include/gdtoaimp.h:194: un-namespace.h: No such file or directory 
In file included from /usr/src/lib/libc/../libc/stdlib/strtof.c:38: 
/usr/include/gdtoaimp.h:278: syntax error before `one' 
/usr/include/gdtoaimp.h:278: syntax error before `IBM' 
/usr/include/gdtoaimp.h:281: syntax error before `}' 
*** Error code 1 
 
hope some one has a clue about how to solve this with out installing FreeBSD 
5.x 
 
thanks in advance. 
 
Eric De La Cruz Lugo 
Merida, Yucatan, Mexico. 
 

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


Re: Vinum Subdisk Crashed - How To Repair?

2004-03-26 Thread Greg 'groggy' Lehey
On Friday, 26 March 2004 at 21:53:44 -0800, Drew Tomlinson wrote:
 Please excuse whatever format in which this email arrives.  My
 system is unusable so I am posting from Yahoo!.

Heh.  I suppose that's a good enough reason.

 I have a 4.9-RELEASE-p4 system.  I have not made any changes to any
 source code.  I have 3 vinum volumes configured.  While attempting
 to diagnose problems with one of the volumes that uses a firewire
 drive, my system crashed with a trap 12 error.  I have my /usr
 configured as a striped vinum volume with one plex and two subdisks.
 Upon reboot, the usr volume has one subdisk in a crashed state.
 Thus I can't mount /usr and can't get my system up and running.

 I *REALLY* don't want to lose my data on /usr as I don't have a
 backup.  It was my backup volume problems I was looking at when my
 trouble started.  I have looked at
 http://www.vinumvm.org/vinum/how-to-debug.html.  I have a copy of my
 config files and the page says one can use those to recreate his
 config without losing data as it does not write to the subdisks.  Is
 this what I should do? 

Maybe.

 Should I do something else?

Maybe.

 Please cc me on any replies as I am not able to receive them via my
 subscription at the moment.

 I can not provide the extract of /var/log/vinum_history or
 /var/log/messages as I symlinked /var to /usr/var.

 vinum - list
 4 drives:
 D ftp1  State: up   Device /dev/ad0s1h  Avail: 76318/76319 
 MB (100%)
 D ftp2  State: up   Device /dev/ad1s1h  Avail: 0/76319 MB 
 (0%)
 D disk1 State: up   Device /dev/da0s1h  Avail: 84701/8383 MB 
 (1010%)

This should go away if you stop and restart Vinum.

 D disk2 State: up   Device /dev/da1s1h  Avail: 0/8383 MB (0%)
 D *invalid* State: referenced   Device  Avail: 0/0 MB

This one looks dangerous.

 3 volumes:
 V usr   State: up   Plexes: 1 Size: 16 GB
 V ftp   State: up   Plexes: 1 Size:149 GB
 V backupState: down Plexes: 1 Size: 74 GB

 3 plexes:
 P usr.p0  S State: corrupt  Subdisks: 2 Size: 16 GB
 P ftp.p0  C State: up   Subdisks: 2 Size:149 GB
 P backup.p0   C State: faulty   Subdisks: 1 Size: 74 GB

 5 subdisks:
 S usr.p0.s0 State: up   PO:0 B Size:   8383 MB
 S usr.p0.s1 State: crashed  PO:  256 kB Size:  8383 MB
 S ftp.p0.s0 State: up   PO:0 B Size: 74 GB
 S backup.p0.s0  State: crashed  PO:0 B Size: 74 GB
 S ftp.p0.s1 State: up   PO:   74 GB Size:74 GB

It looks to me as if you have lost a drive.  Hopefully this is simple,
but the drive on which usr.p0.s1 and backup.p0.s0 are located is presumably the
one which is referenced without a name.

Before going too much further, 

1.  Stop and restart Vinum and see if the availability statistics
return to normal.  If not, reply with the values, even if
they're the same as above.

2.  Where are usr.p0.s1 and backup.p0.s0 located?  If they're on one
of the drives in the list, you could try some selective deletion.
If this is the case, I'll give you more details.

It's probably worth posting the configuration file.

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


pgp0.pgp
Description: PGP signature


RE: 3Com 3C940

2004-03-26 Thread Toni Heinonen
Good morning, 

this was two links from the front page of freebsd.org: 
http://www.freebsd.org/releases/5.2.1R/hardware-i386.html

Why don't you just try and install?

-- 
TONI HEINONEN
 TELEWARE OY
 +358 40 836 1815 / +358 (9) 3434 9110
 Itkeskuksen Maamerkki
 00930 Helsinki, Finland
 [EMAIL PROTECTED] / www.teleware.fi


 -Original Message-
 From: Mark [mailto:[EMAIL PROTECTED]
 Sent: Saturday, March 27, 2004 4:08 AM
 To: [EMAIL PROTECTED]
 Subject: 3Com 3C940
 
 
 Hello,
 
 Does FreeBSD 4.9R-p3 support the 3Com 3C940 LAN card?
 
 Thanks,
 
 - Mark
 
 ___
 [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]