Re: HD and MB selection?

2004-01-13 Thread Josh Paetzel
On Mon, Jan 12, 2004 at 11:56:41PM -0500, Dragoncrest wrote:
 Hi all.  Just getting ready to build a new workstation using Freebsd 4.9
 (*and eventually 5.x once it reaches the classification of stable) for
 up at my job and I'm curious of what motherboard and hard drive would be
 best to use under Freebsd for maximum compatibility with as few issues
 as possible.  Right now I'm looking at 3 different motherboards,
 although I'm up for suggestions of other ones if these three really
 aren't right for the job.
 
 MSI K7N2 Delta (nforce)
 Asus A7N8X (nforce)
 Asus A7V8X (via)
 
 Also, what brand of HD do you guys trust most?  What works best with
 Freebsd?  I'm probubly going to pick up a pair of 80g Western Digitals,
 but again I'm open to other suggestions.  Any suggestions are greatly
 apreciated.  Thanks.
 

I'd go with the KT400a based board.  I've had nothing but trouble mixing 
FreeBSD with nforce2 boards.  As far as hard drives, one IDE drive is pretty 
much like another in my opinion.

Josh Paetzel

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


INN Problems

2004-01-13 Thread Doug Hardie
I have sent the request below to the INN maillist but got no response.  
I have gotten nowhere trying to figure this out.  Any help will be 
appreciated.

I am running inn 2.4.0 and a few days ago postings by my users no  
longer get sent back to the news feed server.  I have verified with  
them they are not receiving them from us.  The postings are in the  
files here and can be seen by our users.  Nothing apears in the  
outgoing file for the feed site.  nntpsend.log shows the connections to 
the feed site, but nothing is ever sent.  Traces of nnrpd and innd so 
no attempts to access the outgoing file.  errlog, news.crit, and 
news.err are all empty.  How can I find out what has gone wrong?

Thanks,

-- Doug

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


XFree86 configuration

2004-01-13 Thread Carvalho Paulo
   Hello everyone,
   I just installed FreeBSD 4.9, and when I try to
cofigure X through sysinstall it gives an error
message in the end. The messege says that an error has
ocurred and asks if I want to try again. I tried
several times and then gave up.
   What I want to know is if there is any way that I
can know what went wrong so that I can do it right.
The error message does not give any clue as to what
hapened.
   Thanks in advance for taking time to read this
message and for a possible reply.

   Paulo de Carvalho.

__

Conheça a nova central de informações anti-spam do Yahoo! Mail:
http://www.yahoo.com.br/antispam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: XFree86 configuration

2004-01-13 Thread n.bulthuis
I always configure X with the xf86config program. Might be a bit basic, but it gets 
the job done. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carvalho Paulo
Sent: 13 January 2004 09:31
To: [EMAIL PROTECTED]
Subject: XFree86 configuration

   Hello everyone,
   I just installed FreeBSD 4.9, and when I try to
cofigure X through sysinstall it gives an error
message in the end. The messege says that an error has
ocurred and asks if I want to try again. I tried
several times and then gave up.
   What I want to know is if there is any way that I
can know what went wrong so that I can do it right.
The error message does not give any clue as to what
hapened.
   Thanks in advance for taking time to read this
message and for a possible reply.

   Paulo de Carvalho.

__

Conheça a nova central de informações anti-spam do Yahoo! Mail:
http://www.yahoo.com.br/antispam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Disclaimer:
' Aan de inhoud van dit bericht kunnen alleen rechten ten opzichte van Interpay 
Nederland B.V. of aan haar gelieerde ondernemingen worden ontleend, indien zij door 
rechtsgeldig ondertekende stukken worden ondersteund. De informatie in dit 
e-mailbericht is van vertrouwelijke aard en alleen bedoeld voor gebruik door de 
geadresseerde. Als u een bericht onbedoeld heeft ontvangen, wordt u verzocht de 
verzender hiervan in kennis te stellen en het bericht te vernietigen zonder van de 
inhoud kennis te nemen, deze te vermenigvuldigen of andersoortig te gebruiken.' 
An English version of this disclaimer is available on 
http://www.interpay.nl/disclaimerenglish


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


Re: Trouble getting network card to work

2004-01-13 Thread Dinesh Nair

On Sat, 10 Jan 2004, Jared Cheney wrote:

 The card is called pcn0 in FreeBSD, and it says that it is sharing IRQ
 10. Running tcpdump for any length of time also shows that 0 packets
 were received by the filter.

from the pcn(4) man page:

pcn%d: chip is in D3 power state -- setting to D0 This message applies
only to adapters which support power management.  Some operating systems
place the controller in low power mode when shutting down, and some PCI
BIOSes fail to bring the chip out of this state before configuring it. The
controller loses all of its PCI configuration in the D3 state, so if the
BIOS does not set it back to full power mode in time, it will not be able
to configure it correctly.  The driver tries to detect this condi- tion
and bring the adapter back to the D0 (full power) state, but this may not
be enough to return the driver to a fully operational condition. If you
see this message at boot time and the driver fails to attach the device as
a network interface, you will have to perform a warm boot to have the
device properly configured.

could this be your problem then ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Problems with FreeBSD 4.8 on Compaq Armada M700 laptop

2004-01-13 Thread Dinesh Nair

On Mon, 12 Jan 2004, John wrote:

 Despite the fact that the laptop compatibility base has an entry for this
 machine that looks good for FreeBSD 5.0, I'm not having the best luck
 that one might hope.

i've got an Armada M300, which shares a lot of the same underlying
hardware as the M700 and have run FreeBSD on it since 4.4R. i'm now on
4.9R with all devices (sound, external cdrom and floppy, screen at 32bit
depth) working fine and dandy.

 Jan 11 17:56:56 pearl /kernel: acd0: CDROM Compaq CRN-8241B at ata0-slave PIO
but I just get device not configured when I boot the GENERIC kernel
that was installed.  /dev/acd0 does appear in the device directory,
and I ran MAKEDEV on it, just to make double sure.

what kernel config file are you using ?

 2) APM also says device not configured.  Don't know if this works
with the MFS/installation kernel.

i have just device apm0 in me kernel, and it works fine and dandy.

 3) Even though xf86config seems to have correctly identified the adapter,
and it works nicely at 1024x768, I can't seem to get the color depth
working at anything other than 256.  I have tried startx -- -bpp 24
and startx -- -bpp 32 and startx -- -bpp 16 but it doesn't seem to
matter.

what's your XF86Config file like, especially your sync lines ?
i'm using horizontal sync of 31.5-57.0 and a VerRefresh of 60.

 Maybe I should try a binary upgrade to 4.9, now that it's out? I don't
 currently have any reason to think that would help, but I haven't got
 any other go forward ideas, either.

i've had it working on my M300 on 4.8 as well, so 4.9 won't change
anything. there's probably a misconfiguration in your kernel config (CDROM
and APM) and X config files.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: routing to specific network

2004-01-13 Thread Dinesh Nair

On Mon, 12 Jan 2004, David Miller wrote:

 Isn't this equivilent to selecting the outbound route?  You want to
 select 10.a.b.c uf you want the connection routed out ISP 1 and
 192.168.x.y otherwise.

yes it is.

 There are bizzare cases where it might make sense to try and load
 balance two broadband connections, but they're really special cases and
 don't have general purpose solutions:(

and what i want to try doing is a bizarre case, load balancing without
handling bgp. off the cuff, perhaps a hook or a netgraph node which round
robins my source ip address over the two interfaces. of course, once a
flow goes over one particular interface, it'd always use that interface
till that connection is torn down. in cases where HTTP/1.1 is used without
keep alives for example, each IMG could be pulled over a different
interface, in effect multiplexing both connections.

perhaps, i'll go read up on netgraph implementations and try something
here.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


odd thing with make/gmake/su

2004-01-13 Thread Sabri Berisha
Hi,

I have an odd thing here. I have a very simple makefile:

[EMAIL PROTECTED] root]# cat Makefile 
blah:
@echo hoi
@su sabri -c echo hoi2
@echo hoi3
@su sabri -c echo hoi4

but when I do a make or gmake, I it gets a stop signal after the third
command:

[EMAIL PROTECTED] root]# make
hoi
hoi2
hoi3

[2]+  Stopped make
[EMAIL PROTECTED] root]# fg
make
hoi4
[EMAIL PROTECTED] root]# 

I run 5.1-RELEASE-p11 on i386. Does anyone have a clue what is going on
here?

-- 
Sabri, I route, therefore you are

Bescherm de digitale burgerrechten: http://www.bof.nl/donateur.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


named.conf question (controls statement being ignored)

2004-01-13 Thread August Simonelli
Hi all,

I've just installed bind9 from ports. I've got everything set up and 
the nameserver works except rndc. I've followed numerous instructions 
(bind howto, freebsd ezine) and still keep getting a strange error in 
my syslog. I won't post named.conf or rndc.conf yet as the error 
doesn't seem to point to them as being the problem. When i run 
/usr/sbin/named everything starts ok but i get:

/etc/namedb/named.conf:102: Ignoring BIND 9 inet control clause

in /var/log/messages

my controls statement in named.conf is:

controls {
inet 127.0.0.1 allow { localhost; } keys { mykey; };
};
any thoughts?

august

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


Re: /etc/rc.conf vs /etc/defaults/rc.conf

2004-01-13 Thread August Simonelli
On 13/01/2004, at 12:43 PM, Ted Suzman wrote:

Stuff you put in rc.conf overrides settings in /etc/defaults/rc.conf

Never modify /etc/defaults/rc.conf

-Original Message-
From: August Simonelli [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 5:18 PM
To: [EMAIL PROTECTED]
Subject: /etc/rc.conf vs /etc/defaults/rc.conf
Hi all,

I've looked in the handbook (and probably missed the explanation) but 
am still a little confused. What's the difference between
these two rc.conf files? Both affect things, but what is best practice 
for their use?

Thank in advance,

August

PS I'm using 4.9 and realize some things may be differnet in 5.x ...
___
[EMAIL PROTECTED] mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Thanks all who helped me on this! I really do appreciate it!

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


RE: named.conf question (controls statement being ignored)

2004-01-13 Thread Nick Twaddell
This is my config...

Named.conf
key rndc-key {
algorithm hmac-md5;
secret keyhashstuff;
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { rndc-key; };
};

Rndc.conf
key rndc-key {
algorithm hmac-md5;
secret keyhashstuff;
};
options {
default-key rndc-key;
default-server 127.0.0.1;
default-port 953;
};

Hopefully that will help :)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of August Simonelli
Sent: Tuesday, January 13, 2004 1:01 AM
To: FreeBSD-questions
Subject: named.conf question (controls statement being ignored)

Hi all,

I've just installed bind9 from ports. I've got everything set up and 
the nameserver works except rndc. I've followed numerous instructions 
(bind howto, freebsd ezine) and still keep getting a strange error in 
my syslog. I won't post named.conf or rndc.conf yet as the error 
doesn't seem to point to them as being the problem. When i run 
/usr/sbin/named everything starts ok but i get:

/etc/namedb/named.conf:102: Ignoring BIND 9 inet control clause

in /var/log/messages

my controls statement in named.conf is:

controls {
 inet 127.0.0.1 allow { localhost; } keys { mykey; };
 };

any thoughts?

august

___
[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: set env editor global

2004-01-13 Thread Malcolm Kay
On Tue, 13 Jan 2004 05:13, Charles Swiger wrote:
 On Jan 12, 2004, at 10:37 AM, fbsd_user wrote:
  On an new install with only an root account, I want to set the
  command line prompt prefix and the default editor for all new users
  and also the root account.
 
  What file do I put the 'set env' commands in to make this happen
  globally?

 Look at /etc/profile and /etc/csh.cshrc.

 [ Note that root has /bin/sh as it's shell, whereas normal users will
 be using csh by default.  This matters because different shells have
 different syntax and config file locations. ]

I believe your note is somewhat out of date. 4.x at least as far back as
4.1 has had /bin/csh (actually statically linked tcsh) as the default shell 
for root. (But you possibly still end up with sh if you boot into single 
user mode.)

I don't know about 5.x, but would be a little surprised if the default has
reverted to sh.

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


Re: I need to resend messages from dead.letters

2004-01-13 Thread Jez Hancock
On Mon, Jan 12, 2004 at 07:23:20PM -0800, Doug Hardie wrote:
 There was a problem last night with my mail server and a bunch of mail 
 went into the dead.letters mailbox rather than being sent.  I have that 
 mailbox and need a way to send all of those messages.  I split them out 
 into individual files, but there are just too many to send by hand.  Is 
 there a way to cause them all to be resent?
Look at the -f option to the mail command - see the manpage for mail(1)
for more info.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if a file is used a lot, does it stay in a RAM cache?

2004-01-13 Thread Kris Kennaway
On Mon, Jan 12, 2004 at 08:56:28PM -0800, BSD baby wrote:
 If a file is loaded off the hard drive a lot, does FreeBSD keep it in RAM?

Yes (assuming you have free RAM).

Kris


pgp0.pgp
Description: PGP signature


Re: Errors in upgrading ports

2004-01-13 Thread Kris Kennaway
On Tue, Jan 13, 2004 at 01:37:25AM -0500, Michael A. Alestock wrote:
 I get numerous errors while trying to, portsdb -Uu, 'portversion -l ,
 and  portupgrade -arR.  I don't get any kind of prompt to change anything.
 How would I go about fixing these errors so that I can upgrade my ports to the latest
 version(s)??  Here's a snippet from the PORTUPGRADE I did, but it stopped
 after coming up in error
 
 Stop in /usr/ports/x11-servers/XFree86-4-FontServer.

You chopped out the error!

Kris


pgp0.pgp
Description: PGP signature


Re: xmms - problem - how to fix?

2004-01-13 Thread Larry Hammer
 I have some problem with my xmms mm player. When I'm treing to
 listen some mp3's it gives me aN error, that I don't know how to fix.
 I have KDE 3.1 if you need this info ^)
 So here it is:
 bash-2.05b$ xmms
 /dev/dsp: Device busy
 /dev/dsp: Device busy
 /* with OSS driver */
 
 ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): Device 
busy
 
 ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): Device 
busy
 
 ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): Device 
busy
 /dev/dsp: Device busy
I am also using XMMS in KDE3.1 in order to get XMMS to work from iether the 
Konsol cmd line or the menu ARTS plugin had to be installed and selected OSS 
plugin would not work while KDE running.
hope this helps
Larry

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


Re: Cyrus-imapd2 installed through ports question

2004-01-13 Thread W. Ryan Merrick
Anish Mistry wrote:
On Monday 12 January 2004 06:59 pm, Jason Williams wrote:

Hello everyone.

I was having a problem after I installed cyrus-imapd2 through the ports 
tree.

Everything on the installation went well. However, im seeing a error pop 
up 

in my log that I cannot figure out.
Thus, I thought i'd ask here, see if anyone had any similiar problems.
Note, this is on a FreeBSD 4.9 box:
Cyrus-imapd-2.1.16
Cyrus-sasl-2.1.17
BerkeleyDB-4.1.25
This is from my /var/log/auth.log


Jan  5 23:54:39 obsidianbox imapd[8015]: OTP unavailable because can't 
read/write key database /etc/opiekeys: Permission denied
Jan  5 23:54:43 obsidianbox imapd[8015]: no user in db
I get this too in my logs, but the user is still there, and found by the 
operation that tries to find the user, and everything still seems to work, 
so I ignore it and chalk it up to a cyrus bug.

Hello,

How did you configure sasl? If you by chance include sql support you will 
get log messages like this and more when you add users to the sasl DB. 
Auxprop is looking in the sql databases and other places first. If you are 
getting authenticated, that is all that matters.

--
-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: Cyrrus-imap with generic error

2004-01-13 Thread W. Ryan Merrick
W. Ryan Merrick wrote:
hello,

I have been fighting this for a while. I am trying to setup 
Postfix-2.0.16+cyrus-Imap-2.1.16_1+cyrus-sasl-2.1.17_1 on my FreeBSD 4.9 
Stable server's inside NIC.

Postfix is configured with: sasl2, TLS, BDB_ver 40
cyrus-imapd2' = '--with-sasl --with-openssl WITH_BDB_VER=4'
cyrus-sasl2' = '--with-openssl WITH_BDB_VER=4 --enable-auth-sasldb 
--enable-login'

Postfix runs fine by itself It complains that:

Jan 10 02:47:22 c1529030-a postfix/pipe[35530]: 51BDF4113: 
to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], relay=cyrus, 
delay=9701, status=deferred (temporary failure. Command output: couldn't 
connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't 
connect to lmtpd_ )

I know that the lmtpd socket is also handled by cyrus imap to deliver 
the mail to the cyrus mailboxes that the admin sets up in cyradm.

#ll /var/imap/socket/
srwxrwxrwx  1 root  cyrus  0 Jan 10 03:17 lmtp
Sasl has two users one admin and one user with passwords
#sasldblistusers2
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
When I run /usr/local/cyrus/bin/master

I get this output in /var/log/cyrus.imap
Jan 10 03:27:09 c1529030-a master[39752]: process started
Jan 10 03:27:09 c1529030-a master[39753]: about to exec 
/usr/local/cyrus/bin/ctl_cyrusdb
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39753]: recovering cyrus databases
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39753]: done recovering cyrus 
databases
Jan 10 03:27:09 c1529030-a master[39752]: servname not supported for 
ai_socktype, disabling lmtp
Jan 10 03:27:09 c1529030-a master[39752]: ready for work
Jan 10 03:27:09 c1529030-a master[39754]: about to exec 
/usr/local/cyrus/bin/ctl_cyrusdb
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: checkpointing cyrus 
databases
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving database file: 
/var/imap/mailboxes.db
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving log file: 
/var/imap/db/log.01
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving log file: 
/var/imap/db/log.01
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: done checkpointing cyrus 
databases
Jan 10 03:27:09 c1529030-a master[39752]: process 39754 exited, status 0

When I attempt to access cyradmin with:
cyradm --user admin -auth plain cell.attbi.com
I get a high volume of repeating logs. (about 20 lines a second)

Jan 10 03:30:51 c1529030-a imap[39987]: executed
Jan 10 03:30:51 c1529030-a imapd[39987]: SASL failed initializing: 
sasl_server_init(): generic failure
Jan 10 03:30:51 c1529030-a master[39752]: process 39987 exited, status 1
Jan 10 03:30:51 c1529030-a master[39988]: about to exec 
/usr/local/cyrus/bin/imapd

Until I kill master. At which point I get my login prompt.

#cyradm --user admin -auth plain cell.attbi.com
IMAP Password:Broken pipe
I have googled everything I from the logs with no hints.
I dont know where I went wrong. I have tried cvsuping and rebuilding all 
the packages a few times in the last month.

Configs and files follow
Found the problem I was having in sasl.h The config files in 
#/usr/local/lib/sasl2 need to be readonly.

--
-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: Mail in a Jail

2004-01-13 Thread Ruben de Groot
On Mon, Jan 12, 2004 at 06:20:17PM -0700, Brent Wiese typed:
  Hi,
  
  I run my web sites from a jail. The time has come that i now 
  need to send an
  email from one of those sites using the mail() function in php.
  
  I would like to know, what files do i need to be able to send 
  mail from the
  jail using the mail command. The box is using sendmail as its 
  mta, and is
  running 4.9 release.

This configuration (sendmail + php in a jail) should work out-of-the-box.
It does on all our servers (4.8 - 5.2). What kind of problems are you
experiencing?

Ruben

 This plagued me too. I found a very easy solution: esmtp in the ports.
 
 A few catches:
 
 1: You need an external SMTP server that will relay the mail for you. I was
 unable to get it to talk to the main host's SMTP, probably a feature of
 jailing... Luckily, I have another box on the LAN who's sole purpose is to
 relay mail for machines on the LAN.
 
 2: After you install esmtp, change your sendmail links (/usr/sbin/sendmail
 at least I think) to point at it. 
 
 3: If you compiled PHP w/ a non-existent sendmail, you have to recompile.
 It's a little confusing, but if you dig far enough in the docs, mail() will
 not compile if sendmail doesn't exist (it tests).
 
 Enjoy!
 Brent
 
 
 ___
 [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: FreeBSD hangs on boot

2004-01-13 Thread W. Ryan Merrick
[EMAIL PROTECTED] wrote:
I just recently got an old HP NetServer LH Plus
(specs):
Pentium 166MHz (dual processor board with single cpu)
128MB of RAM (DIMM's)
Mylex DAC960 RAID controller
5x 4.2GB SCSI RAID5 array.
--
At any rate, I've tried using my 4.3-RELEASE, 5.1-RELEASE cd's but those fail to even load due to a fault in the loader. I managed to find my 5.0-DP1 CD and gave that a shot, and low and behold the boot loader worked, it managed to find a driver for the SCSI drives (including the cdrom), and to my surprise the RAID controller as well. 

To give you a little background, basically any *nix based OS I have tried fails to install due to not having a driver or a working driver for the RAID controller, so no block device shows up as being able to installed on to. 5.0-DP1 was the first thing that worked. Even NetBSD with their claim of being able to run on anything fails to install. 

Ok so now the problem, pardon the winded explanation. I successfully created paritions and mount points and installed a system to them. Finished install, removed the CD, rebooted, and that ended that pretty much. Aftter it get's past loading up the BIOS and initializing the system, the loader comes up for me to push 'F1' to load FreeBSD. I do that and all I get is a system beep. Nothing loads, nothing happens, and I am able to keep pushing F1 with more beeps. No errors, no loading of anything, no nothin.

Is there a way I can force error messages to see what the problem is, or to get the machine to boot? Questions? Comments? Suggestions?

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

The partition size in the RAID BIOS should be set to 2GB for use with 
freebsd. Also look for BIOS and Firmware upgrades from mylex to improve 
performance and reliability.

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


ImageMagic port build fails (again).

2004-01-13 Thread sms
Hi, fyi

Did a ports upgrade on a FreeBSD4.8 system
01/13/04 10:50am GMT+1.
The reason for this upgrade was to test newer versions of
ImageMagic, because of problems with the one currently installed 
(PACKAGE_LIB_VERSION_NUMBER=5,5,7,2).

It fails in the resize function (used in conjunction with Zope and
the Zope product Photo. Photo uses ImageMagic)
A build of ImageMagic-5.5.7-14 fails as follows:

- snip --
/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I../ -I. 
-I. -I../magick -I.. -I.. -I../magick  -I/usr/local/include/freetype2 
-I/usr/local/include -I/usr/X11R6/include -I/X11 
-I/usr/local/include/libxml2  -O -pipe -Wall -c -o jp2.lo `test -f 
'jp2.c' || echo './'`jp2.c
In file included from /usr/local/include/jasper/jasper.h:121,
 from jp2.c:85:
/usr/local/include/jasper/jas_image.h:152: warning: `/*' within comment
jp2.c: In function `ReadJP2Image':
jp2.c:343: warning: implicit declaration of function `jas_clrspc_fam'
jp2.c:343: warning: implicit declaration of function `jas_image_clrspc'
jp2.c:345: `JAS_CLRSPC_FAM_RGB' undeclared (first use in this function)
jp2.c:345: (Each undeclared identifier is reported only once
jp2.c:345: for each function it appears in.)
jp2.c:348: `JAS_CLRSPC_CHANIND_RGB_R' undeclared (first use in this 
function)
jp2.c:350: `JAS_CLRSPC_CHANIND_RGB_G' undeclared (first use in this 
function)
jp2.c:352: `JAS_CLRSPC_CHANIND_RGB_B' undeclared (first use in this 
function)
jp2.c:369: `JAS_CLRSPC_FAM_GRAY' undeclared (first use in this function)
jp2.c:372: `JAS_CLRSPC_CHANIND_GRAY_Y' undeclared (first use in this 
function)
jp2.c:382: `JAS_CLRSPC_FAM_YCBCR' undeclared (first use in this function)
jp2.c:347: warning: unreachable code at beginning of switch statement
jp2.c: In function `WriteJP2Image':
jp2.c:760: warning: implicit declaration of function `jas_image_setclrspc'
jp2.c:760: `JAS_CLRSPC_SGRAY' undeclared (first use in this function)
jp2.c:762: `JAS_CLRSPC_CHANIND_GRAY_Y' undeclared (first use in this 
function)
jp2.c:769: `JAS_CLRSPC_SRGB' undeclared (first use in this function)
jp2.c:771: `JAS_CLRSPC_CHANIND_RGB_R' undeclared (first use in this 
function)
jp2.c:773: `JAS_CLRSPC_CHANIND_RGB_G' undeclared (first use in this 
function)
jp2.c:775: `JAS_CLRSPC_CHANIND_RGB_B' undeclared (first use in this 
function)
gmake[1]: *** [jp2.lo] Error 1
gmake[1]: Leaving directory 
`/usr/ports/graphics/ImageMagick/work/ImageMagick-5.5.7/coders'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/graphics/ImageMagick.

-

--sms

/* Stein M Sandbech  Email: [EMAIL PROTECTED]  **
** Senior Systems Engineer, EDP dept Web site: www.ife.no **
** Institute for Energy Technology   Tel: +47 63 80 60 00 **
** Box 40, N-2007 Kjeller, NORWAYFax: +47 63 81 11 68 */


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


How safe is 5.2 to use?

2004-01-13 Thread David Meier
Hello list,

I am relatively new to the world of FreeBSD. But first, congrats to the
new release! I am somewhat insecure on how trustfully I can use the new
release for my intended use (and I hope my questions haven't been posted a
zillion times before). Therefore I hope the FreeBSD nuts can advise me
whether to go for 4.9 or 5.2.

The setup:
hardware: DELL PowerEdge 1750 (Dual XEON, 2GB RAM, RAID 1).
web server: Apache 2.0, MySQL 4.0, PHP 4.3.4, Perl 5.8
mail server: Postfix, Cyrus IMAPd, Cyrus SASL, Amavis-new, SpamAssassin,
ClamAV

The servers will be used for virtual hosting as a small ISP evironment and
housed about 30min from where I work (in case I have to reset them...).

I don't know how and if the instability risks may affect such a setup of
services on the hardware described. Unfortunately, the advisories are kept
in pretty general language, however, I know it is hard to predict how it
will be running on a particular system. I just don't know FreeBSD well
enough to have a 'feel' about it (although I don't rely too much on
'feelings' in the world of computers). Is upgrading to 5.2 comparable to,
say, I upgrade from RedHat 9 to RedHat's newest release?

What I like about the 5.x releases is the possibility of taking file
system snapshots, for example to back up the mailboxes.

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


Whan can I do if OS does not boot after makeworld

2004-01-13 Thread Vahric MUHTARYAN
Hi Everybody , 

I heared in list and some sites that some times after makeworld
system can't boot .  I wonder What FreeBSD Admins make to solve this problem
. Does possbile to prevent this problem ?! Any way ?! 

Vahric 

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


RE: How safe is 5.2 to use?

2004-01-13 Thread Vahric MUHTARYAN
Hi , 

You have to use FreeBSD 4.9, because you can see in freebsd web page
prodcution version is 4.9. and please test it maybe you will see you can not
install 5.2 on your hardware because when I try to install 5.1 on my intel
platform I faced a problem then now I'm using 4.9 . Everybody will say that
wait until more tested version and now its 4.9 


I didn't make a any update but suggested update mechanism is update in seris
for example 4.8 to 4.9 , but maybe problem can occur when you jump 4 to 5 .
I asked this question before and this is my knowledge what the list say . 



Vahric 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Meier
Sent: Tuesday, January 13, 2004 1:19 PM
To: [EMAIL PROTECTED]
Subject: How safe is 5.2 to use?

Hello list,

I am relatively new to the world of FreeBSD. But first, congrats to the
new release! I am somewhat insecure on how trustfully I can use the new
release for my intended use (and I hope my questions haven't been posted a
zillion times before). Therefore I hope the FreeBSD nuts can advise me
whether to go for 4.9 or 5.2.

The setup:
hardware: DELL PowerEdge 1750 (Dual XEON, 2GB RAM, RAID 1).
web server: Apache 2.0, MySQL 4.0, PHP 4.3.4, Perl 5.8
mail server: Postfix, Cyrus IMAPd, Cyrus SASL, Amavis-new, SpamAssassin,
ClamAV

The servers will be used for virtual hosting as a small ISP evironment and
housed about 30min from where I work (in case I have to reset them...).

I don't know how and if the instability risks may affect such a setup of
services on the hardware described. Unfortunately, the advisories are kept
in pretty general language, however, I know it is hard to predict how it
will be running on a particular system. I just don't know FreeBSD well
enough to have a 'feel' about it (although I don't rely too much on
'feelings' in the world of computers). Is upgrading to 5.2 comparable to,
say, I upgrade from RedHat 9 to RedHat's newest release?

What I like about the 5.x releases is the possibility of taking file
system snapshots, for example to back up the mailboxes.

Thanks for all input. Dave.
___
[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: ImageMagic port build fails (again).

2004-01-13 Thread Kent Stewart
On Tuesday 13 January 2004 02:35 am, sms wrote:
 Hi, fyi

 Did a ports upgrade on a FreeBSD4.8 system
 01/13/04 10:50am GMT+1.

 The reason for this upgrade was to test newer versions of
 ImageMagic, because of problems with the one currently installed
 (PACKAGE_LIB_VERSION_NUMBER=5,5,7,2).

 It fails in the resize function (used in conjunction with Zope and
 the Zope product Photo. Photo uses ImageMagic)

 A build of ImageMagic-5.5.7-14 fails as follows:

Did you update jasper? Since I have -14 installed, it looks like you have some 
out of date dependancies that have to be upgrade before ImageMagick can be.

Kent


 - snip --
 /bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I../ -I.
 -I. -I../magick -I.. -I.. -I../magick  -I/usr/local/include/freetype2
 -I/usr/local/include -I/usr/X11R6/include -I/X11
 -I/usr/local/include/libxml2  -O -pipe -Wall -c -o jp2.lo `test -f
 'jp2.c' || echo './'`jp2.c
 In file included from /usr/local/include/jasper/jasper.h:121,
   from jp2.c:85:
 /usr/local/include/jasper/jas_image.h:152: warning: `/*' within comment
 jp2.c: In function `ReadJP2Image':
 jp2.c:343: warning: implicit declaration of function `jas_clrspc_fam'
 jp2.c:343: warning: implicit declaration of function `jas_image_clrspc'
 jp2.c:345: `JAS_CLRSPC_FAM_RGB' undeclared (first use in this function)
 jp2.c:345: (Each undeclared identifier is reported only once
 jp2.c:345: for each function it appears in.)
 jp2.c:348: `JAS_CLRSPC_CHANIND_RGB_R' undeclared (first use in this
 function)
 jp2.c:350: `JAS_CLRSPC_CHANIND_RGB_G' undeclared (first use in this
 function)
 jp2.c:352: `JAS_CLRSPC_CHANIND_RGB_B' undeclared (first use in this
 function)
 jp2.c:369: `JAS_CLRSPC_FAM_GRAY' undeclared (first use in this function)
 jp2.c:372: `JAS_CLRSPC_CHANIND_GRAY_Y' undeclared (first use in this
 function)
 jp2.c:382: `JAS_CLRSPC_FAM_YCBCR' undeclared (first use in this function)
 jp2.c:347: warning: unreachable code at beginning of switch statement
 jp2.c: In function `WriteJP2Image':
 jp2.c:760: warning: implicit declaration of function `jas_image_setclrspc'
 jp2.c:760: `JAS_CLRSPC_SGRAY' undeclared (first use in this function)
 jp2.c:762: `JAS_CLRSPC_CHANIND_GRAY_Y' undeclared (first use in this
 function)
 jp2.c:769: `JAS_CLRSPC_SRGB' undeclared (first use in this function)
 jp2.c:771: `JAS_CLRSPC_CHANIND_RGB_R' undeclared (first use in this
 function)
 jp2.c:773: `JAS_CLRSPC_CHANIND_RGB_G' undeclared (first use in this
 function)
 jp2.c:775: `JAS_CLRSPC_CHANIND_RGB_B' undeclared (first use in this
 function)
 gmake[1]: *** [jp2.lo] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/graphics/ImageMagick/work/ImageMagick-5.5.7/coders'
 gmake: *** [all-recursive] Error 1
 *** Error code 2

 Stop in /usr/ports/graphics/ImageMagick.

 -


 --sms

 /* Stein M Sandbech  Email: [EMAIL PROTECTED]  **
 ** Senior Systems Engineer, EDP dept Web site: www.ife.no **
 ** Institute for Energy Technology   Tel: +47 63 80 60 00 **
 ** Box 40, N-2007 Kjeller, NORWAYFax: +47 63 81 11 68 */



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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: FreeBSD, SSH and Enter Authentication Response

2004-01-13 Thread Matthew Seaman
On Mon, Jan 12, 2004 at 01:32:30PM -0800, Rishi Chopra wrote:
 I have a nitpicky question about logging into a FreeBSD machine and 
 SSH.  I'm using a minimal FreeBSD install and SSH Secure Shell client 
 v3.2.0 - the crux of the problem is I am unable to smoothly login.

Which FreeBSD version?  And are you running the OpenSSH server
supplied with the system or one from ports?

 When I login to my machine, I'm prompted to enter an authentication 
 response.  A window is displayed with Enter Authentication Response 
 in the title bar, and two buttons at the bottom ('OK' and 'Cancel') - 
 the text says:
 
   Enter your authentication response.
   Password:

Sounds like you've got the PAM based challenge-response authentication
enabled in your /etc/ssh/sshd_config (which is the default), but
your /etc/pam.conf (FreeBSD 4.x) or /etc/pam.d (FreeBSD 5.x) has a
modified configuration.

Here are a couple of things to try --

Turn off Challenge-response authentication in /etc/ssh/sshd_config 

Change:

#ChallengeResponseAuthentication yes

to

ChallengeResponseAuthentication no

and then:

# kill -HUP `cat /var/run/sshd.pid`

to get it to reread the config.

 -- or --

Double check the PAM settings: they should look like this in /etc/pam.conf

# OpenSSH with PAM support requires similar modules.  The session one is
# a bit strange, though...
sshdauthsufficient  pam_skey.so
sshdauthsufficient  pam_opie.so no_fake_prompts
#sshd   authrequisite   pam_opieaccess.so
#sshd   authsufficient  pam_kerberosIV.so   try_first_pass
#sshd   authsufficient  pam_krb5.so try_first_pass
sshdauthrequiredpam_unix.so try_first_pass
sshdaccount requiredpam_unix.so
sshdpassword required   pam_permit.so
sshdsession requiredpam_permit.so

The /etc/pam.d case is similar, except you should have a file called
'sshd' in that directory, whose contents are similar, but without the
'sshd' entries in the first column.

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: Updating DNS after DHCP

2004-01-13 Thread Ruben de Groot
On Mon, Jan 12, 2004 at 11:09:38PM -0600, John typed:
 I see that some Microsoft systems send out an update to DNS with
 the system name.  I configured my DNS server to accept these updates,
 but now that I'm running FreeBSD on a laptop - how do I do that
 from FreeBSD? I've looked at the dhclient man pages and the named
 man pages and the pages that they refer to and I didn't pick up
 any hints there.
 
 Can anyone give me a clue? (Yeah - I'm clueless...)

I believe this is done by the nsupdate(8) program.

Ruben
 
 Thanks!
 -- 
 
 John Lind
 [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: I need to resend messages from dead.letters

2004-01-13 Thread Matthew Seaman
On Tue, Jan 13, 2004 at 09:24:21AM +, Jez Hancock wrote:
 On Mon, Jan 12, 2004 at 07:23:20PM -0800, Doug Hardie wrote:
  There was a problem last night with my mail server and a bunch of mail 
  went into the dead.letters mailbox rather than being sent.  I have that 
  mailbox and need a way to send all of those messages.  I split them out 
  into individual files, but there are just too many to send by hand.  Is 
  there a way to cause them all to be resent?

 Look at the -f option to the mail command - see the manpage for mail(1)
 for more info.

Hmmm.. I don't think that's quite what the OP wanted.

One solution is to install the procmail port (ports: mail/procmail)
which contains a stunningly useful utility called formail(1).  Amongst
formail's many talents is the ability to split up a mbox format
mailbox into individual messages and pipe each into a program.  So in
order to resend all of the messages in your dead.letter you could try:

% formail -s /usr/sbin/sendmail -v -t -oiee  dead.letter

Or to split up the dead.letter mailbox into individual numbered
messages:

% formail -s /bin/sh -c 'cat  msg.$FILENO'  dead.letter

and you can pipe each message into sendmail as above to re-send it:

% /usr/sbin/sendmail -v -t -oiee  msg.999

Nb. be careful when doing this sort of thing, or you'll spray e-mails
all over the place and make yourself quite unpopular.

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: Whan can I do if OS does not boot after makeworld

2004-01-13 Thread Ruben de Groot
On Tue, Jan 13, 2004 at 01:34:25PM +0200, Vahric MUHTARYAN typed:
 Hi Everybody , 
 
   I heared in list and some sites that some times after makeworld
 system can't boot .  I wonder What FreeBSD Admins make to solve this problem
 . Does possbile to prevent this problem ?! Any way ?! 

What exactly have you done to makeworld and what do you mean by system
can't boot (error messages) ?

 
 Vahric 
 
 ___
 [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: FreeBSD, SSH and Enter Authentication Response

2004-01-13 Thread Ruben de Groot
On Tue, Jan 13, 2004 at 11:55:50AM +, Matthew Seaman typed:
 On Mon, Jan 12, 2004 at 01:32:30PM -0800, Rishi Chopra wrote:
  I have a nitpicky question about logging into a FreeBSD machine and 
  SSH.  I'm using a minimal FreeBSD install and SSH Secure Shell client 
  v3.2.0 - the crux of the problem is I am unable to smoothly login.
 
 Which FreeBSD version?  And are you running the OpenSSH server
 supplied with the system or one from ports?

Judging by name and version number, I think he's not running OpenSSH
at all, but the other ssh implementation from ssh.org

  When I login to my machine, I'm prompted to enter an authentication 
  response.  A window is displayed with Enter Authentication Response 
  in the title bar, and two buttons at the bottom ('OK' and 'Cancel') - 
  the text says:
  
Enter your authentication response.
Password:
 
 Sounds like you've got the PAM based challenge-response authentication
 enabled in your /etc/ssh/sshd_config (which is the default), but
 your /etc/pam.conf (FreeBSD 4.x) or /etc/pam.d (FreeBSD 5.x) has a
 modified configuration.
 
 Here are a couple of things to try --
 
 Turn off Challenge-response authentication in /etc/ssh/sshd_config 
 
 Change:
 
 #ChallengeResponseAuthentication yes
 
 to
 
 ChallengeResponseAuthentication no
 
 and then:
 
 # kill -HUP `cat /var/run/sshd.pid`
 
 to get it to reread the config.
 
  -- or --
 
 Double check the PAM settings: they should look like this in /etc/pam.conf
 
 # OpenSSH with PAM support requires similar modules.  The session one is
 # a bit strange, though...
 sshdauthsufficient  pam_skey.so
 sshdauthsufficient  pam_opie.so no_fake_prompts
 #sshd   authrequisite   pam_opieaccess.so
 #sshd   authsufficient  pam_kerberosIV.so   try_first_pass
 #sshd   authsufficient  pam_krb5.so try_first_pass
 sshdauthrequiredpam_unix.so try_first_pass
 sshdaccount requiredpam_unix.so
 sshdpassword required   pam_permit.so
 sshdsession requiredpam_permit.so
 
 The /etc/pam.d case is similar, except you should have a file called
 'sshd' in that directory, whose contents are similar, but without the
 'sshd' entries in the first column.
 
   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


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


Not found...

2004-01-13 Thread Ví­ctor Gutiérrez Cruz
When I install port of PHP4 solicits to me:

PDFlib-Lite-5.0.0-Unix-src.tar.gz

where I can obtain it?...

Try to lower it of the sites that it indicates to me but it
does not find it
http://www.pdflib.com/products/pdflib/download/

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/disfiles

Atte. Víctor Gutiérrez Cruz

Si vales, valeo
(Antiguo saludo en Latín que significa:
Si tu estas bien yo estoy bien)
_
Únete al mayor servicio mundial de correo electrónico:  
http://www.hotmail.com

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


Re: binary execute restrictions

2004-01-13 Thread Matthew Seaman
On Tue, Jan 13, 2004 at 03:52:49AM +0100, Jefferson San Juan wrote:
 How do I restrict normal users from executing their own compiled executable
 binary files?
 I use FreeBSD 4.9.

This is actually a very difficult problem: FreeBSD is designed to let
people run executables, not to stop them doing that...

Put all of the user home directories on a separate partition which you
mount with the noexec flag.

Make sure that the users have no write access to anywhere outside
their home directories.  This includes the various world writable
temporary directories /tmp, /var/tmp, etc.  However, not permitting
users to write files in /tmp or /var/tmp will lead to much wailing and
gnashing of teeth, because a lot of applications are going to break.

Investigate setting the TMPDIR environment variable either from
/etc/login.conf or else from /etc/csh.login (for tcsh(1) users) or
/etc/profile (for bash(1) or sh(1) users) to ameliorate that.  If you
set TMPDIR=${HOME}/tmp each user can have their own private temporary
area under their home directory.  Note however that this only has an
advisory effect: not all applications will obey $TMPDIR.

You can mount the shared temporary directories noexec -- which will
work exceeedingly well 99.9% of the time.  Investigate mounting /tmp
as a memory filesystem -- see mount_mfs(8) -- as a good way to do
that.  Symlink other shared temporary areas to your memory filesystem
if you don't want to have more than one.  Nb. One occasion doing this
will definitely cause problems is when you are updating your system by
'make installworld' -- however that is a sufficiently uncommon event
that you can feasibly do a temporary remount of /tmp without noexec in
that case.

Even so, a determined user could probably still work out ways to get
an executable executed, but they'd have to put some effort into
working out how.

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


mac address

2004-01-13 Thread Malik Blent
hello 

i use freebsd5.1 and i want to reject some computers  whose according to Mac 
Addresses 
and i recompiled kernel with 
options IPFIREWALL 

then i made ipfw.sh with touch and wrote in ;
ipfw add deny MAC 00:60:67:28:0c:1e any 

ipfw add deny MAC any 00:60:67:28:0c:1e

but I couldn't reject above machine

What shall i do ?

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


RE: Whan can I do if OS does not boot after makeworld

2004-01-13 Thread Vahric MUHTARYAN
Hi , 

I did not make something now and I don't have a problem with makeworld. But
I red something in FreeBSD from scratch and I saw that some problem can
occur and after makeworld process OS is not openinig  

Vahric  

-Original Message-
From: Ruben de Groot [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 13, 2004 2:24 PM
To: Vahric MUHTARYAN
Cc: [EMAIL PROTECTED]
Subject: Re: Whan can I do if OS does not boot after makeworld

On Tue, Jan 13, 2004 at 01:34:25PM +0200, Vahric MUHTARYAN typed:
 Hi Everybody , 
 
   I heared in list and some sites that some times after makeworld
 system can't boot .  I wonder What FreeBSD Admins make to solve this
problem
 . Does possbile to prevent this problem ?! Any way ?! 

What exactly have you done to makeworld and what do you mean by system
can't boot (error messages) ?

 
 Vahric 
 
 ___
 [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: Not found...

2004-01-13 Thread Matthew Seaman
On Mon, Jan 12, 2004 at 01:57:32PM -0600, Ví­ctor Gutiérrez Cruz wrote:
 When I install port of PHP4 solicits to me:
 
 PDFlib-Lite-5.0.0-Unix-src.tar.gz
 
 where I can obtain it?...

That's an old version.  The PDFlib authors' latest version is 5.0.2,
and it seems that tey've removed the old versions from their
distribution sites.

What you should do is update your ports tree using cvsup(8):

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

And see the example supfiles in /usr/share/samples/cvsup.  Note that
you always need 'tag=.' when updating ports.

Now when you go to install PHP4, it will use available versions of
software for its dependencies.

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: cannot open Makefile Error code 2 Installing port

2004-01-13 Thread Malcolm Kay
On Tue, 13 Jan 2004 15:15, Ben Dover wrote:
 This is probably simple but i can't find the answer in the handbook.  I am
 installing the mod_frontpage port and I get the following error:

 devnu11# make install clean
 ===  Building for mod_frontpage-1.6.2

make seems to have read the top level Makefile to get this information...

 make: cannot open Makefile.
 *** Error code 2

thus it seems that this is some other Makefile -- probably in a sub directory.


 Stop in /usr/ports/www/mod_frontpage.

 I CAN read the Makefile so I dont know what is wrong.  I have tried
 deleting the distfile hoping to start over but that didnt work.  What do I
 do next?


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


Re: agp error with Radeon 7500 disables DRI

2004-01-13 Thread David Fleck
To answer my own question, it turns out that (for my system, at least) the
agp.ko module *must not be preloaded* with loader.conf.  Commenting
agp_load=YES out of /boot/loader.conf fixed all three problems listed
here.

On Sun, 11 Jan 2004, David Fleck wrote:
 4.9-RELEASE-p1.

 At boot, the agp module appears to load OK:

 # dmesg | grep agp
 Preloaded elf module agp.ko at 0xc03d336c.
 agp0: VIA Generic host to PCI bridge mem 0xe000-0xe7ff at device
 0.0 on pci0
 agp0: allocating GATT for aperture of size 256M

 However, when starting X, the kernel spits out this message:

 /kernel: error: [drm:radeon_unlock] *ERROR* Process 265 using kernel
 context 0

 There is no such process when I look, of course...  the relevant section
 of the XFree86 log is:

 (II) RADEON(0): [drm] created radeon driver at busid PCI:1:0:0
 (II) RADEON(0): [drm] added 8192 byte SAREA at 0xc22ce000
 (II) RADEON(0): [drm] mapped SAREA 0xc22ce000 to 0x28279000
 (II) RADEON(0): [drm] framebuffer handle = 0xd800
 (II) RADEON(0): [drm] added 1 reserved context for kernel
 (WW) RADEON(0): [agp] AGP not available
 (II) RADEON(0): [drm] removed 1 reserved context for kernel
 (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc22ce000 at
 0x28279000
 (II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)

 I'm assuming there's some relationship between (a) the kernel warning
 message, (b) the 'AGP not available' message, and (c) the fact that DRI
 doesn't work anymore (it did before I upgraded from 4.6.2 to 4.9).  Can
 anyone think of where to look to figure this out?

--
David Fleck
[EMAIL PROTECTED]

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


Help: xdm is cycled when enabled

2004-01-13 Thread vyepishov
 Dear Sirs,

 I am writing to you because I have some problem with recently installed Unix
FreeBSD 5.1.
 
 I must say you that I am new user of FreeBSD, and therefore I need some advice.
And here is my problem: when I installed FreeBSD and added KDE environment as
the default X Window environment for my system, everything was perfect, except
the fact that I cannot enable xdm to log in X Window environment properly
(HERE IS THE CORE OF THE PROBLEM: when I enabled xdm in etc/ttys file, then
after rebooting xdm started, but when I entered login and password, xdm, again,
started, that is, this program was like cycled)
instead of logging in console. I strictly followed the instructions given in
Chapter 5 of the FreeBSD Handbook, but I couldn't do anything about it. May be
the problem is that the instructions are not enough detailed for me.

 That is why I ask you to help me. Thank you in advance.

 Yours sincerely,

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


Re: Problem with amd (automount daemon)

2004-01-13 Thread David Fleck
On Mon, 12 Jan 2004, Ernst de Haan wrote:

 Still haven't completely figured out what the solution is, but I think I
 know what's happening:

 - kscd is hanging to the drive, even though there is no audio CD in there
 - amd fails at the first attempt to read /dev/cd0c and fails on succeeding
   calls

 However, even if I reload amd with 'killall -HUP amd' it doesn't show
 anything below /mnt/cdrom/. Perhaps there is some other file locked?

It's possible. If you kill amd, can you mount the cdrom manually?
Does anything show up in /var/log/messages after you try to cd to the
mounted CD?


--
David Fleck
[EMAIL PROTECTED]

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


Re: Whan can I do if OS does not boot after makeworld

2004-01-13 Thread Andrew L. Gould
On Tuesday 13 January 2004 07:02 am, Vahric MUHTARYAN wrote:
 Hi ,

 I did not make something now and I don't have a problem with makeworld. But
 I red something in FreeBSD from scratch and I saw that some problem can
 occur and after makeworld process OS is not openinig 

 Vahric

This is not going to sound very helpful; but if you're trying to be 
proactive...read the documentation thoroughly and follow the steps 
carefully.  Don't cut corners or make mistakes.

Unless you can predict the error, it's hard to predict the solution.

Best regards,

Andrew Gould

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


Re: mac address

2004-01-13 Thread Daan Vreeken [PA4DAN]
On Tuesday 13 January 2004 13:54, Malik Blent wrote:
 hello

 i use freebsd5.1 and i want to reject some computers  whose according to
 Mac Addresses and i recompiled kernel with
 options IPFIREWALL

 then i made ipfw.sh with touch and wrote in ;
 ipfw add deny MAC 00:60:67:28:0c:1e any
 ipfw add deny MAC any 00:60:67:28:0c:1e

 but I couldn't reject above machine
 What shall i do ?
You have to it first with a sysctl :
# sysctl -w net.link.ether.ipfw=1

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


Re: Help: xdm is cycled when enabled

2004-01-13 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

  Dear Sirs,
 
  I am writing to you because I have some problem with recently installed Unix
 FreeBSD 5.1.
  
  I must say you that I am new user of FreeBSD, and therefore I need some advice.
 And here is my problem: when I installed FreeBSD and added KDE environment as
 the default X Window environment for my system, everything was perfect, except
 the fact that I cannot enable xdm to log in X Window environment properly
 (HERE IS THE CORE OF THE PROBLEM: when I enabled xdm in etc/ttys file, then
 after rebooting xdm started, but when I entered login and password, xdm, again,
 started, that is, this program was like cycled)
 instead of logging in console. I strictly followed the instructions given in
 Chapter 5 of the FreeBSD Handbook, but I couldn't do anything about it. May be
 the problem is that the instructions are not enough detailed for me.
 
  That is why I ask you to help me. Thank you in advance.

It sounds like you don't have a proper .xsession file.

Start by removing whatever you already have for a .xsession file, and
you'll get the system default one.  If that doesn't work, look in
~/.xsession-errors.  If it does work, then you need to debug your
.xsession file (remember that you *don't* want it to exit while you
are running an xdm session.

For reference, my .xsession file is at
 http://be-well.ilk.org:8088/~lowell/systuff/scripts/xsession

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


Re: XFree86 configuration

2004-01-13 Thread Andrew L. Gould
On Tuesday 13 January 2004 02:31 am, Carvalho Paulo wrote:
Hello everyone,
I just installed FreeBSD 4.9, and when I try to
 cofigure X through sysinstall it gives an error
 message in the end. The messege says that an error has
 ocurred and asks if I want to try again. I tried
 several times and then gave up.
What I want to know is if there is any way that I
 can know what went wrong so that I can do it right.
 The error message does not give any clue as to what
 hapened.
Thanks in advance for taking time to read this
 message and for a possible reply.

Paulo de Carvalho.

I stopped using the X configuration utilities in favor of 'XFree86 -configure' 
to let XFree86 make its best guess at my hardware.  It creates a 
configuration file under /root/ for review and modification.  There are 
directions at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

Best of luck,

Andrew Gould

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


Re: /etc/rc.conf vs /etc/defaults/rc.conf

2004-01-13 Thread David Fleck
On Tue, 13 Jan 2004, August Simonelli wrote:
 Thanks all who helped me on this! I really do appreciate it!

By the way, this is covered in section 6.3 in the handbook, 'Core
Configuration'.

--
David Fleck
[EMAIL PROTECTED]

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


Re: Trouble getting network card to work

2004-01-13 Thread Jared Cheney
Thanks - I will give this a try when I get a chance.  When I got back in to
work yesterday I found a couple of 10/100 cards from a different vendor
(Intel) and threw them in and they worked on the first boot.  Depending on
how much time we have before my team needs to begin using the box, I may not
be able to test with the old cards, but I'll tuck away this information for
future use.

Thanks for everyone's help!  BTW, we're going to be using the machine as a
router in our test lab and setting up ipfw rules in conjunction with
dummynet 'pipes' for WAN emulation.  As I've been playing around with this
I've been amazed at all that can be done with it -- hats off to the FreeBSD
community for building such an excellent tool.


fbsd_user [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Add this to your kernel source and recompile the kernel.

 device puc

 This uses an more detailed approach to probing older bio's
 and motherboards PCI slots.
 I found this as an solution posted in the questions archives.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Jared
 Cheney
 Sent: Monday, January 12, 2004 10:33 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Trouble getting network card to work

 Thanks for the suggestion.  I tried this and unfortunately, it did
 not work
 :(  Same behavior no matter what PCI slot I put it in.  I have
 successfully
 been able to get an old ISA NE2000 card configured and up in the
 system, so
 I'm at least able to talk on the network.  However, I'd really like
 to get
 the PCI card working, so I can get 100Mbps connections.

 Anyone have any other ideas?

 Thanks
 fbsd_user [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  I just went through that on my pre Y2K PC using 4.9. Different PCI
  Nic card, but same symptoms. Had to enable verbose boot messages.
  Saw that every time I rebooted system the boot log showed an msg
  saying something about unrecognized ID. I know the card was good
 so
  I just kept moving the Nic card to different PCI slot, rebooting,
  until it finally worked.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Jared
  Cheney
  Sent: Saturday, January 10, 2004 4:28 PM
  To: [EMAIL PROTECTED]
  Subject: Trouble getting network card to work
 
  Hello,
 
  I've just installed FreeBSD 4.9 and am having trouble getting my
  network
  card to work.  It is very odd, because it appears as though the
  kernel
  recognizes the card just fine and is using the pcn module to bring
  it up,
  etc.
 
  It is an AMD 79c79x card (according to FreeBSD).  I can view/set
  properties
  via ifconfig - and it properly shows whether or not there is link.
  I cannot
  obtain a DHCP lease, nor can I ping any other hosts on my network
  when I
  have a static IP configured.
 
  To ensure that the NIC is fine and all cables, etc. - I booted
 from
  a
  bootable Linux CD (Knoppix), where I was able to use the card fine
  to ping,
  browse the Internet, etc.  Linux showed it as an AMD 79c970
 [PCNET32
  LANCE]
  card.
 
  The card is called pcn0 in FreeBSD, and it says that it is sharing
  IRQ 10.
  Running tcpdump for any length of time also shows that 0 packets
  were
  received by the filter.
 
  Anyone have any ideas as to what could be the problem?
 
  Thanks, in advance,
  Jared
 
 
 
  ___
  [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]

 ___
 [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]


porteasy error

2004-01-13 Thread Dru

I successfully created a minimal ports structure using porteasy -a -u.
However, when I try to fetch a specific port skeleton, I receive these
messages:

porteasy -v -u -a lynx-2.8.5d16_3
cvs server: Updating Mk
Reading /usr/ports/INDEX-5
9724 ports in index
Pass 0: www/lynx-current
 cd /usr/ports
 /usr/bin/cvs -f -z3 -R -d:pserver:[EMAIL PROTECTED]:/home/ncvs
update -A -P -d -l www
cvs [update aborted]: end of file from server (consult above messages if
any)
/usr/bin/cvs returned exit code 1
error updating the 'www' category.

This is a minimal 5.1-RELEASE system. The amount of messages above the
first line of output varies depending upon what directory I'm in, but
always ends in the same aborted update message.

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


Re: ImageMagic port build fails (again).

2004-01-13 Thread sms
Kent Stewart wrote:
On Tuesday 13 January 2004 02:35 am, sms wrote:

Hi, fyi

Did a ports upgrade on a FreeBSD4.8 system
01/13/04 10:50am GMT+1.
The reason for this upgrade was to test newer versions of
ImageMagic, because of problems with the one currently installed
(PACKAGE_LIB_VERSION_NUMBER=5,5,7,2).
It fails in the resize function (used in conjunction with Zope and
the Zope product Photo. Photo uses ImageMagic)
A build of ImageMagic-5.5.7-14 fails as follows:


Did you update jasper? Since I have -14 installed, it looks like you have some 
out of date dependancies that have to be upgrade before ImageMagick can be.

Kent

I did in a complete (well not really true, excluded the non-English
ports, like ports-chinese etc) ports collection update.
My Makefile in /usr/ports/graphics/jasper has the following:
PORTVERSION=1.700.5
which is the latest, isnt it?
There should not be any problems on a ports upgraded FreeBSD4.8
based system (vs FreeBSD4.9) should there?
On beforehand, thank you.

--sms

/* Stein M Sandbech  Email: [EMAIL PROTECTED]  **
** Senior Systems Engineer, EDP dept Web site: www.ife.no **
** Institute for Energy Technology   Tel: +47 63 80 60 00 **
** Box 40, N-2007 Kjeller, NORWAYFax: +47 63 81 11 68 */
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How safe is 5.2 to use?

2004-01-13 Thread Chad Leigh -- Shire.Net LLC
On Jan 13, 2004, at 4:45 AM, Vahric MUHTARYAN wrote:

Hi ,

You have to use FreeBSD 4.9, because you can see in freebsd web page
prodcution version is 4.9. and please test it maybe you will see you 
can not
install 5.2 on your hardware because when I try to install 5.1 on my 
intel
platform I faced a problem then now I'm using 4.9 . Everybody will say 
that
wait until more tested version and now its 4.9

Which begs the question.  Will FBSD 5 ever be deemed worthy for 
production use?  Over the last year it was said in this list:  5.1 is 
still a testing version not recommended for production, but 5.2 will be 
better suited for production.

I intend to transition a less used production server from 4.7 to 5.2 
sometime in the next month, and we'll see how it goes.There are 
certain things I would like from 5...

Chad


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Meier
Sent: Tuesday, January 13, 2004 1:19 PM
To: [EMAIL PROTECTED]
Subject: How safe is 5.2 to use?
Hello list,

I am relatively new to the world of FreeBSD. But first, congrats to the
new release! I am somewhat insecure on how trustfully I can use the new
release for my intended use (and I hope my questions haven't been 
posted a
zillion times before). Therefore I hope the FreeBSD nuts can advise me
whether to go for 4.9 or 5.2.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New installation: Hanging when trying to dial out

2004-01-13 Thread Andrew Boothman
John Adams wrote:
On Monday, January 12, 2004, at 09:59 PM, fbsd_user wrote:

It would be a whole lot more helpful if you posted your ppp.conf
and the ppp.log of your last test


I may have to type this in--I'm unable to mount the floppy drive, and 
MAKEDEV is telling me bad unit for disk in: fd* for each /dev/fd*. 
Should I consider this a second message to me saying, you have weird 
hardware, and give up? I'd rather not. Perhaps I have a different 
problem to work with first, getting the floppy mounted so I can write 
logs to it. Advice?
How are you trying to mount your floppy? mount -t msdos /dev/fd0 /mnt?

Explain how you know FBSD has found your modem and can connect to
it.


Perhaps it hasn't--the last thing in the ppp.log is:

ppp[116]: tun0 : Command: /dev/tty: set device cuaa0

That's from the interactive mode entry. From the auto mode entry, the 
last listing is:

ppp[116]: tun0: Phase: PPP Started (auto mode)
This might be a silly question, but the modem is plugged into serial 
port 1 isn't it? Try using /dev/cuaa1? Are your serial ports probed 
correctly during boot? Look at dmesg|grep cuaa.

TBH, it's been a long time since I did PPP under FreeBSD. Broadband rules ;)

Andrew

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


RE: Whan can I do if OS does not boot after makeworld

2004-01-13 Thread Vahric MUHTARYAN
Did you ever have any problem about makeworld process ?! 
I afraid of one day will come and I can't boot my FreeBSD  

Vahric 

-Original Message-
From: Andrew L. Gould [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 13, 2004 3:31 PM
To: Vahric MUHTARYAN; 'Ruben de Groot'
Cc: [EMAIL PROTECTED]
Subject: Re: Whan can I do if OS does not boot after makeworld

On Tuesday 13 January 2004 07:02 am, Vahric MUHTARYAN wrote:
 Hi ,

 I did not make something now and I don't have a problem with makeworld.
But
 I red something in FreeBSD from scratch and I saw that some problem can
 occur and after makeworld process OS is not openinig 

 Vahric

This is not going to sound very helpful; but if you're trying to be 
proactive...read the documentation thoroughly and follow the steps 
carefully.  Don't cut corners or make mistakes.

Unless you can predict the error, it's hard to predict the solution.

Best regards,

Andrew Gould

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


Re: cant boot from large disk

2004-01-13 Thread Andrew Boothman
FreeBSD User wrote:

Howdy Questions,

I am having problems with 4.8 Release booting from a large hard disk 
(80 - 160G) on an old (socket7) motherboard.

I have the same problem with linux. Making the root partition
smaller that 1000M, puting it on the first disk, etc etc  doesnt 
help in either case. I have also tried a few different bootloaders,
in all cases, the bootloader either failed to load, or failed to 
boot the OS.

With Linux (redhat7.x) I was able to build a bootable floppy on which
the location of the root partition was stored, and boot off that.
I could also interrupt the boot, enter different values, and boot
off of a different partition. Hardly ideal, but satisfactory.
What bootloader did Redhat give you? Isn't it grub? I've used grub for 
ages to dual-boot Win2k and FreeBSD - it can boot FreeBSD no problem.

My FreeBSD slice is at the start of my second drive so I type into grub:

root (hd1,0,a)
chainloader +1
boot
And hey-presto FreeBSD boots no problem!

There's possibly a way to get other bootloaders to boot FreeBSD, I'm not 
to sure. But you might want to give grub a try anyway.

Good luck.

Andrew

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


Re: How safe is 5.2 to use?

2004-01-13 Thread Andrew Boothman
Chad Leigh -- Shire.Net LLC wrote:

On Jan 13, 2004, at 4:45 AM, Vahric MUHTARYAN wrote:

Hi ,

You have to use FreeBSD 4.9, because you can see in freebsd web page
prodcution version is 4.9. and please test it maybe you will see you 
can not
install 5.2 on your hardware because when I try to install 5.1 on my 
intel
platform I faced a problem then now I'm using 4.9 . Everybody will say 
that
wait until more tested version and now its 4.9

Which begs the question.  Will FBSD 5 ever be deemed worthy for 
production use?
That's a question that only you can answer.

Will there ever be a time when The FreeBSD Project offically recommends 
5.x for production use? Almost certainly yes - just not yet. Each 
sysadmin has to make his own decision about when he wants to upgrade. 
Some might have no problems with 5.x as it stands and want to upgrade 
immediately to make use of new functionality - other may want to wait 
longer.

This isn't a one-size-fits-all question.

Andrew

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


Re: How safe is 5.2 to use?

2004-01-13 Thread Kevin D. Kinsey, DaleCo, S.P.
-Original Message-

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Meier
Sent: Tuesday, January 13, 2004 1:19 PM
To: [EMAIL PROTECTED]
Subject: How safe is 5.2 to use?
Hello list,

I am relatively new to the world of FreeBSD. But first, congrats to the
new release! I am somewhat insecure on how trustfully I can use the new
release for my intended use (and I hope my questions haven't been 
posted a
zillion times before). Therefore I hope the FreeBSD nuts can advise me
whether to go for 4.9 or 5.2.


Chad Leigh -- Shire.Net LLC wrote:

On Jan 13, 2004, at 4:45 AM, Vahric MUHTARYAN wrote:

Hi ,

You have to use FreeBSD 4.9, because you can see in freebsd web page
prodcution version is 4.9. and please test it maybe you will see you 
can not
install 5.2 on your hardware because when I try to install 5.1 on my 
intel
platform I faced a problem then now I'm using 4.9 . Everybody will 
say that
wait until more tested version and now its 4.9

Which begs the question.  Will FBSD 5 ever be deemed worthy for 
production use?  Over the last year it was said in this list:  5.1 is 
still a testing version not recommended for production, but 5.2 will 
be better suited for production.

I intend to transition a less used production server from 4.7 to 5.2 
sometime in the next month, and we'll see how it goes.There are 
certain things I would like from 5...

Chad


The roadmap now says that 5.X will branch to
-STABLE around the time of 5.3, instead of the
earlier prediction of 5.2.  It seems likely that
folks will take that with a grain of salt, but
perhaps we can be appreciative of the fact that
the RELENG team wants a little extra time to
make sure things are, well, stable before they
name it as such.
It's not unlike a lot of other projects; I've created
a website in two weeks, and I've another that's
crawled on for well over a year.  Some things are
that way, and let's remember the adage beggars
can't be choosers.  I think it would be difficult to
find a large project that hasn't suffered from things
like feature creep  For a free (in the best
sense of the word) OS, we've got a Good Thing going here.
FWIW, I'm running 5.1 pretty well in a server environment
at the present, and just built 5.2 yesterday; everything
seems normal and is working well (pending successful completion
of portupgrade, sometime tomorrow, probably ;-) )
Kevin Kinsey

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


Re: New installation: Hanging when trying to dial out

2004-01-13 Thread John Adams
On Tuesday, January 13, 2004, at 10:29 AM, Andrew Boothman wrote:

How are you trying to mount your floppy? mount -t msdos /dev/fd0 
/mnt?
Well, I was just naively trying mount /dev/fd0 /mnt, but now I've tried 
it as you suggest, and again gotten Device not configured. This is 
also what fdformat gives me when I try to format the disk. I'm also 
unable so far to mount the CD drive.

 Are your serial ports probed correctly during boot? Look at 
dmesg|grep cuaa.
Now, that's interesting. I get results for sio, but nothing for cuaa or 
tty.

All the best,

	John A

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


Re: I need to resend messages from dead.letters

2004-01-13 Thread Doug Hardie
On Jan 13, 2004, at 04:18, Matthew Seaman wrote:

On Tue, Jan 13, 2004 at 09:24:21AM +, Jez Hancock wrote:
On Mon, Jan 12, 2004 at 07:23:20PM -0800, Doug Hardie wrote:
There was a problem last night with my mail server and a bunch of 
mail
went into the dead.letters mailbox rather than being sent.  I have 
that
mailbox and need a way to send all of those messages.  I split them 
out
into individual files, but there are just too many to send by hand.  
Is
there a way to cause them all to be resent?


Or to split up the dead.letter mailbox into individual numbered
messages:
% formail -s /bin/sh -c 'cat  msg.$FILENO'  dead.letter

and you can pipe each message into sendmail as above to re-send it:

% /usr/sbin/sendmail -v -t -oiee  msg.999

Nb. be careful when doing this sort of thing, or you'll spray e-mails
all over the place and make yourself quite unpopular.
Thanks.  I had missed the -t option to sendmail.  That does exactly 
what I needed.

-- Doug

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


Re: How safe is 5.2 to use?

2004-01-13 Thread Andrew L. Gould
On Tuesday 13 January 2004 09:19 am, Chad Leigh -- Shire.Net LLC wrote:
 On Jan 13, 2004, at 4:45 AM, Vahric MUHTARYAN wrote:
  Hi ,
 
  You have to use FreeBSD 4.9, because you can see in freebsd web page
  prodcution version is 4.9. and please test it maybe you will see you
  can not
  install 5.2 on your hardware because when I try to install 5.1 on my
  intel
  platform I faced a problem then now I'm using 4.9 . Everybody will say
  that
  wait until more tested version and now its 4.9

 Which begs the question.  Will FBSD 5 ever be deemed worthy for
 production use?  Over the last year it was said in this list:  5.1 is
 still a testing version not recommended for production, but 5.2 will be
 better suited for production.

 I intend to transition a less used production server from 4.7 to 5.2
 sometime in the next month, and we'll see how it goes.There are
 certain things I would like from 5...

 Chad


I think this is issue-driven.  You can find specific info at:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html

Best regards,

Andrew Gould

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


IPv6 and multiple interfaces

2004-01-13 Thread Kirk Strauser
I'm using an IPv6 tunnel to Hurricane Electric on my FreeBSD 4.9-STABLE
firewall.  That firewall has multiple Ethernet interfaces.  Should each of
those interfaces be assigned a routable IPv6 address?  And what *is*
link-local?  Is there a decent (English language) FAQ that's readable by
technical users who aren't networking experts?
-- 
Kirk Strauser

94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box.


pgp0.pgp
Description: PGP signature


Re: Whan can I do if OS does not boot after makeworld

2004-01-13 Thread Andrew L. Gould
On Tuesday 13 January 2004 09:31 am, Vahric MUHTARYAN wrote:
 Did you ever have any problem about makeworld process ?!
 I afraid of one day will come and I can't boot my FreeBSD

 Vahric

For me, the trickiest part was understanding and executing 'mergemaster -i' 
after 'make world'.  Once I got a feel for it, updating my system has been a 
breeze.

Best of luck,

Andrew Gould

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


RE: Whan can I do if OS does not boot after makeworld

2004-01-13 Thread Scott Mitchell
[EMAIL PROTECTED] wrote:
 Did you ever have any problem about makeworld process ?!
 I afraid of one day will come and I can't boot my FreeBSD
 
 Vahric

This is why the recommended update process is (in part):

# make buildworld
# make buildkernel
# make installkernel

Followed by a reboot into single-user mode before doing the installworld.
If the new kernel doesn't boot, you've still got the previous one in
/kernel.old, so you can just boot from that one and carry on without having
trashed any part of your system.

If installworld somehow manages to make your system unbootable, you have a
few options:
- boot single-user and try to fix things with the tools in /stand (or
/rescue on 5.x)
- boot CD #2 and try to fix things with the tools in the live filesystem
- restore from backups (you do have backups, right?)

Personally, I've made plenty of unbootable kernels, and a few worlds that
behaved strangely in places, but never an unusable system (fingers crossed
:-)

Scott

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


Re: freebsd-questions Digest, Vol 43, Issue 4

2004-01-13 Thread J. Seth Henry
Guys,
You can get a two slot chassis for a mini-ITX or flex-ATX board. The Travla 
C137 can take a 2-slot riser, though you are limited to using a 2.5 HDD. I 
used one of these chassis' for my primary router, with two 3Com 3C905TX NIC's 
installed. Although present and working, I don't use the onboard NIC; though 
the problems I had may have been with the cable modem, not the NIC.

Caseoutlet sells them, but you can get more info on them from Travla. (http://
www.travla.com/Products/C137/c137.html)

Keep in mind, the onboard NIC is there, so all you really need is one 
additional PCI NIC.

Regards,
Seth Henry

On Tuesday 13 January 2004 01:37, [EMAIL PROTECTED] wrote:
 Date: Tue, 13 Jan 2004 01:25:22 +
 From: Chris Howells [EMAIL PROTECTED]
 Subject: Re: Mini atx for firewall
 To: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: Text/Plain;  charset=iso-8859-1

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Wednesday 19 November 2003 14:24, Francisco Reyes wrote:
  My primary concern is the network card. Since these small machines only
  have one PCI slot I will add one card for the internal network and then
  would need the onboard card to connect to the outside world.

 I just got a 4 port Adaptec NIC very very cheaply from ebay (about £20 GBP,
 which included international shipping). Works great with de(4).

 I had the same problem with lack of PCI slots,  my server/router is
 mini-ATX based and so only has three PCI slots, so it's working great now
 with PCI IDE ,SCSI and 4 port net.

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


Re: How safe is 5.2 to use?

2004-01-13 Thread David Meier
I understand my question officially can only be answered to still use 4.9.
I just wonder if anyone has used the 5.x for similar services as I plan to
do, successfully or not.

Dave

 -Original Message-

 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of David Meier
 Sent: Tuesday, January 13, 2004 1:19 PM
 To: [EMAIL PROTECTED]
 Subject: How safe is 5.2 to use?

 Hello list,

 I am relatively new to the world of FreeBSD. But first, congrats to the
 new release! I am somewhat insecure on how trustfully I can use the new
 release for my intended use (and I hope my questions haven't been
 posted a
 zillion times before). Therefore I hope the FreeBSD nuts can advise me
 whether to go for 4.9 or 5.2.



 Chad Leigh -- Shire.Net LLC wrote:


 On Jan 13, 2004, at 4:45 AM, Vahric MUHTARYAN wrote:

 Hi ,

 You have to use FreeBSD 4.9, because you can see in freebsd web page
 prodcution version is 4.9. and please test it maybe you will see you
 can not
 install 5.2 on your hardware because when I try to install 5.1 on my
 intel
 platform I faced a problem then now I'm using 4.9 . Everybody will
 say that
 wait until more tested version and now its 4.9


 Which begs the question.  Will FBSD 5 ever be deemed worthy for
 production use?  Over the last year it was said in this list:  5.1 is
 still a testing version not recommended for production, but 5.2 will
 be better suited for production.

 I intend to transition a less used production server from 4.7 to 5.2
 sometime in the next month, and we'll see how it goes.There are
 certain things I would like from 5...

 Chad


 The roadmap now says that 5.X will branch to
 -STABLE around the time of 5.3, instead of the
 earlier prediction of 5.2.  It seems likely that
 folks will take that with a grain of salt, but
 perhaps we can be appreciative of the fact that
 the RELENG team wants a little extra time to
 make sure things are, well, stable before they
 name it as such.

 It's not unlike a lot of other projects; I've created
 a website in two weeks, and I've another that's
 crawled on for well over a year.  Some things are
 that way, and let's remember the adage beggars
 can't be choosers.  I think it would be difficult to
 find a large project that hasn't suffered from things
 like feature creep  For a free (in the best
 sense of the word) OS, we've got a Good Thing going here.

 FWIW, I'm running 5.1 pretty well in a server environment
 at the present, and just built 5.2 yesterday; everything
 seems normal and is working well (pending successful completion
 of portupgrade, sometime tomorrow, probably ;-) )

 Kevin Kinsey

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


Re: New installation: Hanging when trying to dial out

2004-01-13 Thread Andrew Boothman
John Adams wrote:

On Tuesday, January 13, 2004, at 10:29 AM, Andrew Boothman wrote:

How are you trying to mount your floppy? mount -t msdos /dev/fd0 /mnt?


Well, I was just naively trying mount /dev/fd0 /mnt, but now I've tried 
it as you suggest, and again gotten Device not configured. This is 
also what fdformat gives me when I try to format the disk. I'm also 
unable so far to mount the CD drive.

 Are your serial ports probed correctly during boot? Look at 
dmesg|grep cuaa.


Now, that's interesting. I get results for sio, but nothing for cuaa or 
tty.
That's because serial ports _are_ probed as sios - sorry my mistake.

I presume you get sio lines for all of your serial ports? My original 
point still stands, are you sure you're using the right one for where 
your modem is plugged in?

Have you read through 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dialout.html ?

Andrew

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


Re: xmms - problem - how to fix?

2004-01-13 Thread Nathan Kinkade
On Tue, Jan 13, 2004 at 07:09:21AM +1100, Gautam Gopalakrishnan wrote:
 On Sun, Jan 11, 2004 at 02:24:30PM +0200, Alex Zivenko wrote:
  Hi!
  I have some problem with my xmms mm player. When I'm treing to
  listen some mp3's it gives me aN error, that I don't know how to
  fix. I have KDE 3.1 if you need this info ^) So here it is:
  bash-2.05b$ xmms
  /dev/dsp: Device busy
  /dev/dsp: Device busy
  /* with OSS driver */
  
  ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp):
  Device busy
  
  ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp):
  Device busy
  
  ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp):
  Device busy /dev/dsp: Device busy
 
 
 I have the same error sometimes when I use mpg123 or mplayer. I don't
 have kde or any sound daemon like arts or esound. fstat does not help
 too. I just have to wait for sometime for the device to be available
 again, maybe a minute. Any ideas, welcome
 
 Gautam

I have also been having this problem on 5.1-RELEASE.  I posted about
this a month or two ago and found that a couple other people were having
the same problem, but nobody seemed to have a solution.  My system
exhibits this problem with either xmms or mp3blaster and it is seemingly
random.  Again, `fstat | grep dsp' reveals nothing.  I am using blackbox
and have no sound daemon of any sort.  However, I am recently of the
opinion that it may be a memory related issue.  I have 256MB of RAM, but
my machine is always hovering on being out of physical memory and
usually dips into swap.  I can consistently resolve the problem by
closing, say, Mozilla Firebird to free up some memory.  I then relaunch
Firebird and am fine for while.  Then, after a time, the problem comes
back and I can either continually press the play button until it decides
to play, or I can close some application.  I have no idea whether this
is actually some interesting issue relating to swap/memory and the sound
device or just a co-incidence.  In any case it seems to work.  This is
an awful workaround, but I don't know what else to do at the moment.

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


pgp0.pgp
Description: PGP signature


Unable to read msword documents using kword

2004-01-13 Thread Ada Cheng
Good morning,
I used to be able to read msword documents with kword when I was
using KDE2.x. Since upgrading to KDE3.1.4 along with koffice1.2.1, kword
simply crashes when attempting to open a word document.  Any one knows how
to fix this problem?

Many thanks.
Ada

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


Upgrade Woes

2004-01-13 Thread Ben Craig
Hi All,


I've been running 4.7R on a HP Netserver E60 for some
time now, however in trying to upgrade this to 4.9R
I've run into a problem that is unfortunately beyond
my troubleshooting abilities.


Using the ISO disc, I've booted up 4.9 and gone
through the upgrade process successfully.  However,
once the machine reboots after the CD has been
removed, the boot process hangs on the following
stage:


agp0 Intel 82443BX (440 BX) host to PCI Bridge 
mem0-0xfff at device 0.0 on pci0


Can anyone give me any guideance on what might be
causing this?


Regards,


Ben Craig.


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrade Woes

2004-01-13 Thread Ben Craig
Hi All,

I've been running 4.7R on a HP Netserver E60 for some
time now, however in trying to upgrade this to 4.9R
I've run into a problem that is unfortunately beyond
my troubleshooting abilities.

Using the ISO disc, I've booted up 4.9 and gone
through the upgrade process successfully.  However,
once the machine reboots after the CD has been
removed, the boot process hangs on the following
stage:

agp0 Intel 82443BX (440 BX) host to PCI Bridge 
mem0-0xfff at device 0.0 on pci0

Can anyone give me any guideance on what might be
causing this?

Regards,


Ben Craig.


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ngctl and rc.conf

2004-01-13 Thread Tillman Hodgson
On Mon, Jan 12, 2004 at 09:45:20PM -0500, Lowell Gilbert wrote:
 Tillman Hodgson [EMAIL PROTECTED] writes:
 
  Howdy folks,
  
  What's the best way to build ng_one2many interfaces into rc.conf such
  that they're brought up (live) at the normal time so that:
  
  1) configuration remains centralized in rc.conf
  2) other pieces that depend on a network being present don't fail in
 enlightening ways?
  
  I want to avoid the make a shell script in /usr/local/etc/rc.d
  approach.
 
 Nobody else has written this shell script for you, so you can't just
 configure it in rc.conf and turn it on.  If you want, you can add it
 to rc.network and submit the patches in a PR, so future upgrades will
 include it.  

I'll play around with it and see what I can come up with -- at first
blush it doesn't look difficult, just time-consuming to ensure that it
fails gracefully under misconfiguration.

-T


-- 
Seeing yourself as you want to be is the key to personal growth.
- Unknown 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How safe is 5.2 to use?

2004-01-13 Thread Simon Gray
 I understand my question officially can only be answered to still use 4.9.
 I just wonder if anyone has used the 5.x for similar services as I plan to
 do, successfully or not.

 Dave

I run a similar set-up on a 4.8 box (with latest patchlevel) that's stable.
I also run another box running 5.0 again with the latest patchlevel - both
are stable. (Both Intel board/cpu's)

Unless you are after anything particular within the 5.x series, I'd stick
with what's stable 4.x branch (not saying that 5.x isn't stable, it's just
that not all the bugs may have been found/fixed yet). New features are nice,
but not always 100% stable - having said that, personally I'd not had any
problems with either. Admittedly haven't tried 5.1 nor 5.2 but still.

Might be worth having a closer look at the difference in the two releases
and seeing if 5.x will provide any extra features that you'll use.

HTH

Simon

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


learning source

2004-01-13 Thread Hiren
greetings

i have studied C++ and am currently going through C.
i have been programming small programs in a windows environment.
i want to start understanding source and help program for bsd and open
source.
where can i start, im totally new and i want to know how things work.
i need advice

thanks


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


Re: Upgrade Woes

2004-01-13 Thread Lowell Gilbert
Ben Craig [EMAIL PROTECTED] writes:

 I've been running 4.7R on a HP Netserver E60 for some
 time now, however in trying to upgrade this to 4.9R
 I've run into a problem that is unfortunately beyond
 my troubleshooting abilities.
 
 Using the ISO disc, I've booted up 4.9 and gone
 through the upgrade process successfully.  However,
 once the machine reboots after the CD has been
 removed, the boot process hangs on the following
 stage:
 
 agp0 Intel 82443BX (440 BX) host to PCI Bridge 
 mem0-0xfff at device 0.0 on pci0
 
 Can anyone give me any guideance on what might be
 causing this?

I've had problems on a machine with a buggy AGP implementation.
Try booting your old kernel, installing the kernel source, and
building a kernel without the AGP module.

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


freebsd 5.1 and devfs

2004-01-13 Thread Frederick Thomas
shalom,
  I read the manpage on devfs and can't make heads or tails of it. I've a cs4236
onboard pnp sound card that took 2 months to finally get running and I'm gonna wait 
that
long this time. My box is a dell optiplex gx1 and using old school rules catted 
dmesg.boot and found pcm0my card but when I tried to run sh MAKEDEV snd0
I find that makedev is now deprecated. please assist in my using devfs to make device
nodes please reply to address above. Thanks
 
 
   
 nikita


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 5.1 and devfs

2004-01-13 Thread Daan Vreeken [PA4DAN]
On Tuesday 13 January 2004 18:51, Frederick Thomas wrote:
 shalom,
   I read the manpage on devfs and can't make heads or tails of it. I've
 a cs4236 onboard pnp sound card that took 2 months to finally get running
 and I'm gonna wait that long this time. My box is a dell optiplex gx1 and
 using old school rules catted dmesg.boot and found pcm0my card but when I
 tried to run sh MAKEDEV snd0 I find that makedev is now deprecated. please
 assist in my using devfs to make device nodes please reply to address
 above. Thanks
If the card is detected as pcm0 and devfs is running, you should have entries  
 
for the device in /dev named dsp*

cat /dev/sndstat should also list the device.

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


RE: New installation: Hanging when trying to dial out

2004-01-13 Thread fbsd_user
Why don't you start at the beginning and tell us about the PC you
installed 4.6 on?

Is this an pre Y2K box?

What operating system was on it before?

Have you ever used the floppy drive before?

Does the floppy ready light flash when you power up the PC and boot?

What command are you using to try to mount the cd drive?
You know the drive  works because you installed from it.

Have you checked the PC's bio's to verify that the com ports are
enabled and the floppy drive is enabled?

Is the modem powered up before you boot FBSD?

Have you used the modem before?

Can you prove it works on another system?

Does this command connect to your com port with the external modem?
Tip comx  where x is the com port number that has modem

If it connects enter  AT   for the hayes attention command. Should
reply with  OK

Use ~ the . keyboard keys to exit tip command.

-Original Message-
From: John Adams [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 10:45 AM
To: Andrew Boothman
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: New installation: Hanging when trying to dial out

On Tuesday, January 13, 2004, at 10:29 AM, Andrew Boothman wrote:

 How are you trying to mount your floppy? mount -t msdos /dev/fd0
 /mnt?

Well, I was just naively trying mount /dev/fd0 /mnt, but now I've
tried
it as you suggest, and again gotten Device not configured. This is
also what fdformat gives me when I try to format the disk. I'm also
unable so far to mount the CD drive.

  Are your serial ports probed correctly during boot? Look at
 dmesg|grep cuaa.

Now, that's interesting. I get results for sio, but nothing for cuaa
or
tty.

All the best,

John A

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


RE: freebsd 5.1 and devfs

2004-01-13 Thread fbsd_user
In 5.x devices are automatically built for you on first use.
That is just one of the changes between 4.x and 5.x.

THAT IS WHY   MAKEDEVDOES NOT WORK FOR YOU.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Frederick
Thomas
Sent: Tuesday, January 13, 2004 12:52 PM
To: [EMAIL PROTECTED]
Subject: freebsd 5.1 and devfs

shalom,
  I read the manpage on devfs and can't make heads or tails of
it. I've a cs4236
onboard pnp sound card that took 2 months to finally get running and
I'm gonna wait that
long this time. My box is a dell optiplex gx1 and using old school
rules catted dmesg.boot and found pcm0my card but when I tried to
run sh MAKEDEV snd0
I find that makedev is now deprecated. please assist in my using
devfs to make device
nodes please reply to address above. Thanks



nikita


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
___
[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: IPv6 and multiple interfaces

2004-01-13 Thread Kevin Stevens
On Tue, 13 Jan 2004, Kirk Strauser wrote:

 I'm using an IPv6 tunnel to Hurricane Electric on my FreeBSD 4.9-STABLE
 firewall.  That firewall has multiple Ethernet interfaces.  Should each of
 those interfaces be assigned a routable IPv6 address?  And what *is*

If you want them to carry IPv6 traffic.  To phrase it differently, you
shouldn't use the same IPv6 address on multiple interfaces, but you don't
have to run IPv6 on all interfaces.

 link-local?  Is there a decent (English language) FAQ that's readable by
 technical users who aren't networking experts?

http://www.ipv6.org/
http://www.v6.wide.ad.jp/

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


Re: Whan can I do if OS does not boot after makeworld

2004-01-13 Thread Kent Stewart
On Tuesday 13 January 2004 07:31 am, Vahric MUHTARYAN wrote:
 Did you ever have any problem about makeworld process ?!
 I afraid of one day will come and I can't boot my FreeBSD

Go back and read the archive on problems updating from 5.1 to 5.2. The statfs 
problem would render your system unbootable if you did an installworld before 
you booted to an updated and installed kernel.

Kent


 Vahric

 -Original Message-
 From: Andrew L. Gould [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 13, 2004 3:31 PM
 To: Vahric MUHTARYAN; 'Ruben de Groot'
 Cc: [EMAIL PROTECTED]
 Subject: Re: Whan can I do if OS does not boot after makeworld

 On Tuesday 13 January 2004 07:02 am, Vahric MUHTARYAN wrote:
  Hi ,
 
  I did not make something now and I don't have a problem with makeworld.

 But

  I red something in FreeBSD from scratch and I saw that some problem can
  occur and after makeworld process OS is not openinig 
 
  Vahric

 This is not going to sound very helpful; but if you're trying to be
 proactive...read the documentation thoroughly and follow the steps
 carefully.  Don't cut corners or make mistakes.

 Unless you can predict the error, it's hard to predict the solution.

 Best regards,

 Andrew Gould

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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


problems creating a bootable image using burncd

2004-01-13 Thread Vulpes Velox
I've been trying to create a a bootable CD using freesbie. I ran into problems
getting that to work. It failed to boot and the same thing happened upon reburn.

I then went to download a the 4.9 install iso to see if it was a possible
problem with the image that was created. The iso passed the check sum, but after
burning it, it would not boot too.

I've managed to verify that it is possible of booting from that drive using a
old win98 install disc I have laying around. The install for that comes up fine.

I've also tried it at different speeds and have gotten the same results.


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


Re: problems creating a bootable image using burncd

2004-01-13 Thread Andrew L. Gould
On Tuesday 13 January 2004 01:07 pm, Vulpes Velox wrote:
 I've been trying to create a a bootable CD using freesbie. I ran into
 problems getting that to work. It failed to boot and the same thing
 happened upon reburn.

 I then went to download a the 4.9 install iso to see if it was a possible
 problem with the image that was created. The iso passed the check sum, but
 after burning it, it would not boot too.

 I've managed to verify that it is possible of booting from that drive using
 a old win98 install disc I have laying around. The install for that comes
 up fine.

 I've also tried it at different speeds and have gotten the same results.


 Any ideas?

Have you mounted the CD and viewed the contents to make sure the CD was good?  
I remember having problems with a box of generic CD's once.

Andrew Gould

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


Re: [OT] Configuration file parsing

2004-01-13 Thread Ph. Schulz
Thank you all for your input, I really appreciate it.

Somebody said that I would be fine (when using GPL-licensed stuff) as 
long as I provide the sources to people who use the application. I guess 
providing the source within the company is not a problem, however I 
thought it would be easier to use BSD-style licensed stuff.

Thanks again,

Phil.

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


fetch/ftp problem

2004-01-13 Thread Ross Lippert
I am having an odd problem with fetch.  I cannot
fetch an ftp:-type address but I can ftp to it and get the 
files just fine.

This is problematic for ports and downloading via sysinstall.

I am running the new 5.2.  I am firewalled though (I did try
both passsive and active ftpmode's).

Any advice on how to further debug?


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


Re: [OT] Configuration file parsing

2004-01-13 Thread Kirk Strauser
At 2004-01-13T19:26:34Z, Ph. Schulz [EMAIL PROTECTED] writes:

 Somebody said that I would be fine (when using GPL-licensed stuff) as long
 as I provide the sources to people who use the application. I guess
 providing the source within the company is not a problem...

No.  Again, no.  An entity does not have to make source available unless it
distributes the product to another entity.  You can build proprietary
software using GPL components as long as you do not distribute *outside your
company*.  If it stays internal, you have no legal or moral obligation to
make your source available.

Yes, using BSD libraries avoids the problem, but the GPL isn't as
restrictive as you're making it sound.
-- 
Kirk Strauser

94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box.


pgp0.pgp
Description: PGP signature


Re: problems creating a bootable image using burncd

2004-01-13 Thread Chris Pressey
On Tue, 13 Jan 2004 13:07:20 -0600
Vulpes Velox [EMAIL PROTECTED] wrote:

 I've been trying to create a a bootable CD using freesbie. I ran into
 problems getting that to work. It failed to boot and the same thing
 happened upon reburn.
 
 I then went to download a the 4.9 install iso to see if it was a
 possible problem with the image that was created. The iso passed the
 check sum, but after burning it, it would not boot too.
 
 I've managed to verify that it is possible of booting from that drive
 using a old win98 install disc I have laying around. The install for
 that comes up fine.
 
 I've also tried it at different speeds and have gotten the same
 results.
 
 
 Any ideas?

What method are you using to burn the CD?  If it's a method that's
worked for you in the past, it sounds like you might have some flaky
CD-R's.

(Also note: there's a problem with the current FreeSBIE scripts for
creating working 4.x FreeSBIEs.  They fail to copy a required file onto
the CD - and when they do, it still won't detect your hard drives
without another minor change.  I've posted patches to the freesbie
mailing list that fix these problems, you might want to apply them
before trying to make another FreeSBIE.)

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


Re: IPv6 and multiple interfaces

2004-01-13 Thread Kirk Strauser
At 2004-01-13T18:30:19Z, Kevin Stevens [EMAIL PROTECTED] writes:

 If you want them to carry IPv6 traffic.  To phrase it differently, you
 shouldn't use the same IPv6 address on multiple interfaces, but you don't
 have to run IPv6 on all interfaces.

Gotcha.  OK, back to being on-topic for FreeBSD: how would I assign v6
addresses to those interfaces?  I'm running rtadvd on that machine and it's
my understanding that sending and accepting advertisements on the same host
is a no-no.  Should I just give them all static assignments in /etc/rc.conf?
And is there any suggested way for inventing the addresses for those
interfaces?

 link-local?  Is there a decent (English language) FAQ that's readable
 by technical users who aren't networking experts?

 http://www.ipv6.org/

That refers to:

 http://www.v6.wide.ad.jp/

...which does not resolve.  :-/
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


diskless setup

2004-01-13 Thread rwong10
Hello,

I am still trying to figure out why I can't boot diskless.  I've followed
the instructions in the handbook and the clone_root script.

While trying to figure out a problem, I think it may be a problem with
creating the mfs partition in memory.  I get:

mount_mfs: /etc: bad file system size

Some insight would be nice...

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


newsyslog.conf in 5.x and bz2

2004-01-13 Thread Radko Keves
hi

can i change compression type from bzip2 to gzip when syslog
rotate files?

i can't find it nowhere.

i know that bzip2 is better, but i need gzip.

thank and bye
-- 
The ancient Greeks' concept of a ``personal daemon'' was similar to 
the modern concept of a ``guardian angel'' --- ``eudaemonia'' is the 
state of being helped or protected by a kindly spirit. As a rule, 
UNIX systems seem to be infested with both daemons and demons. 
[Evi Nemeth]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems creating a bootable image using burncd

2004-01-13 Thread Vulpes Velox
On Tue, 13 Jan 2004 13:16:06 -0600
Andrew L. Gould [EMAIL PROTECTED] wrote:

 On Tuesday 13 January 2004 01:07 pm, Vulpes Velox wrote:
  I've been trying to create a a bootable CD using freesbie. I ran into
  problems getting that to work. It failed to boot and the same thing
  happened upon reburn.
 
  I then went to download a the 4.9 install iso to see if it was a possible
  problem with the image that was created. The iso passed the check sum, but
  after burning it, it would not boot too.
 
  I've managed to verify that it is possible of booting from that drive using
  a old win98 install disc I have laying around. The install for that comes
  up fine.
 
  I've also tried it at different speeds and have gotten the same results.
 
 
  Any ideas?
 
 Have you mounted the CD and viewed the contents to make sure the CD was good? 
 
 I remember having problems with a box of generic CD's once.

Yeah, I can view the contents with out any problem and the brand of CD-RWs I am
using is Memorex.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: problems creating a bootable image using burncd

2004-01-13 Thread Lee Dilkie
 On Tue, 13 Jan 2004 13:07:20 -0600
 Vulpes Velox [EMAIL PROTECTED] wrote:

  I've been trying to create a a bootable CD using freesbie.
 I ran into
  problems getting that to work. It failed to boot and the same thing
  happened upon reburn.
 
  I then went to download a the 4.9 install iso to see if it was a
  possible problem with the image that was created. The iso passed the
  check sum, but after burning it, it would not boot too.
 
  I've managed to verify that it is possible of booting from
 that drive
  using a old win98 install disc I have laying around. The install for
  that comes up fine.
 
  I've also tried it at different speeds and have gotten the same
  results.
 
 
  Any ideas?

 What method are you using to burn the CD?  If it's a method that's
 worked for you in the past, it sounds like you might have some flaky
 CD-R's.


I seem to recall a discussion some months ago regarding a change to the way
boot CDs were made. This had the effect of breaking bootable CDs when using
older BIOSes that only knew about the old way of booting from CD. Pardon
my vagueness. I thought this was a 5.x issue but perhaps it was/is a 4.9
issue as well.

-lee


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


Re: problems creating a bootable image using burncd

2004-01-13 Thread Vulpes Velox
On Tue, 13 Jan 2004 11:49:56 -0800
Chris Pressey [EMAIL PROTECTED] wrote:

 On Tue, 13 Jan 2004 13:07:20 -0600
 Vulpes Velox [EMAIL PROTECTED] wrote:
 
  I've been trying to create a a bootable CD using freesbie. I ran into
  problems getting that to work. It failed to boot and the same thing
  happened upon reburn.
  
  I then went to download a the 4.9 install iso to see if it was a
  possible problem with the image that was created. The iso passed the
  check sum, but after burning it, it would not boot too.
  
  I've managed to verify that it is possible of booting from that drive
  using a old win98 install disc I have laying around. The install for
  that comes up fine.
  
  I've also tried it at different speeds and have gotten the same
  results.
  
  
  Any ideas?
 
 What method are you using to burn the CD?  If it's a method that's
 worked for you in the past, it sounds like you might have some flaky
 CD-R's.

% burncd -v -s 4 -f /dev/acd0c data 4.9-i386-disc1.iso fixate
adding type 0x08 file 4.9-i386-disc1.iso size 655680 KB 327840 blocks
next writeable LBA 0
addr = 0 size = 671416320 blocks = 327840
writing from file 4.9-i386-disc1.iso size 655680 KB
written this track 655680 KB (100%) total 655680 KB
fixating CD, please wait..

The brand I have been using has been Memorex for CD-RW discs

Just tried it with some TDK discs and it works perfectly. So I am guessing there
was something flaky about the Memorex discs I have been messing with.

 (Also note: there's a problem with the current FreeSBIE scripts for
 creating working 4.x FreeSBIEs.  They fail to copy a required file onto
 the CD - and when they do, it still won't detect your hard drives
 without another minor change.  I've posted patches to the freesbie
 mailing list that fix these problems, you might want to apply them
 before trying to make another FreeSBIE.)

Yeah, but if that was the case I should still be able to boot using a burned
copy of 4.9R.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems creating a bootable image using burncd

2004-01-13 Thread Vulpes Velox
On Tue, 13 Jan 2004 13:16:06 -0600
Andrew L. Gould [EMAIL PROTECTED] wrote:

 On Tuesday 13 January 2004 01:07 pm, Vulpes Velox wrote:
  I've been trying to create a a bootable CD using freesbie. I ran into
  problems getting that to work. It failed to boot and the same thing
  happened upon reburn.
 
  I then went to download a the 4.9 install iso to see if it was a possible
  problem with the image that was created. The iso passed the check sum, but
  after burning it, it would not boot too.
 
  I've managed to verify that it is possible of booting from that drive using
  a old win98 install disc I have laying around. The install for that comes
  up fine.
 
  I've also tried it at different speeds and have gotten the same results.
 
 
  Any ideas?
 
 Have you mounted the CD and viewed the contents to make sure the CD was good? 
 
 I remember having problems with a box of generic CD's once.


Really wierd... Just tried it with some TDK CDRs I just remembered I had sitting
around and it worked first try... the Memorex CDRWs and the Durabrand CDRs did
not work what so ever :/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems creating a bootable image using burncd

2004-01-13 Thread kitsune
Well solved my problem... used some TDK discs and those worked fine... I could
not get the Memorex CDRWs or the Durabrand CDRs to make bootable discs what so
ever...

Any one know if there are some CDR/CDRW discs which it is impossible to make
bootable discs out of or is this just some type of weird fluke and I should
quite possibly be worried about the data integrety of any thing stored on discs
of the other two brands.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newsyslog.conf in 5.x and bz2

2004-01-13 Thread Lowell Gilbert
Radko Keves [EMAIL PROTECTED] writes:

 can i change compression type from bzip2 to gzip when syslog
 rotate files?

Yes.

 i can't find it nowhere.

Really?  It's right in the manual for newsyslog(8).
You just use a 'Z' flag instead of 'J'.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newsyslog.conf in 5.x and bz2

2004-01-13 Thread Jason Stewart
On 13/01/04 16:03 -0500, Lowell Gilbert wrote:
 Radko Keves [EMAIL PROTECTED] writes:
 
  can i change compression type from bzip2 to gzip when syslog
  rotate files?
 
 Yes.
 
  i can't find it nowhere.
 
 Really?  It's right in the manual for newsyslog(8).
 You just use a 'Z' flag instead of 'J'.

Just to avoid confusion, it's J for bzip2 and Z for gzip
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache2 and mod_perl2

2004-01-13 Thread Randy Grafton
I have just installed FreeBSD 4.9 and am having problems with Apache2 and
mod_perl2.
I used the ports, which was updated immediately after install, and did a
'make install clean' for both apache2 and mod_perl2, more specifically
apache-2.0.48_2 and mod_perl2-1.99r12.
I have not gotten fancy yet and have only included the following lines in my
httpd.conf for mod_perl2:
LoadModule perl_module libexec/apache2/mod_perl.so
PerlModule Apache2

The problem is that when I do '/usr/local/etc/rc.d/apache2.sh start' the
machine just hangs, for a long time (4-8 minutes), before apache finally
comes up. I checked the logs and there aren't any negative entries. I
recently had to down system to move it, upon reboot it hung for 45 minutes
before I had to kill the 'apache.sh start/apachectl start/httpd -k start'
processes. When I say hung I don't mean the entire system, just the startup
processes of apache2.

I have slightly older versions on a 4.8 box that was installed identically
to what was described here and all is fine.
Any ideas?

Thanks,
-Randy

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


Re: FreeBSD, SSH and Enter Authentication Response

2004-01-13 Thread Rishi Chopra
I've included copies of my /etc/ssh/ssh_config file and /etc/pam.d/ssh - 
I'm running a default minimal installation of FreeBSD 5.2:

etc/ssh/ssh_config:

#   $FreeBSD: src/crypto/openssh/ssh_config,v 1.21 2003/04/23 
17:10:53 des Exp $

# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for various options

# Host *
#   ForwardAgent no
#   ForwardX11 no
#   RhostsAuthentication no
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   BatchMode no
#   CheckHostIP no
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#   EscapeChar ~
#   VersionAddendum FreeBSD-20030423

/etc/pam.d/ssh

#
# $FreeBSD: src/etc/pam.d/sshd,v 1.15 2003/04/30 21:57:54 markm Exp $
#
# PAM configuration for the sshd service
#
# auth
authrequiredpam_nologin.so  no_warn
authsufficient  pam_opie.so no_warn 
no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn 
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn 
try_first_pass
authrequiredpam_unix.so no_warn 
try_first_pass

# account
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account requiredpam_unix.so
# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so
# password
#password   sufficient  pam_krb5.so no_warn 
try_first_pass
passwordrequiredpam_unix.so no_warn 
try_first_pass

Any ideas what I should change?

-Rishi

Ruben de Groot wrote:

On Tue, Jan 13, 2004 at 11:55:50AM +, Matthew Seaman typed:
 

On Mon, Jan 12, 2004 at 01:32:30PM -0800, Rishi Chopra wrote:
   

I have a nitpicky question about logging into a FreeBSD machine and 
SSH.  I'm using a minimal FreeBSD install and SSH Secure Shell client 
v3.2.0 - the crux of the problem is I am unable to smoothly login.
 

Which FreeBSD version?  And are you running the OpenSSH server
supplied with the system or one from ports?
   

Judging by name and version number, I think he's not running OpenSSH
at all, but the other ssh implementation from ssh.org
 

When I login to my machine, I'm prompted to enter an authentication 
response.  A window is displayed with Enter Authentication Response 
in the title bar, and two buttons at the bottom ('OK' and 'Cancel') - 
the text says:

 Enter your authentication response.
 Password:
 

Sounds like you've got the PAM based challenge-response authentication
enabled in your /etc/ssh/sshd_config (which is the default), but
your /etc/pam.conf (FreeBSD 4.x) or /etc/pam.d (FreeBSD 5.x) has a
modified configuration.
Here are a couple of things to try --

Turn off Challenge-response authentication in /etc/ssh/sshd_config 

Change:

   #ChallengeResponseAuthentication yes

to

   ChallengeResponseAuthentication no

and then:

   # kill -HUP `cat /var/run/sshd.pid`

to get it to reread the config.

-- or --

Double check the PAM settings: they should look like this in /etc/pam.conf

   # OpenSSH with PAM support requires similar modules.  The session one is
   # a bit strange, though...
   sshdauthsufficient  pam_skey.so
   sshdauthsufficient  pam_opie.so no_fake_prompts
   #sshd   authrequisite   pam_opieaccess.so
   #sshd   authsufficient  pam_kerberosIV.so   try_first_pass
   #sshd   authsufficient  pam_krb5.so try_first_pass
   sshdauthrequiredpam_unix.so try_first_pass
   sshdaccount requiredpam_unix.so
   sshdpassword required   pam_permit.so
   sshdsession requiredpam_permit.so
The /etc/pam.d case is similar, except you should have a file called
'sshd' in that directory, whose contents are similar, but without the
'sshd' entries in the first column.
	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 

Re: FreeBSD, SSH and Enter Authentication Response

2004-01-13 Thread Ruben de Groot
On Tue, Jan 13, 2004 at 01:30:15PM -0800, Rishi Chopra typed:
 I've included copies of my /etc/ssh/ssh_config file and /etc/pam.d/ssh - 
 I'm running a default minimal installation of FreeBSD 5.2:
 
 etc/ssh/ssh_config:
 
 # Host *
 #   ForwardAgent no
 #   ForwardX11 no
 #   RhostsAuthentication no
 #   RhostsRSAAuthentication no
 #   RSAAuthentication yes
 #   PasswordAuthentication yes
 #   HostbasedAuthentication no

As Matthew suggested, you can put the line

ChallengeResponseAuthentication no

in here. Then restart sshd

good luck,
Ruben

 #   BatchMode no
 #   CheckHostIP no
 #   StrictHostKeyChecking ask
 #   IdentityFile ~/.ssh/identity
 #   IdentityFile ~/.ssh/id_rsa
 #   IdentityFile ~/.ssh/id_dsa
 #   Port 22
 #   Protocol 2,1
 #   Cipher 3des
 #   Ciphers 
 aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
 #   EscapeChar ~
 #   VersionAddendum FreeBSD-20030423
 
 
 /etc/pam.d/ssh
 
 #
 # $FreeBSD: src/etc/pam.d/sshd,v 1.15 2003/04/30 21:57:54 markm Exp $
 #
 # PAM configuration for the sshd service
 #
 
 # auth
 authrequiredpam_nologin.so  no_warn
 authsufficient  pam_opie.so no_warn 
 no_fake_prompts
 authrequisite   pam_opieaccess.so   no_warn allow_local
 #auth   sufficient  pam_krb5.so no_warn 
 try_first_pass
 #auth   sufficient  pam_ssh.so  no_warn 
 try_first_pass
 authrequiredpam_unix.so no_warn 
 try_first_pass
 
 # account
 #accountrequiredpam_krb5.so
 account requiredpam_login_access.so
 account requiredpam_unix.so
 
 # session
 #sessionoptionalpam_ssh.so
 session requiredpam_permit.so
 
 # password
 #password   sufficient  pam_krb5.so no_warn 
 try_first_pass
 passwordrequiredpam_unix.so no_warn 
 try_first_pass
 
 
 Any ideas what I should change?
 
 -Rishi
 
 Ruben de Groot wrote:
 
 On Tue, Jan 13, 2004 at 11:55:50AM +, Matthew Seaman typed:
  
 
 On Mon, Jan 12, 2004 at 01:32:30PM -0800, Rishi Chopra wrote:

 
 I have a nitpicky question about logging into a FreeBSD machine and 
 SSH.  I'm using a minimal FreeBSD install and SSH Secure Shell client 
 v3.2.0 - the crux of the problem is I am unable to smoothly login.
  
 
 Which FreeBSD version?  And are you running the OpenSSH server
 supplied with the system or one from ports?

 
 
 Judging by name and version number, I think he's not running OpenSSH
 at all, but the other ssh implementation from ssh.org
 
  
 
 When I login to my machine, I'm prompted to enter an authentication 
 response.  A window is displayed with Enter Authentication Response 
 in the title bar, and two buttons at the bottom ('OK' and 'Cancel') - 
 the text says:
 
  Enter your authentication response.
  Password:
  
 
 Sounds like you've got the PAM based challenge-response authentication
 enabled in your /etc/ssh/sshd_config (which is the default), but
 your /etc/pam.conf (FreeBSD 4.x) or /etc/pam.d (FreeBSD 5.x) has a
 modified configuration.
 
 Here are a couple of things to try --
 
 Turn off Challenge-response authentication in /etc/ssh/sshd_config 
 
 Change:
 
#ChallengeResponseAuthentication yes
 
 to
 
ChallengeResponseAuthentication no
 
 and then:
 
# kill -HUP `cat /var/run/sshd.pid`
 
 to get it to reread the config.
 
 -- or --
 
 Double check the PAM settings: they should look like this in /etc/pam.conf
 
# OpenSSH with PAM support requires similar modules.  The session one 
is
# a bit strange, though...
sshdauthsufficient  pam_skey.so
sshdauthsufficient  pam_opie.so 
no_fake_prompts
#sshd   authrequisite   pam_opieaccess.so
#sshd   authsufficient  pam_kerberosIV.so   
try_first_pass
#sshd   authsufficient  pam_krb5.so 
try_first_pass
sshdauthrequiredpam_unix.so 
try_first_pass
sshdaccount requiredpam_unix.so
sshdpassword required   pam_permit.so
sshdsession requiredpam_permit.so
 
 The /etc/pam.d case is similar, except you should have a file called
 'sshd' in that directory, whose contents are similar, but without the
 'sshd' entries in the first column.
 
 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

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

Re: FreeBSD, SSH and Enter Authentication Response

2004-01-13 Thread Matthew Seaman
On Tue, Jan 13, 2004 at 01:30:15PM -0800, Rishi Chopra wrote:
 I've included copies of my /etc/ssh/ssh_config file and /etc/pam.d/ssh - 
 I'm running a default minimal installation of FreeBSD 5.2:
 
 etc/ssh/ssh_config:

Um... /etc/ssh/sshd_config is more to the point -- ssh_config is for
the client side, ssh*d*_config is for the server side.

However if you've just installed the system then chances are the
sshd_config is unmodified from the default settings.

Try turning off the challenge-response stuff as I suggested in my
earlier e-mail. ie. make it so that sshd_config contains:

ChallengeResponseAuthentication no

 /etc/pam.d/ssh

That looks fine.

Hmmm... This does look like a peculiar interaction of your particular
SSH client software and the OpenSSH server code on FreeBSD.

Normally I'd suggest running the client side connection with debugging
turned up high, eg:

% ssh -v -v -v host.example.com

but I don't know what the equivalent of that is for the client
software you're using.

A very good diagnostic test though is to run the server side with the
debugging turned up.  A good trick is to run it on an alternative port
so you can run it in parallel with your regular sshd. eg:

# sshd -d -d -d -p 24

You can then connect to the alternate port by:

% ssh host.example.com:24

This will produce quite a lot of output, and exit after the ssh
session.  By comparing this output to the equivalent output from a
machine where you don't have the problem you should be able to tell
what the FreeBSD box is doing differently, and maybe work out how to
fix it.  Be aware that the full debug output from sshd should not be
published as it can contain privileged information.

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: How safe is 5.2 to use?

2004-01-13 Thread Lowell Gilbert
David Meier [EMAIL PROTECTED] writes:

 I am relatively new to the world of FreeBSD. But first, congrats to the
 new release! I am somewhat insecure on how trustfully I can use the new
 release for my intended use (and I hope my questions haven't been posted a
 zillion times before). Therefore I hope the FreeBSD nuts can advise me
 whether to go for 4.9 or 5.2.

Yes.  Um, wait, maybe I'll have more-useful advice after more details.

 The setup:
 hardware: DELL PowerEdge 1750 (Dual XEON, 2GB RAM, RAID 1).
 web server: Apache 2.0, MySQL 4.0, PHP 4.3.4, Perl 5.8
 mail server: Postfix, Cyrus IMAPd, Cyrus SASL, Amavis-new, SpamAssassin,
 ClamAV

Okay, it's pretty new and powerful hardware, and the software is all
fairly widely used.  Should be no big deal.

 The servers will be used for virtual hosting as a small ISP evironment and
 housed about 30min from where I work (in case I have to reset them...).

That's convenient.

 I don't know how and if the instability risks may affect such a setup of
 services on the hardware described. Unfortunately, the advisories are kept
 in pretty general language, however, I know it is hard to predict how it
 will be running on a particular system. I just don't know FreeBSD well
 enough to have a 'feel' about it (although I don't rely too much on
 'feelings' in the world of computers). Is upgrading to 5.2 comparable to,
 say, I upgrade from RedHat 9 to RedHat's newest release?
 
 What I like about the 5.x releases is the possibility of taking file
 system snapshots, for example to back up the mailboxes.

Okay, so you actually would like features that are specific to 5.x.
That's a good enough reason to try it; from a user point of view, 5.2
seems to be roughly comparable to 4.9 in dependability.  If you can
install and configure the system, 5.2 will probably work well for
you.  This implies that you can go through a fairly thorough system
test on your actual hardware before you install the system(s) in their
permanent location (or at least before you bring them into production
use).  If you have any trouble that worries you at all, drop back to
4.9 and install that.

How's that?

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


compile problems

2004-01-13 Thread Shawn Ramsey
I am having trouble compiling perl (as well as others, such as GD). Here is th error 
message :

 Making List::Util (dynamic)

   Making MIME::Base64 (dynamic)
cc -c-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.2/BSDPAN -DHAS_FPSETMASK -DHAS
_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O -pipe-DVERSION
=\2.21\  -DXS_VERSION=\2.21\ -DPIC -fPIC -I../../..   Base64.c
Base64.xs: In function `XS_MIME__Base64_decode_base64':
Base64.xs:219: `dowarn' undeclared (first use in this function)
Base64.xs:219: (Each undeclared identifier is reported only once
Base64.xs:219: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/lang/perl5.8/work/perl-5.8.2/ext/MIME/Base64.
*** Error code 1

Stop in /usr/ports/lang/perl5.8/work/perl-5.8.2.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.


This is on a 4.7-STABLE system from 2002...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: binary execute restrictions

2004-01-13 Thread Charles Swiger
On Jan 12, 2004, at 9:52 PM, Jefferson San Juan wrote:
How do I restrict normal users from executing their own compiled 
executable
binary files?
Give them a restricted shell which limits the commands they can run 
to ones you specify.  See man zshall for one example, although other 
restricted shells exist which might come closer to what you want than 
ZSH particularly:

RESTRICTED SHELL
   When the basename of the command used to invoke  zsh  starts  
with  the
   letter  `r'  or the `-r' command line option is supplied at 
invocation,
   the shell becomes  restricted.   Emulation  mode  is  determined 
 after
   stripping  the  letter `r' from the invocation name.  The 
following are
   disabled in restricted mode:

   o  changing directories with the cd builtin

   o  changing or unsetting the PATH, path, MODULE_PATH,  
module_path,
  SHELL,  HISTFILE,  HISTSIZE,  GID,  EGID,  UID,  EUID, 
USERNAME,
  LD_LIBRARY_PATH,LD_AOUT_LIBRARY_PATH, LD_PRELOAD  
   and
  LD_AOUT_PRELOAD parameters

   o  specifying command names containing /

   o  specifying command pathnames using hash

   o  redirecting output to files

   o  using the exec builtin command to replace the shell with 
another
  command

   o  using jobs -Z to overwrite the shell process' argument 
and envi-
  ronment space

   o  using  the ARGV0 parameter to override argv[0] for 
external com-
  mands

   o  turning off restricted mode with set +r or unsetopt 
RESTRICTED

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


recompile kernel problem

2004-01-13 Thread Spades
Hi,

I installed FreeBSD 4.9-PREREL and recompiled the kernel and got this
problem
during makeworld.

Any idea?

vnode_if.h:876: warning: inlining failed in call to `VOP_UNLOCK'
/usr/src/sys/modules/union/../../miscfs/union/union_vnops.c:598: warning:
called from here
/usr/src/sys/modules/union/../../miscfs/union/union_vnops.c: In function
`union_inactive':
/usr/src/sys/modules/union/../../miscfs/union/union_vnops.c:1705: warning:
unused variable `vpp'
/usr/src/sys/modules/union/../../miscfs/union/union_vnops.c: In function
`union_unlock':
/usr/src/sys/modules/union/../../miscfs/union/union_vnops.c:1803: warning:
unused variable `un'
*** Error code 1

Stop in /usr/src/sys/modules/union.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/compile/CONF.

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


  1   2   >