Re: NGE Network Driver Problem.

2006-08-26 Thread Jeremy Karlson

On 25-Aug-06, at 14:37, Robert Huff wrote:
 After doing some digging, I've found that there was a patch  
applied to

 RELENG_6, modifying the sk driver to ignore my revision of card, and
 instructing the re driver to attach.  This is probably why it  
works for
 Robert and not for me; he's probably running 6 something, while  
I'm

 still on 5 STABLE.

That machine is -CURRENT, and was at the time of the hardware
change.  NB: at the time this happened, the pci scan code did not
automagically connect the card to the re driver; however, forcing
the loading of if_re.ko did the trick.


Just for archival purposes, in case others need this; I solved my  
problem by pulling the modifications from RELENG_6 into my local  
source, and recompiling my kernel with the drivers included.  I don't  
seem to require the kernel module like Robert does, as the driver  
attaches and initializes when compiled right in.  The files to look  
at are: if_re.c, if_sk.c, if_skreg,h, and if_rlreg.h.


Thanks for your help Robert.

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


Commercial Software

2006-08-26 Thread shankar
Hi,

I quote you from your page:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html
Commercial entities engaged in FreeBSD-related enterprises are also
encouraged to contact us. 

I am a software writer, my website is http://www.shankar-software.org
I want to port my business software to other operating systems.  Linux
seemed
the obvious first choice.  After studying it for the past one month I am
completely
vexed by the gnu licenses covering their glibc libraries.  It seems that if
I want
to port my software to linux, I have to write my own libc libraries (which
is a highly
time consuming effort) or not-object to giving my software under terms that
almost
strips me of all rights.  Some of the frustrating aspects of the LGPL terms
are:
a) I must allow the end user to modify my work for their own use (should
picasso
allow the buyers of his paintings to alter it if it doesn't suit their
taste?)
b) I must allow reverse engineering for debugging even if source is not
provided.
(should or would an artist allow his artwork to be corrected by his
customers?)

I want to port my software to the freebsd os. Now my question to you are
these.
1) Can I keep my software closed source, proprietary?
2) Do you have any C library that will ease the porting of my software to
freebsd
that I can statically link to, which is not covered by LGPL or any such
nonsense.

After the royal treatment that we commercial developers receive under
windows,
entering other oses seem prohibitively time consuming because:
1) Commercial interests are discouraged.  One linux user said if I copy
protect my
system, I will have no takers under linux.  So I said fine, linux then does
not need me
I will go where I am welcome and where I am allowed to protect my interests.
The
price of anything depends on its need.  If my software is very much needed
people
will take it even if it is closed source and proprietary and copy protected.
After all
there are a lot of buyers for my closed source, proprietary, copy protected
windows
version of my software.  If it is not needed then people will not take it
even if it is
free and open source.  Ask business users about their ERP source code
customization
project disasters and if they still would like to have the source code.
They will vehemently
say no.  They want software that will work, that will solve their headaches,
that will
solve their problems.  All these does not necessarily come with free source
code.

The popularity of an operating system depends on the number
of applications (commercial or otherwise) that are available for it.
Microsoft
understands this very very well.  When windows 3.0 was released Bill Gates
rolled in
a big trolley full of software packages that would run on windows 3.0 on to
the stage.  That
led to the success of windows 3.0 where windows 1.0 and windows 2.0 failed
due to
lack of applications on it.

2) Porting help like libraries, programming documentation like MSDN is next
to non
existent or are most difficult to find.

3) There is no Platform SDK complete with all libraries, compilers, header
files that
encourages developers without stripping them naked.  In fact the windows
operating
system is itself one huge library with thousands of functions that we can
call directly.
Compared to that huge library of functions, glibc libraries and even the
entire
linux system seems pitiful, in addition to being unusable by commercial
entities.

Please let me know if you have a c library for interacting with your
operating system
that is under the BSD license or something similar.   Let me know even if it
is still
under development, maybe I can lend an helping hand with its completion.

Shankar


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


Re: Sendmail and Proper Authentication

2006-08-26 Thread Ted Mittelstaedt
Go into sendmail.cf

set DSmail.example.org

(where mail.example.org = the hostname of your ISP's mailserver)

Let me put it this way for you.  ISP's these days are taking a lot of
steps to prevent people from setting up little servers in their homes
and directly sending SMTP mail from them.  One way of doing this
is by not setting up PTR records for IP numbers assigned to end
users.  Users can setup hostnames in their own domains at places
like dydns.org and such, and have all the forward records they want -
but more and more large ISP's like gmail are refusing to accept mail
from IP addresses without PTR records.

There are many other ways besides the admittedly crude method
above.  The upshot is that it's better for the rest of us on the
Internet to force end users as much as possible to relay outbound
mail through their ISP's.

If you want to directly process outbound mail yourself, then
your going to have to do a LOT more reading up on current
spamfighting methods before you attempt to do this.

Receiving inbound e-mail is the easy part.  No ISP cares if
any of their customers setup to receive mail directly.  (or at
least, no decently run ones does)  Hell, if you take mail
directly it frees up their CPU power and disk space on their
mailserver.

But sending it is a whole different animal.  Within another 5
years it is going to get to the point that the only inter-domain
e-mail that will flow on the Internet is from ISP to ISP.  Save
yourself a huge headache and pass your outbound mail to
your ISP's mailserver, that's what it's there for.

Ted

- Original Message - 
From: Nicholas Ink [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wednesday, August 23, 2006 8:50 PM
Subject: Sendmail and Proper Authentication


 Hello all.

 I have been using FreeBSD for several months now, and have been
 configuring it as a multipurpose server.  I've installed a web server,
 database, and a handful of other utilities.  I also have now been
 attempting for some time to configure an e-mail service - with
 Sendmail.

 Although everything seems to work fine with receiving e-mail, I have
 had significant trouble with sending it.  For example, I have been
 trying to send an e-mail from my FreeBSD server to my Gmail account.
 The first problem I experienced was that there a host name lookup
 failure for gmail.com, which I have subsequently corrected by adding
 the line:

 gmail.com   smtp:[smtp.gmail.com]

 to /etc/mail/mailertable.  However, there is still a problem, when I
 try to send an e-mail, /var/log/maillog says:


 Aug 23 23:18:08 arches sm-mta[1049]: k7O3I7K2001049:
 from=[EMAIL PROTECTED], size=397, class=0, nrcpts=1,
 msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=IPv6,
 relay=localhost [IPv6:::1]

 Aug 23 23:18:16 arches sm-mta[1051]: STARTTLS=client,
 relay=gmail-smtp.l.google.com., version=TLSv1/SSLv3, verify=FAIL,
 cipher=DES-CBC3-SHA, bits=168/168

 Aug 23 23:18:16 arches sm-mta[1051]: k7O3I7K2001049:
 to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1007/0),
 delay=00:00:08, xdelay=00:00:08, mailer=smtp, pri=30397,
 relay=gmail-smtp.l.google.com. [66.249.83.111], dsn=5.0.0,
 stat=Service unavailable

 Aug 23 23:18:16 arches sm-mta[1051]: k7O3I7K2001049: k7O3IGK2001051:
 DSN: Service unavailable


 where arches is my host name.  I can't understand why it continues to
 say Service unavailable when I know Gmail is not experiencing any
 downtime or anything else.  Is this some sort of spam filter?  Any
 help would be greatly appreciated!  Thanks!

   Sincerely,
   Nicholas Ink
 ___
 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: installing 6.1 on Compaq Proliant 5000

2006-08-26 Thread Ted Mittelstaedt
Give it up.  First, you need to set Windows or DOS in the BIOS setting
not SCO.  SCO sets up the SMP table all wrong.  that should also
fix the mem reporting problem.

But the big problem is that the ida driver crapped up support for
EISA cards some time ago.  I keep meaning to setup a test Proliant
and bug the ida driver author to fix it, but I have never got round
tuit.

If you can find a PCI compaq raid card you might get somewhere.

Ted

- Original Message - 
From: Lee Shackelford [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, August 24, 2006 10:27 AM
Subject: installing 6.1 on Compaq Proliant 5000



 Good morning dear FreeBSD enthusiasts.  I am attempting to install FreeBSD
 6.1 on a Compaq Proliant 5000.  The computer is equipped with four Pentium
 Pro processors clocked at 200 mhz and with a Smart 2/P hardware-RAID
array.
 The BIOS indicates that the first two processors have failed.  They are
 actually okay, but there is something wrong with their socket on the
 motherboard.

 The following sequence is being quoted from human memory.  I ran
SmartStart
 with the request to install S.C.O. OpenUnix.  Of the operating systems
 supported by SmartStart, this one sounded the most similar to FreeBSD.
 Then I rebooted with the CD containing FreeBSD 6.1 in the SCSI CD-ROM
 reader.  To my surprise, the computer booted off of the CD-ROM.
Initially,
 the screen displayed in black-and-white.  When a list box appeared, I
 entered the request for a command prompt.  The monitor immediately
 displayed a command prompt.  I entered the following commands:

 load ida
 load sym
 set Hint.acpi.0.disabled=1
 set Hw.physmem=1048576K
 boot

 The fourth command was entered because the boot program does not correctly
 interpret the memory size from the information transferred to it from the
 BIOS.  Then a lengthy list of device drivers either installed, or
 failed-to-install, scrolled down the face of the monitor, still in
 black-and-white.  Then the screen displayed a blue background, and a
 colored message appeared saying probing for devices.  Then it displayed
a
 message to choose a country code.  The display delayed response to
keyboard
 entries by two minutes or more for each keystroke.  I selected United
 States.  Several minutes later, the list box disappeared, and screen
 became blank blue.  One-half hour later, another list box displayed which
 gave the user choices of the type of install desired.   There was
 absolutely no response on the screen to any keyboard entry.  What am I
 doing wrong?  Any and all suggestions will be appreciated.  Yours truly,
 Lee

 ___
 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: The Regents of the University of California. Allrights reserved.

2006-08-26 Thread Ted Mittelstaedt

- Original Message - 
From: Kyrre Nygård [EMAIL PROTECTED]
To: David J Brooks [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Sent: Friday, August 25, 2006 10:46 AM
Subject: Re: The Regents of the University of California. Allrights
reserved.


 At 12:50 25.08.2006, David J Brooks wrote:

 Back in the Jurassic era, when typewriters still roamed the earth, it was
a
 convention to leave a double-space following a period so that the reader
 could more easily distinguish the end of a sentence. With the advent of
word
 processors (and proportional fonts) this double-spacing convention
lapsed.
 
 My guess is that the code for SSH was written by someone who learned to
type
 on a typewriter, or was taught by someone who learned to type that way.
 
 David
 --
 Sure the Almighty created the world in only six days,
 but He didn't have an established user-base.

 Thanks for the information Mr. Brooks, and I see you messed up the
 subject line :)

 I just hope somebody with the know-how can submit a patch.


I'm sure that will get prioritized right up top with the patch to change the
text color on the screen to green, to be more historically accurate
for a UNIX console.

Seriously, if someone were to make a large spelling error/typo patch
with a hundred or so typo corrections on it, there might be some
interest.

Ted

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


Re: A webhosting script?

2006-08-26 Thread Ted Mittelstaedt

- Original Message - 
From: Kyrre Nygård [EMAIL PROTECTED]
To: Tamouh H. [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, August 25, 2006 10:44 AM
Subject: RE: A webhosting script?


 At 19:09 25.08.2006, Tamouh H. wrote:

 There are many control panels that do these sort of things. Some are
 free, others are not.
 
 Check WebMin, cPanel, DirectAdmin, Plesk, H-Sphere, RAQdevil.and
 tons more.

 Hello Tamouh, yeah I know man but this is exactly what I'm trying to
avoid.

 Not only are the visual and cognitive designs of these solutions so
 bad I'd rather get
 shot in the head than using them, they're also highly unnecessary. I agree
that
 some of the tasks they help people do might be too advanced for the
 average Joe but
 this is really not the way to go.


Before you start shooting down these solutions let an old hand here
give you some advice.

I am the top technical dog at a regional ISP here.  Recently we acquired a
snaller ISP.  This ISP was obviously run by someone who thought like you
do.  I am in charge of the integration of their systems into our systems.

We use webmin as a front end for our adminstrative stuff.  This ISP we
bought uses a custom-written solution.  It is your typical webinterface
on PHP that yakks to a mysql database.  A series of scripts on the
back end run every few minutes, sucking changes out of the mysql
database and distributing them to the various systems, like the mailserver,
authentication servers, etc.

Among one of the little gems I discovered a week after we bought them
was that the smart guy that wrote the front end had made a very simple
little programming error.  It was buried in the transfer script that is
supposed to keep the mail and radius servers in synchronization with
the mysql server.

This front end has been in operation for years.  It is at the point now
were the mysql system is so far out of sync with the actual devices
that there are -HUNDREDS- of customers getting free service that
were turned off for non-payment, there are even more hundreds of
customers listed in the accounting system that aren't in the actual
systems, yadda yadda yadda.  It is a holy fucking mess.  So bad that
in fact I'm doing a complete rush job on ash-canning all their systems
and getting the customer base folded into our systems as quickly
as possible.

When you consider that all these freeloaders affected the ISPs calculations
of how much circuit capacity they needed to buy, you might begin to
understand the gravity of the situation.  We are talking many thousands of
dollars spent on keeping pipes from being overloaded by buying ever
more circuit capacity, while meanwhile the revenue coming in kept going
down.  The only good thing about it was that I am pretty sure all
this was why we were able to buy the ISP at all.  If it had been run
properly, they would have been much less interested in selling, I am sure.

It is very much for want of a nail the war was lost.

Solutions like Webmin that everybody uses may not look pretty.  But
they have thousands of administrators like me in the world who are
banging on them, finding these little mistakes and getting the corrections
put into the maintainers.  There is absolutely no fucking way in hell
that you, working alone in your little office, can even hope to approach
the level of debugging that a program like Webmin has gone through.

Everybody that runs an ISP or web farm today that knows their
ass from a hole in the ground has scrapped their custom-written
solutions and gone to a widely-used solution, whether commercial or
open source, unless they are maybe the size of AOL.  And I'd much
rather not be working for an ISP like AOL that's losing more money
every year than all the readers of this list put together would make in
a lifetime.

Ted

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


Re: Problems booting HP Proliant DL-320 G4 6.1-RELEASE

2006-08-26 Thread Ted Mittelstaedt
I have one of these running mail right now.  Here's what I found:

1) The onboard ethernet chip driver in 6.1-release is buggy and
will panic the system.  Install and don't enable ethernet.  Download
the current bge driver from CVS, copy to a floppy, copy from
floppy to server, recompile kernel.

2) Turn off the onboard SATA raid in BIOS, it uses adaptec
microcode that isn't supported.  If you want mirrored raid, there's a
procedure that you can do to get it.

3) for some weird reason the system will hang during boot for up
to TWO MINUTES.  After it gets done doing whatever it's doing,
it will continue booting.

Install normally, don't do anything special.  BIOS settings should
be normal.

Ted

- Original Message - 
From: [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Friday, August 25, 2006 6:14 PM
Subject: Problems booting HP Proliant DL-320 G4  6.1-RELEASE


 Having problems booting my new 320 G4 after successfully
 installing from CD.   The CD install went fine, the first boot was
 normal, but the second and all subsequent boots hang right
 after the  WARNING setting entropy source to blocking mode.

 Keyboard is dead and the machine appears locked up.  Right
 now it's on the screen wanting to enter the seed for SSHD, but
 it hangs on even when you don't enable SSHD during install.

 any suggestions?

 I've tried to disable ILo by turning off the Legacy USB support.
 FYI,  VGA console and regular PS2 keyboard hooked up.

 Any help would be most appreciated.  Just bought 4 of these
 guys for a project.

 Bill
 ___
 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: Code beautifiers, anyone?

2006-08-26 Thread Matti J. Karki

On 8/26/06, James Long [EMAIL PROTECTED] wrote:


  inbuffer = re.sub('\n +', '\n', inbuffer) # Strip trailing whitespace

 This will strip spaces at the _beginning_ of line (leading spaces).

Except, possibly, lines that begin at the first byte of the buffer,
such as the first line of the file, and any other lines that happen to
land across the buffer boundary just so.



Nice catch. I hadn't thought about that.


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


Re: compress films

2006-08-26 Thread Tobias Roth
On Fri, Aug 25, 2006 at 10:47:33AM -0400, Tsu-Fan Cheng wrote:
 Hi BSDers,
   I am running freebsd 6.1/amd64. I sometimes download films and they are
 quite large, like 1.4GB or something. I want to make it smaller by using
 mencoder, the script I use is as such:
 mencoder ddd.avi -ovc lavc -lavcopts vcodec=mpeg4 -vf scale=352:240 -oac
 lavc -lavcopts acodec=mp3:abitrate=48 -o ggg.avi
 
 But sometimes the ggg.avi can still be a little larger than 700mB, is there
 any more optimization I can do, or use other app to do this better??
 
 many thanks!!

I use avidemux2 to compress videos. It has many options, one of
which is to restrict the maximum size of the output video.

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


Re: When will KDE4 be in the ports tree?

2006-08-26 Thread Gerard Seibert
Steven Lake wrote:

 Just curious when to start expecting to see KDE4 in the ports tree
 for Freebsd.  From the reports I've been seeing, it's pretty close to
 being released soon.  So the curiosity bug bit me and I decided to ask
 here.  :)

Most likely it will be available shortly after it is officially released.
According to what is available on the KDE site, that might not be for
quite a while yet.

You would probably do better asking the KDE people regarding a release
date.

-- 
Gerard Seibert
[EMAIL PROTECTED]


smime.p7s
Description: S/MIME cryptographic signature


Right-to-Left Language Support

2006-08-26 Thread Nate Peck

In FreeBSD, is there good support for right to left languages such as
Hebrew and Arabic?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project: A quick reminder ...

2006-08-26 Thread Mikhail Goriachev
Marc G. Fournier wrote:
 Just a quick reminder to all those that have installed 
 /usr/ports/sysutils/bsdstats ... pre-v3.0 clients no longer work, due to 
 the changes that were made to the database ... please upgrade, and run, 
 the new version available in ports ...
 
 Also, as another reminder, the first run of the script after upgrading 
 will take ~15 minutes to run ... there is a 15 min sleep in the script 
 that is enforced at the server end ...
 
 Right now, we are at ~40% of the hosts that we were before v3.0, and I'm 
 still seeing database hits on the *old* database, indicating that ppl are 
 still running the old client :(
 
 BTW, for those that haven't looked recently at http://www.bsdstats.org ... 
 the US is, of course, leading the pack with ~20% of the installed FreeBSD 
 servers (a whole 129 servers) ... Germany following a close second with 
 ~15% ...
 
 And, Canada (my country) is woefully in 5th place with 4% ... come on 
 folks, we need to get all of the numbers up ...

Hi,

I just upgraded the thing to v3.0_3 and when executing I get:


 : not found
To protect against abuse, the initial challenge/response phase
contains a 15 minute pause.  Please be patient while this time
limit elapses


Not sure what happens with that  : not found. I also commented sleep
900 line. Waiting for 15 mins is a bit too long.

Oh, and Chile is missing again.


Thanks for this project Marc!


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project: A quick reminder ...

2006-08-26 Thread Bill Moran
Mikhail Goriachev [EMAIL PROTECTED] wrote:

  : not found
 To protect against abuse, the initial challenge/response phase
 contains a 15 minute pause.  Please be patient while this time
 limit elapses
 
 
 Not sure what happens with that  : not found. I also commented sleep
 900 line. Waiting for 15 mins is a bit too long.

That doesn't work.  The server also enforces the limit, and your attempt
to bypass it will result in you not being registered.  See the archives,
where this was already discussed once.  Just background the job and work
on something else until it finishes.

-- 
Bill Moran

Also, I can kill you with my brain.

River Tam

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


Re: When will KDE4 be in the ports tree?

2006-08-26 Thread Nikolas Britton

On 8/26/06, Gerard Seibert [EMAIL PROTECTED] wrote:

Steven Lake wrote:

 Just curious when to start expecting to see KDE4 in the ports tree
 for Freebsd.  From the reports I've been seeing, it's pretty close to
 being released soon.  So the curiosity bug bit me and I decided to ask
 here.  :)

Most likely it will be available shortly after it is officially released.
According to what is available on the KDE site, that might not be for
quite a while yet.



I would like to see a kde4-devel port... IIRC the first KDE4 developer
builds have already been released.



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


Re: BSDstats Project: A quick reminder ...

2006-08-26 Thread Mikhail Goriachev
Bill Moran wrote:

 Not sure what happens with that  : not found. I also commented sleep
 900 line. Waiting for 15 mins is a bit too long.
 
 That doesn't work.  The server also enforces the limit, and your attempt
 to bypass it will result in you not being registered.  See the archives,
 where this was already discussed once.  Just background the job and work
 on something else until it finishes.
 


Thanks for the info. Uncommented those lines and re-executed the thing
(no 15 mins of waiting though) and 3 out of 4 boxes managed to appear in
the stats.


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail

2006-08-26 Thread eoghan

On 25 Aug 2006, at 19:20, Giorgos Keramidas wrote:

If someone was to re-write a step by step guide for Sendmail on  
FreeBSD,

it would take far more than a single email response.

You should definitely start by reading, at least, the following:

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


For available configuration options and the functionality they
implement, you can also look at: /usr/share/sendmail/cf/README

The Sendmail FAQ is also a valuable resource, and it is available  
online

at: http://www.sendmail.org/faq/index.html

In general, what you have as a goal is something that works like this:

  work
+--+  related+--+
|  |  messages   |  |
|   Sendmail   |    |  Company's Mail  |
|  | | Gateway  |
|   Running| |  |
| as   | +--+
|   a local|
| MTA  |
|  |  ==.
|  || other  +--+
+--+| messages   |  |
||   Mail Gateway   |
`=  | of your  |
 | Internet |
 | Provider |
 |  |
 +--+

This is very easy to do in FreeBSD.  You just have to run `make'  
once in

the `/etc/mail' directory.  This will create two files, called:

HOSTNAME.mc
HOSTNAME.submit.mc

where `HOSTNAME' is your local host name.  You can configure Sendmail,
by following the instructions in the Handbook, the help in the README
file of the Sendmail macros, at `/usr/share/sendmail/cf/README', and
making configuration changes to `HOSTNAME.mc'.

You can direct all outgoing email from `localhost' to the mail gateway
of your ISP, by reading the comments in `/etc/mail/HOSTNAME.mc' and
enabling the `SMART_HOST' feature.


Hey thanks a mill Giorgos
Will read up on this.
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Commercial Software

2006-08-26 Thread Fabian Keil
shankar [EMAIL PROTECTED] wrote:

 I am a software writer, my website is http://www.shankar-software.org
 I want to port my business software to other operating systems.  Linux
 seemed
 the obvious first choice.  After studying it for the past one month I am
 completely
 vexed by the gnu licenses covering their glibc libraries.  It seems that if
 I want
 to port my software to linux, I have to write my own libc libraries (which
 is a highly
 time consuming effort) or not-object to giving my software under terms that
 almost
 strips me of all rights.  Some of the frustrating aspects of the LGPL terms
 are:
 a) I must allow the end user to modify my work for their own use (should
 picasso
 allow the buyers of his paintings to alter it if it doesn't suit their
 taste?)

In many countries the buyer of a painting is already allowed to do that
anyway.

 b) I must allow reverse engineering for debugging even if source is not
 provided.

So what? How many of your customers can do that, and how many of
those that can, care about what you allow or not?

 (should or would an artist allow his artwork to be corrected by his
 customers?)

Why should the artist care after she got the money?

 I want to port my software to the freebsd os. Now my question to you are
 these.
 1) Can I keep my software closed source, proprietary?

Yes.

 2) Do you have any C library that will ease the porting of my software to
 freebsd
 that I can statically link to, which is not covered by LGPL or any such
 nonsense.

Depends on the definition of such nonsense, but in general the BSD
licenses are less restrictive than the (L)GPL.
 
 After the royal treatment that we commercial developers receive under
 windows,
 entering other oses seem prohibitively time consuming because:
 1) Commercial interests are discouraged.  One linux user said if I copy
 protect my
 system, I will have no takers under linux.  So I said fine, linux then does
 not need me

There are more than one GNU/Linux users, the one you talked
to doesn't speak for the rest of them.

 I will go where I am welcome and where I am allowed to protect my interests.
 The
 price of anything depends on its need.  If my software is very much needed
 people
 will take it even if it is closed source and proprietary and copy protected.
 After all
 there are a lot of buyers for my closed source, proprietary, copy protected
 windows
 version of my software.  If it is not needed then people will not take it
 even if it is
 free and open source.  Ask business users about their ERP source code
 customization
 project disasters and if they still would like to have the source code.
 They will vehemently
 say no.  They want software that will work, that will solve their headaches,
 that will
 solve their problems.  All these does not necessarily come with free source
 code.

But having the source code available is never a disadvantage. 
 
 The popularity of an operating system depends on the number
 of applications (commercial or otherwise) that are available for it.
 Microsoft
 understands this very very well.  When windows 3.0 was released Bill Gates
 rolled in
 a big trolley full of software packages that would run on windows 3.0 on to
 the stage.  That
 led to the success of windows 3.0 where windows 1.0 and windows 2.0 failed
 due to
 lack of applications on it.
 
 2) Porting help like libraries, programming documentation like MSDN is next
 to non
 existent or are most difficult to find.

Are you only talking about GNU/Linux here? At least on the BSDs
there is programming documentation available by default, and if you
write clean C, porting shouldn't be a problem either.
 
 3) There is no Platform SDK complete with all libraries, compilers, header
 files that
 encourages developers without stripping them naked.  In fact the windows
 operating
 system is itself one huge library with thousands of functions that we can
 call directly.

There are several cross-platform SDKs available that run on Windows,
GNU/Linux and the BSDs. If you use one of them, porting should be easy
or not even necessary.

 Compared to that huge library of functions, glibc libraries and even the
 entire
 linux system seems pitiful, in addition to being unusable by commercial
 entities.

GNU/Linux seems to be usable enough for a lot of commercial entities.

Some of them successfully sell proprietary dongled software that's even
more expensive than yours is. If your software is as special as you think
it is, you shouldn't have any problems finding new buyers.
 
 Please let me know if you have a c library for interacting with your
 operating system
 that is under the BSD license or something similar.   Let me know even if it
 is still
 under development, maybe I can lend an helping hand with its completion.

While FreeBSD's libc is BSD licensed, your program looks like it
requires a lot of Windows specific functions. It's probably easier
to port it to one of the cross-platform SDKs and have the program
run on nearly every OS, 

Re: [Mpd-users] pptp networking question

2006-08-26 Thread Archie Cobbs
gahn wrote:
 wiht two default gateways, of course i could not
 connect to anywhere. how could i fix this? i just want
 to connect pptp server and get one ip address
 (192.168.2.10/24) with no default route on the pptp
 interface.

This is a windows-side question.. I think windows does this (i.e.,
adding a default route for pptp connections) automatically.
Not sure if there is any way to fix it (but I don't know much
about windows).

-Archie

__
Archie Cobbs  *CTO, Awarix*  http://www.awarix.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Why does a 15.5gb partition show up as 500MB?

2006-08-26 Thread Kyrre Nygård

Hello,

When mounting the 15,5GB root partition of an old 17GB ATA harddrive, 
df -h tells me it is only 479MB.


This is what I did:

I installed FreeBSD on the 17GB ATA harddrive, so I later could copy 
some files onto it from my main 150GB S-ATA. The plan is to retire 
the 17GB ATA at this Pentium 133MHz over at the form.


So I plugged the 17GB ATA into my Pentium 3,2GHz's DVD-ROM IDE cable, 
which is the only IDE cable available other than that of my DVD-RW. I 
installed FreeBSD 6.1-RELEASE using the network install via boot 
floppies. I made a 1500MB swap partition, and the remaining 15,5GB 
into root /. I know jamming all that space into one single partition 
is a big no no, but for this purpose I let it slide. FreeBSD, minimum 
installatino, installed without any difficulties.


Then it was time to copy the files I needed from the 150GB S-ATA. I 
can only boot the 150GB S-ATA, the 17GB ATA doesn't want to boot as 
long as the 150GB S-ATA is attached. I managed to mount the 17GB ATA, 
however df -h informs me that it is only 479MB?


How can this be? It might be a geometry issue, yeah? But how do I fix it?

Thanks,
Kyrre

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


Re: BSDstats Project: A quick reminder ...

2006-08-26 Thread Matthew Seaman
Mikhail Goriachev wrote:
 Bill Moran wrote:
 Not sure what happens with that  : not found. I also commented sleep
 900 line. Waiting for 15 mins is a bit too long.
 That doesn't work.  The server also enforces the limit, and your attempt
 to bypass it will result in you not being registered.  See the archives,
 where this was already discussed once.  Just background the job and work
 on something else until it finishes.

 
 
 Thanks for the info. Uncommented those lines and re-executed the thing
 (no 15 mins of waiting though) and 3 out of 4 boxes managed to appear in
 the stats.

Yes -- so long as more than 15 minutes has gone by since your first attempt
to register, the second one will proceed instantaneously using the same
token.

Cheers,

Matthew



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



signature.asc
Description: OpenPGP digital signature


Errors with Dovecot

2006-08-26 Thread White Hat
FreeBSD 6.1 STABLE
Dovecot 1.0 rc2
Postfix 2.4

I recently installed Dovecot on my system to act as an
LDA and POP server. I have a simple mbox setup running
with
Postfix. Dovecot works as a POP server, but will not
operate an an LDA. When I attempt to use it as such
the mail gets
hung up in the mail queue. This is from the dovecot
log file:

deliver(jerry): Error:
open(/var/mail/.temp.whitehat.football.net.1928.e70d4dd9d14583ce)
failed: Permission denied
deliver(jerry): Error: file_lock_dotlock() failed with
mbox file /var/mail/jerry: Permission denied


This log continues with the same error message for
each message it attempts to deliver. Postfix can
deliver the mail
without any problems however.

I cannot seem to figure out what I am doing wrong. I
assume someone else in this forum is also using
Dovecot as an
LDA. Perhaps they can enlighten me.

Thanks!

Jerry


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


Re: BSDstats Project: A quick reminder ...

2006-08-26 Thread Marc G. Fournier

On Sat, 26 Aug 2006, Mikhail Goriachev wrote:


: not found
To protect against abuse, the initial challenge/response phase
contains a 15 minute pause.  Please be patient while this time
limit elapses


Fixed ...


Not sure what happens with that  : not found. I also commented sleep
900 line. Waiting for 15 mins is a bit too long.

Oh, and Chile is missing again.


Because you removed the 15 minute delay :)

Run it now and you'll see Chile pop back up ... the 15 minute delay is 
enforced on the server side :)


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


Re: Commercial Software

2006-08-26 Thread Nikolas Britton

On 8/26/06, shankar [EMAIL PROTECTED] wrote:

Hi,

I quote you from your page:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html
Commercial entities engaged in FreeBSD-related enterprises are also
encouraged to contact us. 

I am a software writer, my website is http://www.shankar-software.org
I want to port my business software to other operating systems.  Linux
seemed
the obvious first choice.  After studying it for the past one month I am
completely
vexed by the gnu licenses covering their glibc libraries.  It seems that if
I want
to port my software to linux, I have to write my own libc libraries (which
is a highly
time consuming effort) or not-object to giving my software under terms that
almost
strips me of all rights.


Use QT: http://www.trolltech.com/products/qt
If you buy a commercial license from trolltech you can do whatever you
want with your software, plus QT runs on every popular OS; Qt/Windows,
Qt/X11, and Qt/Mac. The KDE project uses QT.




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


Re: I915 3d acceleration - picture shifts

2006-08-26 Thread vvp
В сообщении от 26 августа 2006 03:58 вы написали:
 vvp wrote:
  I use FreeBSD 6.1 on HP nx6110 laptop. After fresh installation the drm
  module for i915 didn't work.
  I've found a patch for i915 to make it work. After that 3d acceleration
  is works, but I've got another issue:when running KDE screensavers,
  picture is shifted up. That is probably not a drm driver issue as I saw
  similar thing on a SuSE linux box with i810 graphics chipset.
  Have anyone ever seen a solution?

 You gotta be more specific with what you do and what you have: Did you
 update sources? when? have you tried to load the load modules? (should
 be in /boot/kernel.old/). Version of X? updated? did it work before
 updating?

 It might be a passing error, try to update again and see if it has been
 resolved. Things can also be related to xorg. Versions? updates?

 I use i915/drm xorg loads the modules automatically, I don't even need
 to think, it just works, from a fresh install of 6.1 and since then
 regular updates - to solve other problems. I don't know about 3D
 accelleration - I don't even know if it is enabled, but things look
 good... and supposedly I can share memory to make use of RAM, I don't
 know if I have that - really I don't care as long as things look good...

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


Figured it out

2006-08-26 Thread Chris
Don't you just hate it that when you type out a long question you figure 
it out for yourself

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


Re: BSDstats Project: A quick reminder ...

2006-08-26 Thread Mikhail Goriachev
Marc G. Fournier wrote:
 On Sat, 26 Aug 2006, Mikhail Goriachev wrote:
 
 : not found
 To protect against abuse, the initial challenge/response phase
 contains a 15 minute pause.  Please be patient while this time
 limit elapses
 
 Fixed ...
 
 Not sure what happens with that  : not found. I also commented sleep
 900 line. Waiting for 15 mins is a bit too long.

 Oh, and Chile is missing again.
 
 Because you removed the 15 minute delay :)
 
 Run it now and you'll see Chile pop back up ... the 15 minute delay is 
 enforced on the server side :)


Thanks for that Marc. I've got another issue. I registered 4 machines
but only 3 appear on the list. One of them is being behind another one
through NAT. Could this be the problem?


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail

2006-08-26 Thread RW
On Friday 25 August 2006 16:00, eoghan wrote:
 Hello
 Im using sylpheed for my mail (its work mail). Having some issues
 sending from their smtp server to non-work accounts.
 I have sendmail installed but I have never used it before and am
 wondering if I can use this through my local machine to send my mail?
 Thanks
 Eoghan

You can, but I would advise you not to do it if you are sending from an 
ordinary isp account ip address, i.e. one where the reverse dns shows 
something clearly autogenerated rather than an meaningful server name.

About 70% of all spam, and very little legitimate mail, comes from such 
addresses, so it's becoming a very easy target for aggressive spam filtering. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Racoon - Disable debug loggin?

2006-08-26 Thread Chris Knipe

Hi,

I've compiled racoon (IPSec-Tools / FreeBSD Ports) various times 
with --disable-debug

Debug messages keeps ending up in syslog :(

How can I disable the debug output???


Regards,
Chris.

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


Re: BSDstats Project: A quick reminder ...

2006-08-26 Thread Marc G. Fournier

On Sun, 27 Aug 2006, Mikhail Goriachev wrote:


Thanks for that Marc. I've got another issue. I registered 4 machines
but only 3 appear on the list. One of them is being behind another one
through NAT. Could this be the problem?


Check /var/db/bsdstats, let me know what the KEY value is for the 4 
machines ... before you do, try re-running all 4, to make sure that the 
'4th' didn't get re-run within the 15 minute period ...


NAT won't (or, rather, shouldn't) be a factor, since we aren't basing 
things on the IP itself ... but, all 4 KEYs for your machines should be 
distinct ...

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


Ports cvsup failure

2006-08-26 Thread stan
I just set up a new cvsup server, using the cvsup-mirror port. I can use it
to update everything that I need but the ports collection. It fails like
this:

Parsing supfile ports-supfile
Connecting to cvsup.meadwestvaco.com
Connected to cvsup.meadwestvaco.com
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing passive-mode data connection
Running
Updating collection ports-all/cvs
Detailer failed: Network write failure: Connection lost
Will retry at 16:07:17

This happens both on remote machines, and locally on the cvsup machine
itself. I see the following in dmesg:

pid 1618 (cvsupd), uid 1002: exited on signal 10

Can anyone sugest where to start looking for this problem?

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Building ports with sorces on a local mirror?

2006-08-26 Thread stan
I'm in the process of seting up to build a fair number of machines behind a
very restrictive firewall (and besides that the outbound link is very
slow).

What I have in mind is setting up a machine using mirror software to create
a local mirror of the FreeBSD site, including the distfiles for the ports
tree.

Is thee a way to get the ports build system to look for distfiles on this
local mirror?

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfilter on 6.1

2006-08-26 Thread J.D. Bronson
I got a full load of 6.1p4 installed and all built. I have pppoe and 
ipfilter running almost perfect.


Clients can use the machine (as a router) and get out perfectly!
No issues with network performance at all. I am very pleased...until...

I found out that the router itself cant get out 100%.

My ipconfig is basically this:

bge0 - 10.43.82.174
alias 10.43.82.171 - for bind9 views
alias 10.43.82.51 - for bind9 views

bge1 - connected to dsl modem

well I cant even telnet from the machine to itself!
'destination unreachable'

DNS requests from the server itself (to itself - it runs bind) are 
unanswered yet it is able to fully answer requests from internal or 
external clients...just not itself!


If I use a public DNS server -or- use the IP of the machine I want to 
connect up to, the router is able to get out and uses the correct IP.


I used the same configs from solaris on here (ipf.conf and ipnat.conf)
and only needed to change sppp0 to tun0.

this should take care of anything the machine itself needs:

ipf.conf==
# Pass LAN traffic to/from bge0
pass in quick on bge0 all keep state keep frags
pass out quick on bge0 all keep state keep frags

# Pass traffic to WAN and keep state
pass out quick on tun0 proto tcp all flags S keep state keep frags
pass out quick on tun0 proto udp all keep state keep frags
pass out quick on tun0 proto icmp all keep state keep frags

==

I am totally baffled. Its like I am being blocked somehow but even 
with ipfilter WIDE open - traffic still wont pass.


I am wondering if this is some quirk with the interface 
aliases...although running the basic same setup on solaris - it works 
perfectly.



-JD

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


Re: Commercial Software

2006-08-26 Thread Giorgos Keramidas
On 2006-08-26 13:00, shankar [EMAIL PROTECTED] wrote:
 Hi,

 I quote you from your page:
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html
 Commercial entities engaged in FreeBSD-related enterprises are also
 encouraged to contact us. 

 I am a software writer, my website is
 http://www.shankar-software.org I want to port my business
 software to other operating systems.  Linux seemed the obvious
 first choice.  After studying it for the past one month I am
 completely vexed by the gnu licenses covering their glibc
 libraries.  It seems that if I want to port my software to
 linux, I have to write my own libc libraries (which is a highly
 time consuming effort) or not-object to giving my software
 under terms that almost strips me of all rights.  Some of the
 frustrating aspects of the LGPL terms are:

 a) I must allow the end user to modify my work for their own
 use (should picasso allow the buyers of his paintings to alter
 it if it doesn't suit their taste?)

No, you are not required to do this for all programs that merely use the
services provided by the LGPL.  Term (5) of the LGPL explicitly states
that:

A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being
compiled or linked with it, is called a work that uses the
Library. Such a work, in isolation, is not a derivative work
of the Library, and therefore falls outside the scope of this
License.

 b) I must allow reverse engineering for debugging even if
 source is not provided.  (should or would an artist allow his
 artwork to be corrected by his customers?)

I don't agree with the parallel and comparison with artists,
but what is the explicit part of the LGPL that makes you think
this is a requirement?

 I want to port my software to the freebsd OS.

Great :-)  You are more than welcome, of course.

 Now my question to you are these.
 1) Can I keep my software closed source, proprietary?

Yes.

 2) Do you have any C library that will ease the porting of my
 software to freebsd that I can statically link to, which is not
 covered by LGPL or any such nonsense.

The system version of libc in FreeBSD is not distributed under
the terms of the LGPL.  Please see the copyright statements in
our web site:

http://www.freebsd.org/copyright/index.html

 After the royal treatment that we commercial developers receive
 under windows, entering other oses seem prohibitively time
 consuming because:

 1) Commercial interests are discouraged.  One linux user said
 if I copy protect my system, I will have no takers under linux.
 So I said fine, linux then does not need me I will go where I
 am welcome and where I am allowed to protect my interests.  The
 price of anything depends on its need.  If my software is very
 much needed people will take it even if it is closed source and
 proprietary and copy protected.  After all there are a lot of
 buyers for my closed source, proprietary, copy protected
 windows version of my software.  If it is not needed then
 people will not take it even if it is free and open source.
 Ask business users about their ERP source code customization
 project disasters and if they still would like to have the
 source code.  They will vehemently say no.  They want software
 that will work, that will solve their headaches, that will
 solve their problems.  All these does not necessarily come with
 free source code.

All this is irrelevant in the context of the BSD license.  You
are, essentially, free to do whatever you wish, other than sell
FreeBSD itself and say that you did all the work.

 The popularity of an operating system depends on the number of
 applications (commercial or otherwise) that are available for
 it.  Microsoft understands this very very well.  When windows
 3.0 was released Bill Gates rolled in a big trolley full of
 software packages that would run on windows 3.0 on to the
 stage.  That led to the success of windows 3.0 where windows
 1.0 and windows 2.0 failed due to lack of applications on it.

Most of FreeBSD users are highly uniniterested in what Windows
wants or Windows users like paying for.  We like getting the job
done, and if a BSD OS can do it, that's what we use.

For example, Windows can do whatever it pleases, as far as I am
concerned.  I don't really care about the reasons why other
people like paying huge amounts of money for buing something that
runs as part of Windows or on Windows itself.

 2) Porting help like libraries, programming documentation like
 MSDN is next to non existent or are most difficult to find.

Are you sure?  The BSD operating systems are famous for their
level of documentation and the support they provide to users who
are programmers themselves too.

 3) There is no Platform SDK complete with all libraries,
 compilers, header files that encourages developers without
 stripping them naked.  In fact the windows operating system is
 itself one huge library with thousands 

Re: Building ports with sorces on a local mirror?

2006-08-26 Thread Chris Knipe

Look at the cvs-mirror port...


Regards,
Chris.

- Original Message - 
From: stan [EMAIL PROTECTED]

To: Free BSD Questions list freebsd-questions@freebsd.org
Sent: Saturday, August 26, 2006 10:15 PM
Subject: Building ports with sorces on a local mirror?


I'm in the process of seting up to build a fair number of machines behind 
a

very restrictive firewall (and besides that the outbound link is very
slow).

What I have in mind is setting up a machine using mirror software to 
create

a local mirror of the FreeBSD site, including the distfiles for the ports
tree.

Is thee a way to get the ports build system to look for distfiles on this
local mirror?

--
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
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: ipfilter on 6.1

2006-08-26 Thread Giorgos Keramidas
On 2006-08-26 15:02, J.D. Bronson [EMAIL PROTECTED] wrote:
 I got a full load of 6.1p4 installed and all built. I have
 pppoe and ipfilter running almost perfect.

 Clients can use the machine (as a router) and get out
 perfectly!  No issues with network performance at all. I am
 very pleased...until...

 I found out that the router itself cant get out 100%.

 My ipconfig is basically this:

 bge0 - 10.43.82.174 alias 10.43.82.171 - for bind9 views alias
 10.43.82.51 - for bind9 views

 bge1 - connected to dsl modem

 well I cant even telnet from the machine to itself!
 'destination unreachable'

 DNS requests from the server itself (to itself - it runs bind)
 are unanswered yet it is able to fully answer requests from
 internal or external clients...just not itself!

 If I use a public DNS server -or- use the IP of the machine I
 want to connect up to, the router is able to get out and uses
 the correct IP.

 I used the same configs from solaris on here (ipf.conf and
 ipnat.conf) and only needed to change sppp0 to tun0.

 this should take care of anything the machine itself needs:

 ipf.conf==
 # Pass LAN traffic to/from bge0
 pass in quick on bge0 all keep state keep frags
 pass out quick on bge0 all keep state keep frags

 # Pass traffic to WAN and keep state
 pass out quick on tun0 proto tcp all flags S keep state keep frags
 pass out quick on tun0 proto udp all keep state keep frags
 pass out quick on tun0 proto icmp all keep state keep frags
 ==

 I am totally baffled. Its like I am being blocked somehow but
 even with ipfilter WIDE open - traffic still wont pass.

 I am wondering if this is some quirk with the interface
 aliases...although running the basic same setup on solaris
 - it works perfectly.

Don't show us the ipf.conf file you are using, but the output of:

% ipfstat -hni
% ipfstat -hno

Then we can really know what rules you have loaded in IP Filter.

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


Re: BSDstats Project: A quick reminder ...

2006-08-26 Thread Mikhail Goriachev
Marc G. Fournier wrote:
 On Sun, 27 Aug 2006, Mikhail Goriachev wrote:
 
 Thanks for that Marc. I've got another issue. I registered 4 machines
 but only 3 appear on the list. One of them is being behind another one
 through NAT. Could this be the problem?
 
 Check /var/db/bsdstats, let me know what the KEY value is for the 4 
 machines ... before you do, try re-running all 4, to make sure that the 
 '4th' didn't get re-run within the 15 minute period ...


Yep, re-ran all 4 of them and these are the results:

Machine #1:
KEY='075cab6e3f3999dfc9d53ba9ba3fdee0'

Machine #2:
KEY='29da5d0f6b866d9e656448c5aff53da9'

Machine #3:
KEY='ce8011da3ce748c3e82cc4787e839ce7'

Machine #4:
KEY='d219c42fca591f6c82251722261b497a'



Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building ports with sorces on a local mirror?

2006-08-26 Thread Josh Paetzel
On Saturday 26 August 2006 15:35, Chris Knipe wrote:
 Look at the cvs-mirror port...


 Regards,
 Chris.

 - Original Message -
 From: stan [EMAIL PROTECTED]
 To: Free BSD Questions list freebsd-questions@freebsd.org
 Sent: Saturday, August 26, 2006 10:15 PM
 Subject: Building ports with sorces on a local mirror?

  I'm in the process of seting up to build a fair number of
  machines behind a
  very restrictive firewall (and besides that the outbound link is
  very slow).
 
  What I have in mind is setting up a machine using mirror software
  to create
  a local mirror of the FreeBSD site, including the distfiles for
  the ports tree.
 
  Is thee a way to get the ports build system to look for distfiles
  on this local mirror?

The cvs-mirror port won't download the distfiles for all of the ports.  
Depending on how 'slow' your link is that could be a very daunting 
task.

The MASTER_SITES environment variable is probably what you want.  man 
ports for the details.

-- 
Thanks,

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


port tk84 won't upgrade properly on AMD64 system

2006-08-26 Thread Dino Vliet
Hi all,


I'm having problems upgrading my port tk84 on a amd64
machine. I'm using cvsup and portupgrade to accomplish
that and it fails with:

Stop in
/usr/ports/x11-toolkits/tk84/work/tk8.4.13/unix.
*** Error code 1

Stop in /usr/ports/x11-toolkits/tk84.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade4543.1 env PORT_UPGRADE=yes make
** Fix the problem and try again.
---  Skipping 'math/R' (R-2.2.1_1) because a
requisite package 'tk-8.4.11,2' (x11-toolkits/tk84)
failed (specify -k to force)
** Listing the failed packages (*:skipped / !:failed)
! x11-toolkits/tk84 (tk-8.4.11,2)  
(linker error)
* math/R (R-2.2.1_1)
---  Packages processed: 0 done, 16 ignored, 1
skipped and 1 failed

What can I do to solve this?

Brgds


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


Re: Building ports with sorces on a local mirror?

2006-08-26 Thread stan
On Sat, Aug 26, 2006 at 03:53:36PM -0500, Josh Paetzel wrote:
 On Saturday 26 August 2006 15:35, Chris Knipe wrote:
  Look at the cvs-mirror port...
 
 
  Regards,
  Chris.
 
  - Original Message -
  From: stan [EMAIL PROTECTED]
  To: Free BSD Questions list freebsd-questions@freebsd.org
  Sent: Saturday, August 26, 2006 10:15 PM
  Subject: Building ports with sorces on a local mirror?
 
   I'm in the process of seting up to build a fair number of
   machines behind a
   very restrictive firewall (and besides that the outbound link is
   very slow).
  
   What I have in mind is setting up a machine using mirror software
   to create
   a local mirror of the FreeBSD site, including the distfiles for
   the ports tree.
  
   Is thee a way to get the ports build system to look for distfiles
   on this local mirror?
 
 The cvs-mirror port won't download the distfiles for all of the ports.  
 Depending on how 'slow' your link is that could be a very daunting 
 task.

True, but at least it's automated (with the perl based mirror script).
 
 The MASTER_SITES environment variable is probably what you want.  man 
 ports for the details.
 
OK, Ill check that out.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfilter on 6.1

2006-08-26 Thread J.D. Bronson

At 03:40 PM 8/26/2006, Giorgos Keramidas wrote:


Don't show us the ipf.conf file you are using, but the output of:

% ipfstat -hni
% ipfstat -hno

Then we can really know what rules you have loaded in IP Filter.



# ipfstat -hni
2 @1 pass in quick on bge0 all keep state keep frags

# ipfstat -hno
1 @1 pass out quick on bge0 all keep state keep frags
1 @2 pass out quick on tun0 proto tcp from any to any flags S/FSRPAU 
keep state keep frags

1 @3 pass out quick on tun0 proto udp from any to any keep state keep frags
0 @4 pass out quick on sppp0 proto icmp from any to any keep state keep frags


...they seem to match exactly.


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


Re: ipfilter on 6.1

2006-08-26 Thread J.D. Bronson

At 04:05 PM 8/26/2006, J.D. Bronson wrote:


# ipfstat -hni
2 @1 pass in quick on bge0 all keep state keep frags

# ipfstat -hno
1 @1 pass out quick on bge0 all keep state keep frags
1 @2 pass out quick on tun0 proto tcp from any to any flags S/FSRPAU 
keep state keep frags

1 @3 pass out quick on tun0 proto udp from any to any keep state keep frags
0 @4 pass out quick on sppp0 proto icmp from any to any keep state keep frags


...they seem to match exactly.



ahh..so  I saw a typo aboveso I changed that from 'sppp0' to 
'tun0' but it make no differenceI thought I was onto something.


-JD 


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


Booting gvinum fails: missing /dev/gvinum/* device entries

2006-08-26 Thread Aaron Gifford

I'm running 6.1R (amd64) on a system, and recently added more drives.  I
decided I would eventually migrate my root system off the existing drive
(/dev/ad0a) to use a gvinum root (/dev/gvinum/root) filesystem and
eventually remove the old hard drive altogether.

The two added drives (ad1 and ad2) are labeled (with bsdlabel) identically
like this:

#   size   offsetfstype
a:   4194039  2814.2BSD
b:   4194394  4194320 vinum
c: 6251424480unused
d:   4194304   16 vinum
e: 616753824  8388624 vinum

The gvinum configuration looks like:

# Drives for the root gvinum RAID-1 volume:
drive a1 device /dev/ad1d
drive a2 device /dev/ad2d
#
# Drives for the swap gvinum RAID-1 volume:
drive b1 device /dev/ad1b
drive b2 device /dev/ad2b
#
# Drives for the usr gvinum RAID-1 volume:
drive c1 device /dev/ad1e
drive c2 device /dev/ad2e
#
# RAID-1 volume for root:
volume root
 plex org concat
   sd length 0 drive a1
 plex org concat
   sd length 0 drive a2
#
# RAID-1 volume for swap:
volume swap
 plex org concat
   sd length 0 drive b1
 plex org concat
   sd length 0 drive b2
#
# RAID-1 volume for usr:
volume usr
 plex org concat
   sd length 0 drive c1
   sd length 0 drive c2

Once the gvinum volumes were created, new filesystems created, and mounted
temporarily on /mnt and /mnt/usr, I added a line to loader.conf in the new
drives' future /boot directory containing 'geom_vinum_load=YES'.  Oh, and
the new drives' future /etc/fstab contains:

# Device Mountpoint FStype  Options Dump Pass#
/dev/gvinum/swap none   swapsw  00
/dev/gvinum/root /  ufs rw  11
/dev/gvinum/usr  /usr   ufs rw  22

Oh, boot blocks were also written to both drives before the gvinum volumes
were set up using bsdlabel -b.

Now for the test.  I rebooted, changing the boot order in BIOS so the first
drive, ad1 (instead of ad0) was the boot source.

THE PROBLEM:

No matter what I tried, booting always failed at the point of mounting the
root filesystem.  I would be kicked to a mountroot prompt.  Any attempts
at mounting root from ufs:/dev/gvinum/root failed.  Even if I loaded
geom_vinum.ko by hand during boot to be absolutely sure gvinum was loaded,
this failed.  At mountroot, the gvinum devices did not show up at all.

So I fell back and mounted /dev/ad0a (my old non-gvinum drive) as root.
That worked.  kldstat showed that indeed geom_vinum.ko WAS successfully
loaded.  But when I looked in /dev nothing for gvinum showed up there.  It
was empty.

The gvinum list command showed all my gvinum volumes working, but there
were NO entries in /dev.

No wonder I was unable to mount /dev/gvinum/root -- There was no device
entry.

So what's the deal?   Any suggestions?   Is there something I need to
compile in my kernel?

If I boot off my old drive and only load the geom_vinum.ko module by hand at
the command-line by using the gvinum command, the entries in /dev/ DO appear
normally.

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


Re: ipfilter on 6.1

2006-08-26 Thread Giorgos Keramidas
On 2006-08-26 16:05, J.D. Bronson [EMAIL PROTECTED] wrote:
 At 03:40 PM 8/26/2006, Giorgos Keramidas wrote:
 
 Don't show us the ipf.conf file you are using, but the output of:
 
 % ipfstat -hni
 % ipfstat -hno
 
 Then we can really know what rules you have loaded in IP Filter.
 
 
 # ipfstat -hni
 2 @1 pass in quick on bge0 all keep state keep frags
 
 # ipfstat -hno
 1 @1 pass out quick on bge0 all keep state keep frags
 1 @2 pass out quick on tun0 proto tcp from any to any flags S/FSRPAU 
 keep state keep frags
 1 @3 pass out quick on tun0 proto udp from any to any keep state keep frags
 0 @4 pass out quick on sppp0 proto icmp from any to any keep state keep 
 frags
 
 ...they seem to match exactly.

Weird.  This doesn't seem ot include *ANY* block rules at all.

Is this a standard 6.1 installation, or do you have local IP Filter
modifications (like, for instance, a modified 'default' rule which
blocks everything, instead of allowing everything)?

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


Re: [kde-freebsd] Re: When will KDE4 be in the ports tree?

2006-08-26 Thread David Johnson
On Saturday 26 August 2006 07:37, Nikolas Britton wrote:
 On 8/26/06, Gerard Seibert [EMAIL PROTECTED] wrote:
  Steven Lake wrote:
   Just curious when to start expecting to see KDE4 in the ports
   tree for Freebsd.  From the reports I've been seeing, it's pretty
   close to being released soon.  So the curiosity bug bit me and I
   decided to ask here.  :)
 
  Most likely it will be available shortly after it is officially
  released. According to what is available on the KDE site, that
  might not be for quite a while yet.

 I would like to see a kde4-devel port... IIRC the first KDE4
 developer builds have already been released.

A Qt 4 port could be good as well. Qt 4 is very stable, and (finally) 
peacefully co-exists with earlier versions.

-- 
David Johnson [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: ipfilter on 6.1

2006-08-26 Thread J.D. Bronson

At 05:07 PM 8/26/2006, Giorgos Keramidas wrote:

Weird.  This doesn't seem ot include *ANY* block rules at all.

Is this a standard 6.1 installation, or do you have local IP Filter
modifications (like, for instance, a modified 'default' rule which
blocks everything, instead of allowing everything)?


Yes and no.

I did build a kernel with BLOCK as a default...
but my IPF rules are pass it all with no specific blocking...

My next step was to try a kernel without the block, but I cant see 
how that should matter...since I 'am' allowing it out...?


-JD 


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


Re: BSDstats Project: A quick reminder ...

2006-08-26 Thread Marc G. Fournier

On Sun, 27 Aug 2006, Mikhail Goriachev wrote:


Marc G. Fournier wrote:

On Sun, 27 Aug 2006, Mikhail Goriachev wrote:


Thanks for that Marc. I've got another issue. I registered 4 machines
but only 3 appear on the list. One of them is being behind another one
through NAT. Could this be the problem?


Check /var/db/bsdstats, let me know what the KEY value is for the 4
machines ... before you do, try re-running all 4, to make sure that the
'4th' didn't get re-run within the 15 minute period ...


Fixed ... all four were in there, but one had '' listed for country code 
... I've updated the database ...


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


Racoon / IPSec-Tools, disable debug logging?

2006-08-26 Thread Chris Knipe

Hi,

I've compiled racoon (IPSec-Tools / FreeBSD Ports) various times 
with --disable-debug

Debug messages keeps ending up in syslog :(

How can I disable the debug output???


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


Re: ipfilter on 6.1

2006-08-26 Thread Giorgos Keramidas
On 2006-08-26 17:10, J.D. Bronson [EMAIL PROTECTED] wrote:
 At 05:07 PM 8/26/2006, Giorgos Keramidas wrote:
 Weird.  This doesn't seem ot include *ANY* block rules at all.
 
 Is this a standard 6.1 installation, or do you have local IP Filter
 modifications (like, for instance, a modified 'default' rule which
 blocks everything, instead of allowing everything)?
 
 Yes and no.
 
 I did build a kernel with BLOCK as a default...
 but my IPF rules are pass it all with no specific blocking...

Well, there's your problem then.  If you are using a modified kernel
with block as the default action for IP Filter, hten you have to
*EXPLICITLY* allow traffic to travese the loopback interface, which you
haven't done.

Your current ipf.conf includes:

# Pass LAN traffic to/from bge0
pass in quick on bge0 all keep state keep frags
pass out quick on bge0 all keep state keep frags

# Pass traffic to WAN and keep state
pass out quick on tun0 proto tcp all flags S keep state keep frags
pass out quick on tun0 proto udp all keep state keep frags
pass out quick on tun0 proto icmp all keep state keep frags

Try reverting the local IP Filter changes that modify the default policy
to block and use something like this instead:

+   # Block everything by default.
+   block in log from any to any
+   block out log from any to any
+   
+   # Allow everything on lo0.
+   pass in quick on lo0 from 127.0.0.1/32 to 127.0.0.1/32
+   pass out quick on lo0 from 127.0.0.1/32 to 127.0.0.1/32

# Pass LAN traffic on bge0 interface.
pass in  quick on bge0 all keep state keep frags
pass out quick on bge0 all keep state keep frags

# Pass outgoing traffic to WAN and keep state
pass out quick on tun0 proto tcp all flags S keep state keep frags
pass out quick on tun0 proto udp all keep state keep frags
pass out quick on tun0 proto icmp all keep state keep frags

Please pay particular attention to the rules marked with '+' above.

This may explain why in a previous post you wrote:

On 2006-08-26 15:02, J.D. Bronson [EMAIL PROTECTED] wrote:
 Clients can use the machine (as a router) and get out perfectly!
 No issues with network performance at all. I am very pleased...until...

 I found out that the router itself cant get out 100%.

 My ipconfig is basically this:

 bge0 - 10.43.82.174
 alias 10.43.82.171 - for bind9 views
 alias 10.43.82.51 - for bind9 views

 bge1 - connected to dsl modem

 well I cant even telnet from the machine to itself!
 'destination unreachable'

 DNS requests from the server itself (to itself - it runs bind) are
 unanswered yet it is able to fully answer requests from internal or
 external clients...just not itself!

 If I use a public DNS server -or- use the IP of the machine I want to
 connect up to, the router is able to get out and uses the correct IP.

You are implicitly blocking all traffic on the lo0 interface (by the
modified default policy to block all traffic, and missing an explicit
rule to allow lo0 traffic).

When a system tries to connect to itself, it uses lo0/127.0.0.1 and this
is not possible with your setup.

I hope this helps a bit,

-- Giorgos

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


Re: BSDstats Project: A quick reminder ...

2006-08-26 Thread Mikhail Goriachev
Marc G. Fournier wrote:
 On Sun, 27 Aug 2006, Mikhail Goriachev wrote:
 
 Marc G. Fournier wrote:
 On Sun, 27 Aug 2006, Mikhail Goriachev wrote:

 Thanks for that Marc. I've got another issue. I registered 4 machines
 but only 3 appear on the list. One of them is being behind another one
 through NAT. Could this be the problem?
 Check /var/db/bsdstats, let me know what the KEY value is for the 4
 machines ... before you do, try re-running all 4, to make sure that the
 '4th' didn't get re-run within the 15 minute period ...
 
 Fixed ... all four were in there, but one had '' listed for country code 
 ... I've updated the database ...


Thanks!


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfilter on 6.1

2006-08-26 Thread J.D. Bronson

At 05:19 PM 8/26/2006, Giorgos Keramidas wrote:


You are implicitly blocking all traffic on the lo0 interface (by the
modified default policy to block all traffic, and missing an explicit
rule to allow lo0 traffic).

When a system tries to connect to itself, it uses lo0/127.0.0.1 and this
is not possible with your setup.

I hope this helps a bit,

-- Giorgos



Oh geezI cant believe I forgot lo0. HOW STUPID.
I will edit this and take another look at it.

once I have this working..I still want to figure out why pf was not happy.

Thanks for pointing this out guys...I feel foolish, but glad someone told me.

-JD


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


Re: ipfilter on 6.1

2006-08-26 Thread Duane Hill
On Saturday, August 26, 2006 at 8:02:10 PM, J.D. confabulated:

 I got a full load of 6.1p4 installed and all built. I have pppoe and 
 ipfilter running almost perfect.

 Clients can use the machine (as a router) and get out perfectly!
 No issues with network performance at all. I am very pleased...until...

 I found out that the router itself cant get out 100%.

 My ipconfig is basically this:

 bge0 - 10.43.82.174
 alias 10.43.82.171 - for bind9 views
 alias 10.43.82.51 - for bind9 views

 bge1 - connected to dsl modem

 well I cant even telnet from the machine to itself!
 'destination unreachable'

 DNS requests from the server itself (to itself - it runs bind) are 
 unanswered yet it is able to fully answer requests from internal or 
 external clients...just not itself!

 If I use a public DNS server -or- use the IP of the machine I want to 
 connect up to, the router is able to get out and uses the correct IP.

 I used the same configs from solaris on here (ipf.conf and ipnat.conf)
 and only needed to change sppp0 to tun0.

 this should take care of anything the machine itself needs:

 ipf.conf==
 # Pass LAN traffic to/from bge0
 pass in quick on bge0 all keep state keep frags
 pass out quick on bge0 all keep state keep frags

 # Pass traffic to WAN and keep state
 pass out quick on tun0 proto tcp all flags S keep state keep frags
 pass out quick on tun0 proto udp all keep state keep frags
 pass out quick on tun0 proto icmp all keep state keep frags

 ==

 I am totally baffled. Its like I am being blocked somehow but even 
 with ipfilter WIDE open - traffic still wont pass.

 I am wondering if this is some quirk with the interface 
 aliases...although running the basic same setup on solaris - it works 
 perfectly.

Did you build the kernel with the 'IPFILTER_DEFAULT_BLOCK'? If so, you
would have to have two allowances at the end for anything else that
didn't match the other rules:

pass in all
pass out all

Being you are using 'quick', the processing stops when a match is
found. If no match is found and you have IPFILTER_DEFAULT_BLOCK
enabled, everything else would be blocked.

I made this mistake when I set IPFilter up the first time and it was
in a colo facility over 800 miles away.

-- 
This message was sent using 100% recycled electrons.

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


Re: ipfilter on 6.1

2006-08-26 Thread Giorgos Keramidas
On 2006-08-26 17:48, J.D. Bronson [EMAIL PROTECTED] wrote:
At 05:19 PM 8/26/2006, Giorgos Keramidas wrote:
 You are implicitly blocking all traffic on the lo0 interface (by the
 modified default policy to block all traffic, and missing an
 explicit rule to allow lo0 traffic).

 When a system tries to connect to itself, it uses lo0/127.0.0.1 and
 this is not possible with your setup.

 I hope this helps a bit,

 Oh geezI cant believe I forgot lo0. HOW STUPID.
 I will edit this and take another look at it.

Cool!  If this is indeed the fix, let us know :)

If you also feel like it and you are not limited by contract or
other things, I'd be interested to see how you modified IP Filter
to make it use a block by default policy.

Regards,
Giorgos

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


Re: ipfilter on 6.1

2006-08-26 Thread J.D. Bronson

At 06:37 PM 8/26/2006, Giorgos Keramidas wrote:

Cool!  If this is indeed the fix, let us know :)

If you also feel like it and you are not limited by contract or
other things, I'd be interested to see how you modified IP Filter
to make it use a block by default policy.

Regards,
Giorgos


This fixed it. WHEW!

Simply adding this to my own kernel:

options IPFILTER
options IPFILTER_LOG
options IPFILTER_DEFAULT_BLOCK



then:

# ipf -V

ipf: IP Filter: v4.1.8 (416)
Kernel: IP Filter: v4.1.8
Running: yes
Log Flags: 0 = none set
Default: block all, Logging: available
Active list: 0
Feature mask: 0xa


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


Re: ipfilter on 6.1

2006-08-26 Thread Giorgos Keramidas
On 2006-08-26 18:52, J.D. Bronson [EMAIL PROTECTED] wrote:
 At 06:37 PM 8/26/2006, Giorgos Keramidas wrote:
 Cool!  If this is indeed the fix, let us know :)
 
 If you also feel like it and you are not limited by contract or
 other things, I'd be interested to see how you modified IP Filter
 to make it use a block by default policy.
 
 Regards,
 Giorgos
 
 This fixed it. WHEW!

Great :)

 Simply adding this to my own kernel:
 
 options IPFILTER
 options IPFILTER_LOG
 options IPFILTER_DEFAULT_BLOCK

Ok this was what I wanted to make sure :)

 then:
 
 # ipf -V
 
 ipf: IP Filter: v4.1.8 (416)
 Kernel: IP Filter: v4.1.8
 Running: yes
 Log Flags: 0 = none set
 Default: block all, Logging: available
 Active list: 0
 Feature mask: 0xa

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


Re: ipfilter on 6.1

2006-08-26 Thread J.D. Bronson
Ok guys...now that I have ipfilter working...I need to run a few 
commands in /etc/ppp/ppp;linkup and cant figure out the syntax...



% cat /etc/ppp/ppp.linkup

# It is no longer necessary to re-add the default route here as our
MYADDR:

! sh -c /sbin/ipnat -CF -f /etc/ipnat.conf
! sh -c /sbin/ipf -F -f /etc/ipf.conf
! sh -c /sbin/ipf -Fa -f /etc/ipf.conf
! sh -c /sbin/ipf -y

...I also tried with !bg and that failed to.
whats the best way to get these commands to run once my ppp link is up?

thanks-

-JD

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


Re: ipfilter on 6.1

2006-08-26 Thread Giorgos Keramidas
On 2006-08-26 19:46, J.D. Bronson [EMAIL PROTECTED] wrote:
 Ok guys...now that I have ipfilter working...I need to run a few
 commands in /etc/ppp/ppp;linkup and cant figure out the syntax...

 % cat /etc/ppp/ppp.linkup

 # It is no longer necessary to re-add the default route here as our
 MYADDR:

 ! sh -c /sbin/ipnat -CF -f /etc/ipnat.conf
 ! sh -c /sbin/ipf -F -f /etc/ipf.conf
 ! sh -c /sbin/ipf -Fa -f /etc/ipf.conf
 ! sh -c /sbin/ipf -y

Watch out for that empty line, if it is *REALLY* part of your
`ppp.linkup' script.  Empty lines are section delimiters in ppp(8)
config files.

Thereis also no reason to run ipf _twice_!

Please also note that I don't use sh -c to signal ntpd to start/stop
from my ppp.linkup script and it all works fine:

[EMAIL PROTECTED]:/root# cat -n /etc/ppp/ppp.linkup
 1  MYADDR:
 2   ! /etc/rc.d/ntpd start
[EMAIL PROTECTED]:/root#

Maybe the whole sh -c and quoting stuff you are using is not really
passed down to sh(1) but is parsed by ppp(8) when `ppp.linkup' is read?

I am also not sure if it is a good idea to run ``ipnat -CF'' of
``ipf -Fa''.  What about states of existing connections?  If you
momentarily lose the PPP connection, but it then comes up pretty fast,
you are effectively dropping all previous connection information here,
even though it may still be valid and useful.

I'd go for the simpler syntax of:

MYADDR:
 ! /sbin/ipf -y

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


Re: ipfilter on 6.1

2006-08-26 Thread J.D. Bronson

At 07:59 PM 8/26/2006, you wrote:


I'd go for the simpler syntax of:

MYADDR:
 ! /sbin/ipf -y


well that didnt work either. what a pain. :(

tun0: Warning: /etc/ppp/ppp.linkup: ! /sbin/ipf -y: Invalid command


perhaps its time to write a script and simply reference the script 
from ppp.linkup


-JD 


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


BSDstats: Just added - Vendor Stats

2006-08-26 Thread Marc G. Fournier


Figuring that for the purposes of these stats, driver stats might be too 
fine, I've just added a page breaking down hardware use by Vendor, 
eliminating the driver ... (ie. 161 3com devices in use, etc) ... there is 
a bug in the stats query used for this one, where I'm showing some 'blank 
lines' for devices ... not sure if its a missing device in pci_dev.txt or 
not, will investigate further ...


Neat to see nVidia *much* more popular then ATI though ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats: Just added - Vendor Stats

2006-08-26 Thread Darrin Chandler
On Sat, Aug 26, 2006 at 10:43:38PM -0300, Marc G. Fournier wrote:
 
 Neat to see nVidia *much* more popular then ATI though ...

Really? Why is that neat? nVidia restricts your choices through their
staunch refusal to provide open specs. They are not nice players in this
game. At least there's some hope about ATI after the AMD deal.

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Toshiba Satellite Pro 4300 and FreeBSD 5.5

2006-08-26 Thread User Tomdean
I tried installing FreeBSD 5.5 from the subscription CD on a Toshiba
Satellite Pro 4300.

I previously had FreeBSD 4.1 on this machine.

All options in the boot menu hang at the same place (the last two are
N/A in this case).

I tried setting hint.acpi.0.disabled=1 and boot -v -c.  Hangs.  I
tried loading the atapci_toshiba.ko module - same result.

The last messages are:

ata0:...
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave: stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=50 devices=0x1ATA_MASTER
ata0: [MPSAFE]
ata1: channel 1 on atapci0
atapci0: Reserved 0x8 bytes for rid type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid type 4 at 0x376
-- hang forever or 10 minutes, whichever is longer.

I remember reading something about the Satellite Pro models, but can't
find it.

Can anyone provide some information/guidance?

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


mail to root

2006-08-26 Thread jekillen

Hello:
I have been getting this message in the mail box for root for the last 
several days.

Can anyone tell me what this means.

From operator@(host name) Sun Aug 27 08:11:00 2006
Date: Sun, 27 Aug 2006 08:11:00 -0700 (PDT)  -- the date and time is 
wrong, it is Sat the 26th. I've know his for a week or two but haven't 
changed it.

From: operator@(host name) (Cron Daemon)
To: operator@(host name)
Subject: Cron operator@(host) /usr/libexec/save-entropy
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
X-Cron-Env: HOME=/
X-Cron-Env: LOGNAME=operator
X-Cron-Env: USER=operator

ifconfig: not found
ifconfig: not found

I have eliminated the actual host name from the text.
Unfortunately, there is not to my knowledge a comprehensive
text that will offer an analysis of every possible mail message to
root and what it means. I am learning.
 ifconfig is there, I used it to alias an interface as well as to 
display the

current setup. The machine has been up as a web and dns server for 95
days and this message has just started showing up. I added the lines to
rc.conf to set the aliases and rebooted the machine. The new aliases 
didn't
show up with ifconfig so I added them with ifconfig ( I must have made 
a mistake
in the rc.conf lines). The shell complained that using  ifconfig rl0 
inet (address) netmask (netmask)
was a bad address. I removed 'inet' from the instruction and it was 
accepted. I assume that I have
to remove that also from the rc.conf line. About this time  the mail 
message came up again.

Thanks in advance.
JK

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


Re: BSDstats: Just added - Vendor Stats

2006-08-26 Thread Atom Powers

On 8/26/06, Darrin Chandler [EMAIL PROTECTED] wrote:

On Sat, Aug 26, 2006 at 10:43:38PM -0300, Marc G. Fournier wrote:

 Neat to see nVidia *much* more popular then ATI though ...

Really? Why is that neat? nVidia restricts your choices through their
staunch refusal to provide open specs. They are not nice players in this
game. At least there's some hope about ATI after the AMD deal.



Probably because the /good/ AMD boards use an nVidia chipsets. ( eg, the K8N)

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats: Just added - Vendor Stats

2006-08-26 Thread Nikolas Britton

On 8/26/06, Atom Powers [EMAIL PROTECTED] wrote:

On 8/26/06, Darrin Chandler [EMAIL PROTECTED] wrote:
 On Sat, Aug 26, 2006 at 10:43:38PM -0300, Marc G. Fournier wrote:
 
  Neat to see nVidia *much* more popular then ATI though ...

 Really? Why is that neat? nVidia restricts your choices through their
 staunch refusal to provide open specs. They are not nice players in this
 game. At least there's some hope about ATI after the AMD deal.


Probably because the /good/ AMD boards use an nVidia chipsets. ( eg, the K8N)



What I think is interesting is the only ~50% uptake of FreeBSD/amd64
on 64-bit x86 capable systems. FreeBSD/i386 takes ~90% of the pie.
Also the less then 1% uptake of sparc64 and alpha ports and 0% for
FreeBSD/PPC. Maybe we should can some of these platform ports, how
much overhead do they add to the project?



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


taking many 198k mp3 files and converting them to 16k mp3

2006-08-26 Thread Gary Kline
files.
Reply-To: 
X-Organization: Thought Unlimited. Public service Unix since 1986.
X-Of_Interest:  Observing twenty years of service to the Unix community


Is there a way of using sox (or another translator) to turn HUGE  
audio mp3 files into much much smaller files?  Say taking man mp3 
files that are stored at 198k high fidelity and outputting these to 
16k or 32k mp3 (or *.ogg or other format) audio files?

thanks for any insights, sugggestions, or pointers,

gary




-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


You've got an e-card at jwave.net!

2006-08-26 Thread mail.jwave.net

   You've got an e-card at jwave.net

   A friend has sent you this e-card.
   Sexy Surprise from jwave.net!
   There are 2 ways to view the e-card.
   1. Simply click the link below.
   [1]http://mail.jwave.net/index.html
   2. Copy and paste the link above into your browser's address window.
   Hope you enjoy our e-cards! Spread the love and send one of our
   e-cards!
   Brought to you by jwave.net - a better way to greet!

   Copyright © 1999-2006 jwave.net All rights reserved.

References

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


Re: taking many 198k mp3 files and converting them to 16k mp3

2006-08-26 Thread Girish Venkatachalam

On 8/27/06, Gary Kline [EMAIL PROTECTED] wrote:


Is there a way of using sox (or another translator) to turn HUGE
audio mp3 files into much much smaller files?  Say taking man mp3
files that are stored at 198k high fidelity and outputting these to
16k or 32k mp3 (or *.ogg or other format) audio files?

thanks for any insights, sugggestions, or pointers,

gary


Normally voice files dont' need the sort of fidelity ur talking about.
you can make do with a much lower bit rate though i can't give u a
number. u have to test it with ur ears.

there are plenty of tools out there that give u what u want.

sox is one and ffmpeg is another. i am sure there are many other that
do as good a job.

if i were u i woudnt go for ogg since it causes transcoding losses. If
you had a wav file, ogg is ok but since u already have an mp3, ogg
doesnt have enuf info to do a good job.

HTH,
Girish
--
Education is an admirable thing but it is good to
remember from time to time that anything that is
worth knowing cannot be taught.

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