still about Newbie USB Printer Problem

2003-11-22 Thread Zhang Weiwu
Hello. I read the previous post "Newbie USB Printer Problem" and its 
follow-ups, well, I am more "newbie" than him:).

Now I wish to connect my Canon S400SP printer with my Thinkpad 600X 
notebook (running 5.1-RELEASE), since I never printed anything with 
FreeBSD before,
1. Do I need a specific filter for the printer to print graphic?
2. Looking into the ports, it seems most Canon printer filters are for 
Bubble Jet printers. I think my printer is not Bubble Jet because the 
printer's manual didn't say so. So is there a filter for my printer at all?

Thank you.

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


Re: PHP Auth

2003-11-22 Thread Sergey Sysoev
Hello Grant,

GP> Two questions

GP> I have been reading as much as I can find on paswwd, master.passwd,
GP> shadow, crypt etc etc etc. and am Still stuck on one point. If the encrypted
GP> password is normally aslways different, due to 'salt', then how does one get
GP> a match??

GP> Does anyone have posession of a simple PHP script that can auth against
GP> the master passwd file?

That's function which generate md5 password, maybe it will be helpful.
I   am  not sure for 100% if this script always provide diff. password
and maybe someone can improve it :)

You may check work at http://bids.tomsk.ru/passwd.php


echo crypt_passwd("F5k");

function crypt_passwd($passwd_tmp) {
  mt_srand((double) microtime()*100);
  $e=pack("cCcCCccC", mt_rand(), mt_rand(), mt_rand(), mt_rand(),
  mt_rand(), mt_rand(), mt_rand(), mt_rand());
  $enc12=base64_encode($e);
  $enc8="";
  for ($i=2; $i<=9; $i++) $enc8=$enc8.$enc12[$i];
  $passwd_crypted=crypt($passwd_tmp,$enc8);
  return $passwd_crypted;
}

To  my  mind  you'd get salt from master.passwd and than encrypt plain
password using that salt and then compare.

-- 
Best regards,
 Sergey



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


Re: Opera reg number

2003-11-22 Thread Ion-Mihai Tetcu
On Sat, 22 Nov 2003 22:39:40 + (GMT)
Rus Foster <[EMAIL PROTECTED]> wrote:

> On Sat, 22 Nov 2003, Kris Kennaway wrote:
> >
> >   ftp://2130706433/pub/juarez/FreeBSD
> >
> > and look in that directory.  This FTP site is very busy, so if you
> > can't get in straight away then just keep trying!
> 
> I've setup a mirror site at ftp://warez.jvds.com as well for you just
> incase

dig warez.jvds.com

;-D :-D :-D

It's the best i've seen :)

-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Opera reg number

2003-11-22 Thread Peter Ulrich Kruppa
On Sun, 23 Nov 2003, Alex de Kruijff wrote:

> On Sat, Nov 22, 2003 at 02:29:39PM -0800, Valerian Galeru wrote:
> > How can i get the opera registration number? Of
> > course without buying it :
>
> Your asking me to break the law.
Yes, and in such such an evident way.

I would have preferred to read a story about Valerian's poor ill
grandmother, who gave her last money for an opera license, wrote
the registration number on some piece of paper, which was eaten
by the big bad wolf ...
I love reading such things,  all these stories about
penis-enlargement, treasures of deceased african presidents and
about the girl who saw me last weekend and fell in love with me.

I feel freebsd-questions wouldn't be what it is without them.


Regards,

Uli.

>
> --
> Alex
>
> Articles based on solutions that I use:
> http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

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


Re: Opera reg number

2003-11-22 Thread Bill Sawyer
On Saturday 22 November 2003 10:34 pm, Kris Kennaway wrote:
> On Sat, Nov 22, 2003 at 02:29:39PM -0800, Valerian Galeru wrote:
> > How can i get the opera registration number? Of
> > course without buying it :
>
> Go to this site:
>
>   ftp://2130706433/pub/juarez/FreeBSD
>
> and look in that directory.  This FTP site is very busy, so if you
> can't get in straight away then just keep trying!
>
> Kris

Man.  I wonder if he'll ever figure it out.  Or maybe he'll get an email from 
[EMAIL PROTECTED] telling him he's exceeded his lo0 bandwidth limit.

Bill

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


Re: Opera reg number

2003-11-22 Thread Ion-Mihai Tetcu
On Sat, 22 Nov 2003 14:29:39 -0800 (PST)
Valerian Galeru <[EMAIL PROTECTED]> wrote:

> How can i get the opera registration number? Of
> course without buying it :

#1 This kind of question shuldn't be asked on this list.

#2 I don't see why. Upgrade to the 7.2x end choose Google text ads, if
bandwith is an issue.

#3 Opera have a "Global donation program"
> Through the Opera Global Donations Program, Opera donates Opera
> licenses to primary through secondary schools, Web designer schools and
> organizations, and organizations for the physically disabled worldwide.
See if you quallify.


-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 200gb hard drive?

2003-11-22 Thread Sergey 'DoubleF' Zaharchenko
On Sat, 22 Nov 2003 13:47:40 -0500 Robert Huff <[EMAIL PROTECTED]> probably wrote:

> 
> Sergey 'DoubleF' Zaharchenko writes:
> 
> >  BTW what's the point in printing 3 numbers that match? If they match,
> >  then one of them is redundant:)
> 
>   And if they don't?
> 

Then they all carry some information. If a+b=c, then you don't have to
print out a,b and c, since c carries no information. But the numbers in
df output aren't supposed to match (because of the reserved space), so
they are all printed.


-- 
DoubleF
Honk if you love peace and quiet.


pgp0.pgp
Description: PGP signature


xmms compile problems

2003-11-22 Thread Jason
This is the last snip of output.  What I did was get the patch from 
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/57198  to fix the 
problem I have with the new ata driver not recongizing some deprecated 
ioctl.  Anyone have any suggestions?  I am running current.
Thanks,
Jason

cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../xmms 
-I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -D_THREAD_SAFE 
-I/usr/local/include -I/usr/X11R6/include -I../../intl -I../.. 
-I/usr/local/include -O -pipe -march=athlon-xp -Wall -Wpointer-arith 
-finline-functions -ffast-math -fomit-frame-pointer -c cdaudio.c  -fPIC 
-DPIC -o cdaudio.lo
cdaudio.c:865: error: syntax error before '-' token
cdaudio.c:95: warning: `seek' used but never defined
cdaudio.c:96: warning: `get_time' used but never defined
cdaudio.c:97: warning: `get_song_info' used but never defined
cdaudio.c:98: warning: `get_volume' used but never defined
cdaudio.c:99: warning: `set_volume' used but never defined
cdaudio.c:806: warning: `play_ioctl' defined but not used
cdaudio.c:819: warning: `get_current_frame' defined but not used
cdaudio.c:840: warning: `drive_get_volume' defined but not used
cdaudio.c:852: warning: `drive_set_volume' defined but not used
cdaudio.c:864:1: unterminated #ifdef
cdaudio.c:800:1: unterminated #ifdef
gmake[3]: *** [cdaudio.lo] Error 1
gmake[3]: Leaving directory 
`/usr/ports/multimedia/xmms/work/xmms-1.2.8/Input/cdaudio'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/multimedia/xmms/work/xmms-1.2.8/Input'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/xmms/work/xmms-1.2.8'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/xmms.
*** Error code 1
Stop in /usr/ports/multimedia/xmms.
barton#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make vs. pkg_add

2003-11-22 Thread paul beard
On Nov 22, 2003, at 8:00 PM, Patrick Burnett wrote:

I'm probably doing something wrong
such that 'make' isn't playing nice, but I'd still appreciate some
further insight from more experienced users.
Perhaps you could explain more about what difficulties you're having. I 
have used both pkg_add and make install clean interchangeably, though I 
prefer working from source.
--
Paul Beard

paulbeard [at] mac.com

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


make vs. pkg_add

2003-11-22 Thread Patrick Burnett
Hi all,

Not that I expect to be swayed one way or the other here, but...

I'm curious to see what other users think of using either the 'make'
commands or 'pkg_add' for compiling and installing software.  I'm
admittedly a bit of a newbie, and I've tried it both ways, after
CVSup-ing the source and ports of course.  In most cases 'pkg_add' seems
to work better, but the problem solver in me wants to see 'make all
install clean' and its brethren work at least once.  Am I to understand
that 'make' and its accompanying command options will download source,
dependencies, needed libs, et al. while compiling, building, and
installing just like 'pkg_add' does?  I'm probably doing something wrong
such that 'make' isn't playing nice, but I'd still appreciate some
further insight from more experienced users.

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


Re: (Semi)hot swap IDE

2003-11-22 Thread Marc Wiz
On Sat, Nov 22, 2003 at 10:31:24PM +0200, Toomas Aas wrote:
> Hello!
> 
> I'm looking for a cheap solution to back up a FreeBSD 4.8 machine. 
> Cheap meaning that tape drives are out of question. Even external 
> FireWire drives are deemed a bit too expensive by the folks for whom 
> I'm doing this research.

External Firewire drives are too expensive?   I would ask these people
how much their data is worth to them.  I understand about being
on a budget but there are limits.

I'm not trying to flame anyone but you sometimes you have to spend
a little bit of money.

IMHO most of the time Firewire drives cost too much.  If you shop
around you can get an enclosure and a drive and put the drive in
yourself.

Marc
-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PHP failure/SSH down-->Finally completely offline

2003-11-22 Thread Nils Vogels
Antonio Lupher wrote:

Warning:  open(/tmp/sess_4a23ba911863d07812e9cdf99656586f, O_RDWR) 
failed: Device not configured (6) in 


Warning:  open(/tmp/sess_4a23ba911863d07812e9cdf99656586f, O_RDWR) 
failed: Device not configured (6) in Unknown on line 0
 Warning:  Failed to write session data (files). Please verify that 
the current setting of session.save_path is correct (/tmp) in Unknown 
on line 0
===

I then try to login via ssh... but I get "Connection closed by [my ip]".  
It seems to me there is something wrong with your /tmp filesystem, 
causing both php and apache to be unable to write temp files, and also 
causes problems for several other daemons.

Do your logfiles in /var/log tell you anything ? They should ;)
Is /tmp a disk filesystem, or a ramdisk ?
--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and 
dance like no one can see you.

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


PHP failure/SSH down-->Finally completely offline

2003-11-22 Thread Antonio Lupher
Hi.  I'm having some trouble with my server.  It's running FreeBSD 4.7 and 
there's a website on it that's using PHP/MySQL.  The last three nights in a 
row, it has been crashing...

First, I try to access the website, and I get the following errors, whenever 
a PHP call is invoked:
==
Warning:  open(/tmp/sess_4a23ba911863d07812e9cdf99656586f, O_RDWR) failed: 
Device not configured (6) in 
/usr/local/apache/htdocs/mysite/includes/template.inc on line 14
  Database error occurred: Couldn't connect to server.  Please inform the 
administrator about this.
Warning:  open(/tmp/sess_4a23ba911863d07812e9cdf99656586f, O_RDWR) failed: 
Device not configured (6) in Unknown on line 0
 Warning:  Failed to write session data (files). Please verify that the 
current setting of session.save_path is correct (/tmp) in Unknown on line 0
===

I then try to login via ssh... but I get "Connection closed by [my ip]".  
Ports 25 and 110 are similarly inaccessible.  After a while, even the 
website goes down, and the server is completely inaccessible on port 80.  
However, when my ISP reboots the computer, it starts up normally and 
everything seems to be working.  (I did have to reset the date this last 
time, though)

Anyway, if anyone has any ideas on what to look for--or can help me diagnose 
the problem, I'd be very appreciative.

-antonio

_
Gift-shop online from the comfort of home at MSN Shopping!  No crowds, free 
parking.  http://shopping.msn.com

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


Re: Monitoring a file?

2003-11-22 Thread Robert Huff

> Problem description:
> 
>
>  A file, let's say, /path/to/a/file, is being modified by
>  an unknown process P(u) at random times. Unfortunately,
>  the name of the program ran by P(u) is unknown.
>
>  The goal is to catch P(u) "red-handed," just the moment
>  it accesses /path/to/a/file, e.g. by looking up in the
>  process table with ps(1).

Have you tried moving the file elsewhere and seeing if anyone
complains about the absence?
Or writing a program that locks the file?


Robert Huff



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


Re: Bad power down in 5.0, missing xl0

2003-11-22 Thread Kris Kennaway
On Sat, Nov 22, 2003 at 04:03:21PM -0500, Chris Neustrup wrote:
> I've got a Thinkpad T20, running 5.0 early release.  It is a dual boot 
> with Win98 on the other partition.  It seemed pretty strong, but I have 
> some problems:
> 
> 1. The power down sequence seems to hose some part of the bios or 
> whatever.  When I shutdown and then reboot to Win98 it thinks it has 
> been taken down and corrupted, so it wants to come back up in SAFE mode.

5.0 "early release" is ancient, and hundreds of bugs have been fixed
since.  Try 5.1-RELEASE or 5.2-BETA.

> 2. The /dev directory no longer has an xl0 device for the mini-PCI 
> ethernet on the motherboard.  Completely disappeared.  Where did it go?

xl0 does not appear as a device in /dev - you must be thinking of some
other OS.

Kris


pgp0.pgp
Description: PGP signature


Re: Samba question

2003-11-22 Thread Marty Landman
At 08:47 AM 11/22/2003, Ilya Varlashkin wrote:

Martin, following line in your smb.conf should solve this problem:

encrypt passwords = yes
Ilya, I almost forgot to reply... sorry. I may not have mentioned on 
earlier postings that smbd was not running as I eventually discovered - 
only nmbd. I think my installation became a mess and since I'm able to do 
what I need for now using ssh and ftp from my workstation am content to 
leave it at that for the time being.

Thanks.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD, FHS, and /mnt/cdrom

2003-11-22 Thread Tillman Hodgson
On Sat, Nov 22, 2003 at 02:18:30PM -0500, Charles Swiger wrote:
> Obviously, a standard that says "place mount points anywhere you want" 
> isn't very useful.  But if you did come up with a standard, who should 
> follow it and what would they gain?

I don't want to speak for the FHS, but I do want to point out that such
a standard is indeed useful.

This discussion around a standard location for media mounts is but a
small part of the complete FHS standard. As such, it can legitimately
say "do this", say "do anything but this" or say "not covered by this
standard". All three have distinct meanings and implications. To the
designer of an FHS-compliant distribution, the third means that they
have free reign to do want they want and still claim FHS compliance
(assuming they follow the /rest/ of the standard :-) ).

-T


-- 
>You can't remotely manage an etch-a-sketch.
Oh, I dunno... I reckon you could do it pretty well. All you'd need is a
beefy vibrating pager attached/built-in to the etch-a-sketch. Instant
remote management...
- A.S.R. quote (Peter da Silva, Peter Williams)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring a file?

2003-11-22 Thread Greg 'groggy' Lehey
On Saturday, 22 November 2003 at 23:58:10 +0100, Cordula's Web wrote:
> Hello list,
>
> maybe someone knows the answer for the following problem already?
>
> Summary:
> 
>   What is the canonical way to monitor accesses to a file?
>
> Problem description:
> 
>
>   A file, let's say, /path/to/a/file, is being modified by
>   an unknown process P(u) at random times. Unfortunately,
>   the name of the program ran by P(u) is unknown.
>
>   The goal is to catch P(u) "red-handed," just the moment
>   it accesses /path/to/a/file, e.g. by looking up in the
>   process table with ps(1).

That's not exactly red-handed, it's just not too long afterwards.

I don't think you're going to find a simple answer to this one.  If I
had this problem, I'd probably build a kernel with special code to
recognize opens on this file (so that you can get the address of the
file table) and writes to it (though this may be redundant).  The code
would enter the kernel debugger or maybe just panic, depending on the
environment.  That way you'd really catch the culprit red-handed.

An alternative might depend on knowledge of what the file does.

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


pgp0.pgp
Description: PGP signature


Re: Perl configuration

2003-11-22 Thread paul beard
On Nov 22, 2003, at 3:11 AM, Matthew Seaman wrote:

However, the values in make.conf only have an effect at compile time,
so if you want all of your perl modules to live under
/usr/local/lib/perl5/{,site_perl/}5.8.2 then you're going to have to
reinstall all of the ports that put files into %%SITE_PERL%% as well
as installing the updated version of perl.
Aargh, I had this happen to me on two boxes in the past week so the 
scars are still fresh enough for me to remember it all.

What worked for me [tm] was to invoke portinstall -r perl58 and let it 
fix everything. That worked when a simple "make [re]install" wouldn't.

(the r argument is valuable:

   -r, --recursive  Do with all those depending on the given 
packages
 as well
)

My advice, worth every penny you pay for it, is to leave the extra 
directories alone (disk space is cheap). The side-effects are too hard 
to predict or rectify, in my experience.

--
Paul Beard

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


Re: Monitoring a file?

2003-11-22 Thread Marty Landman
At 05:58 PM 11/22/2003, Cordula's Web wrote:

  A file, let's say, /path/to/a/file, is being modified by
  an unknown process P(u) at random times. Unfortunately,
  the name of the program ran by P(u) is unknown.
Being a newbie I'm going against my better judgement by offering my 
thoughts. The problem though sounds too interesting to pass up.

I'd think the failsafe way to approach this is with a wrapper so that when 
process P accesses file F it's really accessing W(F), i.e. a software 
wrapper which would then emulate F, only since W's a pgm it can also log 
the activity as well as reply to P with basically whatever you want it to 
reply with.

Would ln(1) be able to serve as the setup for W? I've only done soft links 
for directory aliasing on websites. So I don't know if you can get away 
with e.g. having a shebang line on top W and expect it to execute; if you 
could work it that way though you'd be golden afaict. Rereading this I 
realize for W to work it'd also have to be able to know who P is, i.e. the 
process and what it was wanting to do so it could emulate it. Or is there a 
way to just have W pass F on to P after logging the activity? And why do I 
suddenly crave a bowl of alphabet soup?

BTW isn't this the basic concept behind jail(8), only you'd be jailing a 
file rather than a process?

Just my two cents, hope it's worth it.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Bad power down in 5.0, missing xl0

2003-11-22 Thread Chris Neustrup
I've got a Thinkpad T20, running 5.0 early release.  It is a dual boot 
with Win98 on the other partition.  It seemed pretty strong, but I have 
some problems:

1. The power down sequence seems to hose some part of the bios or 
whatever.  When I shutdown and then reboot to Win98 it thinks it has 
been taken down and corrupted, so it wants to come back up in SAFE mode.

2. The /dev directory no longer has an xl0 device for the mini-PCI 
ethernet on the motherboard.  Completely disappeared.  Where did it go?

tia, CHris

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


Re: FBSD web site man lookup & ipfilter

2003-11-22 Thread horio shoichi
On Sat, 22 Nov 2003 13:49:33 -0500
"fbsd_user" <[EMAIL PROTECTED]> wrote:
> IPFILTER is built into the base release of FBSD. I can do (man ipf)
> or (man ipnat) on a fresh install of FBSD and get the manual info.
> But when I go to http://www.freebsd.org/cgi/man.cgi  to look up the
> manuals on ipfilter they are all missing.
> 
> Is there some good reason for this, or has it just been missed?
> 
> Who should I notify to get this fixed?
> 
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Tried to find 'ipf' in sections 5 and 8, for a few versions. Seems ok.

How did you submitted your requests ?


horio shoichi

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


Re: PHP Auth

2003-11-22 Thread Alex de Kruijff
On Sat, Nov 22, 2003 at 06:20:00PM -0500, Grant Peel wrote:
> Hi all,
> 
> Two questions
> 
> I have been reading as much as I can find on paswwd, master.passwd,
> shadow, crypt etc etc etc. and am Still stuck on one point. If the encrypted
> password is normally aslways different, due to 'salt', then how does one get
> a match??

You encrypt the anwser that your user suplied and compair that to the
encipted password.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Opera reg number

2003-11-22 Thread Alex de Kruijff
On Sat, Nov 22, 2003 at 02:29:39PM -0800, Valerian Galeru wrote:
> How can i get the opera registration number? Of
> course without buying it :

Your asking me to break the law.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PHP Auth

2003-11-22 Thread Grant Peel
Hi all,

Two questions

I have been reading as much as I can find on paswwd, master.passwd,
shadow, crypt etc etc etc. and am Still stuck on one point. If the encrypted
password is normally aslways different, due to 'salt', then how does one get
a match??

Does anyone have posession of a simple PHP script that can auth against
the master passwd file?

-Grant


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


Re: Monitoring a file?

2003-11-22 Thread Scott W
Cordula's Web wrote:

Hello list,

maybe someone knows the answer for the following problem already?

Summary:

 What is the canonical way to monitor accesses to a file?
Problem description:

 A file, let's say, /path/to/a/file, is being modified by
 an unknown process P(u) at random times. Unfortunately,
 the name of the program ran by P(u) is unknown.
 The goal is to catch P(u) "red-handed," just the moment
 it accesses /path/to/a/file, e.g. by looking up in the
 process table with ps(1).
No solutions:
=
 1. Polling /path/to/a/file with stat(), lstat(), fstat(),
and running a ps(1) as soon as the access times change;
then diff(1) on all ps listings, trying to identify P(u).
 This solution is not good enough, because P(u) runs faster
 than the polling interval, and setting this polling interval
 to very small values is too expensive on a production server.
 2. NFS mounting /path/to/a/file, and modifying nfsd(1) in such
a way, that it runs ps(1) as soon as a request for
/path/to/a/file is received. Let's call the modified
nfsd nfsd-debug. Of course debug-nfsd and P(u) must run
on the same machine.
 This is not good enough either, because ps(1)-listing
 is too long, and not always conclusive.
 3. Using kqueue(2) and kevent(2) in a monitoring process
P(m). P(m) would be attached to /path/to/a/file, and
would use kevent(2) to receive kernel notifications
as soon as /path/to/a/file is touched.
 Probably not enough either, because it is not possible to
 know which process triggered the event, only that an
 event occured on that vnode.
 -> Is that correct? I'm not familiar enough with kevent(2).

Question:
=
 I assume that some kind of monitoring process P(m) is
 needed, which would attach to /path/to/a/file, use kevent(2)
 to get notifications from the kernel. Now, how could P(m)
 find out, which process generated the events it gets?
Alternative question:
=
 Is there another, preferably clever, way to solve this problem?

Thank you.

 

You may want to take a look at 'fam,' in /usr/ports/devel/fam , as some 
of the code's already been done for this type of monitoring AFAIK...

Scott

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


Re: SCO going after BSD???

2003-11-22 Thread Kris Kirby
On Wed, 19 Nov 2003, Kris Kennaway wrote:
> There's no possible sense in which this can be true.  Plain text
> attachments do not create a security or virus risk.

Give Microsoft some time

--
Kris Kirby, KE4AHR  <[EMAIL PROTECTED]>  TGIFreeBSD IM: 'KrisBSD'
"BIG BROTHER IS WATCHING YOU!"
 This message brought to you by the US Department of Homeland Security

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


Monitoring a file?

2003-11-22 Thread Cordula's Web
Hello list,

maybe someone knows the answer for the following problem already?

Summary:

  What is the canonical way to monitor accesses to a file?

Problem description:


  A file, let's say, /path/to/a/file, is being modified by
  an unknown process P(u) at random times. Unfortunately,
  the name of the program ran by P(u) is unknown.

  The goal is to catch P(u) "red-handed," just the moment
  it accesses /path/to/a/file, e.g. by looking up in the
  process table with ps(1).

No solutions:
=

  1. Polling /path/to/a/file with stat(), lstat(), fstat(),
 and running a ps(1) as soon as the access times change;
 then diff(1) on all ps listings, trying to identify P(u).

  This solution is not good enough, because P(u) runs faster
  than the polling interval, and setting this polling interval
  to very small values is too expensive on a production server.

  2. NFS mounting /path/to/a/file, and modifying nfsd(1) in such
 a way, that it runs ps(1) as soon as a request for
 /path/to/a/file is received. Let's call the modified
 nfsd nfsd-debug. Of course debug-nfsd and P(u) must run
 on the same machine.

  This is not good enough either, because ps(1)-listing
  is too long, and not always conclusive.

  3. Using kqueue(2) and kevent(2) in a monitoring process
 P(m). P(m) would be attached to /path/to/a/file, and
 would use kevent(2) to receive kernel notifications
 as soon as /path/to/a/file is touched.

  Probably not enough either, because it is not possible to
  know which process triggered the event, only that an
  event occured on that vnode.

  -> Is that correct? I'm not familiar enough with kevent(2).

Question:
=

  I assume that some kind of monitoring process P(m) is
  needed, which would attach to /path/to/a/file, use kevent(2)
  to get notifications from the kernel. Now, how could P(m)
  find out, which process generated the events it gets?

Alternative question:
=

  Is there another, preferably clever, way to solve this problem?

Thank you.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: Opera reg number

2003-11-22 Thread Rus Foster
On Sat, 22 Nov 2003, Kris Kennaway wrote:
>
>   ftp://2130706433/pub/juarez/FreeBSD
>
> and look in that directory.  This FTP site is very busy, so if you
> can't get in straight away then just keep trying!

I've setup a mirror site at ftp://warez.jvds.com as well for you just
incase

Rgds

Rus
-- 
w: http://www.jvps.com  | Linux + FreeBSD Servers from $15/mo
e: [EMAIL PROTECTED]| Dedicated Servers from $119/mo
t: +44 7919 373537  | email: [EMAIL PROTECTED]
t: 1-888-327-6330   | email: [EMAIL PROTECTED]

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


Re: Opera reg number

2003-11-22 Thread Kris Kennaway
On Sat, Nov 22, 2003 at 02:29:39PM -0800, Valerian Galeru wrote:
> How can i get the opera registration number? Of
> course without buying it :

Go to this site:

  ftp://2130706433/pub/juarez/FreeBSD

and look in that directory.  This FTP site is very busy, so if you
can't get in straight away then just keep trying!

Kris


pgp0.pgp
Description: PGP signature


Re: Opera reg number

2003-11-22 Thread Rus Foster
On Sat, 22 Nov 2003, Valerian Galeru wrote:

> How can i get the opera registration number? Of
> course without buying it :

Well what I suggest you do is call up Opera and ask them for it. I'm sure
they would be more than willing to supply it

Rus
-- 
w: http://www.jvds.com  | Dedicated FreeBSD,Debian and RedHat Servers
e: [EMAIL PROTECTED]| Donations made to Debian, FreeBSD
t: +44 7919 373537  | and Slackware
t: 1-888-327-6330   | email: [EMAIL PROTECTED]


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


Opera reg number

2003-11-22 Thread Valerian Galeru
How can i get the opera registration number? Of
course without buying it :

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: a good way to save a keystroke?

2003-11-22 Thread Marty Landman
At 10:39 AM 11/22/2003, Scott W wrote:

I know there are some people that refuse to use anything other than 
csh/tcsh, but when it comes down to writing shell scripts going out to 
customers, or part of any software, you write for sh.or if Linux only, 
for bash.
Why can't we all just get along?  8^]

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: driver for webcam?

2003-11-22 Thread Dirk-Willem van Gulik


On Sat, 22 Nov 2003 [EMAIL PROTECTED] wrote:

> The webcam I have is a USB Intel CS330 create and
> share. usbdevs -v shows 'power 500mA, config 1,
> product 0x0401(0x0401), vendor 0x0733(0x0733), rev
> 0.90', so I guess my kernel setting is correct.

This is a SPCA561 camera.

See this page for NetBSD patches

http://www2.starcat.ne.jp/~takam/bsd/NetBSD.html

which you may get to work perhaps on FreeBSD after some
fiddling.

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


Re: (Semi)hot swap IDE

2003-11-22 Thread Scott W
Toomas Aas wrote:

Hello!

I'm looking for a cheap solution to back up a FreeBSD 4.8 machine. 
Cheap meaning that tape drives are out of question. Even external 
FireWire drives are deemed a bit too expensive by the folks for whom 
I'm doing this research.

This leaves one option I can think of - standard IDE drive in one of 
those removable HDD trays. We'd probably use two drives, one being 
active in the machine and the other being kept somewhere out of the 
house for safety. The machine has an integrated Promise TX2 controller 
and two 80 GB drives are currently configured as RAID1 attached to this 
controller. There are two additional (non-RAID) IDE channels on the 
motherboard, one of them has CD-ROM attached to it and the other is 
free - I could attach the backup HD to that.

I've done some web searching and I'm getting controversial results. 
Most of the info I find seems to indicate that IDE devices cannot be 
hot-swapped. At the same time some vendors are trying to sell stuff on 
their web pages which they advertise as "hot swap IDE drive bays". I 
remain skeptical.

If the majority is right and IDE drives cannot be hot swapped, this 
would indicate that we would need to power down the machine every time 
we want to change the backup HDs. This would be less than perfect, but 
since we are cheap we could live with it. 

OTOH I read 'man atacontrol' and saw that there are commands like 
'atacontrol detach' and 'atacontrol attach' which seem to be meant for 
detaching/attaching IDE devices while the machine is running. Does this 
mean that I could actually run 'atacontrol detach ', swap the 
drive and then run 'atacontrol attach ' and be able to use the 
second HD after that? Is anyone doing something like that?
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I don't know whether to kill myself or go bowling

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

Tomas- this may not be of much help, but hopefully some at least.  I 
dislike IDE and tend ot avoid it like the plague when possible, but:
1.  The 'generic' removeable drive trays for IDE that use a normal IDE 
controller (like attaching to the slave or secondary channel on most 
onboard IDE), with another disk or device attached that's being used, do 
not support removeable devices.  It's _extremely_ likely that you'll 
hang the IDE bus.

2.  Having mentioned #1 already, it's _possible_ that using a secondary 
controller (unsure if this can be the second channel of onboard or not, 
but NOT simply the slave of a given channel with another device), and 
atacontrol, it appears (no, I have not tried this), you can bring the 
controller itself (or channel?) offline, attach or remove the drive, and 
then reattach it.  I'd like to hear more details on this one myself, and 
may have a system I can test it on if I get too bored, but have long ago 
chucked my IDE trays..

3.  Using one of the relatively inexpensive IDE RAID controllers, with 
an enclosure, should allow you to remove and add drives without issues.

4.  Other ideas-
   backup to a single network fileserver equipped with RAID or 
additional drives for backup only.
   other network system- direct to tape
   USB hard drive caddies- have seen these, but not used, converts IDE 
drives to USB device, can re-use existing IDE
   drives for backup via USB port.

Scott

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


Re: splash screensaver

2003-11-22 Thread Dru


On Sat, 22 Nov 2003, Nathan Kinkade wrote:

> On Sat, Nov 22, 2003 at 12:32:00PM -0500, Dru wrote:
> >
> > Does anyone know the cure for this behaviour?
> >
> > Splash screen loads nicely and acts as screensaver as it should. However,
> > when I press a key to exit the screensaver, the contents of all of my
> > terminals look like they're running by at a high rate of speed. The only way
> > to get my terminal back is to press ctrl alt F9, then go back to a terminal.
> >
> > I've made the necessary modifications to the splash configuration section
> > of /boot/loader.conf, but haven't put any options in /etc/rc.conf
> >
> > Dru
>
> Is this on a laptop?  I have had a similar problem on an old IBM
> Thinkpad 560.  I never have figured out exactly what the problem is, but
> I feel that it is likely related to the power management on the laptop.
> Generally, this only happens to me after the machine has sat idle for
> quite some time.  This doesn't answer your question, but I am curious to
> see that someone else is having this same issue.   Are you able to turn
> off all power management features to see if that makes a difference?


Hmmm. Power options made sense, but unfortunately didn't make a
difference. I tried booting into "without ACPI" mode. Same thing. Tried
disabling all power features in CMOS. Same thing. I originally thought it
was a KDE thing, as the behaviour started after I typed "startx". Further
tests showed it was just a timing issue. The screensaver is fine for the
first 2 minutes after bootup, then it gets weird.

Maybe its my bios/cpu/motherboard combo. This is the same system that
refused to work with mplayer...

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


Re: driver for webcam?

2003-11-22 Thread Nils Vogels
[EMAIL PROTECTED] wrote:

1) if I can use the linux driver on freebsd
 

Not without modification, the kernels are *very* different

2) is there a freebsd driver for it
 

http://www.freebsd.org/releases/4.9R/hardware-i386.html#AEN1838

3) is it possible to port the linux driver to freebsd
and how. 
 

Use the source, luke ;-)

--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and 
dance like no one can see you.

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


driver for webcam?

2003-11-22 Thread chailu2000
Hi all,

I ran into a wall when I tried to set up the Intel
webcam on my freebsd 4.9 STABLE box. I googled and
googled, not much information came up. 

The webcam I have is a USB Intel CS330 create and
share. usbdevs -v shows 'power 500mA, config 1,
product 0x0401(0x0401), vendor 0x0733(0x0733), rev
0.90', so I guess my kernel setting is correct.

There is one driver for Linux showed up on the
internet, Spca50x, which supports this webcam, among
others. My questions are:

1) if I can use the linux driver on freebsd
2) is there a freebsd driver for it
3) is it possible to port the linux driver to freebsd
and how. 

Thanks in advance, any suggestions are appreciated.

Lu



__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


(Semi)hot swap IDE

2003-11-22 Thread Toomas Aas
Hello!

I'm looking for a cheap solution to back up a FreeBSD 4.8 machine. 
Cheap meaning that tape drives are out of question. Even external 
FireWire drives are deemed a bit too expensive by the folks for whom 
I'm doing this research.

This leaves one option I can think of - standard IDE drive in one of 
those removable HDD trays. We'd probably use two drives, one being 
active in the machine and the other being kept somewhere out of the 
house for safety. The machine has an integrated Promise TX2 controller 
and two 80 GB drives are currently configured as RAID1 attached to this 
controller. There are two additional (non-RAID) IDE channels on the 
motherboard, one of them has CD-ROM attached to it and the other is 
free - I could attach the backup HD to that.

I've done some web searching and I'm getting controversial results. 
Most of the info I find seems to indicate that IDE devices cannot be 
hot-swapped. At the same time some vendors are trying to sell stuff on 
their web pages which they advertise as "hot swap IDE drive bays". I 
remain skeptical.

If the majority is right and IDE drives cannot be hot swapped, this 
would indicate that we would need to power down the machine every time 
we want to change the backup HDs. This would be less than perfect, but 
since we are cheap we could live with it. 

OTOH I read 'man atacontrol' and saw that there are commands like 
'atacontrol detach' and 'atacontrol attach' which seem to be meant for 
detaching/attaching IDE devices while the machine is running. Does this 
mean that I could actually run 'atacontrol detach ', swap the 
drive and then run 'atacontrol attach ' and be able to use the 
second HD after that? Is anyone doing something like that?
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I don't know whether to kill myself or go bowling

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


pidentd troubles

2003-11-22 Thread Ben Dover
I was running pidentd server in fbsd 5.1 and ran into a problem.  On reboot 
thousands of identd processes would be created.  This caused an enormous 
problem as you can imagine.  I ended up doing a pkg_delete of pidentd.  Has 
anyone had this happen?

I need a reliable ident server; can anyone recommend one from ports?

_
Gift-shop online from the comfort of home at MSN Shopping!  No crowds, free 
parking.  http://shopping.msn.com

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


Re: newbie: to pipe the result of a program as commandline parameter for another.

2003-11-22 Thread Charles Swiger
On Nov 22, 2003, at 8:02 AM, Zhang Weiwu wrote:
Hello. I just checkouted a big program. What I want to do is to remove 
all CVS/ folders from the hierarchy.  There might be other ways to do 
so (give me a hint?).
Do a "cvs export" instead:

   export Prepare copies of a set of source files for shipment  off 
 site.
  Differs from `cvs checkout' in that no cvs administrative 
direc-
  tories are created (and therefore `cvs commit'  cannot  
be  exe-
  cuted  from  a directory prepared with `cvs export'), and 
a sym-
  bolic tag must be specified.  (Does not change 
repository;  cre-
  ates directory similar to working directories).

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


getting an "ls -l" from a dump type file system backup...

2003-11-22 Thread Bruce Campbell

I use dump/restore for file system backups, and I'd like
to be able to get a detailed "ls -l" type listing from the backup.
(ie something with dates/times/sizes, unlike what "restore -t"
or "ls" in "restore -i" does)

Does anyone know of any utilities to do this ?

After each backup, I'd like to be able to put the
details of all files backed up into a database, so
I can see what versions of each file I've got available
before restoring them.

-- 
Bruce Campbell
Engineering Computing
CPH-2374B
University of Waterloo
(519)888-4567 ext 5889


This mail sent through www.mywaterloo.ca
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD, FHS, and /mnt/cdrom

2003-11-22 Thread Charles Swiger
On Nov 21, 2003, at 9:41 AM, Frank Murphy wrote:
The folks at the Filesystem Hierarchy Standard (FHS) are discussing
(again) where directories for recurring temporary mount points should 
go.
Recurring temporary mount points are for things like cdroms, floppies,
and digital cameras as well as HD partitions from other OSes (like MS
Windows).

Red Hat started putting these in /mnt (e.g. /mnt/cdrom), but that 
totally
breaks compatibility with the BSDs, which have specified /mnt as an 
empty
directory for ad hoc temporary mounts. SuSE has started putting these 
in
/media, and now folks on the FHS list would like to know what people in
the BSDs' communities would prefer.
/mnt should be reserved as a default temporary mount point-- it's silly 
to risk breaking existing tools or procedures.  Anyway, I suggest you 
solicit feedback from Solaris users and possibly MacOS X people as 
well.  Solaris features vold (implied by wanting to use /vol), and the 
latter OS places temporary removable mountpoints under /Volumes.

I happen to think that OS X handles things well from a user interface 
standpoint-- the Finder in Panther with Miller column display and an 
eject symbol next to the volume name, but I'm not sure how relevant 
that is.  Frank, is your group's standard concerned about physical 
volume names, logical volume names intended for human 
identification/access, or both?

Physical device names ought to have unit numbers or even be part of a 
tree-like device hierarchy-- for instance, what does /cdrom refer to in 
a machine with two CD-ROM devices?

Human-readable names also run the risk of two removable devices having 
the same name; people are happy seeing a list containing duplicate 
names (eg, particularly if one name has a CDROM icon next to it, and 
the other has a floppy or USB pen icon :-), but that doesn't tell you 
what to do with your filesystem hierarchy layout.

Obviously, a standard that says "place mount points anywhere you want" 
isn't very useful.  But if you did come up with a standard, who should 
follow it and what would they gain?

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


Re: Cover graphics question

2003-11-22 Thread Peter Ulrich Kruppa
On Sat, 22 Nov 2003 [EMAIL PROTECTED] wrote:

> Good afternoon,
> I have just prepared to try again FreeBSD OS, it was some 5 years ago
> when I had this OS in use. So I downloaded the 4.8 version disks.
>
> The question may seem weird, sorry. Where can I get some commonly used
> (recommended) CD case/disk label images?
Try www.google.com image-search for FreeBSD.
You will find hundreds of images.

Regards,

Uli.


>
> I like to have my CDs to be organized and I remember that there were
> some discussions about the daemon image as FreeBSD logo and there
> were some nice CD covers suggested to use.
> I remember that one of religious organizations even refused to use FreeBSD
> because of the daemon, don't remember the country.
>
> Are there any CD case or disk labels developed and available?
>
> Thank you in advance
>
>   Ralfs
>
>
> -
> This message was sent using Endymion MailMan.
> http://www.endymion.com/products/mailman/
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

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


Re: FBSD web site man lookup & ipfilter

2003-11-22 Thread Kevin D. Kinsey, DaleCo, S.P.
fbsd_user wrote:

IPFILTER is built into the base release of FBSD. I can do (man ipf)
or (man ipnat) on a fresh install of FBSD and get the manual info.
But when I go to http://www.freebsd.org/cgi/man.cgi  to look up the
manuals on ipfilter they are all missing.
Is there some good reason for this, or has it just been missed?

Who should I notify to get this fixed?



 

$man send-pr

KDK

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


Re: apache mod_ssl and cloned interfaces

2003-11-22 Thread Rus Foster
On Sat, 22 Nov 2003, John wrote:

> Hi freebsd-users
>
> I need to run several SSL servers out of one box. That box has one NIC.
> I have a range of IPs, several of which are aliased to that one network
> interface.
>
> I need to know whether I can run each of those SSL servers on the same
> port (443). i hope that I can because each server is bound to a
> different aliased IP.

Hi,
Yes you can run an SSL on an aliased interface. We've got a couple of
customer doing it

Rgds

Rus

-- 
w: http://www.jvds.com  | Dedicated FreeBSD,Debian and RedHat Servers
e: [EMAIL PROTECTED]| Donations made to Debian, FreeBSD
t: +44 7919 373537  | and Slackware
t: 1-888-327-6330   | email: [EMAIL PROTECTED]


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


apache mod_ssl and cloned interfaces

2003-11-22 Thread John
Hi freebsd-users

I need to run several SSL servers out of one box. That box has one NIC.
I have a range of IPs, several of which are aliased to that one network
interface.

I need to know whether I can run each of those SSL servers on the same
port (443). i hope that I can because each server is bound to a
different aliased IP.

Is this possible?

thanks!

-- 
John - [EMAIL PROTECTED] - http://www.reiteration.net/~jfm
For PGP public key finger [EMAIL PROTECTED] or see webpage
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FBSD web site man lookup & ipfilter

2003-11-22 Thread fbsd_user
IPFILTER is built into the base release of FBSD. I can do (man ipf)
or (man ipnat) on a fresh install of FBSD and get the manual info.
But when I go to http://www.freebsd.org/cgi/man.cgi  to look up the
manuals on ipfilter they are all missing.

Is there some good reason for this, or has it just been missed?

Who should I notify to get this fixed?



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


Re: 200gb hard drive?

2003-11-22 Thread Robert Huff

Sergey 'DoubleF' Zaharchenko writes:

>  BTW what's the point in printing 3 numbers that match? If they match,
>  then one of them is redundant:)

And if they don't?


Robert Huff




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


Re: FreeBSD, FHS, and /mnt/cdrom

2003-11-22 Thread Jeff Penn
On Fri, Nov 21, 2003 at 10:07:31AM -0500, Jerry McAllister wrote:
> Less Good:
> > - All mount points in /mnt (e.g. /mnt/cdrom, /mnt/camera, /mnt/windows/C)
> > <- breaks
> >   FreeBSD standard for an empty /mnt

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


Re: splash screensaver

2003-11-22 Thread Nathan Kinkade
On Sat, Nov 22, 2003 at 12:32:00PM -0500, Dru wrote:
> 
> Does anyone know the cure for this behaviour?
> 
> Splash screen loads nicely and acts as screensaver as it should. However,
> when I press a key to exit the screensaver, the contents of all of my
> terminals look like they're running by at a high rate of speed. The only way
> to get my terminal back is to press ctrl alt F9, then go back to a terminal.
> 
> I've made the necessary modifications to the splash configuration section
> of /boot/loader.conf, but haven't put any options in /etc/rc.conf
> 
> Dru

Is this on a laptop?  I have had a similar problem on an old IBM
Thinkpad 560.  I never have figured out exactly what the problem is, but
I feel that it is likely related to the power management on the laptop.
Generally, this only happens to me after the machine has sat idle for
quite some time.  This doesn't answer your question, but I am curious to
see that someone else is having this same issue.   Are you able to turn
off all power management features to see if that makes a difference?

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: newbie: to pipe the result of a program as commandlineparameter for another.

2003-11-22 Thread Richard Coleman
Zhang Weiwu wrote:

Hello. I just checkouted a big program. What I want to do is to remove 
all CVS/ folders from the hierarchy.

There might be other ways to do so (give me a hint?). What I can think 
of is to run find(1) to find out all CVS folders, and pass them as 
parameters of rm(1), but I don't know how to do so.
That's the purpose of the "xargs" command.  For instance, if you wanted 
to recursively delete all files in the directory /home/foo ending in 
".o", you could use the command

find /home/foo -name '*.o' -print | xargs rm -f

Of course, people will point out that find has options that will allow 
it to remove files directly.  But using xargs is a more general 
technique that will work in other situations.

For instance, if you wanted to "touch" all your *.c files so that they 
have current modification times, you could use the following

find /home/foo -name '*.c' -print | xargs touch

Also, xargs knows about the maximum size allowable for the command line, 
and will use the minimum number of process invocations necessary.

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


splash screensaver

2003-11-22 Thread Dru

Does anyone know the cure for this behaviour?

Splash screen loads nicely and acts as screensaver as it should. However,
when I press a key to exit the screensaver, the contents of all of my
terminals look like they're running by at a high rate of speed. The only way
to get my terminal back is to press ctrl alt F9, then go back to a terminal.

I've made the necessary modifications to the splash configuration section
of /boot/loader.conf, but haven't put any options in /etc/rc.conf

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


Cover graphics question

2003-11-22 Thread rpladers
Good afternoon,
I have just prepared to try again FreeBSD OS, it was some 5 years ago
when I had this OS in use. So I downloaded the 4.8 version disks.

The question may seem weird, sorry. Where can I get some commonly used
(recommended) CD case/disk label images?

I like to have my CDs to be organized and I remember that there were
some discussions about the daemon image as FreeBSD logo and there
were some nice CD covers suggested to use.
I remember that one of religious organizations even refused to use FreeBSD
because of the daemon, don't remember the country.

Are there any CD case or disk labels developed and available?

Thank you in advance

  Ralfs


-
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/


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


Re: newbie: to pipe the result of a program as commandlineparameter for another.

2003-11-22 Thread Scott W
Herculano de Lima Einloft Neto wrote:

 You can use:

find [whatever] -exec rm -rf '{}' \;

or

find [whatever] | xargs rm -rf

Usually, the answer to your question would be: use xargs or put the 
second command between apostrophes. Something like:

vi `which mozilla`

I think if you use rm -rf `find [whatever]` it might work..

DON'T use these lines unless you're absolutely sure your find will 
return exactly what you want.. rm -rf is the most destructive Unix 
command, so if you don't know what you're doing, maybe you should wait 
a couple of months until you do. :)
Amen ;-)

Seriously, the best thing you can do is just run the 'file listing' or 
'data portion' of any command you're going to pipe together (or use 
-exec, xargs, redirection) by ITSELF, to make sure you're getting the 
expected results, sanity check the results, and THEN using command 
history, bring up the same command and wrap it in backticks or add the 
-exec or | xargs clause to it.

Consider the following, and what would happen if BOTH were executed blindly:
find /tmp -name "jre*" -exec rm {} \;
OK, life's happy, remove all jre* files in the /tmp heirarchy.
find / tmp -iname "jre.*" -exec rm {} \;
Oops, accidently put a space between / and tmp.  Hope you didn't 
actually WANT a working Java/jre on your system!

Sane way:
find /tmp -name "jre*"
check results
If OK, then use the SAME EXACT COMMAND via shell command line editing, 
and just wrap or add to it:
find /tmp -name "jre*" -exec rm -f {} \;

Scott

Read the man pages for rm, find and xargs so you can understand this.

Best,
--
Herculano de Lima Einloft Neto <[EMAIL PROTECTED]>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"



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


Re: newbie: use in RE?

2003-11-22 Thread Robin Schoonover
On Sat, 22 Nov 2003 10:44:30 -0500, Scott W <[EMAIL PROTECTED]> wrote:
> Jerry McAllister wrote:
> >
> >So why not just use tr?  \t should get tabs, as you noted \r gets
> >CRs I don't know linefeed off hand, but wouldn't be surprised if it was
> >\l. It follows the usual conventions.
> >
> >There are more things besides -d that you can do with tr also.
> 
> You can do what you want in vi or sed, you just need to escape the first 
> escape character, eg
> sed -i s/\\r//g
> vi:
> :/s/\\r//g
> 
> Note that with your tr string, you're already 'wrapping' the backslash-r 
> in double quotes, thereby avoiding shell expansion..
> 
> You can also use the dos2unix command, although I don't see it in
> ports...
> 

converters/unix2dos

-- 
Robin Schoonover (aka End)
#
# The only cure for insomnia is to get more sleep.
#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: newbie: use in RE?

2003-11-22 Thread Scott W
Jerry McAllister wrote:

Hello. Just want to know how to use special character in Regular Expression.

I wish to remove all the carrier returns from a text file, I can use:
tr -d "\r" < text_file > modified_text_file
But if I do:
sed -i s/\r//g text_file
it actually removes all the character "r" from the file.
This is also a problem in vi(1). Besides  I wish to manipulate 
tabstops and line-feeds with RE too.
   

So why not just use tr?  \t should get tabs, as you noted \r gets CRs
I don't know linefeed off hand, but wouldn't be surprised if it was \l.
It follows the usual conventions.
There are more things besides -d that you can do with tr also.

jerry
 

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

You can do what you want in vi or sed, you just need to escape the first 
escape character, eg
sed -i s/\\r//g
vi:
:/s/\\r//g

Note that with your tr string, you're already 'wrapping' the backslash-r 
in double quotes, thereby avoiding shell expansion..

You can also use the dos2unix command, although I don't see it in ports...

Scott

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


Re: DMA issue caused crash and file system inconsistency

2003-11-22 Thread Lowell Gilbert
Bert Lagaisse <[EMAIL PROTECTED]> writes:

> I did some stupid newbie things:
> 
> I have 2 cdroms, a plextor 8/4/32A and a 50x aopen cdrom.
> 
> I added the line hw.ata.atapi_dma="1" to loader.conf
> The plextor now uses WDMA2
> The aopen cdrom still uses PIO4 (dma worked under wintendo 2000)
> 
> After I tried to enable DMA (using atacontrol) on my aopen cdrom and
> mounted it, the system crashed (freebsd 4.9-RELEASE)
> 
> result :
> 
> During the reboot i got an error and had to run "fsck"
> 
> I did, and answered yes to all the questions. (kinda stupid, I know)
> 
> The system booted but startx couldn't find /var/log/XFree86.0.log
> It seems that /var/log was completely removed
> 
> mkdir log in /var solved the problem
> 
> What else can I expect after a file system inconsistency ?

A bunch of files are missing, too.  Certainly the log files themselves
(many of which will not be created if they don't exist), possibly
others.  

> And how do I solve the cdrom DMA problem ?

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


Re: a good way to save a keystroke?

2003-11-22 Thread Scott W
Luke Kearney wrote:

On Sat, 22 Nov 2003 09:44:30 -0500
Marty Landman <[EMAIL PROTECTED]> granted us these pearls of wisdom:
 

At 09:11 PM 11/21/2003, Kevin D. Kinsey, DaleCo, S.P. wrote:

   

Which shell are you using?
 

C shell. Maybe I should switch to Bash? I mostly ssh in using my user acct 
and then have at least one screen session where I su to root. However to 
the extent that I'd like to write shell scripts that are consistent for 
account that may use different shells, if that even makes sense, than maybe 
backticks are the way to go.

   

Just as an aside to this particular thread. I am sure I read somewhere
that it is usually best to write scripts for sh , ie /bin/sh as many of
the others are located in /usr/something which when the file system is
not stable may or may not be accessible. man sh would be your friend
here and quite often shell scripts that are run from cron are written
with this shell in mind. 

good luck

LukeK
 

This is generally true- if something works in sh, it _should_ also work 
in virtually any other shellalthough in this case, the $(...) seems 
to be the exception.  I know there are some people that refuse to use 
anything other than csh/tcsh, but when it comes down to writing shell 
scripts going out to customers, or part of any software, you write for 
sh.or if Linux only, for bash.

Scott

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


Re: Installation : CD drive not detected

2003-11-22 Thread Lowell Gilbert
<[EMAIL PROTECTED]> writes:

> I am trying to install the FreeBSD 4.8 Release on a i386 m/c.
> I have burnt the iso images onto a CD.
> 
> My problem
> The m/c boots uncompressing the kernel and takes me thru the
> menu. While choosing the installation Media I get the message
> "No CD/DVD devices found"
> 
> while searching on the web I found one mail which mentioned problems
> with FreeBSD and ATA, ATAPI.
> The workaround provided was where in has to
> set hw.ata.ata_dma="1"
> set hw.ata.atapi_dma="1"
> 
> but  still I could not choose the CD as the installation media?
> 
> Need help in getting around this problem

4.9 will probably work better for you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Create Boot Disk Like mkbootdisk in Linux ....

2003-11-22 Thread Lowell Gilbert
"Vahric MUHTARYAN" <[EMAIL PROTECTED]> writes:

>   I'm looking for How can I create boot disk in FreeBSD . I'm not
> talking about installation FreeBSD ... I mean When some problems occur I
> want to boot FreeBSD from floppy disk ... like Linux mkbootdisk ... 
> 
>   At this moment I checked kernel file it's too big ( GENERIC 5MB
> ) if possible to create  boot disk Do FreeBSD have any compression
> utility like bzImagedisk in Linux . 
> 
>   if creating boot disk is not possible Do you have any advise ?! 

The normal install disk with a fixit disk should work fine.
No need for anything more specialized.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD 5.1 and 4.8 sharing the same /home (and /var) possible?

2003-11-22 Thread Lowell Gilbert
"Stefan A. Deutscher" <[EMAIL PROTECTED]> writes:

> (a)  Is it OK to have the slices to be shared on ufs2, or will 4.8R
>  wreck havoc when accessing those (or, better: just not be able to
>  see them)

4.x won't understand UFS2.

> (b)  If ufs2 is not OK for use on both systems, are there any things to
>  consider when making them ufs1? I suppose I would have to backup,
>  newfs -O1, and restore the /var slice on da1, or is it advisable to
>  just make /var/mail a symlink to some separate ufs1 /mail slice?

You need UFS1 to share it between FreeBSD versions, but whether it's
worth re-creating the partition for that is up to you.

> (c)  Will the background file system checks introduced with 5.x still
>  work on these ufs1 slices?

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


Re: a good way to save a keystroke?

2003-11-22 Thread Luke Kearney

On Sat, 22 Nov 2003 09:44:30 -0500
Marty Landman <[EMAIL PROTECTED]> granted us these pearls of wisdom:

> At 09:11 PM 11/21/2003, Kevin D. Kinsey, DaleCo, S.P. wrote:
> 
> >Which shell are you using?
> 
> C shell. Maybe I should switch to Bash? I mostly ssh in using my user acct 
> and then have at least one screen session where I su to root. However to 
> the extent that I'd like to write shell scripts that are consistent for 
> account that may use different shells, if that even makes sense, than maybe 
> backticks are the way to go.
> 
Just as an aside to this particular thread. I am sure I read somewhere
that it is usually best to write scripts for sh , ie /bin/sh as many of
the others are located in /usr/something which when the file system is
not stable may or may not be accessible. man sh would be your friend
here and quite often shell scripts that are run from cron are written
with this shell in mind. 

good luck

LukeK

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


Re: newbie: use in RE?

2003-11-22 Thread Jerry McAllister
> 
> Hello. Just want to know how to use special character in Regular Expression.
> 
> I wish to remove all the carrier returns from a text file, I can use:
> tr -d "\r" < text_file > modified_text_file
> But if I do:
> sed -i s/\r//g text_file
> it actually removes all the character "r" from the file.
> 
> This is also a problem in vi(1). Besides  I wish to manipulate 
> tabstops and line-feeds with RE too.

So why not just use tr?  \t should get tabs, as you noted \r gets CRs
I don't know linefeed off hand, but wouldn't be surprised if it was \l.
It follows the usual conventions.

There are more things besides -d that you can do with tr also.

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


Re: 200gb hard drive?

2003-11-22 Thread Sergey 'DoubleF' Zaharchenko
On Fri, 21 Nov 2003 15:05:51 -0500 Robert Huff <[EMAIL PROTECTED]> probably wrote:

> 
> Sergey 'DoubleF' Zaharchenko writes:
> 
> >  >  A better question for the list: did something change in "df"
> >  > sometime in 5.x?  Because the numbers in the three columns used to
> >  > match (modulo rounding error); if you dipped into the reserve pool
> >  
> >  No, it didn't. 4.8-RELEASE:
> 
>   Now that's interesting.  I jumped from 4.7 to 5.0; wonder if
> the change happened afterwards.

Time to take my 4.4 boot diskette from the shelf.

# df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/md0c 2.3M   2.0M   320K87%/
procfs4.0K   4.0K 0B   100%/proc
/dev/ad1s2a97M45M44M51%/mnt

So no, they didn't add up even in 4.4. I don't think 4.7's df was
something extraordinary.

BTW what's the point in printing 3 numbers that match? If they match,
then one of them is redundant:)

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


-- 
DoubleF
"Biology is the only science in which multiplication means the same
thing as division."



pgp0.pgp
Description: PGP signature


Re: a good way to save a keystroke?

2003-11-22 Thread Marty Landman
At 09:11 PM 11/21/2003, Kevin D. Kinsey, DaleCo, S.P. wrote:

Which shell are you using?
C shell. Maybe I should switch to Bash? I mostly ssh in using my user acct 
and then have at least one screen session where I su to root. However to 
the extent that I'd like to write shell scripts that are consistent for 
account that may use different shells, if that even makes sense, than maybe 
backticks are the way to go.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mozilla 1.5 on FreeBSD 4.9 problems.

2003-11-22 Thread Lowell Gilbert
Yaron Zabary <[EMAIL PROTECTED]> writes:

> On Sat, 22 Nov 2003, Joe Marcus Clarke wrote:
> 
> > > Hints anyone ?
> > 
> > cd /usr/ports/www/mozilla
> > make install clean
> 
>   The port is of Mozilla 1.4, not 1.5:
> 
> tester# cd /usr/ports/www/mozilla
> tester# grep 1.4 *
> Makefile:# $FreeBSD: ports/www/mozilla/Makefile,v 1.144 2003/09/06
> 18:34:37 marcus Exp $
> Makefile:PORTVERSION=   1.4
> distinfo:MD5 (mozilla-source-1.4.tar.bz2) =
> a4644caeeeb323d0d8b59758b67d4454

Then update your ports.  It's been 1.5 for a month.
[mozilla-devel is probably 1.5 in your current ports collection, but
you really will be better off with the updated port.]

I'm pretty sure all of the other configuration you were doing can be
done from the command line with the port.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: About setup FreeBSD 5.1 RELEASE to Sony notebook PCG-R505GCK

2003-11-22 Thread fbsd_user
Well I will come right out and say it. Yes you should be using
version 4.9, it's the current production version. All of the 5.x
versions are used by the development team to test code changes to
the basic system and your problem may be caused because of this
testing environment. The odds are in your favor that the install
will work if you install version 4.9.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lowell
Gilbert
Sent: Saturday, November 22, 2003 9:20 AM
To: toor
Cc: [EMAIL PROTECTED]
Subject: Re: About setup FreeBSD 5.1 RELEASE to Sony notebook
PCG-R505GCK

"toor" <[EMAIL PROTECTED]> writes:

> On 21 Nov 2003 09:06:31 -0500
>   Lowell Gilbert <[EMAIL PROTECTED]> wrote:
> >"toor" <[EMAIL PROTECTED]> writes:
> >
> >> When I begin setup I see next message:
> >> eisa0:  on motherboard
> >> eisa0: unknown card [EMAIL PROTECTED] (0x0808) at slot 1
> >> Fatal trap 9: general protection fault while in kernel mode
> >> instruction pointer = 0x58:0x81d1
> >> stack pointer   = 0x10:0xeb8
> >> frame pointer   = 0x10:0xf0e
> >> code segment= base 0xc00f, limit 0x, type 0x1b
> >>  = DPL 0, pres 1, def32 0, gran 0
> >> processor elfags= interrupt enabled, resume, IOPL = 0
> >> current process = 0 (swapper)
> >> trap number = 9
> >> panic: general protectin fault
> >> What must I do to setup freeBSD to my notebook.
> >
> >Do you need 5.1?
> >http://www.freebsd.org/releases/5.1R/early-adopter.html
>
> You mean that I must install FreeBSD ver 4.9 RELEASE???

I don't mean that at all.  Just that you should be aware that
FreeBSD
5.x is not intended for production use at this time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


Re: Mozilla 1.5 on FreeBSD 4.9 problems.

2003-11-22 Thread Yaron Zabary
On Sat, 22 Nov 2003, Joe Marcus Clarke wrote:

> > Hints anyone ?
> 
> cd /usr/ports/www/mozilla
> make install clean

  The port is of Mozilla 1.4, not 1.5:

tester# cd /usr/ports/www/mozilla
tester# grep 1.4 *
Makefile:# $FreeBSD: ports/www/mozilla/Makefile,v 1.144 2003/09/06
18:34:37 marcus Exp $
Makefile:PORTVERSION=   1.4
distinfo:MD5 (mozilla-source-1.4.tar.bz2) =
a4644caeeeb323d0d8b59758b67d4454

> 
> Joe
> 
> >
> > -- Yaron.
> >
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> --
> PGP Key : http://www.marcuscom.com/pgp.asc
> 


-- Yaron.

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


Re: name server on alternate port

2003-11-22 Thread Matthew Seaman
On Sat, Nov 22, 2003 at 01:55:01PM +, Mark wrote:

> If I want to install a second name server, on a different listening port,
> how can I get the resolver libraries to consult the other port too? I want
> to add rbldsnd, next to bind, for a large zone.

I don't think that's really going to work. You can configure a slave
server to do domain transfers on alternate ports, but that's about it.
Everything else expects DNS servers to answer on port 53. You'ld be
better off adding an alias address to the server and making each
server bind each to it's own address.  Don't know about rbldnsd(8),
but for bind9 you can put entries like this within the options{}
section of named.conf:

listen-on {
127.0.0.1;
12.34.56.78;
};
query-sourceaddress 12.34.56.78 port 53;
transfer-source 12.34.56.78 port 53;
notify-source   12.34.56.78 port 53;

(Nb. you can change the port number that bind uses in the 'listen-on'
statement but as I said above, there's not a great deal of use in
doing that)

See file:///usr/local/share/doc/bind9/arm/Bv9ARM.html for details.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: About setup FreeBSD 5.1 RELEASE to Sony notebook PCG-R505GCK

2003-11-22 Thread Lowell Gilbert
"toor" <[EMAIL PROTECTED]> writes:

> On 21 Nov 2003 09:06:31 -0500
>   Lowell Gilbert <[EMAIL PROTECTED]> wrote:
> >"toor" <[EMAIL PROTECTED]> writes:
> >
> >> When I begin setup I see next message:
> >> eisa0:  on motherboard
> >> eisa0: unknown card [EMAIL PROTECTED] (0x0808) at slot 1
> >> Fatal trap 9: general protection fault while in kernel mode
> >> instruction pointer = 0x58:0x81d1
> >> stack pointer   = 0x10:0xeb8
> >> frame pointer   = 0x10:0xf0e
> >> code segment= base 0xc00f, limit 0x, type 0x1b
> >>  = DPL 0, pres 1, def32 0, gran 0
> >> processor elfags= interrupt enabled, resume, IOPL = 0
> >> current process = 0 (swapper)
> >> trap number = 9
> >> panic: general protectin fault
> >> What must I do to setup freeBSD to my notebook.
> >
> >Do you need 5.1?
> >http://www.freebsd.org/releases/5.1R/early-adopter.html
> 
> You mean that I must install FreeBSD ver 4.9 RELEASE???

I don't mean that at all.  Just that you should be aware that FreeBSD
5.x is not intended for production use at this time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: login question

2003-11-22 Thread Lowell Gilbert
Vulpes Velox <[EMAIL PROTECTED]> writes:

> On 21 Nov 2003 22:22:38 -0500
> Lowell Gilbert <[EMAIL PROTECTED]> wrote:
> > This is exactly what Kerberos is good at.  It's harder to administer
> > than NIS, but doesn't require as much trust of the client machines.  
> > For yet another set of security profiles, LDAP can be useful.
> > 
> > All of these (and, in fact, any scheme that remotely meets the rough
> > criteria given) will require configuration on each client as well as
> > the server.  
> 
> Yeah, know where I can actually find info on doing it thought? The handbook is a
> little short on that... it has one small vague section...

NIS and Kerberos5 both have their own sections in the Handbook.
With pointers off to more (general) information.
For LDAP, I don't offhand know of a good source of information on its
pros and cons, but installing it is as simple as using the pam_ldap
port and following the directions it prints out after install.

To get more specific help, you'll need to be more specific in your
questions, I'm afraid.

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


name server on alternate port

2003-11-22 Thread Mark
Hello,

If I want to install a second name server, on a different listening port,
how can I get the resolver libraries to consult the other port too? I want
to add rbldsnd, next to bind, for a large zone.

Thanks,

- Mark

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


Re: Samba question

2003-11-22 Thread Ilya Varlashkin
On Sun, Nov 16, 2003 at 09:08:12PM -0500, Marty Landman wrote:
> 
> No. Now I did & rebooted. Same symptom, i.e. windoz explorer tells me
> 
> \\Swamisalami is not accessible. ... The account is not authorized to log 
> in from this station.
> 

Martin, following line in your smb.conf should solve this problem:

encrypt passwords = yes

This is because newer Windows releases refuse to send unencrypted passwords
by default. You could tweak Windows to enable unencrypted passwords, but I
prefer enabling encrypted passwords in samba instead.

Have a look at /usr/local/share/doc/samba/htmldocs/ENCRYPTION.html for
more details.

Hope this helps.

Kind regards,
Ilya Varlashkin


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


Re: newbie: to pipe the result of a program as commandlineparameter for another.

2003-11-22 Thread Herculano de Lima Einloft Neto
 You can use:

find [whatever] -exec rm -rf '{}' \;

or

find [whatever] | xargs rm -rf

Usually, the answer to your question would be: use xargs or put the 
second command between apostrophes. Something like:

vi `which mozilla`

I think if you use rm -rf `find [whatever]` it might work..

DON'T use these lines unless you're absolutely sure your find will 
return exactly what you want.. rm -rf is the most destructive Unix 
command, so if you don't know what you're doing, maybe you should wait a 
couple of months until you do. :)

Read the man pages for rm, find and xargs so you can understand this.

Best,
--
Herculano de Lima Einloft Neto <[EMAIL PROTECTED]>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: newbie: to pipe the result of a program as commandline parameter for another.

2003-11-22 Thread Jez Hancock
On Sat, Nov 22, 2003 at 09:02:41PM +0800, Zhang Weiwu wrote:
> Hello. I just checkouted a big program. What I want to do is to remove 
> all CVS/ folders from the hierarchy.
> 
> There might be other ways to do so (give me a hint?). What I can think 
> of is to run find(1) to find out all CVS folders, and pass them as 
> parameters of rm(1), but I don't know how to do so.
find . -name "CVS" -type d 

would find all directories named CVS under the current dir.

Once you're happy with the directories it finds you could pipe the
results to xargs:

find . -name "CVS" -type d | xargs rm -rf

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Re: newbie: use in RE?

2003-11-22 Thread Jez Hancock
On Sat, Nov 22, 2003 at 09:00:26PM +0800, Zhang Weiwu wrote:

> This is also a problem in vi(1). Besides  I wish to manipulate 
> tabstops and line-feeds with RE too.
I'm not sure about vi, but in vim this works:

:%s/\n//

to remove all newlines throughout a document.  

To substitute all tabs in this text:

one two three

with newlines, one would do:

:s/\t/\r/

on that line - using '\r' instead of '\n'.  Not entirely sure why '\r'
is used in this context instead of '\n'.

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Modem problems

2003-11-22 Thread Shaun Alcaster (ECI Support)
We have a lease line directly connected to out internet survice provider.
Both have 56k lease line modems, but can only connect at about 33.3Kbs how do we 
change this.

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


newbie: to pipe the result of a program as commandline parameter for another.

2003-11-22 Thread Zhang Weiwu
Hello. I just checkouted a big program. What I want to do is to remove 
all CVS/ folders from the hierarchy.

There might be other ways to do so (give me a hint?). What I can think 
of is to run find(1) to find out all CVS folders, and pass them as 
parameters of rm(1), but I don't know how to do so.

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


newbie: use in RE?

2003-11-22 Thread Zhang Weiwu
Hello. Just want to know how to use special character in Regular Expression.

I wish to remove all the carrier returns from a text file, I can use:
tr -d "\r" < text_file > modified_text_file
But if I do:
sed -i s/\r//g text_file
it actually removes all the character "r" from the file.
This is also a problem in vi(1). Besides  I wish to manipulate 
tabstops and line-feeds with RE too.

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


Re: Static IP and fully qualified domain names

2003-11-22 Thread Cordula's Web
> >My ISP was so nice to give me a domain name (pukruppa.net) and
> >assign it statically to an IP (213.146.114.24).
> >[So now everybody in the world can telnet pukruppa.net and crack
> >my private machine :-)  ]
> >
> >>From reading manuals one should think, that now I could give my
> >machines names like one.pukruppa.net, two.pukruppa.net, etc...
> >and all these would be reachable via internet - but they aren't.
> >The only one that can be accessed is pukruppa.net .
> 
> The short answer is that you only have a single IP address assigned, and 
> as you are not authoritative for DNS records for pukruppa.net, you are 
> unable to 'subdivide' or use any more IP addresses, which would be 
> required to add additional hostnames.

Of course, you can have the DNS admins add more host names,
but all host names would point to the same IP.

Now assume that an IP packet arrives at your host. The server
that gets this IP packet cannot determine which host name was
used. All it sees is your IP address, which is always the same.

However, a protocol that runs on top of TCP could have the
client add the host name that is required. A good example
of this is HTTP/1.1, which includes a "Host: " header.

Let's assume that a web browser selects
  http://one.pukruppa.net/
  http://two.pukruppa.net/
  [...]
and you have a web server running on your host,
which is configured with these VirtualHosts.

The web server will receive packets destined to your single
IP (213.146.114.24), but it still can switch to the
correct VirtualHost section by examining the 'Host: '
header of the HTTP protocol.

Unfortunately, very few protocols that run on top of TCP
support this. Don't expect FTP, Telnet, SSH etc... to
behave differently, depending on the host name. They just
don't see it, only the (always identical) IP address.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: Perl configuration

2003-11-22 Thread Matthew Seaman
On Sat, Nov 22, 2003 at 12:46:26PM +0300, Odhiambo Washington wrote:
> Where is the file to modify so that I can point to 5.8.2 and not 5.8.1 ?

That would be /etc/make.conf -- the PERL_VER and PERL_VERSION
variables ultimately control this behaviour.  Set these correctly in
/etc/make.conf by re-running "use.perl port".

However, the values in make.conf only have an effect at compile time,
so if you want all of your perl modules to live under
/usr/local/lib/perl5/{,site_perl/}5.8.2 then you're going to have to
reinstall all of the ports that put files into %%SITE_PERL%% as well
as installing the updated version of perl.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


LONG -> "partition data on device hda is unreadable"

2003-11-22 Thread ico
$SUBJECT is what Fedora Linux thought about my hd after install of
FreeBSD 5.1.
(freebsd)fdisk shows:
Windows on ad0s1 ,NTFS, 4G
Linux on ad0s2 ext2(actually ext3), 6G
FreeBSD  on ad0s3, 6G
extended, ads04, rest of windows 3G

First i installed windows, than linux(Fedora).
ads03 prepared for FreeBSD, created by Partition Magic, as vfat partition. 
Everything worked smoothly until i installed FreeBSD 5.1 into ad0s3. 
I've chosen not to touch MBR, do not install boot loader.
After reboot i've got the same menu i saw when install of FreeBSD
5.1  started: 7 options , daemon on the right.
My grub menu from Linux install is gone. Not a chance to boot something
else.
So i tried to install grub port and write his config into mbr. But grub
can't find (hd0). Setup of grub failed. Partition table was rewriten by
FreeBSD?
So i tried to boot into Linux, reinstall it or repair it. But you see
$subject. It could not install, because "no valid devices were found on
which to create new filesystem". Of course linux says it can be
repaired, but warning about "all data will be lost", make me nervous ;-).

So i tried to reinstal 5.1 and this time in option about bootloader i
chose FreeBSD bootloader. After install I have menu:
F1 dos
F2 linux
F3 freebsd
Looks good, but i can't boot linux. Reaction to F2 is only long beep.
At least my wife's windows are back ;-).


Could you suggest please:
- how could i cram these 3 OS's on one 20G disk and boot all of them?
- should i install freebsd under 8G and than add linux?

Maybe someone with enough time and patience could explain to me, why
i have so often problems with CHS after installing FreeBSD? ;-)
In previous installs Partition Magic 7 used to warn me about something
incorrect in my partition table always, when there was FreeBSD(sorry, i
don't have exact text of message).

Thank you very much for your time, if you are reading this line ;-)).

-- 
*ico beke*
freebsd(at)beke.info

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


Prototype system

2003-11-22 Thread Odhiambo Washington

Hi People,

I have built a FreeBSD 5.1-REL box with all the stuff I want. Now I need to
use this box as a prototype to create several other boxes. I am thinking
about how to go about this. What I'd like to achieve is a situation where
I make CD (which is a copy of this box, with all the apps) and then use
that CD to build/install other boxes, and all I have to do is a few config
changes and get a new server.
If I could mount that CD as an ISO image and just install from it that would
be great!

Any good suggestions appreciated.



-Wash


--
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+
Sturgeon's Law:
90% of everything is crud.


smime.p7s
Description: S/MIME cryptographic signature


Perl configuration

2003-11-22 Thread Odhiambo Washington

I decided that I did not want perl 5.8.1 directory hanging around on my box,
so I hosed the directories referring to it. That did not look quite suicidal
though, since I though thet everything is configurable. Now the only thing
I'd like is to change the perl configuration - I don't want any appls I run
to try including 5.8.1 in their search paths, but which file do I edit?

For example this:

beastie# apachectl graceful
httpd not running, trying to start
[Sat Nov 22 12:34:32 2003] [error] Can't locate strict.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.8.1/mach
/usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl/5.6.1 
/usr/local/lib/perl5/site_perl/5.005
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.1/BSDPAN 
/usr/local/lib/perl5/5.8.1/mach
/usr/local/lib/perl5/5.8.1 . /usr/local/ /usr/local/lib/perl) at 
/opt/rt3/bin/webmux.pl line 26.
BEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 26.

I already did 

rm -rf /usr/local/lib/perl5/5.8.1 /usr/local/lib/perl5/site_perl/5.8.1

Where is the file to modify so that I can point to 5.8.2 and not 5.8.1 ?

tia



 -Wash

--
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+
Lactomangulation, n.:
Manhandling the "open here" spout on a milk carton so badly
that one has to resort to using the "illegal" side.
-- Rich Hall, "Sniglets"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Need syntax to change the rights ......

2003-11-22 Thread Odhiambo Washington
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [20031122 10:10]: wrote:
> Hi there ,
> 
>  I have a group  "secret"  i want to  remove all the RWX  permissions for this group 
>  for
> all the folders in home directory and only keep  RWX permission for his home 
> directory .
> Can any body sujjest the syntax .


I don't get. Can you specify the directories?
A "group" cannot have a "his home" directory. A user can.
Directories can be assigned group access though and it therefore means
it's accessible by a "group", not just a single "user", no?


-Wash

--
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+
You're never too old to become younger.
-- Mae West


smime.p7s
Description: S/MIME cryptographic signature


FBSD 5.1 and 4.8 sharing the same /home (and /var) possible?

2003-11-22 Thread Stefan A. Deutscher
Hi  folks,

 I have a 5.1R install working and would like to keep a fall-back 4.8R
on my system as well. From both, I want to be able to use the same
/home, /scratch, and, possibly, /var or at least /var/mail to avoid
duplication of mail. To be nice on my disks, I also ponder sharing swap
space such that the system does not swap to its own system disk (i.e.
5.1R would swap to da0, da2 and da3, 4.8R to da0, da1 and da3) - this
seems to work. The rough disk layout is


   da0 - OS/2
 BSD Swap
   da1 - BSD 5.1R /
 BSD 5.1R swap
 BSD 5.1R /tmp
 BSD 5.1R /var
 BSD 5.1R /usr
   da2 - BSD 4.8R /
 BSD 4.8R swap
 BSD 4.8R /tmp
 BSD 4.8R /var
 BSD 4.8R /scratch
 BSD 4.8R /usr
   da3   BSD 5.1R swap
 BSD 5.1R /home   (63 GB)

Maybe I'll add another 18 or 36 GB disk for /scratch and /backup space.
Now, as per default, the 5.1R install uses ufs2 throughout, the 4.8 one
ufs1. Poking around google I am led to believe that this is not free of
potential for trouble. So, here are my questions, before shooting myself
in the foot

(a)  Is it OK to have the slices to be shared on ufs2, or will 4.8R
 wreck havoc when accessing those (or, better: just not be able to
 see them)

(b)  If ufs2 is not OK for use on both systems, are there any things to
 consider when making them ufs1? I suppose I would have to backup,
 newfs -O1, and restore the /var slice on da1, or is it advisable to
 just make /var/mail a symlink to some separate ufs1 /mail slice?

(c)  Will the background file system checks introduced with 5.x still
 work on these ufs1 slices?


Any thoughts, warings, pointers & hints are most welcome!


  Thanks in advance & cheers,
 Stefan


-- 

Stefan A. Deutscher |
Donostia International Physics Center   | office: ++34-943-018174
Universidad del Pais Vasco, Facultad de Quimica | fax   : ++34-943-015600
Departamento de Fisica de Materiales| home  : ++34-943-270647
Apartado 1072, San Sebastian 20080, Spain   | email : [EMAIL PROTECTED]


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


Re: Mozilla 1.5 on FreeBSD 4.9 problems.

2003-11-22 Thread Joe Marcus Clarke
On Sat, 2003-11-22 at 03:26, Yaron Zabary wrote:
> Hi all,
> 
>I sent this letter to freebsd-mozilla, with no lock, so I am trying
> here.
> 
>I am compiling from sources on a newly installed FreeBSD 4.9 with the
> following commmands:
> 
>   setenv GTK_CONFIG /usr/X11R6/bin/gtk12-config
>   setenv LIBIDL_CONFIG /usr/local/bin/libIDL-config-2
>   ./configure --with-pthreads --enable-crypto --disable-debug
> --disable-composer
>  --enable-plaintext-editor-only
>   gmake
>   gmake install
> 
> 
>   The compilation seems to be running OK (although I do get several
> "undefined reference to `strlen'" and the like messages which I guess
> should be harmless) and the binary fails with the following message:
> 
> tester# mozilla
> /usr/libexec/ld-elf.so.1: /usr/local/lib/mozilla-1.5/components/libeditor.so: 
> Undefined
> symbol "GetViewExternal__C8nsIFrameP14nsIPresContext"
> 
>   This is from running 'mozilla -g':
> 
> tester# mozilla -g
> /usr/local/lib/mozilla-1.5/run-mozilla.sh -g
> /usr/local/lib/mozilla-1.5/mozilla-bin
> MOZILLA_FIVE_HOME=/usr/local/lib/mozilla-1.5
> 
> LD_LIBRARY_PATH=/usr/local/lib/mozilla-1.5:/usr/local/lib/mozilla-1.5/components:/usr/local/lib/mozilla-1.5/plugins:/usr/local/lib/mre/mre-1.5
> DISPLAY=:0
> FONTCONFIG_PATH=/etc/fonts:/usr/local/lib/mozilla-1.5/res/Xft
> DYLD_LIBRARY_PATH=/usr/local/lib/mozilla-1.5:/usr/local/lib/mre/mre-1.5
> 
> LIBRARY_PATH=/usr/local/lib/mozilla-1.5:/usr/local/lib/mozilla-1.5/components:/usr/local/lib/mre/mre-1.5
>SHLIB_PATH=/usr/local/lib/mozilla-1.5:/usr/local/lib/mre/mre-1.5
>   LIBPATH=/usr/local/lib/mozilla-1.5:/usr/local/lib/mre/mre-1.5
>ADDON_PATH=/usr/local/lib/mozilla-1.5
>   MOZ_PROGRAM=/usr/local/lib/mozilla-1.5/mozilla-bin
>   MOZ_TOOLKIT=
> moz_debug=1
>  moz_debugger=
> /usr/bin/gdb /usr/local/lib/mozilla-1.5/mozilla-bin -x /tmp/mozargs56158
> GNU gdb 4.18 (FreeBSD)
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "i386-unknown-freebsd"...
> (no debugging symbols found)...
> 
>The mozilla 1.5 sources were working fine on the same machine with
> FreeBSD 4.7 and some other machine running FreeBSD 4.4.
> 
> Hints anyone ?

cd /usr/ports/www/mozilla
make install clean

Joe

> 
> -- Yaron.
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Re: tcp wrappers getaddrinfo

2003-11-22 Thread Antoine Jacoutot
Selon Lowell Gilbert <[EMAIL PROTECTED]>:
> Have you modified the rule at line 23 of /etc/hosts.allow?
> Normally, it's 
> ALL : ALL : allow
> which as far as I recall, never does any hostname lookups at all.

No, I never touched this line.
this is why I'm asking some help.
Thanks.

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


Re: About setup FreeBSD 5.1 RELEASE to Sony notebook PCG-R505GCK

2003-11-22 Thread toor
On 21 Nov 2003 09:06:31 -0500
 Lowell Gilbert <[EMAIL PROTECTED]> 
wrote:
"toor" <[EMAIL PROTECTED]> writes:

When I begin setup I see next message:
eisa0:  on motherboard
eisa0: unknown card [EMAIL PROTECTED] (0x0808) at slot 1
Fatal trap 9: general protection fault while in kernel 
mode
instruction pointer = 0x58:0x81d1
stack pointer   = 0x10:0xeb8
frame pointer   = 0x10:0xf0e
code segment= base 0xc00f, limit 0x, 
type 0x1b
 = DPL 0, pres 1, def32 0, gran 0
processor elfags= interrupt enabled, resume, IOPL = 
0
current process = 0 (swapper)
trap number = 9
panic: general protectin fault

What must I do to setup freeBSD to my notebook.
Do you need 5.1?
http://www.freebsd.org/releases/5.1R/early-adopter.html
You mean that I must install FreeBSD ver 4.9 RELEASE???
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mozilla 1.5 on FreeBSD 4.9 problems.

2003-11-22 Thread Yaron Zabary
Hi all,

   I sent this letter to freebsd-mozilla, with no lock, so I am trying
here.

   I am compiling from sources on a newly installed FreeBSD 4.9 with the
following commmands:

  setenv GTK_CONFIG /usr/X11R6/bin/gtk12-config
  setenv LIBIDL_CONFIG /usr/local/bin/libIDL-config-2
  ./configure --with-pthreads --enable-crypto --disable-debug
--disable-composer
 --enable-plaintext-editor-only
  gmake
  gmake install


  The compilation seems to be running OK (although I do get several
"undefined reference to `strlen'" and the like messages which I guess
should be harmless) and the binary fails with the following message:

tester# mozilla
/usr/libexec/ld-elf.so.1: /usr/local/lib/mozilla-1.5/components/libeditor.so: Undefined
symbol "GetViewExternal__C8nsIFrameP14nsIPresContext"

  This is from running 'mozilla -g':

tester# mozilla -g
/usr/local/lib/mozilla-1.5/run-mozilla.sh -g
/usr/local/lib/mozilla-1.5/mozilla-bin
MOZILLA_FIVE_HOME=/usr/local/lib/mozilla-1.5

LD_LIBRARY_PATH=/usr/local/lib/mozilla-1.5:/usr/local/lib/mozilla-1.5/components:/usr/local/lib/mozilla-1.5/plugins:/usr/local/lib/mre/mre-1.5
DISPLAY=:0
FONTCONFIG_PATH=/etc/fonts:/usr/local/lib/mozilla-1.5/res/Xft
DYLD_LIBRARY_PATH=/usr/local/lib/mozilla-1.5:/usr/local/lib/mre/mre-1.5

LIBRARY_PATH=/usr/local/lib/mozilla-1.5:/usr/local/lib/mozilla-1.5/components:/usr/local/lib/mre/mre-1.5
   SHLIB_PATH=/usr/local/lib/mozilla-1.5:/usr/local/lib/mre/mre-1.5
  LIBPATH=/usr/local/lib/mozilla-1.5:/usr/local/lib/mre/mre-1.5
   ADDON_PATH=/usr/local/lib/mozilla-1.5
  MOZ_PROGRAM=/usr/local/lib/mozilla-1.5/mozilla-bin
  MOZ_TOOLKIT=
moz_debug=1
 moz_debugger=
/usr/bin/gdb /usr/local/lib/mozilla-1.5/mozilla-bin -x /tmp/mozargs56158
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...

   The mozilla 1.5 sources were working fine on the same machine with
FreeBSD 4.7 and some other machine running FreeBSD 4.4.

Hints anyone ?

-- Yaron.


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


Need syntax to change the rights ......

2003-11-22 Thread shrikant
Hi there ,

 I have a group  "secret"  i want to  remove all the RWX  permissions for this group  
for
all the folders in home directory and only keep  RWX permission for his home directory 
.
Can any body sujjest the syntax .


Shri



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