Re: From Rumiancev Alexander

2005-04-02 Thread Giorgos Keramidas
On 2005-04-01 23:29, RUmiancev A.V [EMAIL PROTECTED] wrote:
 1) Which make ?
 /usr/bin/make

 ns# make -v
 GNU Make 3.80

That's wrong.  Your /usr/bin/make executable should be BSD make, not GNU
make.  Have you installed GNU make with --prefix=/usr/bin lately?

The correct /usr/bin/make binary is the BSD make, which should print
some $FreeBSD: lines when you run the following command:

% $ ident /usr/bin/make | head
% /usr/bin/make:
%  $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.6 2002/05/15 04:19:49 obrien 
Exp $
%  $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.5 2002/05/15 04:19:49 obrien 
Exp $
%  $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter 
Exp $
%  $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.13 2004/08/15 16:18:51 dfr Exp 
$
%  $FreeBSD: src/usr.bin/make/arch.c,v 1.60 2005/03/23 12:56:15 harti Exp $
%  $FreeBSD: src/usr.bin/make/buf.c,v 1.34 2005/03/22 07:42:51 harti Exp $
%  $FreeBSD: src/usr.bin/make/compat.c,v 1.56 2005/03/16 16:02:09 harti Exp 
$
%  $FreeBSD: src/usr.bin/make/cond.c,v 1.43 2005/03/23 12:56:15 harti Exp $
%  $FreeBSD: src/usr.bin/make/dir.c,v 1.52 2005/03/23 12:56:15 harti Exp $

 Why this line ?
 .if !defined(S)

Because this is valid in BSD make, but not in GNU make.

 2) Have you changed your PATH recently or sym-linked GNU make to
 'make'?

 No! But onces, when I am working in the system at root, couse some
 rebooting. Just it!

I can't understand what you're trying to say :-/

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


Re: multyple gateway or load balancing on two channels

2005-04-02 Thread Emanuel Strobl
Am Samstag, 2. April 2005 09:26 schrieb ' :
 Hello.

 How I use subject without help of providers side (wthout BGP, pptp etc.).

You can use pf for multihomed routers, if you just want to use multiple lines 
for downloads. If you want to provide Webservices or anything similar with 
more than one line for redundancy/load balancing you have to BGP peer with 
your providers.
But like said, if you just want to use multiple lines for connections from 
inside to the inet, look for rules like:

pass in on $LAN route-to ($IF1 IP1) from $1stsubnet to any
pass in on $LAN route-to ($IF2 IP2) from $2ndsubnet to any

-Harry


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


pgp8sEJbnCwrk.pgp
Description: PGP signature


Re: i did it again

2005-04-02 Thread Giorgos Keramidas
On 2005-04-01 23:46, Gert Cuykens [EMAIL PROTECTED] wrote:
On Apr 1, 2005 11:57 AM, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On 2005-04-01 03:46, Gert Cuykens [EMAIL PROTECTED] wrote:
  so termcap is like a x server but then for terminals ?

 Not really.  The termcap(5) manpage describes this in (hopefully)
 adequate detail:

 %  The termcap file is a data base describing terminals, used, for
 %  example, by vi(1) and ncurses(3).  Terminals are described in
 %  termcap by giving a set of capabilities that they have and by
 %  describing how operations are performed.  Padding requirements
 %  and initialization sequences are included in termcap.

 isnt that the same as xserver does for xclients telling the clients
 what they can and cant do ?

In some ways yes, in other ways no.  The X servers do a better job of
abstracting away some hardware features than termcap.

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


Re: can i delete /stand ?

2005-04-02 Thread Chris
Gert Cuykens wrote:
On Apr 1, 2005 11:54 PM, Gert Cuykens [EMAIL PROTECTED] wrote:
On Apr 1, 2005 7:05 AM, Donald J. O'Neill [EMAIL PROTECTED] wrote:
On Thursday 31 March 2005 07:26 pm, Gert Cuykens wrote:
It bugs me...
NO, leave things as they are. If you delete all the things that have
been bugging you, you'll have an in-operative system. then what are you
going to do?
 
See the thing is i like /bin. /sbin is a bit to much but i can live
with it, i prefer one bin instead of two but /stand is just crossing
the line here :) You put it in bin or in sbin but thats it :)
 
The same reason my shuffled my /root into /usr/root/ and got rit of
the /usr/home/user and put it in /usr/user.
Are you trying to make FreeBSD look or feel like Linux? If so - stick 
with Linux. Otherwise why are you tampering with it when you clearly 
have no idea what you are doing.

--
Best regards,
Chris
When in doubt, mumble.
When in trouble, delegate.
When in charge, ponder.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I found FreeBSD Error :

2005-04-02 Thread mansour ameri
Dear sir,
I was installing freebsd many time with many packages
like apache or radius server ...BUT after few days
when i want to install new packages i always fail by
gzip and error was  :
gzip fail to decompress 
i have take a new install of freebsd but in packges
installing (tar or gzip) i have found this error.

please help me how to solw my error .thanks





__ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I found FreeBSD Error :

2005-04-02 Thread mansour ameri
Dear sir,
I was installing freebsd many time with many packages
like apache or radius server ...BUT after few days
when i want to install new packages i always fail by
gzip and error was  :
gzip fail to decompress 
i have take a new install of freebsd but in packges
installing (tar or gzip) i have found this error.

please help me how to solw my error .thanks





__ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I found FreeBSD Error :

2005-04-02 Thread mansour ameri
Dear sir,
I was installing freebsd many time with many packages
like apache or radius server ...BUT after few days
when i want to install new packages i always fail by
gzip and error was  :
gzip fail to decompress 
i have take a new install of freebsd but in packges
installing (tar or gzip) i have found this error.

please help me how to solw my error .thanks



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports compile error cvsup (libtool15)

2005-04-02 Thread Chris
Gert Cuykens wrote:
On Mar 31, 2005 3:47 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
I installed 5.3 base and ports on a new pc. Then i wanted to install
cvsup-without-gui but it gives me a compile error at libtool15 ?
Any ideas how to fix it ?

how do you install base, ports and cvsup from cd ?

Some advice (In a nice way) Read the Handbook 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html)

Then, read it again, and finally - one last time. 80% of your questions 
can and will be answered if you only take the time to read, digest, and 
unsderstand.

--
Best regards,
Chris
People will buy anything that is one to a customer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Which mail server is the best for me?

2005-04-02 Thread Kiffin Gish
I would like to setup a mail server but am a little confused about whether
to use sendmail, qmail, postfix or whatever. Basically my web server is a
simple one to be used for personal use with maybe no more than a 10-20 mail
accounts.

What are the advantages and/or disadvantages of each choice, and where can I
find more information comparing them?

-- 

Kiffin Rex Gish
Gouda, The Netherlands

 


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


xdmcp using gdm not working...

2005-04-02 Thread Per Berger
Hi!

I've installed gnome 2.10 (as you know from my old post regarding the
gnome power tools package). It works except for one thing... I've used
xdm configured for xdmcp on my home LAN to connect from my Win box to
FreeBSD. On the Win box I use Cygwin/X at it works fine...

But now I've switched to gdm and it does not work anymore. I've enabled
xdmcp in gdm.conf and made and verified the changes to hosts.allow.

What happens is that it seems to open the connection but closes it
instantly. I've tried about any setting I can change in Cygwin but I
don't think the problem is there because I tried to use the chooser in
gdm locally on the FreeBSD box and the same thing happens there... I've
read gdm.conf a couple of times and Google'd to no avail...

If I switch back to xdm it works again but I would like to use gdm...

Any hints?

Regards,

Per


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


Re: Which mail server is the best for me?

2005-04-02 Thread Chris
Kiffin Gish wrote:
I would like to setup a mail server but am a little confused about whether
to use sendmail, qmail, postfix or whatever. Basically my web server is a
simple one to be used for personal use with maybe no more than a 10-20 mail
accounts.
What are the advantages and/or disadvantages of each choice, and where can I
find more information comparing them?
Why not go the websites of all you mentioned. Read how to set each one 
up, read what the pitfalls are of each, then determine how much time you 
want to spend running one.

--
Best regards,
Chris
If at first you don't succeed,
blame it on your supervisor.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which mail server is the best for me?

2005-04-02 Thread Chris
Kiffin Gish wrote:
I would like to setup a mail server but am a little confused about whether
to use sendmail, qmail, postfix or whatever. Basically my web server is a
simple one to be used for personal use with maybe no more than a 10-20 mail
accounts.
What are the advantages and/or disadvantages of each choice, and where can I
find more information comparing them?
But to answer you - if you want fast, no frills, nothing fancy,
Sendmail/qopper - I prefer Postfix, but then you may not wish to spend 
the time learning all the nifty things you can do with it. Postfix can 
be a chore - as with any mail server. It's all up to you and how much 
you are willing to invest.

--
Best regards,
Chris
If at first you don't succeed,
blame it on your supervisor.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I found FreeBSD Error :

2005-04-02 Thread Kris Kennaway
On Sat, Apr 02, 2005 at 12:50:45AM -0800, mansour ameri wrote:
 Dear sir,
 I was installing freebsd many time with many packages
 like apache or radius server ...BUT after few days
 when i want to install new packages i always fail by
 gzip and error was  :
 gzip fail to decompress 
 i have take a new install of freebsd but in packges
 installing (tar or gzip) i have found this error.
 
 please help me how to solw my error .thanks

First, don't send your questions three times, we can read your email
just fine the first time.

Second, show use the exact command you're trying and the exact error
you receive.  It's important to be as specific as you can when
reporting problems, because we can't read your mind.

Kris


pgpd79e4qJKwy.pgp
Description: PGP signature


ntpd and ntp.conf

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

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

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


Re: ntpd and ntp.conf

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

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

Regards
//Niclas
man ntpd
--
Best regards,
Chris
Washing your car to make it rain doesn't work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfilter problems

2005-04-02 Thread Angelin Lalev
Two days ago I've switched the firewall on my FreeBSD 5.3 RELEASE
router from ipfw to ipfilter.  The  firewalls are not my speciality
and ipfilter looked simplier way to do NAT with firewall, because
it separates NAT rules from filtering rules.
The router has two interfaces rl0 (192.168.0.254/24) and rl1 
(82.137.64.106/29, 192.168.5.1/24, 10.1.6.2/24).
The ipfilter is compiled in kernel:
==
options IPFILTER
options IPFILTER_LOG
options IPFILTER_DEFAULT_BLOCK

/etc/ipnat.conf

map rl1 192.168.0.1/27 - 82.137.64.106/32
/etc/ipf.rules

pass in quick on lo0
pass out quick on lo0
pass out quick on rl0 all
pass in quick on rl0 all
pass in quick on rl1 proto tcp from 192.168.5.1/24 to 192.168.5.1 port = 
80 flags S keep state
pass in quick on rl1 proto tcp from 192.168.5.1/24 to 192.168.5.1 port = 
3128 flags S keep state
# local counter-strike server. No NAT.
pass in quick on rl1 from 192.168.5.1/24 to 192.168.0.50 keep state
block in quick on rl1 from 192.168.5.1/24 to any
pass out quick on rl1 all keep state

The problem

On 192.168.0.0/24 network I have 6 machines. The router itself is an old
166 MHz Pentium box, but load averages are not bigger than 10%. When one 
of the machins makes dns lookup (the dns server is on outside - 
62.73.78.2) it fails with timeout in about 9 of 10 times.
ipfstat -t shows that a rule is created - something like this:
Source IP  Dest IPST   PR
pkts.bytes 
192.168.0.4,1029  62.73.78.2,53  0/0  udp  165   9992  

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


Re: Which mail server is the best for me?

2005-04-02 Thread Pat Maddox
I think it'd be worth it to check out postfix.  sendmail is insecure,
and qmail is just too much of a pain in the ass to get working.
postfix can take a bit of time, but it runs well once you've got it
working.

The only thing I've found is that whenever I upgrade ports, it breaks.
It's actually something things it depends on (authlibmysql,
authdaemon) that break, because certain config files get overwritten.
Never figured that out, and it always causes me a headache when I
upgrade.

On Apr 2, 2005 2:09 AM, Kiffin Gish [EMAIL PROTECTED] wrote:
 I would like to setup a mail server but am a little confused about whether
 to use sendmail, qmail, postfix or whatever. Basically my web server is a
 simple one to be used for personal use with maybe no more than a 10-20 mail
 accounts.
 
 What are the advantages and/or disadvantages of each choice, and where can I
 find more information comparing them?
 
 --
 
 Kiffin Rex Gish
 Gouda, The Netherlands
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

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


Re: Which mail server is the best for me?

2005-04-02 Thread Orb
On Sat, 2005-04-02 at 02:57 -0700, Pat Maddox wrote:
 I think it'd be worth it to check out postfix.  sendmail is insecure,
 and qmail is just too much of a pain in the ass to get working.
 postfix can take a bit of time, but it runs well once you've got it
 working.
 
 The only thing I've found is that whenever I upgrade ports, it breaks.
 It's actually something things it depends on (authlibmysql,
 authdaemon) that break, because certain config files get overwritten.
 Never figured that out, and it always causes me a headache when I
 upgrade.
 
 On Apr 2, 2005 2:09 AM, Kiffin Gish [EMAIL PROTECTED] wrote:
  I would like to setup a mail server but am a little confused about whether
  to use sendmail, qmail, postfix or whatever. Basically my web server is a
  simple one to be used for personal use with maybe no more than a 10-20 mail
  accounts.
  
  What are the advantages and/or disadvantages of each choice, and where can I
  find more information comparing them?
  
  --
  
  Kiffin Rex Gish
  Gouda, The Netherlands
  
  

Hey,

All i can say is http://www.qmailrocks.org it has very simple guide for
freebsd and linux distro's. its very easy to follow and there is a very
helpful mailing list if you get stuck...

So for my vote its Qmail :)

See ya.
Grant.


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


Re: Which mail server is the best for me?

2005-04-02 Thread Pat Maddox
My main complaint with qmail is that it's not very standard.  The core
of qmail hasn't been updated in a couple years (I think that's right,
correct me if I'm wrong), so in order to update it or add
functionality, you have to apply a bunch of patches from a bunch of
sources.

I like the fact that postfix is all centralized.



On Apr 2, 2005 3:01 AM, Orb [EMAIL PROTECTED] wrote:
 On Sat, 2005-04-02 at 02:57 -0700, Pat Maddox wrote:
  I think it'd be worth it to check out postfix.  sendmail is insecure,
  and qmail is just too much of a pain in the ass to get working.
  postfix can take a bit of time, but it runs well once you've got it
  working.
 
  The only thing I've found is that whenever I upgrade ports, it breaks.
  It's actually something things it depends on (authlibmysql,
  authdaemon) that break, because certain config files get overwritten.
  Never figured that out, and it always causes me a headache when I
  upgrade.
 
  On Apr 2, 2005 2:09 AM, Kiffin Gish [EMAIL PROTECTED] wrote:
   I would like to setup a mail server but am a little confused about whether
   to use sendmail, qmail, postfix or whatever. Basically my web server is a
   simple one to be used for personal use with maybe no more than a 10-20 
   mail
   accounts.
  
   What are the advantages and/or disadvantages of each choice, and where 
   can I
   find more information comparing them?
  
   --
  
   Kiffin Rex Gish
   Gouda, The Netherlands
  
  
 
 Hey,
 
 All i can say is http://www.qmailrocks.org it has very simple guide for
 freebsd and linux distro's. its very easy to follow and there is a very
 helpful mailing list if you get stuck...
 
 So for my vote its Qmail :)
 
 See ya.
 Grant.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


ndis : can't re-use a leaf (bustype) ?

2005-04-02 Thread beni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm using freebsd 5.3-rel-p6 and am trying to get my wi-fi card going.
But no luck so far...
I have all the needed files for ndis (the ndis_driver_data.h in
/usr/src/sys/dev/if_ndis) and have recompiled the kernel :
# Support for NDIS (for the Z-Com XG-602MB mini pci card)
optionsNDISAPI
devicendis
optionsIPFILTER
optionsIPFILTER_LOG
But my dmesg says:
...
ndis0: PRISM 802.11g Wireless Adapter mem 0xfa40-0xfa401fff irq
16 at device 0.0 on pci2
can't re-use a leaf (BusType)!
ndis0: NDIS API version: 5.1
ndis0: init handler failed
device_attach: ndis0 attach returned 6
...
A kldstat gives :
[EMAIL PROTECTED]:~] $ kldstat -v | grep ndis
~253 ndisapi
~261 pci/ndis
~262 cardbus/ndis
ifconfig shows no ndis0 at all... :-(
Any hints on how to get this thing going ?
Thx,
Beni.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCTonn98oeEzEDrEcRAv5NAKCwCupyZWf0iv67IXMEZWR1SSNzigCdFjxu
EGszy7NcoQuRcPH6E14ZIcA=
=1uFo
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


*attaching* a file to /usr/bin/mail message

2005-04-02 Thread Colin J. Raven
Does anyone happen to know how you would *attach* *not readin the 
contents of, but actually *attach*) a file using /usr/bin/mail?

On my system mail has no -a (attach) flag, and some Googling told me 
mailx might solve the problem, but /usr/bin/mailx just invokes mail

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


Re: Which mail server is the best for me?

2005-04-02 Thread Giorgos Keramidas
On 2005-04-02 02:57, Pat Maddox [EMAIL PROTECTED] wrote:
On Apr 2, 2005 2:09 AM, Kiffin Gish [EMAIL PROTECTED] wrote:
 I would like to setup a mail server but am a little confused about
 whether to use sendmail, qmail, postfix or whatever. Basically my web
 server is a simple one to be used for personal use with maybe no more
 than a 10-20 mail accounts.

 What are the advantages and/or disadvantages of each choice, and
 where can I find more information comparing them?

 I think it'd be worth it to check out postfix.  sendmail is insecure,
 and qmail is just too much of a pain in the ass to get working.
 postfix can take a bit of time, but it runs well once you've got it
 working.

``Sendmail is insecure'' is a broad statement that is no longer true,
but let's put that aside for a while.

The Sendmail version included in the base system of FreeBSD can handle
the load of 10-20 users (the projected load of the original poster's
machine) just fine.

Help about configuring Sendmail can be found in the Handbook, the lists
archives of this list and teh excellent articles posted by online
journalists like Michael Lucas, Dan Langille, and others.

Some useful references are:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html
http://www.onlamp.com/pub/ct/13
http://www.onlamp.com/pub/ct/15
http://ezine.daemonnews.org/200411/keeping_freebsd_up-to-date.html
http://ezine.daemonnews.org/200301/esa3.html
http://ezine.daemonnews.org/200302/rancid.html
[...]

A Google search for FreeBSD sendmail will reveal thousands more.

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


Re: *attaching* a file to /usr/bin/mail message

2005-04-02 Thread Giorgos Keramidas
On 2005-04-02 14:08, Colin J. Raven [EMAIL PROTECTED] wrote:
 Does anyone happen to know how you would *attach* *not readin the
 contents of, but actually *attach*) a file using /usr/bin/mail?

Not very easily, is one answer.  You can probably get away with uuencode
output filtered to the standard input of mail(1), but that's not really
a MIME attachment.

 On my system mail has no -a (attach) flag, and some Googling told me
 mailx might solve the problem, but /usr/bin/mailx just invokes mail

Other mail user agents do have a -a flag though.  At least mail/mutt
does and I've used it successfully in the past.  If you are not stuck
with mail(1) only, you can always use mutt for this.

mutt -a /path/to/file [EMAIL PROTECTED]

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


Re: *attaching* a file to /usr/bin/mail message

2005-04-02 Thread Colin J. Raven
On Apr 2 at 15:47, Giorgos Keramidas launched this into the bitstream:
On 2005-04-02 14:08, Colin J. Raven [EMAIL PROTECTED] wrote:
Does anyone happen to know how you would *attach* *not readin the
contents of, but actually *attach*) a file using /usr/bin/mail?
Not very easily, is one answer.  You can probably get away with uuencode
output filtered to the standard input of mail(1), but that's not really
a MIME attachment.
On my system mail has no -a (attach) flag, and some Googling told me
mailx might solve the problem, but /usr/bin/mailx just invokes mail
Other mail user agents do have a -a flag though.  At least mail/mutt
does and I've used it successfully in the past.  If you are not stuck
with mail(1) only, you can always use mutt for this.
	mutt -a /path/to/file [EMAIL PROTECTED]
I'm not stuck with mail, I use it with some shell scriptsbut yeah, I 
guess I could use muttthere's an idea I hadn't previously 
considered.

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


Re: From Rumiancev Alexander

2005-04-02 Thread Giorgos Keramidas
On 2005-04-02 15:01,  ?.? [EMAIL PROTECTED] wrote:
  Have you installed GNU make with --prefix=/usr/bin lately?
 Yes. GNU make 3.80 have been installed! Can I do smf that my system
 must work, I mean make can good works ?

Please do not remove the freebsd-questions list from the Cc: of the
thread.  This way, others who may find the thread interesting in the
future will not be able to find all the posts in the archives.

I've fixed the quoting in your reply too, since it was messed up by your
mailer :-/

It's a bad idea to overwrite /usr/bin/make as you seem to have done.
The canonical way of forcing packages to use GNU make instead of BSD
make is to set MAKE in your environment:

% setenv MAKE gmake
$ MAKE=gmake ; export MAKE

I don't know what parts of /usr you have overwritten, but you might get
everything related to BSD make to work again by installing BSD make
again.  If you have a /usr/obj tree around from a relatively recent
buildworld, you can install BSD make manually by copying files from
/usr/obj:

# install -m 0555 -o root -g wheel \
/usr/obj/usr/src/usr.bin/make/make /usr/bin

If you don't have a /usr/obj tree around, copying a make binary from an
existing installation in another machine may work too.

- Giorgos

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


Re: From Rumiancev Alexander

2005-04-02 Thread Andrew P.
rumiancev-psu wrote:
Hello! I have a problem!
I have the FreeBSD 5.3. And some day ago, when I wrote
command make the output was ...
!
 , , 
  .  :
) 
 www.opennet.ru
)   -.  , 
  freebsd-questions  .
 ,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which mail server is the best for me?

2005-04-02 Thread Duo
On Sat, 2 Apr 2005, Giorgos Keramidas wrote:
``Sendmail is insecure'' is a broad statement that is no longer true,
but let's put that aside for a while.
However, it should also be pointed out that, historically, sendmail has at 
times, been more trouble than its worth. It does have a rather long 
history of being difficult to configure, and vulnerable. While it has 
gotten better, id like to throw my $0.02 in here and say, postfix is a 
nice elegant solution to the whole thing.

I run postfix in darwin. Postfix is a drop in replacement of sendmail, 
offers (IMO) better options, more security, and in my experience, better 
documentation than sendmail. It also seems to play better with spam and 
anti virus add ons.

I don't want to start a religious war here, but, sendmail in my experience 
has been more about overthinking the plumbing, and really isint geared 
towards novices. In short, you will find that postfix documentation is 
more in english and sendmail is more in geek. Which is fine and dandy. 
Ultimately both scale about the same, as postfix can be dropped into a 
sendmail environment and quickly converted.

Postfix is like sendmail, without the blood, sweat and tears. If you want 
to get up and running, with 10-20 users, with a minimum of fuss, and 
really solid, non arcane documentation, id go with postfix. It's a great 
project, well updated, well supported, and much lauded.

I would *not* recommend sendmail to anyone supporting a low user amount, 
in my opinion, the time/trouble to fiddle with sendmail is not worth it. 
Period, end of story. =)

But, again, that's just my $0.02. Dont take my word for it however, look 
at both http://www.sendmail.org and http://www.postfix.org. The 
documentation differences, and indeed, style in which its presented, alone 
should sell you on postfix. =)

I have zero experience with qmail, so I can't comment on it. I know people 
who use it have good things to say about it. Including some of the web 
based administration of it.

--
Duo
Although the Buddhists will tell you that desire is the root of 
suffering, my personal experience leads me to point the finger at system 
administration.
	--Philip Greenspun

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


ndis0 no carrier

2005-04-02 Thread Mathias Bergqvist
Hi,

on my Dell D800 with FreeBSD 5.3 RELEASE I've managed to build and load the 
ndis modules, and gotten as far as the ndis0 device showing up on ifconfig.

However, I can't seem to get a 'carrier tone', and the SSID doesn't stick. I 
actually have a DHCP server, so eventually I want to move the ifconfig-stuff 
to dhclient.conf but for now I just want to get the status to change for the 
device. Does anybody have a clue about what I'm missing or doing wrong here?

 dmesg
ndis0: Dell TrueMobile 1400 Dual Band WLAN Mini-PCI Card mem 
0xfafec000-0xfafedfff irq 5 at device 3.0 on pci2
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:90:4b:62:47:92
ndis0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps

 ifconfig ndis0 inet IP netmask 255.255.0.0 http://255.255.0.0 ssid 
SSID nwkey KEY channel 11
ifconfig: ioctl (SIOCAIFADDR): File exists

 ifconfig ndis0
ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::290:4bff:fe62:4792%ndis0 prefixlen 64 scopeid 0x5
ether 00:90:4b:62:47:92
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid 
channel 11 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode MIXED weptxkey 1
wepkey 1:40-bit


 sysctl -a | grep ndis
hw.ndis_filepath: /compat/ndis
dev.ndis.0.%desc: Dell TrueMobile 1400 Dual Band WLAN Mini-PCI Card
dev.ndis.0.%driver: ndis
dev.ndis.0.%location: slot=3 function=0
dev.ndis.0.%pnpinfo: vendor=0x14e4 device=0x4324 subvendor=0x1028 
subdevice=0x0001 class=0x028000
dev.ndis.0.%parent: pci2
dev.ndis.0.RoamDelta: 1
dev.ndis.0.MPC: 1
dev.ndis.0.RadioState: 0
dev.ndis.0.PowerSaveMode: 2
dev.ndis.0.PLCPHeader: 0
dev.ndis.0.frag: 2346
dev.ndis.0.rts: 2347
dev.ndis.0.NetworkAddress:
dev.ndis.0.antdiv: -1
dev.ndis.0.BTCoexist: 1
dev.ndis.0.FrameBursting: 0
dev.ndis.0.Afterburner: 0
dev.ndis.0.gpio0: -1
dev.ndis.0.gpio1: -1
dev.ndis.0.gpio2: -1
dev.ndis.0.gpio3: -1
dev.ndis.0.EnableLEAP: 1
dev.ndis.0.Interference_Mode: -1
dev.ndis.0.ccx_rm: 1
dev.ndis.0.ccx_rm_limit: 300
dev.ndis.0.Country: US
dev.ndis.0.Channel: 11
dev.ndis.0.WME: 0
dev.ndis.0.WZCCoexist: 0
dev.ndis.0.abcap: 1
dev.ndis.0.RoamTrigger: -70
dev.ndis.0.11HNetworks: 0
dev.ndis.0.IBSSGMode: 0
dev.ndis.0.IBSSGProtection: 2
dev.ndis.0.LegacyMode: 0
dev.ndis.0.band: 0
dev.ndis.0.BandPref: 0
dev.ndis.0.AssocRoamPref: 0
dev.ndis.0.RateA: 0
dev.ndis.0.Rate: 0
dev.ndis.0.ApCompatMode: 0
dev.ndis.0.10280001: Dell TrueMobile 1400 Dual Band WLAN Mini-PCI Card
dev.ndis.0.Environment: 1
dev.ndis.0.NdisVersion: 0x00050001
dev.ndis.0.BusType: 5
dev.ndis.0.InterruptNumber: 5
dev.ndis.0.ForcePIO: UNSET
dev.ndis.0.NoRadio: UNSET
dev.ndis.0.AdapterDesc: UNSET
dev.ndis.0.DriverDesc: UNSET
dev.ndis.0.Brand: UNSET
dev.ndis.0.WPA: UNSET
dev.ndis.0.IBSSLink: UNSET
dev.ndis.0.PwrOut: UNSET
dev.ndis.0.BadFramePreempt: UNSET
dev.ndis.0.scan_channel_time: UNSET
dev.ndis.0.scan_unassoc_time: UNSET
dev.ndis.0.scan_home_time: UNSET
dev.ndis.0.scan_passive_time: UNSET
dev.ndis.0.scan_passes: UNSET
dev.ndis.0.EnableAutoConnect: UNSET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


device_polling

2005-04-02 Thread dick hoogendijk
I was building a new kernel today and came across an option I had not
seen before. I googled some and concluded that options device_polling /
options HZ=1000 would be a better way for my realtec network cards than
the default interupt driven..

Is this correct?? Would it be better to have this polling in the kernel?
(fbsd-4.11-stable)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD server behind router-NAT; how to configure sendmail?

2005-04-02 Thread Rob

Hi,

My ISP provides me with a fixed IP address and a
registered hostname.

I use a Sitecom DC-207 that serves as a plain router,
NAT and 4-port switch, to connect three Windows PCs
and one FreeBSD PC simultaneously to the internet.

The router gets the fixed IP address, whereas my
FreeBSD system gets IP 192.168.123.1 with a fake
hostname.

The router is configured to redirect the usual TCP/IP
server ports to the FreeBSD PC (e.g. ports 22, 25, 80
etc.), which makes the FreeBSD PC a kind of virtual
server for my fixed IP address.

One of the problems I encounter is this:
Sendmail on the FreeBSD PC cannot deliver email,
because there seems to be a DNS issue, because the
FreeBSD PC does not have an official IP  hostname.

How do I configure my FreeBSD PC so, that sendmail
thinks the PC has the official IP address/hostname
provided by my ISP, which is actually used by the
router?
Or should I follow a different configuration scheme
for achieving these goals?

Thanks,
Rob.



__ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com

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


Re: can i delete /stand ?

2005-04-02 Thread Gert Cuykens
On Apr 2, 2005 10:50 AM, Chris [EMAIL PROTECTED] wrote:
 Gert Cuykens wrote:
  On Apr 1, 2005 11:54 PM, Gert Cuykens [EMAIL PROTECTED] wrote:
 
 On Apr 1, 2005 7:05 AM, Donald J. O'Neill [EMAIL PROTECTED] wrote:
 
 On Thursday 31 March 2005 07:26 pm, Gert Cuykens wrote:
 
 It bugs me...
 
 NO, leave things as they are. If you delete all the things that have
 been bugging you, you'll have an in-operative system. then what are you
 going to do?
 
 
 
  See the thing is i like /bin. /sbin is a bit to much but i can live
  with it, i prefer one bin instead of two but /stand is just crossing
  the line here :) You put it in bin or in sbin but thats it :)
 
  The same reason my shuffled my /root into /usr/root/ and got rit of
  the /usr/home/user and put it in /usr/user.
 
 Are you trying to make FreeBSD look or feel like Linux? If so - stick
 with Linux. Otherwise why are you tampering with it when you clearly
 have no idea what you are doing.
 
 --
 Best regards,
 Chris
 
 When in doubt, mumble.
 When in trouble, delegate.
 When in charge, ponder.
 

I am not tampering with it i am modifying it :) You learn allot, just
close your eyes sroll trough the / directory and when you say stop
open your eyes again and try to move or delete the file. The
difference between a good and a bad os is the good one let you get
away with it by changing some stuff the bad os well just crashes :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD server behind router-NAT; how to configure sendmail?

2005-04-02 Thread Emanuel Strobl
Am Samstag, 2. April 2005 18:07 schrieb Rob:
 Hi,

 My ISP provides me with a fixed IP address and a
 registered hostname.

 I use a Sitecom DC-207 that serves as a plain router,
 NAT and 4-port switch, to connect three Windows PCs
 and one FreeBSD PC simultaneously to the internet.

 The router gets the fixed IP address, whereas my
 FreeBSD system gets IP 192.168.123.1 with a fake
 hostname.

 The router is configured to redirect the usual TCP/IP
 server ports to the FreeBSD PC (e.g. ports 22, 25, 80
 etc.), which makes the FreeBSD PC a kind of virtual
 server for my fixed IP address.

 One of the problems I encounter is this:
 Sendmail on the FreeBSD PC cannot deliver email,
 because there seems to be a DNS issue, because the
 FreeBSD PC does not have an official IP  hostname.

You can set the following ine /etc/mail/yourhostname.domain.mc

define(`confDOMAIN_NAME', `host.name.fq')dnl

host.name.fq is what ever your provider registred for your IP.
Make sure there's also a correct A record for that hostname, eg. if it is 
spam.refuse.org then `host spam.refuse.org` must return your IP and `host IP` 
must return spam.refuse.org.

If you don't have /etc/mail/yourhostname.domain.mc then you should cd 
to /etc/mail and type make, after you edited the file make all install 
restart

You also may want to define masquerading, like:
MASQUERADE_AS(`yourdomain.org')
MASQUERADE_DOMAIN(`internal.domain.sth')dnl
FEATURE(limited_masquerade)dnl
FEATURE(`masquerade_entire_domain')
FEATURE(`masquerade_envelope')

-Harry


 How do I configure my FreeBSD PC so, that sendmail
 thinks the PC has the official IP address/hostname
 provided by my ISP, which is actually used by the
 router?
 Or should I follow a different configuration scheme
 for achieving these goals?

 Thanks,
 Rob.



 __
 Do you Yahoo!?
 Yahoo! Personals - Better first dates. More second dates.
 http://personals.yahoo.com

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


pgp4rvJ465864.pgp
Description: PGP signature


Re: can i delete /stand ?

2005-04-02 Thread Chris
Gert Cuykens wrote:
On Apr 2, 2005 10:50 AM, Chris [EMAIL PROTECTED] wrote:
Gert Cuykens wrote:
On Apr 1, 2005 11:54 PM, Gert Cuykens [EMAIL PROTECTED] wrote:

On Apr 1, 2005 7:05 AM, Donald J. O'Neill [EMAIL PROTECTED] wrote:

On Thursday 31 March 2005 07:26 pm, Gert Cuykens wrote:

It bugs me...
NO, leave things as they are. If you delete all the things that have
been bugging you, you'll have an in-operative system. then what are you
going to do?

See the thing is i like /bin. /sbin is a bit to much but i can live
with it, i prefer one bin instead of two but /stand is just crossing
the line here :) You put it in bin or in sbin but thats it :)
The same reason my shuffled my /root into /usr/root/ and got rit of
the /usr/home/user and put it in /usr/user.
Are you trying to make FreeBSD look or feel like Linux? If so - stick
with Linux. Otherwise why are you tampering with it when you clearly
have no idea what you are doing.
--
Best regards,
Chris
When in doubt, mumble.
When in trouble, delegate.
When in charge, ponder.

I am not tampering with it i am modifying it :) You learn allot, just
close your eyes sroll trough the / directory and when you say stop
open your eyes again and try to move or delete the file. The
difference between a good and a bad os is the good one let you get
away with it by changing some stuff the bad os well just crashes :)

That is by far the most idiotic thing I have ever heard. Name me one OS 
that allows yoo to pull crap like that and not have issues.


--
Best regards,
Chris
If the faulty part is in stock, it didn't need replacing
in the first place.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports compile error cvsup (libtool15)

2005-04-02 Thread Gert Cuykens
On Apr 2, 2005 10:52 AM, Chris [EMAIL PROTECTED] wrote:
 Gert Cuykens wrote:
  On Mar 31, 2005 3:47 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
 
 I installed 5.3 base and ports on a new pc. Then i wanted to install
 cvsup-without-gui but it gives me a compile error at libtool15 ?
 
 Any ideas how to fix it ?
 
 
 
  how do you install base, ports and cvsup from cd ?
 
 Some advice (In a nice way) Read the Handbook
 (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html)
 
 Then, read it again, and finally - one last time. 80% of your questions
 can and will be answered if you only take the time to read, digest, and
 unsderstand.
  

Are you refering to this ?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-broken.html

Becuase now it works ?

PS So here i am thinking base and ports and just a little program like
cvsup would not ask much compiling time. (buzzer) MUEET!!!
(/buzzer) I dont know excatly how many dependency's cvsup has but it
has allot...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports compile error cvsup (libtool15)

2005-04-02 Thread Chris
Gert Cuykens wrote:
On Apr 2, 2005 10:52 AM, Chris [EMAIL PROTECTED] wrote:
Gert Cuykens wrote:
On Mar 31, 2005 3:47 AM, Gert Cuykens [EMAIL PROTECTED] wrote:

I installed 5.3 base and ports on a new pc. Then i wanted to install
cvsup-without-gui but it gives me a compile error at libtool15 ?
Any ideas how to fix it ?

how do you install base, ports and cvsup from cd ?
Some advice (In a nice way) Read the Handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html)
Then, read it again, and finally - one last time. 80% of your questions
can and will be answered if you only take the time to read, digest, and
unsderstand.

Are you refering to this ?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-broken.html
Becuase now it works ?
PS So here i am thinking base and ports and just a little program like
cvsup would not ask much compiling time. (buzzer) MUEET!!!
(/buzzer) I dont know excatly how many dependency's cvsup has but it
has allot...

If you don't like to compile - use the packages. If you don't know what 
they are, they are binaries. Mostly intended for the users that don't 
wish to deal with cvsuping the ports tree nor intend on useing the ports 
tree.

Packages are good for systems that have some what limited disk space. 
Also good for the user that does not wish to get to know FreeBSD.

--
Best regards,
Chris
The early worm deserves the bird.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Gert Cuykens
On Apr 2, 2005 7:06 PM, Chris [EMAIL PROTECTED] wrote:
 Gert Cuykens wrote:
  On Apr 2, 2005 10:50 AM, Chris [EMAIL PROTECTED] wrote:
 
 Gert Cuykens wrote:
 
 On Apr 1, 2005 11:54 PM, Gert Cuykens [EMAIL PROTECTED] wrote:
 
 
 On Apr 1, 2005 7:05 AM, Donald J. O'Neill [EMAIL PROTECTED] wrote:
 
 
 On Thursday 31 March 2005 07:26 pm, Gert Cuykens wrote:
 
 
 It bugs me...
 
 NO, leave things as they are. If you delete all the things that have
 been bugging you, you'll have an in-operative system. then what are you
 going to do?
 
 
 
 See the thing is i like /bin. /sbin is a bit to much but i can live
 with it, i prefer one bin instead of two but /stand is just crossing
 the line here :) You put it in bin or in sbin but thats it :)
 
 The same reason my shuffled my /root into /usr/root/ and got rit of
 the /usr/home/user and put it in /usr/user.
 
 Are you trying to make FreeBSD look or feel like Linux? If so - stick
 with Linux. Otherwise why are you tampering with it when you clearly
 have no idea what you are doing.
 
 --
 Best regards,
 Chris
 
 When in doubt, mumble.
 When in trouble, delegate.
 When in charge, ponder.
 
 
 
  I am not tampering with it i am modifying it :) You learn allot, just
  close your eyes sroll trough the / directory and when you say stop
  open your eyes again and try to move or delete the file. The
  difference between a good and a bad os is the good one let you get
  away with it by changing some stuff the bad os well just crashes :)
 
 
 
 That is by far the most idiotic thing I have ever heard. Name me one OS
 that allows yoo to pull crap like that and not have issues.
 

Freebsd does so far :) i already moved the /root directory delete some
/.hidenfiles and just about to get rit of /stand if Erick tells me my
single user mode will still work , and it is only needed by
sysinstall.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail

2005-04-02 Thread Gert Cuykens
On Apr 2, 2005 8:03 AM, Ben Munat [EMAIL PROTECTED] wrote:
 Gert Cuykens wrote:
 Just use the mail command. (the man page for mail is smaller)
 
 
  i read man mail and there is nothing about attachments in mail unless
  reading a file includes reading a movie file ?
 
 
 Why don't you just use your favorite mua to send it?  What about
 using something like icq, ymessenger, etc?
 
 
  Against my religion
 
  Any other mail clients that are a bit more teletubie because mail
  looks like is made by the same guy vi made.
 
 Not sure if you're asking for recommendations or just complaining about mail 
 programs, but...
 
 Do you have a mail program installed? What are you using to write your mails 
 to this list?
 Just use that to send the movie. If you're just using sendmail and that's the 
 problem, are
 you running a windowing envrionment? If so, kde and gnome come with mail 
 clients, I
 believe. Also, thunderbird is a good mail program from the mozilla folks. If 
 you're not
 running a windowing environment, pine and mutt are command line mail programs 
 that both do
 attachments (and how to do so is clearly indicated in the man page).
 
 b
 

I use gmail and for some reason it doesnt want to sent it ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: console mail client

2005-04-02 Thread Gert Cuykens
On Apr 2, 2005 8:21 AM, Wayne K9DI [EMAIL PROTECTED] wrote:
 On Sat, Apr 02, 2005 at 07:20:04AM +0200, Gert Cuykens wrote:
  So the one i could found where
 
  -elmo
  -cone
  -mutt
  -pine
  -mail
  ...SNIP...  Wich one do you use ?
 
 I use Mutt.  Mutt is a MUA, and needs to be used in conjunction with other 
 apps
 like fetchmail, and your choice of MTA (like exim, postfix and others).
 Procmail is a very handy mail filtering app.
 I was introduced to Mutt by a friend who is totally blind.
 
 Sincerely and Respectfully Yours
 
 Wayne M. Scace
 
 k9bsd (at) k9di (dot) org
 

so if i understand it corectly the hole mail thingie is based on

-a mail client (mutt) 
-a mail sender (sendmail)
-a mail storage (postfix)
-a mail receiver (fetchmail)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntpd and ntp.conf

2005-04-02 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-02, Chris scribbled these
curious markings:
 How do I manage to get a properly configured ntpd without giving the 
 whole world access to it?
 Thanks beforhand!
 
 Regards
 //Niclas

 man ntpd

Better yet, check out the Handbook section. Much easier to understand
than the manual.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCTtiyk/lo7zvzJioRAgjgAKCCkxa0d2mvEFs5+fBBtLpt9zuFJQCgk1j/
ahE3ffgtKE5lgXnqLwybSDc=
=A0bp
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: console mail client

2005-04-02 Thread Chris
Gert Cuykens wrote:
On Apr 2, 2005 8:21 AM, Wayne K9DI [EMAIL PROTECTED] wrote:
On Sat, Apr 02, 2005 at 07:20:04AM +0200, Gert Cuykens wrote:
So the one i could found where
-elmo
-cone
-mutt
-pine
-mail
...SNIP...  Wich one do you use ?
I use Mutt.  Mutt is a MUA, and needs to be used in conjunction with other 
apps
like fetchmail, and your choice of MTA (like exim, postfix and others).
Procmail is a very handy mail filtering app.
   I was introduced to Mutt by a friend who is totally blind.
Sincerely and Respectfully Yours
Wayne M. Scace
k9bsd (at) k9di (dot) org

so if i understand it corectly the hole mail thingie is based on
-a mail client (mutt) 
-a mail sender (sendmail)
-a mail storage (postfix)
-a mail receiver (fetchmail)
Not entirly ...
Mutt, pine, elm, etc. can be made to use your ISP's smtp and pop server 
(for example).

If you wish to run a mailserver, you need both pop and smtp servers 
(assuming you don't want to use imap etc.)

Mutt, Pine, Elm, mail - are mail clients.  The sending and rec. engines 
would be the likes of sendmail, postfix, qpopper, qmail, etc.

Fetchmail on the otherhand, is a device that pulls your mail from your 
ISP (for example) and brings it local.

--
Best regards,
Chris
If we learn by our mistakes,
I'm getting one hell of an education!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: *attaching* a file to /usr/bin/mail message

2005-04-02 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-02, Colin J. Raven scribbled these
curious markings:
 I'm not stuck with mail, I use it with some shell scriptsbut yeah, I 
 guess I could use muttthere's an idea I hadn't previously 
 considered.

If you're doing scripting, why not use an actual scripting language, and
some tools actually designed to do what you're trying to do? For
example, Perl has MIME::Lite, which does exactly what you want -- and
not much else. I've used it to automate sending email based on the
output of make test.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCTtoGk/lo7zvzJioRArQJAJ9JC2uM3P7+vHtChU3qhV/c0GBbIACgnObf
JXdlF8zucP10wfTfZGl5kDE=
=sflC
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: console mail client

2005-04-02 Thread Chris
Chris wrote:
Gert Cuykens wrote:
On Apr 2, 2005 8:21 AM, Wayne K9DI [EMAIL PROTECTED] wrote:
On Sat, Apr 02, 2005 at 07:20:04AM +0200, Gert Cuykens wrote:
So the one i could found where
-elmo
-cone
-mutt
-pine
-mail
...SNIP...  Wich one do you use ?

I use Mutt.  Mutt is a MUA, and needs to be used in conjunction with 
other apps
like fetchmail, and your choice of MTA (like exim, postfix and others).
Procmail is a very handy mail filtering app.
   I was introduced to Mutt by a friend who is totally blind.

Sincerely and Respectfully Yours
Wayne M. Scace
k9bsd (at) k9di (dot) org

so if i understand it corectly the hole mail thingie is based on
-a mail client (mutt) -a mail sender (sendmail)
-a mail storage (postfix)
-a mail receiver (fetchmail)

Not entirly ...
Mutt, pine, elm, etc. can be made to use your ISP's smtp and pop server 
(for example).

If you wish to run a mailserver, you need both pop and smtp servers 
(assuming you don't want to use imap etc.)

Mutt, Pine, Elm, mail - are mail clients.  The sending and rec. engines 
would be the likes of sendmail, postfix, qpopper, qmail, etc.

Fetchmail on the otherhand, is a device that pulls your mail from your 
ISP (for example) and brings it local.

If you are unsure what these do, one way is to go to the ports tree of 
these apps, read the Makefile or the pkg_desr.  Most of the time then 
have a URL listed where you might gain information in the forms of an 
FAQ, install process, etc.

--
Best regards,
Chris
At the end of the semester you will recall having
enrolled in a course at the beginning of the semester
-- and never attending.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Binary search to track down a problem

2005-04-02 Thread Phil Schulz
Hi!
 I am trying to track down a problem with my laptop which was 
introduced somewhere between the release of 5.2.1 and 5.3 most likely 
related to ACPI (the laptop does not shut itself off when running halt -p).

 Before complaining about the problem itself, I'd like to gather as 
much information as possible or maybe even fix it myself. Currently, I 
am trying to find out when exactly the problem started with a method 
others have described as the 'binary search aproach' in the past.

 I have set up a jail environment with make installworld DESTDIR=... 
and with sources checked out from CVS. Inside the jail, I rebuild world, 
install world, build the kernel and install the kernel (still inside the 
jail). Then, from the host system, I copy the kernel from the jail's 
root directory to /boot and reboot to see whether or not the problem 
still is there.
 Then, I delete /usr/src from the jail and checkout the sources from 
the appropriate date and do the full buildworld, installworld, 
buildkernel and installworld again.

 Since rebuilding world and kernel including the clean step takes an 
awful long time I am wondering if there is something I can do to speed 
things up a bit?

 I am not so much worried about going from older to newer sources since 
this case can be handled by following /usr/src/UPDATING closely but 
rather the other way around. I have tried to manually build and install 
/usr/sbin/config inside the jail with a 5.3-Stable world and then build 
the older 5.2.1 kernel only. However I ran into some make errors so I 
figured I will go the fail safe path but that path really annoys me due 
to its slowness.

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


Re: ndis0 no carrier

2005-04-02 Thread Fabian Keil
Mathias Bergqvist [EMAIL PROTECTED] wrote:

 on my Dell D800 with FreeBSD 5.3 RELEASE I've managed to build and load the 
 ndis modules, and gotten as far as the ndis0 device showing up on ifconfig.
 
 However, I can't seem to get a 'carrier tone', and the SSID doesn't stick. I 
 actually have a DHCP server, so eventually I want to move the ifconfig-stuff 
 to dhclient.conf but for now I just want to get the status to change for the 
 device. Does anybody have a clue about what I'm missing or doing wrong here?
 
  dmesg
 ndis0: Dell TrueMobile 1400 Dual Band WLAN Mini-PCI Card mem 
 0xfafec000-0xfafedfff irq 5 at device 3.0 on pci2
 ndis0: NDIS API version: 5.1
 ndis0: Ethernet address: 00:90:4b:62:47:92
 ndis0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps
 ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps
 
  ifconfig ndis0 inet IP netmask 255.255.0.0 http://255.255.0.0 ssid 
 SSID nwkey KEY channel 11
 ifconfig: ioctl (SIOCAIFADDR): File exists

I don't get what you mean with http://255.255.0.0 , but I think your
ifconfig parameters are wrong. I use

ifconfig ndis0 ssid ec60bfg3b4 wepkey 1:0x12345678911234567891123456 wepmode on

to set up the encryption, then

ifconfig ndis0 inet 192.168.1.49

to set the IP.

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


Re: sendmail

2005-04-02 Thread Ben Munat
Gert Cuykens wrote:
On Apr 2, 2005 8:03 AM, Ben Munat [EMAIL PROTECTED] wrote:
Gert Cuykens wrote:
Just use the mail command. (the man page for mail is smaller)

i read man mail and there is nothing about attachments in mail unless
reading a file includes reading a movie file ?

Why don't you just use your favorite mua to send it?  What about
using something like icq, ymessenger, etc?

Against my religion
Any other mail clients that are a bit more teletubie because mail
looks like is made by the same guy vi made.
Not sure if you're asking for recommendations or just complaining about 
mail programs, but...
Do you have a mail program installed? What are you using to write your mails to 
this list?
Just use that to send the movie. If you're just using sendmail and that's the 
problem, are
you running a windowing envrionment? If so, kde and gnome come with mail 
clients, I
believe. Also, thunderbird is a good mail program from the mozilla folks. If 
you're not
running a windowing environment, pine and mutt are command line mail programs 
that both do
attachments (and how to do so is clearly indicated in the man page).
b

I use gmail and for some reason it doesnt want to sent it ?
Sorry... remember you saying that... and duh, I could look at the email 
address.
I'd just install pine or mutt.
b
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Some kind of intranet update system for FreeBSD?

2005-04-02 Thread Andrew P.
Hello!
I know this has been brought up a number of times
and I doubt that it is the right place to post to
or even a right subject to raise, but still.
It seems we lack some update system in FreeBSD. I
have only 2 freebsd boxes, one serving as an
internet gateway for the other. And whenever I want
to update the latter one, I think about all the
traffic that I'm gonna waste and CPU time to build
and my own time to get some distros from one machine
to another.
I dream about a server running on my main machine,
which gets queries from intranet freebsd boxes that
want to be updated. The server negotiates with each
client and acts as requested:
1.1) fetches a binary package, or
1.2) fetches a source package, or
1.3) finds a binary/source in its cache, and
2)   builds a package if needed, and
3)   gives binary/source to the client
Is that so difficult? C'mon guys, just one step
forward to perfection :)
Very best wishes,
Andrew P.
P.S.: M$ SUS 1.x sucks so hard that I can't even
find the right words to describe it. Sorry :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which mail server is the best for me?

2005-04-02 Thread Bob Johnson
On Saturday 02 April 2005 04:09 am, Kiffin Gish wrote:
 I would like to setup a mail server but am a little confused about whether
 to use sendmail, qmail, postfix or whatever. Basically my web server is a
 simple one to be used for personal use with maybe no more than a 10-20 mail
 accounts.

 What are the advantages and/or disadvantages of each choice, and where can
 I find more information comparing them?

I prefer Courier.  It is similar to qmail, but it doesn't require all the 
patching that it takes to make qmail usable.  And unlike qmail, it attempts 
to comply with email standards.  

http://www.courier-mta.org

/usr/ports/mail/courier

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


Re: console mail client

2005-04-02 Thread Glyn Millington
Gert Cuykens [EMAIL PROTECTED] writes:

 so if i understand it corectly the hole mail thingie is based on

 -a mail client (mutt) 
 -a mail sender (sendmail)
 -a mail storage (postfix)
 -a mail receiver (fetchmail)

As Chris said, not quite.

The place to _begin_ on all this is is the Handbook

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-using.html

I'm assuming you are on a  machine linking to an ISP's smtp and pop3
servers?

To set up e-mail as God intended what you need in brief is

A. A mail transport agent - sendmail OR postfix, (or exim or even qmail)
but not both.  This will hand off the e-mail once you have posted it and
will take care of one part of its journey into your computer/s.

B. A Mail reader/composer, an MUA, mail user agent.  Lots of these to
choose from, mutt or elm being old standbyes.

C. Something to fetch the mail if you are using your ISP's pop3 server
   Fetchmail is good.

D. Something to sort the mail - procmail is a good mail processor


Coming in the process  is something like:-


Fetchmail - sendmail/postfix - procmail - mutt

There are opportunities for filtering spam at different points in this
chain.

The outward move is simpler

mutt - sendmail - your ISP


OR   you can use something like Mozilla Thunderbird which is an
all-in-one mail system by itself, and is possibly easier to set up.

Good luck!

atb






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


Re: can i delete /stand ?

2005-04-02 Thread Danny Pansters
snip

   I am not tampering with it i am modifying it :) You learn allot, just
   close your eyes sroll trough the / directory and when you say stop
   open your eyes again and try to move or delete the file. The
   difference between a good and a bad os is the good one let you get
   away with it by changing some stuff the bad os well just crashes :)
 
  That is by far the most idiotic thing I have ever heard. Name me one OS
  that allows yoo to pull crap like that and not have issues.

 Freebsd does so far :) i already moved the /root directory delete some
 /.hidenfiles and just about to get rit of /stand if Erick tells me my
 single user mode will still work , and it is only needed by
 sysinstall.

I suggest /sbin now and at a later stage /boot. There's already a /bin, right, 
who needs an /sbin. Do keep /usr/doc and /usr/share/man for emergencies.

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


5.3 auto starting NFS by error

2005-04-02 Thread bob
I just installed 5.3 production release version and did not select
nfs server or nfs client during the install but nfs still gets
installed.
When I issue the ps -x  command I see that nsfiod 0, 1, 2 ,4 is
running.

Is this still part of a dirty release process?
This is consuming unnecessary system resources.
I though this was reported as bug during 5.0 development?
What gives here???
Am I  missing some technical reason for NFS being forced on the
default install process.

Shouldn't  this simple install error have this been corrected before
5.3 left development??



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


Re: can i delete /stand ?

2005-04-02 Thread Dick Hoogendijk
On 02 Apr Danny Pansters wrote:

 I suggest /sbin now and at a later stage /boot. There's already a
 /bin, right, who needs an /sbin. Do keep /usr/doc and /usr/share/man
 for emergencies.

LOL*

But I don't think our guy is gonna understand your humorous reply.
Personally I hardly can believe he is really /this/ dumb, but after
reading lots of his words, I'm not sure anymore. He's even worse than
Anthony (he knew some things). This guy knows nothing and pretents to be
willing to learn. I doubt that.

Has he read manuals? Has he read the handbook as suggested? Don't think
so. He's fooling around; he's fooling us.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Chris
Danny Pansters wrote:
snip
I am not tampering with it i am modifying it :) You learn allot, just
close your eyes sroll trough the / directory and when you say stop
open your eyes again and try to move or delete the file. The
difference between a good and a bad os is the good one let you get
away with it by changing some stuff the bad os well just crashes :)
That is by far the most idiotic thing I have ever heard. Name me one OS
that allows yoo to pull crap like that and not have issues.
Freebsd does so far :) i already moved the /root directory delete some
/.hidenfiles and just about to get rit of /stand if Erick tells me my
single user mode will still work , and it is only needed by
sysinstall.

I suggest /sbin now and at a later stage /boot. There's already a /bin, right, 
who needs an /sbin. Do keep /usr/doc and /usr/share/man for emergencies.

Dan
Are we to assume you are joking?
--
Best regards,
Chris
The longer you wait in line, the greater the
likelihood that you are standing in the wrong line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Danny Pansters
On Saturday 02 April 2005 22:24, Chris wrote:
 Are we to assume you are joking?

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


Re: can i delete /stand ?

2005-04-02 Thread Chris
Danny Pansters wrote:
On Saturday 02 April 2005 22:24, Chris wrote:
Are we to assume you are joking?

Yes. 
I did like the idea of rm -r /boot
--
Best regards,
Chris
The only game that can't be fixed is peek-a-boo.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Joshua Tinnin
On Saturday 02 April 2005 08:56, Gert Cuykens [EMAIL PROTECTED] 
wrote:
 On Apr 2, 2005 10:50 AM, Chris [EMAIL PROTECTED] wrote:
  Gert Cuykens wrote:
   On Apr 1, 2005 11:54 PM, Gert Cuykens [EMAIL PROTECTED] 
wrote:
  On Apr 1, 2005 7:05 AM, Donald J. O'Neill 
[EMAIL PROTECTED] wrote:
  On Thursday 31 March 2005 07:26 pm, Gert Cuykens wrote:
  It bugs me...
  
  NO, leave things as they are. If you delete all the things that
   have been bugging you, you'll have an in-operative system. then
   what are you going to do?
  
   See the thing is i like /bin. /sbin is a bit to much but i can
   live with it, i prefer one bin instead of two but /stand is just
   crossing the line here :) You put it in bin or in sbin but thats
   it :)
  
   The same reason my shuffled my /root into /usr/root/ and got rit
   of the /usr/home/user and put it in /usr/user.
 
  Are you trying to make FreeBSD look or feel like Linux? If so -
  stick with Linux. Otherwise why are you tampering with it when you
  clearly have no idea what you are doing.
 
  --
  Best regards,
  Chris
 
  When in doubt, mumble.
  When in trouble, delegate.
  When in charge, ponder.

 I am not tampering with it i am modifying it :) You learn allot, just
 close your eyes sroll trough the / directory and when you say stop
 open your eyes again and try to move or delete the file. The
 difference between a good and a bad os is the good one let you get
 away with it by changing some stuff the bad os well just crashes :)

Gert, seriously, what on earth are you doing? I've seen you on this list 
for a while ... has someone broken into your mail account and is 
writing these messages, posing as you?

If not, I sort of understand your point, as in the general curiosity of 
hacking a system, but I'm not sure what you're trying to accomplish. 
There should at least be a goal or purpose to this, right?

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


blanking the console

2005-04-02 Thread dick hoogendijk
OK, probably a stupid question. I can't find it though. Sorry.
How can I blank the screen on the console (terminal). 
Something like the linux setterm -blank 60 which will blank the screen
after 60 seconds of inactivity. There must be a (freebsd) equivalent,
but what is it?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Erik Nørgaard
Gert Cuykens wrote:
You might want to check your init_path in loader.conf, in
/boot/defaults/loader.conf it is set to
  /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall
it would be sensible to replace /stand/sysinstall by /rescue/init
What happens if i leave /stand/sysinstall and put nothing in return ?
How will singel user look like ?
The same. /stand/sysinstall starts the installer, it's the last thing 
the loader will try if everything else fail, then it must be because you 
have no system and would like to install one - right? But then, you 
might as well use an install disc.

Asuming you have a working system there is really no use for /stand. All 
the files in /stand are hardlinks to the /stand/boot_crunch file.

Some people like sysinstall as a postconfiguration tool, and documen-
tation refers to this. But you can run it from /usr/sbin/sysinstall
On the other hand it surprises me that /rescue/init is not in the 
init_path, for system recovery it is far more usefull than sysinstall, 
it will give you a single user like system with a shell.

So, if you can't stand /stand - go ahead delete it - but don't sue me if 
you some day need it :-)

Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread dick hoogendijk
On Sat, 02 Apr 2005 23:13:11 +0200
Erik Nørgaard [EMAIL PROTECTED] wrote:

 Some people like sysinstall as a postconfiguration tool, and documen-
 tation refers to this. But you can run it from /usr/sbin/sysinstall

I can't. Nor have I something like '/rescue/init'
So I assume you're taking me (us?) on?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: blanking the console

2005-04-02 Thread Emanuel Strobl
Am Samstag, 2. April 2005 23:11 schrieb dick hoogendijk:
 OK, probably a stupid question. I can't find it though. Sorry.
 How can I blank the screen on the console (terminal).

Hmmm, clear is not what you mean?

 Something like the linux setterm -blank 60 which will blank the screen
 after 60 seconds of inactivity. There must be a (freebsd) equivalent,

If you mean a screensaver, that can be done with `vidcontrol -t 60` or per 
config file in /etc/rc.conf blanktime=60 but you have to define a 
screensaver before. For example with saver=blank in /etc/rc.conf.
For a list see `ls -l /boot/kernel/*_saver.ko`

-Harry

 but what is it?


pgpX8J80OD91m.pgp
Description: PGP signature


Building /stand from /usr/src

2005-04-02 Thread patrick
How does one build all of the goodies in /stand from /usr/src? I have
a FreeBSD system that was originally installed with FreeBSD 4.7. I've
upgraded the system to 4.11 using cvsup and make world, but
/stand/sysinstall still seems to think it's on a 4.7 system, and tries
to find files on remote FTP server in the 4.7 trees.

Thanks,

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


Re: blanking the console

2005-04-02 Thread Lars Eighner
On Sat, 2 Apr 2005, dick hoogendijk wrote:
OK, probably a stupid question. I can't find it though. Sorry.
How can I blank the screen on the console (terminal).
Something like the linux setterm -blank 60 which will blank the screen
after 60 seconds of inactivity. There must be a (freebsd) equivalent,
but what is it?

kldload blank_saver
   (loads the blank screensaver kernel module)
vidcontrol -t N
   (sets the timeout time to N seconds)
You can set these as boot-up default using
/stand/sysinstall .  Look for post-install configuration,
console.
--
Lars Eighner
[EMAIL PROTECTED]
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3 auto starting NFS by error

2005-04-02 Thread Kris Kennaway
On Sat, Apr 02, 2005 at 03:18:56PM -0500, [EMAIL PROTECTED] wrote:
 I just installed 5.3 production release version and did not select
 nfs server or nfs client during the install but nfs still gets
 installed.
 When I issue the ps -x  command I see that nsfiod 0, 1, 2 ,4 is
 running.
 
 Is this still part of a dirty release process?
 This is consuming unnecessary system resources.
 I though this was reported as bug during 5.0 development?
 What gives here???
 Am I  missing some technical reason for NFS being forced on the
 default install process.
 
 Shouldn't  this simple install error have this been corrected before
 5.3 left development??

Try to calm down, and give us enough details to investigate your
problem, e.g. a copy of your /etc/rc.conf.

Kris



pgp918oU8rGWn.pgp
Description: PGP signature


Re: Building /stand from /usr/src

2005-04-02 Thread dick hoogendijk
On Sat, 2 Apr 2005 13:23:01 -0800
patrick [EMAIL PROTECTED] wrote:

 How does one build all of the goodies in /stand from /usr/src? I have
 a FreeBSD system that was originally installed with FreeBSD 4.7. I've
 upgraded the system to 4.11 using cvsup and make world, but
 /stand/sysinstall still seems to think it's on a 4.7 system, and tries
 to find files on remote FTP server in the 4.7 trees.

From the handbook:

19.4.12 Update /stand

# cd /usr/src/release/sysinstall
# make all install

Note: This step is included only for completeness. It can safely be
omitted

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfilter problems

2005-04-02 Thread Erik Nørgaard
Angelin Lalev wrote:
Two days ago I've switched the firewall on my FreeBSD 5.3 RELEASE
router from ipfw to ipfilter.  The  firewalls are not my speciality
and ipfilter looked simplier way to do NAT with firewall, because
it separates NAT rules from filtering rules.
The router has two interfaces rl0 (192.168.0.254/24) and rl1 
(82.137.64.106/29, 192.168.5.1/24, 10.1.6.2/24).
The ipfilter is compiled in kernel:
==
options IPFILTER
options IPFILTER_LOG
options IPFILTER_DEFAULT_BLOCK

/etc/ipnat.conf

map rl1 192.168.0.1/27 - 82.137.64.106/32
/etc/ipf.rules

pass in quick on lo0
pass out quick on lo0
pass out quick on rl0 all
pass in quick on rl0 all
pass in quick on rl1 proto tcp from 192.168.5.1/24 to 192.168.5.1 port = 
80 flags S keep state
pass in quick on rl1 proto tcp from 192.168.5.1/24 to 192.168.5.1 port = 
3128 flags S keep state
# local counter-strike server. No NAT.
pass in quick on rl1 from 192.168.5.1/24 to 192.168.0.50 keep state
block in quick on rl1 from 192.168.5.1/24 to any
pass out quick on rl1 all keep state

The problem

On 192.168.0.0/24 network I have 6 machines. The router itself is an old
166 MHz Pentium box, but load averages are not bigger than 10%. When one 
of the machins makes dns lookup (the dns server is on outside - 
62.73.78.2) it fails with timeout in about 9 of 10 times.
ipfstat -t shows that a rule is created - something like this:
Source IP  Dest IPST   PR
pkts.bytes 192.168.0.4,1029  62.73.78.2,53  0/0  udp  
165   9992 
Any help will be appreciated.
Well, the short answer is: there is no keep state in the line
  pass in quick on rl0 all
the dns reply you get back times out because your default rule is block 
and there is nowhere in the in rules for rl1 that allows the reply back.

Some recomendations:
1) I have a bit of dificulty understanding your network setup - why do 
you have two private networks on your external interface? May scetch in 
a diagram.

2) Having default block can be done by adding the rules
   block in all
   block out all
   in the op of the ruleset rather than compile in the kernel. It makes
   it explicit. It also means that you can connect if no rules are
   pressent - this is usefull for installing while the machine is behind
   a gateway.
   Anyway, with your pass in all rules, you have almost effectively
   disabled the default block anyway.
2) For your security, in all pass rules, state from and to even if
   it is any it makes it more explicit. Split on protocols for
   security and control.
3) At least when setting up your firewall, use log in all block rules
   and enable ipmon, then you can see where your packets are blocked.
4) Use groups to structure your rules, and group them accordingly
   visually. It makes them easier to manage and for large rulesets
   optimises the firewall.
5) Always keep state! Doing so, all out rules only apply to the
   gateway itself, it makes the ruleset shorter and firewall faster.
6) You probably want to enable the ftp-proxy in your nat-rule and define
   which port-ranges are used for nat'ed connections.
and a lot more you'll learn along the way :-)
Erik

--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Danny Pansters
On Saturday 02 April 2005 23:19, dick hoogendijk wrote:
 On Sat, 02 Apr 2005 23:13:11 +0200

 Erik Nørgaard [EMAIL PROTECTED] wrote:
  Some people like sysinstall as a postconfiguration tool, and documen-
  tation refers to this. But you can run it from /usr/sbin/sysinstall

 I can't. Nor have I something like '/rescue/init'

-STABLE (5.X) does or should. What used to be /stand is now (sort of) /rescue.
If you have 4.X you'll still have /stand. If you updated through cvsup for a 
long time you might have both. In that case /stand is indeed a leftover. The 
sysinstall binary was moved to /usr/bin. /rescue is in principle independent 
of sysinstall. They're statically compiled binaries that can be used in case 
your (now dynamic, that is linked to libraries residing elsewhere, not with 
libraries built-in) root is broken or so. You could run, e.g. /rescue/ls. 
Everything in /rescue is the same statically built binary but they're not the 
same as the sysinstall binary. With 4.X this was so but not anymore with 5.X.

Hope that clarified,

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


Re: can i delete /stand ?

2005-04-02 Thread Erik Nørgaard
dick hoogendijk wrote:
Some people like sysinstall as a postconfiguration tool, and documen-
tation refers to this. But you can run it from /usr/sbin/sysinstall
I can't. Nor have I something like '/rescue/init'
So I assume you're taking me (us?) on?
I don't know which system you're on. Both are present on 5.3 and -CURRENT.
Now, it's some time ago I installed, it may be added later as I have 
rebuilt my world with updated sources.

Anyway, regarding /stand/sysinstall, you can safely delete it unless you 
use it for configuration/installation tasks.

Now, I just looked at the dates on my directories, it seems a new /stand 
was installed last time I installed world - so you'll have to get rid of 
it again and again :-)

Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Erik Nørgaard
Chris wrote:
I did like the idea of rm -r /boot
I hate that / in the beginning - can I get rid of it by 'rm -r /'?
Really, while I can sometimes find it intertaining to wonder and discuss 
the reasons for whatever wierdness people my prefer, and see the 
discussion to go off track. I think we should just answer the question 
and if you can't do that, let it go.

Some people want to order their socks according to colour, and if they 
are out of order their life is a missery. If this kind of person comes 
to me and ask if he can order his sock drawer according to colour, I'd 
say sure, your sock drawer will function perfectly with your socks 
ordered according to colour - as long as I can keep mine disordered 
according to your scheme.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some kind of intranet update system for FreeBSD?

2005-04-02 Thread Lowell Gilbert
Andrew P. [EMAIL PROTECTED] writes:

 I know this has been brought up a number of times
 and I doubt that it is the right place to post to
 or even a right subject to raise, but still.
 
 It seems we lack some update system in FreeBSD. I
 have only 2 freebsd boxes, one serving as an
 internet gateway for the other. And whenever I want
 to update the latter one, I think about all the
 traffic that I'm gonna waste and CPU time to build
 and my own time to get some distros from one machine
 to another.
 
 I dream about a server running on my main machine,
 which gets queries from intranet freebsd boxes that
 want to be updated. The server negotiates with each
 client and acts as requested:
   1.1) fetches a binary package, or
   1.2) fetches a source package, or
   1.3) finds a binary/source in its cache, and
   2)   builds a package if needed, and
   3)   gives binary/source to the client
 
 Is that so difficult? C'mon guys, just one step
 forward to perfection :)

Are you able to run NFS?

If you share /usr/ports across all the machines, and build packages on
the main server, everything will work pretty much the way you
described...


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 5.3 auto starting NFS by error

2005-04-02 Thread bob
My rc.conf only contains the default serial mouse statements and the
usbd_enable statement.

I also get this msg in the boot log  Mounting NFS file systems

The only way to stop the 4 nfsoid tasks is issue a kill command on
their task number every time you boot the system  or recompile the
kernel and remove the nfs statements in the kernel source.

Answering no to the 2 questions in stand/sysinstall about nfs client
and server should have prevented those nfs tasks from starting at
boot time like in the 4.x releases.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kris
Kennaway
Sent: Saturday, April 02, 2005 4:32 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: 5.3 auto starting NFS by error

On Sat, Apr 02, 2005 at 03:18:56PM -0500, [EMAIL PROTECTED] wrote:
 I just installed 5.3 production release version and did not select
 nfs server or nfs client during the install but nfs still gets
 installed.
 When I issue the ps -x  command I see that nsfiod 0, 1, 2 ,4 is
 running.

 Is this still part of a dirty release process?
 This is consuming unnecessary system resources.
 I though this was reported as bug during 5.0 development?
 What gives here???
 Am I  missing some technical reason for NFS being forced on the
 default install process.

 Shouldn't  this simple install error have this been corrected
before
 5.3 left development??

Try to calm down, and give us enough details to investigate your
problem, e.g. a copy of your /etc/rc.conf.

Kris

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


Help getting connected

2005-04-02 Thread Al
Ok, I have built the ndis and if_ndis as described in
the handbook. I have brought the interface up with:

ifconfig ndis0 up ssid NAME wepmode on wepkey KEY

It seens fine, except my IP address still shows up as
0.0.0.0. Also, I have to use DHCP.

How would I bring the two NDIS modules at boot time,
and set the ssid and wep key also using DHCP to get my
IP address.

I did create a file named /etc/resolv.conf with the
following data:

domain comcast.net
nameserver x.x.x.x
nameserver x.x.x.x

What am I missing?

ADjr



__ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pf synproxy and fragments

2005-04-02 Thread J65nko BSD
On Apr 2, 2005 12:18 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 I'm running 5.3 stable.
 I've recently switched from ipfilter to pf to take advantage of the
 traffic shaping, and I've run into something I don't understand.
 
 I read the documentation on the synproxy option and it sounded good to me,
 so I replaced my keep state rules with synproxy state.
 
 After doing this, I noticed that my filesharing programs stopped
 downloading.  I switched back to keep state for the rules that handled
 my filesharing traffic and the problem went away.
 
 Today my brother called and told me that he couldn't get to my website
 anymore because his firewall said that my http service was sending a
 fragment attack.  I replaced synproxy state with keep state for the
 rules pertaining to httpd and the problem went away.
 
 Specifically, the http traffic rule was (formatted):
 pass in quick on $ext_if proto tcp from any to any port 80 flags S/SAFR
 synproxy state queue(http_out,ack_out)
 
 Having tried a few other firewalls in the past, I know that some of them
 don't like fragmented packets at all.
 
 This week's events make me believe that pf's synproxy option is causing my
 server to send out fragments, and those fragments aren't well-received.
 Is this normal with synproxy?  Am I misusing synproxy?  Is this just a
 coincidence?
 

In http://archives.neohapsis.com/archives/openbsd/2005-03/2760.html
somebody reported a similar problem. Maybe you could try his
solution by leaving out  flags S/SAFR

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


video resolution with kde

2005-04-02 Thread Brian Kinsey
I just installed FreeBSD 5.3 on my laptop (Dell Latitude D600) and set up
KDE 3.3. When I go into the desktop configuration, the only screen size I
have is 640x480. What do I need to do to get a higher resolution?

I believe the video card is an ATI Mobility Radeon 9000, but I can't seem to
find FreeBSD drivers for it.

Sorry if I didn't include enough info here, I am very new to this.

Thanks,
Brian


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


RE: ipmon logging

2005-04-02 Thread bob
After testing with 5.3 on my workbench box it seems that ipfilter
has changed between 4.11 and 5.3. The syslog.conf logging statement
oflocal0.*   /var/log/security   is only valid for the
ipfilter in the 4.x versions of Freebsd.
security.*   /var/log/security is only valid for the
ipfilter in the 5.3 version and greater of Freebsd.


The official handbook is written for 4.11 release.  It needs to be
updated for the 5.3  5.4 releases



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, April 01, 2005 3:12 PM
To: [EMAIL PROTECTED]
Subject: RE: ipmon logging

from the FAQ:
1. # I have IPMon logging to syslog, but syslog doesn't log
anything, why not?

IPF logs as local0 so you'll want something to the effect of:
local0.debug /var/log/ipf.log
in your syslog.conf. NOTE: There has to be atleast one TAB in
that line, not just spaces.

It doesnt do this though, I think, I could mistaken.  In my rc.conf
file I have ipmon_flags=Ds and the line in syslog.conf from above
(I've also tried local0.*  /var/log/ipf.log in syslog.conf) which
should do what it says above.  All this is documented in the
Handbook.  However, ipmon uses the security facility instead of
local0.  This means that whenever something is logged by ipmon, it
gets loged to /var/log/security.  If I change ipmon_flags=Ds to
ipmon_flags=D /var/log/ipf.log it works perectly.  However, when
newsyslog rotates the file when it gets to 100k, ipmon stops
logging.  When I run nmap I normaly get a bunch of stuff logged.
When newsyslog rotates the file it adds logfile turned over due
to..., and then nothing gets logged after that.  So I know that it
stops logging after newsyslog rotates the log.  I've been reading
through the newsyslog.conf man page, but I'm not sure what I'm
looking for.


 There is a new write up of IPF in the official manual that
explains
 in detail how to get ipmon to log to separate file.

 You have to give more technical details about what you have done.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED]
 Sent: Friday, April 01, 2005 1:50 PM
 To: freebsd-questions@freebsd.org
 Subject: ipmon logging

 According to every website I've read so far ipmon uses local0 as
the
 facility name.  However, on my FreeBSD 5.3-RELEASE-p5 box, it logs
 to the security facility.  The man page (in both 5.2.1 and 5.3)
for
 ipmon, with -s for logging to syslog says, The default facility
 when compiled and installed is security.  Can anyone explain
this?
 I'd like ipmon to log to a separate file so it doesn't fill up the
 security log.  I've tried having ipmon log directly to a file, and
 not using syslog, but it stops logging when newsyslog rotates the
 file.  Does anyone have any suggestions on what I could or should
 do?

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


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


Re: file mode on dynamicly created cua/tty devices

2005-04-02 Thread Randy Primeaux
Roland, thanks.  Kris, I'd read man devfs, but couldn't wrap my head
around it in the time available.  The comments in this email are for
the benefit of future readers.

I solved my issue my implementing a ruleset as Roland had suggested in
his webpage, and applied the ruleset.  And yes, the man page helped me
through this process.

* 
/etc/devfs.rules

[chuck_usb=10]
add path 'da*' mode 0660 group usb
add path 'cua*' mode 0666
*
/etc/rc.conf

# Set the default devfs ruleset.
devfs_system_ruleset=chuck_usb
*
This is a sample of what I did at the commandline.

# /sbin/devfs rule -s 10 add path 'cua*' mode 0666
# /sbin/devfs ruleset 10 apply
# ls -laF /dev/cua*
crw-rw-rw-  1 root  wheel   12, 152 Apr  2 14:00 /dev/cuaU0
crw-rw-rw-  1 root  wheel   12, 155 Apr  1 00:38 /dev/cuaU0.init
crw-rw-rw-  1 root  wheel   12, 154 Apr  1 00:38 /dev/cuaU0.lock
crw---  1 root  wheel   12,  70 Apr  1 00:38 /dev/cuad0
crw---  1 root  wheel   12,  65 Apr  1 00:38 /dev/cuad0.init
crw---  1 root  wheel   12,  64 Apr  1 00:38 /dev/cuad0.lock


I wasn't able to correctly add path directly.

#devfs add path 'cua*' mode 0666
devfs: unknown command: add

# devfs rule add path 'cua*' mode 0666
devfs rule: ioctl DEVFSIO_RADD: Input/output error


Now I can hotsync and backup my Palm with Kpilot.  Yay!


On Apr 2, 2005 1:10 AM, Roland Smith [EMAIL PROTECTED] wrote:
 On Fri, Apr 01, 2005 at 08:12:05PM -0800, Randy Primeaux wrote:
  How do I set file mode to 0666 on dynamicly created devices, such as
  cua* and tty* ?
 
 With devfs(8). To set the permissions from the command line, use
 
 devfs add path 'cua*' mode 0666
 
 This setting is lost at reboot, unless you put it in
 /etc/devfs.rules. See my freebsd page at
 http://www.xs4all.nl/~rsmith/freebsd/ for a more thorough explenation.
 
 Roland
 --
 R.F. Smith   /\ASCII Ribbon Campaign
 r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
 http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
 public key: http://www.keyserver.net / \Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Gert Cuykens
FX-53R rm -r /stand
FX-53R ls
bin cdrom   dev entropy lib mnt rescue  sys usr
bootcompat  distetc libexec procsbintmp var
FX-53R 

Doesnt this look much better :)

Next what do i have to do to remove /compat  /sys and /rescue ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Gert Cuykens
On Apr 3, 2005 2:42 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
 FX-53R rm -r /stand
 FX-53R ls
 bin cdrom   dev entropy lib mnt rescue  sys usr
 bootcompat  distetc libexec procsbintmp var
 FX-53R
 
 Doesnt this look much better :)
 
 Next what do i have to do to remove /compat  /sys and /rescue ?
 oh i forgot /cdrom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Chris
Gert Cuykens wrote:
FX-53R rm -r /stand
FX-53R ls
bin cdrom   dev entropy lib mnt rescue  sys usr
bootcompat  distetc libexec procsbintmp var
FX-53R 

Doesnt this look much better :)
Next what do i have to do to remove /compat  /sys and /rescue ?

Dont forget rm -r /boot
--
Best regards,
Chris
An optimist is a person who looks forward to marriage.
A pessimist is a married optimist!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Gert Cuykens
On Apr 3, 2005 2:46 AM, Chris [EMAIL PROTECTED] wrote:
 Gert Cuykens wrote:
  FX-53R rm -r /stand
  FX-53R ls
  bin cdrom   dev entropy lib mnt rescue  sys usr
  bootcompat  distetc libexec procsbintmp var
  FX-53R
 
  Doesnt this look much better :)
 
  Next what do i have to do to remove /compat  /sys and /rescue ?
 
 
 
 Dont forget rm -r /boot
 

but i like /boot :) maybe i can rename it later to /freebsd but first
i want to get rit of /cdrom /compat /sys /rescue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ipmon logging

2005-04-02 Thread as2sb3100
I figured it was something like that.  I read the man page for newsyslog and 
well not knowing very much about proccesses and stuff, I just skipped over the 
pid part.   After doing some reading I figured out I had to put in the path to 
the pid.  Now when newsyslog rotates the log file it restarts (or relaods or 
something) ipmon.  RTFM realy helps.


 After testing with 5.3 on my workbench box it seems that ipfilter
 has changed between 4.11 and 5.3. The syslog.conf logging statement
 oflocal0.*   /var/log/security   is only valid for the
 ipfilter in the 4.x versions of Freebsd.
 security.*   /var/log/security is only valid for the
 ipfilter in the 5.3 version and greater of Freebsd.
 
 
 The official handbook is written for 4.11 release.  It needs to be
 updated for the 5.3  5.4 releases
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 01, 2005 3:12 PM
 To: [EMAIL PROTECTED]
 Subject: RE: ipmon logging
 
 from the FAQ:
 1. # I have IPMon logging to syslog, but syslog doesn't log
 anything, why not?
 
 IPF logs as local0 so you'll want something to the effect of:
 local0.debug /var/log/ipf.log
 in your syslog.conf. NOTE: There has to be atleast one TAB in
 that line, not just spaces.
 
 It doesnt do this though, I think, I could mistaken.  In my rc.conf
 file I have ipmon_flags=Ds and the line in syslog.conf from above
 (I've also tried local0.*  /var/log/ipf.log in syslog.conf) which
 should do what it says above.  All this is documented in the
 Handbook.  However, ipmon uses the security facility instead of
 local0.  This means that whenever something is logged by ipmon, it
 gets loged to /var/log/security.  If I change ipmon_flags=Ds to
 ipmon_flags=D /var/log/ipf.log it works perectly.  However, when
 newsyslog rotates the file when it gets to 100k, ipmon stops
 logging.  When I run nmap I normaly get a bunch of stuff logged.
 When newsyslog rotates the file it adds logfile turned over due
 to..., and then nothing gets logged after that.  So I know that it
 stops logging after newsyslog rotates the log.  I've been reading
 through the newsyslog.conf man page, but I'm not sure what I'm
 looking for.
 
 
  There is a new write up of IPF in the official manual that
 explains
  in detail how to get ipmon to log to separate file.
 
  You have to give more technical details about what you have done.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of
  [EMAIL PROTECTED]
  Sent: Friday, April 01, 2005 1:50 PM
  To: freebsd-questions@freebsd.org
  Subject: ipmon logging
 
  According to every website I've read so far ipmon uses local0 as
 the
  facility name.  However, on my FreeBSD 5.3-RELEASE-p5 box, it logs
  to the security facility.  The man page (in both 5.2.1 and 5.3)
 for
  ipmon, with -s for logging to syslog says, The default facility
  when compiled and installed is security.  Can anyone explain
 this?
  I'd like ipmon to log to a separate file so it doesn't fill up the
  security log.  I've tried having ipmon log directly to a file, and
  not using syslog, but it stops logging when newsyslog rotates the
  file.  Does anyone have any suggestions on what I could or should
  do?
 
  Eric
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Gert Cuykens
On Apr 3, 2005 2:52 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Apr 3, 2005 2:46 AM, Chris [EMAIL PROTECTED] wrote:
  Gert Cuykens wrote:
   FX-53R rm -r /stand
   FX-53R ls
   bin cdrom   dev entropy lib mnt rescue  sys usr
   bootcompat  distetc libexec procsbintmp var
   FX-53R
  
   Doesnt this look much better :)
  
   Next what do i have to do to remove /compat  /sys and /rescue ?
  
  
 
  Dont forget rm -r /boot
 
 
 but i like /boot :) maybe i can rename it later to /freebsd but first
 i want to get rit of /cdrom /compat /sys /rescue
 

i changed the fstab for the cdrom to /mnt and the compat and dist was
empty so now my / looks like

FX-53R ls
bin dev etc libexec procsbintmp var
bootentropy lib mnt rescue  sys usr
FX-53R 

i need some advice on the /rescue and /sys doh ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3 auto starting NFS by error

2005-04-02 Thread Kris Kennaway
On Sat, Apr 02, 2005 at 05:31:41PM -0500, [EMAIL PROTECTED] wrote:
 My rc.conf only contains the default serial mouse statements and the
 usbd_enable statement.
 
 I also get this msg in the boot log  Mounting NFS file systems
 
 The only way to stop the 4 nfsoid tasks is issue a kill command on
 their task number every time you boot the system  or recompile the
 kernel and remove the nfs statements in the kernel source.
 
 Answering no to the 2 questions in stand/sysinstall about nfs client
 and server should have prevented those nfs tasks from starting at
 boot time like in the 4.x releases.

NFS support will be dynamically loaded if you specify NFS mounts in
your /etc/fstab.  Is this the case?

Kris

P.S. Please don't top-post.

pgp1eOdpKyNOp.pgp
Description: PGP signature


Re: can i delete /stand ?

2005-04-02 Thread Gert Cuykens
On Apr 3, 2005 3:02 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Apr 3, 2005 2:52 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
  On Apr 3, 2005 2:46 AM, Chris [EMAIL PROTECTED] wrote:
   Gert Cuykens wrote:
FX-53R rm -r /stand
FX-53R ls
bin cdrom   dev entropy lib mnt rescue  sys usr
bootcompat  distetc libexec procsbintmp var
FX-53R
   
Doesnt this look much better :)
   
Next what do i have to do to remove /compat  /sys and /rescue ?
   
   
  
   Dont forget rm -r /boot
  
 
  but i like /boot :) maybe i can rename it later to /freebsd but first
  i want to get rit of /cdrom /compat /sys /rescue
 
 
 i changed the fstab for the cdrom to /mnt and the compat and dist was
 empty so now my / looks like
 
 FX-53R ls
 bin dev etc libexec procsbintmp var
 bootentropy lib mnt rescue  sys usr
 FX-53R
 
 i need some advice on the /rescue and /sys doh ?
 

i also noticed /proc is empty but i read in the manual

/proc   Process file system; see procfs(5), mount_procfs(8).

better ask Eric i was thinking before removing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i delete /stand ?

2005-04-02 Thread Gert Cuykens
On Apr 3, 2005 3:09 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Apr 3, 2005 3:02 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
  On Apr 3, 2005 2:52 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
   On Apr 3, 2005 2:46 AM, Chris [EMAIL PROTECTED] wrote:
Gert Cuykens wrote:
 FX-53R rm -r /stand
 FX-53R ls
 bin cdrom   dev entropy lib mnt rescue  sys usr
 bootcompat  distetc libexec procsbintmp var
 FX-53R

 Doesnt this look much better :)

 Next what do i have to do to remove /compat  /sys and /rescue ?


   
Dont forget rm -r /boot
   
  
   but i like /boot :) maybe i can rename it later to /freebsd but first
   i want to get rit of /cdrom /compat /sys /rescue
  
 
  i changed the fstab for the cdrom to /mnt and the compat and dist was
  empty so now my / looks like
 
  FX-53R ls
  bin dev etc libexec procsbintmp var
  bootentropy lib mnt rescue  sys usr
  FX-53R
 
  i need some advice on the /rescue and /sys doh ?
 
 
 i also noticed /proc is empty but i read in the manual
 
 /proc   Process file system; see procfs(5), mount_procfs(8).
 
 better ask Eric i was thinking before removing


The folowing may be a tricky one how to move the /entropy to /boot/entropy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 5.3 auto starting NFS by error

2005-04-02 Thread bob
This is a standard vanilla install from mini.iso cd with all the
sysinstall questions answered as no.
I have not made any changes to any /etc files.
What was delivered in the install is what the current content is.
The /etc/fstab as delivered does not have any nfs mounts.
This is not a configuration error on my part. This is how the 5.3
system gets installed for cd.
This is a problem with how the sysinstall process configures the
system.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kris
Kennaway
Sent: Saturday, April 02, 2005 8:04 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG; Kris Kennaway
Subject: Re: 5.3 auto starting NFS by error

On Sat, Apr 02, 2005 at 05:31:41PM -0500, [EMAIL PROTECTED] wrote:
 My rc.conf only contains the default serial mouse statements and
the
 usbd_enable statement.

 I also get this msg in the boot log  Mounting NFS file systems

 The only way to stop the 4 nfsoid tasks is issue a kill command on
 their task number every time you boot the system  or recompile the
 kernel and remove the nfs statements in the kernel source.

 Answering no to the 2 questions in stand/sysinstall about nfs
client
 and server should have prevented those nfs tasks from starting at
 boot time like in the 4.x releases.

NFS support will be dynamically loaded if you specify NFS mounts in
your /etc/fstab.  Is this the case?

Kris

P.S. Please don't top-post.

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


su: illegal option -- s

2005-04-02 Thread Karl Agee
FreeBSD 4.11-Stable, bash 2.05. 

I am getting an error when I try to launch a daemon
script manually as root, or in /usr/local/etc/rc.d:

-su-2.05b#
/usr/local/koha/intranet/scripts/z3950daemon/z3950-daemon-launch.sh
-su-2.05b# su: illegal option -- s
usage: su [-] [-flm] [-c class] [login [args]]

the perms on it are:

-su-2.05b# ls -la
/usr/local/koha/intranet/scripts/z3950daemon/z3950-daemon-launch.sh
-rwxr-xr-x  1 www  www  2750 Mar 29 19:57
/usr/local/koha/intranet/scripts/z3950daemon/z3950-daemon-launch.sh

it is related to a web based application.

The line in the script that calls this is:  

su -s /bin/sh -c $KohaZ3950Shell -  $RunAsUser 

The su man page indicates that the -s option isnt
supportedhow can I edit this so this function
works??

--karl



__ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: device_polling

2005-04-02 Thread jason henson
dick hoogendijk wrote:
I was building a new kernel today and came across an option I had not
seen before. I googled some and concluded that options device_polling /
options HZ=1000 would be a better way for my realtec network cards than
the default interupt driven..
Is this correct?? Would it be better to have this polling in the kernel?
(fbsd-4.11-stable)
 

I would say yes.  Check man polling for extra info.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3 auto starting NFS by error

2005-04-02 Thread Kris Kennaway
On Sat, Apr 02, 2005 at 08:43:47PM -0500, [EMAIL PROTECTED] wrote:
 This is a standard vanilla install from mini.iso cd with all the
 sysinstall questions answered as no.
 I have not made any changes to any /etc files.
 What was delivered in the install is what the current content is.
 The /etc/fstab as delivered does not have any nfs mounts.
 This is not a configuration error on my part. This is how the 5.3
 system gets installed for cd.
 This is a problem with how the sysinstall process configures the
 system.

The GENERIC (i.e. default) kernel is configured to allow NFS client
support, which means that the nfsiod kernel processes are spawned at
boot time.  If you don't want this, reconfigure your kernel to disable
the NFS client support.  Or don't, because the resource usage is
negligible.

Kris

P.S. You're still top-posting.  If you can't be bothered to format
your posts properly, I won't bother to help you.


pgpeJT53wOj6J.pgp
Description: PGP signature


Re: su: illegal option -- s

2005-04-02 Thread Dan Nelson
In the last episode (Apr 02), Karl Agee said:
 FreeBSD 4.11-Stable, bash 2.05. 
 
 I am getting an error when I try to launch a daemon
 script manually as root, or in /usr/local/etc/rc.d:
 
 -su-2.05b# /usr/local/koha/intranet/scripts/z3950daemon/z3950-daemon-launch.sh
 -su-2.05b# su: illegal option -- s
 usage: su [-] [-flm] [-c class] [login [args]]
 
 The line in the script that calls this is:  
 
 su -s /bin/sh -c $KohaZ3950Shell -  $RunAsUser 
 
 The su man page indicates that the -s option isnt supportedhow
 can I edit this so this function works??

That's really weird su syntax there.  Try 

su - $RunasUser -c $KohaZ3950Shell

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


page fault when starting system with new hard disk

2005-04-02 Thread Karl Agee
FreeBSD 4.11-stable. details:

FreeBSD enterprise 4.11-STABLE FreeBSD 4.11-STABLE #0:
Sun Jan 30 22:07:15 PST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NEWKERNEL_20050130
 i386

Put a new hard disk is my system today, and setup
partitions for storing data files iso's etc.  it is
setup as a slave drive on the ide channel the master
drive that freebsd lives on.  It is a seagate
barracuda 160 gb ata100.

When I boot, I get this error:

(couldnt write all of this down and it kept going:)

ad7: Read commmand timeout tag=0 (something)
-resetting

(does this a few times with some other output)

Then I get this:

Fatal Trap12: page fault while in kernel mode
fault virtual address =0x7800bc
fault code=supervisor write, page not
present
instruction pointer   =0x8:0xc01d72ec
stack pointer = 0x10:0xc03698ec
frame pointer = (same evil hex code)
code segment  = base0x0, limit 0xf, type
0x1b
   = DPL 0, pres 1, def 32,1,
gran1
processor eflags   = interupt enabled, resume,
fopl=0
current process= idle
interupt mask  = hio
trap number= 12
panic:  page fault  
syncing disks...
done
rebooting in 15 seconds


--karl



__ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com

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


RE: 5.3 auto starting NFS by error

2005-04-02 Thread bob
I think your missing the whole point. It's not suppose to be doing
this.  This is a release build error. In the 4.x releases the kernel
had NFS support complied into the default kernel, but when you have
no NFS statements in rc.conf those tasks in question are not auto
spawned.  Why would this behavior be changed in 5.3 to one that
consumes resources. It has to be a mistake.

If what you assert is true then when doing a source update to 5.3
why does these nfs tasks not auto spawn there.

You assertion that its designed to work that way it just plain silly
and only means you know not what you talk about.

Time to submit another bug report so maybe its gets fixed in 5.4


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kris
Kennaway
Sent: Saturday, April 02, 2005 9:03 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG; Kris Kennaway
Subject: Re: 5.3 auto starting NFS by error

On Sat, Apr 02, 2005 at 08:43:47PM -0500, [EMAIL PROTECTED] wrote:
 This is a standard vanilla install from mini.iso cd with all the
 sysinstall questions answered as no.
 I have not made any changes to any /etc files.
 What was delivered in the install is what the current content is.
 The /etc/fstab as delivered does not have any nfs mounts.
 This is not a configuration error on my part. This is how the 5.3
 system gets installed for cd.
 This is a problem with how the sysinstall process configures the
 system.

The GENERIC (i.e. default) kernel is configured to allow NFS client
support, which means that the nfsiod kernel processes are spawned at
boot time.  If you don't want this, reconfigure your kernel to
disable
the NFS client support.  Or don't, because the resource usage is
negligible.

Kris

P.S. You're still top-posting.  If you can't be bothered to format
your posts properly, I won't bother to help you.

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


Re: 5.3 auto starting NFS by error

2005-04-02 Thread Kris Kennaway
On Sat, Apr 02, 2005 at 09:25:42PM -0500, [EMAIL PROTECTED] wrote:
 I think your missing the whole point. It's not suppose to be doing
 this.  This is a release build error. In the 4.x releases the kernel
 had NFS support complied into the default kernel, but when you have
 no NFS statements in rc.conf those tasks in question are not auto
 spawned.  Why would this behavior be changed in 5.3 to one that
 consumes resources. It has to be a mistake.

No, it's just intentionally different behaviour (check the source code
history).  If you're really that concerned about the minuscule
resource usage involved, then you'd surely want to build your own
stripped down kernel anyway to remove the many other things in GENERIC
that you don't need, together with NFS_CLIENT.

 If what you assert is true then when doing a source update to 5.3
 why does these nfs tasks not auto spawn there.

They do, if you have NFS_CLIENT enabled in your kernel.

 You assertion that its designed to work that way it just plain silly
 and only means you know not what you talk about.

*laughs* Right, that must be it, Bob.

 Time to submit another bug report so maybe its gets fixed in 5.4

It's not broken.

Kris

P.S. Third request not to top-post, next time you're going in my
killfile.


pgpmC4hWidldQ.pgp
Description: PGP signature


question

2005-04-02 Thread Ryan O'Donnell
To whom it may concern,
I tried installing freeBSD, but I think I might have ruined the
installation, because now when I try booting up my computer it says
something like -

Invalid Partition
Invalid Partition
No /boot/loader

FreeBSD/i386 boot
Default 0:ad(0,a)/kernel
boot:
Invalid Partition
No /kernel

FreeBSD/i386 boot
Default 0:ad(0,a)/kernel
boot:


What should I do to fix this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATI RAGE Mobility [9700]

2005-04-02 Thread -
Any way to get an ATI Mobility Radeon 9700 working with 3D acceleration ?
Andrew Heyn wrote:
I would like to state that at one point, I did get this to work.
This was also a long time ago, when the patches mentioned
in some of the proceeding links had to be done.. (which were and probably
still are XFree86 specific)
http://people.freebsd.org/~anholt/dri/news.html
http://am-productions.biz/docs/fujitsu-p2110.php leads to
http://dri.freedesktop.org/wiki/Building
I noticed that I had to make sure I rebuilt mach64.ko and some of the X
libraries regarding dri
if I was to upgrade the kernel.
Note this from the Wiki:
The DRM is shipped with the kernel, so you shouldn't need to build it. If
you choose to, simply run make  make install from the drm/bsd directory.

This is contrary to the suggestion to install ports/graphics/drm.  The
building referred
to above is within the X tree.
The history to the mach64 dri support may be of interest:
http://people.freebsd.org/~anholt/dri/news.html (already gave this link)
You can always (if you are patient) contact anholt who is rather busy on
freenode.net in
#dri.  Beware, I asked a question there, and fixed it myself before I got an
answer.
Hope this helps more than my other post.
It still sucked pretty bad once I got DRI working with my mach64, but...
It was better...
Thanks!
Andrew
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark Busby
Sent: Tuesday, March 29, 2005 11:23 AM
To: freebsd-questions@freebsd.org
Subject: re: ATI RAGE Mobility
On Monday 28 March 2005 20:25, Edwin Mons wrote:
 

On Mon, 28 Mar 2005 20:20:50 +0200, Edwin Mons wrote:
   

I'm trying to enable DRI on my IBM ThinkPad A20m, which has an ATI
Rage Mobility P/M AGP 2x rev 100 GPU onboard.  I succesfully
installed the mach64 DRM module, which shows the following lines in 
 

my dmesg:
 

drm0: Rage Mobility P/M AGP 2X port 0x2000-0x20ff mem
0xf420-0xf4200fff,0xf500-0xf5ff irq 11 at device 0.0 on
pci1
info: [drm] AGP at 0xf800 64MB
info: [drm] Initialized mach64 1.0.0 20020904 on minor 0
However, when I start X.org 6.8.2, it doesn't show anything about
DRM in the logfiles (attached).  glxinfo reports it doesn't use
Direct Rendering as well.
Attached is my xorg.conf, as well.
My questions: 1) does anybody know if it is possible to have DRI on
this configuration at all, and 2) how does one get it to work?
 



from kernel LINT file
# DRM options:
# mgadrm:AGP Matrox G200, G400, G450, G550
# tdfxdrm:   3dfx Voodoo 3/4/5 and Banshee
# r128drm:   ATI Rage 128
# radeondrm: ATI Radeon up to 9000/9100
# DRM_DEBUG: include debug printfs, very slow
#
# mga requires AGP in the kernel, and it is recommended
# for AGP r128 and radeon cards.
device  mgadrm
device  r128drm
device  radeondrm
device  tdfxdrm
options DRM_DEBUG
You may need to add the
device mgadrm
Hope it helps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


RE: question

2005-04-02 Thread fbsd_user
Reinstall from scratch using cd install disk.
Keep trying until you get it correct.
That's how you learn FreeBSD.

Follow instructions from this url
http://freebsd.easyasthat.co.uk/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ryan
O'Donnell
Sent: Saturday, April 02, 2005 10:02 PM
To: freebsd-questions@FreeBSD.org
Subject: question

To whom it may concern,
I tried installing freeBSD, but I think I might have ruined the
installation, because now when I try booting up my computer it says
something like -

Invalid Partition
Invalid Partition
No /boot/loader

FreeBSD/i386 boot
Default 0:ad(0,a)/kernel
boot:
Invalid Partition
No /kernel

FreeBSD/i386 boot
Default 0:ad(0,a)/kernel
boot:


What should I do to fix this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: su: illegal option -- s

2005-04-02 Thread Karl Agee
Dan:  Thanks, this seems to have worked.

--karl

--- Dan Nelson [EMAIL PROTECTED] wrote:
 In the last episode (Apr 02), Karl Agee said:
  FreeBSD 4.11-Stable, bash 2.05. 
  
  I am getting an error when I try to launch a
 daemon
  script manually as root, or in
 /usr/local/etc/rc.d:
  
  -su-2.05b#

/usr/local/koha/intranet/scripts/z3950daemon/z3950-daemon-launch.sh
  -su-2.05b# su: illegal option -- s
  usage: su [-] [-flm] [-c class] [login [args]]
  
  The line in the script that calls this is:  
  
  su -s /bin/sh -c $KohaZ3950Shell -  $RunAsUser 
  
  The su man page indicates that the -s option isnt
 supportedhow
  can I edit this so this function works??
 
 That's really weird su syntax there.  Try 
 
 su - $RunasUser -c $KohaZ3950Shell
 
 -- 
   Dan Nelson
   [EMAIL PROTECTED]
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question

2005-04-02 Thread Randy Pratt
On Sat, 2 Apr 2005 22:30:13 -0500
fbsd_user [EMAIL PROTECTED] wrote:

 Reinstall from scratch using cd install disk.
 Keep trying until you get it correct.
 That's how you learn FreeBSD.
 
 Follow instructions from this url
 http://freebsd.easyasthat.co.uk/

Is there something wrong with the installation instructions at:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

I keep seeing you recommend that site (yours?) as the instructions to
follow.  If there's something lacking in the official instructions,
wouldn't it be better to update those so they get a proper peer
review?

Best regards,

Randy

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Ryan
 O'Donnell
 Sent: Saturday, April 02, 2005 10:02 PM
 To: freebsd-questions@FreeBSD.org
 Subject: question
 
 To whom it may concern,
 I tried installing freeBSD, but I think I might have ruined the
 installation, because now when I try booting up my computer it says
 something like -
 
 Invalid Partition
 Invalid Partition
 No /boot/loader
 
 FreeBSD/i386 boot
 Default 0:ad(0,a)/kernel
 boot:
 Invalid Partition
 No /kernel
 
 FreeBSD/i386 boot
 Default 0:ad(0,a)/kernel
 boot:
 
 
 What should I do to fix this?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


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


Re: fdisk -B -b /boot/boot0 device

2005-04-02 Thread Gert Cuykens
On Mar 31, 2005 3:34 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
 Is boot0 a bootmanager ?


I booted cd2 went into fixit mode did

mount /dev/ad1 /mnt
cd /mnt/boot
fdisk -B -b /dev/ad1 boot0

fdisk ask me to write boot record i said yes
fdisk ask me to write partition table i said no

but i still dont have my freebsd bootmanager back and windows get loaded :(
what did i do wrong ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fdisk -B -b /boot/boot0 device

2005-04-02 Thread Gert Cuykens
On Apr 3, 2005 7:22 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Mar 31, 2005 3:34 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
  Is boot0 a bootmanager ?
 
 
 I booted cd2 went into fixit mode did
 
 mount /dev/ad1 /mnt
 cd /mnt/boot
 fdisk -B -b /dev/ad1 boot0
 
 fdisk ask me to write boot record i said yes
 fdisk ask me to write partition table i said no
 
 but i still dont have my freebsd bootmanager back and windows get loaded :(
 what did i do wrong ?
 

i did it again but i answert 2 times yes now
i have a boot manager this time but only f1 (windows) works when i
press f2 nothing happens ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question

2005-04-02 Thread Rob
Randy Pratt wrote:
 
 Is there something wrong with the installation
 instructions at:
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
 
 I keep seeing you recommend that site (yours?) as
the
 instructions to follow.  If there's something
lacking
 in the official instructions, wouldn't it be better
 to update those so they get a proper peer review?

Don't know if I'm out of topic here, but

 2.12 Advanced Installation Guide

seems to be out-of-date for 5.X install.

Also, nobody seems to know how to create 5.X
install floppies for headless machines.
When I asked for it, all I got were the 4.X solutions,
which, I think, do not work for 5.X.

Rob.



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPFILTER and NFS

2005-04-02 Thread Matt Juszczak
Howdy,
Trying to get IPFILTER and NFS working.  A google search didn't show 
much about my specific issue.  With ipfilter working, nfs initially 
works, until someone tries to login.  Then it stops working.  With my 
firewall down on the NFS-CLIENT machine, it works fine.  Any ideas?

It appears to be an issue with random ports
Thanks,
Matt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >