java in a jail

2005-07-17 Thread flowctrl
Hi,

I'm trying to setup OpenXchange in a FreeBSD 5.4 jail environment, and
I'm stuck.  At its core, OpenXchange is 3 java programs, and this one
fails to start:

/usr/local/bin/java -server -ms20M -mx280M -Djava.awt.headless=true
-Dopenexchange.propfile=$OX/etc/groupware/system.properties
-DappName=sessiondApp -Djava.library.path=$OX/lib -classpath
$CLASSPATH com.openexchange.sessiond.oxsessiond -P

It produces these errors in its log file:
Jul 17 04:27:00 localhost openexchange: oxsessiond init (localhost:3)
Jul 17 04:27:00 localhost openexchange: INTERNAL TLS Support: OFF
Jul 17 04:27:00 localhost openexchange: oxsessiond init:
java.net.UnknownHostException: localhost: localhost

Inside the jail, 127.0.0.1 doesn't really exist, according to ifconfig:

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384

I have the standard line in /etc/hosts:
127.0.0.1   localhost localhost.my.domain

I'm guessing that the UnknownHostException: localhost bit indicates
a problem with the hostname localhost not working as expected.  What
can I do to make localhost more normal inside the jail?

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


Re: java in a jail

2005-07-17 Thread Glenn Dawson

At 11:38 PM 7/16/2005, flowctrl wrote:

Hi,

I'm trying to setup OpenXchange in a FreeBSD 5.4 jail environment, and
I'm stuck.  At its core, OpenXchange is 3 java programs, and this one
fails to start:

/usr/local/bin/java -server -ms20M -mx280M -Djava.awt.headless=true
-Dopenexchange.propfile=$OX/etc/groupware/system.properties
-DappName=sessiondApp -Djava.library.path=$OX/lib -classpath
$CLASSPATH com.openexchange.sessiond.oxsessiond -P

It produces these errors in its log file:
Jul 17 04:27:00 localhost openexchange: oxsessiond init (localhost:3)
Jul 17 04:27:00 localhost openexchange: INTERNAL TLS Support: OFF
Jul 17 04:27:00 localhost openexchange: oxsessiond init:
java.net.UnknownHostException: localhost: localhost

Inside the jail, 127.0.0.1 doesn't really exist, according to ifconfig:

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384

I have the standard line in /etc/hosts:
127.0.0.1   localhost localhost.my.domain

I'm guessing that the UnknownHostException: localhost bit indicates
a problem with the hostname localhost not working as expected.  What
can I do to make localhost more normal inside the jail?


Make localhost point to the IP that's assigned to the jail instead of 127.0.0.1

-Glenn



Thanks!
___
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]


The FreeBSD Diary: 2005-06-26 - 2005-07-16

2005-07-17 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: java in a jail

2005-07-17 Thread flowctrl
Thanks Glen; I tried that, by adding a line to /etc/hosts with the
jail's IP address and localhost as the name, and removing the standard
127.0.0.1 line.  However, it made no difference to this java app.


On 7/17/05, Glenn Dawson [EMAIL PROTECTED] wrote:
 At 11:38 PM 7/16/2005, flowctrl wrote:
 Hi,
 
 I'm trying to setup OpenXchange in a FreeBSD 5.4 jail environment, and
 I'm stuck.  At its core, OpenXchange is 3 java programs, and this one
 fails to start:
 
 /usr/local/bin/java -server -ms20M -mx280M -Djava.awt.headless=true
 -Dopenexchange.propfile=$OX/etc/groupware/system.properties
 -DappName=sessiondApp -Djava.library.path=$OX/lib -classpath
 $CLASSPATH com.openexchange.sessiond.oxsessiond -P
 
 It produces these errors in its log file:
 Jul 17 04:27:00 localhost openexchange: oxsessiond init (localhost:3)
 Jul 17 04:27:00 localhost openexchange: INTERNAL TLS Support: OFF
 Jul 17 04:27:00 localhost openexchange: oxsessiond init:
 java.net.UnknownHostException: localhost: localhost
 
 Inside the jail, 127.0.0.1 doesn't really exist, according to ifconfig:
 
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 
 I have the standard line in /etc/hosts:
 127.0.0.1   localhost localhost.my.domain
 
 I'm guessing that the UnknownHostException: localhost bit indicates
 a problem with the hostname localhost not working as expected.  What
 can I do to make localhost more normal inside the jail?
 
 Make localhost point to the IP that's assigned to the jail instead of 
 127.0.0.1
 
 -Glenn
 
 
 Thanks!
 ___
 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]


(no subject)

2005-07-17 Thread Emmett Lawson Jr
does it support wireless 802.11g
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (no subject)

2005-07-17 Thread Robert Slade
On Sun, 2005-07-17 at 07:22, Emmett Lawson Jr wrote:
 does it support wireless 802.11g
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Emmett,

Yes, provided the hardware is supported. 

From the question, I guess you are new to FreeBSD etc so some tips: 

Read the documentation on the web site, in this case you could have
easily got the answer from the supported hardware list. The handbook is
fairly comprehensive too. You are more likely to get an answer if you
have tied to help yourself first.

Please don't forget the subject. There is a lot of traffic on this list
and mails with no subject my get ignored.

That said, the people here are quite helpful. Have fun.

Rob

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


Re: can't mount floppy

2005-07-17 Thread Dmitry Mityugov
On 7/17/05, Gary W. Swearingen [EMAIL PROTECTED] wrote:
 Olga Zenkova [EMAIL PROTECTED] writes:
 
  mount -t msdos /dev/fd0 /mnt
  and get /dev/fd0: No such file or directory
 
 Maybe it's write-protectd.  I've seen strange things happen
 with those disks.  I didn't get that error when I tried
 just now, but now I can't unmount the thing.

Neither did I when I tried yesterday, but I was able to dismount it
with umount /mnt.

-- 
Dmitry Mityugov, St. Petersburg, Russia

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


Basic AVI command-line editing

2005-07-17 Thread Andrew P.
Hello!

I have a headless file server with hundreds of avi-files. I was
wondering if there's a means of some basic command-line editing - like
concatenation and stream processing. I checked with the ports
collection - but there's no such tool. Does anyone know a suitable
program? Maybe just some script?

I'm already reading MS AVI and OpenDML docs, as I feel that I'll have
to write it myself...

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


Re: gettext won't install

2005-07-17 Thread Paweł Madej
Lowell Gilbert wrote:

Okay, then just build the port, but don't try to install it.
See if the missing library is present.
[find /usr/ports/deve/gettext -name libasprintf.so.0 -print]
  

make on that port goes ok. so i got gettext compiled now, but find
command which you wrote returns NULL result.

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


Re: Basic AVI command-line editing

2005-07-17 Thread Shantanoo Mahajan
+++ Andrew P. [freebsd] [17-07-05 14:12 +0400]:
| Hello!
| 
| I have a headless file server with hundreds of avi-files. I was
| wondering if there's a means of some basic command-line editing - like
| concatenation and stream processing. I checked with the ports
| collection - but there's no such tool. Does anyone know a suitable
| program? Maybe just some script?

mencoder? It comes with mplayer.


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


Can't access to gmail (maybe a port problem with ipfw)

2005-07-17 Thread Emil Khatib
Hi everybody. I'm trying to access gmail from my FreeBSD box (5.4).
I'm usinf IPFW. The question is I can acces if I set ipfw to accept
all from any to any, so I know there's a port that should be opened to
access the main page of gmail. When the firewall is up (allowing only
traffic through ports 21, 80 and above 1024) I can't even acces gmail
main page (mozilla simply ignores the address I give it)

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


Re: Basic AVI command-line editing

2005-07-17 Thread Ron
2005/7/17, Andrew P. [EMAIL PROTECTED]:
 Hello!
 
 I have a headless file server with hundreds of avi-files. I was
 wondering if there's a means of some basic command-line editing - like
 concatenation and stream processing. I checked with the ports
 collection - but there's no such tool. Does anyone know a suitable
 program? Maybe just some script?
 
 I'm already reading MS AVI and OpenDML docs, as I feel that I'll have
 to write it myself...
 
 Thanks,
 Andrew P.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
You can concatenate files with cat. 

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


Re: Basic AVI command-line editing

2005-07-17 Thread Andrew P.
On 7/17/05, Ron [EMAIL PROTECTED] wrote:
 2005/7/17, Andrew P. [EMAIL PROTECTED]:
  Hello!
 
  I have a headless file server with hundreds of avi-files. I was
  wondering if there's a means of some basic command-line editing - like
  concatenation and stream processing. I checked with the ports
  collection - but there's no such tool. Does anyone know a suitable
  program? Maybe just some script?
 
  I'm already reading MS AVI and OpenDML docs, as I feel that I'll have
  to write it myself...
 
  Thanks,
  Andrew P.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 You can concatenate files with cat.
 
 Regards, Ron
 
Yeah, but it's not that simple with avi, you've got to update headers
and index carefully.

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


Re: Basic AVI command-line editing

2005-07-17 Thread Andrew P.
On 7/17/05, Shantanoo Mahajan [EMAIL PROTECTED] wrote:
 +++ Andrew P. [freebsd] [17-07-05 14:12 +0400]:
 | Hello!
 |
 | I have a headless file server with hundreds of avi-files. I was
 | wondering if there's a means of some basic command-line editing - like
 | concatenation and stream processing. I checked with the ports
 | collection - but there's no such tool. Does anyone know a suitable
 | program? Maybe just some script?
 
 mencoder? It comes with mplayer.
 
 
 Regards,
 Shantanoo
 

Thanks, I'll look into that. It's a pity it doesn't come separately
from mplayer (and without xorg dependency).

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


Re: Can't access to gmail (maybe a port problem with ipfw)

2005-07-17 Thread Robert Slade
On Sun, 2005-07-17 at 10:47, Emil Khatib wrote:
 Hi everybody. I'm trying to access gmail from my FreeBSD box (5.4).
 I'm usinf IPFW. The question is I can acces if I set ipfw to accept
 all from any to any, so I know there's a port that should be opened to
 access the main page of gmail. When the firewall is up (allowing only
 traffic through ports 21, 80 and above 1024) I can't even acces gmail
 main page (mozilla simply ignores the address I give it)
 
 Thanks in advance for any help
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Emil,

I don't know gmail, but if it is using https that is port 443 so you may
need to open up that too.

Rob

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


Re: Basic AVI command-line editing

2005-07-17 Thread dgmm
On Sunday 17 July 2005 12:22, Andrew P. wrote:
 Thanks, I'll look into that. It's a pity it doesn't come separately
 from mplayer (and without xorg dependency).

There's no enforced X dependancy.

In the past I used mplayer/mencoder on a box with no X via svgalib on the 
console.

You can even use it with the aa driver in text mode :-)


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


Re: flash plugin on freebsd amd64

2005-07-17 Thread RW
On Saturday 16 July 2005 12:48, Emil Khatib wrote:
 Hi, I can't get flash movies to play in freebsd 5.4 amd64. The movies
 play too fast. I've tried the flashplugin-mozilla plugin in the ports.
 I also tried another one. Is there any way to solution this?

The normal answer is that the only ports that handle flash well are the 
genuine macromedia linux-plugins, www/linux-flashplugin6 (or7). However that 
normally requires the use of the linux plugin wrapper, which is marked as 
i386 only. Since the plugins themselve are for i386 and amd64 I suspect it 
can be done.  If you can't find a how-to on google, and don't get a better 
answer here, then try the freebsd-amd64 list. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Basic AVI command-line editing

2005-07-17 Thread Anish Mistry
On Sunday 17 July 2005 06:12 am, Andrew P. wrote:
 Hello!

 I have a headless file server with hundreds of avi-files. I was
 wondering if there's a means of some basic command-line editing -
 like concatenation and stream processing. I checked with the ports
 collection - but there's no such tool. Does anyone know a suitable
 program? Maybe just some script?

 I'm already reading MS AVI and OpenDML docs, as I feel that I'll
 have to write it myself...

Avidemux2 should have this capability soon.  The core scripting 
engine now uses Spidermonkey (ECMAScript/Javascript).  I'm not sure 
if the X dependency will be removed for the initial 2.1 branch, but 
the code is being restructured so there is no longer a GUI dependency 
in the backend code.
This is more of an FYI since I'm anticipating a beta release in the 
next month or two.

-- 
Anish Mistry


pgpBbeuywzCJW.pgp
Description: PGP signature


How to increase / slice in size

2005-07-17 Thread E. J. Cerejo
I'm running FBSD 5.4 and I'm trying to make the /
slice bigger, is this possible?  If it is how is it done?

EJC
www.only7bucks.com

__
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to increase / slice in size

2005-07-17 Thread Nikolas Britton
On 7/17/05, E. J. Cerejo [EMAIL PROTECTED] wrote:
 I'm running FBSD 5.4 and I'm trying to make the /
 slice bigger, is this possible?  If it is how is it done?

Read the man page for growfs, it explains what you need to do to make
your slice bigger.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Basic AVI command-line editing

2005-07-17 Thread nawcom
now im not sure about your specific needs, but transcode is the program 
i usually use for conversion and stream processing. its completely run 
off the command line. /usr/ports/multimedia/transcode.


hope this may help,
Ben

Anish Mistry wrote:


On Sunday 17 July 2005 06:12 am, Andrew P. wrote:
 


Hello!

I have a headless file server with hundreds of avi-files. I was
wondering if there's a means of some basic command-line editing -
like concatenation and stream processing. I checked with the ports
collection - but there's no such tool. Does anyone know a suitable
program? Maybe just some script?

I'm already reading MS AVI and OpenDML docs, as I feel that I'll
have to write it myself...

   

	Avidemux2 should have this capability soon.  The core scripting 
engine now uses Spidermonkey (ECMAScript/Javascript).  I'm not sure 
if the X dependency will be removed for the initial 2.1 branch, but 
the code is being restructured so there is no longer a GUI dependency 
in the backend code.
	This is more of an FYI since I'm anticipating a beta release in the 
next month or two.


 



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


Re: (no subject)

2005-07-17 Thread Nikolas Britton
On 7/17/05, Emmett Lawson Jr [EMAIL PROTECTED] wrote:
 does it support wireless 802.11g

http://www.freebsd.org/cgi/man.cgi?query=athsektion=4manpath=FreeBSD+5.4-RELEASE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Three questions...

2005-07-17 Thread RW
On Friday 15 July 2005 20:27, George Ruch wrote:

 Q3: Partitioning
Yes, I know you've seen several million questions on partitioning
 schemes.  I've read up on it, and I'd like to get some feedback on this
 plan.  All slices would be p/o ad1a, which has approx. 14,704MB free.

   /   128M
   /usr8192M
   /home   3312M
   /var1024M
   /tmp1024M
   swap1024M  (4 x physical)

With this amount of space, unless you a setting up a server for a  dedicated 
application, I would go with the freebsd default of having /home as a symlink 
to /usr/home. 

I would also shrink /tmp down at least to 256M or even less, normally things 
break down into two sets: those that need fiddling small amounts of tmp 
space, and those that need huge amounts and need to be pointed elsewhere. 

Similarly with /var - I'm currently using 68MB out of 512MB on a standard 
desktop machine, huge var partitions are used in certain kinds of specialist 
servers.

BTW I would recommend GAG as a boot manager:

- no configurations files needed, you can install it through menus from a 
linux live cd
- once it's installed on the disk you can maintain it from it's own bootprompt 
menu. That's a really nice, because a year from now you wont need to reread 
man pages to change the boot delay, or add another os.

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


Re: boot loader

2005-07-17 Thread Gunter Wambaugh


On Jul 16, 2005, at 1:35 PM, freebsd wrote:


Gunter Wambaugh wrote:


On Jul 16, 2005, at 1:53 AM, e-mail for freebsd wrote:


Hi,

I have installed FreeBSD 5.4 (from CD) onto a ThinkPad A21.  I  
also  have
Win2Kpro on this laptop.  FreeBSD is installed at about the 7G  
mark  on the

harddrive.

I had 4.3 installed previously, and thought I would just start   
over.  Howver,
when the laptop boots, I get the f1 DOS f2 Freebsd prompt, but I   
can't boot

FreeBSD.  Win2K boots just fine.

I tried a number of things:
1) re-installing
2) fixmbf (win2K utility to restore the mbr)

With no success.  Any words of wisdom would be welcome.

Thanks!

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




I had a similar problem last week.  I had FreeBSD on the first   
partition and Gentoo on the second, and couldn't boot to Gentoo.   
I  was able to resolve my issue by doing:

$ boot0cfg -o packet ad4
Thats from memory, so viewing the boot0cfg man page would be a  
good  idea.

HTH



Gunther,

That did the trick.  I can now boot sucessfully.  Thanks!

That must somehow be connected to the comment that the geom isn't  
sane, using more sane numbers at install time. :)


Do you know anyting about X?  When I try to configure it, the  
screen goes white (slowly), and the machine locks up.  /sigh.


I have configured X many, many times.  I haven't had what you  
describe happen to me.  What are you using to configure it?  And I  
assume you're using xorg, correct?



I have never seen X do this before.

Thanks for your help.

Mike

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




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


Re: Cannot use cvsup

2005-07-17 Thread Kent Stewart
On Saturday 16 July 2005 08:30 pm, Steve Quinn wrote:
 Kent Stewart [EMAIL PROTECTED] wrote:
  On Saturday 16 July 2005 12:05 pm, Brian John wrote:
   Igor Robul wrote:
Brian John wrote:
Hello,
I can't use cvsup for some reason.  I just tried upgrading
from 5.3 to 5.4.  When I try to use cvsup, it says this:
su-2.05b# cvsup
/libexec/ld-elf.so.1: Shared object libXaw.so.8 not found,
required by cvsup
   
If you dont have X11 on this machine, then you need
cvsup-without-gui package
   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
  
   i think what is happening is cvsup is not getting the makefiles
   for some reason.  if i go into all of my ports, there are no
   makefiles. how could this have happened?  i added these lines to
   ports-supfile, is this correct?
  
   *default host=cvsup14.us.freebsd.org
   *default base=/var/db
   *default prefix=/usr
   *default release=cvs
   *default delete use-rel-suffix
   *default tag=RELENG_5_4
   src=all
 
  For starters, it is src-all. You also have to use tag=. on doc-all.
  I have always found it best to separate cvsuping the docs and ports
  into separate shell scripts. That way you can use the sample
  scripts and not mess things up.
 
  Kent
 
   ports-all tag=.
   doc-all
  
   thanks
  
   /Brian
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
  --
  Kent Stewart
  Richland, WA
 
  http://users.owt.com/kstewart/index.html

 Howdy folks

 I'm not a CVSup expert, however I am concerned about the
 ports-supfile

 Kudo's to Kent for pointing out src=all.  That needs a fixin

 I'm also concerned about *default base=/var/db as well

 Perhaps consider a wonderful beverage and about 15 minutes of your
 time to carefull read the CVSup section of the handbook

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

 Then, if you feel like I did after trying to figure out CVSup for the
 first time, you may find my CVSup notes helpfull (shameless plug
 sorry)

 http://www.isgsp.net/freebsd/index.html

Well, it has problems to begin with. You have included all 3 but didn't 
specify the proper tag. You have docs-all and src-all using the same 
tag. The docs and the ports are only tagged for tag=..

When you combine like this, a default tag is preferable to adding tag=? 
to a area. Besides, you don't need to cvsup the docs, src, and ports at 
the same frequency. So, whay add them all to a single script.

Kent


 I hope this helps

 Take care

 Steve Quinn



 
 Start your day with Yahoo! - make it your home page
 http://www.yahoo.com/r/hs

-- 
Kent Stewart
Richland, WA

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


early panic and dump

2005-07-17 Thread Csaba Henk
I sent the following post to freebsd-current, but maybe it's better to
be sent to questions -- the problem of dumping as such is not a
current-specific question...

 Hi!
 
 I tried to install both RELENG-6 and CURRENT, and both kernels behaved
 the same way: panicked quite early (before init) with a page fault. Has
 anyone met with this phenomena?
 
 I'd like to show you some fancy backtracks, but as it all happened before
 starting init, rc.conf settings won't help me in getting the dump.
 
 What I've read: 
 
 the dump device can be hard-coded via the dump clause in the config(5)
 line of a kernel configuration file.
 
 But putting 
 
 dump /dev/ad0s4
 
 into the config file is considered a syntax error, and the man page
 of config doesn't contain anything about dumping.
 
 Another thing which I found on the net suggests setting the dumpdev
 variable in the loader(8). I can do that, but it doesn't make a difference,
 and again, the man page doesn't mention dumping.
 
 How to get that wacky dump these days?
 
 TIA.
 
 Cheers,
 Csaba

Note that the above quote is from Developers Handbook and the full quote
is:

Alternatively, the dump device can be hard-coded via the dump clause in
the config(5) line of a kernel configuration file. This approach is
deprecated and should be used only if a kernel is crashing before
dumpon(8) can be executed.

And that I fall into the only if case.

Thanks.

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


ERROR in man2html under freeBSD 5.4

2005-07-17 Thread PK

hi

I've installed man2html on freeBSD 5.4 with newest ports tree update:

# cd /usr/ports/textproc/man2html
# make install clean


Installing programs to /usr/local/bin:
man2html = /usr/local/bin/man2html
Installing manpages to /usr/local/man:
doc/man2html.1 = /usr/local/man/man1/man2html.1
if [ -d /usr/local/www/cgi-bin ] ; then install -o root -g wheel -m 555
/usr/ports/textproc/man2html/work/man2html3.0.1/man.cgi
/usr/local/www/cgi-bin ; fi
=== Compressing manual pages for man2html-3.0.1_1
=== Registering installation for man2html-3.0.1_1
=== Cleaning for perl-5.8.7
=== Cleaning for man2html-3.0.1_1

but if I try to connect via browser:

[url]http://192.168.0.3/cgi-bin/man.cgi[/url]

then, I get Internal Server Error

If I try to start from command line, I get following error:

# cd /usr/local/www/cgi-bin
# perl man.cgi
Content-type: text/html

Manpage Viewer Error

CGI input error: Unrecgonized request method :

Manpage viewer available with the
man2html
package.


greetings
piotr




___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


Adding Mailboxes for SendMail

2005-07-17 Thread Gerard Seibert
I know someone will say, RTFM, and I am doing that; however, I am in a
hurry and need an answer faster than I can read the O'Reilly Sendmail
book.

I need to add new mailboxes for email. In the /var/mail directory are
all of the default users, etc. on this computer. I need to add new email
addresses that Sendmail will deliver to. So far, I have not been able to
accomplish this feat. I welcome any assistance.


-- 
Gerard E. 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: Adding Mailboxes for SendMail

2005-07-17 Thread Shantanoo
On 7/18/05, Gerard Seibert [EMAIL PROTECTED] wrote:
 I know someone will say, RTFM, and I am doing that; however, I am in a
 hurry and need an answer faster than I can read the O'Reilly Sendmail
 book.
 
 I need to add new mailboxes for email. In the /var/mail directory are
 all of the default users, etc. on this computer. I need to add new email
 addresses that Sendmail will deliver to. So far, I have not been able to
 accomplish this feat. I welcome any assistance.
 

Create new user account.

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


Re: Basic AVI command-line editing

2005-07-17 Thread Andrew P.
On 7/17/05, Shantanoo Mahajan [EMAIL PROTECTED] wrote:
 +++ Andrew P. [17-07-05 15:22 +0400]:
 | Thanks, I'll look into that. It's a pity it doesn't come separately
 | from mplayer (and without xorg dependency).
 
 Also have a look at the o/p of following command:
 
 cd /usr/ports  make search name=avi | less
 
 
 Regards,
 Shantanoo
 
Well, I did it before and there's not much, but I found an utility
named avinfo in multimedia section. As a matter of fact, it was
written by my former schoolmate, what a small world indeed. The source
code contains almost everything I need to know about major container
formats.

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


Problems with MySQl Server port

2005-07-17 Thread perikillo
  Hi, i install freebsd 5.2, make the buildworld process and right now
is 5.2.1-RELEASE-p14 FreeBSD 5.2.1-RELEASE-p14.

  I update my ports and start to installing my favorites, then i
decide to setup some IDS, and i could  not install mysql50-server 
port because exit with this error:

pipe -march=pentium2 -D_THREAD_SAFE -MT dbug_analyze.o -MD -MP -MF .deps/dbug_a
nalyze.Tpo -c -o dbug_analyze.o dbug_analyze.c;  then mv -f .deps/dbug_analyze
.Tpo .deps/dbug_analyze.Po; else rm -f .deps/dbug_analyze.Tpo; exit 1; fi
/usr/local/bin/libtool15 --preserve-dup-deps --mode=link cc  -DDBUG_OFF -O -pipe
 -march=pentium2 -D_THREAD_SAFE-o dbug_analyze  dbug_analyze.o libdbug.a ../
mysys/libmysys.a ../strings/libmystrings.a -lc_r -lcrypt -lm  -lc_r
cc -DDBUG_OFF -O -pipe -march=pentium2 -D_THREAD_SAFE -o dbug_analyze dbug_analy
ze.o  libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lcrypt -lm
/bin/rm -f example1.r
/usr/bin/sed -e 's!\\!!g' example1.c  example1.r
/bin/rm -f example2.r
/usr/bin/sed -e 's!\\!!g' example2.c  example2.r
/bin/rm -f example3.r
/usr/bin/sed -e 's!\\!!g' example3.c  example3.r
/bin/rm -f main.r
/usr/bin/sed -e 's!\\!!g' main.c  main.r
/bin/rm -f factorial.r
/usr/bin/sed -e 's!\\!!g' factorial.c  factorial.r
./factorial 1 2 3 4 5 | cat  output1.r
./factorial -\#t:o 2 3 | cat output2.r
./factorial -\#d:t:o 3 | cat output3.r
./factorial -\#d,result:o 4 | cat output4.r
./factorial -\#d:f,factorial:F:L:o 3 | cat output5.r
nroff -mm user.r  user.t
user.r:204: warning: can't find font `C'
user.r:773: warning [p 15, 5.8i]: can't break line
user.r:785: warning [p 15, 8.0i]: can't break line
user.r:795: warning [p 15, 9.8i]: can't break line
user.r:812: warning [p 16, 3.7i]: can't break line
user.r:814: warning [p 16, 3.8i]: cannot adjust line
user.r:1038: warning: indent cannot be negative
groff -mm user.r  user.ps
Making all in extra
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include  -I../sql -DDBU
G_OFF -O -pipe -march=pentium2 -D_THREAD_SAFE -MT comp_err.o -MD -MP -MF .deps/
comp_err.Tpo -c -o comp_err.o comp_err.c;  then mv -f .deps/comp_err.Tpo .de
ps/comp_err.Po; else rm -f .deps/comp_err.Tpo; exit 1; fi
/usr/local/bin/libtool15 --preserve-dup-deps --mode=link cc  -DDBUG_OFF -O -pipe
 -march=pentium2 -D_THREAD_SAFE-o comp_err  comp_err.o ../mysys/libmysys.a
../dbug/libdbug.a ../strings/libmystrings.a -lc_r -lcrypt -lm  -lc_r
mkdir .libs
cc -DDBUG_OFF -O -pipe -march=pentium2 -D_THREAD_SAFE -o comp_err comp_err.o  ..
/mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lcrypt -lm
../extra/comp_err  --charset=../sql/share/charsets  --out-dir=../sql/share/  --h
eader_file=../include/mysqld_error.h  --name_file=../include/mysqld_ername.h  --
state_file=../include/sql_state.h  --in_file=../sql/share/errmsg.txt
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.9-beta/extra.
*** Error code 1

Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.9-beta.
*** Error code 1

Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.9-beta.
*** Error code 1

Stop in /usr/ports/databases/mysql50-server.


   I install first Mysql client without any problems, i am using
freebsd 5.2 because with 5.3, 5.4 and 5-stable my keyboard dosent work
with Xorg, and the only version of Xorg that is working very weel is
this one i am using right now to write this email,

xorg-6.7.0_1X.Org distribution metaport

  And is the package, not the port.

 Then about the error of mysql, someone knows how to fix this error?

  I have mysql4 and mysql41 options, but right now i want to know is
exist some patch for this.

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


Bash prompt

2005-07-17 Thread Alex Yarmol
Hi, dear FreeBSD developers etc. :)

I have a question.

How I can chage my bash prompt to this:

[EMAIL PROTECTED] directory-name(e. g. alex for /usr/home/alex)]$

I assume that I need to do that:

export PS1='[EMAIL PROTECTED] \(here i don't know what to do, i assume, that I
need to write \p or \P, but it's not working)]\$

I've try to read man bash, but didn't find what I want :(

Help me please.

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


Re: Bash prompt

2005-07-17 Thread Daniel Gerzo
Hi Alex,

Sunday, July 17, 2005, 11:30:38 PM, you wrote:

 How I can chage my bash prompt to this:
 [EMAIL PROTECTED] directory-name(e. g. alex for /usr/home/alex)]$

 I assume that I need to do that:

 export PS1='[EMAIL PROTECTED] \(here i don't know what to do, i assume, that I
 need to write \p or \P, but it's not working)]\$

try google fisrt next time :-)

http://freeunix.dyndns.org:8088/site2/howto/Bash.shtml#prompt

-- 
Best Regards,

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

[ Bother! said Pooh as he S*W*I*P*E*D a better tagline. ]


Re: Adding Mailboxes for SendMail

2005-07-17 Thread Corey Brune
You can create a new user account. I would recommend a shell of
/bin/false if these users are using an email client like thunderbird
or outlook. If these users are using an email client (not from command
line) then you will also need pop3/imap like qpopper or cyrus and
sasl.

On 7/17/05, शंतनु (Shantanoo) [EMAIL PROTECTED] wrote:
 On 7/18/05, Gerard Seibert [EMAIL PROTECTED] wrote:
  I know someone will say, RTFM, and I am doing that; however, I am in a
  hurry and need an answer faster than I can read the O'Reilly Sendmail
  book.
  
  I need to add new mailboxes for email. In the /var/mail directory are
  all of the default users, etc. on this computer. I need to add new email
  addresses that Sendmail will deliver to. So far, I have not been able to
  accomplish this feat. I welcome any assistance.
  
 
 Create new user account.
 
 Regards,
 Shantanoo
 ___
 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]

How to configure Apache21 port with suexec enabled and suexec_docroot change

2005-07-17 Thread Chris Casey
On a machine with an up to date ports system running 5.4, I'm trying
to use Apache21 port, I know that suexec is not enabled by default and
I know there should be a make WITH_SUEXEC_MODULES=yes option, but
when I try this I get some info about how to structure the options and
then it appears to start the make process. Is this normal?

Output:

www# make WITH_SUEXEC_MODULES=yes WITH_SUEXEC_DOCROOT_MODULES=/home
 

 To enable a module category: WITH_CATEGORY_MODULES

 To disable a module category: WITHOUT_CATEGORY_MODULES
 

 Per default categories are:

  AUTH AUTHN AUTHZ DAV MISC

 Categories available:

  AUTH AUTHN AUTHZ DAV EXPERIMENTAL LDAP MISC  PROXY SSL SUEXEC THREADS


  To see all available knobs, type make show-options

  To see all modules in different categories, type make show-categories

  You can check your modules configuration by using make show-modules

 

===  Vulnerability check disabled, database not found

===  Extracting for apache-2.1.4

= Checksum OK for apache21/httpd-2.1.4-alpha.tar.bz2.

= Checksum OK for apache21/powerlogo.gif.

===   apache-2.1.4 depends on file: /usr/local/bin/perl5.8.6 - found

 

Secondly, I would like to run the SUEXEC_DOCROOT option so I can
specify a different directory from which to run CGI, like /home. The
reason is for Virtual hosts. I've read that CGIWrap is a good/better
substitute for this, but alas I would like to be able to take
advantage of Webmin/Virtualmin/Usermin for easy administration and I
know suexec support is available in those programs, but not CGIwrap.

Does anyone know the syntax when installing this port that will enable
suexec and change the docroot to /home? If so can you give an example?
I'm aware the 1.3 port has suexec enabled already, but I couldn't find
any syntax examples in the port to even try and change the docroot.

 

Thanks for the help.

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


Re: Bash prompt

2005-07-17 Thread Giorgos Keramidas
On 2005-07-18 00:30, Alex Yarmol [EMAIL PROTECTED] wrote:
 Hi, dear FreeBSD developers etc. :)

 I have a question.

 How I can chage my bash prompt to this:

 [EMAIL PROTECTED] directory-name(e. g. alex for /usr/home/alex)]$

 I assume that I need to do that:

 export PS1='[EMAIL PROTECTED] \(here i don't know what to do, i assume, that I
 need to write \p or \P, but it's not working)]\$

 I've try to read man bash, but didn't find what I want :(

The manpage of bash(1) contains a section called ``PROMPTING'' that
explains all the backslash-starting escape sequences you can use.

Having said that though, the real ``working directory'' cannot be inlined
in the PS1 shell variable by using an escape.  The closest one can come up
with is something that uses ``\w'', but this is not quite right, because it
changes the HOME directory to ``~'' and there is no way to turn that off
(at least, AFAIK).

A workaround for this is to embed a literal ``${PWD}'' in the value of PS1,
but you have to be careful to AVOID having this expanded only at the time
PS1 is set, by using the proper sort of quote characters.  Something like
this won't work:

$ export PS1=[EMAIL PROTECTED] ${PWD}]\$ 

because the shell is allowed to expand the contents of ... quoted strings.

The correct way to set PS1 using inline escape sequences and references to
environment variables like ``$PWD'', which may change between subsequent
PS1 references by the shell, is with something that uses single quotes:

$ export PS1='[EMAIL PROTECTED] ${PWD}]\$ '

I hope this helps a bit.

If you need more details, there's a whole HOWTO document describing a lot
more details than any sane person is ever going to need about bash prompts.
You can find it on any mirror of the Linux Documentation Project.  Since
the GNU bash shell runs on both Linux and FreeBSD, most of it applies
verbatim to FreeBSD too.

- Giorgos

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


Demon license?

2005-07-17 Thread Ray Jenson
Greetings!

My name is Ray Jenson, and I'm the CEO of a new start-up company in Utah,
called Red Heron Corporation. Our company has recently decided that we'd
like to start shipping CD's as a service to our customers. We would
prominently display a link to the FreeBSD web site, as well as notifying our
clients of the ability to download the software free.

Here's where Brian Tao comes in: we'd like permission to use the demon on
our web site when directly linked to BSD, as well as a composite graphic
(sample is attached) that would show the devil alongside other logos, such
as Tux, the Red Hat logo, and Microsoft's Windows logo. We're in the process
of testing our hardware configurations before offering BSD-powered machines
to our clients, which should knock a significant amount off the price. These
logos are not currently displayed, but I can send you a mock-up if you need
it.

Also, I am wondering whom I contact with regard to getting authorization to
actually ship the software. We wouldn't necessarily want ad space anywhere,
until we're sure that we can provide timely shipments (our processes are
still being developed).

We are an OEM. We plan to start doing business on August 1st 2005. We will
have an e-commerce storefront and will plan to offer BSD along with other
products if we can find someplace to supply the optical media so that we can
ship it.

Thanks,

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

Re: Demon license?

2005-07-17 Thread Greg 'groggy' Lehey
On Sunday, 17 July 2005 at 16:54:30 -0600, Ray Jenson wrote:
 Greetings!

 My name is Ray Jenson, and I'm the CEO of a new start-up company in Utah,
 called Red Heron Corporation. Our company has recently decided that we'd
 like to start shipping CD's as a service to our customers. We would
 prominently display a link to the FreeBSD web site, as well as notifying our
 clients of the ability to download the software free.

 Here's where Brian Tao comes in: we'd like permission to use the demon on
 our web site when directly linked to BSD, as well as a composite graphic
 (sample is attached) 

It doesn't seem to have made it.

 that would show the devil

Devil?  Devil?  That's a daemon!

 alongside other logos, such as Tux, the Red Hat logo, and
 Microsoft's Windows logo. We're in the process of testing our
 hardware configurations before offering BSD-powered machines to our
 clients, which should knock a significant amount off the
 price. These logos are not currently displayed, but I can send you a
 mock-up if you need it.

The daemon is copyright of Kirk McKusick [EMAIL PROTECTED].  You
should ask him for permission.  In general he gives it if the usage is
BSD-related, as it appears to be in this case.

 Also, I am wondering whom I contact with regard to getting
 authorization to actually ship the software. We wouldn't necessarily
 want ad space anywhere, until we're sure that we can provide timely
 shipments (our processes are still being developed).

The FreeBSD license states the conditions for distribution.  It's in
the file /COPYRIGHT on any installed FreeBSD system.  It's relatively
long, so I won't include it all here, but the salient points are:

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
  are met:
  1. Redistributions of source code must retain the above copyright
 notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright
 notice, this list of conditions and the following disclaimer in the
 documentation and/or other materials provided with the distribution.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
The virus contained in this message was detected, clubbed to death and
distributed throughout the Internet as vaccine by LEMIS anti-virus.
For further details see http://www.lemis.com/grog/lemis-virus.html

Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpLuuvGEDk8f.pgp
Description: PGP signature


Re: better disk reliability on a desktop machine

2005-07-17 Thread Nikolas Britton
On 7/15/05, Nick Barnes [EMAIL PROTECTED] wrote:

 [deleted]

 2. taking backups offsite.  Seems to me that the best route is a
number of external firewire hard disks.  This machine doesn't have
motherboard firewire, so I'll need to get a PCI firewire board.

* Computer (in a headless setup) that's PCI 2.2 compliant:
  * FreeBSD 5.x:
* Rsync.
* Cron.
* SSH
* VPN Tunnel (optional).
  * Big hard drive(s).
  * 802.11g (see the ath manpage) PCI NIC.


Here's the parts you need, $260 for everything listed above:

http://www.newegg.com/Product/Product.asp?item=N82E16811153035
http://www.newegg.com/Product/Product.asp?item=N82E16822144422
http://www.newegg.com/Product/Product.asp?item=N82E16813185036
http://www.newegg.com/Product/Product.asp?item=N82E16820141169
http://www.newegg.com/Product/Product.asp?item=N82E16819104159
http://www.newegg.com/Product/Product.asp?Item=N82E16833322201

If you can't figure out what to do with these parts, well..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot in 1024x768x16

2005-07-17 Thread Nikolas Britton
On 7/16/05, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On 2005-07-16 13:17, Nicolas Blais [EMAIL PROTECTED] wrote:
  Hi,
  Can anyone tell me how to boot in 1024x768x16 (vidcontrol MODE_279) or
  at least have all the ttyv at that resolution after boot. I have seen
  the sc flag 0x0080 to set it at 800x600 but I would want 1024 since my
  lcd native resolution is 1024x768 and in 800x600 the refresh rate
  causes flicker.
 
 Does the video mode switch to 1024x768 as expected when you run as root
 the following command?
 
 # vidcontrol MODE_279
 
 If it does, then you can add MODE_279 to allscreens_flags in your
 /etc/rc.conf file.
 

They finally got the raster VESA modes patch into FreeBSD??? Will it
be in FreeBSD 6.x?

If anyone whats this in FreeBSD 5.x I have a basic script that will
apply that patch. The patch I have might be outdated (someone have a
more current one???) Anyways:

Run this script as root (make sure the patch was applied cleanly):
-
cd /tmp
rm current-vesa_patch.tar.gz
fetch http://www.nbritton.org/uploads/current-vesa_patch.tar.gz
rm -r current-vesa_patch
tar -zxvf current-vesa_patch.tar.gz
cd /usr/src/sys/dev/syscons
patch /tmp/current-vesa_patch/current-syscons.diff
cd /usr/src/usr.sbin/vidcontrol
cp /tmp/current-vesa_patch/current-vidcontrol.1 ./vidcontrol.1
cp /tmp/current-vesa_patch/current-vidcontrol.c ./vidcontrol.c
make  make install  make clean
--

Add this to your kernel file:
-
options VESA
options SC_PIXEL_MODE
-
and then recompile your kernel.

Add this to your /etc/rc.conf file:
--
allscreens_flags=MODE_279
--
and then reboot. It will complain something about vidcontrol and your
mouse, just ignore it.


The patch can also do higher modes like MODE_282 (1280x1024) etc. if
you update your system via cvsup you will have to run the script again
because cvsup will over write the files.

This patch also fixes the problems with older ATI cards that don't
have a real VESA BIOS.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot in 1024x768x16

2005-07-17 Thread Giorgos Keramidas
On 2005-07-17 19:01, Nikolas Britton [EMAIL PROTECTED] wrote:
On 7/16/05, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 They finally got the raster VESA modes patch into FreeBSD??? Will it
 be in FreeBSD 6.x?

Yes and yes.

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


Re: Three questions...

2005-07-17 Thread George Ruch
On Sun, 17 Jul 2005 18:57:13 +0100, you wrote:

On Friday 15 July 2005 20:27, George Ruch wrote:

 Q3: Partitioning

[...] Thanks for the recommendations.  I'm about to start in on
Junior (dedicated FreeBSD with an FAT-32 exchange partition).

BTW I would recommend GAG as a boot manager:

[...]  Sounds extremely handy.  There's a copy on a Linux system
rescue Live CD.

| George Ruch
| Is there life in Clovis after Clovis Man?



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.336 / Virus Database: 267.9.0/49 - Release Date: 7/16/2005

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


Using pppoe : nameserver not provided?

2005-07-17 Thread Lane
Hi,

My second netgear router has crashed in as many years, so I've decided to 
connect FreeBSD 5.3 via pppoe.

Configuration was a breeze, and I have complete functionality.  However, I 
can't determine what nameserver the pppoe connection is directing FreeBSD to 
use.

With the netgear router, the ISP nameserver was shown on the configuration 
screen, so I had assumed that this value was provided by the ISP's dhcp 
server.  Before I switched over to pppoe I simply added the router address 
into /etc/resolv.conf and it worked.  But now I can't figure out where to get 
this value.  I tried the gateway address provided to pppoe, but that doesn't 
work.

Can anyone direct me to a man page or some other resource that will help me 
get the proper information over to FreeBSD?

Thanks

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


Re: Using pppoe : nameserver not provided?

2005-07-17 Thread Frank Steinborn
Lane [EMAIL PROTECTED] schrieb:
 Configuration was a breeze, and I have complete functionality.  However, I 
 can't determine what nameserver the pppoe connection is directing FreeBSD to 
 use.
 
 With the netgear router, the ISP nameserver was shown on the configuration 
 screen, so I had assumed that this value was provided by the ISP's dhcp 
 server.

I guess you are missing the line enable dns in your ppp.conf. If you
open the connection, you will get nameservers provided by your ISP and
these will be written into /etc/resolv.conf automatically.

HTH,
steinex

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


Re: Using pppoe : nameserver not provided?

2005-07-17 Thread Lane
On Sunday 17 July 2005 20:15, Frank Steinborn wrote:
 Lane [EMAIL PROTECTED] schrieb:
  Configuration was a breeze, and I have complete functionality.  However,
  I can't determine what nameserver the pppoe connection is directing
  FreeBSD to use.
 
  With the netgear router, the ISP nameserver was shown on the
  configuration screen, so I had assumed that this value was provided by
  the ISP's dhcp server.

 I guess you are missing the line enable dns in your ppp.conf. If you
 open the connection, you will get nameservers provided by your ISP and
 these will be written into /etc/resolv.conf automatically.

 HTH,
 steinex

DOHH

I had created a new label in ppp.conf, and completely overlooked enable dns!

Thanks!

I am resolv(ed)!

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


Re: Demon license?

2005-07-17 Thread Lane
On Sunday 17 July 2005 17:54, Ray Jenson wrote:
 Greetings!

 My name is Ray Jenson, and I'm the CEO of a new start-up company in Utah,
 called Red Heron Corporation. Our company has recently decided that we'd
 like to start shipping CD's as a service to our customers. We would
 prominently display a link to the FreeBSD web site, as well as notifying
 our clients of the ability to download the software free.

 Here's where Brian Tao comes in: we'd like permission to use the demon on
 our web site when directly linked to BSD, as well as a composite graphic
 (sample is attached) that would show the devil alongside other logos, such
 as Tux, the Red Hat logo, and Microsoft's Windows logo. We're in the
 process of testing our hardware configurations before offering BSD-powered
 machines to our clients, which should knock a significant amount off the
 price. These logos are not currently displayed, but I can send you a
 mock-up if you need it.

 Also, I am wondering whom I contact with regard to getting authorization to
 actually ship the software. We wouldn't necessarily want ad space anywhere,
 until we're sure that we can provide timely shipments (our processes are
 still being developed).

 We are an OEM. We plan to start doing business on August 1st 2005. We will
 have an e-commerce storefront and will plan to offer BSD along with other
 products if we can find someplace to supply the optical media so that we
 can ship it.

 Thanks,

 Ray Jenson, CEO
 Red Heron Corporation
It's daemon, Ray, not devil.

The devil is in the Microsoft licensing.

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


Questions about no window found error

2005-07-17 Thread Kun Niu
Dear freebsd users,

I've got such a strange question.
I can start my xwindow.
But each time I use mozilla bundled with my 5.3 release.
I found the error no window found error
It also strange that I can start x, but I can't get startkde run.
I really installed kde on my computer.
Can anyone give any hints?

Any help woud be appreciated.

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


Re: Spam Assassin Reject

2005-07-17 Thread Olivier Nicole
 It is possible to reject during the connection during the DATA  
 phase.  Using exim and sa-exim glue, with spamassassin, this is what  
 I do.  The sender gets a 5xx rejection with the message: UCE not  

OK it is possible, but what I meant was it is highly not
advisable. You never know what the end of the message will give
to. The message can look like spam at the begining and end-up being
non-spam.

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


Re: Spam Assassin Reject

2005-07-17 Thread Chad Leigh -- Shire.Net LLC


On Jul 17, 2005, at 8:35 PM, Olivier Nicole wrote:


It is possible to reject during the connection during the DATA
phase.  Using exim and sa-exim glue, with spamassassin, this is what
I do.  The sender gets a 5xx rejection with the message: UCE not



OK it is possible, but what I meant was it is highly not
advisable. You never know what the end of the message will give
to. The message can look like spam at the begining and end-up being
non-spam.


Well, what I meant, was that you process it before you acknowledge  
the receipt in the DATA phase but after it is sent so you can  
immediate reject it.


Chad



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




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


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


Newbie IPFW Questions

2005-07-17 Thread Jim Campbell

I have a machine set up as a classroom to learn about FreeBSD.  It is
running 4.11 primarily because anything later can't see my hard drive.

As background, my FBSD machine has an address of 192.168.1.110.  It is
situated behind a hardware firewall (a Linksys router).  $pif is vr0.

I'm having problems setting up IPFW to communicate with an Onion router.
The puzzling part is that I am able to use the Onion router but my
/var/log/security file says that some of the packets are being dropped.

Following is what I hope are the pertinent lines from my /etc/ipfw.rules
file:

$cmd 00225 allow tcp from me to any 9001-9033 out via $pif setup keep-state
$cmd 00299 deny log all from me to any out via $pif
$cmd 00332 deny log tcp from any to me established in via $pif

Next is an excerpt from the /var/log/security file:

Jul 17 21:49:58 JimsP1G /kernel: ipfw: 299 Deny TCP 192.168.1.110:2218
128.148.34.133:9001 out via vr0
Jul 17 21:49:59 JimsP1G /kernel: ipfw: 299 Deny TCP 192.168.1.110:4959
131.175.189.134:9001 out via vr0
Jul 17 21:50:18 JimsP1G /kernel: ipfw: 332 Deny TCP 128.148.34.133:9001
192.168.1.110:2218 in via vr0
Jul 17 21:50:29 JimsP1G /kernel: ipfw: 332 Deny TCP 131.175.189.134:9030
192.168.1.110:4566 in via vr0

Now my questions.  First, why isn't rule 225 allowing all the packets out
to the Onion router?  It seems to me that ipfw should allow all packets
in the port range 9001-9033 out or none.

Next, the two inbound packets should be returning in response to an 
outbound packet.  Why are they being dropped?  Are they exceeding some

timeout?

Thanks in advance.

Jim Campbell




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


two default routes

2005-07-17 Thread Jon Falconer
I have two ISP connections, a 45Mb and a 6Mb. Depending on what block of
local addresses a packet is coming from will determine which ISP I want to
send the packet out. In essence the default route used for a packet
depends on its source address (for traffic leaving our campus.) Can
someone tell me what package I should read up on (ip,ipf,ipfw,other)? or
if I should just do this with a real router and not FreeBSD?

Thanks for your insights,

Jon

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


Re: Newbie IPFW Questions

2005-07-17 Thread Glenn Dawson

At 08:18 PM 7/17/2005, Jim Campbell wrote:

I have a machine set up as a classroom to learn about FreeBSD.  It is
running 4.11 primarily because anything later can't see my hard drive.

As background, my FBSD machine has an address of 192.168.1.110.  It is
situated behind a hardware firewall (a Linksys router).  $pif is vr0.

I'm having problems setting up IPFW to communicate with an Onion router.
The puzzling part is that I am able to use the Onion router but my
/var/log/security file says that some of the packets are being dropped.

Following is what I hope are the pertinent lines from my /etc/ipfw.rules
file:

$cmd 00225 allow tcp from me to any 9001-9033 out via $pif setup keep-state
$cmd 00299 deny log all from me to any out via $pif
$cmd 00332 deny log tcp from any to me established in via $pif

Next is an excerpt from the /var/log/security file:

Jul 17 21:49:58 JimsP1G /kernel: ipfw: 299 Deny TCP 192.168.1.110:2218
128.148.34.133:9001 out via vr0
Jul 17 21:49:59 JimsP1G /kernel: ipfw: 299 Deny TCP 192.168.1.110:4959
131.175.189.134:9001 out via vr0
Jul 17 21:50:18 JimsP1G /kernel: ipfw: 332 Deny TCP 128.148.34.133:9001
192.168.1.110:2218 in via vr0
Jul 17 21:50:29 JimsP1G /kernel: ipfw: 332 Deny TCP 131.175.189.134:9030
192.168.1.110:4566 in via vr0

Now my questions.  First, why isn't rule 225 allowing all the packets out
to the Onion router?  It seems to me that ipfw should allow all packets
in the port range 9001-9033 out or none.


Rule 225 will only match packets used to setup the tcp session, once it's 
established you need another rule that will allow the established session 
to function.


Rule 299 is denying everything from leaving your machine except for the 
packets allowed by rule 225.



Next, the two inbound packets should be returning in response to an 
outbound packet.  Why are they being dropped?  Are they exceeding some

timeout?


Rule 332 is denying all established traffic from entering your 
machine.  So, while rule 225 allows you to establish a tcp session with 
another system on ports 9001-9033, once the session is established, rule 
225 no longer applies and rule 332 is then throwing all those packets away.


-Glenn



Thanks in advance.

Jim Campbell




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


I am Newbie HELP

2005-07-17 Thread SHAUN PASAY


  I have been trying to install freeBSD on a my system .I do not
  understand the installation Process , If someone can make a easy to
  follow setup ,I would be very HAPPY .I want a kde desktop .it will be
  on a 6 gig partition sharing the hard drive with xp pro and i would
  prefer a boot manager .It is not as easy as PcLinux or redhat and so
  on .If someone can help THANKYOU!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I am Newbie HELP

2005-07-17 Thread Nikolas Britton
On 7/17/05, SHAUN PASAY [EMAIL PROTECTED] wrote:
 
I have been trying to install freeBSD on a my system .I do not
understand the installation Process , If someone can make a easy to
follow setup ,I would be very HAPPY .I want a kde desktop .it will be
on a 6 gig partition sharing the hard drive with xp pro and i would
prefer a boot manager .It is not as easy as PcLinux or redhat and so
on .If someone can help THANKYOU!!!

Have you tried the FreeBSD handbook?

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

Next:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

After you get your system up skim through chapters 3 - 9 at least once:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


WARNING: Major vnode leakage in RELENG_4 NFS ...

2005-07-17 Thread Marc G. Fournier


Hopefully that caught enough attention :)

I've recently been having problems with one of my servers *hanging* that 
I've just recently traced down to what looks to be a vnode leak in the 
latest NFS code in the RELENG_4 branch ...


Unfortunately, my 'debugging' is at a stand still, but if anyone is 
noticing issues with their 4.x, where the server seems to hang, take a 
look at your 'sysctl debug.freevnodes' while doing some operations on an 
NFS mount ...


To compensate for the issue on my server, I've changed my scripts so 
that they umount;mount the NFS file system before doing any major 
operations, to free up the vnodes, which so far seems to be preventing a 
reoccurance of the lock up ...


As an example, I have a process that starts at 1am that does a find across 
some NFS mounted directories, and my freevnodes has drop'd by ~130k:


Jul 18 01:00:00 mercury root: debug.numvnodes: 460354 - debug.freevnodes: 
431364 - debug.vnlru_nowhere: 0 - vlruwt
Jul 18 01:12:00 mercury root: debug.numvnodes: 460354 - debug.freevnodes: 
355260 - debug.vnlru_nowhere: 0 - vlruwt
Jul 18 01:24:00 mercury root: debug.numvnodes: 460354 - debug.freevnodes: 
307395 - debug.vnlru_nowhere: 0 - vlruwt

Without the umount;mount, they drop farther/faster :(





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]


OSDir.com Screenshots of your FreeBSD 6.0-BETA1 release

2005-07-17 Thread Chris
Congratulations on your FreeBSD 6.0-BETA1 release.  We'd love to have 
this release listed in our screenshot gallery (http://shots.osdir.com). 
 Posting your screenshots is an excellent way to promote your product, 
as submitting is free and our screenshots are seen by thousands of 
people daily (http://www.stathound.com/stats.aspx?m=d).


If you are interested in submitting screenshots, please follow the 
instructions on how to submit here: 
http://shots.osdir.com/slideshows/how_to_submit.php.  You may want to 
post this on your forum to get some help from your community.


Thank you.


Chris

OSDir.com

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


Re: OSDir.com Screenshots of your FreeBSD 6.0-BETA1 release

2005-07-17 Thread Subhro

On 7/18/2005 10:11, Chris wrote:

Congratulations on your FreeBSD 6.0-BETA1 release.  We'd love to have 
this release listed in our screenshot gallery 
(http://shots.osdir.com).  Posting your screenshots is an excellent 
way to promote your product, as submitting is free and our screenshots 
are seen by thousands of people daily 
(http://www.stathound.com/stats.aspx?m=d).


Thanks



If you are interested in submitting screenshots, please follow the 
instructions on how to submit here: 
http://shots.osdir.com/slideshows/how_to_submit.php.  You may want to 
post this on your forum to get some help from your community.


Thank you.


You are most welcome

http://shots.osdir.com/slideshows/how_to_submit.php  here the 
first line on this site is:


At OSDir, you may also submit 
http://shots.osdir.com/slideshows/how_to_submit_desktop.php your Linux 
desktop screenshot!


FreeBSD is NOT ANOTHER PENGUIN IMPLEMENTATION

Secondly, I believe that this concept of posting screenshots is pretty 
unprofessional and childish. Its like saying Yay! my desktop is 
prettier than yours. At FreeBSD we concentrate more on quaality than 
looks. Secondly, FreeBSD does not have any Native GUI unlike few 
distributions like Mandrake who use a costomized GUI. Thus IMHO a 
FreeBSD screenshot would just be a black screen with some scribbles on 
it :-).


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