Re: 6.0-REL && ports/devel/subversion

2005-12-30 Thread Kent Stewart
On Friday 30 December 2005 11:04 pm, [EMAIL PROTECTED] wrote:
> El día Friday, December 30, 2005 a las 12:17:49PM -0800, Kent Stewart 
escribió:
> > On Friday 30 December 2005 02:39 am, [EMAIL PROTECTED] wrote:
> > > Hi,
> > >
> > > the ports compilation of subversion-1.2.1 failes with:
> > >
> > > subversion/libsvn_ra_dav/commit.c:32:23: ne_socket.h: No such
> > > file or directory subversion/libsvn_ra_dav/commit.c:33:24:
> > > ne_request.h: No such file or directory
> > > subversion/libsvn_ra_dav/commit.c:34:22: ne_props.h: No such file
> > > or directory
> > > subversion/libsvn_ra_dav/commit.c:35:22: ne_basic.h: No such file
> > > or directory
> > >
> > >
> > > it seems that the missing header files are part of
> > > ports/www/neon/ but don't get installed;
> > >
> > > what is the right way to fix this?
> > > Thx
> >
> > Were you using portupgrade or portmanage? They are supposed to
> > automagically take care of problems like that.
> >
> > Sometimes, even if you use them, the build doesn't happen but if
> > you look at the configure messages, you will see it is missing.
> > Since it is in the dependancy list, I would just build neon and try
> > building subversion again.
> >
> > I first would try updating subversion with one of the tools and see
> > if it is fixed for you.
>
> I deinstalled ports/www/neon/ and installed it again; now it placed
> the header files and the ports/devel/subversion went fine; I don't
> know why it did not automatically in the process started by 'make
> install' in ports/x11/kde :-((
>
> I had one or two PANIC's during the makes and while I was copying
> over my homeland from the older notebook, maybe the later fsck
> removed the just installed header files;
>
> with the PANIC's I still have to work out, what's going on; I can
> now reproduce them by:
>
> - booting into normal runlevel
> - login as root and than
>   # kldload kqemu
>   # kldstat
>   # su - user --> PANIC
>
> Any hints on that?

Boot to single user and fsck your system. It sounds like you have some 
bad sectors. If the fsck removed anything you just added such as header 
files, you could have problems like you saw. FreeBSD will do a 
background fsck but sometimes you need to do it in the foreground. 

With a release, any panic is important. They just don't happen unless 
something is wrong. Portupgrade or portmanage can reduce the chances of 
building modules out of order. If you build them manually out of order, 
problems like the one you saw with neon can happen.

If it is software, you can back out ports that you load until you don't 
have problems.

A panic can happen with the ?-stables and that is why you boot to the 
new kernel is single user mode. Recovery is trivial until you have done 
an installworld.

Kent

>
> > "Nunca te acostarás sin saber una cosa más"
> > http://users.owt.com/kstewart/index.html
>
> off-topic:
>
> Tu frase de firma me llamó la atención :-)
> Tengo otra en castellano también y unas páginas pa' ti
> http://www.sisis.de/~guru/Espanol/list.html
>
>   matthias

-- 
Kent Stewart
Richland, WA

"Nunca te acostarás sin saber una cosa más"
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]"


Re: forwarding http requests with ipfw

2005-12-30 Thread Robert Collins


- Original Message - 
From: "Glenn Dawson" <[EMAIL PROTECTED]>
To: "Robert Collins" <[EMAIL PROTECTED]>; 


Sent: Saturday, December 31, 2005 1:46 AM
Subject: Re: forwarding http requests with ipfw



At 10:34 PM 12/30/2005, Robert Collins wrote:

At 09:07 PM 12/30/2005, Robert Collins wrote:
I've got a situation where I've got an internal host using a private 
ip/domainname. Let's say for the sake of this discussion the host is 
privatehost.internal.freebsd.org. privatehost isn't running a webserver. 
But I would like machines on the internal.freebsd.org network to query 
privatehost as if it was. When one of these machines queries privatehost 
I would like privatehost to forward those requests to my webserver, 
www.freebsd.org, so that it can handle the request. In order to 
accomplish that I have done the following:


My kernel was compiled with these options:
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_FORWARD_EXTENDED


"ipfw list" looks like this:
00100 allow ip from any to any via lo0
00110 deny ip from any to 127.0.0.0/8
00120 deny ip from 127.0.0.0/8 to any
1 fwd 216.136.204.117 tcp from any to me dst-port 80
65000 allow ip from any to any
65535 deny ip from any to any

The problem I am having is that it seems the packets never leave 
privatehost. tcpdump shows packets coming in destined for port 80. "ipfw 
show" shows that packets are matching my rule, but tcpdump never shows 
any packets going out to 216.136.204.117. tcpdump on 216.136.204.117 
also shows that no packets are being recieved. I did a tcpdump on lo0 
just for kicks, and that didn't show anything. It seems as if the 
packets are just disappearing. Someone on #freebsdhelp suggested doing a 
"sysctl -w net.inet.ip.forwarding=1" but that didn't help the situation. 
Is there something minor I'm missing here...or am I totally off in my 
understanding of how "ipfw fwd" works?


To quote the ipfw man page:

"The fwd action does not change the contents of the packet at all.  In 
particular, the destination address remains unmodified, so packets 
forwarded to another system will usually be rejected by that system 
unless there is a matching rule on that system to capture them."


You probably need to re-think what you are trying to do.


My understanding of this portion of the man page is that the machine 
receiving the packet, in this case www.freebsd.org, needs to be prepared 
to recive a packet whose destination address is not it's own. If I am 
correct in my interpretation then this part of the man page is irrelivent 
to my problem. My question is not, why is www.freebsd.org not receiving 
the packet. My question is, why is privatehost.internal.freebsd.org not 
sending the packet.


What tcpdump rules are you using to look for packets leaving 
"privatehost"?  Same question for packets arriving at 216.136.204.117?




On both machines I tried "tcpdump -n port 80". "privatehost" says:

02:15:32.542383 IP 10.1.35.10.1732 > 10.1.35.72.80: S 
2200576146:2200576146(0) win 65535 


There is no output for 216.136.204.117. I've also tried " tcpdump -n host 
216.136.204.117" on privatehost. That rule doesn't produce any output.


-rcollins 


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


Re: 6.0-REL && ports/devel/subversion

2005-12-30 Thread guru
El día Friday, December 30, 2005 a las 12:17:49PM -0800, Kent Stewart escribió:

> On Friday 30 December 2005 02:39 am, [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > the ports compilation of subversion-1.2.1 failes with:
> >
> > subversion/libsvn_ra_dav/commit.c:32:23: ne_socket.h: No such file or
> > directory subversion/libsvn_ra_dav/commit.c:33:24: ne_request.h: No
> > such file or directory subversion/libsvn_ra_dav/commit.c:34:22:
> > ne_props.h: No such file or directory
> > subversion/libsvn_ra_dav/commit.c:35:22: ne_basic.h: No such file or
> > directory
> >
> >
> > it seems that the missing header files are part of
> > ports/www/neon/ but don't get installed;
> >
> > what is the right way to fix this?
> > Thx
> >
> 
> Were you using portupgrade or portmanage? They are supposed to 
> automagically take care of problems like that.
> 
> Sometimes, even if you use them, the build doesn't happen but if you 
> look at the configure messages, you will see it is missing. Since it is 
> in the dependancy list, I would just build neon and try building 
> subversion again. 
> 
> I first would try updating subversion with one of the tools and see if 
> it is fixed for you.

I deinstalled ports/www/neon/ and installed it again; now it placed
the header files and the ports/devel/subversion went fine; I don't
know why it did not automatically in the process started by 'make install'
in ports/x11/kde :-((

I had one or two PANIC's during the makes and while I was copying over
my homeland from the older notebook, maybe the later fsck removed
the just installed header files;

with the PANIC's I still have to work out, what's going on; I can
now reproduce them by:

- booting into normal runlevel
- login as root and than
  # kldload kqemu 
  # kldstat
  # su - user --> PANIC

Any hints on that?


> "Nunca te acostarás sin saber una cosa más"
> http://users.owt.com/kstewart/index.html

off-topic:

Tu frase de firma me llamó la atención :-)
Tengo otra en castellano también y unas páginas pa' ti
http://www.sisis.de/~guru/Espanol/list.html

matthias

-- 
http://www.sisis.de/~guru/
«Hace falta una carga para matar bribones,
 para acabar la obra de las revoluciones.»
[del poema Mensaje Lírico Civil, Rubén Martínez Villena]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: forwarding http requests with ipfw

2005-12-30 Thread Glenn Dawson

At 10:34 PM 12/30/2005, Robert Collins wrote:

At 09:07 PM 12/30/2005, Robert Collins wrote:
I've got a situation where I've got an internal host using a 
private ip/domainname. Let's say for the sake of this discussion 
the host is privatehost.internal.freebsd.org. privatehost isn't 
running a webserver. But I would like machines on the 
internal.freebsd.org network to query privatehost as if it was. 
When one of these machines queries privatehost I would like 
privatehost to forward those requests to my webserver, 
www.freebsd.org, so that it can handle the request. In order to 
accomplish that I have done the following:


My kernel was compiled with these options:
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_FORWARD_EXTENDED


"ipfw list" looks like this:
00100 allow ip from any to any via lo0
00110 deny ip from any to 127.0.0.0/8
00120 deny ip from 127.0.0.0/8 to any
1 fwd 216.136.204.117 tcp from any to me dst-port 80
65000 allow ip from any to any
65535 deny ip from any to any

The problem I am having is that it seems the packets never leave 
privatehost. tcpdump shows packets coming in destined for port 80. 
"ipfw show" shows that packets are matching my rule, but tcpdump 
never shows any packets going out to 216.136.204.117. tcpdump on 
216.136.204.117  also shows that no packets are being recieved. I 
did a tcpdump on lo0 just for kicks, and that didn't show 
anything. It seems as if the packets are just disappearing. 
Someone on #freebsdhelp suggested doing a "sysctl -w 
net.inet.ip.forwarding=1" but that didn't help the situation. Is 
there something minor I'm missing here...or am I totally off in my 
understanding of how "ipfw fwd" works?


To quote the ipfw man page:

"The fwd action does not change the contents of the packet at 
all.  In particular, the destination address remains unmodified, so 
packets forwarded to another system will usually be rejected by 
that system unless there is a matching rule on that system to capture them."


You probably need to re-think what you are trying to do.


My understanding of this portion of the man page is that the machine 
receiving the packet, in this case www.freebsd.org, needs to be 
prepared to recive a packet whose destination address is not it's 
own. If I am correct in my interpretation then this part of the man 
page is irrelivent to my problem. My question is not, why is 
www.freebsd.org not receiving the packet. My question is, why is 
privatehost.internal.freebsd.org not sending the packet.


What tcpdump rules are you using to look for packets leaving 
"privatehost"?  Same question for packets arriving at 216.136.204.117?


-Glenn



___
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: forwarding http requests with ipfw

2005-12-30 Thread Robert Collins

At 09:07 PM 12/30/2005, Robert Collins wrote:
I've got a situation where I've got an internal host using a private 
ip/domainname. Let's say for the sake of this discussion the host is 
privatehost.internal.freebsd.org. privatehost isn't running a webserver. 
But I would like machines on the internal.freebsd.org network to query 
privatehost as if it was. When one of these machines queries privatehost I 
would like privatehost to forward those requests to my webserver, 
www.freebsd.org, so that it can handle the request. In order to accomplish 
that I have done the following:


My kernel was compiled with these options:
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_FORWARD_EXTENDED


"ipfw list" looks like this:
00100 allow ip from any to any via lo0
00110 deny ip from any to 127.0.0.0/8
00120 deny ip from 127.0.0.0/8 to any
1 fwd 216.136.204.117 tcp from any to me dst-port 80
65000 allow ip from any to any
65535 deny ip from any to any

The problem I am having is that it seems the packets never leave 
privatehost. tcpdump shows packets coming in destined for port 80. "ipfw 
show" shows that packets are matching my rule, but tcpdump never shows any 
packets going out to 216.136.204.117. tcpdump on 216.136.204.117  also 
shows that no packets are being recieved. I did a tcpdump on lo0 just for 
kicks, and that didn't show anything. It seems as if the packets are just 
disappearing. Someone on #freebsdhelp suggested doing a "sysctl -w 
net.inet.ip.forwarding=1" but that didn't help the situation. Is there 
something minor I'm missing here...or am I totally off in my understanding 
of how "ipfw fwd" works?


To quote the ipfw man page:

"The fwd action does not change the contents of the packet at all.  In 
particular, the destination address remains unmodified, so packets 
forwarded to another system will usually be rejected by that system unless 
there is a matching rule on that system to capture them."


You probably need to re-think what you are trying to do.


My understanding of this portion of the man page is that the machine 
receiving the packet, in this case www.freebsd.org, needs to be prepared to 
recive a packet whose destination address is not it's own. If I am correct 
in my interpretation then this part of the man page is irrelivent to my 
problem. My question is not, why is www.freebsd.org not receiving the 
packet. My question is, why is privatehost.internal.freebsd.org not sending 
the packet.


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


Re: BSD Question's.

2005-12-30 Thread Michael Vince
If you want to try an different Desktop replacement OS over Windows XP I 
would say you would have better luck with something like Linspire.


But the truth is there isn't much difference at all between any Linux 
distribution or FreeBSD and when I see the latest Linux review on some 
of those so called professional OS review sites I sometimes laugh my ass 
off, heres why.


Firstly they give you screen shots of the latest KDE, this always makes 
chuckle since KDE is KDE, its the same on any OS even in Windows XP, why 
bother doing it at all, it just shows that these reviews aren't reviews 
of the OS at all rather then just reviewing free software you can 
install on anything.
Then they show you screen shots of other things such as Gaim, and 
various multimedia players, OpenOffice etc, all of them that do work in 
FreeBSD as well.


When you review an OS thats built on OTHER peoples free software you 
don't really have much to show at all.


Normally the only differences are the installer / configurator and the 
package management system. It could be RPM, debian or gentoo based.  Or 
some other system thats ultimately just as a tarball with a few text 
files in them to allow you to know what it is and its dependencies.
These are the only things that most open source based OS's have to show 
thats any different, and the day I see an "OS" review that just shows 
you there package management system and there installer/configurator 
then I know why are looking at a proper free software OS review.


I use FreeBSD as my desktop on my Laptop as its best for me because I 
connect to a lot of Unix boxes via ssh, and to me when you spend a lot 
of time dealing with Unix servers then the best way to deal with them is 
via Unix its self. (BTW when I say Unix I mean it in the generic way 
just like Apple and most non-lost people do. 
http://apple.slashdot.org/article.pl?sid=03/06/11/2231244&tid=130&tid=3 )


The reason I use FreeBSD as my desktop is that I believe I have the most 
flexibility via cvsup and ports, but this comes at the cost of more 
manual configuration.
I can install/upgrade the latest KDE with a simple command like below, 
and I can also easily deal with any problems it puts in front of me, but 
others can't, this would be the biggest problem for new users.

portupgrade -N /usr/ports/x11/kde3

If you not comfortable with that then you need something more auto magic 
like Linspire but face the fact you might not have an easy upgrade path 
or even have one at all.
I enjoy using the latest versions of all the free software that is 
available to a free OS such as FreeBSD or Linux and don't like being 
stuck on old versions.
Windows XP is the result of years of investment (billion $) and work at 
MS and you dont hear people complain about it nearly as much as older 
versions of Windows, this is due to a variety of reasons from the need 
for high end hardware vs stable OS.  You can even download white 
papers/benchmarks from MS saying how it takes 10million CPU cycles to 
load a single simple process over it taking 900,000 CPU cycles on 
FreeBSD and 2million in Linux and MS will explain to you why their OS is 
better then the others in every way but its always up to you.


Mike


Daniel A. wrote:


Hi Andy,

I am sorry for the trouble you have had with Windows XP.

I suggest that you use Linux, as FreeBSD really is not targeted at
people who want to use graphical user interfaces.
The linux developers really have been trying to make a valuable
replacement for Windows, as they somehow have experienced the same
issues with Windows (And Microsoft products in general) that you have.

One Linux distribution in particular that I think you might like, is
Ubuntu. You can download it at http://www.ubuntulinux.org/, or order a
CD (Free shipping, free CD, you pay nothing).


On 12/24/05, Andy Sjostrom <[EMAIL PROTECTED]> wrote:
 


To whom this may concern,
H-E-L-P!
LOL!
I've been online since 1992( the windows 3.1 days for me.) I'm 48 yrs.old. and 
also a windows XP
user.
Because of recent issue I have had with Mr. William Gates and his product.
about every 6 months I have had to overhaul my windows XP. during the last up 
grade I was told
that my XP product code was invaild, then when is made the repair up grades 
something in my
registory changed, and when that auto updater downloaded the new security 
patches it somehow
downloaded 2969 trojans as well.

I have decided to start the search for a new OS.
In my case the new OS must be completely 100 percent user friendly.
Please bare in mind that 100 percent means "NO CODE" writting. I'm not a 
programer...LOL!
I run a very small one man company at,
http://www.geocities.com/andy_sjostrom/index.html

From time to time I also like to rip and burn a CD as well,
Publish articles to my yahoo 360 blog. edit a few images from time to to time.
surf the net, copy and paste, chat with friends in my favorite yahoo chat room.
fold protiens for the [EMAIL PROTECTED] project at stan

Re: forwarding http requests with ipfw

2005-12-30 Thread Glenn Dawson

At 09:07 PM 12/30/2005, Robert Collins wrote:
I've got a situation where I've got an internal host using a private 
ip/domainname. Let's say for the sake of this discussion the host is 
privatehost.internal.freebsd.org. privatehost isn't running a 
webserver. But I would like machines on the internal.freebsd.org 
network to query privatehost as if it was. When one of these 
machines queries privatehost I would like privatehost to forward 
those requests to my webserver, www.freebsd.org, so that it can 
handle the request. In order to accomplish that I have done the following:


My kernel was compiled with these options:
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_FORWARD_EXTENDED


"ipfw list" looks like this:
00100 allow ip from any to any via lo0
00110 deny ip from any to 127.0.0.0/8
00120 deny ip from 127.0.0.0/8 to any
1 fwd 216.136.204.117 tcp from any to me dst-port 80
65000 allow ip from any to any
65535 deny ip from any to any

The problem I am having is that it seems the packets never leave 
privatehost. tcpdump shows packets coming in destined for port 80. 
"ipfw show" shows that packets are matching my rule, but tcpdump 
never shows any packets going out to 216.136.204.117. tcpdump on 
216.136.204.117  also shows that no packets are being recieved. I 
did a tcpdump on lo0 just for kicks, and that didn't show anything. 
It seems as if the packets are just disappearing. Someone on 
#freebsdhelp suggested doing a "sysctl -w net.inet.ip.forwarding=1" 
but that didn't help the situation. Is there something minor I'm 
missing here...or am I totally off in my understanding of how "ipfw fwd" works?


To quote the ipfw man page:

"The fwd action does not change the contents of the packet at 
all.  In particular, the destination address remains unmodified, so 
packets forwarded to another system will usually be rejected by that 
system unless there is a matching rule on that system to capture them."


You probably need to re-think what you are trying to do.

-Glenn



Thanks
-rcollins
___
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]"


Need Assistance Upgrading Ethereal-0.10.13_3 to 0.10.14

2005-12-30 Thread Robert H. Perry

FreeBSD sphinx.my.domain 5.4-RELEASE FreeBSD 5.4-RELEASE #0:

Ran into the following error while running portupgrade on ethereal:

==> applying extra patch 
/usr/ports/net/ethereal/files/extra-patch-capture_loop.c

***Error code 1

Stop in usr/ports/net/ethereal.
Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade43330.26 make

** Fix the problem and try again.

The recommendation "Fix the problem and try again."
seems relatively straightforward, however...
Is this an error I should know how to easily fix?  Please advise.

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


Re: Help me

2005-12-30 Thread Daniel A.
Isn't "stable" supposed to mean that it's "feature-stable", as in
"We've discontinued implementing new features to this kernel, and are
fixing bugs"?
On 12/30/05, Pavel Duda <[EMAIL PROTECTED]> wrote:
> Mohammed Arab wrote:
> > Hi,
> >
> >
> >
> >   I would like to get some information from you regarding freebsd system,
> > really is very confuse to know which one is stable system when i went to
> > site i found many freebsd system one is called stable and another one is
> > current and release. Can you please explain me on this topic and which one i
> > have to choice. I am interesting to know everything about this system.
> >
>
> In short :
> release - is something you want for your production system
> stable - is something you can use too without much worry - it should be
> "stable" right ? :-)
> current - is for brave people who like to spend nights to figure out
> what the hell is going on with their system and fight with all those
> mysterious kernel panics..
>
> For start you should use at least stable version, you can always mess up
>   your system by switching to current :-D
>
>
> > Also there is no GUI Graphics on freebsd and why I have manually install
> > and configure video graphics also. can you help me and give me the
> > instruction how to setup VGA CARD.
> >
>
> I think that you should start here:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
> You will find there most answers to your questions and if something goes
> wrong you can always come here for advice.
>
>
> Welcome to FreeBSD world !!!
>
> Pavel
>
> >
> > I am waiting for your reply.
> >
> > Thanks,
> > Mohammed Arab
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: I just can't find GCJ on my FreeBSD 6 box

2005-12-30 Thread Micah

Jon Brisbin wrote:

I installed GCC 4.1 twice, thinking I just missed it. I can't find any
of the gcj tools on my BSD 6 box. I made extra double sure that Java was
compiled into GCC, but the gcj tools are nowhere to be found.

Am I doing something wrong? I'm trying to follow the instructions here:

http://developer.classpath.org/mediation/ClasspathShowcase#head-7d9a556e8485fc84fd5ce0e52be6104d85e24316

I have this in 4.1 on my PowerBook, but I can't find the darn thing on
BSD. Where is it? How can I use gcj on BSD? Can I?

Thanks!

Jon Brisbin
Webmaster
NPC International, Inc.



From Makefile:
# FIXME: As of 20051202, installing libgcj nearly kills 1GB machines.
WITHOUT_JAVA=   yes

In other words java has been disabled until they fix it.  You can try 
commenting the line out, but I'm not sure I'd want to "nearly kill" my 
machine.


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


forwarding http requests with ipfw

2005-12-30 Thread Robert Collins
I've got a situation where I've got an internal host using a private 
ip/domainname. Let's say for the sake of this discussion the host is 
privatehost.internal.freebsd.org. privatehost isn't running a webserver. But 
I would like machines on the internal.freebsd.org network to query 
privatehost as if it was. When one of these machines queries privatehost I 
would like privatehost to forward those requests to my webserver, 
www.freebsd.org, so that it can handle the request. In order to accomplish 
that I have done the following:


My kernel was compiled with these options:
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_FORWARD_EXTENDED


"ipfw list" looks like this:
00100 allow ip from any to any via lo0
00110 deny ip from any to 127.0.0.0/8
00120 deny ip from 127.0.0.0/8 to any
1 fwd 216.136.204.117 tcp from any to me dst-port 80
65000 allow ip from any to any
65535 deny ip from any to any

The problem I am having is that it seems the packets never leave 
privatehost. tcpdump shows packets coming in destined for port 80. "ipfw 
show" shows that packets are matching my rule, but tcpdump never shows any 
packets going out to 216.136.204.117. tcpdump on 216.136.204.117  also shows 
that no packets are being recieved. I did a tcpdump on lo0 just for kicks, 
and that didn't show anything. It seems as if the packets are just 
disappearing. Someone on #freebsdhelp suggested doing a "sysctl -w 
net.inet.ip.forwarding=1" but that didn't help the situation. Is there 
something minor I'm missing here...or am I totally off in my understanding 
of how "ipfw fwd" works?


Thanks
-rcollins 


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


Script in /usr/local/etc/rc.d doesn't run

2005-12-30 Thread Francisco Reyes

I have one script in /usr/local/etc/rc.d that doesn't run. Any ideas why?
It is marked as executable

ls -l /usr/local/etc/rc.d/
-r-xr-xr-x  1 root  wheel   441B Dec 30 20:36 start-program.sh


The script is just:

#!/bin/sh

log="/var/log/program.log"
echo ->>$log
/bin/date >>$log
echo Entering program.sh >>$log

case "$1" in
   start)
   echo Starting program
   echo = >>$log
   echo Starting program >>$log
   /home/root/bin/archivec.pl >> $log
   echo beyond program call >> $log
   ;;
   stop)
   echo No Stopping procedure yet
   ;;
   *)
   echo Need parameter
   echo Valid parameter: start
   ;;
esac


A couple of times the log was written to.. although the script was not run.. 
but afterwards not even the log was changed.. as if the program did not get 
run at all.


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


Re: nfs server overload (nfsd)

2005-12-30 Thread Kris Kennaway
On Thu, Dec 29, 2005 at 11:19:10AM +0100, Angel Blazquez wrote:
> Hello,
> 
> We are expecting incredible overload in a NFS server. A top shows nfsd
> consuming most of the CPU:
> 
> PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
> 6000 root  -80  1204K   660K biord  1 124:15 27.88% 27.88% nfsd
> 6002 root   40  1204K   660K *Giant 0 124:18 17.58% 17.58% nfsd
> 6006 root   40  1204K   660K *Giant 0 123:38 10.21% 10.21% nfsd
> 6005 root   40  1204K   660K *Giant 0 123:36  7.47%  7.47% nfsd
> 6003 root   40  1204K   660K *Giant 0 123:08  4.15%  4.15% nfsd
> 6001 root   40  1204K   660K *Giant 0 123:16  2.83%  2.83% nfsd
> 
> Memory looks fine:
> 
> Mem: 27M Active, 910M Inact, 136M Wired, 51M Cache, 112M Buf, 1828K Free
> Swap: 2048M Total, 72K Used, 2048M Free
> 
> Typing in the nfs server (console/ssh) becomes terrible, the server does
> not reply well.
> 
> We are running this nfs server in FreeBSD 5.3-RELEASE-p23 on a Compaq
> Proliant server with a Compaq Smart Array 5300 that comunicates with a
> array of disks:

You will experience *much* better performance if you upgrade to 6.0.

Kris


pgpo1hYcKaQ0M.pgp
Description: PGP signature


Re: Fwd: Obtaining an @freebsd.org email address.

2005-12-30 Thread Kris Kennaway
On Sat, Dec 31, 2005 at 05:44:07AM +0100, Daniel A. wrote:

> > > "If you wish to use FreshPorts, all you need is an account. If your 
> > > registered
> > > email address is @FreeBSD.org, you will see the opt-in link on the right 
> > > hand
> > > side of the webpages. For those of you who already have a FreshPorts 
> > > account,
> > > but are not using your @FreeBSD.org email address, just change your email 
> > > to
> > > @FreeBSD.org, subscribe, then change it back again."
> >
> > I have no idea what this quote is trying to say, so I don't think I
> > can clarify it for you.

The text is directed towards people with freebsd.org accounts,
i.e. committers, for whom special features (syntax checking feedback
for port commits) are available from freshports.

Kris


pgpPFc0LiItzG.pgp
Description: PGP signature


Linksys PAP2 with FreeBSD...

2005-12-30 Thread Forrest Aldrich

Anyone here use the PAP2 on FreeBSD.. perhaps with isc-dhcpd.

I plug it in and, despite whatever I configure it to be, it wants to 
take over the RFC LAN (systems stop routing/responding).


I'm gonna continue cracking away at it, but figured I'd ask if someone 
has seen this problem, etc.



Thanks.

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


Fwd: Obtaining an @freebsd.org email address.

2005-12-30 Thread Daniel A.
*Tongue in cheek*

Maybe you're supposed to register using [EMAIL PROTECTED] so
everyone knows your password?
On 12/31/05, Colin Percival <[EMAIL PROTECTED]> wrote:
> Kevin Brunelle wrote:
> > Does anyone know what the requirements for a freebsd.org email address are?
>
> Except in very unusual circumstances, @freebsd.org email addresses are
> only available to committers.
>
> > I have read the following from the porter's handbook
> > ( 
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/keeping-up.html
> >  )
> >
> > "If you wish to use FreshPorts, all you need is an account. If your 
> > registered
> > email address is @FreeBSD.org, you will see the opt-in link on the right 
> > hand
> > side of the webpages. For those of you who already have a FreshPorts 
> > account,
> > but are not using your @FreeBSD.org email address, just change your email to
> > @FreeBSD.org, subscribe, then change it back again."
>
> I have no idea what this quote is trying to say, so I don't think I
> can clarify it for you.
>
> Colin Percival
> ___
> 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: Using SCHED_ULE vs. SCHED_4BSD ...

2005-12-30 Thread Kris Kennaway
On Thu, Dec 29, 2005 at 12:21:00PM +0100, Kiffin Gish wrote:
> I recently upgraded from 5.4 to 6.0 and noticed the introduction of
> option SCHED_ULE for supporting multi-processor environments.
> 
> However, I understood that using SCHED_ULE with only one CPU can also
> improve performance significantly.
> 
> Is this true, and if so, what are the risks involved dropping good old
> SCHED_4BSD for the new-and-improved scheduler?

The risks are that you system will perform 10-20% slower under load,
and may sometimes panic or spontaneously reboot.

In other words: ULE is not production-ready.  This may of course
change at a later date.

Kris


pgpm9tWaLtLfu.pgp
Description: PGP signature


Re: I just can't find GCJ on my FreeBSD 6 box

2005-12-30 Thread Kris Kennaway
On Thu, Dec 29, 2005 at 04:09:46PM -0600, Jon Brisbin wrote:
> I installed GCC 4.1 twice, thinking I just missed it. I can't find any
> of the gcj tools on my BSD 6 box. I made extra double sure that Java was
> compiled into GCC, but the gcj tools are nowhere to be found.
> 
> Am I doing something wrong? I'm trying to follow the instructions here:
> 
> http://developer.classpath.org/mediation/ClasspathShowcase#head-7d9a556e8485fc84fd5ce0e52be6104d85e24316
> 
> I have this in 4.1 on my PowerBook, but I can't find the darn thing on
> BSD. Where is it? How can I use gcj on BSD? Can I?

Look at the port makefile..you might need to enable it specifically,
or maybe it is disabled in that release.

Kris


pgpHZjdimtsVR.pgp
Description: PGP signature


Re: 6.0-REL && isos of distfiles

2005-12-30 Thread Kris Kennaway
On Thu, Dec 29, 2005 at 05:10:25PM +0100, [EMAIL PROTECTED] wrote:

> My point was that I don't have a fast Internet link at home to fetch all
> the (new) sources for the distfiles and I was looking for distfiles on
> CD which match exactly the 6.0-REL ports collection requirements;

Since the full set of distfiles is something like 15GB, hoping for a
CD that contains them is .. ambitious :-)

Kris


pgpTSsScu3lC7.pgp
Description: PGP signature


rpc.lockd snatches all priviledged udp ports

2005-12-30 Thread Palle Girgensohn

Hi,

An NFS server running FreeBSD 4.10 sometimes have the problem that all UDP 
ports below 1024 are used by rpc.lockd. This is not a high load server, 
really, it serves and handful workstations and should really cope. Is it so 
that rpc.lockd needs a port for each file, or else what is happening?


I found a discussion on -current from Jan 2004 about this, but I couldn't 
find that the problem was acutually solved? 
 
Seems to be a problem with rebooting clients?


BTW, can I easily "flush" the lock daemon to get some ports back? It seems 
hard to restart the lock daemon - I once tried but gave up and ended up 
rebooting the system. There must be a better way?


Anyone knows if this is fixed in 6.0?

thx
Palle

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


RE: ipnat -CF -f /etc/ipnat.rules

2005-12-30 Thread Ruben Bloemgarten
Hi Caleb, 

Add ipfs_enable="YES".

Regards, 
Ruben 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of caleb
Sent: December 31, 2005 3:16 AM
To: freebsd-questions@freebsd.org
Subject: ipnat -CF -f /etc/ipnat.rules

Hi everyone,
I have just put together a router/firewall using 5.4 RELEASE 
and IPFILTER. Everything is working fine except I have to manually flush 
the NAT table every time the router boots. below is my rc.conf and 
ipnat.rules, I have used rc.conf to start everything at boot;

/* rc.conf */

gateway_enable="YES"
sshd_enable="YES"
ifconfig_rl1="inet 10.0.0.1 netmask 255.255.255.0"
ifconfig_rl0="inet 192.168.0.1 netmask 255.255.255.0"
hostname="tweak"
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipmon_enable="YES"
ipmon_flags="-Ds"
ipnat_enable="YES"
ipnat_rules="/etc/ipnat.rules"
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"
ppp_profile="netspace"
ppp_user="root"

/* ipnat.rules */

map tun0 192.168.0.0/24 -> 0/32


Is there something I am missing? I do not think it is ipf, as I have 
configured it to allow everything in and out. Could you please CC me if 
you decide to help.

Thankyou,

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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005
 

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


Re: Obtaining an @freebsd.org email address.

2005-12-30 Thread Colin Percival
Kevin Brunelle wrote:
> Does anyone know what the requirements for a freebsd.org email address are?

Except in very unusual circumstances, @freebsd.org email addresses are
only available to committers.

> I have read the following from the porter's handbook 
> ( 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/keeping-up.html
>  )
> 
> "If you wish to use FreshPorts, all you need is an account. If your 
> registered 
> email address is @FreeBSD.org, you will see the opt-in link on the right hand 
> side of the webpages. For those of you who already have a FreshPorts account, 
> but are not using your @FreeBSD.org email address, just change your email to 
> @FreeBSD.org, subscribe, then change it back again."

I have no idea what this quote is trying to say, so I don't think I
can clarify it for you.

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


ipnat -CF -f /etc/ipnat.rules

2005-12-30 Thread caleb

Hi everyone,
   I have just put together a router/firewall using 5.4 RELEASE 
and IPFILTER. Everything is working fine except I have to manually flush 
the NAT table every time the router boots. below is my rc.conf and 
ipnat.rules, I have used rc.conf to start everything at boot;


/* rc.conf */

gateway_enable="YES"
sshd_enable="YES"
ifconfig_rl1="inet 10.0.0.1 netmask 255.255.255.0"
ifconfig_rl0="inet 192.168.0.1 netmask 255.255.255.0"
hostname="tweak"
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipmon_enable="YES"
ipmon_flags="-Ds"
ipnat_enable="YES"
ipnat_rules="/etc/ipnat.rules"
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"
ppp_profile="netspace"
ppp_user="root"

/* ipnat.rules */

map tun0 192.168.0.0/24 -> 0/32


Is there something I am missing? I do not think it is ipf, as I have 
configured it to allow everything in and out. Could you please CC me if 
you decide to help.


Thankyou,

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


Obtaining an @freebsd.org email address.

2005-12-30 Thread Kevin Brunelle
Does anyone know what the requirements for a freebsd.org email address are?  I 
have looked but I can't seem to find a link to them nor a description of who 
I would contact concerning this.

I have read the following from the porter's handbook 
( 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/keeping-up.html
 )

"If you wish to use FreshPorts, all you need is an account. If your registered 
email address is @FreeBSD.org, you will see the opt-in link on the right hand 
side of the webpages. For those of you who already have a FreshPorts account, 
but are not using your @FreeBSD.org email address, just change your email to 
@FreeBSD.org, subscribe, then change it back again."

This seems to imply that
1) I need an @freebsd.org email address to fully utilize the site
2) I should be able to get an @freebsd.org email address for being a port 
maintainer.

My implications could be wrong so if anyone could point me in the right 
direction here (for clarification or who I should contact) it would be 
greatly appreciated.

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


Re: One hour offset with smbfs

2005-12-30 Thread Antony Mawer

On 31/12/2005 10:16 AM, Gilbert Cao wrote:

I just ran into a small problem with modification time with smbfs :
My smb client machine is a FreeBSD 6.0 with GMT+1.
My smb server machine is a FreeBSD 5.4 with also GMT+1.

I have noticed a one hour offset between a file's modification time when
I `ls -l file` from the smb client machine and the same file's
modification time when I `ls -l file` from the smb server machine.
That file stands in a smb shared directory, on the smb server.

More, I have noticed this, only for a datetime like 1st April, 2005.
For a datetime like 1st December 2005, the problem does not occur.

For example,
from the smb client side, I see a modification time of
2005-04-01 00:00:00, and
from the smb server side, I see a modification time of
2005-03-31 23:00:00.

When I do a `touch -t 20050401.00 file` from the smb server side,
I see 2005-04-01 01:00:00, from the smb client side.
When I do a `touch -t 20050401.00 file` from the smb client side,
I see 2005-03-31 23:00:00, from the smb server side.

It seems that it is only a matter with summer time.

Anyone know if something can be done about this ?
I guess the problem is on the smbfs client side ...


This appears to be a problem with smbfs when dealing with timestamps in 
daylight savings time (or summer time, as you refer to it). I looked 
into it briefly, and from what I read it seems the kernel is divorced of 
knowing anything about daylight savings time (only a boolean value 
indicating whether or not it is currently daylight savings or not is 
maintained).


This means when times from the SMB server are translated, the kernel 
can't adjust the date/time stamps to compensate for the DST offset, as 
it doesn't know what the offset is... (not everwhere uses an hour 
difference for DST)


I'd love for someone to correct me and tell me that there's an easy way 
to fix this issue -- this was just my deduction after a brief look into 
the matter.


Cheers
Antony

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


One hour offset with smbfs

2005-12-30 Thread Gilbert Cao
Hi,

I just ran into a small problem with modification time with smbfs :
My smb client machine is a FreeBSD 6.0 with GMT+1.
My smb server machine is a FreeBSD 5.4 with also GMT+1.

I have noticed a one hour offset between a file's modification time when
I `ls -l file` from the smb client machine and the same file's
modification time when I `ls -l file` from the smb server machine.
That file stands in a smb shared directory, on the smb server.

More, I have noticed this, only for a datetime like 1st April, 2005.
For a datetime like 1st December 2005, the problem does not occur.

For example,
from the smb client side, I see a modification time of
2005-04-01 00:00:00, and
from the smb server side, I see a modification time of
2005-03-31 23:00:00.

When I do a `touch -t 20050401.00 file` from the smb server side,
I see 2005-04-01 01:00:00, from the smb client side.
When I do a `touch -t 20050401.00 file` from the smb client side,
I see 2005-03-31 23:00:00, from the smb server side.

It seems that it is only a matter with summer time.

Anyone know if something can be done about this ?
I guess the problem is on the smbfs client side ...

Thanks in advance.

-- 

 (hika) Gilbert Cao
 http://www.miaouirc.com
  - MiaouIRC Project 2002-2003
 http://www.bsdmon.com
  - The BSD DMON Power to serve
 IRC : #miaule at IRCNET Network



pgpb1AsML73cW.pgp
Description: PGP signature


Re: Help me

2005-12-30 Thread Pavel Duda

Mohammed Arab wrote:

Hi,



  I would like to get some information from you regarding freebsd system,
really is very confuse to know which one is stable system when i went to
site i found many freebsd system one is called stable and another one is
current and release. Can you please explain me on this topic and which one i
have to choice. I am interesting to know everything about this system.



In short :
release - is something you want for your production system
stable - is something you can use too without much worry - it should be 
"stable" right ? :-)
current - is for brave people who like to spend nights to figure out 
what the hell is going on with their system and fight with all those 
mysterious kernel panics..


For start you should use at least stable version, you can always mess up 
 your system by switching to current :-D




Also there is no GUI Graphics on freebsd and why I have manually install
and configure video graphics also. can you help me and give me the
instruction how to setup VGA CARD.



I think that you should start here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
You will find there most answers to your questions and if something goes 
wrong you can always come here for advice.



Welcome to FreeBSD world !!!

Pavel



I am waiting for your reply.

Thanks,
Mohammed Arab
___
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: Some questions on chmod in FAT hdd

2005-12-30 Thread Pavel Duda

Joao Borges wrote:


  Hello everybody


  I've finally installed and ran Samba 3 on my FreeBSD
5.4. Then, wanting to share a directory I applyed on
directory

drwxr-xr-x  1 root  wheel  1638 Dec 30 13:58 shared 


the following command (as root):

chmod -R a=rwx shared

It doesn't return error but when I look up the new
atribution it is the same. Indeed this directory is
inside a mounting point which has the same attributes
(ie the mounting operation copies the mounting point
attributtes and  then I can't change any attributes
inside the mounting point). By the way the mount is a
msdosfs type. 


Can I deal with this problem? Is it a bug (so I
report) or I am doing some mistake?



Hi,

"Non-root file accesses may yield unexpected errors.
If the "file system owner" is not equal to the user who is accessing
the file system, some programs may generate unusual errors when
modifying or creating files. This happens because all files that are
created on the MS-DOS FS are implicitly chowned to the file system
owner. Work-around: only the user who owns the file system should
have write permission for it."

...so if you need to have access under some user then you have to mount 
it into dir where this user is an owner. It is obvious because MSDOS FS 
(FAT) doesn't support multiple users.


Pavel



I've also performed a Windows XP to FreeBSD transfer
via Network using Samba. The transfer made useless all
the archives involved (some mp3). I shared a  full
access share on FreeBSD and then copied and paste on
the XP station the files. Then on FreeBSD they were
useless. Can anybody tell what happened?

Att
Joao Francisco









___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 


___
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: Users unknown in jail, what to do?

2005-12-30 Thread Ruben Bloemgarten
Hi Gabor, 

Did you install the jail following the instructions of the man page ? Which
version of FBSD are you running ? Assuming that u are running the jail
command from root, you don't have to specify the user. 

Regards, 
Ruben 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kövesdán Gábor
Sent: December 30, 2005 10:36 PM
To: freebsd-questions@FreeBSD.ORG
Subject: Users unknown in jail, what to do?

Hello,

I've set up a jail and started it with:

jail -u root /path/to/jail hostname ip /bin/sh

When I tried to install a port inside the jail I got an error message 
that I don't have the mtree files. I don't know why those files haven't 
been built but I copied it from the host system to the jail. Now I get:

mtree: line 6: unknown user root
*** Error code 1

I copied passwd, master.passwd, group, nsswitch.conf files, too, but I 
get the same. Could somebody tell me how can I solve this?

Thanks in advance,

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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005
 

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


Re: Users unknown in jail, what to do?

2005-12-30 Thread Matthew Seaman

Kövesdán Gábor wrote:

mtree: line 6: unknown user root
*** Error code 1

I copied passwd, master.passwd, group, nsswitch.conf files, too, but I 
get the same. Could somebody tell me how can I solve this?


Try:

  # pwd_mkdb /etc/master.passwd

in your jail.  That creates (amongst other things) the hashed .db files the
getpwent() etc. routines use.  Also look at

   # cap_mkdb login.conf

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Mozilla plugins broken after port upgrade

2005-12-30 Thread Beech Rintoul
On Friday 30 December 2005 10:22 am, Micah wrote:
> Chris Hill wrote:
> > On Thu, 29 Dec 2005, Micah wrote:
> >> Chris Hill wrote:
> >
> > [snip]
> >
> >>> The specific issues are with acroread7, flash and mplayer-plugin. All
> >>> of these worked as plug-ins before the upgrade, but now none of them
> >>> do.
> >
> > [snip]
> >
> >> Search the list archives for "Flash Plugin in 6.0" and "Flash no
> >> longer displayed in Firefox".
> >
> > Neither of those search terms yields any results, but you've given me
> > another direction to look. I searched the archives yet again, this time
> > on 'linuxpluginwrapper'. Found
> > http://www.freebsd.org/cgi/getmsg.cgi?fetch=751336+0+/usr/local/www/db/te
> >xt/2005/freebsd-questions/20051120.freebsd-questions
> >
> >
> > ...based on which, I did
> > # ln -s /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
> > /usr/X11R6/lib/browser_plugins/
> >
> > This fixed things partially. A visit to
> > http://www.macromedia.com/shockwave/welcome/
> > shows that "regular" flash works, but not shockwave.
> >
> > Still no luck with PDFs or mplayer-plugin.
> >
> > Another result from my archive search was
> > http://www.freebsd.org/cgi/getmsg.cgi?fetch=1310074+1313109+/usr/local/ww
> >w/db/text/2005/freebsd-questions/20051120.freebsd-questions ...which
> > revealed the existence of the WITH_PLUGINS make knob for
> > linuxpluginwrapper, so I did
> > tripel# cd /usr/ports/www/linuxpluginwrapper
> > tripel# make deinstall
> > tripel# make -DWITH_PLUGINS reinstall
> >
> > ...which resulted in no change.
> >
> > I'm at a loss regarding the mplayer-plugin stuff. As for Acrobat, I'd
> > bet it has something to do with the disappearance of the path
> > /usr/compat/linux/usr/local/Adobe/Acrobat7.0/Reader/intellinux/bin, but
> > I don't know how that came to exist or why it no longer does.
> >
> >> It's an issue with the linuxpluginwrapper port, several methods to
> >> make it work are described in those recent threads.
> >
> > Thank you for the pointer, especially for the speed of your post.
> >
> >> HTH,
> >> Micah
> >
> > It did, a little. Thank you.
> >
> > But it's still vexing that all this stuff worked fine before, and that
> > the upgrade seems to have broken it. I'm also curious why
> > "about:plugins" shows, for example, mplayer-plugin installed for a wide
> > variety of MIME-types, but trying to access online videos no longer
> > starts mplayer-plugin as it did before the upgrade.
> >
> > My meta-question remains: Is this documented, and if so, where?
> >
> > --
> > Chris Hill   [EMAIL PROTECTED]
> > ** [ Busy Expunging <|> ]
>
> The mailman search interface is screwed up, and the FreeBSD search
> engine and Google haven't indexed recent threads yet.  A look through
> December's archives would've turned these up.
>
> http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107922.h
>tml
> http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107098.h
>tml
>

For acroread make sure you rename /usr/local/bin/acroread7 
to /usr/local/bin/acroread.

Beech

-- 

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---













pgp0ta4Ohw2HF.pgp
Description: PGP signature


Users unknown in jail, what to do?

2005-12-30 Thread Kövesdán Gábor

Hello,

I've set up a jail and started it with:

jail -u root /path/to/jail hostname ip /bin/sh

When I tried to install a port inside the jail I got an error message 
that I don't have the mtree files. I don't know why those files haven't 
been built but I copied it from the host system to the jail. Now I get:


mtree: line 6: unknown user root
*** Error code 1

I copied passwd, master.passwd, group, nsswitch.conf files, too, but I 
get the same. Could somebody tell me how can I solve this?


Thanks in advance,

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


Re: How much memory is a jail using ... ?

2005-12-30 Thread Pavel Duda

Marc G. Fournier wrote:


Is there an easy way to do this?  I know I can find out what processes 
are running in a jail by looking at /proc/*/status ,but none of the 
fields appear to relate to memory used by that process ... so, I'm 
guessing I should be able to 'read' one of the other fiels in the procfs 
directory for this?


Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"




Hmm interesting question, I'm afraid that fastest but not very accurate 
way is to use ps SIZE and count it for jailed processes.


Pavel

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


Help me

2005-12-30 Thread Mohammed Arab
Hi,



  I would like to get some information from you regarding freebsd system,
really is very confuse to know which one is stable system when i went to
site i found many freebsd system one is called stable and another one is
current and release. Can you please explain me on this topic and which one i
have to choice. I am interesting to know everything about this system.


Also there is no GUI Graphics on freebsd and why I have manually install
and configure video graphics also. can you help me and give me the
instruction how to setup VGA CARD.


I am waiting for your reply.

Thanks,
Mohammed Arab
___
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 get gdbserver for FreeBSD 5.4?

2005-12-30 Thread Paul Marciano
--- Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> Paul Marciano <[EMAIL PROTECTED]> writes:
> > What I want to do is attach gdb from a development
> > machine to a process running on an remote embedded
> > target (stripped binaries, no source).  I've only
> > recently heard of gdbserver.  I'm happy to use an
> > alternative, if one exists.
> 
> Oh; I thought you wanted to run gdbserver on
> *FreeBSD*.

ACK!  Wires crossing!

Both the target and the client are FreeBSD-5.4, but
the target has limited flash and no local utilities so
I can't debug on it natively (I'd rather not mount NFS
utility partitions, but that's an option if there's
nothing more elegant).

So I do need a FreeBSD target gdbserver-like thing!

Paul.





__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

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


Re: 6.0-REL && ports/devel/subversion

2005-12-30 Thread Kent Stewart
On Friday 30 December 2005 02:39 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> the ports compilation of subversion-1.2.1 failes with:
>
> subversion/libsvn_ra_dav/commit.c:32:23: ne_socket.h: No such file or
> directory subversion/libsvn_ra_dav/commit.c:33:24: ne_request.h: No
> such file or directory subversion/libsvn_ra_dav/commit.c:34:22:
> ne_props.h: No such file or directory
> subversion/libsvn_ra_dav/commit.c:35:22: ne_basic.h: No such file or
> directory
>
>
> it seems that the missing header files are part of
> ports/www/neon/ but don't get installed;
>
> what is the right way to fix this?
> Thx
>

Were you using portupgrade or portmanage? They are supposed to 
automagically take care of problems like that.

Sometimes, even if you use them, the build doesn't happen but if you 
look at the configure messages, you will see it is missing. Since it is 
in the dependancy list, I would just build neon and try building 
subversion again. 

I first would try updating subversion with one of the tools and see if 
it is fixed for you.

Kent

-- 
Kent Stewart
Richland, WA

"Nunca te acostarás sin saber una cosa más"
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]"


Some questions on chmod in FAT hdd

2005-12-30 Thread Joao Borges


  Hello everybody


  I've finally installed and ran Samba 3 on my FreeBSD
5.4. Then, wanting to share a directory I applyed on
directory

drwxr-xr-x  1 root  wheel  1638 Dec 30 13:58 shared 

the following command (as root):

chmod -R a=rwx shared

It doesn't return error but when I look up the new
atribution it is the same. Indeed this directory is
inside a mounting point which has the same attributes
(ie the mounting operation copies the mounting point
attributtes and  then I can't change any attributes
inside the mounting point). By the way the mount is a
msdosfs type. 

Can I deal with this problem? Is it a bug (so I
report) or I am doing some mistake?

I've also performed a Windows XP to FreeBSD transfer
via Network using Samba. The transfer made useless all
the archives involved (some mp3). I shared a  full
access share on FreeBSD and then copied and paste on
the XP station the files. Then on FreeBSD they were
useless. Can anybody tell what happened?

Att
Joao Francisco









___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

___
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 get gdbserver for FreeBSD 5.4?

2005-12-30 Thread Lowell Gilbert
Paul Marciano <[EMAIL PROTECTED]> writes:

> --- Lowell Gilbert
> <[EMAIL PROTECTED]>
> > gdbserver isn't currently ported for FreeBSD.  If
> > you really need it (as opposed to some other form of
> > remote debugging), you could probably best get
> started
> > by asking obrien for hints.
> 
> Thanks for the info Lowell.
> 
> What do you mean by "some other form of remove
> debugging"?
> 
> What I want to do is attach gdb from a development
> machine to a process running on an remote embedded
> target (stripped binaries, no source).  I've only
> recently heard of gdbserver.  I'm happy to use an
> alternative, if one exists.

Oh; I thought you wanted to run gdbserver on *FreeBSD*.  The *client*
side is going to need a gdb agent of some sort; gdbserver might work
if the embedded machine is sufficiently Unix-like.  Otherwise, you may
need a custom gdb on your FreeBSD machine as well as a debugging agent
on the target.

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


Unable to build 'icu-3.4'

2005-12-30 Thread Gerard Seibert
Several users, including myself, are unable to install 'icu-3.4'. I have
contacted both the maintainer and the 'icu' development staff regarding
this problem. The following is the feed back that I have received up to
this point.

First of all, the output from 'uname -a'

FreeBSD seibercom.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Nov 23
15:16:09 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SEIBERCOM3
i386

I contacted the maintainer regarding this problem, and this was his
response.

-- Original Message Starts-
From:Mikhail Teterin <[EMAIL PROTECTED]>

Congratulations! You have found a bug in ICU (or in one of its
self-tests). From your log:

[...]
   ---[OK]  ---/custrtrn/Test_widestrs
cintltst in free(): error: page is already free
Abort trap (core dumped)
*** Error code 134

You can avoid the crash by removing the 'a' from your MALLOC_FLAGS. To
fix the underlying problem, please, consider filing a bug report with
ICU.

I'll try to dig it up, but I'm a little swapmed at the moment :-( Thanks
for the report. Yours,

-mi
 - Original Message Ends 

Since I have no idea how to remove a flag, other than the one that flies
on the pole in my front lawn, I contacted the 'icu' staff and submitted
a bug report. The following is their response.

--- Original Message Starts ---

Please build a debuggable version of ICU, and supply a stack trace of
the failure in the bug report. We can't reproduce this bug on other
platforms with heap debuggers, and the test suite doesn't fail on other
versions of FreeBSD.

--- Original Message Ends 

The entire build and attempted install log is available at this URL:

http://www2.seibercom.net:9545/log/icu3-4

I would really appreciate it if someone could assist me with this
problem. I know for a fact that I am not the only individual that cannot
get 'icu-3.4' installed.

If someone could instruct me on how to make a debuggable version and
supply a stack trace of the failure it would be very much appreciated.
Any other suggestions, etc. would be very much appreciated.

This problem, by the way, is causing 'python-boost' not to build which
causes 'kdeede3' not to build either.

Thanks in advance!

-- 
Gerard Seibert
[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: syslog in jail on 6.0

2005-12-30 Thread Ruben Bloemgarten
Hi Dave, 

Could you send your rc.conf from your mainsystem and jail, syslog.conf from
the jail. Also, how did you generate the jail and what is it's purpose ?

Regards, 

Ruben 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Sent: December 30, 2005 8:20 PM
To: freebsd-questions@freebsd.org
Subject: syslog in jail on 6.0

Hello,
I've got two jail issues on 6.0. My first problem is when i start the jail 
via /etc/rc.d/jail start i get this message from the jail startup:

syslogd child pid PIDNUM exited with return code 1

and i don't get jail logging. I've got syslog running on the hostsystem and 
in the jail both logging to their respected logging locations.
My second issue is it appears devfs in the jail isn't being mounted. In 
my host system's rc.conf file i have a jail devfs mount line, but i have to 
manually mount devfs before i start the jail.
Any ideas?
Thanks.
Dave.

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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005
 

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


syslog in jail on 6.0

2005-12-30 Thread Dave

Hello,
I've got two jail issues on 6.0. My first problem is when i start the jail 
via /etc/rc.d/jail start i get this message from the jail startup:


syslogd child pid PIDNUM exited with return code 1

and i don't get jail logging. I've got syslog running on the hostsystem and 
in the jail both logging to their respected logging locations.
   My second issue is it appears devfs in the jail isn't being mounted. In 
my host system's rc.conf file i have a jail devfs mount line, but i have to 
manually mount devfs before i start the jail.

Any ideas?
Thanks.
Dave.

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


Re: Mozilla plugins broken after port upgrade

2005-12-30 Thread Micah

Chris Hill wrote:

On Thu, 29 Dec 2005, Micah wrote:


Chris Hill wrote:



[snip]

The specific issues are with acroread7, flash and mplayer-plugin. All 
of these worked as plug-ins before the upgrade, but now none of them do.



[snip]

Search the list archives for "Flash Plugin in 6.0" and "Flash no 
longer displayed in Firefox".



Neither of those search terms yields any results, but you've given me 
another direction to look. I searched the archives yet again, this time 
on 'linuxpluginwrapper'. Found 
http://www.freebsd.org/cgi/getmsg.cgi?fetch=751336+0+/usr/local/www/db/text/2005/freebsd-questions/20051120.freebsd-questions 



...based on which, I did
# ln -s /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
/usr/X11R6/lib/browser_plugins/

This fixed things partially. A visit to 
http://www.macromedia.com/shockwave/welcome/

shows that "regular" flash works, but not shockwave.

Still no luck with PDFs or mplayer-plugin.

Another result from my archive search was 
http://www.freebsd.org/cgi/getmsg.cgi?fetch=1310074+1313109+/usr/local/www/db/text/2005/freebsd-questions/20051120.freebsd-questions 
...which revealed the existence of the WITH_PLUGINS make knob for 
linuxpluginwrapper, so I did

tripel# cd /usr/ports/www/linuxpluginwrapper
tripel# make deinstall
tripel# make -DWITH_PLUGINS reinstall

...which resulted in no change.

I'm at a loss regarding the mplayer-plugin stuff. As for Acrobat, I'd 
bet it has something to do with the disappearance of the path 
/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Reader/intellinux/bin, but 
I don't know how that came to exist or why it no longer does.


It's an issue with the linuxpluginwrapper port, several methods to 
make it work are described in those recent threads.



Thank you for the pointer, especially for the speed of your post.


HTH,
Micah



It did, a little. Thank you.

But it's still vexing that all this stuff worked fine before, and that 
the upgrade seems to have broken it. I'm also curious why 
"about:plugins" shows, for example, mplayer-plugin installed for a wide 
variety of MIME-types, but trying to access online videos no longer 
starts mplayer-plugin as it did before the upgrade.


My meta-question remains: Is this documented, and if so, where?

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]


The mailman search interface is screwed up, and the FreeBSD search 
engine and Google haven't indexed recent threads yet.  A look through 
December's archives would've turned these up.


http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107922.html
http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107098.html

HTH,
Micah
___
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 get gdbserver for FreeBSD 5.4?

2005-12-30 Thread Paul Marciano
--- Lowell Gilbert
<[EMAIL PROTECTED]>
> gdbserver isn't currently ported for FreeBSD.  If
> you really need it (as opposed to some other form of
> remote debugging), you could probably best get
started
> by asking obrien for hints.

Thanks for the info Lowell.

What do you mean by "some other form of remove
debugging"?

What I want to do is attach gdb from a development
machine to a process running on an remote embedded
target (stripped binaries, no source).  I've only
recently heard of gdbserver.  I'm happy to use an
alternative, if one exists.

Thanks,
Paul.





__ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.0-REL && isos of distfiles

2005-12-30 Thread Giorgos Keramidas
On 2005-12-30 09:25, [EMAIL PROTECTED] wrote:
> In the company, where I'm at the moment, I've an uplink to Internet of
> 2 mb, at home I've 64 kbit; so my idea was to fetch, lets say 4 CD at
> high speed, burn them and use them at home for the needed disfiles

This is where the -F option of portupgrade becomes *very* useful:

- On the system with the fast connection, you update your /usr/ports
  tree and then run portupgrade:

  # portupgrade -a -vuN -F

- Copy over both /usr/ports and /usr/ports/distfiles

Now updates from the disconnected system should be easy as long as you
use the same options when building the ports on the two systems (since
some of the port options may affect the number and version of distfiles
downloaded).

Another way to update systems that use similar versions of FreeBSD on
the same architecture is to use pkg_create(1) (with the -b option) to
save the packages of one system and pkg_add(1) to install them on
another.

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


Re: getting sound in KDE

2005-12-30 Thread eoghan

On 30 Dec 2005, at 18:35, Roshan wrote:


Thanks again
Ive since tried okle (for a dvd) and KsCD with an audio cd and both
work perfect.
I will check around for a different mp3 player and see if it works.
But Im getting there :)
Thanks for the help
Eoghan

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



if you play an mp3 using a non-kde app, like mplayer or mpg123 , it
will not play in my experience. artsd monopolises the sound device.
what you have to do is kill the artsd, then you can play mp3's using
mplayer or xmms or mpg123.

command to kill artsd:

# killall artsd
then try playing your mp3


I tried that and Noatun still doesnt play the mp3. But before i did  
the killall i tried kaboodle (which is a kde app is assume?), and it  
played fine.

Thanks to everyone who has helped. At least now i can hear freebsd :)
Regards
Eoghan

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


Re: Preserve date when cp over smbfs

2005-12-30 Thread Gilbert Cao
On Thu, Dec 29, 2005 at 04:51:56PM +0100, Gilbert Cao wrote:
> On Wed, Dec 28, 2005 at 12:25:58PM +0100, Gilbert Cao wrote:
> > 
> > I have quickly looked into the source code of both cp and gqview, and it 
> > seems
> > that cp relies on utimes(), and gqview relies on utime().
> > 
> 
> Hi,
> I have finally done my little investigation when applying utime() or utimes()
> to a SMB file path :
> 
> In both case, the access and modification times are preserved.
> So it seems that the cp and tar utilities does not its job about
> preserving times over SMB path (I still don't know why ...).
> 
> I have a source code example available, if anyone is interested.

Hi, again.
This time, I have done more investigation in the src/bin/cp source code
and I have finally found the problem :

In SMB only case, when utimes() is called *BEFORE* the fd of the newly
created file is close(), it does not do anything.

I have made a little patch to correct this.
So please, committers, can the correction be applied to the cp utility
(Perhaps it is the same problem in the tar utility) ?

I will be very grateful.

-- 

 (hika) Gilbert Cao
 http://www.miaouirc.com
  - MiaouIRC Project 2002-2003
 http://www.bsdmon.com
  - The BSD DMON Power to serve
 IRC : #miaule at IRCNET Network

--- ./src/bin/cp/utils.c.orig   Sat Nov 12 22:21:45 2005
+++ ./src/bin/cp/utils.cFri Dec 30 19:23:04 2005
@@ -204,8 +204,6 @@
 * to remove it if we created it and its length is 0.
 */
 
-   if (pflag && setfile(fs, to_fd))
-   rval = 1;
if (pflag && preserve_fd_acls(from_fd, to_fd) != 0)
rval = 1;
(void)close(from_fd);
@@ -213,6 +211,14 @@
warn("%s", to.p_path);
rval = 1;
}
+   /*
+* To preserve times in SMB to.p_path, 
+* setfile() should be call *AFTER* we have closed the file
+* descriptors. As we have closed the descriptors, we should
+* pass -1 instead of the `to_fd` value
+*/
+   if (pflag && setfile(fs, -1))
+   rval = 1;
return (rval);
 }
 


pgpUxT0IgiDs8.pgp
Description: PGP signature


Re: getting sound

2005-12-30 Thread Roshan
On 12/30/05, eoghan <[EMAIL PROTECTED]> wrote:
> Hello
> I have followed the manual page here for sound setup:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-
> setup.html
> Im using freebsd 6.0 with generic kernel.  Im not sure what sound
> card came with my dell (its 3 years old).
> So i did:
> #kldload snd_emu10k1
> #kldload snd_driver
> then:
> #cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0:  at io 0xec40 irq 11 kld snd_es137x(1p/1r/0v
> channels duplex default)
> This is my first time trying to get the sound working. I try play an
> mp3 ans dont hear anything. Perhaps using the snd_driver wont work in
> my case...
> Is there a way to get freeBSD to show my sound device so I can load
> the correct module? Or is there something else im doing wrong?
> Thanks
> Eoghan
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

if you play an mp3 using a non-kde app, like mplayer or mpg123 , it
will not play in my experience. artsd monopolises the sound device.
what you have to do is kill the artsd, then you can play mp3's using
mplayer or xmms or mpg123.

command to kill artsd:

# killall artsd
then try playing your mp3

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


Developer's Handbook DDB instructions

2005-12-30 Thread David Kirchner
I'm trying to track down a background fsck deadlock bug. I've found a
thread on groups.google.com about another person having a similar
problem but with snapshots. The suggestion made there was to compile a
kernel with DDB, and the user was referred to the Developer's
Handbook.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-online-ddb.html

The Handbook appears to be out of date -- it states that you have to
add "options DDB" to the kernel config to enable DDB. When you try
that, part way through the make depend process it informs you that you
also need KDB. Are there any other steps necessary to get DDB to work
on a newer version of FreeBSD (say 6.0-RELEASE)?

Since this particular deadlock test will probably take 12+ hours of
runtime to trigger, I'd like to get this right, so I can get as much
information as possible into a PR.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: getting sound in KDE

2005-12-30 Thread Lowell Gilbert
eoghan <[EMAIL PROTECTED]> writes:

> On 30 Dec 2005, at 17:34, Mark Kane wrote:
> 
> > eoghan wrote:
> >> Hello
> >> I have followed the manual page here for sound setup:
> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-
> >> setup.html
> >> Im using freebsd 6.0 with generic kernel.  Im not sure what sound
> >> card
> >> came with my dell (its 3 years old).
> >> So i did:
> >> #kldload snd_emu10k1
> >> #kldload snd_driver
> >> then:
> >> #cat /dev/sndstat
> >> FreeBSD Audio Driver (newpcm)
> >> Installed devices:
> >> pcm0:  at io 0xec40 irq 11 kld snd_es137x(1p/1r/0v
> >> channels duplex default)
> >> This is my first time trying to get the sound working. I try play an
> >> mp3 ans dont hear anything. Perhaps using the snd_driver wont work in
> >> my case...
> >> Is there a way to get freeBSD to show my sound device so I can
> >> load  the
> >> correct module? Or is there something else im doing wrong?
> >> Thanks
> >> Eoghan
> >
> > It looks to me like the "snd_driver" did it (since it shows
> > "snd_es127x"
> >  loaded), but if you still are not getting any sound then check some
> > things.
> >
> > 1) The parts list you pasted seems like it's the Creative CT5807 sound
> > card. I don't see that particular model on the hardware supported
> > list,
> > although similar models are listed under that driver (man snd_es137x).
> >
> > 2) Check the volume. Type "mixer" at a shell and make sure the levels
> > are up. The manpage for "mixer" should tell you how to change those
> > settings if you need to.
> >
> > 3) Are you running KDE or artsd? On one of my machines that I set
> > sound
> > up on a long time ago everything was going fine (no errors, sndstat
> > showed it, etc) but KDE's artsd interfered with the volume when KDE
> > was
> > on. So if you are in KDE then I'd say to stop the GUI and go to the
> > console where artsd won't be running and then do your testing. You can
> > also disable artsd but I'm not sure where as it's been a while since
> > I've used KDE.
> >
> > 4) Are your speakers/headphones/mixer volumes up?
> >
> > -Mark
> >
> 
> Thanks Mark
> Im running KDE (3.4.3) and I have just gone into control center >
> sound & multimedia > sound system
> Here I disabled the sound system and reneabled it, which it restarted
> the sound system. I then clicked the button to text sound.
> Then I heard sound perfect. I then opened Noatun and tried to play an
> mp3 but heard nothing. I dont know about artsd, but is this the KDE
> sound system?
> I tried the sound system disabled, restart Noatun but still nothing.
> artsd at konsole says:
> can't register Arts::MidiManager
> There are already artsd objects registered, looking if they are
> active...
> 
> Error: Can't add object reference (probably artsd is already running).
> If you are sure it is not already running, remove the
> relevant files:
> 
> /tmp/mcop-root/Arts_SoundServerV2
> /tmp/mcop-root/Arts_SoundServer
> /tmp/mcop-root/Arts_SimpleSoundServer
> /tmp/mcop-root/Arts_PlayObjectFactory
> /tmp/mcop-root/Arts_AudioManager
> 
> So, sound works if I test in control centre. But no sound if i try
> play an mp3...

Okay, so you have FreeBSD's sound drivers working fine, and you just
need to get KDE to use it properly.

I don't know anything about KDE, but enabling virtual channels may
make life easier.  See the manual for sound(4) for details.

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


Re: getting sound

2005-12-30 Thread eoghan

On 30 Dec 2005, at 18:20, Mark Kane wrote:



Thanks Mark
Im running KDE (3.4.3) and I have just gone into control center >   
sound

& multimedia > sound system
Here I disabled the sound system and reneabled it, which it restarted
the sound system. I then clicked the button to text sound.
Then I heard sound perfect. I then opened Noatun and tried to play an
mp3 but heard nothing. I dont know about artsd, but is this the KDE
sound system?


Yeah, the KDE sound system is artsd so that should be the correct  
area.



I tried the sound system disabled, restart Noatun but still nothing.
artsd at konsole says:
can't register Arts::MidiManager
There are already artsd objects registered, looking if they are   
active...


Error: Can't add object reference (probably artsd is already  
running).
   If you are sure it is not already running, remove the   
relevant

files:

   /tmp/mcop-root/Arts_SoundServerV2
   /tmp/mcop-root/Arts_SoundServer
   /tmp/mcop-root/Arts_SimpleSoundServer
   /tmp/mcop-root/Arts_PlayObjectFactory
   /tmp/mcop-root/Arts_AudioManager

So, sound works if I test in control centre. But no sound if i  
try  play

an mp3...
Thanks
Eoghan


I've never used Noatun so I'm not sure if it has options that you need
to change for sound. If you have KDE's sound system enabled, you'll be
using artsd. If you have it disabled, then the OSS in FreeBSD should
take over again. So in the options, I'm not sure if it will give you a
choice to use artsd output or OSS output, but change them accordingly.

Other thing to make sure is that the KDE mixer levels are up. The test
sound may work even with some levels of that mixer being down, so look
through the KDE menus relating to sound for the Sound Mixer. Then make
sure things like Volume, Speaker, etc are all up. Also try the "Input"
area of the mixer, since I figured out a long time ago that that's
really the "Input" into artsd and if those are down it will not give
sound either (that may have changed since I used it though).

HTH

-Mark


Thanks again
Ive since tried okle (for a dvd) and KsCD with an audio cd and both  
work perfect.
I will check around for a different mp3 player and see if it works.  
But Im getting there :)

Thanks for the help
Eoghan

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


Re: Recursive FTP upload tool?

2005-12-30 Thread JK

On Fri, 30 Dec 2005 13:13:21 -0500
 Joe Auty <[EMAIL PROTECTED]> wrote:


On Dec 30, 2005, at 1:03 PM, JK wrote:


On Fri, 30 Dec 2005 12:10:07 +0100 (CET)
 Alexander Pohoyda <[EMAIL PROTECTED]> wrote:

Hi folks,
I'm looking for a command-line tool to recursively upload all 
changed

files/directories to my homepage server via FTP.  Is there anything
better than wput for this task?


'rsync' is perfectly suited for this and much much better than ftp.

''man rsync''




It is, but I believe it only works over SSH. Perhaps it can be 
configured to work over FTP, I've never tried (no reason to).




Can you use ssh?  I personally never use nor enable FTP anymore these 
days given the massive number of script kiddies and serious hackers 
out there.  Regular FTP is just too insecure ( I don't know about more 
recent ''secure'' FTP ).  Just use ssh and if it's not available on 
the other end beg/tell/require them to enable it


I get easily over 1000 attempts per day from hackers trying to break 
into my poor little colo'd server...


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


Re: getting sound

2005-12-30 Thread Mark Kane
eoghan wrote:
> On 30 Dec 2005, at 17:34, Mark Kane wrote:
> 
>> eoghan wrote:
>>
>>> Hello
>>> I have followed the manual page here for sound setup:
>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound- 
>>> setup.html
>>> Im using freebsd 6.0 with generic kernel.  Im not sure what sound   card
>>> came with my dell (its 3 years old).
>>> So i did:
>>> #kldload snd_emu10k1
>>> #kldload snd_driver
>>> then:
>>> #cat /dev/sndstat
>>> FreeBSD Audio Driver (newpcm)
>>> Installed devices:
>>> pcm0:  at io 0xec40 irq 11 kld snd_es137x(1p/1r/0v
>>> channels duplex default)
>>> This is my first time trying to get the sound working. I try play an
>>> mp3 ans dont hear anything. Perhaps using the snd_driver wont work in
>>> my case...
>>> Is there a way to get freeBSD to show my sound device so I can  load 
>>> the
>>> correct module? Or is there something else im doing wrong?
>>> Thanks
>>> Eoghan
>>
>>
>> It looks to me like the "snd_driver" did it (since it shows  "snd_es127x"
>>  loaded), but if you still are not getting any sound then check some
>> things.
>>
>> 1) The parts list you pasted seems like it's the Creative CT5807 sound
>> card. I don't see that particular model on the hardware supported  list,
>> although similar models are listed under that driver (man snd_es137x).
>>
>> 2) Check the volume. Type "mixer" at a shell and make sure the levels
>> are up. The manpage for "mixer" should tell you how to change those
>> settings if you need to.
>>
>> 3) Are you running KDE or artsd? On one of my machines that I set  sound
>> up on a long time ago everything was going fine (no errors, sndstat
>> showed it, etc) but KDE's artsd interfered with the volume when KDE  was
>> on. So if you are in KDE then I'd say to stop the GUI and go to the
>> console where artsd won't be running and then do your testing. You can
>> also disable artsd but I'm not sure where as it's been a while since
>> I've used KDE.
>>
>> 4) Are your speakers/headphones/mixer volumes up?
>>
>> -Mark
>>
> 
> Thanks Mark
> Im running KDE (3.4.3) and I have just gone into control center >  sound
> & multimedia > sound system
> Here I disabled the sound system and reneabled it, which it restarted 
> the sound system. I then clicked the button to text sound.
> Then I heard sound perfect. I then opened Noatun and tried to play an 
> mp3 but heard nothing. I dont know about artsd, but is this the KDE 
> sound system?

Yeah, the KDE sound system is artsd so that should be the correct area.

> I tried the sound system disabled, restart Noatun but still nothing.
> artsd at konsole says:
> can't register Arts::MidiManager
> There are already artsd objects registered, looking if they are  active...
> 
> Error: Can't add object reference (probably artsd is already running).
>If you are sure it is not already running, remove the  relevant
> files:
> 
>/tmp/mcop-root/Arts_SoundServerV2
>/tmp/mcop-root/Arts_SoundServer
>/tmp/mcop-root/Arts_SimpleSoundServer
>/tmp/mcop-root/Arts_PlayObjectFactory
>/tmp/mcop-root/Arts_AudioManager
> 
> So, sound works if I test in control centre. But no sound if i try  play
> an mp3...
> Thanks
> Eoghan

I've never used Noatun so I'm not sure if it has options that you need
to change for sound. If you have KDE's sound system enabled, you'll be
using artsd. If you have it disabled, then the OSS in FreeBSD should
take over again. So in the options, I'm not sure if it will give you a
choice to use artsd output or OSS output, but change them accordingly.

Other thing to make sure is that the KDE mixer levels are up. The test
sound may work even with some levels of that mixer being down, so look
through the KDE menus relating to sound for the Sound Mixer. Then make
sure things like Volume, Speaker, etc are all up. Also try the "Input"
area of the mixer, since I figured out a long time ago that that's
really the "Input" into artsd and if those are down it will not give
sound either (that may have changed since I used it though).

HTH

-Mark


-- 
GnuPG Public Key:
http://www.mkproductions.org/mk_pubkey.asc

Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)


signature.asc
Description: OpenPGP digital signature


Re: Recursive FTP upload tool?

2005-12-30 Thread Lowell Gilbert
Joe Auty <[EMAIL PROTECTED]> writes:

> On Dec 30, 2005, at 1:03 PM, JK wrote:
> 
> > On Fri, 30 Dec 2005 12:10:07 +0100 (CET)
> >  Alexander Pohoyda <[EMAIL PROTECTED]> wrote:
> >> Hi folks,
> >> I'm looking for a command-line tool to recursively upload all changed
> >> files/directories to my homepage server via FTP.  Is there anything
> >> better than wput for this task?
> >
> > 'rsync' is perfectly suited for this and much much better than ftp.
> >
> > ''man rsync''
> 
> 
> 
> It is, but I believe it only works over SSH. Perhaps it can be
> configured to work over FTP, I've never tried (no reason to).

>From rsync(1):

   There are two different ways for rsync  to  contact  a  remote  system:
   using  a  remote-shell program as the transport (such as ssh or rsh) or
   contacting an rsync daemon directly via TCP.  The  remote-shell  trans-
   port  is used whenever the source or destination path contains a single
   colon (:) separator after a host specification.   Contacting  an  rsync
   daemon  directly happens when the source or destination path contains a
   double colon (::) separator after a  host  specification,  OR  when  an
   rsync://  URL  is  specified (see also the "USING RSYNC-DAEMON FEATURES
   VIA A REMOTE-SHELL CONNECTION" section for an exception to this  latter
   rule).

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


http://www.freebsd.org/projects/bigdisk/

2005-12-30 Thread David Kirchner
Could someone help me find the contact information for the person who
is responsible for the bigdisk page? I have a suggested update
(related to PR kern/84589) that may help other people using
multi-terabyte servers get better usability from FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recursive FTP upload tool?

2005-12-30 Thread Joe Auty


On Dec 30, 2005, at 1:03 PM, JK wrote:


On Fri, 30 Dec 2005 12:10:07 +0100 (CET)
 Alexander Pohoyda <[EMAIL PROTECTED]> wrote:

Hi folks,
I'm looking for a command-line tool to recursively upload all changed
files/directories to my homepage server via FTP.  Is there anything
better than wput for this task?


'rsync' is perfectly suited for this and much much better than ftp.

''man rsync''




It is, but I believe it only works over SSH. Perhaps it can be  
configured to work over FTP, I've never tried (no reason to).





---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[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: getting sound

2005-12-30 Thread eoghan

On 30 Dec 2005, at 17:34, Mark Kane wrote:


eoghan wrote:

Hello
I have followed the manual page here for sound setup:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-  
setup.html
Im using freebsd 6.0 with generic kernel.  Im not sure what sound   
card

came with my dell (its 3 years old).
So i did:
#kldload snd_emu10k1
#kldload snd_driver
then:
#cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0xec40 irq 11 kld snd_es137x(1p/1r/0v
channels duplex default)
This is my first time trying to get the sound working. I try play an
mp3 ans dont hear anything. Perhaps using the snd_driver wont work in
my case...
Is there a way to get freeBSD to show my sound device so I can  
load  the

correct module? Or is there something else im doing wrong?
Thanks
Eoghan


It looks to me like the "snd_driver" did it (since it shows  
"snd_es127x"

 loaded), but if you still are not getting any sound then check some
things.

1) The parts list you pasted seems like it's the Creative CT5807 sound
card. I don't see that particular model on the hardware supported  
list,

although similar models are listed under that driver (man snd_es137x).

2) Check the volume. Type "mixer" at a shell and make sure the levels
are up. The manpage for "mixer" should tell you how to change those
settings if you need to.

3) Are you running KDE or artsd? On one of my machines that I set  
sound

up on a long time ago everything was going fine (no errors, sndstat
showed it, etc) but KDE's artsd interfered with the volume when KDE  
was

on. So if you are in KDE then I'd say to stop the GUI and go to the
console where artsd won't be running and then do your testing. You can
also disable artsd but I'm not sure where as it's been a while since
I've used KDE.

4) Are your speakers/headphones/mixer volumes up?

-Mark



Thanks Mark
Im running KDE (3.4.3) and I have just gone into control center >  
sound & multimedia > sound system
Here I disabled the sound system and reneabled it, which it restarted  
the sound system. I then clicked the button to text sound.
Then I heard sound perfect. I then opened Noatun and tried to play an  
mp3 but heard nothing. I dont know about artsd, but is this the KDE  
sound system?

I tried the sound system disabled, restart Noatun but still nothing.
artsd at konsole says:
can't register Arts::MidiManager
There are already artsd objects registered, looking if they are  
active...


Error: Can't add object reference (probably artsd is already running).
   If you are sure it is not already running, remove the  
relevant files:


   /tmp/mcop-root/Arts_SoundServerV2
   /tmp/mcop-root/Arts_SoundServer
   /tmp/mcop-root/Arts_SimpleSoundServer
   /tmp/mcop-root/Arts_PlayObjectFactory
   /tmp/mcop-root/Arts_AudioManager

So, sound works if I test in control centre. But no sound if i try  
play an mp3...

Thanks
Eoghan


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


Re: Recursive FTP upload tool?

2005-12-30 Thread JK

On Fri, 30 Dec 2005 12:10:07 +0100 (CET)
 Alexander Pohoyda <[EMAIL PROTECTED]> wrote:

Hi folks,

I'm looking for a command-line tool to recursively upload all 
changed

files/directories to my homepage server via FTP.  Is there anything
better than wput for this task?


'rsync' is perfectly suited for this and much much better than ftp.

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


Re: New IDE drive in old PC

2005-12-30 Thread dgmm
On Thursday 29 December 2005 17:57, Chris Whitehouse wrote:
> I presume you mean GB for size. I just plugged a 250GB drive into a PIII
> 500 Supermicro board. The bios thinks it is 8GB. I get No Rom Basic if I
> try to boot. I also tried it as an external USB drive and fdisk'd and
> bsdlabelled it as 250GB without problem using FBSD6.
>
> I think if I could have booted there would have been no problem with the
> disk on the IDE chain as FBSD sees disks directly not through the BIOS
> (or so I understand).

FWIW my file/print server is old too.  CPU is an AMD K6/2-350.  It boots from 
a 20GB drive and then FreeBSD sees the 160GB and 40GB drives.  The BIOS sees 
the 40GB drive as 8GB and doesn't see the 160GB drive at all.  I set all but 
the primary master BIOS drive settings to NONE.

I also learned to my cost when experimenting with installing FreeBSD that 
setting the BIOS to NONE for an HDD which is actually plugged in doesn't stop 
FreeBSD from seeing it or formatting it when I slected the "first" drive as 
the one to slice up ;-)

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


Re: Mozilla plugins broken after port upgrade

2005-12-30 Thread Chris Hill

On Thu, 29 Dec 2005, Micah wrote:


Chris Hill wrote:


[snip]

The specific issues are with acroread7, flash and mplayer-plugin. All 
of these worked as plug-ins before the upgrade, but now none of them 
do.


[snip]

Search the list archives for "Flash Plugin in 6.0" and "Flash no longer 
displayed in Firefox".


Neither of those search terms yields any results, but you've given me 
another direction to look. I searched the archives yet again, this time 
on 'linuxpluginwrapper'. Found 
http://www.freebsd.org/cgi/getmsg.cgi?fetch=751336+0+/usr/local/www/db/text/2005/freebsd-questions/20051120.freebsd-questions


...based on which, I did
# ln -s /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
/usr/X11R6/lib/browser_plugins/

This fixed things partially. A visit to 
http://www.macromedia.com/shockwave/welcome/

shows that "regular" flash works, but not shockwave.

Still no luck with PDFs or mplayer-plugin.

Another result from my archive search was 
http://www.freebsd.org/cgi/getmsg.cgi?fetch=1310074+1313109+/usr/local/www/db/text/2005/freebsd-questions/20051120.freebsd-questions 
...which revealed the existence of the WITH_PLUGINS make knob for 
linuxpluginwrapper, so I did

tripel# cd /usr/ports/www/linuxpluginwrapper
tripel# make deinstall
tripel# make -DWITH_PLUGINS reinstall

...which resulted in no change.

I'm at a loss regarding the mplayer-plugin stuff. As for Acrobat, I'd 
bet it has something to do with the disappearance of the path 
/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Reader/intellinux/bin, but 
I don't know how that came to exist or why it no longer does.


It's an issue with the linuxpluginwrapper port, several methods to 
make it work are described in those recent threads.


Thank you for the pointer, especially for the speed of your post.


HTH,
Micah


It did, a little. Thank you.

But it's still vexing that all this stuff worked fine before, and that 
the upgrade seems to have broken it. I'm also curious why 
"about:plugins" shows, for example, mplayer-plugin installed for a wide 
variety of MIME-types, but trying to access online videos no longer 
starts mplayer-plugin as it did before the upgrade.


My meta-question remains: Is this documented, and if so, where?

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


Re: getting sound

2005-12-30 Thread Mark Kane
eoghan wrote:
> Hello
> I have followed the manual page here for sound setup:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound- setup.html
> Im using freebsd 6.0 with generic kernel.  Im not sure what sound  card
> came with my dell (its 3 years old).
> So i did:
> #kldload snd_emu10k1
> #kldload snd_driver
> then:
> #cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0:  at io 0xec40 irq 11 kld snd_es137x(1p/1r/0v 
> channels duplex default)
> This is my first time trying to get the sound working. I try play an 
> mp3 ans dont hear anything. Perhaps using the snd_driver wont work in 
> my case...
> Is there a way to get freeBSD to show my sound device so I can load  the
> correct module? Or is there something else im doing wrong?
> Thanks
> Eoghan

It looks to me like the "snd_driver" did it (since it shows "snd_es127x"
 loaded), but if you still are not getting any sound then check some
things.

1) The parts list you pasted seems like it's the Creative CT5807 sound
card. I don't see that particular model on the hardware supported list,
although similar models are listed under that driver (man snd_es137x).

2) Check the volume. Type "mixer" at a shell and make sure the levels
are up. The manpage for "mixer" should tell you how to change those
settings if you need to.

3) Are you running KDE or artsd? On one of my machines that I set sound
up on a long time ago everything was going fine (no errors, sndstat
showed it, etc) but KDE's artsd interfered with the volume when KDE was
on. So if you are in KDE then I'd say to stop the GUI and go to the
console where artsd won't be running and then do your testing. You can
also disable artsd but I'm not sure where as it's been a while since
I've used KDE.

4) Are your speakers/headphones/mixer volumes up?

-Mark


-- 
GnuPG Public Key:
http://www.mkproductions.org/mk_pubkey.asc

Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)


signature.asc
Description: OpenPGP digital signature


Re: getting sound

2005-12-30 Thread eoghan

On 30 Dec 2005, at 16:37, Gerard Seibert wrote:


On Friday, December 30, 2005 11:12:07 AM
eoghan <[EMAIL PROTECTED]>
Subject: getting sound
Wrote these words of wisdom:


Hello
I have followed the manual page here for sound setup:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-
setup.html
Im using freebsd 6.0 with generic kernel.  Im not sure what sound
card came with my dell (its 3 years old).
So i did:
#kldload snd_emu10k1
#kldload snd_driver
then:
#cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0xec40 irq 11 kld snd_es137x(1p/1r/0v
channels duplex default)
This is my first time trying to get the sound working. I try play an
mp3 ans dont hear anything. Perhaps using the snd_driver wont work in
my case...
Is there a way to get freeBSD to show my sound device so I can load
the correct module? Or is there something else im doing wrong?
Thanks
Eoghan



* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

If the PC is only three years old, and assuming that no one has worked
on it, just go to the Dell web site. Under 'support' you can  
navigate to

where you can place your PC's serial # and it will display how the
machine was built. That takes all the guess work out of finding out  
what

is installed.


Thanks for the tip, I got this, but am not sure if the sound card is  
listed?


1
04VWN
LABEL, MSLOGO, W98/W2K
1
211XH
LABEL, REGULATORY, SIDE, UNIVERSAL, BLANK, MIDNIGHT GRAY
1
23501
LABEL, BARCODE, SYS BOX, GENERIC
1
23503
LABEL, BARCODE, TRACK, SYSTEM BOARD, GENERIC
1
37MKC
HEATSINK, CUSTOM, HI-PWR, ALL COUNTRIES
1
43YVH
PROCESSOR, 80528, 1.4GHZ, 0K, 400FSB, SOFTWARE KOGYO
1
48480
SCREW, 6-32X1/4", HX, THREAD FORMED, ZINC PLATED STEEL, TRI-PT
1
5828D
CBL ASSY, ATA66, 2DROP, KLINGER
0
58FHK
INFORMATION, SLBL3, DIM8100, NETWORK INTERFACE CARD/CONTROLLERS, 3COM
1
5C363
ASSEMBLY, CHASSIS, PREPARED/PREPPED, DIMENSION, MIDNIGHT GRAY, POWER  
FACTOR CORRECTION

1
64GJY
LABEL, FASCIA, INTEL-INSIDE, PENTIUM 4
1
6985R
ASSEMBLY, BRACKET, FAN, 92MM, ACOUSTIC
0
71FTK
INFORMATION, SLBL2, 1.4GHZ, DESKTOP
2
83MGJ
ASSEMBLY, CLIP, HEATSINK, DIMENSION, 8100
1
9019C
CBL ASSY, DORADO/ATHENS/TUALATIN/ALMODOR, 34P, FLOPPY DRIVE, 1DROP,  
HUNNICUT/MEDIUM DESKTOP

1
9809T
CBL ASSY, 40P, IDE (INTEGRATED DRIVE ELECTRONICS), 2DROP, LS120  
FLOPPY DRIVE

1
9C701
SHROUD, HI-PWR, PROCESSOR, ALL COUNTRIES, 1.0
1
9D307
PRINTED WIRING ASSY, PLANAR (MOTHERBOARD), 8100, NETWORK INTERFACE  
CARD/CONTROLLERS, CLP/AGP, DIMENSION

1
130NK
MODEM, V90, INTERNAL, DATA FAX, SILVER, REST OF WORLD
1
1C883
KIT, COMPACT DISKETTE, DRIVER, MODEM, COPPER, SILVER, DIMENSION
1
2D780
KIT, CABLE, ADAPTER, 4 PIN PHONE CONNECTOR, HANDSET SUPPORT, PC  
HEALTH, SPAIN/SPANISH

1
09FHK
PAD, MOUSE, DELL ECOM LOGO
1
01NRV
CORD, POWER, 220V, 2MTR, DISPLAY, IRE/UK
1
23DDC
DISPLAY, MULTISCAN, COLOR, 17, DUAL, E771A, NORTHERN HEMISHERE,  
MIDNIGHT GRAY

1
332TR
KEYBOARD, 105, 6P, UNITED KINGDOM, NMB, MIDNIGHT GRAY
0
01295
INFORMATION, FIRST CD ROM
0
2481R
INFORMATION, DIGITAL VIDEO DISK DRIVE, DIMENSION, VALIDATOR
0
83535
INFORMATION, PART, ADVANCED TECHNOLOGY ATTACHMENT PACKET INTERFACE,  
DEVICE

1
8E186
DIGITAL VIDEO DISK DRIVE, 680M, 16X, I, INTERNAL, NEC CORPORATION,  
REV2, MIDNIGHT GRAY

0
94198
INFORMATION, NO ONBOARD SOUND
4
94682
SCREW, M3X.5X5MM, HEXHEAD, PHILLIPS HEAD, THREAD FORMED, ZINC PLATED  
STEEL

1
0996P
DISKETTE, BLANK, ZIP DRIVE, 3.5" FORM FACTOR, 250M, 1PCE
1
0C138
REMOVABLE MEDIA STORAGE, ZIP DRIVE, 250M, I, 3.5" FORM FACTOR,  
IOMEGA, V4, MIDNIGHT GRAY

1
218JF
ASSEMBLY, BRACKET, FLOPPY DRIVE, 1.0, GENERIC, MIDNIGHT GRAY
8
94682
SCREW, M3X.5X5MM, HEXHEAD, PHILLIPS HEAD, THREAD FORMED, ZINC PLATED  
STEEL

2
7064P
RAMBUS INLINE MEMORY MODULE, 64, 400M, 32X16, 4C
0
79412
INFORMATION, PRICE INCL MEM
0
8816P
INFORMATION, RAMBUS INLINE MEMORY MODULE, 128/400, 2, 8C, NO  
OPERATING SYSTEM, OPPL

2
9578D
CARD (CIRCUIT), MEMORY BOARD, MEMORY, PRINTED WIRING BOARD,  
CONTINUITY, RAMBUS

1
735HE
MOUSE, PERSONAL SYSTEM 2, 6P, 2BTN, WHEEL, 1.3A, MICROSOFT, MALE
1
41RRT
HARD DRIVE, 20G, I, 1N, NO CONTROLLER/NO CABLES, QTM-LCT20
4
48480
SCREW, 6-32X1/4", HX, THREAD FORMED, ZINC PLATED STEEL, TRI-PT
0
79409
INFORMATION, EXTREME PERFORMANCE SYSTEM, HARD DRIVE, PRICE LIST,  
DIMENSION

1
579PK
KIT, DOCUMENTATON ON FLOPPY DISK, SOFTWARE, DIGITAL VIDEO DISK DRIVE,  
IVIB45, WITH DOLBY HEADPHONE TECHNOLOGY

1
4146C
KIT, DISKETTE, DIAGNOSTICS, DOS7, 3.5" FORM FACTOR, UNITED STATES
1
48YKH
LABEL, CERTIFICATE OF AUTHENTICITY, WINDOWS 2000 PROFESSIONAL
1
77MYY
KIT, DOCUMENTATION ON COMPACT DISK, WINDOWS 2000 PROFESSIONAL, SP1,  
5.25" FORM FACTOR, ENGLAND/ENGLISH

1
088GF
CARD (CIRCUIT), MULTI-MEDIA, AUDIO, CT5807, PC164, FRONT AUDIO JACK
1
57589
CABLE, AUDIO, MOLEX TO MOLEX
0
94198
INFORMATION, NO ONBOARD SOUND
1
6C316
'KIT, SOFTWARE, WKS-STE2K1, ORIGINAL EQUIPMENT MFGR., UNITED KINGDOM,  
7CD

1
16583
CORD, POWER, 2 METERS, IRE/UK
1
33KVP
PLACEMAT, GETTING STARTED, DIMENSION, 8100, EUROPE, MIDDLE E

Re: how to keep a freebsd 6.0 release up to date

2005-12-30 Thread Chris Hill

On Fri, 30 Dec 2005, Romeo Theriault wrote:

Hi, I'm interested in how to keep a freebsd 6.0 release up to date 
without having to follow the stable branch. All of the security 
advisories have instructions on how to patch systems up to 5.4, even 
though 6.0 is listed as affected also.  I've read that 
'freebsd-update' will do this, is this correct?  But if I don't want 
to use 'freebsd-update' is there a security branch I can follow with 
CVSup.


Yes. In your supfile for system updates, put
*default tag=RELENG_6_0

Then, when you cvsup, you will get 6.0-RELEASE with the latest security 
updates.


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


Re: Hardware graphics

2005-12-30 Thread Micah

Jon wrote:

Hi,

I need some help getting hardware graphics going. I
built radeon.ko and drm.ko from drm cvs and loaded
them, a quick dmesg drm says the modules are loaded.
(drm 1.21.0 20051229) I was told on here I would need
the r300 DRI module for my ATI Radeon 9800 Pro which I
got from the FreeBSD Ports 'dri-6.2.20050719,1', that
built and installed r300_dri.so. I'm using
radeon_drv.o in my Xorg.conf file as the display
driver, I had a look at my Xorg.conf Log file and it
says: 
(WW) RADEON(0): Direct rendering not yet supported on
Radeon 9500 and newer 
(II) RADEON(0): Render acceleration unsupported on

Radeon 9500/9700 and newer.
(II) RADEON(0): Render acceleration disabled

What else could be the problem?
-- Thanks
FreeBSD 6.0 STABLE


I haven't tried it yet on my r300 based card, so I don't know if it will 
actually work.  I think I read that you need to specify r300 as you xorg 
driver, not radeon. Radeon is the driver for older radeon cards, r300 is 
the driver for newer radeon cards.


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


Re: 6.0-REL && isos of distfiles

2005-12-30 Thread Giorgos Keramidas
On 2005-12-29 16:10, [EMAIL PROTECTED] wrote:
> El d?a Thursday, December 29, 2005 a las 04:58:14PM +0200, Giorgos Keramidas 
> escribi?:
> > They are not specific to a single release.  You can just copy over
> > the distfiles from the older notebook and rebuild your ports.
>
> That's not true. I copied over the /usr/ports/distfiles from my
> 5.4-REL to the 6.0-REL but the ports-collection which comes with
> 6.0-REL will use other sources while doing 'make install' in
> /usr/ports/x11/kde:
>
> 5.4-REL:
>
> $ ls -lutr libtoo*
> -rw-r--r--  1 root  wheel  2699923 29 dic 13:17 libtool-1.5.10.tar.gz
> -rw-r--r--  1 root  wheel   538884 29 dic 13:18 libtool-1.3.5.tar.gz
> $ cd KDE
> $ ls -lutr kdeba*
> -rw-r--r--  1 root  wheel  22670772 29 dic 13:18 kdebase-3.4.0.tar.bz2
>
> 6.0-REL:
>
> $ ls -lutr libtoo*
> -rw-r--r--  1 root  wheel  2699923 Dec 29 13:17 libtool-1.5.10.tar.gz
> -rw-r--r--  1 root  wheel  2780846 Dec 29 13:28 libtool-1.5.18.tar.gz
> 
> -rw-r--r--  1 root  wheel   538884 Dec 29 14:10 libtool-1.3.5.tar.gz

This is because some of the ports have been updated since 5.4-RELEASE
was cut.  Ports are constantly updated and upgraded to newer, better
versions of the packages.  Using the same /usr/ports tree will always
build the same packages from the same sources though.  Sorry for not
making this explicit in my original post.

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


RE: sendmail-submit and envelope-from

2005-12-30 Thread Ruben Bloemgarten
Hi all, 

A pity nobody came up with any ideas, oh well. I decided to just change to
php syntax instead ( I'd still really like to now what was different in the
'working' setup though). It now reads 

The submit is still very slow, it takes approximately 3 seconds per mail.
Hmmm, I suppose I'll just have to delve into that wonderfull world called
sendmail even deeper. Unless, unless, maybe someone does have a pointer or
two ??

Anyway, thanks. (not being sarcastic here) 

Regards, 
Ruben 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ruben Bloemgarten
Sent: December 28, 2005 4:35 PM
To: [EMAIL PROTECTED]
Subject: sendmail-submit and envelope-from 

Hi all, 

I hope someone could help me out with the following :

On 5.4 I'm running a few jails, one of which is running the mail::toaster
incarnation of qmail. All is well. From another jail I want to use a php
script to generate mailings rewriting the envelope-from:

 

This does work on a different system, not running on jails with a non ports
compile of qmail (not installed by me).

The main difference here being that on the 'working system', the
mail-sendmail wrapper is used instead of sendmail. So I went and tested the
same script on the qmail jail, which has the same 'problem' as sendmail does
from the other jail. So something seems to have been changed on this setup
to allow this behaviour (I assume having 'From', rewrite both return address
and the envelope-from). I can't for the life of me figure out what.

Oh, and unrelated but also annoying is the submit from the different jails
to the qmail jail is a bit slow. 

Any pointers anyone ?

Thanks, 
Ruben 

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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 12/27/2005

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 12/27/2005
 

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


"The Complete FreeBSD": errata and addenda

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

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

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

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


How to get best results from FreeBSD-questions

2005-12-30 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

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

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

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

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

=

Contents:

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

I: Introduction
===

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

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

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

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

II:  How to unsubscribe from FreeBSD-questions
==

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

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for "[EMAIL PROTECTED]").  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

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

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

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

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

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

  2.  You're subscribed to a mailing list which is subscribed to
  Fr

how to keep a freebsd 6.0 release up to date

2005-12-30 Thread Romeo Theriault
Hi, I'm interested in how to keep a freebsd 6.0 release up to date  
without having to follow the stable branch. All of the security  
advisories have instructions on how to patch systems up to 5.4, even  
though 6.0 is listed as affected also.  I've read that 'freebsd- 
update' will do this, is this correct?   But if I don't want to use  
'freebsd-update' is there a security branch I can follow with CVSup.


Thanks,

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


Re: Recursive FTP upload tool?

2005-12-30 Thread Alexander Pohoyda
> > I'm looking for a command-line tool to recursively upload all changed
> > files/directories to my homepage server via FTP.  Is there anything
> > better than wput for this task?
> 
> Have you seen this article on automating command line ftp?
> http://www.onlamp.com/pub/a/onlamp/excerpt/BSDHacks_chap1/index1.html

Good article, thank you very much.

> It recommends ncftp client, but I don't know if it does what you
> want or not.

Yes, it does, but not better than wput, so I'll stick with wput for a
while.

BTW, I added a feature to read passwords from ~/.netrc file, so
whoever needs it, please follow this feature request:


https://sourceforge.net/tracker/index.php?func=detail&aid=1393643&group_id=141519&atid=749616


-- 
Alexander Pohoyda <[EMAIL PROTECTED]>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: getting sound

2005-12-30 Thread Gerard Seibert
On Friday, December 30, 2005 11:12:07 AM
eoghan <[EMAIL PROTECTED]>
Subject: getting sound 
Wrote these words of wisdom:

> Hello
> I have followed the manual page here for sound setup:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound- 
> setup.html
> Im using freebsd 6.0 with generic kernel.  Im not sure what sound  
> card came with my dell (its 3 years old).
> So i did:
> #kldload snd_emu10k1
> #kldload snd_driver
> then:
> #cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0:  at io 0xec40 irq 11 kld snd_es137x(1p/1r/0v  
> channels duplex default)
> This is my first time trying to get the sound working. I try play an  
> mp3 ans dont hear anything. Perhaps using the snd_driver wont work in  
> my case...
> Is there a way to get freeBSD to show my sound device so I can load  
> the correct module? Or is there something else im doing wrong?
> Thanks
> Eoghan


* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

If the PC is only three years old, and assuming that no one has worked
on it, just go to the Dell web site. Under 'support' you can navigate to
where you can place your PC's serial # and it will display how the
machine was built. That takes all the guess work out of finding out what
is installed.

-- 
Gerard Seibert
[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: PC-BSD

2005-12-30 Thread Teilhard Knight
- Original Message - 
From: "Victor" <[EMAIL PROTECTED]>

To: <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, December 26, 2005 4:46 PM
Subject: Re: PC-BSD





Can PC-BSD be installed in a logical partition? I understand
FreeBSD can
only be installed in a primary partition.

Teilhard.


I'm quite sure you are correct, but I'd ask on the PC-BSD forums, as
this list deals with straight FreeBSD.

Victor


Thank you for your reply. I found the answer explicitly in one of the FAQs 
of the PC-BSD site. My suspicions were right. It can only be installed in a 
primary partition. So, now we know.


Teilhard. 


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


getting sound

2005-12-30 Thread eoghan

Hello
I have followed the manual page here for sound setup:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound- 
setup.html
Im using freebsd 6.0 with generic kernel.  Im not sure what sound  
card came with my dell (its 3 years old).

So i did:
#kldload snd_emu10k1
#kldload snd_driver
then:
#cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0xec40 irq 11 kld snd_es137x(1p/1r/0v  
channels duplex default)
This is my first time trying to get the sound working. I try play an  
mp3 ans dont hear anything. Perhaps using the snd_driver wont work in  
my case...
Is there a way to get freeBSD to show my sound device so I can load  
the correct module? Or is there something else im doing wrong?

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


Re: Recursive FTP upload tool?

2005-12-30 Thread Greg Barniskis

Alexander Pohoyda wrote:

Hi folks,

I'm looking for a command-line tool to recursively upload all changed
files/directories to my homepage server via FTP.  Is there anything
better than wput for this task?


If your server supports it, of course rsync seems much better than 
FTP for this task.


Have you seen this article on automating command line ftp?
http://www.onlamp.com/pub/a/onlamp/excerpt/BSDHacks_chap1/index1.html

It recommends ncftp client, but I don't know if it does what you 
want or not.


--
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: Systat -ip 1 strange problem

2005-12-30 Thread Mihai Tanasescu

Well I wasn't very exact:


I have something like this:


ISP links ---> Freebsd Box -- gbit- Cisco 3750 -- users.

If  I issue systat -ip 1 (immediately after a reboot on the Freebsd box) 
I see something like:


90.000 pkt/sec forwarded ( if I look on the C3750 interface statistics 
I  see something similar ).


If I wait 1-2-3 hours and issue systat -ip 1 I see 800-900.000 pkt/sec 
forwarded (but these stats don't correspond to what I'm seeing on the  
C3750).


If I issue systat -ip 3 then I see 90-100.000 pkt/sec which is correct.


Lowell Gilbert wrote:


Mihai Tanasescu <[EMAIL PROTECTED]> writes:

 


Don't know if this is the right list to post this problem, but I hope
I'm not too far off:
   



If you're not sure, then this is the right list.

 


I have a Compaq Proliant ML 350 machine with 3 x fxp and 2 x em
network cards.

If I issue :

systat -ip 1 I see:

   866056packets forwarded0 - no checksum

the same for systat -ip 2.

For systat -ip 3 (and higher):

   83537 packets forwarded0 - no checksum   -   these
are the correct figures


I  really don't have the figures reported for refresh-interval = 1 or
2 and have just installed Freebsd 5.4 on it. (The same problem
manifests with Freebsd 6.0 on that box).

A friend of mine has a similar setup (but not a Compaq box) and
doesn't see strange values for -ip 1 and -ip 2.



Any clue on what's happening or what's causing this ?
   



I'm not quite sure what you're saying here.  Are you saying that if
you use a refresh interval of 1, it tells you you're getting over
800,000 packets forwarded per second, but with a longer refresh
interval, it gives you values of around 35,000 packets per second?
And that you know from some other method that the latter is correct?

 


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


Re: Unable to install Webmin

2005-12-30 Thread Lowell Gilbert
Gerard Seibert <[EMAIL PROTECTED]> writes:

> On Thursday, December 29, 2005 10:15:24 AM
> Lowell Gilbert <[EMAIL PROTECTED]>
> Subject: Re: Unable to install Webmin
> Wrote these words of wisdom:
> 
> > Hmm.  I can't reproduce the problem.
> > 
> > Did you install from the port?
> > If so, did you set the rc.conf variable as instructed by the port?
> 
> 
> * REPLY SEPARATOR *
> On 10/11/2005 5:29:42 PM, Gerard Replied:
> 
> Yes, I have the proper notation in rc.conf. The 'webmin' program is
> causing a perl.core dump, and I cannot fathom why. I have deleted and
> rebuilt everything, but still no success.
> 
> I spoke to someone a day ago who said that they had webmin running fine
> and then suddenly one day it started doing the same thing as mine. They
> never got it to work either until they dumped the system and started
> over. I am not about to go that route.
> 
> I have no idea what to do with the perl.core file. Perhaps someone knows
> how to debug this situation.

Well, running it under a debugger would be the obvious way.  
truss(1) would be worth trying first.

Since perl is otherwise working, you might try contacting
the webmin port maintainer for advice.

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


Re: Systat -ip 1 strange problem

2005-12-30 Thread Lowell Gilbert
Mihai Tanasescu <[EMAIL PROTECTED]> writes:

> Don't know if this is the right list to post this problem, but I hope
> I'm not too far off:

If you're not sure, then this is the right list.

> I have a Compaq Proliant ML 350 machine with 3 x fxp and 2 x em
> network cards.
> 
> If I issue :
> 
> systat -ip 1 I see:
> 
> 866056packets forwarded0 - no checksum
> 
> the same for systat -ip 2.
> 
> For systat -ip 3 (and higher):
> 
> 83537 packets forwarded0 - no checksum   -   these
> are the correct figures
> 
> 
> I  really don't have the figures reported for refresh-interval = 1 or
> 2 and have just installed Freebsd 5.4 on it. (The same problem
> manifests with Freebsd 6.0 on that box).
> 
> A friend of mine has a similar setup (but not a Compaq box) and
> doesn't see strange values for -ip 1 and -ip 2.
> 
> 
> 
> Any clue on what's happening or what's causing this ?

I'm not quite sure what you're saying here.  Are you saying that if
you use a refresh interval of 1, it tells you you're getting over
800,000 packets forwarded per second, but with a longer refresh
interval, it gives you values of around 35,000 packets per second?
And that you know from some other method that the latter is correct?

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


Re: Installation of linux_base on 6.0-RELEASE-p1

2005-12-30 Thread Lowell Gilbert
Leslie Jensen <[EMAIL PROTECTED]> writes:

> I've installed the linux_base but later found out that I needed the
> linux_base-8. I did a make deinstall for the linux_base and then I
> tried to install the linux_base-8.
> 
> cd /usr/ports/emulators/linux_base-8
> 
> make install clean
> 
> ===>  Installing for linux_base-8-8.0_10
> ===>   Generating temporary packing list
> ===>  Checking if emulators/linux_base-8 already installed
> kern.fallback_elf_brand: 3 -> 3
> redhat-release-8.0-8.noarch.rpm
> glibc-common-2.3.2-4.80.8.i386.rpm
> glibc-2.3.2-4.80.8.i386.rpm
> setup-2.5.20-1.noarch.rpm
> filesystem-2.1.6-5.noarch.rpm
> basesystem-8.0-1.noarch.rpm
> libattr-2.0.8-3.i386.rpm
> libacl-2.0.11-2.i386.rpm
> libelf-0.8.2-2.i386.rpm
> bzip2-libs-1.0.2-5.i386.rpm
> termcap-11.0.1-13.noarch.rpm
> compat-db-3.3.11-2.i386.rpm
> db4-4.0.14-14.i386.rpm
> gdbm-1.8.0-18.i386.rpm
> glib-1.2.10-8.i386.rpm
> libtermcap-2.0.8-31.i386.rpm
> bash-2.05b-5.1.i386.rpm
> bzip2-1.0.2-5.i386.rpm
> compat-libstdc++-7.3-2.96.110.i386.rpm
> 
> file /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so from install of
> compat-libstdc++-7.3-2.96.110 conflicts with file from package
> libstdc++-2.96-110
> *** Error code 2
> 
> Stop in /usr/ports/emulators/linux_base-8.
> 
> 
> I need to solve the conflict with libstdc but I can't find information
> on how.
> 
> I would appreciate if someone could point me in the right direction.

That's a confusing error message, all right.  Or maybe I just need
more coffee...

Okay, it looks like RPMs for compat-libstdc++-7.3-2.96.110 and
libstdc++-2.96-110 are banging into each other.  The latter is
probably from linux_base and the former from linux_base-8.  At a
guess, removing the linux_base port didn't go well.  

Maybe removing the linux packages (use pkg_delete(1) rather than "make
deinstall", as it will not be confused if you update your ports
skeletons) and cleaning /usr/compat out thoroughly is the way to go.
That would take a lot of time, though; first try figuring out whether
any port actually owns the conflicting file, and if not, remove that
by hand.

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


qemu and bridging

2005-12-30 Thread Jan ZACH

Hi,

I'm configuring qemu. Everything works fine except networking between 
the bsd host and the qemu computer (I cannot ping from bsd to qemu and 
vice versa). Networking with other computers works fine. Am I missing 
anything in my configuration?


Thanks a lot
Jan

bge0: flags=8943 mtu 1500
   options=1a
   inet 10.10.100.120 netmask 0xff00 broadcast 10.10.100.255
   ether 00:0f:1f:b9:ff:fb
   media: Ethernet autoselect (100baseTX )
   status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
   inet 127.0.0.1 netmask 0xff00
tap0: flags=8943 mtu 1500
   ether 00:bd:98:a7:01:00
   Opened by PID 849


DestinationGatewayFlagsRefs  Use  Netif Expire
default10.10.100.1UGS 014167   bge0
10.10.100/24   link#1 UC  00   bge0
10.10.100.100:50:7f:25:2d:e0  UHLW20   bge0   1183
10.10.100.122  52:54:00:12:34:56  UHLW11   bge0   
1195   <--- qemu computer

localhost  localhost  UH  0  495lo0

kldstat
Id Refs AddressSize Name
41 0xc07c3000 4188 if_tap.ko
161 0xc0821000 be20 kqemu.ko
171 0xc082d000 9150 bridge.ko
211 0xc1e44000 d000 ipfw.ko

net.link.ether.bridge_cfg: bge0,tap0
net.link.ether.bridge_ipfw: 0
net.link.ether.bridge_ipf: 0
net.link.ether.bridge.config: bge0,tap0
net.link.ether.bridge.enable: 1
net.link.ether.bridge.predict: 0
net.link.ether.bridge.dropped: 0
net.link.ether.bridge.packets: 11863
net.link.ether.bridge.ipfw_collisions: 0
net.link.ether.bridge.ipfw_drop: 0
net.link.ether.bridge.copy: 0
net.link.ether.bridge.ipfw: 0
net.link.ether.bridge.ipf: 0
net.link.ether.bridge.debug: 0
net.link.ether.bridge.version: 031224
net.link.gif.parallel_tunnels: 0
net.link.gif.max_nesting: 1
net.link.log_link_state_change: 1
net.link.tap.debug: 0
net.link.tap.user_open: 1

qemu option to run net: -net nic -net tap,ifname=tap0

qeumu computer is running winxp with dhcp enabled
___
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 get gdbserver for FreeBSD 5.4?

2005-12-30 Thread Lowell Gilbert
Paul Marciano <[EMAIL PROTECTED]> writes:

> I am using FreeBSD 5.4-RELEASE and would like to use
> gdbserver, but I can't find it.
> 
> The source tree has gdbserver in two places:
> 
> /usr/src/contrib/gdb/gdb/gdbserver
> and
> /usr/src/gnu/usr.bin/binutils/gdbserver

The sources are actually in the second; the first is just build
infrastructure.  Note that they're not hooked up to the master build;
David O'Brien removed them from the makefiles in 2002, apparently as
part of bringing in the Gnu binutils 2.12.

http://www.freebsd.org/cgi/cvsweb.cgi/src/gnu/usr.bin/binutils/Makefile

> There's also a gdb6 in /usr/ports/devel.

Yes, but that doesn't include gdbserver either.

> 
> The installed gdb says its version 6.1.1, and it looks
> like the /usr/src/contrib/gdb tree is also 6.1.1, but
> there's no configure script or Makefile.  Is this tree
> a patch for the usr/ports/devel/gdb6?

No.  It's the sources for gdbserver, but not ported to build on
FreeBSD.  

> I'm a bit lost right now.  I hope someone can help me
> find my way.

gdbserver isn't currently ported for FreeBSD.  If you really need it
(as opposed to some other form of remote debugging), you could
probably best get started by asking obrien for hints.

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


IPFW traffic shaping questions

2005-12-30 Thread Pavel Duda

Hello,
I have few questions for ipfw gurus..

1) can I see what packets are matching my pipes/queues ? I'm using "ipfw 
pipe show" for example but there is always only one host so if I'm 
testing some rules I can't tell if they work or not (maybe there is some 
other way how to "trace" such things ?)


2) how to correctly setup ul/dl limits for clients ? I have 4096/256 
line and I want primarily control upload because when someone starts 
uploading too much line become unusable for low latency apps (games, ip 
phone, audio broadcasting). I have created queues to limit upload, but 
then also download was affected and slowdown was very big. I have tried 
to add rule for ACK packets - no effect (I'm not network guru maybe this 
is not enough for speeding up download).


Now I'm thinking that maybe I have wrong rules because as I remember 
pipes and queues are managed diferently then other ipfw rules and even 
when I put unlimited pipe for "ACK out" it is then limited by second 
rule for "all out" - pipes/queues are not "first match wins" right ?


3) this is similar to 1) - is there some tool for monitoring how packet 
"flows" through rules ? And I don't mean using "ipfw log" :-) ...


Any advice or web tutorial for network-lama (ie. me :-) ) appreciated.

Thanks & Happy New Year
Pavel D.

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


NX client & server

2005-12-30 Thread martinko

hello,

i've installed net/linux-nx-client and net/freenx ports.

first i tried to connect to NoMachine's testdrive server but the client 
crashed with signal 11 somewhere in the middle of the connecting process.


then i tried `nxclient --admin` which hanged my whole X11 or window 
manager (window maker). i had to switch to the console and kill them.


for both above i followed http://www.linuxjournal.com/article/8538 .

next, i installed freenx server but don't know what to do next. i've 
come across many documents on the net, but all of them are related to 
different linux distros and they differ substantially. also, i noticed 
there hasn't been nx user created and the scripts installed contain 
wrong paths (ie original paths, not the ones used on freebsd).


i'm a bit perplexed now. what is the state/status of these ports and is 
there any howto on freebsd installation please ??


with regards,

martin

ps: this is freebsd 6-stable and recent ports tree.

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


Re: 6.0-REL && isos of distfiles

2005-12-30 Thread Greg Barniskis

[EMAIL PROTECTED] wrote:

El día Thursday, December 29, 2005 a las 11:13:50AM -0600, Greg Barniskis 
escribió:

...


My point was that I don't have a fast Internet link at home to fetch all
the (new) sources for the distfiles and I was looking for distfiles on
CD which match exactly the 6.0-REL ports collection requirements;



...

Anyway, do you think you could download an ISO of the sources all 
that much faster than just downloading the sources directly from 
their respective repositories around the world as is normally done? 
OK, maybe a little bit faster, but not that much.



Now you're close to my point :-)

In the company, where I'm at the moment, I've an uplink to Internet
of 2 mb, at home I've 64 kbit; so my idea was to fetch, lets say
4 CD at high speed, burn them and use them at home for the needed
disfiles; it seems that this would be a good idea to place somewhere
a start collection of the disfiles matching exactly the versions
which will be fetched by the ports, at least for the the most common
parts of the ports collection, don't you think so?


No, I don't. It's one thing for the individual port maintainers to 
try to keep pace with updating the ports Makefiles telling you where 
you can download each distfile from, and quite another to try to 
create a central repository for these distfiles. Would you like to 
volunteer to host it and keep it current? ;)


Also, the "most common parts of the ports collection" are on the 
distribution ISOs as packages. Again, if you simply must have 
sources not packages, then at your high speed location, do something 
like:


portupgrade -F '*'

Then burn your own ISOs any which way you like. Try to be more 
specific about what you want than '*' or you may be sorry due to the 
sheer volume -- do you really want all of the sources for nearly 
14,000 ports?


Or perhaps this is what you want?
http://www.freebsdmall.com/cgi-bin/fm/bsdtool?id=yvFGn3kw&mv_pc=26

--
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: gvinum: adding plex and subdisks to existing volume

2005-12-30 Thread Ludo Koren

 > On 23 dec 2005, at 15:25, Ludo Koren wrote:

>>> Arno Beekman <[EMAIL PROTECTED]> writes:
>>
>>> On 18 dec 2005, at 18:24, Ludo Koren wrote:
>>
 Any help appreciated, I cannot find useful hints.
 
>>
>>> http://www.vinumvm.org/ http://www.freebsddiary.org/vinum.php
>>> man 4 vinum man 8 vinum
>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-
>>> vinum.html http://devel.reinikainen.net/docs/how-to/Vinum/
>>  maybe I was not enough specific. There is not enough
>> information about gvinum in the case. All you've mentioned is
>> about vinum and there are some diffrences; not all commands are
>> implemented... BTW, the addition of disk on 5.4-STABLE is
>> causing panic. I posted the problem to the
>> [EMAIL PROTECTED]
>> 
>> Regards,
>> 
>> lk
>> 

 > hi Ludo,

 > gvinum = vinum anything you need to do to add a new drive which
 > is written on those sites can be done for gvinum as well...  at
 > least that's my experience

http://wikitest.freebsd.org/moin.cgi/GvinumManPage

specifically BUGS:

gvinum(8) does not yet fully implement all functions found in
vinum(4). Specifically, the following commands from vinum(4) are not
supported: 
...

 > if you follow the descriptions of replacing a disk and get
 > panics there might be something else that's wrong


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


Latest Nvidia Driver...

2005-12-30 Thread Jeff Molofee
Has anyone else noticed flickering along the edges of a video when 
playing high resolution video in mplayer using -vo xv? After upgrading 
to the latest driver, I have noticed that the edges of any video I play 
that is higher resolution than my monitor supports waves, flickers, etc. 
This happens in fullscreen (scaled to fit the monitor) and in windowed 
mode... ONLY if the video is off the left or top half of the screen. If 
I move the top left corner of mplayer completely onto the screen, the 
video is perfect, even though the bottom and right half are off the 
screen. Playing with -vo x11, gl or gl2 works fine, but is slower.


Would love some feedback if anyone knows what the problem is.

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


Re: booting off 6.0 cdrom for Install

2005-12-30 Thread Jud
On Fri, 30 Dec 2005 00:20:15 -0600, "Daniel Goldberg"
<[EMAIL PROTECTED]> said:

> I have created a "FreeBSD_Install" cdrom from the
> 6.0-RELEASE-i386-disc1.iso download.
> When I boot from the cd I reach a 6-option Boot menu but do not get to
> the Install menu described in 2.3.1 of the Handbook.
>  
> Note: If I do try to boot, the boot process itself seems to fail with a
> "Cannot dump: no dump device defined" following a "Fatal trap 12 page
> fault while in kernel mode"- in case that illustrates anything, and
> that's boot attempts with or without APCI.

A dump device is a place to put information about problems so that you
can debug them.  It's not what's preventing you from getting to the
Install menu.  The kernel panic - "Fatal trap 12 page fault while in
kernel mode" - is what's doing that.  Re kernel panic, see generally
http://en.wikipedia.org/wiki/Kernel_panic>.  I don't have the
technical proficiency to help you further re the panic - hopefully
someone else on the list might be able to do that.  I'll try to suggest
some possible workarounds, though:

1) See if the most recent -STABLE snapshot (obtained via FTP, probably
the same place you downloaded the 6.0-RELEASE iso from) likes your
laptop better than the release iso.

2) Check system hardware, particularly memory, for trouble.
 
> So the basic question is:
> Is the install process supposed to be as simple as: 
> A create a primary FAT32 partition
> B boot your machine from the FreeBSD_Install (DISK 1) cd 
> C follow the prompts through the install process 

Simpler than that, actually.  The availability of disk space that can be
made a primary partition is necessary, but FAT32 isn't.

Sorry I couldn't be more helpful.  Hope you get there.

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


Recursive FTP upload tool?

2005-12-30 Thread Alexander Pohoyda
Hi folks,

I'm looking for a command-line tool to recursively upload all changed
files/directories to my homepage server via FTP.  Is there anything
better than wput for this task?

-- 
Alexander Pohoyda <[EMAIL PROTECTED]>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: NATD Internal Network problems

2005-12-30 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Chris S. Wilson
>Sent: Thursday, December 29, 2005 3:08 PM
>To: Greg Barniskis
>Cc: freebsd-questions
>Subject: RE: NATD Internal Network problems
>
>
>Weird, every other router I've used forwards all the packets properly,
>even my backup linksys when I hook it up.
>

Those aren't forwarding the packets properly.

The CPU in your Linksys isn't capabable of routing 100Mbt of traffic
from an inside host to your linksys then back to the inside host.
Try it some time and see for yourself. - copy a large file around or
some such.  While it's happening your Internet access will roll over
and die.

What the commercial routers like a Cisco can do is DNS translation,
assuming the DNS server is on the outside.  The DNS server responds
with the outside IP address and the translator in the Cisco converts
it to the inside private number.  So the hosts on the inside can use
a regular hostname that would normally resolve to the outside of
the translator, and they get the inside number and nobody knows
the difference.

Some other translators pull this trick by having the DNS server set to
the
IP address of the translator, and they proxy all the DNS queries.

There's a good chance that a large number of these "every other
router I've used" routers you have used are in fact doing this, and you
just didn't even notice.

It is actually extremely easy to do the same thing on a FreeBSD box
running as a translator.  Just turn on named, and setup the named file
for the domain used on your inside net, and forward all other queries to
the real DNS servers on the outside.  Then set the inside hosts to use
the FreeBSD box as their DNS server.  This is exactly how Linksys
does it.  If you need instructions just ask, they are very easy.

Ted

>Really I don't want to do the split dns stuff, sadly I will have to move
>away from FreeBSD for performing this operation I guess.
>
>Thanks for the help!
>
>CW.
>
>-Original Message-
>From: Greg Barniskis [mailto:[EMAIL PROTECTED]
>Sent: Thursday, December 29, 2005 3:05 PM
>To: Chris S. Wilson
>Cc: freebsd-questions
>Subject: Re: NATD Internal Network problems
>
>Chris S. Wilson wrote:
>> Hello! :)
>>
>> I am having a problem with freebsd 5.3-release and natd.
>>
>> When I try to connect to a service on my internal network to an IP on
>> my external network that has a port redirected, it wont connect.
>>
>> IE: 67.128.100.2 is my external IP, on my internal network I try to
>> connect to 67.128.101.2:80 which is forwarded in my natd.conf and the
>> connection is refused.
>>
>> Does anyone know why?
>
>I don't know the exact technical reasons "why" but I will confirm for
>you that this simply does not work, and the reasons why center around it
>being a rather tortured mess.
>
>Your inside machines should reach your inside server by its inside
>address. Think about how you're sending your request outside the
>firewall (getting the request NATed on the way out) and then back in
>(getting the request re-NATed), and then having the reply packets from
>the web server have to take the reverse of that path. Yuck.
>
>Use split DNS so that that "www.example.com" appears to external clients
>as being your external NAT server address, and appears to inside clients
>as the web server's real inside address.
>
>
>--
>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]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date:
>12/29/2005
>

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


6.0-REL && ports/devel/subversion

2005-12-30 Thread guru

Hi,

the ports compilation of subversion-1.2.1 failes with:

subversion/libsvn_ra_dav/commit.c:32:23: ne_socket.h: No such file or directory
subversion/libsvn_ra_dav/commit.c:33:24: ne_request.h: No such file or directory
subversion/libsvn_ra_dav/commit.c:34:22: ne_props.h: No such file or directory
subversion/libsvn_ra_dav/commit.c:35:22: ne_basic.h: No such file or directory


it seems that the missing header files are part of
ports/www/neon/ but don't get installed;

what is the right way to fix this?
Thx

matthias
-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.0-REL && isos of distfiles

2005-12-30 Thread guru
El día Thursday, December 29, 2005 a las 11:13:50AM -0600, Greg Barniskis 
escribió:

...
> >
> >My point was that I don't have a fast Internet link at home to fetch all
> >the (new) sources for the distfiles and I was looking for distfiles on
> >CD which match exactly the 6.0-REL ports collection requirements;
> 
...
> 
> Anyway, do you think you could download an ISO of the sources all 
> that much faster than just downloading the sources directly from 
> their respective repositories around the world as is normally done? 
> OK, maybe a little bit faster, but not that much.

Now you're close to my point :-)

In the company, where I'm at the moment, I've an uplink to Internet
of 2 mb, at home I've 64 kbit; so my idea was to fetch, lets say
4 CD at high speed, burn them and use them at home for the needed
disfiles; it seems that this would be a good idea to place somewhere
a start collection of the disfiles matching exactly the versions
which will be fetched by the ports, at least for the the most common
parts of the ports collection, don't you think so?

some wweks ago I was in Havana giving talks about FreeBSD and
after that I let my 5.4-REL disfiles there in some central servers
so that the folks can setup a 5.4-REL desktop system with KDE and
so on, and without needing access to Internet...

Thx

matthias

-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"