Re: ram & swap & whiskers on kittens

2002-12-25 Thread Franklin Pierce


- Original Message -
From: David Nicholas Kayal <[EMAIL PROTECTED]>
Date: Wed, 25 Dec 2002 12:19:17 -0800 (PST)
To: Charlie Root <[EMAIL PROTECTED]>
Subject: Re: ram & swap

> First . . .

[most of the top post snipped]

> On Wed, 25 Dec 2002, Charlie Root wrote:
> 
> > Hey why everything on my machine goes into RAM? i have always 87% ram
> > taken by every proccess running... i have 91 megs of ram what should
> > i do? my swap is always empty...

[snip]

Swap:  that's good.
RAM:  Excellent!  When your machine isn't using all of
its delicious and spicy RAM it steals some for buffering
(to gerundise agressively) disk writes.  Once she gets
a tad more loaded, she'll just stop buffering so aggres-
sively.  It really isn't good, per se, to be using swap,
it's just a cheaper fallback than getting more RAM/a
motherboard that can take more RAM/hosed by $RETAILER.
Since I have no idea how it works I won't go into any
particulars, but if you ever want to hear about why we
let Kansas vote on becoming a free or slave state, and
why the compromise was made to appease the southern
Democrats, drop me a line.

Love,
Franklin Pierce
-- 
___
Get your free email from http://mymail.operamail.com

Powered by Outblaze

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: More info Re: ports/46523: make index is broken

2002-12-25 Thread Cliff Sarginson
On Wed, Dec 25, 2002 at 11:54:44PM +, Stacey Roberts wrote:
> Hello,
>  "make clean" in /usr/ports fails as well now at this step:
> 
> ===> lang/ruby-usersguide
> ===>  Cleaning for ruby-usersguide-20020616
> ===> lang/ruby16-shim-ruby18
> ===>  Cleaning for ruby-1.6.8
> ===>  Cleaning for ruby-shim-ruby18-1.8.0.p1
> ===> lang/ruby_r
> ===>  Cleaning for ruby-1.6.8
> ===>  Cleaning for ruby_r-1.6.8
> ===> lang/ruby_r-devel
> ===>  Cleaning for ruby-1.8.0.p1
> ===>  Cleaning for ruby_r-1.8.0.p1
> ===> lang/ruby_static
> ===>  Cleaning for libiconv-1.8_2
> ===>  Cleaning for libtool-1.3.4_4
> ===>  Cleaning for ruby-1.6.8
> ===>  Cleaning for ruby-zlib-0.5.1
> ===>  Cleaning for ruby-bdb1-0.1.7
> ===>  Cleaning for ruby-1.6.8
> ===>  Cleaning for ruby-shim-ruby18-1.8.0.p1
> ===>  Cleaning for ruby_static-1.6.8
> ===> lang/ruby_static-devel
> "/usr/ports/Mk/bsd.ruby.mk", line 135: "Ruby 1.7 is obsolete; set
> RUBY_VER to 1.8 instead."
> *** Error code 1
> 
> Stop in /usr/ports/lang.
> *** Error code 1
> 
> Stop in /usr/ports.
> $
> 
> Is no-one else not seeing this?
> 
Yup, I'm seeing it.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: wireless optical mouse useable in freebsd?

2002-12-25 Thread chip wiegand
Got it working on the ps2 port, not the usb port.
Regards,
Chip

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



portmap running amok

2002-12-25 Thread Paul Chvostek

Infrequently ... that is, perhaps once every few weeks, my mail server
grinds to a halt.  The load average climbs into the hundreds, processes
start getting killed off, and all because something seems to want to
launch as many instances of portmap as it possibly can.  And for the
life o' me, I can't figure out what.

The box is currently running 4.7-STABLE, but it's been doing this off
and on since 4.4-RELEASE.  The box is not an NFS server, but it becomes
a client from time to time, and portmap and nfsiod are launched at
startup.  There are no NFS devices listed in /etc/fstab, there is no
/etc/exports and no other NFS-related daemons are running.  If I catch
things in time (and have a shell already open), I can usually recover
with `killall portmap`.  If I'm not around (which is usually the case),
the box will either grind to a halt requiring a console reset, or merely
spontaneously reboot.

I can see no other strange behaviour (or network traffic) going on with
this box -- aside from this problem, it behaves perfectly.

Does any of this sound familiar?  Where do I look for the problem?

Tnx.

-- 
  Paul Chvostek <[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: email addresses used for lists [was: L0phtcrack]

2002-12-25 Thread Gary W. Swearingen
Adam Weinberger <[EMAIL PROTECTED]> writes:

> >> (12.25.2002 @ 1728 PST): Gary W. Swearingen said, in 2.0K: <<
> > 
> > I'm not sure what that means.
...
>   semantic
>adj : of or relating to the study of meaning and changes of
>  meaning; "semantic analysis"

OK, good.  Thanks.

I think your "dict" definitions for "domain" and "hostname" do not
disagree with mine (though they're certainly different), except for
this part for "hostname":

>  On {Internet} the hostname is an {ASCII} string,
>  e.g. "foldoc.doc.ic.ac.uk" which, consists of a local part
>  (foldoc) and a {domain} name (doc.ic.ac.uk).

That's just wrong, if it's trying to imply that a Fully Qualified
Domain Name (like "foldoc.doc.ic.ac.uk") is not the name of a domain.
A hostname *IS* a domain name, either a FQDN or a part of one.  In fact,
when configured to support default domains, the host's domain name (AKA
hostname) can also be specified as foldoc or foldoc.doc or
foldoc.doc.ic, etc.  Maybe "dict" should have had "{default domain}" or
"{parent domain}" instead of "{domain}".

> > Roman Neuhauser <[EMAIL PROTECTED]> writes:
> > > Let's say you have names "fubar.org", "alpha.fubar.org", and
> > > "beta.fubar.org". There's no A RR for "fubar.org", but
> > > "alpha.fubar.org" resolves to 1.2.3.4, and "beta.fubar.org" resolves
> > > to 1.2.3.5. What is what here?
> > 
> > They are all domain names and, except for "fubar.org", hostnames.
> > (No host, no hostname.)
> 
> No. Only "fubar.org" is a domain name. The others are hostnames. A
> domain name is just a name, but a hostname is a label applied to
> something that exists. Every domain name can be a hostname if a computer
> responds to that name.

Do you really want to say that a Fully Qualified Domain Name is not a
domain name?  Both hostnames and domain names are just labels applied to
something that exists, namely info in the DNS databases; there need not
be any physical host for a configured IP.  It's a system that translates
IP numbers to domain names and vice-versa; it's the Domain Name System,
not the Host Name System.  We choose to associate most domain names (the
ones with IP numbers) with something we call hosts and so we may also
call them hostnames if we want.

-- 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ghost-ing a ufs+vinum disk

2002-12-25 Thread Hari Bhaskaran
On Thu, Dec 26, 2002 at 01:40:58PM +1030, Greg 'groggy' Lehey wrote:
> >
> > I am looking for a method to dump my 'current' installation
> > (which includes couple of vinum volumes + some other normal
> > UFS partitions) to another machine where I have access to
> 
> What's wrong with tar?

I was trying to find a way to 'snapshot' my installation
(including partitions, vinum configuration etc), so that
I can return to the same state later if I mess something
up (without re-running the installer again)

> 
> Greg
> --
> When replying to this message, please copy the original recipients.
> If you don't, I may ignore the reply or reply to the original recipients.
> For more information, see http://www.lemis.com/questions.html
> See complete headers for address and phone numbers

-- 
Hari Bhaskaran


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ghost-ing a ufs+vinum disk

2002-12-25 Thread Greg 'groggy' Lehey
On Wednesday, 25 December 2002 at 11:22:56 -0600, Hari Bhaskaran wrote:
> Hi,
>
> I am looking for a method to dump my 'current' installation
> (which includes couple of vinum volumes + some other normal
> UFS partitions) to another machine where I have access to
> a CDR. I don't want to dump the entire HDD, but only the
> used sectors/files. If you are familiar with Norton Ghost running
> from a boot floppy uploading contents to a Ghost server,
> that's exactly what I am trying to achieve. Norton Ghost
> seems to 'support' UFS, but it merely dumps every sector of
> a hard disk - not really what I want to achieve.
>
> BTW, I don't have hotswapable drives and such. So using vinum
> itself to make a spare disk is not an option. I don't
> mind temporarily rebooting the machine on to a different OS/disk
> to do this backup.
>
> Any help is appreciated.

What's wrong with tar?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: wireless optical mouse useable in freebsd?

2002-12-25 Thread Kent Stewart
On Wednesday 25 December 2002 03:51 pm, Sarah Woolley wrote:
> My wireless optical mouse works, but it's not made my microsoft. 
> Don't know if it makes a difference, but you could just try it and
> see if it works.

Yes, you should have done that before you sent your first email :). Now 
that we are all wasting bandwidth, I don't think your computer can tell 
the difference between a wireless and a normal mouse. I have Microsoft 
opticals on two that work on the ps/2 port and one that is hooked up to 
the usb port. The roller scrolls through text on all of them. You have 
to setup your mouse in XF86Config to do that.

Having purchased several optical mice I will probably replace the 
remaining one that has a ball. The new one will be wireless. A wireless 
keyboard/mouse combo was going to be my Christmas purchase but they 
were all sold out. I bought a Soundblaster Audigy instead. MP3 
conversions of my audio CDs using digital extraction sound cleaner than 
wav's from the analog side. The wireless mouse would have been better. 
I needed 6 hours of parallel processing to reconvert my Spanish audio 
CDs.

Kent

>
> On Wed, 25 Dec 2002, chip wiegand wrote:
> > I just received this micro$oft wireless optical mouse for christmas
> > from my son, and am wondering if anyone knows if it will work in
> > freebsd 4.7? I haven't tried it yet. It is both usb and ps2.
> > Thanks,
> > Chip W
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: 3c589/PCMCIA.

2002-12-25 Thread lewiz
Hi,

  Just been told by somebody that PNP in the BIOS should be disabled.  I
have actually already got it disabled, so this doesn't seem to be the
issue.

-lewiz.

-- 
Hurewitz's Memory Principle:
The chance of forgetting something is directly proportional
to . to  uh ..

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13287/pgp0.pgp
Description: PGP signature


Re: AW: AW: wireless optical mouse useable in freebsd?

2002-12-25 Thread chip wiegand
On Thu, 26 Dec 2002 01:01:19 +0100
"Gernot A. Weber" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I use the following settings:
> 
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "ZAxisMapping"  "4 5"
> Option  "Device" "/dev/sysmouse"
> EndSection
> Hope, that helps...

I have that set up now and it works for the logitech mouse, but the
wireless mouse just won't work. When I try the frequency change button
on the base unit it locks up X. I unplug the wireless, plug in the
logitech and it works fine. Plug in the wireless and nothing, a cursor
that doesn't move. In the terminal plugging in and unplugging the
wireless shows the appropriate usb connection information.

--
Chip

> Bye,
> 
> Gernot
> 
> > -Ursprüngliche Nachricht-
> > Von: chip wiegand [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 26. Dezember 2002 01:02
> > An: Gernot A. Weber
> > Cc: [EMAIL PROTECTED]
> > Betreff: Re: AW: wireless optical mouse useable in freebsd?
> > 
> > On Wed, 25 Dec 2002 22:38:53 +0100
> > "Gernot A. Weber" <[EMAIL PROTECTED]> wrote:
> > 
> > > Hi,
> > >
> > > it should be no problem. Neither as USB nor PS/2.
> > >
> > > Bye,
> > >
> > >   Gernot
> > 
> > Thanks, it does load the usb stuff at the console, but in X it
> > doesn't work. I probably have to make some change to the XF86Config
> > file? Here is the section for the pointer as it is for my current
> > usb logitech trackman mouse -
> > 
> > Section "InputDevice"
> > Identifier  "Mouse0"
> > Driver  "mouse"
> > Option  "Protocol" "MouseSystems"
> > Option  "Device" "/dev/sysmouse"
> > Option  "ZAxisMapping" "X"
> > Option  "ZAxisMapping" "Y"
> > Option  "ZAxisMapping" "N1 N2"
> > EndSection
> > 
> > Even with this setup the scroll wheel does not work. So, with the
> > new mouse I'd like the scroll wheel to work as well. Hope someone
> > can
> point
> > me in the right direction.
> > 
> > --
> > Chip
> > 
> > > -Ursprüngliche Nachricht-
> > > Von: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]] Im Auftrag von chip
> > > wiegand Gesendet: Mittwoch, 25. Dezember 2002 20:42
> > > An: [EMAIL PROTECTED]
> > > Betreff: wireless optical mouse useable in freebsd?
> > >
> > > I just received this micro$oft wireless optical mouse for
> > > christmas from my son, and am wondering if anyone knows if it will
> > > work in freebsd 4.7? I haven't tried it yet. It is both usb and
> > > ps2. Thanks,
> > > Chip W
> > >
> > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > with "unsubscribe freebsd-questions" in the body of the message
> > >
> > >
> > >
> 
> 
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



3c589/PCMCIA.

2002-12-25 Thread lewiz
Hi,

  I've just got hold of a laptop for Christmas.  It has a PCMCIA network
card - a 3COM EtherLink III 3C589.  I am way out of date and still have
Coax running around my house, so it needs to be using the 10Base2 not
10BaseT.

  My problem is, the card is detected as ep0 yet I have a feeling that
it might be better as zp0.  I am not certain about this.

  The problem is - while it gets detected, quite well, I think.  I can
see lights change on the NIC as it detects it, which suggests the
probing is working fine.  It doesn't actually communicate with the
netwrok.  When I try and resolve my address via DHCP it doesn't flash or
anything.  Maybe I'm missing something.  I can provide any information
required.

  Any help would be much appreciated,

-lewiz.

-- 
No matter how subtle the wizard, a knife in the shoulder blades will
seriously cramp his style.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13285/pgp0.pgp
Description: PGP signature


Re: Default permissions under X (umask?)

2002-12-25 Thread Gary W. Swearingen
> >It *should* work -- it does for me.
> >[Although, in my case, it's the .xsession file, because I use xdm.]
> 
> Well, now that I'm taking a more careful look, it does ... sort of.

In any case, it seems like it should be set in one place which holds for
both X and non-X sessions.  Maybe cobbled into a shell startup file or
even /etc/rc, but preferably in the "login" setup -- look for "umask" in
the login.conf manpage.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: email addresses used for lists [was: L0phtcrack]

2002-12-25 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

>> (12.25.2002 @ 1728 PST): Gary W. Swearingen said, in 2.0K: <<
> > It's just semantics, really.
> 
> I'm not sure what that means.  No, seriously, my dictionary says "study
> or science of the meaning of language forms", but does that include the
> meaning of single words or only about the meaning imparted by sentence
> structure, or something else?

monkey@smacky:~% dict semantic
- From WordNet (r) 1.7 [wn]:

  semantic
   adj : of or relating to the study of meaning and changes of
 meaning; "semantic analysis"

> "Domain" means something like "a set of nodes in the DNS tree
> structure", where nodes have associated info about hosts and domains.

monkey@smacky:~% dict domain
- From The Free On-line Dictionary of Computing (09 FEB 02) [foldoc]:

  domain
 2.  A group of computers whose {hostnames} share a
 common suffix, the "domain name".  The last component of this
 is the {top-level domain}.

> "Hostname" sometimes seems to mean the string returned by the "hostname"
> command/function (being distinguished from hostname aliases), but I
> think it's fair in the DNS context to use "a domain name which has an
> assigned IP".  (In the DNS, "host" doesn't mean "computer", of course.
> Hosts are whatever have assigned IP addresses, except maybe networks.
> Does DNS even know about networks?  I can't think why it should.)

monkey@smacky:~% dict hostname
- From The Free On-line Dictionary of Computing (09 FEB 02) [foldoc]:

  hostname
1. (Or "sitename").  The unique name by which a computer is
 known on a {network}, used to identify it in {electronic
 mail}, {Usenet} {news}, or other forms of electronic
 information interchange.
  
 On {Internet} the hostname is an {ASCII} string,
 e.g. "foldoc.doc.ic.ac.uk" which, consists of a local part
 (foldoc) and a {domain} name (doc.ic.ac.uk).

> > Let's say you have names "fubar.org", "alpha.fubar.org", and
> > "beta.fubar.org". There's no A RR for "fubar.org", but
> > "alpha.fubar.org" resolves to 1.2.3.4, and "beta.fubar.org" resolves
> > to 1.2.3.5. What is what here?
> 
> They are all domain names and, except for "fubar.org", hostnames.
> (No host, no hostname.)

No. Only "fubar.org" is a domain name. The others are hostnames. A
domain name is just a name, but a hostname is a label applied to
something that exists. Every domain name can be a hostname if a computer
responds to that name.

> > Let's say you have names "fubar.org", "alpha.fubar.org", and
> > "beta.fubar.org". All three names resolve to 1.2.3.4. What is what
> > here?
> 
> All are domain names and all are hostnames.

Again, no.

# Adam


- --
Adam Weinberger
vectors.cx  >>  [EMAIL PROTECTED]
FreeBSD.org <<  [EMAIL PROTECTED]
Bayer Berkeley  >>  [EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+Cl6vo8KM2ULHQ/0RAvGJAKCrx2mC4v4SYhpdf4qlYhUeb9TdewCgkgV6
SilBOneFkwfo5jkwooNfzXc=
=4Mjw
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: email addresses used for lists [was: L0phtcrack]

2002-12-25 Thread Gary W. Swearingen
Roman Neuhauser <[EMAIL PROTECTED]> writes:

> It's just semantics, really.

I'm not sure what that means.  No, seriously, my dictionary says "study
or science of the meaning of language forms", but does that include the
meaning of single words or only about the meaning imparted by sentence
structure, or something else?

Of course this is about the meaning of words.  Specifically, about the
meanings of "domain" and "hostname" (in the context of DNS), keeping in
mind that many key words in our industry have no well-agreed-upon single
definition for all purposes and these are likely to be among them.

"Domain" means something like "a set of nodes in the DNS tree
structure", where nodes have associated info about hosts and domains.

"Hostname" sometimes seems to mean the string returned by the "hostname"
command/function (being distinguished from hostname aliases), but I
think it's fair in the DNS context to use "a domain name which has an
assigned IP".  (In the DNS, "host" doesn't mean "computer", of course.
Hosts are whatever have assigned IP addresses, except maybe networks.
Does DNS even know about networks?  I can't think why it should.)

> Let's say you have a host with IP address 1.2.3.4, and a name
> "fubar.org" (A RR) that resolves to 1.2.3.4. Is "fubar.org" a domain
> or a hostname?

It's a hostname and a domain name (and a domain, loosely speaking).

> Let's say you have names "fubar.org", "alpha.fubar.org", and
> "beta.fubar.org". There's no A RR for "fubar.org", but
> "alpha.fubar.org" resolves to 1.2.3.4, and "beta.fubar.org" resolves
> to 1.2.3.5. What is what here?

They are all domain names and, except for "fubar.org", hostnames.
(No host, no hostname.)

> Let's say you have names "fubar.org", "alpha.fubar.org", and
> "beta.fubar.org". All three names resolve to 1.2.3.4. What is what
> here?

All are domain names and all are hostnames.

You ask easy questions.  :-)

-- 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Turning off NDELAY Mode

2002-12-25 Thread Jack L. Stone
At 07:02 PM 12.25.2002 -0600, Dan Nelson wrote:
>In the last episode (Dec 25), Jack L. Stone said:
>> FreeBSD sage-american.com 4.7-STABLE FreeBSD 4.7-STABLE #0:
>> 
>> Ever since I installed SpamAss + SpamAss-Milter, I've been seeing this
>> error pop up frequently. I'm not sure what is triggering it or what it
>> means -- so, don't know where to look for the answer. Has anyone else seen
>> this?
>> 
>> The error on the console:
>> "sageame@sage-american$ sh: turning off NDELAY mode"
>
>That message comes up when sh notices that someone has set the
>O_NONBLOCK flag on stdin.  sh resets it back to normal and prints the
>above notice.  You usually see this when a curses or pthreads program
>coredumps without resetting the terminal.
>
>spamass-milter usually runs in the background or from rc.d so there
>should be no way for it to affect your shell's tty settings.
>
>-- 
>   Dan Nelson
>   [EMAIL PROTECTED]
>

Thanks for the reply, Dan. Everything seems to be running well with this
new install of SA and SM even though I saw the bug warnings. I gather this
is a harmless thing then.

Appreciate the help... Merry Xmas!

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: promise sx4000

2002-12-25 Thread Len Conrad


and the doc only?


no doc at programmers level

yes, :((

Len



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: promise sx4000

2002-12-25 Thread Philipp Stutz
hello


i have promise sx4000 raid card and im trying to get it work with freebsd
5.0 so is there anyone who knows a driver for that card?

>

Promise told me they don't support FreeBSD.

There's no driver for the sx4000 and they won't provide the doc + board 
to develop one.

and the doc only? without an nda? i have such a board here :(

phil


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Turning off NDELAY Mode

2002-12-25 Thread Dan Nelson
In the last episode (Dec 25), Jack L. Stone said:
> FreeBSD sage-american.com 4.7-STABLE FreeBSD 4.7-STABLE #0:
> 
> Ever since I installed SpamAss + SpamAss-Milter, I've been seeing this
> error pop up frequently. I'm not sure what is triggering it or what it
> means -- so, don't know where to look for the answer. Has anyone else seen
> this?
> 
> The error on the console:
> "sageame@sage-american$ sh: turning off NDELAY mode"

That message comes up when sh notices that someone has set the
O_NONBLOCK flag on stdin.  sh resets it back to normal and prints the
above notice.  You usually see this when a curses or pthreads program
coredumps without resetting the terminal.

spamass-milter usually runs in the background or from rc.d so there
should be no way for it to affect your shell's tty settings.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Missing Examples

2002-12-25 Thread ay
In article <[EMAIL PROTECTED]> you wrote:
> Sam <[EMAIL PROTECTED]> writes:

>> I recently bought the BSD power pac 4.6 and the example files are missing. As 
You'd better sale it away. 4.6 is buggy, only 4.6.2 became arbitrary
reliable, and for today we have 4.7, in wich 4.6 bugs were comparebly fixed.
RELENG_4 seems to be froozen, so 4.7-RELEASE is the last and best we have 
in near future - 5.X is not enough tested and too much buggy in RC, only
for home usge of hackers.
I think, it does not worth time to animate ancient 4.6
btw there no use to cvsup 4.7 - since RELEASE it has only single
update, wich does not seems importaint to me. Take it as it comes.

> Yes, that was a release mistake.

>> a result it is very difficult to actually get started with the CVSUP thing. I 
>> have looked all over the ftp and html sites but cannot figure out where to 
>> download the example directories. Could you please point me in the right 
>> direction.

> Try http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/cvsup/
> (for the latest versions).

> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
AY7-UANIC || AY15-RIPE

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: Refusing Connections

2002-12-25 Thread Jimi Thompson
Bernardo & Et. AL,

Thank you to those of you have generously offered me your assistance.  I
grew frustrated, gave up and formatted the drive and reinstalled with a
slightly newer version of FreeBSD, which seems to have solved the problem.
I was never able to determine the root cause of the issue.  I suspect that
it was something in the OS causing a proxy effect to port 8080.  I still
have no idea why this happened.  The only thing that was on this box is the
OS, Perl, OpenSSL, OpenSSH, and Apache.

I was able to determine from port scanning the box internally that the httpd
process was running, but not allowing any network connections.  I know that
my ISP is not the issue because I have a web interface on my mail servers
which operates initially on port 80 and that was not blocked.  The firewall
on the box was disabled.The httpd.conf that I was using is now in use
running the current build.

For informational purposes, in case someone else should encounter this
issue, I will repost some things.

The netstat that I did looked like this:

netstat -an -finet -ptcp
> Active Internet connections (including servers)
> Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
> tcp4   0  0  4.60.243.40.22 4.60.243.201.1277
> ESTABLISHED
> tcp4   0  0  *.8021 *.*LISTEN
> tcp4   0  0  *.8080 *.*LISTEN
> tcp4   0  0  *.587  *.*LISTEN
> tcp4   0  0  *.25   *.*LISTEN
> tcp4   0  0  4.60.243.40.22 *.*LISTEN


This was the ONLY thing in the error log.

[Sat Dec 21 23:48:19 2002] [notice] caught SIGTERM, shutting down
>
> [Sat Dec 21 23:48:25 2002] [warn] RSA server certificate CommonName (CN)
> `web1' does NOT match server name!?
> [Sat Dec 21 23:48:28 2002] [warn] RSA server certificate CommonName (CN)
> `web1' does NOT match server name!?
> [Sat Dec 21 23:48:28 2002] [notice] Apache/2.0.43 (Unix) mod_ssl/2.0.43
> OpenSSL/0.9.6g configured -- resuming
> normal operations

Note that "top", etc. showed the httpd process running.  However, it
remained idle even when I was attempting to make a connection to the box.
Apparently the connection request wasn't making it through the TCP/IP stack
and reaching the httpd process.  Why this was happening,  I have no idea.
Maybe we were hacked???


Thanks,

Ms. Jimi Thompson

Those who are too smart to engage in politics are punished by being governed
by those who are dumber. - Plato


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Missing Examples

2002-12-25 Thread Lowell Gilbert
Sam <[EMAIL PROTECTED]> writes:

> I recently bought the BSD power pac 4.6 and the example files are missing. As 

Yes, that was a release mistake.

> a result it is very difficult to actually get started with the CVSUP thing. I 
> have looked all over the ftp and html sites but cannot figure out where to 
> download the example directories. Could you please point me in the right 
> direction.

Try http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/cvsup/
(for the latest versions).

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: promise sx4000

2002-12-25 Thread Len Conrad


i have promise sx4000 raid card and im trying to get it work with freebsd
5.0
so is there anyone who knows a driver for that card?


Promise told me they don't support FreeBSD.

There's no driver for the sx4000 and they won't provide the doc + board to 
develop one.

Len



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Missing Examples

2002-12-25 Thread Sam
Hello,

I recently bought the BSD power pac 4.6 and the example files are missing. As 
a result it is very difficult to actually get started with the CVSUP thing. I 
have looked all over the ftp and html sites but cannot figure out where to 
download the example directories. Could you please point me in the right 
direction.

Thank You,

Sam


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: AW: wireless optical mouse useable in freebsd?

2002-12-25 Thread Sarah Woolley
I had my wheel working in 4.6, but it's not working in 4.7.  I haven't
tried to fix it.  This info in the faq's might help you, though.

http://www2.pl.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#X-AND-WHEEL

On Wed, 25 Dec 2002, chip wiegand wrote:

> On Wed, 25 Dec 2002 22:38:53 +0100
> "Gernot A. Weber" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > it should be no problem. Neither as USB nor PS/2.
> >
> > Bye,
> >
> >   Gernot
>
> Thanks, it does load the usb stuff at the console, but in X it doesn't
> work. I probably have to make some change to the XF86Config file? Here
> is the section for the pointer as it is for my current usb logitech
> trackman mouse -
>
> Section "InputDevice"
>   Identifier  "Mouse0"
>   Driver  "mouse"
>   Option  "Protocol" "MouseSystems"
>   Option  "Device" "/dev/sysmouse"
>   Option  "ZAxisMapping" "X"
>   Option  "ZAxisMapping" "Y"
>   Option  "ZAxisMapping" "N1 N2"
> EndSection
>
> Even with this setup the scroll wheel does not work. So, with the new
> mouse I'd like the scroll wheel to work as well. Hope someone can point
> me in the right direction.
>
> --
> Chip
>
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]] Im Auftrag von chip
> > wiegand Gesendet: Mittwoch, 25. Dezember 2002 20:42
> > An: [EMAIL PROTECTED]
> > Betreff: wireless optical mouse useable in freebsd?
> >
> > I just received this micro$oft wireless optical mouse for christmas
> > from my son, and am wondering if anyone knows if it will work in
> > freebsd 4.7? I haven't tried it yet. It is both usb and ps2.
> > Thanks,
> > Chip W
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> >
> >
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Is ldd recursive? (nevermind)

2002-12-25 Thread Darren Pilgrim
Darren Pilgrim wrote:

When I run ldd on a given program, does ldd check the dependencies of 
the libaries as well?

Nevermind, I found the answer myself (it does).  I don't know why I 
missed it on the man page.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


More info Re: ports/46523: make index is broken

2002-12-25 Thread Stacey Roberts
Hello,
 "make clean" in /usr/ports fails as well now at this step:

===> lang/ruby-usersguide
===>  Cleaning for ruby-usersguide-20020616
===> lang/ruby16-shim-ruby18
===>  Cleaning for ruby-1.6.8
===>  Cleaning for ruby-shim-ruby18-1.8.0.p1
===> lang/ruby_r
===>  Cleaning for ruby-1.6.8
===>  Cleaning for ruby_r-1.6.8
===> lang/ruby_r-devel
===>  Cleaning for ruby-1.8.0.p1
===>  Cleaning for ruby_r-1.8.0.p1
===> lang/ruby_static
===>  Cleaning for libiconv-1.8_2
===>  Cleaning for libtool-1.3.4_4
===>  Cleaning for ruby-1.6.8
===>  Cleaning for ruby-zlib-0.5.1
===>  Cleaning for ruby-bdb1-0.1.7
===>  Cleaning for ruby-1.6.8
===>  Cleaning for ruby-shim-ruby18-1.8.0.p1
===>  Cleaning for ruby_static-1.6.8
===> lang/ruby_static-devel
"/usr/ports/Mk/bsd.ruby.mk", line 135: "Ruby 1.7 is obsolete; set
RUBY_VER to 1.8 instead."
*** Error code 1

Stop in /usr/ports/lang.
*** Error code 1

Stop in /usr/ports.
$

Is no-one else not seeing this?

Regards,

Stacey
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Is ldd recursive?

2002-12-25 Thread Darren Pilgrim
When I run ldd on a given program, does ldd check the dependencies of 
the libaries as well?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: wireless optical mouse useable in freebsd?

2002-12-25 Thread Sarah Woolley
My wireless optical mouse works, but it's not made my microsoft.  Don't
know if it makes a difference, but you could just try it and see if it
works.

On Wed, 25 Dec 2002, chip wiegand wrote:

> I just received this micro$oft wireless optical mouse for christmas from
> my son, and am wondering if anyone knows if it will work in freebsd 4.7?
> I haven't tried it yet. It is both usb and ps2.
> Thanks,
> Chip W
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: AW: wireless optical mouse useable in freebsd?

2002-12-25 Thread chip wiegand
On Wed, 25 Dec 2002 22:38:53 +0100
"Gernot A. Weber" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> it should be no problem. Neither as USB nor PS/2.
> 
> Bye,
> 
>   Gernot

Thanks, it does load the usb stuff at the console, but in X it doesn't
work. I probably have to make some change to the XF86Config file? Here
is the section for the pointer as it is for my current usb logitech
trackman mouse -

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "MouseSystems"
Option  "Device" "/dev/sysmouse"
Option  "ZAxisMapping" "X"
Option  "ZAxisMapping" "Y"
Option  "ZAxisMapping" "N1 N2"
EndSection

Even with this setup the scroll wheel does not work. So, with the new
mouse I'd like the scroll wheel to work as well. Hope someone can point
me in the right direction.

--
Chip

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] Im Auftrag von chip
> wiegand Gesendet: Mittwoch, 25. Dezember 2002 20:42
> An: [EMAIL PROTECTED]
> Betreff: wireless optical mouse useable in freebsd?
> 
> I just received this micro$oft wireless optical mouse for christmas
> from my son, and am wondering if anyone knows if it will work in
> freebsd 4.7? I haven't tried it yet. It is both usb and ps2.
> Thanks,
> Chip W
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



promise sx4000

2002-12-25 Thread webmaster
hi!

i have promise sx4000 raid card and im trying to get it work with freebsd
5.0
so is there anyone who knows a driver for that card?

// akutus the citizen of universe!


<>

Re: Can't route past gateway

2002-12-25 Thread Fernando Gleiser
On Wed, 25 Dec 2002, Adam Lofstedt wrote:

> >
> #ipnat -l
> List of active MAP/redirect filters:
> map x10 192.168.1.0/24 -> 0.0.0.0/32 portmap tcp/udp
> 4:6
> map x10 192.168.1.0/24 -> 0.0.0.0/32
  ^^^
Shouldn't that be "xl0"?


Fer

>
> List of active sessions:
>
> I've tried ipf -Fa, but no luck yet.
>
> Thanks and happy holidays.
>
> Adam Lofstedt
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: email addresses used for lists [was: L0phtcrack]

2002-12-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-25 14:29:44 -0800:
> Kurt Bigler <[EMAIL PROTECTED]> writes:
> 
> > Well that's an interesting idea.  Throw-away subdomains (excuse my
> > terminology - maybe I'm supposed to call them host names?) imply a whole
> > "host" of email addresses without wasting a domain name.
> 
> No excuse needed, if my reading is correct.  O'Reilly's "DNS and Bind"
> says "The hosts are there, but they're domains, too."  It says that a
> domain contains all the hosts within the domain.  (Leaf-node domains
> just contain one host and have no name server serving lower-level
> domains.)  Another book seems to agree (and notes that hosts may have
> domain name aliases too).
> 
> Note that a domain named "freebsd.org" may contain a host named
> "freebsd.org" as well as lower-level domains like "xxx.freebsd.org".  And
> a domain named "xxx.freebsd.org" may contain a host named
> "xxx.freebsd.org" whether or not the domain has lower-level domains.
> 
> 
> Even if you don't accept the single-host domain idea, you can say that
> your "sub-domain" is just shorthand for "sub-domain name" which seems to
> be widely-acceptable shorthand for names within the domain tree all the
> way to the leaves, where, in this mind-set, there are no sub-domains.

It's just semantics, really.

Let's say you have a host with IP address 1.2.3.4, and a name
"fubar.org" (A RR) that resolves to 1.2.3.4. Is "fubar.org" a domain
or a hostname?

Let's say you have names "fubar.org", "alpha.fubar.org", and
"beta.fubar.org". There's no A RR for "fubar.org", but
"alpha.fubar.org" resolves to 1.2.3.4, and "beta.fubar.org" resolves
to 1.2.3.5. What is what here?

Let's say you have names "fubar.org", "alpha.fubar.org", and
"beta.fubar.org". All three names resolve to 1.2.3.4. What is what
here?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Argument list too long: limitation in grep? bash? FreeBSD?

2002-12-25 Thread Bill Moran


From: [EMAIL PROTECTED] (Gary W. Swearingen)

> >  find . -name '*.html' -print | xargs grep __FILE__

One might as well get in the habit of using the more robust

find . -name '*.html' -print0 | xargs -0 grep __FILE__

Otherwise, the "-print" isn't needed at all; it's a default.


Very true.  Much like Greg pointed out, I'm using the correct
commands, I just need to start using them correctly ;)

-Bill

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: once last try

2002-12-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-24 10:48:42 -0500:
> >is your outside IP static, or DHCP?
> >
> >static:
> >   
> >a) 1. put hostname="a11d015.neo.rr.com" in /etc/rc.conf
> >   2. let postfix get it from gethotname()
> >b) 1. leave /etc/rc.conf as it is
> >   2. put myhostname = a11d015.neo.rr.com in
> >  $config_directory/main.cf
> >
> >DHCP:
> >
> >can't really help, but ISTR the DHCP client can update it's hostname
> >from the server. if this is true:
> >
> >1. configure DHCP to update the hostname from the server
> >2. put myhostname = a11d015.neo.rr.com in $config_directory/main.cf
> >
> >but I might be on crack.
> 
> I put a11d015.neo.rr.com as my hostname in Postfix and everything 
> seems to work well, except I tried to subscribe to the questions list 
> with this new setup but it doesn't seem to work. I get a response 
> from majordomo saying that it is sending another email to my address 
> as an authorization key but that email never arrives.
> 
> Any ideas?

Hmm... What's in a11d015.neo.rr.com:/var/log/maillog ?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Argument list too long: limitation in grep? bash? FreeBSD?

2002-12-25 Thread Gary W. Swearingen
> >  find . -name '*.html' -print | xargs grep __FILE__

One might as well get in the habit of using the more robust

find . -name '*.html' -print0 | xargs -0 grep __FILE__

Otherwise, the "-print" isn't needed at all; it's a default.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: email addresses used for lists [was: L0phtcrack]

2002-12-25 Thread Gary W. Swearingen
Kurt Bigler <[EMAIL PROTECTED]> writes:

> Well that's an interesting idea.  Throw-away subdomains (excuse my
> terminology - maybe I'm supposed to call them host names?) imply a whole
> "host" of email addresses without wasting a domain name.

No excuse needed, if my reading is correct.  O'Reilly's "DNS and Bind"
says "The hosts are there, but they're domains, too."  It says that a
domain contains all the hosts within the domain.  (Leaf-node domains
just contain one host and have no name server serving lower-level
domains.)  Another book seems to agree (and notes that hosts may have
domain name aliases too).

Note that a domain named "freebsd.org" may contain a host named
"freebsd.org" as well as lower-level domains like "xxx.freebsd.org".  And
a domain named "xxx.freebsd.org" may contain a host named
"xxx.freebsd.org" whether or not the domain has lower-level domains.


Even if you don't accept the single-host domain idea, you can say that
your "sub-domain" is just shorthand for "sub-domain name" which seems to
be widely-acceptable shorthand for names within the domain tree all the
way to the leaves, where, in this mind-set, there are no sub-domains.

-- 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Can't route past gateway

2002-12-25 Thread Marco Radzinschi
On Wed, 25 Dec 2002, Adam Lofstedt wrote:

> > yes, your message was posted. keppt it easy, it's a
> > world-wide holiday,
> > so the answers can take while. :)
> >
> Thanks...  Sorry about this.  I didn't mean to make it
> seem hysterical or anything.
>
> > >
> > > I have a freeBSD machine with two NICS that I am
> > using
> > > as a NAT gateway.  No matter what I do, clients on
> > my
> > > LAN can't get past the gateway.  They can ping
> > both
> > > the interal and external interfaces of the
> > gateway,
> > > but can't get outside.
> >
> > Either NAT is not working or the filter are blocking
> > the packets. try doing an
> > 'ipnat -l' and post the output. If the rules are
> > loaded, drop the
> > filters ('ipf -Fa') and try again from one client.
> >
> #ipnat -l
> List of active MAP/redirect filters:
> map x10 192.168.1.0/24 -> 0.0.0.0/32 portmap tcp/udp
> 4:6
> map x10 192.168.1.0/24 -> 0.0.0.0/32
>
> List of active sessions:
>
> I've tried ipf -Fa, but no luck yet.
>
> Thanks and happy holidays.
>
> Adam Lofstedt

Have you issued an "ipf -y" command to synchronize IPFilter's address with
the 0/32 rule?

Marco Radzinschi
E-Mail: [EMAIL PROTECTED]

Wed Dec 25 17:12:14 EST 2002


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Help with IPF and IPNAT

2002-12-25 Thread Marco Radzinschi
On Wed, 25 Dec 2002, [EMAIL PROTECTED] wrote:

> Argh!  I've been pulling my hair out trying to get my NAT gateway going.
>
> I have two interfaces, one external and internal, servicing a private LAN.
> From the LAN I can ping the internal interface and the external interface,
> but I can't get past the ext. interface.  For testing my rules are pass in
> all and pass out all.  From the gateway itself I can ping anywhere outside
> or inside.
>
> I have tried loading IPNAT and IPF as loadable kernel modules by adding the
> following to /etc/rc.conf:
>
> gateway_enable="YES"
> network_interfaces="x10 dc0 lo0"
> ifconfig x10...
> ifconfig dc0...
> ipfilter_enable="YES"
> ipfilter_rules="/etc/ipf.rules"
> ipfilter_program="/sbin/ipf"
> ipfilter_flags=""
> ipnat_enable="YES"
> ipnat_program="/sbin/ipnat"
> ipnat_flags=""
>
> Each interface is up and running.  My default gateway in /etc/rc.conf is
> the gateway of the external NIC.
>
> Can anyone see anything wrong with what I am doing, or something missing?
> Do I need routed installed and running?  I also tried
> forward_sourceroute="YES", but that didn't seem to help.
>
> Thanks,
> Adam Lofstedt

You need a MAP rule in your ipnat.rules file to map the private subnet
into your public IP address (that of the gateway).

If you don't have this in there, then you are not doing NAT, just packet
filtering.

man ipnat
man 5 ipnat

Marco Radzinschi
E-Mail: [EMAIL PROTECTED]

Wed Dec 25 17:08:12 EST 2002


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: dvix/avi player [was: Missing ports?]

2002-12-25 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

>> (12.24.2002 @ 2249 PST): Shantanu Mahajan said, in 0.9K: <<
> +++ [EMAIL PROTECTED] [freebsd] [21/12/02 21:41 +0100]:
> | What is the problem and can you recommend another divx/avi player? (I use=
> did you try mplayer? you can find it in
> /usr/ports/graphics/mplayer.
>> end of "Re: dvix/avi player [was: Missing ports?]" from Shantanu Mahajan <<

Seeing as how it's what the whole thread was about, it's worth noting
that the new location of mplayer is ${PORTSDIR}/multimedia/mplayer.

# Adam


- --
Adam Weinberger
vectors.cx  >>  [EMAIL PROTECTED]
FreeBSD.org <<  [EMAIL PROTECTED]
Bayer Berkeley  >>  [EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+Cipro8KM2ULHQ/0RAvZwAKCfXvQ3Nkh+vBvlq4mQApKOqhRKQACeKRU4
80UaPQ25lQaCOnjuPHeO4Tg=
=o2GI
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Argument list too long: limitation in grep? bash? FreeBSD?

2002-12-25 Thread parv
in message <[EMAIL PROTECTED]>,
wrote Bill Moran thusly...
>
> >From: Shantanu Mahajan <[EMAIL PROTECTED]>
> the wildcard, thus the limit doesn't affect the command.
> 
> >or maybe you can use "locate"
> 
> Hadn't thought to try that, although I don't know how it would
> work.

RTFM? locate(1)?

given a path name, it lists the file matching that pattern.  man
page state that it takes a "pattern".  in practice i find its
capabilities are rather restricted; using e?grep is much better...

  locate foo | grep 'foo$'


  - parv

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Argument list too long: limitation in grep? bash? FreeBSD?

2002-12-25 Thread Bill Moran
From: Shantanu Mahajan <[EMAIL PROTECTED]>
+++ Bill Moran [freebsd] [24/12/02 17:25 -0500]:
| Anyway, I'm trying to find the docs on some features that
| the www.php.net's search isn't really helping on (searching
| for __FILE__ doesn't search for __FILE__ ... it searches for
| file, and there's too many results) so I try:
| grep __FILE__ *.html
| and I get the error:
| - -bash: /usr/bin/grep: Argument list too long
| Is this a shortcoming of bash, grep or FreeBSD?  I'm assuming
| it's not grep, as the command:
| find . -name *.html -print | xargs grep __FILE__
| yeilds:
| - -bash: /usr/bin/find: Argument list too long

try this one

find . -iname "*.html" -exec grep "__FILE__" {} \;


I think the magic in this answer is the quotes around *.html,
which (as Greg pointed out) prevent the shell from expanding
the wildcard, thus the limit doesn't affect the command.


or maybe you can use "locate"


Hadn't thought to try that, although I don't know how it would
work.  I also didn't want to wait for the locate database to
update before doing the search.  (although I had to wait for
replies from thet list - in the future I won't have to)

Thanks for the feedback.
-Bill

_
MSN 8 limited-time offer: Join now and get 3 months FREE*. 
http://join.msn.com/?page=dept/dialup&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_newmsn8ishere_3mf


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: ram & swap

2002-12-25 Thread David Nicholas Kayal
First, and before anything, you normally log in as root or are you just
trying to impress us?

Second, ram is a lot faster than using swap.

Third, the problem with the ssh trying to log in probably has to do with a
hostname resolving problem.

that is about it.

david


On Wed, 25 Dec 2002, Charlie Root wrote:

> Hey why everything on my machine goes into RAM? i have always 87% ram
> taken by every proccess running... i have 91 megs of ram what should
> i do? my swap is always empty... is there some problem or how to fix
> that. i can't run lots of programs because server gers jammed and works
> slow.. SSH is nearly working... to login takes few minutes. please
> help! mNTKz [EMAIL PROTECTED]
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



ram & swap

2002-12-25 Thread Charlie Root
Hey
why everything on my machine goes into RAM? i have always 87% ram taken by every 
proccess running... i have 91 megs of ram what should i do? my swap is always 
empty... is there some problem or how to fix that. i can't run lots of programs 
because server gers jammed and works slow.. SSH is nearly working... to login takes 
few minutes. please help!
mNTKz
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Can't route past gateway

2002-12-25 Thread Joe Gwozdecki

- Original Message -
From: "Adam Lofstedt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 25, 2002 11:24 AM
Subject: Can't route past gateway


> I tried to send a message to the list earlier, but my
> email server was down.  I checked the archives, but I
> can't tell if my message has been posted already, so I
> apologize if it has.  If anyone has already replied,
> could you forward your response to this address?
>
> I have a freeBSD machine with two NICS that I am using
> as a NAT gateway.  No matter what I do, clients on my
> LAN can't get past the gateway.  They can ping both
> the interal and external interfaces of the gateway,
> but can't get outside.
>
> I am using IPF and IPNAT as loadable kernel modules.
> My /etc/rc.conf looks like this:
>
> gateway_enable="YES"
> kern_securelevel_enable="NO"
> linux_enable="YES"
> moused_enable="YES"
> nfs_reserved_port_only="YES"
> sendmail_enable="YES"
> sshd_enable="YES"
> usbd_enable="YES"
> ipfilter_enable="YES"
> ipfilter_program="/sbin/ipf"
> ipfilter_rules="/etc/ipf.rules"
> ipfilter_flags=""
> ipnat_enable="YES"
> ipnat_program="/sbin/ipnat"
> ipnat_rules="/etc/ipnat.rules"
> ipnat_flags=""
> ifconfig_dc0="inet 192.168.1.1 netmask 255.255.255.0"
> ifconfig_xl0="DHCP"
> inetd_enable="NO"
> hostname="forcefield.mydomain.com"
>
> ipf -V gives this:
> ipf: IP Filter: v3.4.29 (336)
> Kernel: IP Flter v3.4.29
> Running: yes
> Log Flags: 0 = none set
> Default: pass all, Logging available
> Active list:0
>
> Here is dmesg showing ipfilter stuff:
> IP Filter: v3.4.29 initialized.  Default = pass all,
> Logging = enabled
>
> (it also says some things at boot, like "IPFilter
> module loaded", and other things about ipnat getting
> flushed and loaded, but I don't know how to get dmesg
> to show me exactly what it says at boot time).
>
> My /etc/ipf.rules file has just this for testing:
> pass in all
> pass out all
>
> My ipnat.rules file has this:
> map 192.168.1.0/24 -> 0/32 portmap tcp/udp 1:65000
> map 192.168.1.0/24 -> 0/32
>
> In this configuration, my outside interface is getting
> its info via dhcp from my cable provider.  I also
> tried this similar configuration at my work, using
> same internal addressing scheme, but using a fixed IP
> for the ext. interface with no luck.  I just can't get
> past the outside interface of my gateway.  What am I
> leaving out?  And this is not a DNS issue, as I am
> pinging only by ip.  Do I need to add static routes or
> something?
>
> I've googled for hours and hours already... :(
>
> Thanks for your help,
>
> Adam Lofstedt
>


FreeBSD cheatsheets has instructions for setting up a Dual Homed Host (2 NICs) using 
IPFW.
It works for me.  You can also get some additional information from the FreeBSD 
handbook
about NAT.  Which I also used in setting it all up.  It really is quite simple.

Joe Gwozdecki
Houston, Texas


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Can't route past gateway

2002-12-25 Thread Adam Lofstedt
> yes, your message was posted. keppt it easy, it's a
> world-wide holiday,
> so the answers can take while. :)
> 
Thanks...  Sorry about this.  I didn't mean to make it
seem hysterical or anything.

> >
> > I have a freeBSD machine with two NICS that I am
> using
> > as a NAT gateway.  No matter what I do, clients on
> my
> > LAN can't get past the gateway.  They can ping
> both
> > the interal and external interfaces of the
> gateway,
> > but can't get outside.
> 
> Either NAT is not working or the filter are blocking
> the packets. try doing an
> 'ipnat -l' and post the output. If the rules are
> loaded, drop the
> filters ('ipf -Fa') and try again from one client.
> 
#ipnat -l 
List of active MAP/redirect filters:
map x10 192.168.1.0/24 -> 0.0.0.0/32 portmap tcp/udp
4:6
map x10 192.168.1.0/24 -> 0.0.0.0/32

List of active sessions:

I've tried ipf -Fa, but no luck yet.

Thanks and happy holidays.

Adam Lofstedt

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Can't route past gateway

2002-12-25 Thread Fernando Gleiser
On Wed, 25 Dec 2002, Adam Lofstedt wrote:

> I tried to send a message to the list earlier, but my
> email server was down.  I checked the archives, but I
> can't tell if my message has been posted already, so I
> apologize if it has.  If anyone has already replied,
> could you forward your response to this address?

yes, your message was posted. keppt it easy, it's a world-wide holiday,
so the answers can take while. :)


>
> I have a freeBSD machine with two NICS that I am using
> as a NAT gateway.  No matter what I do, clients on my
> LAN can't get past the gateway.  They can ping both
> the interal and external interfaces of the gateway,
> but can't get outside.

Either NAT is not working or the filter are blocking the packets. try doing an
'ipnat -l' and post the output. If the rules are loaded, drop the
filters ('ipf -Fa') and try again from one client.

Tell me if that works.


Fer


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Turning off NDELAY Mode

2002-12-25 Thread Jack L. Stone
FreeBSD sage-american.com 4.7-STABLE FreeBSD 4.7-STABLE #0:

Ever since I installed SpamAss + SpamAss-Milter, I've been seeing this
error pop up frequently. I'm not sure what is triggering it or what it
means -- so, don't know where to look for the answer. Has anyone else seen
this?

The error on the console:
"sageame@sage-american$ sh: turning off NDELAY mode"

Thanks for any tips & Happy Holidays!

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



wireless optical mouse useable in freebsd?

2002-12-25 Thread chip wiegand
I just received this micro$oft wireless optical mouse for christmas from
my son, and am wondering if anyone knows if it will work in freebsd 4.7?
I haven't tried it yet. It is both usb and ps2.
Thanks,
Chip W

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Argument list too long: limitation in grep? bash? FreeBSD?

2002-12-25 Thread Shantanu Mahajan
+++ Bill Moran [freebsd] [24/12/02 17:25 -0500]:
| Anyway, I'm trying to find the docs on some features that
| the www.php.net's search isn't really helping on (searching
| for __FILE__ doesn't search for __FILE__ ... it searches for
| file, and there's too many results) so I try:
| grep __FILE__ *.html
| and I get the error:
| - -bash: /usr/bin/grep: Argument list too long
| Is this a shortcoming of bash, grep or FreeBSD?  I'm assuming
| it's not grep, as the command:
| find . -name *.html -print | xargs grep __FILE__
| yeilds:
| - -bash: /usr/bin/find: Argument list too long

try this one

find . -iname "*.html" -exec grep "__FILE__" {} \;

or maybe you can use "locate"

Regards,
Shantanu

-- 
Everyone is a genius.  It's just that
some people are too stupid to realize it. 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: XFree86 4.2.1 Signal 11 on start

2002-12-25 Thread Shantanu Mahajan
+++ Paul A. Scott [freebsd] [25/12/02 09:07 -0800]:
| The XFree86 package delivered with the 4.7-RELEASE of FreeBSD fails on
| signal 11 at startup. Building XFree86-4 from ports gets the same results.
| However the XFree86 3.3.6 port works fine.
| 
| Can anyone, PLEASE help me fix this problem. I have been unable to run
| XFree86 since version 4. I've tried to rebuild with debugging symbols so I
| can find the location of the failure, but without success.
| 
| Log follows.
| 
| Thanks,
| Paul
|  
check out detailed info about signal 11
http://www.BitWizard.nl/sig11/

Regards,
Shantanu
-- 
Everyone is a genius.  It's just that
some people are too stupid to realize it. 




msg13246/pgp0.pgp
Description: PGP signature


Re: isnormal() ?

2002-12-25 Thread Scott Ballantyne
Cliff Sarginson <[EMAIL PROTECTED]> writes:
> To be fair, he did use the (appalling) word "mathoid" to imply that it

Appalling? heh heh.. No more spheroid, cuboid, either? Oh dear...

> Well you could write it yourself,,
> 

Here 'tis. Seems to work well enough for the moment, although if
anyone notices a bug, boy, I'd sure appreciate hearing about it.

sdb
-- 
[EMAIL PROTECTED]



/* isnormal.c, return non-zero if arg not zero, infinte, subnormal or NaN
   FreeBSD 4.7 libm lacks this function
   Scott Ballantyne ([EMAIL PROTECTED])
   Use at your own risk.
*/
/* You will need the source to the libraries to compile this function */

#include "/usr/src/lib/msun/src/math.h"
#include "/usr/src/lib/msun/src/math_private.h"

int isnormal (double x)
{
  int32_t hx,lx;
  EXTRACT_WORDS(hx, lx, x);

  hx &= 0x7fff;
  if (((hx | lx) == 0) /* x == 0.0 */
  || (hx >= 0x7ff0) /* x infinite? */
  || ((hx | ((lx|-lx) >> 31)) > 0x7ff0) /* NaN? */
  || (hx < 0x0010)) /* Subnormal? */
return 0;

  return 1;
}




  

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Default permissions under X (umask?)

2002-12-25 Thread Bill Moran
From: Lowell Gilbert <[EMAIL PROTECTED]>
"Bill Moran" <[EMAIL PROTECTED]> writes:

> I would like to set my default permissions for X windows apps.
> I've set my umask for bash, which works great when I'm in a
> terminal, but it doesn't seem to have any effect on X apps
> (such as the Mozilla downloader, for example, or when I create
> new files with Code Crusader)
> Files are created rw---, which is pretty restrictive when
> working on the server (something like rw-rw would be more
> appropriate - it's what I have the umask set to in bash)
> Is there a way to globally set the umask for all X apps?  It's
> very easy to forget and the other members of my team keep chewing
> me out. I tried calling the umask command from my .xinitrc file,
> but it doesn't seem to have any effect.

It *should* work -- it does for me.
[Although, in my case, it's the .xsession file, because I use xdm.]


Well, now that I'm taking a more careful look, it does ... sort of.
It seems as though I've been looking at the wrong thing, the problem
appears to be in the Mozilla downloader.  When I save an email from
Mozilla, it gets rw-rw-r--, but when I download a file, it gets
rw---.
I'll check the docs and Bugzilla to see if this is by design or a
known issue ... if not, I'll file a bug report.
Thanks for the pointer, and sorry for the noise.

-Bill

_
MSN 8: advanced junk mail protection and 3 months FREE*. 
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_advancedjmf_3mf


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Default permissions under X (umask?)

2002-12-25 Thread Lowell Gilbert
"Bill Moran" <[EMAIL PROTECTED]> writes:

> I would like to set my default permissions for X windows apps.
> I've set my umask for bash, which works great when I'm in a
> terminal, but it doesn't seem to have any effect on X apps
> (such as the Mozilla downloader, for example, or when I create
> new files with Code Crusader)
> Files are created rw---, which is pretty restrictive when
> working on the server (something like rw-rw would be more
> appropriate - it's what I have the umask set to in bash)
> Is there a way to globally set the umask for all X apps?  It's
> very easy to forget and the other members of my team keep chewing
> me out. I tried calling the umask command from my .xinitrc file,
> but it doesn't seem to have any effect.

It *should* work -- it does for me.
[Although, in my case, it's the .xsession file, because I use xdm.]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Video card with TV OUT

2002-12-25 Thread Anish Mistry
On Wednesday 25 December 2002 12:25 pm, Alvaro Gil wrote:
> Can anyone recommend a video card with TV out that can be used with 
> FreeBSD.  I would like the TV to be the only monitor connected.  Also 
> it should do 800X600.
> 
> Anything out there that works like I want it to?  Its for a MP3/DVD 
> player project that will be connected to a TV and use a wireless 
> keyboard, so it is very important that the TV port be the only active 
> monitor at startup.  Thanks.
> -- 
> 
> Alvaro Gil
> http://www.AlvaroGil.com
> '84 Volvo 242 Turbo (Silver) 15 psi
> '97 Leopard Gecko (White, Yellow, Black)
> NJIT Mechanical Engineering Student
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
The Nvidia cards with S-video out ie. Geforece2 MX cards allow you to have to 
tv as the only display.  Just make sure that the s-video cable is plugged 
into the tv when the computer starts.


-- 
Anish Mistry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Default permissions under X (umask?)

2002-12-25 Thread Bill Moran
I would like to set my default permissions for X windows apps.
I've set my umask for bash, which works great when I'm in a
terminal, but it doesn't seem to have any effect on X apps
(such as the Mozilla downloader, for example, or when I create
new files with Code Crusader)
Files are created rw---, which is pretty restrictive when
working on the server (something like rw-rw would be more
appropriate - it's what I have the umask set to in bash)
Is there a way to globally set the umask for all X apps?  It's
very easy to forget and the other members of my team keep chewing
me out. I tried calling the umask command from my .xinitrc file,
but it doesn't seem to have any effect.

-Bill

_
STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. 
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_stopmorespam_3mf


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: ATX power down

2002-12-25 Thread Andrew Prewett
Today Paulo Roberto wrote:

> --- "Denis N. Peplin" <[EMAIL PROTECTED]> wrote:
> > I don't know why some ATX systems can't. I'm tested "halt -p" on
> > FreeBSD 5.0 and all work fine.
>
> It is strange, since I got Linux also on this machine, and "halt"
> powers down properly, but not on FreeBSD.
>
> > > BTW "PDWN" in the keymap ("the three-finger-salute") would have to
> > > power down the ATX also, right?
> > No, reboot.
>
> Is there a way to start a script when crtl+alt+del is pressed?

/etc/rc.shutdown

> I looked at the keymap, and only found BOOT PDWN and HALT. I would
> need it to power down.

`pdwn' does exactly what you want, see kbdmap(5)
change your keymap (in /usr/share/syscons/keymaps/) as you like
(in the appropriate line `boot' to `pdwn')

-andrew

>
> And BTW, I got DP-2 and RC-2 on two different machines, and both of
> them keep outputing on the console a *lot* of "calcru" messages. Are
> you guys getting it also?
>
> thanks
>
> Paulo
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: XFree86 4.2.1 Signal 11 on start

2002-12-25 Thread Scott Robbins
On Wed, Dec 25, 2002 at 09:07:05AM -0800, Paul A. Scott wrote:
> The XFree86 package delivered with the 4.7-RELEASE of FreeBSD fails on
> signal 11 at startup. Building XFree86-4 from ports gets the same results.
> However the XFree86 3.3.6 port works fine.
> 
> Can anyone, PLEASE help me fix this problem. I have been unable to run
> XFree86 since version 4. I've tried to rebuild with debugging symbols so I
> can find the location of the failure, but without success.



> 
> Log follows.
> 
> Thanks,
> Paul
>  
> S3 Trio 32/64 PCI video card

I wonder if this could be the problem--I've found, on several installs
of both Linux and FreeBSD that I had much better luck selecting 
S3 Virge (Generic) for an S3 Trio card in xf86config.


Not sure if it'll help, but probably worth a shot.

-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Willow: Old reliable? Yeah, great. There's a sexy
nickname.
 Buffy: Well, I didn't mean it as...
Willow: No, it's fine, I'm Old Reliable.
Xander: She just means, you know, the geyser. You're like a
geyser of fun that goes off at regular intervals.
Willow: That's Old Faithful.
Xander: Isn't that the dog that the guy had to shoot...?
Willow: That's Old Yeller.
Buffy: Xander, I beg you not to help me.



msg13239/pgp0.pgp
Description: PGP signature


Video card with TV OUT

2002-12-25 Thread Alvaro Gil
Can anyone recommend a video card with TV out that can be used with 
FreeBSD.  I would like the TV to be the only monitor connected.  Also 
it should do 800X600.

Anything out there that works like I want it to?  Its for a MP3/DVD 
player project that will be connected to a TV and use a wireless 
keyboard, so it is very important that the TV port be the only active 
monitor at startup.  Thanks.
--

Alvaro Gil
http://www.AlvaroGil.com
'84 Volvo 242 Turbo (Silver) 15 psi
'97 Leopard Gecko (White, Yellow, Black)
NJIT Mechanical Engineering Student


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Can't route past gateway

2002-12-25 Thread Adam Lofstedt
I tried to send a message to the list earlier, but my
email server was down.  I checked the archives, but I
can't tell if my message has been posted already, so I
apologize if it has.  If anyone has already replied,
could you forward your response to this address?

I have a freeBSD machine with two NICS that I am using
as a NAT gateway.  No matter what I do, clients on my
LAN can't get past the gateway.  They can ping both
the interal and external interfaces of the gateway,
but can't get outside.

I am using IPF and IPNAT as loadable kernel modules. 
My /etc/rc.conf looks like this:

gateway_enable="YES"
kern_securelevel_enable="NO"
linux_enable="YES"
moused_enable="YES"
nfs_reserved_port_only="YES"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
ipfilter_enable="YES"
ipfilter_program="/sbin/ipf"
ipfilter_rules="/etc/ipf.rules"
ipfilter_flags=""
ipnat_enable="YES"
ipnat_program="/sbin/ipnat"
ipnat_rules="/etc/ipnat.rules"
ipnat_flags=""
ifconfig_dc0="inet 192.168.1.1 netmask 255.255.255.0"
ifconfig_xl0="DHCP"
inetd_enable="NO"
hostname="forcefield.mydomain.com"

ipf -V gives this:
ipf: IP Filter: v3.4.29 (336)
Kernel: IP Flter v3.4.29
Running: yes
Log Flags: 0 = none set
Default: pass all, Logging available
Active list:0

Here is dmesg showing ipfilter stuff:
IP Filter: v3.4.29 initialized.  Default = pass all,
Logging = enabled

(it also says some things at boot, like "IPFilter
module loaded", and other things about ipnat getting
flushed and loaded, but I don't know how to get dmesg
to show me exactly what it says at boot time).

My /etc/ipf.rules file has just this for testing:
pass in all
pass out all

My ipnat.rules file has this:
map 192.168.1.0/24 -> 0/32 portmap tcp/udp 1:65000
map 192.168.1.0/24 -> 0/32

In this configuration, my outside interface is getting
its info via dhcp from my cable provider.  I also
tried this similar configuration at my work, using
same internal addressing scheme, but using a fixed IP
for the ext. interface with no luck.  I just can't get
past the outside interface of my gateway.  What am I
leaving out?  And this is not a DNS issue, as I am
pinging only by ip.  Do I need to add static routes or
something?

I've googled for hours and hours already... :(

Thanks for your help,

Adam Lofstedt

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



ghost-ing a ufs+vinum disk

2002-12-25 Thread Hari Bhaskaran
Hi,

I am looking for a method to dump my 'current' installation
(which includes couple of vinum volumes + some other normal
UFS partitions) to another machine where I have access to 
a CDR. I don't want to dump the entire HDD, but only the
used sectors/files. If you are familiar with Norton Ghost running
from a boot floppy uploading contents to a Ghost server,
that's exactly what I am trying to achieve. Norton Ghost
seems to 'support' UFS, but it merely dumps every sector of 
a hard disk - not really what I want to achieve.

BTW, I don't have hotswapable drives and such. So using vinum
itself to make a spare disk is not an option. I don't
mind temporarily rebooting the machine on to a different OS/disk
to do this backup.

Any help is appreciated.

-- 
Hari Bhaskaran

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: make iso.1 bootable image problem

2002-12-25 Thread Shantanu Mahajan
+++ Happy Clown [freebsd] [24/12/02 00:33 +]:
| Then
|  > chroot /usr/release
|  > cd /usr/src/release
|  > make iso.1
| 
| This also went through ok.
| 
| My problem is... the ISO images created don't appear to be bootable. At 
| least they're not recognised as such by the burning software I'm using 
| (Nero... OK, I'm burning them on a windows machine :-/ that's where the 
| burner is).
| 
| Am I missing any options with the make iso.1 command or any other steps to 
| make these ISO images bootable? Any helpful suggestions from anyone?
| 

What do you mean by "don't appear to be bootable"?
Did you burn it and then found out that its not bootable?
After going through /usr/src/release/Makefile, I realize
that the image created is bootable. Why don't you burn it
and test?

Regards,
Shantanu

-- 
Everyone is a genius.  It's just that
some people are too stupid to realize it. 




msg13235/pgp0.pgp
Description: PGP signature


Re: dvix/avi player [was: Missing ports?]

2002-12-25 Thread Shantanu Mahajan
+++ [EMAIL PROTECTED] [freebsd] [21/12/02 21:41 +0100]:
| Hi all
| 
| What is the problem and can you recommend another divx/avi player? (I use=
| 
| FreeBSD 4.7 with gnome).
| 
| br
| socketd
| 
| --
did you try mplayer? you can find it in
/usr/ports/graphics/mplayer.

Regards,
Shantanu

-- 
Everyone is a genius.  It's just that
some people are too stupid to realize it. 




msg13234/pgp0.pgp
Description: PGP signature


XFree86 4.2.1 Signal 11 on start

2002-12-25 Thread Paul A. Scott
The XFree86 package delivered with the 4.7-RELEASE of FreeBSD fails on
signal 11 at startup. Building XFree86-4 from ports gets the same results.
However the XFree86 3.3.6 port works fine.

Can anyone, PLEASE help me fix this problem. I have been unable to run
XFree86 since version 4. I've tried to rebuild with debugging symbols so I
can find the location of the failure, but without success.

Log follows.

Thanks,
Paul
 
S3 Trio 32/64 PCI video card

XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 4.7-RELEASE i386 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Dec 20 18:39:10 2002
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Mouse0"
(==) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/
lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/font
s/100dpi/"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.5
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x8000, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,122d card , rev 00 class 06,00,00 hdr
00
(II) PCI: 00:04:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr
00
(II) PCI: 00:07:0: chip 8086,122e card , rev 02 class 06,01,00 hdr
80
(II) PCI: 00:07:1: chip 8086,1230 card , rev 02 class 01,01,80 hdr
00
(II) PCI: 00:09:0: chip 1011,0014 card , rev 11 class 02,00,00 hdr
00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -10x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -10x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -10x - 0x (0x0) MX[B]
(II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(0:4:0) S3 Trio32/64 rev 0, Mem @ 0xcc00/26
(II) Addressable bus resource ranges are
[0] -10x - 0x (0x0) MX[B]
[1] -10x - 0x (0x1) IX[B]
(II) OS-reported resource ranges:
[0] -10xffe0 - 0x (0x20) MX[B](B)
[1] -10x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[2] -10x000f - 0x000f (0x1) MX[B]
[3] -10x000c - 0x000e (0x3) MX[B]
[4] -10x - 0x0009 (0xa) MX[B]
[5] -10x - 0x (0x1) IX[B]
[6] -10x - 0x00ff (0x100) IX[B]
(II) Active PCI resource ranges:
[0] -10xcc00 - 0xcfff (0x400) MX[B](B)
[1] -10x1000 - 0x10ff (0x100) IX[B]E
(II) Inactive PCI resource ranges:
[0] -10xd000 - 0xdfff (0x1000) MX[B]E
[1] -10x1080 - 0x10ff (0x80) IX[B]E
(II) Active PCI resource ranges after removing ov

Re: Refusing Connections

2002-12-25 Thread Shane Kinney
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> > > OS - 5.0 RC2
> > > Apache - 2.0.43
> > > OpenSSL - 0.9.6g
> > >
> > > I'm having a rather odd problem and I can't quite put my finger on it.   I
> > > can verify that the apache httpd is running but I am unable to connect to
> > > the box on port 80.
> > > I verified that httpd.conf specifies port 80.  I've verified that the
> > > firewall is disabled.  I can connect on other ports so I know that the
> > > network settings are working properly.If someone could point out what
> > > I'm missing, I'd really appreciate it.  I have a feeling that it's going
> > > to be a "DOH!" momemt.
> > >
> > > Thanks,
> > >
> > > Ms. Jimi Thompson
> Stacey Roberts
> B.Sc (HONS) Computer Science
>
> Web: www.vickiandstacey.com
>

I think I know what you are trying to say Ms. Thompson.  It probably
seems that you have gotten your Apache configuration to start and run,
however, for whatever reason, can not seem to get the Apache Daemon to
serve you a webpage.

By default, unless you changed it in "/usr/local/apache/conf/httpd.conf",
apache will create a socket and bind (listen) to incomming connections
on Port 80.  As, previously mentioned, some ISP's do block incomming
Port 80 connections before they can get to your webserver, for various
reasons, I won't tread into why they do that.

However, even though your ISP might block the connection, that does not
mean that you cannot have Apache serve you a webpage from inside your
LAN.  To test that Apache is up and running this is what you need know
now, and the steps you should take.

1)  Find out the internal IPv4 address of your webserver.  (If you only
have 1 internal machine behind your router you can use "127.0.0.1").
Make sure that there is a good "Route to host" from whatever your
workstation might be at to the webserver, i.e. Ping the webserver make
sure it responds.

2) Make sure that Apache is running.  This will tell you for sure:
# netstat -an | grep -i 80
You should see some output like this:
tcp40   0  *.80 *.* LISTEN

3)  If you have X Windows running, you can use your normal browser,
otherwise you'll want to install "Lynx", you can find and install this
port by doing the following:
# cd /usr/ports/www/lynx ; make && make install

4)  Then time to test to see if this really works, with your browser we
need to enter the IP address of the webserver on the LAN, again, if you
are going to test the webserver from your one box, "127.0.0.1" works
fine.  So enter this into your browser:
http://the_webserver_ip_address
-- Possibly could look somthing like this:
http://192.168.1.2
-- or --
http://127.0.0.1

If you did install Lynx to use it from the command line:
# /usr/local/bin/lynx http://your_webserver_ip_address
or
# /usr/local/bin/lynx http://127.0.0.1

Hopefully you got something back on this request, if not, something
might be incorrect with your Apache config.

If you did get back a default webpage or what you did expect from this
request (one of your own webpages perhaps), thats good, it means
that everything is just fine with Apache.

5) Now all you need to do to get around your ISP's blocking of Port 80
is just stop apache:
# /usr/local/apache/bin/apachectl stop
then edit the "/usr/local/apache/conf/httpd.conf" file and change the
line that now specifies Port 80 and change it to something else, many
people use Port 8080 as an alternative.

Then just start Apache again:
# /usr/local/apache/bin/apachectl start

Check to make sure that your listening on the correct port:
# netstat -an | grep -i 8080
tcp40   0  *.8080   *.* LISTEN

Thats all!
Hope that'll get you going in the right direcetion.

~Shane
pgp key: http://www.freebsdhackers.net

PS: Stacey Roberts posted some good information about why your internal
name resolution might not work, read up on /etc/hosts and BIND to solve
thoes problems if they exist.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE+CeDBtGSLUf7ussURAr3fAJ0UqgQfsBwxPlZMJUGFSnbEyyh+YACfZUPH
L+H+NuUS4MOUU2CuqW6Ylww=
=Hg6A
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ATX power down

2002-12-25 Thread Paulo Roberto
--- "Denis N. Peplin" <[EMAIL PROTECTED]> wrote:
> I don't know why some ATX systems can't. I'm tested "halt -p" on
> FreeBSD 5.0 and all work fine.   

It is strange, since I got Linux also on this machine, and "halt"
powers down properly, but not on FreeBSD.

> > BTW "PDWN" in the keymap ("the three-finger-salute") would have to
> > power down the ATX also, right?
> No, reboot.

Is there a way to start a script when crtl+alt+del is pressed? I looked
at the keymap, and only found BOOT PDWN and HALT. I would need it to
power down.

And BTW, I got DP-2 and RC-2 on two different machines, and both of
them keep outputing on the console a *lot* of "calcru" messages. Are
you guys getting it also?

thanks

Paulo

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Argument list too long: limitation in grep? bash? FreeBSD?

2002-12-25 Thread Bill Moran
From: Greg 'groggy' Lehey <[EMAIL PROTECTED]>
On Tuesday, 24 December 2002 at 17:25:23 -0500, Bill Moran wrote:
> d/l the entire php documentation as individual html files.
> This equates to a LOT of files in a single directory (how can
> I get a count of this?)
> Anyway, I'm trying to find the docs on some features that
> the www.php.net's search isn't really helping on (searching
> for __FILE__ doesn't search for __FILE__ ... it searches for
> file, and there's too many results) so I try:
> grep __FILE__ *.html
> and I get the error:
> -bash: /usr/bin/grep: Argument list too long
> Is this a shortcoming of bash, grep or FreeBSD?  I'm assuming
> it's not grep, as the command:
> find . -name *.html -print | xargs grep __FILE__
> yeilds:
> -bash: /usr/bin/find: Argument list too long

Well, it's not a shortcoming.  These argument lists get passed into
the kernel by execve(), which changes the process image.  There's only
a certain size you can put in.


Understood.  Perhaps 'shortcoming' wasn't the correct word to use,
as it's a designed limitation.  It sure feels like a shortcoming
when you're just trying to find the page with the docs you need ;)


> I did a little research, and Linux has the MAX_ARG_PAGES kernel
> option to increase the size of the command line arguments it can
> process ... does FreeBSD have such a kernel option,

Well, we used to have an ARGSMAX variable, but it has now been
replaced by a sysctl kern.argmax.  It's set to 65536 by default.  You
could increase it, but at some point you'll always run into problems.
You can't make it longer than physical memory, for example.


Here we go!  This is incredibly useful.  It tells me exactly what I
need to know.  Thanks Greg.


> or some other way of overcoming this limit?

That's what the xargs program is for.  You just used it incorrectly.
It should be:

 find . -name '*.html' -print | xargs grep __FILE__

Putting the '' around the name stops the shell from trying to expand
it.


Ahhh ... so (making sure to understand this information so I can use
it again later) the quotes tell find to expand the pattern, without
quotes the shell tries to do it and results in the mentioned error.

I used the '' method, as I normally have no need to hunt around in
directories this big.  But it's good to know that the sysctl is
there, in case I ever want to use it.

-Bill


_
MSN 8 with e-mail virus protection service: 3 months FREE*. 
http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminateviruses_3mf


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Adding to standard include path (GCC)

2002-12-25 Thread Andrew Prewett
Today Ihsan Junaidi Ibrahim wrote:

> Hello all,
>
> I'm a starter to programming in FreeBSD after a few years in Visual C++ and
> would like to delve deeper into it. But I have a few questions which I need
> answers. I hope it wouldn't be too much a burden to you.
>
> I have two gccs installed, 2.95.4 (stock gcc) and 3.1.1.
>
> 1) How do add to the standard include path to a path that I designated without
> using the -I flag or is it fixed only to /usr/local/include and /usr/include.

You can edit the `specs' file, but you don't need.

gcc31 -v -E -dM - 
> 2) I notice that the gcc31 include files does not contain the standard C
> headers ie stdio.h, assert.h etc. Does this mean whenever I want to link to
> the header, it is sufficient to use the ones in /usr/include?

if you mean include a header, then yes, for C code.
Simply use `#include <*.h>' in the C source (both gcc)

> 3) I notice too that there are many C++ and STL include files I'm getting
> confused on which ones to use. The files are located at /usr/include/g++,

this is for use with the system gcc (2.95)

> /usr/local/lib/i386-portbld-freebsd4.7/3.1.1/include/g++v3 and

this is for the new gcc (3.x)

> /usr/local/lib/i386-portbld-freebsd4.7/3.1.1/include/g++v3/backward.

this is for (older) C++ souces with `#include <*.h>' (gcc 3.x)

> Can someone enlighten me on which one should I use.

use the standard include files, ie.: `#include ',
`#include ', etc.  in C++ source and (normally) the right
header is pulled in

> I intend on programming  purely in C++ with the exception that in
> later date, I might be forced to use some of the C include files.

simply use `#include , #include ', etc. in the C++ source

-andrew

>
> Thank you very much in advance.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ATX power down

2002-12-25 Thread Andrew Prewett
Today Paulo Roberto wrote:

> --- "Denis N. Peplin" <[EMAIL PROTECTED]> wrote:
> > # halt -p
>
> The system halts, but still no power down. Is there a sysctl for this
> thing or maybe a compile option in the kernel?

1) `device apm' in the kernel config
2) `apm_enable="YES"' in /etc/rc.conf

> BTW "PDWN" in the keymap ("the three-finger-salute") would have to
> power down the ATX also, right?

 Yes, if you dont have `options SC_DISABLE_REBOOT' in th kernel conf
and not changed the keymap (/usr/share/syscons/*.kbd).

-andrew

> thanks
>
> Paulo

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ATX power down

2002-12-25 Thread Denis N. Peplin
On Wednesday 25 December 2002 15:49, you wrote:
> --- "Denis N. Peplin" <[EMAIL PROTECTED]> wrote:
> > # halt -p
>
> The system halts, but still no power down. Is there a sysctl for this
> thing or maybe a compile option in the kernel?
man halt:
 -p  The system will turn off the power if it can.
  ^^^
I don't know why some ATX systems can't. I'm tested "halt -p" on
FreeBSD 5.0 and all work fine.   

> BTW "PDWN" in the keymap ("the three-finger-salute") would have to
> power down the ATX also, right?
No, reboot.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ATX power down

2002-12-25 Thread Paulo Roberto
--- "Denis N. Peplin" <[EMAIL PROTECTED]> wrote:
> # halt -p

The system halts, but still no power down. Is there a sysctl for this
thing or maybe a compile option in the kernel?
BTW "PDWN" in the keymap ("the three-finger-salute") would have to
power down the ATX also, right?

thanks

Paulo

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ATX power down

2002-12-25 Thread Denis N. Peplin
On Wednesday 25 December 2002 15:31, Paulo Roberto wrote:
> Hello,
>
> Is there a way to power down FreeBSD thru a command such as "halt" or
> maybe the "PDWN" on the keymap? None of them seems to work in my
> machine.
> I have searched the net without any success on this issue.
# halt -p

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



ATX power down

2002-12-25 Thread Paulo Roberto
Hello,

Is there a way to power down FreeBSD thru a command such as "halt" or
maybe the "PDWN" on the keymap? None of them seems to work in my
machine.
I have searched the net without any success on this issue.

thanks

Paulo

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: What is the Command to Get Web Pages?

2002-12-25 Thread Frank Reppin
On Tue, 24 Dec 2002, Drew Tomlinson wrote:

Hi,

> At one time I used a command to get the content from either ftp or web
> servers but I can't remember the name.  It was similar to 'fetch' but had
> options specific for mirroring a web site.  I could also control how deep I
> wanted to go in the directory level.  I've looked through 'pkg_info' and
> don't see it so I suspect it is a part of FBSD and not a port I installed.
> Can anyone refresh my memory?

Was it called 'wget'? At least it has all the features you're speaking
about.

> Thanks,

Kind regards,

Frank Reppin



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



squid question

2002-12-25 Thread Alex Carlos Braga Antão
hello, again, I will insist on my question, because it is urgent...
I Have a squid box (2.5-Stable, FreeBSD 4.7-RELEASE). 
It sends all requisitions to a proxy box over my firewall, that sends all requisitions 
to
Internet. The proxy is a SWS-windows200 server. 
The PROBLEM is that it works for any requisition, but when I try to make a search on 
any
search site (like YAHOO), i get a requisition timeout.
Does anyone have any ideia of what is happening ???

Thanks a lot !

=
Alex Antão
==
  Analista de Sistemas e Suporte
Virago XV250s (índia) - Brasília,DF
 - ICQ:5144629
http://motoviagens.pagina.de http://e-modelismo.pagina.de
==


___
Busca Yahoo!
O melhor lugar para encontrar tudo o que você procura na Internet
http://br.busca.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Adding to standard include path (GCC)

2002-12-25 Thread Ihsan Junaidi Ibrahim
Hello all,

I'm a starter to programming in FreeBSD after a few years in Visual C++ and 
would like to delve deeper into it. But I have a few questions which I need 
answers. I hope it wouldn't be too much a burden to you.

I have two gccs installed, 2.95.4 (stock gcc) and 3.1.1. 

1) How do add to the standard include path to a path that I designated without 
using the -I flag or is it fixed only to /usr/local/include and /usr/include.

2) I notice that the gcc31 include files does not contain the standard C 
headers ie stdio.h, assert.h etc. Does this mean whenever I want to link to 
the header, it is sufficient to use the ones in /usr/include?

3) I notice too that there are many C++ and STL include files I'm getting 
confused on which ones to use. The files are located at /usr/include/g++, 
/usr/local/lib/i386-portbld-freebsd4.7/3.1.1/include/g++v3 and 
/usr/local/lib/i386-portbld-freebsd4.7/3.1.1/include/g++v3/backward. Can 
someone enlighten me on which one should I use. I intend on programming 
purely in C++ with the exception that in later date, I might be forced to use 
some of the C include files.

Thank you very much in advance.
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Alternate Boot

2002-12-25 Thread Alex

Dear/Beste Rafael,

Wednesday, December 25, 2002, 7:09:56 AM, you wrote:

> Question: How can I make the HD or the CF bootable in order to start the
> FreeBSD setup?
> Also, may the 'bsdboot.com' program found on tools/bsdboot be of any help?

Do you have a way out in case something goes wrong and you get stuck
with a system that won't boot?

-- 
Best regards/Met vriendelijke groet,
Alex


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Alternate Boot

2002-12-25 Thread Alex

Dear/Beste Rafael,

Wednesday, December 25, 2002, 7:09:56 AM, you wrote:

> Hi

> I need to reformulate the question I made before.

> I have a small and non-standard pc; in order to avoid conflicts between the
> FreeBSD install process and the BIOS, I had to remove the USB-boot support
> (cd/floppy) from the BIOS.

> So My only chance now is to perform a remote install (FTP to FreeBSD
> desktop). However I only have the Hard Disk and a Compact Flash card as
> primary and secondary boot devices. (Drives "C" and "D" under DOS)

> Question: How can I make the HD or the CF bootable in order to start the
> FreeBSD setup?
> Also, may the 'bsdboot.com' program found on tools/bsdboot be of any help?

> Thanks in advance.

> Rafael.

You can have a small partition and install the boot image (3MB) on it
with the same tool you can use for writing the floppies. After that
you have to mark the partiiton active with fdisk. You will not be able
to use this space during the installation of FreeBSD. You can reuses
this space after that for swap space. 

I have used this trick on a linux computer using the swap space of
the computer.


-- 
Best regards/Met vriendelijke groet,
Alex


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Refusing Connections

2002-12-25 Thread Stacey Roberts
On Wed, 2002-12-25 at 11:03, Bernardo M. Brummer wrote:
> If it´s a DSL or cable connection probably your provider has blocked the 80
> port.
> In this case they are workarounds using (free) domain services.
> 
> Bernardo
> 
> 
> > OS - 5.0 RC2
> > Apache - 2.0.43
> > OpenSSL - 0.9.6g
> >
> > I'm having a rather odd problem and I can't quite put my finger on it.   I
> > can verify that the apache httpd is running but I am unable to connect to
> > the box on port 80.
> > I verified that httpd.conf specifies port 80.  I've verified that the
> > firewall is disabled.  I can connect on other ports so I know that the
> > network settings are working properly.If someone could point out what
> > I'm missing, I'd really appreciate it.  I have a feeling that it's going
> to
> > be a "DOH!" momemt.
> >
> > Thanks,
> >
> > Ms. Jimi Thompson
> 

Hi,
  Sorry if I missed this from an earlier post, but a couple of
questions. I presume that you're attempting to run a webserver that is
accessible from the Internet, and you're trying to test it. As such:-
1] Where are you attempting to access the webserver *from*?
2] How are you trying to connect?

You mentioned that you can connect on other ports, could you provide an
example?

The reasoning behind my questions, is the fact that if you are sitting
on your local lan, and attempting to access the webserver as
"www.your_web_server.com" in your browser, then unless you have local
(read internal)  name resolution on your lan, then you won't be able to
connect.

If you've got the webserver set up and running, a request from your
internal site would take the following route (if you're attempting to
connect via the method above):

Your browser would attempt to resolve the www.your_web_site.com through
whatever NS (from ISP?) entries you have in /etc/resolv.conf. Unless
those NS's have records for your webserver, they won't be able to return
any resource records to your browser.

In the same vein, unless the box that the webserver is running on,
actually knows its name to be www.your_web_site.com, then he won't know
to answer requests at port 80 anyways.

Hope this helps. Let me know if I've got your setup completely wrong as
well :-)

Regards,

Stacey


> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ipfw count Q

2002-12-25 Thread Andrey Simonenko
On Sun, 22 Dec 2002 11:10:01 + (UTC) in lucky.freebsd.questions, Alexander 
Yeremenko wrote:
>I have a box, running as router.
>Network A.B.C/Z is connected via ppp0
> router:/rc.firewall :
> ipfw add 10 connt all from any to any via ppp0
> ipfw add 15 connt all from any to A.B.C/Z 
> ipfw add 15 connt all from A.B.C/Z to any
>Rules 10 and 15 gives absolutely different results.
>What's wrong ? 
> 

Nothing is wrong, because #10 and #15 describe completely different firewall
rules. For example, #10 checks only packets via ppp0, but #15 checks packets
via any interface. And so on.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Refusing Connections

2002-12-25 Thread Bernardo M. Brummer

If it´s a DSL or cable connection probably your provider has blocked the 80
port.
In this case they are workarounds using (free) domain services.

Bernardo


> OS - 5.0 RC2
> Apache - 2.0.43
> OpenSSL - 0.9.6g
>
> I'm having a rather odd problem and I can't quite put my finger on it.   I
> can verify that the apache httpd is running but I am unable to connect to
> the box on port 80.
> I verified that httpd.conf specifies port 80.  I've verified that the
> firewall is disabled.  I can connect on other ports so I know that the
> network settings are working properly.If someone could point out what
> I'm missing, I'd really appreciate it.  I have a feeling that it's going
to
> be a "DOH!" momemt.
>
> Thanks,
>
> Ms. Jimi Thompson



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Error: Command returned status 36

2002-12-25 Thread ay
In article <[EMAIL PROTECTED]> you wrote:


> I consider the following to be the absolute lowest possible for
> FreeBSD 4.x:
> /   64M
48M is enough
> /usr300M - 350M
> /var24M
Depends on /etc/*yslog.conf :)
And pay attention to size of swap :)
Of cause, "Custom setup" must be choosed in sysinstall - "Automatic
Setup" wis it's defaults is not suitable for such exotic cases


-- 
AY7-UANIC || AY15-RIPE

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Error: Command returned status 36

2002-12-25 Thread ay
In article <[EMAIL PROTECTED]> you wrote:
> I am trying to set up FreeBSD 4.7 on a very old COMPAQ 486 machine 
> with a 120MB harddrive via an FTP install.

> Each time I get through the setup and it tries to creat the root 
> filesystem I get the following message:

> Unable to make new root filesystem on dev/ad0s1a!
> Command returned status 36

> Can you give me any ideas what I can do to fix this, or is it just 
> my harddrive is too small?

Not a nice idea. I'm not sure this will work. LSD grows rapidly,
and requires more and more disc space.
íÁÕ be, 3.x or 2.x or famouos 1.5 will run, but it is not a good 
idea too - poor early versions, with a lot of security holes and other
bugs.
To be true, now sufficient HDD of about 1G costs less, then the
troubles You will have with installing to Your dick :)
The other way is to try PicoBSD.
-- 
AY7-UANIC || AY15-RIPE

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Help with IPF and IPNAT

2002-12-25 Thread Aleksey I. Yurlov
You didn't send any rules for it? Do you tune them?
Try to read this about ip filter installation and sturtup-time pulling.
http://www.freebsddiary.org/topics.php#ipfilter

[EMAIL PROTECTED] wrote:

Argh!  I've been pulling my hair out trying to get my NAT gateway going.  

I have two interfaces, one external and internal, servicing a private LAN. 
From the LAN I can ping the internal interface and the external interface,

but I can't get past the ext. interface.  For testing my rules are pass in
all and pass out all.  From the gateway itself I can ping anywhere outside
or inside.

I have tried loading IPNAT and IPF as loadable kernel modules by adding the
following to /etc/rc.conf:

gateway_enable="YES"
network_interfaces="x10 dc0 lo0"
ifconfig x10...
ifconfig dc0...
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipfilter_program="/sbin/ipf"
ipfilter_flags=""
ipnat_enable="YES"
ipnat_program="/sbin/ipnat"
ipnat_flags=""

Each interface is up and running.  My default gateway in /etc/rc.conf is
the gateway of the external NIC.

Can anyone see anything wrong with what I am doing, or something missing? 
Do I need routed installed and running?  I also tried
forward_sourceroute="YES", but that didn't seem to help.

Thanks,
Adam Lofstedt


mail2web - Check your email from the web at
http://mail2web.com/ .



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



--
Best regards, Aleksey I. Yurlov
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Error: Command returned status 36

2002-12-25 Thread Denis N. Peplin
On Sunday 22 December 2002 02:35, daniel kohn wrote:
> I am trying to set up FreeBSD 4.7 on a very old COMPAQ 486 machine
> with a 120MB harddrive via an FTP install.
>
> Each time I get through the setup and it tries to creat the root
> filesystem I get the following message:
>
> Unable to make new root filesystem on dev/ad0s1a!
> Command returned status 36
>
> Can you give me any ideas what I can do to fix this, or is it just
> my harddrive is too small?

Read FAQ, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html
You can choose only bin distribution. Maby, good solution is to not
divide disk to root, /usr, etc. Try to use only root.
I'm never tried to install 4.x FreeBSD to such small disk, but you can
try :)
Another way is to use old FreeBSD versions or PicoBSD.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Help with IPF and IPNAT

2002-12-25 Thread [EMAIL PROTECTED]
Argh!  I've been pulling my hair out trying to get my NAT gateway going.  

I have two interfaces, one external and internal, servicing a private LAN. 
>From the LAN I can ping the internal interface and the external interface,
but I can't get past the ext. interface.  For testing my rules are pass in
all and pass out all.  From the gateway itself I can ping anywhere outside
or inside.

I have tried loading IPNAT and IPF as loadable kernel modules by adding the
following to /etc/rc.conf:

gateway_enable="YES"
network_interfaces="x10 dc0 lo0"
ifconfig x10...
ifconfig dc0...
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipfilter_program="/sbin/ipf"
ipfilter_flags=""
ipnat_enable="YES"
ipnat_program="/sbin/ipnat"
ipnat_flags=""

Each interface is up and running.  My default gateway in /etc/rc.conf is
the gateway of the external NIC.

Can anyone see anything wrong with what I am doing, or something missing? 
Do I need routed installed and running?  I also tried
forward_sourceroute="YES", but that didn't seem to help.

Thanks,
Adam Lofstedt


mail2web - Check your email from the web at
http://mail2web.com/ .



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message