ccd usage

2005-06-22 Thread Dan Z
Greetings,

I'm planning a new install and my question regards the usage of ccd. 
I have two disks of 30G and 20G.  Is it possible to use ccd to create
a single /usr partition across these two disks?  How might this be
done?  Can it be done from the sysinstall menu off the boot disk or
will I need to do some toying around after initial install is
completed?

Also, while not part of the ccd question, if I'm not mistaken, I can
create multiple swap partitions to spread swap usage across multiple
drives.  Is this true?

Thanks in advance.

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


RE: Yet another RAID Question (YARQ)

2005-06-22 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Sandy
>Rutherford
>Sent: Wednesday, June 22, 2005 3:09 AM
>To: Ted Mittelstaedt
>Cc: freebsd-questions@freebsd.org; Alex Zbyslaw
>Subject: RE: Yet another RAID Question (YARQ)
>
>
>> On Wed, 22 Jun 2005 01:00:09 -0700,
>> "Ted Mittelstaedt" <[EMAIL PROTECTED]> said:
>
> > With a RAID-1 card, mirroring, there are 2 ways to setup reads.
> > The first way makes the assumption that you are mirroring purely
> > for fault tolerance.  In that case you would NOT see a ANY read from
> > the second disk.  The reason is that every time you read you move the
> > heads, and the more head movement the quicker the disk wears out.
>
>OK.  I wasn't aware that some RAID cards allow you to tune reads in
>this way.  Mine, which is a Mylex DAC1100, does not.
>

I was speaking from more of a designers theoretical standpoint rather
than a
users.  From a practical standpoint I would think that the marketing
department
of any RAID card manufacturer would throw up their hands in horror if a
engineer suggested doing it this way - the marketing people would say
that
the buyers of the card would think it was broken if they didn't see
blinky
lights on all the disk drives all the time. :-)

You see many otherwise good designs fucked up this way by marketing
people. :-(

> > Placing exactly the same amount of head movement on both disks
> > means that if you setup a mirror with new disks of the same model,
> > which is pretty much how most people do it, the MTBF on both disks
> > is the same, and if you put equal activity on both disks your making
> > a very good chance that they will fail at the same time, or
>very close
> > to the same time.
>
>This assumes a small standard deviation --- much smaller than I would
>think is reasonable.  I don't think that I have ever seen standard
>deviation data quoted by a manufacturer, which of course makes any MTBF
>data that they provide worthless.
>

Ah, but you see your working with the definition of MTBF that I used, and
that the general public uses, NOT the definition of MTBF that
Seagate uses.  (or the other disk manufacturers)

Seagate wrote a paper on this titled:

"Seagate Technology Paper 338.1 Estimating Drive Reliability in
Desktop Computers and Consumer Electronic Systems"

that explains how they define MTBF.  Basically, they define MTBF as
what percentage of disks will fail in the FIRST year.

What they are saying is if you purchase 160 Cheetahs and run them at
100% duty cycle for 1 year then there is 100% chance that 1 out of the
160 will fail.

Thus, if you only purchase 80 disks and run them at 100% duty cycle for 1
year, then you only have a 50% chance that 1 will fail.  And so on.

Ain't statistics grand?  You can make them say anything!  For an encore
Seagate went on to prove that their CEO would live 3 centuries
by statistical grouping. :-)

So, in getting back to the gist of what I was saying, the issue is
as you mentioned standard deviation.  I think we all understand that
in a disk drive assembly line that it's all robotic, and that there
is an extremely high chance that disk drives that are within a few
serial numbers of each other are going to have virtually identical
characteristics.  In fact I would say using the Seagate MTBF definition,
that 1 in every 160 drives manufactured in a particular run is going
to have a significant enough deviation to fail at a significantly
different
period of time, given identical workload.

In short you have better than 99% chance that if you install 2 brand
new Cheetahs that are from the same production run, they will have
virtually identical characteristics.  And, failure due to wear is going
to be
very similar - there's only so many times the disk head can seek
before it's bearings are worn out - and your proposing to give them
the exact same usage.

The interesting thing about this is that as quoted MTBF goes up, the
closer and closer to identical all your disk drives have to be.  So
the funny thing is that in a RAID-1 array, your better off with cheapo
Barracutas which have much greater deviation between each drive, than
the more expensive Cheetahs that have less deviation between each drive.

>
>I agree with all of this.  However, I do indeed see alternate
>flickering and the RAID array is sitting right in front of me.  I
>expect this has to do with how the intensity of the activity lights is
>tied to seek vs read.  If it matters, the drives are Cheetahs and they
>are in a Sun Multipack hot swap box.
>

I think the reason your seeing alternation is that the disks are
so damn fast that they complete their reads well before their internal
buffers have finished emptying themselves over the SCSI bus to the
array card.  In other words, you wasted your money on your fast disks,
if you had used slower disks you would see identical read performance
but you would see less alternative flickering
and more simultaneous and continuous activity.

If 

Re: Need your advise.

2005-06-22 Thread Robert Slade
On Wed, 2005-06-22 at 20:39, Charles Swiger wrote:
> On Jun 22, 2005, at 4:22 PM, Nuttapon Tharachaikul wrote:
> >  Please  advise me , I would like to know  that : Does BSD5.4  
> > support "High Availability Clustering" same like RedHatAS3.0 ?  In  
> > term of the capability to handle share disk-storage to support  
> > redundancy of fail over single point of failure, that if one server  
> > fail then another one can be promote to handle application service  
> > by share disk-storage in a middle.
> 
> Hmm.  The answer is probably no, FreeBSD doesn't have anything which  
> handles NFS or Samba failover transparently.

Chuck,

Sorry to disagree. There is a port of Heartbeat to free BSD, (it is in
the ports). It does handle NFS and Samba failover transparently. In fact
it will handle almost anything that you can start and stop via a script.

Rob 

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


Re: Explaining FreeBSD features

2005-06-22 Thread Erich Dollansky

Hi,

Andrew L. Gould wrote:

On Wednesday 22 June 2005 10:35 pm, Erich Dollansky wrote:


Hi,


/--big snip--/


That was a good idea.


That's a great analogy; but I disagree with the way you've applied it.

Yes, the hunters and farmers shared the food.  That's not to say that 
the farmers wanted to use the bows and arrows, or that the hunters 
wanted to use a harvesting tool.  If a farmer chose to use a bow and 
arrow, he/she would be irresponsible not to take a safety lesson 
(RTFM).


Will ever any farmer have taken a bow if there was no other way than RTFM?

Just give them the bow, make sure nothing happens to yourself and otehr 
and let them have a try.


That's okay.  FreeBSD users are currently "specialized" in their 


This is one of the reasons of low 'market' share.

interest in computer technology when compared to the average Windows 
user.  That's okay too.   Specialized tools serve are used by 
specialized individuals; although all may benefit indirectly.


I support better documentation.  I don't think there's any argument 


I would not say there is a need for a better documentation as people who 
are IT professionals are fine with it. There is the need for a second 
set of documentation the avarage person on the road will understand.


there.  The idea that FreeBSD should be usable for all levels of 
computer users, however, is like putting training wheels on a racing 
bicycle.  Any time you modify a professional tool to make it accessible 


If Porsche would stop selling cars to people not pushing the cars to the 
limit, they would sell a few hundreds a year instead of many tenthousands.


to all, the tool loses some level of efficiency or power.  In the case 
of FreeBSD, it would also absorb valuable development resources.


This is what it should not. I think that there are enough people here 
who like to help out with their limited knowledge if there would not be 
this certain tone here if people do not use a very serious tone and 
lingo in their answers.


All of this reminds me of a book I saw at Barnes & Noble last year:  
"Bioinfomatics for Dummies".  Think about it:  does anyone on this list 
want a dummy messing with genetics?


We do not want them to run web server, just normal home PCs with FreeBSD 
instead of Windows or Linux.


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


BTX loader fails on Gateway ALR 9200

2005-06-22 Thread Nethaniel

I have an abundance of information all I need to know is what to say that
will help.
 
The OS I am loading is currently FreeBSD 5.3
I went to adaptec and found some information about FreeBSD 4.11. I
tried that version as well. I can get Solaris 10 to load but it fails to
find the raid as a valid drive.
Fedora Core 2 also boots and says it can't find a drive.
The Raid boots up fine and builds with no faults.

When I install a little 850 meg IDE drive and set that to master,
Still the btx loader dies. Here is what the final screen says:

/boot/kernel/acpi.ko text=0x3fbfc data=0x1c04+0x112c
syms=[0x4+0x72f0+0x4+0x97c7]
/
int=000d  err=  efl=00030002  eip=5755
eax=0001  ebx=0008  ecx=39ff  edx=0082
esi=579c  edi=e873  edi=03ba  esp=037e
cs=f000 ds=0040 es=f000 fs=9dc0 gs=f000 ss=9c46
cs:eip=2e 0f 01 14 0f 20 c0 0c-01 0f 22 c0 eb 00 8e db
   8e c3 8e e3 8e eb 0f 20-c0 24 fc 0f 22 c0 ea 78
ss:esp=11 64 08 00 01 00 00 00-00 f0 c0 9d 02 02 51 e8
   05 00 c2 ee 05 00 00 f0-00 00 1a 7d c4 5e dd e6
BTX Halted
 
I think I copied all that correctly.

Has anyone got a quick idea why this fails right off?
Does this mean I need to set the same flags as what Adi Pircalabu suggested
in the "help !!!" thread?

" When the boot menu appears, try this:
- escape to loader prompt
- set hint.acpi.0.disabled="1"
- set hint.atkbd.0.flags="0x9"
- boot"

Would this help me? In this case I'm lost here.


> -Original Message-
> From: Craig Kleski [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 21, 2005 12:10 PM
> To: freebsd-questions@freebsd.org
> Cc: Brian Duke
> Subject: Re: BTX loader fails on Gateway ALR 9200
> 
> On Tuesday 21 June 2005 05:58 pm, Brian Duke wrote:
> > The BTX loader fails right after the initial setup screen.
> >
> > I have :
> >
> > Gateway ALR 9200
> >
> > 4 processor xeon 500's
> >
> > 1 gig ram
> >
> > 1 adaptec 3200S scsi card running modified raid 5
> >
> > 6 drives. 2 sets of striped 3 and mirrored.
> >
> >
> >
> > I am having a difficult time finding anything that will load in this
> > box.
> >
> > I prefer FreeBSD if possible. I've googled for a couple days and
> > didn't find much help.
> >
> > Can someone help me get past this first hurdle?
> >
> >
> >
> >
> >
> > Brian Duke
> >
> > Blue Incorporated.
> >
> 
> Please give freebsd version.  Also, what other operating systems have
> failed to load for you?   How exactly does the boot fail?  Any error
> messages?  Describe in detail.
> 


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


Re: Explaining FreeBSD features

2005-06-22 Thread Andrew L. Gould
On Wednesday 22 June 2005 10:35 pm, Erich Dollansky wrote:
> Hi,
/--big snip--/
>
> Let me put it this way. A long time ago, we call it now stone age,
> the people started to realise that a group of people shows better
> results if they specialise. The people better in hunting went
> hunting, the people better in 'farming'. Despite one group did not
> know how the other group got their kind of food, they shared it.
>
> Erich

That's a great analogy; but I disagree with the way you've applied it.

Yes, the hunters and farmers shared the food.  That's not to say that 
the farmers wanted to use the bows and arrows, or that the hunters 
wanted to use a harvesting tool.  If a farmer chose to use a bow and 
arrow, he/she would be irresponsible not to take a safety lesson 
(RTFM).

Users taste the fruit of FreeBSD whenever they use a service hosted on a 
FreeBSD server.  Most Windows users don't care how they got the fruit.  
That's okay.  FreeBSD users are currently "specialized" in their 
interest in computer technology when compared to the average Windows 
user.  That's okay too.   Specialized tools serve are used by 
specialized individuals; although all may benefit indirectly.

I support better documentation.  I don't think there's any argument 
there.  The idea that FreeBSD should be usable for all levels of 
computer users, however, is like putting training wheels on a racing 
bicycle.  Any time you modify a professional tool to make it accessible 
to all, the tool loses some level of efficiency or power.  In the case 
of FreeBSD, it would also absorb valuable development resources.

All of this reminds me of a book I saw at Barnes & Noble last year:  
"Bioinfomatics for Dummies".  Think about it:  does anyone on this list 
want a dummy messing with genetics?

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


RE: BTX loader fails on Gateway ALR 9200

2005-06-22 Thread Brian Duke
I have an abundance of information all I need to know is what to say that
will help.
 
The OS I am loading is currently FreeBSD 5.3
I went to adaptec and found some information about FreeBSD 4.11. I
tried that version as well. I can get Solaris 10 to load but it fails to
find the raid as a valid drive.
Fedora Core 2 also boots and says it can't find a drive.
The Raid boots up fine and builds with no faults.

When I install a little 850 meg IDE drive and set that to master,
Still the btx loader dies. Here is what the final screen says:

/boot/kernel/acpi.ko text=0x3fbfc data=0x1c04+0x112c
syms=[0x4+0x72f0+0x4+0x97c7]
/
int=000d  err=  efl=00030002  eip=5755
eax=0001  ebx=0008  ecx=39ff  edx=0082
esi=579c  edi=e873  edi=03ba  esp=037e
cs=f000 ds=0040 es=f000 fs=9dc0 gs=f000 ss=9c46
cs:eip=2e 0f 01 14 0f 20 c0 0c-01 0f 22 c0 eb 00 8e db
   8e c3 8e e3 8e eb 0f 20-c0 24 fc 0f 22 c0 ea 78
ss:esp=11 64 08 00 01 00 00 00-00 f0 c0 9d 02 02 51 e8
   05 00 c2 ee 05 00 00 f0-00 00 1a 7d c4 5e dd e6
BTX Halted
 
I think I copied all that correctly.

Has anyone got a quick idea why this fails right off?
Does this mean I need to set the same flags as what Adi Pircalabu suggested
in the "help !!!" thread?

" When the boot menu appears, try this:
- escape to loader prompt
- set hint.acpi.0.disabled="1"
- set hint.atkbd.0.flags="0x9"
- boot"

Would this help me? In this case I'm lost here.


> -Original Message-
> From: Craig Kleski [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 21, 2005 12:10 PM
> To: freebsd-questions@freebsd.org
> Cc: Brian Duke
> Subject: Re: BTX loader fails on Gateway ALR 9200
> 
> On Tuesday 21 June 2005 05:58 pm, Brian Duke wrote:
> > The BTX loader fails right after the initial setup screen.
> >
> > I have :
> >
> > Gateway ALR 9200
> >
> > 4 processor xeon 500's
> >
> > 1 gig ram
> >
> > 1 adaptec 3200S scsi card running modified raid 5
> >
> > 6 drives. 2 sets of striped 3 and mirrored.
> >
> >
> >
> > I am having a difficult time finding anything that will load in this
> > box.
> >
> > I prefer FreeBSD if possible. I've googled for a couple days and
> > didn't find much help.
> >
> > Can someone help me get past this first hurdle?
> >
> >
> >
> >
> >
> > Brian Duke
> >
> > Blue Incorporated.
> >
> 
> Please give freebsd version.  Also, what other operating systems have
> failed to load for you?   How exactly does the boot fail?  Any error
> messages?  Describe in detail.
> 


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


Re: Firewall with USB

2005-06-22 Thread John Anderson

Hi,

USB is not totally irrelevant, since it means I can't connect my 
firewall/router directly to my input, but I take your point.


I will have USB connections to my ISDN upload and my satellite decoder, my 
question was more whether freebsd firewall supports USB devices in principle 
for the WAN or whether it will only take ethernet WAN and LAN.


I guess the answer was yes, so long as the drivers for my external devices 
exist.


John
- Original Message - 
From: "Lowell Gilbert" <[EMAIL PROTECTED]>
To: "John Anderson" <[EMAIL PROTECTED]>; 


Sent: Wednesday, June 22, 2005 4:18 PM
Subject: Re: Firewall with USB



"John Anderson" <[EMAIL PROTECTED]> writes:


Hi there folks,

Having just moved into the country I am forced to use satellite for a 
broadband connection. Due to telsra having a monopoly on this, I need to 
have 2 USB connections, one for satellite download, one for ISDN upload. 
So my router doesn't fit.


Does anyone know if the freebsd firewall will support two USB WAN 
connections to a normal LAN internal network?


USB is irrelevant; you need to consider what kind of USB devices you
using to connect.  Having more than one external interface is not by
itself a problem.






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


Re: acroread porting problem

2005-06-22 Thread Rogue_Spider
On 13 Jun 2005 20:08:29 -0400, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> Rogue_Spider <[EMAIL PROTECTED]> writes:
> 
> > I installed a port acroread from my sysinsall
> > from freebsd 5.0 iso on my system i than told
> > kde to use acroread to open all pdf files
> > ghostview would not work so i decided to
> > use acroread when i than try to launch the
> > program it says "cant find acroread"
> > i found the exe and tried to launch it by
> > itself again same message? i read that
> > there was some problems with it being
> > ported to the wrong directory, is that the problem?
> > if so what directory should it be in?
> 
> /usr/local/bin/acroread
> 
> Either add /usr/local/bin to your path or call it with the entire path.
> 
pretend i am knew to freebsd / i am \
ok 
i tried moving shell script from /usr/local/acroread5/bin
to /usr/local/bin/ -didna work-
do i move the entire folder over?executable?or other?


-- 
Who knows the web better than anyone?
Rogue_Spider
and Google.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Explaining FreeBSD features

2005-06-22 Thread Erich Dollansky

Hi,

Ted Mittelstaedt wrote:



I do not think that it the design of Windows which makes it target. It
is the kind of support people with no knowledge get which makes it.



People pay for Windows, not for FreeBSD.  The support structures are
totally different because of this.  If support is what hinges on getting


I am not talking of the support people get by paying for it. Just go to 
any support forum, mailing list or what ever name it has and compare the 
tone used there.


The support is done by volunteers just like here.

While people asking 'dumb' questions around FreeBSD just get a RTFM 
while the same question around Windows might gives them a lot of verbal 
abuse plus the answer. If a person wastes its time to write 'RTFM', the 
same person could also write 'RTFM at page xx' and the answer is useful.



If people with no knowledge would get proper answers when they run into
problems instead of the hint to read the manual would help a lot here.




Why should they?  If they were paying someone for FreeBSD support that
is one thing.  Nobody is getting paid to answer questions on the mailing
list and on Usenet, if a no-knowledge person asks a question that is
answered in the manual, then it is going overboard already, to even
tell them to RTFM.  They really shouldn't be asking questions if they
haven't RTFMed.


Why do I hear people crying about the acceptance of FreeBSD in this list?

It is the atidute shown above which stops people jumping onto FreeBSD.



What is the difference to FreeBSD if the system is running once?


Bringing a large number of ignoramuses on board who are dedicated to
continuing to be ignoramuses, does not help the FreeBSD project at
all.  It may help some people making money off servicing those people,
but otherwise they are deadweight.


Then, never complain that FreeBSD does not reach a higher market share.


You know, even raw newbies who have RTFM can help the FreeBSD project
by answering posts on the support forums with pointers to the manual!!


Yes, just let them do so. But it happens to rearely.


Proper help is in the manual, it is in my book, and in Greg Lehey's book,
and in several other books written by a number of people.  My book is


I have to take my neighbour with her Ph.D. in biology again. We can 
assume she has proven not to be a plain idiot. She got some of the book, 
looked at them for some days and said 'why should I study IT before I 
can use FreeBSD'.



I am sorry you are going to have to do better than that.  The proper
help is out there, you just have to spend a little effort looking for it.

It is out there but written in a language a none IT person has problems 
with.


The starter of this thread is trying to do something into this direction.


I can only ask why do you bother to garden in the first place?  Without
that background, you don't know why the pesticide that she recommends
works.  And next season if it doesen't work, you don't know why either.

I hope you never fall sick or have to undergo a serious surgery. As long 
as you do not understand how the whole procedure works, the doctor will 
not be able to treat you.



It's like the saying "give a man a fish and you feed him for a day, teach
him to fish and you feed him for a lifetime"  You just want the fish - I
want to feed myself for the rest of my life.


No, I want to make him able to catch the fish without knowledge of breeding.


Sadly, your attitude is one of the reasons that the United States is
being
run into the ground by a bunch of religious conservatives these days.
Those
people are just like you - they don't want to know anything about Stem
Cell
research, they just want to be told whether it's bad or not.

Honestly, before you knock it, you should try to understand how the world
works sometime.  It's really a better way to live.  Do you really want to


Let me put it this way. A long time ago, we call it now stone age, the 
people started to realise that a group of people shows better results if 
they specialise. The people better in hunting went hunting, the people 
better in 'farming'. Despite one group did not know how the other group 
got their kind of food, they shared it.


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


Re: private/internal db file question...

2005-06-22 Thread Gary Kline
On Thu, Jun 23, 2005 at 03:56:26AM +0300, Giorgos Keramidas wrote:
> On 2005-06-22 17:13, Gary Kline <[EMAIL PROTECTED]> wrote:
> > Folks,
> > After years or trying, I may have my private/internal DNS db files
> > working.  From a colo machine I can reach my internal servers.  One
> > small question for the DNS wizards out there:: are the last
> > ".in-addr.arpa" lines considered good-form?  Can I blow them away or
> > uncomment them?
> 
> Strip them off.

Thank you.


> 
> You didn't specify which zone this file was a database for, but looking at the
> commented lines it seems like it's the reverse resolution database for
> 10.0.0.0/8 (your internal network).  DNS records in zone files like this one
> refer to addresses "relative" to the zone itself, which is probably defined as
> the following in your named.conf configuration file:
> 
> zone "0.0.10.IN-ADDR.ARPA" {
> type master;
> file "master/10.0.0.rev";
> };

In named.conf I have two files; one is the .rev table:

zone "db.private" {
  type master;
  file "/etc/namedb/s/db.private";
  allow-query {
   127.0.0.1/32; 10.0.0.0/8;
   };
};
zone "db/private.rev" {
  type master;
  file "/etc/namedb/s/db.private.rev";
  allow-query {
   127.0.0.1/32; 10.0.0.0/8;
   };
};

Below the SOA in db.private is:

;
;; real nameserver:
;
INNSns1.thought.org.



;
;Machines names
;
;namettlclasstypedata
localhost  IN A   127.0.0.1
;
ethic   IN A  10.0.0.220
tao IN A  10.0.0.247
sageIN A  10.0.0.1
zen IN A  10.0.0.249


ns1, aka sage, is defined in my main DNS table, db.thought.org.


> 
> This definition of the zone in named.conf declares that addresses of the form
> 10.0.0.X will be looked up as PTR records of X in the file "master/10.0.0.rev"
> under you named server root directory, i.e.
> 
>   ADDRESS DB-FILE RECORD
>   10.0.0.1master/10.0.0.rev   1
>   10.0.0.2master/10.0.0.rev   2
>   ...
>   10.0.0.254  master/10.0.0.rev   254
> 
> Usually, the most tricky part is grasping that "1.0.0.10.IN-ADDR.ARPA." is
>ewhat BIND looks up to find the name (or names) associated with the address
> 10.0.0.1 (note the reversed byte order of the address parts).


Well, it's not only tricky, it's bloody confusing...  :-)

> 
> > ;namettlclasstypedata
> > 1INPTRlocalhost
> > 1   INPTRsage
> > 220 INPTRethic
> > 247 INPTRtao
> > 249 INPTRzen
> 
> These look mostly ok, but you may want to fix the following:
> 
>   - "localhost" is usually assigned to 127.0.0.1, not 10.0.0.1
>   - the "IN" column is *NOT* the TTL (time to live) of a record


What would you replace these row tags with?  ((I got these from
another database file, obv'ly.)

;namettlclasstypedata

Would:

;record  class pointer name 

name sense?  (Help me keep these details straight, in other
words:)

gary

> 
> > ;
> Note that O'Reilly has an excellent book ("DNS & BIND") which you may
> find immensely useful in setting up practically any sort of DNS server.
> 

PS:  YES!!  I read ed 3 and bought edition 4; they helped me
get going when I onlt had one FBSD system.  


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Explaining FreeBSD features

2005-06-22 Thread Gary Schenk

Ted Mittelstaedt wrote:
>Then read one of the many FreeBSD books.  The one by Annelise Anderson
>is most certainly not written for serious IT professionals.  I know
>because I have read it.

As a non-serious non-IT non-professional, I keep going back to this book 
time and time again. Even after almost three years with FreeBSD I'm 
still a rookie, and her book makes sense. FreeBSD Unleashed is also 
helpful. Only in the last year or so has the handbook started to make 
sense to me. Even scarier, some man pages are readable now. Greg Lehey's 
book on the other hand is in another solar system! :-)


I replaced Win98 with FreeBSD 4.7 as a home desktop. I really should be 
using Xandros or SuSE, but I find learning FreeBSD to be interesting, 
Lord help me.


People on this list are very helpful to beginners. Especially if the 
beginner has shown she's put some effort into the problem herself.



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


Re: FreeBSD Machines dieing, we've tried so much....

2005-06-22 Thread Matt Juszczak


Personally, I would update to RELENG_5 as of today. There are a lot of
bug fixes and its quite solid..


Did the upgrade earlier to two of five machines (the ones that were 
crashing).  We'll see what happens :)  Thanks!


Any planned date for 5.5-RELEASE?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using regex(3)

2005-06-22 Thread Olivier Nicole
Thanks Titus,

> no, you're misunderstanding regoff_t or printf.

I definitely misunderstand printf. Until now I thought that each place
holder (%d) was associated with one variable and if the type
missmatched, the display could be incorrect.

But in that case, printf seems to take 2 successive %d and split the
variable upon them to make it a %lld.

I am no C guru, but that sound very bad to me.

Bests,

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


Re: FreeBSD Machines dieing, we've tried so much....

2005-06-22 Thread Mike Tancsa
On Wed, 22 Jun 2005 13:14:52 -0400, in sentex.lists.freebsd.questions
you wrote:
>That's exactly our config.  SMP, 4 gb RAM, HT was enabled, no longer.  
>Should I upgrade to 5.4-STABLE?  Is there a bug ?  Is 5.4-STABLE 
>"stable" enough? :)  Also, if I cvsup to 5.4-STABLE right now, would I 
>be able to upgrade to 5.5-RELEASE with no probs, or would I forever be 
>at -STABLE?

No, you could update to 5.5R without issue.  In fact, moving to 6.0R
from 5.x  without having to re-install like going from 4.x to 5.x is
the plan

Personally, I would update to RELENG_5 as of today. There are a lot of
bug fixes and its quite solid..

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


stat running as www weirdness - genarting INCOMING traffic

2005-06-22 Thread Ruben Bloemgarten
Hi all,

 

I’m seeing weirdness of stat opening up port  4000+ and generating/receiving
enormous amounts of incoming traffic i.e. 400Gb over a 24hour time
period.Does this sound familiar to anyone ? Thanks for any brain usage not
my own.

 

Regards, 

Ruben  

 

 

“Life is like a box of metaphores, there’s one for every occasion”


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.10/25 - Release Date: 06/21/2005
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Custom kernel config questions for Linux user

2005-06-22 Thread Giorgos Keramidas
On 2005-06-22 18:04, Garrett Cooper <[EMAIL PROTECTED]> wrote:
> Hello,
>I was wondering if anyone could provide me an answer to the
> following questions. Please keep in mind that by default I learned Unix
> on a Linux system, so... please no flames :(.

That's ok.  I was also a Linux user for a long time before I switched
exclusively to FreeBSD somewhere around 1999.

>1) Is there any sort of configuration interface (ncurses, X, etc),
> or am I 'stuck' with 'manually configuring' a textfile?

Yes.  It may seem daunting or "primitive" at first, but eventually you
may start enjoying the fact that you don't constantly have to fight with
multilevel, deeply nested, ever changing manu hierarchies to find that
particular option that you know exists somewhere, but for the life of
you can't right now remember where :-)

Being able to just fire up your favorite editor and search using common
"search" operations for strings like "disk", or "usb" (possibly
repeating the search within the rest of the file with a single
keystroke), is actually very very cool, once you get the hang of it.

>2) Is there a complete list of features which can be enabled for the
> kernel, other what was in the GENERIC configuration file?

The GENERIC configuration file is just, well, a "generic" configuration
file that is used as the kernel configuration when preparing the FreeBSD
release CD-ROMs.  It also serves as a common reference point for
troubleshooting, which is a lot easier when there is a single "reference
config" instead of a billion, custom, personalized configuration sets.

Note that I'm not arguing that Linux *does*, in fact, use ``a billion,
custom, personalized configuration sets''.  Just that this is one of the
roles GENERIC fulfills.

In general, modern versions of FreeBSD include at least the following too:

/usr/src/sys/conf/NOTES
/usr/src/sys//conf/NOTES

The first is the complete set of machine & architecture-independent
options that the kernel supports.

The files described by the second set are currently:

% # ls -l /usr/src/sys/*/conf/NOTES
% -rw-r--r--  1 root  wheel   2160 Nov 11  2004 /usr/src/sys/alpha/conf/NOTES
% -rw-r--r--  1 root  wheel  15923 Jun 16 01:53 /usr/src/sys/amd64/conf/NOTES
% -rw-r--r--  1 root  wheel  33439 Jun 23 04:18 /usr/src/sys/i386/conf/NOTES
% -rw-r--r--  1 root  wheel   1781 Feb 26 10:33 /usr/src/sys/ia64/conf/NOTES
% -rw-r--r--  1 root  wheel  24728 May 27 02:06 /usr/src/sys/pc98/conf/NOTES
% -rw-r--r--  1 root  wheel   3344 Jun 11 03:26 /usr/src/sys/sparc64/conf/NOTES

and they contain architecture-dependent options for the specific
architecture.

>3) What is needed for the FreeBSD kernel and what modules need to be
> compiled in order to use IDE CD-burning. In linux previous to kernel
> version 2.6.8 I know that SCSI was required, but now they are doing
> proper IDE emulation.

Look up the descriptions of the following options:

% device  scbus   # SCSI bus (required for SCSI)
% device  cd  # CD
% device  pass# Passthrough device (direct SCSI access)
% device  atapicam# emulate ATAPI devices as SCSI ditto via CAM
% # needs CAM to be present (scbus & pass)

This should get you started for now.  This list exists specifically for
asking questions about FreeBSD, what it is, how it works, etc.  Please,
if you need to, feel free to ask any questions.

Welcome to FreeBSD :-)

- Giorgos

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


Re: Custom kernel config questions for Linux user

2005-06-22 Thread Warren Block

On Wed, 22 Jun 2005, Garrett Cooper wrote:

  I was wondering if anyone could provide me an answer to the following 
questions. Please keep in mind that by default I learned Unix on a Linux 
system, so... please no flames :(.
  1) Is there any sort of configuration interface (ncurses, X, etc), or am I 
'stuck' with 'manually configuring' a textfile?


sysinstall does some of that.  Personally, I find plain text files much 
easier to deal with than most semi-automated helper programs.  There are 
things like webmin in the ports collection.


  2) Is there a complete list of features which can be enabled for the 
kernel, other what was in the GENERIC configuration file?


See the LINT (4.x) or NOTES (5.x) files in the same directory.

  3) What is needed for the FreeBSD kernel and what modules need to be 
compiled in order to use IDE CD-burning. In linux previous to kernel version 
2.6.8 I know that SCSI was required, but now they are doing proper IDE 
emulation.


'man burncd' will show details about the stock IDE CD burning 
application.  If you want to use SCSI emulation, there's the atapicam 
device.  The man page for that shows setup.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Custom kernel config questions for Linux user

2005-06-22 Thread Garrett Cooper

Hello,
   I was wondering if anyone could provide me an answer to the 
following questions. Please keep in mind that by default I learned Unix 
on a Linux system, so... please no flames :(.
   1) Is there any sort of configuration interface (ncurses, X, etc), 
or am I 'stuck' with 'manually configuring' a textfile?
   2) Is there a complete list of features which can be enabled for the 
kernel, other what was in the GENERIC configuration file?
   3) What is needed for the FreeBSD kernel and what modules need to be 
compiled in order to use IDE CD-burning. In linux previous to kernel 
version 2.6.8 I know that SCSI was required, but now they are doing 
proper IDE emulation.

   Thanks, I'll most likely have more questions later.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: private/internal db file question...

2005-06-22 Thread Giorgos Keramidas
On 2005-06-22 17:13, Gary Kline <[EMAIL PROTECTED]> wrote:
> Folks,
> After years or trying, I may have my private/internal DNS db files
> working.  From a colo machine I can reach my internal servers.  One
> small question for the DNS wizards out there:: are the last
> ".in-addr.arpa" lines considered good-form?  Can I blow them away or
> uncomment them?

Strip them off.

You didn't specify which zone this file was a database for, but looking at the
commented lines it seems like it's the reverse resolution database for
10.0.0.0/8 (your internal network).  DNS records in zone files like this one
refer to addresses "relative" to the zone itself, which is probably defined as
the following in your named.conf configuration file:

zone "0.0.10.IN-ADDR.ARPA" {
type master;
file "master/10.0.0.rev";
};

This definition of the zone in named.conf declares that addresses of the form
10.0.0.X will be looked up as PTR records of X in the file "master/10.0.0.rev"
under you named server root directory, i.e.

ADDRESS DB-FILE RECORD
10.0.0.1master/10.0.0.rev   1
10.0.0.2master/10.0.0.rev   2
...
10.0.0.254  master/10.0.0.rev   254

Usually, the most tricky part is grasping that "1.0.0.10.IN-ADDR.ARPA." is
what BIND looks up to find the name (or names) associated with the address
10.0.0.1 (note the reversed byte order of the address parts).

> ;namettlclasstypedata
> 1INPTRlocalhost
> 1   INPTRsage
> 220 INPTRethic
> 247 INPTRtao
> 249 INPTRzen

These look mostly ok, but you may want to fix the following:

  - "localhost" is usually assigned to 127.0.0.1, not 10.0.0.1
  - the "IN" column is *NOT* the TTL (time to live) of a record

> ;
> ;;  below may not be necessary
> ;

True; they're not.

> ;;;220.0.0.10.in-addr.arpa.IN  PTR ethic.thought.org.
> ;;;247.0.0.10.in-addr.arpa.IN  PTR tao.thought.org.
> ;;;249.0.0.10.in-addr.arpa.IN  PTR zen.thought.org.
>
> ;;;220.0.0.10.in-addr.arpa.IN  PTR ethic
> ;;;247.0.0.10.in-addr.arpa.IN  PTR tao
> ;;;249.0.0.10.in-addr.arpa.IN  PTR zen

Note that O'Reilly has an excellent book ("DNS & BIND") which you may
find immensely useful in setting up practically any sort of DNS server.

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


Re: Dell Latitude C640, very hot!

2005-06-22 Thread Jerry Dunham
On 22 Jun 2005 at 19:21, Doug Poland wrote:

> Tobias Fendin wrote:
> > 
> > I've got a Dell Latitude C640, with FreeBSD 5.4 stable.
> > It works well, except for this:
> > After a cuple of hours up and running it gets really hot. My fingers 
> > almost gets burned when I touch the harddirve, memory etc!
> > According to `sysctl hw.acpi.thermal.tz0.temperature` the 
> > cpu-temperature is usually about 50-60 degrees C.
> > Which I consider i normal, but is it normal for the rest of the devices 
> > to be so hot?
> > 
> > Is there someone else who has the same problem which I do with a simular 
> > computer?
> > 
> I have a C600 that gets very hot too.  On a buildworld, it get's up to 
> 180f before fan kicks in.  The bottom is too hot to touch.

Yes, it's normal for these machines to get very hot to the touch.  As 
long as the fans come on appropriately and the CPU temp stays in the 
normal range you should be okay (if a bit warm).  We had customers 
complain that they'd used the machines on their knees and gotten 
blistered.  The only answer is, "Don't do that."  I know that's not 
very satisfactory, but it's a good machine otherwise and you just have 
to know its shortcomings.

I understand that the newer D-series machines are better, but I'm no 
longer with Dell Portables Engineering and don't have access to data on 
them.


--
Jerry Dunham
M3 Design, Inc.
[EMAIL PROTECTED]
(512) 218-8858

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


Re: Dell Latitude C640, very hot!

2005-06-22 Thread Doug Poland


Tobias Fendin wrote:


I've got a Dell Latitude C640, with FreeBSD 5.4 stable.
It works well, except for this:
After a cuple of hours up and running it gets really hot. My fingers 
almost gets burned when I touch the harddirve, memory etc!
According to `sysctl hw.acpi.thermal.tz0.temperature` the 
cpu-temperature is usually about 50-60 degrees C.
Which I consider i normal, but is it normal for the rest of the devices 
to be so hot?


Is there someone else who has the same problem which I do with a simular 
computer?


I have a C600 that gets very hot too.  On a buildworld, it get's up to 
180f before fan kicks in.  The bottom is too hot to touch.


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


private/internal db file question...

2005-06-22 Thread Gary Kline
Folks,

After years or trying, I may have my private/internal
DNS db files working.  From a colo machine I can reach
my internal servers.  One small question for the DNS
wizards out there::  are the last ".in-addr.arpa" lines
considered good-form?  Can I blow them away or uncomment 
them?  (I am considering building an internal mailserver
[yes, with Postfix--it is better than sendmail].  iF and
when I unload my DNS server, be nice to know.)

thanks for any insights,

gary


#---


$TTL 600
@INSOAsage.thought.org. root.sage.thought.org. (
2005062201; Serial
10800; Refresh - 3 hours
3600; Retry - 1 hour
432000; Expire - 1 week
86400); Minimum - 1 day

;
;; real nameserver:
;
INNSsage.thought.org.


;
;Machines names
;
;namettlclasstypedata
1INPTRlocalhost
1   INPTRsage
220 INPTRethic
247 INPTRtao
249 INPTRzen

;
;;  below may not be necessary
;


;;;220.0.0.10.in-addr.arpa.IN  PTR ethic.thought.org.
;;;247.0.0.10.in-addr.arpa.IN  PTR tao.thought.org.
;;;249.0.0.10.in-addr.arpa.IN  PTR zen.thought.org.


;;;220.0.0.10.in-addr.arpa.IN  PTR ethic
;;;247.0.0.10.in-addr.arpa.IN  PTR tao
;;;249.0.0.10.in-addr.arpa.IN  PTR zen



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Dell Latitude C640, very hot!

2005-06-22 Thread Tobias Fendin

Hi

I've got a Dell Latitude C640, with FreeBSD 5.4 stable.
It works well, except for this:
After a cuple of hours up and running it gets really hot. My fingers 
almost gets burned when I touch the harddirve, memory etc!
According to `sysctl hw.acpi.thermal.tz0.temperature` the 
cpu-temperature is usually about 50-60 degrees C.
Which I consider i normal, but is it normal for the rest of the devices 
to be so hot?


Is there someone else who has the same problem which I do with a simular 
computer?


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


Re: clamav build link error (reference to gethostbyname_r)

2005-06-22 Thread Warren Block

On Wed, 22 Jun 2005, Louis LeBlanc wrote:


I just updated my ports and found that clamav was due for upgrade.
Problem is it won't build because of a gethostbyname_r reference.

During the configuration stage, it seems to find a gethostbyname_r:
checking for gethostbyname_r... yes, and it takes 5 arguments

I can't find any reference to gethostbyname_r in the manpages, except
for the LWRES_GETHOSTENT(3) manpage.  I don't think this is what it
refers to, since lwres_gethostbyname_r() takes 4 arguments, not 5.

Regardless, the build fails here:
cc -O -pipe -pthread -o .libs/clamav-milter cfgparser.o getopt.o memory.o 
misc.o clamav-milter.o -pthread  -L/usr/local/lib 
../libclamav/.libs/libclamav.so -lldap -lbz2 -lgmp -lcurl -lidn -lssl -lcrypto 
-lz -lmilter -pthread -lwrap -Wl,--rpath -Wl,/usr/local/lib
clamav-milter.o(.text+0x5708): In function `clamfi_gethostbyname':
: undefined reference to `gethostbyname_r'
*** Error code 1

Anyone have any idea why the configuration is finding gethostbyname_r()
when it's not there?

BTW, I'm running on 5.4 RELEASE-p1


Interesting.  The same thing happens on 4-STABLE as of May 8, but it 
works fine on 5-STABLE as of June 13.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Share Printers, Printing Long.

2005-06-22 Thread Hornet
On 6/22/05, Rick Preston <[EMAIL PROTECTED]> wrote:
> On 6/22/05, Stephan Weaver <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I have suscessfully installed my DSL MODEM Behind my FREEBSD Firewall.
> > Ever Since i have done this, i noticed that my windows users, when trying to
> > print to shared printers, it takes very long for them to access the
> > printers.
> > I have an empty ipf.rules
> > and my ip nat rules looks like
> > map vr0 192.168.0.0/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp
> > map vr0 192.168.0.0/24 -> 0.0.0.0/32 portmap tcp/udp 4:6
> > map vr0 192.168.0.0/24 -> 0.0.0.0/32
> >
> >
> > my dhcp.conf looks like
> > >cat /usr/local/etc/dhcpd.conf
> > option domain-name "pizzaboys.org";
> > option domain-name-servers 192.3.132.1, 196.3.132.4;
> >
> > default-lease-time 86400;
> > max-lease-time 86400;
> >
> > authoritative;
> >
> > ddns-update-style none;
> >
> > log-facility local1;
> >
> > subnet 192.168.0.0 netmask 255.255.255.0 {
> >   range 192.168.0.100 192.168.0.200;
> >   option routers 192.168.0.2;
> > }
> >
> >
> > Any Assistance Please
> 
> Are the shared printers in the 192.168.0/24 subnet?  Are they
> connected to workstation that get their IP through DHCP?  What are you
> using for workstation name resolution?  What are you using for a port
> type on the windows machines, \\workstation\printer?
> is it DSL<-->firewall<--> workstations&printers?
> 
> Looks to me like it is a name resolution thing.  Your DNS servers are
> outside your subnet and probably doesn't know what is in your network.

Yes, I would agree, if you are printing to shares, \\workstation\printer. 
You may need to run a WINS server. or create an lmhosts file on each box.

> 
> Answer these questions and I can probably give you some ideas.
> 
> Cheers,
> Rick
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD & mini-ITX

2005-06-22 Thread Andreas Rudisch
On Wed, 2005-06-22 at 14:43 -0700, Benjamin Keating wrote:
> I've been eyeing up these mini-ITX boards - would like to make a quite
> little file server. Does anyone here run a mini-ITX board (what
> model)? Does it work out of the box? Anything not supported? I'd go
> for one of VIA's as AMD's and others are still a little new and
> pricey. Recommend a shop to purchase from (in the US)?
> 
> Thanks!
> - bpk

I have tested a Via EPIA M1 a while ago. X installed and worked
fine, but the internal graphic was to slow to playback xvid-movies with
mplayer, an external pci-graphic card should solve this. The soundchip
was supported out of the box too.

Right now I have a Via EPIA PD1 (with two 10/100MBit LAN adapters
onboard) with 512MB RAM running as a home dsl router / gateway /
print-/fileserver but only for a small amount of not important data with
one harddisk drive.

I am quite happy with it, since it get its job done and does not use
much electricity. 

To give you an idea of its speed: a 'make buildworld' of FreeBSD 5.4 is
done in about 2 hours. 

Andreas

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81





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


ipfw2 filtering on bridge

2005-06-22 Thread Alin-Adrian Anton

Hi there,

I've been running into some problems with what is supposed to be a 
filtering bridge with IPFW, on FreeBSD 5.4-REL0.


IPFW has been compiled into kernel:

options BRIDGE
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT

along with the bridging capability.


No other firewalling mechanisms are enabled.


The bridge is configured and working:

net.link.ether.bridge.enable=1
net.link.ether.bridge.config=fxp0,vr0
net.link.ether.bridge_ipfw=1

fxp0 is Internet
vr0 is a server with an external IP, called EXT_IP

I tried blocking with trivial ruleset:

001000  0 deny icmp from any to any
65535 8518 584248 allow ip from any to any

However, pinging through the bridge, from the Internet, works without fear:
64 bytes from EXT_IP: icmp_seq=0 ttl=233 time=85.994 ms
64 bytes from EXT_IP: icmp_seq=1 ttl=233 time=96.220 ms

If anyone could help me a bit, I'd be really thankfull.

Thanks for the time.

Yours Sincerely,
--
Alin-Adrian Anton
GPG keyID 0x183087BA (B129 E8F4 7B34 15A9 0785  2F7C 5823 ABA0 1830 87BA)
gpg --keyserver pgp.mit.edu --recv-keys 0x183087BA

"It is dangerous to be right when the government is wrong." - Voltaire
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD & mini-ITX

2005-06-22 Thread Brent Wiese

Benjamin Keating wrote:


I've been eyeing up these mini-ITX boards - would like to make a quite
little file server. Does anyone here run a mini-ITX board (what
model)? Does it work out of the box? Anything not supported? I'd go
for one of VIA's as AMD's and others are still a little new and
pricey. Recommend a shop to purchase from (in the US)?
 

I've tried several of the VIA mini-itx boards (not with FreeBSD tho). 
Not bad. But:


1: cases aren't super plentiful and the nice ones aren't cheap
2: for a file server, I want gig-E, something not built on to the VIA 
boards, at least not since I've last checked (could be available now)
3: I think it actually ends up being cheaper to buy a little cube system 
w/ a standard AMD/Intel chip
4: Many of the cases for the via boards don't have multiple drive 
bays... since you mention file server, I assume you'd want to at least 
mirror 2 drives
5: for the price, you may just want to consider buying a USB-NAS adapter 
(Linksys and Dlink both have them) or getting a Buffalo Terrastation (or 
similar) and save yourself a lot of work assembling, etc. Of course, 
this assumes you only want to use the box as a fileserver.


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


Re: FreeBSD & mini-ITX

2005-06-22 Thread Charles Swiger

On Jun 22, 2005, at 5:43 PM, Benjamin Keating wrote:

I've been eyeing up these mini-ITX boards - would like to make a quite
little file server. Does anyone here run a mini-ITX board (what
model)? Does it work out of the box? Anything not supported? I'd go
for one of VIA's as AMD's and others are still a little new and
pricey. Recommend a shop to purchase from (in the US)?


I've got a VIA EPIA-M1000, a 1GHz VIA "CentaurHauls" C3 and 512MB of  
RAM.  It mostly worked out-of-the-box (in textmode only, I haven't  
really tried getting X11 to work with the integrated video).   
Firewire and USB ports worked well, the vr0 (VIA Rhine II?) NIC  
worked OK but seemed to get a little flakey under high load and would  
drop traffic.


I'm not unhappy with the hardware, but it's reliability under load is  
questionable compared to a Soekris 4511 or a generic Dell/Compaq/HP/ 
whatever box.  I'd probably get a Mac Mini instead if I had to redo  
the choice today.


--
-Chuck

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


Re: Yet another RAID Question (YARQ)

2005-06-22 Thread Alex Zbyslaw

Steve Bertrand wrote:



I know this technique isn't feasable in all situations, but I try to
have duplicate hardware. Especially with my IDE RAID1 servers, I'll from
time to time during a maintenance window pop one of the RAID disks out,
throw it in another box and ensure BOTH machines boot up with individual
disks.

This is a sure test to ensure RAID is working. Mind you, I also back up
using rsync for critical stuff to another box, and to tape as well.
 

Luckily we did the rsync and tape stuff (though it hasn't been needed 
yet).  I guess you need not just the spare hardware (which is possible 
if you have more than one server to start with and two can come out at 
the same time) but the maintenance window to a) pop the disk and then b) 
rebuild the RAID afterwards.  At least, I'm assuming that the RAID-1 is 
just going to treat the disk you pop back in as of unknown status and 
re-mirror it.


Good thoughts, thanks,

--Alex

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


Re: Configuring Apache with DynDNS

2005-06-22 Thread Andrew L. Gould
On Sunday 19 June 2005 09:07 am, Gerard Seibert wrote:
> I am attempting to get Apache to work on my computer. My ISM only
> supplies me with a dynamic IP as well as blocking of port 80. I am
> using DynDNS to try and circumvent that situation.
>
> My knowledge of how to accomplish this quite frankly stinks. Even
> using a copy of O'Reilly's Apache has not helped me much.
>
> If anyone has a similar type of setup, I would appreciate them
> contacting me directly. I can supply all of my configuration files
> for them to look at. I am probably just doing something really stupid
> but I lack the knowledge to figure it out on my own.
>
> Thanks!

1.  Is your server updating DynDNS with your new IP address 
successfully?

2.  Take a look at DynDNS's MyWebHop service.  This service forwards 
port 80 to whatever port you choose.  That way, the redirection is 
transparent to people accessing your site.

3.  The only change in Apache configuration needed (relating to the port 
blocking issue) is to change the port the Apache listens on.  This is 
done in the httpd.conf file.  If you're not familiar with this file, 
you can get lots of good information at:

http://httpd.apache.org/

Best of luck,

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


FreeBSD & mini-ITX

2005-06-22 Thread Benjamin Keating
I've been eyeing up these mini-ITX boards - would like to make a quite
little file server. Does anyone here run a mini-ITX board (what
model)? Does it work out of the box? Anything not supported? I'd go
for one of VIA's as AMD's and others are still a little new and
pricey. Recommend a shop to purchase from (in the US)?

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


Re: Need your advise.

2005-06-22 Thread Nuttapon Tharachaikul

To Charles Swiger,
Thanksyou very much, for give me a clerity.
Without this feature,BSD still beautiful.
BestRegards,
Nuttapon T.


From: Charles Swiger <[EMAIL PROTECTED]>
To: Nuttapon Tharachaikul <[EMAIL PROTECTED]>
CC: freebsd-questions@FreeBSD.org
Subject: Re: Need your advise.
Date: Wed, 22 Jun 2005 16:39:42 -0400

On Jun 22, 2005, at 4:22 PM, Nuttapon Tharachaikul wrote:
 Please  advise me , I would like to know  that : Does BSD5.4  
support "High Availability Clustering" same like RedHatAS3.0 ?  In  term 
of the capability to handle share disk-storage to support  redundancy of 
fail over single point of failure, that if one server  fail then another 
one can be promote to handle application service  by share disk-storage in 
a middle.


Hmm.  The answer is probably no, FreeBSD doesn't have anything which  
handles NFS or Samba failover transparently.


--
-Chuck





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


Re: Configuring Apache with DynDNS

2005-06-22 Thread xordos dos
On 6/19/05, Gerard Seibert <[EMAIL PROTECTED]> wrote:
> I am attempting to get Apache to work on my computer. My ISM only supplies
> me with a dynamic IP as well as blocking of port 80. I am using DynDNS to
> try and circumvent that situation.
Basically, DynDNS only give you a free internat hostname, nothing more.
So it won't help you resolve the 80 blocking issue.

Though I think it is rare an ISP will blocking 80 port, but if this is
the case,
you can modify apache configuration file to use different port number.

In httpd.conf file, find the line "Listen 80" and replace 80 to
another number.(ex 81)
then in your browser, http://blahblah.dyndns.org:81/

Regards,
Xordos.

> 
> My knowledge of how to accomplish this quite frankly stinks. Even using a
> copy of O'Reilly's Apache has not helped me much.
> 
> If anyone has a similar type of setup, I would appreciate them contacting
> me directly. I can supply all of my configuration files for them to look
> at. I am probably just doing something really stupid but I lack the
> knowledge to figure it out on my own.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Share Printers, Printing Long.

2005-06-22 Thread Rick Preston
On 6/22/05, Stephan Weaver <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I have suscessfully installed my DSL MODEM Behind my FREEBSD Firewall.
> Ever Since i have done this, i noticed that my windows users, when trying to
> print to shared printers, it takes very long for them to access the
> printers.
> I have an empty ipf.rules
> and my ip nat rules looks like
> map vr0 192.168.0.0/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp
> map vr0 192.168.0.0/24 -> 0.0.0.0/32 portmap tcp/udp 4:6
> map vr0 192.168.0.0/24 -> 0.0.0.0/32
> 
> 
> my dhcp.conf looks like
> >cat /usr/local/etc/dhcpd.conf
> option domain-name "pizzaboys.org";
> option domain-name-servers 192.3.132.1, 196.3.132.4;
> 
> default-lease-time 86400;
> max-lease-time 86400;
> 
> authoritative;
> 
> ddns-update-style none;
> 
> log-facility local1;
> 
> subnet 192.168.0.0 netmask 255.255.255.0 {
>   range 192.168.0.100 192.168.0.200;
>   option routers 192.168.0.2;
> }
> 
> 
> Any Assistance Please

Are the shared printers in the 192.168.0/24 subnet?  Are they
connected to workstation that get their IP through DHCP?  What are you
using for workstation name resolution?  What are you using for a port
type on the windows machines, \\workstation\printer?
is it DSL<-->firewall<--> workstations&printers?

Looks to me like it is a name resolution thing.  Your DNS servers are
outside your subnet and probably doesn't know what is in your network.

Answer these questions and I can probably give you some ideas.

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


RE: Yet another RAID Question (YARQ)

2005-06-22 Thread Steve Bertrand
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of P.U.Kruppa
> Sent: Monday, June 20, 2005 9:28 AM
> To: Ted Mittelstaedt
> Cc: P.U.Kruppa; freebsd-questions@freebsd.org
> Subject: RE: Yet another RAID Question (YARQ)
> 
> On Mon, 20 Jun 2005, Ted Mittelstaedt wrote:
> 
> >> On Sun, 19 Jun 2005, Ted Mittelstaedt wrote:
> >>
> >>>
> >>> What model of Proliant?
> >> ML 350 G4
> >>
> >
> > Oh good, we have a customer that has been looking at one of 
> these for 
> > FreeBSD and I'm glad to hear that you didn't have problems with it.
> Absolutely smooth - and I am really no kind of computer expert.
> 
> > With these all you get is hot-swap support although you 
> might have to 
> > do a camcontrol rescan after swapping the disk.
> Yes, I have read that in some recent thread.
> 
> > Actually, the Windows management tools for this raid 
> controller on a 
> > server are observational as well.  There is no rebuild tool or 
> > anything like that.
> > When we set these systems up
> > for customers (All the recent Proliants use the same RAID 
> controller) 
> > we usually configure them RAID-5 with 4 physical disks, the 
> setup will 
> > set 3 of the disks in the array, and one a hot-spare.  And in the 
> > event of a disk failure, which you can tell by looking at the disk 
> > drive lights, or going into the management interface, you 
> simply pull 
> > out the bad disk and put in the replacement and the RAID card takes 
> > care of the rest of it.
> The City of Wuppertal couldn't buy me a third disc, because 
> that would have superceded the limit of 2.5 kEURO, which 
> would have required some special administrative act ... :-) .
> 
> > As for knowing if a disk has failed,
> > I think the only way to know is to watch the little lights 
> on the disk 
> > front.
> After reading Alex' story about running a RAID 1 with a 
> defect disc for three years, I believe it will suffice, when 
> I check things with every system upgrade.

I know this technique isn't feasable in all situations, but I try to
have duplicate hardware. Especially with my IDE RAID1 servers, I'll from
time to time during a maintenance window pop one of the RAID disks out,
throw it in another box and ensure BOTH machines boot up with individual
disks.

This is a sure test to ensure RAID is working. Mind you, I also back up
using rsync for critical stuff to another box, and to tape as well.

Steve

> 
> Uli.
> 
> 
> *
> * Peter Ulrich Kruppa - Wuppertal - Germany *
> *
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 

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


RE: support for ICH6R controller and Broadcom ethernet

2005-06-22 Thread Steve Bertrand
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jim Mozley
> Sent: Wednesday, June 22, 2005 12:13 PM
> To: freebsd-questions@freebsd.org
> Subject: Re: support for ICH6R controller and Broadcom ethernet
> 
> [EMAIL PROTECTED] wrote:
> > Hi Jim,
> > 
> > I think it's not a answer to you but here is my recent 
> experience.
> > I've installed FBSD 5.4 in a box with Intel ICH5R chipset.
> > It's working, no hangs, no panics, but the disk 
> performance on the 
> > second IDE disk (I'm not using RAID, just simple 
> master/slave setup), 
> > is terrible.
> > It's like the DMA was not correctly set on the second disk.
> > I read somewhere, that FreeBSD has full support to ICH5 
> chipset but 
> > NOT for ICH5"R".
> > Even when running in "compatibility mode" set on BIOS, the 
> > performance is the same.
> > 
> > Someone told me the follwing on the performance list:
> > 
> > "I remember a commit to the ata driver to fix 
> misprogramming of DMA 
> > timing on an Intel chipset for devices and/or channels 
> other than the 
> > first.  I'm not sure if 5.4 has the bug or the fix."
> > 
> > To me it still has the bug.
> 
> OK thanks for that help.
> 
> If anyone knows anything more definitive I'd be grateful (no 
> criticism of the helpful reply intended).

I have a box with the same chipset. I have 2 160GB SATA drives in a
RAID1 config, which FBSD 5.4 sees 2 disks, as opposed to the single RAID
subsystem. I install on one of the disks.

However, when I reboot the box, I get a flashing cursor in the top left
corner of the screen as if it's going to boot, but it stays there. No
errors nothing.

I'll be trying this out again tomorrow, so I'll let you know if I find
anything.

Steve

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

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


Re: Need your advise.

2005-06-22 Thread Charles Swiger

On Jun 22, 2005, at 4:22 PM, Nuttapon Tharachaikul wrote:
 Please  advise me , I would like to know  that : Does BSD5.4  
support "High Availability Clustering" same like RedHatAS3.0 ?  In  
term of the capability to handle share disk-storage to support  
redundancy of fail over single point of failure, that if one server  
fail then another one can be promote to handle application service  
by share disk-storage in a middle.


Hmm.  The answer is probably no, FreeBSD doesn't have anything which  
handles NFS or Samba failover transparently.


--
-Chuck


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


RE: Explaining FreeBSD features

2005-06-22 Thread Steve Bertrand

> After all, someone is trying to do something good for 
> freebsd, by making freebsd known by more and more people.

It's not worth getting the word out if those new people who are hearing
about it just rant and bitch that the documentation is 'no good', when
something doesn't work the first time they try it.

> Most people are lazy, we tend to prefer immediate results 
> rather than a long term process and commitment. I think this 
> is understandable.

I agree, and it falls perfectly well in with my comment above.

> Of course, there will be a lot of newbies coming, some of 
> them will stay and some of them will find it too difficult, 
> and leave. That's the way it is.

...and most likely because they are the type who don't want to learn
'how' it works, they just want it to work. Bill Gates knows this, and
counts on it. Linux is trying to make itself more 'user friendly' to
compete with Microsoft. I hope FreeBSD never tries to make itself
'simpler' to operate to gain market share. Myself, I find it easy to
operate, moreover, I can type faster than I can move the mouse and
point/click, so being able to do something in Windows or Linux rather
than at the command line is only in the eye of the beholder. (Note that
I use XP as my workstation, but I usually have 10 or 12 SSH sessions
open ;)

> Same goes with linux. If it just sounds powerful, and hard 
> for people to get their hands dirty by just setting one up 
> and see what it looks like and maybe how it works, then linux 
> wouldn't be this popular now.

Linux has come a long way from 10 years ago. It's just as easy, if not
in some cases easier than Windows to set up.

However, with sysinstall, I can get a FBSD system up in less than 8
minutes, with custom FW ruleset, online, updating with cvsup and
preparing to install a custom kernel.

No gooey crap to waste resources, nothing extra I don't want, just
straight up what I want. Sure the first couple installs may take some
time to read and find out about, but I much rather spending <20 average
per box with FreeBSD than the hour and a half to get a Window server up
and installed for Internet use for a client.

> You would hear that "Someone has burned a linux CD and just 
> don't have time to install it, but linux is easy and sounds 
> really cool and makes people curious", and you wouldn't hear 
> the same thing about freebsd.
> Most of the none unix IT friends I have all had a "EXTREMELY HARD"
> impression on Freebsd, and they found linux extremely easy.

Sure. FreeBSD I don't think is meant to be cool and appeal to the UNIX
IT personnel. It's designed to work, and work hard. Those who spend
their work hours maintaining a large core infrastructure aren't
interested in cool. Business managers and clients are interested in
'make it work, make it work reliably without downtime'. Words like
'cool' generally don't impress them, and 'cool' generally means that I
have to respond to frequent problems, errors, crashes. My cool is less
work, less time spent so I can do more important things :)

> That's indeed not true. It really only takes a normal person 
> several hours to flip through the HANDBOOK to at least know 
> his/her way around, and this is really as "easy" as linux.

Agreed. I even read the FM's for new devices/purchases I make. I want to
ensure I get full value out of things that I use/buy/aquire. It's those
who buy a new camera, throw the manual out with the box as soon as it's
opened, and get angry because x feature won't work, or they can't figure
out how to do something so they bitch about it. IMHO, the handbook will
get a box set up even for a reasonable newbie.

> But, it make sence, that people would like to see the 
> product, before using it or even know more about it. Much 
> like a person would prefer trying out a service for free 
> before he/she decides to invest more money and time into it.

That's what the docs, lists and other professionals that use FBSD are
for. Myself, I'll answer any question about FBSD that I can, because so
much info was so freely given to me.

They didn't build Rome in a day, nor can you expect to get a full
picture of the usefulness of FBSD in a day either.

> Also, one must first be a newbie in something, then become 
> more and more professional while he/she is learning.

Of course. Many of my clients call themselves stupid for making a
mistake. I disagree with them. Although there are many, many incoherent
users I feel like choking sometimes, I generally tell them no one knows
everything. If one wants to learn they must educate themselves...this
goes for everything.

> A lot of you might be good at Freebsd, but very new to something else.
> Would you prefer to hear someone telling you, "Hey! This is 
> only for Professional! There is not even a newbie version for 
> you! So don't slow us down by getting out of our way!" That's 
> not friendly at all, right?

It's not friendly, but no one has said that. Most will say to a newbie
that it takes time, patie

Re: Need your advise.

2005-06-22 Thread Nuttapon Tharachaikul

To Charles Swiger ,
 I'm apologize that may be occure many mails delivery to you, since my  
outlook may have problem.
 Please  advise me , I would like to know  that : Does BSD5.4 support 
"High Availability Clustering" same like RedHatAS3.0 ?  In term of the 
capability to handle share disk-storage to support redundancy of fail over 
single point of failure, that if one server fail then another one
can be promote to handle application service by share disk-storage in a 
middle.


Best Regards,
Nuttapon T.


From: Charles Swiger <[EMAIL PROTECTED]>
To: Nuttapon Tharachaikul <[EMAIL PROTECTED]>
CC: freebsd-questions@FreeBSD.org
Subject: Re: Need your advise.
Date: Wed, 22 Jun 2005 15:40:30 -0400

On Jun 22, 2005, at 3:32 PM, Nuttapon Tharachaikul wrote:

1. After I created installation-CDROM. It was burned completly.
But I have a question about the following files ,Does it used  for 
what ?

- CHECKSUM.MD5


If you run md5 (called "md5sum" sometimes) on the .iso file, it  should 
match this checksum.  This confirms the CD image you created  has not been 
tampered with.


2. I would like to know about the feature of BSD5.4 ,where can  I 
check this.
Please give me a shortly information that BSD5.4,i386, can  
handler about Clustering ,RAID and can support Physical Ram = 4 GB  or not 
?


FreeBSD supports lots of flavors of RAID.  The x86 code has limited  
support for PAE (greater than 4GB of physical RAM) but a fair number  of 
drivers are not safe to use in that mode.  If you plan on using  more than 
4GB of RAM in a box, go with a 64-bit platform like AMD64,  or maybe SPARC 
or PPC.


I'm not sure what you mean by "clustering" since people seem to use  that 
to describe a lot of things.


Have any reference information's source the explain the purpose  and 
how to handle of its.


Hmm: "parse error".

If I would like to order "SD 5.4 and Handbook, 3rd Edition,  Users 
Guide Bundle" from FreeBSD-Mall and ship to Thailand.

1. How much ship-cost to delivery this media ?
2. How long for delivery ?
3. And Could you give me for discount ?


Ask FreeBSD-Mall directly.  They aren't the same as the people on  this 
list, nor are they the same thing as the FreeBSD project itself.


--
-Chuck




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


Re: pkg_info question

2005-06-22 Thread Björn König

Jim Trigg wrote:


On Wed, June 22, 2005 2:13 pm, Björn König said:


Thus I can search a file with

  cat /path/to/somewhere | xargs grep 'pattern'


You can avoid wasting a process by using the following instead:

   xargs grep 'pattern' < /path/to/somewhere


Thanks. Where is my UUOC award? ;-)

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


RE: Explaining FreeBSD features

2005-06-22 Thread Steve Bertrand

> On Wed, 22 Jun 2005 12:36:48 +0800
> Erich Dollansky <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > 
> > Vulpes Velox wrote:
> > 
> > > Ignorant useless users should be supported by commercial 
> ventures, 
> > > not community ones. They will just drag the community down with 
> > > their weight if they don't help out.
> > >
> > This would be the real tough one.
> > 
> > There should also be a way to write some kind of descripton for the 
> > people between.
> > 
> > > I found the handbook to be useful in this area.
> > 
> > Yes, if you understand it. It is written be serious IT 
> professionals 
> > for serious IT professionals. Even a serious none IT 
> professional has 
> > problems understanding it.
> > 
> > Our problem is that we all do not know the people who would 
> speak the 
> > language none IT professionals understand.
> > 
> > The original writer sounds like being skilled enough to 
> have serious 
> > try on this one if he gets the information he needs for this.
> 
> I also had too read up on various unix tutorials as well.

I would personally assume that anyone who has ventured seriously into
FreeBSD (I started with Linux for a week, then jumped right into FBSD
and now run an entire ISP with it) has had their head into several
books.

My opinion is that most who run FBSD, run it because they like it, enjoy
it and completely appreciate it's features, rock-solid reliability, and
excellent documentation (IMHO) and help networks. Most who use it to
this extent have no problem reading the books, as others have said
because they want/need to learn whats under the hood.

There have been times where I have been in a jam, and didn't RTFM before
making a post, but on the other hand, there have been times where I have
helped someone out on FBSD areas I had to research on my own time just
so I could familiarize myself with it to help them.

It's my belief that you must be serious to get a FBSD box running at
full tilt, tuned right out, but you need not be an expert to get one up
and running.

There's no way I would use a butter knife to cut down a tree (use
Windows for infrastructure), nor would I use a chainsaw to cut the
butter (use a full scale FBSD server to browse the web).

It's all in what you want and/or need. The docs are there. As it was
pointed out, you need not be a developer, but this is meant to be a
serious OS for serious people.

If one wants to learn the ways of FreeBSD, in reality, the handbook,
google and the lists are your friends. Most everyone I know who uses
FBSD document their learning and experiences, and post it on websites
for everyone to learn from (including myself). Sometimes it is clear cut
and dry, and other times (especially with new, unprecedented
procedures), you must piece-meal different peoples experiences into your
own.

My .02

Steve

> 
> I feel the handbook could be made clearer in some areas, but 
> I believe it is good in general.
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 

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


Re: pkg_info question

2005-06-22 Thread Björn König

Casey Scott wrote:


Thanks. Good idea. How about this, its a little easier.

#find ./ -name 'pkg-plist*' | xargs grep 'bin/convert'


Yes, it is easier if you do this only once. I do it several times and I 
want to benefit from a previous search. What is faster: to find more 
than 10.000 pkg-plist files in more than 40.000 directories or to read a 
single file that provides same information? ;-)


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


RE: Explaining FreeBSD features

2005-06-22 Thread Steve Bertrand

> 
> Fafa, I've seen these kinds of efforts before and they are 
> all generally doomed to failure.
> 
> You see, the problem is that FreeBSD is not a general 
> computer operating system product.  It is a very specific 
> product in fact.
> 
> Now, the USES that FreeBSD can be put to are VERY general.  
> BUT, do NOT make the mistake of confusing the fact that just 
> because FreeBSD can be put to general use, that somehow it is 
> a general product.  It is not.
> 
> FreeBSD is targeted at 2 main groups of people:
> 
> 1) Very knowledgeable people who are using it for personal, 
> or in-house corporate projects.
> 
> 2) Very knowledgeable people who are using it to construct 
> turnkey systems for customers who couldn't care less what is 
> under the hood.
> 
> By contrast, Windows and Linux are in fact, general computer 
> operating system products.  They are targeted at groups #1 
> and #2, but they are also targeted at group #3 which are:
> 
> 3) People who barely know how to push a button who have a 
> problem they need to fix with a computer operating system, 
> and they really don't care if they understand how the fix 
> works as long as it works.
> 
> 
> This gives rise to a rather serious Catch-22 with FreeBSD:
> 
> You need to really understand intimately how FreeBSD works 
> and how computer software that runs on it works in order to 
> get it to work well enough for you to learn intimately how it works.
> 
> Windows and Linux solved this Catch-22 by dumbing-down the 
> interface to their operating systems.  Thus, an ignoramus can 
> get up and running with both of these systems, and that 
> person can remain fat, dumb, and happy, completely ignorant 
> of what he is doing, and those systems will still work enough 
> to get the job done.  It may be a half-assed fix, but it is 
> better than nothing.
> 
> FreeBSD by contrast, long ago decided not to do this.  For 
> starters, if you dumbed-down the FreeBSD interface, then to 
> most people FreeBSD wouldn't be any different than Linux or 
> Windows, so why mess with it?  But, most importantly, a 
> dumbed-down interface gets in the way of a knowledgeable 
> person, and over time becomes a tremendous liability.
> 
> With FreeBSD, the only way that a newbie can break the 
> Catch-22 is old-fashioned mental elbow grease.  In short, by 
> learning a bit at a time, expanding on that, and repeating 
> the process.  It is a long slow way to get to know anything, 
> but once you get there, you really do know everything in 
> intimate detail.
> 
> This isn't a popular thing to tell newbies.

Just going through this list as I do every few days and came across this
thread.

I just want to say thank you Ted, your comments made for a very decent,
informative and realistic read ;)

Steve

> 
> Ted
> 
> >Thanks.
> >
> >--
> >
> >Fafa Hafiz Krantz
> >  Research Designer @ http://www.home.no/barbershop
> >  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf
> >
> >
> >
> >--
> >___
> >Sign-up for Ads Free at Mail.com
> >http://promo.mail.com/adsfreejump.htm
> >
> >___
> >freebsd-questions@freebsd.org mailing list 
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> >"[EMAIL PROTECTED]"
> >
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 

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


Re: Need your advise.

2005-06-22 Thread Charles Swiger

On Jun 22, 2005, at 3:32 PM, Nuttapon Tharachaikul wrote:

1. After I created installation-CDROM. It was burned completly.
But I have a question about the following files ,Does it used  
for what ?

- CHECKSUM.MD5


If you run md5 (called "md5sum" sometimes) on the .iso file, it  
should match this checksum.  This confirms the CD image you created  
has not been tampered with.


2. I would like to know about the feature of BSD5.4 ,where can  
I check this.
Please give me a shortly information that BSD5.4,i386, can  
handler about Clustering ,RAID and can support Physical Ram = 4 GB  
or not ?


FreeBSD supports lots of flavors of RAID.  The x86 code has limited  
support for PAE (greater than 4GB of physical RAM) but a fair number  
of drivers are not safe to use in that mode.  If you plan on using  
more than 4GB of RAM in a box, go with a 64-bit platform like AMD64,  
or maybe SPARC or PPC.


I'm not sure what you mean by "clustering" since people seem to use  
that to describe a lot of things.


Have any reference information's source the explain the purpose  
and how to handle of its.


Hmm: "parse error".

If I would like to order "SD 5.4 and Handbook, 3rd Edition,  
Users Guide Bundle" from FreeBSD-Mall and ship to Thailand.

1. How much ship-cost to delivery this media ?
2. How long for delivery ?
3. And Could you give me for discount ?


Ask FreeBSD-Mall directly.  They aren't the same as the people on  
this list, nor are they the same thing as the FreeBSD project itself.


--
-Chuck

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


Need your advise.

2005-06-22 Thread Nuttapon Tharachaikul

To Support,
I'm interest on BSD-OS.
Please advise me , I'm new to study Linux.
1. After I created installation-CDROM. It was burned completly.
But I have a question about the following files ,Does it used for what 
?

- CHECKSUM.MD5
2. I would like to know about the feature of BSD5.4 ,where can I check 
this.
Please give me a shortly information that BSD5.4,i386, can handler 
about Clustering ,RAID and can support Physical Ram = 4 GB or not ?
Have any reference information's source the explain the purpose and how 
to handle of its.


If I would like to order "SD 5.4 and Handbook, 3rd Edition, Users Guide 
Bundle" from FreeBSD-Mall and ship to Thailand.

1. How much ship-cost to delivery this media ?
2. How long for delivery ?
3. And Could you give me for discount ?


Best Regards,
Nuttapon Tharachaikul
Thailand.


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


Re: syscons features

2005-06-22 Thread Charles Swiger

On Jun 22, 2005, at 2:52 PM, Steven Friedrich wrote:

Can anyone explain to me the mechanism behind the following:

If I echo B^HB | more

I get a bold B.  more is somehow activating? a feature of syscons  
(or the vga

driver).

Are there any other utilities like more that do this?  Is this  
behavior

documented in a man page ?


Yes.  From "man less" (your more is probably really less):

   -U or --UNDERLINE-SPECIAL
  Causes  backspaces,  tabs  and carriage returns to be  
treated as
  control characters; that is, they are handled  as   
specified  by

  the -r option.

  By  default,  if  neither  -u  nor -U is given,  
backspaces which
  appear adjacent to an  underscore  character  are   
treated  spe-
  cially:  the  underlined  text is displayed using the  
terminal's
  hardware underlining capability.  Also, backspaces  
which  appear
  between  two  identical  characters  are  treated  
specially: the
  overstruck text is printed using the terminal's   
hardware  bold-
  face  capability.   Other backspaces are deleted,  
along with the
  preceding character.  Carriage returns immediately  
followed by a
  newline  are  deleted.   other  carriage  returns are  
handled as
  specified by the -r option.  Text which is overstruck  
or  under-
  lined can be searched for if neither -u nor -U is in  
effect.


This is using the $TERM setting via termcap or terminfo.

--
-Chuck

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


RE: Anyone using doormand

2005-06-22 Thread fbsd_user
I read your post and was interested about what doorman does so I
installed it on my 5.4 system.
Running doormand from the command line does start the daemon after
the .cf and guestlist pass syntax test. You will see it running with
ps ax command.  Remember doorman creates firewall rules on the fly
to allow the TCP packets pass through the firewall and then removes
them at the close of the session. Your firewall rules must pass
inbound udp packets on port 1001. If you have that closed in you
firewall rules doorman will never be triggered. I found running
doormand -D will display any config file syntax errors to the
console. If you change from the default /var/log/messages log file
you have to give the new log file permission of rwx just for root
user. That maybe why you see nothing in your custom log. I have not
got it working yet on allowing telnet in from public internet. I am
testing it using ipfilter firewall. You also have to create
/usr/local/etc/rc.d/doormand.sh script so doormand will be started
at boot time. Will let you know my results later.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gene
Sent: Tuesday, June 21, 2005 7:42 AM
To: [EMAIL PROTECTED] ORG
Subject: Anyone using doormand


Has anyone implemented the doorman port knocking package?

I tried to get it going on 5.4, but when I start doormand, I can
find no
evidence of it listening to it's default port (1001).
I've checked the config (see below) but all seems correct. I can
find no
mention
of doormand or port 1001 in the output of netstat or sockstat.
Knocks
have no discernible effect, telnet connections are refused, and
there is
nothing
in the doorman's log file.

Any ideas?
Thanks
Gene

The doormand.cf file:

#
#  'doormand.cf'
#
#
interface   rl1
port1001
waitfor 10
connection_delay_1  10  # 1/10th second (delay is in
microseconds)
connection_delay_2  2
logfile   /var/log/doorman-messages
logleveldebug
pidfile  /var/run/doormand.pid
guestlist   /usr/local/etc/doormand/guestlist
firewall-add/usr/local/etc/doormand/ipf_add
firewall-del /usr/local/etc/doormand/ipf_delete
tag-queue-length10
tag-queue   /var/doorman_tag_queue
tag-db/var/doorman_tag_db.db

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

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


syscons features

2005-06-22 Thread Steven Friedrich
Can anyone explain to me the mechanism behind the following:

If I echo B^HB | more

I get a bold B.  more is somehow activating? a feature of syscons (or the vga 
driver).  

Are there any other utilities like more that do this?  Is this behavior 
documented in a man page ?

-- 
i386 FreeBSD 4.11-STABLE
There are 10 types of people in this world. Ones that understand binary and 
then, the others.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkg_info question

2005-06-22 Thread Jim Trigg
On Wed, June 22, 2005 2:13 pm, Björn König said:
> Thus I can search a file with
>
>cat /path/to/somewhere | xargs grep 'pattern'

You can avoid wasting a process by using the following instead:

   xargs grep 'pattern' < /path/to/somewhere

Jim
-- 
Jim Trigg, Lord High Everything Else  O-   /"\
Hostmaster, Huie Kin family website\ /  ASCII RIBBON CAMPAIGN
Verger and System Administrator,XHELP CURE HTML MAIL
All Saints Church - Sharon Chapel  / \

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


Re: pkg_info question

2005-06-22 Thread Casey Scott
Thanks. Good idea. How about this, its a little easier.

#find ./ -name 'pkg-plist*' | xargs grep 'bin/convert'

Casey

> Casey Scott wrote:
>
>> Sorry, I meant I need to know what package a file belongs to that does
>> not
>> exist in the file system already. I need to know where to get something,
>> not where it came from.
>
> My CVSup script executes
>
>find /usr/ports -name "pkg-plist*" > /path/to/somewhere
>
> after an update of the ports directory. Thus I can search a file with
>
>cat /path/to/somewhere | xargs grep 'pattern'
>
> This method is quick and dirty and does not cover all ports because some
> of them have no pkg-plist file in their directory. Those ports use the
> PLIST_FILES variable in their Makefile instead or generate a plist file
> dynamically.
>
> Björn
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


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


Re: pkg_info question

2005-06-22 Thread Björn König

Casey Scott wrote:


Sorry, I meant I need to know what package a file belongs to that does not
exist in the file system already. I need to know where to get something,
not where it came from.


My CVSup script executes

  find /usr/ports -name "pkg-plist*" > /path/to/somewhere

after an update of the ports directory. Thus I can search a file with

  cat /path/to/somewhere | xargs grep 'pattern'

This method is quick and dirty and does not cover all ports because some 
of them have no pkg-plist file in their directory. Those ports use the 
PLIST_FILES variable in their Makefile instead or generate a plist file 
dynamically.


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


Re: Explaining FreeBSD features

2005-06-22 Thread Lei Sun
After all, someone is trying to do something good for freebsd, by
making freebsd known by more and more people.

Most people are lazy, we tend to prefer immediate results rather than
a long term process and commitment. I think this is understandable.

Of course, there will be a lot of newbies coming, some of them will
stay and some of them will find it too difficult, and leave. That's
the way it is.

Same goes with linux. If it just sounds powerful, and hard for people
to get their hands dirty by just setting one up and see what it looks
like and maybe how it works, then linux wouldn't be this popular now.

You would hear that "Someone has burned a linux CD and just don't have
time to install it, but linux is easy and sounds really cool and makes
people curious", and you wouldn't hear the same thing about freebsd.
Most of the none unix IT friends I have all had a "EXTREMELY HARD"
impression on Freebsd, and they found linux extremely easy.

That's indeed not true. It really only takes a normal person several
hours to flip through the HANDBOOK to at least know his/her way
around, and this is really as "easy" as linux.

But, it make sence, that people would like to see the product, before
using it or even know more about it. Much like a person would prefer
trying out a service for free before he/she decides to invest more
money and time into it.

Also, one must first be a newbie in something, then become more and
more professional while he/she is learning.

A lot of you might be good at Freebsd, but very new to something else.
Would you prefer to hear someone telling you, "Hey! This is only for
Professional! There is not even a newbie version for you! So don't
slow us down by getting out of our way!" That's not friendly at all,
right?

I perfectly agree that Freebsd is a serious OS from serious people,
that's why I choose freebsd :) and I would rather see freebsd be more
and more popular than linux!!! Truely!!! It is indeed a very good OS.

So let's be nice, and find ways help the new comers without disturbing
the ones, who are not interested in the easy questions, instead of
turning them away.

We all love FreeBSD, don't we?

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


Re: Re[2]: Goals for 6

2005-06-22 Thread Danny
On 6/22/05, Josh Ockert <[EMAIL PROTECTED]> wrote:
> Ja dumaju chto vy ni vizhili chto on govorit o FreeBSD 6.
> 
> I don't know that FreeBSD 6 design goals have been announced anywhere;
> in fact, FreeBSD 6 isn't even listed on the front page, and hasn't
> even had a New Technology release. At this point, I think FreeBSD 6
> only exists because we basically need a Sith Apprentice (okay, maybe
> I'm carrying this a bit far, but there are always two of them, -STABLE
> and -CURRENT... and Ep.3 is still on my mind...) now that 5.x is
> -STABLE.

[...]

Read the release engineering section of the FreeBSD site.

...D

-- 
CPDE - Certified Petroleum Distribution Engineer
CCBC - Certified Canadian Beer Consumer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re[2]: Goals for 6

2005-06-22 Thread Josh Ockert
Ja dumaju chto vy ni vizhili chto on govorit o FreeBSD 6.

I don't know that FreeBSD 6 design goals have been announced anywhere;
in fact, FreeBSD 6 isn't even listed on the front page, and hasn't
even had a New Technology release. At this point, I think FreeBSD 6
only exists because we basically need a Sith Apprentice (okay, maybe
I'm carrying this a bit far, but there are always two of them, -STABLE
and -CURRENT... and Ep.3 is still on my mind...) now that 5.x is
-STABLE.

It may be that 6.x will be more of an evolutionary series than
revolutionary, and that its purpose is mostly to let SMPng mature and
kill the Giant Lock, and hopefully let ACPI mature as well. You might
have more luck getting a straight answer from the -current mailing
list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xorg installation fails

2005-06-22 Thread Paul Schmehl
--On Wednesday, June 22, 2005 02:46:12 +0200 Simon Ulfsbecker 
<[EMAIL PROTECTED]> wrote:



Hi readers,

I would greatly appreciate any suggestions as to why my Xorg installation
fails.
Xorg.0.log file can be fetched at:

http://hem.bredband.net/simulf/Xorg.0.log

During standard installation of freeBSD 5.4 my logitech USB 3 button mouse
fails to be detected, but when doing a post install mouse configuration
the
pointer shows up and can be moved around when testing the mouse deamon.
Still, my mouse pointer is reported as missing when running Xorg -config
xorg.conf.new after that.
Using a USB to PS/2-adapter might do the trick, but adhering to moore's
law, my motherboard (Asus p4p800 deluxe) can't handle a PS/2 mouse for
some odd reason. My box won't boot and the monitor wont power on having
anything plugged into the PS/2 port (!).

Some errors are also reported for my ATI Radeon 9800 pro GFX adapter, but
I
think it's the non present pointer device that is hindering me from doing
an
Xorg -config.

I'm out of clues...


This works fine for my usb mouse:

Section "InputDevice"
   Identifier  "Mouse0"
   Driver  "mouse"
   Option  "Protocol" "auto"
   Option  "Device" "/dev/sysmouse"
   Option  "Emulate3Buttons" "true"
   Option  "Buttons" "5"
   Option  "ZAxisMapping" "4 5"
EndSection

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


Re: Showing transfer rates with cp

2005-06-22 Thread Giorgos Keramidas
On 2005-06-22 19:00, Frank Staals <[EMAIL PROTECTED]> wrote:
> I have a rather small and maybe silly question but I it will provide me
> a lot info. I would like to see transfer rates when I use 'cp'. At home
> I have a FreeBSD server with a couple harddiscs in them. I work on my
> laptop and mount the discs from the server using NFS. But when copying
> files from server to laptop or vice versa I have no idea how long it
> will take before it is finished. Is there a way to show those speeds ? I
> also checked with scp but when mounted it kind of act like 'cp' and
> doesn't show anything

Hint... while the cp(1) operation is running, just press ^T

(or whatever "status" is assigned to in your terminal setup)


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


Share Printers, Printing Long.

2005-06-22 Thread Stephan Weaver

Hello,

I have suscessfully installed my DSL MODEM Behind my FREEBSD Firewall.
Ever Since i have done this, i noticed that my windows users, when trying to 
print to shared printers, it takes very long for them to access the 
printers.

I have an empty ipf.rules
and my ip nat rules looks like
map vr0 192.168.0.0/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp
map vr0 192.168.0.0/24 -> 0.0.0.0/32 portmap tcp/udp 4:6
map vr0 192.168.0.0/24 -> 0.0.0.0/32


my dhcp.conf looks like

cat /usr/local/etc/dhcpd.conf

option domain-name "pizzaboys.org";
option domain-name-servers 192.3.132.1, 196.3.132.4;

default-lease-time 86400;
max-lease-time 86400;

authoritative;

ddns-update-style none;

log-facility local1;

subnet 192.168.0.0 netmask 255.255.255.0 {
 range 192.168.0.100 192.168.0.200;
 option routers 192.168.0.2;
}


Any Assistance Please

[EMAIL PROTECTED]

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


Re: pkg_info question

2005-06-22 Thread Casey Scott
Sorry, I meant I need to know what package a file belongs to that does not
exist in the file system already. I need to know where to get something,
not where it came from.

> In the last episode (Jun 22), Casey Scott said:
>> Is it possible to get pkg_info, or some other command, to show what
>> package contains a file?
>>
>> E.g.  find what package has  /usr/local/bin/convert
>
> pkg_info -W /usr/local/bin/convert
>
> Or if you have portupgrade installed, "pkg_which
> /usr/local/bin/convert" is faster.
>
> --
>   Dan Nelson
>   [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


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


Re: FreeBSD Machines dieing, we've tried so much....

2005-06-22 Thread Matt Juszczak



I had same situation with to different high loaded servers (both SMP, with 8Gb 
of
ram, and HT enabled,), with 5.4 Release, after disabeling HT and cvsup
OS to 5.4-stable all working fine without any problems, last reboot was 28
days ago.


 



That's exactly our config.  SMP, 4 gb RAM, HT was enabled, no longer.  
Should I upgrade to 5.4-STABLE?  Is there a bug ?  Is 5.4-STABLE 
"stable" enough? :)  Also, if I cvsup to 5.4-STABLE right now, would I 
be able to upgrade to 5.5-RELEASE with no probs, or would I forever be 
at -STABLE?


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


Showing transfer rates with cp

2005-06-22 Thread Frank Staals

Hey,

I have a rather small and maybe silly question but I it will provide me 
a lot info. I would like to see transfer rates when I use 'cp'. At home 
I have a FreeBSD server with a couple harddiscs in them. I work on my 
laptop and mount the discs from the server using NFS. But when copying 
files from server to laptop or vice versa I have no idea how long it 
will take before it is finished. Is there a way to show those speeds ? I 
also checked with scp but when mounted it kind of act like 'cp' and 
doesn't show anything


Thanks in advance

--
-Frank Staals


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


Re: Raising temperature threshold

2005-06-22 Thread Matthew Flanagan
On 22 Jun 2005 11:46:31 -0400, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> Matthew Flanagan <[EMAIL PROTECTED]> writes:
> 
> > I`ve installed a FreeBSD 5.4-STABLE and I was building some ports when 
> > suddenly my system shut down. Upon rebooting it and checking 
> > /var/log/messages, I found the following lines:
> > 
> > Jun 21 16:01:30 bell root: WARNING: system temperature too high,
> > shutting down soon!
> > Jun 21 16:01:40 bell kernel: acpi_tz0: WARNING - current temperature
> > (60.0C) exceeds safe limits
> > 
> > Then I realized what had happened. My acpi_thermal sysctl's are:
> > 
> > hw.acpi.thermal.min_runtime: 0
> > hw.acpi.thermal.polling_rate: 10
> > hw.acpi.thermal.tz0.temperature: 50.0C
> > hw.acpi.thermal.tz0.active: 0
> > hw.acpi.thermal.tz0.thermal_flags: 1
> > hw.acpi.thermal.tz0._PSV: 50.0C
> > hw.acpi.thermal.tz0._HOT: -1
> > hw.acpi.thermal.tz0._CRT: 60.0C
> > hw.acpi.thermal.tz0._ACx: 50.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
> > 
> > When I try to raise hw.acpi.thermal.tz0._CRT to 85C (which is the
> threshold in
> > the BIOS setup) it doesn't work:
> > 
> > bell# sysctl hw.acpi.thermal.tz0._CRT=3580  # 3580 tenths of Kelvin=85C
> > sysctl: oid 'hw.acpi.thermal.tz0._CRT' is read only
> > 
> > I've tried /etc/sysctl.conf as well, but I get the same error.
> > 
> > Now, my question is: how do I change this value? I've read several
> manpages
> > (acpi(4), acpi_thermal(4), acpiconf(8), and many others) and checked the
> > handbook, to no avail. Can anyone point me to the right direction?
> 
> Can it be set at boot time?  [from the loader?]

Perhaps, but loader(8) lists the kernel tunable parameters available, and
hw.acpi.thermal.tz%d._CRT isn't one of them.

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


Re: pkg_info question

2005-06-22 Thread Dan Nelson
In the last episode (Jun 22), Casey Scott said:
> Is it possible to get pkg_info, or some other command, to show what
> package contains a file?
> 
> E.g.  find what package has  /usr/local/bin/convert

pkg_info -W /usr/local/bin/convert

Or if you have portupgrade installed, "pkg_which
/usr/local/bin/convert" is faster.

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


Re: Explaining FreeBSD features

2005-06-22 Thread Vulpes Velox
On Wed, 22 Jun 2005 12:36:48 +0800
Erich Dollansky <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Vulpes Velox wrote:
> 
> > Ignorant useless users should be supported by commercial ventures,
> > not community ones. They will just drag the community down with
> > their weight if they don't help out.
> >
> This would be the real tough one.
> 
> There should also be a way to write some kind of descripton for the 
> people between.
> 
> > I found the handbook to be useful in this area.
> 
> Yes, if you understand it. It is written be serious IT
> professionals for serious IT professionals. Even a serious none IT
> professional has problems understanding it.
> 
> Our problem is that we all do not know the people who would speak
> the language none IT professionals understand.
> 
> The original writer sounds like being skilled enough to have
> serious try on this one if he gets the information he needs for
> this.

I also had too read up on various unix tutorials as well.

I feel the handbook could be made clearer in some areas, but I
believe it is good in general.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Raising temperature threshold

2005-06-22 Thread Bruno Gallant
Hi,  I don't think it is advisable to put your machine under such
strain.  I think 60C is already very hot for regular parts, and that
it is proper that the machine would shutdown .  Unless you have a
special military kind of hardware, I am sure that  more than 60C will
reduce the MTBF of your hardware, and maybe void your warranty if you
have one.

It would be interesting to know if that setting can be changed to a
_lower_ value, in fact.



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


pkg_info question

2005-06-22 Thread Casey Scott
Is it possible to get pkg_info, or some other command, to show what
package contains a file?

E.g.  find what package has  /usr/local/bin/convert

Casey

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


Re[2]: Goals for 6

2005-06-22 Thread fenix
> [EMAIL PROTECTED] wrote:
>> Hello, Sean.
>> 
>> Try to read this:
>> 
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#CURRENT
>> 
>> 
>> 
>>>Where can I find the design goals for FreeBSD 6 and Current?
>>>___
>>>freebsd-questions@freebsd.org mailing list
>>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>To unsubscribe, send any mail to
>>>"[EMAIL PROTECTED]"
>> 
>> 
>> 
>> 
> I was not looking for the difference between them. I was looking to more
> what the current goals of those projects such as SMP or the Filesystem etc.

Ok, maybe this link will be helpful:

http://kerneltrap.org/node/585

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



-- 
Ñ óâàæåíèåì,
 fenix  mailto:[EMAIL PROTECTED]

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


Re: Goals for 6

2005-06-22 Thread Sean Murphy
[EMAIL PROTECTED] wrote:
> Hello, Sean.
> 
> Try to read this:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#CURRENT
> 
> 
> 
>>Where can I find the design goals for FreeBSD 6 and Current?
>>___
>>freebsd-questions@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to
>>"[EMAIL PROTECTED]"
> 
> 
> 
> 
I was not looking for the difference between them. I was looking to more
what the current goals of those projects such as SMP or the Filesystem etc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Generating coredump's from within a signal handler.

2005-06-22 Thread Giorgos Keramidas
On 2005-06-22 16:00, [EMAIL PROTECTED] wrote:
> I'm writing a program that when receiving a SIGTERM
> shall generate a coredump of itself and exit.
> This coredump shall be analysed later on using gdb.
> I've tried to raise(SIGABRT) when handling SIGTERM,
> this generates a coredump, but the stack seems messed
> up when examining it with gdb.

The stack *is* ``messed up'' when a program runs within a signal handler
(where ``messed up'' means signal handlers are not called as normal C
functions, but are entered on exit from a system call using special
stack magic).

What do you see in the gdb backtrace that seems ``messed up''?

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


Re: Goals for 6

2005-06-22 Thread fenix
Hello, Sean.

Try to read this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#CURRENT


> Where can I find the design goals for FreeBSD 6 and Current?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"



-- 
Best regards,
Sergey S. Ropchan mailto:[EMAIL PROTECTED]

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


Re: support for ICH6R controller and Broadcom ethernet

2005-06-22 Thread Jim Mozley

[EMAIL PROTECTED] wrote:

Hi Jim,

I think it's not a answer to you but here is my recent experience.
I've installed FBSD 5.4 in a box with Intel ICH5R chipset.
It's working, no hangs, no panics, but the disk performance on the
second IDE disk (I'm not using RAID, just simple master/slave setup), is
terrible.
It's like the DMA was not correctly set on the second disk.
I read somewhere, that FreeBSD has full support to ICH5 chipset
but NOT for ICH5"R".
Even when running in "compatibility mode" set on BIOS, the
performance is the same.

Someone told me the follwing on the performance list:

"I remember a commit to the ata driver to fix misprogramming of
DMA timing on an Intel chipset for devices and/or channels other than the
first.  I'm not sure if 5.4 has the bug or the fix."

To me it still has the bug.


OK thanks for that help.

If anyone knows anything more definitive I'd be grateful (no criticism 
of the helpful reply intended).


Thanks,

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


Re: FreeBSD Machines dieing, we've tried so much....

2005-06-22 Thread Chad Leigh -- Shire.Net LLC


On Jun 22, 2005, at 9:59 AM, Matt Juszczak wrote:




The vast majority of panics are hardware-related.  It is rare  
nowadays
for a usermode program to make the system panic.  In particular  
you said
the problem happens more under load.  That really points even more  
to a

hardware problem - bad CPU cache ram, bad ram, scsi termination, that
sort of thing.

Ted




This is kind of going to be a blanket post to all the recent  
suggestions to me.  I appreciate suggestions :)   Ted, sorry, my  
other posts had dmesg and hardware specs, etc. I just couldn't  
remember the subject line of that thread. I'll be more descriptive  
here.


We have two different servers crashing.  Both are SMP, but on  
different hardware.  We have five freeBSD servers in total, and  
only two are affected.  That is why I do not believe this is a  
hardware problem.


In any case, the machines are in a cold room where the temperature  
is constantly maintained.  20 other servers in there are perfectly  
stable, with no probs.


This particular machine that crashed last night while running  
portsdb -uU is a Super Micro machine, with hyperthreading disabled  
in the bios, dual CPU 3.06 ghz, with 4 gigs memory.  We ran mem  
test on orion (the machine that crashed last night) a week or so  
ago, and it found 70,000 ECC errors.  Those were fixed and that  
machine has been stable until last night.  I've now disabled SMP  
support, we'll see if that keeps it stable or not. Portsdb -uU ran  
without problems after I disabled SMP.


As far as uranus, the other box (we keep a planet scheme for a  
certain set of servers), we ran memtest86 and found no errors at  
all.  That box crashed about two days ago but has been stable  
since.  It has not lasted more than a week without doing a kernel  
trap and freezing.


It seems that both these servers have this problem.  Out of the  
five FreeBSD servers we have, these two are the ones with the  
highest load.  Maybe a higher load on the other three servers would  
cause the same problem.  I agree with you that this is a hardware  
problem, but on more than one server with two different  
architectures and our highest load makes me re-consider.


If this is truly a bug in FreeBSD 5.4-RELEASE, maybe this is  
something that has been fixed in -stable?  I will compile a debug  
kernel today and try to provide a trace to the problem.  I'll do it  
on which ever server crashes next.



What do they have in common?  Disk controller?  Network controller?

Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Re[2]: FreeBSD Machines dieing, we've tried so much....

2005-06-22 Thread fenix
Hello, Matt.

>>The vast majority of panics are hardware-related.  It is rare nowadays
>>for a usermode program to make the system panic.  In particular you said
>>the problem happens more under load.  That really points even more to a
>>hardware problem - bad CPU cache ram, bad ram, scsi termination, that
>>sort of thing.
>>
>>Ted
>>  
>>

> This is kind of going to be a blanket post to all the recent suggestions
> to me.  I appreciate suggestions :)   Ted, sorry, my other posts had
> dmesg and hardware specs, etc. I just couldn't remember the subject line
> of that thread. I'll be more descriptive here.

> We have two different servers crashing.  Both are SMP, but on different
> hardware.  We have five freeBSD servers in total, and only two are 
> affected.  That is why I do not believe this is a hardware problem.

> In any case, the machines are in a cold room where the temperature is
> constantly maintained.  20 other servers in there are perfectly stable,
> with no probs.

> This particular machine that crashed last night while running portsdb
> -uU is a Super Micro machine, with hyperthreading disabled in the bios,
> dual CPU 3.06 ghz, with 4 gigs memory.  We ran mem test on orion (the
> machine that crashed last night) a week or so ago, and it found 70,000
> ECC errors.  Those were fixed and that machine has been stable until
> last night.  I've now disabled SMP support, we'll see if that keeps it
> stable or not. Portsdb -uU ran without problems after I disabled SMP.

> As far as uranus, the other box (we keep a planet scheme for a certain
> set of servers), we ran memtest86 and found no errors at all.  That box
> crashed about two days ago but has been stable since.  It has not lasted
> more than a week without doing a kernel trap and freezing.

> It seems that both these servers have this problem.  Out of the five
> FreeBSD servers we have, these two are the ones with the highest load.
> Maybe a higher load on the other three servers would cause the same 
> problem.  I agree with you that this is a hardware problem, but on more
> than one server with two different architectures and our highest load
> makes me re-consider.

> If this is truly a bug in FreeBSD 5.4-RELEASE, maybe this is something
> that has been fixed in -stable?  I will compile a debug kernel today and
> try to provide a trace to the problem.  I'll do it on which ever server
> crashes next.

I had same situation with to different high loaded servers (both SMP, with 8Gb 
of
ram, and HT enabled,), with 5.4 Release, after disabeling HT and cvsup
OS to 5.4-stable all working fine without any problems, last reboot was 28
days ago.


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



-- 
Best regards,
Sergey S. Ropchan

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


Goals for 6

2005-06-22 Thread Sean Murphy
Where can I find the design goals for FreeBSD 6 and Current?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


clamav build link error (reference to gethostbyname_r)

2005-06-22 Thread Robert Huff

Louis LeBlanc writes:

>  Anyone have any idea why the configuration is finding
>  gethostbyname_r() when it's not there?

Possibly the maintainer, with whom I am currently trading
e-mail.  Will you please send them a note indicating you're having
problems also, so they'll know it isn't just my snafu?


Robert Huff

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


Re: FreeBSD Machines dieing, we've tried so much....

2005-06-22 Thread Matt Juszczak



The vast majority of panics are hardware-related.  It is rare nowadays
for a usermode program to make the system panic.  In particular you said
the problem happens more under load.  That really points even more to a
hardware problem - bad CPU cache ram, bad ram, scsi termination, that
sort of thing.

Ted
 



This is kind of going to be a blanket post to all the recent suggestions 
to me.  I appreciate suggestions :)   Ted, sorry, my other posts had 
dmesg and hardware specs, etc. I just couldn't remember the subject line 
of that thread. I'll be more descriptive here.


We have two different servers crashing.  Both are SMP, but on different 
hardware.  We have five freeBSD servers in total, and only two are 
affected.  That is why I do not believe this is a hardware problem.


In any case, the machines are in a cold room where the temperature is 
constantly maintained.  20 other servers in there are perfectly stable, 
with no probs.


This particular machine that crashed last night while running portsdb 
-uU is a Super Micro machine, with hyperthreading disabled in the bios, 
dual CPU 3.06 ghz, with 4 gigs memory.  We ran mem test on orion (the 
machine that crashed last night) a week or so ago, and it found 70,000 
ECC errors.  Those were fixed and that machine has been stable until 
last night.  I've now disabled SMP support, we'll see if that keeps it 
stable or not. Portsdb -uU ran without problems after I disabled SMP.


As far as uranus, the other box (we keep a planet scheme for a certain 
set of servers), we ran memtest86 and found no errors at all.  That box 
crashed about two days ago but has been stable since.  It has not lasted 
more than a week without doing a kernel trap and freezing.


It seems that both these servers have this problem.  Out of the five 
FreeBSD servers we have, these two are the ones with the highest load.  
Maybe a higher load on the other three servers would cause the same 
problem.  I agree with you that this is a hardware problem, but on more 
than one server with two different architectures and our highest load 
makes me re-consider.


If this is truly a bug in FreeBSD 5.4-RELEASE, maybe this is something 
that has been fixed in -stable?  I will compile a debug kernel today and 
try to provide a trace to the problem.  I'll do it on which ever server 
crashes next.

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


Generating coredump's from within a signal handler.

2005-06-22 Thread mats . lindberg




Hi all!
I'm writing a program that when receiving a SIGTERM
shall generate a coredump of itself and exit.
This coredump shall be analysed later on using gdb.
I've tried to raise(SIGABRT) when handling SIGTERM,
this generates a coredump, but the stack seems messed
up when examining it with gdb.
Sending SIGABRT directly instead of SIGTERM to
the process gives a readable coredump but this is not a
solution to my problem.

Mats

___

This e-mail communication (and any attachment/s) may contain confidential
or privileged information and is intended only for the individual(s) or
entity named above and to others who have been specifically authorized to
receive it. If you are not the intended recipient, please do not read,
copy, use or disclose the contents of this communication to others. Please
notify the sender that you have received this e-mail in error by reply
e-mail, and delete the e-mail subsequently.
Thank you.
_


Ce message (ainsi que le(s) fichier/s), transmis par courriel, peut
contenir des renseignements confidentiels ou protégés et est destiné à
l’usage exclusif du destinataire ci-dessus. Toute autre personne est par
les présentes avisée qu’il est strictement interdit de le diffuser, le
distribuer ou le reproduire. Si vous l’avez reçu par inadvertance, veuillez
nous en aviser et détruire ce message.
Merci.
_

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

clamav build link error (reference to gethostbyname_r)

2005-06-22 Thread Louis LeBlanc
I just updated my ports and found that clamav was due for upgrade.
Problem is it won't build because of a gethostbyname_r reference.

During the configuration stage, it seems to find a gethostbyname_r:
checking for gethostbyname_r... yes, and it takes 5 arguments

I can't find any reference to gethostbyname_r in the manpages, except
for the LWRES_GETHOSTENT(3) manpage.  I don't think this is what it
refers to, since lwres_gethostbyname_r() takes 4 arguments, not 5.

Regardless, the build fails here:
cc -O -pipe -pthread -o .libs/clamav-milter cfgparser.o getopt.o memory.o 
misc.o clamav-milter.o -pthread  -L/usr/local/lib 
../libclamav/.libs/libclamav.so -lldap -lbz2 -lgmp -lcurl -lidn -lssl -lcrypto 
-lz -lmilter -pthread -lwrap -Wl,--rpath -Wl,/usr/local/lib
clamav-milter.o(.text+0x5708): In function `clamfi_gethostbyname':
: undefined reference to `gethostbyname_r'
*** Error code 1

Anyone have any idea why the configuration is finding gethostbyname_r()
when it's not there?

BTW, I'm running on 5.4 RELEASE-p1

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Crenna's Law of Political Accountability:
  If you are the first to know about something bad, you are going to be
  held responsible for acting on it, regardless of your formal duties.


pgpHDeNODyXQo.pgp
Description: PGP signature


Re: Raising temperature threshold

2005-06-22 Thread Lowell Gilbert
Matthew Flanagan <[EMAIL PROTECTED]> writes:

> I`ve installed a FreeBSD 5.4-STABLE and I was building some ports when 
> suddenly my system shut down. Upon rebooting it and checking 
> /var/log/messages, I found the following lines:
> 
> Jun 21 16:01:30 bell root: WARNING: system temperature too high,
> shutting down soon!
> Jun 21 16:01:40 bell kernel: acpi_tz0: WARNING - current temperature
> (60.0C) exceeds safe limits
> 
> Then I realized what had happened. My acpi_thermal sysctl's are:
> 
> hw.acpi.thermal.min_runtime: 0
> hw.acpi.thermal.polling_rate: 10
> hw.acpi.thermal.tz0.temperature: 50.0C
> hw.acpi.thermal.tz0.active: 0
> hw.acpi.thermal.tz0.thermal_flags: 1
> hw.acpi.thermal.tz0._PSV: 50.0C
> hw.acpi.thermal.tz0._HOT: -1
> hw.acpi.thermal.tz0._CRT: 60.0C
> hw.acpi.thermal.tz0._ACx: 50.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
> 
> When I try to raise hw.acpi.thermal.tz0._CRT to 85C (which is the threshold in
> the BIOS setup) it doesn't work:
> 
> bell# sysctl hw.acpi.thermal.tz0._CRT=3580  # 3580 tenths of Kelvin=85C
> sysctl: oid 'hw.acpi.thermal.tz0._CRT' is read only
> 
> I've tried /etc/sysctl.conf as well, but I get the same error.
> 
> Now, my question is: how do I change this value? I've read several manpages
> (acpi(4), acpi_thermal(4), acpiconf(8), and many others) and checked the
> handbook, to no avail. Can anyone point me to the right direction?

Can it be set at boot time?  [from the loader?]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: support for ICH6R controller and Broadcom ethernet

2005-06-22 Thread scuba
Hi Jim,

I think it's not a answer to you but here is my recent experience.
I've installed FBSD 5.4 in a box with Intel ICH5R chipset.
It's working, no hangs, no panics, but the disk performance on the
second IDE disk (I'm not using RAID, just simple master/slave setup), is
terrible.
It's like the DMA was not correctly set on the second disk.
I read somewhere, that FreeBSD has full support to ICH5 chipset
but NOT for ICH5"R".
Even when running in "compatibility mode" set on BIOS, the
performance is the same.

Someone told me the follwing on the performance list:

"I remember a commit to the ata driver to fix misprogramming of
DMA timing on an Intel chipset for devices and/or channels other than the
first.  I'm not sure if 5.4 has the bug or the fix."

To me it still has the bug.

- Marcelo Souza

Jim Mozley wrote:

|I have asked this on freebsd-hardware but didn't hear anything so I
|hoped someone here could help...
|
|I am potentially buying a server with a Tyan Tomcat i7221 motherboard. I
|am unsure of the support in FreeBSD for the following:
|
|- ICH6R disk controller
|
|- Broadcom BCM5721 ethernet
|
|Ideally I would put FreeBSD 4.10 on the systems as we are already using
|this on several systems (these new servers unfortunately have to be
|different to the previous ones).
|
|FreeBSD 4.11 hardware compatibility says there is support for intel ICH5
|as does the ata man page for FreeBSD 4.10. I've also checked the man
|page for ata on FreeBSD 5.4 and it says up to ICH5.
|
|I am aware that there is Broadcom support via the bge driver, the man
|page says "provides support for various NICs based on the Broadcom
|BCM570x". Haven't found any mention of what I assume is the later
|controller and the broadcom website doesn't have any mention of a
|Freebsd driver.
|
|Can anyone advise on support for these in version 4.10, if I need 5.4 or
|whether they will work at all?
|
|Thanks,
|
|Jim
|___
|freebsd-questions@freebsd.org mailing list
|http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to "[EMAIL PROTECTED]"
|


- Marcelo




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


Re: FreeBSD Machines dieing, we've tried so much....

2005-06-22 Thread Chad Leigh -- Shire.Net LLC


On Jun 22, 2005, at 3:07 AM, Ted Mittelstaedt wrote:






-Original Message-
From: Matt Juszczak [mailto:[EMAIL PROTECTED]
Sent: Monday, June 20, 2005 10:49 AM
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: RE: FreeBSD Machines dieing, we've tried so much




On Mon, 20 Jun 2005, Ted Mittelstaedt wrote:





Please post dmesg output from both systems.



The systems end up crashing so I can't do a dmesg or do you  
mean a

general dmesg when they are stable?




Yes. Matt, please slow down and quit panicing for just a second here
- you haven't even told us what processor these are on let alone  
what the
hardware manufacturer is.  It's like your calling to schedule a  
doctors

appointment and you aren't even telling them if the patient is
a man, woman, child, or for that matter, family dog!

The vast majority of panics are hardware-related.  It is rare nowadays
for a usermode program to make the system panic.  In particular you  
said
the problem happens more under load.  That really points even more  
to a

hardware problem - bad CPU cache ram, bad ram, scsi termination, that
sort of thing.

Ted


Just as an example of what Ted is saying.  About 3 or 4 years ago I  
had installed some new "server" main boards for AMD CPUs.  The  
"chipset" was a split chipset that had a "northbridge" by one vendor  
and a "southbridge" by another vendor.  One was an AMD chip and one  
was a VIA chip.  (The AMD supported ECC etc unlike all the other  
brands of that same chip functionality).  Under load (using Adaptec  
RAID controllers) the machine would freeze up.  Finally, after much  
testing and ridiculous amounts of cooling (assuming it was a heat  
problem), I replaced the main boards with new ones that only used AMD  
chipsets for both the north and southbridge chips.  Problem went away.


These same boards work fine, including under load, with Windows, for  
example, and a test Linux install also did not have problems (though  
the Linux was not very well tested).


My point is, that you can have some sort of HW problem that shows up  
under load and it may not be an pbvious one.


Test you RAM first, using something like memtest86, and think about  
what other HW is in your machine(s) and whether you can swap it out  
for test purposes, etc.


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Re: Using FreeBSD to examine/work on a Solaris disk

2005-06-22 Thread Ean Kingston
On June 22, 2005 10:25 am, Lowell Gilbert wrote:
> "Wesley Groleau" <[EMAIL PROTECTED]> writes:
> > I have an i386 FreeBSD 5.4  I've stuck a disk from a Sun Ultra 10 on the
> > ATA0 slave.
> >
> > If possible, I'd like to mount it to see what's what.
> >
> > (and tweak some /etc files so I can get into the Sun).
> >
> > Is there an fstype to mount the disk?  Or even a way to see the
> > partition table?

Nope. FreeBSD does not support the SUN filesystem. SUN does not use a PC type 
partition table (called slices in FreeBSD terminology) on Sparc systems 
(which the Ultra 10 is). And, as Lowell mentioned, there is the endian issue.

> > All the ones I tried wouldn't work.  FreeBSD does recognize there is a
> > disk there.

Good the disk works.

> > Of course, I can't be sure it's Solaris---previous owner might have
> > been into Linux/BSD/whatever.

If you want to learn a lot about filesystems, you could spend the next year 
writing a  program to access the raw disk device and start  picking apart the 
contents of the disk one block/byte at a time.

> To start with, there's probably a problem with endianness (on the
> metadata structures).  Even if the Sun ran FreeBSD, that would still
> apply.  I'd estimate that this is about the level of a semester
> project for an undergraduate programmer...

-- 
Ean Kingston

E-Mail: ean AT hedron DOT org
URL: http://www.hedron.org/
I am currently looking for work. If you need competent system/network 
administration please feel free to contact me directly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make buildworld fails

2005-06-22 Thread Valerio Daelli


Yes.  You're using unsupported optimizations.

Please read very carefully the comments above CFLAGS in

/usr/share/examples/etc/make.conf

- Giorgos



Thanks a lot! I'll use a safer optimization.


Valeiro


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


Re: make buildworld fails

2005-06-22 Thread Giorgos Keramidas
On 2005-06-22 14:38, Valerio Daelli <[EMAIL PROTECTED]> wrote:
>
> Then I started to make buildworld. But it fails with this error:
> __
>
> cc -O3 -mtune=pentium4 -march=pentium4 -pipe -funroll-loops -ffast-math
> -march=pentium4 -I/usr/src/lib/libc/include
> -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386
> -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6
> -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale
> -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c
> /usr/src/lib/libc/net/res_debug.c
> In file included from /usr/src/lib/libc/net/res_debug.c:786:
> /usr/src/lib/libc/net/res_debug.c: In function `__loc_aton':
> /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of
> `precsize_aton' from incompatible pointer type
> In file included from /usr/src/lib/libc/net/res_debug.c:797:
> /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of
> `precsize_aton' from incompatible pointer type
> In file included from /usr/src/lib/libc/net/res_debug.c:808:
> /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of
> `precsize_aton' from incompatible pointer type
>
> __
>
> Any idea what's happened?

Yes.  You're using unsupported optimizations.

Please read very carefully the comments above CFLAGS in

/usr/share/examples/etc/make.conf

- Giorgos

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


Re: cloning with nfs?

2005-06-22 Thread Ean Kingston
On June 22, 2005 02:40 am, Dick Hoogendijk wrote:
> Yesterday I ruined my partition table on one of my machines.
> Luckely this machine was almost an exact copy of another that still is
> running fine.
>
> So, I can follow the procedure of copying one disk to another (following
> the handbook). But this requires a fysical removal / action on the
> machines and harddisks witch I don't want to do if not needed.
>
> I did a minimal install on the crashed machine (#B)
> If disk'cloning' can be done through NFS that'll be the way to go for
> me.
> Will it be enough to export /var /usr /tmp and / (#B) to mountpoints on
> machine #A and then follow the 'normal' dump/restore procedure mentioned
> in the handbook?
> Or are there side_effects and will fysical placement of the 'new' drive
> in machine #A be the right way to do it?

I don't think restore works reliably  on NFS mounted disks but I have copied 
disks using dump/restore through ssh.

I would not do a blind dump/restore of / or /var. Those filesystems can 
contain some installation specific information. I think the only thing out 
of / that you need to copy would be /etc and possibly /boot if you have a 
custom kernel. Just remember that  a kernel install is not as simple as 
copying files.

You don't need to copy /tmp since it should not contain any information that 
is needed to survive a reboot. Just reboot after you restore.

As for /usr you should be able to dump/restore that one. If you have 
additional  packages installed, you will also want to copy /var/db/pkg and 
possibly /var/db/ports.

Likewise, if the system  is a mail server, you will want to copy over the 
appropriate directory structure (typically /var/spool) but you need to make 
sure you don't copy over any of the spool files or your users are going to 
get 2 copies of the same message delivered.

> Thanks for any advice.

-- 
Ean Kingston

E-Mail: ean AT hedron DOT org
URL: http://www.hedron.org/
I am currently looking for work. If you need competent system/network 
administration please feel free to contact me directly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CVSup -install

2005-06-22 Thread Dmitry Mityugov
On 6/22/05, Jean-Paul Natola <[EMAIL PROTECTED]> wrote:
> Is this not the proper release
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.4/

Yes, it seems it is. Is this what you tried to install already?

-- 
Dmitry

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: CVSup -install

2005-06-22 Thread Jean-Paul Natola
Is this not the proper release
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.4/



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of RW
Sent: Wednesday, June 22, 2005 9:23 AM
To: freebsd-questions@freebsd.org
Subject: Re: CVSup -install

On Tuesday 21 June 2005 22:19, Jean-Paul Natola wrote:
> Hi everyone,
>
> I first tried to install from disc and was receiving
>
> Error code - 1
>
> So I decided to do it from the internet and this is where I'm getting stuck
>
>
> This is the error I get
>
> ┌ User Confirmation Requested ┐
> │ Warning:  Can't find the `5.4-RC4' distribution on this │

It looks like your using a pre-release version of 5.4. If I were you I'd 
upgrade to a proper 5.4 release.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make buildworld fails

2005-06-22 Thread Valerio Daelli

Hi all
I just did a cvsup with this supfile:

__

*default host=cvsup.fi.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5
*default delete use-rel-suffix
*default compress
src-all
__

Then I started to make buildworld. But it fails with this error:
__

cc -O3 -mtune=pentium4 -march=pentium4 -pipe -funroll-loops -ffast-math 
-march=pentium4 -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
-I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale 
-DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c 
/usr/src/lib/libc/net/res_debug.c

In file included from /usr/src/lib/libc/net/res_debug.c:786:
/usr/src/lib/libc/net/res_debug.c: In function `__loc_aton':
/usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of 
`precsize_aton' from incompatible pointer type

In file included from /usr/src/lib/libc/net/res_debug.c:797:
/usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of 
`precsize_aton' from incompatible pointer type

In file included from /usr/src/lib/libc/net/res_debug.c:808:
/usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of 
`precsize_aton' from incompatible pointer type


__

Any idea what's happened?
Thanks a lot.

Valerio Daelli


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


Re: ipf not working correctly???

2005-06-22 Thread Lowell Gilbert
Don't top-post, please.

RYAN vAN GINNEKEN <[EMAIL PROTECTED]> writes:

> Thanks but do you have any advice for me rather than fbsd_user

Not much; your message was hard to follow, and the configuration
didn't seem to match the behavior you observed (e.g., ipfilter wasn't
even in the kernel configuration, but seemed to be stopping packets).

Unless you have a specific reason otherwise, follow the other poster's
advice and stick to one firewall configuration.

When you are looking for DNS problems, check from the machine running
the NAT, so that you can separate problems with NAT from problems with
packet filtering.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CVSup -install

2005-06-22 Thread Dmitry Mityugov
On 6/22/05, Jean-Paul Natola <[EMAIL PROTECTED]> wrote:
> Can I upgrade from within, or do I need to  download  , create the disc ,then
> reinstall?
> 
> I'm VERY new to this, so I'm sorry if my questions are lame

Jean-Paul,

I am also relatively new to this so please accept my advice with a
grain of salt, but I'd download the ISO images for FreeBSD 5.4,
verified that they are intact with md5 program, created the disk(s)
and tried to install it again.

-- 
Dmitry

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using FreeBSD to examine/work on a Solaris disk

2005-06-22 Thread Lowell Gilbert
"Wesley Groleau" <[EMAIL PROTECTED]> writes:

> I have an i386 FreeBSD 5.4  I've stuck a disk from a Sun Ultra 10 on the
> ATA0 slave.
> 
> If possible, I'd like to mount it to see what's what.
> 
> (and tweak some /etc files so I can get into the Sun).
> 
> Is there an fstype to mount the disk?  Or even a way to see the
> partition table?
> 
> All the ones I tried wouldn't work.  FreeBSD does recognize there is a
> disk there.
> 
> Of course, I can't be sure it's Solaris---previous owner might have
> been into Linux/BSD/whatever.

To start with, there's probably a problem with endianness (on the
metadata structures).  Even if the Sun ran FreeBSD, that would still
apply.  I'd estimate that this is about the level of a semester
project for an undergraduate programmer...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xorg installation fails

2005-06-22 Thread Ean Kingston
On June 21, 2005 08:46 pm, Simon Ulfsbecker wrote:
> Hi readers,
>
> I would greatly appreciate any suggestions as to why my Xorg installation
> fails.
> Xorg.0.log file can be fetched at:
>
> http://hem.bredband.net/simulf/Xorg.0.log

No promises I have a clue here. I am by no means an X setup expert. My 
technique is to choose hardware that is explicitly listed as compatible in 
the documentation (and early on in the probe list)  but I did notice a few 
things:

First, your output indicates that you don't yet have an xorg.conf setup. Try 
running xorgconfig from the command line and answering the questions very 
carefully. Go through the video card database and find your exact video card 
if you can when selecting the video card.

Secondly, I noticed that xorg probed your video card as a radeon but it chose 
to use the generic ati driver. I think there is now an included radeon 
specific driver.

Third, I believe that xorg defaults to a ps2 mouse/keyboard if your hardware 
has ps2 ports without even looking elsewhere. I used to have an old serial 
mouse and XFree86 failed to find it on hardware with ps2 ports. If I 
explicitly configured xorg to use the serial mouse there was no problems.

On the mouse topic, I have since switched to using the FreeBSD moused console 
mouse utility and configuring xorg to use the sysmouse device instead. You 
have to configure this manually to get xorg to use the sysmouse properly.

As for your logitech mouse, I've used those (serial, ps2, and usb) on various 
systems without a problem using moused so unless you are having hardware 
problems it should work fine.

> During standard installation of freeBSD 5.4 my logitech USB 3 button mouse
> fails to be detected, but when doing a post install mouse configuration the
> pointer shows up and can be moved around when testing the mouse deamon.
> Still, my mouse pointer is reported as missing when running Xorg -config
> xorg.conf.new after that.
> Using a USB to PS/2-adapter might do the trick, but adhering to moore's
> law, my motherboard (Asus p4p800 deluxe) can't handle a PS/2 mouse for some
> odd reason. My box won't boot and the monitor wont power on having anything
> plugged into the PS/2 port (!).
>
> Some errors are also reported for my ATI Radeon 9800 pro GFX adapter, but I
> think it's the non present pointer device that is hindering me from doing
> an Xorg -config.
>
> I'm out of clues...
>
> Best regards,
>
> Simon
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Ean Kingston

E-Mail: ean AT hedron DOT org
URL: http://www.hedron.org/
I am currently looking for work. If you need competent system/network 
administration please feel free to contact me directly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firewall with USB

2005-06-22 Thread Lowell Gilbert
"John Anderson" <[EMAIL PROTECTED]> writes:

> Hi there folks,
> 
> Having just moved into the country I am forced to use satellite for a 
> broadband connection. Due to telsra having a monopoly on this, I need to have 
> 2 USB connections, one for satellite download, one for ISDN upload. So my 
> router doesn't fit.
> 
> Does anyone know if the freebsd firewall will support two USB WAN connections 
> to a normal LAN internal network?

USB is irrelevant; you need to consider what kind of USB devices you
using to connect.  Having more than one external interface is not by
itself a problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD L2TP client

2005-06-22 Thread Ean Kingston
On June 21, 2005 08:24 pm, Mike Tancsa wrote:
> On Tue, 21 Jun 2005 00:42:52 +, in sentex.lists.freebsd.questions
>
> you wrote:
> >On Mon, Jun 20, 2005 at 08:31:51PM -0400, Mike Tancsa wrote:
> >> On Mon, 20 Jun 2005 19:05:28 +, in sentex.lists.freebsd.questions
> >>
> >> you wrote:
> >> >I am looking for a way to use FreeBSD as a L2TP VPN client.  Does
> >> > anyone know of a way to do this.  I found ng_l2tp, but I'm not quite
> >> > sure how to use it.  If anyone has a good how-to, or can give me some
> >> > direction, I'd appreciate it.  Thank you.

I used to use pptpclient (from the ports) but I think the vpn server supported 
pptp as well as l2tp. At least it was easy to set up so may be worth a try.

> >>
> >> See
> >> /usr/ports/net/sl2tps
> >>
> >>---Mike
> >
> >What I really need is a VPN client.  I already have a server.  I need a
> > way to connect from various locations with my laptop.
>
> I havent used it, but
> http://www.like.e-technik.uni-erlangen.de/propro/freebsd/
> with mpd might work.  I dont think any of these implementations have
> any encryption however.
>
>   ---Mike
>
> 
> Mike Tancsa, Sentex communications http://www.sentex.net
> Providing Internet Access since 1994
> [EMAIL PROTECTED], (http://www.tancsa.com)
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Ean Kingston

E-Mail: ean AT hedron DOT org
URL: http://www.hedron.org/
I am currently looking for work. If you need competent system/network 
administration please feel free to contact me directly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wacom tablet and 5.4-STABLE

2005-06-22 Thread Doug Poland
On Tue, Jun 21, 2005 at 06:26:52PM -0500, Reuben Popp wrote:
> 
> I was just given a Wacom Intuos tablet (I'm not sure which exact model
> it is, it's a 12x12), and I was wondering if anyone has any experience
> with making these work under bsd, preferrably with gimp.  
> 
I had a 4x4 mostly working on 5.3

> The connector for the tablet itself is serial, and I have been plugging
> it in via my laptop's 25 pin serial connector ;).  I am running
> FreeBSD 5.4-STABLE, with most everything installed.  If needed, I can
> post output from dmesg as well.  
> 
> Thus far I have googled quite a bit, and tried the instructions from the
> Wacom Linux page (http://linuxwacom.sourceforge.net/index.php/main),
> with no luck so far.
> 
> It would be great if I could get this device to work under bsd.  Any
> ideas?
> 
Once you have the serial communications working, everything else is
based on xorg.conf and gimp.  I'll see if I can dig up the xorg.conf I
used on that system.

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


RE: CVSup -install

2005-06-22 Thread Jean-Paul Natola
Can I upgrade from within, or do I need to  download  , create the disc ,then
reinstall?

I'm VERY new to this, so I'm sorry if my questions are lame



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of RW
Sent: Wednesday, June 22, 2005 9:23 AM
To: freebsd-questions@freebsd.org
Subject: Re: CVSup -install

On Tuesday 21 June 2005 22:19, Jean-Paul Natola wrote:
> Hi everyone,
>
> I first tried to install from disc and was receiving
>
> Error code - 1
>
> So I decided to do it from the internet and this is where I'm getting stuck
>
>
> This is the error I get
>
> ┌ User Confirmation Requested ┐
> │ Warning:  Can't find the `5.4-RC4' distribution on this │

It looks like your using a pre-release version of 5.4. If I were you I'd 
upgrade to a proper 5.4 release.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CVSup -install

2005-06-22 Thread RW
On Tuesday 21 June 2005 22:19, Jean-Paul Natola wrote:
> Hi everyone,
>
> I first tried to install from disc and was receiving
>
> Error code - 1
>
> So I decided to do it from the internet and this is where I'm getting stuck
>
>
> This is the error I get
>
> ┌ User Confirmation Requested ┐
> │ Warning:  Can't find the `5.4-RC4' distribution on this │

It looks like your using a pre-release version of 5.4. If I were you I'd 
upgrade to a proper 5.4 release.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


support for ICH6R controller and Broadcom ethernet

2005-06-22 Thread Jim Mozley

I have asked this on freebsd-hardware but didn't hear anything so I
hoped someone here could help...

I am potentially buying a server with a Tyan Tomcat i7221 motherboard. I
am unsure of the support in FreeBSD for the following:

- ICH6R disk controller

- Broadcom BCM5721 ethernet

Ideally I would put FreeBSD 4.10 on the systems as we are already using
this on several systems (these new servers unfortunately have to be
different to the previous ones).

FreeBSD 4.11 hardware compatibility says there is support for intel ICH5
as does the ata man page for FreeBSD 4.10. I've also checked the man
page for ata on FreeBSD 5.4 and it says up to ICH5.

I am aware that there is Broadcom support via the bge driver, the man
page says "provides support for various NICs based on the Broadcom
BCM570x". Haven't found any mention of what I assume is the later
controller and the broadcom website doesn't have any mention of a
Freebsd driver.

Can anyone advise on support for these in version 4.10, if I need 5.4 or
whether they will work at all?

Thanks,

Jim

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


support for ICH6R controller and Broadcom ethernet

2005-06-22 Thread Jim Mozley
I have asked this on freebsd-hardware but didn't hear anything so I 
hoped someone here could help...


I am potentially buying a server with a Tyan Tomcat i7221 motherboard. I 
am unsure of the support in FreeBSD for the following:


- ICH6R disk controller

- Broadcom BCM5721 ethernet

Ideally I would put FreeBSD 4.10 on the systems as we are already using 
this on several systems (these new servers unfortunately have to be 
different to the previous ones).


FreeBSD 4.11 hardware compatibility says there is support for intel ICH5 
as does the ata man page for FreeBSD 4.10. I've also checked the man 
page for ata on FreeBSD 5.4 and it says up to ICH5.


I am aware that there is Broadcom support via the bge driver, the man 
page says "provides support for various NICs based on the Broadcom 
BCM570x". Haven't found any mention of what I assume is the later 
controller and the broadcom website doesn't have any mention of a 
Freebsd driver.


Can anyone advise on support for these in version 4.10, if I need 5.4 or 
whether they will work at all?


Thanks,

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


  1   2   >