Can I block root login via xdm (console remote) ?

2004-04-07 Thread Rob


Hi,

Despite all security rules blocking root login at all remote terminals,
it is still possible to try login as root via xdm (either at console or
even via remote X login connection).
Is there no switch I can turn on, to block any attempts to login as root
via local/remote xdm login?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix - Sasl - mysql

2004-04-07 Thread Remko Lodder
Brent Wiese wrote:
I (tried) following the instructions at:
http://high5.net/howto/
I have postfix virtual users working in MySQL. I have courier imap/pop3
working w/ virtual users. I wanted to add SMTP auth.
I added the cyrus-sasl2 port (also chose support for it in postfix port)
WITH_MYSQL.
No go.

I added the following lines to /usr/local/lib/sasl2/smtpd.conf (found this
in another faq/tutorial, so it may be incorrect)
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql 
  sql_engine: mysql
  mech_list: login plain crammd6 digestmd5
sql_user: postfix-user
sql_passwd: thepassword
sql_database: postfix
sql_statement: SELECT password FROM mailbox WHERE username = '%u'
sql_verbose: yes
That works for me..
--
Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Freebsd as a web server

2004-04-07 Thread Frank Bonnet
Remko Lodder a écrit :
[EMAIL PROTECTED] wrote:

Hi,

I am using Red Hat Linux 9.0 as a web server running apache. I am just
starting using FreeBSD and I would like to use it instead of Read Hat 
9.0.
Can you please inform me on how to get a web server  ftp server running
using FreeBSD.

Thanks,
Mark
For the FTP server I would recommand pure-ftpd , I don't know
if it is available from the ports but it compile well with FreeBSD
and runs like a charm.
Lot of nice features and secure.
See at www.pureftpd.org

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


howto

2004-04-07 Thread Jerry Hatok
Hello,

   I am trying to copy files from a cd I have into my usr directory.  The cd has one 
directory with a lot of subdirectories and files.  Is there a command that I can copy 
everything at once? If so what is it?  If not what would you suggest being the fastest 
way to copy everything?

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


Re: howto

2004-04-07 Thread Konrad Heuer

On Wed, 7 Apr 2004, Jerry Hatok wrote:

 Hello,

I am trying to copy files from a cd I have into my usr directory.
 The cd has one directory with a lot of subdirectories and files.  Is
 there a command that I can copy everything at once? If so what is it?
 If not what would you suggest being the fastest way to copy everything?

cd /to/target/directory
tar cCf /cdrom - . | tar xvpf -

Regards
Konrad Heuer

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


Re: howto

2004-04-07 Thread Matthew Seaman
On Wed, Apr 07, 2004 at 04:06:18AM -0400, Jerry Hatok wrote:

I am trying to copy files from a cd I have into my usr directory.  The cd has one 
 directory with a lot of subdirectories and files.  Is there a command that I can 
 copy everything at once? If so what is it?  If not what would you suggest being the 
 fastest way to copy everything?

There's many, many ways of doing this sort of thing under Unix.
Assuming that your CD Rom is mounted under /cdrom and you want to copy
everything onto /home/jerry/cdimage then:

% cd /cdrom
% mkdir /home/jerry/cdimage
% tar -cvf - . | ( cd /home/jerry/cdimage ; tar -xvpf - )

However there are any number of commands you could substitute for that
3rd line:

% find . -depth -print | cpio -pdmu /home/jerry/cdimage

or, if you're installed the net/rsync port:

% rsync -avx --delete /cdrom/ /home/jerry/cdimage/

That last one is particularly good if you've already got a partial
copy in the destination directory, as it will avoid copying stuff it
doesn't need to, and it will remove stuff under the destination not
present in the source.

None of these will be particularly faster than any of the others if
you're copying from scratch -- the limiting factor should be the IO
bandwidth of your hardware.

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: unintelligible questions from pkgdb -F [ part of 5.2 portupgrade hairball ]

2004-04-07 Thread Jay Moore
On Tuesday 06 April 2004 04:39 am, Matthew Seaman wrote:

 What this means is that the eel2-2.4.1 port claims to have a
 dependency on the gtk-2.2.4_1 port, but no such port is installed --
 it's listed in the file:

 /var/db/pkg/eel2-2.4.1/+CONTENTS

 pkgdb(1) attempts to find an alternative port that will fulfill the
 dependency, which it can edit into the +CONTENTS file.  Unfortunately,
 pkgdb is not any sort of AI program, so it prompts you with the
 closest matching name out of all the ports you have installed.  The
 percentage figure it gives is a measure of how closely the port name
 matches the desired name.  Usually this works well, because it picks
 up a slightly different version of the same port.

Amazing! That makes sense... why, oh why isn't it in the man page for pkgdb?

The rest of your response is most helpful also. I think rather than adding a 
bunch of clutter here I'll follow up on each of them separately.

Thanks,
Jay

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


Problem with SU utility!!!

2004-04-07 Thread oXid
Hello,

I did to all my / chmod 777... i just wanted to test somthing, but it
was a bad idea :(
Now, i can't login under SU. The account is in wheel
group...everything is fine, but when i enter root password it says,
that it is incorrect. I know my pass for 100%.
Is there any way, that my 777 mode did somthing?
Maybe some files shouldn't be 777?
Or is there any way to reinstall SU utility?

Thanks.

  

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

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


Re: FTP download

2004-04-07 Thread Remko Lodder
Matej Hloznik wrote:
Hi,
I'm afraid I was unable to download 5.2 from your primary site and 
neither slovak, nor czech mirror. That's why I hope the files are 
corrupted on the central server and those mirrors have the same problem 
due to the fact they got those corupted files from you.

I tried console ftp, gftp, wget and mozilla but none was able to 
download the whole file (except disc 2)

Where does it stop? Do you use Passive or Active transfers?

Did you try any other mirrors? Isn't it your connection?
(I downloaded my copy's again 2 days ago from a dutch server and
that worked out just fine).
Cheers,

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Problem with SU utility!!!

2004-04-07 Thread oXid
Hello Arek,

Wednesday, April 7, 2004, 2:42:26 PM, you wrote:

AC On Wed, 7 Apr 2004, oXid wrote:

 Hello,
 
 I did to all my / chmod 777... i just wanted to test somthing, but it
 was a bad idea :(
 Now, i can't login under SU. The account is in wheel
 group...everything is fine, but when i enter root password it says,
 that it is incorrect. I know my pass for 100%.
 Is there any way, that my 777 mode did somthing?
 Maybe some files shouldn't be 777?
 Or is there any way to reinstall SU utility?
 

AC First try normal login as root from console
AC Next check log files - maybe some info you find

AC Before this changes (chmod ...) you can login as root via su on this user?

AC Arek

Yes, before my stubid chmod everything was just fine.
I looked at auth.log in /var/log , the only thing he writes, is
standatr record, like su for user on tty... faild..
The same stig as if password that i'am entering is wrong. No erors and
etc...Juts wrong pass :((
Maybe there are some better logs for that?

I can enter as root from console. But i can't enter as root, from ssh.
I have to enter as some user from whell then SU and etc...



-- 
Best regards,
 oXidmailto:[EMAIL PROTECTED]

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


FTP download

2004-04-07 Thread Matej Hloznik
Hi,
I'm afraid I was unable to download 5.2 from your primary site and 
neither slovak, nor czech mirror. That's why I hope the files are 
corrupted on the central server and those mirrors have the same problem 
due to the fact they got those corupted files from you.

I tried console ftp, gftp, wget and mozilla but none was able to 
download the whole file (except disc 2)

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


Re: Problem with SU utility!!!

2004-04-07 Thread Peter Risdon
oXid wrote:

Hello Arek,

Wednesday, April 7, 2004, 2:42:26 PM, you wrote:

AC On Wed, 7 Apr 2004, oXid wrote:

 

Hello,

I did to all my / chmod 777... i just wanted to test somthing, but it
was a bad idea :(
Now, i can't login under SU. The account is in wheel
group...everything is fine, but when i enter root password it says,
that it is incorrect.
...

AC Before this changes (chmod ...) you can login as root via su on this user?

...

I can enter as root from console. But i can't enter as root, from ssh.
I have to enter as some user from whell then SU and etc...
 

Read /etc/ssh/sshd_config and find the line:

#PermitRootLogin no

Uncomment it and change no to yes if you really do want to permit direct 
root logins. It's generally thought to be a bad idea, though. Better to 
log in as a user and su/sudo when you need to.

PWR.

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


private subsubdomains

2004-04-07 Thread Sebastian Kutsch
Hi,

I want to setup subsubdomains to reach individuell PC's in my LAN from
the Internet without portmapping.
I habe got a ADSL line using ppoe to conect to my ISP getting a public
IP on the tun0 interface. Using the no-ip service I have got a subdomain
of the form my.domain.com. ppoe and the no-ip daemon are running on
a saperate machin with FreeBSD 4.7 functioning as the network
gateway/router wich is conected with dc0 to the ADSL-modem and with rl0
(192.168.33.1) to the LAN. What I want is to do is reach an individual
PC from the Internet by using a subsubdomain of the form
pc1.my.domain.com.
I have configured bind 8 running on my gateway so that I can reach the
PC's in the LAN from within the LAN by using i.e. pc1.my.domain.com.
But trying to reach a PC from the Internet conects me to the gateway.
By reading the Handbook and man-pages I have not got a clue how to
resolve this problem.

thx

Sebastian

--

If you share pain
there is less of it.
If you share joy
there is more of it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Problem with SU utility!!!

2004-04-07 Thread oXid
Hello Beheer,

Wednesday, April 7, 2004, 1:58:46 PM, you wrote:

  I can enter as root from console. But i can't enter as root, from ssh.
  I have to enter as some user from whell then SU and etc...

B Don't login as root over a remote conection (ssh). It's disabled by
B default. The proper way is to login as a user who is in the wheel group
B and then su to root. It's also better to do this even at the local console.

B By default, no remote terminals are marked secure and thus are
B denied root login access.  Why?  Because they're not secure!

B To disable this security feature, go to /etc/ttys and mark the
B appropriate terminals 'secure.' But I would not recommend it.


B Richard.

B   __
B  / __ \ _/ /_/  _   ___
B / /_/ / __ `/ __  / _ \/ ___/ __ \/ __ `__ \
B/ _, _/ /_/ / /_/ /  __/ /__/ /_/ / / / / / /
B /_/ |_|\__,_/\__,_/\___/\___/\/_/ /_/ /_/

B www.radecom.nl




Thanks. But i don't have another choise.
Becose my SU utility doesn't work :(
I wrote that in my first mail.
Maybe anyone coud help me with fixing my SU?
Is itb possible to reinstall su, but only SU, not all system?
Or could someone tell me what files are working with su...maybe after
my chmod 777 / , access to some files gone wrong and now, SU utility
doesn't work properly... ??


-- 
Best regards,
 oXidmailto:[EMAIL PROTECTED]

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


Re: private subsubdomains

2004-04-07 Thread Remko Lodder
Sebastian Kutsch wrote:
Hi,

I want to setup subsubdomains to reach individuell PC's in my LAN from
the Internet without portmapping.
Unless you have more external ipadresses from your ISP , i don't see how 
you can achieve this. Since one Ipadress is in use for your 
Firewall/Router/Natbox (how one calles it :)), it is pointing to that 
host. No other host can be reached internally on the same ip.

Example (not computer related) Your postal code. Your own postalcode is 
unique. If you get mail at that adres, it is always delivered at the 
main postbox, even if you have 20 seperated boxes with names on it. The 
mailman just dumps them in your main postbox (Your firewall).
You can have a machine behind it who spreads the mail after the main 
postbox so that it end's up in your own mailbox, (Portmapping...)

Hope this helps,

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with SU utility!!!

2004-04-07 Thread Remko Lodder

Thanks. But i don't have another choise.
Becose my SU utility doesn't work :(
I wrote that in my first mail.
Maybe anyone coud help me with fixing my SU?
Is itb possible to reinstall su, but only SU, not all system?
try /usr/src/usr.bin/su if you installed the source as well
make  make install in that directory. It gives you new su files.
That does what you ask for, but i am not sure whether it solves your 
problem.

Let us know if that worked.

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with SU utility!!!

2004-04-07 Thread Beheer
 I can enter as root from console. But i can't enter as root, from ssh.
 I have to enter as some user from whell then SU and etc...
Don't login as root over a remote conection (ssh). It's disabled by 
default. The proper way is to login as a user who is in the wheel group 
and then su to root. It's also better to do this even at the local console.

By default, no remote terminals are marked secure and thus are
denied root login access.  Why?  Because they're not secure!
To disable this security feature, go to /etc/ttys and mark the
appropriate terminals 'secure.' But I would not recommend it.
Richard.

 __
/ __ \ _/ /_/  _   ___
   / /_/ / __ `/ __  / _ \/ ___/ __ \/ __ `__ \
  / _, _/ /_/ / /_/ /  __/ /__/ /_/ / / / / / /
/_/ |_|\__,_/\__,_/\___/\___/\/_/ /_/ /_/
www.radecom.nl



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


internet via USB: how to use with FreeBSD?

2004-04-07 Thread Rob


Hello,

My parents have an internet provider, that uses the TV-cable and
connects through the USB port. The provider only has M$-Window$
software provided, and this works now with a single computer.
I want to replace this M$-Window$ computer by a FreeBSD router,
to start a home network.
I am at a loss what to do with the USB internet connection?

I know how to get a router set up with RJ-45 cables and two
ethernet cards. But can FreeBSD handle a USB internet connection?
Hints how to deal with this, are highly appreciated.

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


pseudo-device vn

2004-04-07 Thread Mipam
Hi,

I couldnt find stuff whether the pseudo device vn is by default in the
generic kernel. I didnt find it in GENERIC, but maybe it's otherwise
involved? I guess i need this device to mount a tmpfs like this in /etc

/dev/amrd0s1b /var/amavis   mfs   rw,-s=65536   0   0

where s1b is the swap device.
Should i just put
pseudo-device   vn
in the kernel config file to make this work?
Bye,

Mipam.

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


Re: private subsubdomains

2004-04-07 Thread Jan Grant
On Wed, 7 Apr 2004, Sebastian Kutsch wrote:

 I want to setup subsubdomains to reach individuell PC's in my LAN from
 the Internet without portmapping.
 I habe got a ADSL line using ppoe to conect to my ISP getting a public
 IP on the tun0 interface. Using the no-ip service I have got a subdomain
 of the form my.domain.com. ppoe and the no-ip daemon are running on
 a saperate machin with FreeBSD 4.7 functioning as the network
 gateway/router wich is conected with dc0 to the ADSL-modem and with rl0
 (192.168.33.1) to the LAN. What I want is to do is reach an individual
 PC from the Internet by using a subsubdomain of the form
 pc1.my.domain.com.
 I have configured bind 8 running on my gateway so that I can reach the
 PC's in the LAN from within the LAN by using i.e. pc1.my.domain.com.
 But trying to reach a PC from the Internet conects me to the gateway.
 By reading the Handbook and man-pages I have not got a clue how to
 resolve this problem.

In general, you're out of luck. Pretty much every service uses IP
addressing only; thus, unless you have sufficient routable IP addresses
(ie, your ISP is providing you with a subnet) then you simply can't do
this.

The major exception is HTTP (and the various things that layer on top of
it) which carries the target hostname as part of the protocol.
Unfortunately, HTTPS leaves you back at square one since it uses SSL
directly rather than via some form of STARTTLS negotiation that might be
able to send the desired hostname.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Bolstered by my success with vi, I proceeded to learn C with 'learn c'.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with SU utility!!!

2004-04-07 Thread Irwan Hadi
On Wed, Apr 07, 2004 at 02:07:42PM +0400, oXid wrote:
 Becose my SU utility doesn't work :(
 I wrote that in my first mail.
 Maybe anyone coud help me with fixing my SU?
 Is itb possible to reinstall su, but only SU, not all system?
 Or could someone tell me what files are working with su...maybe after
 my chmod 777 / , access to some files gone wrong and now, SU utility
 doesn't work properly... ??

Watch
-bash-2.05b$ ls -ls /usr/bin/su
14 -r-sr-xr-x  1 root  wheel  12460 Mar 18 02:03 /usr/bin/su
-bash-2.05b$

go change the permission flag on your su accordingly.

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


Re: My details

2004-04-07 Thread Auto-reply from [EMAIL PROTECTED]

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


Re: bge0 Watchdog timeout

2004-04-07 Thread Frank Bonnet
Nelis Lamprecht a écrit :
On Mon, 2004-04-05 at 13:52, Frank Bonnet wrote:

Hi

I've recently installed a 5.2.1 on a HP box that use a Broadcom BCM570x 
gigabit ethernet controller chips

When booting up the machine I have the following error message
to the console
bge0 Watchdog timeout


I know the BCM5704 had a problem with it's mbuf space,
see http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2003-08/0096.html
but this has since been fixed. I'm curious as to which version you have ?
guardian# grep bge /var/run/dmesg.boot
bge0: Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002 mem 0xf5fe-0xf5fe 
irq 28 at device 4.0 on pci0
bge0: Ethernet address: 00:0b:cd:cc:79:d5
miibus0: MII bus on bge0
bge1: Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1100 mem 0xf7ff-0xf7ff 
irq 22 at device 1.0 on pci5
bge1: Ethernet address: 00:08:02:91:3a:fd
miibus1: MII bus on bge1
Mine are all working fine on 5.2.1

Cheers,
Sorry being so log to respond here are the parameters of the Chip

bge0: Broadcom BCM5782 Gigabit Ethernet, ASIC rev. 0x1002
mem 0xfc30-0xfc30 irq 5 at device 2.0 on pci5
I tried to apply the patch but it doesn't solve my problem.

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


Re: your mail

2004-04-07 Thread Kris Kennaway
On Tue, Apr 06, 2004 at 05:44:08PM -0700, Joshua Lokken wrote:
 
 -Original Message-
 From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, April 06, 2004 5:35 PM
 To: Joshua Lokken
 Cc: 'Kris Kennaway'; [EMAIL PROTECTED]
 Subject: Re: your mail
  
 
 I don't understand what you're trying to say.  You're probably
 subscribed but have list delivery disabled due to excessive bounces, or
 something.
 
 Kris
 
 
 
 Ok, what I'm asking is, where/how do I find out if that is the case?

You follow the advice I gave you in my previous mail, log into mailman
and check your subscription and delivery status.

Kris


pgp0.pgp
Description: PGP signature


Re: private subsubdomains

2004-04-07 Thread Remko Lodder
The major exception is HTTP (and the various things that layer on top of
it) which carries the target hostname as part of the protocol.
Unfortunately, HTTPS leaves you back at square one since it uses SSL
directly rather than via some form of STARTTLS negotiation that might be
able to send the desired hostname.
No it's not, HTTP points to a ip adres, the ip adres can have virtual 
hosts, it cannot send the request to pc1.my.domain.com if that matches 
or to pc2.my.domain.com

This can be done if you use a Reversed Proxy or an Gateway which can 
make the decision to send it to host x when the HTTP/1.1 request is 
Host: host x

Cheers



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with SU utility!!!

2004-04-07 Thread R. Zoontjens
oXid wrote:
 Thanks. But i don't have another choise.
 Becose my SU utility doesn't work :(
 I wrote that in my first mail.
OK, the following lines confused me:

I can enter as root from console. But i can't enter as root, from ssh.
I have to enter as some user from whell then SU and etc...
I thought you were able to login remotely as a user and then su to root. 
But could not login as root remotely. This would be normal.

Richard.

 __
/ __ \ _/ /_/  _   ___
   / /_/ / __ `/ __  / _ \/ ___/ __ \/ __ `__ \
  / _, _/ /_/ / /_/ /  __/ /__/ /_/ / / / / / /
/_/ |_|\__,_/\__,_/\___/\___/\/_/ /_/ /_/
www.radecom.nl

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


Re: Running Pervasive SQL Server for Linux ?

2004-04-07 Thread S H A N
hi,
a bit off topic may... be but just to share with you my experience on DBs 
under FreeBSD.

i once setup Linux RedHat 6.2 w/ Oracle 8i (8.1.6) and FreeBSD 4.6 w/ Linux 
Emulation Oracle 8i (8.1.6) w/ ipfw and benchmarked the two and found out that FreeBSD 
outperformed Linux by more than 5% in perl oracle db drivers test results.

thanks 

S H A N

Seeing yourself as you want to be is the key to personal growth.
- Unknown 


On Tue Mar 09, 2004 at 11:22:29PM SGT, B.Bonev wrote:

 Is there any possibility to run Pervasive SQL Server for Linux under FreeBSD's Linux 
 emulation?
 ___
 [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]


Install world fails, computer almost unusable

2004-04-07 Thread Andy Rozman (Aleksander)

Hi !

I succesfully compiled FreeBSD 5.2.1, but problem happened when I wanted to do
install. After I run installworld install started but halted at one point
(with copying ld-so.1 in libexec). I found 
ld-so.1.old file which I removed, and after I run installworld again, mtree
failed with core dump, and Bad Syscall...

Now I can't do anything. Most of system programs now do core dump. 

Is there a way to solve this?

Andy



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


Re[2]: Problem with SU utility!!!

2004-04-07 Thread oXid
Hello Remko,

Wednesday, April 7, 2004, 2:29:40 PM, you wrote:


 
 Thanks. But i don't have another choise.
 Becose my SU utility doesn't work :(
 I wrote that in my first mail.
 Maybe anyone coud help me with fixing my SU?
 Is itb possible to reinstall su, but only SU, not all system?

RL try /usr/src/usr.bin/su if you installed the source as well
RL make  make install in that directory. It gives you new su files.

RL That does what you ask for, but i am not sure whether it solves your
RL problem.

RL Let us know if that worked.

RL Cheers


Thanks alot to everybody !
I reinstalled SU and everything is fine.
Thnaks for fast help. Thanks alot!

-- 
Best regards,
 oXidmailto:[EMAIL PROTECTED]

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


Re: Problem with SU utility!!!

2004-04-07 Thread Kirk Strauser
At 2004-04-07T09:12:25Z, oXid [EMAIL PROTECTED] writes:

 I did to all my / chmod 777... i just wanted to test somthing, but it was
 a bad idea :(

Wait - later posts indicate that /usr/bin/su had bad permissions.  Did you
*recursively* chmod your whole filesystem?
-- 
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


Seting schg flags on /dev/?

2004-04-07 Thread Mark
Hello,

Is it useful/desireable to set schg flags on /dev/? Obviously, setting schg
on /dev/null, for instance, prevents writing to it, which kind of defeats
its purpose. There are probably other such devices that need to be written
to. So, are then any devices in /dev/ that actually can be set schg?

Thanks,

- Mark

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


Re: howto

2004-04-07 Thread Clint Gilders
Matthew Seaman wrote:
On Wed, Apr 07, 2004 at 04:06:18AM -0400, Jerry Hatok wrote:


  I am trying to copy files from a cd I have into my usr directory.  The cd has one directory with a lot of subdirectories and files.  Is there a command that I can copy everything at once? If so what is it?  If not what would you suggest being the fastest way to copy everything?


There's many, many ways of doing this sort of thing under Unix.
Assuming that your CD Rom is mounted under /cdrom and you want to copy
everything onto /home/jerry/cdimage then:
% cd /cdrom
% mkdir /home/jerry/cdimage
% tar -cvf - . | ( cd /home/jerry/cdimage ; tar -xvpf - )
However there are any number of commands you could substitute for that
3rd line:
% find . -depth -print | cpio -pdmu /home/jerry/cdimage

or, if you're installed the net/rsync port:

% rsync -avx --delete /cdrom/ /home/jerry/cdimage/
Are these not a little bit of overkill?  Seems to me (in this case) it 
could be as simple as:

cp -Rp /cdrom/ /home/jerry/

--
Clint Gilders [EMAIL PROTECTED]
Director of Technology Services
OnlineHobbyist.com, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KVM Switches

2004-04-07 Thread Jonathan Arnold
Ron wrote:

Need information on how to get a KVM switch to work with the FreeBSD mouse
driver.
The Monitor and keyboard work fine but I have to hook a mouse directly to
the box for it to work.
This is a problem that has been talked about in the past on this mailing
list. Try searching the archives for some ideas. I remember when I first
installed FreeBSD 4.0, I had problems with my KVM switch and the mouse.
But I'm not sure if they are fixed or not, as I don't use X any more on
my server, so I don't bother with the mouse at all.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with Cyrus-Imapd

2004-04-07 Thread ñÒÏÛÅÎËÏ ó.à.
Hi!

I installed  Cyrus-Imapd-2.2.3 with bdb-4.2.52 on
FreeBSD-5.2.1-p4 and have problem.

1) When I delete mail messages from Inbox or from Trash
it not visible in client program, but this
mail messages store on the cyrus-imapd server.
2) In e-mail client I dont creat subfolder (e-mail
client Mozilla-1.6),
3) when I send e-mail message - e-mail message go out,
but e-mail client (Mozilla-1.6) say (in 2-nd and 3-rd
case):

The cyrrent command did not succeed. The mail server
responded: Permission denied.


Accordingly, in e-mail client not create subfolder
Sent, Draft and etc.

On the cyrus-imapd server,  directory /var/imap have
user,group ownership and permission :
drwxr-x---  11 cyrus   cyrus 512 Apr  7 15:19 imap

And /var/spool/imap :
drwxr-x---   5 cyrus  cyrus   512 Apr  7 15:14 imap

My imapd.conf :

configdirectory: /var/imap
partition-default: /var/spool/imap
allowanonymouslogin: no
allowplaintext: no
admins: cyrus
defaultacl: anyone lrs
reject8bit: no
postuser: cyrus
sieveusehomedir: false
sievedir: /var/imap/sieve
sendmail: /usr/sbin/sendmail
postmaster: postmaster
sasl_pwcheck_method: saslauthd
lmtpsocket: /var/imap/socket/lmtp


My cyrus.conf :

START {
  recover   cmd=ctl_cyrusdb -r
}

SERVICES {
  imap  cmd=imapd listen=imap prefork=1
  sieve cmd=timsieved listen=sieve prefork=0
  lmtpunix  cmd=lmtpd
listen=/var/imap/socket/lmtp prefork=0
}

EVENTS {
  checkpointcmd=ctl_cyrusdb -c period=30
  delprune  cmd=cyr_expire -E 3 at=0400
  tlsprune  cmd=tls_prune at=0400
}
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: internet via USB: how to use with FreeBSD?

2004-04-07 Thread Kevin D. Kinsey, DaleCo, S.P.
Rob wrote:



Hello,

My parents have an internet provider, that uses the TV-cable and
connects through the USB port. The provider only has M$-Window$
software provided, and this works now with a single computer.
I want to replace this M$-Window$ computer by a FreeBSD router,
to start a home network.
I am at a loss what to do with the USB internet connection?

I know how to get a router set up with RJ-45 cables and two
ethernet cards. But can FreeBSD handle a USB internet connection?
Hints how to deal with this, are highly appreciated.

Thanks,
Rob.


What is the device?  There are at least four in the
5.X GENERIC kernel:
   USB Ethernet, requires mii
   device aue # ADMtek USB ethernet
   device axe # ASIX Electronics USB ethernet
   device cue # CATC USB ethernet
   device kue # Kawasaki LSI USB ethernet
HTH,

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


Re: 5.2.1 compiling error

2004-04-07 Thread Jonathan Arnold
Kris Kennaway wrote:

On Wed, Mar 31, 2004 at 09:57:14PM -0300, j.c.f. wrote:

greetings,

below is the compiling error and attached is the kernel config. I've tried 
several times. GENERIC compiles without a hitch. any help is appreciated.
thank you, karma

compile stops at vesa:
-warn-common -o vesa.ko vesa.kld
1 error
*** Error code 2


That doesn't show the error.  You truncated too much, and it looks
like you're building with make -j, which obscures the error message.
Rerun without -j and include more context.
And if you are building with make -j, don't. It isn't officially supported
and I've found on the rare times I've tried to use it, that it creates more
headaches than it solves.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install world fails, computer almost unusable

2004-04-07 Thread Kent Stewart
On Wednesday 07 April 2004 04:45 am, Andy Rozman (Aleksander) wrote:
 Hi !

 I succesfully compiled FreeBSD 5.2.1, but problem happened when I
 wanted to do install. After I run installworld install started but
 halted at one point (with copying ld-so.1 in libexec). I found
 ld-so.1.old file which I removed, and after I run installworld again,
 mtree failed with core dump, and Bad Syscall...

 Now I can't do anything. Most of system programs now do core dump.

 Is there a way to solve this?


What were you upgrading to 5.2.1 from. If it was 5.1 or older, then 
there were serious problems if you tried to do an installworld from the 
older kernel. The upgrade to 5.2+ worked if you booted to single user 
mode on the new 5.2+ kernel and then did the installworld.

You can find some of the solutions in the archive of -current. IIRC, 
people were able to use the fixit cd, boot from it, and finish the 
system installation. The other choice I remember is to do a clean 5.2.1 
install.

Kent

-- 
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: pseudo-device vn

2004-04-07 Thread Jerry McAllister
 
 Hi,
 
 I couldnt find stuff whether the pseudo device vn is by default in the
 generic kernel. I didnt find it in GENERIC, but maybe it's otherwise
 involved? I guess i need this device to mount a tmpfs like this in /etc
 
 /dev/amrd0s1b /var/amavis   mfs   rw,-s=65536   0   0
 
 where s1b is the swap device.
 Should i just put
 pseudo-device vn
 in the kernel config file to make this work?

You didn't say which version of FreeBSD you were using.
In versions  4.xxx and earlier I think this will work.
It is what I have done.   You should be able to find it 
in the LINT file.  

But, starting with 5.0 I think it may have been changed.

jerry

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


Compilation problems...

2004-04-07 Thread Eric De la Cruz Lugo
Hi All, am having problems compiling a code, here is the output from make: 
 
 
terra# make 
make  all-recursive 
Making all in src 
if g++  -I. -I. -I.. -O6 -I/usr/include/bhpos   -I'/usr/local/include/
mysql' -g -O2 -MT servmsg.o -MD -MP -MF .deps/servmsg.Tpo  -c -o servmsg.o 
`test -f 'servmsg.cpp' || echo './'`servmsg.cpp;  then mv .deps/servmsg.Tpo 
.deps/servmsg.Po;  else rm -f .deps/servmsg.Tpo; exit 1;  fi 
servmsg.cpp: In function `int serviceSystemWake(PLUServer*, BhPosMsg*)': 
servmsg.cpp:461: error: `SOCK_PACKET' undeclared (first use this function) 
servmsg.cpp:461: error: (Each undeclared identifier is reported only once for 
   each function it appears in.) 
*** Error code 1 
 
Stop in /home/eric/banana/plusd-1.2.1/src. 
*** Error code 1 
 
Stop in /home/eric/banana/plusd-1.2.1. 
*** Error code 1 
 
Stop in /home/eric/banana/plusd-1.2.1. 
terra# 
 
 
 
- 
 
Hope some ona can help on this, there is a missing header that I shoud know? 
 
the headers in this code are: 
#include cstdio 
#include cstring 
#include sys/socket.h 
 
#include pos.h 
#include msgq.h 
#include plusd.h 
 
#include bhmsgq.cpp 
 
the order is Ok? 
 
thanks in advance. 
 
Eric De La Cruz Lugo 
Merida, Yucatan, Mexico 
The Maya Land 
 
 
 

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


Compilation problems...

2004-04-07 Thread Eric De la Cruz Lugo
 
HI All, am having problems compiling a code, this is the output from the make: 
 
terra# make 
make  all-recursive 
Making all in src 
if g++  -I. -I. -I.. -O6 -I/usr/include/bhpos   -I'/usr/local/include/
mysql' -g -O2 -MT servmsg.o -MD -MP -MF .deps/servmsg.Tpo  -c -o servmsg.o 
`test -f 'servmsg.cpp' || echo './'`servmsg.cpp;  then mv .deps/servmsg.Tpo 
.deps/servmsg.Po;  else rm -f .deps/servmsg.Tpo; exit 1;  fi 
servmsg.cpp: In function `int serviceSystemWake(PLUServer*, BhPosMsg*)': 
servmsg.cpp:461: error: `SOCK_PACKET' undeclared (first use this function) 
servmsg.cpp:461: error: (Each undeclared identifier is reported only once for 
   each function it appears in.) 
*** Error code 1 
 
Stop in /home/eric/banana/plusd-1.2.1/src. 
*** Error code 1 
 
Stop in /home/eric/banana/plusd-1.2.1. 
*** Error code 1 
 
Stop in /home/eric/banana/plusd-1.2.1. 
terra# 
 
SOCK_PACKET is declared in which header?. 
 
hope some one can help on this. 
 
Thanksin advance. 
 
 
Eric De La Cruz Lugo 
Merida, Yucatan. Mexico. 

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


Re: pseudo-device vn

2004-04-07 Thread Mipam
On Wed, 7 Apr 2004, Jerry McAllister wrote:

  I couldnt find stuff whether the pseudo device vn is by default in the
  generic kernel. I didnt find it in GENERIC, but maybe it's otherwise
  involved? I guess i need this device to mount a tmpfs like this in /etc
 
  /dev/amrd0s1b /var/amavis   mfs   rw,-s=65536   0   0
 
  where s1b is the swap device.
  Should i just put
  pseudo-device   vn
  in the kernel config file to make this work?

 You didn't say which version of FreeBSD you were using.
 In versions  4.xxx and earlier I think this will work.
 It is what I have done.   You should be able to find it
 in the LINT file.

 But, starting with 5.0 I think it may have been changed.

I am using 5.2.1-p4, i also didnt see this in LINT.
Any hints?
Bye,

Mipam.

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


Re: pseudo-device vn

2004-04-07 Thread Jerry McAllister

   I couldnt find stuff whether the pseudo device vn is by default in the
   generic kernel. I didnt find it in GENERIC, but maybe it's otherwise
   involved? I guess i need this device to mount a tmpfs like this in /etc
  
   /dev/amrd0s1b /var/amavis   mfs   rw,-s=65536   0   0
  
   where s1b is the swap device.
   Should i just put
   pseudo-device vn
   in the kernel config file to make this work?
 
  You didn't say which version of FreeBSD you were using.
  In versions  4.xxx and earlier I think this will work.
  It is what I have done.   You should be able to find it
  in the LINT file.
 
  But, starting with 5.0 I think it may have been changed.
 
 I am using 5.2.1-p4, i also didnt see this in LINT.
 Any hints?

I haven't had a chance to do anything with 5.xx yet but I understand
that vn things are done differently.  Also, LINT is being kept
differently.   

So, you will need to have someone with 5.xxx experience respond.

Some 5.xxx experimentation is nearing the top of my list, but
is still behind a few things.

jerry


 Bye,
 
 Mipam.
 
 

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


Re: your mail

2004-04-07 Thread Kris Kennaway
On Tue, Apr 06, 2004 at 05:28:21PM -0700, Joshua Lokken wrote:
 -Original Message-
 From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, April 06, 2004 5:15 PM
 To: Joshua Lokken
 Cc: [EMAIL PROTECTED]
 Subject: Re: your mail
 
 
 On Tue, Apr 06, 2004 at 04:56:02PM -0700, Joshua Lokken wrote:
  Hello all,
 
  
  I am receiving mail from the other lists I subscribe to, but not 
  freebsd-questions.  I understand that this could be due to a 
  misconfiguration on my part, but Exim logs show no evidence of false 
  rejections, or that there is any other problam on my end.
  Note:  I admit, this could possibly be the result of my incompetence.
  
  I don't seem to have trouble sending to the list, just not receiving,
 
  not one mail today.  When I try to resubscribe, mailman
  (correctly) tells me I'm already subscribed.  I've been pulling my 
 ^^^
  hair out all day.  Please, I'm not sure where to continue tracking 
  down this problem.  Any advice would be most welcome.  Thank you.
 
 You can check and modify your own subscription status on
 http://lists.freebsd.org.
 
 Kris
 
 Thanks for your reply.
 

I don't understand what you're trying to say.  You're probably
subscribed but have list delivery disabled due to excessive bounces,
or something.

Kris



pgp0.pgp
Description: PGP signature


Re: Gnome ports puzzlemnet

2004-04-07 Thread stan
On Tue, Apr 06, 2004 at 05:36:03PM -0400, Joe Marcus Clarke wrote:
 On Tue, 2004-04-06 at 15:41, stan wrote:
  I cvsup'd the ports tree on one of my machines today, and was trying to
  build a Gnome related port. I recived a warning message pointing to:
  
  http://www.FreeBSD.org/gnome/docs/develfaq.html
  
  And saying that failure to follow the instructions there would result in
  brekage of my Gnome apps.
  
  What puizzles me, si that this page sesm to be about updating to the
  development version of Gnome, I want to stay with the stable version. The
  machine is at 4.9 STABLE.
  
  What don't I understand here?
 
 You should always read /usr/ports/UPDATING before doing any operation on
 your installed ports.
 

Got it.

Just looked at that, and I see where to go.

Thanks.


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MySQL installation troubles ...

2004-04-07 Thread Mazen S. Alzogbi
Hi,

I am trying to install MySQL server  client from the packages 
collection with no success. Being a FreeBSD newbie I will need your 
help. Please check the following:

mazenbsd# pkg_add -r mysql-server
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/mysq 
l-server.tgz... Done.
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/p5-DBD- 
mysql-2.1026_1.tgz... Done.
pkg_add: could not find package mysql-client-4.0.15 !
pkg_add: pkg_add of dependency 'p5-DBD-mysql-2.1026_1' failed!
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/mysql-c 
lient-4.1.0.tgz... Done.

What I understood is p5-DBD-mysql-2.1026_1.tgz package depends on the 
mysql-client-4.0.15 package which cannot be found (how? why?) and 
instead the mysql-client-4.1.0.tgz package was installed. All in all the 
server installation failed.

What should I do to fix this?

TIA

Cheers,
--
Mazen S. Alzogbi
http://alzogbi.com/mazen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL installation troubles ...

2004-04-07 Thread Andrew L. Gould
On Wednesday 07 April 2004 03:00 pm, Mazen S. Alzogbi wrote:
 Hi,

 I am trying to install MySQL server  client from the packages
 collection with no success. Being a FreeBSD newbie I will need your
 help. Please check the following:

 mazenbsd# pkg_add -r mysql-server
 Fetching
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/my
sq l-server.tgz... Done.
 Fetching
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/p5-DB
D- mysql-2.1026_1.tgz... Done.
 pkg_add: could not find package mysql-client-4.0.15 !
 pkg_add: pkg_add of dependency 'p5-DBD-mysql-2.1026_1' failed!
 Fetching
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/mysql
-c lient-4.1.0.tgz... Done.

 What I understood is p5-DBD-mysql-2.1026_1.tgz package depends on the
 mysql-client-4.0.15 package which cannot be found (how? why?) and
 instead the mysql-client-4.1.0.tgz package was installed. All in all the
 server installation failed.

 What should I do to fix this?


Try deleting the installed packages using pkg_delete; and then install the 
applications from the ports.

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: howto

2004-04-07 Thread Matthew Seaman
On Wed, Apr 07, 2004 at 09:13:19AM -0400, Clint Gilders wrote:
 Matthew Seaman wrote:
 On Wed, Apr 07, 2004 at 04:06:18AM -0400, Jerry Hatok wrote:

   I am trying to copy files from a cd I have into my usr directory.  The 
   cd has one directory with a lot of subdirectories and files.  Is there 
   a command that I can copy everything at once? If so what is it?  If not 
   what would you suggest being the fastest way to copy everything?

 There's many, many ways of doing this sort of thing under Unix.
 Assuming that your CD Rom is mounted under /cdrom and you want to copy
 everything onto /home/jerry/cdimage then:
 
 % cd /cdrom
 % mkdir /home/jerry/cdimage
 % tar -cvf - . | ( cd /home/jerry/cdimage ; tar -xvpf - )
 
 However there are any number of commands you could substitute for that
 3rd line:
 
 % find . -depth -print | cpio -pdmu /home/jerry/cdimage
 
 or, if you're installed the net/rsync port:
 
 % rsync -avx --delete /cdrom/ /home/jerry/cdimage/
 
 Are these not a little bit of overkill?  Seems to me (in this case) it 
 could be as simple as:
 
 cp -Rp /cdrom/ /home/jerry/

Like I said: TIMTOWTDI.  However, I tend not to think of cp(1) in the
first instance because historically it tended to do nasty things, like
turn sym-links into real files.  Of course, the cp(1) in the system
today is much better behaved than that, and your suggestion certainly
does have merit.

There is still this caveat in the cp(1) man page:

   Note that cp copies hard linked files as separate files.  If you
   need to preserve hard links, consider using tar(1), cpio(1), or
   pax(1) instead.

but that is unlikely to be anything that affects the OP -- I'm not
even sure if the iso9660 filesystem on CD Roms even supports hard
links.

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: internet via USB: how to use with FreeBSD?

2004-04-07 Thread Rob
Kevin D. Kinsey, DaleCo, S.P. wrote:
Rob wrote:

My parents have an internet provider, that uses the TV-cable and
connects through the USB port. The provider only has M$-Window$
software provided, and this works now with a single computer.
I want to replace this M$-Window$ computer by a FreeBSD router,
to start a home network.
I am at a loss what to do with the USB internet connection?

I know how to get a router set up with RJ-45 cables and two
ethernet cards. But can FreeBSD handle a USB internet connection?
Hints how to deal with this, are highly appreciated.

What is the device?  There are at least four in the
5.X GENERIC kernel:
It's a Eminent 10/100 MBps USB network adaptor, provided by ISP.
This is a small 'mouse-sized' box which has a RJ45 cable and jack at
one end, and the USB-cable at the other. It connects a modem (RJ45
plug) with the USB port of the computer.
I have never used USB before, so I don't know what device this
represents. Any ideas?
I actually wonder, whether I should put a LAN card in the FreeBSD
system and connect that directly with the modem via a RJ45 cable,
and leave the USB adaptor out of the story. But would that work?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make openoffice/java compile error

2004-04-07 Thread Alan Freed
Hi,

I am installing openoffice 1.1 on my computer running freeBSD 4.9. 
I downloaded the latest ports directory before proceeding.  While 
compiling, I got the following error message.  What is wrong?   As a 
side note, I did create the mount point for linprocfs, added it to /etc/fstab, 
and mounted it.  This arose from an earlier error in the compile process.



...
../../../src/solaris/classes/sun/io/ByteToCharCOMPOUND_TEXT.java ../../../src/
solaris/classes/sun/io/CharToByteCOMPOUND_TEXT.java ../../../src/solaris/
classes/sun/io/CompoundTextSupport.java /usr/ports/java/jdk14/work/control/
build/bsd-i586/gensrc/java/lang/Character.java ../../../src/share/classes/
sun/misc/AtomicLong.java ../../../src/share/classes/sun/misc/
AtomicLongCSImpl.java ../../../src/share/classes/sun/misc/
AtomicLongLockImpl.java ; \
fi
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/
CurrencyData.java:1: 'class' or 'interface' expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
^
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/
CurrencyData.java:1: unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
   ^
2 errors
gmake[4]: *** [.compile.classlist] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.
*** Error code 1

Stop in /usr/ports/editors/openoffice-1.1.



Thanks for the help,

Al
-- 
Alan D. Freed, PhD[EMAIL PROTECTED] 
NASA Glenn Research Center[EMAIL PROTECTED]
The Cleveland Clinic  [EMAIL PROTECTED]
---
The opinions expressed are my own - not NASA's, nor 
the Cleveland Clinic's. 

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


Speaking of this mailing list...

2004-04-07 Thread Joe Altman
I just noticed Joshua's issue with not receiving email; for some
reason it prompted me to check my subscriptions. I noticed that I have
a bounce score of 1, out of a possible 5.

Does anyone know if it is possible for me to see these bounces? I
surmise that it is not an actual bounce from my [EMAIL PROTECTED]
account. I'm guessing that the source is a virus forgery.

But if, by some chance, it is a genuine series of bounces, I really
need to know about it because something weird is happening.

There are no configuration issues here: procmail either writes to a
folder, or puts email into $DEFAULT; no EXIT 67 stuff to fake bounces,
or anything fancy at all. Additionally, there is not a chance of a 
quota issue causing mail bounces.

Also, does anyone know how long it is until the counter is reset, and
my bounce score goes back to 0?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


camcontrol start vs load

2004-04-07 Thread Tadimeti Keshav
HI, 
Is the following sequence to mount a firewire Hard
disk correct?
a. camcontrol devlist -v
b. camcontrol start da0 (provided it is recognized)
c. mount_msdosfs /dev/da0 /my_mount_point

Is this all needed to mount this HDD?

secondly, should I use camcontrol start or camcontrol
load?
Thx for any help
Tk







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: make openoffice/java compile error

2004-04-07 Thread Martin Hudec
Hello Alan,

do you have linux_base and linux port of jdk14 installed together with
enabled linprocfs filesystem? You need to have linux jdk14 built in order to
install native jdk14.


Cheers,
Martin

On Wed, Apr 07, 2004 at 01:52:04PM -0400 or thereabouts, Alan Freed wrote:
 Hi,
 
 I am installing openoffice 1.1 on my computer running freeBSD 4.9. 
 I downloaded the latest ports directory before proceeding.  While 
 compiling, I got the following error message.  What is wrong?   As a 
 side note, I did create the mount point for linprocfs, added it to /etc/fstab, 
 and mounted it.  This arose from an earlier error in the compile process.
 

-- 
=--
:
:. kind regards
:.. Martin Hudec
:.:
:.: :m: +421.907.303393
:.: :@: [EMAIL PROTECTED]
:.: :w: http://www.aeternal.net

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


Re: camcontrol start vs load

2004-04-07 Thread Dan Nelson
In the last episode (Apr 07), Tadimeti Keshav said:
 HI, 
 Is the following sequence to mount a firewire Hard
 disk correct?
 a. camcontrol devlist -v
 b. camcontrol start da0 (provided it is recognized)
 c. mount_msdosfs /dev/da0 /my_mount_point
 
 Is this all needed to mount this HDD?
 
 secondly, should I use camcontrol start or camcontrol
 load?

start tells the drive to spin up, so if it's already running you
don't need it.  load is more for things like tape drives or CD-ROMs
where you have a magazine or tray that can be loaded/ejected.

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


Re: Speaking of this mailing list...

2004-04-07 Thread Chuck Swiger
Joe Altman wrote:
I just noticed Joshua's issue with not receiving email; for some
reason it prompted me to check my subscriptions. I noticed that I have
a bounce score of 1, out of a possible 5.
Hmm...so do I, for what it's worth.

Does anyone know if it is possible for me to see these bounces? I
surmise that it is not an actual bounce from my [EMAIL PROTECTED]
account. I'm guessing that the source is a virus forgery.
But if, by some chance, it is a genuine series of bounces, I really
need to know about it because something weird is happening.
Someone with appropriate access could check the Mailman logfiles and see what 
was going on, although it's not clear that there is anything unusual going 
on-- transient failures from DNS lookups or the like can happen, particularly 
given the volume freebsd.org's mail server must deal with.

I've also seen occasional hiccups in list volume where no traffic is sent for 
a day or so, but Mailman seems to get stuck processing its queue of unsent 
messages every once in a blue moon for me, too.

Anyway, try asking [EMAIL PROTECTED] and/or the list admin for this 
list (listed in the headers, probably) if you want to pursue your questions 
further...

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


Re: MySQL installation troubles ...

2004-04-07 Thread Chris Strzelczyk
Try compiling instead of using pkg_add.  I've noticed this will work 
more often as packages are not available sometimes.

Make install all clean

Should do you well.

-cs

Mazen S. Alzogbi wrote:

Hi,

I am trying to install MySQL server  client from the packages 
collection with no success. Being a FreeBSD newbie I will need your 
help. Please check the following:

mazenbsd# pkg_add -r mysql-server
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/mysq 
l-server.tgz... Done.
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/p5-DBD- 
mysql-2.1026_1.tgz... Done.
pkg_add: could not find package mysql-client-4.0.15 !
pkg_add: pkg_add of dependency 'p5-DBD-mysql-2.1026_1' failed!
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/mysql-c 
lient-4.1.0.tgz... Done.

What I understood is p5-DBD-mysql-2.1026_1.tgz package depends on the 
mysql-client-4.0.15 package which cannot be found (how? why?) and 
instead the mysql-client-4.1.0.tgz package was installed. All in all 
the server installation failed.

What should I do to fix this?

TIA

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


Re:

2004-04-07 Thread Joshua Lokken
* Ph. Schulz [EMAIL PROTECTED] [2004-04-07 11:38]:
 Shouldn't these sort of things better be addressed to the owner of the 
 list directly? You're more likely to get an answer if you mail the owner 
 directly since there won't be lots of questions@ noise around your message.
 Hint: Check the headers of *any* list eMail and you'll find the address. 
 If it ain't there then check the mailman page.
 Sorry, dude, I just had to.
 
 Phil.
 
 Joshua Lokken wrote:
 
 Hello all,
 
 Please, inform me if I have been removed from the mailing list.

Please don't top post.  Sorry, as well.  Thanks, though, that's actually
what I needed; a good strong nugde.  I appreciate it.


-- 
Joshua

When a child is taught ... its programmed with simple instructions --
and at some point, if its mind develops properly, it exceeds the sum of
what it was taught, thinks independently.
-- Dr. Richard Daystrom, The Ultimate Computer,
   stardate 4731.3.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Postfix - Sasl - mysql

2004-04-07 Thread Brent Wiese
 Brent Wiese wrote:
  I (tried) following the instructions at:
  http://high5.net/howto/
  
  I have postfix virtual users working in MySQL. I have 
 courier imap/pop3
  working w/ virtual users. I wanted to add SMTP auth.
  
  I added the cyrus-sasl2 port (also chose support for it in 
 postfix port)
  WITH_MYSQL.
  
  No go.
  
  I added the following lines to 
 /usr/local/lib/sasl2/smtpd.conf (found this
  in another faq/tutorial, so it may be incorrect)
  
  sasl_pwcheck_method: auxprop
  sasl_auxprop_plugin: sql 
sql_engine: mysql
mech_list: login plain crammd6 digestmd5
  sql_user: postfix-user
  sql_passwd: thepassword
  sql_database: postfix
  sql_statement: SELECT password FROM mailbox WHERE username = '%u'
  sql_verbose: yes
  
 
 That works for me..

No go. Still getting no user in db in /var/log/maillog.

I get:
postfix/smtpd[23761]: sql_select option missing
postfix/smtpd[23761]: auxpropfunc error no mechanism available
In /var/log/messages

I turned on logging in mysql and it didn't log any queries.

Any other suggestions?


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


Re: internet via USB: how to use with FreeBSD?

2004-04-07 Thread Matt Staroscik

What is the device?  There are at least four in the
5.X GENERIC kernel:
You can also call the cable company and say that your computer doesn't have 
USB. I think they usually have some Ethernet equipped devices for 
situations like that. They should swap it out for free.

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


Re: Postfix - Sasl - mysql

2004-04-07 Thread Remko Lodder
Hi Brent,


No go. Still getting no user in db in /var/log/maillog.

I get:
postfix/smtpd[23761]: sql_select option missing
postfix/smtpd[23761]: auxpropfunc error no mechanism available
In /var/log/messages
Oh typo :( SQL_Statement = SQL_Select)

Is SQL (MySQL) Support included within your installation?
What Mechlist did you enable? Are those included in your installation as 
well?

Cheers

I turned on logging in mysql and it didn't log any queries.

Any other suggestions?

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


--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: startssl at boot time

2004-04-07 Thread RYAN vAN GINNEKEN
This is right ??? the reason i ask is because apache does not start on a
reboot no ssl or even regular apache.   here is the log output of an
apache stop then apache start using the script listed below when i use
apache start only regular apache starts so i then have to issue the
apache startssl command.
[Wed Apr 07 13:20:01 2004] [info] removed PID file /var/run/httpd.pid
(pid=3196)
[Wed Apr 07 13:20:01 2004] [notice] caught SIGTERM, shutting down
[Wed Apr 07 13:20:07 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Wed Apr 07 13:20:08 2004] [info] Init: Initializing OpenSSL library
[Wed Apr 07 13:20:08 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Wed Apr 07 13:20:08 2004] [info] Init: Generating temporary RSA private
keys (512/102
[Wed Apr 07 13:20:08 2004] [info] Init: Generating temporary DH
parameters (512/1024 b
[Wed Apr 07 13:20:08 2004] [warn] Init: Session Cache is not configured
[hint: SSLSess
[Wed Apr 07 13:20:08 2004] [info] Init: Initializing (virtual) servers
for SSL
[Wed Apr 07 13:20:08 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, Li
[Wed Apr 07 13:20:09 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Wed Apr 07 13:20:10 2004] [info] Init: Initializing OpenSSL library
[Wed Apr 07 13:20:10 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Wed Apr 07 13:20:10 2004] [info] Init: Generating temporary RSA private
keys (512/102
[Wed Apr 07 13:20:12 2004] [info] Init: Generating temporary DH
parameters (512/1024 b
[Wed Apr 07 13:20:12 2004] [info] Init: Initializing (virtual) servers
for SSL
[Wed Apr 07 13:20:12 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, Li
[Wed Apr 07 13:20:13 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
mod_ssl/2.0.49 Open
[Wed Apr 07 13:20:13 2004] [info] Server built: Mar 30 2004 04:02:47
[Wed Apr 07 13:20:13 2004] [debug] prefork.c(955): AcceptMutex: flock
(default: flock)
Seems to initialize ssl but my ssl page still does not work however my
regular page does work.  Here is a print out of the log file when i do
an apachectl stop and apachectl startssl.  when i use startssl
everything work great including my ssl page.
[Wed Apr 07 13:23:21 2004] [info] removed PID file /var/run/httpd.pid
(pid=3227)
[Wed Apr 07 13:23:21 2004] [notice] caught SIGTERM, shutting down
[Wed Apr 07 13:23:26 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Wed Apr 07 13:23:27 2004] [info] Init: Initializing OpenSSL library
[Wed Apr 07 13:23:27 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Wed Apr 07 13:23:27 2004] [info] Init: Generating temporary RSA private
keys (512/102
[Wed Apr 07 13:23:29 2004] [info] Init: Generating temporary DH
parameters (512/1024 b
[Wed Apr 07 13:23:29 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Wed Apr 07 13:23:29 2004] [info] Init: Initializing (virtual) servers
for SSL
[Wed Apr 07 13:23:29 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, Li
[Wed Apr 07 13:23:30 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Wed Apr 07 13:23:31 2004] [info] Init: Initializing OpenSSL library
[Wed Apr 07 13:23:31 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Wed Apr 07 13:23:31 2004] [info] Init: Generating temporary RSA private
keys (512/102
[Wed Apr 07 13:23:31 2004] [info] Init: Generating temporary DH
parameters (512/1024 b
[Wed Apr 07 13:23:31 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Wed Apr 07 13:23:31 2004] [info] Init: Initializing (virtual) servers
for SSL
[Wed Apr 07 13:23:31 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, Li
[Wed Apr 07 13:23:31 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
mod_ssl/2.0.49 Open
[Wed Apr 07 13:23:31 2004] [info] Server built: Mar 30 2004 04:02:47
[Wed Apr 07 13:23:31 2004] [debug] prefork.c(955): AcceptMutex: flock
(default: flock)
here are the differences in the logs did this manually will have to
spend some time using the diff command as it could work for comparing
log entries too right?  So it must have something to do with the entropy
and the session cache i guess.
[Wed Apr 07 13:20:08 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Wed Apr 07 13:20:08 2004] [warn] Init: Session Cache is not configured
[hint: SSLSess
Matthew Seaman wrote:

On Tue, Apr 06, 2004 at 12:04:58AM -0600, RYAN vAN GINNEKEN wrote:

 

Patch guess i am new to patches in fact this is my first one usually 
just install the port as is and hope that all the patches are added.  
Have compiled a few packages from source but would rather not. 

Oh i think i get it it looks like mergemaster the + gets added and the - 
gets removed right i will do manually will that work NOPE

please explain how i apply the patch works as i tried to manually edit 
the config file and apache did not start at all thank you in advance.  
Below is a copy of the edited apache2.sh file.

#!/bin/sh
PREFIX=/usr/local
case $1 in
start)
  SSL=ssl
  [ -x ${PREFIX}/sbin/apachectl ]  

Connect to Internet

2004-04-07 Thread RazorOnFreeBSD
Hello,

I just setup a freebsd box with the 5.1 release to be a gateway/firewall.
The installation was smooth and to setup the gateway/firewall with nat a lot of 
sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd box.
I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP 
to connect.

FreeBSD Internet NIC is : 12.103.20.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.20.x

For information the freebsd box contains 2 NIC's one for Internet the other for the 
LAN (192.168.1.1)

If I ping myself no problem everything's fine, but I can't ping a web address. I don't 
know if it is possible under unix but I use to ping www.yahoo.com for example to 
know if it's well connected. But the best proof is when I try to install samba my 
freebsd gives a time out reaching the samba server on the web

I have setup a firewall_type=OPEN because i'm still testing but I also setup natd 
and gateway variables in the rc.conf file to what is needed up to majority of websites 
about firewall and gateways with Freebsd.
I also rebuilt the kernel up to those websites wich was fine, and I created a 
natd.conf file.
One more thing I think I didn't use the Domain variable when I set up the NIC from 
sysinstall don't know if it's important!
Well I don't understand why it doesn't work The tech guy from att hotline told me 
it's easy as setup a LAN yes you're right my LAN works fine but not Internet! :S

Please somebody help me 

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


Re: Connect to Internet

2004-04-07 Thread Remko Lodder
RazorOnFreeBSD wrote:
Hello,

I just setup a freebsd box with the 5.1 release to be a gateway/firewall.
The installation was smooth and to setup the gateway/firewall with nat a lot of 
sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd box.
I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP 
to connect.
FreeBSD Internet NIC is : 12.103.20.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.20.x

For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1)

If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web

Do you have dns servers listed in /etc/resolv.conf?
nameserver nameserver
nameserver nameserver
arp -n -a , does that mention the router's ip and mac addres?

Try it (:



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Postfix - Sasl - mysql

2004-04-07 Thread Aaron Peterson

  I added the cyrus-sasl2 port (also chose support for it in
 postfix port)
  WITH_MYSQL.
 
  No go.
 
  I added the following lines to
 /usr/local/lib/sasl2/smtpd.conf (found this
  in another faq/tutorial, so it may be incorrect)
 
  sasl_pwcheck_method: auxprop
  sasl_auxprop_plugin: sql
sql_engine: mysql
mech_list: login plain crammd6 digestmd5
  sql_user: postfix-user
  sql_passwd: thepassword
  sql_database: postfix
  sql_statement: SELECT password FROM mailbox WHERE username = '%u'
  sql_verbose: yes

I used those instructions, although I modified some for my specific
configuration.  the username field in my database is
[EMAIL PROTECTED] however.  I had to create a plain-text password
field that i modified the php scripts to create as part of the normal
process of things because the auxprop plugin alone didn't understand
anything but plain text.  you can use the PAM sasl plugin from what I
understand, and configure pam to use mysql with it's native plugin in
order to use encrypted passwords in the mysql database.  I haven't looked
at this stuff in a while, so my memory isn't so clear and things may have
changed...

Here's my working smtpd.conf:

# smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login

sql_engine: mysql
sql_hostnames: localhost
sql_user: postfix-user
sql_passwd: thepassword
sql_database: postfix
sql_select: select pass_plain from mailbox where username='[EMAIL PROTECTED]'

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


Re: Connect to Internet

2004-04-07 Thread Kevin D. Kinsey, DaleCo, S.P.
Remko Lodder wrote:

RazorOnFreeBSD wrote:

Hello,

I just setup a freebsd box with the 5.1 release to be a 
gateway/firewall.
The installation was smooth and to setup the gateway/firewall with 
nat a lot
of sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd box.
I have DSL and my ISP is ATT, I have a static IP wich means I don't 
need to run PPP to connect.

FreeBSD Internet NIC is : 12.103.20.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.20.x

For information the freebsd box contains 2 NIC's one for Internet
the other for the LAN (192.168.1.1)
If I ping myself no problem everything's fine, but I can't ping a web
address. I don't know if it is possible under unix but I use to
ping www.yahoo.com for example to know if it's well
connected. But the best proof is when I try to install samba
my freebsd gives a time out reaching the samba server on the web
Do you have dns servers listed in /etc/resolv.conf?
nameserver nameserver
nameserver nameserver
arp -n -a , does that mention the router's ip and mac addres?

Try it (:


What's the default route?  TCP/IP requires (amongst other things)
an address and a default route.  Here's one of mine:
   % netstat -rn
   Routing tables
   Internet:
   DestinationGatewayFlagsRefs  Use  
Netif Expire
   default66.76.96.1  UGS 0
17570   xl0

Probably your second action, after pinging localhost and your
local IP but before pinging Yahoo, should be a ping off the
next-hop gateway.  Your ISP should have told you this, and
it should probably be in /etc/rc.conf as defaultrouter...
Or, try traceroute(1) with some address (66.218.71.112
will get you Yahoo!) and see what happens.
If you get a no route to host or similar, it's your IP
configuration; if it's unknown host yahoo.com, it's
your name resolution, as Remko was pointing out.
If you have an IP addy but no gw, then you need to
run, as root:
   #route add default ip.of.isp.gw

HTH,

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


Re: Connect to Internet

2004-04-07 Thread RazorOnFreeBSD
yes maybe you're right
when I try your command arp -n -a it returns two lines

The first one is the att gateway : 12.103.21.1. I guess it's the entry
point to there backbone !?
But there is no MAC address coming with... instead I have the mention
incomplete . That could be my problem ??? If it is where could I find this
particular MAC address ? Do I have to call them ? Or my setup was wrong ?

I also have a second line referencing the freebsd box itself by the internal
LAN NIC : 192.1668.1.1 with a MAC address is it normal ???


 RazorOnFreeBSD wrote:
  Hello,
 
  I just setup a freebsd box with the 5.1 release to be a
gateway/firewall.
  The installation was smooth and to setup the gateway/firewall with nat a
lot of sources are available on Internet.
  Here is my problem, I can't connect to Internet from the Freebsd box.
  I have DSL and my ISP is ATT, I have a static IP wich means I don't
need to run PPP to connect.
 
  FreeBSD Internet NIC is : 12.103.20.x
 
  When I type ifconfig my NIC looks fine, up and running :
 
  rl0 : 12.103.20.x
 
  For information the freebsd box contains 2 NIC's one for Internet the
other for the LAN (192.168.1.1)
 
  If I ping myself no problem everything's fine, but I can't ping a web
address. I don't know if it is possible under unix but I use to ping
www.yahoo.com for example to know if it's well connected. But the best
proof is when I try to install samba my freebsd gives a time out reaching
the samba server on the web
 

 Do you have dns servers listed in /etc/resolv.conf?
 nameserver nameserver
 nameserver nameserver

 arp -n -a , does that mention the router's ip and mac addres?

 Try it (:




 -- 

 Kind regards,

 Remko Lodder
 Elvandar.org/DSINet.org
 www.mostly-harmless.nl A Dutch community for helping newcomers on the
 hackerscene
 ___
 [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]


unable to use BOOT EASY to boot linux

2004-04-07 Thread Tadimeti Keshav
hi all.
I added a 2 GB linux disk as a slave and installed
Mandrake Linux with LILO on the root partition of
linux.

I am trying configure Boot Easy to boot linux.
Since FreeBSD occupies all of the 1st HD, should I
install a STANDARD boot loader on first or on both
Hard disks.

thx

=
-- K E S H A V  T A D I M E T I --






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: unable to use BOOT EASY to boot linux

2004-04-07 Thread RazorOnFreeBSD
I had this issue between linux and windows and I had to install Lilo on the
first disk only because bios is giving the hand to the first disk and from
there you can setup your boot loader to recognize all systems available and
where they are.

I am not a specialist there, I just tell you what worked for me and what was
the explanation given to me.

- Original Message - 
From: Tadimeti Keshav [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 11:21 PM
Subject: unable to use BOOT EASY to boot linux


 hi all.
 I added a 2 GB linux disk as a slave and installed
 Mandrake Linux with LILO on the root partition of
 linux.

 I am trying configure Boot Easy to boot linux.
 Since FreeBSD occupies all of the 1st HD, should I
 install a STANDARD boot loader on first or on both
 Hard disks.

 thx

 =
 -- K E S H A V  T A D I M E T I --





 
 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]



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


Re: internet via USB: how to use with FreeBSD?

2004-04-07 Thread Kevin D. Kinsey, DaleCo, S.P.
Rob wrote:

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

Rob wrote:

My parents have an internet provider, that uses the TV-cable and
connects through the USB port. The provider only has M$-Window$
software provided, and this works now with a single computer.
I want to replace this M$-Window$ computer by a FreeBSD router,
to start a home network.
I am at a loss what to do with the USB internet connection?

I know how to get a router set up with RJ-45 cables and two
ethernet cards. But can FreeBSD handle a USB internet connection?
Hints how to deal with this, are highly appreciated.

What is the device?  There are at least four in the
5.X GENERIC kernel:


It's a Eminent 10/100 MBps USB network adaptor, provided by ISP.
This is a small 'mouse-sized' box which has a RJ45 cable and jack at
one end, and the USB-cable at the other. It connects a modem (RJ45
plug) with the USB port of the computer.
I have never used USB before, so I don't know what device this
represents. Any ideas?
I'm having trouble finding out much about this
device, too.  Looks like you can buy 'em in Europe,
but I see few listings here in the US.
I did find a fifth driver; rue(4).  You can man 4 name of driver
to get a list of supported chipsets and models.  Emiment isn't
mentioned, but if you can figure out what chipset (i.e., maybe if
the device isn't glued together? ;-) you might be able to use
one of the drivers from FreeBSD.  Kids, don't try this at home
I actually wonder, whether I should put a LAN card in the FreeBSD
system and connect that directly with the modem via a RJ45 cable,
and leave the USB adaptor out of the story. But would that work?


This would probably work from a hardware standpoint, but
you'd probably have to call the ISP and ask them if you need
to reconfigure the thing.  You might just try cabling NIC to DSL
box, have the NIC set to DHCP in /etc/rc.conf, and see what
happens.  But you're at your own risk 
I have some customers around here with cable modems with
both RJ45 and USB connectors.  For most of the home users,
you just set stuff DHCP and the modem handles the stuff. 

For the business setups, you must contact the ISP and
bind the static IP to the MAC addy of the hardware in
question.
I have never used USB for this, though...and, I have little
experience with DSL 
Sorry I'm not more help

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


Re: unintelligible questions from pkgdb -F [ part of 5.2portupgrade hairball ]

2004-04-07 Thread Kevin D. Kinsey, DaleCo, S.P.
Jay Moore wrote:

On Tuesday 06 April 2004 04:39 am, Matthew Seaman wrote:

 

What this means is that the eel2-2.4.1 port claims to have a
dependency on the gtk-2.2.4_1 port, but no such port is installed --
it's listed in the file:
   

 

snipped some of Matthew's Amazing stuff

Amazing! That makes sense... why, oh why isn't it in the man page for pkgdb?

The rest of your response is most helpful also. I think rather than adding a 
bunch of clutter here I'll follow up on each of them separately.

Thanks,
Jay
 



I doubt I can improve on Matthew's post (he is very
helpful and knowledgeable), but I've found this to
be helpful:
http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html

In which Michael Lucas (Absolute BSD) tells what to
say to `pkgdb -F'  
HTH,

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


Re: startssl at boot time

2004-04-07 Thread RYAN vAN GINNEKEN
This is right ??? the reason i ask is because apache does not start on a
reboot no ssl or even regular apache.   here is the log output of an
apache stop then apache start using the script listed below when i use
apache start only regular apache starts so i then have to issue the
apache startssl command.
[Wed Apr 07 13:20:01 2004] [info] removed PID file /var/run/httpd.pid
(pid=3196)
[Wed Apr 07 13:20:01 2004] [notice] caught SIGTERM, shutting down
[Wed Apr 07 13:20:07 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Wed Apr 07 13:20:08 2004] [info] Init: Initializing OpenSSL library
[Wed Apr 07 13:20:08 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Wed Apr 07 13:20:08 2004] [info] Init: Generating temporary RSA private
keys (512/102
[Wed Apr 07 13:20:08 2004] [info] Init: Generating temporary DH
parameters (512/1024 b
[Wed Apr 07 13:20:08 2004] [warn] Init: Session Cache is not configured
[hint: SSLSess
[Wed Apr 07 13:20:08 2004] [info] Init: Initializing (virtual) servers
for SSL
[Wed Apr 07 13:20:08 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, Li
[Wed Apr 07 13:20:09 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Wed Apr 07 13:20:10 2004] [info] Init: Initializing OpenSSL library
[Wed Apr 07 13:20:10 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Wed Apr 07 13:20:10 2004] [info] Init: Generating temporary RSA private
keys (512/102
[Wed Apr 07 13:20:12 2004] [info] Init: Generating temporary DH
parameters (512/1024 b
[Wed Apr 07 13:20:12 2004] [info] Init: Initializing (virtual) servers
for SSL
[Wed Apr 07 13:20:12 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, Li
[Wed Apr 07 13:20:13 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
mod_ssl/2.0.49 Open
[Wed Apr 07 13:20:13 2004] [info] Server built: Mar 30 2004 04:02:47
[Wed Apr 07 13:20:13 2004] [debug] prefork.c(955): AcceptMutex: flock
(default: flock)
Seems to initialize ssl but my ssl page still does not work however my
regular page does work.  Here is a print out of the log file when i do
an apachectl stop and apachectl startssl.  when i use startssl
everything work great including my ssl page.
[Wed Apr 07 13:23:21 2004] [info] removed PID file /var/run/httpd.pid
(pid=3227)
[Wed Apr 07 13:23:21 2004] [notice] caught SIGTERM, shutting down
[Wed Apr 07 13:23:26 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Wed Apr 07 13:23:27 2004] [info] Init: Initializing OpenSSL library
[Wed Apr 07 13:23:27 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Wed Apr 07 13:23:27 2004] [info] Init: Generating temporary RSA private
keys (512/102
[Wed Apr 07 13:23:29 2004] [info] Init: Generating temporary DH
parameters (512/1024 b
[Wed Apr 07 13:23:29 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Wed Apr 07 13:23:29 2004] [info] Init: Initializing (virtual) servers
for SSL
[Wed Apr 07 13:23:29 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, Li
[Wed Apr 07 13:23:30 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Wed Apr 07 13:23:31 2004] [info] Init: Initializing OpenSSL library
[Wed Apr 07 13:23:31 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Wed Apr 07 13:23:31 2004] [info] Init: Generating temporary RSA private
keys (512/102
[Wed Apr 07 13:23:31 2004] [info] Init: Generating temporary DH
parameters (512/1024 b
[Wed Apr 07 13:23:31 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Wed Apr 07 13:23:31 2004] [info] Init: Initializing (virtual) servers
for SSL
[Wed Apr 07 13:23:31 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, Li
[Wed Apr 07 13:23:31 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
mod_ssl/2.0.49 Open
[Wed Apr 07 13:23:31 2004] [info] Server built: Mar 30 2004 04:02:47
[Wed Apr 07 13:23:31 2004] [debug] prefork.c(955): AcceptMutex: flock
(default: flock)
here are the differences in the logs did this manually will have to
spend some time using the diff command as it could work for comparing
log entries too right?  So it must have something to do with the entropy
and the session cache i guess.
[Wed Apr 07 13:20:08 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Wed Apr 07 13:20:08 2004] [warn] Init: Session Cache is not configured
[hint: SSLSess
Matthew Seaman wrote:

On Tue, Apr 06, 2004 at 12:04:58AM -0600, RYAN vAN GINNEKEN wrote:

 

Patch guess i am new to patches in fact this is my first one usually 
just install the port as is and hope that all the patches are added.  
Have compiled a few packages from source but would rather not. 

Oh i think i get it it looks like mergemaster the + gets added and the - 
gets removed right i will do manually will that work NOPE

please explain how i apply the patch works as i tried to manually edit 
the config file and apache did not start at all thank you in advance.  
Below is a copy of the edited apache2.sh file.

#!/bin/sh
PREFIX=/usr/local
case $1 in
start)
  SSL=ssl
  [ -x ${PREFIX}/sbin/apachectl ]  

Re: unable to use BOOT EASY to boot linux

2004-04-07 Thread Jerry McAllister
 
 I had this issue between linux and windows and I had to install Lilo on the
 first disk only because bios is giving the hand to the first disk and from
 there you can setup your boot loader to recognize all systems available and
 where they are.
 
 I am not a specialist there, I just tell you what worked for me and what was
 the explanation given to me.
 
 - Original Message - 
 From: Tadimeti Keshav [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Wednesday, April 07, 2004 11:21 PM
 Subject: unable to use BOOT EASY to boot linux
 
 
  hi all.
  I added a 2 GB linux disk as a slave and installed
  Mandrake Linux with LILO on the root partition of
  linux.
 
  I am trying configure Boot Easy to boot linux.
  Since FreeBSD occupies all of the 1st HD, should I
  install a STANDARD boot loader on first or on both
  Hard disks.

If I understand what you are asking - FreeBSD on disk0 and Linux
on disk1, then you need to install an MBR and a standard book
sector on disk 0.

jerry

 
  thx
 
  =
  -- K E S H A V  T A D I M E T I --
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connect to Internet

2004-04-07 Thread RazorOnFreeBSD
Ok I tried like you said Kevin to do a traceroute on 12.103.21.1 wich is
what ISP call default gateway.
It didn't work, the result looked like this :

1 * * *
2 * * *
3 * * *
4 * * *
etc

I wasn't patient enough for the fifth one!
So I looked in resolv.conf and there was the IP of a DNS server :
12.127.17.83. I know this one works because I'm using it under windows
currently.
I decided to try this command : route add default 12.103.21.1
and maybe I was wrong, but I put this address also in the resolv.conf file
before the other DNS entry.
Then I rebooted and Traceroute and same results..

1 * * *
2 * * *
3 * * *
4 * * *
etc

what do you think ?


- Original Message - 
From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED]
To: Remko Lodder [EMAIL PROTECTED]
Cc: RazorOnFreeBSD [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 11:07 PM
Subject: Re: Connect to Internet


 Remko Lodder wrote:

  RazorOnFreeBSD wrote:
 
  Hello,
 
  I just setup a freebsd box with the 5.1 release to be a
  gateway/firewall.
  The installation was smooth and to setup the gateway/firewall with
  nat a lot
  of sources are available on Internet.
  Here is my problem, I can't connect to Internet from the Freebsd box.
  I have DSL and my ISP is ATT, I have a static IP wich means I don't
  need to run PPP to connect.
 
  FreeBSD Internet NIC is : 12.103.20.x
 
  When I type ifconfig my NIC looks fine, up and running :
 
  rl0 : 12.103.20.x
 
  For information the freebsd box contains 2 NIC's one for Internet
  the other for the LAN (192.168.1.1)
 
  If I ping myself no problem everything's fine, but I can't ping a web
  address. I don't know if it is possible under unix but I use to
  ping www.yahoo.com for example to know if it's well
  connected. But the best proof is when I try to install samba
  my freebsd gives a time out reaching the samba server on the web
 
 
  Do you have dns servers listed in /etc/resolv.conf?
  nameserver nameserver
  nameserver nameserver
 
  arp -n -a , does that mention the router's ip and mac addres?
 
  Try it (:


 What's the default route?  TCP/IP requires (amongst other things)
 an address and a default route.  Here's one of mine:

 % netstat -rn
 Routing tables

 Internet:
 DestinationGatewayFlagsRefs  Use
 Netif Expire
 default66.76.96.1  UGS 0
 17570   xl0

 Probably your second action, after pinging localhost and your
 local IP but before pinging Yahoo, should be a ping off the
 next-hop gateway.  Your ISP should have told you this, and
 it should probably be in /etc/rc.conf as defaultrouter...

 Or, try traceroute(1) with some address (66.218.71.112
 will get you Yahoo!) and see what happens.

 If you get a no route to host or similar, it's your IP
 configuration; if it's unknown host yahoo.com, it's
 your name resolution, as Remko was pointing out.

 If you have an IP addy but no gw, then you need to
 run, as root:

 #route add default ip.of.isp.gw

 HTH,

 Kevin Kinsey
 DaleCo, S.P.



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


Re: unintelligible questions from pkgdb -F [ part of 5.2 portupgrade hairball ]

2004-04-07 Thread Jay Moore
On Tuesday 06 April 2004 04:39 am, Matthew Seaman wrote:

 Now, in order to solve the pkgdb problem you have, you can either:

  snip option 1 

 - or -

 * Quit out of pkgdb(1) without changing anything, and force an
   install of gtk20 without using any of the pkgtools stuff:

 # cd /usr/ports/x11-toolkits/gtk20
 # make install

Here's the result of that:

# cd /usr/ports/x11-toolkits/gtk20
# make install

snip note re experimental patch

===  Vulnerability check disabled
===  Extracting for gtk-2.2.4_2
 Checksum OK for gnome2/gtk+-2.2.4.tar.bz2.

... blah, blah, blah... snipped

-- but it ended badly:

/bin/sh ../../mkinstalldirs /usr/X11R6/etc/gtk-2.0
../../gtk/gtk-query-immodules-2.0  /usr/X11R6/etc/gtk-2.0/gtk.immodules
Cannot load module /usr/X11R6/lib/gtk-2.0/2.2.0/immodules/im-gucharmap.so: 
Shared object libintl.so.5 not found
/usr/X11R6/lib/gtk-2.0/2.2.0/immodules/im-gucharmap.so does not export GTK+ IM 
module API: Shared object libintl.so.5 not found
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules/input.
*** Error code 1

snip redundant error msgs

Stop in /usr/ports/x11-toolkits/gtk20.

   Then re-run pkgdb(1), and it will be able to resolve that gtk
   dependency automatically.

I know you feel like you're trying to tell a blind man how to drive, but did I 
miss something?

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


SMP on FreeBSD...

2004-04-07 Thread Tom Karnes
What modifications do I need to make to the GENERIC configuration to 
enable a second CPU?

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


Re: unable to use BOOT EASY to boot linux

2004-04-07 Thread Johnson David
On Wednesday 07 April 2004 02:21 pm, Tadimeti Keshav wrote:
 hi all.
 I added a 2 GB linux disk as a slave and installed
 Mandrake Linux with LILO on the root partition of
 linux.

So far this is correct. LILO needs to be on the *root* partition.

 I am trying configure Boot Easy to boot linux.
 Since FreeBSD occupies all of the 1st HD, should I
 install a STANDARD boot loader on first or on both
 Hard disks.

The standard boot loader is NOT a boot loader. All it will do is boot 
the partition that is marked bootable. You want to choose BootMgr for 
each harddrive, if you want to use the FreeBSD boot manager. Please see 
the section in the Handbook 2.5.3 Install a Boot Manager.

The boot menu will display the partitions named by partition type 
(FreeBSD, Linux, DOS, ??). All partitions will be listed, not just the 
ones that are bootable. It's very easy to use if you know what your 
partitions are.

It's amazing that they were able to fit a general purpose boot manager 
into only 512 bytes! Chapter 7 of the Handbook The FreeBSD Booting 
Process describes this in excruciating detail.

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


DUMP is slow? (5.2.1)

2004-04-07 Thread J.D. Bronson
I am dumping about 284MB...

Now here is what I did...

1. identical drives on the same Adaptec 29160 controller
2. Each drive is sliced and formatted the same
3. I ran 'tunefs -n enable'
4. Mounted drive 2 as /mntg
Then as root do this:
# dump -C 32 -0Lf - /home | ( cd /mntg ; restore xf - )
  DUMP: Date of this level 0 dump: Wed Apr  7 16:17:13 2004
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/da0s1g (/home) to standard output
  DUMP: mapping (Pass I) [regular files]
  DUMP: Cache 32 MB, blocksize = 65536
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 282911 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
warning: ./.snap: File exists
  DUMP: DUMP: 283002 tape blocks
  DUMP: finished in 45 seconds, throughput 6288 KBytes/sec
  DUMP: DUMP IS DONE
..that seems a bit slow for SCSI

So now I try the EXACT same thing on another identical machine with the 
same cards/drives/ram..et (these machines are clones)...but this one runs 
solaris

# ufsdump -0f - /export/home | ( cd /mnt6 ; ufsrestore xf - )
  DUMP: Date of this level 0 dump: Wed Apr 07 16:18:57 2004
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c0t0d0s6 (cheyenne:/export/home) to standard output.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Writing 32 Kilobyte records
  DUMP: Estimated 571042 blocks (278.83MB).
  DUMP: Dumping (Pass III) [directories]
  DUMP: Dumping (Pass IV) [regular files]
Warning: ./lost+found: File exists
  DUMP: 571006 blocks (278.81MB) on 1 volume at 22362 KB/sec
  DUMP: DUMP IS DONE
That speed seems more reasonable.

Is there any reason that the FreeBSD machine is so much slower?

 - thanks :)



--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282


** DISCLAIMER **
Per Anti-Virus Policy, this e-email has been scanned for viruses.
Scanned clean by F-PROT ANTIVIRUS 4.4.1 - http://www.f-prot.com 

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


Re: FTP download

2004-04-07 Thread Kris Kennaway
On Wed, Apr 07, 2004 at 11:02:33AM +0200, Matej Hloznik wrote:
 Hi,
 I'm afraid I was unable to download 5.2 from your primary site and 
 neither slovak, nor czech mirror. That's why I hope the files are 
 corrupted on the central server and those mirrors have the same problem 
 due to the fact they got those corupted files from you.
 
 I tried console ftp, gftp, wget and mozilla but none was able to 
 download the whole file (except disc 2)

That means it was a problem with your connection to the server you
fetched from.

Kris


pgp0.pgp
Description: PGP signature


Re: startssl at boot time

2004-04-07 Thread Matthew Seaman
On Wed, Apr 07, 2004 at 03:39:42PM -0600, RYAN vAN GINNEKEN wrote:

 Seems to initialize ssl but my ssl page still does not work however my
 regular page does work.  Here is a print out of the log file when i do
 an apachectl stop and apachectl startssl.  when i use startssl
 everything work great including my ssl page.

 [Wed Apr 07 13:20:08 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
 [Wed Apr 07 13:20:08 2004] [warn] Init: Session Cache is not configured
 [hint: SSLSess

The fact that you can do an apachectl startssl and have everything
work as desired means that you're 99.99% of the way to gettting it all
to work.  The modification to the apache2.sh script I sent you last
time sould force that script to always run 'apachectl startssl'
itself, so that shouldn't be the problem.

Hmmm... I think that perhaps the problem arises from when the
apache2.sh script is run.  I'm guessing that the 'Seeding PRNG' line
is significant -- it aparently means that there is no random data yet
available from /dev/random at the point when apache is started up in
the boot sequence.  As you're running 4.9, that can be cured by
telling the system to use some appropriate IRQs as sources of
randomness.  First run:

% vmstat -i

and look for the IRQs where there are a lot of interrupts generated.
Not the 'clk' or 'rtc' interrupts, as those are clock ticks, firing at
regular intervals, which is worse than useless as a source of
randomness.  I find that irq12 (psm0 -- the mouse), irq1 (atkbd0 --
the keyboard), irq11 (mux -- multiplex: but this is network activity
mostly) and irq15 (mux -- multiplex again, but disk activity mostly)
work well for me, but you will have to choose 2 or 3 or 4 suitable
IRQs on your own system to harvest for randomness.

Then add them to /etc/rc.conf

rand_irqs=1 11 12 15

Then reboot.  (See rndcontrol(8) for more details)

With luck, and a following wind, there will be sufficient system
activity during startup that there will be sufficient random data
available to prime the PRNG used by OpenSSL, which should let apache
start up automatically.

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: unable to use BOOT EASY to boot linux

2004-04-07 Thread Johnson David
On Wednesday 07 April 2004 02:56 pm, Jerry McAllister wrote:

 If I understand what you are asking - FreeBSD on disk0 and Linux
 on disk1, then you need to install an MBR and a standard book
 sector on disk 0.

But the standard boot sector will not boot to disk 1. Quoting from the 
Handbook:

If you only have one operating system installed on your disks then the 
standard MBR will suffice. This MBR searches for the first bootable 
slice on the disk, and then runs the code on that slice to load the 
remainder of the operating system.

If you have installed multiple operating systems on your disks then you 
can install a different MBR, one that can display a list of different 
operating systems, and allows you to choose the one to boot from. 
FreeBSD comes with one such MBR which can be installed, and other 
operating system vendors also provide alternative MBRs.

What's confusing about the process is that there doesn't seem to be a 
common name for the FreeBSD MBR. In sysinstall it is called 
BootMgr. In the booting section of the handbook and a few man pages 
it is called boot0. It's also commonly referred to as Boot Easy.

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


Re: SMP on FreeBSD...

2004-04-07 Thread Mike Maltese
 What modifications do I need to make to the GENERIC configuration to 
 enable a second CPU?

With FreeBSD = 5.1, you need to add:

optionsSMP
optionsAPIC_IO

5.2's GENERIC kernel is SMP ready.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unintelligible questions from pkgdb -F [ part of 5.2 portupgrade hairball ]

2004-04-07 Thread Matthew Seaman
On Wed, Apr 07, 2004 at 04:08:34PM -0600, Jay Moore wrote:

 Shared object libintl.so.5 not found

This is a FAQ.

The gettext port was updated, and the ABI version number on it's
libintl.so shlib was incremented to libintl.so.6, but you've still got
installed programs that are linked against the now removed
libintl.so.5

And the ritually intoned response is -- all together now --

# portupgrade -fr gettext

which will cause a large number of your ports to be recompiled, but
restore your system to full operation.

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: Freebsd as a web server

2004-04-07 Thread Sven Hohage
Frank Bonnet wrote:

Remko Lodder a écrit :

[EMAIL PROTECTED] wrote:

Hi,

I am using Red Hat Linux 9.0 as a web server running apache. I am just
starting using FreeBSD and I would like to use it instead of Read 
Hat 9.0.
Can you please inform me on how to get a web server  ftp server 
running
using FreeBSD.

Thanks,
Mark

For the FTP server I would recommand pure-ftpd , I don't know
if it is available from the ports but it compile well with FreeBSD
and runs like a charm.
Lot of nice features and secure.
See at www.pureftpd.org

Hello Mark,
this link goes to a tutorial explaining very nicely what to do..even 
with some bonus :-)

http://www.bsdguides.org/guides/freebsd/networking/pure-ftpd_virtual_users.php

As a recommendation also these links:
http://bsdvault.net/sections.php?op=listarticlessecid=1
http://www.freebsddiary.org/
http://www.onlamp.com/bsd/
http://www.daemonnews.org/200101/contents.html
Bye
Sven Hohage









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


Evolution doesn't display e-mails after upgrade to Gnome 2.6

2004-04-07 Thread freebsd
Hi all,

I've just upgraded my FreeBSD 5.2-CURRENT box to Gnome 2.6. Something has gone wrong, 
for Evolution 1.4.6_1 doesn't display my e-mails. It does recognize my mboxes, it does 
display the treeview with my folders, however the panel that should be listing the 
messages is empty. I guess there is something wrong with some package(s) used by 
Evolution. Any ideas of how to fix this?

TIA, and regards,

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


very long boot sshd

2004-04-07 Thread RazorOnFreeBSD
Hello,

I am actually trying to fix my computer for network problems and so I often reboot. 
But each reboot is a real pain I don't know why the system loading is blocking on 
Starting sshd

Any idea ? plz.

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


Re: HEADS UP: GNOME 2.6 released!

2004-04-07 Thread Jesse Sheidlower
On Tue, Apr 06, 2004 at 05:40:56PM -0400, Joe Marcus Clarke wrote:
 On Tue, 2004-04-06 at 00:13, Jesse Sheidlower wrote:
  
  I'm running XFree86 4.4, which I installed from binaries on
  the XFree86 site. This is working fine for me, except that I
  often have to skip portinstall and use make install from the
  relevant directory, because of all the dependencies on 4.3
  versions of things. (Using -O to force never seems to work;
  it'll build but then hang on the Uninstalling the old version
  stage.)
[...]
  Is there any way I can upgrade to GNOME 2.6, or do I have to
  wait until XFree86 4.4 makes it into Ports, whenever that is?
 
 You'll have to do it manually, but you're most likely going to run into
 problems.  One thought might be to install the ports version of X, then
 upgrade GNOME, then reinstall XF86 4.4.

Thanks! A variant of that did the trick, namely to delete the 4.4 
install, portinstall the Server-snap version, do the GNOME update,
and realize that my needed driver is provided in 4.3.99, and I'm 
good to go.

I am, however, having a problem with the login session. When I
try to log in, I instantly get an error message with Your 
session only lasted less than 10 seconds; I can use the Failsafe
GNOME session without a problem, and .xsession-errors tells me
that 

  /usr/libexec/ld-elf.so.1: Shared object libutil.so.3 not found

I do have libutil.so.4 installed; is there some different package
I need that provides 3? I did reinstall gnomesession, but the
result was the same.

Thanks! I googled for this but no one else seems to have reported
the problem.

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


Re: Postfix - Sasl - mysql

2004-04-07 Thread Drew Tomlinson
On 4/7/2004 12:32 PM Brent Wiese wrote:

Brent Wiese wrote:
   

I (tried) following the instructions at:
http://high5.net/howto/
I have postfix virtual users working in MySQL. I have 
 

courier imap/pop3
   

working w/ virtual users. I wanted to add SMTP auth.

I added the cyrus-sasl2 port (also chose support for it in 
 

postfix port)
   

WITH_MYSQL.

No go.

I added the following lines to 
 

/usr/local/lib/sasl2/smtpd.conf (found this
   

in another faq/tutorial, so it may be incorrect)

sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql 
 

  sql_engine: mysql
  mech_list: login plain crammd6 digestmd5
   

sql_user: postfix-user
sql_passwd: thepassword
sql_database: postfix
sql_statement: SELECT password FROM mailbox WHERE username = '%u'
sql_verbose: yes
 

That works for me..
   

No go. Still getting no user in db in /var/log/maillog.

I get:
postfix/smtpd[23761]: sql_select option missing
postfix/smtpd[23761]: auxpropfunc error no mechanism available
In /var/log/messages
I turned on logging in mysql and it didn't log any queries.

Any other suggestions?
 

Have you verified that smtpd_sasl_local_domain = and not 
smtpd_sasl_local_domain =$myhostname as shown in the how-to?  Although 
I wasn't using MySQL, I still got the no user in db and no secret in 
database messages you were getting.  It stumped me for weeks until I 
stumbled across the Postfix bug tidbit on the web.  I'd be real curious 
to know if that solves your problems.

Cheers,

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


Re: unable to use BOOT EASY to boot linux

2004-04-07 Thread Gary W. Swearingen
Tadimeti Keshav [EMAIL PROTECTED] writes:

 hi all.
 I added a 2 GB linux disk as a slave and installed
 Mandrake Linux with LILO on the root partition of
 linux.

 I am trying configure Boot Easy to boot linux.
 Since FreeBSD occupies all of the 1st HD, should I
 install a STANDARD boot loader on first or on both
 Hard disks.

I'm not exactly sure what Boot Easy is, but the standard FreeBSD MBR
(as installed by boot0cfg or sysinstall) can only boot another boot
record and only those on that disk's primary partitions or the MBR of
another disk.  If you're going to have BootEasy on the first disk, you
probably want LILO in the second disk's MBR, but you could put a
second BootEasy (or other boot loader) in the second disk's MBR and
put LILO in one of the second disk's primary partitions.  LILO works
(or used to) even on an extended primary partition which has extended
secondary (AKA logical) partitions.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: your mail

2004-04-07 Thread Kris Kennaway
On Tue, Apr 06, 2004 at 04:56:02PM -0700, Joshua Lokken wrote:
 Hello all,
 
 Please, inform me if I have been removed from the mailing list.
 
 I am receiving mail from the other lists I subscribe to, but not
 freebsd-questions.  I understand that this could be due to a
 misconfiguration on my part, but Exim logs show no evidence of 
 false rejections, or that there is any other problam on my end.
 Note:  I admit, this could possibly be the result of my incompetence.
 
 I don't seem to have trouble sending to the list, just not receiving,
 not one mail today.  When I try to resubscribe, mailman
 (correctly) tells me I'm already subscribed.  I've been pulling my hair
 out all day.  Please, I'm not sure where to continue tracking down this
 problem.  Any advice would be most welcome.  Thank you.

You can check and modify your own subscription status on
http://lists.freebsd.org.

Kris


pgp0.pgp
Description: PGP signature


Re: Vinum + new disk for mirror

2004-04-07 Thread Rob Ellis
Just a follow up on my recent vinum disk replacement question...
I have a two disk mirror and one of the disks died; I'd asked if
I could use dd to copy the good disk to a replacement disk and
was being persistent about whether that would work or not. %-)
I didn't do that (dd).

Instead I followed Greg Lehey's advice and the instructions here:

  http://www.vinumvm.org/vinum/replacing-drive.html

and it all went fine. There's a note on that page about a
a bug [that] will cause the state to be incorrect, but
I didn't run into it. My steps were:

  - install the new disk
  - fdisk it with /stand/sysinstall
  - edit the partition table with disklabel to match the 
partitions on the good disk
  - create a config file -- vinum.newdisk:
   drive vinumdisk2 device /dev/ad2s1d
  - run 'vinum create vinum.newdisk'
  - then 'vinum start data.p1.s0' # etc...

Worked great.

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


Re: HEADS UP: GNOME 2.6 released!

2004-04-07 Thread Joe Marcus Clarke
On Wed, 2004-04-07 at 19:36, Jesse Sheidlower wrote:
 On Tue, Apr 06, 2004 at 05:40:56PM -0400, Joe Marcus Clarke wrote:
  On Tue, 2004-04-06 at 00:13, Jesse Sheidlower wrote:
   
   I'm running XFree86 4.4, which I installed from binaries on
   the XFree86 site. This is working fine for me, except that I
   often have to skip portinstall and use make install from the
   relevant directory, because of all the dependencies on 4.3
   versions of things. (Using -O to force never seems to work;
   it'll build but then hang on the Uninstalling the old version
   stage.)
 [...]
   Is there any way I can upgrade to GNOME 2.6, or do I have to
   wait until XFree86 4.4 makes it into Ports, whenever that is?
  
  You'll have to do it manually, but you're most likely going to run into
  problems.  One thought might be to install the ports version of X, then
  upgrade GNOME, then reinstall XF86 4.4.
 
 Thanks! A variant of that did the trick, namely to delete the 4.4 
 install, portinstall the Server-snap version, do the GNOME update,
 and realize that my needed driver is provided in 4.3.99, and I'm 
 good to go.
 
 I am, however, having a problem with the login session. When I
 try to log in, I instantly get an error message with Your 
 session only lasted less than 10 seconds; I can use the Failsafe
 GNOME session without a problem, and .xsession-errors tells me
 that 
 
   /usr/libexec/ld-elf.so.1: Shared object libutil.so.3 not found
 
 I do have libutil.so.4 installed; is there some different package
 I need that provides 3? I did reinstall gnomesession, but the
 result was the same.

Looks like you installed an out-of-date package.  You'll have to use ldd
to find the binary linked to libutil.so.3, use pkg_info -W to find out
which port installs it, then rebuild that port.

Joe

 
 Thanks! I googled for this but no one else seems to have reported
 the problem.
 
 Jesse Sheidlower
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  [EMAIL PROTECTED]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


signature.asc
Description: This is a digitally signed message part


Re: DUMP is slow? (5.2.1)

2004-04-07 Thread Greg 'groggy' Lehey
On Wednesday,  7 April 2004 at 16:24:17 -0500, J.D. Bronson wrote:
 I am dumping about 284MB...

 Now here is what I did...

 1. identical drives on the same Adaptec 29160 controller
 2. Each drive is sliced and formatted the same
 3. I ran 'tunefs -n enable'
 4. Mounted drive 2 as /mntg


 Then as root do this:
 # dump -C 32 -0Lf - /home | ( cd /mntg ; restore xf - )
   DUMP: Date of this level 0 dump: Wed Apr  7 16:17:13 2004
 ..
   DUMP: finished in 45 seconds, throughput 6288 KBytes/sec

 ..that seems a bit slow for SCSI

You're creating a whole lot of files in the process.  Without the
restore it would probably be faster.

 # ufsdump -0f - /export/home | ( cd /mnt6 ; ufsrestore xf - )
 ...
   DUMP: 571006 blocks (278.81MB) on 1 volume at 22362 KB/sec

 That speed seems more reasonable.

 Is there any reason that the FreeBSD machine is so much slower?

Different hardware, I would imagine.

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


pgp0.pgp
Description: PGP signature


Re: pseudo-device vn

2004-04-07 Thread Chris Pressey
On Wed, 7 Apr 2004 15:12:21 +0200 (MET DST)
Mipam [EMAIL PROTECTED] wrote:

 On Wed, 7 Apr 2004, Jerry McAllister wrote:
   Should i just put
   pseudo-device vn
   in the kernel config file to make this work?
 
  You didn't say which version of FreeBSD you were using.
  In versions  4.xxx and earlier I think this will work.
  It is what I have done.   You should be able to find it
  in the LINT file.
 
  But, starting with 5.0 I think it may have been changed.
 
 I am using 5.2.1-p4, i also didnt see this in LINT.
 Any hints?

In 5.x, `vn' was replaced by `md'.  (Sorry, that's about all I know
about it.)

 Bye,
 
 Mipam.

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


Re: Linux_Base-8 install

2004-04-07 Thread Phillip White

Did anyone reply to this person with respect to the below?  I've tried
e-mailing him directly but am getting a failure in doing so.

I have the exact same set up as he and am experiencing the same.


Thursday, November 27, 2003, 12:04:43 PM, you wrote:

MP I'm running 4.7 Release on one of my systems and am trying to install the
MP linux_base-8 from ports. It's failing with the following error:

===   linux_base-8-8.0_1 depends on executable: rpm - found
MP kern.fallback_elf_brand: 3 - 3
MP glibc-common-2.3.2-4.80.6.i386.rpm
MP /usr/sbin/build-locale-archive: cannot lock new archive: Invalid argument
MP execution of glibc-common-2.3.2-4.80.6 script failed, exit status 1
MP *** Error code 1

MP Has anyone run into this before?

MP --

MP Micheal Patterson
MP Network Administration
MP Cancer Care Network
MP 405-917-0600


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


-- 
Best regards,
 Phillipmailto:[EMAIL PROTECTED]

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


Gnome 2.6 on FreeBSD 4.8?

2004-04-07 Thread Frank Knobbe
Greetings,

I noticed that Gnome 2.6 is not supported on FBSD 4.8. Has anyone tried
running the upgrade script on 4.8 yet? What is the reason it is not
supported? (Other than forcing folks to upgrade...) Are there any
workarounds or hacks to get Gnome 2.6 play nicely with 4.8?

Thanks,
Frank


-- 
Warning at the Gates of Bill:  
Abandon hope, all ye who press ENTER here...



signature.asc
Description: This is a digitally signed message part


Re: HEADS UP: GNOME 2.6 released!

2004-04-07 Thread Jesse Sheidlower
On Wed, Apr 07, 2004 at 08:49:06PM -0400, Joe Marcus Clarke wrote:
 On Wed, 2004-04-07 at 19:36, Jesse Sheidlower wrote:
  
  I am, however, having a problem with the login session. When I
  try to log in, I instantly get an error message with Your 
  session only lasted less than 10 seconds; I can use the Failsafe
  GNOME session without a problem, and .xsession-errors tells me
  that 
  
/usr/libexec/ld-elf.so.1: Shared object libutil.so.3 not found
  
  I do have libutil.so.4 installed; is there some different package
  I need that provides 3? I did reinstall gnomesession, but the
  result was the same.
 
 Looks like you installed an out-of-date package.  You'll have to use ldd
 to find the binary linked to libutil.so.3, use pkg_info -W to find out
 which port installs it, then rebuild that port.

Thanks. In the meantime I had discovered that it was sessreg
causing the problem, but sessreg wasn't associated with any of
my installed packages (it must have come from my previous
binary install of 4.4, which I thought I had
deleted). Reinstalling XFree86-4-Server-snap did not help, so
I poked around a little more, installed XFree86-4-clients
(which I had previously got along without), and now I seem to
be all set.

I hope this doesn't create problems in the future, but since for now
my package database is happy and X works, so I guess it's OK.

Thank you for your help.

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


Re: Gnome 2.6 on FreeBSD 4.8?

2004-04-07 Thread Joe Marcus Clarke
On Wed, 2004-04-07 at 21:20, Frank Knobbe wrote:
 Greetings,
 
 I noticed that Gnome 2.6 is not supported on FBSD 4.8. Has anyone tried
 running the upgrade script on 4.8 yet? What is the reason it is not
 supported? (Other than forcing folks to upgrade...) Are there any
 workarounds or hacks to get Gnome 2.6 play nicely with 4.8?

Mainly threading issues were causing problems, and there just wasn't
enough time nor desire to work through them.  Since 4.10 is right around
the corner, we decided to drop 4.8 support.

Joe

 
 Thanks,
 Frank
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Fun with IPSEC and racoon - 5.2.1

2004-04-07 Thread Richard Stevenson
Hi

I've been having some fun with IPSEC, owing to the need to put in a VPN
between two offices.  At the far end, they've got a PIX, and I was pretty
sure I could do this end with one of out FreeBSD boxen.  As an experiment,
I set up IPSEC (with keying provided by Racoon) between my (linux) desktop
and that FreeBSD machine.  That worked Just Fine.

The problem comes in when I look at upgrading said BSD system, because
it's running 5.0 (which doesn't get security patches any more).  I
installed a 5.2.1 system onto another box and tried setting up IPSEC with
that.  If I use fixed keys, it just goes, but I want to use IKE.  I set up
Racoon, copied the configuration files from the 5.0 system (just changing
the IP addresses, where necessary, in /etc/ipsec.conf and
/usr/local/etc/racoon/psk.txt - I'm using remote anonymous and sainfo
anonymous for the policy side), and it all falls apart.

Racoon on the FreeBSD box is seeing the requests from the Linux box, and
is even trying to reply (it finds the psk fine, and has matching
policies... I just didn't want to send a 200kB message to the list):

2004-04-08 13:03:22: DEBUG: isakmp.c:233:isakmp_handler(): ===
2004-04-08 13:03:22: DEBUG: isakmp.c:234:isakmp_handler(): 248 bytes message received 
from 192.168.64.11[500]
2004-04-08 13:03:22: DEBUG: plog.c:193:plogdump():
f0d2ae69 5ade7e65   01100400  00f8 0438
0001 0001 002c 01010001 0024 0101 800b0001 800c0708
80010003 800e0080 80030001 80020002 80040002 0a84 90b40fd2 73a3bde7
0acda739 d25f5e4f 2de19c28 8706b90e 003124a8 a79f623a 2e8b4e87 0f530078
a764c19f da248b1a 7ca14ee2 d69eea3e 704ae549 ba5bf17c e500f3b4 d6d276a1
2d28113d 15126a7c d5c88dae 51677cc0 a9163f94 ab85e40c 07018d52 5a26e94e
bb907a98 60a2ce4e d650041e 7ba4f24b 8d04162f ecadc334 0514 e8b263da
7af58acd 53483a50 a1eeac28 000c 011101f4 c0a8400b
2004-04-08 13:03:22: DEBUG: sockmisc.c:421:sendfromto(): sockname 192.168.64.57[500]
2004-04-08 13:03:22: DEBUG: sockmisc.c:423:sendfromto(): send packet from 
192.168.64.57[500]
2004-04-08 13:03:22: DEBUG: sockmisc.c:425:sendfromto(): send packet to 
192.168.64.11[500]
2004-04-08 13:03:22: DEBUG: sockmisc.c:570:sendfromto(): 1 times of 292 bytes message 
will be sent to 192.168.64.11[500]
2004-04-08 13:03:22: DEBUG: plog.c:193:plogdump():
f0d2ae69 5ade7e65 3985e317 abd11318 01100400  0124 0438
0001 0001 002c 01010001 0024 0101 800b0001 800c0708
80010003 800e0080 80030001 80020002 80040002 0a84 9768f72c 8fde3908
8d3be8f3 40dc9a91 7b325db4 c01b86d1 716c9204 00f8de18 889d4e17 b3bafb06
e78464e7 3069fdb7 205a1b00 ffc2723e 71041732 aac71674 e7a912bc 100e8085
d76a68c3 b37b726e eda22ef9 970816fa 74ada197 f75ea520 0c07ccc9 6e5d0f18
02f62bc1 09b04085 e96e14ec d1cb304b 1debaa26 c419177d 0514 9cd6bc28
574b425c 3b81d9ba 9e82df8c 080c 011101f4 c0a84039 0d18 114f7a51
920f11e0 a2615a22 2ba6d7c2 5fdbfedc 0014 7003cbc1 097dbe9c 2600ba69
83bc8b35
2004-04-08 13:03:22: NOTIFY: isakmp.c:267:isakmp_handler(): the packet is 
retransmitted by 192.168.64.11[500].

The problem is that the reply packet never gets onto the wire - tcpdump on
the FreeBSD box shows absolutely nothing going back out again.  My
firewall configuration is open:

gaspra: ipfw list
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to any
65535 deny ip from any to any

I just installed Racoon from ports this morning, so that's recent, at
least:

/usr/ports/distfiles/racoon-20040401a.tar.gz

Is there another part of this brick wall I should be bashing my head
against?  Can anyone enlighten me, or is there perhaps a better place to
ask questions about the KAME side of things?

Many thanks

Richard


-- 
Richard Stevenson

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


RE: Postfix - Sasl - mysql

2004-04-07 Thread Brent Wiese
 I used those instructions, although I modified some for my specific
 configuration.  the username field in my database is
 [EMAIL PROTECTED] however. 

Yes, that is how mine is.

 I had to create a 
 plain-text password

This is what I want to avoid. I think this is what the patch listed on the
howto.net page is supposed to fix, but it doesn't apply right for me.

 Here's my working smtpd.conf:
 
 # smtpd.conf
 pwcheck_method: auxprop
 auxprop_plugin: sql
 mech_list: plain login
 
 sql_engine: mysql
 sql_hostnames: localhost
 sql_user: postfix-user
 sql_passwd: thepassword
 sql_database: postfix
 sql_select: select pass_plain from mailbox where username='[EMAIL PROTECTED]'

Once I cleaned up my syntax (per another post, thanks!) while comparing to
this, I'm now able to check the DB correctly (I turned on MySQL logging to
make sure), except for the whole encrypted vs plaintext thing.

If I use PAM, is that going to break courier-IMAP?

Anyone succesfully patched a recent ( = .17) cyrus-sasl2 to use encrypted
passwords in MySQL?

Thanks for all the help, I think I'm nearly there. :)

Brent


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


jail setup

2004-04-07 Thread dave
Hello,
I'm setting up a jail under 5.2.1 to run pure-ftpd in. I did the
following:
cvsupped the source
cd /usr/src
make world DESTDIR=/usr/jail/ftp
cd etc
make distribution DESTDIR=/usr/jail/ftp
then linked /dev/null to kernel inside the jail area.
I'm following an onlamp article at:
and understood that sendmail and perl and some other items would be
available. When i do a pkg_info from within the jail there aren't any
packages. did i miss a step? Is there something i should have installed to
make this go easier?
Thanks.
Dave.

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


Re: unintelligible questions from pkgdb -F [ part of 5.2 portupgrade hairball ]

2004-04-07 Thread Jay Moore
On Wednesday 07 April 2004 05:47 pm, Matthew Seaman wrote:

  Shared object libintl.so.5 not found

 This is a FAQ.

 The gettext port was updated, and the ABI version number on it's
 libintl.so shlib was incremented to libintl.so.6, but you've still got
 installed programs that are linked against the now removed
 libintl.so.5

 And the ritually intoned response is -- all together now --

 # portupgrade -fr gettext

 which will cause a large number of your ports to be recompiled, but
 restore your system to full operation.

I did this a couple of days ago... perhaps it was undone.

At any rate, thank you again for your help; I'll post the results to this 
thread when it's completed (the process began at 10:25 PM CDST).

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


  1   2   >