Re: PAWS security vulnerability

2005-05-19 Thread Tim Traver
Ted,
I don't know your experience lately with people on this or any other 
list, but that last personal attack was WAY out of line. I am not a 
Troll, nor have I ever been one. I use freeBSD extensively on hundreds 
of servers, but I am not a FreeBSD source contributor.

Yes, I was shown this "vulnerability" by our network security person, 
read it over, and thought that it might be a legitimate exploit. I even 
picked up on the fact that Microsoft had already patched it in the 
service pack 2, which may mean that it was under wraps for a while, and 
was suspicious. So, after doing a little research on the net myself and 
not finding much, I decided to post something to the list to see if 
anyone had heard anything about it, and if the FreeBSD commiters were 
working on a possible patch.

Maybe I wrote my post wrong, but it didn't deserve you biting my fucking 
head off.

Now, you'll probably start in on "well, if you run that many servers, 
then why don't you know what you're doing?". I do know what I'm doing. I 
would very well be able to apply your patch,and compile a new system. 
Problem is, I'm afraid I don't quite understand the vulnerability enough 
to properly test what it is supposed to fix...

I would first need a way to break it, and then after applying your 
patch, verify that I couldn't break it any longer. If I knew how to 
break it, then I would be a better programmer than you, which I am not, 
and have never claimed to be. From the description of the issue, it 
sounds like a single cleverly made TCP packet with a bogus timestamp on 
it could take down ALL of the TCP commections to that machine.

To quote the article :
"A large value is set by the attacker as the packet timestamp. When the 
target computer processes this packet, the internal timer is updated to 
the large attacker supplied value. This causes all other valid packets 
that are received subsequent to an attack to be dropped as they are 
deemed to be too old, or invalid."

That sounds like it is pretty serious to me. One packet takes down ALL 
TCP services to the machine. You make it sound like its no big deal...Is 
it valid ? I don't know. I never claimed to know. I wasn't crying wolf 
here, just asking...

So, my statement of  "I'm not sure I have the ability to test out your 
patch." should really have been, "I don't have the knowledge enough of 
the vulnerability to test whether or not your patch works."

And I would hardly consider "If it works, I would submit it to the 
security list" as some sort of command that I was supposed to follow. 
After reading that email, I thought that you were going to submit it to 
the security list. After all, its your fucking patch.

I am slowly working my way into the community, and would love to help 
with these kind of things. But, like many other busy sys admins, I don't 
have a whole lot of spare time to work on things like this. Yes, if it 
was a serious problem enough to where I had to have a patch right away, 
I might have to devote some work time and give it a try for the team. 
I'm not sure that I know how serious it is, as I've already stated that 
I don't fully understand the supposed "vulnerability".

I hardly made any kind of desparate demands for someone to quickly make 
me a patch. You might want to go re-read those posts...

I can understand why you may have suspected troll because of the vague 
questions, but man, you flew off the handle awefully quick. Maybe you 
just need a vacation.

You bashed OpenBSD for their knee jerk reactions, and I think you just 
made a big one...

Tim.

Ted Mittelstaedt wrote:
Hi Tim,
 If you don't have the ability to test out the patch then LEARN!
 As the advisory said "no known exploits have been released"  I also
noticed that the only 2 vendors listed as implementing a fix were
Cisco and Microsoft. And Microsoft was NOT on the problem list for
ANY of their patched OSs.  I would therefore assume that the release
of this so-called vulnerability was carefully timed to take place
AFTER Microsoft had got it's ass covered, to make them look good,
and everyone else look bad.  I continue therefore to assume that this
is a political security hole, not an actual security hole.
 OpenBSD is well known for knee-jerk reactions to real and supposed
security holes, so it's not surprising they released a patch right away
- of course, little good that did them since this advisory trashed them
anyway.  But knee jerk reactions don't always take all variables into
account.
 I rewrite their patch because it was simple and easy to apply to the
FreeBSD source - but I did not write the networking code in FreeBSD and
have no idea if it is correct, or if OpenBSD even wrote the fix properly,
or if in fact this is a real vulnerability that anyone needs to be
concerned about.  In theory, any flat-key lock can be picked in less
than a minute (I've seen it done that fast, and done it myself somewhat
more slowly) but that does not stop millions of them from being sold
at Hom

Radeon+nForce4 NIC for AMD64

2005-05-19 Thread Emelianov
Dear friends!

Please help me with my new equipment:

FreeBSD-5.4-RELEASE/AMD64
mobo   Foxconn NF4UK8AA-8EKRS Socket-939 nForce4 U
RAM2x512Mb PC3200 (Dual Channel)
VGAPCI-Express 128Mb PowerColor R41A-PC3 (ATI Radeon X700 Pro,TV-Out,DVI)
NICInternal 1Gbps (nForce4)

Look the <#dmesg | grep pci> command:
8<---
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.0 (no driver attached)
isab0:  at device 1.0 on pci0
pci0:  at device 1.1 (no driver attached)
ohci0:  mem 0xfebff000-0xfebf irq 22 at 
device 2.0 on pci0
pci0:  at device 2.1 (no driver attached)
pcm0:  port 0xec00-0xecff,0xf000-0xf0ff mem 
0xfebfd000-0xfebfdfff irq 20 at device 4.0 on pci0
atapci0:  port 
0xe800-0xe80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 6.0 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atapci1:  port 
0xd400-0xd40f,0xb70-0xb73,0x970-0x977,0xbf0-0xbf3,0x9f0-0x9f7 irq 22 at device 
7.0 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
atapci2:  port 
0xc000-0xc00f,0xb60-0xb63,0x960-0x967,0xbe0-0xbe3,0x9e0-0x9e7 irq 21 at device 
8.0 on pci0
ata4: channel #0 on atapci2
ata5: channel #1 on atapci2
pcib1:  at device 9.0 on pci0
pci1:  on pcib1
pci1:  at device 8.0 (no driver attached)
pci1:  at device 8.1 (no driver attached)
fwohci0:  mem 0xfe9ff000-0xfe9f irq 19 at device 11.0 on 
pci1
pci0:  at device 10.0 (no driver attached)
pcib2:  at device 11.0 on pci0
pci2:  on pcib2
pcib3:  at device 12.0 on pci0
pci3:  on pcib3
pcib4:  at device 13.0 on pci0
pci4:  on pcib4
pcib5:  at device 14.0 on pci0
pci5:  on pcib5
pci5:  at device 0.0 (no driver attached)
pci5:  at device 0.1 (no driver attached)
8<---

Wich kind of kernel options I need include to my config?
Or may be some modules need to load at boot time?

I'm already try to load the "radeon.ko" but also can't see any
positive result. (See the 'pci5' lines)

And more... What do you think about NIC on this m/board?
Wich options/modules/third party programms?

And the <#kldstat> command output for your attention:

8<---
Id Refs AddressSize Name
 1   11 0x8010 7cf120   kernel
 21 0x808d 5ef0 snd_ich.ko
 32 0x808d6000 2cb00sound.ko
 41 0x80903000 28218radeon.ko
 54 0x8092c000 8970 agp.ko
 61 0xa794d000 4add tdfx.ko
 71 0xa7952000 1090cr128.ko
8<---

Kernel is GENERIC now.

Thanks in advance.

-- 
Best Regards,
Andrei | 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]"


FreeBSD 5.4 RAID problems on Fujitsu RX300 hardware

2005-05-19 Thread Nathan Butcher
I'm having difficulties installing the recently released FreeBSD 5.4
(Bonto a particular Fujitsu RX300 server. According to the start up
(Bmessage, these machines use an Adaptec I2O Raid Controller.
(B
(BAs the kernel loads up from the CD before the installation screens, the
(Bkernel produces a Hard Disk related error a few times:-
(B
(Bata1-master : FAILURE ATAPI_IDENTIFY timed out
(B
(BThis is a special case as I have had no problems booting up FreeBSD 5.4
(Bon similar hardware with identical RAID and BIOS settings. The only
(Bthing different between the working and non-working servers appears to
(Bbe the hard drives. Both machines have 3 hard drives, and RAID-1 has
(Bbeen set up to use two of those drives (the third drive is a spare). The
(BRAID BIOS settings are identical on both machines with the exception
(Bbeing the size of the hard drives between them.
(B
(BNon working server:-
(BFUJITSU MAP3147NC
(BCapacity 137GB
(B
(BWorking server:-
(BFUJITSU MAP3735NC
(BCapacity 68GB
(B
(BAlso something interesting was noticed in the kernel messages (sorry, no
(Bway to get an actual logfile of this) :-
(B
(BNon working server:-
(Bmd0: Preloaded Image  4423680bytes at 0xc09dde24
(Bata1-master : FAILURE ATAPI_IDENTIFY timed out
(B
(BWorking server:-
(Bmd0: Preloaded Image  4423680bytes at 0xc09dde24
(Bacd0: CDROM  at ata1-master PIO 4
(B
(BSo what's really going on? Is the CD-ROM drive on the non-working server
(Bhooked up the wrong way, or can't the RAID driver handle disk sizes that
(Bare too big (bigger than 120GB maybe)?
(B
(BComments? Help?
(B
(BNathan
(B
(B___
(Bfreebsd-questions@freebsd.org mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

RE: PAWS security vulnerability

2005-05-19 Thread Ted Mittelstaedt
Hi Tim,

  If you don't have the ability to test out the patch then LEARN!

  As the advisory said "no known exploits have been released"  I also
noticed that the only 2 vendors listed as implementing a fix were
Cisco and Microsoft. And Microsoft was NOT on the problem list for
ANY of their patched OSs.  I would therefore assume that the release
of this so-called vulnerability was carefully timed to take place
AFTER Microsoft had got it's ass covered, to make them look good,
and everyone else look bad.  I continue therefore to assume that this
is a political security hole, not an actual security hole.

  OpenBSD is well known for knee-jerk reactions to real and supposed
security holes, so it's not surprising they released a patch right away
- of course, little good that did them since this advisory trashed them
anyway.  But knee jerk reactions don't always take all variables into
account.

  I rewrite their patch because it was simple and easy to apply to the
FreeBSD source - but I did not write the networking code in FreeBSD and
have no idea if it is correct, or if OpenBSD even wrote the fix properly,
or if in fact this is a real vulnerability that anyone needs to be
concerned about.  In theory, any flat-key lock can be picked in less
than a minute (I've seen it done that fast, and done it myself somewhat
more slowly) but that does not stop millions of them from being sold
at Home Depot every year.  If people went to a different type of lock
that was much harder to pick then the burglar might not break in
by picking the lock - but instead by kicking in the door which has
the side effect of destroying the door and frame, and there's a couple
thousand bucks lost right there fixing that - and if all the burgler
does is steal a $200 TV set, then your better off with the pickable lock.
The point is that any change in the networking code
may have side effects that are worse than the problem.

  I posted the patch in order to head off a big long dumbass trashing
discussion, because I suspected you were trolling - but I was willing
to give you the benefit of the doubt.  If you were really
concerned - such as if you worked for some company that had some
stick-up-their-ass security officer that was bigger than his britches,
and you had to have a fix RIGHT NOW - then this would have allowed you
to apply the patch to shut up the bigger-than-britches security officer
so you could continue about your business.  In the meantime then the
networking and security group could have had discussion about the
PROPER way to handle this.  Probably that's this patch, but maybe not.

  Now I find what?  Well, it surely looks to me like I just spoiled
your troll, so your going to pretend it was no big deal, make a lame-ass
excuse about how you really didn't need the patch anyway and can't
apply it because your incompetent, and fade into the woodwork.  I told
you to post the patch and info to the appropriate FreeBSD security lists,
and you aren't the least bit interested in doing what I told you.  Why -
because you were only interested in this silly hypothetical PAWS exploit
as long as nobody could say "FreeBSD has a fix, shut up and apply it",
so you can go urinate on the parade here.  Now I just handed you a
urinal, and your going to run away and pee on someone else.

  I don't want to see a fucking thing more from you unless it's:

"Guys, I DID WHAT I WAS TOLD TO DO and went to the FreeBSD security and
networking
mailing lists and posted what I was given and this is what they said"

  If you aren't willing to lift a finger to do that, your a fucking
troll.  Don't waste anyone else's time here.  Next time you ask for code,
you better check out the going hourly rate for custom programming.

Ted

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Tim Traver
> Sent: Thursday, May 19, 2005 1:27 PM
> To: Ted Mittelstaedt
> Cc: bsd
> Subject: Re: PAWS security vulnerability
> Importance: Low
>
>
> Ted,
>
> thanks for taking a look at this. I'm not sure I have the ability to
> test out your patch. Maybe someone else on this fine list can ?
>
> But this sounds like a pretty severe DOS issue that seems to be
> relatively simple to implement.
>
> Do you know if the 5.x branch is affected by this as well ?
>
> Tim.
>
>
> Ted Mittelstaedt wrote:
>
> >Hi Tim,
> >
> >  Here is a slight mod of the OpenBSD patch for OpenBSD 3.6
> that has been
> >rewritten for FreeBSD 4.11.  YMMV  If it works I would submit
> it to the
> >FreeBSD
> >security list.  The only change I made is OpenBSD defines "tiflags"
> >FreeBSD defines
> >"thflags" I assume they are the same thing.  The file is in
> >/usr/src/sys/netinet
> >
> >Turning off the timestamps would be a good way to make your network go
> >slow.
> >
> >*** tcp_input.c.originalThu May 19 11:52:30 2005
> >--- tcp_input.c Thu May 19 12:00:14 2005
> >***
> >*** 976,984 
> >--- 976,992 
> > * record the timestamp.
> >   

Re: buffer cache size

2005-05-19 Thread Thomas Hurst
* michael luch ([EMAIL PROTECTED]) wrote:

> I think that the buffer cache on my system is not growing sufficiently
> and wonder if I can I tune it.
>
> Here's a snippet from the output of top on my system:
>
> Mem: 646M Active, 2905M Inact, 174M Wired, 121M Cache, 112M Buf, 5460K Free
> Swap: 512M Total, 192K Used, 512M Free

Looks fine to me -- Buf and Cache aren't supposed to use all available
free memory, since the majority of disk cache lives in active and
inactive pages along with everything else, ala:

Mem: 2333M Active, 1152M Inact, 177M Wired, 163M Cache, 112M Buf, 5432K Free

This system's doing >300 queries/second on a pretty sizable database,
with MySQL using around 450MB; FreeBSD's happily using the rest to
cache indexes and data.  "Cache" and "Buf" are different beasts for
things like filesystem metadata, VM magic, etc. You can tweak them with
sysctl's under the vfs and vm trees, but I wouldn't recommend it without
knowing what you're doing (which appears to involve reading a lot of
kernel source code).

Don't forget to come back and teach the rest of us when you do ;)

> and expected to see subsequent SELECTs cause mysqld become CPU bound,
> as data from the database should now be in the buffer cache. However,
> this is not the case. I have 2GB of inactive memory, but a small
> buffer cache and a disk bound mysqld :(

Are you sure it's disk bound and not just slow?  Are you using InnoDB
and O_DIRECT (which supposedly bypasses most disk caching)?  Have you
tried an EXPLAIN on your select to see if it's effecient?  MySQL will
write temp tables out to disk to do things like filesorts if your result
sets get very large, and would seem the most likely problem if you're
still disk bound on reads with that much memory.

> Are there some tunables I should look at to allow the buffer cache to
> grow?  All the searches I did suggested that the vm system should look
> after this itself.

Yup; I'd focus your tuning efforts on making sure you have the right
indexes set up, and that they're being used as you expect, as well as
looking at what memory MySQL itself is using for sorts, temp tables,
etc.

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


Re: Can't run natd after upgrade to 5.4

2005-05-19 Thread Francisco Reyes
On Fri, 20 May 2005, Wisut Ponpattana wrote:
Look back at my configuration file. Sure enough, at the bottom are
options IPFIREWALL
options IPDIVERT
How about /etc/rc.conf?
firewall_enable="YES"
firewall_logging="YES"   # Set to YES to enable events logging
firewall_quiet="NO"
firewall_type="simple"   #Whatever type you have been using..
gateway_enable="YES" # IF this machine will be a gateway
natd_enable="YES"   # Enable natd (if firewall_enable == YES).
natd_flags="-f /etc/natd.conf"  # Set rules file for the NAT daemon
natd_interface="ed0"# Public/external interface or IPaddress 
to use.
network_interfaces="fxp0 ed0 lo0"

replace natd_interface with whatever your public interface is..
Also I spent nearly 2 days tracking down some problems.. and they got 
fixed after adding the network_interfaces... It seems the code to 
automatically detect the cards doesn/wasn't working..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't run natd after upgrade to 5.4

2005-05-19 Thread Wisut Ponpattana
After keeping an eye on the stable- list for a couple of weeks, I hadn't 
seen any threads that were obviously general problems, so I cvsupped again 
yesterday. Did a regular build world: "make buildworld" "make buildkernel 
KERNCONFIG=KEPLER" "make installkernel KERNCONFIG=KEPLER" "make 
installworld" "mergemaster" "reboot".

OK, the machine is running, uname -a returns FreeBSD 5.4 STABLE #2. ??? 
That's funny, this is the first time I've compiled this kernel, shouldn't 
that be #0? Oh well, everything seems all right, until I go to one of the 
client machines and try to get on the World Wide Web. "Trying to resolve..." 
Hit the STOP button.

To cut it short, I discoverthat natd is not running. In the boot-up messages 
I see "ipfw ... divert disabled..." My rule "100 divert natd all from any to 
any via ed0" isn't being added. natd won't run.

Try entering "ipfw add 50 divert natd all from any to any via ed0", I get 
the message:
ipfw: getsockopt(IP_FW_ADD): Invalid argument".

Look back at my configuration file. Sure enough, at the bottom are
options IPFIREWALL
options IPDIVERT
just like it says in the natd man page, just like they've been for years.
Spend a couple of hours searching google. I find a couple of similar 
problems, but nobody describes the solution. So I cvsup back to 5.3 and 
rebuild everything. No effect. natd won't run, same error message when I try 
to add the divert rule. So at this point I nuke the contents of /usr/src and 
start cvsup again (well, I did save my configuration file). Now I'm starting 
to buildworld again.

Can anybody tell me how to fix this? I'd kind of like to know what went 
wrong, too, but that's less important to me.

By the way, because of this I can't access my regular e-mail account, so 
please either reply or cc me at this hotmail account, as well as replying to 
the list.

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


Non-identical CPUs in dual-processor system

2005-05-19 Thread Brian O'Shea
Hello all,

I have a dual-processor system that I have been using with only a
single CPU for some time.  Recently I got ahold of another CPU from
an old retired system.  I thought that both processors were identical
(they came from what appears to be the same model PC, an HP Kayak XU).
However, after booting the system I see that the processors are not
the same:

CPU information in mptable output:

Processors: APIC ID Version State   Family  Model   StepFlags
 0   0x11BSP, usable 6   3   3  
0x80fbff
 1   0x11AP, usable  6   5   2  
0x183fbff

(sorry for the long lines)

In this output you can see that the model for CPU0 is 3, but for
CPU 1 it is 5.  Also, the flags are different.  Are there likely to
be any adverse effects from using this combination of processors?
There are no errors in dmesg, and the system appears to be using
both processors:

...
CPU: Pentium II/Pentium II Xeon/Celeron (266.08-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x633  Stepping = 3
 
Features=0x80fbff

...
MPTable: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

...
cpu0 on motherboard
cpu1 on motherboard

...
SMP: AP CPU #1 Launched!

Thanks,
-brian




Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html

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


advice on the Lacie Biggest F800

2005-05-19 Thread Rene C. Mendoza
Hi!
Has anyone had experience with configuring a Lacie Biggest F800 to a 
FreeBSD box?  My company's planning to buy one but before we shell out 
the money, we would like to make sure that FreeBSD supports it. 

Here's a link to the Lacie Biggest F800 review: 
http://reviews-zdnet.com.com/LaCie_Biggest_F800__2TB_/4505-5_16-31316668.html?subj=LaCie+Biggest+F800+(2TB)&part=rss&tag=MR_Search+Results

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


Re: FreeBSD and Exim

2005-05-19 Thread Tim Aslat
On Thu, 19 May 2005 22:03:32 -0400
"Joe Wood" <[EMAIL PROTECTED]> wrote:

> Can someone point me to a good how-to on setting up Exim on FreeBSD
> 5.4? I've looked in a few places but haven't seen anything informative
> yet. 

cd /usr/ports/mail/exim && make install clean

That's the only part that's FreeBSD specific.  Any other Exim tutorials
should be fine from this point on.

Cheers

Tim

-- 
Tim Aslat <[EMAIL PROTECTED]>
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pine

2005-05-19 Thread RW
On Thursday 19 May 2005 18:37, Charles Lamb wrote:
> What is a good alternative to Pine?  It would seem it is nolonger
> available for freebsd?

The pine distfile is generic unix source code, if you can't fetch it, it's 
probably just a temporary server problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD and Exim

2005-05-19 Thread Joe Wood
Can someone point me to a good how-to on setting up Exim on FreeBSD 5.4?
I've looked in a few places but haven't seen anything informative yet. 

 

Thanks in advance.

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


Re: jdk14 not installing

2005-05-19 Thread Warren Block
On Thu, 19 May 2005, E. J. Cerejo wrote:
I'm running FBSD 5.4 when upgrading jdk14 it fails and
I get this:
registervm: error: JavaVM
"/usr/local/jdk1.4.2/bin/java" is already registered
*** Error code 1
Stop in /usr/ports/java/jdk14.
ecerejo# cd /usr/local/jdk1.4.2/bin/java
/usr/local/jdk1.4.2/bin/java: Not a directory.
any ideas?
Run
  # /usr/local/bin/unregistervm /usr/local/jdk1.4.2/bin/java
to unregister the existing (old) java interpreter.  Then try the port 
install again.

-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: How do I run this cron job?

2005-05-19 Thread Warren Block
On Fri, 20 May 2005, Odhiambo Washington wrote:
Perhaps trivial
How do I run a cron job at the end of every month?
Your question is a little unclear.  Do you mean "how do I run a job at 
the end of a month when the months are not the same length so I can't 
use a fixed day-of-the-month value?"

If that's the question, then you might consider running it just after 
midnight on the first of the next month.

-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]"


jdk14 not installing

2005-05-19 Thread E. J. Cerejo
I'm running FBSD 5.4 when upgrading jdk14 it fails and
I get this:

===>   Generating temporary packing list
===>  Checking if java/jdk14 already installed
/bin/mkdir -p /usr/local/jdk1.4.2
cd
/usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image
&& /usr/bin/find .  | /usr/bin/cpio -pdmu -R
root:wheel /usr/local/jdk1.4.2
166962 blocks
/usr/bin/find -s
/usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image
-not -type d |  /usr/bin/sed -ne
's#/usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image#jdk1.4.2#p'
>> /usr/ports/java/jdk14/work/.PLIST.mktmp
install  -o root -g wheel -m 444
/usr/ports/java/jdk14/files/cacerts 
/usr/local/jdk1.4.2/jre/lib/security/cacerts
install  -o root -g wheel -m 444
/usr/ports/java/jdk14/files/cacerts 
/usr/local/jdk1.4.2/jre/javaws/cacerts
/usr/bin/find "/usr/local/jdk1.4.2/jre/plugin" -type d
| /usr/bin/xargs /bin/chmod a+rx
registervm: error: JavaVM
"/usr/local/jdk1.4.2/bin/java" is already registered
*** Error code 1

Stop in /usr/ports/java/jdk14.
ecerejo# cd /usr/local/jdk1.4.2/bin/java
/usr/local/jdk1.4.2/bin/java: Not a directory.

any ideas?





Yahoo! Mail, cada vez 
melhor: agora com 1GB de espaço grátis! http://mail.yahoo.com.br
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cyrus IMAP from Ports in 5.X?

2005-05-19 Thread Francisco Reyes
On Thu, 19 May 2005, [EMAIL PROTECTED] wrote:
I'm not absolutely certain of this but I thought virtual domain support
on cyrus was rough until 2.2x. I've got at least one box that hosts
multiple domains but it's running 2.2x not 2.1x.
I am running 2.2.12
Anyway, it looks like you're trying to use cyradm with a non-admin
account. You must use the __sasl2 account__ that you specify in your
imapd.conf under "admin".
Doing that. As as per your suggestion made a name different from 
cyrus/root.

cyradm -u  localhost
One thing I find strange.. in my setup I have to do
cyradm -u [EMAIL PROTECTED] localhost
For example in imapd put mailadmin as the admin.
Have to use cyradm -u [EMAIL PROTECTED] localhost

If it works correctly you should get a shell prompt with the hostname,
something like this:
localhost.[yourdomain]>
I get just
localhost>
lm does give me a list of users created.
Remember that when you add the accounts to sasl2 via the saslpasswd2
script you have the option of making the account "native" or "vhosted"
simply based on whether you add an "@domain" suffix to the user id when
you create it. Note that I'm referring to sasl2 accounts at this point.
For example,
saslpasswd2 -c userid
If I do that the machine name gets added...
saslapsswd2 -c mailadmin
Created
[EMAIL PROTECTED]
But vhosted users are created thus:
saslpasswd2 -c [EMAIL PROTECTED]
Do I need to create users from cyardm or from saslpasswd2?

http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/
Looking at it...
Also do I need "loginrealms" for using virtdomains?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pine

2005-05-19 Thread Gustavo De Nardin
2005/5/19, Charles Lamb <[EMAIL PROTECTED]>:
> 
> What is a good alternative to Pine?  It would seem it is nolonger
> available for freebsd?

There's Cone (/usr/ports/mail/cone/). I found it similar to Pine. Much
easier to use than Mutt.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't build firefox 1.0.4 on 4.10

2005-05-19 Thread Kris Kennaway
On Fri, May 20, 2005 at 09:17:32AM +1000, Timothy Smith wrote:
> Alex Zbyslaw wrote:
> 
> >Kris Kennaway wrote:
> >
> >>On Fri, May 20, 2005 at 08:36:58AM +1000, Timothy Smith wrote:
> >>
> >> 
> >>
> >>>yes sorry i jumped in without reading the man page for it's useage.
> >>>however some digging and a few other helpful emails and TA DA!!! it 
> >>>works!!!
> >>>i portupgraded freetype2, and then firefox built successfully.
> >>>i was under the impression that portupgrade looked after 
> >>>dependencies like this on it's own however?
> >>>  
> >>
> >>
> >>If you tell it to..again, please see the manpage :)
> >>
> >>Kris
> >> 
> >>
> >Specifically:
> >
> >-R
> >--upward-recursive Act on all those packages required by the 
> >given
> >   packages as well. (When specified with -F, 
> >fetch
> >   recursively, including the brand new, 
> >uninstalled
> >   ports that an upgraded port requires)
> >
> >The man page is your friend.
> >
> >--Alex
> >
> >___
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"[EMAIL PROTECTED]"
> >
> >
> don't i need to be wary of -R ?? wholesale upgrading of library's might 
> break other apps that use them

It's *always* a good idea to update your ports with your brain turned
on :-)

portupgrade -a is often safer, because it won't update a port but
leave other dependencies of that port than the one you specified
untouched.

Kris


pgp5Cdr1lnQZ0.pgp
Description: PGP signature


Re: which raid option in FreeBSD 5.X?

2005-05-19 Thread Danny Howard
On Thu, May 19, 2005 at 04:01:29PM -0700, Jev wrote:
> Danny Howard wrote:

> > You might set up a RAID10, which is a stripe across two mirrors. 
> > Mirrors are the best way to preserve data -- very simple to implement,
> > and if a disk crashes, rebuild is just a matter of copying data from the
> > known good disk.
> 
> Hi danny, thanks for the reply.
> 
> What do you use for RAID0? I'm aware of geom mirror, and raid3 classes...

If you want it done for the boot system, it gets tricky.  I've always
done it with hardware.  If you already have a way to boot, then gvinum,
or some comination of gmirror and gstripe ought to work for you.

-danny

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


Re: can't build firefox 1.0.4 on 4.10

2005-05-19 Thread Timothy Smith
Alex Zbyslaw wrote:
Kris Kennaway wrote:
On Fri, May 20, 2005 at 08:36:58AM +1000, Timothy Smith wrote:
 

yes sorry i jumped in without reading the man page for it's useage.
however some digging and a few other helpful emails and TA DA!!! it 
works!!!
i portupgraded freetype2, and then firefox built successfully.
i was under the impression that portupgrade looked after 
dependencies like this on it's own however?
  

If you tell it to..again, please see the manpage :)
Kris
 

Specifically:
-R
--upward-recursive Act on all those packages required by the 
given
   packages as well. (When specified with -F, 
fetch
   recursively, including the brand new, 
uninstalled
   ports that an upgraded port requires)

The man page is your friend.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


don't i need to be wary of -R ?? wholesale upgrading of library's might 
break other apps that use them
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pine

2005-05-19 Thread Giorgos Keramidas
On 2005-05-19 13:37, Charles Lamb <[EMAIL PROTECTED]> wrote:
> What is a good alternative to Pine?  It would seem it is nolonger
> available for freebsd?

It certainly is available.  Where did you look for it?

gothmog:/root# pkg_info | grep pine
pine-4.62   PINE(tm) -- a Program for Internet News & Email
pine-pgp-filters-1.1 Simple, fast, sh-based filters to integrate Pine with gnupg
gothmog:/root#

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


Re: which raid option in FreeBSD 5.X?

2005-05-19 Thread Jev
Danny Howard wrote:
> Jev wrote:
> 
>> Hi All,
>>
>> We have a new box with 4 200GiG IDE disks, we wish to set it up using
>> software raid, and I'm aware there are many options, from vimum, gvinum,
>> various other geom classes...
>>
>> What is the best option looking to the future, that is usable for now?
>>
>> We are looking for data safety over speed.
>>
> You might set up a RAID10, which is a stripe across two mirrors. 
> Mirrors are the best way to preserve data -- very simple to implement,
> and if a disk crashes, rebuild is just a matter of copying data from the
> known good disk.

Hi danny, thanks for the reply.

What do you use for RAID0? I'm aware of geom mirror, and raid3 classes...


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


Re: NTP issues with 5.4 (SOLVED) (fwd)

2005-05-19 Thread Darrel
I wrote:
Hello,
I run ntpd in daemon mode on several FreeBSD computers and synchronize
with 'ntpd -q' all others.
I've just updated one machine to 5.4 (from 5.3) and noticed the daemon
was unhappy, often logging 'time reset' and resynchronizing with peers.
On other machines I also only recently (after the upgrade to 5.4) see
ntp problems - 'ntpd -q' gets stuck and time goes off. The machines were
all fine before.
I searched the web and archives and found some more people complaining
about similar issues but I haven't found any good answer. At first I
thought it was happening only on SMP computers but it isn't the case.
The machines have all kinds of timecounters - ACPI-fast, ACPI-safe and
i8254.
I'd like to let you all know that I don't think the problem is as
widespread as I originally thought.
After tens of restarts of ntpd processes I've never experienced any
problem synchronizing. No more hung 'ntpd -q' processes either. I
suspect the latter was a consequence of my server having problems
synchronizing.
Michal
-
I installed openntpd considering that it should run with reduced 
privileges.  The Workgroup did not sync up right away and I reinstalled 
NTP4.

Currently, I can sync Window XP and Windows 98.  My /var/log/messages:
May 19 12:25:37 ntpd[379]: kernel time sync enabled 6001
May 19 12:42:40 ntpd[379]: kernel time sync enabled 2001
May 19 14:59:14 ntpd[379]: kernel time sync enabled 6001
May 19 15:16:19 ntpd[379]: kernel time sync enabled 2001
May 19 18:24:09 ntpd[379]: kernel time sync enabled 6001
May 19 18:41:14 ntpd[379]: kernel time sync enabled 2001
I am not sure, but this could be  normal phase-lock-loop of the 
kernel.

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


Re: How do I run this cron job?

2005-05-19 Thread Danny Howard
Odhiambo Washington wrote:
Perhaps trivial
How do I run a cron job at the end of every month?
Type:
man 5 crontab
[...]
# run at 2:15pm on the first of every month -- output mailed to paul
15 14 1 * * $HOME/bin/monthly
[...]
When you are ready to rock, type:
crontab -e
Good Luck.
-danny
--
http://dannyman.toldme.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't build firefox 1.0.4 on 4.10

2005-05-19 Thread Alex Zbyslaw
Kris Kennaway wrote:
On Fri, May 20, 2005 at 08:36:58AM +1000, Timothy Smith wrote:
 

yes sorry i jumped in without reading the man page for it's useage.
however some digging and a few other helpful emails and TA DA!!! it works!!!
i portupgraded freetype2, and then firefox built successfully.
i was under the impression that portupgrade looked after dependencies 
like this on it's own however?
   

If you tell it to..again, please see the manpage :)
Kris
 

Specifically:
-R
--upward-recursive Act on all those packages required by the given
   packages as well. (When specified with -F, fetch
   recursively, including the brand new, 
uninstalled
   ports that an upgraded port requires)

The man page is your friend.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which raid option in FreeBSD 5.X?

2005-05-19 Thread Danny Howard
Jev wrote:
Hi All,
We have a new box with 4 200GiG IDE disks, we wish to set it up using
software raid, and I'm aware there are many options, from vimum, gvinum,
various other geom classes...
What is the best option looking to the future, that is usable for now?
We are looking for data safety over speed.
You might set up a RAID10, which is a stripe across two mirrors.  
Mirrors are the best way to preserve data -- very simple to implement, 
and if a disk crashes, rebuild is just a matter of copying data from the 
known good disk.

If RAID10 is too complicated, I'd say set up a pair of RAID1 volumes via 
gmirror.  That will give you 400G total data.  It is not the best way to 
utilize your capacity, but then, I assume you have 200G drives because 
disk is cheap these days.

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


How do I run this cron job?

2005-05-19 Thread Odhiambo Washington
Perhaps trivial

How do I run a cron job at the end of every month?


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
This novel is not to be tossed lightly aside, but to be hurled with
great force.
-- Dorothy Parker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't build firefox 1.0.4 on 4.10

2005-05-19 Thread Kris Kennaway
On Fri, May 20, 2005 at 08:36:58AM +1000, Timothy Smith wrote:

> yes sorry i jumped in without reading the man page for it's useage.
> however some digging and a few other helpful emails and TA DA!!! it works!!!
> i portupgraded freetype2, and then firefox built successfully.
> i was under the impression that portupgrade looked after dependencies 
> like this on it's own however?

If you tell it to..again, please see the manpage :)

Kris


pgpud59NlVs7E.pgp
Description: PGP signature


nForce 4, SATA Drive only runs at UDMA33?

2005-05-19 Thread alan bryan
Hi,

I've got a new machine and don't think I'm getting all
the speed out of it that I should be.  Any hints/ideas
for what I can do to make the most of my new hardware?

FreeBSD 5.4-Release
Shuttle SN25P
Nvidia NForce 4 with SATA 150
WD Raptor HD

I ran atacontrol and it reports:
# atacontrol list
ATA channel 0:
Master:  ad0  ATA/ATAPI
revision 7
Slave:  acd0  ATA/ATAPI
revision 6
ATA channel 1:
Master:  no device present
Slave:   no device present
ATA channel 2:
Master:  no device present
Slave:   no device present
ATA channel 3:
Master:  ad6  Serial
ATA v1.0
Slave:   no device present
ATA channel 4:
Master:  no device present
Slave:   no device present
ATA channel 5:
Master:  no device present
Slave:   no device present
# atacontrol mode 3
Master = UDMA33
Slave  = BIOSPIO

It looks like the standard IDE port is being detected
as the nForce4 but the 
SATA controllers aren't - they just get labelled
"GENERIC".  Check it out 
below.
A verbose dmesg reports:
atapci0:  port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at
device 6.0 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at
0xf000
ata0: channel #0 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at
0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at
0x3f6
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave:  stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata0: reset tp2 stat0=50 stat1=00
devices=0x9
ata0: [MPSAFE]
ata1: channel #1 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at
0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at
0x376
ata1: reset tp1 mask=00 ostat0=ff ostat1=ff
ata1: [MPSAFE]
atapci1:  port 
0xd800-0xd80f,0xb70-0xb73,0x970-0x977,0xbf0-0xbf3,0x9f0-0x9f7
irq 20 at 
device 7.0 on pci0
atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at
0xd800
atapci1: [MPSAFE]
ata2: channel #0 on atapci1
atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at
0x9f0
atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at
0xbf0
ata2: reset tp1 mask=03 ostat0=7f ostat1=7f
ata2-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata2-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata2-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata2-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata2-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata2-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata2-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata2-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata2-slave:  stat=0x7f err=0xff lsb=0xff msb=0xff
ata2: reset tp2 stat0=ff stat1=ff devices=0x0
ata2: [MPSAFE]
ata3: channel #1 on atapci1
atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at
0x970
atapci1: Reserved 0x4 bytes for rid 0x1c type 4 at
0xb70
ata3: reset tp1 mask=03 ostat0=50 ostat1=00
ata3-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata3-slave:  stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata3: reset tp2 stat0=50 stat1=00
devices=0x1
ata3: [MPSAFE]
atapci2:  port 
0xc400-0xc40f,0xb60-0xb63,0x960-0x967,0xbe0-0xbe3,0x9e0-0x9e7
irq 22 at 
device 8.0 on pci0
atapci2: Reserved 0x10 bytes for rid 0x20 type 4 at
0xc400
atapci2: [MPSAFE]
ata4: channel #0 on atapci2
atapci2: Reserved 0x8 bytes for rid 0x10 type 4 at
0x9e0
atapci2: Reserved 0x4 bytes for rid 0x14 type 4 at
0xbe0
ata4: reset tp1 mask=03 ostat0=7f ostat1=7f
ata4-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata4-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata4-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata4-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata4-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata4-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata4-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata4-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata4-slave:  stat=0x7f err=0xff lsb=0xff msb=0xff
ata4: reset tp2 stat0=ff stat1=ff devices=0x0
ata4: [MPSAFE]
ata5: channel #1 on atapci2
atapci2: Reserved 0x8 bytes for rid 0x18 type 4 at
0x960
atapci2: Reserved 0x4 bytes for rid 0x1c type 4 at
0xb60
ata5: reset tp1 mask=03 ostat0=7f ostat1=7f
ata5-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata5-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata5-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata5-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata5-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata5-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata5-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata5-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata5-slave:  stat=0x7f err=0xff lsb=0xff msb=0xff
ata5: reset tp2 stat0=ff stat1=ff devices=0x0
ata5: [MPSAFE]

Any hints/ideas for what I can do to make the most of
my new hardware?

Thanks,
Alan Bryan

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

Re: can't build firefox 1.0.4 on 4.10

2005-05-19 Thread Timothy Smith
Kris Kennaway wrote:
On Fri, May 20, 2005 at 07:51:48AM +1000, Timothy Smith wrote:
 

nsFontMetricsPS.cpp:1633: `struct FTC_ImageTypeRec_' has no member named 
`face_id'
 

   

Make sure your freetype port is up-to-date and that you don't have
stale freetype files installed from a previous non-ports install or
 

from a previous version of the port that you did not upgrade
   

correctly.  Use pkg_which from the portupgrade package to do this (see
the manpage).
Kris
 

ok maybe we have found the problem here
pkg_which freetype2-2.1.7_3
freetype2-2.1.7_3: not found
yet pkg_info see's it
   

That's not how you use pkg_which (please read the manpage!), but
you've also inadvertently shown that you need to take the first part
of my advice.
Kris
 

yes sorry i jumped in without reading the man page for it's useage.
however some digging and a few other helpful emails and TA DA!!! it works!!!
i portupgraded freetype2, and then firefox built successfully.
i was under the impression that portupgrade looked after dependencies 
like this on it's own however? is it possible in my fiddling around i 
screwed up something which prevented portupgrade upgrading freetype2?
fyi i upgraded gaim and some other stuff successfully, so everything 
seems OK

thanks for everyones help and patience, it's what makes freebsd superior.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't build firefox 1.0.4 on 4.10

2005-05-19 Thread Kris Kennaway
On Fri, May 20, 2005 at 07:51:48AM +1000, Timothy Smith wrote:

> >>nsFontMetricsPS.cpp:1633: `struct FTC_ImageTypeRec_' has no member named 
> >>`face_id'
> >>   
> >>
> >
> >Make sure your freetype port is up-to-date and that you don't have
> >stale freetype files installed from a previous non-ports install or
> >from a previous version of the port that you did not upgrade
> >correctly.  Use pkg_which from the portupgrade package to do this (see
> >the manpage).
> >
> >Kris
> > 
> >
> ok maybe we have found the problem here
> pkg_which freetype2-2.1.7_3
> freetype2-2.1.7_3: not found
> 
> yet pkg_info see's it

That's not how you use pkg_which (please read the manpage!), but
you've also inadvertently shown that you need to take the first part
of my advice.

Kris



pgp3hbVJeGch9.pgp
Description: PGP signature


Re: NTP issues with 5.4 (SOLVED)

2005-05-19 Thread Michal Mertl
I wrote:
> Hello,
> 
> I run ntpd in daemon mode on several FreeBSD computers and synchronize
> with 'ntpd -q' all others.
> 
> I've just updated one machine to 5.4 (from 5.3) and noticed the daemon
> was unhappy, often logging 'time reset' and resynchronizing with peers.
> On other machines I also only recently (after the upgrade to 5.4) see
> ntp problems - 'ntpd -q' gets stuck and time goes off. The machines were
> all fine before.
> 
> I searched the web and archives and found some more people complaining
> about similar issues but I haven't found any good answer. At first I
> thought it was happening only on SMP computers but it isn't the case.
> The machines have all kinds of timecounters - ACPI-fast, ACPI-safe and
> i8254.

I'd like to let you all know that I don't think the problem is as
widespread as I originally thought.

After tens of restarts of ntpd processes I've never experienced any
problem synchronizing. No more hung 'ntpd -q' processes either. I
suspect the latter was a consequence of my server having problems
synchronizing.

Michal

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


Re: Did 5.4-RC4 become 5.4-RELEASE?

2005-05-19 Thread Erik Trulsson
On Thu, May 19, 2005 at 03:08:29PM -0700, Brian O'Shea wrote:
> I downloaded 5.4-RC4 just before 5.4-RELEASE was posted, and burned
> CD's from them.  Is this release candidate identical to 5.4-RELEASE?

No, there were some changes made between 5.4-RC4 and 5.4-RELEASE
Most important of those are probably patches for the security
advisories that were released during that short period of time.
(The 5.4 errata file mentions all three of those advisories.)

> 
> Just curious.  If it is, I'll stick with what I have.  If not, I'll
> cvsup to 5.4-RELEASE.


-- 

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


Did 5.4-RC4 become 5.4-RELEASE?

2005-05-19 Thread Brian O'Shea
I downloaded 5.4-RC4 just before 5.4-RELEASE was posted, and burned
CD's from them.  Is this release candidate identical to 5.4-RELEASE?

Just curious.  If it is, I'll stick with what I have.  If not, I'll
cvsup to 5.4-RELEASE.

Thanks,
-brian




Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html

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


Re: can't build firefox 1.0.4 on 4.10

2005-05-19 Thread Michael Johnson
On May 19, 2005, at 5:51 PM, Timothy Smith wrote:
Kris Kennaway wrote:

On Fri, May 20, 2005 at 07:33:43AM +1000, Timothy Smith wrote:

Alex Zbyslaw wrote:

Timothy Smith wrote:

it didn't like it too much. i did pkg_delete on the old version  
then i ran portinstall www/firefox
which compiled for a bit then gave the following error

gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

This isn't the error though.  This is gmake stopping because of  
something previous going wrong.

Are you doing this as root?  What's the actual error?
I've compiled the latest just fine on 4.11.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"



yes i'm doing all this as root
i let it do a make install (instead of using portinstall,  
portinstall seems more verbose)
and i got this

nsFontMetricsPS.cpp:1633: `struct FTC_ImageTypeRec_' has no  
member named `face_id'


Make sure your freetype port is up-to-date and that you don't have
stale freetype files installed from a previous non-ports install or
from a previous version of the port that you did not upgrade
correctly.  Use pkg_which from the portupgrade package to do this  
(see
the manpage).

Kris

ok maybe we have found the problem here
pkg_which freetype2-2.1.7_3
freetype2-2.1.7_3: not found
you need freetype2 2.1.9
yet pkg_info see's it
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"

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


Re: can't build firefox 1.0.4 on 4.10

2005-05-19 Thread Timothy Smith
Kris Kennaway wrote:
On Fri, May 20, 2005 at 07:33:43AM +1000, Timothy Smith wrote:
 

Alex Zbyslaw wrote:
   

Timothy Smith wrote:
 

it didn't like it too much. i did pkg_delete on the old version then 
i ran portinstall www/firefox
which compiled for a bit then gave the following error

gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2
   

This isn't the error though.  This is gmake stopping because of 
something previous going wrong.

Are you doing this as root?  What's the actual error?
I've compiled the latest just fine on 4.11.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

 

yes i'm doing all this as root
i let it do a make install (instead of using portinstall, portinstall 
seems more verbose)
and i got this

nsFontMetricsPS.cpp:1633: `struct FTC_ImageTypeRec_' has no member named 
`face_id'
   

Make sure your freetype port is up-to-date and that you don't have
stale freetype files installed from a previous non-ports install or
from a previous version of the port that you did not upgrade
correctly.  Use pkg_which from the portupgrade package to do this (see
the manpage).
Kris
 

ok maybe we have found the problem here
pkg_which freetype2-2.1.7_3
freetype2-2.1.7_3: not found
yet pkg_info see's it
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't build firefox 1.0.4 on 4.10

2005-05-19 Thread Kris Kennaway
On Fri, May 20, 2005 at 07:33:43AM +1000, Timothy Smith wrote:
> Alex Zbyslaw wrote:
> 
> >Timothy Smith wrote:
> >
> >>it didn't like it too much. i did pkg_delete on the old version then 
> >>i ran portinstall www/firefox
> >>which compiled for a bit then gave the following error
> >>
> >>
> >>gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
> >>gmake: *** [default] Error 2
> >>*** Error code 2
> >
> >
> >This isn't the error though.  This is gmake stopping because of 
> >something previous going wrong.
> >
> >Are you doing this as root?  What's the actual error?
> >
> >I've compiled the latest just fine on 4.11.
> >
> >--Alex
> >
> >___
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"[EMAIL PROTECTED]"
> >
> >
> yes i'm doing all this as root
> 
> i let it do a make install (instead of using portinstall, portinstall 
> seems more verbose)
> and i got this
> 
> nsFontMetricsPS.cpp:1633: `struct FTC_ImageTypeRec_' has no member named 
> `face_id'

Make sure your freetype port is up-to-date and that you don't have
stale freetype files installed from a previous non-ports install or
from a previous version of the port that you did not upgrade
correctly.  Use pkg_which from the portupgrade package to do this (see
the manpage).

Kris


pgpiCA8voenv2.pgp
Description: PGP signature


Re: Impossible install of 5.4 - fixed

2005-05-19 Thread Kris Kennaway
On Thu, May 19, 2005 at 11:25:59PM +0200, Olivier Gautherot wrote:
> Hi all!
> 
> > On Monday 16 May 2005 10:26 am, Olivier Gautherot wrote:
> > > Hi folks!
> > >
> > > I've tried to install 5.4 but can't boot the disk. I see a FreeBSD
> > > prompt (the master boot selector being a Linux version of grub) but
> > > it complains about a missing /kernel.
> 
> Just a quick update: my problem was a buggy partition table on the disk.
> I reformated it all and it now works like a charm - I'm typing this message 
> from the newly installed 5.4.
> 
> Thanks to Andrew and Kris for their support.

Glad to hear it!

Kris


pgprLA51TkbP2.pgp
Description: PGP signature


Re: /var/db/pkgrestore

2005-05-19 Thread Kris Kennaway
On Thu, May 19, 2005 at 11:39:35PM +0300, Victor Mel'nichenko wrote:
> hi, ALL!
> I have some problem with /var/db/pkg.
> I just remove this directory and i don't know how to restore it with all 
> bases of my installed packages and it current versions. I don't do some 
> backup of my system and any other bases... Just remove this dir(/var/db/pkg).
> Please, help. FreeBSD 5.4-p1

Sorry, you have to reinstall all the ports by hand.

You can use pkg_which (part of portupgrade) to identify files that are
not registered by any package in /var/db/pkg, and then try to work out
which package installed them.

Obviously, you should look into regularly backing up your system once
you get it back together.

Kris



pgpaqyZOxvfbm.pgp
Description: PGP signature


Re: can't build firefox 1.0.4 on 4.10

2005-05-19 Thread Timothy Smith
Alex Zbyslaw wrote:
Timothy Smith wrote:
it didn't like it too much. i did pkg_delete on the old version then 
i ran portinstall www/firefox
which compiled for a bit then gave the following error

gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

This isn't the error though.  This is gmake stopping because of 
something previous going wrong.

Are you doing this as root?  What's the actual error?
I've compiled the latest just fine on 4.11.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


yes i'm doing all this as root
i let it do a make install (instead of using portinstall, portinstall 
seems more verbose)
and i got this

nsFontMetricsPS.cpp:1633: `struct FTC_ImageTypeRec_' has no member named 
`face_id'
gmake[4]: *** [nsFontMetricsPS.o] Error 1
gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx/src/ps'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

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


Re: Impossible install of 5.4 - fixed

2005-05-19 Thread Olivier Gautherot
Hi all!

> On Monday 16 May 2005 10:26 am, Olivier Gautherot wrote:
> > Hi folks!
> >
> > I've tried to install 5.4 but can't boot the disk. I see a FreeBSD
> > prompt (the master boot selector being a Linux version of grub) but
> > it complains about a missing /kernel.

Just a quick update: my problem was a buggy partition table on the disk.
I reformated it all and it now works like a charm - I'm typing this message 
from the newly installed 5.4.

Thanks to Andrew and Kris for their support.
-- 
Olivier Gautherot
Tel:  0688 380 434
(intl) +33 688 380 434
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


/var/db/pkgrestore

2005-05-19 Thread Victor Mel'nichenko
hi, ALL!
I have some problem with /var/db/pkg.
I just remove this directory and i don't know how to restore it with all bases 
of my installed packages and it current versions. I don't do some backup of my 
system and any other bases... Just remove this dir(/var/db/pkg).
Please, help. FreeBSD 5.4-p1
Senks.
___
http://www.bigmir.net - поиск по украинским сайтам



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


Firewire 800 to IDE?

2005-05-19 Thread John Pettitt

I've got four  of WD250 GB drives that I want to hook to a FreeBSD 5.4
box that happens to have a Firewire 800 card in it (it's already got
three FW 400 disks attached).  I have some FW->IDE boards that don't
work with BSD (it sees the device but never detects the drive)  - so I'm
looking for info on Firewire 800 boards that are known to work - if you
have a Firewire 800 to IDE board that is currently working with FreeBSD
please let me know what make/model and if possible where you got it (if
in the US).

Thanks

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


usb wireless adapter problem

2005-05-19 Thread Maciek Plona
Hello

Ive just bought small, nice USB wireless adapter. When I plug it into
an USB slot i see in messages:
May 19 22:21:06 pitutek kernel: uhub0: device problem
(SET_ADDR_FAILED), disabling port 2
May 19 22:21:06 pitutek kernel: uhub0: port error, restarting port 2
May 19 22:21:06 pitutek kernel: uhub0: port error, giving up port 2

I tried `usbdevs -v` and it showed me:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x),
NEC(0x), rev 1.00
 port 1 powered
 port 2 addr 0 should never happen!   
 port 3 powered

That about "addr 0" I saw JUST once, after that was always: 
port 2 powered

Off course other USB devs  (like mouse) work fine.

System is yesterdays 5.4-R
FreeBSD pitutek 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #0: Wed May 18
23:24:22 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Ive googled 2 nights and didnt help... 
Maybe some of You can help?

Pls answer directly to me too.

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


amavis

2005-05-19 Thread Charles Lamb
I ran cvsup.  Installed clamav, amavisd-new, and spam assassin.  I
changed my sendmail configuration file to allow amavisd-milter.  When I
restart sendmail and try to send a test email the email goes into
oblivion and the following is what I get in my maillog
 
May 19 16:17:12 myserver sendmail[18448]: j4JKHC25018448:
from=<[EMAIL PROTECTED]>, size=346, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=IPv4,
relay=localhost [127.0.0.1]
May 19 16:17:12 myserver amavis-milter[17589]: j4JKHC25018448:
(mlfi_eom) failed to connect(): No such file or directory
May 19 16:17:12 myserver amavis-milter[17589]: j4JKHC25018448:
(mlfi_eom) communication failure
May 19 16:17:12 myserver sendmail[18448]: j4JKHC25018448: Milter: data,
reject=451 4.3.2 Please try again later
May 19 16:17:12 myserver sendmail[18448]: j4JKHC25018448:
to=<[EMAIL PROTECTED]>, delay=00:00:00, pri=30346, stat=Please try again later
May 19 16:17:12 myserver sendmail[18445]: j4JKH8Y3018445: to=me,
ctladdr=clamb (1001/0), delay=00:00:04, xdelay=00:00:00, mailer=relay,
pri=30015, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451
4.3.2 Please try again later
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PAWS security vulnerability

2005-05-19 Thread Tim Traver
Ted,
thanks for taking a look at this. I'm not sure I have the ability to 
test out your patch. Maybe someone else on this fine list can ?

But this sounds like a pretty severe DOS issue that seems to be 
relatively simple to implement.

Do you know if the 5.x branch is affected by this as well ?
Tim.
Ted Mittelstaedt wrote:
Hi Tim,
 Here is a slight mod of the OpenBSD patch for OpenBSD 3.6 that has been
rewritten for FreeBSD 4.11.  YMMV  If it works I would submit it to the
FreeBSD
security list.  The only change I made is OpenBSD defines "tiflags"
FreeBSD defines
"thflags" I assume they are the same thing.  The file is in
/usr/src/sys/netinet
Turning off the timestamps would be a good way to make your network go
slow.
*** tcp_input.c.originalThu May 19 11:52:30 2005
--- tcp_input.c Thu May 19 12:00:14 2005
***
*** 976,984 
--- 976,992 
* record the timestamp.
* NOTE that the test is modified according to the latest
* proposal of the [EMAIL PROTECTED] list (Braden
1993/04/26).
+* NOTE2 additional check added as a result of PAWS
vulnerability
+* documented in Cisco security notice
cisco-sn-20050518-tcpts
+* from OpenBSD patch for OpenBSD 3.6 015_tcp.patch
*/
   if ((to.to_flags & TOF_TS) != 0 &&
   SEQ_LEQ(th->th_seq, tp->last_ack_sent)) {
+   if (SEQ_LEQ(tp->last_ack_sent, th->th_seq + tlen
+
+   ((thflags & (TH_SYN|TH_FIN)) != 0)))
+ tp->ts_recent = to.to_tsval;
+   else
+   tp->ts_recent = 0;
   tp->ts_recent_age = ticks;
   tp->ts_recent = to.to_tsval;
   }
Ted
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tim Traver
Sent: Thursday, May 19, 2005 10:09 AM
To: bsd
Subject: PAWS security vulnerability
Hi all,
ok, this article was just published about a PAWS TCP DOS
vulnerability,
and lists freeBSD 4.x as affected.
http://www.securityfocus.com/bid/13676/info/
Does anyone know how to turn the TCP timestamps off on FreeBSD 4.x ?
and is 5.4 affected too ?
Tim.
___
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: dsl setup

2005-05-19 Thread Tony Shadwick
Presuming your dsl provider doesn't use a username and password to connect 
(something called PPPoE), then you can just connect using DHCP and you'll 
be on.

The more likely scenario is that they do indeed use PPPoE, so you'll need 
to install the pppoe client, set up your username and password, then 
connect.

I would strong suggest using a third option, which would be to purchase a 
hardware dsl router that will make setting this up much simpler, allow you 
to share your connection with other users simply enough, and add an 
additional layer of protection.  This will allow you to use DHCP to get an 
IP address and not have to worry about a PPPoE client.

Tony
On Sun, 3 Jan 1999, paul klatt wrote:
Could anyone please tell me how to go about setting up dsl in freebsd I would
appreciate the help.
___
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: Shared /usr/ports directories

2005-05-19 Thread Erik Trulsson
On Thu, May 19, 2005 at 06:13:09PM +0100, Richard Danter wrote:
> Erik Trulsson wrote:
> >On Thu, May 19, 2005 at 05:39:54PM +0100, Richard Danter wrote:
> >
> >>Hi all,
> >>
> >>I have several machines running FBSD now. At the moment I have a 
> >>complete ports tree on each machine. I was wondering if it was possible 
> >>to have it all on just one machine and NFS mount it?
> >
> >
> >That is certainly possible.
> >
> >
> >>I have already been doing this for the /usr/ports/distfiles directory, 
> >>but had not shared everything else as I was not sure if settings from a 
> >>build on one machine may cause problems when building on another machine.
> >>
> >>Each machine has it's own /etc/make.conf with settings such as the 
> >>processor type, so it is important that one build can't effect another.
> >
> >
> >I would suggest you set WRKDIRPREFIX in /etc/make.conf so that the
> >files built by the ports system do not get placed under /usr/ports but
> >somewhere else.
> 
> Is it just the object (.o) files that this effects, or all generated 
> files? Where do the configurations get saved (for those ports with a 
> config menu)?

Almost all generated files - all that would end up under /usr/ports anyway.

Where configurations get saved can vary slightly.  Ports using the
OPTIONS system get their configurations saved under /var/db/ports/. 
Some ports have their own home-rolled config menu (mostly because the
port was created before OPTIONS made its debut) and they usually have
their configuration saved in the work directory (among all the .o
files.)


> 
> >For example I have 'WRKDIRPREFIX=/var/workdir' in my /etc/make.conf.
> >That way all the files that are created when you build a port ends up
> >under /var/workdir rather than under /usr/ports.  If WRKDIRPREFIX is
> >set to a directory on a local filesystem there will be no way for a
> >build on one system to affect one on another. You should even be able
> >to export /usr/ports as read-only.
> 
> If it was read-only, where would the source files that usually go into 
> /usr/ports/distfiles go? I'd like to only have to download these once too.

You can do like I do and let /usr/ports/distfiles be a symlink to another
directory, which is then exported via NFS separately from /usr/ports.
Another options is to download all the distfiles in advance to the
server. (Just cd to the port you wish to build and issue a 'make
checksum-recursive' and all the distfiles needed to build that port
(and any port it depends on) will be downloaded and the checksums
checked. This assumes you are only using default build options -
otherwise there might be additional patches that need to be
downloaded.)


> 
> 
> >(Changing WKRDIRPREFIX also makes it a lot easier and faster to clean
> >up after building ports. Instead of having to issue a 'make clean' for
> >each port built, you can just do a 'rm -fr /var/workdir/*' and all the
> >workdirs will be removed quickly.)
> 
> I usually do a 'make install clean' anyway, but it would be good to be 
> able to verify everything is actually cleaned.

If you want to really make sure things are cleaned you will have to do
an 'make rmconfig' as well to make sure any configuration options
stored under /var/db/ports are removed as well (unless of course you want to
keep those configuration settings around till next time you build the
port.)

> 
> The other advantage of all this of course is that I would only need to 
> do CVSup once and every machine would be up to date.




-- 

Erik Trulsson
[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: /etc/make.conf weirdness

2005-05-19 Thread Nicolas Blais
On May 19, 2005 03:51 pm, Kris Kennaway wrote:
> On Thu, May 19, 2005 at 03:31:02PM -0400, Nicolas Blais wrote:
> > Hi,
> >
> > This is probably a user problem (me), but why is it that when I put this
> > in /etc/make.conf:
> >
> > .if ${.CURDIR:M*/multimedia/transcode}
> >   WITH_DIVX5=yes WITH_OPTIMIZED_CFLAGS=yes
> > .endif
> >
> > and build transcode, it will only receive WITH_DIVX5 and not the other
> > flag.
> >
> > and if I put this instead:
> >
> > .if ${.CURDIR:M*/multimedia/transcode}
> >   WITH_OPTIMIZED_CFLAGS=yes WITH_DIVX5=yes
> > .endif
> >
> > it will receive WITH_OPTIMIZED_CFLAGS and not the other again?

> > Any way around this?
>
> Put each entry on separate lines, don't try to separate them with
> whitespace.
>
> Kris

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


Re: /etc/make.conf weirdness

2005-05-19 Thread Kris Kennaway
On Thu, May 19, 2005 at 03:31:02PM -0400, Nicolas Blais wrote:
> Hi,
> 
> This is probably a user problem (me), but why is it that when I put this 
> in /etc/make.conf:
> 
> .if ${.CURDIR:M*/multimedia/transcode}
>   WITH_DIVX5=yes WITH_OPTIMIZED_CFLAGS=yes
> .endif
> 
> and build transcode, it will only receive WITH_DIVX5 and not the other flag.
> 
> and if I put this instead:
> 
> .if ${.CURDIR:M*/multimedia/transcode}
>   WITH_OPTIMIZED_CFLAGS=yes WITH_DIVX5=yes 
> .endif
> 
> it will receive WITH_OPTIMIZED_CFLAGS and not the other again?
> 
> Same with all the ports such as :
> 
> .if ${.CURDIR:M*/multimedia/mplayer}
>   WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION \
>   WITH_RTC=yes WITH_LIBUNGIF=yes WITH_ARTS=yes \
>   WITH_FRIBIDI=yes WITH_CDPARANOIA=yes WITH_LIBDV=yes\
>   WITH_MAD=yes WITH_SVGALIB=yes WITH_AALIB=yes WITH_THEORA=yes\
>   WITH_SDL=yes WITH_ESOUND=yes WITH_VORBIS=yes WITH_XANIM=yes \
>   WITH_LIVEMEDIA=yes WITH_MATROSKA=yes WITH_XVID=yes WITH_LZO=yes \
>   WITH_XMMS=yes
> .endif
> 
> will only receive WITH OPTIMIZED_CFLAGS.
> 
> Any way around this?

Put each entry on separate lines, don't try to separate them with
whitespace.

Kris

pgphpDresqjbz.pgp
Description: PGP signature


RE: BSD legal question

2005-05-19 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Jan Grant
> Sent: Thursday, May 19, 2005 6:36 AM
> To: Ted Mittelstaedt
> Cc: Danny Pansters; freebsd-questions@freebsd.org
> Subject: RE: BSD legal question
>
>
> On Thu, 19 May 2005, Ted Mittelstaedt wrote:
>
> > Suppose I distribute a library that is under my own copyright,
> > yet carries a BSD-like license.
> >
> > Suppose you then come along and take my library, and a GPLed
> > library, link both of them together into a new program of yours.
> >
> > The FSF says that the entire code now becomes GPL.
>
> That's not true. The GPL requires you to license any distributed code
> derived from GPLed code under the GPL.

This is a hairsplit since FSF=GPL, but yes, technically it's not the FSF
saying the entire code now becomes GPL, it's the GPL saying that the
entire
code now becomes GPL.

> Since, as you point out...
>
> > The problem here is that since you never owned copyright on
> > my library, you do not have legal rights to modify the copyright
> > and license on it.  Thus, you cannot legally apply GPL to it.
> > Nor can the FSF or anyone else apply GPL to it.
>
> ... the conclusion is that you cannot *distribute* the derived
> program;
> NOT that it magically relicenses code you've used to build it.
>


Except that this is only the case if your definition of distribution
is limited like the FSF's.

That is exactly why the FreeBSD ports system was created.

The idea behind ports is that 'unknowledgeable user' who I will
refer to as a UU, can go to the ports, flick a switch (type
make install) and whala- instantly the GPL licensed libraries that
the FSF wants to prevent you from distributing with your nasty
BSD stuff, are FTP'ed from whatever dark hole that
they come from, the nasty BSD stuff is FTP'ed from wherever it
comes from, the mixmaster is turned on at high speed and Bing!
Instantly the UU has your intermixed program, while you have neatly
avoided the little trap that the FSF has built to prevent UU's
from getting ahold of nasty intermixed stuff!

The result is the same as if you build your program, and thoughtfully
distribute intermixed source for your UUs - which runs afoul of the
FSF's daffynition of distribution.  The FSF never envisioned that
someone would actually go to the trouble of creating something like
the FreeBSD ports software when they wrote the GPL, so they fortunately
didn't define that kind of distribution mechanism in their license's
definition of "distribution"

But you can bet that if they had known Ports was coming, they would
have written language proscribing that kind of distribution in the
GPL.

Another more obvious note is that the 'configure' script doesen't have
that fetching capability in it - although it would be trivial to add.

Ted

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


/etc/make.conf weirdness

2005-05-19 Thread Nicolas Blais
Hi,

This is probably a user problem (me), but why is it that when I put this 
in /etc/make.conf:

.if ${.CURDIR:M*/multimedia/transcode}
  WITH_DIVX5=yes WITH_OPTIMIZED_CFLAGS=yes
.endif

and build transcode, it will only receive WITH_DIVX5 and not the other flag.

and if I put this instead:

.if ${.CURDIR:M*/multimedia/transcode}
  WITH_OPTIMIZED_CFLAGS=yes WITH_DIVX5=yes 
.endif

it will receive WITH_OPTIMIZED_CFLAGS and not the other again?

Same with all the ports such as :

.if ${.CURDIR:M*/multimedia/mplayer}
  WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION \
  WITH_RTC=yes WITH_LIBUNGIF=yes WITH_ARTS=yes \
  WITH_FRIBIDI=yes WITH_CDPARANOIA=yes WITH_LIBDV=yes\
  WITH_MAD=yes WITH_SVGALIB=yes WITH_AALIB=yes WITH_THEORA=yes\
  WITH_SDL=yes WITH_ESOUND=yes WITH_VORBIS=yes WITH_XANIM=yes \
  WITH_LIVEMEDIA=yes WITH_MATROSKA=yes WITH_XVID=yes WITH_LZO=yes \
  WITH_XMMS=yes
.endif

will only receive WITH OPTIMIZED_CFLAGS.

Any way around this?

Nicolas.

FreeBSD clk01a 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Thu May 19 09:13:03 EDT 
2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: 5.4 +apache (how to restart)

2005-05-19 Thread fbsd_user

Thanks that worked


-Original Message-
From: Charles Lamb [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 19, 2005 2:28 PM
To: [EMAIL PROTECTED]; '[EMAIL PROTECTED] ORG'
Subject: RE: 5.4 +apache (how to restart)


Apachectl restart I believe


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of fbsd_user
Sent: Thursday, May 19, 2005 2:34 PM
To: [EMAIL PROTECTED] ORG
Subject: 5.4 +apache (how to restart)

Apache starts fine on boot, but need restart(ie: stop, start) to
reload
changed httpd.conf.
How do I do this in 5.4?
___
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: PAWS security vulnerability

2005-05-19 Thread Ted Mittelstaedt
Hi Tim,

  Here is a slight mod of the OpenBSD patch for OpenBSD 3.6 that has been
rewritten for FreeBSD 4.11.  YMMV  If it works I would submit it to the
FreeBSD
security list.  The only change I made is OpenBSD defines "tiflags"
FreeBSD defines
"thflags" I assume they are the same thing.  The file is in
/usr/src/sys/netinet

Turning off the timestamps would be a good way to make your network go
slow.

*** tcp_input.c.originalThu May 19 11:52:30 2005
--- tcp_input.c Thu May 19 12:00:14 2005
***
*** 976,984 
--- 976,992 
 * record the timestamp.
 * NOTE that the test is modified according to the latest
 * proposal of the [EMAIL PROTECTED] list (Braden
1993/04/26).
+* NOTE2 additional check added as a result of PAWS
vulnerability
+* documented in Cisco security notice
cisco-sn-20050518-tcpts
+* from OpenBSD patch for OpenBSD 3.6 015_tcp.patch
 */
if ((to.to_flags & TOF_TS) != 0 &&
SEQ_LEQ(th->th_seq, tp->last_ack_sent)) {
+   if (SEQ_LEQ(tp->last_ack_sent, th->th_seq + tlen
+
+   ((thflags & (TH_SYN|TH_FIN)) != 0)))
+ tp->ts_recent = to.to_tsval;
+   else
+   tp->ts_recent = 0;
tp->ts_recent_age = ticks;
tp->ts_recent = to.to_tsval;
}

Ted

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Tim Traver
> Sent: Thursday, May 19, 2005 10:09 AM
> To: bsd
> Subject: PAWS security vulnerability
>
>
> Hi all,
>
> ok, this article was just published about a PAWS TCP DOS
> vulnerability,
> and lists freeBSD 4.x as affected.
>
> http://www.securityfocus.com/bid/13676/info/
>
> Does anyone know how to turn the TCP timestamps off on FreeBSD 4.x ?
>
> and is 5.4 affected too ?
>
> Tim.
>
> ___
> 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]"


dsl setup

2005-05-19 Thread paul klatt
Could anyone please tell me how to go about setting up dsl in freebsd I would 
appreciate the help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: No inodes free ?

2005-05-19 Thread Julien Gabel
>>> I've just cvsup'ed and began to "make installworld". This is the error
>>> I get now : "No inodes free". There is, I think, still enough room free
>>> on / and /usr (see the output of "df -h" below).
>>> What causes this error and how do I avoid it ?

>> The 'i' opion of the df(1) command may help here.

> [EMAIL PROTECTED]:~] $ df -i
> Filesystem 1K-blocks   Used  Avail Capacity iused ifree %iused Mounted on
> /dev/ad0s2a   253678 186468  4691680%   33022 0  100%  /
^
So it seems there is no free inode on the root fs, as said in the error
message (/: create/symlink failed, no inodes free).

Here is a root fs on one of the machines:
# df -ki /
Filesystem  1K-blocks  Used  Avail Capacity iused ifree %iused  Mounted on
/dev/ad0s1a253678 61988 17139627%1421 316014%   /

It seems that you install something in / that may be put elsewhere.

-- 
-jpeg.

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


Re: No inodes free ? [SOLVED]

2005-05-19 Thread FreeBsdBeni
Ok, solved my own problem...

I had installed also /devel/ccache to speed up de making/compiling part, but 
should have changed the directory location of .ccache it seems... I've just 
removed /root/.ccache and now I have again :

[EMAIL PROTECTED]:~] $ df -i
Filesystem  1K-blocks UsedAvail Capacity iusedifree %iused  
Mounted on
/dev/ad0s2a25367871716   16166831%2002310206%   /

So I'm back in business :-)


On Thursday 19 May 2005 20:17, FreeBsdBeni wrote:
> Hello list,
>
> System : 5.4-REL-p1
>
> I've just cvsup'ed and began to "make installworld". This is the error I
> get now : "No inodes free". There is, I think, still enough room free on /
> and /usr (see the output of "df -h" below).
>
> What causes this error and how do I avoid it ?
>
> 
> --
>
> >>> Installing everything
>
> --
> cd /usr/src; /usr/obj/usr/src/make.i386/make -f Makefile.inc1 install
> ===> share/info
> ===> include
>
> 
>
> ===> lib/libcom_err
> install -C -o root -g wheel -m 444   libcom_err.a /usr/lib
> install -C -o root -g wheel -m 444   libcom_err_p.a /usr/lib
> install -s -o root -g wheel -m 444 libcom_err.so.2 /usr/lib
> ln -fs libcom_err.so.2 /usr/lib/libcom_err.so
> install -C -o root -g wheel -m
> 444  /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h
> /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include
> install -o root -g wheel -m 444 com_err.3.gz  /usr/share/man/man3
> ===> lib/libcom_err/doc
> install-info --quiet  --defsection="Programming & development tools."
> --defentry="* libcom_err: (com_err).A Common Error Description
> Library for UNIX."  com_err.info /usr/share/info/dir
> install -o root -g wheel -m 444  com_err.info.gz /usr/share/info
> ===> lib/libcrypt
> install -C -o root -g wheel -m 444   libcrypt.a /usr/lib
> install -C -o root -g wheel -m 444   libcrypt_p.a /usr/lib
> install -s -o root -g wheel -m 444   -fschg -S  libcrypt.so.2 /lib
>
> /: create/symlink failed, no inodes free
> install: /lib/[EMAIL PROTECTED]: No space left on device
> *** Error code 71
>
> Stop in /usr/src/lib/libcrypt.
> *** Error code 1
>
> Stop in /usr/src/lib.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
>
> The output of "df -h" :
> freebsdbeni# df -h
> Filesystem SizeUsed   Avail Capacity  Mounted on
> /dev/ad0s2a248M182M 46M80%/
> devfs  1.0K1.0K  0B   100%/dev
> /dev/ad0s2e248M4.3M224M 2%/tmp
> /dev/ad0s2f 46G 15G 27G36%/usr
> /dev/ad0s2d248M162M 66M71%/var
> /dev/ad0s1  49G 18G 31G38%/mnt/winxp
> /dev/ad0s5  25G1.3G 24G 5%/mnt/data
> linprocfs  4.0K4.0K  0B   100%/usr/compat/linux/proc
> freebsdbeni#

-- 
FreeBsdBeni.


pgpnNGWUfn5qk.pgp
Description: PGP signature


Re: Dual monitors xorg.conf

2005-05-19 Thread Michael L. Squires
I have Xinerama working with two HP P1110 monitors and a single Matrox 
G450 dual-head card.  The only problem I have is that the system 
dual-boots MS Windows XP Pro and if I don't do a cold reboot after running 
XP I sometimes get artifacts (for example, the borders around Firefox 
running under KDE gets random colors).  So far shutting down, powering 
off, and booting has solved that problem.

This is under 5.4-RELEASE/STABLE.
I'm about to switch to an ATI Radeon 9600 AIW dual-head card, which should 
be interesting to set up.

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


Re: 5.4 +apache (how to restart)

2005-05-19 Thread Julien Gabel
> Apache starts fine on boot, but need restart(ie: stop, start) to reload
> changed httpd.conf.
> How do I do this in 5.4?

If it was installed using the ports collection, you can do:
 # /usr/local/etc/rc.d/apache2.sh restart
 Or:
 # /usr/local/etc/rc.d/apache2.sh reload

-- 
-jpeg.

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


RE: 5.4 +apache (how to restart)

2005-05-19 Thread Charles Lamb
Apachectl restart I believe


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of fbsd_user
Sent: Thursday, May 19, 2005 2:34 PM
To: [EMAIL PROTECTED] ORG
Subject: 5.4 +apache (how to restart)

Apache starts fine on boot, but need restart(ie: stop, start) to reload
changed httpd.conf.
How do I do this in 5.4?
___
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]"


5.4 +apache (how to restart)

2005-05-19 Thread fbsd_user
Apache starts fine on boot, but need restart(ie: stop, start) to reload
changed httpd.conf.
How do I do this in 5.4?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.4-RELEASE, PHP 5, MySQL 4.1 (and ftpd)

2005-05-19 Thread [EMAIL PROTECTED]
On Wed, 18 May 2005 05:56:14 +0300
Can Berk Guder <[EMAIL PROTECTED]> wrote:

> 1. I've just installed these packages on my fresh 5.4-RELEASE system
> using "pkg_add -r":
> 
> * apache-1.3.33_1
> * mysql-server-4.1.10a
> * php5-5.0.3_2
> 
> However, since php5-mysqli isn't in the 5.4-RELEASE packages  
> collection, I
> can't install php5-mysqli, and therefore PHP 5 is of no use for me.
> I've updated my ports collection using cvsup, however php5-mysqli
> requires   php5-
> 5.0.4.
> 
> Anyway, is there any way that I can install these packages from  
> either the
> ports or the packages collection, or should I switch the whole system 
>  to 5-
> STABLE? Since I'm using a customized kernel, it'd be much easier for  
> me if I
> could just use the packages collection.

from the ports-collection it should be no problem, not sure about
remote package-install

> 2. I uncommented the necessary lines in /etc/inetd.conf to allow  
> ftpd, but I
> still can't connect to localhost using FTP. What else do I need to do 
>  to run the FTP daemon?

did you enable inetd ? (e.g. via /stand/sysinstall post-config)
did you restart inetd ?
is inetd running correctly ?
what about possible firewall-settings ?

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


Re: No inodes free ?

2005-05-19 Thread FreeBsdBeni
On Thursday 19 May 2005 20:22, Julien Gabel wrote:
> > I've just cvsup'ed and began to "make installworld". This is the error I
> > get now : "No inodes free". There is, I think, still enough room free on
> > / and /usr (see the output of "df -h" below).
> >
> > What causes this error and how do I avoid it ?
>
> The 'i' opion of the df(1) command may help here.

[EMAIL PROTECTED]:~] $ df -i
Filesystem  1K-blocks UsedAvail Capacity iusedifree %iused  
Mounted on
/dev/ad0s2a253678   1864684691680%   330220  100%   /
devfs   110   100%   00  100%   /dev
/dev/ad0s2e253678 5610   227774 2% 227327951%   /tmp
/dev/ad0s2f  47840948 15600176 2841349835%  376134  58180406%   /usr
/dev/ad0s2d253678   1660346735071%723625786   22%   /var
/dev/ad0s1   51195804 19202756 3199304838%   57660 31993048   
0%   /mnt/winxp
/dev/ad0s5   26036656  1322816 24713840 5%   00  
100%   /mnt/data
linprocfs   440   100%   10  
100%   /usr/compat/linux/proc
[EMAIL PROTECTED]:~] $


-- 
FreeBsdBeni.


pgpJewWHnwRuy.pgp
Description: PGP signature


Re: Pine

2005-05-19 Thread Kris Kennaway
On Thu, May 19, 2005 at 11:14:47AM -0700, Kris Kennaway wrote:
> On Thu, May 19, 2005 at 01:46:30PM -0400, Charles Lamb wrote:
> > When I try to fetch pine it cannot find it.
> 
> If you want help with that, please be more specific.
> 
> Kris

P.S. In future, please don't reply to existing messages when posting a
new (unrelated) question.  Apart from anything else, it means that
you're less likely to get a response.


pgpFRYsSfjD9r.pgp
Description: PGP signature


FreeBSD 5.4-RELEASE, PHP 5, MySQL 4.1 (and ftpd)

2005-05-19 Thread Can Berk Guder
Hi there,

I have two trivial questions:

1. I've just installed these packages on my fresh 5.4-RELEASE system 
using "pkg_add -r":

* apache-1.3.33_1
* mysql-server-4.1.10a
* php5-5.0.3_2

However, since php5-mysqli isn't in the 5.4-RELEASE packages collection, I 
can't install php5-mysqli, and therefore PHP 5 is of no use for me. I've 
updated my ports collection using cvsup, however php5-mysqli requires php5-
5.0.4.

Anyway, is there any way that I can install these packages from either the 
ports or the packages collection, or should I switch the whole system to 5-
STABLE? Since I'm using a customized kernel, it'd be much easier for me if I 
could just use the packages collection.

2. I uncommented the necessary lines in /etc/inetd.conf to allow ftpd, but I 
still can't connect to localhost using FTP. What else do I need to do to run 
the FTP daemon?

Regards,
-- 
Can Berk Guder
Sabanci University
Istanbul, Turkey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: stupid question

2005-05-19 Thread Kent Stewart
On Thursday 19 May 2005 10:25 am, Charles Lamb wrote:
> How do you change the DNS server your freebsd machine uses?
>

I have a static setup. I just add them to /etc/resolv.conf.

Kent

-- 
Kent Stewart
Richland, WA

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


Firewire Support on 4.11 ?

2005-05-19 Thread Alessandro de Manzano
[please answer me directly too since I'm not subscribed to this list,
thanks!]

Hello,
 
I've a question about firewire support on FreeBSD 4.11-R.
 
I'ld use an external hard disk on a server of mine, and since USB 2.0
support is not available in FBSD 4.x, I'ld try with firewire.
(I can't install 5.4-R on it)
 
Any suggestion or hint ? Are there some recommended FW chipsets or
something to avoid ? (I was thinking about Lacie's FW 400 PCI card)
I'm interested in external HD's support, any other FW use is not in my
needs right now (DV, ethernet, etc.)
 
As said, *any* hint is more than welcome ! :-)
 
Many thanks in advance!


-- 

bye!

Ale

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


Re: No inodes free ?

2005-05-19 Thread Julien Gabel
> I've just cvsup'ed and began to "make installworld". This is the error I
> get now : "No inodes free". There is, I think, still enough room free on /
> and /usr (see the output of "df -h" below).
>
> What causes this error and how do I avoid it ?

The 'i' opion of the df(1) command may help here.

-- 
-jpeg.

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


No inodes free ?

2005-05-19 Thread FreeBsdBeni
Hello list,

System : 5.4-REL-p1

I've just cvsup'ed and began to "make installworld". This is the error I get 
now : "No inodes free". There is, I think, still enough room free on / 
and /usr (see the output of "df -h" below).

What causes this error and how do I avoid it ?


--
>>> Installing everything
--
cd /usr/src; /usr/obj/usr/src/make.i386/make -f Makefile.inc1 install
===> share/info
===> include



===> lib/libcom_err
install -C -o root -g wheel -m 444   libcom_err.a /usr/lib
install -C -o root -g wheel -m 444   libcom_err_p.a /usr/lib
install -s -o root -g wheel -m 444 libcom_err.so.2 /usr/lib
ln -fs libcom_err.so.2 /usr/lib/libcom_err.so
install -C -o root -g wheel -m 
444  /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h 
/usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include
install -o root -g wheel -m 444 com_err.3.gz  /usr/share/man/man3
===> lib/libcom_err/doc
install-info --quiet  --defsection="Programming & development tools."  
--defentry="* libcom_err: (com_err).A Common Error Description 
Library for UNIX."  com_err.info /usr/share/info/dir
install -o root -g wheel -m 444  com_err.info.gz /usr/share/info
===> lib/libcrypt
install -C -o root -g wheel -m 444   libcrypt.a /usr/lib
install -C -o root -g wheel -m 444   libcrypt_p.a /usr/lib
install -s -o root -g wheel -m 444   -fschg -S  libcrypt.so.2 /lib

/: create/symlink failed, no inodes free
install: /lib/[EMAIL PROTECTED]: No space left on device
*** Error code 71

Stop in /usr/src/lib/libcrypt.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1


The output of "df -h" :
freebsdbeni# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s2a248M182M 46M80%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s2e248M4.3M224M 2%/tmp
/dev/ad0s2f 46G 15G 27G36%/usr
/dev/ad0s2d248M162M 66M71%/var
/dev/ad0s1  49G 18G 31G38%/mnt/winxp
/dev/ad0s5  25G1.3G 24G 5%/mnt/data
linprocfs  4.0K4.0K  0B   100%/usr/compat/linux/proc
freebsdbeni# 


-- 
FreeBsdBeni.


pgpIGyruc1GHh.pgp
Description: PGP signature


Re: Pine

2005-05-19 Thread Kris Kennaway
On Thu, May 19, 2005 at 01:46:30PM -0400, Charles Lamb wrote:
> When I try to fetch pine it cannot find it.

If you want help with that, please be more specific.

Kris


pgpEkq5dmj33L.pgp
Description: PGP signature


Re: Dual monitors xorg.conf

2005-05-19 Thread Paul Schmehl
--On Wednesday, May 18, 2005 05:32:18 PM -0500 Paul Schmehl 
<[EMAIL PROTECTED]> wrote:
I now have both monitors displaying, but they are clones of each other.
IOW, two monitors displaying the same desktop.  I still haven't been able
to get one desktop to display across both monitors.  (BTW, I didn't do
anything to get the second monitor to display anything.  It just started
working all of a sudden, after I had been logged in for a while.)
I've since discovered that there are two keys to having a "panoramic" 
display.  You must have Xinerama enabled (either Option "Xinerama" "true" 
in ServerFlags or in ServerLayout) and you must use the *same* BusID for 
both devices (if you have one video card.)

Hope this helps someone.
I'm still having the problem with the second monitor.  When you first start 
X it doesn't display anything but its light is green (indicating that it's 
getting a signal.)  After a while, it suddenly starts working (seems like 
after power saving is invoked and the first monitor goes blank.)  I'm not 
seeing any error messages in the console log, messages or Xorg.0.log that 
seem to point to the cause of this problem.

If anyone has any hints, I'd appreciate it.
For the record, here's my information:
uname -imprsv
FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386 i386 GENERIC

grep -v "#" xorg.conf
Section "Module"
   SubSection  "extmod"
   EndSubSection
   Load"type1"
   Load"freetype"
   Load   "glx"
EndSection
Section "Files"
   RgbPath "/usr/X11R6/lib/X11/rgb"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
   FontPath   "/usr/X11R6/lib/X11/fonts/local/"
EndSection
Section "ServerFlags"
   Option "Xinerama" "true"
EndSection
Section "InputDevice"
   Identifier  "Keyboard1"
   Driver  "kbd"
   Option "AutoRepeat" "500 30"
   Option "XkbRules"   "xorg"
   Option "XkbModel"   "pc104"
   Option "XkbLayout"  "us"
EndSection
Section "InputDevice"
   Identifier  "Mouse1"
   Driver  "mouse"
   Option "Protocol""Auto"
   Option "Device"  "/dev/sysmouse"
   Option "Emulate3Buttons"
EndSection
Section "Monitor"
   Identifier  "Monitor0"
   VendorName  "Dell"
   ModelName   "1905FP"
   HorizSync   31.5 - 64.3
   VertRefresh 50-90
   Option  "DPMS"
EndSection
Section "Monitor"
   Identifier  "Monitor1"
   VendorName  "Dell"
   ModelName   "1905FP"
   HorizSync   31.5 - 64.3
   VertRefresh 50-90
   Option  "DPMS"
EndSection
Section "Device"
   Identifier  "Standard VGA"
   VendorName  "Unknown"
   BoardName   "Unknown"
   Driver "vga"
EndSection
Section "Device"
   Identifier  "Card0"
   Driver  "radeon"
   VendorName  "ATI Technologies Inc"
   BoardName   "ATI Radeon X300"
   BusID   "PCI:1:0:0"
   Screen  0
   Option  "AGPFastWrite" "True"
   Option  "MetaModes" "1280x1024,1280x1024;1024x768,1024x768"
EndSection
Section "Device"
   Identifier  "Card1"
   Driver  "radeon"
   VendorName  "ATI Technologies Inc"
   BoardName   "ATI Radeon X300"
   BusID   "PCI:1:0:0"
   Screen  1
   Option  "AGPFastWrite" "True"
EndSection
Section "Screen"
   Identifier  "Screen0"
   Device  "Card0"
   Monitor "Monitor0"
   DefaultDepth 24
   Subsection "Display"
   Depth   8
   Modes   "1280x1024" "1024x768" "800x600" "640x480"
   ViewPort0 0
   EndSubsection
   Subsection "Display"
   Depth   16
   Modes   "1280x1024" "1024x768" "800x600" "640x480"
   ViewPort0 0
   EndSubsection
   Subsection "Display"
   Depth   24
   Modes   "1280x1024" "1024x768" "800x600" "640x480"
   ViewPort0 0
   EndSubsection
EndSection
Section "Screen"
   Identifier  "Screen1"
   Device  "Card1"
   Monitor "Monitor1"
   DefaultDepth 24
   Subsection "Display"
   Depth   8
   Modes   "1280x1024" "1024x768" "800x600" "640x480"
   ViewPort0 0
   EndSubsection
   Subsection "Display"
   Depth   16
   Modes   "1280x1024" "1024x768" "800x600" "640x480"
   ViewPort0 0
   EndSubsection
   Subsection "Display"
   Depth   24
   Modes   "1280x1024" "1024x768" "800x600" "640x480"
   ViewPort0 0
   EndSubsection
EndSection
Section "ServerLayout"
   Identifier  "Dual-Monitor"
   Screen 0"Screen0" LeftOf "Screen1"
   Screen 1"Screen1" 0 0
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe,

FreeBSD 5.4-RELEASE, PHP 5, MySQL 4.1 (and ftpd)

2005-05-19 Thread Can Berk Guder
Hi there,
I have two trivial questions:
1. I've just installed these packages on my fresh 5.4-RELEASE system
using "pkg_add -r":
* apache-1.3.33_1
* mysql-server-4.1.10a
* php5-5.0.3_2
However, since php5-mysqli isn't in the 5.4-RELEASE packages  
collection, I
can't install php5-mysqli, and therefore PHP 5 is of no use for me. I've
updated my ports collection using cvsup, however php5-mysqli requires  
php5-
5.0.4.

Anyway, is there any way that I can install these packages from  
either the
ports or the packages collection, or should I switch the whole system  
to 5-
STABLE? Since I'm using a customized kernel, it'd be much easier for  
me if I
could just use the packages collection.

2. I uncommented the necessary lines in /etc/inetd.conf to allow  
ftpd, but I
still can't connect to localhost using FTP. What else do I need to do  
to run
the FTP daemon?

Regards,
--
Can Berk Guder
Sabanci University
Istanbul, Turkey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shared /usr/ports directories

2005-05-19 Thread Lowell Gilbert
Lowell Gilbert <[EMAIL PROTECTED]> writes:

> Tony Shadwick <[EMAIL PROTECTED]> writes:
> 
> > Does this impact the pkgdb?  To be honest, I don't know where the
> > information that pkg_info returns is stored.  :)  Probably should have
> > sought this out a long time ago, but hey, I'm lazy.
> 
> I'm lazy too, so I won't bother checking first, but I'm nearly certain
> you'll find the answer in the FILES section of the pkgdb manual page.

I meant the pkg_info(1) man page, 
although I suspect pkgdb's covers it too...  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shared /usr/ports directories

2005-05-19 Thread Erik Trulsson
On Thu, May 19, 2005 at 12:07:51PM -0500, Tony Shadwick wrote:
> Does this impact the pkgdb?  To be honest, I don't know where the 
> information that pkg_info returns is stored.  :)  Probably should have 
> sought this out a long time ago, but hey, I'm lazy.

I don't know anything about pkgdb, but the information that pkg_info
returns is stored in /var/db/pkg, and options set via the OPTIONS
system in ports are stored in /var/db/ports.

If you were to use portupgrade (which most people seem to use, but
which I don't use) things might be different - I don't know.
For me the only things stored in /usr/ports are the port skeletons
themselves. (/usr/ports/distfiles is just a symlink on my system to
a directory on another filesystem.)

> 
> Tony
> 
> On Thu, 19 May 2005, Erik Trulsson wrote:
> 
> >On Thu, May 19, 2005 at 05:39:54PM +0100, Richard Danter wrote:
> >>Hi all,
> >>
> >>I have several machines running FBSD now. At the moment I have a
> >>complete ports tree on each machine. I was wondering if it was possible
> >>to have it all on just one machine and NFS mount it?
> >
> >That is certainly possible.
> >
> >>
> >>I have already been doing this for the /usr/ports/distfiles directory,
> >>but had not shared everything else as I was not sure if settings from a
> >>build on one machine may cause problems when building on another machine.
> >>
> >>Each machine has it's own /etc/make.conf with settings such as the
> >>processor type, so it is important that one build can't effect another.
> >
> >I would suggest you set WRKDIRPREFIX in /etc/make.conf so that the
> >files built by the ports system do not get placed under /usr/ports but
> >somewhere else.
> >For example I have 'WRKDIRPREFIX=/var/workdir' in my /etc/make.conf.
> >That way all the files that are created when you build a port ends up
> >under /var/workdir rather than under /usr/ports.  If WRKDIRPREFIX is
> >set to a directory on a local filesystem there will be no way for a
> >build on one system to affect one on another. You should even be able
> >to export /usr/ports as read-only.
> >(Changing WKRDIRPREFIX also makes it a lot easier and faster to clean
> >up after building ports. Instead of having to issue a 'make clean' for
> >each port built, you can just do a 'rm -fr /var/workdir/*' and all the
> >workdirs will be removed quickly.)

-- 

Erik Trulsson
[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: Tracking down "kern.ipc.maxpipekva exceeded"

2005-05-19 Thread Dan Nelson
In the last episode (May 19), Ewald Jenisch said:
> > I would suggest keeping an eye on kern.ipc.pipekva and trying to
> > correlate any changes to the activity on the system at the time.
> 
> I've already set this up - and it slowly (over days) is creeping up, e.g.
> 
> May 12 18:00:58 CEST 2005: kern.ipc.pipekva: 114688
> May 19 19:23:29 CEST 2005: kern.ipc.pipekva: 262144
> 
> At least I know what kern.ipc.pipekva is rising but, for me the most
> interesting part is, what actually is using up these resources?

Pipes :)
 
> Is there any chance to get hold of the respective process/program?

lsof | grep PIPE

should do the trick.  Lsof's SIZE/OFF column shows the allocated buffer
size for that pipe.  Most of the time you'll see either 0 (pipe has
never been used) or 16384 (default value).

-- 
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: Pine

2005-05-19 Thread Charles Lamb
When I try to fetch pine it cannot find it.  Thanks I will check out
mutt

Charles Lamb
Vision Payment Solutions
Senior Helpdesk Technician / IT Administrator
 
 
 

-Original Message-
From: Daniel Gerzo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 19, 2005 1:44 PM
To: Charles Lamb
Cc: [EMAIL PROTECTED]
Subject: Re: Pine

Hi Charles,

Thursday, May 19, 2005, 7:37:52 PM, you contributed this to our
collective wisdom:

> What is a good alternative to Pine?  It would seem it is nolonger
> available for freebsd?

pine is still possible tu run under FreeBSD, try /usr/ports/mail/pine4
good alternative is mutt - /usr/ports/mail/mutt

-- 
Best Regards,

  DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
  http://danger.rulez.sk  | proxy list at:
http://www.proxy-web.com/
  | FreeBSD - The Power to Serve!

[ Space for rent. Cheap!! ]



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


Re: Pine

2005-05-19 Thread Daniel Gerzo
Hi Charles,

Thursday, May 19, 2005, 7:37:52 PM, you contributed this to our collective 
wisdom:

> What is a good alternative to Pine?  It would seem it is nolonger
> available for freebsd?

pine is still possible tu run under FreeBSD, try /usr/ports/mail/pine4
good alternative is mutt - /usr/ports/mail/mutt

-- 
Best Regards,

  DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
  http://danger.rulez.sk  | proxy list at:http://www.proxy-web.com/
  | FreeBSD - The Power to Serve!

[ Space for rent. Cheap!! ]

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


Re: toshiba sound does not work

2005-05-19 Thread Lowell Gilbert
"Zaid Dashti" <[EMAIL PROTECTED]> writes:

> I have installed FreeBSD 5.4-RELEASE
> the sound does not work.
> i have compiled the kernel with:
> device sound
> 
> also i tried to compile it with: device pcm
> but it seems there is no pcm.
> 
> so, what is the solution ?!

Try snd_driver as well. 
Please see the Handbook section "Setting Up the Sound Card" for full details.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Pine

2005-05-19 Thread Charles Lamb


What is a good alternative to Pine?  It would seem it is nolonger
available for freebsd?

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


Re: Tracking down "kern.ipc.maxpipekva exceeded"

2005-05-19 Thread Lowell Gilbert
Ewald Jenisch <[EMAIL PROTECTED]> writes:

> > 
> > I would suggest keeping an eye on kern.ipc.pipekva and trying to
> > correlate any changes to the activity on the system at the time.
> 
> I've already set this up - and it slowly (over days) is creeping up, e.g.
> 
> 
> May 12 18:00:58 CEST 2005: kern.ipc.pipekva: 114688
> May 19 19:23:29 CEST 2005: kern.ipc.pipekva: 262144
> 
> At least I know what kern.ipc.pipekva is rising but, for me the most
> interesting part is, what actually is using up these resources? 
> 
> Is there any chance to get hold of the respective process/program?

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


FreeBSD 5.3 Boot issues

2005-05-19 Thread Vizion
Hi
Below is the output from dmesg.boot
I have some questions:

1. re: 802.11a
This system has been built in a mini ATX case and has a Proxim Harmony 802.11a 
Model 8150 PCI card on (I am on a boat - then intention is to be able to 
disconnect it from the ships network, lug it to a position in range of a 
wireless network and do a portupgrade as the need arises ). Is this 
card recognized by freebsd. Is there a suitable driver? How do I set it up?

2. Uhicio [GIANT LOCKED] What does this mean?

3. (da1:umass-sim0:0:0:1): Unretryable error
What is the significance if any of these lines?

4. I want to use energy saving (mainly to protect the drive from unnecessary 
risk of damage in rough weather) to turn off the hard drive when access is 
not required. How do I do that?

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP (1593.55-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
  
Features=0x383fbff
  AMD Features=0xc048
real memory  = 1006567424 (959 MB)
avail memory = 975376384 (930 MB)
ACPI APIC Table: 
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0:  on acpi0
acpi_tz0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xd000-0xd7ff at device 0.0 
on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
pci0:  at device 9.0 (no driver attached)
fwohci0:  mem 
0xde01-0xde013fff,0xde014000-0xde0147ff irq 18 at device 10.0 on pci0
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:d0:03:56:00:b2:b7:e6
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: 02:d0:03:b2:b7:e6
fwe0: Ethernet address: 02:d0:03:b2:b7:e6
fwe0: if_start running deferred for Giant
sbp0:  on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
atapci0:  port 
0xa400-0xa4ff,0xa000-0xa00f,0x9c00-0x9c03,0x9800-0x9807,0x9400-0x9403,0x9000-0x9007
 
irq 20 at device 15.0 on pc
i0
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
atapci1:  port 
0xa800-0xa80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci1
ata1: channel #1 on atapci1
uhci0:  port 0xac00-0xac1f irq 21 at device 16.0 on 
pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xb000-0xb01f irq 21 at device 16.1 on 
pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xb400-0xb41f irq 21 at device 16.2 on 
pci0
uhci2: [GIANT-LOCKED]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
umass0: USB2.0 CardReader, rev 2.00/91.38, addr 2
uhci3:  port 0xb800-0xb81f irq 21 at device 16.3 on 
pci0
uhci3: [GIANT-LOCKED]
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0:  at device 16.4 (no driver attached)
isab0:  at device 17.0 on pci0
isa0:  on isab0
pci0:  at device 17.5 (no driver attached)
vr0:  port 0xc400-0xc4ff mem 
0xde016000-0xde0160ff irq 23 at device 18.0 on pci0
miibus0:  on vr0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:50:8d:6e:9d:31
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0:  port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on 
acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
pmtimer0 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual console

Re: stupid question

2005-05-19 Thread [EMAIL PROTECTED]
On Thu, 19 May 2005 13:25:25 -0400
"Charles Lamb" <[EMAIL PROTECTED]> wrote:

> How do you change the DNS server your freebsd machine uses?

take a look at /etc/resolv.conf

and : man resolv.conf

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


Re: Shared /usr/ports directories

2005-05-19 Thread Lowell Gilbert
Tony Shadwick <[EMAIL PROTECTED]> writes:

> Does this impact the pkgdb?  To be honest, I don't know where the
> information that pkg_info returns is stored.  :)  Probably should have
> sought this out a long time ago, but hey, I'm lazy.

I'm lazy too, so I won't bother checking first, but I'm nearly certain
you'll find the answer in the FILES section of the pkgdb manual page.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


stupid question

2005-05-19 Thread Charles Lamb
How do you change the DNS server your freebsd machine uses?


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


Re: Tracking down "kern.ipc.maxpipekva exceeded"

2005-05-19 Thread Ewald Jenisch

> 
> I would suggest keeping an eye on kern.ipc.pipekva and trying to
> correlate any changes to the activity on the system at the time.

I've already set this up - and it slowly (over days) is creeping up, e.g.


May 12 18:00:58 CEST 2005: kern.ipc.pipekva: 114688
May 19 19:23:29 CEST 2005: kern.ipc.pipekva: 262144

At least I know what kern.ipc.pipekva is rising but, for me the most
interesting part is, what actually is using up these resources? 

Is there any chance to get hold of the respective process/program?

Regards,
-ewald


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


Re: Shared /usr/ports directories

2005-05-19 Thread Dan Nelson
In the last episode (May 19), Richard Danter said:
> I have several machines running FBSD now. At the moment I have a
> complete ports tree on each machine. I was wondering if it was
> possible to have it all on just one machine and NFS mount it?
> 
> I have already been doing this for the /usr/ports/distfiles
> directory, but had not shared everything else as I was not sure if
> settings from a build on one machine may cause problems when building
> on another machine.
> 
> Each machine has it's own /etc/make.conf with settings such as the
> processor type, so it is important that one build can't effect
> another.

It works great here.  You don't have to worry about settings because
they aren't stored in /usr/ports.  If you want to build ports on
multiple machines at once (and also run a bit faster), set WRKDIRPREFIX
to a local path in /etc/make.conf .

-- 
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: Shared /usr/ports directories

2005-05-19 Thread Richard Danter
Erik Trulsson wrote:
On Thu, May 19, 2005 at 05:39:54PM +0100, Richard Danter wrote:
Hi all,
I have several machines running FBSD now. At the moment I have a 
complete ports tree on each machine. I was wondering if it was possible 
to have it all on just one machine and NFS mount it?

That is certainly possible.

I have already been doing this for the /usr/ports/distfiles directory, 
but had not shared everything else as I was not sure if settings from a 
build on one machine may cause problems when building on another machine.

Each machine has it's own /etc/make.conf with settings such as the 
processor type, so it is important that one build can't effect another.

I would suggest you set WRKDIRPREFIX in /etc/make.conf so that the
files built by the ports system do not get placed under /usr/ports but
somewhere else.
Is it just the object (.o) files that this effects, or all generated 
files? Where do the configurations get saved (for those ports with a 
config menu)?

For example I have 'WRKDIRPREFIX=/var/workdir' in my /etc/make.conf.
That way all the files that are created when you build a port ends up
under /var/workdir rather than under /usr/ports.  If WRKDIRPREFIX is
set to a directory on a local filesystem there will be no way for a
build on one system to affect one on another. You should even be able
to export /usr/ports as read-only.
If it was read-only, where would the source files that usually go into 
/usr/ports/distfiles go? I'd like to only have to download these once too.


(Changing WKRDIRPREFIX also makes it a lot easier and faster to clean
up after building ports. Instead of having to issue a 'make clean' for
each port built, you can just do a 'rm -fr /var/workdir/*' and all the
workdirs will be removed quickly.)
I usually do a 'make install clean' anyway, but it would be good to be 
able to verify everything is actually cleaned.

The other advantage of all this of course is that I would only need to 
do CVSup once and every machine would be up to date.

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


PAWS security vulnerability

2005-05-19 Thread Tim Traver
Hi all,
ok, this article was just published about a PAWS TCP DOS vulnerability, 
and lists freeBSD 4.x as affected.

http://www.securityfocus.com/bid/13676/info/
Does anyone know how to turn the TCP timestamps off on FreeBSD 4.x ?
and is 5.4 affected too ?
Tim.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Determining integrated sound card(?)

2005-05-19 Thread Greg Barniskis
Bill Schoolcraft wrote:
I just got a new box and I'm running 5.4 and it has a generic 
"PC_Chips" M863G motherboard and all I get from dmesg is:

pci0:  at device 2.7 (no driver attached)
I was wondering how to make an educated guess...
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
kldload snd_driver
--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shared /usr/ports directories

2005-05-19 Thread Tony Shadwick
Does this impact the pkgdb?  To be honest, I don't know where the 
information that pkg_info returns is stored.  :)  Probably should have 
sought this out a long time ago, but hey, I'm lazy.

Tony
On Thu, 19 May 2005, Erik Trulsson wrote:
On Thu, May 19, 2005 at 05:39:54PM +0100, Richard Danter wrote:
Hi all,
I have several machines running FBSD now. At the moment I have a
complete ports tree on each machine. I was wondering if it was possible
to have it all on just one machine and NFS mount it?
That is certainly possible.
I have already been doing this for the /usr/ports/distfiles directory,
but had not shared everything else as I was not sure if settings from a
build on one machine may cause problems when building on another machine.
Each machine has it's own /etc/make.conf with settings such as the
processor type, so it is important that one build can't effect another.
I would suggest you set WRKDIRPREFIX in /etc/make.conf so that the
files built by the ports system do not get placed under /usr/ports but
somewhere else.
For example I have 'WRKDIRPREFIX=/var/workdir' in my /etc/make.conf.
That way all the files that are created when you build a port ends up
under /var/workdir rather than under /usr/ports.  If WRKDIRPREFIX is
set to a directory on a local filesystem there will be no way for a
build on one system to affect one on another. You should even be able
to export /usr/ports as read-only.
(Changing WKRDIRPREFIX also makes it a lot easier and faster to clean
up after building ports. Instead of having to issue a 'make clean' for
each port built, you can just do a 'rm -fr /var/workdir/*' and all the
workdirs will be removed quickly.)
--

Erik Trulsson
[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: Shared /usr/ports directories

2005-05-19 Thread Erik Trulsson
On Thu, May 19, 2005 at 05:39:54PM +0100, Richard Danter wrote:
> Hi all,
> 
> I have several machines running FBSD now. At the moment I have a 
> complete ports tree on each machine. I was wondering if it was possible 
> to have it all on just one machine and NFS mount it?

That is certainly possible.

> 
> I have already been doing this for the /usr/ports/distfiles directory, 
> but had not shared everything else as I was not sure if settings from a 
> build on one machine may cause problems when building on another machine.
> 
> Each machine has it's own /etc/make.conf with settings such as the 
> processor type, so it is important that one build can't effect another.

I would suggest you set WRKDIRPREFIX in /etc/make.conf so that the
files built by the ports system do not get placed under /usr/ports but
somewhere else.
For example I have 'WRKDIRPREFIX=/var/workdir' in my /etc/make.conf.
That way all the files that are created when you build a port ends up
under /var/workdir rather than under /usr/ports.  If WRKDIRPREFIX is
set to a directory on a local filesystem there will be no way for a
build on one system to affect one on another. You should even be able
to export /usr/ports as read-only.
(Changing WKRDIRPREFIX also makes it a lot easier and faster to clean
up after building ports. Instead of having to issue a 'make clean' for
each port built, you can just do a 'rm -fr /var/workdir/*' and all the
workdirs will be removed quickly.)


-- 

Erik Trulsson
[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: web-based ldap user administration

2005-05-19 Thread Benjamin J Doherty
On May 19, 2005, at 10:45 AM, Tony Shadwick wrote:
HmI've worked quite a bit with Webmin and Usermin in the past,  
and I've found most problems can be worked around by reconfiguring  
a specific module.
You're right.  I spoke too soon.  Webmin and OpenLDAP can work  
together if you set Webmin to use LDAP MD5 hashing.

Usermin is another ball of wax, but I suspect my PAM configuration is  
to blame.



Re: Limiting Filesizes with /etc/login.conf

2005-05-19 Thread Alex Zbyslaw
James Tucker wrote:
	Yes, your reply does answer my question, quota'ing does seem to
be a solution but I don't want to restrict from users for possessing
multiples of 10MB files. 

	I have already implemented quota's to prevent them from taking
up more than their designated home dir space, although it didn't seem,
from what I have read, that is possible to do much else with the quotas?
 

Then you'll have to do what syadmins have been doing since time immemorial: 
write your own script.
Find over the filesystems you care about looking for files which the parameters 
you care about.  Send mail when you find something, or be nasty and delete the 
file or whatever.  Run it from cron as often as you deem necessary.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: chillispot ?

2005-05-19 Thread Kris Kennaway
On Thu, May 19, 2005 at 06:24:44PM +0200, Frank Bonnet wrote:
> Hello
> 
> Does anyone knows if "chillispot" will be added to the ports
> as the devpt. of "nocat" seems to be stopped .

If someone (perhaps you?) submits the port for inclusion.  See the
Porters' Handbook - it's usually not very hard to make a port, and
it's a great way to contribute to FreeBSD.

Kris


pgp0zF9I1twSf.pgp
Description: PGP signature


Re: PCI-X on FreeBSD vs. PCI-X on Linux

2005-05-19 Thread Vizion
On Wednesday 18 May 2005 14:03,  the author Dwayne MacKinnon contributed to 
the dialogue on PCI-X on FreeBSD vs. PCI-X on Linux:
& Hello,
&
& My company is currently comparing FreeBSD to Linux: specifically FreeBSD
& 4.11-RELEASE to Fedora Core 3.
&
& We're having a difficult time determining whether or not FreeBSD is
 utilizing & the higher speeds of the PCI-X bus.
My understanding is that it does.

The other thing I find interesting is that in my experience most "Linux" 
applications run faster on freebsd using linux emulation that they do on 
linux!  I think this may have something to do with differences in kernel 
overhead.. but you may need to speak to someone with greater technical 
knowlege than I for an explanation.

David
&
& Can anyone specifically state the status of PCI-X support in FreeBSD? The
& state of support in 5.X is fine too. This is a major issue as we determine
& which platform to move forward on.


&
& Note that I do mean PCI-X. I'm aware that PCI-Express is on Scott Long's
& wish-list of things to get implemented.
&
& Cheers,
& DMK
&
& P.S. - Please cc me on all replies.
& ___
& freebsd-questions@freebsd.org mailing list
& http://lists.freebsd.org/mailman/listinfo/freebsd-questions
& To unsubscribe, send any mail to
 "[EMAIL PROTECTED]" &

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May bound for Europe via Panama Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkgdb+portsdb

2005-05-19 Thread Kevin Kinsey
Lowell Gilbert wrote:
Brett Wiggins <[EMAIL PROTECTED]> writes:
 

 I have just done a clean install of 5.2.1 - RELEASE. The only programs I
have installed are cvsup and portupgrade so I can upgrade my system and
ports to 5.4 - STABLE. I have finished the upgrade to 5.4 - STABLE and am
moving onto upgrading ports, I included ports-all tag=. in my supfile to
get the latest ports tree. What I am unsure about is which command I run
first (after backing up /var/db/pkg) pkgdb -F or portsdb -Uu.
   

The latter.  The portupgrade tools will tell you if you need to do the former.
 

Just to add one for your personal understanding, or the archives or whatnot:
Dru steps it through:
   http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

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


Re: Determining integrated sound card(?)

2005-05-19 Thread Kevin Kinsey

Bill Schoolcraft wrote:
Hello Family,
I just got a new box and I'm running 5.4 and it has a generic 
"PC_Chips" M863G motherboard and all I get from dmesg is:

pci0:  at device 2.7 (no driver attached)
I was wondering how to make an educated guess on what driver to try and
load first?
 

Basically:
> echo "snd_driver_load="YES" >> /boot/loader.conf"
> shutdown -r now
This will load all sound drivers on boot, and you'll get
to find out if yours is supported/recognized or not.  See
snd(4).
Or, without rebooting, you might just try to kldload the
sound.ko module ... but I'm not sure what magic you'd
have to do then for testing ...
HTH,
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Shared /usr/ports directories

2005-05-19 Thread Richard Danter
Hi all,
I have several machines running FBSD now. At the moment I have a 
complete ports tree on each machine. I was wondering if it was possible 
to have it all on just one machine and NFS mount it?

I have already been doing this for the /usr/ports/distfiles directory, 
but had not shared everything else as I was not sure if settings from a 
build on one machine may cause problems when building on another machine.

Each machine has it's own /etc/make.conf with settings such as the 
processor type, so it is important that one build can't effect another.

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


Re: Rewinding tapes

2005-05-19 Thread Philip Hallstrom
I've written a small script that backs up data to a tape, rewinds it, then 
reads back the data that was stored as a test.

The problem I've run into is that 'mt rewind' is asynchronous, and subsequent 
tape operations will fail until the rewind operation has finished.

Is there a way to find out when the tape has finished rewinding, or at least 
to rewind synchronously?  The drive is an ATA Seagate STT2401A.
Can you use "mt status"  along with the appropriate *.ctl device?
From the man page...
Print status information about the tape unit.  For SCSI mag- netic 
tape devices, the current operating modes of density, blocksize, and 
whether compression is enabled is reported.  The current state of the 
driver (what it thinks that it is doing with the device) is reported.  If 
the driver knows the relative position from BOT (in terms of filemarks and 
records), it prints that.  Note that this information is not definitive 
(only BOT, End of Recorded Media, and hardware or SCSI logical block 
position (if the drive supports such) are considered definitive tape 
positions).

Or maybe rdspos?
Read SCSI logical block position.  Some drives do not support this.  The 
count argument is ignored.

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


ng_netflow complile problems

2005-05-19 Thread Brian McCann
Hi all.  I've made ng_netflow work on one of my SMP boxes, and now I
need to make it work on a UP box...should be fairly simple.  I'm
trying to compile ng_netflow, and I get the following error:

---
===> ng_netflow
"/usr/share/mk/bsd.man.mk", line 53: bsd.man.mk cannot be included directly.
*** Error code 1

Stop in /root/netflow/ng_netflow-0.2.5-UP.
---

I've grep'ed for "bsd.man.mk" in the Makefiles and all the source and
cannot find it.  Anyone have any ideas here?  I'm at a loss...

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


  1   2   >