FreeBSD 5.3 NVIDIA-1.0.7174 GLX extension problem

2005-05-03 Thread Soheil Hassas Yeganeh
Dear All,

I have problem using NVIDIA-1.0.7174.
It failed to load GLX. What i can do for this?

This is a warnings and errors of my X.org log

(WW) NV(0): Option CursorShadow is not used
(EE) Failed to initialize GLX extension (NVIDIA X driver not found)
I have attached the complete X.org log
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATE -- Re: PHP 4.3.11 core dumps

2005-05-03 Thread Cezar Fistik
Hello, Mike.

You wrote 29 àïðåëÿ 2005 ã., 21:57:18:

 I recently upgraded to PHP 4.3.11 from Ports on my 4.9-RELEASE system,
 and I'm suddenly having troubles running PHP. Whether we're talking a
 web app or running from a command line, I get core dump errors.
 Specifically:
 
 su-2.05b# php -i
 Bus error (core dumped)
 
 And in /var/log/messages when accessing a PHP page, even one with just
 phpinfo() in it:
 Apr 29 12:41:31 jules /kernel: pid 28369 (httpd), uid 80: exited on signal 10
 
 I've seen the bus error/core dumps there too. Any ideas what could be
 causing this? Any help would be greatly appreciated!

 I downgraded to version 4.3.10 with a downloaded tgz package, and that
 got me back up and running. I noticed an error talking about rc_subr
 and expat not being current enough, so I upgraded both of those and
 recompiled/reinstalled php4-4.3.11, but still no joy. Went back to
 4.3.10 again and everything is working normally.

I had apache core dumps after upgrading to php 4.3.11 too. What I did
is uninstalling/deleting everything related to php, I mean all
extentions, zend optimizer, some libraries... After that I reinstalled
apache (probably not needed) and then php. After that everything is
working.


-- 
Regards,
Cezar  mailto:[EMAIL PROTECTED]


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


New Site: sysctl.enderunix.org

2005-05-03 Thread Omer Faruk Sen
Hi 

EnderUNIX.ORG has debuted a new site that you can add sysctl's on related OS 
(Currently FreeBSD, OpenBSD, NetBSD and Linux) 

In sysctl.enderunix.org you can add a new knob and the description of 
related knob. There is also a mailing list that you receive email when a new 
sysctl knob added.
Examples are in the website ( http://sysctl.enderunix.org ) 

Since we can't enter all the knobs available we are requesting support from 
all *BSD and Linux users. 

We also want to thank nyi.net for sponsoring us. Especially to Dina and Phil 
Koblence. 

Best Regards. I hope this site be usefull to all Open Source users. 


---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
 

First Turkish FreeBSD book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikakademi.com/freebsd.php 

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


backup with tar: Which dirs

2005-05-03 Thread v . demartino2
I have a large usb harddisk with a 60GB freebsd slice that I want to use
to backup the FreeBSD 5.4 installation on my laptop once in a while.
I think that tar is the right tool for this purpuse.

Now I ask:
What directories do *** NOT *** require to be backed up?
I know this is the case of /tmp
but what about /dev? and /var?

Ciao
Vittorio 

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


Re: Support for Alviso (Intel i915) chipset networking?

2005-05-03 Thread Nick Triantos
Anyone have any ideas?  I'm still a bit stumped as to why the stock 5.3 
fxp driver does not work with my Sonoma-based laptop.

thanks all,
-Nick
Nick Triantos wrote:
D'oh, you're right, the i915 is the graphics chip (I think, technically, 
it's the whole northbridge.  Intel is damn unclear about what functions 
are in each chip.

The Win XP drivers list the ethernet as Intel(R) PRO/100 VE
PCI ID: vendor = 8086
dev= 1068
subsys = 81d0104d
rev= 03
The marketing page about this platform is here:
http://www.intel.com/technology/itj/2005/volume09issue01/intro/p05_new_components.htm 

though it's quite substance-free.  :-|
I'll keep hunting for what could be going wrong, but any further 
pointers welcome!

thanks all,
-Nick
Kevin Kinsey wrote:
Nick Triantos wrote:
Hi,
I just bought a Sony VGN-S380 laptop, which is based on
Intel's Sonoma platform.  This includes the Intel i915
chipset.  I'm looking for ethernet (not wireless) drivers
for it, the fxp driver reluctantly loads, but doesn't
recognize that there's a compatible card in my system.

Isn't the i915 the graphics chipset?  What is known about
the NIC portion of this board?  What shows up in dmesg?
snip
  root# kldstat
  Id Refs AddressSizeName
...
   41 0xc1f23000 8000if_fxp.ko
However, ifconfig does not show an interface to this
card (it shows lo0 and fwe0, which I think is the firewire ethernet 
driver).

It is.
Any clues?  It looks like a fix has been applied to the fxp driver,
in time for rel 5.3, that should have added alviso chip support. 
Maybe I'm missing some other core logic driver, I really don't know.


Hmm, what are you referring to here?
IANAE, so please hang on in case someone (who likely isn't sitting
at their desk on a Sunday afternoon) knowledgeable comes along;
however, I see no mention of i915 either in the manpage for fxp(4),
nor can I grep Alviso or i915 in any files under /src/sys/pci or
/src/sys/net.  Google doesn't turn up much, either.
The thing is pretty new, so I'd wonder if it's supported.  You can
definitely take a look at the HCL at the website.  I'll hope for your
sake it is --- like I said, IANAE.  But, I do wonder...
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

___
freebsd-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: creating a local cvsup mirror.

2005-05-03 Thread Volker Kindermann
Hi Derrick,

I want to create a local mirror for my internal freebsd systems. I seem
to be confusing articles that are 'how to mirror' and 'how to be a
mirror'. Is there some details/info out there that could be of help? I
would have thought it would be enough to be running ports/net/cvsup-
mirror would be enough on the server, and then the clients here would
use 'cvsup -h my_cvs_server ports-all' but I end up seeing:
May  2 12:40:49 cvs cvsupd[57822]: =3 Unknown collection ports-all
So if someone can clarify/point/whatever, much appreciated.
I did exactly the same as you want. I used the following article as a 
guideline:

http://www.onlamp.com/pub/a/bsd/2001/08/30/Big_Scary_Daemons.html
 -volker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How does one bootstrap DNS

2005-05-03 Thread Svein Halvor Halvorsen

* Jim Freeze [2005-05-02 15:31 -0500]
  Suppose I own two domains: abc.com and xyz.org.
  I want to host these domains myself and have them provide
  the primary and secondary name servers for each other.
  
  Is this possible? Seems kind of circular.
  
  In theory I would have ns1.abc.com to map to the IP of abc.com and
  ns2.abc.com to map to the IP of xyz.org.
  This will give me my primary and secondary name servers.


I currently only have one computer on my domain, and it provides dns 
lookups for itself (and virtual servers)[1]

So if you ask the dotorg root name servers what is the address of the 
name example.org, it would respond ns.example.org. So how do does that 
help you? Enter the world of glue records! The root servers carry a copy 
of the a-records for your ns-records in case your name servers are 
self-hosted.

Your registrar should offer you the option to register nameserver or 
something like that. Then, you could easily enter the name of your newly 
registered nameserver as the nameserver of your domain.


Svein Halvor


[1] One could argue that I should have at least two name servers, but why 
should I need greater redundancy on my name servers, than I have on my 
other services? If my dns is down, so is my mail, and am in the mercy of 
the sender to keep retrying anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: blocking MAC address with ipfw ?

2005-05-03 Thread Sandy Rutherford
 On Mon, 02 May 2005 20:26:03 -0700, 
 John Pettitt [EMAIL PROTECTED] said:

  faisal gillani wrote:
  faisal gillani wrote:
  
  how can i block a MAC address with ipfw ?
  can you share the syntax please ?
  
  
  thanks
  
  man ipfw reveals ...

  { MAC | mac } dst-mac src-mac
   Match packets with a given dst-mac and src-mac addresses,
  speci-
  ...

You also need to make sure that the sysctl variable
net.link.ether.ipfw is set to 1 to enable layer 2 checks.

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


Re: QPL vs GPL for QT and derivatives

2005-05-03 Thread Miguel Mendez
On Tue, 3 May 2005 03:16:17 +0200
Danny Pansters [EMAIL PROTECTED] wrote:

 QT and derivs have either the GPL (2) or QPL license but we have and use the 
 GPL one.
 
 First question: do they differ in distribution, eg x11-gpl versus the qpl 
 version? I never tried but I'm sure someone did/knows/asked.

No, it's what the developer chooses. If you're going to develop a
closed source app like Opera you have you purchase a license. If you
intend to write a GPL'd app then you abide by the GPL, and if you
want to write a BSDL'd program you abide by the QPL. The source
code is the same.

 Second question: if they are the same source wise, the QPL seems a lot more 
 BSD-like: it basically says: can use if not commercial without disclosing 
 source, should one want to. In essence any BSD app under QT should live 
 happily under that, the burden is on the person who would want to use that 
 code next _and_ it could be GPL'ed at any time if she wants to, with the 
 original being left QPL'ed which for us basically means BSD'ed as long as not 
 commercial (and it's not like the fees will starve you if you want them).

Yes, you cannot take a BSDL'd QT app and close the source without
buying a QT license. WRT licensing, if your code is going to be BSD you
have no choice but use the QPL version, since the GPL one would force
you to release your code under the GPL as well. Another interesting
point, and something some GPL advocates fail to understand a lot of
times, is that you cannot relicense code you didn't write. If a GPL
zealot takes a BSD app and tries to 'save it' by releasing a derivative
under the GPL, only his modifications will be under said license, the
original (C) and license still remain.

 Third: if they are not the same source wise, does anyone have any idea if 
 it's 
 a huge leap and perhaps (implied) a regression, in that case it's likely out 
 of the question for practical reasons alone.

The source code is the same.
 
 Thus I'm wondering, are there technical problems or philosophical ones with 
 using the QPL rather than GPL with qt? Perhaps it just never came up, or 
 people don't find it important. I personally think the QPL is rather fair and 
 generous. From a BSDL standpoint it may be preferred over GPL2 (If GPL3 gets 
 as bad as some fear it will never be widespread adapted, we shouldn't worry 
 about GPL3 IMHO, and neither will it be so bad). What are your opinions/added 
 knowledge or facts or thoughts on this?

I don't see any technical problems, i.e. the QPL version is not
crippled in any way. On the philosophical side of things, it's up to
you. If you want to release your code under the BSD license you have to
abide by the QPL. The GPL2 vs GPL3 is a can of worms I'm not going to
open :)

 Some may find it nitpicking, and perhaps it is, but I'd still like to hear 
 some opinions on this anyhow. I could get the bare info by (quite a long) 
 google probably but I'm also interested in hearing opinions. This is an 
 opinionated subject anyway, I know. 

Considering that you've asked in a FreeBSD mailing list I'd expect the
BSD license to be favored here. FWIW, there are several QT apps in the
ports tree released under the BSD license. Off the top of my head,
sysutils/barry, x11-themes/qinx and sysutils/thefish's QT frontend.
Surely there are more out there. ISTR some parts of KDE are under the
BSDL as well.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpEBo3uyNxet.pgp
Description: PGP signature


cannot get apache to start

2005-05-03 Thread Marcel Stangenberger
Hi All,

i upgraded my ports tree this weekend and started a rebuild of apache13+modssl 
and php4 (with extensions)

Now i can't get the *(#!($ thing to work anymore, i keep getting coredumps

I thought it could simply be a problem because i used modssl so i switched to 
apache13 without modssl. I also tried to use php5 instead of 4 but it all does 
net help.

I attached the httpd.conf

These are the installed packages : 

apache-1.3.33_1 The extremely popular Apache http server.  Very fast, very
autoconf-2.53_3 Automatically configure source code on many Un*x platforms
autoconf-2.59_2 Automatically configure source code on many Un*x platforms
automake-1.5_2,1GNU Standards-compliant Makefile generator (version 1.5)
bash-2.05b.007_3The GNU Bourne Again Shell
bison-1.75_2A parser generator from FSF, (mostly) compatible with Yacc
cclient-2004c1_1,1  Mark Crispin's C-client mail access routines
curl-7.13.1_1   Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cvsup-without-gui-16.1h_2 General network file distribution system optimized for
 CVS
expat-1.95.8_1  XML 1.0 parser written in C
ezm3-1.2Easier, more portable Modula-3 distribution for building CV
fontconfig-2.2.3,1  An XML-based font configuration API for X Windows
freetype2-2.1.9 A free and portable TrueType font rendering engine
gettext-0.14.1  GNU gettext package
gmake-3.80_2GNU version of 'make' utility
imake-6.8.2 Imake and other utilities from X.Org
jpeg-6b_3   IJG's jpeg compression utilities
libgmp-4.1.4A free library for arbitrary precision arithmetic
libiconv-1.9.2_1A character set conversion library
libltdl-1.5.10  System independent dlopen wrapper
libmcrypt-2.5.7_1   Multi-cipher cryptographic library (used in PHP)
libtool-1.3.5_2 Generic shared library support script (version 1.3)
libtool-1.5.10_1Generic shared library support script (version 1.5)
libxml2-2.6.19  XML parser library for GNOME
lynx-2.8.5  A non-graphical, text-based World-Wide Web client
m4-1.4.3GNU m4
mod_php5-5.0.4_1,1  PHP Apache Module
mysql-client-4.1.11_1 Multithreaded SQL database (client)
mysql-server-4.1.11_1 Multithreaded SQL database (server)
perl-5.8.6_2Practical Extraction and Report Language
php5-bcmath-5.0.4_1 The bcmath shared extension for php
php5-bz2-5.0.4_1The bz2 shared extension for php
php5-calendar-5.0.4_1 The calendar shared extension for php
php5-ctype-5.0.4_1  The ctype shared extension for php
php5-curl-5.0.4_1   The curl shared extension for php
php5-dom-5.0.4_1The dom shared extension for php
php5-exif-5.0.4_1   The exif shared extension for php
php5-extensions-1.0 A meta-port to install PHP extensions
php5-ftp-5.0.4_1The ftp shared extension for php
php5-gd-5.0.4_1 The gd shared extension for php
php5-gettext-5.0.4_1 The gettext shared extension for php
php5-gmp-5.0.4_1The gmp shared extension for php
php5-iconv-5.0.4_1  The iconv shared extension for php
php5-imap-5.0.4_1   The imap shared extension for php
php5-mcrypt-5.0.4_1 The mcrypt shared extension for php
php5-mysql-5.0.4_1  The mysql shared extension for php
php5-ncurses-5.0.4_1 The ncurses shared extension for php
php5-pcre-5.0.4_1   The pcre shared extension for php
php5-posix-5.0.4_1  The posix shared extension for php
php5-readline-5.0.4_1 The readline shared extension for php
php5-recode-5.0.4_1 The recode shared extension for php
php5-session-5.0.4_1 The session shared extension for php
php5-simplexml-5.0.4_1 The simplexml shared extension for php
php5-sockets-5.0.4_1 The sockets shared extension for php
php5-sysvmsg-5.0.4_1 The sysvmsg shared extension for php
php5-sysvsem-5.0.4_1 The sysvsem shared extension for php
php5-sysvshm-5.0.4_1 The sysvshm shared extension for php
php5-tokenizer-5.0.4_1 The tokenizer shared extension for php
php5-xml-5.0.4_1The xml shared extension for php
php5-zlib-5.0.4_1   The zlib shared extension for php
pkg_remove-1.1  Utility to uninstall packages
pkgconfig-0.17.2A utility to retrieve information about installed libraries
png-1.2.8_1 Library for manipulating PNG images
pure-ftpd-1.0.20_3  A small, easy to set up, fast and very secure FTP server
recode-3.6_4Converts files between character sets and usages
screen-4.0.2_1  A multi-screen window manager
t1lib-5.0.1,1   A Type 1 Rasterizer Library for UNIX/X11
tcl-8.4.7,1 Tool Command Language
wget-1.8.2_7Retrieve files from the Net via HTTP and FTP
xorg-libraries-6.8.2 X11 libraries and headers from X.Org


ServerType standalone
ServerRoot /usr/local
#LockFile /var/run/httpd.lock
PidFile /var/run/httpd.pid
ScoreBoardFile /var/run/httpd.scoreboard
ResourceConfig /dev/null
#AccessConfig /dev/null
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 10
MaxSpareServers 20
StartServers 10
MaxClients 150
MaxRequestsPerChild 0
BindAddress *
LoadModule 

Re: NFS mounting

2005-05-03 Thread Xian
On Friday 29 April 2005 12:52, Vyacheslav Druzhinin wrote:
 Hello freebsd-questions,

   I've added the nfs mounting point on my workstation to the /etc/fstab
 like this: nfs.myserver.com:/usr/ports /usr/ports nfs 0 0

   When nfs.myserver.com is reachable everything is ok. But if
   nfs.myserver.com is down my workstation can't startup and hangs on
   at boot screen until nfs.myserver.com become up.

   Is it possible to skeep the mounting of nfs volume when nfs server
   is not reachable?


 With best regards,  [MCP, MCSD]
 Vyacheslav  mailto:[EMAIL PROTECTED]
 Origin: --= DVG_Lab =--


The bg option would background the mount and it would try every minute till it 
works. man mount_nfs explains all.

-- 
/Xian

Kind words can be short and easy to speek but their echos are truly endless
Mother Theresa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing DCOM98 with Wine

2005-05-03 Thread Chris Hodgins
Hi,

I have the latest Wine and Winetools installed and I am now trying to
install DCOM98 with the purpose of installing internet explorer 6 for
my web development needs.

I have downloaded DCOM98.exe and ie6setup.exe into my
/root/.wine/dosdevices/c:/ directory and then to install DCOM98 I do
the following:

(Note that I have followed advice by this site:
http://patrick.spacesurfer.com/ie_wine_install.html)

[EMAIL PROTECTED]:~/.wine/dosdevices/c:# export WINEDLLOVERRIDES=ole32=n
[EMAIL PROTECTED]:~/.wine/dosdevices/c:# wine dcom98
fixme:file:get_default_drive_device auto detection of DOS devices not
supported on this platform
fixme:ntdll:NtQueryVolumeInformationFile device info not properly
supported on this platform
err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not available
err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not available
err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not available
fixme:ntdll:NtQueryVolumeInformationFile device info not properly
supported on this platform
err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not available
err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not available
err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not available
err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not available

Durring this time I get a box asking me if I want to install DCOM98,
which I reply yes to.  I then have to agree to a EULA, which I do.  It
then starts copying the files and then it pops a message box up saying
Error loading SETUPAPI.DLL.  If I look for this file:

[EMAIL PROTECTED]:~/.wine/dosdevices/c:# find . | grep -i setupapi.dll
./setupapi.dll.so

Any help getting this working would be great.

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


Full backup

2005-05-03 Thread Aguiar Magalhaes
Hi list,

I´m using FreeBSD 5.3 - Release and I´d like to known
how to make a full backup (image) of my HD scsi.

With Linux machines I´ve used Norton Ghost to make a
image from HD. If I had a crash in my HD, I restore
the image in a few minutes.

How can I to proceed in FreeBSD ?

Aguiar





Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.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: Full backup

2005-05-03 Thread Andy Firman
On Tue, May 03, 2005 at 10:14:20AM -0300, Aguiar Magalhaes wrote:
 Hi list,
 
 I?m using FreeBSD 5.3 - Release and I?d like to known
 how to make a full backup (image) of my HD scsi.
 
 With Linux machines I?ve used Norton Ghost to make a
 image from HD. If I had a crash in my HD, I restore
 the image in a few minutes.
 
 How can I to proceed in FreeBSD ?

From the handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Hello!

In an effort to balance the awareness and usage of free and open
source among the world's population, I am trying to obtain as many
open source masterplans (in PDF) as possible. I plan to have them
translated, revised and compiled into one masterplan above all
masterplans which I can then distribute to people who would need
it more than others, such as poor countries, etc.

These can either originate from:

1. Governments
2. Universities and RD agencies
3. Private Institutions

Do you have any?
Do you know how to obtain one from your country?

Please send them to me,
and thank you for listening!

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


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

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


Re: Full backup

2005-05-03 Thread Roberto [khazad-dum]
Begin replayed message:

On Tue, 3 May 2005 10:14:20 -0300 (ART)
Aguiar Magalhaes [EMAIL PROTECTED] wrote:

With Linux machines I´ve used Norton Ghost to make a
image from HD. If I had a crash in my HD, I restore
the image in a few minutes.

If you have 2 pair of disks, try gmirror (raid-1 software)

How can I to proceed in FreeBSD ?

How to establish a RAID-1 for the system partitions
http://people.freebsd.org/~rse/mirror/

Or a fast way:
http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HP PSC 1350 and hpoj and usb

2005-05-03 Thread Lars Eighner
I am trying to enable the scanning functions on an HP PSC 1350
all-in-one printer.
The print functions work with hpijs/cups/foomatic-filters.
I have installed hpoj, but ptal-init cannot find the scanner.
The problem seems to be that the scan functions get improperly
attached at boot time.
This is my system (uname -a output)
FreeBSD goodwill.io.com 5.4-STABLE FreeBSD 5.4-STABLE #5:\
 Mon Apr 25 09:39:03 CDT 2005\
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
The kernel is generic with USB 2.0 enabled
These appear to be the relevant parts of dmesg
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: VIA VT6202 USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
ulpt0: hp psc 1300 series, rev 2.00/1.00, addr 2, iclass 255/204
ulpt0: using bi-directional mode
### printer function found
umass0: hp psc 1300 series, rev 2.00/1.00, addr 2
### evidently umass identifies the scanner functions as a mass storage
### device  (which is the right answer for the photo card when in the
### camera, but evidently is not correct for the psc.
da0 at umass-sim0 bus 0 target 0 lun 0
da0: HP  1.00 Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6

### attached as a mass storage device at da0, umass continues to
### get wrong answers for the psc 1350
Any help would be appreciated.
--
Lars Eighner
[EMAIL PROTECTED]
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Full backup

2005-05-03 Thread bob
I use Norton Ghost on my FreeBSD systems.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Aguiar
Magalhaes
Sent: Tuesday, May 03, 2005 9:14 AM
To: freebsd-questions@freebsd.org
Subject: Full backup


Hi list,

I´m using FreeBSD 5.3 - Release and I´d like to known
how to make a full backup (image) of my HD scsi.

With Linux machines I´ve used Norton Ghost to make a
image from HD. If I had a crash in my HD, I restore
the image in a few minutes.

How can I to proceed in FreeBSD ?

Aguiar





Yahoo! Acesso Grátis - Internet rápida e grátis.
Instale o discador agora! http://br.acesso.yahoo.com/
___
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: Full backup

2005-05-03 Thread Steven Enderle
To hear that from someone with email address @a1poweruser.com makes me ill
have a nice day
Steven
--
++ message delivered by gizm0.org http://gizm0.org/
++ free webmail - imap, pop3, ssl secured
[EMAIL PROTECTED] wrote:
I use Norton Ghost on my FreeBSD systems.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Aguiar
Magalhaes
Sent: Tuesday, May 03, 2005 9:14 AM
To: freebsd-questions@freebsd.org
Subject: Full backup
Hi list,
I´m using FreeBSD 5.3 - Release and I´d like to known
how to make a full backup (image) of my HD scsi.
With Linux machines I´ve used Norton Ghost to make a
image from HD. If I had a crash in my HD, I restore
the image in a few minutes.
How can I to proceed in FreeBSD ?
Aguiar


Yahoo! Acesso Grátis - Internet rápida e grátis.
Instale o discador agora! http://br.acesso.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


VPN through a FreeBSD firewall?

2005-05-03 Thread Per B

Hello all!

I have a small network at home which I am upgrading speedwise, i.e. I am
about to go from 8 Mbit to 24 Mbit (ADSL2) on the WAN side. I intend then
to use my FreeBSD 5.3 box as a firewall/NAT/proxy server.

Two questions:

First, the big one: I sometimes work from home. Then I connect to the
office from my XP laptop via a VPN tunnel (today I have a ZyXEL G2000 as
fw/nat/router). So, if I put the FreeBSD box in place of the ZyXEL and the
FreeBSD does ipfw/nat, will it still work with the VPN stuff? N.B., the
FreeBSD box will not do the VPN stuff, just pass it through! I am using
the Cisco client on the laptop if that matters.

Like this:

laptop with vpn - FreeBSD with two network interfaces - ADSL modem - NET

Anyone knows what happens if I put the ZyXEL as a wireless router between
the laptop and FreeBSD; would VPN work then? VPN passes through the ZyXEL
today without problem but can it pass through the two boxes?

Second question: someone told me that the ZyXEL cannot handle 24 Mbit,
therefor I want to use the FreeBSD box instead. Can FreeBSD handle 24Mbit
from the ADSL modem? I think it can, anyone against? ;-)

TIA!

-- 
Per Berger   /\ASCII Ribbon Campaign
 \ /No HTML/RTF in e-mail
http://www.stortsett.se/  X No Word docs in e-mail
http://hav.just.nu/  / \Respect for open standards

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


Re: VPN through a FreeBSD firewall?

2005-05-03 Thread J. Martin Petersen
Per B wrote:
 Second question: someone told me that the ZyXEL cannot handle 24 Mbit,
 therefor I want to use the FreeBSD box instead. Can FreeBSD handle 24Mbit
 from the ADSL modem? I think it can, anyone against? ;-)

We're using a FreeBSD 5.3 machine with pf and AltQ as our
firewall/gateway/nat-solution for our 26 MBit link. We have about 1000
users, and it works flawlessly, but I guess it depends on what kind of
hardware you're using.

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


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz
J.C. Roberts,

Where did this come from?

 What qualifications do you have that will convince us to believe you
 are able to just understand a single master plan, let alone properly
 combine all of them? Perhaps posting your IQ score would be
 sufficient.

You seem to be against the less fortunate.

Maybe you are a jew?
The one who men threw?
Go back to the zoo and start your argue. Only to find out.
Your head deserves my jackscrew.
Followed by some voodoo.
Ask your mom for the blood-wipe tissue.
No more IQ.

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


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

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


Re: OPEN SOURCE MASTERPLANS

2005-05-03 Thread mario . lobo
   //|  //||
  // | // ||
-//--//---|| ARIO LOBO
//  //||
-
[EMAIL PROTECTED]
http://www.ipad.com.br

What is your interest? Who do you work for? A lot of people in poor and 
developing countries are
already aware that they should move towards open source, and they themselves 
keep up with those
master plans everyday, despite of microsoft´s expensive gifts and strong 
efforts to keep those
countries away from FS.

How do we know you´re not working  for Mr. Bill ?
--
   //|  //||
  // | // ||
-//--//---|| ARIO LOBO
//  //||
-
[EMAIL PROTECTED]
http://www.ipad.com.br


On 3 May 2005 at 8:24, Fafa Hafiz Krantz wrote:


 Hello!

 In an effort to balance the awareness and usage of free and open
 source among the world's population, I am trying to obtain as many
 open source masterplans (in PDF) as possible. I plan to have them
 translated, revised and compiled into one masterplan above all
 masterplans which I can then distribute to people who would need
 it more than others, such as poor countries, etc.

 These can either originate from:

 1. Governments
 2. Universities and RD agencies
 3. Private Institutions

 Do you have any?
 Do you know how to obtain one from your country?

 Please send them to me,
 and thank you for listening!

 --

 Fafa Hafiz Krantz
   Senior Designer @ http://www.home.no/barbershop
   Furious @ http://www.home.no/barbershop/smart/sharon.pdf


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

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


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


Re: OPEN SOURCE MASTERPLANS

2005-05-03 Thread J.C. Roberts
On Tue, 03 May 2005 08:24:56 -0500, Fafa Hafiz Krantz
[EMAIL PROTECTED] wrote:

Hello!

In an effort to balance the awareness and usage of free and open
source among the world's population, I am trying to obtain as many
open source masterplans (in PDF) as possible. I plan to have them
translated, revised and compiled into one masterplan above all
masterplans which I can then distribute to people who would need
it more than others, such as poor countries, etc.

These can either originate from:

1. Governments
2. Universities and RD agencies
3. Private Institutions

Do you have any?
Do you know how to obtain one from your country?

Please send them to me,
and thank you for listening!


Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


What qualifications do you have that will convince us to believe you
are able to just understand a single master plan, let alone properly
combine all of them? Perhaps posting your IQ score would be
sufficient.

There is a free test available here:
http://www.iqtestforfree.com

Good Luck!

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


Re: How does one bootstrap DNS

2005-05-03 Thread Jim Freeze
Svein Halvor Halvorsen wrote:
[snippage]

I currently only have one computer on my domain, and it provides dns
lookups for itself (and virtual servers)[1]
[snippage]

[1] One could argue that I should have at least two name servers, 
but why
should I need greater redundancy on my name servers, than I have on my
other services? If my dns is down, so is my mail, and am in the mercy of
the sender to keep retrying anyway.
Yes, exactly. Is it permissable for ns1 and ns2 to point to the same IP 
address?

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


Re: My BIND is tWisted!!!

2005-05-03 Thread Giorgos Keramidas
On 2005-05-01 14:57, Fafa Diliha Romanova [EMAIL PROTECTED] wrote:
Ed Stover [EMAIL PROTECTED] wrote:
 First off, what have you done with that machine before it stopped
 working? when you try to start named does it produce any error
 messages?

 You are not being helpful. lol, try this
 /usr/local/etc/rc.d/bind start
 ps -ax |grep named
   Now is there a named running?

 Hehe :) Yeah  named is running.

 /etc/rc.d/named start  ps -ax | grep named:

   247  ??  Ss 0:00.79 /usr/sbin/syslogd -l /var/run/log -l 
 /var/named/var/run/log -s
   261  ??  Ss 0:37.36 /usr/sbin/named -u bind -t /var/named

Please do __NOT__ post your reply on top of a long quoted part of the
original.  Both top-posting and failing to trim quoted material to the
absolutely minimum necessary size are considered bad netiquette on
this list.

Having said that, you can check your /var/log/messages for interesting
bits sent there by the named process as it starts:

# tail -f /var/log/messages | grep named

Then, restart your named and watch for interesting output.

For extra bonus points, you can add a special named entry in your
/etc/syslog.conf file:

!named
*.* /var/log/named.log

which will direct only the messages from named to a special log file.
Remember to restart syslogd after you add this to syslog.conf and then
use tail -f on the named.log file to watch for named output.

Then, after having all the necessary information from a named reload,
you may have more hints and/or clues about what's wrong.

- Giorgos

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


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Mario,

Nice ASCII logo.

I work for poor people through UNDP.
I am not a government nor Microsoft employee.

(Ask Bill)

 A lot of people in poor and developing countries are already
 aware that they should move towards open source, and they 
 themselves keep up with those master plans everyday ...

That is true.

They know they should move. But they do not really know how.
I have seen the quality of many 3rd world country masterplans.
They are poorly presented; their language and formatting is
bad; and most of them aren't based on facts.

Western masterplans are more decent and sustainable. If they
were to be adapted to 3rd world conditions, perhaps the
situation would progress angular, and 3rd world people
wouldn't have to struggle to keep up with their masterplans.

Thank you for replying, Mario.

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


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

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


Re: My BIND is tWisted!!!

2005-05-03 Thread Fafa Hafiz Krantz

 Please do __NOT__ post your reply on top of a long quoted part of the
 original.  Both top-posting and failing to trim quoted material to the
 absolutely minimum necessary size are considered bad netiquette on
 this list.

Sorry!


 Having said that, you can check your /var/log/messages for interesting
 bits sent there by the named process as it starts:
 
   # tail -f /var/log/messages | grep named
 
 Then, restart your named and watch for interesting output.
 
 For extra bonus points, you can add a special named entry in your
 /etc/syslog.conf file:
 
   !named
   *.* /var/log/named.log
 
 which will direct only the messages from named to a special log file.
 Remember to restart syslogd after you add this to syslog.conf and then
 use tail -f on the named.log file to watch for named output.
 
 Then, after having all the necessary information from a named reload,
 you may have more hints and/or clues about what's wrong.

There has never been anything interesting in /var/log, I am afraid.
My world and kernel are making to solve this problem, though :)

http://lists.freebsd.org/pipermail/freebsd-questions/2005-May/085943.html

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


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

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


Re: backup with tar: Which dirs

2005-05-03 Thread Roland Smith
On Tue, May 03, 2005 at 09:32:10AM +0200, [EMAIL PROTECTED] wrote:
 I have a large usb harddisk with a 60GB freebsd slice that I want to use
 to backup the FreeBSD 5.4 installation on my laptop once in a while.
 I think that tar is the right tool for this purpuse.

You could also use dump, combined with bzip2. If you want to use tar,
use gtar with the  --one-file-system option.

 Now I ask:
 What directories do *** NOT *** require to be backed up?
 I know this is the case of /tmp 
 but what about /dev? and /var?

The /dev/ directory is filled automagically. You don't have to back it
up. I would make a backup of /var, since things like your ports database
and mail queue reside there.

In short; back up /, /usr and /var, and /home if you have that on a
seperate slice.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpYtDvHxscXI.pgp
Description: PGP signature


sound absent

2005-05-03 Thread Eugene M. Minkovskii
Hello people!

I'm using HP motherboard with integrated audio chipset, and I
made statically kernel.

So, I wrote in my kernel configuration:

device  sound
device  snd_ich

and

NO_MODULES=yes

in /etc/make.conf.  Then I make kernel and reboot.

Now I see following:

$ dmesg | grep pcm0
pcm0: Intel ICH5 (82801EB) port 0xd400-0xd43f,0xd800-0xd8ff mem 
0xfe77b400-0xfe77b4ff,0xfe77b800-0xfe77b9ff irq 17 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: Unknown AC97 Codec (id = 0x41445368)
pcm0: Intel ICH5 (82801EB) port 0xd400-0xd43f,0xd800-0xd8ff mem 
0xfe77b400-0xfe77b4ff,0xfe77b800-0xfe77b9ff irq 17 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: Unknown AC97 Codec (id = 0x41445368)

I have not idea about why this information present in dmesg two
times... But it's not important, perhaps.

$ pciconf -lv
...
[EMAIL PROTECTED]:31:5: class=0x040100 card=0x218114a4 chip=0x24d58086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller'
class= multimedia
subclass = audio
...

and finally:

$ cat /dev/sndstat 
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Intel ICH5 (82801EB) at io 0xfe77b800, 0xfe77b400 irq 17 bufsz 16384  
(1p/1r/0v channels duplex default)

Great! It seemes to all be okay!

But there are silenice in my headphones :( Have you any idea?


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


createing users homedir on first login

2005-05-03 Thread Gerhard Schmidt
Hi,

I have set up some FreeBSD 5 Workstations and configured nss to get the 
accounts from ldap. Pam is also set up to work with ldap. Everything so 
far is runningnperfectly smooth. The problem is the workstations don`t have
a shared filesystem. Each user should have an seperate homedir on every 
workstation. 

I tried to use pam_exec to create the homedir on the first login. But it
seams there is now way of knowing who is logging. I've even tried 
to use pw usershow -a to get all users and create all homedirs but 
pw usershow -a don't report any users when started from a shellscript 
called by the pam_exec module. 

Anyone successfully implemented a system to create homedirs on the fly. 

bye
Estartu


Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | E-Mail: [EMAIL PROTECTED] |   auf Anfrage/
Germany||on request



pgp7vWPDIuOPS.pgp
Description: PGP signature


Re: OPEN SOURCE MASTERPLANS

2005-05-03 Thread Timo Schoeler
please stop posting this!

Nice ASCII logo.
 
 I work for poor people through UNDP.

one more proof that there i) are wrong people in the wrong places and
ii) much money is being wasted.

 I am not a government nor Microsoft employee.

shouldn't make a difference as money rules the world (*cough*)... so
your employer is meaningless (even if it's any UN subsidiary -- the UN
is meaningless, please look at the US spreading war all over the world,
the UN doing nothing against it. and no, it's not the 'terror' they're
fighting -- the real terror comes from the US -- it's the fight for
'their oil'... bastards)!

 
 (Ask Bill)
 
 
A lot of people in poor and developing countries are already
aware that they should move towards open source, and they 
themselves keep up with those master plans everyday ...
 
 
 That is true.
 
 They know they should move. But they do not really know how.
 I have seen the quality of many 3rd world country masterplans.
 They are poorly presented; their language and formatting is
 bad; and most of them aren't based on facts.
 
 Western masterplans are more decent and sustainable. If they
 were to be adapted to 3rd world conditions, perhaps the
 situation would progress angular, and 3rd world people
 wouldn't have to struggle to keep up with their masterplans.
 

blabla.

it's not the lame presentation of even lamer masterplans that makes
hundreds of thousands of people in the 3rd world die of hunger and
deseases every month, no, it's that fucking capitalism!

you are in one of many key positions to change this. do something! and
please stop driveling!

 
 --
 
 Fafa Hafiz Krantz
   Senior Designer @ http://www.home.no/barbershop
   Furious @ http://www.home.no/barbershop/smart/sharon.pdf

cheers,

timo (communist, vegetarian, open source dev, blablabla)

-- 
Timo Schoeler | http://macfinity.net/~tis | [EMAIL PROTECTED]
//macfinity -- finest IT services | http://macfinity.net
Key fingerprint = F844 51BE C22C F6BD 1196  90B2 EF68 C851 6E12 2D8A

There are 10 types of people in the world. Those who understand binary
and those who don't.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Timo,

 please stop posting this!

Get your weak wood out of my wheels!
I fight poverty to avoid ending up like you.

  I work for poor people through UNDP.
 
 one more proof that there i) are wrong people in the wrong places and
 ii) much money is being wasted.

There are good people in the UNDP.

 it's not the lame presentation of even lamer masterplans that makes
 hundreds of thousands of people in the 3rd world die of hunger and
 deseases every month, no, it's that fucking capitalism!

Masterplans don't kill people!
Masterplans help them survive!

 you are in one of many key positions to change this. do something! and
 please stop driveling!

Stop trolling.

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


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

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


Re: Domain Name in postfix on a Local Network

2005-05-03 Thread Lowell Gilbert
Bill Schmitt (SW) [EMAIL PROTECTED] writes:

 I've been struggling through setting up a mail server on my home
 network, with the goal to be running an imap server. As I've indicated
 on some other related postings I've made, networking is probably my
 weakest side and I need a little help.
 
 I have no real internet name for the box, which I call schfrbsd
 (named with a dot at the end in rc.conf hostname=schfrbsd.). Using
 that name, I've managed to get Samba working and a local web server,
 but when I come to mail, I get confused. The network is made up of a
 bunch of XP Home Machines, the FreeBSD 4.9 machine, and a Netgear
 Router/Firewall that also runs DHCP. I don't think it's relevant here,
 but the workgroup name I use for Samba and Windows Peer Networking is
 olympia. The router is called schrout, if that helps.

If the router can do DNS as well as DHCP, that will help you out a lot.

 When I come to configuring postfix, there are entries for myhostname
 and mydomain. I believe myhostname should be schbsd. What do I use for
 mydomain? Where should I be naming the domain?

myhostname will default to whatever hostname(1) says.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.3 NVIDIA-1.0.7174 GLX extension problem

2005-05-03 Thread Lowell Gilbert
Soheil Hassas Yeganeh [EMAIL PROTECTED] writes:

 I have problem using NVIDIA-1.0.7174.
 It failed to load GLX. What i can do for this?
 
 This is a warnings and errors of my X.org log
 
 (WW) NV(0): Option CursorShadow is not used
 (EE) Failed to initialize GLX extension (NVIDIA X driver not found)
 I have attached the complete X.org log

It turns out that you have not.

My guess is that you need to use the nvidia driver (available from
ports) instead of the nv one that comes with X.org.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Mimedefang] Installing on FreeBSD

2005-05-03 Thread Lisa Casey
Hi,
Ok but this basically sucks. I'm sure I should be installing from ports. But 
I don't seem to be able to do that, and I do know how to install source 
files.

When I try  to do a pkg_add to install the mimedefang  port that I've 
downloaded from freebsd.org, I get this:

radius# pkg_add -r mimedefang.tar.gz
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4
-stable/Latest/mimedefang.tar.gz.tgz: File unavailable (e.g., file not 
found, no
access)
pkg_add: unable to fetch 
`ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-
4-stable/Latest/mimedefang.tar.gz.tgz' by URL

So I moved the tarball over to /usr/ports/distfiles, extracted it and ran 
make. That resulted in:

radius# more distinfo
MD5 (mimedefang-2.51.tar.gz) = 9c4df4ec349e414f893c940ff563bea5
SIZE (mimedefang-2.51.tar.gz) = 302006
radius# make
Makefile, line 53: Malformed conditional (${PERL_LEVEL}  500601)
Makefile, line 53: Need an operator
Makefile, line 55: if-less endif
Makefile, line 55: Need an operator
make: fatal errors encountered -- cannot continue
At this rate it'll be forever before I get mimedefang installed and in the 
meantime I have customers upset because they are receiving unacceptable 
levels of spam. Surely someone can help me out with installing mimedefang 
from source and getting this sendmail stuff I have questions about working.

Of course, if someone  wants to tell me what I'm doing wrong in trying to 
install this as a package and howe to do it right, that would be OK too :-)

I'm going to CC  this to the FreeBSD list in case someone on that list might 
be able to help.

Thanks,
Lisa Casey

- Original Message - 
From: ADNET Ghislain [EMAIL PROTECTED]
To: mimedefang@lists.roaringpenguin.com
Sent: Monday, May 02, 2005 6:28 PM
Subject: Re: [Mimedefang] Installing on FreeBSD


Lisa Casey wrote:
 Hi,

 I need to install Mimedefang on a FreeBSD 4.6 system as the Redhat
 system I was running my mail server on crashed. I've  upgraded perl to
 5.8.6 (it was 5.001 or something like that) and installed the
 necessary perl modules for mimedefang. I have a couple of questions
 though about installing on FreeBSD (this is different from the way my
 Red Hat system was).

 I have Sendmail 8.13 on here. According to the Mimedefang instructions
 I need to make sure I have a queue runner. Does anyone know if
 Sendmail 8.13 will do this automatically? In the mimedefang
 instructions I was reading it said to do this by adding sendmail -Ac
 -qp5m to the init script for Sendmail. On my Red Hat system this was
 in /etc/init.d. I can't find where I should specify this on FreeBSD.

 When I installed my radius server on this FreeBSD system, I put the
 init script for it in /usr/local/etc/rc.d (there's  no sendmail script
 therre). Is this where I should put my mimedefang init script? How
 will I know if this stops  starts mimedefang at the right times? I
 believe mimedefang should start up after Sendmail does and should be
 stopped before Sendmail is.

 Thanks,

 Lisa Casey




Hi lisa,
  You should use the port system to install it on freeBSD, think of it
like the rpm for redhat... :)
regards,
Ghislain.
--
AQUEOS - Service Informatique
1, Rue Albert Einstein
77420 Champs sur marne
Service technique :  [EMAIL PROTECTED]
Service commercial :  [EMAIL PROTECTED]
Tel : 06.63.79.27.38 /  01.64.02.99.37
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Mimedefang] Installing on FreeBSD

2005-05-03 Thread Toomas Aas
Lisa Casey wrote:
Ok but this basically sucks. I'm sure I should be installing from ports. 
Me too.
But I don't seem to be able to do that, and I do know how to install 
source files.

When I try  to do a pkg_add to install the mimedefang  port that I've 
downloaded from freebsd.org, I get this:
pkg_add installs package (a pre-compiled binary), not port.
radius# pkg_add -r mimedefang.tar.gz
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4
-stable/Latest/mimedefang.tar.gz.tgz: File unavailable (e.g., file not 
found, no
access)
pkg_add: unable to fetch 
`ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-
4-stable/Latest/mimedefang.tar.gz.tgz' by URL
I have rarely, if ever at all, used pkg_add (I prefer ports), but I 
don't think that using argument 'mimedefang.tar.gz' is correct.

So I moved the tarball over to /usr/ports/distfiles, extracted it and 
ran make. 
If you have decided to install from source tarball, you should perform 
the installation outside the ports tree.

That resulted in:
radius# more distinfo
MD5 (mimedefang-2.51.tar.gz) = 9c4df4ec349e414f893c940ff563bea5
SIZE (mimedefang-2.51.tar.gz) = 302006
radius# make
Makefile, line 53: Malformed conditional (${PERL_LEVEL}  500601)
Makefile, line 53: Need an operator
Makefile, line 55: if-less endif
Makefile, line 55: Need an operator
make: fatal errors encountered -- cannot continue
You are probably trying to run BSD make against a GNU makefile. If you 
really want to install from source tarball, use gmake.

At this rate it'll be forever before I get mimedefang installed and in 
the meantime I have customers upset because they are receiving 
unacceptable levels of spam. Surely someone can help me out with 
installing mimedefang from source 
At this stage I'd still recommend using ports. Just read 'man ports', as 
well as Section 4.5 of the Handbook, to get your confusion cleared up :-)

--
Toomas Aas 
|arvutivõrgu peaspetsialist | head specialist on computer networks|
|Tartu Linnakantselei   | Tartu City Office   |
- +372 736 1274
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OPEN SOURCE MASTERPLANS

2005-05-03 Thread Timo Schoeler
LAW (Lawyers Are Wimps)

please stop posting this!
 
 
 Get your weak wood out of my wheels!
 I fight poverty to avoid ending up like you.
 
 
I work for poor people through UNDP.

one more proof that there i) are wrong people in the wrong places and
ii) much money is being wasted.
 
 
 There are good people in the UNDP.
 
 
it's not the lame presentation of even lamer masterplans that makes
hundreds of thousands of people in the 3rd world die of hunger and
deseases every month, no, it's that fucking capitalism!
 
 
 Masterplans don't kill people!
 Masterplans help them survive!
 
 
you are in one of many key positions to change this. do something! and
please stop driveling!
 
 
 Stop trolling.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox doesn't show up

2005-05-03 Thread Trey Sizemore
On Wed, 27 Apr 2005 01:53:29 -0400
jason henson [EMAIL PROTECTED] wrote:

 Trey Sizemore wrote:
 
 On Fri, 01 Apr 2005 00:40:43 -0800
 Ben Munat [EMAIL PROTECTED] wrote:
 
   
 
 Did you try running it from the command line? That way you can see
 if it prints errors when it fails.
 
 b
 
 
 
 My Firefox will no longer work as a normal user (no page loads and
 buttons are unresponsive), although it does as root.  Starting from
 the command line produces the following output (both as root and my
 normal user account):
 
 [EMAIL PROTECTED] firefox
 LoadPlugin: failed to initialize shared library /usr/compat/linux/
 usr/ local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so [Shared
 object libc.so.6 not found, required by nppdf.so] *** Failed to
 load overlay chrome://useragentswitcher/content/menu.xul
 
 Any ideas on how to fix this?
 
 
   
 
 Looks like your adobe plugin is a linux port.  You need 
 emulators/linux_base-8.  But you shouldn't unless you have a linux 
 binary.  I didn't see a adobe plugin in the ports system so I am 
 guessing this is where you went wrong.  Did you tell firefox to
 install a linux or unix plugin for pdfs or acrobat reader?  Remove
 the adobe plugin and see if firefox works right.  Also did you
 install the native firefox from ports?

How do I remove the offending plugin?  I've tried to remove and
reinstall Firefox 1.0.3, but the same behavior occurs.  The root user
can open and use firefox, but my normal account cannot.

-- 
Cheers,
Trey

 
Bumper sticker:

All the parts falling off this car are of the very finest British
manufacture
 
FreeBSD 5.3-STABLE i386 i386 GENERIC
12:55PM  up 9 mins, 0 users, load averages: 0.12, 0.17, 0.13
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Multiple routes

2005-05-03 Thread Andrei Iarus
How can I have multiple gateways, and, all the packets
to be sent using all the gateways simultaneously under
FreeBSD 4.11? Is this possible only modyfing the
kernel? :) Thank you very much for your help.

__
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: OPEN SOURCE MASTERPLANS

2005-05-03 Thread Joel Rees
Fafa Hafiz,
Pardon the top post, but master plans are for totalitarian governments 
and bureaucracies. Their sole purpose is to assist in perpetuating 
established institutions. (No institution is going to plan it's own 
demise. Oh, and how well they serve their purpose is a subject of some 
debate.)

Maybe what you should be asking for is examples of business plans, 
although those are all too often used by the powers that be to keep 
small businesses from growing and threatening the status quo. Informal 
operating policies and such might also be of interest.

On 2005.5.4, at 01:05 AM, Fafa Hafiz Krantz wrote:
Timo,
please stop posting this!
Get your weak wood out of my wheels!
I fight poverty to avoid ending up like you.
I work for poor people through UNDP.
one more proof that there i) are wrong people in the wrong places and
ii) much money is being wasted.
There are good people in the UNDP.
it's not the lame presentation of even lamer masterplans that makes
hundreds of thousands of people in the 3rd world die of hunger and
deseases every month, no, it's that fucking capitalism!
Masterplans don't kill people!
Masterplans help them survive!
you are in one of many key positions to change this. do something! and
please stop driveling!
Stop trolling.
--
Joel Rees
Getting involved in the neighbor's family squabbles is dangerous.
But if the abusive partner has a habit of shooting through his/her 
roof,
the guy who lives upstairs is in a bit of a catch-22.

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


RE: OPEN SOURCE MASTERPLANS

2005-05-03 Thread bob
hay nut case.  take this bull shut some place else.  this is not the
place to be saying lies like that. You are so full of your own shit
I can smell your rotten stink over the internet

You have no idea what you are talking about. grow up and become a
real member of the world

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Timo
Schoeler
Sent: Tuesday, May 03, 2005 11:57 AM
To: Fafa Hafiz Krantz
Cc: misc@openbsd.org; [EMAIL PROTECTED];
debian-user@lists.debian.org
Subject: Re: OPEN SOURCE MASTERPLANS


please stop posting this!

Nice ASCII logo.

 I work for poor people through UNDP.

one more proof that there i) are wrong people in the wrong places
and
ii) much money is being wasted.

 I am not a government nor Microsoft employee.

shouldn't make a difference as money rules the world (*cough*)... so
your employer is meaningless (even if it's any UN subsidiary -- the
UN
is meaningless, please look at the US spreading war all over the
world,
the UN doing nothing against it. and no, it's not the 'terror'
they're
fighting -- the real terror comes from the US -- it's the fight for
'their oil'... bastards)!


 (Ask Bill)


A lot of people in poor and developing countries are already
aware that they should move towards open source, and they
themselves keep up with those master plans everyday ...


 That is true.

 They know they should move. But they do not really know how.
 I have seen the quality of many 3rd world country masterplans.
 They are poorly presented; their language and formatting is
 bad; and most of them aren't based on facts.

 Western masterplans are more decent and sustainable. If they
 were to be adapted to 3rd world conditions, perhaps the
 situation would progress angular, and 3rd world people
 wouldn't have to struggle to keep up with their masterplans.


blabla.

it's not the lame presentation of even lamer masterplans that makes
hundreds of thousands of people in the 3rd world die of hunger and
deseases every month, no, it's that fucking capitalism!

you are in one of many key positions to change this. do something!
and
please stop driveling!


 --

 Fafa Hafiz Krantz
   Senior Designer @ http://www.home.no/barbershop
   Furious @ http://www.home.no/barbershop/smart/sharon.pdf

cheers,

timo (communist, vegetarian, open source dev, blablabla)

--
Timo Schoeler | http://macfinity.net/~tis |
[EMAIL PROTECTED]
//macfinity -- finest IT services | http://macfinity.net
Key fingerprint = F844 51BE C22C F6BD 1196  90B2 EF68 C851 6E12 2D8A

There are 10 types of people in the world. Those who understand
binary
and those who don't.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: How does one bootstrap DNS

2005-05-03 Thread Svein Halvor Halvorsen

* Me:
   [1] One could argue that I should have at least two name servers, but why
   should I need greater redundancy on my name servers, than I have on my
   other services? If my dns is down, so is my mail, and am in the mercy of
   the sender to keep retrying anyway.  

* Jim Freeze [2005-05-03 10:33 -0500]
  Yes, exactly. Is it permissable for ns1 and ns2 to point to the same IP
  address?


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


Re: Looking for a KATE replacement

2005-05-03 Thread Shantanoo Mahajan
+++ Clement Twine [02-05-05 14:24 +0200]:
| Shantanoo Mahajan wrote the following on 05/01/2005 04:58 AM:
| +++ Frank Staals [freebsd] [30-04-05 10:35 +0200]:
| | Hey everyone,
| | 
| | When I started using FreeBSD for desktop usage ( about a year ago ) I 
| | used KDE as desktop manager, but now I am using XFCE4.2.1 for that 
| | purpose. But when writing html pages, scripts, programs etc I still use 
| | KATE ( KDE Advanced Text Editor ), the thing is that it starts up realy 
| | slow ( probably because it has to load a lot of basic kde stuff ).
| | 
| | So the question was does anyone know a good graphical replacement for 
| | Kate, I esspecially like the bar on the left which lets you easily 
| | switch between multiple files, and the build in terminalclient on the 
| | bottom. I tried looking in the ports/editors section but there are that 
| | many editors I realy don't know what to use. I am looking for a 
| | graphical editor, not commandline ( therefor I allready use joe ).
| 
| gvim, (x)emacs, bluefish, ...
| 
| is gvim the same as kvim (apart from one being for KDE ane the other 
| for GNOME?) Do they offer same functionality? It seems (not sure 
| though) that KDE apps are more refined than GNOME apps.
| 
| Clem.

After going through the kvim's homepage, http://www.freehackers.org/kvim/,
it not being maintained. I suggest using gvim instead of it.

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


USB GPS Receiver

2005-05-03 Thread Alexandre Biancalana
Hi List,

I shiped and usb gps receiver
(http://www.deluoelectronics.com/customer/product.php?productid=60cat=0page=),
he is detected as ugen but not attached with ucom:

May  3 14:29:38 AleStation kernel: ugen0: Prolific Technology PL2303
Serial adapter (ATEN/IOGEAR UC232A), rev 1.10/2.02, addr 2

My system:
AleStation:/home/ale $ uname -a
FreeBSD AleStation 5.4-STABLE FreeBSD 5.4-STABLE #3: Mon May  2
01:14:29 UTC 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/AleStation  i386


usb in my kernel:
# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# Human Interface Devices
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
device  ucom


Some ideas ?

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


mail/sendmail submit question

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
Hi
I am trying to allow mail submission and sending on a 5.3-RELEASE box  
from inside a jail, but not a running MTA...

I have the following in the rc.conf
sendmail_enable=NO
sendmail_submit_enable=NO# Start a localhost-only MTA for mail  
submission
sendmail_outbound_enable=YES  # Dequeue stuck mail (YES/NO).
sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail  
(YES/NO).

Since you cannot bind to localhost only in a jail I have that set to  
NO.  The /etc/mail/README file says to change the freebsd.submit.mc  
file and remake things so that it submits to another host.  I have  
done that by doing the Change the FEATURE(msp) line to FEATURE(msp,  
hostname) where hostname is the fully qualified hostname of the  
alternative host. and then 'make install-submit-cf' in /etc/mail/.

When I try to do a mail on the command line, I get:
[EMAIL PROTECTED]:/home/chad# can not chdir(/var/spool/clientmqueue/):  
Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.

Where do I set this TrustedUser and how do I make the mail program  
work as a TrustedUser?

I grepped TrustedUser in /etc/mail/* and got
freebsd.cf:#O TrustedUser=root
freebsd.submit.cf:O TrustedUser=smmsp
machine.com.submit.cf:O TrustedUser=smmsp
sendmail.cf:#O TrustedUser=root
submit.cf:O TrustedUser=smmsp
so it seems to be set to smmsp which is a valid user in the password  
file.

Thanks for any help or pointers on getting this to work.
Thanks
Chad
---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]

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

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


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Hello Joel!

 Pardon the top post, but master plans are for totalitarian governments 
 and bureaucracies. Their sole purpose is to assist in perpetuating 
 established institutions. (No institution is going to plan it's own 
 demise. Oh, and how well they serve their purpose is a subject of some 
 debate.)

I meant the sort of masterplans that are for people to follow.
And maybe, in some cases, democratic governments in countries where
there is no such thing as established institutions. 3rd world governments
have by now realized that it is wiser to privatize rather than to
perpetuate -- which again brings up plans for people to follow.

 Maybe what you should be asking for is examples of business plans, 
 although those are all too often used by the powers that be to keep 
 small businesses from growing and threatening the status quo. Informal 
 operating policies and such might also be of interest.

Right now any example will do.
Thank you for your worthy input!

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


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

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


Kdm problem

2005-05-03 Thread Ivailo Tanusheff
Hi,

I have problem running kdm on a FreeBSD 5.3 server.
When I start the kdm, I receive following error in /var/log/messages:

May  3 20:45:10 test kdm[567]: XDMCP socket creation failed, errno 43

I was not able to find any answer searching with google, so I hope you can
help me.
Kdm is set for broadcasting, allowing everyone to establish a communication.

Regards,
Ivailo Tanusheff

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


Re: OPEN SOURCE MASTERPLANS

2005-05-03 Thread Joshua Tinnin
On Tue 3 May 05 10:47, Fafa Hafiz Krantz [EMAIL PROTECTED] wrote:
 Right now any example will do.
 Thank you for your worthy input!

I admire your enthusiasm, but perhaps this would be better in advocacy@ 
or [EMAIL PROTECTED]

http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy

http://lists.freebsd.org/mailman/listinfo/freebsd-chat

FWIW, it doesn't help your cause to be starting several new threads on 
the same subject, particularly when they're replies to other people (so 
it should be one thread), and on a tech help list.

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


swap space

2005-05-03 Thread Chris Knipe
Hi,
Simple question really... Can you ever have to much swap space?
We're sitting with quite a nifty P4 System with 1GB Ram.  We will more than 
likely add another 2 or 3GB in the month to come as our applications (mainly 
perl) are consuming vast amounts of memory and swap.

We made the mistake however of just allocating 512MB swap as we did not know 
accurately at the time of installation what the resouce requires are going 
to be (especially not that it would be this high).

Obviously reinstalling the entire OS / Applications is not really a option. 
We may want to install a dedicated 40GB just for swap... Would this be 
advisable, or will it actually slow the system down?  And to what extend?

We're running FreeBSD 5.4-STABLE.
Thanks in advance.
--
Chris.
I love deadlines. I especially love the whooshing sound they make as they 
fly by... - Douglas Adams, 'Hitchhiker's Guide to the Galaxy' 

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


Re: Multiple routes

2005-05-03 Thread Tomas Quintero
On 5/3/05, Andrei Iarus [EMAIL PROTECTED] wrote:
 How can I have multiple gateways, and, all the packets
 to be sent using all the gateways simultaneously under
 FreeBSD 4.11? Is this possible only modyfing the
 kernel? :) Thank you very much for your help.

Under 5.3-RELEASE I have 3 DSL connections set to round-robin using
PF. Under 4.11 I had used IPF and IPNAT and had half of the net range
set to utilize one gateway, the other half to use another. I find the
PF round-robin solution to be much more effective. I am unsure if you
can use IPF/IPFW to round-robin nat, at least as easily as PF.

In short though, you won't need to modify your kernel, short of
including whichever firewall module you choose to utilize.

I'm curious, when you say simultaneously, do you mean you want the
same duplicated data to be sent out all of your gateways at the same
time?

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


Re: pkg_info output? ... 'homework' clarification sought!

2005-05-03 Thread David Armour
hello,

thanks v. much for your kind reply. sorry for my delay in responding. i was 
heading off to work when i first saw your message. the translation of the tip 
segments helps immensely. as for the homework, well... i'm not 'there,' 
yet. some possible suspects:

 On Sat, Apr 30, 2005 at 11:48:35PM -0700, David Armour wrote:
  pkg_info | sort | sed -e 's/-[0-9].*$//' | uniq -c | grep -v
  '^[[:space:]]*1'

 0) pkg_info=  list all packages installed. yep
 1) sort= sort resulting list by package name. gotcha.
 2) sed -e 's/-[0-9].*$//' =  delete everything after a dash 
   followed by a number 
   followed by everything else. 
   (autoconf-2.59_2  autoconf)

... my understanding starts to go south 'round about here. 

i can see from sed's manpage(s): sed [-Ean] [-e command] ...that
the command, the characters between the apostrophes, [a] appends
the editing commands specified by the command argument to the list of 
commands. nowhere on the manpage, however, can i find any reference to the 
'delete' you mention. 

Waay down the page, in a thicket of sed functions, i run across:

[2addr]s/regular expression/replacement/flags
 *S*ubstitute the replacement string for the first instance of the
 regular expression in the pattern space.  
 snippage
 A line can be split by substituting a newline character into it.
 To specify a newline character in the replacement string, precede
 it with a backslash.

... which, going out on the limb of my understanding, here, seems to match the 
intent, at least, of the 'delete' you point to. admittedly, i'm mostly 
grasping at straws in terms of what the '$' and the '//' are doing in there.

and the warning in the bugs section...

 Multibyte characters containing a byte with value 0x5C (ASCII `\') may be
 incorrectly treated as line continuation characters in arguments to the
 ``a'', ``c'' and ``i'' commands.  *Multibyte characters cannot be used as
 delimiters with the ``s'' and ``y'' commands.*

... seems to introduce the possibility, at least for 'homework' purposes, that 
the 'textbook' might have a typo as far as the s command. ???

 3) uniq -c= believe it or not, but earlier i had got a 'command not
 found' message when i tried to man uniq. after i saw 
 your message  i re-tried it and, of course, it worked. 
 no idea what *that's* about!
  -c  Precede each output line with the count of the number of times
  the line occurred in the input, followed by a single space.

i see the sense of '-c' mapping to 'count'. i'm less clear about where the 
'space', single or otherwise, comes in. [except that that's the spec!] 

  pkg_info | sort | sed -e 's/-[0-9].*$//' | uniq -c | grep -v
  '^[[:space:]]*1'

 so counts how often autoconf is in the list resulting from 2)

 4)  grep -v '^[[:space:]]*1'

 delete every line starting (^) with one or more space characters  
 followed by 1 in the list resulting from 3)

 this deletes lines where only 1 version exists, e.g.:

  1 borg

 3 autoconf
 3 automake
 6 docbook
 2 gcc
 2 glib
 2 gtk
 2 libtool
 2 perl
 2 xorg-fonts

 so there are 3 versions of autoconf installed, 3 versions of
 automake and so on.

 the script is not quite correct because these two packages are
 counted as two versions of xorg-fonts:

 xorg-fonts-100dpi-6.8.2
 xorg-fonts-75dpi-6.8.2

 homework: find a version that works :-)

 hth,

[a] In a context address, any character other than a backslash (``\'')
  or newline character may be used to delimit the regular expression.

 toni
 --
 Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
 mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
 -- Max Planck |

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


Re: Ignorance and file suffixes

2005-05-03 Thread Jonathan Chen
On Mon, May 02, 2005 at 08:03:26PM -0700, [EMAIL PROTECTED] wrote:

[...]
 On running cvsup I received an error message
  Realease not specified for collection ports-all
[...]

My working file for -STABLE + ports looks like this:

# Defaults that apply to all the collections
#
*default  host=cvsup.FreeBSD.org
*default  base=/var/db
*default  prefix=/usr
*default  release=cvs
*default  delete use-rel-suffix

*default compress

*default  tag=RELENG_5
src-all

*default tag=.
ports-all

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
The Internet: an empirical test of the idea that a million monkeys
banging on a million keyboards can produce Shakespeare
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: swap space

2005-05-03 Thread Clifton Royston
On Tue, May 03, 2005 at 08:32:54PM +0200, Chris Knipe wrote:
 Simple question really... Can you ever have to much swap space?
 
  Only if there are better things you can do with that disk (or money.)
In this case, RAM might be a better priority, see below.

 We're sitting with quite a nifty P4 System with 1GB Ram.  We will more than 
 likely add another 2 or 3GB in the month to come as our applications 
 (mainly perl) are consuming vast amounts of memory and swap.
 
  You might want to look at your application architecture as to why you
are using all that virtual memory and whether you could change
something so as not to be using so much at once.

 We made the mistake however of just allocating 512MB swap as we did not 
 know accurately at the time of installation what the resouce requires are 
 going to be (especially not that it would be this high).
 
 Obviously reinstalling the entire OS / Applications is not really a option. 
 We may want to install a dedicated 40GB just for swap... Would this be 
 advisable, or will it actually slow the system down?  And to what extend?
 
  Having lots of swap space shouldn't slow a system down.  However,
*using* it will.  If your applications are hitting the swap any more than
occasionally under peak load, you should assume that your system is
running a good order of magnitude slower than it needs to (i.e. at
least a factor of 10.)

  A traditional rule of thumb is to have 1x - 2x the total RAM size in
swap space.  This assures that you can do a crash dump and that you can
deal with peak load of 2x the normal maximum number of processes by
swapping them out.  Beyond that, you are probably better off with the
system just refusing to fork more processes or allocate them memory.

  Sometimes unbounded swap usage reflects the system falling off a
cliff as the result of an inbound transaction request rate which
exceeds the transaction service rate.  If the outstanding transactions
build up to the point that the system starts to swap a little bit, then
the system performance drops dramatically as the system needs to page
data out/in to run some processes.  This causes the transaction service
rate to drop sharply (e.g. by an order of magnitude as I mentioned
above.) As a direct result the number of outstanding processes shoots
up and the VM and swap usage goes through the roof.

  If this is the scenario, you should definitely add more RAM before
worrying about adding more swap.  The swap won't hurt, but the RAM is
what will actually benefit your system.  (Depending on your
application, software changes may have the most benefit of all.)

  There's my free advice, worth every penny.
  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide...
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where can i d/l VMware-workstation-3.2.1-2242.tar.gz

2005-05-03 Thread Dick Hoogendijk
On 03 May Warren wrote:
 I ended up finding it, but where would i find a list of various mirror
 sites and where would i add them into the list of mirrors to check as
 i often come across the problem of pkgs not found.

Do you really mean this? The *only* file not found that I get using the
ports _is_ the vmware package. I saved it for later days for that reason
alone. As said though, google is your friend.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Raid Array Over 2Tb on Samba

2005-05-03 Thread Richard Collyer
Hello,
I plan on building a raid array of 8*400GB disks raid 5. Now as win2k 
cant support partitions over 2tb and I right in thinking that this is 
for the local machine only and that over samba (array in FreeBSD 5.4 
machine [when it comes out]) it should be able to see all space or will 
I have to carve it up.

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


IPFW custom rules file not loading

2005-05-03 Thread Nicholas Henry
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004

I'm a new BSD user installing the OS for the first time. Everything is
running well except the firewall. IPFW is not loading the custom rules
set I have created at startup/boot (although it does say it has but
when I ipfw list it only gives me the one default rule). I assume it
is related to this area that I received on the console:

May  3 14:25:22 babe kernel: firewall_enable: not found
May  3 14:25:22 babe kernel: ipfw2 initialized, divert disabled,
rule-based forwarding dis$
May  3 14:25:22 babe kernel: Flushed all rules.
May  3 14:25:22 babe kernel: Line 3:
May  3 14:25:22 babe kernel: bad command `ipfw'
May  3 14:25:22 babe kernel: 
May  3 14:25:22 babe kernel: Firewall rules loaded, starting divert daemons:
May  3 14:25:22 babe kernel: firewall_enable: not found
May  3 14:25:22 babe kernel: .
May  3 14:25:22 babe kernel: net.inet.ip.fw.enable:
May  3 14:25:22 babe kernel: 1
May  3 14:25:22 babe kernel: -
May  3 14:25:22 babe kernel: 1

I'm refering to the bad command 'ipfw' line. I'm also concerned
about the firewall_enable not found message.

I have included the relevant rc.conf setting and the custom rules file
(based on the ruleset from the handbook). I'm currently setting up a
firewall for this machine that is connected to a D-Link router.

My questions are: Why am I getting the bad command msg? Do I need to
be concerned about the firewall_enabled: not found

Any help would be much appreciated, thank you.

** start rc.conf snippet **

firewall_enable=YES   
firewall_script=/etc/rc.firewall 
firewall_type=/etc/ipfw.rules
firewall_quiet=NO 
firewall_logging=NO  
firewall_flags=  

** send rc.conf snippet **

** start ipfw.rules **

#!/bin/sh
# Flush out the list before we begin.
ipfw -q -f flush

# Set rules command prefix
cmd=ipfw -q add
skip=skipto 801
pif=fxp0  #found by doing a ifconfig or netstat -nr
# public interface name of NIC

#
# No restrictions on Inside LAN Interface for private network
# Change xl0 to your LAN NIC interface name
#
# $cmd 005 allow all from any to any via xl0
# don't have a separate interface so won't worry about this

#
# No restrictions on Loopback Interface
#
$cmd 010 allow all from any to any via lo0

#
# check if packet is inbound and nat address if it is
#
# $cmd 014 divert natd ip from any to any in via $pif

#
# Allow the packet through if it has previous been added to the
# the dynamic rules table by a allow keep-state statement.
#
$cmd 015 check-state

#
# Interface facing Public Internet (Outbound Section)
# Interrogate session start requests originating from behind the
# firewall on the private network or from this gateway server
# destine for the public Internet.
#

# Allow out access to my ISP's Domain name server.
# x.x.x.x must be the IP address of your ISP's DNS
# Dup these lines if your ISP has more than one DNS server
# Get the IP addresses from /etc/resolv.conf file
$cmd 020 $skip tcp from any to 24.153.22.67 53 out via $pif setup keep-state
$cmd 020 $skip tcp from any to 24.153.22.66 53 out via $pif setup keep-state


# Allow out access to my ISP's DHCP server for cable/DSL configurations.
# This is for the internal router
$cmd 030 $skip udp from any to 198.168.1.1 67 out via $pif keep-state

# Allow out non-secure standard www function
$cmd 040 $skip tcp from any to any 80 out via $pif setup keep-state
$cmd 040 $skip tcp from any to any 8989 out via $pif setup keep-state

# Allow out secure www function https over TLS SSL
$cmd 050 $skip tcp from any to any 443 out via $pif setup keep-state

# Allow out send  get email function
$cmd 060 $skip tcp from any to any 25 out via $pif setup keep-state
$cmd 061 $skip tcp from any to any 110 out via $pif setup keep-state

# Allow out FreeBSD (make install  CVSUP) functions
# Basically give user root GOD privileges.
$cmd 070 $skip tcp from me to any out via $pif setup keep-state uid root

# Allow out ping
$cmd 080 $skip icmp from any to any out via $pif keep-state

# Allow out Time
$cmd 090 $skip tcp from any to any 37 out via $pif setup keep-state

# Allow out nntp news (i.e. news groups)
$cmd 100 $skip tcp from any to any 119 out via $pif setup keep-state

# Allow out secure FTP, Telnet, and SCP
# This function is using SSH (secure shell)
$cmd 110 $skip tcp from any to any 22 

Re: swap space

2005-05-03 Thread Chris Knipe
We made the mistake however of just allocating 512MB swap as we did not
know accurately at the time of installation what the resouce requires are
going to be (especially not that it would be this high).
 A traditional rule of thumb is to have 1x - 2x the total RAM size in
swap space.  This assures that you can do a crash dump and that you can
deal with peak load of 2x the normal maximum number of processes by
swapping them out.  Beyond that, you are probably better off with the
system just refusing to fork more processes or allocate them memory.
i.e. 4GB Ram, approx 8GB Swap?  In that case we'll need to install a 
secondary HDD in any case.  The current drive is already partitioned and 
what not, so reinstall isn't a option.  Having 2 or more swap partitions 
should also not be a big deal?  And this might be a extremely stupid 
question, but both are used at the same time right?

Some of our other high end perl systems use allot of memory as well.  We 
normally use stuff like SYSVSHM, SYSVMSG and SYSVSEM (Plus allot of 
parameters / options for it which I do not currently have with me 
unfortunately).  Me personally, are not 100% on what the drawbacks or 
benefits are, but would this make a difference?  In some of our production 
environments, we have applications terminating within seconds of reaching 
peak load without SYSV + magic options in the kernel.  This is not because 
of bad code, but because of severe load (thousands of concurrent 
connections). The server in question right now is basically a high end 
anti-spam / anti-virus solution (which by nature is extremely resource 
intensive - look at big SA installations for example).

We are already running with MAXUSERS 512 and NMBCLUSTERS=65535 as advanced 
features in the kernel currently.  I suppose I should recompile and add SYSV 
(after I got the magic options again).  Those two options are also so far 
the only options I found to tune for a high performance FBSD config... If 
anyone have additional resources, please feel free to share... :)

I'm talking under correction, but I believe the magic options to the SYSV 
stuff is related to specifying the ammounts of ram to use, etc.

Thanks for all the answers and suggestions!!!
--
Chris.

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


Re: swap space

2005-05-03 Thread Franco Bruno Borghesi
Actually having a separated disk for swap should increase your performance.
But my opinion is that if you really need *all* the 40 GB of swap when your 
system's ram is 3 GB, you won't see the difference: most of the data your 
system needs is swapped out!

You could add a partition to your new disk (let's say 2 or 3 times the 
amount of ram), and leave the rest unpartitioned. You could use that extra 
space later for nightly backups, emergencies, etc. without loosing your 
performance gain.

Hope it helps.

PS: Is there a FreeBSD 5.4 stable version?


2005/5/3, Chris Knipe [EMAIL PROTECTED]:
 
 Hi,
 
 Simple question really... Can you ever have to much swap space?
 
 We're sitting with quite a nifty P4 System with 1GB Ram. We will more than
 likely add another 2 or 3GB in the month to come as our applications 
 (mainly
 perl) are consuming vast amounts of memory and swap.
 
 We made the mistake however of just allocating 512MB swap as we did not 
 know
 accurately at the time of installation what the resouce requires are going
 to be (especially not that it would be this high).
 
 Obviously reinstalling the entire OS / Applications is not really a 
 option.
 We may want to install a dedicated 40GB just for swap... Would this be
 advisable, or will it actually slow the system down? And to what extend?
 
 We're running FreeBSD 5.4-STABLE.
 
 Thanks in advance.
 
 --
 Chris.
 
 I love deadlines. I especially love the whooshing sound they make as they
 fly by... - Douglas Adams, 'Hitchhiker's Guide to the Galaxy'
 
 ___
 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: Raid Array Over 2Tb on Samba

2005-05-03 Thread Charles Swiger
On May 3, 2005, at 3:14 PM, Richard Collyer wrote:
I plan on building a raid array of 8*400GB disks raid 5. Now as win2k 
cant support partitions over 2tb and I right in thinking that this is 
for the local machine only and that over samba (array in FreeBSD 5.4 
machine [when it comes out]) it should be able to see all space or 
will I have to carve it up.
I would not recommend trying to use greater than 2GB partitions via 
Samba, or even natively, at this time.  There are significant issues, 
such as being able to run fsck against such large partitions without 
fsck's memory usage consuming excessive resources.

If you need to set up such a massive NAS fileserver, you really ought 
to consider dedicated products from companies like Auspex and NetApp.  
Another alternative might be an Apple Xserve RAID with Xsan, but this 
doesn't have the track record of my earlier suggestions.

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


Re: swap space

2005-05-03 Thread Chris Knipe

PS: Is there a FreeBSD 5.4 stable version?
FreeBSD pyro.acme.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Apr 27 15:51:43 
SAST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PYRO  i386

Guess so :) 

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


Re: swap space

2005-05-03 Thread Franco Bruno Borghesi
Time to upgrade then ;-)

2005/5/3, Chris Knipe [EMAIL PROTECTED]:
 
 
  PS: Is there a FreeBSD 5.4 stable version?
 
 FreeBSD pyro.acme.com http://pyro.acme.com 5.4-STABLE FreeBSD 5.4-STABLE#0: 
 Wed Apr 27 15:51:43
 SAST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PYRO i386
 
 Guess so :)
 

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


MIT Zephyr available on FreeBSD?

2005-05-03 Thread N.J. Thomas
Does anyone know if the MIT Zephyr Notification System (which included
the command zwrite), or some newer incarnation of it, is available on
FreeBSD? A glance at ports didn't show anything.

thanks,
Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: swap space

2005-05-03 Thread Glenn Dawson
At 11:32 AM 5/3/2005, Chris Knipe wrote:
Hi,
Simple question really... Can you ever have to much swap space?
We're sitting with quite a nifty P4 System with 1GB Ram.  We will more 
than likely add another 2 or 3GB in the month to come as our applications 
(mainly perl) are consuming vast amounts of memory and swap.

We made the mistake however of just allocating 512MB swap as we did not 
know accurately at the time of installation what the resouce requires are 
going to be (especially not that it would be this high).

Obviously reinstalling the entire OS / Applications is not really a 
option. We may want to install a dedicated 40GB just for swap... Would 
this be advisable, or will it actually slow the system down?  And to what 
extend?
There are practical limits to how much swap you can or want to have on your 
system.

Take a look at this for more info
http://kerneltrap.org/node/323?PHPSESSID=9c6e97871e0d3a3632de7ccff346b0c6
-Glenn

We're running FreeBSD 5.4-STABLE.
Thanks in advance.
--
Chris.
I love deadlines. I especially love the whooshing sound they make as they 
fly by... - Douglas Adams, 'Hitchhiker's Guide to the Galaxy'
___
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: Kdm problem

2005-05-03 Thread Lowell Gilbert
Ivailo Tanusheff [EMAIL PROTECTED] writes:

 I have problem running kdm on a FreeBSD 5.3 server.
 When I start the kdm, I receive following error in /var/log/messages:
 
 May  3 20:45:10 test kdm[567]: XDMCP socket creation failed, errno 43
 
 I was not able to find any answer searching with google, so I hope you can
 help me.
 Kdm is set for broadcasting, allowing everyone to establish a communication.

You aren't running at a raised securelevel, are you?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Raid Array Over 2Tb on Samba

2005-05-03 Thread Philip Hallstrom
On May 3, 2005, at 3:14 PM, Richard Collyer wrote:
I plan on building a raid array of 8*400GB disks raid 5. Now as win2k cant 
support partitions over 2tb and I right in thinking that this is for the 
local machine only and that over samba (array in FreeBSD 5.4 machine [when 
it comes out]) it should be able to see all space or will I have to carve 
it up.
I would not recommend trying to use greater than 2GB partitions via Samba, or
   ^^^
You meant 2TB not 2GB right?  Cause I've been using samba with 8GB shares 
for a looong time...  I'm guessing so, just thought we should be sure :)


even natively, at this time.  There are significant issues, such as being 
able to run fsck against such large partitions without fsck's memory usage 
consuming excessive resources.

If you need to set up such a massive NAS fileserver, you really ought to 
consider dedicated products from companies like Auspex and NetApp.  Another 
alternative might be an Apple Xserve RAID with Xsan, but this doesn't have 
the track record of my earlier suggestions.

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


Re: pkg_info output? 'homework' clarification sought...

2005-05-03 Thread David Armour
hello,

sorry: clicked wrong icon,  truncated my reply/question. i think.
i hope my lame-ish attempt at 'homework' doesn't screw with the list charter. 
i offer it in a spirit of open-source newbie encouragement.

[note from previous message, orphaned by my mistake: [a] In a context address, 
any character other than a backslash (``\'') or newline character may be used 
to delimit the regular expression. ]

  pkg_info | sort | sed -e 's/-[0-9].*$//' | uniq -c | grep -v
  '^[[:space:]]*1'
1),2),3)... in previous mis-sent message.

 4)  grep -v '^[[:space:]]*1'
 ... deletes lines where only 1 version exists, e.g.:

grep -v, --invert-match  # Invert the sense of matching, to select 
non-matching lines.

   A  bracket  expression is a list of characters enclosed by [ and ].  It
   matches any single character in that list; if the  first  character  of
   the  list is the caret ^ then it matches any character not in the list.
   ...
   Finally,  certain  predefined named  classes  of  characters are ...
   [:space:] 

   The caret ^ and the dollar sign $ are metacharacters that respectively
   match the empty string at the beginning and end of a line.

i'd assumed [bad!] that the '-v' represented 'verbose' as it does with several 
other commands. but the overall structure, if that's the right word, of the 
grep part of the tip seems a bit like a double negative, what with the '^'

HOMEWORK portion: 

 the script is not quite correct because these two packages are
 counted as two versions of xorg-fonts:
 xorg-fonts-100dpi-6.8.2
 xorg-fonts-75dpi-6.8.2

  pkg_info | sort | sed -e 's/-[0-9].*$//' | uniq -c | grep -v
  '^[[:space:]]*1'

so 2 hits out of 360 odd packages compromise otherwise informative results? 
and assuming, for the moment, that everyone here understands that the ideas 
expressed *here* are coming from about as far out in left field as is 
possible... ? 

as i understand things, so far: sed gets a list of sorted stuff that looks 
like: 

autoconf-6.8.2
borg-6.8.2
  ...
perl-6.8.2...
xorg-fonts-100dpi-6.8.2
xorg-fonts-75dpi-6.8.2

and uniq counts instances of duplication so the list now looks like:

 3 autoconf-6.8.2
 1 borg-6.8.2
...
 2 perl-6.8.2
 2 xorg-fonts-100dpi-6.8.2

the tip asks sed to look in a sorted list of installed packages for instances 
of hyphens followed by numerals between 0-9. i'm guessing that sed either 
needs to incorporate a check within its own results (maybe a set of brackets 
with a second sed -e 's/-[0-9].*$//' |)?, *before* uniq gets its hands on it, 
or some sort of if/then condition programming wizardry to scarf up potential 
stragglers. 

of course, at this stage in my travels in unix-land, i have no idea, clear or 
unclear how such twickery might occur. nonetheless, the natives appear 
friendly.

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


Re: Raid Array Over 2Tb on Samba

2005-05-03 Thread Charles Swiger
On May 3, 2005, at 4:13 PM, Philip Hallstrom wrote:
I would not recommend trying to use greater than 2GB partitions via 
Samba, or
   ^^^
You meant 2TB not 2GB right?  Cause I've been using samba with 8GB 
shares for a looong time...  I'm guessing so, just thought we should 
be sure :)
Ah, yes-- TB as in terabyte.  Sorry.  :-)
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with user ppp

2005-05-03 Thread Vittorio
On my PC with the latest freebsd 5.4 I'm trying to connect to my ISP alice 
by means of user ppp. Here is my /etc/ppp/ppp.conf: 
#
default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 set device /dev/cuaa0
 set speed 115200
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
 set timeout 180                        # 3 minute idle timer (the default)

alice:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

 set phone 7020803380
 set authname [EMAIL PROTECTED]
 set authkey nonteladico

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR                    # Add a (sticky) default route
 enable dns                             # request DNS info (for resolv.conf)

AND
in /etc/ppp/options

lock
noauth

Launching ppp -background alice I can connect with my ISP but . names 
are not resolved because PPP doesn't get the DNSs provided by the peer and 
uses the first DNS server in in /etc/resolv.conf ,10.255.201.22, of a 
previous  dhcp connection at office.
Here it is an extract of the connection log:
.
ppp[505]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
ppp[505]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from apx-rm5)
ppp[505]: tun0: Phase: Chap Output: RESPONSE ([EMAIL PROTECTED])
ppp[505]: tun0: Phase: Chap Input: SUCCESS
ppp[505]: tun0: IPCP: Using trigger address 0.0.0.0
ppp[505]: tun0: CCP: FSM: Using deflink as a transport
ppp[505]: tun0: CCP: deflink: State change Initial -- Closed
ppp[505]: tun0: CCP: deflink: LayerStart.
ppp[505]: tun0: CCP: MPPE: Not usable without CHAP81
ppp[505]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
ppp[505]: tun0: CCP:  DEFLATE[4] win 15
ppp[505]: tun0: CCP:  PRED1[2]
ppp[505]: tun0: CCP: deflink: State change Closed -- Req-Sent
ppp[505]: tun0: Phase: deflink: lcp - open
ppp[505]: tun0: Phase: bundle: Network
ppp[505]: tun0: IPCP: FSM: Using deflink as a transport
ppp[505]: tun0: IPCP: deflink: State change Initial -- Closed
ppp[505]: tun0: IPCP: deflink: LayerStart.
ppp[505]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
ppp[505]: tun0: IPCP:  IPADDR[6] 0.0.0.0
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
                                                   ^
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: deflink: State change Closed -- Req-Sent
ppp[505]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP:  IPADDR[6] 80.21.255.5
ppp[505]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP:  IPADDR[6] 80.21.255.5
ppp[505]: tun0: IPCP: deflink: State change Req-Sent -- Ack-Sent
ppp[505]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened
ppp[505]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control 
Protocol)
ppp[505]: tun0: CCP: deflink: State change Req-Sent -- Stopped
ppp[505]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent
ppp[505]: tun0: IPCP:  IPADDR[6] 212.216.149.154
ppp[505]: tun0: IPCP:  IPADDR[6] changing address: 0.0.0.0  -- 
212.216.149.154
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
                                                   ^^
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: Primary nameserver set to 10.155.201.22
ppp[505]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
ppp[505]: tun0: IPCP:  IPADDR[6] 212.216.149.154
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent
...

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


Re: swap space

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 08:32:54PM +0200, Chris Knipe wrote:
 Hi,
 
 Simple question really... Can you ever have to much swap space?
 
 We're sitting with quite a nifty P4 System with 1GB Ram.  We will more than 
 likely add another 2 or 3GB in the month to come as our applications 
 (mainly perl) are consuming vast amounts of memory and swap.
 
 We made the mistake however of just allocating 512MB swap as we did not 
 know accurately at the time of installation what the resouce requires are 
 going to be (especially not that it would be this high).
 
 Obviously reinstalling the entire OS / Applications is not really a option. 
 We may want to install a dedicated 40GB just for swap... Would this be 
 advisable, or will it actually slow the system down?  And to what extend?

You can't use more than 32GB in a single device on i386.  It shouldn't
cause problems, but unless you have the expectation of making use of
it, it is wasted space.  One use is that having more swap than RAM is
necessary if you ever run into a kernel panic, so that you'll be able
to dump the image of the system for developers to try to diagnose the
problem.  Since it's a pain to add swap later you want to make
allowances for future expansion (e.g. you'd need 32GB of swap if you
ever plan to add 32GB of RAM).

Kris

pgp4XVmhYDbGT.pgp
Description: PGP signature


Re: swap space

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
Since it's a pain to add swap later you want to make
allowances for future expansion (e.g. you'd need 32GB of swap if you
ever plan to add 32GB of RAM).
I understand that people recommend as much swap as you have ram or  
more.  However, is this required and why?  I have a dual opteron  
system running i386 5.3-release (with released patches) and it has  
4GB RAM and only 2GB of swap, which is hardly ever touched, and when  
it is, just in small amounts.

Why is this a problem?  (If it ever needs the 2gb of swap I am in  
trouble as the load at that time would be sky high and the machine  
not really responsive anyway)

best
Chad

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


Re: IPFW custom rules file not loading

2005-05-03 Thread Giorgos Keramidas
On 2005-05-03 15:18, Nicholas Henry [EMAIL PROTECTED] wrote:
 May  3 14:25:22 babe kernel: firewall_enable: not found
 May  3 14:25:22 babe kernel: ipfw2 initialized, divert disabled, rule-based 
 forwarding dis$
 May  3 14:25:22 babe kernel: Flushed all rules.
 May  3 14:25:22 babe kernel: Line 3:
 May  3 14:25:22 babe kernel: bad command `ipfw'
 May  3 14:25:22 babe kernel:
 May  3 14:25:22 babe kernel: Firewall rules loaded, starting divert daemons:
 May  3 14:25:22 babe kernel: firewall_enable: not found
 May  3 14:25:22 babe kernel: .
 May  3 14:25:22 babe kernel: net.inet.ip.fw.enable:
 May  3 14:25:22 babe kernel: 1
 May  3 14:25:22 babe kernel: -
 May  3 14:25:22 babe kernel: 1

 I'm refering to the bad command 'ipfw' line. I'm also concerned
 about the firewall_enable not found message.

It's normal.  You're using firewall_type and yet you have written a
firewall _script_ in /etc/ipfw.rules.

 ** start rc.conf snippet **
 firewall_enable=YES
 firewall_script=/etc/rc.firewall
 firewall_type=/etc/ipfw.rules
 firewall_quiet=NO
 firewall_logging=NO
 firewall_flags=
 ** send rc.conf snippet **

Your firewall_type points to a pathname, so the file should contain
rules in the form:

check-state
add allow tcp from any to any 80 keep-state
add block ip from any to any

 ** start ipfw.rules **

 #!/bin/sh
 # Flush out the list before we begin.
 ipfw -q -f flush

 # Set rules command prefix
 cmd=ipfw -q add
 skip=skipto 801
 pif=fxp0#found by doing a ifconfig or netstat -nr
   # public interface name of NIC

Your ipfw.rules file is written in the form of a firewall_script.
The difference between the two is small but important.

A firewall_type file contains just a set of rules that ipfw(8) will
parse, without intervention by a shell.

A firewall_script is executed by the /bin/sh shell, as a normal shell
script.  One example of what can be used as a firewall_script is
/etc/rc.firewall (in pre-5.X versions) or /etc/rc.d/ipfw (in FreeBSD
5.X or later).

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


Re: swap space

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net LLC wrote:
 
 On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
 Since it's a pain to add swap later you want to make
 allowances for future expansion (e.g. you'd need 32GB of swap if you
 ever plan to add 32GB of RAM).
 
 I understand that people recommend as much swap as you have ram or  
 more.  However, is this required and why?  I have a dual opteron  
 system running i386 5.3-release (with released patches) and it has  
 4GB RAM and only 2GB of swap, which is hardly ever touched, and when  
 it is, just in small amounts.
 
 Why is this a problem?  (If it ever needs the 2gb of swap I am in  
 trouble as the load at that time would be sky high and the machine  
 not really responsive anyway)

I explained in my email..you need it to dump the kernel.

Kris


pgpMniqnmb5D6.pgp
Description: PGP signature


Re: swap space

2005-05-03 Thread Clifton Royston
On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net LLC wrote:
 On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
 Since it's a pain to add swap later you want to make
 allowances for future expansion (e.g. you'd need 32GB of swap if you
 ever plan to add 32GB of RAM).
 
 I understand that people recommend as much swap as you have ram or  
 more.  However, is this required and why? 

  It's needed if you want to be able to collect a crash dump if the
system panics.

 I have a dual opteron  
 system running i386 5.3-release (with released patches) and it has  
 4GB RAM and only 2GB of swap, which is hardly ever touched, and when  
 it is, just in small amounts.
 
  That's as it should be!

 Why is this a problem?  (If it ever needs the 2gb of swap I am in  
 trouble as the load at that time would be sky high and the machine  
 not really responsive anyway)

  Yes indeed, you do not want to be running your system with full swap. 
You want it only for emergencies.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide...
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fatal trap 12

2005-05-03 Thread Dan Langille
Hi folks.  My gateway has been getting this a few times a day for the 
past few days.

  Fatal trap 12: page fault while in kernel mode

More detail at http://www.langille.org/tmp/fatal-trap-12.txt

Conversations to date indicate a hardware problem.  Any 
recommendations/suggestions?
-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
   NEW brochure available at http://www.bsdcan.org/2005/advocacy/

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


Re: swap space

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
On May 3, 2005, at 3:07 PM, Kris Kennaway wrote:
On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net  
LLC wrote:

On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
Since it's a pain to add swap later you want to make
allowances for future expansion (e.g. you'd need 32GB of swap if you
ever plan to add 32GB of RAM).
I understand that people recommend as much swap as you have ram or
more.  However, is this required and why?  I have a dual opteron
system running i386 5.3-release (with released patches) and it has
4GB RAM and only 2GB of swap, which is hardly ever touched, and when
it is, just in small amounts.
Why is this a problem?  (If it ever needs the 2gb of swap I am in
trouble as the load at that time would be sky high and the machine
not really responsive anyway)
I explained in my email..you need it to dump the kernel.
Thanks!
Well, on my production system, I am not dumping any kernels.  Once It  
crashes, I reboot it and go back into production.  Anything dumped  
would get wiped out.  Luckily I am pretty conservative and only move  
to new versions of the OS when they have been released a while and so  
my machines have not had panics in years.

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


Re: swap space

2005-05-03 Thread Charles Swiger
On May 3, 2005, at 5:02 PM, Chad Leigh -- Shire.Net LLC wrote:
On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
Since it's a pain to add swap later you want to make
allowances for future expansion (e.g. you'd need 32GB of swap if you
ever plan to add 32GB of RAM).
I understand that people recommend as much swap as you have ram or 
more.  However, is this required and why?  I have a dual opteron 
system running i386 5.3-release (with released patches) and it has 4GB 
RAM and only 2GB of swap, which is hardly ever touched, and when it 
is, just in small amounts.
It's not required, but the system can't write a panic crash dump out 
unless there is slightly more swap space available than RAM in the box. 
 If your system doesn't crash, and your workload fits into RAM, having 
gigabytes of swap space set up is not very useful

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


RE: IPFW custom rules file not loading

2005-05-03 Thread bob


You did not follow handbook instruction close enough.
Your rc.conf statements are not correct.
Use the ones from the handbook just like they are printed.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nicholas
Henry
Sent: Tuesday, May 03, 2005 3:18 PM
To: freebsd-questions@freebsd.org
Subject: IPFW custom rules file not loading


FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004

I'm a new BSD user installing the OS for the first time. Everything
is
running well except the firewall. IPFW is not loading the custom
rules
set I have created at startup/boot (although it does say it has but
when I ipfw list it only gives me the one default rule). I assume it
is related to this area that I received on the console:

May  3 14:25:22 babe kernel: firewall_enable: not found
May  3 14:25:22 babe kernel: ipfw2 initialized, divert disabled,
rule-based forwarding dis$
May  3 14:25:22 babe kernel: Flushed all rules.
May  3 14:25:22 babe kernel: Line 3:
May  3 14:25:22 babe kernel: bad command `ipfw'
May  3 14:25:22 babe kernel:
May  3 14:25:22 babe kernel: Firewall rules loaded, starting divert
daemons:
May  3 14:25:22 babe kernel: firewall_enable: not found
May  3 14:25:22 babe kernel: .
May  3 14:25:22 babe kernel: net.inet.ip.fw.enable:
May  3 14:25:22 babe kernel: 1
May  3 14:25:22 babe kernel: -
May  3 14:25:22 babe kernel: 1

I'm refering to the bad command 'ipfw' line. I'm also concerned
about the firewall_enable not found message.

I have included the relevant rc.conf setting and the custom rules
file
(based on the ruleset from the handbook). I'm currently setting up a
firewall for this machine that is connected to a D-Link router.

My questions are: Why am I getting the bad command msg? Do I need to
be concerned about the firewall_enabled: not found

Any help would be much appreciated, thank you.

** start rc.conf snippet **

firewall_enable=YES
firewall_script=/etc/rc.firewall
firewall_type=/etc/ipfw.rules
firewall_quiet=NO
firewall_logging=NO
firewall_flags=

** send rc.conf snippet **

** start ipfw.rules **

#!/bin/sh
# Flush out the list before we begin.
ipfw -q -f flush

# Set rules command prefix
cmd=ipfw -q add
skip=skipto 801
pif=fxp0  #found by doing a ifconfig or netstat -nr
# public interface name of NIC

#
# No restrictions on Inside LAN Interface for private network
# Change xl0 to your LAN NIC interface name
#
# $cmd 005 allow all from any to any via xl0
# don't have a separate interface so won't worry about this

#
# No restrictions on Loopback Interface
#
$cmd 010 allow all from any to any via lo0

#
# check if packet is inbound and nat address if it is
#
# $cmd 014 divert natd ip from any to any in via $pif

#
# Allow the packet through if it has previous been added to the
# the dynamic rules table by a allow keep-state statement.
#
$cmd 015 check-state

#
# Interface facing Public Internet (Outbound Section)
# Interrogate session start requests originating from behind the
# firewall on the private network or from this gateway server
# destine for the public Internet.
#

# Allow out access to my ISP's Domain name server.
# x.x.x.x must be the IP address of your ISP's DNS
# Dup these lines if your ISP has more than one DNS server
# Get the IP addresses from /etc/resolv.conf file
$cmd 020 $skip tcp from any to 24.153.22.67 53 out via $pif setup
keep-state
$cmd 020 $skip tcp from any to 24.153.22.66 53 out via $pif setup
keep-state


# Allow out access to my ISP's DHCP server for cable/DSL
configurations.
# This is for the internal router
$cmd 030 $skip udp from any to 198.168.1.1 67 out via $pif
keep-state

# Allow out non-secure standard www function
$cmd 040 $skip tcp from any to any 80 out via $pif setup keep-state
$cmd 040 $skip tcp from any to any 8989 out via $pif setup
keep-state

# Allow out secure www function https over TLS SSL
$cmd 050 $skip tcp from any to any 443 out via $pif setup keep-state

# Allow out send  get email function
$cmd 060 $skip tcp from any to any 25 out via $pif setup keep-state
$cmd 061 $skip tcp from any to any 110 out via $pif setup keep-state

# Allow out FreeBSD (make install  CVSUP) functions
# Basically give user root GOD privileges.
$cmd 070 $skip tcp from me to any out via $pif setup keep-state uid
root

# Allow out ping
$cmd 080 $skip icmp from any to any out 

make installworld (remotely)

2005-05-03 Thread Lauri Anteploon / ctrl-L
Hi.
Im running FreeBSD 5.3-Release #0 and would like to do buildworld and
buildkernel.
The problem is that the machine is a remote one.
Handbook states that to run mergemaster and make installworld I should
boot into single user mode.
That would mean that I can't access the machine remotely anymore am I
correct?
 
Would it be okey to run make installworld when running in multiuser mode and
being the only person whos logged on and maby shutting down most of the
network services (leaving my sshd running though) ?
 

Lauri Anteploon
HYPERLINK mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
5056999

 

HYPERLINK http://www.bitifarm.ee/;




 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 2.05.2005
 
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: swap space

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
On May 3, 2005, at 3:20 PM, Kris Kennaway wrote:
On Tue, May 03, 2005 at 03:15:54PM -0600, Chad Leigh -- Shire.Net  
LLC wrote:

Thanks!
Well, on my production system, I am not dumping any kernels.  Once It
crashes, I reboot it and go back into production.  Anything dumped
would get wiped out.  Luckily I am pretty conservative and only move
to new versions of the OS when they have been released a while and so
my machines have not had panics in years.
It's up to you, of course, but it's been my experience that you might
regret the small expenditure of a few gigabytes one day when you do
run into a panic you need help to solve...
Of course, now that I have mentioned it, my luck will change and  
something  bad will happen.

I am not running cheap large IDE disks, but expensive fast high  
performance U320 disks on RAID controllers and so the extra GB does  
cost something.  If I get a repeating panic, I can boot off a  
recovery disk and add in extra swap I guess.

Thanks
I always learn a lot here  (I just wish someone could help me with  
the mail submission question I posted)
Chad

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


Re: Can't play CD / mount CDROM

2005-05-03 Thread Kent Stewart
On Monday 02 May 2005 08:42 pm, Michael Neeff wrote:
 when I try to mount the CD using the below it says: cd9660 /dev/acd0
 Input / Output error

 Thanks!

 From: Lowell Gilbert [EMAIL PROTECTED]
 To: Michael Neeff [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Can't play  CD / mount CDROM
 Date: 02 May 2005 16:07:45 -0400
 
   I've tried : mount -t cd9660 /dev/acd0 /cdrom and several other
   combinations :
   mount cd9660 /dev/acd0 /cdrom; mount cd9660; mount_cd9660
   /dev/acd0 /cdrom; mount /cdrom  - still the same thing...
 
 What same thing?  What does it say when you type that?
 Does anything get printed in the log?

My /etc/fstab on 4-stable has 
/dev/acd0c  /cdrom  cd9660  ro,noauto0   0

On 5-stable it is
/dev/acd0   /cdrom  cd9660  ro,noauto00

Since I have a directory called /cdrom, all I have to do is say 
mount /cdrom. When I play a CDROM is have kscd setup to play 
the /dev/adc0.., which depends on the version of the OS.

Kent
 
 
 --
 Lowell Gilbert, embedded/networking software engineer, Boston area
  http://be-well.ilk.org/~lowell/

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

-- 
Kent Stewart
Richland, WA

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


RE: Problems with user ppp

2005-05-03 Thread bob
Log has this
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
which means your ISP has handed you ip 10.155.201.22 is dsn
server.
you say first line in /etc/resolv.conf  is 10.255.201.22
Are you sure you posted the correct stuff here. that number is to
close not to be typo.
Try deleting contents of /var/log/ppp.log and /etc/resolve.conf and
restart user-ppp to get good documented test.

Looks to me as your user ppp is functioning correctly.
Your firewall is not allowing out port 53 to ip 10.155.201.22 is
more likely cause of your problem.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vittorio
Sent: Tuesday, May 03, 2005 6:36 PM
To: freebsd-questions@freebsd.org
Subject: Problems with user ppp


On my PC with the latest freebsd 5.4 I'm trying to connect to my ISP
alice
by means of user ppp. Here is my /etc/ppp/ppp.conf:
#
default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 set device /dev/cuaa0
 set speed 115200
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
 set timeout 180                        # 3 minute idle timer (the
default)

alice:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

 set phone 7020803380
 set authname [EMAIL PROTECTED]
 set authkey nonteladico

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR                    # Add a (sticky) default
route
 enable dns                             # request DNS info (for
resolv.conf)

AND
in /etc/ppp/options

lock
noauth

Launching ppp -background alice I can connect with my ISP but
. names
are not resolved because PPP doesn't get the DNSs provided by the
peer and
uses the first DNS server in in /etc/resolv.conf ,10.255.201.22, of
a
previous  dhcp connection at office.
Here it is an extract of the connection log:

.
ppp[505]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
ppp[505]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from apx-rm5)
ppp[505]: tun0: Phase: Chap Output: RESPONSE ([EMAIL PROTECTED])
ppp[505]: tun0: Phase: Chap Input: SUCCESS
ppp[505]: tun0: IPCP: Using trigger address 0.0.0.0
ppp[505]: tun0: CCP: FSM: Using deflink as a transport
ppp[505]: tun0: CCP: deflink: State change Initial -- Closed
ppp[505]: tun0: CCP: deflink: LayerStart.
ppp[505]: tun0: CCP: MPPE: Not usable without CHAP81
ppp[505]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
ppp[505]: tun0: CCP:  DEFLATE[4] win 15
ppp[505]: tun0: CCP:  PRED1[2]
ppp[505]: tun0: CCP: deflink: State change Closed -- Req-Sent
ppp[505]: tun0: Phase: deflink: lcp - open
ppp[505]: tun0: Phase: bundle: Network
ppp[505]: tun0: IPCP: FSM: Using deflink as a transport
ppp[505]: tun0: IPCP: deflink: State change Initial -- Closed
ppp[505]: tun0: IPCP: deflink: LayerStart.
ppp[505]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
ppp[505]: tun0: IPCP:  IPADDR[6] 0.0.0.0
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot
compression
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
                                                   ^
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: deflink: State change Closed -- Req-Sent
ppp[505]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot
compression
ppp[505]: tun0: IPCP:  IPADDR[6] 80.21.255.5
ppp[505]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot
compression
ppp[505]: tun0: IPCP:  IPADDR[6] 80.21.255.5
ppp[505]: tun0: IPCP: deflink: State change Req-Sent -- Ack-Sent
ppp[505]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened
ppp[505]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression
Control
Protocol)
ppp[505]: tun0: CCP: deflink: State change Req-Sent -- Stopped
ppp[505]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent
ppp[505]: tun0: IPCP:  IPADDR[6] 212.216.149.154
ppp[505]: tun0: IPCP:  IPADDR[6] changing address: 0.0.0.0  --
212.216.149.154
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
                                                   ^^
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: Primary nameserver set to 10.155.201.22
ppp[505]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
ppp[505]: tun0: IPCP:  IPADDR[6] 212.216.149.154
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot
compression
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent

...

What should I do?
Vittorio
___
freebsd-questions@freebsd.org mailing list

Re: make installworld (remotely)

2005-05-03 Thread Kris Kennaway
On Wed, May 04, 2005 at 12:29:40AM +0300, Lauri Anteploon / ctrl-L wrote:
 Hi.
 Im running FreeBSD 5.3-Release #0 and would like to do buildworld and
 buildkernel.
 The problem is that the machine is a remote one.
 Handbook states that to run mergemaster and make installworld I should
 boot into single user mode.
 That would mean that I can't access the machine remotely anymore am I
 correct?
  
 Would it be okey to run make installworld when running in multiuser mode and
 being the only person whos logged on and maby shutting down most of the
 network services (leaving my sshd running though) ?

It's possible to do this if everything goes 100% right, but if not
then you'll be left without a usable machine.  You really want a
serial console (and remotely-accessible power controller) for remote
machines, so you can recover them even if you make a mistake.

Kris


pgpI0SAYgTELa.pgp
Description: PGP signature


Language/codepage trouble

2005-05-03 Thread pps
Hello,
I've been having alot of problems with encodings/language etc.
In short, there's no such problem on winXP - in control panel/Reagional 
and Language Options I set this options:
Standards and Formats (locale): English
Language for non-unicode programs: Russian

and I'd like to get the same functionality on my freebsd, but I only got 
a ton of problems :)
In short, all I want is to have a usual english freebsd (with kde in 
english etc) but all 8-bit texts would be trated the same way they are 
treated on russian freebsd. It's easy to get the second thing - set 
lang=ru in ~/.login_conf or some other way to set env[LANG], but it 
makes everything f**ked up - all kde and other apps become in russian, 
which I don't need! It seemed like setting default charset would solve 
the problem, but setting charset=CP1251 in ~/.login_conf doesn't solve 
this problems - it doesn't have any effect. Is there any way I can do 
what I want?

I tried to hack default locale files in en_US.ISO8859-1 long time ago 
and I think I made something bad. Is there a way to remove entire 
directory /usr/share/locale and then reinstal it?

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


Re: make installworld (remotely)

2005-05-03 Thread Alex Zbyslaw
Kris Kennaway wrote:
On Wed, May 04, 2005 at 12:29:40AM +0300, Lauri Anteploon / ctrl-L wrote:
 

Would it be okey to run make installworld when running in multiuser mode and
being the only person whos logged on and maby shutting down most of the
network services (leaving my sshd running though) ?
   

It's possible to do this if everything goes 100% right, but if not
then you'll be left without a usable machine.  You really want a
serial console (and remotely-accessible power controller) for remote
machines, so you can recover them even if you make a mistake.
 

Or a machine which can boot off a network disk.  The you can boot off 
the network, mount your local disks and fix the problems.  If you can 
boot off a network disk, you might even be able to run installworld, but 
you'd have to figure out how to make it install into something like 
/mnt/usr instead of /usr.  Someone else will have to tell you if that's 
possible.

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


Re: make installworld (remotely)

2005-05-03 Thread Pat Maddox
http://layer0.layeredtech.com/showthread.php?t=2

Walks you through upgrading remotely.




On 5/3/05, Lauri Anteploon / ctrl-L [EMAIL PROTECTED] wrote:
 Hi.
 Im running FreeBSD 5.3-Release #0 and would like to do buildworld and
 buildkernel.
 The problem is that the machine is a remote one.
 Handbook states that to run mergemaster and make installworld I should
 boot into single user mode.
 That would mean that I can't access the machine remotely anymore am I
 correct?
 
 Would it be okey to run make installworld when running in multiuser mode and
 being the only person whos logged on and maby shutting down most of the
 network services (leaving my sshd running though) ?
 
 Lauri Anteploon
 HYPERLINK mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
 5056999
 
 HYPERLINK http://www.bitifarm.ee/;
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 2.05.2005
 
 
 ___
 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: make installworld (remotely)

2005-05-03 Thread bob
Doing a remote buildworld is just too dangerous for an production
box and expensive in backups because you have all the source files
to deal with. The more popular method of updating a remote system is
to have an local development box that has same components and do a
fresh install to a empty ata hard drive and them ship new HD to
remote site and swap for old one. If needed, you recover by swapping
old one back in. Or another popular way is after populating new HD,
build an bootable system on a cdrom then ship cdrom to remote site
and swap that.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lauri
Anteploon / ctrl-L
Sent: Tuesday, May 03, 2005 5:30 PM
To: freebsd-questions@freebsd.org
Subject: make installworld (remotely)


Hi.
Im running FreeBSD 5.3-Release #0 and would like to do buildworld
and
buildkernel.
The problem is that the machine is a remote one.
Handbook states that to run mergemaster and make installworld I
should
boot into single user mode.
That would mean that I can't access the machine remotely anymore am
I
correct?

Would it be okey to run make installworld when running in multiuser
mode and
being the only person whos logged on and maby shutting down most of
the
network services (leaving my sshd running though) ?


Lauri Anteploon
HYPERLINK mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
5056999



HYPERLINK http://www.bitifarm.ee/;






--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date:
2.05.2005



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


Re: NFS mounting

2005-05-03 Thread Benjamin Keating
So putting NFs mounts in the background, via fstab would look like this(?):

nfs.myserver.com:/usr/ports   /usr/ports   nfs   rw,-b   0   0

(is the -b in the right place? I don't have a test environment to
check this setting)

Thanks!
- bpk

On 4/29/05, Xian [EMAIL PROTECTED] wrote:
 On Friday 29 April 2005 12:52, Vyacheslav Druzhinin wrote:
  Hello freebsd-questions,
 
I've added the nfs mounting point on my workstation to the /etc/fstab
  like this: nfs.myserver.com:/usr/ports /usr/ports nfs 0 0
 
When nfs.myserver.com is reachable everything is ok. But if
nfs.myserver.com is down my workstation can't startup and hangs on
at boot screen until nfs.myserver.com become up.
 
Is it possible to skeep the mounting of nfs volume when nfs server
is not reachable?
 
 
  With best regards,  [MCP, MCSD]
  Vyacheslav  mailto:[EMAIL PROTECTED]
  Origin: --= DVG_Lab =--
 
 
 The bg option would background the mount and it would try every minute till it
 works. man mount_nfs explains all.
 
 --
 /Xian
 
 Kind words can be short and easy to speek but their echos are truly endless
 Mother Theresa
 ___
 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]


Sendmail with sasl2 build fails.

2005-05-03 Thread Richard Mcintyre
All,
I've checked the mailing lists and it appears that this has been a 
problem for other people in the past, but I can't seem to fix the issue 
I'm having.

I have installed cyrus-sasl2-saslauthd from ports.
I then added the following to /etc/make.conf:
# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+= -lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
Then, I attempted to rebuild sendmail, I have tried both of the 
following steps...
First I tried:
   # cd /usr/src/usr.sbin/sendmail
   # make clean
   # make depend
   # make
   # make install

When that failed I tried:
   # cd /usr/src/lib/libsm
   # make obj
   # make depend
   # make
   # cd /usr/src/lib/libsmutil
   # make obj
   # make depend
   # make
   # cd /usr/src/usr.sbin/sendmail
   # make obj
   # make depend
   # make
   # make install
Finally when that failed I tried:
   # cd /usr/src/lib/libsm
   # make clean
   # cd /usr/src/lib/libsmutil
   # make clean
   # cd /usr/src/usr.sbin/sendmail
   # make clean
   # cd /usr/src/lib/libsm
   # make obj
   # make depend
   # make
   # cd /usr/src/lib/libsmutil
   # make obj
   # make depend
   # make
   # cd /usr/src/usr.sbin/sendmail
   # make obj
   # make depend
   # make
   # make install
All return the same problem at the make on /usr/src/usr.sbin/sendmail...
SNIP
cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
-D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop
/SNIP

Can anyone help out? Thanks in advance...
~REM

tco1# uname -a
FreeBSD tco1.iaminsane.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon May  
2 22:32:50 EDT 2005 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/TCO1.2005.05.02.001  i386

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


unary operator expected

2005-05-03 Thread Chris Burchell
Hello:

I'm working with a script written for Linux that has the following
lines:

# Check that networking is up.
[ ${NETWORKING} = no ]  exit 0


Everything else in the script works okay, but this one bombs with the
following error:

line 35: [: =: unary operator expected


Can anyone help with suggestions or an alternate statement that will
work on FreeBSD 5.3-RELEASE?

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


IPFW uid filtering (UID)

2005-05-03 Thread Kris Maglione
I have OpenVPN listening on an interface on UDP 1194.
It drops to openvpn:openvpn after it opens the socket. sockstat confirms 
this.

When I add a rule to allow packets in on udp 1194 with uid openvpn, they 
don't match.
The rule is:
1340 allow udp from any to me 1194 in recv dc0 uid openvpn

When I take out uid openvpn, the packets match. When it's there, they 
don't.

Am I doing something wrong?
BTW, the same goes for the outgoing rule.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mutt working throu NFS only in read-only

2005-05-03 Thread Benjamin Keating
You can also omit the client-side lockd and statd options if you
include the `-L` option when mounting the NFS export (man mount_nfs,
nfsd)

- bpk

On 3/8/05, Doug Poland [EMAIL PROTECTED] wrote:
 On Tue, Mar 08, 2005 at 11:37:19AM +0300, Eugene M. Minkovskii wrote:
  Hello, I have some trouble in NFS configure. I need to read mail
  through NFS. So I say on the server:
 
 ...snip...
 
  System: FreeBSD 5.3-RELEASE-p5 (i386) [using ncurses 5.2]
 
 On FreeBSD 5.x you need to run rpc lockd and statd on both the client
 and server.  Here's snippets from /etc/rc.conf on my boxes:
 
 client:
 nfs_client_enable=YES
 rpc_lockd_enable=YES  # Run NFS rpc.lockd needed for
 rpc_statd_enable=YES  # Run NFS rpc.statd needed for
 
 server:
 nfs_server_flags=-u -n 10
 nfs_server_enable=YES
 rpc_lockd_enable=YES  # Run NFS rpc.lockd needed for
 rpc_statd_enable=YES  # Run NFS rpc.statd needed for
 
 Implement those changes, reboot (or restart daemons), and you should be
 good to go.
 
 --
 Regards,
 Doug
 ___
 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: unary operator expected

2005-05-03 Thread Clifton Royston
On Tue, May 03, 2005 at 05:13:47PM -0600, Chris Burchell wrote:
 I'm working with a script written for Linux that has the following
 lines:
 
 # Check that networking is up.
 [ ${NETWORKING} = no ]  exit 0

  I don't think it's a Linux/BSD issue.  This line won't work in sh if
NETWORKING is unset.  Then you get (after parameter expansion)

  [ = no ]  exit 0

which fails the syntax check.  

  I suspect NETWORKING always happened to be set in the Linux
environment you were running it under, or perhaps you were using a
different shell.
 
 Can anyone help with suggestions or an alternate statement that will
 work on FreeBSD 5.3-RELEASE?

  One time-honored idiom is:

  [ X${NETWORKING} = Xno ]  exit 0

  or you can just make sure that NETWORKING always gets set to some
value.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide...
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


php4-4.3.11 Port Question (mime_magic)

2005-05-03 Thread John Schneider
Newbie question, apologize in advance if I missed something obvious. I also
apologize if this is not the best forum for questions on specific ports. 

I installed the port php4-4.3.11. The purpose of using this port to ugprade
my working php4 install, was to be able to the horde 3.0 framework
(www.horde.org). Everything looks fine, but a test.php file in my horde
setup reports that mime_magic is not installed.

Everything I read says that mime_magic is installed by default with recent
versions of php4. I'm not sure why the port version of php4 hasn't installed
it, or how to specify it as a make option (I'm not even sure if this is
possible via the ports).

Any help or general guideance would be very much appreciate. Thanks in
advance.

- John

HERE IS THE REPORT FROM MY HORDE TEST.PHP FILE:


Horde Version

* Horde: 3.0.4

Horde Applications

* Horde: 3.0.4
* Imp: H3 (4.0.3) (run Imp tests)

PHP Version

* View phpinfo() screen
* View loaded extensions
* PHP Version: 4.3.11
* PHP Major Version: 4.3
* PHP Minor Version: 11
* PHP Version Classification: release
* You are running a supported version of PHP.

PHP Module Capabilities

* Ctype Support: No
* DOM XML Support: Yes
* FTP Support: Yes
* GD Support: Yes
* Gettext Support: Yes
* Iconv Support: Yes
* IMAP Support: Yes
* LDAP Support: No
* Mbstring Support: Yes
* MCAL Support: No
* Mcrypt Support: Yes
* MIME Magic Support (fileinfo): No
  The fileinfo PECL module or the mime_magic PHP extension (see below)
will most likely provide faster MIME Magic lookups than the built-in Horde
PHP magic code. See horde/docs/INSTALL for information on how to install
PECL/PHP extensions.
* MIME Magic Support (mime_magic): No
  The fileinfo PECL module (see above) or the mime_magic PHP extension
will most likely provide faster MIME Magic lookups than the built-in Horde
PHP magic code. See horde/docs/INSTALL for information on how to install
PECL/PHP extensions.
* MySQL Support: Yes
* OpenSSL Support: Yes
* PostgreSQL Support: No
* Session Support: Yes
* XML Support: Yes
* Zlib Support: Yes

Miscellaneous PHP Settings

* magic_quotes_runtime disabled: Yes
* memory_limit disabled: No
  If PHP's internal memory limit is turned on and if not set high enough
Horde will not be able to handle large data items (e.g. large mail
attachments in IMP). If possible, you should disable the PHP memory limit by
recompiling PHP without the --enable-memory-limit flag. If this is not
possible, then you should set the value of memory_limit in php.ini to a
sufficiently high value (Current value of memory_limit: 2400).
* file_uploads enabled: Yes
* safe_mode disabled: Yes
* session.use_trans_sid disabled: Yes
* session.auto_start disabled: Yes

Required Horde Configuration Files

* config/conf.php: Yes
* config/mime_drivers.php: Yes
* config/nls.php: Yes
* config/prefs.php: Yes
* config/registry.php: Yes

PHP Sessions

* Session counter: 4
* To unregister the session: click here

PEAR

* PEAR Search Path (PHP's include_path):
/usr/home/daum/www/htdocs/work/horde/lib:/usr/local/lib/php
* PEAR: Yes
* Recent PEAR: Yes
* Mail_RFC822: No
  Make sure you are using a recent version of PEAR which includes the
Mail_RFC822 class.
* Mail_Mime: Yes
* Log: Yes
* DB: Yes
* Net_Socket: Yes
* Date: Yes
* Auth_SASL: Yes
* HTTP_Request: Yes
* File: Yes
* Net_SMTP: Yes
* Services_Weather: Yes

Valid XHTML 1.0!


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


Re: Sendmail with sasl2 build fails.

2005-05-03 Thread Andy W. Clements
On Tue, 2005-05-03 at 19:10 -0400, Richard Mcintyre wrote:
 I have installed cyrus-sasl2-saslauthd from ports.

 I then added the following to /etc/make.conf:
 # SASL (cyrus-sasl v2) sendmail build flags...
 SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
 SENDMAIL_LDFLAGS+= -L/usr/local/lib
 SENDMAIL_LDADD+= -lsasl2
 # Adding to enable alternate port (smtps) for sendmail...
 SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL


I just went through this same process, however my flags are different
than yours:

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

But I don't think that is what is causing the error belowcontinue:

 All return the same problem at the make on /usr/src/usr.sbin/sendmail...
 SNIP
 cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
 -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
 -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
 -D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL  -c 
 /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
 make: don't know how to make 
 /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop
 /SNIP
 
 Can anyone help out? Thanks in advance...
 ~REM
 

I have read somewhere that your source needs to be prestine in order for
the compile to work correctly.  I pulled the source directly from cvsup
just before attempting this manuver and it worked out all right.  When
did you last retrieve the source?

I did it on the same build as you:

zeppo:awc# uname -a
FreeBSD zeppo.candhsoftware.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri
Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Does the make at the end of libsmutil show the libsmutil.a file being
created?

--Andy


-- 
Andy Clements
Chief Engineer
C  H Software L.L.C.
[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: Sendmail with sasl2 build fails.

2005-05-03 Thread Richard Mcintyre
Andy W. Clements wrote:
On Tue, 2005-05-03 at 19:10 -0400, Richard Mcintyre wrote:
 

I have installed cyrus-sasl2-saslauthd from ports.
I then added the following to /etc/make.conf:
# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+= -lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
   

I just went through this same process, however my flags are different
than yours:
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
But I don't think that is what is causing the error belowcontinue:
 

All return the same problem at the make on /usr/src/usr.sbin/sendmail...
SNIP
cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
-D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop
/SNIP

Can anyone help out? Thanks in advance...
~REM
   

I have read somewhere that your source needs to be prestine in order for
the compile to work correctly.  I pulled the source directly from cvsup
just before attempting this manuver and it worked out all right.  When
did you last retrieve the source?
I did it on the same build as you:
zeppo:awc# uname -a
FreeBSD zeppo.candhsoftware.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri
Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
Does the make at the end of libsmutil show the libsmutil.a file being
created?
--Andy
 

Actually I have just installed (using  diskettes over the network) last 
night. I am sure that doesn't mean that the src that was downloaded is 
100% up todate. I am running a cvsup on src now, hopefully that will 
correct my problem.

PS - Yes the libsmutil.a file was created when running the make in 
libsmutil.

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


The FreeBSD Handbook, in Wiki form.

2005-05-03 Thread Benjamin Keating
Is there anything being done to help keep the handbook just a little
more updated? It's a great handbook, if it's content wasn't so out of
date.

A wiki would be a great way to acheive this. If there isn't a project
like it yet, I'd like to propose we set one up. I can contribute quite
a bit of time and resources towards this. Save me wiki.freebsd.org and
I'll get a move on!

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


Re: IPFW uid filtering (UDP) (was (UID))

2005-05-03 Thread Kris Maglione
subject should read UDP
Kris Maglione wrote:
I have OpenVPN listening on an interface on UDP 1194.
It drops to openvpn:openvpn after it opens the socket. sockstat 
confirms this.

When I add a rule to allow packets in on udp 1194 with uid openvpn, 
they don't match.
The rule is:
1340 allow udp from any to me 1194 in recv dc0 uid openvpn

When I take out uid openvpn, the packets match. When it's there, 
they don't.

Am I doing something wrong?
BTW, the same goes for the outgoing rule.
___
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 FreeBSD Handbook, in Wiki form.

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 05:00:06PM -0700, Benjamin Keating wrote:
 Is there anything being done to help keep the handbook just a little
 more updated? It's a great handbook, if it's content wasn't so out of
 date.

What is out of date?

Generally, if you want to improve something in the handbook, just
submit a PR.

Kris


pgpZe0jH1II8e.pgp
Description: PGP signature


Properly umounting a USB HDD

2005-05-03 Thread Benjamin Keating
Hey all,

I've noticed that a 'umount /mnt/portable' properly umounts the drive
like it should, but when I hold the drive in my hand and give it a
very gentle horizontal spin with my wrist, the reading head /
platter.. something, sounds loose, as if the arm wasn't properly
docked.

Is there any command in BSD that will allow me to properly shutdown a
portable disk? System disks don't have this sound at all but I'm not
sure what commands do it. Maybe it's a APIC/APM thing? That stuff is
greek to me.

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


  1   2   >