How to start KDE automatically at booting

2004-02-27 Thread Stephen Liu
Hi Folks,

I am compelled to start KDE from multi-user mode with following command;

# kdm 

I tried following steps without success;

creating /usr/local/etc/rc.d/kguilogin.sh with only 2 lines
#! /bin/sh
kdm 
or with
exec kdm 
kdm
xinit kdm
xinit /usr/local/bin/kdm --
xinit /usr/local/bin/kdm
and chmod 500 /usr/local/etc/rc.d/kguilogin.sh. On booting it only 
booted to multi-user mode.

Kindly advise how to make KDE started automatically at booting

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


Re: Quick newbie portupgrade question.

2004-02-27 Thread Kris Kennaway
On Fri, Feb 27, 2004 at 01:19:36AM -0500, Shaun T. Erickson wrote:
 Kevin D. Kinsey, DaleCo, S.P. wrote:
 
 Shaun T. Erickson wrote:
 
 I understand that 'portupgrade -arR' will upgrade everything. Some are 
 packages and some are ports. Will portupgrade upgrade packages with 
 packages, and ports with ports, or do packages get replaced with 
 ports, so that all are ports after it's run?
 
 Check out the -P and -PP CLI switches
 to portupgrade(1).
 
 If I read them correctly, I cannot have packages replaced with packages, 
 and ports with ports. That is, unless I can figure out which are which, 
 ahead of time, and select the right switches for the right things. Is 
 there an easy way to determine which are which?

No, see my response.

Kris


pgp0.pgp
Description: PGP signature


Re: How to start KDE automatically at booting

2004-02-27 Thread Jonathan Chen
On Fri, Feb 27, 2004 at 04:42:52PM +0800, Stephen Liu wrote:

[...]
 Kindly advise how to make KDE started automatically at booting

Edit /etc/ttys, replace /usr/X11R6/bin/xdm with /usr/local/bin/kdm and
change the off to on on that line.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR.

2004-02-27 Thread Jud
On Thu, 26 Feb 2004 20:21:25 -0900, Mark Weisman [EMAIL PROTECTED] wrote:

  I've tried setting the MBR within fdisk from the FBSD side of the  
house, however, it won't set. I go through all the motions, yet when it  
goes to write it says that it can't write to drsk ad0. I then went into  
a dos boot using a Windows98 boot disk and made the partition active, it  
still will not boot into the Windows partition. For the life of me, I  
cannot think of how to fix this. I need some help, any ideas?
This is only a single hard drive with both XP and FreeBSD, I'm assuming.

You can try three things:

1. Reinstall the FreeBSD bootloader and write the change; or

2. Boot from the Win floppy and type 'fdisk /mbr' (no quotes), or boot  
from the XP CD, go into the repair console and type 'fixboot' and  
'fixmbr'; then reboot into FreeBSD and reinstall the FreeBSD bootloader; or

3. Do step 2, then boot into FreeBSD from the CD, go into post-install  
configuration, choose to install a normal MBR (not the FreeBSD  
bootloader), write the change, then install GAG (URL in previous message).

There are other options as well, but these should be enough to burden you  
with for now.  :)

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


virus found in sent message information

2004-02-27 Thread System Anti-Virus Administrator

Attention: [EMAIL PROTECTED]


A virus was found in an Email message you sent. 
This Email scanner intercepted it and stopped the entire message
reaching its destination. 

The virus was reported to be: 

 the W32/[EMAIL PROTECTED] virus !!!


Please update your virus scanner or contact your IT support 
personnel as soon as possible as you may have a virus on your system.


Your message was sent with the following envelope:

MAIL FROM: [EMAIL PROTECTED]
RCPT TO:   [EMAIL PROTECTED] 

... and with the following headers:

---
MAILFROM: [EMAIL PROTECTED]
Received: from unknown (HELO ferramentas-sc.com.br) (200.96.73.17)
  by 0 with SMTP; 27 Feb 2004 11:31:52 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: information
Date: Fri, 27 Feb 2004 09:25:49 -0300
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=68226765


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


IPFW SQUID 2 bsd boxes 2 different internet routers

2004-02-27 Thread Leon Botes
Here is something that gave me uphill for a long time which I thought I
might share with anyone who is interested.

The problem was the traffic was too much for the one line so we installed a
second line.

 

How to divert all the http 80 stuff down the second line using a second box
as a proxy?

 

Box A is the bsd gateway with nics IIF and OIF.

Runs ipfw which forwards the tcp 80 connections from the IIF network to box
B

It has a default gateway of internet router C

 

Box B is the squid proxy running in httpd accelerator mode with one nic on
the same network as the Box A OIF.

Runs ipfw which forwards the tcp 80 connections coming into it to
127.0.0.1:3128.

It has a default gateway of internet router D

 

The answer is all in the ipfw rules.

 

On box A:

Add this rule AFTER the natd rules

Ipfw add (rulenumber) fwd (Box B) tcp from any to any 80 out via (oif)

 

On box B:

Ipfw add (firstrulenumber) fwd 127.0.0.1,3128 tcp from any to any 80 in via
(oif)

That rule forwards all incoming requests to the squid running on the
localhost.

 

If you are stuck with only one box do this in the rules:

Ipfw add fwd 127.0.0.1,3128 tcp from any to any 80 in via IIF

Ipfw fwd (router for the http) tcp from any to any 80 out via OIF

 

Any suggestions, improvements or shoot me downs are welcome.

 

Leon

 

 

 

 

 

 

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


UK Distributor???

2004-02-27 Thread Phil Burford
Hi 
 
I am an Account Manager for Westwood Associates Ltd, an IT Reseller in
the UK.
 
One of my customers has asked for pricing on your products, but I do not
know who your UK Distributor(s) is (are). 
 
Can you help?
 
Best regards, 
Phil Burford
Account Manager
Westwood Associates Ltd 
Tel. 01858 545 888
Fax. 01858 545 154
Email. [EMAIL PROTECTED] 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR.

2004-02-27 Thread Matthew Seaman
On Thu, Feb 26, 2004 at 01:11:28PM -0900, Mark Weisman wrote:

 The second question I have, is can I put the command startx into my
 rc.conf file to have it boot directly into the x-server? Any help on
 these two would be awesome. Thanks.

Other people have described how you can arrange for startx to be run
automatically whenever anyone logs into your system console -- however
I'm guessing that isn't exactly what you mean.

If you want to set up a system with a graphical login screen, check
out xdm(1) --- you can enable that by editing the file /etc/ttys and
changing the line:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off  secure

to:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   on  secure

xdm(8) is the 'X Display Manager' -- the default look is not amazingly
pretty, but you can customise it a bit to make it look nicer:
investigate the files in /usr/X11R6/lib/X11/xdm.

Note that is you use xdm(8), when you log in the ${HOME}/.xsession
script will be run to populate your desktop and start up a window
manager, rather than the ${HOME}/.xinitrc script that's run by startx.
The two scripts have very similar effects, and you can probably get
away with copying one to the other initially.

If you're a Gnome user, there's a workalike program gdm(8) you might
want to use instead, and I believe the KDE stuff comes with (surprise,
surprise) kdm(8).  Their documentation should tell you exactly what
you need to put into /etc/ttys in order to substitute them for xdm(8).

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Has anyone succeeded in compiling crm114 Mailfilter

2004-02-27 Thread Gunnar Flygt
I tried to compile the spam catcher CRM114. It bails out fairly quickly.
Has anyone tweeked the src to work with FreeBSD?

Please cc me, I'm not on the list.

-- 
Gunnar Flygt
SR Datadrift
Sveriges Radio

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


Re: The sensitivity of the mouse

2004-02-27 Thread Matthew Seaman
On Thu, Feb 26, 2004 at 04:57:02PM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote:
 Valerian Galeru wrote:
 
 Hi all! How can I change the sensitivity of the mouse?
 I am using the 4.9 release.
 
  
 
 
 Read the manpage for moused(8),
 and look for the -a option.  Any flag
 you want could likely be added to
 /etc/rc.conf.
 
 If you're running KDE, or Gnome,
 and maybe some other WM's, they
 can do something similar for you.
 In Gnome, it's Main Menu | Applications
 | Desktop Preferences | Mouse

For generic X Windows, use xset(1) to control this sort of thing --
the KDE or Gnome menu enties probably rjust run xset behind the scenes
for you anyhow. eg:

% xset m 2 200

Make the mouse accelerate to twice as fast if you move the pointer
more than 200 pixels.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: cp options

2004-02-27 Thread Matthew Seaman
On Fri, Feb 27, 2004 at 05:12:24PM +1300, Tom Munro Glass wrote:
 Linux cp has a --link option that makes hard links instead of copies of 
 non-directories. The FreeBSD cp doesn't appear to have that option.
 
 Is there a way of achieving this?

Yes.  Use find(1)/cpio(1) -- so, to create a 'link tree' of your entire home
directory under /tmp, you would do:

% cd ${HOME}
% find . -print | cpio -pvdl /tmp

That assumes that ${HOME} and /tmp are on the same device, which is
probably not true, but you get the general idea.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Has anyone succeeded in compiling crm114 Mailfilter

2004-02-27 Thread Simon Barner
Gunnar Flygt wrote:
 I tried to compile the spam catcher CRM114. It bails out fairly quickly.
 Has anyone tweeked the src to work with FreeBSD?
 
 Please cc me, I'm not on the list.


You should post the full error message, otherwise it's very difficult to
help you.

Simon


pgp0.pgp
Description: PGP signature


RE: Problems resolving hosts

2004-02-27 Thread JJB
You are experiencing one of the many problems created by the new
file system in the 5.x development releases. The file system gets
all locked up and then times out before releasing the sector on the
hard drive so it can be read by program.

All of the 5.x series of FreeBSD releases are from the development
branch and contains experimental and un-test kernel code and is
recommend by the official FreeBSD web site as only appropriate for
users who can debug kernel code, to be used at your own risk. The
4.9 version is the current stable production release appropriate for
general public consumption.

Submit problem report and install 4.9 if you want problem free
operation.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Travis
Troyer
Sent: Thursday, February 26, 2004 11:49 PM
To: [EMAIL PROTECTED]
Subject: Problems resolving hosts

I am running FreeBSD 5.1 and I am suddenly having problems loading
certain web
pages.  The system is behind another FreeBSD machine acting as a
router and
DHCP server, so it pulls it's IP and such from the router machine.
I did not
change any settings on either system, and suddenly some web sites
have a 1-3
minute delay in loading certain sites when using Mozilla, Netscape,
or
Konqueror.  I have tried booting into windows from the same system,
and these
same pages load in normal times.  They also load fine from any other
machine
on the network, so I am convinced it's a problem with this system's
configuration, but I have no idea where to start.  I don't
understand why
most sites load fine, but a select handful won't.  I would
appreciate it if
anybody could share any ideas about this.  I can provide any
configuration
files or logs, if requested.

Thanks in advance,

Travis Troyer

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

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


Problem: postfix 2.0.18 and mysql 4.0.18 on 5.2.1

2004-02-27 Thread Morten Buhl
Hi,
I have run into some problems during compilation of
postfix. It only occures when I try to compile in
mysql support.

snip
[src/error]
cc -DHAS_MYSQL -I/usr/local/include/mysql -DNO_PCRE 
-O -pipe -mcpu=pentiumpro -I. -I../../include
-DFREEBSD5 -c error.c
cc -DHAS_MYSQL -I/usr/local/include/mysql -DNO_PCRE 
-O -pipe -mcpu=pentiumpro -I. -I../../include
-DFREEBSD5 -o error error.o ../../lib/libmaster.a
../../lib/libglobal.a ../../lib/libutil.a
/usr/local/lib/mysql/libmysqlclient.a -lm -lz
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `report_errors':
viossl.o(.text+0x3c): undefined reference to
`ERR_get_error_line_data'
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `vio_ssl_read':
viossl.o(.text+0xc7): undefined reference to
`SSL_read'
viossl.o(.text+0xdf): undefined reference to
`SSL_get_error'
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `vio_ssl_write':
viossl.o(.text+0x124): undefined reference to
`SSL_write'
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `vio_ssl_close':
viossl.o(.text+0x2a7): undefined reference to
`SSL_shutdown'
viossl.o(.text+0x2b7): undefined reference to
`SSL_free'
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `sslaccept':
viossl.o(.text+0x472): undefined reference to
`SSL_new'
viossl.o(.text+0x49a): undefined reference to
`SSL_clear'
viossl.o(.text+0x4a8): undefined reference to
`SSL_get_session'
viossl.o(.text+0x4b7): undefined reference to
`SSL_SESSION_set_timeout'
viossl.o(.text+0x4cb): undefined reference to
`SSL_set_fd'
viossl.o(.text+0x4d9): undefined reference to
`SSL_set_accept_state'
viossl.o(.text+0x4e7): undefined reference to
`SSL_do_handshake'
viossl.o(.text+0x4fe): undefined reference to
`SSL_free'
viossl.o(.text+0x56a): undefined reference to
`SSL_get_peer_certificate'
viossl.o(.text+0x578): undefined reference to
`X509_get_subject_name'
viossl.o(.text+0x590): undefined reference to
`X509_NAME_oneline'
viossl.o(.text+0x5a0): undefined reference to
`X509_get_issuer_name'
viossl.o(.text+0x5b8): undefined reference to
`X509_NAME_oneline'
viossl.o(.text+0x5c8): undefined reference to
`X509_free'
viossl.o(.text+0x5e8): undefined reference to
`SSL_get_shared_ciphers'
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `sslconnect':
viossl.o(.text+0x669): undefined reference to
`SSL_new'
viossl.o(.text+0x68b): undefined reference to
`SSL_clear'
viossl.o(.text+0x699): undefined reference to
`SSL_get_session'
viossl.o(.text+0x6a8): undefined reference to
`SSL_SESSION_set_timeout'
viossl.o(.text+0x6bc): undefined reference to
`SSL_set_fd'
viossl.o(.text+0x6ca): undefined reference to
`SSL_set_connect_state'
viossl.o(.text+0x6d8): undefined reference to
`SSL_do_handshake'
viossl.o(.text+0x6f4): undefined reference to
`SSL_free'
/usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
In function `get_dh512':
viosslfactories.o(.text+0xa): undefined reference to
`DH_new'
viosslfactories.o(.text+0x2c): undefined reference to
`BN_bin2bn'
viosslfactories.o(.text+0x4b): undefined reference to
`BN_bin2bn'
viosslfactories.o(.text+0x60): undefined reference to
`DH_free'
/usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
In function `report_errors':
viosslfactories.o(.text+0xa6): undefined reference to
`ERR_get_error_line_data'
/usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
In function `vio_set_cert_stuff':
viosslfactories.o(.text+0xf0): undefined reference to
`SSL_CTX_use_certificate_file'
viosslfactories.o(.text+0x126): undefined reference to
`ERR_print_errors_fp'
viosslfactories.o(.text+0x150): undefined reference to
`SSL_CTX_use_PrivateKey_file'
viosslfactories.o(.text+0x186): undefined reference to
`ERR_print_errors_fp'
viosslfactories.o(.text+0x1bb): undefined reference to
`SSL_CTX_check_private_key'
/usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
In function `vio_verify_callback':
viosslfactories.o(.text+0x1fc): undefined reference to
`X509_STORE_CTX_get_current_cert'
viosslfactories.o(.text+0x206): undefined reference to
`X509_STORE_CTX_get_error'
viosslfactories.o(.text+0x20e): undefined reference to
`X509_STORE_CTX_get_error_depth'
viosslfactories.o(.text+0x21c): undefined reference to
`X509_get_subject_name'
viosslfactories.o(.text+0x236): undefined reference to
`X509_NAME_oneline'
viosslfactories.o(.text+0x287): undefined reference to
`X509_get_issuer_name'
viosslfactories.o(.text+0x2a1): undefined reference to
`X509_NAME_oneline'
/usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
In function `new_VioSSLConnectorFd':
viosslfactories.o(.text+0x30c): undefined reference to
`OPENSSL_add_all_algorithms_noconf'
viosslfactories.o(.text+0x321): undefined reference to
`SSL_load_error_strings'
viosslfactories.o(.text+0x331): undefined reference to
`TLSv1_client_method'
viosslfactories.o(.text+0x33c): undefined reference to
`SSL_CTX_new'
viosslfactories.o(.text+0x358): undefined reference to
`SSL_CTX_set_cipher_list'
viosslfactories.o(.text+0x372): undefined 

openssl0.9.7c.tbz

2004-02-27 Thread Osiozekhai Aliu
Hi

I have just openssl 0.9.7c.tbz over pkg_add. 
Now i want to configure the binary from modssl.tar.gz to work with the Openssl package 
but it keeps telling me that it cant find the bianry files for openssl

/configure --with-apache=../apache_1.3.29 --with-ssl=/usr/local/openssl

/configure --with-apache=../apache_1.3.29 --with-ssl=/usr/lib

/configure --with-apache=../apache_1.3.29 --with-ssl=/usr/local/bin/

are paths i have used.

please help me.



krustyserver# ./configure --with-apache=../apache_1.3.29 --with-ssl=/usr/local/bin/
Configuring mod_ssl/2.8.16 for Apache/1.3.29
 + Apache location: ../apache_1.3.29 (Version 1.3.29)
 + OpenSSL location: /usr/local/bin/
 + Auxiliary patch tool: ./etc/patch/patch (local)
 + Applying packages to Apache source tree:
   o Extended API (EAPI)
   o Distribution Documents
   o SSL Module Source
   o SSL Support
   o SSL Configuration Additions
   o SSL Module Documentation
   o Addons
Done: source extension and patches successfully applied.

Configuring for Apache, Version 1.3.29
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for FreeBSD 5.2.1 platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + using tr [a-z] [A-Z] to uppercase
 + checking for system header files
grep: not found
/Configure: sed: not found
tr: not found
grep: not found
tr: not found
/Configure: sed: not found
grep: not found
/Configure: sed: not found
tr: not found
grep: not found
tr: not found
./Configure: sed: not found
grep: not found
./Configure: sed: not found
tr: not found
grep: not found
 + adding selected modules
o ssl_module uses ConfigStart/End
  + SSL interface: mod_ssl/2.8.16
  + SSL interface build type: OBJ
  + SSL interface compatibility: enabled
  + SSL interface experimental code: disabled
  + SSL interface conservative code: disabled
  + SSL interface vendor extensions: disabled
  + SSL interface plugin: Vendor DBM (libc)
  + SSL library path: /usr/local/bin
Error: Cannot find SSL binaries under /usr/local/bin
./configure:Error: APACI failed

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


FreeBSD 5.2 as a firewall/router

2004-02-27 Thread Robert Golovniov
Hello,

  Is  there  a  place  where  I could get more information (preferably
  step-by-step  instructions)  on  how  to  set  up  FreeBSD  5.x as a
  Firewall/Router for a very small network, with a dial-up connection?

-- 
 -=Robert  Beata Golovniov | Lviv, Ukraine=-
~~
mailto:[EMAIL PROTECTED]Body=Embedded%20key
~~




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


socks5 got core dumped under 4.9

2004-02-27 Thread
I install the socks5 under freebsd 4.9 using the ports,then I often found error 
messages when i run dmesg like these(the error occurs about 2 or 3 times one day):

pid 209 (socks5), uid 0: exited on signal 11 (core dumped)
pid 212 (socks5), uid 0: exited on signal 11 (core dumped)
pid 211 (socks5), uid 0: exited on signal 11 (core dumped)

I checked the date of socks5.core in the root, it even comes out when i'm not using 
the proxy from the remote compute, I run the socks5 in the following form: 
/usr/local/bin/socks5 -p -n 6

Can anyone make a suggestion about this? thanks:)

btw: I ever use socks5 in redhatlinux 7.3 and never encounter this issue

- Yin Gang



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


Re: UK Distributor???

2004-02-27 Thread Dan Pelleg
Phil Burford [EMAIL PROTECTED] writes:

 Hi 
  
 I am an Account Manager for Westwood Associates Ltd, an IT Reseller in
 the UK.
  
 One of my customers has asked for pricing on your products, but I do not
 know who your UK Distributor(s) is (are). 
  
 Can you help?
  
 Best regards, 
 Phil Burford
 Account Manager
 Westwood Associates Ltd 
 Tel. 01858 545 888
 Fax. 01858 545 154
 Email. [EMAIL PROTECTED] 

Hi, here is a list of distributors:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html#MIRRORS-CDROM

(some of links in it are stale or broken - I'll send a note asking to
update).

The UK ones seem to be:
http://www.freebsd-services.com/
http://www.linuxemporium.co.uk/products/freebsd/

Also, some of the US-based ones are happy to ship internationally.

-- 

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


Re: Has anyone succeeded in compiling crm114 Mailfilter

2004-02-27 Thread Lowell Gilbert
Gunnar Flygt [EMAIL PROTECTED] writes:

 I tried to compile the spam catcher CRM114. It bails out fairly quickly.
 Has anyone tweeked the src to work with FreeBSD?

If I get a chance, I intend to crank out a port for it in a day or
so.  I wasn't intending to handle the integration with Mailfilter,
though.

[I'm not *guaranteeing* I'll get the chance; I have to go to
work on Monday, for the first time in over a year...]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UK Distributor???

2004-02-27 Thread Jerry McAllister
 
 Hi 
  
 I am an Account Manager for Westwood Associates Ltd, an IT Reseller in
 the UK.
  
 One of my customers has asked for pricing on your products, but I do not
 know who your UK Distributor(s) is (are). 
  
 Can you help?

Probably a lot of people who install FreeBSD just download the free
version from the net.  There are mirrors in the UK.   

There are companies who package already burned CD sets and sell
them at minimal cost often along with a printed handbook (the handbook
is also available free online).

The information for both paths can be found on the FreeBSD web site.

   Go to: http://www.freebsd.org/  

and look for the appropriate links.

jerry

  
 Best regards, 
 Phil Burford
 Account Manager
 Westwood Associates Ltd 
 Tel. 01858 545 888
 Fax. 01858 545 154
 Email. [EMAIL PROTECTED] 
  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR.

2004-02-27 Thread HOLLOW, CHRISTOPHER
You can also Grub it up:

http://www.gnu.org/software/grub/
http://www.daemonnews.org/200102/grub.html
Grub is a popular and well-supported OSS boot loader

HTH,

Chris



Jud wrote:

On Thu, 26 Feb 2004 17:18:01 -0900, Mark Weisman [EMAIL PROTECTED] 
wrote:

Just out of curiosity what is the order in creating a dual boot system?
Which operating system do you put on first? I see that having WinXP
setup in partitions is not a good idea, yet I'm not aware of how to load
the system in just a slice? I would appreciate any and all help in
trying to get this thing online. I need my workstation back as soon as
possible. Thanks.
[snip]

I've got my primary drive divided in two partitions, one partition had


WindowsXP and the other has FreeBSD 5.1-Release on it. I had WindowsXP


installed and working until I put FreeBSD on the second partition and
had it take control of the MBR. I know that the other partition is
still bootable if I can get a pointer to it, currently the boot menu
shows it
as:
  F!: ??
  F2: FreeBSD
How can I get that first menu choice to look at the installation on
the

first partition as bootable? Making the machine a dual boot between
the

two system?

First off, don't worry about slice vs partition - Jerry was just 
telling  you those are the names used by FreeBSD and Windows, 
respectively, for the  same thing.

Second, how to get your dual boot going -

1. I think if you do what you've already done in FreeBSD (set the 
Windows  slice/partition bootable) and then type w to write the 
change, that  should work.

If it doesn't, two other alternatives -

2. If you have a Win9x emergency boot/system floppy hanging around, 
use  fdisk to set the Windows partition/slice active, then reboot; or

3. Install GAG, a free, easy and automagical boot loader.  URL:  
http://gag.sourceforge.net/.

Hope this helps,

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


--

Christopher Hollow - Consultant
Infrastructure  Technology Support
Toronto, ON


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


FreeBSD 4.9 Multiple Ips in jail

2004-02-27 Thread Adam Gardner
Hey all,

I've been researching this for a while and have come to a dead end.
Hopefully someone can help me out here. I'm trying to get multiple ip's
working in jail on a 4.9 machine. I have applied the mijail2.diff patch
from jailnotes.cg.nu/zcripts/ and it applied correctly. I did make
buildworld and make installworld (was upgrading anyways), but when I run
the new jail binary I get the following error:

jail: jail: Invalid argument


I ran the following:

/ jail /jail/hostname.com hostname.com ip1,ip2 /bin/sh /etc/rc

Has anyone else seen this issue or could possible point me in the right
direction?

Thanks.

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


SMP-kernel (5.2.1) - really two CPUs active?

2004-02-27 Thread a
Upon setting up a machine with HT-CPU (P4 2.6GHz) I wonder if there's
any way to display the actual workload on the virtual CPUs.

First of all, here's what my /var/log/messages says:

Feb 27 15:47:50 beastie kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2593.68-MHz 
686-class CPU)
Feb 27 15:47:50 beastie kernel: Origin = GenuineIntel  Id = 0xf29  Stepping = 9
Feb 27 15:47:50 beastie kernel: 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,
SSE2,SS,HTT,TM,PBE
Feb 27 15:47:50 beastie kernel: Hyperthreading: 2 logical CPUs


so to my understanding there should be two CPUs available.

However neither top nor systat show any indication of more than
one CPU.

Please note that I've got

options SMP # Symmetric MultiProcessor Kernel
device  apic# I/O APIC

in my kernel - and don't have I386_CPU in my kernel config file.

As a test I've used two instances of cpuburn which should, upon
availability of two cpus, distribute among them (i.e. one cpuburn
process per cpu) but again top doesn't show that there's more than one
cpu.

Here are my questions:

o) Why does /var/log/message flag 2 CPUs whereas top and other
tools show only one?

o) Any tools to see the actual load on the two virtual CPUs?

TIA for your help,
-ewald


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


Multiple FreeBSD-installations on one harddisk?

2004-02-27 Thread a

In order to run two (different) versions of FreeBSD on one Harddisk
(4.9 and 5.2) are there any special caveats/pitfalls besides having a
separate slice for every installation?

Anything special to take care of during installation (esp. when
installing the second FreeBSD?)

Is it possible to use the same swap-partition for both instances of BSD? 

thanks much in advance for your help,
-ewald




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


Re: Boot and MBR.

2004-02-27 Thread Jerry McAllister
 
 Just out of curiosity what is the order in creating a dual boot system?
 Which operating system do you put on first? I see that having WinXP
 setup in partitions is not a good idea, yet I'm not aware of how to load
 the system in just a slice? I would appreciate any and all help in
 trying to get this thing online. I need my workstation back as soon as
 possible. Thanks.

I am not sure which thing you are referring to when you use
the word 'order' but...

Install whatever MS-Win system you want to have first and make sure
it boots OK.

Then, use one or another utility to shrink the MS slice and make room
for another - you can have up to 4 primary slices.   FIPS works fine
if the MS slice (called partition in MS land) is a FAT, but if it
is NTFS you will need some more sophisticated utility like Partition Magic
(which is not free - about $69 in Best Buy type stores) I have heard
there is a newer free one now available that can handle NTFS and
MS extended slices (partitions in MS speak) but I don't remember the
name.   Partition Magic will create a slice (which they call partition
since they are mostly MS oriented) and mark it as a FAT32 - or something
else if you tell it too.

Then install FreeBSD.   Presuming you use the CD sysinstall method,
when you get to the partitioning stage it shows you the primary
slices on the disk and what they currently have in them.   Put the
cursor on the new FAT slice that was created when you resized stuff
with PM or FIPS and 'D' delete it.  Then hit 'C' create and it will
make that a FreeBSD slice.   Then hit 'S' make it bootable (which,
non-intuitively will put an 'A' in the Flags column to indicate it
should be bootable.   I have also, sometimes, moved the cursor up and
marked the slice with the MS system in it as bootable (hit 'S' on it)
but sometimes not bothered and it hasn't seemed to make a difference
as long as the MS system booted OK before I got started.

As soon as you get this done and hit 'Q' to save and go on, you will
be presented with a screen that has three choices.   
   BootMgrInstall the FreeBSD Boot Manager
   Standard   Install a standard MBR (no boot manager)
   None   Leave the Master Boot Record Untouched

On this screen you want to choose the first one:  BootMgr
Then use the tab to make sure OK is selected and go on to
the next stuff.

After this you will be put in to a screen to divide up the FreeBSD
slice in to partitions.   Do this as needed for your installation

From here on out you are past the boot stuff.  You will choose
what you want installed - if you have room, just grab it all,
and where you want to install from - FTP or CD, etc

Finish up the install and network configuration.

When you boot, you will be presented with a menu something like:

  F1  DOS
  F2  FreeBSD

or maybe 

  F1  ??
  F2  FreeBSD

or I have on one machine

  F1  ??
  F2  DOS
  F3  FreeBSD

because it is a Dell machine and has a bootable Dell Slice with
their maintenance stuff on it.

You get a menu listing for every slice that is marked bootable
regardless of what it is.   It labels all MS FAT slices as 'DOS'
regardless of which MS system is on it.. 
You get the ?? if the Boot Manager finds it bootable, but doesn't know 
sort of system it is - such as for NTFS.   It doesn't have to know what 
kind of system it is to boot it so the ?? doesn't matter.  It is just a 
cosmetic annoyance.   IF it is too much for your stomach to take, then 
you can get a fancier Boot Manager such as GAG or GRUB and install it
and you can configure those with whatever labels you want to use.
Those can be installed later after the system is fully installed 
and you have some time to play.  

The basic FreeBSD boot manager is small to fit in the official one 
sector space that is available.  The fancier boot managers generally use 
some additional space that, by convention is never otherwise used, but 
is not officially available for it.   I kind of with they (whoever does 
this sort of official definition) would just officially redefine the
standard so the whole unused cylinder was official boot mangler space.

jerry


 
 Res Ipsa Loquitor,
 Mark-Nathaniel Weisman
 Site Master
 Mystic1.net
 
 
 -Original Message-
 From: Mark Weisman 
 Sent: Thursday, February 26, 2004 4:59 PM
 To: Jerry McAllister
 Cc: [EMAIL PROTECTED]
 Subject: RE: Boot and MBR.
 
 
 You are right, I have them setup originally under WinXP as partitions,
 then added FreeBSD to the second partition where it calls it a slice.
 Divided up the slice into the required folders. I have tested, and it is
 not cosmetic, in that when I select that menu item, the computer goes to
 the next row and stays indefinitely. I can put WinXP back on the
 computer if I have to, however, wouldn't that put the WinXP MBR on the
 box? I've gone in under fdisk and set the slice bootable, however
 nothing. I'm not sure how to install it now to just that slice. Any help
 would be greatly appreciated.
 
 Res Ipsa Loquitor,
 

Re: Boot and MBR (Gnome)

2004-02-27 Thread Kevin D. Kinsey, DaleCo, S.P.
Matthew Seaman wrote:

On Thu, Feb 26, 2004 at 01:11:28PM -0900, Mark Weisman wrote:

 

The second question I have, is can I put the command startx into my
rc.conf file to have it boot directly into the x-server? Any help on
these two would be awesome. Thanks.
   



 

snip

If you're a Gnome user, there's a workalike program gdm(8) you might
want to use instead, and I believe the KDE stuff comes with (surprise,
surprise) kdm(8).  Their documentation should tell you exactly what
you need to put into /etc/ttys in order to substitute them for xdm(8).
	Cheers,

	Matthew

 

I did this just last night; this seems to do it
(and I was a bad boy, just hacked it w/o looking
at the docs) 
[EMAIL PROTECTED] [/home/kadmin][10:26]
#cat /etc/ttys | grep gdm
ttyv0   /usr/X11R6/bin/gdmcons25  on  secure
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


booting into X (was: Boot and MBR (Gnome))

2004-02-27 Thread Robert Huff

Kevin D. Kinsey, DaleCo, S.P. writes:

  I did this just last night; this seems to do it
  (and I was a bad boy, just hacked it w/o looking
  at the docs) 
  
  [EMAIL PROTECTED] [/home/kadmin][10:26]
  #cat /etc/ttys | grep gdm
  ttyv0   /usr/X11R6/bin/gdmcons25  on  secure

It is my understanding that booting into X is not encouraged.
However, if you (generic) must do it then the ttys method is the
wrong way to go.  Instead, add the appropriate commands at the end
of /etc/rc.local.


Robert Huff



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


Re: Multiple FreeBSD-installations on one harddisk?

2004-02-27 Thread Ion-Mihai Tetcu
On Fri, 27 Feb 2004 17:23:13 +0100
[EMAIL PROTECTED] wrote:

 
 In order to run two (different) versions of FreeBSD on one Harddisk
 (4.9 and 5.2) are there any special caveats/pitfalls besides having a
 separate slice for every installation?

If you want to be able to access 5.2 partitions from 4.9 you should use
UFS1 on both (the default being 2 for 5.x). Try browsing sys/ufs cvs or
cvs-src@ arvhives, I vaguely remember a commit about a flag to help fsck
for this kind of setup.
 
 Anything special to take care of during installation (esp. when
 installing the second FreeBSD?)
 
 Is it possible to use the same swap-partition for both instances of
 BSD? 

Yes. You should however pay attention to core's produce but the other
installation.


-- 
IOnut
Unregistered ;) FreeBSD user

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


RE: Boot and MBR.

2004-02-27 Thread Mark Weisman
I've installed GAG, and that is a really easy setup! It identified all
the partitions, and what was in them, stepped me through the process of
copying the manager to the disk and everything, kudos for the
recommendation! When I select to boot to the WindowsXP partition, it
come to a black screen with red squares in a diagonal line across the
screen, not sure but it doesn't look good. Have to hit reset on the box
to get out, the three finger salute doesn't work. I see the cursor
blinking in the upper left corner, yet no operating system. Any ideas?

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net


-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 7:24 AM
To: Mark Weisman
Cc: Jerry McAllister; [EMAIL PROTECTED]
Subject: Re: Boot and MBR.


 
 Just out of curiosity what is the order in creating a dual boot 
 system? Which operating system do you put on first? I see that having 
 WinXP setup in partitions is not a good idea, yet I'm not aware of how

 to load the system in just a slice? I would appreciate any and all 
 help in trying to get this thing online. I need my workstation back as

 soon as possible. Thanks.

I am not sure which thing you are referring to when you use
the word 'order' but...

Install whatever MS-Win system you want to have first and make sure it
boots OK.

Then, use one or another utility to shrink the MS slice and make room
for another - you can have up to 4 primary slices.   FIPS works fine
if the MS slice (called partition in MS land) is a FAT, but if it is
NTFS you will need some more sophisticated utility like Partition Magic
(which is not free - about $69 in Best Buy type stores) I have heard
there is a newer free one now available that can handle NTFS and MS
extended slices (partitions in MS speak) but I don't remember the
name.   Partition Magic will create a slice (which they call partition
since they are mostly MS oriented) and mark it as a FAT32 - or something
else if you tell it too.

Then install FreeBSD.   Presuming you use the CD sysinstall method,
when you get to the partitioning stage it shows you the primary
slices on the disk and what they currently have in them.   Put the
cursor on the new FAT slice that was created when you resized stuff with
PM or FIPS and 'D' delete it.  Then hit 'C' create and it will
make that a FreeBSD slice.   Then hit 'S' make it bootable (which,
non-intuitively will put an 'A' in the Flags column to indicate it
should be bootable.   I have also, sometimes, moved the cursor up and
marked the slice with the MS system in it as bootable (hit 'S' on it)
but sometimes not bothered and it hasn't seemed to make a difference as
long as the MS system booted OK before I got started.

As soon as you get this done and hit 'Q' to save and go on, you will
be presented with a screen that has three choices.   
   BootMgrInstall the FreeBSD Boot Manager
   Standard   Install a standard MBR (no boot manager)
   None   Leave the Master Boot Record Untouched

On this screen you want to choose the first one:  BootMgr
Then use the tab to make sure OK is selected and go on to
the next stuff.

After this you will be put in to a screen to divide up the FreeBSD
slice in to partitions.   Do this as needed for your installation

From here on out you are past the boot stuff.  You will choose what you
want installed - if you have room, just grab it all, and where you want
to install from - FTP or CD, etc

Finish up the install and network configuration.

When you boot, you will be presented with a menu something like:

  F1  DOS
  F2  FreeBSD

or maybe 

  F1  ??
  F2  FreeBSD

or I have on one machine

  F1  ??
  F2  DOS
  F3  FreeBSD

because it is a Dell machine and has a bootable Dell Slice with their
maintenance stuff on it.

You get a menu listing for every slice that is marked bootable
regardless of what it is.   It labels all MS FAT slices as 'DOS'
regardless of which MS system is on it.. 
You get the ?? if the Boot Manager finds it bootable, but doesn't know 
sort of system it is - such as for NTFS.   It doesn't have to know what 
kind of system it is to boot it so the ?? doesn't matter.  It is just a 
cosmetic annoyance.   IF it is too much for your stomach to take, then 
you can get a fancier Boot Manager such as GAG or GRUB and install it
and you can configure those with whatever labels you want to use. Those
can be installed later after the system is fully installed 
and you have some time to play.  

The basic FreeBSD boot manager is small to fit in the official one 
sector space that is available.  The fancier boot managers generally use

some additional space that, by convention is never otherwise used, but 
is not officially available for it.   I kind of with they (whoever does 
this sort of official definition) would just officially redefine the
standard so the whole unused cylinder was official boot mangler space.

jerry


 
 Res Ipsa Loquitor,
 Mark-Nathaniel 

Re: Ruby 1.6.8.2003.10.15_1 publicity

2004-02-27 Thread Robert Huff

Tillman Hodgson writes:

   I'm more concerned about the publicity ... this  is likely to
   bite a *lot* of portupgrade users, and a commit message isn't
   the first place I'd expect casual FreeBSD users to look ;-)

I've seen commit messages suggested as a source of information
several times recently, and wanted to point out most people don't
know they exist much less how to track one down.


Robert Huff


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


Re: booting into X (was: Boot and MBR (Gnome))

2004-02-27 Thread Matthew Seaman
On Fri, Feb 27, 2004 at 11:45:18AM -0500, Robert Huff wrote:
 
 Kevin D. Kinsey, DaleCo, S.P. writes:
 
   I did this just last night; this seems to do it
   (and I was a bad boy, just hacked it w/o looking
   at the docs) 
   
   [EMAIL PROTECTED] [/home/kadmin][10:26]
   #cat /etc/ttys | grep gdm
   ttyv0   /usr/X11R6/bin/gdmcons25  on  secure
 
   It is my understanding that booting into X is not encouraged.
 However, if you (generic) must do it then the ttys method is the
 wrong way to go.  Instead, add the appropriate commands at the end
 of /etc/rc.local.

Errr... I don't know where you got that idea from.  There are
circumstances where you don't want to use an X display manager, and
there are circumstances when you do.  For a home or a desktop system,
having a graphical display manager provides a much nicer user
experience, IMHO.  It is true that gdm(1) has had a history of
security problems, but I believe the latest version has had all known
problems fixed and it is as secure as anything you might use in that
circumstance.

As for starting the display manager from the RC scripts: this is all
very well right after boot up, but it doesn't always mix too well with
people logging in and out all the time.  /etc/ttys is used to make
sure {x,g,k}dm is automatically restarted once the user has logged out
-- it's exactly analogous to the way that getty(8) is used to manage
logins to tty devices.  If you want to run a display manager in daemon
mode, that's your privilege, but running out of /etc/ttys is certainly
an option -- it's documented that way for xdm and kdm, whereas gdm
docs say neither yea nor nay on the subject.  People have reported
that the ttys method works with gdm -- so long as gdm doesn't
daemonize itself and retains control of the console then everything
should be OK.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Search Path in bash2

2004-02-27 Thread Martin McCormick
I am trying to modify the execution path on a FreeBSD system
for all the bash2 users on that system.  The man page says that 

 default path is system-dependent, and is set by the
 administrator who installs bash.  A common value is
 ``/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:.''.

How do I set, or in this case, reset it?  There are a number
of profiles and configuration files that look like they might work
such as login.conf, but I see no change in the $PATH I get and I
didn't run across anything in the port of bash that seemed to set a
path.

The path I do get is perfectly good, but I also want users to
get a shot at /usr/local/etc which isn't in the default path.

Thanks a lot.  I almost think I am loosing my magic touch.  I
can't find the global PATH setter for bash2 anywhere.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Information Technology Division Network Operations Group
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Firewall blocking natd redirect

2004-02-27 Thread Derrick Ryalls
I have a port redirect, public port 5001 to an internal machine port 3389,
for Remote Desktop that works well in natd as long as I don't fire up my
custom firewall:

0005023427286 divert 8668 ip from any to any via sis0
00100 24 6080 allow ip from any to any via lo0
00200  00 deny ip from any to 127.0.0.0/8
00300  00 deny ip from 127.0.0.0/8 to any
00400  00 check-state
00500  2  186 allow ip from 192.168.1.1 to 192.168.1.0/24
00600  4  266 allow ip from 192.168.1.0/24 to 192.168.1.1
00700 34 3399 allow ip from any to any keep-state in recv dc0
00800 18 2093 allow ip from any to any keep-state out xmit sis0
00900  00 allow ip from any to any keep-state out xmit dc0
01000  00 allow ip from any to 0.0.0.255:0.0.0.255 in recv dc0
01100  00 allow ip from 192.168.1.1 to any keep-state
01200  00 allow udp from any to any 53 keep-state
01300  00 allow tcp from any to any 53 keep-state
01400  00 allow udp from any to any 25 keep-state
01500  00 allow tcp from any to any 25 keep-state
01600  00 allow tcp from any to any 993 keep-state
0170018818936 allow tcp from any to any 22 keep-state
01800  00 allow tcp from any to any 80 keep-state
01900  00 allow tcp from any to any 5001 keep-state
65535 173082 56255563 deny ip from any to any


sis0 is the public interface and dc0 is the internal.

Right now I don't might so much having reduntant rules, but I would like my
functionality back without doing an allow from any to any.  Any ideas on
what I am missing?

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


Re: Boot and MBR.

2004-02-27 Thread Jud

On Fri, 27 Feb 2004 10:50:03 -0500, HOLLOW, CHRISTOPHER
[EMAIL PROTECTED] said:

 Jud wrote:
[snip]
  3. Install GAG, a free, easy and automagical boot loader.  URL:  
  http://gag.sourceforge.net/.

 You can also Grub it up:
 
 http://www.gnu.org/software/grub/
 http://www.daemonnews.org/200102/grub.html
 
 
 Grub is a popular and well-supported OSS boot loader

Absolutely.  I've happily used Grub, but turned to GAG when I went to
RAID-0.

Grub is an excellent bootloader and learning tool.  The only reason I
didn't include it in my recommendations to the OP was that I figured he'd
be happier at this point with something very easy and automagic.

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


Re: ppp server: arp proxy things? (re-post)

2004-02-27 Thread Maksim Yevmenkin
Hello,

[...]
 
 Now to what I can understand, the biggest problem is the proxy arp. I can 
 have bc compuerts connects to bs, but I cannot let them access other hosts 
 on the LAN. A true example: bc1 is 10.0.0.11, on the other side of the 
 tunnel is 10.0.0.10 (bs). bs also have a NIC address 10.0.0.9. bc1 ping 
 10.0.0.10 and 10.0.0.9 just fine, ping other hosts gets time out.
 
 I do have enable proxy (and enable proxyall) in my ppp.conf; I do have 
 gateway_enable=yes in my rc.conf. So it is a simple question: ppp 
 connects okay, but  proxy arp is not working, what should I do? 

what is your routing table?

# netstat -rn (should work on freebsd, windows (cmd) and mac os X (terminal)) 

 Now I just built a bluetooth based LAN access server, that is to run 
 several serial connection over bluetooth, so you can think they are many 
 simple serial connection, and ppp runs over the connections through tun. 
 The network is like this:
 
  [gateway/firewall: 10.0.0.138] --- [many hosts, 10.0.0.1 - 10.0.0.8]
  |
  | +-- [10.0.0.10 -tun- 10.0.0.11] -- [bc1]
  [bs: 10.0.0.9]+-- [10.0.0.12 -tun- 10.0.0.13] -- [bc2]
+-- [10.0.0.14 -tun- 10.0.0.15] -- [bc3]
 
 10.0.0.138 is also the DHCP/DNS server. bs means bluetooth LAN access 
 server, bc1 is a notebook computer with bluetooth, bc2 is another, and bc3 
 yet another.

why? PPP server can assign IP addresses just fine without any DHCP.
just put ppp/bluetooth clients on a separate subnet, i.e. in ppp.conf
on bs something like (check with ppp(8) man page)

server:
  ... other stuff ...

  set ifaddr 10.0.1.9 10.0.1.1-10.0.1.254
  accept dns

  ... other stuff ...

start rfcomm_pppd(8) with '-l server'.

now all ppp/bluetooth clients should be of 10.0.1.0/24 subnet. make sure

- all ppp/bluetooth clients have default route set to 10.0.1.1

- bs has gateway_enable=YES

- bs has valid entries in /ets/resolv.conf

- all non-bluetooth clients should have route to ppp/bluetooth clients
  via bs, i.e. to reach 10.0.1.0/24 subnet packet should go to bs (10.0.0.9)

 I have pppd running on bs. I'm pretty dumb with ppp, to get it working I 
 setup three ppp lables in /etc/ppp/ppp.conf, holding the address from 
 10.0.0.10 to 10.0.0.15.

read ppp(8) man page and look at /usr/share/examples/ppp/
 
 Currently bc1, bc2, bc3 connect to bs correctly, I don't have any 
 route/proxy to let bc to connect to other computers in the LAN, say 
 10.0.0.1. Now I wish to make the network really transparent, that is as if 
 bc1, bc2, bc3 is in the LAN, to be pinged and sshed. I wish to make:
 * upon each ppp connection, bs ask 10.0.0.138 to assign an IP address from 
 address pool to bc, also let 10.0.0.138 give other dhcp information like 
 dns server, search domain etc. If bc love to register a DNS entry it should 
 be able to do so.
 * When someone in LAN (say 10.0.0.5) wish to connect to bc2 it should be no 
 problem (so-called proxy arp).
 
 I hope I'm clear. Am I still far away from getting that work? Where to find 
 a guide to achieve that? Thank you!

max

__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Boot and MBR.

2004-02-27 Thread Mark Weisman
I appreciate the ease of installation of Gag, however, my objectives
still not being met, when I boot into the Windows partition, I get an
error that shows little red squares in a diagonal pattern across the
screen. No Windows?

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net


-Original Message-
From: Jud [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 8:46 AM
To: HOLLOW, CHRISTOPHER; Mark Weisman
Cc: [EMAIL PROTECTED]
Subject: Re: Boot and MBR.



On Fri, 27 Feb 2004 10:50:03 -0500, HOLLOW, CHRISTOPHER
[EMAIL PROTECTED] said:

 Jud wrote:
[snip]
  3. Install GAG, a free, easy and automagical boot loader.  URL:
  http://gag.sourceforge.net/.

 You can also Grub it up:
 
 http://www.gnu.org/software/grub/ 
 http://www.daemonnews.org/200102/grub.html
 
 
 Grub is a popular and well-supported OSS boot loader

Absolutely.  I've happily used Grub, but turned to GAG when I went to
RAID-0.

Grub is an excellent bootloader and learning tool.  The only reason I
didn't include it in my recommendations to the OP was that I figured
he'd be happier at this point with something very easy and automagic.

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


RE: Boot and MBR.

2004-02-27 Thread Jud

On Fri, 27 Feb 2004 08:06:43 -0900, Mark Weisman [EMAIL PROTECTED]
said:
 I've installed GAG, and that is a really easy setup! It identified all
 the partitions, and what was in them, stepped me through the process of
 copying the manager to the disk and everything, kudos for the
 recommendation! When I select to boot to the WindowsXP partition, it
 come to a black screen with red squares in a diagonal line across the
 screen, not sure but it doesn't look good. Have to hit reset on the box
 to get out, the three finger salute doesn't work. I see the cursor
 blinking in the upper left corner, yet no operating system. Any ideas?

First,

post.
top
don't
Please

Makes things harder to read in sequence.  :)

Second, you need to fix your WinXP installation.  Boot from the WinXP CD
and select to repair your installation.  Try the automatic repair first. 
If that doesn't work, select the repair console and use the 'fixboot' and
'fixmbr' commands.  If those don't work, boot from a Win9x
emergency/system floppy and use fdisk's 'fdisk /mbr' command.  Then
reinstall the FreeBSD MBR.  If you want to continue to use GAG, select
the 'normal' MBR for FreeBSD rather than the FreeBSD bootloader. 
Finally, you will have to redo your GAG configuration, or if your system
doesn't boot into GAG, reinstall it.

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


Re: FreeBSD box as router adding latency

2004-02-27 Thread Chris Dillon
On Thu, 26 Feb 2004, Aloha Guy wrote:

 Already tried that and it did improve things a little. I tried
 setting the HZ to 1000 and it didn't make much of a difference.  Is
 there a larger number that actually works well?

You can try higher HZ numbers, but you might run into other problems.
Experiment and see.  Others have experimented with higher HZ numbers
so you might want to check the list archives.  Anyway, is a 1ms delay
really that bad?


-- 
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest, most open, and most stable OS on the planet
 - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures
 - PowerPC, ARM, MIPS, and S/390 under development
 - http://www.freebsd.org

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

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


Hostname in shell (bash)?

2004-02-27 Thread Steven N. Fettig
Hi all,

I searched the archives and documents on bash, but I can't figure out 
how to put the hostname of the workstation I am on before the $ of the 
shell/command line.  Does anyone know how to add the hostname 
(preferably the first part - i.e. www, db1, etc) to the command line for 
bash 2.x?

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


RE: Boot and MBR. Thank YOU!

2004-02-27 Thread Mark Weisman
Sorry for being such a pest, my boss kept asking why my computer wasn't
working, and I'm not ready to ready for him to know I've got BSD loaded.
I was in panic mode because I couldn't get my Windows XP screens and
applications to come up. I deeply apologize, I was finally able to read
all of your message Jerry and it worked they way you said it would. All
is well, I'm on my way to prove that I can get twice the stuff I need
through the open source community than we can buy through Microsoft.
Thanks for all the posts and help. You guys rock!

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net

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


RE: Hostname in shell (bash)?

2004-02-27 Thread Derrick Ryalls
 Hi all,
 
 I searched the archives and documents on bash, but I can't figure out 
 how to put the hostname of the workstation I am on before the 
 $ of the 
 shell/command line.  Does anyone know how to add the hostname 
 (preferably the first part - i.e. www, db1, etc) to the 
 command line for 
 bash 2.x?

I have this in my .bashrc and .bash_profile files (\h is hostname):

# set prompt
PS1[\h][\u] \w # 
PS2=


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


Re: Boot and MBR.

2004-02-27 Thread HOLLOW, CHRISTOPHER
Mark,

  You might want to try booting the box with a Win98 Rescuse disk and 
running 'fdisk /mbr'.  This -should- re-window-ize the MBR.  Then run 
fdisk from the prompt and set the Windows partition as active.  Reboot 
and see if Windows boots normally.  You will not see any indication of 
the existance of the BSD installation at this point.  Should Windows 
come up okay, install Grub (or GAG if it suits your fancy) and you 
-should- be off and running.

DISCLAIMER:  The ^^^ -should- ^^^ is in there because I'm not entirely 
familiar with your environment and configuration.  As always, when 
working with partitions, it is possible that you will lose one, both or 
all of the slices and installations on the box.  If there is anything 
worth keeping, ensure you have it backed up...

HTH,

Chris

Mark Weisman wrote:

I appreciate the ease of installation of Gag, however, my objectives
still not being met, when I boot into the Windows partition, I get an
error that shows little red squares in a diagonal pattern across the
screen. No Windows?
Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net
-Original Message-
From: Jud [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 8:46 AM
To: HOLLOW, CHRISTOPHER; Mark Weisman
Cc: [EMAIL PROTECTED]
Subject: Re: Boot and MBR.



On Fri, 27 Feb 2004 10:50:03 -0500, HOLLOW, CHRISTOPHER
[EMAIL PROTECTED] said:
 

Jud wrote:
   

[snip]
 

3. Install GAG, a free, easy and automagical boot loader.  URL:
http://gag.sourceforge.net/.
 

 

You can also Grub it up:

http://www.gnu.org/software/grub/ 
http://www.daemonnews.org/200102/grub.html

Grub is a popular and well-supported OSS boot loader
   

Absolutely.  I've happily used Grub, but turned to GAG when I went to
RAID-0.
Grub is an excellent bootloader and learning tool.  The only reason I
didn't include it in my recommendations to the OP was that I figured
he'd be happier at this point with something very easy and automagic.
Jud

 

--

Christopher Hollow - Consultant
Infrastructure  Technology Support
Toronto, ON


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


Re: FreeBSD box as router adding latency

2004-02-27 Thread Aloha Guy
Chris Dillon [EMAIL PROTECTED] wrote: On Thu, 26 Feb 2004, Aloha Guy wrote:

 Already tried that and it did improve things a little. I tried
 setting the HZ to 1000 and it didn't make much of a difference. Is
 there a larger number that actually works well?

You can try higher HZ numbers, but you might run into other problems.
Experiment and see. Others have experimented with higher HZ numbers
so you might want to check the list archives. Anyway, is a 1ms delay
really that bad?

The 1ms delay isn't that bad if it was 1ms but we're talking about 3-4ms atleast. As 
for HZ numbers, what should I search for in the archives and on which list since it 
seems like HZ is also in the dmesg output for the clock generator so it's one of those 
terms that are used widely. Thanks, John

-
Do you Yahoo!?
Get better spam protection with Yahoo! Mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR. Thank YOU!

2004-02-27 Thread Jerry McAllister
 
 Sorry for being such a pest, my boss kept asking why my computer wasn't
 working, and I'm not ready to ready for him to know I've got BSD loaded.
 I was in panic mode because I couldn't get my Windows XP screens and
 applications to come up. I deeply apologize, I was finally able to read
 all of your message Jerry and it worked they way you said it would. All
 is well, I'm on my way to prove that I can get twice the stuff I need
 through the open source community than we can buy through Microsoft.
 Thanks for all the posts and help. You guys rock!

Glad it is working.   You can experiment later with prettier
Boot Manglers, etc, but up and actually running always seems to
me to be the first step.

jerry

 
 Res Ipsa Loquitor,
 Mark-Nathaniel Weisman
 Site Master
 Mystic1.net
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems resolving hosts

2004-02-27 Thread Chuck Swiger
JJB wrote:
You are experiencing one of the many problems created by the new
file system in the 5.x development releases. The file system gets
all locked up and then times out before releasing the sector on the
hard drive so it can be read by program.
Dude, Travis' problem sounds a lot more like what would happen if one of the 
nameservers listed in /etc/resolv.conf wasn't responding to DNS queries.

Your responses would be more helpful to other people if you refrained from 
locking the notion that all problems with 5.x are due to UFS2 into your brain, 
or for that matter, being convinced that IPFW is completely broken and there 
is a conspiracy against other firewalls on FreeBSD.  :-)

--
-Chuck
PS: To debug your problem, try using dig @ns1 host, where you replace ns1 
with each of the DNS resolvers you have listed or available, and replace host 
with one or more hostnames that have been causing delays.  This will show you 
how quickly DNS is working and thus confirm whether the problem lies in this 
area, or else expose which nameserver isn't working and maybe why...

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


Looking for FreeBSD 1.0

2004-02-27 Thread Chris
Does anyone know where I can find (ISO perhaps) of FreeBSD 1.0?

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


Re: Hostname in shell (bash)?

2004-02-27 Thread Robert Westendorp
Try:

PS1=`id [EMAIL PROTECTED] -s`$ 

I put that into the .bashrc file.

- Original Message - 
From: Steven N. Fettig [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 8:01 AM
Subject: Hostname in shell (bash)?


 Hi all,

 I searched the archives and documents on bash, but I can't figure out
 how to put the hostname of the workstation I am on before the $ of the
 shell/command line.  Does anyone know how to add the hostname
 (preferably the first part - i.e. www, db1, etc) to the command line for
 bash 2.x?

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

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


Re: Multiple FreeBSD-installations on one harddisk?

2004-02-27 Thread Dan Strick
On Fri, 27 Feb 2004 17:23:13 +0100, [EMAIL PROTECTED] wrote:

 In order to run two (different) versions of FreeBSD on one Harddisk
 (4.9 and 5.2) are there any special caveats/pitfalls besides having a
 separate slice for every installation?


1) If you use the default FreeBSD master bootstrap program, boot0,
   do not configure it with the noupdate option.  (See the man
   page for the boot0cfg command.)  The boot1 program needs the
   boot0 update feature to determine which slice is being booted.

2) FreeBSD 4.9 does not understand UFS2 file systems (the default file
   system for FreeBSD 5.2).  Therefore, if you create a file system
   under 5.2 that you want to access from 4.9, specify the UFS1 file
   system format when you run newfs.

3) FreeBSD 4.9 and 5.2 store UFS1 summary data (e.g. amount of free
   disk space) in different places in the file system superblock.
   If you mount the same file system writable from both OS, you might
   like to fsck -p the file system after you switch to the other OS.


 Anything special to take care of during installation (esp. when
 installing the second FreeBSD?)


Be very careful not to enable a newfs for any preexisting partition
(on the other OS slice) when working in the sysinstall disk partition
menu.  I generally avoid the issue by doing the installation onto another
disk and manually copying the new OS onto the first disk.  Caution
dictates making a full set of backups before installing the second OS.


 Is it possible to use the same swap-partition for both instances of BSD?


Probably.  It used to be possible to configure a partition outside of
its slice by specifying an out-of-bounds partition offset to the disklabel
program.  I don't know if this is still tolerated.  I strongly advise
against it.  You can probably declare a special swapdev in a kernel
config file.  Perhaps there is a relevant syscontrol or hint (which
I don't know about) that you could specify in /boot/whatever.
I strongly advise against this also.  Disk space and main memory are
very cheap these days.  If you have enough main memory, you don't
need much swap space.  Creating a dependency of one OS on another's
installation could create a painful long term maintenance problem.

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


Vinum configuration question.

2004-02-27 Thread Jason Schadel
Here's my situation.  I have two machines.  One running OpenBSD on a 
60gig drive and one running FreeBSD on a 10gig drive with a second 60gig 
for storage.  I want to take the 60 gig drive from the OpenBSD box and 
use it as a mirror to the 60 gig in the FreeBSD box.  The catch is I 
want to create the mirror on FreeBSD before I move the drive so I can 
copy the data on the OpenBSD box to the FreeBSD box.

Is there a way I can configure the drive on FreeBSD with vinum so I can 
copy the data from the OpenBSD drive then insert the 60 gig drive in the 
OpenBSD box into the array on the FreeBSD box?

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


Firewall enabling confusion.

2004-02-27 Thread Shaun T. Erickson
I put 'firewall_enable=YES' in /etc/rc.conf, in anticipation of 
rebuilding my kernel with the following options turned on:

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
I rebooted, for unrelated reasons, and now see in the messages file that 
ipfw2 has been enabled and, indeed, since I have no rules in place, my 
system is cut off from the network.

I haven't yet rebuilt my kernel, so I don't understand why this kicked 
in. Did adding that line in rc.conf suck in a kernel module that 
obsoletes the need for those kernel options? How do I check (I'd do an 
lsmod, on Linux - don't know what the equivalent FreeBSD command is)?
If it is a module, how do I enable logging, as adding 
'firewall_logging=YES' to /etc/rc.conf didn't turn it on, according to 
the messages file. Likewise for divert (though I don't currently need it).

Feb 27 14:37:22 peter kernel: ipfw2 initialized, divert disabled, 
rule-based forwarding enabled, default to deny, logging disabled

	-ste

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


RE: Firewall enabling confusion.

2004-02-27 Thread Remko Lodder
kldstat is the program you are looking for (like lsmod)
It can indeed be that the module is loaded with it's default
settings {block all}

Hope this solves your lsmod question, the rest i cannot help you
with since i don't understand ipfw :) {yet}

cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Shaun T. Erickson
Verzonden: vrijdag 27 februari 2004 20:40
Aan: [EMAIL PROTECTED]
Onderwerp: Firewall enabling confusion.


I put 'firewall_enable=YES' in /etc/rc.conf, in anticipation of
rebuilding my kernel with the following options turned on:

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100

I rebooted, for unrelated reasons, and now see in the messages file that
ipfw2 has been enabled and, indeed, since I have no rules in place, my
system is cut off from the network.

I haven't yet rebuilt my kernel, so I don't understand why this kicked
in. Did adding that line in rc.conf suck in a kernel module that
obsoletes the need for those kernel options? How do I check (I'd do an
lsmod, on Linux - don't know what the equivalent FreeBSD command is)?
If it is a module, how do I enable logging, as adding
'firewall_logging=YES' to /etc/rc.conf didn't turn it on, according to
the messages file. Likewise for divert (though I don't currently need it).

Feb 27 14:37:22 peter kernel: ipfw2 initialized, divert disabled,
rule-based forwarding enabled, default to deny, logging disabled

-ste

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

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


Re: Firewall enabling confusion.

2004-02-27 Thread Shaun T. Erickson
Remko Lodder wrote:

kldstat is the program you are looking for (like lsmod)
It can indeed be that the module is loaded with it's default
settings {block all}
Hope this solves your lsmod question, the rest i cannot help you
with since i don't understand ipfw :) {yet}
Thanks! Yes, the ipfw.ko module is getting loaded. So now I just need to 
know how to enable things like divert and logging.

	-ste

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


Kernel modules question.

2004-02-27 Thread Shaun T. Erickson
In linux, I'd use /etc/modules.conf to list and configure any kernel 
modules I want loaded at boot time. How is that done in FreeBSD?

I see that there are a *lot* of kernel modules in /boot/kernel. How do I 
find out what each one is for and what their configuration options are?

Sorry for newbie questions. I'm trying to learn FreeBSD as fast as I can. :)

	-ste

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


Re: Firewall enabling confusion.

2004-02-27 Thread Warren Block
On Fri, 27 Feb 2004, Shaun T. Erickson wrote:

 Thanks! Yes, the ipfw.ko module is getting loaded. So now I just need to
 know how to enable things like divert and logging.

/etc/rc.firewall has examples.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connecting ISP problem

2004-02-27 Thread Toomas Aas
Hi!

 Now ISP connected but failure to connect Internet.  Tried twice


 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
 inet 203.88.164.90 -- 203.88.164.1 netmask 0x
 Opened by PID 236

This looks promising :-)

 # ping -c 3 [url]www.google.com[/url]
 ping: cannot resolve [url]www.google.com:[/url] Host name lookup failure.

Try ping 66.102.11.104

If this also fails, don't read on - wait for help from someone more 
experienced :-)

If this works, then the problem is that you don't have DNS server 
specified. You should put something like this into /etc/resolv.conf:

domain mydomain.net
nameserver xx.xx.xx.xx

xx.xx.xx.xx should be replaced with your ISP's DNS server. If you don't 
have your own domain name, you can use just your ISP's domain name 
here.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I've got a life but it won't run on my operating system.

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


Re: Kernel modules question.

2004-02-27 Thread Warren Block
On Fri, 27 Feb 2004, Shaun T. Erickson wrote:

 In linux, I'd use /etc/modules.conf to list and configure any kernel
 modules I want loaded at boot time. How is that done in FreeBSD?

It's /boot/loader.conf.  See 'man 5 loader.conf'.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firewall enabling confusion.

2004-02-27 Thread Shaun T. Erickson
Warren Block wrote:

On Fri, 27 Feb 2004, Shaun T. Erickson wrote:


Thanks! Yes, the ipfw.ko module is getting loaded. So now I just need to
know how to enable things like divert and logging.


/etc/rc.firewall has examples.
I looked at that. That's not what I mean. :) I mean, if I do not have to 
build a new kernel to enable firewalling, logging and divert, then how 
do I enable them, such that the following line from my messages file 
would show that they have been enabled?

Adding firewall_enable=YES to rc.conf caused the ipfw module to be 
loaded, enabling firewalling. Adding firewall_logging=YES did *not* 
enable logging in the message file line shown below. How do I do that? 
How would I get that line to show divert as being enabled? I may be 
wrong (correct me if I am, please), but doesn't that line have to show 
them as enabled, before I can successfully make use of them in ipfw 
commands like those you pointed me to in rc.firewall? What if I want 
that line to report that the default is open, instead of deny?

Feb 27 14:37:22 peter kernel: ipfw2 initialized, divert disabled, 
rule-based forwarding enabled, default to deny, logging disabled

	-ste

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


Re: Kernel modules question.

2004-02-27 Thread Shaun T. Erickson
Warren Block wrote:

On Fri, 27 Feb 2004, Shaun T. Erickson wrote:


In linux, I'd use /etc/modules.conf to list and configure any kernel
modules I want loaded at boot time. How is that done in FreeBSD?


It's /boot/loader.conf.  See 'man 5 loader.conf'.
Ah. Thank you. :) Where do I find documentation for the 341 or so modules?

	-ste

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


procmail

2004-02-27 Thread Brian H
Greetings:

I am trying to get procmail to send email to my Maildir in my home 
directory, but
it keeps putting it in /var/mail/henninb. I am sure I just missed a setting,
can someone help point it out. here is how everything is setup currently.

Thanks,

Brian

~/.pmdir cat recipes
:0:
* ^FROM:.*(aol.com|spamsenders)
/dev/null
:0:
Inbox/
cat .qmail
|preline /usr/bin/procmail -t ~/.procmailrc || exit 111
cat .procmailrc
VERBOSE=on
MAILDIR=$HOME/Maildir/
PMDIR=$HOME/.pmdir
LOGFILE=$PMDIR/log
cat .muttrc
set spoolfile=~/Maildir/
set mbox_type=Maildir
ls ~/Maildir
courierimapkeywords courierimapuiddbnew
courierimapsubscribed   cur tmp
_
Find and compare great deals on Broadband access at the MSN High-Speed 
Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/

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


Re: Search Path in bash2

2004-02-27 Thread Peter Risdon
Martin McCormick wrote:

	I am trying to modify the execution path on a FreeBSD system
for all the bash2 users on that system.  The man page says that 

 

	  default path is system-dependent, and is set by the
	  administrator who installs bash.	A common value is
	  ``/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:.''.
   

	How do I set, or in this case, reset it? 
 

The man page also says:

When  bash is invoked as an interactive login shell, or as a non-inter-
  active shell with the --login option, it first reads and 
executes  com-
  mands  from  the file /etc/profile, if that file exists.  After 
reading
  that file, it looks for ~/.bash_profile, ~/.bash_login, and 
~/.profile,
  in  that order, and reads and executes commands from the first 
one that
  exists and is readable.  The --noprofile option may be  used  
when  the
  shell is started to inhibit this behavior.

But so far as I have seen, at least on FreeBSD, /etc/profile does not 
generally contain path info. This is normally set in ~/.profile and the 
default contains something like this:

# remove /usr/games and /usr/X11R6/bin if you want
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/
bin:$HOME/bin; export PATH
So my guess is that to conform closely to this way of doing things, add 
the path to each user's ~/.profile and also to 
/usr/share/skel/dot.profile so it is there immediately for new users.

Alternatively, unless someone contradicts this, the man page seems to 
suggest you could add a path to /etc/profile and it would then be 
system-wide. I have never done this myself, though, so can't vouch for 
it whereas I have edited ~/.profile frequently.

HTH.

PWR.



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


Re: Firewall enabling confusion.

2004-02-27 Thread Ion-Mihai Tetcu
On Fri, 27 Feb 2004 15:43:16 -0500
Shaun T. Erickson [EMAIL PROTECTED] wrote:

 Warren Block wrote:
 
  On Fri, 27 Feb 2004, Shaun T. Erickson wrote:
  
  
 Thanks! Yes, the ipfw.ko module is getting loaded. So now I just
 need toknow how to enable things like divert and logging.
  
  
  /etc/rc.firewall has examples.
 
 I looked at that. That's not what I mean. :) I mean, if I do not have
 to build a new kernel to enable firewalling, logging and divert, then
 how do I enable them, such that the following line from my messages
 file would show that they have been enabled?


 Adding firewall_enable=YES to rc.conf caused the ipfw module to be 
 loaded, enabling firewalling. Adding firewall_logging=YES did *not* 
 enable logging in the message file line shown below. How do I do that?

hint:
sysctl -a | grep ip.fw 
for logging do:
sysctl -w net.inet.ip.fw.verbose: 1
sysctl -w net.inet.ip.fw.verbose_limit: 5

see also man ipfw, it will answer your questions.
 
 How would I get that line to show divert as being enabled? I may be 
 wrong (correct me if I am, please), but doesn't that line have to show
 them as enabled, before I can successfully make use of them in ipfw 
 commands like those you pointed me to in rc.firewall? What if I want 
 that line to report that the default is open, instead of deny?

AFAIK recompile with IPFW_DEFAUL_TO_ACCEPT, but it would be a bad thing.

 
 Feb 27 14:37:22 peter kernel: ipfw2 initialized, divert disabled, 
 rule-based forwarding enabled, default to deny, logging disabled
 
   -ste
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 !DSPAM:403faf7e32055386612425!
 
 


-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: Kernel modules question.

2004-02-27 Thread Ion-Mihai Tetcu
On Fri, 27 Feb 2004 15:44:24 -0500
Shaun T. Erickson [EMAIL PROTECTED] wrote:

 Warren Block wrote:
 
  On Fri, 27 Feb 2004, Shaun T. Erickson wrote:
  
  
 In linux, I'd use /etc/modules.conf to list and configure any kernel
 modules I want loaded at boot time. How is that done in FreeBSD?
  
  
  It's /boot/loader.conf.  See 'man 5 loader.conf'.
 
 Ah. Thank you. :) Where do I find documentation for the 341 or so modules?

man name_of_ the_module


-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: Firewall enabling confusion.

2004-02-27 Thread Shaun T. Erickson
Ion-Mihai Tetcu wrote:

hint:
sysctl -a | grep ip.fw 
for logging do:
sysctl -w net.inet.ip.fw.verbose: 1
sysctl -w net.inet.ip.fw.verbose_limit: 5
Ah.

see also man ipfw, it will answer your questions.
I'm still wading through it - it's quite a long read. I'll finish before 
asking anything else. ;)

AFAIK recompile with IPFW_DEFAUL_TO_ACCEPT, but it would be a bad thing.
I don't disagree - I just wanted to know how. It helps me to understand 
the system better. ;)

	-ste

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


RE: Problems resolving hosts

2004-02-27 Thread JJB
Well if you had paid closer attention to what Travis wrote you would
have read that nothing had changed on that 5.2 lan box or his lan
network so your guess about resolv.conf is way off base, and that
UFS2 being the problem is a much more sound opinion.

And as far as IPFW goes, your statement is again another case of you
not paying attention to what was written. You really need to read
closely before opening your mouth saying things which are not true.
I never said that IPFW is completely broken what I said is ipfw
stateful rules do not work in an Lan network when ipfw's
divert/nated legacy subroutine is used. This subject was beat to
death in a long thread back around the first of the year. You should
check the archives for the technical details before you sound off
demonstrating to everyone how little you know about what truly has
transpired. Open mouth insert foot.

You should also read all the posts to this list and see for your
self all the 5.2.1 problems people are having. Bottom line is 5.2 is
an very dirty release and is an long way from being moved to stable.
It's formal release date has all ready been moved back 3 time and
will more than likely move back again. The kernel development team
just bit off more than it could handle this time. If it gets moved
to stable in it current condition it will only end up being one of
those 5.2.1.1.1 releases as fixes are applied to the stable branch
and fixing stable releales is not an goal of the stable branch.



-Original Message-
From: Chuck Swiger [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 1:22 PM
To: [EMAIL PROTECTED]
Cc: Travis Troyer; [EMAIL PROTECTED]
Subject: Re: Problems resolving hosts

JJB wrote:
 You are experiencing one of the many problems created by the new
 file system in the 5.x development releases. The file system gets
 all locked up and then times out before releasing the sector on
the
 hard drive so it can be read by program.

Dude, Travis' problem sounds a lot more like what would happen if
one of the
nameservers listed in /etc/resolv.conf wasn't responding to DNS
queries.

Your responses would be more helpful to other people if you
refrained from
locking the notion that all problems with 5.x are due to UFS2 into
your brain,
or for that matter, being convinced that IPFW is completely broken
and there
is a conspiracy against other firewalls on FreeBSD.  :-)

--
-Chuck

PS: To debug your problem, try using dig @ns1 host, where you
replace ns1
with each of the DNS resolvers you have listed or available, and
replace host
with one or more hostnames that have been causing delays.  This will
show you
how quickly DNS is working and thus confirm whether the problem lies
in this
area, or else expose which nameserver isn't working and maybe why...

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


Re: Kernel modules question.

2004-02-27 Thread Ion-Mihai Tetcu

[EMAIL PROTECTED]:
 Connected to 65.173.111.5 but sender was rejected.
 Remote host said: 554 5.0.0 Romanian spam rejected
   

Now ain't this a nice and full of wisdom message.



On Fri, 27 Feb 2004 13:25:22 -0700 (MST)
Warren Block [EMAIL PROTECTED] wrote:

 On Fri, 27 Feb 2004, Shaun T. Erickson wrote:
 
  In linux, I'd use /etc/modules.conf to list and configure any kernel
  modules I want loaded at boot time. How is that done in FreeBSD?


-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: procmail

2004-02-27 Thread albi
On Fri, 27 Feb 2004 14:56:50 -0600
Brian H [EMAIL PROTECTED] wrote:


 I am trying to get procmail to send email to my Maildir in my home 
 directory, but
 it keeps putting it in /var/mail/henninb. I am sure I just missed a
 setting, can someone help point it out. here is how everything is
 setup currently.
-- cut for brevity --
 ~/.pmdir cat recipes
 :0:
 * ^FROM:.*(aol.com|spamsenders)
 /dev/null
 
 :0:
 Inbox/
 
 cat .qmail
 |preline /usr/bin/procmail -t ~/.procmailrc || exit 111
 
 
 cat .procmailrc
 VERBOSE=on
 MAILDIR=$HOME/Maildir/
 PMDIR=$HOME/.pmdir
 LOGFILE=$PMDIR/log

here's an example with postfix + procmail (looks like you should remove
the :0: Inbox lines :

$ less .forward 
|/usr/bin/procmail

$ less .procmailrc
VERBOSE=off
SHELL=/bin/sh
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
MAILDIR=$HOME/Maildir/
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log

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


Re: Firewall enabling confusion.

2004-02-27 Thread Ion-Mihai Tetcu
On Fri, 27 Feb 2004 16:14:26 -0500
Shaun T. Erickson [EMAIL PROTECTED] wrote:

 Ion-Mihai Tetcu wrote:
 
  hint:
  sysctl -a | grep ip.fw 
  for logging do:
  sysctl -w net.inet.ip.fw.verbose: 1
  sysctl -w net.inet.ip.fw.verbose_limit: 5
 
 Ah.
 
  see also man ipfw, it will answer your questions.
 
 I'm still wading through it - it's quite a long read. I'll finish before 
 asking anything else. ;)
 
  AFAIK recompile with IPFW_DEFAUL_TO_ACCEPT, but it would be a bad thing.
 
 I don't disagree - I just wanted to know how. It helps me to understand 
 the system better. ;)

;) on ipfw2 you can suspend the last automatic deny all rule, see the man page.


-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: Has anyone succeeded in compiling crm114 Mailfilter

2004-02-27 Thread Lowell Gilbert
Lowell Gilbert [EMAIL PROTECTED] writes:

 Gunnar Flygt [EMAIL PROTECTED] writes:
 
  I tried to compile the spam catcher CRM114. It bails out fairly quickly.
  Has anyone tweeked the src to work with FreeBSD?
 
 If I get a chance, I intend to crank out a port for it in a day or
 so.  I wasn't intending to handle the integration with Mailfilter,
 though.
 
 [I'm not *guaranteeing* I'll get the chance; I have to go to
 work on Monday, for the first time in over a year...]

It seems to build fine if you make the recommended changes in the
Makefile (look in the Makefile and search for FreeBSD).  You need
the tre regex implementation, but the libtre port can install 
that for you.

I won't submit a port until I have it doing something useful for me...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread Philippe Vachon
Hey Folks.
I just subscribed to the list, but I've been using FreeBSD on and off 
for a few months now. There has, however, been one thing lacking from my 
FreeBSD setup and that is the ability to play sound!

I followed the directions in the handbook (namely adding the line to 
load the snd_ab16.ko kernel module to loader.conf) and adjusted the 
volume. The sound, when it does play, is compressed -- i.e. runs at 10 
times the speed it should. I can't even play any audio with XMMS.

Anybody have any ideas? It's a Creative SoundBlaster 16 PnP ISA card 
(model CT4180), and it's in a PIII450 box with an ASUS P2BF motherboard. 
Any help will be appreciated.

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


Radeon 9800 XT 256 in FreeBSD 4.x or 5.x

2004-02-27 Thread Forrest Aldrich
I'm about to install/build a new FreeBSD system... but am curious if 
anyone has gotten a sufficient driver for this card.   ATI provides one 
for Linux, of course... (frustrating) but not FreeBSD.

Thanks.

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


Re: emailing trouble...

2004-02-27 Thread Andrew Boothman
Xpression wrote:

Hi list, I've two servers, one running named and the Exim (MTA), the
second one running Apache and Squid, the trouble is that I want to send
mails through the second one to outside, but I can't, when I use:
second# mail [EMAIL PROTECTED] the mail fails and go to the root inbox,
and the same with any other user...any clue ??? Thanks...
What is logged in /var/log/maillog when this happens?

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


Re: Problems resolving hosts

2004-02-27 Thread Charles Swiger
On Feb 27, 2004, at 4:18 PM, JJB wrote:
Well if you had paid closer attention to what Travis wrote you would
have read that nothing had changed on that 5.2 lan box or his lan
network so your guess about resolv.conf is way off base, and that
UFS2 being the problem is a much more sound opinion.
Sigh.  I didn't claim that his resolv.conf changed; I didn't claim that 
his LAN network changed; I said that the behavior he describes is quite 
close to what would happen if one of the nameservers referenced in 
resolv.conf was having problems.

Do you not comprehend this?

And as far as IPFW goes, your statement is again another case of you
not paying attention to what was written. You really need to read
closely before opening your mouth saying things which are not true.
I never said that IPFW is completely broken what I said is ipfw
stateful rules do not work in an Lan network when ipfw's
divert/nated legacy subroutine is used. This subject was beat to
death in a long thread back around the first of the year. You should
check the archives for the technical details before you sound off
demonstrating to everyone how little you know about what truly has
transpired. Open mouth insert foot.
Young one, you are considerably less clever than you evidently think 
you are.  That's not surprising; this is unfortunately true of most 
people.  A tone of condescending snobbery pretty much is never 
appropriate, regardless of who is right or wrong.

I don't need to review the archives to remember that discussion; at 
that time I read them and concluded that you were unable to understand 
how to make IPFW+NAT work the way you expected it to.  However, there 
are lots of people who use IPFW+NAT successfully (success by their 
definitions, that is), just as there are people who use PF or other 
tools.

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


RE: procmail

2004-02-27 Thread Henning, Brian
I tried removing everything in my recipes file, but that didn't work.
Any more thoughts?

Thanks,

brian

-Original Message-
From: albi [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 3:24 PM
To: [EMAIL PROTECTED]
Subject: Re: procmail


On Fri, 27 Feb 2004 14:56:50 -0600
Brian H [EMAIL PROTECTED] wrote:


 I am trying to get procmail to send email to my Maildir in my home
 directory, but
 it keeps putting it in /var/mail/henninb. I am sure I just missed a
 setting, can someone help point it out. here is how everything is
 setup currently.
-- cut for brevity --
 ~/.pmdir cat recipes
 :0:
 * ^FROM:.*(aol.com|spamsenders)
 /dev/null
 
 :0:
 Inbox/
 
 cat .qmail
 |preline /usr/bin/procmail -t ~/.procmailrc || exit 111
 
 
 cat .procmailrc
 VERBOSE=on
 MAILDIR=$HOME/Maildir/
 PMDIR=$HOME/.pmdir
 LOGFILE=$PMDIR/log

here's an example with postfix + procmail (looks like you should remove
the :0: Inbox lines :

$ less .forward 
|/usr/bin/procmail

$ less .procmailrc
VERBOSE=off
SHELL=/bin/sh
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
MAILDIR=$HOME/Maildir/
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log

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


Re: SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread Jorn Argelo
Do you have the following kernel options compiled in your kernel?

device  pcm
device  sbc

I believe you don't need a soundblaster kernel module then, but I am not sure.

Cheers,

Jorn

On Friday 27 February 2004 17:41, Philippe Vachon wrote:
 Hey Folks.
 I just subscribed to the list, but I've been using FreeBSD on and off
 for a few months now. There has, however, been one thing lacking from my
 FreeBSD setup and that is the ability to play sound!

 I followed the directions in the handbook (namely adding the line to
 load the snd_ab16.ko kernel module to loader.conf) and adjusted the
 volume. The sound, when it does play, is compressed -- i.e. runs at 10
 times the speed it should. I can't even play any audio with XMMS.

 Anybody have any ideas? It's a Creative SoundBlaster 16 PnP ISA card
 (model CT4180), and it's in a PIII450 box with an ASUS P2BF motherboard.
 Any help will be appreciated.

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


Re: Radeon 9800 XT 256 in FreeBSD 4.x or 5.x

2004-02-27 Thread Jorn Argelo
You can try using FreeBSD's Linux Compatibility, but I can't guarantee if it 
works. That's why I always buy NVIDIA cards because they make FreeBSD 
drivers :-)

You shouldn't install it in the default paths though, but in /compat/linux.

Cheers,

Jorn

On Friday 27 February 2004 22:35, Forrest Aldrich wrote:
 I'm about to install/build a new FreeBSD system... but am curious if
 anyone has gotten a sufficient driver for this card.   ATI provides one
 for Linux, of course... (frustrating) but not FreeBSD.


 Thanks.


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


Re: SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread Philippe Vachon
Hey.
I guess I was trying my best to avoid having to recompile the Kernel, 
and stick with the stock kernel in 5.1. Are there any alternatives to 
recompiling?

Thanks.

Phil V.

Jorn Argelo wrote:

Do you have the following kernel options compiled in your kernel?

device  pcm
device  sbc
I believe you don't need a soundblaster kernel module then, but I am not sure.

Cheers,

Jorn

On Friday 27 February 2004 17:41, Philippe Vachon wrote:
 

Hey Folks.
I just subscribed to the list, but I've been using FreeBSD on and off
for a few months now. There has, however, been one thing lacking from my
FreeBSD setup and that is the ability to play sound!
I followed the directions in the handbook (namely adding the line to
load the snd_ab16.ko kernel module to loader.conf) and adjusted the
volume. The sound, when it does play, is compressed -- i.e. runs at 10
times the speed it should. I can't even play any audio with XMMS.
Anybody have any ideas? It's a Creative SoundBlaster 16 PnP ISA card
(model CT4180), and it's in a PIII450 box with an ASUS P2BF motherboard.
Any help will be appreciated.
Thanks a lot.
Phil V.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
   

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

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


Re: procmail

2004-02-27 Thread Andrew L. Gould
On Friday 27 February 2004 03:55 pm, Henning, Brian wrote:
 I tried removing everything in my recipes file, but that didn't work.
 Any more thoughts?

 Thanks,

 brian

 -Original Message-
 From: albi [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 27, 2004 3:24 PM
 To: [EMAIL PROTECTED]
 Subject: Re: procmail


 On Fri, 27 Feb 2004 14:56:50 -0600

 Brian H [EMAIL PROTECTED] wrote:
  I am trying to get procmail to send email to my Maildir in my home
  directory, but
  it keeps putting it in /var/mail/henninb. I am sure I just missed a
  setting, can someone help point it out. here is how everything is
  setup currently.

 -- cut for brevity --

  ~/.pmdir cat recipes
 
  :0:
 
  * ^FROM:.*(aol.com|spamsenders)
  /dev/null
 
  :0:
 
  Inbox/
 
  cat .qmail
 
  |preline /usr/bin/procmail -t ~/.procmailrc || exit 111
 
  cat .procmailrc
  VERBOSE=on
  MAILDIR=$HOME/Maildir/
  PMDIR=$HOME/.pmdir
  LOGFILE=$PMDIR/log

 here's an example with postfix + procmail (looks like you should remove
 the :0: Inbox lines :

 $ less .forward

 |/usr/bin/procmail

 $ less .procmailrc
 VERBOSE=off
 SHELL=/bin/sh
 DEFAULT=$HOME/Maildir/
 ORGMAIL=$HOME/Maildir/
 MAILDIR=$HOME/Maildir/
 PMDIR=$HOME/.procmail
 LOGFILE=$PMDIR/log

A couple of items:

1. In recipe examples that I've seen, there is a space between the zero and 
second colon in :0 :.  I don't know if this matters.

2. To test the recipes, make a copy of the mailbox and run formail. (formail 
is installed with procmail.)

cd ~
cp /var/mail/henninb ./henninb2
formail -ds procmail  ./henninb2

If the recipes work, then the problem may be that procmail isn't being 
executed successfully.

Good luck,

Andrew Gould

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


Re: Radeon 9800 XT 256 in FreeBSD 4.x or 5.x

2004-02-27 Thread Vulpes Velox
On Fri, 27 Feb 2004 16:35:56 -0500
Forrest Aldrich [EMAIL PROTECTED] wrote:

 I'm about to install/build a new FreeBSD system... but am curious if
 
 anyone has gotten a sufficient driver for this card.   ATI provides
 one for Linux, of course... (frustrating) but not FreeBSD.

Just like on linux, check to see if it is suppurted by XFree86...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: procmail

2004-02-27 Thread Gary
Hi Brian,

--On Friday, February 27, 2004 03:55:47 PM -0600 Henning, Brian 
[EMAIL PROTECTED] wrote:

I tried removing everything in my recipes file, but that didn't work.
Any more thoughts?
What is the contents of your /var/qmail/control/defaultdelivery file?

Is it ./Maildiror ./Maildir/  ?

Also regarding Andrew Gould's post, in part below,

1. In recipe examples that I've seen, there is a space between the zero
and  second colon in :0 :.  I don't know if this matters.
With the Maildir format, the second : is not needed in recipes, as no 
locking is needed, just one of the benefits of Maildir format over mbox. 
Mail is not stored on a spool, but as individual emails..

One other thing I just thought of...  I have this at the top of my 
.procmailrc file... (in my home dir)..

Put your paths here.. and

DEFAULT=~/Maildir/
MAILDIR=$HOME/Maildir/
You also need a catchall recipe at the bottom..

:0w
/home/yourname/Maildir
or some such..

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


BSD 4.4 Configuration

2004-02-27 Thread Mateusz Rajca
Hi,
 
I have Intel 810 Video Card and BSD 4.4. In the configuration in BSD 4.4 Under Video 
Cards Intel 810 isn't on the list. What should I do?
 
Thanks
 
Matt


-
Do you Yahoo!?
Get better spam protection with Yahoo! Mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: directories to exclude for backups

2004-02-27 Thread Ryan Merrick
Benjamin P. Keating wrote:
My Plan is to make a gzipped tarball of the entire machine, excluding 
directories that are not necessary. If however, there is a more sound 
solution then tarballing a machine for a backup, Im all ears. I know 
rsync is a possibility, but i'd like to have just a solid, non-active 
archive copy of machines.

EXCLUDE DIRECTORIES
--
/proc
/dev
/tmp
/usr/ports/
/var/tmp/
What else would be safe to exclude?

Thanks,
-Ben
Hello,

I use bacula to disk and tape.
http://www.bacula.org/
/usr/ports/sysutils/bacula
--
-Ryan Merrick
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread Kevin D. Kinsey, DaleCo, S.P.
Philippe Vachon wrote:

Hey.
I guess I was trying my best to avoid having to recompile the Kernel, 
and stick with the stock kernel in 5.1. Are there any alternatives to 
recompiling?

Thanks.

Phil V.

Jorn Argelo wrote:

Do you have the following kernel options compiled in your kernel?

device  pcm
device  sbc
I believe you don't need a soundblaster kernel module then, but I am 
not sure.

Cheers,

Jorn

On Friday 27 February 2004 17:41, Philippe Vachon wrote:
 

Hey Folks.
I just subscribed to the list, but I've been using FreeBSD on and off
for a few months now. There has, however, been one thing lacking 
from my
FreeBSD setup and that is the ability to play sound!

I followed the directions in the handbook (namely adding the line to
load the snd_ab16.ko kernel module to loader.conf) and adjusted the
volume. The sound, when it does play, is compressed -- i.e. runs at 10
times the speed it should. I can't even play any audio with XMMS.
Anybody have any ideas? It's a Creative SoundBlaster 16 PnP ISA card
(model CT4180), and it's in a PIII450 box with an ASUS P2BF 
motherboard.
Any help will be appreciated.



There is a *long* list of loadable modules in
/boot/kernel/ ... check out the ones that have
snd* in the title.
Then, $man kldload.

HTH,

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


Re: BSD 4.4 Configuration

2004-02-27 Thread Kevin D. Kinsey, DaleCo, S.P.
Mateusz Rajca wrote:

Hi,

I have Intel 810 Video Card and BSD 4.4. In the configuration in BSD 4.4 Under Video Cards Intel 810 isn't on the list. What should I do?

Thanks

Matt

 

You mean you have *FreeBSD* 4.4 ??

Which configuration are we talking about?

Lastly, IIRC, there's a chapter in the handbook
dealing with the 810 chipset.
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: directories to exclude for backups

2004-02-27 Thread Andrew Hall
Ben,

I personally believe the only data necessary to archive is your
configuration files, and user data.  The OS is easy to replace, real
easy in FreeBSD.  I consider the entire OS to be expendable because it
is so easy to replace.  Another option for software is amanda.  Its in
ports. 

Drew

On Fri, 2004-02-27 at 17:39, Ryan Merrick wrote:
 Benjamin P. Keating wrote:
  My Plan is to make a gzipped tarball of the entire machine, excluding 
  directories that are not necessary. If however, there is a more sound 
  solution then tarballing a machine for a backup, Im all ears. I know 
  rsync is a possibility, but i'd like to have just a solid, non-active 
  archive copy of machines.
  
  EXCLUDE DIRECTORIES
  --
  /proc
  /dev
  /tmp
  /usr/ports/
  /var/tmp/
  
  What else would be safe to exclude?
  
  Thanks,
  -Ben
  
 Hello,
 
 I use bacula to disk and tape.
 http://www.bacula.org/
 /usr/ports/sysutils/bacula

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


Re: can't ssh back into 10.242; host seen as Down

2004-02-27 Thread Ryan Merrick
Gary Kline wrote:
5.2-RELEASE is coming around.  From the KVM connection
to 10.242 I can telnet and ssh *out* to other places.
(I can fetch ports and upgrade things... .)  But I can't
figure out why I can't ssh or telnet *in*.  ping sees my
new system as down::
pu 19:55 tao [5212] ping 10.242
PING 10.242 (10.0.0.242): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
^Csendto: Host is down
--- 10.242 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
pu 19:55 tao [5213]
	To show what's going on, I switched over to 10.242, ssh'd 
	into 10.1 and did ping and ssh -vvv .  Below is a typescript
	out these cmds:

Script started on Thu Feb 26 20:05:27 2004
p4 20:05 ns1 [5001]
PING 10.242 (10.0.0.242): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
^C
--- 10.242 ping statistics ---
12 packets transmitted, 0 packets received, 100% packet loss
p4 20:05 ns1 [5002]
OpenSSH_3.5p1 FreeBSD-20030201, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to 10.242 [10.0.0.242] port 22.
debug1: connect to address 10.0.0.242 port 22: Operation timed out
ssh: connect to host 10.242 port 22: Operation timed out
p4 20:08 ns1 [5003]
Script done on Thu Feb 26 20:08:08 2004

ssh worked with 4.9 a couple days ago.  Does anybody know
where I'm messing up?
	thanks,

	gary



Hi,

Are you using ipfw or ipf ?

if not Compair/send the output of ifconfig -a and sockstat on both boxes.

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


RE: procmail

2004-02-27 Thread Gary
Hi Brian,

--On Friday, February 27, 2004 04:36:51 PM -0600 Henning, Brian 
[EMAIL PROTECTED] wrote:

 cat /var/qmail/control/defaultdelivery
cat: /var/qmail/control/defaultdelivery: No such file or directory
Do I need to put maildir in here or something?
Yes, you need to tell qmail what type of mailbox system you have. It will 
not deliver to Maildir if you do not have it..

I am assuming you have a stock setup of qmail with a /var/qmail/control dir 
in place..

just make a defaultdelivery file in the control dir, and put in ./Maildir/ 
into it, to have a Maildir format..

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


Re: SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread Philippe Vachon
Kevin D. Kinsey, DaleCo, S.P. wrote:

Philippe Vachon wrote:

Hey.
I guess I was trying my best to avoid having to recompile the Kernel, 
and stick with the stock kernel in 5.1. Are there any alternatives to 
recompiling?

Thanks.

Phil V.

Jorn Argelo wrote:

Do you have the following kernel options compiled in your kernel?

device  pcm
device  sbc
I believe you don't need a soundblaster kernel module then, but I am 
not sure.

Cheers,

Jorn

On Friday 27 February 2004 17:41, Philippe Vachon wrote:
 

Hey Folks.
I just subscribed to the list, but I've been using FreeBSD on and off
for a few months now. There has, however, been one thing lacking 
from my
FreeBSD setup and that is the ability to play sound!

I followed the directions in the handbook (namely adding the line to
load the snd_ab16.ko kernel module to loader.conf) and adjusted the
volume. The sound, when it does play, is compressed -- i.e. runs at 10
times the speed it should. I can't even play any audio with XMMS.
Anybody have any ideas? It's a Creative SoundBlaster 16 PnP ISA card
(model CT4180), and it's in a PIII450 box with an ASUS P2BF 
motherboard.
Any help will be appreciated.




There is a *long* list of loadable modules in
/boot/kernel/ ... check out the ones that have
snd* in the title.
Then, $man kldload.

HTH,

Kevin Kinsey
DaleCo, S.P.
Thanks for the advice -- I've already checked there, as per the 
instructions in the handbook. That's why I have the line
snd_sb16_load=YES
in my loader.conf, as per the directions in the handbook, and told to me 
by many on the #freebsd channel on freenode.

I do get sound playing, however, the problem is, wherenever I do get 
sound playing, the time is compressed -- it plays 10 times (or even 
more) faster than it should be.

It's annoying, I guess, because I easily enough was able to get OSS to 
work with Linux kernel 2.4.x and ALSA in the 2.6.x kernel on this 
computer, but I still cannot for the life of me get the FreeBSD kernel 
to play audio on this computer. :(

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


RE: procmail

2004-02-27 Thread Henning, Brian
Hey Gary,

I gave that a try. 
echo ./Maildir/  /var/qmail/control/defaultdelivery
When I run:
gotmail --use-procmail --procmail-bin `which procmail` -u b1henning -p
password

It delivers in the mbox instead of the Maildir.
I tried you recipie changes you sugested and the .procmailrc changes.

Any other thoughts,

Thanks for the help,

Brian


-Original Message-
From: Gary [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 4:54 PM
To: FreeBSD
Subject: RE: procmail


Hi Brian,

--On Friday, February 27, 2004 04:36:51 PM -0600 Henning, Brian 
[EMAIL PROTECTED] wrote:

  cat /var/qmail/control/defaultdelivery
 cat: /var/qmail/control/defaultdelivery: No such file or directory

 Do I need to put maildir in here or something?

Yes, you need to tell qmail what type of mailbox system you have. It
will 
not deliver to Maildir if you do not have it..

I am assuming you have a stock setup of qmail with a /var/qmail/control
dir 
in place..

just make a defaultdelivery file in the control dir, and put in
./Maildir/ 
into it, to have a Maildir format..


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


Re: Is it feisable to do a Firewall'ed DHCP server?

2004-02-27 Thread Ryan Merrick
Dragoncrest wrote:
I'm looking to take an old P120 with 128m of ram and turn it into a lan
DHCP server.  The thing is, the guys who will be pulling DHCP addresses
are cream of the crop computer users who really know their way around. 
So I plan to have all network services (minus DHCP of course) turned off
and I will have IPFW running as well to protect the box from most hack
attempts.

The network itself with be a 300+ person gaming lan broken down into 24
person Vlan's for added security.  The box in question will only be
console accessible to the average user.  AKA, you ain't at the console,
you don't get in as I plan to turn off sendmail, ssh, everything except
DHCP and IPFW.  So, how feisable is it to actually run a system like
this?  I realize I gotta open up certain ports in the firewall rules to
allow DHCP.  I'll figure those out later.  I'm more curious if these
steps to protect the security of the box are doable and if so, would
they be practical?  I'm just thinking ahead like this because I don't
want the box to get hacked and used to bring down the network.
I'm also looking to set the firewall to log ALL packets so that if we
have a problem user, we can use the firewall logs to identify said user.
 I'd be looking for things like port scanning and other hacking/virus
like activity.  We had our network brought down once by same said virus
and hacking activity but never found who did it.  So this is our new
plan to prevent that from happening and detect and remove said
individuals who are causing said issues.
It's hard enough running a 300 person gaming lan.  We want to be sure
that we don't have it brought to its knees like last time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi,

Take a look at netreg for the user and dhcp management.
http://www.netreg.org/
--
-Ryan Merrick
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread Lowell Gilbert
Philippe Vachon [EMAIL PROTECTED] writes:

 I just subscribed to the list, but I've been using FreeBSD on and off
 for a few months now. There has, however, been one thing lacking from
 my FreeBSD setup and that is the ability to play sound!

Do bear in mind that you are running an outdated version of an early
adopter's release of the OS.  

 I followed the directions in the handbook (namely adding the line to
 load the snd_ab16.ko kernel module to loader.conf) and adjusted the

Nowhere in the handbook is the snd_sb16.ko module even mentioned.  
Did you try just loading the snd_pcm.ko module?

 volume. The sound, when it does play, is compressed -- i.e. runs at 10
 times the speed it should. I can't even play any audio with XMMS.

That's not what compressed normally means in relation to audio.
What did you use to play audio besides xmms?  
Did something different happen when you used xmms, or was that just
awkward phrasing?

 Anybody have any ideas? It's a Creative SoundBlaster 16 PnP ISA card
 (model CT4180), and it's in a PIII450 box with an ASUS P2BF
 motherboard. Any help will be appreciated.

I have such a card (probably not *quite* the same model) in my -STABLE
box...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: procmail

2004-02-27 Thread Gary
Hi Brian,

--On Friday, February 27, 2004 05:01:03 PM -0600 Henning, Brian 
[EMAIL PROTECTED] wrote:

I gave that a try.
echo ./Maildir/  /var/qmail/control/defaultdelivery
perfect..

When I run:
gotmail --use-procmail --procmail-bin `which procmail` -u b1henning -p
password
It delivers in the mbox instead of the Maildir.
I tried you recipie changes you sugested and the .procmailrc changes.
I am not familiar with gotmail, but maybe it is calling the default global 
.procmailrc file instead of your local .procmailrc file. Also check your 
procmail logs (if you have it turned on), and your logs from gotmail, if it 
has logging capabilities..  also, the newer procmail versions do support 
Maildir delivery, whereas the older versions do not.. and the older 
versions should be used with a program called Safecat, but not needed for 
newer procmail versions.

This not having a defaultdelivery file in your system also worries me, as 
it should have been installed by default.

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


Re: SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread dave
Hello,
In my /boot/loader.conf file i have:
snd_sb16_load=YES
and that was all i needed to do. Aside from that you might need a volume
control prog.
HTH
Dave.

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


Re: SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread Philippe Vachon
Lowell Gilbert wrote:

Philippe Vachon [EMAIL PROTECTED] writes:

 

I just subscribed to the list, but I've been using FreeBSD on and off
for a few months now. There has, however, been one thing lacking from
my FreeBSD setup and that is the ability to play sound!
   

Do bear in mind that you are running an outdated version of an early
adopter's release of the OS.  

 

I followed the directions in the handbook (namely adding the line to
load the snd_ab16.ko kernel module to loader.conf) and adjusted the
   

Nowhere in the handbook is the snd_sb16.ko module even mentioned.  
Did you try just loading the snd_pcm.ko module?

 

volume. The sound, when it does play, is compressed -- i.e. runs at 10
times the speed it should. I can't even play any audio with XMMS.
   

That's not what compressed normally means in relation to audio.
What did you use to play audio besides xmms?  
Did something different happen when you used xmms, or was that just
awkward phrasing?

 

Anybody have any ideas? It's a Creative SoundBlaster 16 PnP ISA card
(model CT4180), and it's in a PIII450 box with an ASUS P2BF
motherboard. Any help will be appreciated.
   

I have such a card (probably not *quite* the same model) in my -STABLE
box...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I did try loading just the snd_pcm module, which did nothing. 
SoundBlaster cards need a bridge, as far as I can tell, to the PCM 
driver. That's where the snd_sbc and snd_sb16 kernel modules come in.

I had used more than just XMMS -- I used cdcontrol (making sure the 
volume was turned up on the analogue CD input), which didn't play audio 
at all, as was the case with XMMS. When I tried using applications that 
use sound (i.e. Gaim), the sound was compressed (sped up if you will).

As I said before, the sound is compressed -- not in the data sense, but 
rather in the analogue sense where the wavelength of a waveform 
decreases, as does the period. I appologize if I had confused you, but 
I'm not a Software Engineer -- merely a lowly Electrical Engineering 
Student. :)

I'm not quite sure what you mean by outdated - does FreeBSD go with the 
Linux Kernel release numbers - odd for development, even for stable - or 
am I missing something, because uname-a tells me I'm running 5.1-RELEASE.

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


Re: SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread Kevin D. Kinsey, DaleCo, S.P.
Philippe Vachon wrote:

Lowell Gilbert wrote:

Philippe Vachon [EMAIL PROTECTED] writes:

 

I just subscribed to the list, but I've been using FreeBSD on and off
for a few months now. There has, however, been one thing lacking from
my FreeBSD setup and that is the ability to play sound!
  


Do bear in mind that you are running an outdated version of an early
adopter's release of the OS. 
 

I followed the directions in the handbook (namely adding the line to
load the snd_ab16.ko kernel module to loader.conf) and adjusted the
  


Nowhere in the handbook is the snd_sb16.ko module even mentioned.  
Did you try just loading the snd_pcm.ko module?

 

volume. The sound, when it does play, is compressed -- i.e. runs at 10
times the speed it should. I can't even play any audio with XMMS.
  


That's not what compressed normally means in relation to audio.
What did you use to play audio besides xmms?  Did something different 
happen when you used xmms, or was that just
awkward phrasing?

 

Anybody have any ideas? It's a Creative SoundBlaster 16 PnP ISA card
(model CT4180), and it's in a PIII450 box with an ASUS P2BF
motherboard. Any help will be appreciated.
  


I have such a card (probably not *quite* the same model) in my -STABLE
box...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

 

I did try loading just the snd_pcm module, which did nothing. 
SoundBlaster cards need a bridge, as far as I can tell, to the PCM 
driver. That's where the snd_sbc and snd_sb16 kernel modules come in.

I had used more than just XMMS -- I used cdcontrol (making sure the 
volume was turned up on the analogue CD input), which didn't play 
audio at all, as was the case with XMMS. When I tried using 
applications that use sound (i.e. Gaim), the sound was compressed 
(sped up if you will).

As I said before, the sound is compressed -- not in the data sense, 
but rather in the analogue sense where the wavelength of a waveform 
decreases, as does the period. I appologize if I had confused you, but 
I'm not a Software Engineer -- merely a lowly Electrical Engineering 
Student. :)

I'm not quite sure what you mean by outdated - does FreeBSD go with 
the Linux Kernel release numbers - odd for development, even for 
stable - or am I missing something, because uname-a tells me I'm 
running 5.1-RELEASE.

Thanks.
Phil V.


Nothing to do with the Linux crowd ;-),
it's just that 5.1-RELEASE was what,
October?  And it's an experimental or
at least New Technology (~'beta'?)
release ... so you really should try and
stay up to date as much as possible
to see if the issues you are having
have been resolved.
Kevin Kinsey

PS See the Early Adopter's
Guide perhaps
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: procmail

2004-02-27 Thread albi
On Fri, 27 Feb 2004 17:01:03 -0600
Henning, Brian [EMAIL PROTECTED] wrote:

 When I run:
 gotmail --use-procmail --procmail-bin `which procmail` -u b1henning -p
 password
 
 It delivers in the mbox instead of the Maildir.
 I tried you recipie changes you sugested and the .procmailrc changes.

gotmail is software to fetch email from hotmail, and afaik it completely
bypasses any MTA you're running, so you clearly have a procmail-problem
here

in my .procmailrc there's Maildir defined, do you have that ?
the logging can also be handy to see what's going on

$ less .procmailrc
VERBOSE=off
SHELL=/bin/sh
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
MAILDIR=$HOME/Maildir/
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log

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


Re: Vinum configuration question.

2004-02-27 Thread Greg 'groggy' Lehey
On Friday, 27 February 2004 at 14:06:48 -0500, Jason Schadel wrote:
 Here's my situation.  I have two machines.  One running OpenBSD on a
 60gig drive and one running FreeBSD on a 10gig drive with a second 60gig
 for storage.  I want to take the 60 gig drive from the OpenBSD box and
 use it as a mirror to the 60 gig in the FreeBSD box.  The catch is I
 want to create the mirror on FreeBSD before I move the drive so I can
 copy the data on the OpenBSD box to the FreeBSD box.

 Is there a way I can configure the drive on FreeBSD with vinum so I can
 copy the data from the OpenBSD drive then insert the 60 gig drive in the
 OpenBSD box into the array on the FreeBSD box?

There are several ways to achieve what you want to do.  The most
obvious would be to create the Vinum volume with only one plex and
copy the data across via the network.  You could then move the disk on
the OpenBSD box and create another subdisk/plex on it, then start it.
There's no way to keep the original data on the OpenBSD disk, since
Vinum requires a different format from native disks, and OpenBSD has a
(slightly) different on-disk format from FreeBSD.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread Chris Pressey
On Fri, 27 Feb 2004 13:25:20 -0500
Philippe Vachon [EMAIL PROTECTED] wrote:

 As I said before, the sound is compressed -- not in the data sense,
 but rather in the analogue sense where the wavelength of a waveform 
 decreases, as does the period. I appologize if I had confused you, but
 I'm not a Software Engineer -- merely a lowly Electrical Engineering 
 Student. :)

Off topic, but in hopes of clearing up the terminology at least, this is
what compressed means for audio engineers:

  http://www.flashbacksales.co.uk/articles/compression.htm

I doubt you're experiencing this... I think you mean your audio is
simply sped up?

 I'm not quite sure what you mean by outdated - does FreeBSD go with
 the Linux Kernel release numbers - odd for development, even for
 stable - or am I missing something, because uname-a tells me I'm
 running 5.1-RELEASE.

5.x are technology preview releases.  The latest in the 5.x branch is
5.2.1.  Odd/even means nothing to FreeBSD release engineering.  See

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

for more information.

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


Re: SoundBlaster 16 PnP ISA Card on 5.1

2004-02-27 Thread Kevin D. Kinsey, DaleCo, S.P.
Chris Pressey wrote:

On Fri, 27 Feb 2004 13:25:20 -0500
Philippe Vachon [EMAIL PROTECTED] wrote:
 

As I said before, the sound is compressed -- not in the data sense,
but rather in the analogue sense where the wavelength of a waveform 
decreases, as does the period. I appologize if I had confused you, but
I'm not a Software Engineer -- merely a lowly Electrical Engineering 
Student. :)
   

Off topic, but in hopes of clearing up the terminology at least, this is
what compressed means for audio engineers:
 http://www.flashbacksales.co.uk/articles/compression.htm

I doubt you're experiencing this... I think you mean your audio is
simply sped up?
 

At the risk of going far enough OT
to be banned, there are two types
of audio compression.  One is amplitude
adjustment, as it were, and another
is time compression (yes, check out
some multitracking software), so it's
possible to use the term in the sense
he's using it, but it's a tad, what, {arcane?}
unless you're producing hip-hop records
Maybe we should recommend getting
a slower processor? :D :D
KDK
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with dhclient

2004-02-27 Thread Gerard Seibert
I am running FreeBSD version 5.2.1

I seem to have developed a problem with running DHCP on my computer. The dhclient is 
no longer working correctly. It was running fine until today.

Upon bootup it no longer makes a connection. I have tried sysinstall and things get 
even weirder. I click configure Networking interfaces and then my network card 
device. No to IPv6 and yes to DHCP. At that point an error message is printed across 
the screen saying: dhcp client: end_packet: no route to host interface on device 
/dev/cuaa0. Eventually this message times out and I get to the configuration screen. 
However, entering the correct information does not seem to help. I have tried removing 
the /dev/cuaa0 device and rebooting, but nothing good happpens.

How do I go about getting it working again. 

I should mention that I have two other computers on this net, all connected via a 
network hub to a router and then to a cable modem. The other two machines are running 
XP without any problems. This machine was working correctly until today, Therefore I 
assume that something got corrupted.

Thanks in advance.

Gerard Seibert


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


RE: procmail

2004-02-27 Thread Gary
Hi Brian,

--On Friday, February 27, 2004 03:55:47 PM -0600 Henning, Brian 
[EMAIL PROTECTED] wrote:

cat .qmail
| preline /usr/bin/procmail -t ~/.procmailrc || exit 111
Just noticed this..  try

|preline procmail brian

that's it.

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


  1   2   >