question

2004-10-04 Thread Dmitry Evteev
Greetings,
As to me to make so that to ssh those who is registered in hosts.allow 
could be connected only
Now in mine hosts.allow:
sshd: MYIP: allow
sshd: ALL: deny

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


Hello FreeBSD Team I want ask.

2004-10-04 Thread Nurudin Jauhari
I try to install my program via Ports, but everythime
I try to use command

make install

always get this error?
--
Dependency warning: used OpenSSL version contains
known vulnerabilities
Please update or define either WITH_OPENSSL_BASE or
WITH_OPENSSL_PORT
*** Error code 1

Stop in /usr/ports/mail/mutt.
--

What should I do to make my installation run well
and this error can handled

Thanks

Nurudin Jauhari

=
::
Ketika kamu lahir, kamu menangis
dan semua orang di sekeliling kamu tersenyum.
Hiduplah dengan hidupmu, jadi ketika kamu meninggal,
kamu satu-satunya yang tersenyum dan semua orang
di sekeliling kamu menangis.

.:: My Blogs 





__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


strange moment in chroot environment

2004-10-04 Thread Sergey Velikanov [UzPAK]
Hi

I use pw in chroot environment, everything is work, but pw
always says that unable to parse auth.conf, I've discovered that
error appear when pw call properties_read from libutil, I can't
understand why? I run strace twice, in chroot environment and normal
environment I discover next difference ( also difference I soo when
run proftpd in chroot and normal environments)

Could anybody help me to solve this problem.

 This is chroot

open(1
, O_RDONLY) = -1 ENOENT (No such file or directory)
issetugid(0x280b1434) = 0
open( %e %H:%M:%S %Z %Y, O_RDONLY) = -1 ENOENT (No such file or directory)
fstat(3, {st_mode=S_IFBLK|S_ISUID|S_ISGID|0440, st_rdev=makedev(108, 1935999081), 
...}) = 0 
write(3, 2004-09-27 11:47:02 [root:groupa..., 47) = 47 
stat(/etc/nsswitch.conf, {st_mode=01, st_size=42949672969, ...}) = 0 
open(/etc/group, O_RDONLY) = 4 
fstat(4, {st_mode=057516, st_size=8511913699829643361, ...}) = 0 
lseek(4, 0, SEEK_CUR) = 0 
lseek(4, 0, SEEK_SET) = 0 
read(4, # $FreeBSD: src/etc/group,v 1.28..., 16384) = 738 
close(4) = 0 
stat(/etc/nsswitch.conf, {st_mode=01, st_size=42949672969, ...}) = 0 
stat(/etc/nsswitch.conf, {st_mode=01, st_size=42949672969, ...}) = 0 
gettimeofday({7, 7}, NULL) = 0 
gettimeofday({17, 18}, NULL) = 0 
access(/bin/sh, X_OK) = 0 
lstat(/etc/login.conf, {st_mode=S_IFBLK|S_ISGID|S_ISVTX|0145, st_rdev=makedev(99, 
543883361), ...}) = 0 
stat(: %m, {st_mode=0154162, st_size=18446700587165669490, ...}) = 0 
open(r^E
 
fcntl(4, F_SETFD, FD_CLOEXEC) = 0 
read(4, [EMAIL PROTECTED]..., 260) = 260 
lseek(4, 32768, SEEK_SET) = 32768 
read(4, \16\0\371?\333=\323=\262;\255;\2179\2139n7h7I5B5#5\r5\356..., 16384) = 16384 
close(4) = 0 
open(/etc/auth.conf, O_RDONLY) = 4 
read(4, \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 4096) = 231 
read(4, , 4096) = 0 
close(4) = 0 
gettimeofday({4294967295, 4294967295}, NULL) = 0 
socket(PF_UNIX, SOCK_DGRAM, 0) = 4 
fcntl(4, F_SETFD, FD_CLOEXEC) = 0 
connect(4, {sa_family=0xff /* AF_??? */, sa_data=-./012345\377\377\377\377\377}, 
106) = -1 ENOENT (No such file or directory 
connect(4, {sa_family=0x32 /* AF_??? */, sa_data=.5.2.1 2001/05}, 106) = 0 
sendto(4, /24 12:20:02 markm Exp $\0$1$\0$\0\0..., 74, 0, NULL, 0) = 74 
stat(/etc/nsswitch.conf, {st_mode=01, st_size=42949672969, ...}) = 0 
stat(/etc/nsswitch.conf, {st_mode=01, st_size=42949672969, ...}) = 0 
fork() = 1649 
--- SIGCHLD (Child exited) --- 


 This is normal
open(1
, O_RDONLY) = 4
fstat(4, {st_mode=035115, st_size=7309429057448327794, ...}) = 0
read(4, ectory\0No such process\0Interrupt..., 7944) = 56
close(4) = 0 
fstat(3, {st_mode=S_IFCHR|0155, st_rdev=makedev(111, 1953824815), ...}) = 0 
write(3, 2004-09-27 10:44:44 [root:groupa..., 4 = 48 
stat(/etc/nsswitch.conf, {st_mode=01, st_size=42949672969, ...}) = 0 
open(/etc/group, O_RDONLY) = 4 
fstat(4, {st_mode=057516, st_size=8511913699829643361, ...}) = 0 
lseek(4, 0, SEEK_CUR) = 0 
lseek(4, 0, SEEK_SET) = 0 
read(4, # $FreeBSD: src/etc/group,v 1.28..., 16384) = 443 
close(4) = 0 
stat(/etc/nsswitch.conf, {st_mode=01, st_size=42949672969, ...}) = 0 
stat(/etc/nsswitch.conf, {st_mode=01, st_size=42949672969, ...}) = 0 
gettimeofday({7, 7}, NULL) = 0 
gettimeofday({17, 18}, NULL) = 0 
access(/bin/sh, X_OK) = 0 
lstat(/etc/login.conf, {st_mode=S_IFBLK|S_ISGID|S_ISVTX|0145, st_rdev=makedev(99, 
543883361), ...}) = 0 
stat(: %m, {st_mode=0154162, st_size=18446700587165669490, ...}) = 0 
open(r.
 
fcntl(4, F_SETFD, FD_CLOEXEC) = 0 
read(4, [EMAIL PROTECTED]..., 260) = 260 
lseek(4, 32768, SEEK_SET) = 32768 
read(4, \16\0\371?\333=\323=\262;\255;\2179\2139n7h7I5B5#5\r5\356..., 16384) = 16384 
close(4) = 0 
open(/etc/auth.conf, O_RDONLY) = 4 
read(4, \16\30:`\213\16\236l\212\36\260\301w\25\327\'K1\275\332..., 4096) = 231 
read(4, , 4096) = 0 
close(4) = 0 
stat(/etc/nsswitch.conf, {st_mode=01, st_size=42949672969, ...}) = 0 
stat(/etc/nsswitch.conf, {st_mode=01, st_size=42949672969, ...}) = 0 
fork() = 1279 
--- SIGCHLD (Child exited) ---  
 


Sergey Velikanov
Technical  Division
National Data Network UzPAK
tel +(99871) 114-6326
e-mail:  [EMAIL PROTECTED]
http://www.uzpak.uz/


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


Re: Hello FreeBSD Team I want ask.

2004-10-04 Thread Jens Holmqvist
you need a new openssl version either install the port version or
update your install


On Sun, 3 Oct 2004 23:40:59 -0700 (PDT), Nurudin Jauhari
[EMAIL PROTECTED] wrote:
 I try to install my program via Ports, but everythime
 I try to use command
 
 make install
 
 always get this error?
 --
 Dependency warning: used OpenSSL version contains
 known vulnerabilities
 Please update or define either WITH_OPENSSL_BASE or
 WITH_OPENSSL_PORT
 *** Error code 1
 
 Stop in /usr/ports/mail/mutt.
 --
 
 What should I do to make my installation run well
 and this error can handled
 
 Thanks
 
 Nurudin Jauhari
 
 =
 ::
 Ketika kamu lahir, kamu menangis
 dan semua orang di sekeliling kamu tersenyum.
 Hiduplah dengan hidupmu, jadi ketika kamu meninggal,
 kamu satu-satunya yang tersenyum dan semua orang
 di sekeliling kamu menangis.
 
 .:: My Blogs
 
 __
 Do you Yahoo!?
 New and Improved Yahoo! Mail - 100MB free storage!
 http://promotions.yahoo.com/new_mail
 ___
 [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]


ACL and write permission

2004-10-04 Thread Sergey Velikanov [UzPAK]
Hi again

I can't add write permission via ACL

mkdir /dir/docs 
chown user:user /dir/docs 
setfacl -n -dm u::rwx,g::rx,o::,u:user2:rwx,m::rwx /dir/docs 
setfacl -m u:user2:rwx /dir/docs 
chmod 750 /dir/docs 

I create file in /dir/docs, but user2 have only read permission,
getfacl says that #efective rights r--, how should i set ACL to
/dir/docs if I want give write permission to user2


Sergey Velikanov
Technical  Division
National Data Network UzPAK
tel +(99871) 114-6326
e-mail:  [EMAIL PROTECTED]
http://www.uzpak.uz/


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


PXE booting 5.3-BETA6 kernel message issues

2004-10-04 Thread Chris Elsworth
Hello,

I did post this to -current a few days ago, but having got no
response, perhaps here is a better place for it.

I've also noted a few previous attempts to get an answer to this
question on freebsd-questions in January and February, but nobody
replied. This doesn't seem to be an isolated case..

I've been trying to get 5.3-BETA6 PXE booting; I don't want anything
special at the moment, just an NFS mounted root with tools available
to perform disaster recovery etc.

I've got the kernel transferred via TFTP and an mfsroot. If I use the
mfsroot.flp from a release I eventually see sysinstall pop up, so it
looks like everything is working, with one exception - the last
message I see before sysinstall appears is the acpi.ko loading
notification. Where are all the kernel messages going? It makes it
quite difficult to construct my own mfsroot that just gives me a
prompt when I can't see what's going on :)

I've verified that the console is set to vidconsole in the loader; I
tried comconsole and attaching a serial console also, same result, no
messages.
Setting boot_verbose didn't change anything. I'm not sure what else to
try. Does anyone have any ideas?

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


Re: Starting apache at boot with SSL.

2004-10-04 Thread Gary Dunn
On Sat, 2004-10-02 at 12:08, Remko Lodder wrote:
 Eric Crist wrote:
  
  Remko,
  
  My bad.  I'm using apache 1:
 
 Ah, that's a bit of a different story,
 
 Do you use the next generation startup script?
 If so then it would have had the following options
 available to you:
 
 apache_enable=YES (which you have)
 apache_flags=-DSSL (which you do not yet have).
 
 This should work according to
 /usr/ports/www/apache13-modssl/files/rcng.sh
 
 Cheers!
 
  
  grog# /usr/local/sbin/httpd -v
  Server version: Apache/1.3.31 (Unix)
  Server built:   Jul 13 2004 17:51:03
  
  I have apache_enable=YES in /etc/rc.conf.  I would assume I use 
  apachessl_enable=YES?  Thanks.

I chose to protect my SSL cert with a passphrase. This makes automatic
startup at boot impossible. I use FBSD 4.10, and apache would normally
start via a script in /usr/local/etc/rc.conf. I just made sure there was
no .sh script for apache, and start it myself using apachectl startssl.
The problem with this setup is that if the server reboots in the middle
of the night the web server does not come on, but this almost never
happens anyway. You have to balance security with convenience to fit
your situation, and I chose security.


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


Re: Hello FreeBSD Team I want ask.

2004-10-04 Thread Jens Holmqvist
well either you update the base
build and install new world which you can read on in the handbook or
you install openssl port


On Sun, 3 Oct 2004 23:49:25 -0700 (PDT), Nurudin Jauhari
[EMAIL PROTECTED] wrote:
 
 --- Jens Holmqvist [EMAIL PROTECTED] wrote:
 
  you need a new openssl version either install the
  port version or
  update your install
 
 what must update? openssl or the program??
 
 Thanks
 
 
 
 
 
 
  On Sun, 3 Oct 2004 23:40:59 -0700 (PDT), Nurudin
  Jauhari
  [EMAIL PROTECTED] wrote:
   I try to install my program via Ports, but
  everythime
   I try to use command
  
   make install
  
   always get this error?
   --
   Dependency warning: used OpenSSL version contains
   known vulnerabilities
   Please update or define either WITH_OPENSSL_BASE
  or
   WITH_OPENSSL_PORT
   *** Error code 1
  
   Stop in /usr/ports/mail/mutt.
   --
  
   What should I do to make my installation run well
   and this error can handled
  
   Thanks
  
   Nurudin Jauhari
  
   =
   ::
   Ketika kamu lahir, kamu menangis
   dan semua orang di sekeliling kamu tersenyum.
   Hiduplah dengan hidupmu, jadi ketika kamu
  meninggal,
   kamu satu-satunya yang tersenyum dan semua orang
   di sekeliling kamu menangis.
  
   .:: My Blogs
  
   __
   Do you Yahoo!?
   New and Improved Yahoo! Mail - 100MB free storage!
   http://promotions.yahoo.com/new_mail
   ___
   [EMAIL PROTECTED] mailing list
  
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
 
 
 
 =
 ::
 Ketika kamu lahir, kamu menangis
 dan semua orang di sekeliling kamu tersenyum.
 Hiduplah dengan hidupmu, jadi ketika kamu meninggal,
 kamu satu-satunya yang tersenyum dan semua orang
 di sekeliling kamu menangis.
 
 .:: My Blogs
 
 ___
 Do you Yahoo!?
 Declare Yourself - Register online to vote today!
 http://vote.yahoo.com

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


RE: lpd remote printing

2004-10-04 Thread Ted Mittelstaedt

You need to define a printcap entry on .1 that does no processing, then
do the print processing on the .2 system (apsfilter) and send the binary
result to the no-processing queue on the .1 system.

I don't know what your sending from .2 to .1, probably raw postscript -
which in my experience is usually misinterpreted when it's not processed
on the machine it's generated on.

I know that in theory you should be able to send postscript jobs from any
bsd or even windows systems to a central server that converts the postscript
to whatever binary-speak that the HP1300 uses - but in practice I've never
got this to work 100% all the time.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Incoming Mail
 List
 Sent: Sunday, October 03, 2004 6:44 PM
 To: [EMAIL PROTECTED]
 Subject: lpd remote printing



 I have two FreeBSD v5.2.1 systems and a Windows XP system.  The first FBSD
 system (192.168.1.1) is acting as the print server and using apsfilter as
 the filtering software.  The Windows XP box prints to the .1
 system through
 SAMBA.  Both the FBSD .1 server and the Windows box print fine.  Text is
 good, images are good, everything is good.

 The problem I'm having is with printing from the second FBSD system which
 I'll identify as 192.168.1.2.  The FBSD .2 system is sending print jobs to
 the FBSD .1 system using remote lpd printing.  The jobs are
 making it to the
 remote FBSD system (192.168.1.1), but the text and images are about 50%
 larger than what is printed from the FBSD .1 system itself, or the windows
 XP system.

 Can anyone help me resolve this problem?  My printcap entries are
 as follows:

 192.168.1.1 PRINTCAP ENTRY (the FBSD print server)
 --
 HP1300|PS;r=600x600;q=medium;c=full;p=letter;m=auto:\
 :lp=/dev/lpt0:\
 :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
 :sd=/var/spool/lpd/HP1300:\
 :lf=/var/spool/lpd/HP1300/log:\
 :af=/var/spool/lpd/HP1300/acct:\
 :mx#0:\
 :sh:


 192.168.1.2 PRINTCAP ENTRY (the other FBSD machine)
 ---
 HP1300:lp=:rm=192.168.1.1:rp=HP1300:sd=/var/spool/lpd/qdir


 By the way, the HP1300 is the only printer attached to the FBSD .1 machine
 and there are no other printers on either of the other systems.

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


Issues with 2 instances of NATD

2004-10-04 Thread Joseph Begumisa
I want traffic from one machine on the LAN with ip address 169.254.0.18 to 
go out through ISP2 and traffic from the rest of the machines on the LAN 
o go through ISP1.  However, traffic from all machines including that one 
goes through ISP1.  Perhaps I'm missing something. Below is my setup and 
configuration details:

   ISP1 ISP2
||
||
212.XX.XX.117   vr0 ||vr1 193.1XX.XXX.162
--
|  BSD GATEWAY   |
--
| fxp0 169.254.0.1
|
 
|   |   |   |   |  LAN 169.254.0.0/24
*default route on BSD Gateway is thru ISP1.
NATD Processes Running:
--
/sbin/natd -f /etc/natd.cf -n vr0
/sbin/natd -f /etc/natd2.cf -n vr1
natd.cf:
---
log yes
deny_incoming   no
use_sockets yes
same_ports  yes
verbose no
port8668
interface   fxp0
unregistered_only no
natd2.cf:

log yes
deny_incoming   no
use_sockets yes
same_ports  yes
verbose no
port8669
interface   fxp0
unregistered_only no
natd configuration in firewall:
--
/sbin/ipfw add 43 divert 8669 all from 169.254.0.18 to any via vr1
/sbin/ipfw add 46 divert 8668 all from any to any via vr0
Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Issues with 2 instances of NATD

2004-10-04 Thread Haulmark, Chris
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Joseph Begumisa
 Sent: Monday, October 04, 2004 2:26 AM
 To: [EMAIL PROTECTED]
 Subject: Issues with 2 instances of NATD
 
 
 I want traffic from one machine on the LAN with ip address 
 169.254.0.18 to 
 go out through ISP2 and traffic from the rest of the machines 
 on the LAN 
 o go through ISP1.  However, traffic from all machines 
 including that one 
 goes through ISP1.  Perhaps I'm missing something. Below is 
 my setup and 
 configuration details:

This is because of your default route which is assigning all the packets
to go through the ISP1.


 
  ISP1 ISP2
   ||
   ||
 212.XX.XX.117 vr0 ||vr1 193.1XX.XXX.162
   --
   |  BSD GATEWAY   |
   --
   | fxp0 169.254.0.1
   |
    
   |   |   |   |   |  LAN 169.254.0.0/24
 
 *default route on BSD Gateway is thru ISP1.
 
 NATD Processes Running:
 --
 
 /sbin/natd -f /etc/natd.cf -n vr0
 /sbin/natd -f /etc/natd2.cf -n vr1
 
 natd.cf:
 ---
 log yes
 deny_incoming   no
 use_sockets yes
 same_ports  yes
 verbose no
 port8668
 interface   fxp0
 unregistered_only no
 
 
 natd2.cf:
 
 log yes
 deny_incoming   no
 use_sockets yes
 same_ports  yes
 verbose no
 port8669
 interface   fxp0
 unregistered_only no
 
 natd configuration in firewall:
 --
 /sbin/ipfw add 43 divert 8669 all from 169.254.0.18 to any via vr1
 /sbin/ipfw add 46 divert 8668 all from any to any via vr0
 
 
 Joseph.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 

--
Chris Haulmark
System Admin. Freelancer
In market for IT corrections for a salary.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Issues with 2 instances of NATD

2004-10-04 Thread Joseph Begumisa
On Mon, 4 Oct 2004, Haulmark, Chris wrote:

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Joseph Begumisa
Sent: Monday, October 04, 2004 2:26 AM
To: [EMAIL PROTECTED]
Subject: Issues with 2 instances of NATD
I want traffic from one machine on the LAN with ip address
169.254.0.18 to
go out through ISP2 and traffic from the rest of the machines
on the LAN
o go through ISP1.  However, traffic from all machines
including that one
goes through ISP1.  Perhaps I'm missing something. Below is
my setup and
configuration details:
This is because of your default route which is assigning all the packets
to go through the ISP1.
i thought about this too.  how then would I go about this to achieve my 
goal?

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


Re: Starting apache at boot with SSL.

2004-10-04 Thread Gary Dunn
On Sun, 2004-10-03 at 21:14, Remko Lodder wrote:
 
  I chose to protect my SSL cert with a passphrase. This makes automatic
  startup at boot impossible. I use FBSD 4.10, and apache would normally
  start via a script in /usr/local/etc/rc.conf. I just made sure there
  was
 
 ehm this is not totally true, you can startup automatically by
 havnig a little script that does the following
 
 #!/bin/sh
 
 echo 'passphrase'

Not secure. My passphrase is not stored in cleartext anywhere except on
a piece of paper in a locked vault. That may be overkill for some
situations, but not mine.



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


NIC and RPM of a hard disk

2004-10-04 Thread Ajesh John
Hi, 

How can I know if there is an in-built NIC in my mother-board?
And How can I know the RPM of my hard disk?, Is it possible to know both
these in FreeBSD?, I'm using FreeBSD5.1 - Release, 

Ajesh John

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


Re: Issues with 2 instances of NATD

2004-10-04 Thread Ruben de Groot
On Mon, Oct 04, 2004 at 10:32:35AM +0300, Joseph Begumisa typed:
 On Mon, 4 Oct 2004, Haulmark, Chris wrote:
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Joseph Begumisa
 Sent: Monday, October 04, 2004 2:26 AM
 To: [EMAIL PROTECTED]
 Subject: Issues with 2 instances of NATD
 
 
 I want traffic from one machine on the LAN with ip address
 169.254.0.18 to
 go out through ISP2 and traffic from the rest of the machines
 on the LAN
 o go through ISP1.  However, traffic from all machines
 including that one
 goes through ISP1.  Perhaps I'm missing something. Below is
 my setup and
 configuration details:
 
 This is because of your default route which is assigning all the packets
 to go through the ISP1.
 
 i thought about this too.  how then would I go about this to achieve my 
 goal?

I believe you need a firewall rule; something like this:

ipfw add fwd ip.of.ISP2 ip from 169.254.0.18 to any

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


NTP Time Server for LAN: Broadcasting or Not?

2004-10-04 Thread W. D.
Hi Folks,

I've got a FreeBSD - NTP time server configured on my small LAN.  Here's
some output:

ntpq pe
 remote   refid   st t when poll reach   delay   offset 
jitter
=== 
+navobs1.wustl.e .USNO.1 u   41   64  333  178.181  -51.694
131.381
+india.colorado. .ACTS.1 u   37   64  377  192.120   84.779 
45.140
*navobs1.oar.net .USNO.1 u  106   64  376  191.750  114.124
110.657
+now.cis.okstate .PSC. 1 u   40   64  377  192.337  118.809 
53.212
 192.168.2.255   .BCST.   16 u-   6400.0000.000
4000.00
 
ntpq rv
status=06e4 leap_none, sync_ntp, 14 events, event_peer/strat_chg,
version=ntpd [EMAIL PROTECTED] Sat Oct  2 18:23:29 CDT 2004 (1),
processor=i386, system=FreeBSD/4.9-RELEASE, leap=00, stratum=2,
precision=-17, rootdelay=190.042, rootdispersion=208.241, peer=46454,
refid=navobs1.oar.net,
reftime=c50b792b.ab128f86  Mon, Oct  4 2004  2:24:27.668, poll=6,
clock=c50b7a1e.c01e94b3  Mon, Oct  4 2004  2:28:30.750, state=4,
offset=-23.313, frequency=-432.127, jitter=165.282, stability=110.396

How does one tell if this server is broadcasting properly?  

How often does it broadcast? 

Is there a way to control how often it broadcasts?

Also, the '*' and '+' tend to disappear and reappear.  Is this
possibly due to network congestion?

Thanks for your assistance!










-- 
Start Here to Find It Fast!™ -
http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


passing origin through nat?

2004-10-04 Thread Anthony Philipp
Hello,
When I log in to my computer from a remote location, it still says that I am coming 
from my nat box. Is it possible to have my nat box forward where I am logging in from? 
I would also like to be able to forward where apache connections are coming from. 
Right now all the logs say is that their coming from my nat box. So if anyone knows 
how to solve this that would be great. Thanks
Anthony Philipp
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIC and RPM of a hard disk

2004-10-04 Thread Mike Woods
Ajesh John wrote:
Hi, 

   How can I know if there is an in-built NIC in my mother-board?
And How can I know the RPM of my hard disk?, Is it possible to know both
these in FreeBSD?, I'm using FreeBSD5.1 - Release, 
 

For the NIC, ifconfig will show all the network devices installed on a 
machine but if you want to confirm if it's onboard..

look at the back of the machine, often above the usb ports.
As for the hard drive the only way to find the rpm is to grab the model 
number and look it up :)

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


softphone impl. with ability to 'play-in mp3 files'

2004-10-04 Thread Richard P. Williamson
Hi,

I'm trying to find a specific software package for a trade-show
demo.

We need to be able to play an MP3 file (actually, a 'book on tape')
across a SIP VoIP link as part of the demo (so we don't have to
embarrass ourselves by holding a one-sided conversation), but I
can't figure out which terms to google to find what I'm looking
for.  

Anyone out there know of a product/pd/sourceforge/package that
will do that (command line, access an mp3 file and play it across
a SIP initiated VoIP link)?

Thanks ia,
rip

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


Error in portupgrading -rR mldonkey

2004-10-04 Thread FreeBsdBeni
Hello,

I'm running FreeBSD 5.2.1-RELEASE-p10 with the sources and ports updated on 
Sun Oct  3. When trying to portupgrade mldonkey, I get the following 
message :

ocamlopt.opt -inline 10-I src/utils/cdk  -I src/daemon/chat  -I 
src/gtk/chat  -I src/utils/lib  -I src/utils/ocamlrss  -I src/utils/xml-light  
-I src/utils/net  -I tools  -I src/daemon/common  -I src/daemon/driver  -I 
src/utils/mp3tagui  -I src/config/unix  -I src/gtk/newgui  -I 
src/gtk/configwin  -Isrc/gtk/okey  -I src/gtk/gpattern  -I icons/tux  -I 
+lablgtk  -I src/gtk/progress  -I src/gtk/im  -I src/gtk/im/yahoo  -I 
src/gtk/im/irc  -I src/networks/gnutella  -I src/networks/gnutella2  -I 
src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  
-I src/networks/donkey -c src/gtk/configwin/configwin_types.ml
/usr/local/lib/ocaml/lablgtk/gPack.cmi is not a compiled interface
gmake: *** [src/gtk/configwin/configwin_types.cmx] Error 2
*** Error code 2

Stop in /usr/ports/net/mldonkey.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade1081.11 
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! net/mldonkey (mldonkey-2.5.21)(compiler error)
---  Packages processed: 0 done, 11 ignored, 0 skipped and 1 failed


I've reinstalled ocaml, which went ok but was the same version as before, but 
still no luck with mldonkey.

Any hints on what goes wrong here ?

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


Help wanted with NAT/IPFW settings (4.10 stable)

2004-10-04 Thread Mike Doyle
Hi
I am using FreeBSD 4.10 stable (cvsupped about a month ago), and I have hit 
a problem
with the firewall configuration and allowing a specific application to 
work. At the moment
all sorts of things work correctly:
	The FreeBSD machine acts as a test-server and firewall when I'm working 
from home
	My WinXP and Apple OSX 10.3.5 desktops can see web pages, send/rcv email
	I use vtun to enable all 3 machines to access my corporate VPN,
	

What is NOT working is iChatAV on the Mac.
The remote person always seems to get a connection timed out error
stating that they are unable to connect to 10.0.1.1 (the ip address of the 
mac on the
INTERNAL network, rather than the fixed IP address of my DSL modem)

The DSL modem thingy contains a primitive firewall, and applies NAT to the 
packets
addressed to the external ethernet address of my FreeBSD computer.
This computer then uses firewall/NAT rules to allow packets in to/out from 
the other
two computers. I can even successfully play Quake III on-line from the 
Windows box,
so the NAT redirection of UDP packets is working there...

If anyone on the list has successfully configured this to work, I will be 
prepared
to send you my rc.firewall and natd.conf files to see if you can help me.

Mike
 === 
Michael Doyle  email: [EMAIL PROTECTED]
Network Administrator  mobile: +353 87 235 7853
Co-operation Ireland  http://www.cooperationireland.org/
Phone: +353-1-661 0588 Fax: +353-1-661 8456
***
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting apache at boot with SSL.

2004-10-04 Thread Remko Lodder

 I chose to protect my SSL cert with a passphrase. This makes automatic
 startup at boot impossible. I use FBSD 4.10, and apache would normally
 start via a script in /usr/local/etc/rc.conf. I just made sure there
 was

ehm this is not totally true, you can startup automatically by
havnig a little script that does the following

#!/bin/sh

echo 'passphrase'

Then there is thingy with the phrase 'builtin' into it. You can change
that so that the previous bin sh script gets invoked and the server
will startup at that point.

For the correct syntax i would need to look into my own configuration
which i cannot access at this moment.

 no .sh script for apache, and start it myself using apachectl startssl.
 The problem with this setup is that if the server reboots in the middle
 of the night the web server does not come on, but this almost never
 happens anyway. You have to balance security with convenience to fit
 your situation, and I chose security.




Cheers!


-- 
Kind regards,

Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
Founder Tienervaders   |[EMAIL PROTECTED]

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


Re: Starting apache at boot with SSL.

2004-10-04 Thread Cristi Tauber
Remko Lodder wrote:

  I chose to protect my SSL cert with a passphrase. This makes automatic
  startup at boot impossible. I use FBSD 4.10, and apache would normally
  start via a script in /usr/local/etc/rc.conf. I just made sure there
  was

 ehm this is not totally true, you can startup automatically by
 havnig a little script that does the following

 #!/bin/sh

 echo 'passphrase'

 Then there is thingy with the phrase 'builtin' into it. You can change
 that so that the previous bin sh script gets invoked and the server
 will startup at that point.

 For the correct syntax i would need to look into my own configuration
 which i cannot access at this moment.

  no .sh script for apache, and start it myself using apachectl startssl.
  The problem with this setup is that if the server reboots in the middle
  of the night the web server does not come on, but this almost never
  happens anyway. You have to balance security with convenience to fit
  your situation, and I chose security.
 
 
 

 Cheers!

 --
 Kind regards,

 Remko Lodder   |[EMAIL PROTECTED]
 Reporter DSINet|[EMAIL PROTECTED]
 Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
 Founder Tienervaders   |[EMAIL PROTECTED]


For a same question here was my response from  Josh Hansen
[EMAIL PROTECTED] :

Hello Cristi,

This is from the apache site:

How can I get rid of the pass-phrase dialog at Apache startup time?

The reason why this dialog pops up at startup and every re-start is that
the RSA private key inside your server.key file is stored in encrypted
format for security reasons. The pass-phrase is needed to be able to
read and parse this file. When you can be sure that your server is
secure enough you perform two steps:

   1. Remove the encryption from the RSA private key (while preserving
the original file):

  $ cp server.key server.key.org
  $ openssl rsa -in server.key.org -out server.key

   2. Make sure the server.key file is now only readable by root:

  $ chmod 400 server.key

Now server.key will contain an unencrypted copy of the key. If you point
your server at this file it will not prompt you for a pass-phrase.
HOWEVER, if anyone gets this key they will be able to impersonate you on
the net. PLEASE make sure that the permissions on that file are really
such that only root or the web server user can read it (preferably get
your web server to start as root but run as another server, and have the
key readable only by root).

As an alternative approach you can use the ``SSLPassPhraseDialog
exec:/path/to/program'' facility. But keep in mind that this is neither
more nor less secure, of course.








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

 ---
 This message and its contents have been scanned and certified for
 transmission as being free from malicious code by eTrust Antivirus. This
 message may contain confidential, privileged or other legally protected
 information. It is intended for the addressee(s) only. If you are not the
 addressee, or someone the addressee authorized to receive this message, you
 are prohibited from copying, distributing or otherwise using it. Please
 notify the sender and return it.Thank you.




---
This message and its contents have been scanned and certified for
transmission as being free from malicious code by eTrust Antivirus. This
message may contain confidential, privileged or other legally protected
information. It is intended for the addressee(s) only. If you are not the
addressee, or someone the addressee authorized to receive this message, you
are prohibited from copying, distributing or otherwise using it. Please
notify the sender and return it.Thank you.
  
 

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


Re: Starting apache at boot with SSL.

2004-10-04 Thread Remko Lodder



 Not secure. My passphrase is not stored in cleartext anywhere except on
 a piece of paper in a locked vault. That may be overkill for some
 situations, but not mine.


You are correct about it not being secure, although you can restrict
permissions to the file. But it _is_ possible to automate the task.
I think you are quite right when you choose for your method :-)

Cheers!


-- 
Kind regards,

Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]



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


Re: I'm a 'tard - I don't know what a Subject line is (Was well, no subject)

2004-10-04 Thread Stijn Hoop
On Fri, Oct 01, 2004 at 02:46:06PM -0500, Chris wrote:
 Bill Moran wrote:
 Chris [EMAIL PROTECTED] wrote:
 Nicx wrote:
 
   Hello Guy's!
 
   Is there any emulator that i  can run win32 apllications on freeBSD?
   ... Nicx
    www.ebox.gr - Dwrea'n E-mail ?e 15MB mailbox www.hyperhosting.gr
   Apokty%ste to diko' sa*s web site ?e dw%ro to domain name!
 
 I would be sooo much nicer it 'tards would learn to use the subject line
 
 
 Those kind of comments are not welcome on this list.
 
 When a poster violates the posting policy, it is customary to _politely_
 direct him/her to a reference regarding the proper policy, i.e.
 http://www.lemis.com/questions.html
 
 Then something has changed. So often flames start by a user simply 
 asking a question that had he/she simply searched the list - would have 
 found the answer covered many times over.
 
 This is really no different then users that top post.
 Sorry folks, I'm not the touchy-feely type.
 Choose your verbiage - I call it as I see it.

Can you then at least please refrain from irritating other users, even if in
your eyes they're less intelligent than you? I'd assume you know how to use
the delete key.

--Stijn (who still can't get why people respond to messages that they
 feel are inappropriate or dumb, and agrees with Bill's feeling
 that this kind of reply is not good for FreeBSD as a whole)

-- 
The problem is that there are several people in design positions now who
couldn't design the Next Big Thing(TM) unless it involved them taking a
photocopier and someone else's design of The Next Big Thing(TM).
-- 'Alkaiser' in a post on Slashdot on game originality


pgpTc6VERf0h4.pgp
Description: PGP signature


Release question

2004-10-04 Thread Wen-jui Cheng Adrian
Hello~

I got a question about FreeBSD release.

Why 5.2-Release is not exist on ftp site (ftp.freebsd.org
ftp://ftp.freebsd.org/ )?

Because I used to use 5.2-release, I want to install another pc from FTP
site.

On other hand I found 5.2.1-release is not stable, because I try to install
Gnome or KDE or GCC34.etc

They are all fail when I want to do port installation.

I just installed 5.2.1-release version from ftp, then port install
application, then it's fail

 

 

Wen-jui  , Cheng Adrian

 

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


Packages format

2004-10-04 Thread Tarc
Where I can see package format, which is stored in /var/db/pkg?
Best regards,
 Tarc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIC and RPM of a hard disk

2004-10-04 Thread Nikolas Britton
Mike Woods wrote:
Ajesh John wrote:
Hi,
   How can I know if there is an in-built NIC in my mother-board?
And How can I know the RPM of my hard disk?, Is it possible to know both
these in FreeBSD?, I'm using FreeBSD5.1 - Release,  

For the NIC, ifconfig will show all the network devices installed on a 
machine but if you want to confirm if it's onboard..

look at the back of the machine, often above the usb ports.
As for the hard drive the only way to find the rpm is to grab the 
model number and look it up :)
Type in dmesg at the console, use scroll lock and the up/down keys to 
move around.

somewhere around the end of it it will display something such as ad0: 
38154MB TOSHIBA MK4025GAS [77520/16/63] ata0-master BIOSPIO.

Common Drive speeds (in newer computers):
EIDE(ATA): 7200, 5400
SATA: 7200, 1
SCSI: 1, 15000
laptop: 4200, 5400

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


Re: Packages format

2004-10-04 Thread Matthew Seaman
On Mon, Oct 04, 2004 at 04:02:36PM +, Tarc wrote:
 Where I can see package format, which is stored in /var/db/pkg?

It's documented in pkg_create(1), plus there's quite a few hints and
tips in the Porter's Handbook: 

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

The best resource, however are the various pkg-plist or equivalent
mechanisms used by the ports.

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


pgpmE1YVzEBFr.pgp
Description: PGP signature


Troubleshoting with nat

2004-10-04 Thread deepak
Dear sir
I have two network on two different switch. My pc have two lan cards
among which 1st is connected to 1st switch and 2nd is connected to
second switch. Both the switch are not cascaded. One pc from 1st network
can ping to 1st card and not to 2nd card and 2nd network , in the same
manner pc from 2nd network can't ping to 1st card and 1st network . How
to do it without cascading .  All my pc are running windows 2000 server
and professional.
 
Deepak Srivastava
Lafance Overseas Private Ltd.
Handy: 011 38750887
Ph: +91 11 26827333
Think Positively and Masterfully, With Confidence and Faith, and life
becomes more secure... richer in achievement and experience - Swami
Vivekananda
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Darling, Welcome science based success Reports

2004-10-04 Thread doug
Hi Darling,

Welcome to Science for Success Systems and our Newsletter:  
Possibilities-The Neuroscience of Self-Motivation 
and Advanced Achievement News

Thank you for signing up for this f/ree all Science based 
Advanced Achievement and success Guide.

Here are the links for your Special Reports from us at 
Science for Success Systems.

Just click on the link if it is active or copy and paste it into 
your web-browser if it is not.  If you don't know how to copy 
and paste, send me an email and I will help you!

Willpower is Overrated-The REAL secret for success

http://www.scienceforsuccess.com/WillpowerReport.htm 
 
 
10 Brain-Research Based Things You Must do From Now On 
  to Advance your Achievements

http://www.scienceforsuccess.com/SeptNews1-03.htm 

Print and save this email, so you will always have these links.  
Or once you go to the link, save it as a favorite.  

This information is too important to lose!


URGENT IMPORTANT INFORMATION FOR YOU:

BRAND NEW! Mastery of Science-Based Advanced Achievment  Home Study 
Success System.  Learn ALL about it here 
http://www.scienceforsuccess.com/Mastery222A.htm 
^

After you have read the reports and are excited about learning 
and using the Science of Permanent Self-Motivation, so you can 
take and maintain your achievements and success at the 
HIGHEST Levelsthen go to our Systems and Tools page to 
utilize our value-packed, inexpensive Bibliography, TeleSeminars, 
Systems, Tools and FULL SUCCESS Mentorship Programs.  

For more info go to:

http://www.scienceforsuccess.com/SystemsandTools.htm 

As Always, if we can help in any way, just holler.

Knowledge is Light.  Absorb all that you can!


Best Regards,

Doug

Doug Bench
Science for Success Systems
Using Revolutionary Brain-Science Research Results to
Teach You the Science of Permanent Self-Motivation.
The Last Motivational Training You'll Ever Need.
www.scienceforsuccess.com
[EMAIL PROTECTED]
Orlando, Florida
407 888-2131

You signed up recently as a new subscriber to Possibilities: 
Neuroscience of Self-Motivation News, either at our site or
through one of our sign-up check-boxes on other sites. 

But if you would like to no longer receive[Oh! No!] Science-Based 
Advanced Achievement News and Brain Research-Based Success 
Education from Science for Success Systems:  

send a blank email to [EMAIL PROTECTED] 

with the word 

r e m o v e-Octoberxx 

on the subject line.  

Don't put anything else.  That's the only 
thing that seems to workwith our automated 
email system! 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Release question

2004-10-04 Thread Bill Moran
Wen-jui Cheng Adrian [EMAIL PROTECTED] wrote:

 Hello~
 
 I got a question about FreeBSD release.
 
 Why 5.2-Release is not exist on ftp site (ftp.freebsd.org
 ftp://ftp.freebsd.org/ )?

5.2 was replaced with 5.2.1, because 5.2 had too many show stopping
problems.

 Because I used to use 5.2-release, I want to install another pc from FTP
 site.
 
 On other hand I found 5.2.1-release is not stable, because I try to install
 Gnome or KDE or GCC34.etc
 
 They are all fail when I want to do port installation.

I can't answer this without detailed specifics on how they fail (error
messages, etc)

 I just installed 5.2.1-release version from ftp, then port install
 application, then it's fail

I would recommend grabbing one of the 5.3BETAs, or waiting for 5.3-RELEASE.
The BETAs are much more stable and production-ready than 5.2.1 was, and
5.3-RELEASE is intended to be officially announced as production ready.

I believe 5.3-RELEASE is scheduled within the next few weeks.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tracking per process IO usage / stats ... help needed..

2004-10-04 Thread Joe Schmoe

I have a FreeBSD system (4.9) running a fair number of
processes in a multi-user / shell hosting environment.

One problem that routinely comes up is that the system
will seem to be fine in terms of CPU, and none of the
top 10 or 15 processes that I see in top are using
much CPU ... but the load average is very high -
sometimes as high as 30 or 40 ...

I have good reason to suspect that the load is high
due to I/O.  I can see the number of processes
blocking on I/O in vmstat, and I can see iostat for
the entire machine, of course ...

BUT HOW do I see on a per process basis which
processes are using the most I/O time ?  It does not
help me to simply see that the system is using a lot
of I/O ... I need to know which processes specifically
are guilty, and to see them in some kind of ranked
order, just like top shows me for CPU usage.

So what would you recommend ?  Is there some way of
interpreting top to see that, or a way to tell top
to show me based on I/O instead of CPU ?

Any suggestions appreciated.

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


traceroute, tunnel or...?

2004-10-04 Thread Vyacheslav Vovk
[44] [EMAIL PROTECTED]:~uname -a
FreeBSD xx.km.ua 4.10-STABLE FreeBSD 4.10-STABLE #13: Mon Oct  4 09:18:11 EEST 
2004 [EMAIL PROTECTED]:/usr/src/sys/compile/xx  i386

[45] [EMAIL PROTECTED]:~ifconfig gif0
gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet 192.168.144.9 -- 192.168.144.1
inet 195.46.39.98 -- 195.46.39.97 netmask 0xfffc

After upgrade from 4.10-RELEASE to 4.10-STABLE has ceased to work UDP 
traceroute to 195.46.39.98 from external host.

[258] [EMAIL PROTECTED]:/t 195.46.39.98
traceroute to 195.46.39.98 (195.46.36.98), 64 hops max, 44 byte packets
 1  cindy-fa0-vid0.ic.km.ua (195.46.36.7)  0.270 ms  0.589 ms  0.266 ms
 2  * * *
 3  * * *
 4  * 

 [46] [EMAIL PROTECTED]:~tcpdump -n -i gif0 host 195.46.36.1
tcpdump: listening on gif0
15:29:44.663473 195.46.36.1.37640  195.46.39.98.33438: udp 16 [ttl 1]
15:29:49.678637 195.46.36.1.37640  195.46.39.98.33439: udp 16 [ttl 1]
15:29:54.690954 195.46.36.1.37640  195.46.39.98.33440: udp 16 [ttl 1]
15:29:59.767877 195.46.36.1.37640  195.46.39.98.33441: udp 16
15:30:04.703614 195.46.36.1.37640  195.46.39.98.33442: udp 16
15:30:09.732862 195.46.36.1.37640  195.46.39.98.33443: udp 16

but work ICMP traceroute

[260] [EMAIL PROTECTED]:/etc/namedb/prit -P icmp 195.46.39.98
traceroute to 195.46.39.98 (195.46.36.98), 64 hops max, 64 byte packets
 1  cindy-fa0-vid0.ic.km.ua (195.46.36.7)  0.278 ms  0.209 ms  0.733 ms
 2  RE-2M.sl (195.46.39.98)  34.505 ms  42.646 ms  48.319 ms

[47] [EMAIL PROTECTED]:~tcpdump -n -i gif0 host 195.46.36.1

15:33:56.245450 195.46.36.2  195.46.39.98: icmp: echo request [ttl 1]
15:33:56.245527 195.46.39.98  195.46.36.2: icmp: echo reply
15:33:56.306208 195.46.36.2  195.46.39.98: icmp: echo request [ttl 1]
15:33:56.306275 195.46.39.98  195.46.36.2: icmp: echo reply
15:33:56.350447 195.46.36.2  195.46.39.98: icmp: echo request [ttl 1]
15:33:56.350516 195.46.39.98  195.46.36.2: icmp: echo reply

For what reasons has ceased to work traceroute, taking into account what at 
upgrade from 4.10-R to 4.10-STABLE did not vary firewall and kernel options?

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


printer toooo slow (hpdj990Cxi on lpt0)

2004-10-04 Thread Peter Ulrich Kruppa
Hi!
I am running a HP Deskjet 990Cxi on parallel port, with cups and 
hpijs on FreeBSD 5.3-BETA6 - everything updated and portupgraded 
last thursday.

Generally it prints nicely, but far to slow - a simple OpenOffice 
document needs 3 or 4 minutes, the cups test page about 10.
Strange enough I don't see any heavy activities on my CPU or big 
loads on my RAM.

I tried to play around with the configuration, but didn't find 
anything satisfying.

Does anybody have an idea, how I could check what goes wrong with 
this thing? Or could at least someone confirm that I am not the 
only person in the world with this problem?

Thanks for your answers,
Uli.
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: printer toooo slow (hpdj990Cxi on lpt0)

2004-10-04 Thread Konrad Heuer

On Mon, 4 Oct 2004, Peter Ulrich Kruppa wrote:

 I am running a HP Deskjet 990Cxi on parallel port, with cups and
 hpijs on FreeBSD 5.3-BETA6 - everything updated and portupgraded
 last thursday.

 Generally it prints nicely, but far to slow - a simple OpenOffice
 document needs 3 or 4 minutes, the cups test page about 10.
 Strange enough I don't see any heavy activities on my CPU or big
 loads on my RAM.

 I tried to play around with the configuration, but didn't find
 anything satisfying.

 Does anybody have an idea, how I could check what goes wrong with
 this thing? Or could at least someone confirm that I am not the
 only person in the world with this problem?

 Thanks for your answers,

 Uli.

I'd try to switch to polling mode on lpt0 - see man lptcontrol.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]


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


AS400 anyone?

2004-10-04 Thread Eric Anderson
Anyone have a use for an old AS400?
Let me know off list..
Eric
--
--
Eric Anderson Sr. Systems AdministratorCentaur Technology
Talk sense to a fool and he calls you foolish.
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Salvaging data from bad drive

2004-10-04 Thread Jonathon McKitrick

Hi all,

my drive crashed, and I have backups, but the latest data is still on the
drive.  I can boot with a fixit disk, but the fixit disk doesn't have the
device for the /usr partition I need to access.

Can I use the fixit CD instead?  Is there an easier way to access the
partition?  I just need to mount /usr long enough to get my data.

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


Re: alternative to 'top' in jail

2004-10-04 Thread Cerion Armour-Brown
On Saturday 02 October 2004 17:29, you wrote:
  I have a jail with a freebsd jails provider...
  What do people use as an alternative to 'top', inside a jail?
  What else can I use to measure resource usage (cpu/ram/io)

 Try systat, comes with the system
 Jason
Thanks for the reply, but I should have given more info...
running systat, I only get: error reading kmem at c03db09c
... And looking in dev:
lrwxrwxrwx  1 root  wheel  4 Jul 21 13:37 /dev/mem@ - null
lrwxrwxrwx  1 root  wheel  4 Jul 21 13:37 /dev/kmem@ - null

From googling I understand this is a security restriction imposed by my jails 
provider.

I found a mention on freebsd-hackers archive of a patch to top:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg33464.html
Does anyone use this patch + can recommend it?  If so, where can I get it?

I've also tried the perl module Sys::CpuLoad, but haven't found it very 
usefule.

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


Re: When Unix Stops Being Fun

2004-10-04 Thread Robert Dormer
Having looked at the list, honesty - it's not nearly as much as it
looks like.  Seriously.  It's well within your ken to learn ALL of
that.  Easily.  Just do this - get a few machines.  Throw FreeBSD on
them.  Hell, throw Open or Net on one or two, RedHat or Gentoo or
Debian on another.

Now plug them all into a hub.  Get them to play nicely together. 
Shouldn't take more than a few weeks of messing around.  By the end of
that you should know just about everything on that list.  Not have it
commited to memory, but hey - who does?

I mean - why do you think they invented man pages?


Believe in yourself.  If I can do it, anyone can.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: When Unix Stops Being Fun

2004-10-04 Thread Bill Moran
Robert Dormer [EMAIL PROTECTED] wrote:
 Having looked at the list, honesty - it's not nearly as much as it
 looks like.  Seriously.  It's well within your ken to learn ALL of
 that.  Easily.  Just do this - get a few machines.  Throw FreeBSD on
 them.  Hell, throw Open or Net on one or two, RedHat or Gentoo or
 Debian on another.
 
 Now plug them all into a hub.  Get them to play nicely together. 
 Shouldn't take more than a few weeks of messing around.  By the end of
 that you should know just about everything on that list.  Not have it
 commited to memory, but hey - who does?
 
 I mean - why do you think they invented man pages?
 
 
 Believe in yourself.  If I can do it, anyone can.

I want to second this wholeheartedly.

However, take Robert's advice to heart.  I think if you try to learn
this stuff without a experimental network to try things out on, you'll
either drive yourself mad, or simply fail.

If you're serious about doing this, it's worth the $$$ to invest in
4 or 5 used computers to learn on.  You really need more than one
if you're going to understand how things interact across a network,
and you want to have at least 1 computer that you _don't_ experiment
with, so it's always reliable to use for email or searching for
docs on the 'net.

And I agree with Robert, that if you're serious about wanting to do
this, you CAN accomplish it.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: printer toooo slow (hpdj990Cxi on lpt0)

2004-10-04 Thread Peter Ulrich Kruppa
On Mon, 4 Oct 2004, Konrad Heuer wrote:
On Mon, 4 Oct 2004, Peter Ulrich Kruppa wrote:
I am running a HP Deskjet 990Cxi on parallel port, with cups and
hpijs on FreeBSD 5.3-BETA6 - everything updated and portupgraded
last thursday.
Generally it prints nicely, but far to slow - a simple OpenOffice
document needs 3 or 4 minutes, the cups test page about 10.
Strange enough I don't see any heavy activities on my CPU or big
loads on my RAM.
I tried to play around with the configuration, but didn't find
anything satisfying.
Does anybody have an idea, how I could check what goes wrong with
this thing? Or could at least someone confirm that I am not the
only person in the world with this problem?
Thanks for your answers,
Uli.
I'd try to switch to polling mode on lpt0 - see man lptcontrol.
That's great,
thanks!
Uli.
Regards
Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with php mysql

2004-10-04 Thread Perica Veljanovski
Hi all,

I have trouble installing/configuring php with mysql support. I tired
installing the php5 interpreter WITH_MYSQL=yes from the ports, and when
I try to start a mysql_connect(); php syntax, i get:

Call to undefined function mysql_pconnect() in someFile.php on line N.

I tired installing mod_php5 (first i removed lang/php5) and the same
thing happens.
php.ini and httpd.conf are ok as far as I can tell :P But since I'm not
experienced in Apache/php configuration, I would appreciate some pointers
to where should I look for mysql support configuration.

I run on a cvsup-ed 4.7 to FreeBSD 4.10-STABLE (port's cvsuped allso)
I have:
mysql-client-5.0.0_2 Multithreaded SQL database (client)
mysql-server-5.0.0_2 Multithreaded SQL database (server)
apache-2.0.50   Version 2 of Apache web server with prefork MPM.
mod_php5-5.0.0,1PHP Apache Module
All installed from ports.

10x ahead.
-- 
 


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


problem with php mysql

2004-10-04 Thread Perica Veljanovski
Hi all,

I have trouble installing/configuring php with mysql support. I tired
installing the php5 interpreter WITH_MYSQL=yes from the ports, and when
I try to start a mysql_connect(); php syntax, i get:

Call to undefined function mysql_pconnect() in someFile.php on line N.

I tired installing mod_php5 (first i removed lang/php5) and the same
thing happens.
php.ini and httpd.conf are ok as far as I can tell :P But since I'm not
experienced in Apache/php configuration, I would appreciate some pointers
to where should I look for mysql support configuration.

I run on a cvsup-ed 4.7 to FreeBSD 4.10-STABLE (port's cvsuped allso)
I have:
mysql-client-5.0.0_2 Multithreaded SQL database (client)
mysql-server-5.0.0_2 Multithreaded SQL database (server)
apache-2.0.50   Version 2 of Apache web server with prefork MPM.
mod_php5-5.0.0,1PHP Apache Module
All installed from ports.

10x ahead.
-- 
 


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


BSD Booting question (with windows)?

2004-10-04 Thread Andy Scheriff
Hi.

I just installed freebsd on my laptop yesterday. I have a previous
version of windows on there (windows XP Home) as well. I was told by a
friend that I would be able to boot between BSD and windows easily,
however I seem to be having some problems. I am using that bootloader
that BSD recommends you use.

My problem is that when I reach the boot screen, and try to boot to
DOS (windows), it gives me the following error:

Windows could not start because the following file is missing or corrupt:
Windows root\system32\hal.dll.
Please re-install a copy of the above file.

And that is about it. I've never formally used BSD before, so I am
kind of in the dark on what to do next. I know the logical thing would
be to just replace the file, and that is really easy for me to do from
DOS, but I am not sure how to go about doing this in BSD. Could you
please help me?

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


Re: problem with php mysql

2004-10-04 Thread Bill Moran
Perica Veljanovski [EMAIL PROTECTED] wrote:

 Hi all,
 
 I have trouble installing/configuring php with mysql support. I tired
 installing the php5 interpreter WITH_MYSQL=yes from the ports, and when
 I try to start a mysql_connect(); php syntax, i get:
 
 Call to undefined function mysql_pconnect() in someFile.php on line N.
 
 I tired installing mod_php5 (first i removed lang/php5) and the same
 thing happens.
 php.ini and httpd.conf are ok as far as I can tell :P But since I'm not
 experienced in Apache/php configuration, I would appreciate some pointers
 to where should I look for mysql support configuration.
 
 I run on a cvsup-ed 4.7 to FreeBSD 4.10-STABLE (port's cvsuped allso)
 I have:
 mysql-client-5.0.0_2 Multithreaded SQL database (client)
 mysql-server-5.0.0_2 Multithreaded SQL database (server)
 apache-2.0.50   Version 2 of Apache web server with prefork MPM.
 mod_php5-5.0.0,1PHP Apache Module
 All installed from ports.

Install php5-extensions, and choose the extensions you want.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSD Booting question (with windows)?

2004-10-04 Thread Eric Schuele
On Monday 04 October 2004 11:03 am, Andy Scheriff wrote:
 Hi.

 I just installed freebsd on my laptop yesterday. I have a previous
 version of windows on there (windows XP Home) as well. I was told by
 a friend that I would be able to boot between BSD and windows easily,
 however I seem to be having some problems. I am using that bootloader
 that BSD recommends you use.

 My problem is that when I reach the boot screen, and try to boot to
 DOS (windows), it gives me the following error:

 Windows could not start because the following file is missing or
 corrupt: Windows root\system32\hal.dll.
 Please re-install a copy of the above file.

  Did you repartition in order to accomplish your dual boot?  If so your 
windows boot.ini may no longer be correctly configured.

  Try Microsoft Knowledge base article:
330184


 And that is about it. I've never formally used BSD before, so I am
 kind of in the dark on what to do next. I know the logical thing
 would be to just replace the file, and that is really easy for me to
 do from DOS, but I am not sure how to go about doing this in BSD.
 Could you please help me?

-- 

Regards,
Eric

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


Re: When Unix Stops Being Fun

2004-10-04 Thread Nathan Kinkade
On Sat, Oct 02, 2004 at 11:46:06PM -0700, Joshua Tinnin wrote:
snip
 Well, I can only tell you about my own experience, but perhaps it will 
 help. I have always been a techie, getting my first computer at the age 
 of 14 - an Apple IIe. Learned some Basic, some peeks and pokes and even 
 some assembly. But I found that I also liked music, and tended more to 
 that side of things for the latter half of my teens and into my 20s, 
 though I never went to college (started a few times, but didn't know 
 what I wanted to do). Somehow I ended up doing web design for a band in 
 my mid 20s, and even though the band broke up, I was good enough at it 
 that it became my career in 2000, right when the dot-com bubble started 
 to burst.
 
 I was 30, just starting my career with no degree but making $50k (not 
 great, but not bad), and worked for three different failed companies in 
 the course of a year and a half. Most of this time I was using Windows, 
 but I used various flavors of *nix during the course of my work, mostly 
 Red Hat, plus I installed SuSE at home and used it occasionally. My 
 specialty was front-end web development - I found it increasingly 
 difficult to find work from 2001 onward, especially because I had no 
 strong programming skills, but could do JavaScript and some other 
 scripting, and I also didn't have credentials as a graphic designer, 
 even though I could do it by gut instinct (which sometimes isn't good 
 enough).
 
 Eventually I came to hate doing web design, partially because I couldn't 
 find paying work, but mostly because it's not the right discipline for 
 me anyway - it sort of fell in my lap, and I made a go of it. I've been 
 bouncing around between low paying jobs since then, wondering how the 
 hell to get my career started again without going back to school for 
 four years to get a computer science degree, when I discovered FreeBSD. 
 That was last spring.
 
 I now know exactly what I want to do, which is to get that computer 
 science degree and then some, specializing in systems administration, 
 and to go into teaching at the college level. First, I know this is a 
 hard road, especially at the age of 34, but I am tired of not *really* 
 knowing my stuff, so to speak. I've been a techie my whole life and 
 even made some money at it, but I've gotten by without having the deep 
 knowledge required to really understand the workings of an *nix OS such 
 as FreeBSD, which I very much want to do, and plus it's time to get 
 serious. I've also found that the systems administration/network end of 
 the spectrum is what suits me best, but I don't care about getting paid 
 big money as much as wanting to teach others (and, concurrently, also 
 have the time and resources to devote to projects such as FreeBSD). 
 It's not a particularly glorious career choice, and if I were a bit 
 different I might want to really go for the corporate path and a fat 
 salary, but honestly I'm happier not working in that sort of 
 environment.
 
 YMMV.
 
 - jt

My situation has some similarities to JT's.  I graduated with a history
degree back in 1994.  Through a series of interesting events, a few
months after graduation I found myself working as an auto mechanic.  A
few years after that I found myself working in customer service at a
large apparel company.  While at this job I created an MS Access
database for myself and my small department.  This was my first small
jump into anything remotedly computer related.  Somehow I was able to
parlay that experience into a decent paying contract job working with MS
Access.  While working that contract I realized that networking was an
area that interested me more.  So, I started getting some certifications
and got a job at a networking company.  Up to this point (a year or
two), my experience was only with MS Windows.  A friend of mine
mentioned to me one day that he had heard about an OS called FreeBSD,
which was purported to have one of the best networking stacks around.
Because of my interest in networking I installed it.  As they say, the
rest is history; it has been my OS ever since, both desktop and server.  

Regarding knowledge, there was a time in the past that I was blown away
by a friend of mine who understood how to manually configure an IP
address and netmask.  This, among many other things, made me feel as if
he were some sort of computer genius.  However, my feelings about his
skills were only relative my own at that time, and I didn't have any
other frame of reference.  Now that I have been working with computers,
and specifically FreeBSD and Linux, for the past five or six years, my
knowledge has utterly eclipsed that of my friend.  This is the natural
course of things.  Yet I still feel as if I have only scratched the
surface.  Many people on this list would probably make me look more like
an infant stacking blocks when it comes to FreeBSD.

I have got to a level of proficiency and knowledge that I feel can only
best proceed through 

Re: Booting to CD and the handing off to HD

2004-10-04 Thread Nathan Kinkade
On Sun, Oct 03, 2004 at 08:58:05PM -0700, Cristobal Miguelo wrote:
 Hello,
 
 I'm going to be working on a firewall box where I want to boot to CD
 and run an integrity check on the Hard Drive.  If the Hard Drive checks
 out OK, I want the CD to then hand off to the hard drive and boot the
 hard drive.
 
 Is that possible?   What man pages and/or web pages should I read to
 make it happen?
 
 Thanks!
 Cristobal

Well, you could certainly mount the harddisk partitions somewhere in the
filesystem while running under the CDROM booted kernel.  However, I
seriously doubt if you could change the running kernel to that from the
harddisk.  Why not just reboot to the harddisk after you have finished
your diagnostics with the CDROM?

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49


pgpkvVNtHJUQG.pgp
Description: PGP signature


Re: passing origin through nat?

2004-10-04 Thread Nathan Kinkade
On Mon, Oct 04, 2004 at 03:29:38AM -0500, Anthony Philipp wrote:
 Hello,

 When I log in to my computer from a remote location, it still says
 that I am coming from my nat box. Is it possible to have my nat box
 forward where I am logging in from? I would also like to be able to
 forward where apache connections are coming from. Right now all the
 logs say is that their coming from my nat box. So if anyone knows how
 to solve this that would be great.

 Thanks Anthony Philipp

The only way that I can think of that you may be able to have your sshd
box know your non-NATed IP address, or hostname, would be to have the
ssh client set an environment variable when you first login.  You could
then consult that variable as needed.  Check the sshd man page.  Here is
a snip:

Additionally, ssh reads $HOME/.ssh/environment, and adds lines of the
format ``VARNAME=value'' to the environment if the file exists and if
users are allowed to change their environment.  See the
PermitUserEnvironment option in sshd_config(5).

I doubt that you will be able to find an acceptable resolution to your
question regarding Apache logging.

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49


pgplRYPjst6xC.pgp
Description: PGP signature


Magical HDD Space Doubling! wonky bsdlabel?

2004-10-04 Thread Kevin D. Kinsey, DaleCo, S.P.
The other day I decided to dispose of a drive's worth of WinNT data
in order to make more FreeBSD machines in the world (cheer!)
In the past I've often used sysinstall for this purpose, so I decided
to try the other method suggested by the handbook.  I think I got
a little funky with bsdlabel, though.  Check this out:
   % dmesg | grep ad
   GEOM: create disk ad0 dp=0xc5f54660
   ad0: 38166MB ST340014A [77545/16/63] at ata0-master UDMA100
   GEOM: create disk ad1 dp=0xc5f54360
   ad1: 190782MB WDC WD2000JB-00GVA0 [387621/16/63] at ata0-slave UDMA100
   GEOM: create disk ad3 dp=0xc6020960
   ad3: 38166MB ST340015A [77545/16/63] at ata1-slave UDMA33
   Mounting root from ufs:/dev/ad0s1a
Note that both ad1 and ad3 report 38166 MB disks.
Now, the only thing I intended to be different on the
new disk (ad3) was that it be dangerously dedicated
and have its own /tmp partition (ad1 has tmp on /).
However:
% df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a989M   151M   759M17%/
devfs   1.0K   1.0K 0B   100%/dev
/dev/ad0s1e34G20G11G66%/usr
/dev/ad0s1d   989M   275M   635M30%/var
/dev/ad1s1d   180G60G   106G36%/backup
/dev/ad3a   36G   614M33G 2%/mnt
/dev/ad3b  496M29M   427M 6%/mnt2
/dev/ad3d  989M   273M   637M30%/mnt3
/dev/ad3e  34G20G11G66%/mnt4
So, ad3 is ~72GB?? ... I'd gladly take the extra space,
but it can't really be there, can it?
Here's the bsdlabel output, and a uname.  Can
anyone tell me what I did wrong (other than the obvious,
being proceeding to use bsdlabel without a thorough handle
on what I was doing ... :-o )
% sudo bsdlabel ad0s1
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  209715204.2BSD 2048 16384 28552
 b:  1048576  2097152  swap   
 c: 781561620unused0 0 # raw part, 
don't edit
 d:  2097152  31457284.2BSD 2048 16384 28552
 e: 72913282  52428804.2BSD 2048 16384 28552

% sudo bsdlabel ad3
# /dev/ad3:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  209715204.2BSD 2048 16384 28552
 b:  1048576  2097152  swap   
 c: 781653600unused0 0 # raw part, 
don't edit
 d:  2097152  31457284.2BSD 2048 16384 28552
 e: 72913282  52428804.2BSD 2048 16384 28552

The only difference in the labels is ad3c, which I increased
manually (trial  error) because bsdlabel kept complaining
partition c doesn't cover entire unit until I got up to
78165360 ...
%uname -aFreeBSD archangel.daleco.biz 5.2.1-RELEASE-p3
FreeBSD 5.2.1-RELEASE-p3 #2: Fri Apr 23 16:39:28 CDT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

[Gee, I thought I'd built world since then...]
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: Load increase after upgrading php4

2004-10-04 Thread Sheets, Jason (OZ CEEDR)
Building PHP modules makes it very easy to load optional functionality
however it will decrease performance, sometimes drastically.

I hand build PHP because of this reason and also because I want upgrades
as soon as they are released and ports usually lags a few days.

It is also possible something changed in PHP between the two installs,
I'd try a hand compile of PHP without using modules for the
functionality you know you want.

There is a lot of really good information available about tuning PHP +
Apache that can be accessed by searching on google.com.

Jason


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Bjorn Swift
 Sent: Sunday, October 03, 2004 6:58 PM
 To: [EMAIL PROTECTED]
 Subject: Load increase after upgrading php4
 
 Early September I upgraded php4 using the new php port structure (that
 is php4 and php4-extensions). Since then I have noticed quite an
 increase in server load - I'd say my current load is about five times
 what it was before. Graph available here:
 http://bjorn.swift.is/tmp/hermes-uptime-year.png
 
 I suspect this being because the new way seems to compile everything
 as loadable modules. My question is basically whether this is just
how
 it is and that I should compile php myself I want it built as one
 binary - or if this increase in load is something not to be expected.
 
 Has anyone else witnessed anything like this on their servers? What
did
 you do ?
 
 The server is a patched FreeBSD 4.8 running php 4.3.8 and apache
1.3.31.
 It's not a heavy loaded one, serving an average of just over 3
req/sec,
 but most of the files (besides images) are rather bloated php scripts;
 webmail, message boards and such. The server is running Nick
Lindridge's
 PHP Accelerator.
 
 If anyone has any tips or thoughts they would be greatly appreciated.
 
 (Would freebsd-isp perhaps be a better list for a question of this
 sort?)
 
 Cheers,
 Bjorn Swift
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java5 and FreeBSD

2004-10-04 Thread Adam Smith
On Sat, Oct 02, 2004 at 01:46:51AM +0100, Dick Davies said:
 * De Savant [EMAIL PROTECTED] [1038 01:38]:
  I was looking around with this latest announcement of Sun's Java2 1.5, 
  since I was considering using FreeBSD on our server (amd64) instead of 
  Linux. I made my way to Sun's java page, and then to the newest Java2 
  Enterprise Edition 1.4 release. Yet no FreeBSD Java?
 
 Sun have never released any VM for FreeBSD. The linux one will probably work
 out of the box under the Linuxulator.

Don't they suck? :)

-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

Dog for sale: Eats lots and is fond of children.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OLD e-machines box and XF86Config

2004-10-04 Thread Gary Kline

Folks,

Does anybody onlist have a working XF86Config for an 
old year 2000 emachine 500ix?  It's been close to two
years since X has been working correctly on his old system. 

I just upgraded it to a full 256M of SDRAM and added a
huge drive.  Now am getting ready toput 5.3 on there.
xf86config, the shell version, didn't work, and it looks
like I messed up on the GUI config.

Assistance much appreciated.

thanks,

gary

OT
PS:  oh  yeah, any opinions on xorg vs xfree86 welcome, too.
/OT



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

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


Re: problem with php mysql

2004-10-04 Thread Mark


I assume you did restart the box, I had to, for some reason 
a killall -HUP mysql, apache, php, did not start the added moduals.  

Start off doing a pkg_info to see the added moduals listed, 
should be a php5-mysql-5.0.1 or something like it.


On Mon, Oct 04, 2004 at 07:43:10PM +0200, Perica Veljanovski wrote:
 I cvsup-ed the ports tree and installed the php5-extensions and still
 the same err.
 
 any other ideas?
 
  
  read /usr/ports/UPDATING
  then install php5-extensions-1.0
  
  
  I had the same problem =) 
  
  
  On Mon, Oct 04, 2004 at 05:27:58PM +0200, Perica Veljanovski wrote:
   Hi all,
   
   I have trouble installing/configuring php with mysql support. I tired
   installing the php5 interpreter WITH_MYSQL=yes from the ports, and when
   I try to start a mysql_connect(); php syntax, i get:
   
   Call to undefined function mysql_pconnect() in someFile.php on line N.
   
   I tired installing mod_php5 (first i removed lang/php5) and the same
   thing happens.
   php.ini and httpd.conf are ok as far as I can tell :P But since I'm not
   experienced in Apache/php configuration, I would appreciate some pointers
   to where should I look for mysql support configuration.
   
   I run on a cvsup-ed 4.7 to FreeBSD 4.10-STABLE (port's cvsuped allso)
   I have:
   mysql-client-5.0.0_2 Multithreaded SQL database (client)
   mysql-server-5.0.0_2 Multithreaded SQL database (server)
   apache-2.0.50   Version 2 of Apache web server with prefork MPM.
   mod_php5-5.0.0,1PHP Apache Module
   All installed from ports.
   
   10x ahead.
   -- 
 

-- 

==

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.

==

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


C compiler

2004-10-04 Thread regi

Hello,

I´ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own
programs and started to running them. For my surprise, I checked that
FreeBSD programs spent almost 50% more time than the same program compiled
to linux. I checked several compile options, but it did not have good results.

The compiler in my FreeBSD is gcc3.3.3. Are there someone that could
help me ??

Thanks,
Regi


I would like



This message was sent using IMP, the Internet Messaging Program.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: C compiler

2004-10-04 Thread Kenneth Culver
Quoting [EMAIL PROTECTED]:
Hello,
I´ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own
programs and started to running them. For my surprise, I checked that
FreeBSD programs spent almost 50% more time than the same program compiled
to linux. I checked several compile options, but it did not have good 
results.

The compiler in my FreeBSD is gcc3.3.3. Are there someone that could
help me ??
Thanks,
Regi
I would like
There are a lot of things that could be happening, and I doubt that the gcc
version has anything to do with this.
1) did you recompile your kernel without debugging options? I don't 
know if the
default kernel comes with them turned off. Also, your malloc.conf may not be
set up for speed (may have debugging options still).

2) You may want to try a later version of FreeBSD, for example... wait for 5.3
to come out. I'm using 5.3-BETA6 right now, and without doing any testing to
get actual numbers, it feels a lot faster.
Ken
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: C compiler

2004-10-04 Thread Bill Moran
[EMAIL PROTECTED] wrote:

 
 Hello,
 
 I´ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own
 programs and started to running them. For my surprise, I checked that
 FreeBSD programs spent almost 50% more time than the same program compiled
 to linux. I checked several compile options, but it did not have good results.

5.2.1 is not a strong performer.  It's ALPHA code.

If you want to do performance testing, either use 4.10, or work with the
5.3 BETAs.  5.2.1 isn't supposed to be fast yet.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: C compiler

2004-10-04 Thread Josh Hansen
Bill Moran wrote:
[EMAIL PROTECTED] wrote:
 

Hello,
I´ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own
programs and started to running them. For my surprise, I checked that
FreeBSD programs spent almost 50% more time than the same program compiled
to linux. I checked several compile options, but it did not have good results.
   

5.2.1 is not a strong performer.  It's ALPHA code.
If you want to do performance testing, either use 4.10, or work with the
5.3 BETAs.  5.2.1 isn't supposed to be fast yet.
 

I really don't think the problem is that simple.  How about either 
giving him a real answer or none at all?

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


Re: ACL and write permission

2004-10-04 Thread Dancho Penev
On Mon, Oct 04, 2004 at 11:47:52AM +0500, Sergey Velikanov [UzPAK] wrote:
Date: Mon, 4 Oct 2004 11:47:52 +0500
From: Sergey Velikanov [UzPAK] [EMAIL PROTECTED]
To: freebsd-questions [EMAIL PROTECTED]
Subject: ACL and write permission
Hi again
I can't add write permission via ACL
mkdir /dir/docs 
chown user:user /dir/docs 
setfacl -n -dm u::rwx,g::rx,o::,u:user2:rwx,m::rwx /dir/docs 
setfacl -m u:user2:rwx /dir/docs 
chmod 750 /dir/docs 

I create file in /dir/docs, but user2 have only read permission,
That's because when new file is creating file permissions are get
from directory's default ACL, and then they are mask with umask. The
entries, that are mask, are u::, m:: and o::, so if you have umask 022
(which is default) file's acl mask entry is set to r. Robert Watson has
plan acl mask to override umask, but he doesn't realize that yet.
getfacl says that #efective rights r--, how should i set ACL to
/dir/docs if I want give write permission to user2
Sergey Velikanov
Technical  Division
National Data Network UzPAK
tel +(99871) 114-6326
e-mail:  [EMAIL PROTECTED]
http://www.uzpak.uz/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Dancho Penev
Home page:   http://www.mnet.bg/~dpenev
GnuGP public key:http://www.mnet.bg/~dpenev/gnupg.asc
Key fingerprint: E88D 8B7B 3EF6 E9C8 C5D2  7554 2AA8 C347 71A1 4277


pgpwWIhkV3gIr.pgp
Description: PGP signature


Re: C compiler

2004-10-04 Thread Charles Swiger
On Oct 4, 2004, at 3:18 PM, Josh Hansen wrote:
[ ...5.2.1 being slower than Linux... ]
I really don't think the problem is that simple.  How about either 
giving him a real answer or none at all?
Sigh.  The malloc debugging options in 5.2.1 really will slow down 
userland programs which heavily utilize dynamic memory by a significant 
amount, as will kernel options used for debugging such as WITNESS and 
INVARIANTS.

It's not hard to measure these effects if you bother to try.  If you 
want to test FreeBSD's performance in a meaningful fashion, and you are 
unwilling to disable the debugging options enabled in 5.x, using 4.10 
is good advice.  Or wait for 5.3 to finish the current beta testing 
cycle and be released, and then test that.

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


Re: C compiler

2004-10-04 Thread Kris Kennaway
On Mon, Oct 04, 2004 at 01:18:48PM -0600, Josh Hansen wrote:
 Bill Moran wrote:
 
 [EMAIL PROTECTED] wrote:
 
  
 
 Hello,
 
 I?ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own
 programs and started to running them. For my surprise, I checked that
 FreeBSD programs spent almost 50% more time than the same program compiled
 to linux. I checked several compile options, but it did not have good 
 results.

 
 
 5.2.1 is not a strong performer.  It's ALPHA code.
 
 If you want to do performance testing, either use 4.10, or work with the
 5.3 BETAs.  5.2.1 isn't supposed to be fast yet.
 
  
 
 I really don't think the problem is that simple.  How about either 
 giving him a real answer or none at all?

It's hard to give a good answer to a bad question :)

In order to accurately diagnose the problem we need a way to repeat
it, or at least a full description of what was tried (including source
code and details of the benchmark measurements).  Otherwise, all we
can do is guess what might be going on.

Kris
 

pgprucF2FoBqu.pgp
Description: PGP signature


Re: C compiler

2004-10-04 Thread Kenneth Culver
Quoting Josh Hansen [EMAIL PROTECTED]:
Bill Moran wrote:
[EMAIL PROTECTED] wrote:

Hello,
I´ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own
programs and started to running them. For my surprise, I checked that
FreeBSD programs spent almost 50% more time than the same program compiled
to linux. I checked several compile options, but it did not have 
good results.

5.2.1 is not a strong performer.  It's ALPHA code.
If you want to do performance testing, either use 4.10, or work with the
5.3 BETAs.  5.2.1 isn't supposed to be fast yet.

I really don't think the problem is that simple.  How about either
giving him a real answer or none at all?
But the problem IS that simple. 5.2.1 wasn't meant to be fast, however in 5.3,
developers have worked hard to make several performance improvements, and it
shows. I'd say his answer hits the nail right on the head.
Don't use a version that is known to be slow and for developers only if 
you want
speed and stability.

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


Re: Troubleshoting with nat

2004-10-04 Thread Dancho Penev
On Mon, Oct 04, 2004 at 12:49:53PM +0530, deepak wrote:
From: deepak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Mon, 4 Oct 2004 12:49:53 +0530
Subject: Troubleshoting with nat
Dear sir
I have two network on two different switch. My pc have two lan cards
among which 1st is connected to 1st switch and 2nd is connected to
second switch. Both the switch are not cascaded. One pc from 1st network
can ping to 1st card and not to 2nd card and 2nd network , in the same
manner pc from 2nd network can't ping to 1st card and 1st network . How
to do it without cascading .  All my pc are running windows 2000 server
and professional.
You didn't mention anything about NAT. Do you have NAT between these two
networks? And if so what is your configuration?
Deepak Srivastava
Lafance Overseas Private Ltd.
Handy: 011 38750887
Ph: +91 11 26827333
Think Positively and Masterfully, With Confidence and Faith, and life
becomes more secure... richer in achievement and experience - Swami
Vivekananda
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Dancho Penev
Home page:   http://www.mnet.bg/~dpenev
GnuGP public key:http://www.mnet.bg/~dpenev/gnupg.asc
Key fingerprint: E88D 8B7B 3EF6 E9C8 C5D2  7554 2AA8 C347 71A1 4277


pgpv4eDsBfhkM.pgp
Description: PGP signature


Re: When Unix Stops Being Fun

2004-10-04 Thread Daniela
On Sunday 03 October 2004 03:50, Dave Vollenweider wrote:
 This has nothing to do with technical problems, but rather it's more of a
 request for moral support.  This may seem disjointed, so bear with me.

 I've been using FreeBSD for over six months now, but I've been using
 Unix-like operating systems for almost two years.  I started with Red Hat
 Linux back when Red Hat was making and selling their consumer-grade
 version of Red Hat Linux, then switched to Debian before going to FreeBSD
 last March.  I now also run NetBSD on one of my machines.

I'm into FreeBSD for over two years now. It is the only OS I ever got really 
close to, after using Winblows for four years. Apart from this, I only had a 
quick look at NetBSD and SuSE Linux.

 Through all this, I've developed a passion for this type of OS, seeing the
 elegance, performance, and sheer power of Unix.  This has affected me to
 the point of me changing my career path.

Me too.

[...]
 Now, being that I know there are some very experienced people on this list,
 I'm betting that I'm not the only one that has experienced this, that
 learning new things in Unix-like OSs becomes more of a chore than something
 to do for fun.  My question is, what advice would you have for dealing with
 this?

I developed a few rules and techniques for keeping the interest:

1. Avoid doing the same thing over and over again.
2. Do bigger projects as well as some playful experimenting.
3. Don't use closed-source (or commercial) software. I don't know how you
   react to it, but the closed look and feel really puts me off.
4. If it's running well, don't interrupt it. Unless you feel you're hitting
   the wall, don't take a break while solving a complex problem.
5. Keep one style for one session. If you're into multiple things that have to
   do with computers, don't mix them up. Especially don't mix high-level and
   low-level activities. For example, don't do Javascript programming (or
   webdesign in general), complex image editing or maybe even 3D modelling on
   the console with a CLI. On the other hand, don't do ASM programming in a
   graphical IDE, use vi instead. If you do the dirtiest lowest-level hacks,
   you may be well advised to even use TECO, or some other editor which is
   really hard to use.

I don't know to which extent these rules apply to you, but they always worked 
for me. Keep in mind that this is NOT the way to high productivity, but it 
can help if your interest is fading away.
If this doesn't help, there's one more technique that will (if done properly) 
certainly make UNIX fun again, but it implies a LOT of overhead, and I'm 
almost sure you don't want to do this unless you have nothing to do for the 
next few months.

Regards,
Daniela

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


php4 with gd?

2004-10-04 Thread Ray Davis
I must be totally dense, but after trying a number of things,
searching the mailing lists, searching google, reading the freebsd
ports doc, searching the php web - I still can not get php4 to
build with gdlib support using the ports collection.

We already had a working mod_php4 built and installed, and just
want to add gdlib support.  None of the following (as well as
other incantations) work in either the www/mod_php4 port nor the
lang/php4 port:

make deinstall; make reinstall
make deinstall; make clean; make install
make deinstall; make WITH_GD=YES reinstall
make deinstall; make clean; make WITH_GD=YES install

Can someone please give me a clue?  I thought I remembered that
there was a text gui asking what options we want, but it doesn't
appear anymore.

There seems to be a big gap between simply installing a port with
its defaults and finding out what other options might be available
via the WITH_* and WITHOUT_* options.  Isn't this documented with
each port somewhere?

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


RE: Issues with 2 instances of NATD

2004-10-04 Thread Haulmark, Chris
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Joseph Begumisa
 Sent: Monday, October 04, 2004 2:33 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Issues with 2 instances of NATD
 
 On Mon, 4 Oct 2004, Haulmark, Chris wrote:
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Joseph Begumisa
  Sent: Monday, October 04, 2004 2:26 AM
  To: [EMAIL PROTECTED]
  Subject: Issues with 2 instances of NATD
 
 
  I want traffic from one machine on the LAN with ip address
  169.254.0.18 to
  go out through ISP2 and traffic from the rest of the machines
  on the LAN
  o go through ISP1.  However, traffic from all machines
  including that one
  goes through ISP1.  Perhaps I'm missing something. Below is
  my setup and
  configuration details:
 
  This is because of your default route which is assigning 
 all the packets
  to go through the ISP1.
 
 i thought about this too.  how then would I go about this to 
 achieve my 
 goal?

I use Zebra for BGP routings.

For more information, 
http://lists.freebsd.org/pipermail/freebsd-questions/2004-January/031720.html

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

--
Chris Haulmark
System Admin. Freelancer
In market for IT corrections for a salary.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: php4 with gd?

2004-10-04 Thread Haulmark, Chris
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ray Davis
 Sent: Monday, October 04, 2004 2:59 PM
 To: [EMAIL PROTECTED]
 Subject: php4 with gd?
 
 I must be totally dense, but after trying a number of things,
 searching the mailing lists, searching google, reading the freebsd
 ports doc, searching the php web - I still can not get php4 to
 build with gdlib support using the ports collection.
 
 We already had a working mod_php4 built and installed, and just
 want to add gdlib support.  None of the following (as well as
 other incantations) work in either the www/mod_php4 port nor the
 lang/php4 port:
 
 make deinstall; make reinstall
 make deinstall; make clean; make install
 make deinstall; make WITH_GD=YES reinstall
 make deinstall; make clean; make WITH_GD=YES install
 
 Can someone please give me a clue?  I thought I remembered that
 there was a text gui asking what options we want, but it doesn't
 appear anymore.

Have you looked in the ports collection of lang/php4-extensions?

 
 There seems to be a big gap between simply installing a port with
 its defaults and finding out what other options might be available
 via the WITH_* and WITHOUT_* options.  Isn't this documented with
 each port somewhere?
 
 Thanks!
 Ray
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 

--
Chris Haulmark
System Admin. Freelancer
In market for IT corrections for a salary.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4 with gd?

2004-10-04 Thread Benjamin Walkenhorst
Ray Davis wrote:
There seems to be a big gap between simply installing a port with
its defaults and finding out what other options might be available
via the WITH_* and WITHOUT_* options.  Isn't this documented with
each port somewhere?
 

Look at the Makefile and the CONFIGURE_ARGS variable. I don't know the 
option for php, but something like --enable-gd might help.

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


Re: C compiler

2004-10-04 Thread Josh Hansen
Kris Kennaway wrote:
On Mon, Oct 04, 2004 at 01:18:48PM -0600, Josh Hansen wrote:
 

Bill Moran wrote:
   

[EMAIL PROTECTED] wrote:

 

Hello,
I?ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own
programs and started to running them. For my surprise, I checked that
FreeBSD programs spent almost 50% more time than the same program compiled
to linux. I checked several compile options, but it did not have good 
results.
 

   

5.2.1 is not a strong performer.  It's ALPHA code.
If you want to do performance testing, either use 4.10, or work with the
5.3 BETAs.  5.2.1 isn't supposed to be fast yet.

 

I really don't think the problem is that simple.  How about either 
giving him a real answer or none at all?
   

It's hard to give a good answer to a bad question :)
In order to accurately diagnose the problem we need a way to repeat
it, or at least a full description of what was tried (including source
code and details of the benchmark measurements).  Otherwise, all we
can do is guess what might be going on.
Kris

Your'e right of course, there weren't many details originally given, 
and the answer could be that simple.  I do realize that my first post 
was out of line and I apologized to Bill off-list.  I just thought that:

A: With such a lack of important details in the first post, blaming the 
problem on the FreeBSD version was a bit pre-mature, and

B: Even with the speed issues in 5.2.1, 50% is quite a large difference, 
so I thought it was likely that there was something else going on, but 
of course, like you said, we would need more information to determine 
what.  Also, the original poster should definitely be using 5.3 instead 
for this thing.

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


IPNAT max static mapping hardcored?

2004-10-04 Thread gkullak
Hi,
I come from iptables over Red Hat 7.3 in my cable connection(512Kbps).
This structure with 20 machines nated in my LAN. 3 machines are running
Overnet, this may be that we must redirect 6 port (1 TCP and 1 UDP for
each machine) for each Overnet machine. This work fine and transparent
proxy in the same machine work fine too.

 Internet --- x.x.x.x(public address) | RH 7.3 | 172.16.0.2 LAN

Now, I have been installed FreeBSD 4.10 with ipfilter in RH7.3 position
instead, but when I start Overnet on FreeBSD and overnet in ONE machine of
the LAN, the FreeBSD crash.
What it mean crash? SSH is very slow to prompt for password, proxy
transparent may be work, may be no. If a put proxy setting in my IE
configuration, the thing work better.

Anybody tell my that in one .h C library, the ipfilter program define a
constant that fix the max static connection...this is really???

Actually, with ipnat -s, I see 780 mapping.
Is this number really high?

This do that I thing that ipfilter is designed for very small networks
with very network load.

What do you thing? I will try putting Red Hat again for test.

Regards.

-- 


Gustavo Ariel Kullak
e-mail:[EMAIL PROTECTED]

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


IPNAT max static mapping hardcored?

2004-10-04 Thread gkullak

Hi,
I come from iptables over Red Hat 7.3 in my cable connection(512Kbps).
This structure with 20 machines nated in my LAN. 3 machines are running
Overnet, this may be that we must redirect 6 port (1 TCP and 1 UDP for
each machine) for each Overnet machine. This work fine and transparent
proxy in the same machine work fine too.

 Internet --- x.x.x.x(public address) | RH 7.3 | 172.16.0.2 LAN

Now, I have been installed FreeBSD 4.10 with ipfilter in RH7.3 position
instead, but when I start Overnet on FreeBSD and overnet in ONE machine of
the LAN, the FreeBSD crash.
What it mean crash? SSH is very slow to prompt for password, proxy
transparent may be work, may be no. If a put proxy setting in my IE
configuration, the thing work better.

Anybody tell my that in one .h C library, the ipfilter program define a
constant that fix the max static connection...this is really???

Actually, with ipnat -s, I see 780 mapping.
Is this number really high?

This do that I thing that ipfilter is designed for very small networks
with very network load.

What do you thing? I will try putting Red Hat again for test.

Regards.

-- 


Gustavo Ariel Kullak
e-mail:[EMAIL PROTECTED]




-- 


Gustavo Ariel Kullak
e-mail:[EMAIL PROTECTED]
TE particular: (011) 4966-1246
TE laboral: (011) 6329-4261
Móvil : 15-5416-1246
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Wi-Fi

2004-10-04 Thread Petros V
Hello everybody,

I am working with Linux but I know that FreeBSD makes a server safer. 
I want to use FreeBSD as an Internet Gateway between a wireless router
and a hub for wireless network cards. Does the FreeBSD have
applications that support the 802.11g ?
What I want is not exactly an access point but a wireless connection 
between the phone line and the internet gateway seperated by a wall.
What about bluetooth? I have seen a package (if I remember it's name
was Fritz) but I don't know if it has drivers for FreeBSD.


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


DHCP Client

2004-10-04 Thread Daniel M
How do I configure my FreeBSD to get IP from my DHCP?
(as a DHCP client)
_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: DHCP Client

2004-10-04 Thread Chris Howells
On Monday 04 October 2004 22:18, Daniel M wrote:
 How do I configure my FreeBSD to get IP from my DHCP?
 (as a DHCP client)

By reading the documentation.

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

-- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org


pgpFXGA2FGtDk.pgp
Description: PGP signature


Re: DHCP Client

2004-10-04 Thread Richard Collyer
Hello,

http://forums.devshed.com/t25000/s.html

quote Say your NIC is vr0, just append ifconfig_vr0=DHCP to /etc/rc.conf (not 
/etc/defaults/rc.conf)

Cheers
Richard


On Mon, 04 Oct 2004 21:18:51 +
Daniel M [EMAIL PROTECTED] wrote:

 How do I configure my FreeBSD to get IP from my DHCP?
 (as a DHCP client)
 
 _
 The new MSN 8: smart spam protection and 2 months FREE*  
 http://join.msn.com/?page=features/junkmail
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Richard Collyer [EMAIL PROTECTED]

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


Re: DHCP Client

2004-10-04 Thread Charles Swiger
On Oct 4, 2004, at 5:18 PM, Daniel M wrote:
How do I configure my FreeBSD to get IP from my DHCP?
(as a DHCP client)
Run dhclient.  You can also put a line like:
ifconfig_fxp0=DHCP
...in /etc/rc.conf, if you always want to use DHCP for configuring that 
particular network interface.

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


Re: DHCP Client

2004-10-04 Thread Emanuel Strobl
Am Montag, 4. Oktober 2004 23:18 schrieb Daniel M:
 How do I configure my FreeBSD to get IP from my DHCP?
 (as a DHCP client)

When using sysinstall (configure - Networking - Interfaces - select your 
physical device) answer the question Do you want to try DHCP configuration 
of the interface? with YES or if you don't like sysinstall 
edit /etc/rc.conf and make sure you have a line reading:

ifconfig_fxp0=DHCP

Make sure to replace fxp0 with your physical interface name (e.g: xl0 for the 
first 3com card, rl1 for the second Realtek card)

You may also want to add this line to /etc/dhclient.conf

send host-name yourhostname;

man dhclient is your friend.

-Harry


 _
 The new MSN 8: smart spam protection and 2 months FREE*
 http://join.msn.com/?page=features/junkmail

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


pgp42QHMM92fx.pgp
Description: PGP signature


Re: Troubleshoting with nat

2004-10-04 Thread knowtree
 Dear sir
 I have two network on two different switch. My pc have two lan cards

I assume that this pc is supposed to link the two networks together.

 among which 1st is connected to 1st switch and 2nd is connected to
 second switch. Both the switch are not cascaded. One pc from 1st network
 can ping to 1st card and not to 2nd card and 2nd network , in the same
 manner pc from 2nd network can't ping to 1st card and 1st network . How
 to do it without cascading .  All my pc are running windows 2000 server
 and professional.

What is my pc (the one with two lan cards) running? If it is running
FreeBSD, or you are considering using FreeBSD, look at this part of the
handbook:

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

It is not clear to me if you want pcs on the two LAN segments to ping each
other, or be prevented from reacing each other. If it is prevention you
want, try here:

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


GARY Dunn
Honolulu



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


vinum and securelevel

2004-10-04 Thread Dean
Hello questions,
   Please include me in replies.  I'm running 5.2.1-RELEASE built late 
last month and can't get vinum to list it's configuration.  Could my 
securelevel have something to do with it? 
Thanks.

0 tfz /root # vinum printconfig
Can't open /dev/vinum/control: Operation not permitted
0 tfz /root # ls -aFloq /dev/vinum/control
crw---  1 root  wheel  -  91, 0x3fff00fe Sep 28 21:09 /dev/vinum/control
1 tfz /root # sysctl -w kern.securelevel
kern.securelevel: 2
0 tfz /root # uname -a
FreeBSD tfz.deanandadie.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Wed 
Sep 22 21:19:10 PDT 2004 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/TFZ  i386

0 tfz /root # kldstat
Id Refs AddressSize Name
14 0xc040 354994   kernel
21 0xc0755000 c8410vinum.ko
31 0xc081e000 51ac8acpi.ko
0 tfz /root # df
Filesystem  1K-blocksUsedAvail Capacity  Mounted on
/dev/vinum/root  13706658 1482158 1112796812%/
devfs   1   10   100%/dev
--
--Dean - Unscrambler of eggs
--
Take your time, take your chances

It matters not how strait the gate / How charged with punishment the scroll
I am the master of my fate / I am the captain of my soul.-- Invictus --
 -- William E Henley --
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP Client

2004-10-04 Thread Eric Kjeldergaard
try `dhclient interface` (man dhclient for more).  to get it to do
that on startup, simply set 'ifconfig_interface=DHCP' in your
/etc/rc.conf (man rc.conf tells you about this)


On Mon, 04 Oct 2004 21:18:51 +, Daniel M [EMAIL PROTECTED] wrote:
 How do I configure my FreeBSD to get IP from my DHCP?
 (as a DHCP client)
 
 _
 The new MSN 8: smart spam protection and 2 months FREE*
 http://join.msn.com/?page=features/junkmail
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 



-- 
If I write a signature, my emails will appear more personalised.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wi-Fi

2004-10-04 Thread knowtree
 Hello everybody,
 
 I am working with Linux but I know that FreeBSD makes a server safer. 
 I want to use FreeBSD as an Internet Gateway between a wireless router
 and a hub for wireless network cards. Does the FreeBSD have
 applications that support the 802.11g ?

Yes. The key is to use a compatible wi-fi card. Read this portion of the
handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html



 What I want is not exactly an access point but a wireless connection 
 between the phone line and the internet gateway seperated by a wall.

Sounds like an IBSS (ad-hoc) setup; you will need two FreeBSD boxes.

 What about bluetooth? I have seen a package (if I remember it's name
 was Fritz) but I don't know if it has drivers for FreeBSD.

You can read all about FreeBSD support for bluetooth here:

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

Gary Dunn
Honolulu


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


Problem regarding dhcp and FreeBSD 4.10 on a laptop

2004-10-04 Thread Scott Key
I have a Toshiba Satellite that used to run Win 98 until I got fed up and installed 
FreeBSD. This is my first FreeBSD installation, though I received help from a few 
people more knowledgable than I. The problem I am having is this: I have comcast 
broadband internet on a Linksys Wireless-G Gateway Modem/Router. I have two other 
computers that run windows, both of which have no problem using dhcp to obtain their 
IP addresses. For reasons that I have been unable to figure out after days of 
searching the internet, DHCP will assign a proper IP when pccard_ifconfig is set to 
use it in the rc.conf. The problem is that I am unable to get past the network. I can 
ping within the network to my hearts content, and if pinging my router and other 
computers was entertaining for more than five seconds, I'd be dandy. I have tried 
setting static IP's, I've tried manually adding the route's needed into the routing 
table, but NOTHING thus far has allowed be get outside the network. I contacted my 
cable company, who dutifully reported to me that they have no idea what FreeBSD is, 
anything other than Windows or Mac, and they are useless. In any event, I hope that 
some help can be provided in this matter. Everything else with FreeBSD works 
wonderfully, but for some reason, it simply will not allow me access the internet. 
Just to clarify, the PCcard is being recognized by FreeBSD, I added it in, it works 
fine. I have configured rc.conf to include a pccard_ifconfig (currently it's set to 
DHCP, which seems to be setting the appropriate ip address). Any help that could be 
offered would be most appreciated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


netstat 'Ierrs' - meaning and possible causes

2004-10-04 Thread Nathan Kinkade
I have got a particular machine on our network that is seeing a very
high rate of 'Ierrs' when viewing network interface stats with:

$ netstat -i

What possible type of errors comprise 'Ierrs'?  Here is an example of
the output:

Name Mtu  Network  AddressIpktsIerrs   OpktsOerrs  Coll
xl0  1500 Link#1 long mac 92977239 5723973 95001292 0  2070292

According to this, input errors amount to about 6% of the total input
packets.  This number definitely exceeds the level of acceptable errors,
but since I'm not quite sure what Ierrs signifies I'm not sure where to
begin.  Bad hardware or media?  Are Ierrs received packets that are
identifiable by a header, but otherwise mangled?

Thanks,
Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49


pgp0m9QveT0uV.pgp
Description: PGP signature


Re: Problem regarding dhcp and FreeBSD 4.10 on a laptop

2004-10-04 Thread Deceased
Scott Key wrote:
I have a Toshiba Satellite that used to run Win 98 until I got fed up and installed FreeBSD. This is my first FreeBSD installation, though I received help from a few people more knowledgable than I. The problem I am having is this: I have comcast broadband internet on a Linksys Wireless-G Gateway Modem/Router. I have two other computers that run windows, both of which have no problem using dhcp to obtain their IP addresses. For reasons that I have been unable to figure out after days of searching the internet, DHCP will assign a proper IP when pccard_ifconfig is set to use it in the rc.conf. The problem is that I am unable to get past the network. I can ping within the network to my hearts content, and if pinging my router and other computers was entertaining for more than five seconds, I'd be dandy. I have tried setting static IP's, I've tried manually adding the route's needed into the routing table, but NOTHING thus far has allowed be get outside the network. I contacte
d my cable company, who dutifully reported to me that they have no idea what FreeBSD is, anything other than Windows or Mac, and they are useless. In any event, I hope that some help can be provided in this matter. Everything else with FreeBSD works wonderfully, but for some reason, it simply will not allow me access the internet. Just to clarify, the PCcard is being recognized by FreeBSD, I added it in, it works fine. I have configured rc.conf to include a pccard_ifconfig (currently it's set to DHCP, which seems to be setting the appropriate ip address). Any help that could be offered would be most appreciated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

I dont know but it may by that you have blank resolv.conf . Put there 
your providers DNS server ip address.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSD Booting question (with windows)?

2004-10-04 Thread Murray Taylor
More importantly did you defrag the windows 
installation _before_ doing any repartitioning??

Note that defrag doesnt necessarily move _all_ files down to the
low end of the disk. I had to scour the net for other tools
to finally get EVERYTHING packed down low on the disk.

Then and only then can you safely repartition the disk without
destroying some semi-essential chunk on something that windows 
thinks it needs.

mjt

On Tue, 2004-10-05 at 02:17, Eric Schuele wrote:
 On Monday 04 October 2004 11:03 am, Andy Scheriff wrote:
  Hi.
 
  I just installed freebsd on my laptop yesterday. I have a previous
  version of windows on there (windows XP Home) as well. I was told by
  a friend that I would be able to boot between BSD and windows easily,
  however I seem to be having some problems. I am using that bootloader
  that BSD recommends you use.
 
  My problem is that when I reach the boot screen, and try to boot to
  DOS (windows), it gives me the following error:
 
  Windows could not start because the following file is missing or
  corrupt: Windows root\system32\hal.dll.
  Please re-install a copy of the above file.
 
   Did you repartition in order to accomplish your dual boot?  If so your 
 windows boot.ini may no longer be correctly configured.
 
   Try Microsoft Knowledge base article:
   330184
 
 
  And that is about it. I've never formally used BSD before, so I am
  kind of in the dark on what to do next. I know the logical thing
  would be to just replace the file, and that is really easy for me to
  do from DOS, but I am not sure how to go about doing this in BSD.
  Could you please help me?
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---


This Email has been scanned for Viruses by MailMarshal.

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


Re: harddisk dying? / How do I fix superblock on SCSI drive?

2004-10-04 Thread Rob
Hi,
Your post may be timely for me.  How do you copy an alternate superblock 
on a   SCSI hard drive to replace the main superblock?  Mine got 
corrupted.  I did this routine once before on an IDE drive and it worked 
great.  But on SCSI, I understand less of how the drive works, so I 
don't know whether to use fsck or camcontrol or what.

Any pointers to info on the web or FreeBSD site would be helpful too.  I 
have read the manual material on SCSI drive related commands, but I am 
very confused.   My drives are later model SCSI-160 types, with an 
Adaptec 29160 controller board.  The drive is using UFS2 and UFS, as 
this is an AMD64 box, and I have a FreeBSD 5.3beta 32bit partition in 
there too.  Cable is properly terminated and I'm using new low profile 
round SCSI cables.  I don't know what I did to cause this.

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


Re: OLD e-machines box and XF86Config

2004-10-04 Thread Greg 'groggy' Lehey
On Monday,  4 October 2004 at 10:55:41 -0700, Gary Kline wrote:

   Folks,

   Does anybody onlist have a working XF86Config for an
   old year 2000 emachine 500ix? 

I suppose I'm not the only person to have no idea what kind of machine
this is.  What architecture is it?

   I just upgraded it to a full 256M of SDRAM and added a
   huge drive.  Now am getting ready toput 5.3 on there.
   xf86config, the shell version, didn't work, and it looks
   like I messed up on the GUI config.

   Assistance much appreciated.

Well, a good start would be to give some details of the machine (in
particular, the graphics card), what you've done, and what happened.

   PS:  oh  yeah, any opinions on xorg vs xfree86 welcome, too.

The general consensus seems to be to go with X.org, especially with
unusual hardware.  I'm doing so, and it works for me.

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
See complete headers for address and phone numbers.


pgpcy8woB2vlk.pgp
Description: PGP signature


Re: OLD e-machines box and XF86Config

2004-10-04 Thread Gary Kline
On Tue, Oct 05, 2004 at 07:32:03AM +0930, Greg 'groggy' Lehey wrote:
 On Monday,  4 October 2004 at 10:55:41 -0700, Gary Kline wrote:
 
  Folks,
 
  Does anybody onlist have a working XF86Config for an
  old year 2000 emachine 500ix? 
 
 I suppose I'm not the only person to have no idea what kind of machine
 this is.  What architecture is it?
 
  I just upgraded it to a full 256M of SDRAM and added a
  huge drive.  Now am getting ready toput 5.3 on there.
  xf86config, the shell version, didn't work, and it looks
  like I messed up on the GUI config.
 
  Assistance much appreciated.
 
 Well, a good start would be to give some details of the machine (in
 particular, the graphics card), what you've done, and what happened.


Thanks to haaving used SuSE in 2000, its probe got the initial
video card stuff and an XF86Config listing::

VendorName  Unknown
BoardName   ATI Mach64 3D Rage IIC
VideoRam4096


According to the E-Machine's people,  the built-in
vidio chip can run at 1280x1024; I never tried 
it higher that 1024x768.

It's a 500MHz P-II
with 70GB disc, 256MB memory, and some cheesy sound card.
E-Machines is pretty well known so I prob'ly don't have
to exlain anything there.  We (an EE buddy) put in two new
fans and a new PS; I figure it's good for ahnother 4 or 5
years.  I'd just like to have a working X config file.
Right now, startx works; but xdm bring up a bare-bones
mono-chrome window, and after I type in my name/passwd,
xdm quits and repawns.  The /etc/X11/  directory has several
misc files that might be interfering with xdm, but I don't
understand how.  (I don't find anything interesting in
/tmp/.*)

I can use the box via my KVM switch, but intend to use this
for further driver testing and so want the xdm xlogin
to work.  

Any clues?



 
  PS:  oh  yeah, any opinions on xorg vs xfree86 welcome, too.
 
 The general consensus seems to be to go with X.org, especially with
 unusual hardware.  I'm doing so, and it works for me.
 

Right now the emachine is running 4.8; I'll go x.org once
5.3-R or -STABLE is out.

gary





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

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


Re: Hello FreeBSD Team I want ask.

2004-10-04 Thread Chris Collins
Try..

make install WITH_OPENSSL_BASE=yes
or 
make install WITH_OPENSSL_PORT=yes

Chris

On Mon, 4 Oct 2004 09:04:07 +0200, Jens Holmqvist [EMAIL PROTECTED] wrote:
 well either you update the base
 build and install new world which you can read on in the handbook or
 you install openssl port
 
 On Sun, 3 Oct 2004 23:49:25 -0700 (PDT), Nurudin Jauhari
 [EMAIL PROTECTED] wrote:
 
  --- Jens Holmqvist [EMAIL PROTECTED] wrote:
 
   you need a new openssl version either install the
   port version or
   update your install
  
  what must update? openssl or the program??
 
  Thanks
 
 
 
  
  
 
   On Sun, 3 Oct 2004 23:40:59 -0700 (PDT), Nurudin
   Jauhari
   [EMAIL PROTECTED] wrote:
I try to install my program via Ports, but
   everythime
I try to use command
   
make install
   
always get this error?
--
Dependency warning: used OpenSSL version contains
known vulnerabilities
Please update or define either WITH_OPENSSL_BASE
   or
WITH_OPENSSL_PORT
*** Error code 1
   
Stop in /usr/ports/mail/mutt.
--
   
What should I do to make my installation run well
and this error can handled
   
Thanks
   
Nurudin Jauhari
   
=
::
Ketika kamu lahir, kamu menangis
dan semua orang di sekeliling kamu tersenyum.
Hiduplah dengan hidupmu, jadi ketika kamu
   meninggal,
kamu satu-satunya yang tersenyum dan semua orang
di sekeliling kamu menangis.
   
.:: My Blogs
   
__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
   
  
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
   [EMAIL PROTECTED]
   
  
 
  
  =
  ::
  Ketika kamu lahir, kamu menangis
  dan semua orang di sekeliling kamu tersenyum.
  Hiduplah dengan hidupmu, jadi ketika kamu meninggal,
  kamu satu-satunya yang tersenyum dan semua orang
  di sekeliling kamu menangis.
 
  .:: My Blogs
 
  ___
  Do you Yahoo!?
  Declare Yourself - Register online to vote today!
  http://vote.yahoo.com
 
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 



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


[no subject]

2004-10-04 Thread Robert Huff
Subject: How do I fix superblock on SCSI drive?
In-Reply-To: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
[EMAIL PROTECTED]
X-Mailer: VM 7.17 under 21.5  (beta16) celeriac XEmacs Lucid


Rob writes:

  Your post may be timely for me.  How do you copy an alternate
  superblock on a SCSI hard drive to replace the main superblock?
  Mine got corrupted.

_All_ your superblocks?  If so, I think you're screwed.
If it's only the primary superblock, then you _may_ be able to
salvage things.  Googling 'FreeBSD and alternate superblock' found
http://www.adminschoice.com/docs/fsck.htm, which is at least a
starting place.


Robert Huff


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


Re: harddisk dying? / How do I fix superblock on SCSI drive?

2004-10-04 Thread Charles Swiger
On Oct 4, 2004, at 7:37 PM, Rob wrote:
Your post may be timely for me.  How do you copy an alternate 
superblock on a   SCSI hard drive to replace the main superblock?  
Mine got corrupted.  I did this routine once before on an IDE drive 
and it worked great.  But on SCSI, I understand less of how the drive 
works, so I don't know whether to use fsck or camcontrol or what.
You can feed fsck the -b 32 (or some other superblock) option to clean 
the filesystem using an alternate superblock.  If possible, you want to 
try to do a SCSI REASsign Block command (reasb) to use any 
available spare sectors to replace the bad one.  It's possible that one 
of the following might be helpful:

/usr/ports/sysutils/sformat
/usr/ports/sysutils/smartmontools
I suggest running a long self-test and checking the SMART status on the 
drive.  Modern drives are supposed to reassign bad blocks themselves, 
so it is quite possible that your drive has already used up all of its 
spare sectors and is going to fail completely very soon.

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


Release Compiler options

2004-10-04 Thread Emanuel Strobl
I really spent some time tracing the make release, but couldn't find any way 
to modify the compiler flags for the release. Why do I need a 
populated /usr/obj if it's never touched? I really think I'm missing 
something. Two years ago I had no problems building specail 4.4-RELEASEs.

Any hint is welcome.

-Mano


pgp6rMtMbVAsV.pgp
Description: PGP signature


RE: Release Compiler options

2004-10-04 Thread Haulmark, Chris
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Emanuel Strobl
 Sent: Monday, October 04, 2004 8:43 PM
 To: [EMAIL PROTECTED]
 Subject: Release Compiler options
 
 I really spent some time tracing the make release, but 
 couldn't find any way 
 to modify the compiler flags for the release. Why do I need a 
 populated /usr/obj if it's never touched? I really think I'm missing 
 something. Two years ago I had no problems building specail 
 4.4-RELEASEs.
 
 Any hint is welcome.

There is an excellent hint for compiler flags to be found in the
19.4.3 section of the FreeBSD handbook.

The /usr/obj directory composes of the compiled applications from
the buildworld function.  You can delete it after you did a successful
completion of the installworld on a system.  That's what happens
when you do make clean in the /usr/src directory.
 
 
 -Mano


--
Chris Haulmark
System Admin. Freelancer
In market for IT corrections for a salary. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Troubleshoting with nat

2004-10-04 Thread stheg olloydson
it was said (with broken MS formatting):

I have two network on two different switch. My pc have two lan cards
among which 1st is connected to 1st switch and 2nd is connected to
second switch. Both the switch are not cascaded. One pc from 1st
network
can ping to 1st card and not to 2nd card and 2nd network , in the same
manner pc from 2nd network can't ping to 1st card and 1st network .
How
to do it without cascading .  All my pc are running windows 2000
server
and professional.
 
Hello,

One would think that this is desirable behavior. Otherwise, why do you
have two different networks? Something must be missing here. Please
explain what you are trying to accomplish, so the community may better
help with your problem.
Also, even though you say you are running Windows on the PCs, you are
running FreeBSD on the box with the 2 NICs, correct?

Regards,

Stheg

On topic replies not CCed to originating list ignored.



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hello FreeBSD Team I want ask.

2004-10-04 Thread Albert Shih
 --- Jens Holmqvist [EMAIL PROTECTED] wrote:

  you need a new openssl version either install the
  port version or
  update your install
 
 what must update? openssl or the program??

You need the new version of openssl, for do that you can upgrade your
system by using

make your src update (something like cvsup kernel.cvs)
cd /usr/src
make -DNOGAMES -DNOPROFILE buildworld
make buildkernel (with KERNCONF=your_kernel_config_name if you don't use
generic kernel)
make installkernel (with KERNCONF)
make -DNOGAMES -DNOPROFILE installworld (well in fact the FreeBSD-pro tell
you need reboot after installkernel and pass to single-user to do the
installworld)

After that you have a new and fresh version of openssl.

But you can also use a port for install a newversion of openssl.

Regards.
--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Tue Oct 5 05:57:14 CEST 2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Booting to CD and the handing off to HD

2004-10-04 Thread Cristobal Miguelo
Thanks for the response!

I would like to have it completely automated:

The machine goes down at 4am for the check and boots to cd, then the cd
controls the hand-off to the hard drive.  I'd like to have the BIOS
setup to only boot the cd and if the HD checks out ok, boot up the HD. 
That way there is a slim chance that any security breach will last
beyond one night on my machine.  I seriously doubt a security breach
will occur, but I want to close every door imaginable.

Anything else that could be done?

Thx
-C


--- Nathan Kinkade [EMAIL PROTECTED] wrote:

 On Sun, Oct 03, 2004 at 08:58:05PM -0700, Cristobal Miguelo wrote:
  Hello,
  
  I'm going to be working on a firewall box where I want to boot to
 CD
  and run an integrity check on the Hard Drive.  If the Hard Drive
 checks
  out OK, I want the CD to then hand off to the hard drive and boot
 the
  hard drive.
  
  Is that possible?   What man pages and/or web pages should I read
 to
  make it happen?
  
  Thanks!
  Cristobal
 
 Well, you could certainly mount the harddisk partitions somewhere in
 the
 filesystem while running under the CDROM booted kernel.  However, I
 seriously doubt if you could change the running kernel to that from
 the
 harddisk.  Why not just reboot to the harddisk after you have
 finished
 your diagnostics with the CDROM?
 
 Nathan
 -- 
 PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49
 

 ATTACHMENT part 2 application/pgp-signature 





__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4 with gd?

2004-10-04 Thread Alex de Kruijff
On Mon, Oct 04, 2004 at 04:11:30PM -0400, Haulmark, Chris wrote:
  There seems to be a big gap between simply installing a port with
  its defaults and finding out what other options might be available
  via the WITH_* and WITHOUT_* options.  Isn't this documented with
  each port somewhere?

There are used in the Makefile, so you can allways look there.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4 with gd?

2004-10-04 Thread Alex de Kruijff
On Mon, Oct 04, 2004 at 09:59:23PM +0200, Ray Davis wrote:
 make deinstall; make reinstall
 make deinstall; make clean; make install
 make deinstall; make WITH_GD=YES reinstall
 make deinstall; make clean; make WITH_GD=YES install
 
 Can someone please give me a clue?  I thought I remembered that
 there was a text gui asking what options we want, but it doesn't
 appear anymore.

You can set this not to appear by setting BATCH in /etc/make.conf. If
you rename /etc/make.conf for builing mod_php, then you'll have you're
text ui. (g stands for graphical)

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem regarding dhcp and FreeBSD 4.10 on a laptop

2004-10-04 Thread Andrew Robinson
When I've had a problem like this it's usually my firewall.  Are you
running a firewall at all?

Also, can you ssh in to the BSD box from inside the network?

Andrew

Scott Key wrote:
 I have a Toshiba Satellite that used to run Win 98 until I got fed up and
+installed FreeBSD. This is my first FreeBSD installation, though I received
+help from a few people more knowledgable than I. The problem I am having is
+this: I have comcast broadband internet on a Linksys Wireless-G Gateway 
+Modem/Router. I have two other computers that run windows, both of which have
+no problem using dhcp to obtain their IP addresses. For reasons that I have
+been unable to figure out after days of searching the internet, DHCP will
+assign a proper IP when pccard_ifconfig is set to use it in the rc.conf. The
+problem is that I am unable to get past the network. I can ping within the
+network to my hearts content, and if pinging my router and other computers was
+entertaining for more than five seconds, I'd be dandy. I have tried setting
+static IP's, I've tried manually adding the route's needed into the routing
+table, but NOTHING thus far has allowed be get outside the network. I contacte
d my cable company, who dutifully reported to me that they have no idea what
+FreeBSD is, anything other than Windows or Mac, and they are useless. In any
+event, I hope that some help can be provided in this matter. Everything else
+with FreeBSD works wonderfully, but for some reason, it simply will not allow
+me access the internet. Just to clarify, the PCcard is being recognized by
+FreeBSD, I added it in, it works fine. I have configured rc.conf to include a
+pccard_ifconfig (currently it's set to DHCP, which seems to be setting the
+appropriate ip address). Any help that could be offered would be most  
+appreciated.

-- 
Andrew Robinson  Ph: 208 885 7115
Department of Forest Resources   Fa: 208 885 6226
University of Idaho  E : [EMAIL PROTECTED]
PO Box 441133W : http://www.uidaho.edu/~andrewr
Moscow ID 83843  Or: http://www.biometrics.uidaho.edu
No statement above necessarily represents my employer's opinion.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >