Re: Backup of hd using DD. (james.cook@utoronto.ca)

2005-03-10 Thread Graham Bentley
Just a point of conversation, heres what
I usually do...
Partition the disc into C / D
Copy all the files from the Windows CD in Win98
to a folder on D, say win98.src
Install Windows from there D:\win98.src\setup.exe
Now install the rest of your software and get the
install just the way you want it.
Now all you have to do is use Norton Ghost
(its frequently bundled with new motherboards)
to make an image of C onto D.
If anything goes wrong* in the future, Ghost the
image back onto C and 4 minutes later you have a
working system just the way you created it.
You might be able to use G4U for this tasks
also?
http://www.feyrer.de/g4u/
*Not in cases of HDD failure obviously, you
could burn the image onto a CD though ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


parallel making

2005-03-10 Thread Tarc
I have small network at home (2 machines with PentiumII/64mb ram with RELENG_5).
How I can build system REALLY parallel (e.g. remote building and swapping via 
NFS)

I saw to make(1) sources and found macros REMOTE, which if defined, enables(?) 
it. How it works now and how, if works?
Does make(1) have this feature in CURRENT?
--
  Best regards,
 Tarc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Setting hostname - fake and real

2005-03-10 Thread Ben Paley
 -Original Message-

From: Mark [EMAIL PROTECTED]
Subject: RE: Setting hostname - fake and real
To: 'FreeBSD-Questions Questions' freebsd-questions@freebsd.org
 
 On Wednesday 09 March 2005 08:20, Luke Kearney wrote:
 
  Hello Ben
  Sounds like you might need some DNS magic here. I am not 
 entirely sure I
  understand why you would want to use fake dns names.
 
 I don't especially want to use a fake name, I just don't have 
 a real one to use... the machine I'm talking about is my home
 machine with dynamic IP

Why not simply add an entry to /etc/hosts? Like I do to get a
pretty name for logins from my XP machine:

192.168.0.6my-xp-machine.org

- Mark

Ok, what IP do I put? My dynamic IP in the real world (which is pretty static 
in practice), or something else? The address you've used in your example 
looks like my vmnet addresses.

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


Re: feedback on a good DNS server

2005-03-10 Thread Matthew Seaman
On Wed, Mar 09, 2005 at 02:00:50PM -0800, John Pettitt wrote:
 
 
 Paul Schmehl wrote:
 
  --On Wednesday, March 09, 2005 04:42:46 PM -0500 Ean Kingston
  [EMAIL PROTECTED] wrote:

  I belive Bind is still included with the base FreeBSD OS. I've used
  it in
  the past and never had any problems with it. As always, YMMV.

 Has had being the operative phrase - that would be bind 4 and bind 8 -
 bind 9 which is a rewrite has a pretty solid record - also in the ports
 tree.

BIND 9 is not only in the ports tree, it's the default bundled with
FreeBSD 5.x:


% dig @localhost version.bind CHAOS TXT

[...]

;; ANSWER SECTION:
version.bind.   0   CH  TXT 9.3.0

But, more to the point, running the stock BIND in a chroot jail is
completely automatic nowadays.  All you need do is put
'named_enable=YES' into /etc/rc.conf.

Performs well enough to serve typical home uses no problem.  Bind
9.3.1 is on the horizon, and I hear that the plan is to build that
threaded by default, which will improve responsiveness for more
demanding environments.

  Cheers,

  Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   8 Dane Court Manor
  School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone
Tel: +44 1304 617253  Kent, CT14 0JL UK


pgp0v8Poqj3cD.pgp
Description: PGP signature


Sysinstall: No disks found. Please verify ...

2005-03-10 Thread Robert Grzyb
Hi!
I'm trying to install FreeBSD 5.3-RELASE on Compaq Deskpro 4000 model
5166 ...
snip
+- Message -+
|No disks found!  Please verify that your disk controller is being  |
|properly probed at boot time.  See the Hardware Guide on the   |
|Documentation menu for clues on diagnosing this type of problem.   |
+---(100%)--+

Did you try with the BIOS's PLUG-N-PLAY OS set to OFF/NO?
Unfortunately, Compaq Deskpro 4000 haven't such option in their Setup.
I have no idea what to do next, but still a I do want to install FreeBSD
on this machine.
Thank you in advance,
Robert Grzyb.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: how to deal with spam for good?

2005-03-10 Thread Ted Mittelstaedt

This is bullshit, milter-greylist is in the ports.  Greylisting
does not require postfix.  Just because YOU are too lazy to
understand sendmail doesen't mean everyone else is.

Keep in mind that Greylisting isn't going to be very effective
for long if a lot of people adopt it.

We run, like most ISP's, a very busy mailserver.  If 3/4 of the
hosts we were sending mail to did this, our server would be completely
overloaded.  Every other ISP in the world of any size would be in
the same boat.  Why should we have to go spend a lot of money buying
a new mailserver that's 5 times more powerful just to handle your
goofy filter?  Long before the number of hosts greylisting got to
3/4 of the hosts on the Internet we would just reconfigure to
start returning the mails back to our customers when we got a
541 and telling the customer to contact their coorespondent and
tell the cooresponent to switch ISP's.  If only a few hosts on the
Internet are doing it, (and none of the major ISP's are right now)
then all the rest of the big ISP's (like Hotmail) will do the same
thing.

If our customer's coorespondent cannot get mails from us and from
hotmail, how long do you think he's going to put up with his ISP
running a greylist?

Long before this happened of course the spammers would mod their
software to simply start retrying more.  If you think about it, if
they are sending a million mails a minute, and the greylist delay is
5 minutes, they merely need to construct a server that stores 5
million mails for a set period and then retries.  The server never has
to store more than 5 million mails at a time.

It's just one more anti-spam filter that is utterly dependent on
nobody else on the Internet doing it.  Typical bright idea from some
tech somewhere that understands just enough of the SMTP standards to
cause a lot of trouble for people.

The only long term solution that is going to work is modding the
DNS records to designate an official SMTP server for each domain, such
a plan has been in the works for a while among the standard bodies
that know what they are doing.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Charles Swiger
 Sent: Wednesday, March 09, 2005 10:51 PM
 To: Luciano Musacchio
 Cc: freebsd-questions@freebsd.org
 Subject: Re: how to deal with spam for good?


 On Mar 9, 2005, at 10:53 PM, Luciano Musacchio wrote:
  I'm wondering, how does this mailing list doesn't get any spam? :),
  I need to set some filter on my mail server, can some one here give
  me a hint on this?

 Consider greylisting, amavisd, SpamAssassin, and a virus scanner of
 your choice.

 Greylisting needs postfix as your MTA at the moment, but is extremely
 effective for very few resources.  Perl-based scripts like amavisd and
 SA are a lot more resource-intensive, perhaps dspam or other tools
 might also be worth looking at if your mail volume is high

 --
 -Chuck

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


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


Native POSIX threads + Java under FreeBSD 5.3 release i386

2005-03-10 Thread Olaf Greve
Hi all,
As is typical, I have once again been given very limited time to get 
something running, and there are some interesting things to figure about 
about it. :)

In brief, the application is a distributed one, loosely based on some 
CORBA concepts, though differently (fortunately!). The supported 
programming languages are C/C++/Java/Ada, of which Java will probably be 
the one we would like to use.

Now, the issue is (or may be), that the recommended (and only tested) 
platforms are Solaris and Linux (particularly Red Hat and SuSe - kernel 
versions 9). The apparent reason for this, is that the platform requires 
the NPTL (Native Posix Threads Library).

I'm looking somewhat into the support for NPTL under FreeBSD 5.3 release 
i386, and I have come across the following URL:
http://www.unobvious.com/bsd/freebsd-threads.html
From this, it sounds like the LinuxThreads (i.e. 
/usr/ports/devel/linuxthreads) should do the trick.

However, I have no experience with these threads and I wonder whether it 
is a good idea to try to get the platform working under FreeBSD (my 
favourite Unix), or whether it may be better to install Red Hat or SuSe 
this once. :)

Can anyone tell me something about the following:
1) Does the linuxthreads library provide 100% NPTL support, as under Linux?
2) Does usage of the library incur a kernel recompilation, or will all 
scripts of the platform have to be changed such that the linuxthreads 
library is linked in?
3) A different question: what is the best JDK 1.4.x port to install, and 
does one of those perhaps have support for NPTL?

I hope anyone can help me out a bit with this, even if it only is about 
whether to make the best choice between figuring out how to get this 
platform going under FreeBSD (being the Unix with which most experience 
I have), or whether to try to go Linux and have a -perhaps- more 
straightforward installation of the platform (at the expense of not 
knowing the particular intricacies of those Linuxes).

Help/opinions are very much appreciated. :)
Cheers!
Olafo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hardware dongle with FreeBSD support?

2005-03-10 Thread jonas
Hi

On Wednesday 09 March 2005 15:34, cyb wrote:
  Anyone here who can recommend a dongle with decent support for FreeBSD?

 http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/077838.h
tml http://bsdnews.org/03/cryptusb.php

An ancrypted filesystem on a USB stick is nice, but the main idea of a dongle 
is to store information, that only the owner can change. (The data on it 
needs to be protected from the customer, not somebody who might steal the 
dongle.)


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


Re: Setting hostname - fake and real

2005-03-10 Thread Chris Hodgins
Ben Paley wrote:
-Original Message-

From: Mark [EMAIL PROTECTED]
Subject: RE: Setting hostname - fake and real
To: 'FreeBSD-Questions Questions' freebsd-questions@freebsd.org
 

On Wednesday 09 March 2005 08:20, Luke Kearney wrote:

Hello Ben
Sounds like you might need some DNS magic here. I am not 
entirely sure I
understand why you would want to use fake dns names.
I don't especially want to use a fake name, I just don't have 
a real one to use... the machine I'm talking about is my home
machine with dynamic IP
Why not simply add an entry to /etc/hosts? Like I do to get a
pretty name for logins from my XP machine:
192.168.0.6my-xp-machine.org
- Mark

Ok, what IP do I put? My dynamic IP in the real world (which is pretty static 
in practice), or something else? The address you've used in your example 
looks like my vmnet addresses.

Cheers,
Ben
You can simply use 127.0.0.1 in there.
127.0.0.1 localhost my-xp-machine.org
Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Recommend a Printer for FreeBSD

2005-03-10 Thread Ted Mittelstaedt

What I use:

Laser:

HP Laserjet 4+.  Incredibly cheap on the used market, Postscript simms
for these are also cheap, take off the shelf ram, toner cartridges are
also incredibly cheap off Ebay, or even from the local Office Depot which
sells refurb ones.  The things are workhorses and last forever, they only
need an input roller replacement at 10,000 copies or so, which costs
about
$100 for a decent printer repair shop, and very few on the used market
ever went this high on the page count.  The print server cards that go in
them speak LPR directly to your UNIX boxes.  They speak to every Mac
ever made if you like Apples, including the lastest OSX.  They have a
front
panel that is configurable with your fingers you don't need to run some
damn Windows
program that speaks to the printer.  Inputs include a parallel and a
serial
port in addition to the network port if you get the network card.
The 4+ will take a duplexer, and an envelop feeder, and a high capacity
paper tray.  What more could you possibly want in a laser?

Some colored printer:

Epson Stylus C8x series (C84, C82, etc.)  Use gimp-print and ghostscript
to print.  Can get full resolution to the printer.  Has a parallel port.
The C82 and C84 understand ASCII directly in addition to their epson
language
that you use to print color with.  Cheap.  Uses separate ink resivors so
when ONE color runs out you just buy a new one of that, you don't have to
chuck out the entire thing.  Ink (once it dries) is impervious to water.
Can obtain ink levels from a program with gimp-print so you don't have to
run Windows for that either.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Sergei Gnezdov
 Sent: Wednesday, March 09, 2005 10:05 PM
 To: freebsd-questions@freebsd.org
 Subject: Recommend a Printer for FreeBSD


 My printer is dead.  Can anybody recommend a good printer for FreeBSD:
 - Lazer (black/white)
 - Some colored printer

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


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


Re: Setting hostname - fake and real

2005-03-10 Thread Ben Paley
On Thursday 10 March 2005 10:03, Chris Hodgins wrote:

 You can simply use 127.0.0.1 in there.

 127.0.0.1 localhost my-xp-machine.org

I'll give that a go next!

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


Re: how to deal with spam for good?

2005-03-10 Thread Ion-Mihai Tetcu
On Thu, 10 Mar 2005 00:53:58 -0300
Luciano Musacchio [EMAIL PROTECTED] wrote:

 Hi,
 I'm wondering, how does this mailing list doesn't get any spam? :),
 I need to set some filter on my mail server, can some one here give
 me a hint on this?

mail/dspampd and mail/dspam-devel

As for the lists, our postmaster has some nice header_checks (possibly
body_checks also) and uses a few RBLs.


-- 
IOnut
Unregistered ;) FreeBSD user


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


Re: how to deal with spam for good?

2005-03-10 Thread Charles Swiger
On Mar 10, 2005, at 4:49 AM, Ted Mittelstaedt wrote:
This is bullshit, milter-greylist is in the ports.  Greylisting
does not require postfix.  Just because YOU are too lazy to
understand sendmail doesen't mean everyone else is.
I've paid my dues to sendmail:
http://groups-beta.google.com/groups? 
as_ugroup=comp.mail.sendmailas_uauthors=Chuck+Swiger

...shows about 900 postings from me.  As of sendmail-8.11, and even  
early 8.12's perhaps, greylisting via sendmail wasn't possible because  
the MILTER API didn't support it.  If the situation has been improved  
and you can greylist with sendmail now, that's fine.

What isn't fine is your attitude: FOAD.
Keep in mind that Greylisting isn't going to be very effective
for long if a lot of people adopt it.
Your opinion differs.
If our customer's coorespondent cannot get mails from us and from
hotmail, how long do you think he's going to put up with his ISP
running a greylist?
If a customer isn't happy with you, they'll take their business  
elsewhere.
Lord knows I wouldn't blame them, either.

Long before this happened of course the spammers would mod their
software to simply start retrying more.  If you think about it, if
they are sending a million mails a minute, and the greylist delay is
5 minutes, they merely need to construct a server that stores 5
million mails for a set period and then retries.  The server never has
to store more than 5 million mails at a time.
Let them retry more.  There is more than one way to deal with UCE, and  
shifting the burden to the spammers, making them consume lots of time  
for minimal resources is amoung those ways.

It's just one more anti-spam filter that is utterly dependent on
nobody else on the Internet doing it.  Typical bright idea from some
tech somewhere that understands just enough of the SMTP standards to
cause a lot of trouble for people.
Someone whose SMTP engine is unwilling to retry delivering email after  
the first response is refused with a 4xx code is the one failing to  
understand RFC-822/2822.  Real mailers retry at a recommended 1 hour  
interval for a recommended maximum queue length of 5 days, per RFC.   
Once you've whitelisted your clients and covered 95+% of incoming mail,  
up your greylisting time from 5 to say, 59 minutes, works wonders.

The only long term solution that is going to work is modding the
DNS records to designate an official SMTP server for each domain, such
a plan has been in the works for a while among the standard bodies
that know what they are doing.
SPF is another way of dealing with UCE.
It's not hard to find people who have implemented SPF in their DNS,  
either.
I haven't seen it do much good as yet...

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


Re: how to deal with spam for good?

2005-03-10 Thread Michael W. Oliver
On 2005-03-10T01:49:20-0800, Ted Mittelstaedt wrote:

[snip caustic commentary]
[snip real-life facts]

 The only long term solution that is going to work is modding the
 DNS records to designate an official SMTP server for each domain, such
 a plan has been in the works for a while among the standard bodies
 that know what they are doing.
 
 Ted

While not all-encompassing, I found the following site to be very
useful, not just for finding problems with my own domains, but finding
out why my draconian Postfix config would reject email from some
friends (check the NANOG archives for Verizon's retarded SMTP tactics).

http://www.dnsreport.com/

That site also turned me onto SPF[1] records in DNS, which I think is
what Ted is talking about (or something similar).  If not, I am sure
that he will correct me.

[1] http://spf.pobox.com/

-- 
Mike Oliver
[see complete headers for contact information]


pgpcwqBS2wdrK.pgp
Description: PGP signature


RE: t1000e tape drive

2005-03-10 Thread Ted Mittelstaedt

HP stopped supporting this drive after Windows 98, see here:

http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=lp
g15246locale=en_US

What you have is basically a floppy controller tape drive.  If you
have a parallel port one then you have a floppy controller tape
drive inside a case that has an interface card that on one side speaks
parallel port and the other side speaks floppy port.  Nothing like
this was ever supported in FreeBSD.

Years ago FreeBSD did have a floppy port tape drive driver.  I only
got it to work once on a 486/33.  (I should have kept the machine
as it was so rare to find one that worked)  If you extracted your tape
drive from it's case and plugged it into the floppy controller you
might be able to load up a really old FreeBSD version and get it
running.  But this driver was removed from FreeBSD right around the
time that HP stopped supporting your drive.

This is why these tape drives are so cheap.  If you really want to
mess with a Travan tape drive under FreeBSD then find a used SCSI
one like the following:

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemcategory=39979item=5171718
413rd=1

But I would recommend against this for an experimenter - instead find
a DDS3 12/24GB 4mm DAT drive off Ebay that hasn't been beat up too bad.
The media is cheap and these are pretty compatible with everything.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED]
 Sent: Wednesday, March 09, 2005 7:30 PM
 To: freebsd-questions@freebsd.org
 Subject: t1000e tape drive


 I just purchased a t1000e paralel port tape backup drive and
 cannot find
 any info on how to make it work on freebsd 4.10 stable.

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


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


RE: how to deal with spam for good?

2005-03-10 Thread Dave Horsfall
On Thu, 10 Mar 2005, Ted Mittelstaedt wrote:

 The only long term solution that is going to work is modding the
 DNS records to designate an official SMTP server for each domain, such
 a plan has been in the works for a while among the standard bodies
 that know what they are doing.

Which, of course, will do nothing to stop spam, but only forgeries.  This 
issue has been dealt with many times upon the anti-spam lists.

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


Re: in-kernel pppoe ?

2005-03-10 Thread Emanuel Strobl
Am Mittwoch, 9. März 2005 17:32 schrieb J.D. Bronson:
 Does 5.4PRE offer in-kernel pppoe to use to connect to my DSL ISP (pppoe)?

Yes, you can use kernelmode PPP 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html)
or netgraph (man 4 netgraph). For netgraph you need mpd from the ports to 
control it.

-Harry

 I have userland pppoe configured and running and was wondering if
 anyone has this working and opinions...

 Thanks :)


pgpGUpx6uXEdE.pgp
Description: PGP signature


Re: Qmail / FreeBSD / vqadmin problem

2005-03-10 Thread Peter Risdon
On Thu, 2005-03-10 at 00:12 -0500, Madhusudan Singh wrote:
 Hi
 
 I am new to both FreeBSD and qmail. However, I am definitely not new to 
 unix/linux (2 years of HP-UX and 7 years of Linux experience). I am using a 
 pf firewall on a machine that will host a webserver as well as my mailserver.
 
 I am interested in setting up IMAP access to email for my users (do not care 
 for POP3 access). However, I found installation instructions on 
 qmailrocks.org and followed them to the letter (note to the author 
 - /usr/home/vpopmail does not exist - I had to create it by hand - maybe the 
 first shell script on step 2 needs some editing ?), until I installed vqadmin 
 and setup the passwd and placed .htpasswd in /usr/local/www/cgi-bin, 
 restarted apache (built from ports), and tried to login through the cgi 
 interface from another machine. Ports www, 8080 and https are open 
 in /etc/pf.conf. But I keep getting Waiting for FQDN and never can 
 authenticate with the right password.

A couple of possibilities.

The default installation of vpopmail puts the vpopmail directory
in /usr/local and if you want to use /usr/home you have to supply the
correct argument to vpopmail when you build it.
From /usr/ports/mail/vpopmail/Makefile:

[...]
# User-configurable variables
#
# Define these to change from the default behaviour
#
[...]
# PREFIX- installation area for vpopmail (see comment below)
[...]
# Uncomment this, or set PREFIX to /home if you have an existing
# vpopmail install with the vpopmail users' home directory set to
# /home/vpopmail - package rules dictate we default
to /usr/local/vpopmail
#
#PREFIX?=   /home

Note that this will, in my experience, create some odd directory trees
in /usr/home (such as /usr/home/lib and /usr/home/libexec) which can
safely be deleted subsequently. I don't use vqadmin, but this would need
to know where to find the vpopmail binaries, and I can't see any make
options that might define this, so that might be a major stumbling
block. A possible cause of the behaviour you report would be that
vqadmin is trying to run vpopmail binaries with inappropriate paths, or
to read directory structures in the wrong place.

One workaround, if your real vpopmail directory is in /usr/local and you
do need it to be in /usr/home is to symlink /usr/local/vpopmail
to /usr/home/vpopmail.

Incidentally, the FreeBSD installation of qmail recommends
using /var/service and much of the qmail documentation assumes the
existence of /service. My own approach to this is to use /var/service
but then symlink it to /service so that anything that assumes the
existence of this directory will work.

However, neither vpopmail not vqadmin would give you an imap server, and
you don't say whether you have installed one separately. You do need to
and a commonly used option in this case would be courier-imap because
it's written by the same folk who brought us vpopmail, and integrates
well with this and qmail. It isn't the only choice, of course, and
you're generally best advised to use something you're familiar with.

 
 The question is :
 
 What am I possibly doing wrong ? A port that is not open, or is it some other 
 problem that a FreeBSD / Qmail newbie might have missed ?

It's generally best to use default installation locations with ports,
especially when you're installing a few that will work with each other.

Then, before testing a cgi interface like vqadmin, make sure everything
works. Test qmail, (telnet) test imap, test vpopmail with a domain and a
user or two on the command line. If these things aren't working
properly, then vqadmin won't either.

www.lifewithqmail.org is probably the most authoritative site to use as
a reference, together with inter7's website and http://cr.yp.to for some
perhaps slightly terse but very good initial docs.

If you need more help, maybe say whether you have installed an imap
server, and whether the underlying technologies - qmail, vpopmail, imap
- are working.

Peter.

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


Strange load averages on 5.3-STABLE

2005-03-10 Thread Giovanni P. Tirloni
Hi,
 This is the output of top:
last pid: 771; load averages: 176.65, 770.13, 926.55 up 0+00:03:13  08:11:07
48 processes:  1 running, 47 sleeping
CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Mem: 40M Active, 63M Inact, 45M Wired, 16K Cache, 35M Buf, 99M Free
Swap: 487M Total, 487M Free
  PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
  622 mysql 200 58104K 28040K kserel   0:01  0.64%  0.63% mysqld
  587 root  960 16888K 10592K select   0:00  0.00%  0.00% httpd
  652 root  960  6252K  4536K select   0:00  0.00%  0.00% snmpd
[...]
 Strange uh ? The system seems normal besides that. I only saw that 
because sendmail stopped aceppting connections because of the high load.

 FreeBSD 5.3-STABLE #6: Mon Feb 14 09:32:36 BRST 2005
--
Giovanni
PS.: Please CC: me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPv6 setup script ... doesn't work!!

2005-03-10 Thread Fafa Diliha Romanova

Mario,

Thank you! I am beyond appreciation and respect to you!
I feel I also learned a lot about shell scripting while doing this.
You are truly a kind soul for letting your experience influence
my life, man. Again, thank you.

1) How would this setup look in rc.conf?
   Since FreeBSD 5 is all about centralizing, they say,
   I'd appreciate being able to move all my vital configuration
   into one place.

2) Does this code look OK now then?

case $1 in

  start)
 ifconfig gif create
 ifconfig gif0 inet 213.187.181.70 213.121.24.85
 ifconfig gif0 inet6 2001:618:400::d5bb:b546 prefixlen 128
 route add -inet6 default 'fe80::%gif0'
 ifconfig lnc0 inet6 2001:618:400:6ad9:: prefixlen 64
 sysctl -w net.inet6.ip6.forwarding=1
 /usr/sbin/rtadvd lnc0
 if [ $? = 0 ]; then
echo IPv6 activated.
 else
echo IPv6 activation failed. 12
exit 1
 fi
 ;;

  stop)
 killall -m rtadvd
 sysctl -w net.inet6.ip6.forwarding=0
 ifconfig fxp0 inet6 2001:618:400:6ad9:: prefixlen 64 delete
 route delete -inet6 default fe80::%gif0
 ifconfig gif0 inet6 2001:618:400::d5bb:b546 prefixlen 128 delete
 ifconfig gif0 delete
 if [ $? = 0 ]; then
echo IPv6 deactivated.
 else
echo IPv6 deactivation failed 12
exit 1
 fi
 ;;

  restart)
 $0 stop
 echo Pausing 5 seconds before restart ...
 sleep 5
 $0 start
 ;;

  *)
  echo Usage: `basename $0` {start|stop|restart} 12
  exit 1

esac
exit 0

3) By the way, are you up for hire?

All the best,
-- Fafa

- Original Message -
From: Mario Hoerich [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: IPv6 setup script ... doesn't work!!
Date: Thu, 10 Mar 2005 02:02:21 +0100

 
 # Fafa Diliha Romanova:
  # ifconfig gif create
 
 Try uncommenting this (by removing the '#').
 
   gifconfig gif0 inet 213.187.181.70 213.121.24.85
 
 Looks like a typo, this is probably just ifconfig.
 
 
   route add -inet6 default fe80::%gif0
 
 The shell will mangle this.  Quote it, like 'fe80::%gif0'.
 
 
   ifconfig fxp0 inet6 2001:618:400:6ad9:: prefixlen 64
 
 Replace every occurence of fxp0 with your ethernet NIC (i.e. xl0).
 
 
   sysctl ?w net.inet6.ip6.forwarding=1
^^
 Another typo, this is supposed to be -w.
 
 
   echo IPv6 activation complete! ||
   { echo IPv6 activation failed! 12; exit 1; }
   ;;
 
 Eh? So if echo on stdout fails, we're moving to stderr?
 What am I missing here?
 
 I'd guess the actual intent was more like
 
  /usr/sbin/rtadvd fxp0
  if [ $? = 0 ]; then
  echo IPv6 activated.
  else
  echo IPv6 activation failed. 12
  exit 1
  fi
 
 
   gifconfig gif0 delete
   echo IPv6 deactivation complete! ||
   { echo IPv6 deactivation failed! 12; exit 1; }
   ;;
 
 More junk code.
 
 
echo Usage: $0 {start|stop|restart}
 
  echo Usage: `basename $0` {start|stop|restart}  12
 
 
  Where did I go wrong?
 
 You didn't.  The script is rotten.
 
 Regards,
 Mario

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: How to identify xterm font

2005-03-10 Thread Matthias Buelow
Sergei Gnezdov wrote:
I like the size of the xterm window.  It is small and it uses very
easy to read font.  Unfortunately, it does not play very well with
emacs.  For these reasons I use Gnome terminal.  Gnome font is bigger,
thus it takes more space on the screen.  How do I identify which font
is used by xterm, so I can apply it for gnome terminal?
Gnome terminal uses Xft, so I'd say you'd first have to mess with 
fontconfig and alias your xterm core font to an appropriate Xft font.

I also would like to know why my ~/.Xdefaults configuration is not
applied in Gnome.  It worked just fine in KDE and most other
environments.
try ln -s .Xdefaults .Xresources
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: how to deal with spam for good?

2005-03-10 Thread Ted Mittelstaedt


 -Original Message-
 From: Charles Swiger [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 10, 2005 2:17 AM
 To: Ted Mittelstaedt
 Cc: freebsd-questions@freebsd.org Questions list
 Subject: Re: how to deal with spam for good?


 On Mar 10, 2005, at 4:49 AM, Ted Mittelstaedt wrote:
  This is bullshit, milter-greylist is in the ports.  Greylisting
  does not require postfix.  Just because YOU are too lazy to
  understand sendmail doesen't mean everyone else is.

 I've paid my dues to sendmail:

 http://groups-beta.google.com/groups?
 as_ugroup=comp.mail.sendmailas_uauthors=Chuck+Swiger

 ...shows about 900 postings from me.  As of sendmail-8.11, and even
 early 8.12's perhaps, greylisting via sendmail wasn't possible
 because
 the MILTER API didn't support it.

FreeBSD 4.EIGHT came with Sendmail 8.12.8 out of the box.  OK, so now
your not too lazy to understand Sendmail, you just have a gigantic
chip on your shoulder against it so your going to ignore the most
popular MTA on the planet and pretend it doesen't exist.

Fine, just don't contaminate anyone else particularly a newbie.

 If the situation has been improved
 and you can greylist with sendmail now, that's fine.


Not a question of -if-.

 What isn't fine is your attitude: FOAD.


I FOAD any technical idea that the cure is as bad or worse than the
disease.

Spammers waste everyone else's network resources for their own gain.

A greylist on a mailserver, particularly a busy one, causes an enormous
waste of bandwidth because every legitimate mailserver that is sending
to you has to re-initiate the connection to you - meaning they have to
send
the same handshake packets all over again that you had properly received
in
the beginning.

If you have a small mailserver that processes few mails you might argue
that this is of no consequence to the rest of the world and be correct.

But if you have a large mailserver, the amount of bandwidth
chewed up on the Internet by this kind of a trick, espically if everyone
in
the world does it, you can perhaps see that greylisting is nothing more
than
a scheme to waste other people's resources and bandwidth for your own
personal
gain.  The differences between spammers and greylisters is very thin
indeed.

  Keep in mind that Greylisting isn't going to be very effective
  for long if a lot of people adopt it.

 Your opinion differs.


Yup, and since my opinion is based on logic, and yours (apparently)
is based on emotion, your opinion is worthless and mine is valuable.

That's the case until you start substantiating your opinion with some
logical explanations of how Greylisting is going to scale to the entire
Internet.

Remember, unless everyone on the Internet can run a greylist, it
is nothing more than an elitist solution that works for a few people
at everyone else's expense.

  If our customer's coorespondent cannot get mails from us and from
  hotmail, how long do you think he's going to put up with his ISP
  running a greylist?

 If a customer isn't happy with you, they'll take their business
 elsewhere.
 Lord knows I wouldn't blame them, either.


Are you being deliberately dense?  I'm not talking about OUR customer I'm
talking about the coorespondent of our customer and his relationship
with his ISP.

On the Internet there are a handful of ISPs or ASPs or
whatever you call them who send out _enormous_ numbers of _legitimate_
mail.  AOL, is one, Hotmail is another, MSN is another.

Long, long before greylisting starts wasting too much of our bandwidth it
will be wasting huge amounts of bandwidth of these companies.  They are
not going to want that, and they are going to retaliate.  And the easiest
way of retaliating is when they identify a greylisting mailserver, to
just stop even attempting to send mail to it.

Particularly hotmail, which has NOTHING WHATSOVER to lose since they give
out e-mail accouts FOR FREE.   Do you think that Hotmail gives a shit if
some puffed up crumb announces to them that they are pulling their
e-mail account out of Hotmail and finding another ISP because Hotmail has
stopped delivering mail to greylisters?  Of course not.

And in the meantime the other 99% of hotmail subscribers that cannot send
mail to the greylister - well they are too stupid to understand what good
e-mail is (otherwise why do you think they have hotmail accounts to begin
with)
and they will simply swallow it when Hotmail blames the greylisters
mailserver,
they will then complain to their coorespondent who is using the
greylister,
and that coorespondent even if he loves his ISP's greylisting mailserver,
if
he wants to keep getting mail from the moron hotmail users, he's going to
tell his ISP to knock it off with the greylisting.

I an sorry you don't seem to understand this.  It is possibly all because
it is
part of what is called SCALABILITY in networking.  Greylisting is NOT
scalable.  It ONLY WORKS if a few people running very low volume
mailservers
do it.  It will fall apart if a lot of people try 

/usr/local/etc/rc.d scripts: echo on startup

2005-03-10 Thread Fafa Diliha Romanova
hello.

i'm just wondering how to deal with the way the rc.d scripts echo on startup.
like, some of the rc.d scripts contain the echo  daemon, while some echo 
daemon,
so on startup whereas it should look like:

daemon daemon deamon

it may look like:

daemondaemon daemon 1.2 Loaded successfully!daemon

is there a uniform way to identify echos and make them display properly?
thanks!

all the best,
fafa

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: how to deal with spam for good?

2005-03-10 Thread Dmitry Kozhevnikov
LM Hi,
LM I'm wondering, how does this mailing list doesn't get any spam? :),
LM I need to set some filter on my mail server, can some one here give
LM me a hint on this?

LM thanks

Spamers are too lazy to subscribe freebsd-questions, so they can't post here :)

-- 
WBR,
 Dmitry Kozhevnikovmailto:[EMAIL PROTECTED]


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


RE: how to deal with spam for good?

2005-03-10 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Dave Horsfall
 Sent: Thursday, March 10, 2005 2:42 AM
 To: freebsd-questions@freebsd.org
 Subject: RE: how to deal with spam for good?


 On Thu, 10 Mar 2005, Ted Mittelstaedt wrote:

  The only long term solution that is going to work is modding the
  DNS records to designate an official SMTP server for each
 domain, such
  a plan has been in the works for a while among the standard bodies
  that know what they are doing.

 Which, of course, will do nothing to stop spam, but only
 forgeries.  This
 issue has been dealt with many times upon the anti-spam lists.


Correct, however when I go to the police to report criminal spamming
activity, it gets a lot better response when I can tell them who
is doing it. :-)

Don't be impatient.  There are a lot of pieces that still have to be
placed before the spam is going to start dropping.  We aren't going to
see much change until at least 2010 because by then most of the Windows
XP desktop systems will be flushed out of the network, and replaced with
the next version of Windows which will be much harder to find holes in.

I don't have a lot of respect for Microsoft but I will say that once
they get moving in a general direction, they are like the Borg they don't
stop until everything has been assimilated.  Microsoft only gave lip
service
to computer security until just a couple years ago, but they are finally
moving in that direction, and they are not going to stop for a long time
yet.

Once you see most of the desktops on the Internet behind firewalls and
translators, and being forceably updated with security patches, without
the consent or even knowledge of their owners, a lot of this hit and run
spamming is going to die down.  That will flush out the amateur spammers
that operate out of their garages and make a few extra bucks at it, and
push a lot of the spam to the professionals, who will get a lot richer
and thus make far more attractive targets to the collection of state DA's
who's job it is to go after them.  And the more agressive those people
get
the more the large networks are going to be encouraged to be nasty also.

Red China is pretty successful at filtering stuff that goes into that
country, they are proof that the technology exists to clamp down on
offshore spammers.  It is merely a political problem of generating the
necessary will among the ISP's and their customers to deploy that
technology in the US, but that will is slowly being developed.  It would
have happened sooner but for the pioneer wild west mythos attached to
the
Internet in the US, just because it started here, and it's taken a
long time to stamp that out.

Also don't forget too that the war on drugs would be pointless if they
didn't arrest the people buying the stuff as well as the people selling
the stuff.  So far the lawmakers have focused on the spammers selling
the spam, but what isn't discussed is that spam wouldn't happen if people
wern't buying the stuff spammers are pushing.  It's not out of the realm
of possibility to make it illegal to buy products from a spammer, and
a few high profile prosecutions of purchasers would do wonders to reduce
the
revenue stream that feeds spammers, don't you think?

I better stop now before you think I'm a total devil. :-)  But seriously
the
problems with spam are growing to be more of a
political/economic/criminal nature
than a technical nature.  Solutions are going to have to come from the
governments,
not from the techs.  And they will unfortunately be solutions that are
not as
clean as ones the technical community will want to use, but they will be
more
effective, in the same way a club is more effective at opening a door
than
a lockpick is.

Ted

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


Re: how to deal with spam for good?

2005-03-10 Thread Charles Swiger
On Mar 10, 2005, at 6:44 AM, Ted Mittelstaedt wrote:
FreeBSD 4.EIGHT came with Sendmail 8.12.8 out of the box.  OK, so now
your not too lazy to understand Sendmail, you just have a gigantic
chip on your shoulder against it so your going to ignore the most
popular MTA on the planet and pretend it doesen't exist.
Dude, half my mailservers are running sendmail.  Sendmail's fine.
As for chips on the shoulder: pot, kettle, black.
Fine, just don't contaminate anyone else particularly a newbie.
When was the last time someone thanked you for diatribes like these, 
Ted?  You're wasting more time than just mine with this drivel, and 
frankly, your rabid personal attacks say more about you then they do 
about me.

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


Re: Strange load averages on 5.3-STABLE

2005-03-10 Thread Michael Ross
On Thu, 10 Mar 2005 08:13:53 -0300
Giovanni P. Tirloni [EMAIL PROTECTED] wrote:

 Hi,
 
   This is the output of top:
 
 last pid: 771; load averages: 176.65, 770.13, 926.55 up 0+00:03:13  08:11:07
 48 processes:  1 running, 47 sleeping
 CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
 Mem: 40M Active, 63M Inact, 45M Wired, 16K Cache, 35M Buf, 99M Free
 Swap: 487M Total, 487M Free
 
PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
622 mysql 200 58104K 28040K kserel   0:01  0.64%  0.63% mysqld
587 root  960 16888K 10592K select   0:00  0.00%  0.00% httpd
652 root  960  6252K  4536K select   0:00  0.00%  0.00% snmpd
 [...]
 

Your may have compiled kernel and userland from different sources.
 and programs like ps(1) and top(1) will fail to work until the kernel and 
source code versions are the same. from the handbook is what comes to my mind.

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


Re: Recommend a Printer for FreeBSD

2005-03-10 Thread Mike Jeays
On Thu, 2005-03-10 at 01:04, Sergei Gnezdov wrote:
 My printer is dead.  Can anybody recommend a good printer for FreeBSD:
 - Lazer (black/white)
 - Some colored printer
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Look at www.linuxprinting.org.  Anything that is claimed to work
perfectly will probably work well with FreeBSD - go for ones with
commonly-used drivers.  In general, HP and Epson printers usually work;
Canon and Lexmark are more problematic.


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


ng_netlow and mpd

2005-03-10 Thread Alexandr Lookoshkoff
Hello Freebsd-questions,

  I have ip statistics collector based on ng_netflow.
  It was working on old server, but now (server was reinstalled due to
  HDD failure).

  But now it is working with ethernet interfaces and not working with
  pptp (mpd).

  All configs and kernel was restored from backup.

  Is there any ideas?

-- 
Best regards,
 Alexandr  mailto:[EMAIL PROTECTED]

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


Re: /usr/local/etc/rc.d scripts: echo on startup

2005-03-10 Thread Giorgos Keramidas
On 2005-03-10 06:45, Fafa Diliha Romanova [EMAIL PROTECTED] wrote:
 hello.

 i'm just wondering how to deal with the way the rc.d scripts echo on startup.
 like, some of the rc.d scripts contain the echo  daemon, while some echo 
 daemon,
 so on startup whereas it should look like:

 daemon daemon deamon

 it may look like:

 daemondaemon daemon 1.2 Loaded successfully!daemon

 is there a uniform way to identify echos and make them display properly?
 thanks!

I usually edit the offending scripts in /usr/local/etc/rc.d:

# cd /usr/local/etc/rc.d
# vi *

and make them all use a uniform notification:

echo -n  foo

This does require a bit of shell scripting foo, but it shouldn't be
that hard.  If it proves more difficult than you expected, feel free
to post the script here or personally to me and ask for help.

- Giorgos

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


Re: /usr/local/etc/rc.d scripts: echo on startup

2005-03-10 Thread Mike Hauber
On Thursday 10 March 2005 06:45 am, Fafa Diliha Romanova wrote:
 hello.

 i'm just wondering how to deal with the way the rc.d scripts
 echo on startup. like, some of the rc.d scripts contain the
 echo  daemon, while some echo daemon, so on startup whereas
 it should look like:

 daemon daemon deamon

 it may look like:

 daemondaemon daemon 1.2 Loaded successfully!daemon

 is there a uniform way to identify echos and make them display
 properly? thanks!

 all the best,
 fafa

You could edit rc.d remove the spaces and replace them with . so 
it would make it look like:
daemon.daemon.daemon.daemon.

You could also edit the echo strings so that the spaces are at the 
beginning/end for all of them...  Either way, the output would 
essentially be the same:
daemon deamon daemon 
 daemon deamon daemon

man echo?

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


Re: Hardware dongle with FreeBSD support?

2005-03-10 Thread jonas
On Wednesday 09 March 2005 18:50, Anthony Atkielski wrote:
  Anyone here who can recommend a dongle with decent support for FreeBSD?

 See http://www.safenet-inc.com. They make dongles and (USB) hardware
 keys for software products and they mention support for Linux and OS X,
 so they may have something.

Great! Those guys seem to have drivers for FreeBSD 5.0+ for programming their 
USB dongles.

Thanks Anthony

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


Re: how to deal with spam for good?

2005-03-10 Thread Bart Silverstrim
On Mar 9, 2005, at 11:54 PM, Mike Hauber wrote:
On Wednesday 09 March 2005 10:53 pm, Luciano Musacchio wrote:
Hi,
I'm wondering, how does this mailing list doesn't get any spam?
:), I need to set some filter on my mail server, can some one
here give me a hint on this?
thanks
heh...  I'm working on that right now, actually...  :)
There are so many options and combinations out there, it wouldn't
be worth it to list them.
From my experience (somewhat limited)...  If you're running
sendmail on FreeBSD, then SpamAssassin and clamav running thorugh
MIMEDefang is probably the best way to go (MIMEDegang is pretty
cool and it simplifies the whole process...  and it supports a
lot of other stuff too)
At the moment we're running FreeBSD 4.x with postfix, clamav, and 
spamassassin via amavisd-new; after processing the message is injected 
into another postfix queue where it's forwarded to an internal mail 
server.  Is there an easy way to plug mimedefang into that kind of 
setup?  Is there a nice howto on the subject?

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


ipfw tango

2005-03-10 Thread Andrei Faust Tanasescu
Hello, 

I have a legacy application that makes a direct connection to a
hardcoded IP address and port. I need this connection to be made
instead transparently through a SSH tunnel. For this to work, I need
to tell the kernel to forward all packets destined to myserver:myport
instead go to localhost:mySshTunnelPort.

So far so good. The tunnel works correctly yet I can't rewrite those
packets to go through the tunnel. Here's the rule

sudo ipfw add fwd localhost, tcp from any to 12.129.232.116 3724 

All goes well, the rule is added, it's even hit, but it fails to work.
To make matters even more confusing, I've tried to forward ports only
on localhost i.e. a telnet on localhost 555 gets transparently
rewritten to localhost 333. Again, the rule is hit since the counter
is incremented in ipfw show, yet the connection is NEVER completed.

Any ideas?

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


Re: Strange load averages on 5.3-STABLE

2005-03-10 Thread David Fleck
On Thu, 10 Mar 2005, Michael Ross wrote:
last pid: 771; load averages: 176.65, 770.13, 926.55 up 0+00:03:13  08:11:07
Your may have compiled kernel and userland from different sources.
 and programs like ps(1) and top(1) will fail to work until the kernel and source 
code versions are the same. from the handbook is what comes to my mind.
I've also seen ridiculously-high load numbers when NFS-mounted filesystems 
are inaccessible.  Usually that degrades system performance, though.

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


installworld fails (5.4-PRE)

2005-03-10 Thread J.D. Bronson
I cvsup'd to 5.4-PRE and built world. (I was already in 5.4-PRE)..
I have never had any issues until today
World and kernel built fine. I follow the same steps as always
but this time I have a twist:
# make installkernel - that works fine
# make installworld
...
...
...
cd: can't cd to /usr/include/dev/acpica
*** Error code 2
Stop in /usr/src/include.
*** Error code 1
Humm...
shadow# cd /usr/include/dev
shadow# ls -al
total 38
drwxr-xr-x  14 root  wheel   512 Mar  9 20:37 .
drwxr-xr-x  46 root  wheel  4608 Mar  9 20:37 ..
-r--r--r--   1 root  wheel  4210 Mar  2 17:00 acpica
drwxr-xr-x   2 root  wheel   512 Feb 28 16:04 an
drwxr-xr-x   2 root  wheel   512 Feb 28 16:04 bktr
drwxr-xr-x   2 root  wheel   512 Feb 28 16:04 firewire
drwxr-xr-x   2 root  wheel   512 Feb 28 16:04 ic
drwxr-xr-x   2 root  wheel   512 Mar  9 20:37 ieee488
drwxr-xr-x   2 root  wheel   512 Feb 27 20:09 iicbus
drwxr-xr-x   2 root  wheel   512 Feb 28 16:04 ofw
drwxr-xr-x   2 root  wheel   512 Feb 28 16:04 ppbus
drwxr-xr-x   2 root  wheel   512 Feb 27 20:09 smbus
drwxr-xr-x   2 root  wheel  1024 Mar  2 17:00 usb
drwxr-xr-x   2 root  wheel   512 Feb 28 16:04 utopia
drwxr-xr-x   2 root  wheel   512 Feb 28 16:04 wi
Well...why is it trying to cd into a directory
that does not exist?
and how do I fix this?
Thanks :)

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange load averages on 5.3-STABLE

2005-03-10 Thread Giovanni P. Tirloni
David Fleck wrote:
On Thu, 10 Mar 2005, Michael Ross wrote:
last pid: 771; load averages: 176.65, 770.13, 926.55 up 0+00:03:13  
08:11:07

Your may have compiled kernel and userland from different sources.
 and programs like ps(1) and top(1) will fail to work until the 
kernel and source code versions are the same. from the handbook is 
what comes to my mind.
 I've compiled from the same source.
I've also seen ridiculously-high load numbers when NFS-mounted 
filesystems are inaccessible.  Usually that degrades system performance, 
though.
 It's strange because everything is working fine and I don't use NFS on 
it. For example, the load hits 900 and suddenly it's 3.

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


Re: Recommend a Printer for FreeBSD

2005-03-10 Thread Ramiro Aceves
Epson Stylus C8x series (C84, C82, etc.)  Use gimp-print and ghostscript
to print.  Can get full resolution to the printer.  Has a parallel port.
The C82 and C84 understand ASCII directly in addition to their epson
language
that you use to print color with.  Cheap.  Uses separate ink resivors so
when ONE color runs out you just buy a new one of that, you don't have to
chuck out the entire thing.  Ink (once it dries) is impervious to water.
Can obtain ink levels from a program with gimp-print so you don't have to
run Windows for that either.
Yes, just to confirm that I have a C84 and I am very happy with it. 
Works fine on FreeBSD 5.3.

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


Re: installworld fails (5.4-PRE)

2005-03-10 Thread Pietro Cerutti
On Thu, 10 Mar 2005 07:27:05 -0600, J.D. Bronson [EMAIL PROTECTED] wrote:
 
 cd: can't cd to /usr/include/dev/acpica
 *** Error code 2
 
 shadow# cd /usr/include/dev
 shadow# ls -al
 -r--r--r--   1 root  wheel  4210 Mar  2 17:00 acpica

 
 and how do I fix this?

The problem here is that the acpica folder is not executable (you can
not cd into it). chmod 755 acpica should solve it.

 
 Thanks :)
 
 --
 J.D. Bronson


-- 
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Stickers

2005-03-10 Thread Antonio Barella
  I would like to know where I can buy FreeBSD stickers.  Please let me
  know, thank you.
  Respectfully,
  Tracy Antonio Barella
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installworld fails (5.4-PRE)

2005-03-10 Thread J.D. Bronson
At 07:48 AM 03/10/2005, Pietro Cerutti wrote:
 shadow# cd /usr/include/dev
 shadow# ls -al
 -r--r--r--   1 root  wheel  4210 Mar  2 17:00 acpica

 and how do I fix this?
The problem here is that the acpica folder is not executable (you can
not cd into it). chmod 755 acpica should solve it.

 Thanks :)

drwxr-xr-x  14 root  wheel   512 Mar  9 20:37 .
drwxr-xr-x  46 root  wheel  4608 Mar  9 20:37 ..
-r--r--r--   1 root  wheel  4210 Mar  2 17:00 acpica
But acpica is -not- a directory ???



--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Stickers

2005-03-10 Thread Michael L. Hostbaek
Antonio Barella (tbar628) writes:
 
   I would like to know where I can buy FreeBSD stickers.  Please let me
   know, thank you.

http://www.freebsdmall.com/cgi-bin/fm/bsdsticker?id=gDB8Sjtxmv_pc=94

/mich

-- 
Best Regards,
Michael L. Hostbaek 
[EMAIL PROTECTED] - http://www.FreeBSD.org

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


Re: Recommend a Printer for FreeBSD

2005-03-10 Thread Jean-Jacques Dhenin
 On Thu, 2005-03-10 at 01:04, Sergei Gnezdov wrote:
  My printer is dead.  Can anybody recommend a good printer for FreeBSD:
  - Lazer (black/white)
  - Some colored printer

I am not able to work whith all in one : HP1210 or lexmark x75.

-- 
(°   Dhénin Jean-Jacques
/ )   [EMAIL PROTECTED]
^^
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


changed cases, now freebsd won't boot!

2005-03-10 Thread Brian John
Hello,
I just switched my computer to a new case yesterday and now it won't 
boot.  However, Windows boots fine (I dual boot).  Here are some of the 
messages that FreeBSD has while it is starting up:
ad3:  WARNING - READDMA UDMA ICRC FAILED
Mounting root from ufs:/dev/ad0s2a
set root by name failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

Then there are a couple more messages and it goes to this prompt:
mountroot
What can I do to get this working again?
Thanks
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuration of current kernel

2005-03-10 Thread Giorgos Keramidas
# Redirected to freebsd-questions, from freebsd-newbies.
# Please do NOT post technical questions to the freebsd-newbies list.
# Followups set to freebsd-questions.

On 2005-03-10 10:25, h p [EMAIL PROTECTED] wrote:
 I'd like to recompile my kernel for disk encryption support (options
 GEOM_BDE). I am right now running an out-of-the-box 5.3-RELEASE
 kernel.

 I noticed that some kernel modules I use are missing in the GENERIC
 kernel configuration file (such as ext2fs and snd_emu10k1).

The GENERIC kernel is just what the name suggests: a generic kernel
configuration.  It's also the one that is distributed with the FreeBSD
release CD-ROMs as the default kernel.

You can always add whatever you want to a custom kernel configuration
file, say LOCAL, and use the kernel built from that config file.

 I am worrying that these features will not work if I install a new
 kernel.  Of course, I could just try and restore the old kernel, if
 not.  With Linux, there is a solution to get the current kernel
 configuration (in /proc/config.gz). Is there such a thing under
 FreeBSD?

The kernel installation process, if you follow the instructions from
/usr/src/UPDATING or the Handbook, should be:

# cd /usr/src
# make KERNCONF=LOCAL installkernel

This will keep a backup of the GENERIC kernel in:

/boot/kernel.old

You can also make a backup copy of the GENERIC kernel, if you want to
keep it safe from continuous installkernel runs, by manually copying
/boot/kernel to /boot/kernel.GENERIC right after FreeBSD has been
installed:

# cd /boot
# cp -Rp kernel kernel.GENERIC

Then, if anything does wrong, you can always interrupt the boot loader
before a broken kernel boots and boot into kernel.GENERIC.  This is as
easy as hitting ESC or any key that is not ENTER, and writing at the
OK prompt of the loader:

OK unload
OK boot kernel.GENERIC

 I admit I haven't yet quite understood how the kernel recompilation
 works. How do I configure features as a module?

Anything that is not compiled in the kernel by the kernel config file
is built as a module and installed as a *.ko file in /boot/kernel.

 Also, there are some features, which don't seem to be documented...
 at least not in the NOTES file.

You're looking at the wrong NOTES file.  There are two NOTES files on
any given architecture that FreeBSD supports:

  1) The architecture-independent NOTES file, listing options common
to all the possible architectures: /usr/src/sys/conf/NOTES.

  2) The architecture-dependent NOTES in /usr/src/sys/ARCH/conf/NOTES,
where ARCH is one of: i386, sparc64, amd64, alpha, powerpc, etc.

 ext2fs is an example. Is there a comprehensive list anywhere?

The two NOTES files (architecture independent and architecture
dependent) should be all you need.

- Giorgos

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


Re: Recommend a Printer for FreeBSD

2005-03-10 Thread David Kelly
On Mar 10, 2005, at 4:00 AM, Ted Mittelstaedt wrote:
The things are workhorses and last forever, they only need an input
roller replacement at 10,000 copies or so, which costs about $100
for a decent printer repair shop, and very few on the used market
ever went this high on the page count.
Am thinking we dropped a couple of orders of magnitude. 10k copies 
should be two toner cartridges. And while I agree there are probably a 
lot on the market with less than 10k pages I can hardly ever remember 
using a printer at work with less than 100k. 300k was common.

I do agree, a printer with ethernet and built-in Postscript will result 
in the best output and easiest support. Current employer has a Canon 
imageRunner 330 all in one fax, copier printer, beast. Only speaks 
PCL5e because they are a Windows shop and don't understand the notion 
of accurate output. Tell it to print duplex from Windows XP with a 
0.500 gutter margin to punch holes in and it will dutifully put the 
margin on the left on both sides. Prints the backside shifted into the 
holes.

Am exploring CUPS on the FreeBSD machine I brought from home. Looking 
to use it as a Postscript RIP to see if I can get better copy out of 
the Canon. Its not important enough to spend more than a few spare 
moments here and there as I am NOT I.T.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ng_netlow and mpd

2005-03-10 Thread Dmitry Kozhevnikov
, Alexandr.

AL Hello Freebsd-questions,

AL   I have ip statistics collector based on ng_netflow.
AL   It was working on old server, but now (server was reinstalled due to
AL   HDD failure).
AL   But now it is working with ethernet interfaces and not working with
AL   pptp (mpd).
AL   All configs and kernel was restored from backup.
AL   Is there any ideas?

Yes, look if your server sends UDP packets to collector host (even it
is local host). If not, try to cvsup and reinstall net/ng_netflow
port. If yes, look where this packets are dropped.

-,   :)


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


Re[2]: Strange load averages on 5.3-STABLE

2005-03-10 Thread Dmitry Kozhevnikov
please show us
1. cat /var/run/dmesg.boot
2. uname -a
3. egrep (^REVISION|^BRANCH) /usr/src/sys/conf/newvers.sh

GPT David Fleck wrote:
 On Thu, 10 Mar 2005, Michael Ross wrote:
 
 last pid: 771; load averages: 176.65, 770.13, 926.55 up 0+00:03:13
 08:11:07

 Your may have compiled kernel and userland from different sources.
  and programs like ps(1) and top(1) will fail to work until the 
 kernel and source code versions are the same. from the handbook is
 what comes to my mind.

GPT   I've compiled from the same source.

 I've also seen ridiculously-high load numbers when NFS-mounted 
 filesystems are inaccessible.  Usually that degrades system performance,
 though.

GPT   It's strange because everything is working fine and I don't use NFS on
GPT it. For example, the load hits 900 and suddenly it's 3.






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


simple www forum software ?

2005-03-10 Thread Frank Bonnet
Hi
I'm searching for a simple www forum software
I've found phpBB but it seems overkill for my needings
flat files would be enough as the forum will serve
20 users max and a very low traffic.
The goal is to share technical problems/solutions between around
20 sysadmins of multiples sites.
I need a very basic forum that could manage several groups
and a basic authentication with apache2.
Thanks for any help , the server runs 5.3
--
Cordialement/Regards
Frank Bonnet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


install FreeBSD 5.2R under Bochs-2.1.1

2005-03-10 Thread jumbler chi
Hi!
  I want to install FreeBSD 5.2R within Bochs.
  I inserted FreeBSD bootable CD , and created a new 500Mb image file
for virtual HD via bximage.exe tools.
  When I dedicated bochs boot from cd-rom , it seems un-bootable.
 Alternatively, I copied boot.flp to Bochs folder and booted from
virutal floppy , it's bootable. but when it want to install whole
system, I chose CD-ROM media , sysinstall said  cannot mount
/dev/acd0c , Input/Output error  .

what's happen ?! 
  Do you have any the successful experience or any suggestion ?! 

R.G.

ps. My bochs configuration is as following:

megs: 64

# filename of ROM images
romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf
vgaromimage: $BXSHARE/VGABIOS-elpin-2.40

# what disk images will be used 
floppya: 2_88=boot.flp, status=inserted

# hard disk
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14

ata0-master: type=disk, path=c.img, cylinders=1015, heads=16, spt=63
ata0-slave: type=cdrom, path=/dev/acd0c, status=inserted

boot: floppy

log: b.txt

mouse: enabled=1

keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-us.map



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


Re: Mozilla Firefox problem

2005-03-10 Thread Jason Andresen
Warren wrote:
Each time i start Mozilla Firefox it starts from scratch and asks if i want to 
import my previous bookmarks etc .. why is this occurying and how do i fix 
it ?
 

Most likely you don't own your own .mozilla directory. 

Try this:
$ cd
$ ls -ld .mozilla
If it is owned by root (most likely case if you ran Mozilla while under 
su), do the following:

$ su
# chown -R username:group .mozilla
# exit
$ mozilla

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


Re: feedback on a good DNS server

2005-03-10 Thread markzero
 Oh, and c) djbdns isn't Free or Open Source by any definition of 
 either phrase.  That's not important to some people, but others consider it 
 kind of important.

Dan has given explicit permission to read, compile, modify and use
the source code of djbdns. The only restriction is that you may not
distribute any modified code (enterprising people could modify and
distribute the source with deliberately placed bugs in order to try
to claim the djb 'Security Guarantee' - at least that's the theory).

http://cr.yp.to/distributors.html

Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1


pgppLEHvBV8dN.pgp
Description: PGP signature


X apps timeout on IPv6 after cvsup to Xfree86-4-clients-4.4.0.5

2005-03-10 Thread jshamlet
Guys/Gals;
I recently cvsup'ed my 4.11 machine to the latest XFree86 source - and ran into 
a snag.

I don't typically sit at console, so I didn't have a full X install (I do now - 
as part of debugging this problem...) Instead, I use Xwin32/Putty's automatic 
ssh tunnelling feature, and launch apps from my Windows desktop with icons 
(really slick).

After the upgrade, though; apps take over 30 seconds to launch. This doesn't 
happen locally - I tested this by completing the X installation, and launching 
xterms from the console, and I didn't see any delay.

So, I ran xterm under truss from a SSH session, and discovered that it was 
timing out on a connect with an IPv6 address. It later tried to connect using 
an IPv4 address, and everything went fine. This makes sense - I don't have IPv6 
configured on this system (though it is in the kernel).

Truss output:

output snipped
socket(0x1c,0x1,0x0) = 3 (0x3)
setsockopt(0x3,0x6,0x1,0xbfbff67c,0x4)   = 0 (0x0)
open(/etc/host.conf,0x0,0666)  = 4 (0x4)
fstat(4,0xbfbfef50)  = 0 (0x0)
break(0x8097000) = 0 (0x0)
read(0x4,0x8093000,0x4000)   = 205 (0xcd)
read(0x4,0x8093000,0x4000)   = 0 (0x0)
close(4) = 0 (0x0)
open(/etc/hosts,0x0,0666)  = 4 (0x4)
fstat(4,0xbfbfd2d0)  = 0 (0x0)
read(0x4,0x8093000,0x4000)   = 1085 (0x43d)
read(0x4,0x8093000,0x4000)   = 0 (0x0)
close(4) = 0 (0x0)
setsockopt(0x3,0x,0x8,0xbfbff5ac,0x4)= 0 (0x0)

connect(0x3,{ AF_INET6 [::1]:6010 },28)  ERR#60 'Operation timed out'

close(3) = 0 (0x0)
nanosleep(0xbfbff768,0xbfbff760) = 0 (0x0)
socket(0x1c,0x1,0x0) = 3 (0x3)
setsockopt(0x3,0x6,0x1,0xbfbff67c,0x4)   = 0 (0x0)
close(3) = 0 (0x0)
socket(0x2,0x1,0x0)  = 3 (0x3)
setsockopt(0x3,0x6,0x1,0xbfbff4fc,0x4)   = 0 (0x0)
setsockopt(0x3,0x,0x8,0xbfbff5ac,0x4)= 0 (0x0)
connect(0x3,{ AF_INET 127.0.0.1:6010 },16)   = 0 (0x0)
getsockname(0x3,{ AF_INET 127.0.0.1:4512 },0xbfbff4bc) = 0 (0x0)
getpeername(0x3,{ AF_INET 127.0.0.1:6010 },0xbfbff4bc) = 0 (0x0)
__sysctl(0xbfbff5c8,0x2,0xbfbff634,0xbfbff5c4,0x0,0x0) = 0 (0x0)


What is odd is that this DIDN'T happen before the update. I am going to try 
disabling ipv6 support in the kernel, with the hopes that this will fix the 
problem. 

Has anyone else seen this?

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


Re: how to deal with spam for good?

2005-03-10 Thread Kirk Strauser
On Wednesday 09 March 2005 21:53, Luciano Musacchio wrote:

 I'm wondering, how does this mailing list doesn't get any spam? :),
 I need to set some filter on my mail server, can some one here give
 me a hint on this?

I just wrote an article for Free Software Magazine on this subject.  It's 
available online at 
http://www.freesoftwaremagazine.com/free_issues/issue_02/focus_spam_postfix .  
While it's largely aimed at Postfix users, every method I use is available 
in other MTAs.
-- 
Kirk Strauser


pgpCQtbNU3vhO.pgp
Description: PGP signature


Re: installworld fails (5.4-PRE)

2005-03-10 Thread Pietro Cerutti
On Thu, 10 Mar 2005 07:53:17 -0600, J.D. Bronson [EMAIL PROTECTED] wrote:
 drwxr-xr-x  14 root  wheel   512 Mar  9 20:37 .
 drwxr-xr-x  46 root  wheel  4608 Mar  9 20:37 ..
 -r--r--r--   1 root  wheel  4210 Mar  2 17:00 acpica
 
 But acpica is -not- a directory ???

It should be a directory, in my 5.4-PRERELEASE:

 cd /usr/include/dev/
 ls -al | grep acpica
drwxr-xr-x   2 root  wheel   512 Mar  9 15:57 acpica
 ls -al acpica/
total 10
drwxr-xr-x   2 root  wheel   512 Mar  9 15:57 .
drwxr-xr-x  15 root  wheel   512 Mar  9 15:54 ..
-r--r--r--   1 root  wheel  4210 Mar  9 15:57 acpiio.h


Try to cvsup once more the source!

Hope this helps...
-- 
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: feedback on a good DNS server

2005-03-10 Thread Kirk Strauser
On Wednesday 09 March 2005 22:22, you wrote:

 Dan has given explicit permission to read, compile, modify and use
 the source code of djbdns.

From http://www.qmail.org/not-open-source.html:

For a program to be open source, you must be able to, among other
 things, change the source and redistribute it. DJB prohibits
 distribution of modified code and so programs which are so-licensed are
 not open source.

In other words, people who aren't the Free Software Foundation or OSI also 
agree that Dan's license isn't an Open Source license.  As I said, though, 
whether that's good, bad, or irrelevant is up to the administrator.  It's 
just something that many people aren't aware of but would be interested in.
-- 
Kirk Strauser


pgpjGKGQuYDdn.pgp
Description: PGP signature


Re: Native POSIX threads + Java under FreeBSD 5.3 release i386

2005-03-10 Thread Dan Nelson
In the last episode (Mar 10), Olaf Greve said:
 As is typical, I have once again been given very limited time to get
 something running, and there are some interesting things to figure
 about about it. :)
 
 In brief, the application is a distributed one, loosely based on some
 CORBA concepts, though differently (fortunately!). The supported
 programming languages are C/C++/Java/Ada, of which Java will probably
 be the one we would like to use.
 
 Now, the issue is (or may be), that the recommended (and only tested)
 platforms are Solaris and Linux (particularly Red Hat and SuSe -
 kernel versions 9). The apparent reason for this, is that the
 platform requires the NPTL (Native Posix Threads Library).

Why would they require an OS-specific threads library, instead of
simply requiring Posix threads?  I can tell you right now that Solaris
doesn't support NPTL, just the same way Linux doesn't support Solaris's
thread library :)

If you have limited time, I'd say just use either Solaris 10 or Linux. 
If you have problems on FreeBSD, they won't help you.  If it was a
longer-term project where you had time to resolve problems yourself,
I'd say spend the time to get it working on FreeBSD.

 I'm looking somewhat into the support for NPTL under FreeBSD 5.3
 release i386, and I have come across the following URL:
 http://www.unobvious.com/bsd/freebsd-threads.html From this, it
 sounds like the LinuxThreads (i.e.
 /usr/ports/devel/linuxthreads) should do the trick.

That page is 2 years old, and even says right in the middle, before
comparing libc_r and linuxthreads:

   WARNING: The rest of this document does not describe thread support
   in FreeBSD 5.x . You have been warned.

 However, I have no experience with these threads and I wonder whether it 
 is a good idea to try to get the platform working under FreeBSD (my 
 favourite Unix), or whether it may be better to install Red Hat or SuSe 
 this once. :)
 
 Can anyone tell me something about the following:
 1) Does the linuxthreads library provide 100% NPTL support, as under Linux?

Linuxthreads is the Linux 2.4 and below threads package.  NPTL is the
name for the threads implementation in Linux 2.6 kernels.  As far as I
know, linuxthreads and NPTL are relatively ABI-compatible.

 2) Does usage of the library incur a kernel recompilation, or will all 
 scripts of the platform have to be changed such that the linuxthreads 
 library is linked in?

The kernel don't come into the equation.  If you want to use
Linuxthreads with an existing threaded application, you will need to
recompile (take a look at one of the mysql ports to see how to
configure a program for linuxthreads).  All the native FreeBSD threads
libraries (libpthread, libthr, libc_r) are ABI-compatible with each
other (so you can switch between them via libmap.conf) but not with
Linuxthreads.

 3) A different question: what is the best JDK 1.4.x port to install,
 and does one of those perhaps have support for NPTL?

The native one (ports/java/jdk14), and no.
 
 I hope anyone can help me out a bit with this, even if it only is
 about whether to make the best choice between figuring out how to get
 this platform going under FreeBSD (being the Unix with which most
 experience I have), or whether to try to go Linux and have a
 -perhaps- more straightforward installation of the platform (at the
 expense of not knowing the particular intricacies of those Linuxes).
 
 Help/opinions are very much appreciated. :)

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


Re: firefox and flash on freebsd

2005-03-10 Thread Pietro Cerutti
On Thu, 10 Mar 2005 10:47:20 -0500, Antoine Solomon
[EMAIL PROTECTED] wrote:
 how do you actually get it to work with firefox ?   

Hello Antoine, 

I have this in my /etc/libmap.conf

# Flash6 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
[/usr/local/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0 pluginwrapper/flash6.so
libdl.so.2pluginwrapper/flash6.so
libz.so.1 libz.so.2
libstdc++-libc6.2-2.so.3   libstdc++.so.4
libm.so.6 libm.so.3
libc.so.6 pluginwrapper/flash6.so

Best Regards,

 Antoine W. Solomon Jr.
 


-- 
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: feedback on a good DNS server

2005-03-10 Thread markzero
  Dan has given explicit permission to read, compile, modify and use
  the source code of djbdns.
 
 From http://www.qmail.org/not-open-source.html:
 
 For a program to be open source, you must be able to, among other
  things, change the source and redistribute it. DJB prohibits
  distribution of modified code and so programs which are so-licensed are
  not open source.
 
 In other words, people who aren't the Free Software Foundation or OSI also 
 agree that Dan's license isn't an Open Source license.  As I said, though, 
 whether that's good, bad, or irrelevant is up to the administrator.  It's 
 just something that many people aren't aware of but would be interested in.

Good point.

I suppose it's also a matter of the definition of 'Open Source'. For me,
open source equates to 'I can read the code to see if it's trustworthy
and can compile it so I know that I got what I read' but you're right,
it doesn't pass the 'official' definition.

Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1


pgpdK93RGWXnK.pgp
Description: PGP signature


RE: changed cases, now freebsd won't boot!

2005-03-10 Thread Andrew Seguin
 -Original Message-
...
 ad3:  WARNING - READDMA UDMA ICRC FAILED Mounting root from 
 ufs:/dev/ad0s2a set root by name failed
 ffs_mountroot: can't find rootvp
 Root mount failed: 6
...
 mountroot

I'm far from being the expert... But is it possible you have your hard disk
plugged in differently?
From master primary bus to master secondary bus? ad0 to ad3 for example? I'd
look at the boot messages for what is the hard disk being detected as and
compare with what was?

Maybe somebody else has come across this before though and could offer more
insight... But hopefully this can help

Andrew

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 3/9/2005
 

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


boot.flp for FreeBSD 4.11

2005-03-10 Thread Olivier Casasole
Hello,
 
I am trying to create a floppy with boot.flp for FreeBSD 4.11.
I am using fdimage as described in the handbook.
 
But it says that there is not even space on my floppy. 
I had no problem to create floppies for msfroot.flp and kern.flp.
 
Do you know why i don t succeed with boot.flp ?
 
Thanks,
 
Olivier


-
 Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Host unknown (Name server:XXXXXX no data known

2005-03-10 Thread tethys ocean
Hi,

I am use sendmail Version 8.12.11 recently I have lived such error
What is the meaning of this error mesages

The following addresses had permanent fatal errors
[EMAIL PROTECTED]  
 - Transcript of session follows 550 5.1.2
[EMAIL PROTECTED]... Host unknown (Name server:
[EMAIL PROTECTED]: no data known





j24Ar6Vo069160: [EMAIL PROTECTED],
ctladdr=[EMAIL PROTECTED] (514/10), delay=00:00:00,
xdelay=00:00:00, mailer=esmtp, pri=48595,
relay=02online.de, dsn=5.1.2, stat=Host unknown (Name
server: 02online.de: no data known)



j24DeTs1089745: [EMAIL PROTECTED],
ctladdr=[EMAIL PROTECTED] (514/10), delay=00:00:01,
xdelay=00:00:01, mailer=esmtp, pri=32975,
relay=mail.02online.de. [163.14.26.89], dsn=2.0.0,
stat=Sent (OK id=1D7D6E-0008QO-00)




j13Ag3tT030048:[EMAIL PROTECTED],
ctladdr=[EMAIL PROTECTED] (514/10), delay=00:00:00,
xdelay=00:00:00, mailer=esmtp,
pri=31805,[EMAIL PROTECTED], dsn=5.1.2, stat=Host
unknown (Name server: [EMAIL PROTECTED]: host not found)


j13Ag1Uh030018: to=[EMAIL PROTECTED],
delay=00:00:01, xdelay=00:00:01,mailer=amavis,
pri=31435, dsn=2.0.0, stat=Sent Feb  3 12:42:03 hypatia
sendmail[30050]: j13Ag3tT030048: j13Ag3tS030050: DSN:
Host unknown (Name server: aaa.com: host not found)


j13DtgiW057676: ruleset=check_mail,
arg1=[EMAIL PROTECTED], relay=wwxw.com
reject=553 5.1.8 [EMAIL PROTECTED]... Domain of
sender address [EMAIL PROTECTED]  does not exist
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: WebDAV on Freebsd

2005-03-10 Thread Ean Kingston

 Hello,
 I apologize for the intrusion, but I got your email off a Google
 search for WebDAV on FreeBSD.
 I just bought a virtual server and need to install webdav and then
 allow Sunbird to publish and share calendars. I am all about using
 IMAP and I think I need to start using this for better efficiency.
 Would it be possible for you to help out?

I'll be happy to help you out but you really should join one or more
mailing lists. Joining a mailing list (related to your subject) gives you
input from more than one person so if there is a problem that I am not
familiar with, someone else can help. It also means that in the future,
others who search for the same subject can benifit from e-mail discussions
in archives (like you did).

So, how about we start with the basics:

When you say 'virtual server', do you mean an Apache Virtual Server or a
FreeBSD jail? If you are not sure, ask the folks supplying the virtual
server.

What version of Apache is it (1.3 or 2.0)?

If you are using an Apache Virtual Server, you are going to have to ask
your supplier if they include support for dav module for apache.

To learn some more about what I'm asking check out these websites:

Apache Virtual Server:
 http://httpd.apache.org/docs/mod/core.html#virtualhost
Dav module for Apache:
 http://www.webdav.org/mod_dav/
FreeBSD Jail:
 http://docs.freebsd.org/44doc/papers/jail/jail.html

-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


how to install Windows on an existing partition?

2005-03-10 Thread Pietro Cerutti
Hi List,
I need to install Windows on an existing partition of my laptop.
At the moment I have this label:
laptop# bsdlabel /dev/ad0s1
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   30720004.2BSD0 0 0
  b:  3072000   307200  swap
  c: 1172101770unused0 0 # raw part,
don't edit
  d: 10485760  33792004.2BSD0 0 0
  e: 41943040 340992004.2BSD0 0 0
  f: 41167937 760422404.2BSD0 0 0
  g: 20234240 138649604.2BSD 2048 16384 28552

a: /
b: swap
c: extended
d: /var
e: /usr
f: /home
g: where I want to install windows

I tried to format g: as FAT32, and I think it worked:
laptop# newfs_msdos /dev/ad0s1g
/dev/ad0s1g: 116981728 sectors in 14622716 FAT32 clusters (4096 bytes/cluster)
bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=63 hds=16 hid=4197991296
bsec=117210240 bspf=114240 rdcl=2 infs=1 bkbs=2

But when I run bsdlaben /dev/ad0s1 I have the same result as above, so
the g: partition is still formatted with 4.2BSD filesystem, so that
Windows won't see this partition.

How can I format this partition and make it visible to the Windows CD-ROM?

Thank you!


-- 
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CVSup versions?

2005-03-10 Thread cizuriet
Hi Guys,

 I am trying to get a copy of the CVS tree on my local machine.  I would like 
to use the CVSup utility since it is supposed to be much faster.  Can I use 
CVSup from my Windows XP machine?  Or is there a version(binary) that runs on 
GNU/Linux?

Thanks!

Clem--


Clem Izurieta

PhD Student
Department of Computer Science
Colorado State University
[EMAIL PROTECTED]

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


Re: Qmail / FreeBSD / vqadmin problem

2005-03-10 Thread Madhusudan Singh
On Thursday 10 March 2005 05:57, Peter Risdon wrote: 

 On Thu, 2005-03-10 at 00:12 -0500, Madhusudan Singh wrote:
  Hi
 
  I am new to both FreeBSD and qmail. However, I am definitely not new to
  unix/linux (2 years of HP-UX and 7 years of Linux experience). I am using
  a pf firewall on a machine that will host a webserver as well as my
  mailserver.
 
  I am interested in setting up IMAP access to email for my users (do not
  care for POP3 access). However, I found installation instructions on
  qmailrocks.org and followed them to the letter (note to the author
  - /usr/home/vpopmail does not exist - I had to create it by hand - maybe
  the first shell script on step 2 needs some editing ?), until I installed
  vqadmin and setup the passwd and placed .htpasswd in
  /usr/local/www/cgi-bin, restarted apache (built from ports), and tried to
  login through the cgi interface from another machine. Ports www, 8080 and
  https are open in /etc/pf.conf. But I keep getting Waiting for FQDN
  and never can authenticate with the right password.

 A couple of possibilities.

 The default installation of vpopmail puts the vpopmail directory
 in /usr/local and if you want to use /usr/home you have to supply the
 correct argument to vpopmail when you build it.

 From /usr/ports/mail/vpopmail/Makefile:

 [...]
 # User-configurable variables
 #
 # Define these to change from the default behaviour
 #
 [...]
 # PREFIX- installation area for vpopmail (see comment below)
 [...]
 # Uncomment this, or set PREFIX to /home if you have an existing
 # vpopmail install with the vpopmail users' home directory set to
 # /home/vpopmail - package rules dictate we default
 to /usr/local/vpopmail
 #
 #PREFIX?=   /home

 Note that this will, in my experience, create some odd directory trees
 in /usr/home (such as /usr/home/lib and /usr/home/libexec) which can
 safely be deleted subsequently. I don't use vqadmin, but this would need
 to know where to find the vpopmail binaries, and I can't see any make
 options that might define this, so that might be a major stumbling
 block. A possible cause of the behaviour you report would be that
 vqadmin is trying to run vpopmail binaries with inappropriate paths, or
 to read directory structures in the wrong place.

 One workaround, if your real vpopmail directory is in /usr/local and you
 do need it to be in /usr/home is to symlink /usr/local/vpopmail
 to /usr/home/vpopmail.

 Incidentally, the FreeBSD installation of qmail recommends
 using /var/service and much of the qmail documentation assumes the
 existence of /service. My own approach to this is to use /var/service
 but then symlink it to /service so that anything that assumes the
 existence of this directory will work.

 However, neither vpopmail not vqadmin would give you an imap server, and
 you don't say whether you have installed one separately. You do need to
 and a commonly used option in this case would be courier-imap because
 it's written by the same folk who brought us vpopmail, and integrates
 well with this and qmail. It isn't the only choice, of course, and
 you're generally best advised to use something you're familiar with.

  The question is :
 
  What am I possibly doing wrong ? A port that is not open, or is it some
  other problem that a FreeBSD / Qmail newbie might have missed ?

 It's generally best to use default installation locations with ports,
 especially when you're installing a few that will work with each other.

 Then, before testing a cgi interface like vqadmin, make sure everything
 works. Test qmail, (telnet) test imap, test vpopmail with a domain and a
 user or two on the command line. If these things aren't working
 properly, then vqadmin won't either.

 www.lifewithqmail.org is probably the most authoritative site to use as
 a reference, together with inter7's website and http://cr.yp.to for some
 perhaps slightly terse but very good initial docs.

 If you need more help, maybe say whether you have installed an imap
 server, and whether the underlying technologies - qmail, vpopmail, imap
 - are working.

 Peter.

Thanks for your informative response. I apologize if I did not stress this 
point enough in my initial email. I was following instructions on 
freebsd.qmailrocks.org to the *letter* and building from source as is 
strongly recommended there.

The install is currently in an interrupted state. Setting up IMAP *would have 
been* one of the next steps.

I am right now at the following step :

http://freebsd.qmailrocks.org/vqadmin.htm

For an overview of the entire installation, please see :

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


SAMBA newbie

2005-03-10 Thread David Larkin
I have a FreeBSD 5.3 machine and a Windoze XP box.

I am the only user of both.

I don't want to share files or act as a full time fileserver.

I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup files to 
the XP box to burn on CD.

I used to use anon ftp for this type of thing but found the security a 
nightmare. I've now installed Samba on the FreeBSD box , but I'm not sure this 
is a good idea.

Can I set up a 'sandbox' directory on my FreeBSD machine where both machines 
can read and write ? 

After installing samba and setting the workgroup in smb.conf, i can now see the 
FREEBSD box in 'view workgroup computers' but clicking on that I am asked for a 
username/password , which i'm reluctant to give.

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


Re: SAMBA newbie

2005-03-10 Thread Luke Kearney

On Thu, 10 Mar 2005 18:28:52 +
David Larkin [EMAIL PROTECTED] spake thus:

 I have a FreeBSD 5.3 machine and a Windoze XP box.
 
 I am the only user of both.
 
 I don't want to share files or act as a full time fileserver.
 
 I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup files 
 to the XP box to burn on CD.
 
 I used to use anon ftp for this type of thing but found the security a 
 nightmare. I've now installed Samba on the FreeBSD box , but I'm not sure 
 this is a good idea.
 
 Can I set up a 'sandbox' directory on my FreeBSD machine where both machines 
 can read and write ? 
 
 After installing samba and setting the workgroup in smb.conf, i can now see 
 the FREEBSD box in 'view workgroup computers' but clicking on that I am asked 
 for a username/password , which i'm reluctant to give.
 
 Any advice ?
 ___


Hello,
If you take a look at the documentation you will find that you have
several options, you can encrypt the passwds, you could set up a guest
account with no passwd but restrict access to a particular filesystem to
think of but two.

HTH

LukeK

-- 
 

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


Re: Mozilla Firefox problem

2005-03-10 Thread Jason Andresen
Warren wrote:
On Fri, 11 Mar 2005 1:05 am, Jason Andresen wrote:
 

Warren wrote:
   

Each time i start Mozilla Firefox it starts from scratch and asks if i
want to import my previous bookmarks etc .. why is this occurying and how
do i fix it ?
 

Most likely you don't own your own .mozilla directory.
   

Nope i own it and permissions r fine.
drwxr-xr-x   8 shinjii  shinjii  512 Mar  7 20:59 .mozilla
 

The other possibility is that you have a Zombie mozilla process hanging 
around in the background and it's trying to create a new profile.  
Normally you'd get the profile manager if this happened though.

Also, do you own the files inside of .mozilla?  There are several 
directories in there.  Chowning the whole thing might not be a bad idea 
regardless, just to rule out any ownership possibilities. 

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


Re: Recommend a Printer for FreeBSD

2005-03-10 Thread Mikkel C. Simonsen
My printer is dead.  Can anybody recommend a good printer for FreeBSD:
- Lazer (black/white)
- Some colored printer
I have recently bought a HP Color LaserJet 2550L, which could work for 
both your needs. It prints fast in B/W, and not-so-fast in colour, but 
both in great quality.

I have used it with DOS, FreeBSD, OS/2, MacOS9 and MacOSX so far. It 
supports both PostScript and PCL.

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


Re: parallel making

2005-03-10 Thread Kris Kennaway
On Wed, Mar 09, 2005 at 07:20:48PM +0300, Tarc wrote:
 I have small network at home (2 machines with PentiumII/64mb ram with 
 RELENG_5).
 How I can build system REALLY parallel (e.g. remote building and swapping via 
 NFS)

 I saw to make(1) sources and found macros REMOTE, which if defined, 
 enables(?) it. How it works now and how, if works?
 Does make(1) have this feature in CURRENT?

I don't believe this works.  Look into using distcc - it's been
discussed on mailing lists before how to build with it.

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


Re: SAMBA newbie

2005-03-10 Thread David Larkin
On Fri, 11 Mar 2005 02:15:28 +0900
Luke Kearney [EMAIL PROTECTED] wrote:

 
 On Thu, 10 Mar 2005 18:28:52 +
 David Larkin [EMAIL PROTECTED] spake thus:
 
  I have a FreeBSD 5.3 machine and a Windoze XP box.
  
  I am the only user of both.
  
  I don't want to share files or act as a full time fileserver.
  
  I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup 
  files to the XP box to burn on CD.
  
  I used to use anon ftp for this type of thing but found the security a 
  nightmare. I've now installed Samba on the FreeBSD box , but I'm not sure 
  this is a good idea.
  
  Can I set up a 'sandbox' directory on my FreeBSD machine where both 
  machines can read and write ? 
  
  After installing samba and setting the workgroup in smb.conf, i can now see 
  the FREEBSD box in 'view workgroup computers' but clicking on that I am 
  asked for a username/password , which i'm reluctant to give.
  
  Any advice ?
  ___
 
 
 Hello,
 If you take a look at the documentation you will find that you have
 several options, you can encrypt the passwds, you could set up a guest
 account with no passwd but restrict access to a particular filesystem to
 think of but two.
 
 HTH
 
 LukeK
 

Thanks, I don't want to use any passwords, enrypted or otherwise

The guest account sounds interesing.

I've commented out the following in smb.conf

# This one is useful for people to share files
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes


should this allow everyone on both machines to write to the /tmp directory but 
not execute anything there ? 

I still get challenged for a username/password on the XP directory.
guest/guest and nobody/nobody   both fail

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


Re: feedback on a good DNS server

2005-03-10 Thread Anthony Atkielski
sn1tch writes:

 I am looking into setting up a DNS server on our network using an
 existing FreeBSD box. I have been looking around and reading comments
 on different DNS servers out their but everyone has mixed feelings. I
 know someone who uses BIND and is happy with it .. is their any reason
 why BIND wouldn't be a good choice? All i need is to have DNS running
 on a webserver so we can host our site internally...any feedback on
 this setup and/or DNS server is appreciated

BIND works great for me on my little LAN.

-- 
Anthony


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


Re: SAMBA newbie

2005-03-10 Thread David Larkin
On Thu, 10 Mar 2005 18:59:32 +
David Larkin [EMAIL PROTECTED] wrote:

 On Fri, 11 Mar 2005 02:15:28 +0900
 Luke Kearney [EMAIL PROTECTED] wrote:
 
  
  On Thu, 10 Mar 2005 18:28:52 +
  David Larkin [EMAIL PROTECTED] spake thus:
  
   I have a FreeBSD 5.3 machine and a Windoze XP box.
   
   I am the only user of both.
   
   I don't want to share files or act as a full time fileserver.
   
   I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup 
   files to the XP box to burn on CD.
   
   I used to use anon ftp for this type of thing but found the security a 
   nightmare. I've now installed Samba on the FreeBSD box , but I'm not sure 
   this is a good idea.
   
   Can I set up a 'sandbox' directory on my FreeBSD machine where both 
   machines can read and write ? 
   
   After installing samba and setting the workgroup in smb.conf, i can now 
   see the FREEBSD box in 'view workgroup computers' but clicking on that I 
   am asked for a username/password , which i'm reluctant to give.
   
   Any advice ?
   ___
  
  
  Hello,
  If you take a look at the documentation you will find that you have
  several options, you can encrypt the passwds, you could set up a guest
  account with no passwd but restrict access to a particular filesystem to
  think of but two.
  
  HTH
  
  LukeK
  
 
 Thanks, I don't want to use any passwords, enrypted or otherwise
 
 The guest account sounds interesing.
 
 I've commented out the following in smb.conf
 
 # This one is useful for people to share files
 [tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
 
 
 should this allow everyone on both machines to write to the /tmp directory 
 but not execute anything there ? 
 
 I still get challenged for a username/password on the XP directory.
 guest/guest and nobody/nobody   both fail
 

OK, I got that to work by changing the line 
security = user

to

security = share


Is this safe ?




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


Re: SAMBA newbie

2005-03-10 Thread Luke Kearney

On Thu, 10 Mar 2005 19:19:45 +
David Larkin [EMAIL PROTECTED] spake thus:

 On Thu, 10 Mar 2005 18:59:32 +
 David Larkin [EMAIL PROTECTED] wrote:
 
  On Fri, 11 Mar 2005 02:15:28 +0900
  Luke Kearney [EMAIL PROTECTED] wrote:
  
   
   On Thu, 10 Mar 2005 18:28:52 +
   David Larkin [EMAIL PROTECTED] spake thus:
   
I have a FreeBSD 5.3 machine and a Windoze XP box.

I am the only user of both.

I don't want to share files or act as a full time fileserver.

I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup 
files to the XP box to burn on CD.

I used to use anon ftp for this type of thing but found the security a 
nightmare. I've now installed Samba on the FreeBSD box , but I'm not 
sure this is a good idea.

Can I set up a 'sandbox' directory on my FreeBSD machine where both 
machines can read and write ? 

After installing samba and setting the workgroup in smb.conf, i can now 
see the FREEBSD box in 'view workgroup computers' but clicking on that 
I am asked for a username/password , which i'm reluctant to give.

Any advice ?
___
   
   
   Hello,
   If you take a look at the documentation you will find that you have
   several options, you can encrypt the passwds, you could set up a guest
   account with no passwd but restrict access to a particular filesystem to
   think of but two.
   
   HTH
   
   LukeK
   
  
  Thanks, I don't want to use any passwords, enrypted or otherwise
  
  The guest account sounds interesing.
  
  I've commented out the following in smb.conf
  
  # This one is useful for people to share files
  [tmp]
 comment = Temporary file space
 path = /tmp
 read only = no
 public = yes
  
  
  should this allow everyone on both machines to write to the /tmp directory 
  but not execute anything there ? 
  
  I still get challenged for a username/password on the XP directory.
  guest/guest and nobody/nobody   both fail
  
 
 OK, I got that to work by changing the line 
 security = user
 
 to
 
 security = share
 
 
 Is this safe ?

I should think that it is not that good an idea to use /tmp unless you
have it on it's own partition as otherwise you could potentially allow
someone to upload a large file and fill the root partition at which
point a few other things might break too.

HTH

LukeK


-- 
 

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


Re: SAMBA newbie

2005-03-10 Thread Nick Pavlica
Is this safe ?

Obviously security isn't really a priority in your situation.  It
sound like you are really looking for convenience.  That said there
are a large number of options out there for you, samba is one of them
and can easily be configured with a utility called webmin
(http://www.webmin.com/).  A more secure option could be OpenSSH.

--Nick




On Thu, 10 Mar 2005 19:19:45 +, David Larkin [EMAIL PROTECTED] wrote:
 On Thu, 10 Mar 2005 18:59:32 +
 David Larkin [EMAIL PROTECTED] wrote:
 
  On Fri, 11 Mar 2005 02:15:28 +0900
  Luke Kearney [EMAIL PROTECTED] wrote:
 
  
   On Thu, 10 Mar 2005 18:28:52 +
   David Larkin [EMAIL PROTECTED] spake thus:
  
I have a FreeBSD 5.3 machine and a Windoze XP box.
   
I am the only user of both.
   
I don't want to share files or act as a full time fileserver.
   
I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup 
files to the XP box to burn on CD.
   
I used to use anon ftp for this type of thing but found the security a 
nightmare. I've now installed Samba on the FreeBSD box , but I'm not 
sure this is a good idea.
   
Can I set up a 'sandbox' directory on my FreeBSD machine where both 
machines can read and write ?
   
After installing samba and setting the workgroup in smb.conf, i can now 
see the FREEBSD box in 'view workgroup computers' but clicking on that 
I am asked for a username/password , which i'm reluctant to give.
   
Any advice ?
___
  
  
   Hello,
   If you take a look at the documentation you will find that you have
   several options, you can encrypt the passwds, you could set up a guest
   account with no passwd but restrict access to a particular filesystem to
   think of but two.
  
   HTH
  
   LukeK
  
 
  Thanks, I don't want to use any passwords, enrypted or otherwise
 
  The guest account sounds interesing.
 
  I've commented out the following in smb.conf
 
  # This one is useful for people to share files
  [tmp]
 comment = Temporary file space
 path = /tmp
 read only = no
 public = yes
 
 
  should this allow everyone on both machines to write to the /tmp directory 
  but not execute anything there ?
 
  I still get challenged for a username/password on the XP directory.
  guest/guest and nobody/nobody   both fail
 
 
 OK, I got that to work by changing the line
 security = user
 
 to
 
 security = share
 
 Is this safe ?
 
 
   --

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

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


Re: Configuration of current kernel

2005-03-10 Thread h p
 # Redirected to freebsd-questions, from freebsd-newbies.
 # Please do NOT post technical questions to the freebsd-newbies list.
Uh, OK, I don't quite get what freebsd-newbies is for then... thought
this was a newbie question.

 The GENERIC kernel is just what the name suggests: a generic kernel
 configuration.  It's also the one that is distributed with the FreeBSD
 release CD-ROMs as the default kernel.
Thanks for answering my implicit question as well :-)

 Anything that is not compiled in the kernel by the kernel config file
 is built as a module and installed as a *.ko file in /boot/kernel.

Great. Shouldn't that mean I could use gdbe right away, though? I
can't. I'm not going to go OT now, though, I'll recompile, reboot and
see what happens.

  Also, there are some features, which don't seem to be documented...
  at least not in the NOTES file.
 
 You're looking at the wrong NOTES file.  There are two NOTES files on
 any given architecture that FreeBSD supports:
 
   1) The architecture-independent NOTES file, listing options common
 to all the possible architectures: /usr/src/sys/conf/NOTES.
 
Ah right. There we are. Interesting.
 
Thanks!

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


Re: installworld fails (5.4-PRE)

2005-03-10 Thread Nick Pavlica
Make sure that your system is time synchronized then cvsup, rm files
in /usr/obj, etc...  This has helped me in the past.

--Nick


On Thu, 10 Mar 2005 15:46:04 +, Pietro Cerutti
[EMAIL PROTECTED] wrote:
 On Thu, 10 Mar 2005 07:53:17 -0600, J.D. Bronson [EMAIL PROTECTED] wrote:
  drwxr-xr-x  14 root  wheel   512 Mar  9 20:37 .
  drwxr-xr-x  46 root  wheel  4608 Mar  9 20:37 ..
  -r--r--r--   1 root  wheel  4210 Mar  2 17:00 acpica
 
  But acpica is -not- a directory ???
 
 It should be a directory, in my 5.4-PRERELEASE:
 
  cd /usr/include/dev/
  ls -al | grep acpica
 drwxr-xr-x   2 root  wheel   512 Mar  9 15:57 acpica
  ls -al acpica/
 total 10
 drwxr-xr-x   2 root  wheel   512 Mar  9 15:57 .
 drwxr-xr-x  15 root  wheel   512 Mar  9 15:54 ..
 -r--r--r--   1 root  wheel  4210 Mar  9 15:57 acpiio.h
 
 
 Try to cvsup once more the source!
 
 Hope this helps...
 --
 Pietro Piter Cerutti
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 Beansidhe - SwiSS Death / Thrash Metal
 www.beansidhe.ch
 
 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 FreeBSD: Are you guys coming or what?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Size of FreeBSD

2005-03-10 Thread Mark Goodell
THank you Philip, Jerry, Kris:

(Actually, I went back and forth through the website
literature trying to figure this out, and finally gave
up.  It may be that the question itself treads on an
issue that no longer is challenged - the size of OS
installations.  I'm frustrated that they have to be so
big.  THank you again for responding.  FreeBSD has
great logical appeal to me, notwithstanding.)
Mark
Mark Goodell
Richmond, VA  



--- Jerry McAllister [EMAIL PROTECTED]
wrote:
  
  Kris Kennaway wrote:
  
  On Tue, Mar 08, 2005 at 11:04:11AM -0800, Mark
 Goodell wrote:
  
  Could you please tell me how big FreeBSD is, in
 terms
  of both (1) the bare minimum needed to run
  applications and (2) the typical installation. 
 How
  many 1.44MB diskettes, for example.  
  
  Isn't this information available on the website?
  
  Kris
  
  Hi,
  
  This is either in the webpage or in the docs, but
 I forget where.
  
  Back in the days of ~4.5 I was able to install a
 stripped down version
  in about 76MB.  I think the last time I tried
 sometime around 5.0 to do 
  this it was up to about 90MB
 
 That's a really stripped down installation though.
 
 Between all binaries, plus source, plus ports tree
 and X and KDE
 I probably use around 1.2 Gigabyte for typical
 install.
 Install a few ports (Apache, MySQL, PHP, browser,
 etc) and a medium 
 database and it can easily use a couple of
 Gigabytes.   Add media
 files (sound, video) and the sky is the limit.
 
 jerry
 
 

-
  Philip M. Gollucci
  Senior Developer - Liquidity Services Inc.
  Phone:  202.467.6868 x 268
  E-Mail: [EMAIL PROTECTED]
  Web:http://www.liquidation.com
  
 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to deal with spam for good?

2005-03-10 Thread Doug Hardie
On Mar 10, 2005, at 01:49, Ted Mittelstaedt wrote:
The only long term solution that is going to work is modding the
DNS records to designate an official SMTP server for each domain, such
a plan has been in the works for a while among the standard bodies
that know what they are doing.
SPF is only going to address one form of spam distribution.  
Unfortunately it does nothing for the spammers who get their own domain 
and establish their own SPF records.  They can continue to spam away at 
will.  Likewise SPF will not close any of the open relays run by the 
organizations that are pushing SPF.  Those will continue to forward 
spam like they do today.  I suspect the open relays are ahead of their 
SPF checking as we continue to receive mail through them even theough 
they claim SPF is in use.

Spam will only go away when people no longer respond to it.  When there 
is no revenue generated to cover the cost of spamming then it will end. 
 Since spamming is so cheap, it only takes a couple of responses to 
cover the costs.  Probability of finding a couple of morons out there 
is 1.00.  People still respond to the Nigerian scams.

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


Re: SAMBA newbie

2005-03-10 Thread Kevin Kinsey
David Larkin wrote:
I have a FreeBSD 5.3 machine and a Windoze XP box.
I am the only user of both.
I don't want to share files or act as a full time fileserver.
I simply wish to exchange files ocassionally, e.g. copy 
FreeBSD backup files to the XP box to burn on CD.

I used to use anon ftp for this type of thing but found the 
security a nightmare. I've now installed Samba on the FreeBSD box,
but I'm not sure this is a good idea.

 

Nothing wrong with it that you've described so far.  For example,
I've not yet read whether you trust the wire or not
Can I set up a 'sandbox' directory on my FreeBSD machine where
both machines can read and write ? 

After installing samba and setting the workgroup in smb.conf, 
i can now see the FREEBSD box in 'view workgroup computers' but 
clicking on that I am asked for a username/password , which i'm reluctant to give.

Any advice ?
 

How about using the SharedDocs folder on the XP box?
From FBSD, as root:
# mount_smbfs -N //XPbox/SharedDocs /mnt
I have cron do this at every reboot.  If I need to put
anything on my XP Box, it's as simple as using tar,
cp, whatever.
Won't help in the vice versa case, of course...
HTH,
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD and RSA SecurID Authentication

2005-03-10 Thread Jeff Wirth
List,

This post is really for archival purposes in the event that someone
else is looking into centralized authentication with RSA SecurID and
FreeBSD (or any other *nix platform for that matter)..

The organization I currently work for has a large ($$$) investment in
RSA SecurID (for VPN use mainly) and like most technology deployments
around here it is not used to it's full capability.  With the onset of
SOX and the like, password use/policy/management has become a rather
large headache.  So for us, SecurID made sense (at least in theory):
centralized, one time passwords.

( Yes, I know there are other options for centralized Unix account
administration, but to this point we have only used local accounts and
some SecurID.  And our goal was to leverage existing infrastructure. )

Our Unix environment, in a phrase: you build it, we'll run it.  So
it was off to RSA to see what agents/clients are currently available. 
Now we've be running older versions, in a limited capacity, of the RSA
agents for some time (sdshell: a shell that requires SecurID
authentication), but the support is limited (HP-UX, Solaris, AIX).
Then I noticed an available PAM module, joy!  But the joy was short
lived, it only supports Solaris and RHE Linux.

So, when all else fails you head to google...  What I found was a lot
of people in the same boat (on various platforms).  I found a few
possible solutions, but not anything I felt confident about.  So back
to square one.

Then I remembered that our VPN environment uses SecurID, but via
RADIUS.  Ahhh...  Knowing that FreeBSD already had a RADIUS PAM
module, it was my first test platform (5.3).  Once everything was
configured it worked like a charm.  Now for the rest of the
environment...  Linux: Not a Problem (most distros come with the
FreeRadius PAM module), Solaris: Used PAM module from FreeRadius,
HP-UX: Also used module from FreeRadius (it was a bear to get
compiled), AIX: Haven't gotten to this one yet, but I have my fingers
crossed ;-).  Everything at this point appears to work well and the
best part is that the solution/setup is the same for all!

A 'very quick' overview of the configuration...   

1 - A RSA ACE Server running and configured with RADIUS (currently
runs on Solaris/HP-UX and WIndows?)
2 - A client server with a Radius PAM Module
3 - Create a 'Shared Secret'. 
4 - Configure the RSA ACE/RADIUS server and the client server with
'shared secret'.  (PAM module uses /etc/radius.conf for 'shared
secret', servername, etc)
5 - Configure PAM/sshd (or whatever PAM aware services) to require
RADIUS authentication
6 - Configure your local users. (local username must be there SecurID username)

here are some links...
http://www.freeradius.org/
http://www.freeradius.org/pam_radius_auth/
http://www.faqs.org/rfcs/rfc2865.html
http://www.rsasecurity.com/  (limited documentation here, it's all on
the install cd's)
... and of course various local manpages.

A quick note on security...

RADIUS is not the most secure protocol out there.  As a matter a fact
data is hidden via a md5  hash. (more details:
http://www.faqs.org/rfcs/rfc2865.html ).  But our feeling was since
it's SecurID and the generated passcode is only used one time, the
risk is acceptable/minimal! (better then a lame password any day ;-)

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


Re: how to install Windows on an existing partition?

2005-03-10 Thread Alejandro Pulver
On Thu, 10 Mar 2005 17:01:28 +
Pietro Cerutti [EMAIL PROTECTED] wrote:

 Hi List,
 I need to install Windows on an existing partition of my laptop.
 At the moment I have this label:
 laptop# bsdlabel /dev/ad0s1
 # /dev/ad0s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:   30720004.2BSD0 0 0
   b:  3072000   307200  swap
   c: 1172101770unused0 0 # raw part,
 don't edit
   d: 10485760  33792004.2BSD0 0 0
   e: 41943040 340992004.2BSD0 0 0
   f: 41167937 760422404.2BSD0 0 0
   g: 20234240 138649604.2BSD 2048 16384 28552
 
 a: /
 b: swap
 c: extended
 d: /var
 e: /usr
 f: /home
 g: where I want to install windows
 
 I tried to format g: as FAT32, and I think it worked:
 laptop# newfs_msdos /dev/ad0s1g
 /dev/ad0s1g: 116981728 sectors in 14622716 FAT32 clusters (4096
 bytes/cluster) bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=63 hds=16
 hid=4197991296 bsec=117210240 bspf=114240 rdcl=2 infs=1 bkbs=2
 
 But when I run bsdlaben /dev/ad0s1 I have the same result as above, so
 the g: partition is still formatted with 4.2BSD filesystem, so that
 Windows won't see this partition.
 
 How can I format this partition and make it visible to the Windows
 CD-ROM?
 
 Thank you!
 
 
 -- 
 Pietro Piter Cerutti
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 Beansidhe - SwiSS Death / Thrash Metal
 www.beansidhe.ch
 
 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 FreeBSD: Are you guys coming or what?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hello,

Windows (and also a msdos filesystem, I think) needs a whole slice
(thoose you edit with 'fdisk', called partition by Windows) to install
(it does not understand a BSD slice with labels). You can also just
leave some free space in the disk (the BSD slice must not cover the
whole disk) and then Windows should create another partition (slice) to
install itself.

For example, I have the following slices (called partitions by
Windows) in my first disk:

#fdisk -s /dev/ad0

/dev/ad0: 77504 cyl 16 hd 63 sec
PartStartSize Type Flags
   1:  6337158282 0x0c 0x80 (fat32)
   2:3715834540949685 0x0f 0x00 (ntfs)

And the following in my second disk (ignore the numbering):

# fdisk -s /dev/ad2

/dev/ad2: 79656 cyl 16 hd 63 sec
PartStartSize Type Flags
   1:  6320466747 0x83 0x00 (ext2fs)
   4:4094968538909430 0xa5 0x80 (BSD slice)

Slice 4 is a FreeBSD slice containing (and only BSD slices have labels):

# bsdlabel /dev/ad2s4

# /dev/ad2s4:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   52428804.2BSD 2048 16384 32776 
  b:  2045568   524288  swap
  c: 389094300unused0 0 # raw part,
don't edit  d:   524288  25698564.2BSD 2048 16384 32776 
  e:   524288  30941444.2BSD 2048 16384 32776 
  f: 35290998  36184324.2BSD 2048 16384 28552 

I think your partition layout is as follows (sizes in Mbytes):

| a 150 | b 1500 | d 5120 | g 9880 | e 20480 | f 20101 | END 0 |
   0   150  1650 6770 16650 37130 57231

So you will have to delete 'g', and move all the partitions before near
to 'd'. Or in the other direction. Change the slice size ('fdisk').
And then you will be able to create a slice for Windows. Note that I
have *never* tested this procedure and all recommendations I have
received are to back up the data, recreate all and then restore it. So I
do *not* recommend it.

When installing Windows keep this in mind: it will overrite the MBR, so
perhaps you want to install Windows first (and leave free space for
FreeBSD), otherwise you can restore it later with a bootable CD. It can
be done with 'sysinstall' or from command-line (you can use a LiveCD,
like the second FreeBSD ISO or FreeSBIE), there are instructions in the
Handbook, section The FreeBSD Booting Process.

If something of this looks unclear mail me.

Hope that helps.

Best Regards,
Ale

P.S.: how did you do to resize the partition 'd' to put 'g' after it
(just changing the BSD labels)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SAMBA newbie

2005-03-10 Thread Lowell Gilbert
David Larkin [EMAIL PROTECTED] writes:

 On Thu, 10 Mar 2005 18:59:32 +
 David Larkin [EMAIL PROTECTED] wrote:
 
  On Fri, 11 Mar 2005 02:15:28 +0900
  Luke Kearney [EMAIL PROTECTED] wrote:
  
   
   On Thu, 10 Mar 2005 18:28:52 +
   David Larkin [EMAIL PROTECTED] spake thus:
   
I have a FreeBSD 5.3 machine and a Windoze XP box.

I am the only user of both.

I don't want to share files or act as a full time fileserver.

I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup 
files to the XP box to burn on CD.

I used to use anon ftp for this type of thing but found the security a 
nightmare. I've now installed Samba on the FreeBSD box , but I'm not 
sure this is a good idea.

Can I set up a 'sandbox' directory on my FreeBSD machine where both 
machines can read and write ? 

After installing samba and setting the workgroup in smb.conf, i can now 
see the FREEBSD box in 'view workgroup computers' but clicking on that 
I am asked for a username/password , which i'm reluctant to give.

Any advice ?
___
   
   
   Hello,
   If you take a look at the documentation you will find that you have
   several options, you can encrypt the passwds, you could set up a guest
   account with no passwd but restrict access to a particular filesystem to
   think of but two.
   
   HTH
   
   LukeK
   
  
  Thanks, I don't want to use any passwords, enrypted or otherwise
  
  The guest account sounds interesing.
  
  I've commented out the following in smb.conf
  
  # This one is useful for people to share files
  [tmp]
 comment = Temporary file space
 path = /tmp
 read only = no
 public = yes
  
  
  should this allow everyone on both machines to write to the /tmp directory 
  but not execute anything there ? 
  
  I still get challenged for a username/password on the XP directory.
  guest/guest and nobody/nobody   both fail
  
 
 OK, I got that to work by changing the line 
 security = user
 
 to
 
 security = share
 
 
 Is this safe ?

It isn't necessarily *that* bad security-wise, but if anyone else
might get access to the network over which they are communicating, 
they could make trouble.  On my own home network, I have mitigated
(but not eliminated) this problem by making a very small filesystem
just for this Samba share.  [I built the filesystem from file-backed
mdmfs(8).]  And make *very* sure that your Samba is not reachable from
other networks.

If you're really the only user of both systems, I would expect ssh
(with public key authentication, to avoid the passwords you said you
didn't want to type) would be easier (because it will work in either
direction, from either machine).  But that depends on your actual
usage patterns, of course.

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


Re: how to install Windows on an existing partition?

2005-03-10 Thread Pietro Cerutti
On Thu, 10 Mar 2005 16:04:55 -0300, Alejandro Pulver
[EMAIL PROTECTED] wrote:

 Hello,

Hi there, thank you for your reply.


 Windows (and also a msdos filesystem, I think) needs a whole slice
 (thoose you edit with 'fdisk', called partition by Windows) to install
 (it does not understand a BSD slice with labels). You can also just
 leave some free space in the disk (the BSD slice must not cover the
 whole disk) and then Windows should create another partition (slice) to
 install itself.


This was my fear


 I think your partition layout is as follows (sizes in Mbytes):

 | a 150 | b 1500 | d 5120 | g 9880 | e 20480 | f 20101 | END 0 |
0   150  1650 6770 16650 37130 57231

Right!


 So you will have to delete 'g', and move all the partitions before near
 to 'd'. Or in the other direction. Change the slice size ('fdisk').

I can delete 'g' withoud problems, but then:
- how do I move the partitions?
- how do I resize the slice (which takes the whole disk) ?

 If something of this looks unclear mail me.

Sure!

 Best Regards,

Cheers.

 Ale

 P.S.: how did you do to resize the partition 'd' to put 'g' after it
 (just changing the BSD labels)?

I deleted 'd', created a smaller 'd', and then created 'g'.


--
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Size of FreeBSD

2005-03-10 Thread W. D.
At 12:38 3/10/2005, Mark Goodell wrote:
THank you Philip, Jerry, Kris:

(Actually, I went back and forth through the website
literature trying to figure this out, and finally gave
up.  It may be that the question itself treads on an
issue that no longer is challenged - the size of OS
installations.  I'm frustrated that they have to be so
big.  THank you again for responding.  FreeBSD has
great logical appeal to me, notwithstanding.)
Mark
Mark Goodell
Richmond, VA  

  Could you please tell me how big FreeBSD is, in
 terms
  of both (1) the bare minimum needed to run
  applications and (2) the typical installation. 
 How
  many 1.44MB diskettes, for example.  

At the bottom of this page is the recommended sizing:
http://www.freebsd.org/doc/en/books/handbook/install-steps.html

However, you can get a version of FreeBSD to run from 
a single floppy disk:
http://people.freebsd.org/~picobsd/picobsd.html

There are various versions in between these sizes:
http://people.freebsd.org/~picobsd/

A Google search:
http://www.Google.com/search?q=%22FreeBSD-Small%22+site%3AMail-Archive.com

To subscribe to the 'FreeBSD-Small' list:
mailto:[EMAIL PROTECTED]

HTH

Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


Re: how to deal with spam for good?

2005-03-10 Thread Kirk Strauser
On Thursday 10 March 2005 12:40, Doug Hardie wrote:

 Unfortunately it does nothing for the spammers who get their own domain
 and establish their own SPF records.

Not necessarily true.  If you can *force* senders to tie themselves to their 
own domain, then it becomes rather easy to blacklist that particular 
domain.  Imagine having a DNS blackhole list that was 100% accurate with no 
chance of collateral damage.  If SPF (or another similar system) were 
universally deployed, then such things would be possible.

 Likewise SPF will not close any of the open relays run by the
 organizations that are pushing SPF. 

I'm not sure what you mean by that.  Could you elaborate?

 Spam will only go away when people no longer respond to it.

You know, I'm no longer sure that's true.  I think that spam will stick 
around as long as stupid business owners continue to get suckered into 
thinking that it's a legitimate means of marketing.  One of my associate's 
customers (a brick and mortar store) was being sweet-talked by a spammer 
into sending a series of broadcasts.  In this situation, the spammer would 
profit off the ignorance of that *business owner*.  Even if 100% of the 
messages were blocked, he'd still get his pay for performing the service.
-- 
Kirk Strauser


pgpO5DMMwWu5c.pgp
Description: PGP signature


Re: Kernel problems on 5.3.

2005-03-10 Thread Jacob S
On Thu, 3 Mar 2005 11:25:02 -0500
David Robillard [EMAIL PROTECTED] wrote:

 Hi Jacob,

Hello David,
 
 You should try to CVSup your FreeBSD machines to get the latest code.
 Read section A.5 of the FreeBSD Handbook. Here's the link:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
 
 I can't say this will fix your current problem, but for sure it can
 only be good, at least from a security stand point.

Ok. I had been meaning to learn cvsup anyway. Your instructions for
setting it up are great - I was having trouble finding documentation for
that step.

 You can proceed to do so via ssh.
 
 What you want to do is this:
 
 a) Create the file /root/cvs-supfile which contains the following:
 
 sudo vi /root/cvs-supfile
 
snip - cvsup-supfile
 
 c) Create the cvsup directory.
 
 sudo mkdir -p /var/db/cvsup/sup
 
 
 d) Now copy the refuse file to your cvsup directory.
 
 sudo cp /usr/share/examples/cvsup/refuse /var/db/cvsup/sup
 
 
 e) Setup your environment. You should set this up in your
favorite shell's rc file. This here is for sh(1) and bash(1).
 
 [EMAIL PROTECTED]:/home/ncvs
 export CVSROOT
 
 
 f) Proceed with cvsup. Note, the first time you run things,
you will be prompted to accept the RSA signature of the
server you connect to.
 
 sudo cvsup -g -L 2 /root/cvs-supfile
 
 
 g) When the download finishes, rebuild the world and the kernel.
Note, you have a custom built kernel, so you must change
KERNCONF=GENERIC to KERNCONF=YOUR_KERNEL_CONFIG_FILE_NAME
 
 cd /usr/src
 sudo make -j2 buildworld
 sudo make -j2 buildkernel KERNCONF=GENERIC
 sudo make installkernel KERNCONF=GENERIC
 sudo mergemaster -p
 sudo make installworld
 sudo mergemaster
 
 
 h) Finally, reboot the machine.
 
 Once your machines come back online, run `uname -r` and you will
 notice that the current release level of the operating system has
 changed. For example, my servers have changed from 5.3-RELEASE to
 5.3-RELEASE-p5.

I have had contact with another FreeBSD user running 5.3 on Xeon
machines that make it look like the HyperThreading (SMP) support might
be suspect in the kernel. I hope to test this tomorrow, but had to
schedule the downtime with the client first.

Oh, and between the other user and reading /usr/src/Makefile I was able
to learn about mergemaster, which fixes another of my concerns related
to the upgrade.

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


Re: boot.flp for FreeBSD 4.11

2005-03-10 Thread Lowell Gilbert
Olivier Casasole [EMAIL PROTECTED] writes:

 I am trying to create a floppy with boot.flp for FreeBSD 4.11.
 I am using fdimage as described in the handbook.

The Handbook says to use kern.flp and mfsroot.flp for FreeBSD 4.11.
It says to use boot.flp on FreeBSD 5.x, but that is not what you are
trying to install.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD-4.11 - Need help with booting with an MD_ROOT

2005-03-10 Thread David Clear
I have been trying, unsuccessfully, to boot a
kernel with an embedded root filesystem.  I've
searched the mailing lists and the web without finding
an answer.  I hope someone here can help.

Here's the procedure I have used:

1. My kernel is built with options: MFS, MD_ROOT and
MD_ROOT_SIZE=32768.

2. A disk image is produced using:

cd /
dd if=/dev/zero bs=1024 count=32768 of=mdimg
vnconfig -s labels -c vn0 mdimg
disklabel -rw vn0 auto
disklabel -e vn0
copy the c: to a: and change the FS type to 4.2BSD
newfs -b 8192 -f 1024 -U /dev/vn0a
mount /dev/vn0a /mnt
tar cf - bin etc sbin | ( cd /mnt  tar xpf - )
umount /mnt
vnconfig -u vn0

The filesystem contents aren't supposed to be useful
at this point - I just want to get it to mount

3. I install the filesystem image into the kernel
using:

/usr/src/release/write_mfs_in_kernel kernel mdimg

4. In /boot/loader.conf I add:

vfs.root.mountfrom=ufs:/dev/md0a

Now I reboot with the kernel, and I get:

Mounting root from ufs:/dev/md0a
Root mount failed: 22
Mounting root from ufs:/dev/md0c
Root mount failed: 22

... and then it prompts for a root filesystem.


The EINVAL (error 22) is coming from
kern/subr_diskslice.c:806:

if (part != RAW_PART
 (sp-ds_label == NULL || part = sp-ds_label))
  return (EINVAL);/* XXX needs translation */

Specifically, part = 0 (!= RAW_PART) and sp-ds_label
= NULL.


I hope it's a trivial step I am missing, but right now
I am stuck.

Sage advice is appreciated.

Regards,
David.

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


Re: removing p5-File-Temp from portversions upgrade list ?

2005-03-10 Thread beni . brinckman
On Mon, 7 Mar 2005 19:17:21 +
Matthew Seaman [EMAIL PROTECTED] wrote:

 On Sun, Mar 06, 2005 at 12:00:55PM +0100, FreeBsdBeni wrote:
 
  So, how do I get the p5-File-Temp out of the portversion-list of
  files that  need to be upgraded ?
 
 Since File::Temp is bart of the base perl now, your best bet is to:
 
 # pkg_delete -f p5-File-Temp
 # pkgdb -F
 # portupgrade -f lang/perl5.8

The pkg_delete told me that I didn't had such a package installed (yes
I got the Capitals right). The pkgdb worked fine, just like the
portupgrade of perl5.8. But a portversion afterwards still showed that
p5-File-Temp needed to be upgraded...
Guess I'll have to live with an unexisting package that needs to be
upgraded then.
Thx for the tips !

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


Re: how to install Windows on an existing partition?

2005-03-10 Thread Alejandro Pulver
On Thu, 10 Mar 2005 19:31:12 +
Pietro Cerutti [EMAIL PROTECTED] wrote:

 On Thu, 10 Mar 2005 16:04:55 -0300, Alejandro Pulver
 [EMAIL PROTECTED] wrote:
 
  Hello,
 
 Hi there, thank you for your reply.
 
 
  Windows (and also a msdos filesystem, I think) needs a whole slice
  (thoose you edit with 'fdisk', called partition by Windows) to
  install(it does not understand a BSD slice with labels). You can
  also just leave some free space in the disk (the BSD slice must not
  cover the whole disk) and then Windows should create another
  partition (slice) to install itself.
 
 
 This was my fear
 
 
  I think your partition layout is as follows (sizes in Mbytes):
 
  | a 150 | b 1500 | d 5120 | g 9880 | e 20480 | f 20101 | END 0 |
 0   150  1650 6770 16650 37130 57231
 
 Right!
 
 
  So you will have to delete 'g', and move all the partitions before
  near to 'd'. Or in the other direction. Change the slice size
  ('fdisk').
 
 I can delete 'g' withoud problems, but then:
 - how do I move the partitions?
 - how do I resize the slice (which takes the whole disk) ?
 
  If something of this looks unclear mail me.
 
 Sure!
 
  Best Regards,
 
 Cheers.
 
  Ale
 
  P.S.: how did you do to resize the partition 'd' to put 'g' after it
  (just changing the BSD labels)?
 
 I deleted 'd', created a smaller 'd', and then created 'g'.
 
 
 --
 Pietro Piter Cerutti
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 Beansidhe - SwiSS Death / Thrash Metal
 www.beansidhe.ch
 
 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 FreeBSD: Are you guys coming or what?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hello,

If you want to use the free space of 'g' you will have to delete it and
collapse all the partitions near 'd'. But is *dangerous*, and in fact
there are *no* tools (I searched and it is often said) to resize
filesystems (even if you resize the partition, the filesystem thinks
the space is still assigned to it, I think). The only think I believe is
possible (with raw tools: 'dd') is moving partitions, but if you
are moving less space than the size of the partition itself, it is only
possible to do it backwards, and the copied bytes will be overritten
(after copied) so if the process is interrupted you will lose all the
data (half in the destination, the rest in the original place, and one
immediatly following the other).

I found a (possible) better way to do this:

1) Revert the changes with the partitions 'd' and 'g' (back-up, delete,
create only 'd', restore).

2) Save the data in 'f' ('/home') to somewhere (like '/usr').

2) Delete 'f' ('/home') and create it with less space (like 10 GB, or
less, if you do not need much space there).

3) Then the BSD label entry 'c' should have less size.

4) Use 'fdisk' to resize the slice. It should be equal to the size of
partition 'c' (that is not a real partition, but the size sum of all
of them). Then the slice must not cover the entire disk, and you will
be able to create a 'msdosfs' slice after it (in the unallocated space).

I never tried this and I do not know if it is possible, so I *recommend*
you to back up your data.

Good Luck!

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


Re: how to install Windows on an existing partition?

2005-03-10 Thread Pietro Cerutti
On Thu, 10 Mar 2005 17:48:37 -0300, Alejandro Pulver
[EMAIL PROTECTED] wrote:
 
 Hello,

Hello,

 
 If you want to use the free space of 'g' you will have to delete it and
 collapse all the partitions near 'd'. But is *dangerous*, and in fact
 there are *no* tools (I searched and it is often said) to resize
 filesystems (even if you resize the partition, the filesystem thinks
 the space is still assigned to it, I think). The only think I believe is
 possible (with raw tools: 'dd') is moving partitions, but if you
 are moving less space than the size of the partition itself, it is only
 possible to do it backwards, and the copied bytes will be overritten
 (after copied) so if the process is interrupted you will lose all the
 data (half in the destination, the rest in the original place, and one
 immediatly following the other).
 
 I found a (possible) better way to do this:
 
 1) Revert the changes with the partitions 'd' and 'g' (back-up, delete,
 create only 'd', restore).
 
 2) Save the data in 'f' ('/home') to somewhere (like '/usr').
 
 2) Delete 'f' ('/home') and create it with less space (like 10 GB, or
 less, if you do not need much space there).
 
 3) Then the BSD label entry 'c' should have less size.
 
 4) Use 'fdisk' to resize the slice. It should be equal to the size of
 partition 'c' (that is not a real partition, but the size sum of all
 of them). Then the slice must not cover the entire disk, and you will
 be able to create a 'msdosfs' slice after it (in the unallocated space).
 
 I never tried this and I do not know if it is possible, so I *recommend*
 you to back up your data.
 
 Good Luck!
 
 Best Regards,
 Ale

It sounds quite complicated... I need some more experience before doing that!

Thank you, I'll take in consideration in the future!


-- 
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RE: changed cases, now freebsd won't boot!

2005-03-10 Thread Brian John
- Original Message -

  -Original Message-
 ...
  ad3:  WARNING - READDMA UDMA ICRC FAILED Mounting root from
  ufs:/dev/ad0s2a set root by name failed
  ffs_mountroot: can't find rootvp
  Root mount failed: 6
 ...
  mountroot

 I'm far from being the expert... But is it possible you have your hard disk
 plugged in differently?
 From master primary bus to master secondary bus? ad0 to ad3 for
example? I'd
 look at the boot messages for what is the hard disk being detected as and
 compare with what was?

 Maybe somebody else has come across this before though and could offer more
 insight... But hopefully this can help

 Andrew

 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 3/9/2005


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




You were right.  I accidentally mixed up the primary and secondary IDE
cables.  However, I switched them back and now I am still getting tons of
these errors:
 ad1:  WARNING - READDMA UDMA ICRC error (retrying)

...and I can't boot into FreeBSD.  It just puts me in single user mode.

It almost appears as if my hard drives somehow were damaged when I
switched cases.  However, Windows works just fine.  I tried running fsck
and I still get the errors.  Does anyone have any clue what I can do about
this?

Thanks

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


Problem with pf.conf

2005-03-10 Thread Gardner Bell
Hello all,

I'm trying to reconfigure a more restrictive packet filtering firewall
for my home network but am running into some trouble.  When I run
dhclient dc0 at an attempt to obtain an IP address from my ISP I
receive the normal:

DHCPREQUEST on dc0 to 255.255.255.255 port 67
DHCPDISCOVER on dc0 to 255.255.255.255 port 67

DHCPDISCOVER eventually fails after the fourth or fifth try.  When I
run tcpdump at the same time as dhclient dc0 I receive the following
arp requests.  The 70.xxx.xxx.x is my gateway I'm trying to communicate
with.

14:59 arp who-has 7.x.xxx.xxx tell 70.xxx.xxx.x
...  I see about 3-400 of these.

Here is a partial excerpt of my pf.conf with what I believe to be the
most relevant sections needed to obtain an ISP on the WAN nic.

pass out on $ext_if proto tcp from any to x.x.x.x port 53 keep state
pass out on $ext_if proto udp from any to x.x.x.x port 53 keep state

The above lines are duplicated as I have two nameservers that I am able
to use.

To contact my ISPs DHCP I use the following

pass out on $ext_if proto udp from any to x.x.x.x port 68 keep state
pass in on $ext_if from x.x.x.x to any port 68 keep state

I also seem to be having a problem with the same NAT directive I've
used on less restrictive firewalls.

nat on $ext_if from $int_if:network to any - ($ext_if)

Any help is greatly appreciated

Reagrds,

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


how to change process limits?

2005-03-10 Thread Chad Leigh -- Shire . Net LLC
Hi
The following is aon 5.3-RELEASE-p5
If I do a limits command I get
# limits
Resource limits (current):
  cputime  infinity secs
  filesize infinity kb
  datasize   524288 kb
  stacksize   65536 kb
  coredumpsize infinity kb
  memoryuseinfinity kb
  memorylocked infinity kb
  maxprocesses 5547
  openfiles   11095
  sbsize   infinity bytes
  vmemoryuse   infinity kb
#
However, login.conf has (and no other classes defined)
default:\
:passwd_format=md5:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
:path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin 
/usr/local/bin /usr/X11R6/bin ~/bin:\
:nologin=/var/run/nologin:\
:cputime=unlimited:\
:datasize=unlimited:\
:stacksize=unlimited:\
:memorylocked=unlimited:\
:memoryuse=unlimited:\
:filesize=unlimited:\
:coredumpsize=unlimited:\
:openfiles=unlimited:\
:maxproc=unlimited:\
:sbsize=unlimited:\
:vmemoryuse=unlimited:\
:priority=0:\
:ignoretime@:\
:umask=022:

--
I am wondering where the datasize and stacksize get set.  These have 
limits when listed with limits but they do not appear to be getting 
set through login as the login.conf has unlimitged.

I have looked at the output of sysctl -a with grep for various things 
(limit, datasize, 512 524288 etc and not seen any obvious candidates)

I am trying to run stuff from the Coroner's Toolbox and am getting Out 
of memory! and so would like to try this with some adjusted process 
values.

Any help on where these get set and how to change them would be 
appreciated.

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

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


Re: [pki-team] FreeBSD and RSA SecurID Authentication (fwd)

2005-03-10 Thread Jeff Wirth
 On Thu, 10 Mar 2005 12:14:52 -0800, Mike Helm [EMAIL PROTECTED] wrote:
 John Webster forwards:
  'shared secret'.  (PAM module uses /etc/radius.conf for 'shared
  secret', servername, etc)
  5 - Configure PAM/sshd (or whatever PAM aware services) to require
  RADIUS authentication
  6 - Configure your local users. (local username must be there SecurID 
  username)
 
 have you given any thought to interoperation with an environment
 where local name cannot = securid username ?
 

Not really, but my guess is that you would need to add another piece
to the puzzle.  Possibly LDAP?  I researched using LDAP very briefly (
i.e. LDAP PAM Mod - Central LDAP - RADIUS - RSA ACE ) with hopes of
leveraging additional LDAP functionality.  Could be possible to store
the SecurID username within a user's LDAP entry?  Just a thought...

 We have, but we haven't figured out what (or which) is the satisfactory
 solution(s).  Or done enough work yet either, for that matter.

good luck.

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


Location of disklabel

2005-03-10 Thread Carl J
Hi all! To all your FS guru's outthere, I desperately need
to know where the disklabel is stored (since my disk is in trouble!)
Situation:
  My /dev/ad0s1 has 2 partitions: a (FS) followed by b (swap).
  By using disklabel -r, I see my a and b indeed
  take up the entire slice.
My desperate question:
  Where, then, is the disklabel stored?
  Somewhere in the partition table? The Master Boot Record?
  The reserved cylinder #0?
  Or is it stored somewhere inside /dev/ad0s1a ??
  (if that's the case, does that mean the UFS1
  intentionally left some space unused, for this purpose?
  And if so, is it always at a fixed location within a UFS1 slice?)
  What if in my slice, I have SWAP first, and then UFS1,
  then does that mean the SWAP Format also reserves
  some unused space for the disklabel to go???
Sorry if the question is stupid. I just somehow couldn't
logically see where it would be stored, and yet be compatible
with having other OS on the same drive... etc.
Thanks!
- Carl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


chroot jail and syslogd

2005-03-10 Thread comm
Hello,

 

I'm trying to setup bind in a chroot jail, and have it log to syslogd.

 

I'm using fbsd5.3 and the syslogd option:

 

root   22858  0.0  0.1  1312  780  ??  Ss   12:19AM   0:00.16
/usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -

 

I have bind running with the following options:

 

/usr/sbin/named -c /etc/namedb/named.conf -u bind -t /var/named

 

The jail is located in /var/namedb, and the socket for syslogd is
/var/named/var/run/log:

 

srw-rw-rw-  1 bind  bind  0 Mar 10 00:19 log

 

When I try to start bind I receive the following:

 

Mar 10 00:20:38 taco named[22919]: starting BIND 9.3.0 -c
/etc/namedb/named.conf -u bind -t /var/named

Mar 10 00:20:38 taco named[22919]: command channel listening on
127.0.0.1#953

Mar 10 00:20:38 taco named[22919]:
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/errno2result.c:109
: unexpected error:

Mar 10 00:20:38 taco kernel: pid 22919 (named), uid 53: exited on signal 6

Mar 10 00:20:38 taco named[22919]: unable to convert errno to isc_result:
45: Operation not supported

Mar 10 00:20:38 taco named[22919]: logging channel 'audit_log' file
'/var/run/log': unexpected error

 

Bind's config:

 

  channel audit_log {

// Send the security related messages to a separate file.

file /var/run/log;

severity debug;

print-time yes;

  };

 

Running BIND 9.3.0

 

Anyone have any ideas why this aint working? Tried to dig up some
information on google but no luck

 

-JT

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


Re: how to change process limits?

2005-03-10 Thread Dan Nelson
In the last episode (Mar 09), Chad Leigh -- Shire.Net LLC said:
 The following is aon 5.3-RELEASE-p5
 
 If I do a limits command I get
 
 # limits
 Resource limits (current):
   datasize   524288 kb
   stacksize   65536 kb
 #
 
 However, login.conf has (and no other classes defined)
 
 default:\
 :datasize=unlimited:\
 :stacksize=unlimited:\
 
 I am wondering where the datasize and stacksize get set.  These have
 limits when listed with limits but they do not appear to be getting
 set through login as the login.conf has unlimitged.

I believe those are extra-hard limits enforced by the kernel.  You can
raise them by adding this to /boot/loader.conf:

kern.maxdsiz=2147483648
kern.maxssiz=2147483648
 
Then you can edit login.conf to set whatever soft and hard limits you
want (remember to run cap_mkdb /etc/login.conf when you're done). 
I'm not exactly sure why those limits are boot-time tunables as opposed
to regular sysctls, or why they exist at all.

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


  1   2   >