PPPoed crashed!!

2004-04-19 Thread Bikrant Neupane
I'm running pppoed on freebsd-4.9. It is running smoothly. However it crashes 
sometime with a pppoed.core file dumpped at the root directory.
gdb -c pppoed.core shows that it crashed with signal 11 segmentation fault.
I'm running the package as it came with the os. I have not upgraded any thing 
except the kernel which I have customized for my needs.

Is this a bug or am i missing some parameters in the kernel?

with regards,
Bikrant

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


Re: ftp server

2004-04-19 Thread Jesper Wallin
 Hello,
 I've got a 4.9 system and i'm out looking for an ftp server for it as i do
 not want to use the base server. I've heard good reviews of pure-ftpd, but
 i'm getting errors: can not find the ftp account and it won't authenticate.
 I've also tried proftpd, but although i find it capable i don't like
 it's slow response, even with identd lookups off.
 Features that i'm looking for, chroot anonymous users to a specific
 area, enable both anonymous and real users, virtual user and quota support,
 band width management, and optional secure communications. Most importantly
 i need it to work with ipfilter/ipnat. Using the base ftp server on a test
 box i can connect but i keep getting an error, can not build data
 connection, this is from a box external to the firewall.
 Thanks.
 Dave.

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


Hello..

I would (and do) choose Pure-FTPd since it has a very nice history without alot of
security problems. Both proftpd and wu-ftpd has a quite bad security history and I
prefer to not use them at all because of that.

Pure-FTPd has support for SSL/TLS, FXP, has native-language support, chroot, allow
virtual users, MySQL, Bandwidth limitations, Works perfectly both with or without a
firewall, and so on, the list is long.. I've personally used it since the spring of 
1999
and I havn't heard of _any_ remote root exploit yet so I consider it the best ftp 
daemon
ever.


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


speed issues

2004-04-19 Thread Radu MOLNAR
Sorry about the repost:

Hello list
I have a freebsd 4.9 on my computer wich is conected to a 100Mbps network.
When downloading or uploading files from this freebsd using ftp a have
decent transfer rates (above 5 MB/s). But in this network we also use DC
for file sharing. And using the DC protocol i only get rates below 1MB/s
for upload or download.
I also get these messages in my first console:
Limiting icmp unreach response from 268 to 200 packets per second
Limiting icmp unreach response from 277 to 200 packets per second
Limiting icmp unreach response from 268 to 200 packets per second
Limiting icmp unreach response from 273 to 200 packets per second
Limiting icmp unreach response from 264 to 200 packets per second
Limiting icmp unreach response from 272 to 200 packets per second
Limiting icmp unreach response from 270 to 200 packets per second
Limiting icmp unreach response from 260 to 200 packets per second
Limiting icmp unreach response from 264 to 200 packets per second
Limiting icmp unreach response from 265 to 200 packets per second
Limiting icmp unreach response from 267 to 200 packets per second
Limiting icmp unreach response from 246 to 200 packets per second
Limiting icmp unreach response from 208 to 200 packets per second
Limiting icmp unreach response from 209 to 200 packets per second
Limiting icmp unreach response from 204 to 200 packets per second

i tried modifing the value of the sysctl variable net.inet.icmp.icmplim
from 200 to 1000 but it had no efect. Do I have to restart for changes to
take efect. Or what is the solution to my problem?
Thanks



Radu Molnar
Babes-Bolyai Comunication Center


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


sshd: cannot disable password authentication, users can alwayslogin with password.

2004-04-19 Thread Zhang Weiwu
Hello. I'm today following the FreeBSD security how to 
http://www.it.daemonnews.org/200108/security-howto.html to secury my 
FreeBSD server. I configured dsa ssh access, now I can use my own 
computer to login to the server with ssh with dsa no problem, no 
password authentication is necessary. Following the guide I edit 
/etc/ssh/sshd_config and made sure

PasswordAuthentication no

But I tried restart sshd and even reboot the server, I can always login 
with password on any other computer.

Please drop me a hint.

Here is my server's configuration:

 uname -a
FreeBSD dino.realss 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Feb 29 
04:29:22 CST 2004 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/DINO  i386
 cat /etc/ssh/sshd_config
#   $OpenBSD: sshd_config,v 1.59 2002/09/25 11:17:16 markus Exp $
#   $FreeBSD: src/crypto/openssh/sshd_config,v 1.33 2003/09/24 
19:20:23 des Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.
# Note that some of FreeBSD's defaults differ from OpenBSD's, and
# FreeBSD has a few additional options.
#VersionAddendum FreeBSD-20030924

Port 22
Protocol 2
#ListenAddress 0.0.0.0
#ListenAddress ::
# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 3600
#ServerKeyBits 768
# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO
# Authentication:

#LoginGraceTime 120
PermitRootLogin no
StrictModes yes
RSAAuthentication no
PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
# rhosts authentication should not be used
RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
PermitEmptyPasswords no
# Change to no to disable PAM authentication
#ChallengeResponseAuthentication yes
# Kerberos options
KerberosAuthentication no
KerberosOrLocalPasswd no
#KerberosTicketCleanup yes
#AFSTokenPassing no

# Kerberos TGT Passing only works with the AFS kaserver
#KerberosTgtPassing no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression yes
#MaxStartups 10
# no default banner path
#Banner /some/path
#VerifyReverseMapping no
# override default of no subsystems
Subsystem   sftp/usr/libexec/sftp-server

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


Sound Blaster 16 on FreeBSD 5.2

2004-04-19 Thread Alejandro 'Lanjoe9' Valenzuela
Hello everyone
I'm trying to use a Sound Blaster 16 ISA card in FreeBSD 5.2.1.
When I try recompiling the kernel as the Handbook specifies in order to 
make it work, config returns

Config:277: Devices with 0 units are not likely to be correct

If I remove the 0 (from sbc0 to sbc),  config returns a syntax error 
message.

I've tried a few hundred permutations in /boot/device.hints with the 
irqs, drqs and flags and it hasn't worked
it always returns these messages:

alloc_resources
probe_and_attach returned 6
What am I doing wrong? I never had any problems to make the sound card 
work in FreeBSD 4.9...

BTW how do I tell the computer not to recover vi sessions?

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


Re: sshd: cannot disable password authentication, users canalwayslogin with password.

2004-04-19 Thread Zhang Weiwu
Okay, I figured out the problem myself. I should set

ChallengeResponseAuthentication no

to disable password authentication.

Zhang Weiwu wrote:

Hello. I'm today following the FreeBSD security how to 
http://www.it.daemonnews.org/200108/security-howto.html to secury my 
FreeBSD server. I configured dsa ssh access, now I can use my own 
computer to login to the server with ssh with dsa no problem, no 
password authentication is necessary. Following the guide I edit 
/etc/ssh/sshd_config and made sure

PasswordAuthentication no

But I tried restart sshd and even reboot the server, I can always 
login with password on any other computer.

Please drop me a hint.

Here is my server's configuration:

 uname -a
FreeBSD dino.realss 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Feb 29 
04:29:22 CST 2004 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/DINO  i386
 cat /etc/ssh/sshd_config
#   $OpenBSD: sshd_config,v 1.59 2002/09/25 11:17:16 markus Exp $
#   $FreeBSD: src/crypto/openssh/sshd_config,v 1.33 2003/09/24 
19:20:23 des Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.
# Note that some of FreeBSD's defaults differ from OpenBSD's, and
# FreeBSD has a few additional options.
#VersionAddendum FreeBSD-20030924

Port 22
Protocol 2
#ListenAddress 0.0.0.0
#ListenAddress ::
# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 3600
#ServerKeyBits 768
# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO
# Authentication:

#LoginGraceTime 120
PermitRootLogin no
StrictModes yes
RSAAuthentication no
PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
# rhosts authentication should not be used
RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# For this to work you will also need host keys in 
/etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
PermitEmptyPasswords no
# Change to no to disable PAM authentication
#ChallengeResponseAuthentication yes
# Kerberos options
KerberosAuthentication no
KerberosOrLocalPasswd no
#KerberosTicketCleanup yes
#AFSTokenPassing no

# Kerberos TGT Passing only works with the AFS kaserver
#KerberosTgtPassing no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression yes
#MaxStartups 10
# no default banner path
#Banner /some/path
#VerifyReverseMapping no
# override default of no subsystems
Subsystem   sftp/usr/libexec/sftp-server

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


Sendmail aliases mystery

2004-04-19 Thread Toomas Aas
Hello!

After updating my firewall from RELENG_4_8 to RELENG_4_9 I observe an 
interesting behaviour of Sendmail (using the base system Sendmail). It 
doesn't seem to honor it's aliases database after server is started, 
but starts to do so once I run 'cd /etc/mail  make restart'.

I have the following line in /etc/mail/aliases:

root: [EMAIL PROTECTED]

However, the daily periodic reports (which is essentially the only mail 
this box sends) are sent to [EMAIL PROTECTED], which 
in this case means that they essentially go nowhere. When the system is 
in this state and I use 'mail root' from the command line, the mail 
also goes to [EMAIL PROTECTED] However, after I manually restart Sendmail as 
described above, mail to root starts to go to it's destined address 
([EMAIL PROTECTED]).

The dates on /etc/mail/aliases and /etc/mail/aliases.db indicate that 
'newaliases' has been run after modifying the aliases file. I have run 
it a couple of times extra, just for the good measure, but it doesn't 
seem to change Sendmail's behaviour.

grep sendmail /etc/rc.conf:
sendmail_enable=NO

grep root /etc/mail/aliases:
# Pretty much everything else in this file points to root, so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.
root:   [EMAIL PROTECTED]
postmaster: root
bin:root
bind:   root
daemon: root
games:  root
kmem:   root
man:root
news:   root
nobody: root
operator: root
pop:root
sshd:   root
system: root
toor:   root
tty:root
uucp:   root
xten:   root
abuse:  root
# noc:  root
security:   root
ftp:root
# hostmaster:   root
# webmaster:root
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* 24 hours in a day, 24 beers in a case. Coincidence?

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


Re: Newbie Question

2004-04-19 Thread Remko Lodder

 Hello All,

How do I uninstall or disable snmpd. I have spent too many days
 trying to find this info.

pkg_info |grep -i snmp

Check which snmpd you have installed.

then do pkg_delete $return_information_from_pkg_info_command

HTH!,


 Thank you.

 Jeff




-- 
Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
Www.mostly-harmless.nl Dutch Community about helping newcomers on the
hackerscene


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


Re: Mail Delivery (failure autoresp408@edydsi.com)

2004-04-19 Thread autoresp408
This is an autoresponder. I'll never see your message.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Port Hacking

2004-04-19 Thread Matthew Seaman
On Mon, Apr 19, 2004 at 12:38:07AM -0500, Jason Dusek wrote:

 I would like to edit the code for one of my ports (Inkscape, a graphics 
 tool for GNOME) and then wrap it up in a tarball, dump it into distfiles 
 and reinstall it.  However, the ports system hits me with a checksum 
 mismatch.  What do I do about it?

Make a diff (diff -u format) against the original sources, and save
that into the 'files' subdirectory of the port as
'patch-some::filename'.  There's plenty of examples in that and other
ports which you can refer to for guidance.  The patch will be applied
to the sources automatically, and after the checksumming stage.

Note that cvsup(1) should ignore your extra patch file, so it might
cause odd problems building the port in future when the Inkscape port
gets updated again.  Please do submit your modifications via
send-pr(1) if they have anymore than purely local interest.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: ftp server

2004-04-19 Thread dick hoogendijk
On 18 Apr dave wrote:

 I've heard good reviews of pure-ftpd, but i'm getting errors: can not
 find the ftp account and it won't authenticate.

I would check my system settings.. Pure-ftpd ran after a portinstall on
my fbsd box as well as on a debian woody server. I do use the cli
startup line for the ftp server though. Not the pureftp.conf file.
I suggest you give it another try; read the dox carefully; it's worth
it.

 Features that i'm looking for, chroot anonymous users to a specific
 area, enable both anonymous and real users, virtual user and quota
 support, band width management, and optional secure communications.
 Most importantly i need it to work with ipfilter/ipnat.

Pure-ftpd has it all. And it works very secure and fast. It definately
is the best ftp server around imo.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.9 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PPPoed crashed!!

2004-04-19 Thread Matthew Seaman
On Mon, Apr 19, 2004 at 11:56:29AM +0545, Bikrant Neupane wrote:
 I'm running pppoed on freebsd-4.9. It is running smoothly. However it crashes 
 sometime with a pppoed.core file dumpped at the root directory.
 gdb -c pppoed.core shows that it crashed with signal 11 segmentation fault.
 I'm running the package as it came with the os. I have not upgraded any thing 
 except the kernel which I have customized for my needs.
 
 Is this a bug or am i missing some parameters in the kernel?

It's hard to say quite what the problem is with the small amount of
information you've included.

Certainly none of the software supplied with the OS should ever crash
with a segmentation violation, and it's definitely a bug if that
happens reproducibly.

On the other hand, segmentation faults are most commonly seen as a
symptom of faulty memory sticks.  Crashes due to bad memory will
happen quite unpredictably, although they will tend to happen more
when the machine is under load and there's a lot of memory IO going
on.

If the crash you're seeing happens repeatably and always occurs in the
same place, then it must be a programming error.  In which case,
please report the problem using send-pr(1).  Getting a backtrace from
gdb will be helpful -- as will keeping hold of the core file you have
to make available to a developer should one request it.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Why is the chmod values in /home insecure by default?

2004-04-19 Thread Jesper Wallin
Hello..

I'm running FreeBSD 5.2.1-RELEASE-p5 and when I create new user accounts with 
adduser,
the home directories are world readable/executable.. Sure, it might be useful if I want
to publish a website in my public_html, but yet, it should be up to the user if he want
to have his homedir world-readable, but by default it should be set to chmod 700 or
chmod 750 if each user has their own group imho. However, I saw that adduser had a
config file (/etc/adduser.conf) but the there is no manual entry for adduser.conf and I
can't find any example for it.. How can I change the default permission for new
home-directories?


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


Re: Sendmail aliases mystery

2004-04-19 Thread Matthew Seaman
On Mon, Apr 19, 2004 at 10:15:04AM +0300, Toomas Aas wrote:

 However, the daily periodic reports (which is essentially the only mail 
 this box sends) are sent to [EMAIL PROTECTED], which 
 in this case means that they essentially go nowhere. When the system is 
 in this state and I use 'mail root' from the command line, the mail 
 also goes to [EMAIL PROTECTED] However, after I manually restart Sendmail as 
 described above, mail to root starts to go to it's destined address 
 ([EMAIL PROTECTED]).

Most odd.  Is there anything in the log files (/var/log/maillog) to
indicate what the problem might be?

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


growfs on file-backed fs

2004-04-19 Thread Richard P. Williamson
Hello all,

according to the handbook, I can create a file-backed fs
(Example 12-5. Creating a New File-Backed Disk with vnconfig)

# dd if=/dev/zero of=newimage bs=1k count=5k
..
# vnconfig -s labels -c vn0 newimage
# disklabel -r -w vn0 auto
# newfs vn0c
...
# mount /dev/vn0c /mnt


I've been trying to do that, and end up with a file that I
can turn into an mfsroot.gz (or mdroot.gz for that matter).
But I can't get my device to boot from a flash device using
a 'home-built' mfsroot.gz.  I've tried various combinations
of switches for vnconfig, disklabel and newfs, but nothing
wants to allow it to play the way I need.

When I replace the mfsroot.gz with mfsroot.flp from the floppy
startup images, then it boots.

I have, in the past done a growfs on the mfsroot.flp, in order
to make it big enough to hold the files I need.  

But I'd rather just do the commands as described in example 12-5
above.  What do I need to add to that to make it a bootable mfsroot?

Regards,
rip 

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


Re: Sendmail aliases mystery

2004-04-19 Thread Toomas Aas
Hi!

Date sent:Mon, 19 Apr 2004 09:57:15 +0100
From: Matthew Seaman [EMAIL PROTECTED]

 Most odd.  Is there anything in the log files (/var/log/maillog) to
 indicate what the problem might be?

Nothing that I can see. When Sendmail starts up, only the following is 
logged:

Apr 17 21:53:41 80-235-112-80-dsl sm-mta[95]: starting daemon (8.12.9p2): [EMAIL 
PROTECTED]:30:00 
Apr 17 21:53:41 80-235-112-80-dsl sm-msp-queue[98]: starting daemon (8.12.9p2): [EMAIL 
PROTECTED]:30:00

And the two daily messages being sent cause the following to be logged:

Apr 18 03:02:55 80-235-112-80-dsl sendmail[583]: i3I02t6A000583: from=root, size=490, 
class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED]
Apr 18 03:02:56 80-235-112-80-dsl sendmail[627]: i3I02uM627: from=root, size=1674, 
class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED]
Apr 18 03:02:56 80-235-112-80-dsl sm-mta[631]: i3I02ubN000631: from=[EMAIL 
PROTECTED], size=882, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, 
daemon=Daemon0, relay=localhost 
 [127.0.0.1]
Apr 18 03:02:56 80-235-112-80-dsl sm-mta[632]: i3I02ubN000632: from=[EMAIL 
PROTECTED], size=2066, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, 
daemon=Daemon0, relay=localhost 
 [127.0.0.1]
Apr 18 03:02:57 80-235-112-80-dsl sendmail[583]: i3I02t6A000583: to=root, ctladdr=root 
(0/0), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=30057, relay=[127.0.0.1] 
[127.0.0.1], dsn=2.0.0, stat=Sent (i3I02ubN000631 Message accepted for delivery)
Apr 18 03:02:57 80-235-112-80-dsl sendmail[627]: i3I02uM627: to=root, ctladdr=root 
(0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30054, relay=[127.0.0.1] 
[127.0.0.1], dsn=2.0.0, stat=Sent (i3I02ubN000632 Message accepted for delivery)
Apr 18 03:02:58 80-235-112-80-dsl sm-mta[634]: STARTTLS=client, relay=mail.neti.ee, 
version=TLSv1/SSLv3, verify=FAIL, cipher=EDH-RSA-DES-CBC3-SHA, bits=168/168
Apr 18 03:02:58 80-235-112-80-dsl sm-mta[636]: STARTTLS=client, relay=mail.neti.ee, 
version=TLSv1/SSLv3, verify=FAIL, cipher=EDH-RSA-DES-CBC3-SHA, bits=168/168
Apr 18 03:02:59 80-235-112-80-dsl sm-mta[634]: i3I02ubN000631: to=[EMAIL PROTECTED], 
delay=00:00:03, xdelay=00:00:02, mailer=relay, pri=30449, relay=mail.neti.ee 
[194.126.101.100], dsn=2.0.0, stat=Sent (Ok: queued as CE03B2F77B)
Apr 18 03:02:59 80-235-112-80-dsl sm-mta[636]: i3I02ubN000632: to=[EMAIL PROTECTED], 
delay=00:00:03, xdelay=00:00:02, mailer=relay, pri=30446, relay=mail.neti.ee 
[194.126.101.100], dsn=2.0.0, stat=Sent (Ok: queued as CFB932FD99)

After sendmail has ben restarted, everything looks the same except the two last lines:

Apr 13 03:02:24 80-235-112-80-dsl sm-mta[21690]: i3D02Lfq021688: [EMAIL PROTECTED], 
ctladdr=[EMAIL PROTECTED] (0/0), delay=00:00:03, xdelay=00:00:03, mailer=relay, 
pri=32401, relay=mail.neti.ee [194.126.101.100], 
 dsn=2.0.0 stat=Sent (Ok: queued as 6A1F62C80E)
Apr 13 03:02:24 80-235-112-80-dsl sm-mta[21689]: i3D02Kfq021675: [EMAIL PROTECTED], 
ctladdr=[EMAIL PROTECTED] (0/0), delay=00:00:04, xdelay=00:00:03, mailer=relay, 
pri=31409, relay=mail.neti.ee [194.126.101.100], 
 dsn=2.0.0 tat=Sent (Ok: queued as 6E9E6211B0)


Also, there doesn't seem to be anything unusual in /var/log/messages.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* You can't have everything. Where would you put it?

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


Re: Kernel debugging question

2004-04-19 Thread Jorn Argelo
Hey Greg,

I forgot to add the following kernel option:

makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbol

I did enable the rest though. This is the output of the debugging, though it 
seems somewhat different then the output on the FreeBSD page. Do you think 
the folks at current or hackers can do something with this? Or am I 
forgetting something?

Thanks,

Jorn


[EMAIL PROTECTED] ~# gdb -k /boot/kernel/kernel.debug /home/jorn/dump/vmcore.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-freebsd...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor write, page not present
instruction pointer = 0x8:0xcdcb7bef
stack pointer   = 0x10:0xcdcb7bec
frame pointer   = 0x10:0xcdcb7c04
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 11 (idle)
trap number = 12
panic: page fault

syncing disks, buffers remaining... 2107 2107 2107 2107 2107 2107 2107 2107 
2107 2107 2107 2107 2107 2107 2107 2107 2107 2107 2107 2107
giving up on 1594 buffers
Uptime: 4h26m37s
Dumping 255 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---

warning: cannot find file for module nvidia.ko

Error while mapping shared library sections:
nvidia.ko: No such file or directory.
Error while reading shared library symbols:
nvidia.ko: No such file or directory.
Reading symbols 
from 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols 
for /usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/linux/linux.ko.debug
Reading symbols 
from 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols 
for /usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/acpi/acpi.ko.debug
Reading symbols 
from 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/smbfs/smbfs.ko.debug...done.
Loaded symbols 
for /usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/smbfs/smbfs.ko.debug
Reading symbols 
from 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/libiconv/libiconv.ko.debug...done.
Loaded symbols 
for /usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/libiconv/libiconv.ko.debug
Reading symbols 
from 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/libmchain/libmchain.ko.debug...done.
Loaded symbols 
for 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/libmchain/libmchain.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
(kgdb)

On Monday 19 April 2004 00:48, you wrote:
 On Sunday, 18 April 2004 at 20:01:46 +0200, Jorn Argelo wrote:
  Hey folks,
 
  I've been trying to debug my kernel. I've successfully extracted a kernel
  dump as described in the development handbook. However, as soon as I come
  across this step, I don't know how to continue:
 
  # cd /usr/obj/usr/src/sys/KERNCONF
  # gdb -k /boot/kernel/kernel.debug /var/crash/vmcore.0
 
  The problem is, kernel.debug doesn't exist at all.

 This means you didn't build one.

  I did an locate.updatedb as root and try to find it then, but I
  still couldn't find it. Hopefully somebody can point me into the
  right direction

 First you need to build a debug kernel.  This probably means that the
 dump you have is the one that got away.  You could do some limited
 analysis of the stripped kernel, but that's Deep Magic.

  (I used
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kern
 eldebug.html)

 You might take a look at
 http://www.lemis.com/papers/Taiwan/tutorial.pdf, which is a little
 more update.  Note, though, that it's still a draft.  If you see any
 mistakes, please contact 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
 Note: I discard all HTML mail unseen.
 Finger [EMAIL PROTECTED] for PGP public key.
 See complete headers for address and phone numbers.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why is the chmod values in /home insecure by default?

2004-04-19 Thread Peter Risdon
Jesper Wallin wrote:

Hello..

I'm running FreeBSD 5.2.1-RELEASE-p5 and when I create new user accounts with adduser,
the home directories are world readable/executable.. Sure, it might be useful if I want
to publish a website in my public_html, but yet, it should be up to the user if he want
to have his homedir world-readable, but by default it should be set to chmod 700 or
chmod 750 if each user has their own group imho. However, I saw that adduser had a
config file (/etc/adduser.conf) but the there is no manual entry for adduser.conf and I
can't find any example for it.. How can I change the default permission for new
home-directories?
 

This might help:

http://archives.neohapsis.com/archives/freebsd/2000-08/0361.html

Basically, you need to change the permissions f the directory 
/usr/share/skel and its contents.

PWR.

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


Re: Port Hacking

2004-04-19 Thread Daniel Rucci
Jason Dusek wrote:

Hi Everyone,

I would like to edit the code for one of my ports (Inkscape, a 
graphics tool for GNOME) and then wrap it up in a tarball, dump it 
into distfiles and reinstall it.  However, the ports system hits me 
with a checksum mismatch.  What do I do about it?

- -
--\\   //--
---\\ //---
   jason x 
---// \\---
--//   \\--
- -
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
put the new files md5/size in  the distinfo file located in inkscape's 
port folder

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


Re: PPPoed crashed!!

2004-04-19 Thread Gleb Smirnoff
On Mon, Apr 19, 2004 at 11:56:29AM +0545, Bikrant Neupane wrote:
B I'm running pppoed on freebsd-4.9. It is running smoothly. However it crashes 
B sometime with a pppoed.core file dumpped at the root directory.
B gdb -c pppoed.core shows that it crashed with signal 11 segmentation fault.
B I'm running the package as it came with the os. I have not upgraded any thing 
B except the kernel which I have customized for my needs.

You should show at least outputs of bt command in gdb. You should run
gdb this way: gdb /usr/libexec/pppoed pppoed.core.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need BSD

2004-04-19 Thread anubis
On Sun, 18 Apr 2004 7:20 am,   wrote:
 Hello I need BSD news  questions

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

Well you have found the questions list, post away.
Here is a link to some other bsd websites you might find helpful
http://www.bsdsearch.com/dir/bsdsites/
Some kind of russian site
http://www.freebsd.org.ua/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail aliases mystery

2004-04-19 Thread Matthew Seaman
On Mon, Apr 19, 2004 at 12:45:14PM +0300, Toomas Aas wrote:
 Hi!
 
 Date sent:Mon, 19 Apr 2004 09:57:15 +0100
 From: Matthew Seaman [EMAIL PROTECTED]
 
  Most odd.  Is there anything in the log files (/var/log/maillog) to
  indicate what the problem might be?
 
 Nothing that I can see. When Sendmail starts up, only the following is 
 logged:
 
 Apr 17 21:53:41 80-235-112-80-dsl sm-mta[95]: starting daemon (8.12.9p2): [EMAIL 
 PROTECTED]:30:00 
 Apr 17 21:53:41 80-235-112-80-dsl sm-msp-queue[98]: starting daemon (8.12.9p2): 
 [EMAIL PROTECTED]:30:00

[...]

That log output appears to be entirely normal.  In the case where the
alias is not being applied, it's just as if there's no (or an empty)
alias file there.

You do seem to have a stray tab character in your aliases file --
which results in the appearance of this:

 [EMAIL PROTECTED], 
 ^^

But that shouldn't cause any of the effects you've been seeing.

Have you customized the `hostname`.mc file at all?  If you have, could
you port it here?

Cheers,

Matthew


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


pgp0.pgp
Description: PGP signature


Re: Why is the chmod values in /home insecure by default?

2004-04-19 Thread Peter Risdon
Jesper Wallin wrote:

Jesper Wallin wrote:

   

Hello..

I'm running FreeBSD 5.2.1-RELEASE-p5 and when I create new user accounts with
adduser,
the home directories are world readable/executable.. Sure, it might be useful if I want
to publish a website in my public_html, but yet, it should be up to the user if he want
to have his homedir world-readable, but by default it should be set to chmod 700 or
chmod 750 if each user has their own group imho. However, I saw that adduser had a
config file (/etc/adduser.conf) but the there is no manual entry for adduser.conf and I
can't find any example for it.. How can I change the default permission for new
home-directories?
 

This might help:

http://archives.neohapsis.com/archives/freebsd/2000-08/0361.html

Basically, you need to change the permissions f the directory
/usr/share/skel and its contents.
PWR.

   

Hello..

First of all, thanks for your answer.. I tried to chmod both /etc/skel and
/usr/share/skel to 700, yet it's not working.. I've checked in /usr/local/etc for any
skel directory, but it's not there and the man page for adduser says it's
/usr/share/skel (which doesn't work) ..
 

When I do it (and I chmod'ed the contents of /usr/share/skel as well as 
the directory), I get a home directory with the permissions you mention, 
but all the contents are 0700. Therefore no other user can see them.

But I can see this isn't quite what you asked for so I have just 
searched a bit. Googling gives me a patch to adduser (you'd have to 
adjust this to get the exact behaviour you're looking for):

http://lists.freebsd.org/pipermail/freebsd-bugs/2003-December/004620.html

And an elaboration of the type of workaround I originally suggested, at:

http://freebsdaddicts.org/modules.php?name=Sectionsop=viewarticleartid=2

HTH.

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


Re: Sendmail aliases mystery

2004-04-19 Thread Matthew Seaman
On Mon, Apr 19, 2004 at 11:18:40AM +0100, Matthew Seaman wrote:

 To: Toomas Aas [EMAIL PROTECTED], [EMAIL PROTECTED],
 ctladdr= [EMAIL PROTECTED]
 Mail-Followup-To: Matthew Seaman [EMAIL PROTECTED],
 Toomas Aas [EMAIL PROTECTED], [EMAIL PROTECTED],
 ctladdr= [EMAIL PROTECTED],
 [EMAIL PROTECTED]

Ooops.  Apologies all.  Let this be a lesson: never sneeze when your
finger is on the 'paste' button.  Please trim the nonsense out of any
replies.

 On Mon, Apr 19, 2004 at 12:45:14PM +0300, Toomas Aas wrote:
  Hi!
  
  Date sent:Mon, 19 Apr 2004 09:57:15 +0100
  From: Matthew Seaman [EMAIL PROTECTED]
  
   Most odd.  Is there anything in the log files (/var/log/maillog) to
   indicate what the problem might be?
  
  Nothing that I can see. When Sendmail starts up, only the following is 
  logged:
  
  Apr 17 21:53:41 80-235-112-80-dsl sm-mta[95]: starting daemon (8.12.9p2): [EMAIL 
  PROTECTED]:30:00 
  Apr 17 21:53:41 80-235-112-80-dsl sm-msp-queue[98]: starting daemon (8.12.9p2): 
  [EMAIL PROTECTED]:30:00
 
 [...]
 
 That log output appears to be entirely normal.  In the case where the
 alias is not being applied, it's just as if there's no (or an empty)
 alias file there.
 
 You do seem to have a stray tab character in your aliases file --
 which results in the appearance of this:
 
  [EMAIL PROTECTED], 
  ^^
 
 But that shouldn't cause any of the effects you've been seeing.
 
 Have you customized the `hostname`.mc file at all?  If you have, could
 you port it here?

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Kernel debugging question

2004-04-19 Thread Jorn Argelo
[snip]


  I did enable the rest though. This is the output of the debugging,

 What is the output of the debugging?  Your message contained only
 the panic message and the gdb prompt:

I used the gdb -k /boot/kernel/kernel.debug /home/jorn/dump/vmcore.0 command, 
and the output with the previous mail was the output of that command. A 
small, perhaps irrelevant sidenote, is that the kernel.debug file was only 
located in the /usr/obj/usr/src/sys/KERNCONF, and not in /boot/kernel as 
described in the documentation of FreeBSD.

  #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
  (kgdb)

 You want at least a backtrace.

How do I do that? I'm sorry, but I've never done a kernel debug or anything.

  Or am I forgetting something?

 Yes.

 Debugging crash dumps is work.  People occasionally do work for free,
 but I'd be very surprised if you found somebody to help you with this
 one, especially without a debug kernel or even a backtrace.

 I'd suggest you catch another dump after you've booted your debug
 kernel, then post the backtrace.  That way we'll have something to go
 on.  If I have time, I'll reply with a preliminary analysis.

Thanks Greg, I would really appreciate that. It's rather frustrating to see 
your once rock-solid machine freezing frequently.

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


Re: Kernel debugging question

2004-04-19 Thread Greg 'groggy' Lehey
On Monday, 19 April 2004 at 12:56:56 +0200, Jorn Argelo wrote:
 [snip]


 I did enable the rest though. This is the output of the debugging,

 What is the output of the debugging?  Your message contained only
 the panic message and the gdb prompt:

 I used the gdb -k /boot/kernel/kernel.debug /home/jorn/dump/vmcore.0 command,
 and the output with the previous mail was the output of that command. A
 small, perhaps irrelevant sidenote, is that the kernel.debug file was only
 located in the /usr/obj/usr/src/sys/KERNCONF, and not in /boot/kernel as
 described in the documentation of FreeBSD.

The location of the file isn't important, but it must be the same
kernel which caused the dump.

 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
 (kgdb)

 You want at least a backtrace.

 How do I do that? I'm sorry, but I've never done a kernel debug or
 anything.

That's why I pointed you to the documentation explaining what to do:

On Mon, 19 Apr 2004 08:18:37 +0930, Greg 'groggy' Lehey wrote:
 You might take a look at
 http://www.lemis.com/papers/Taiwan/tutorial.pdf, which is a little
 more up to date.  Note, though, that it's still a draft.  If you see
 any mistakes, please contact 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
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: ftp server

2004-04-19 Thread Micah Bushouse
If you're having a problem building the data connection, you might have 
problems with your ipfilter.  This link has information on how to help 
ipfilter and ftp coexist.

http://www.obfuscation.org/ipf/

It's about 3/4 into the article, do a find for coping with ftp

~Micah

Jesper Wallin wrote:
Hello,
I've got a 4.9 system and i'm out looking for an ftp server for it as i do
not want to use the base server. I've heard good reviews of pure-ftpd, but
i'm getting errors: can not find the ftp account and it won't authenticate.
   I've also tried proftpd, but although i find it capable i don't like
it's slow response, even with identd lookups off.
   Features that i'm looking for, chroot anonymous users to a specific
area, enable both anonymous and real users, virtual user and quota support,
band width management, and optional secure communications. Most importantly
i need it to work with ipfilter/ipnat. Using the base ftp server on a test
box i can connect but i keep getting an error, can not build data
connection, this is from a box external to the firewall.
Thanks.
Dave.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hello..

I would (and do) choose Pure-FTPd since it has a very nice history without alot of
security problems. Both proftpd and wu-ftpd has a quite bad security history and I
prefer to not use them at all because of that.
Pure-FTPd has support for SSL/TLS, FXP, has native-language support, chroot, allow
virtual users, MySQL, Bandwidth limitations, Works perfectly both with or without a
firewall, and so on, the list is long.. I've personally used it since the spring of 
1999
and I havn't heard of _any_ remote root exploit yet so I consider it the best ftp 
daemon
ever.
Regards,
Jesper Wallin
___
[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]


what is this error ?

2004-04-19 Thread Petre Bandac
and how can I fix it ?

it happened after I cvsup'ed today



kgb# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait..=== 
archivers/jzip.org failed:
/usr/ports/Mk/bsd.java.mk, line 180: warning: String comparison operator 
should be either == or !=
/usr/ports/Mk/bsd.java.mk, line 180: Malformed conditional ((${OSVERSION} = 
50))
/usr/ports/Mk/bsd.java.mk, line 180: Missing dependency operator
/usr/ports/Mk/bsd.java.mk, line 182: warning: String comparison operator 
should be either == or !=
/usr/ports/Mk/bsd.java.mk, line 182: Malformed conditional ((${OSVERSION} = 
40))
/usr/ports/Mk/bsd.java.mk, line 182: Missing dependency operator
/usr/ports/Mk/bsd.port.mk, line 1283: if-less endif
/usr/ports/Mk/bsd.port.mk, line 1283: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1
1 error


Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  If so, then report
the failure to [EMAIL PROTECTED] together with relevant details of
your ports configuration (including FreeBSD version, environment and
/etc/make.conf settings).


*** Error code 1

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

Stop in /usr/ports.
failed to generate INDEX!
portsdb: index generation error
kgb# 
-- 
 2:55PM  up 130 days,  6:29, 3 users, load averages: 0.24, 0.16, 0.12
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache problem

2004-04-19 Thread Jiye Zeng
Dear Sir,

First of all, I apologize for bothering you. The number of emails you have to deal 
with is 
beyond my imagination. I apologize for adding another.

I installed FreeBSD 5.2.1 without X. Since I intend to use the system as an internal 
server 
for our research group, I installed no package except for mod_php4-4.3.5_7,1 and 
mc-4.6.0_7. Apache-1.3.29_3 and a few other packages are installed as well as 
dependent 
packages of those two. The security level was set to 2 during installation. The 
problem is 
apache won't start by boot and can't be restarted by apachectl.

I tried to find the solution from the manual and from searching the web, but no luck. 
I 
tried by changing configuration of rc.conf (e.g., enable/disable security and inetd) 
and 
checking httpd.conf, still no luck. I dont't know where is problem. Would please give 
me 
advice. Many thanks.


Regards.


Jiye Zeng

~
Data Management Group
Center For Global Environmental Research
National Institute For Environmental Studies
16-2, Onongawa, Tsukuba, Ibaraki
305-8506 Japan

Phone: 81-29-850-2968
Internal: 3624

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


Re: Apache problem

2004-04-19 Thread albi
On Mon, 19 Apr 2004 18:56:05 +0900
Jiye Zeng [EMAIL PROTECTED] wrote:

 I installed FreeBSD 5.2.1 without X. Since I intend to use the system
 as an internal server for our research group, I installed no package
 except for mod_php4-4.3.5_7,1 and mc-4.6.0_7. Apache-1.3.29_3 and a
 few other packages are installed as well as dependent packages of
 those two. The security level was set to 2 during installation. The
 problem is apache won't start by boot and can't be restarted by
 apachectl.

did you check the apache-logfiles in /var/log/ ?
if you don't have a valid hostname for apache to use it won't start,
that could be the case

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


Re: Apache problem

2004-04-19 Thread Peter Risdon
Jiye Zeng wrote:

Dear Sir,

First of all, I apologize for bothering you. The number of emails you have to deal with is 
beyond my imagination. I apologize for adding another.

I installed FreeBSD 5.2.1 without X. Since I intend to use the system as an internal server 
for our research group, I installed no package except for mod_php4-4.3.5_7,1 and 
mc-4.6.0_7. Apache-1.3.29_3 and a few other packages are installed as well as dependent 
packages of those two. The security level was set to 2 during installation. The problem is 
apache won't start by boot and can't be restarted by apachectl.

I tried to find the solution from the manual and from searching the web, but no luck. I 
tried by changing configuration of rc.conf (e.g., enable/disable security and inetd) and 
checking httpd.conf, still no luck. I dont't know where is problem. Would please give me 
advice. Many thanks.
 



Assuming the daemon doesn't start, what happens when you run:

#apachectl configtest

If no errors are reported, what output do you get from the console when 
you type:

#apachectl start

If that fails to start the daemon (test with #ps ax | grep httpd), try:

#/usr/local/etc/rc.d/apache.sh start

and also check the logs for messages that might help understand the 
problem. By default, /var/log/httpd-errors.log



HTH

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


Re: Sendmail aliases mystery

2004-04-19 Thread Toomas Aas
Hi!

Have you customized the `hostname`.mc file at all?  If you have, could
you port it here?

80-235-112-80-dsl# diff 80-235-112-80-dsl.mc freebsd.mc

47c47
 VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.17 2002/11/14 03:21:18 
keramida Exp$') --- 
 VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.18 2003/04/24 16:57:30 
 gshapiro Exp$') 
91d90 
 define(`SMART_HOST', `mail.neti.ee')

I hope the line wrapping won't ruin the above - what I wanted 
to say essentially is that I've only added the SMART_HOST line. The logs in my
previous messages show that the change has taken effect.

I have the following line in /etc/make.conf which was in use during the 
latest buildworld:

SENDMAIL_MC=/etc/mail/80-235-112-80-dsl.mc
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* What are you looking down here for? Read the message!

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


RE: PPPoed crashed!!

2004-04-19 Thread fbsd_user
Pppoe is one of the major work horses of FBSD.
There being an bug is very unlikely in 4.9.
Odds are you have mis-configured an configuration file.

If you are running pppoe under gdb as standard production method,
then run pppoe without gdb in the way.

Posting your rc.conf and ppp.conf so people can review your
configuration file content for errors may prove to be more
productive
in finding your problem.

Describe your hardware connection to your ISP.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bikrant
Neupane
Sent: Monday, April 19, 2004 2:11 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: PPPoed crashed!!

I'm running pppoed on freebsd-4.9. It is running smoothly. However
it crashes
sometime with a pppoed.core file dumpped at the root directory.
gdb -c pppoed.core shows that it crashed with signal 11 segmentation
fault.
I'm running the package as it came with the os. I have not upgraded
any thing
except the kernel which I have customized for my needs.

Is this a bug or am i missing some parameters in the kernel?

with regards,
Bikrant

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


comments

2004-04-19 Thread James T. Harrison
My server had some apps running that should not have been there.  You have a hacker 
using your site to gather info on servers.  

What are your plans to stop?  What is your phone number and contact name?

Here is part of the script.  Notice USA as the country.  This is one of many batch 
files that were found on my server.

@echo off
echo *---*info.txt
echo *--Computer Specs --*info.txt
echo *---*info.txt
psinfo.exe -d info.txt
echo *---*info.txt
echo *--List of Current Processes Running  --*info.txt
echo *---*info.txt
pslist.exeinfo.txt

echo *---*info.txt
echo *--Result of speed test from various countries--*info.txt
echo *---*info.txt
echo COUNTRY: DENMARK info.txt
ftpc.exe -n -A -s:ftpc.cmds ftp.dk.FreeBSD.org Status-1of15
findstr /C:bytes rec Status-1of15info.txt
del ncurses.tar.gz
echo *---*info.txt
echo COUNTRY: GERMANY info.txt
del Status-1of15
ftpc.exe -n -A -s:ftpc.cmds ftp.de.freebsd.org Status-2of15
findstr /C:bytes rec Status-2of15 info.txt
del ncurses.tar.gz
echo *---*info.txt
echo COUNTRY: NETHERLANDS info.txt
del Status-2of15
ftpc.exe -n -A -s:ftpc.cmds ftp2.nl.freebsd.org Status-3of15
findstr /C:bytes rec Status-3of15 info.txt
del ncurses.tar.gz
echo *---*info.txt
echo COUNTRY: USA info.txt
del Status-3of15
ftpc.exe -n -A -s:ftpc.cmds ftp1.FreeBSD.org Status-4of15
findstr /C:bytes rec Status-4of15 info.txt
del ncurses.tar.gz
echo *---*info.txt
echo COUNTRY: USA2 info.txt
del Status-4of15
ftpc.exe -n -A -s:ftpc2.cmds ftp.lucasarts.com Status-5of15
findstr /C:bytes rec Status-5of15 info.txt
del Indyprev.zip
echo *---*info.txt
echo COUNTRY: Canada info.txt
del Status-5of15
ftpc.exe -n -A -s:ftpca.cmds ftp.crc.ca Status-6of15
findstr /C:bytes rec Status-6of15 info.txt
del latest-defs.exe
echo *---*info.txt
echo COUNTRY: SWEDEN info.txt
del Status-6of15
ftpc.exe -n -A -s:ftpc.cmds ftp.se.FreeBSD.org Status-7of15
findstr /C:bytes rec Status-7of15 info.txt
del ncurses.tar.gz
echo *---*info.txt
echo COUNTRY: UK info.txt
del Status-7of15
ftpc.exe -n -A -s:ftpc.cmds ftp.uk.FreeBSD.org Status-8of15
findstr /C:bytes rec Status-8of15 info.txt
del ncurses.tar.gz
echo *---*info.txt
echo COUNTRY: FRANCE info.txt
del Status-8of15
ftpc.exe -n -A -s:ftpc.cmds ftp8.fr.FreeBSD.org Status-9of15
findstr /C:bytes rec Status-9of15 info.txt
del ncurses.tar.gz
echo *---*info.txt
echo COUNTRY: NL 2 info.txt
del Status-9of15
ftpc.exe -n -A -s:ftpco.cmds 194.171.240.20 Status-10of15
findstr /C:bytes rec Status-10of15 info.txt
del patch-2.4.19.gz
echo *---*info.txt
echo COUNTRY: NL 3 info.txt
del Status-10of15
ftpc.exe -n -A -s:ftpce.cmds ftp.euronet.nl Status-11of15
findstr /C:bytes rec Status-11of15 info.txt
del 5M.bin
echo *---*info.txt
echo COUNTRY: NL 4 info.txt
del Status-11of15
ftpc.exe -n -A -s:ftpcy.cmds ftp.chello.nl Status-12of15
findstr /C:bytes rec Status-12of15 info.txt
del LT.zip
echo *---*info.txt
echo COUNTRY: NO info.txt
del Status-12of15
ftpc.exe -n -A -s:ftpcx.cmds ftp.no.FreeBSD.org Status-13of15
findstr /C:bytes rec Status-13of15 info.txt
del MBM5300.EXE
echo *---*info.txt
echo COUNTRY: AT info.txt
del Status-13of15
ftpc.exe -n -A -s:ftpch.cmds ftp.chello.at Status-14of15
findstr /C:bytes rec Status-14of15 info.txt
del dx5ger.exe
echo *---*info.txt
echo COUNTRY: HU info.txt
del Status-14of15
ftpc.exe -n -A -s:ftpch.cmds ftp.chello.hu Status-15of15
findstr /C:bytes rec Status-15of15 info.txt
del dx5ger.exe
del Status-15of15
echo *-- DONE ---*info.txt
echo .  +Speed Test Complete
___
[EMAIL PROTECTED] mailing list

Re: what is this error ?

2004-04-19 Thread Matthew Seaman
On Mon, Apr 19, 2004 at 02:55:40PM +0300, Petre Bandac wrote:
 and how can I fix it ?
 
 it happened after I cvsup'ed today
 

There's a bit of code in the latest bsd.java.mk file which pretty much
assumes you're running on one of the supported versions of the OS.
(Well, actually it assumes you've got a version of make(1) with the
appropriate fix applied, as supplied with those versions).  That's
4-STABLE, 4.9-RELEASE, 5.2.1-RELEASE and technically 4.8-RELEASE but
only until 4.10-RELEASE due in a short amount of time.

There's a fix in http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/65761

This may or may not be applied to the bsd.java.mk file -- although I
should think it will, as it doesn't adversely affect any supported
version and gratuitously breaking backwards compatibility is normally
frowned upon.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Kernel build fails in /usr/src/sys/cam/scsi/scsi_da (4.9)

2004-04-19 Thread Ewald Jenisch
Hi,

After cvsup-ing and building a new system (make buildworld) I tried
to compile a new kernel and ended up with

/usr/src/sys/cam/scsi/scsi_da.c:32: opt_da.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/obj/usr/src/sys/OeKB040419.
*** Error code 1

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


This happens on a 4.9 system.

Anything else having this problem? Anything that can be done against
this? (I've tried cvsup-ing again over several hours there don't seem
to be any updates).

TIA for your help,
-ewald

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


Re: comments

2004-04-19 Thread Kevin D. Kinsey, DaleCo, S.P.
James T. Harrison wrote:

My server had some apps running that should not have been there.  

 

That is probably true.  It's possible that Microsoft Windows(R)
is one of them, in this case.
You have a hacker using your site to gather info on servers.  
 

That doesn't ring true.  Your machine is the one infected 

The material you posted is not evidence of this.  The FreeBSD ftp
sites are public sites, and the alleged hacker did you possibly
mean cracker or script kiddie or bad guy? appears to simply
be, in your example, connecting to a number of known high speed
ftp servers to mine data about your internet connectivity.
What are your plans to stop?  What is your phone number and contact name?
 

The information for freebsd.org is, well, kind of where you'd expect
it to be --- at the Project's web site.
Here is part of the script.  
 

I note that it's a Windows script, so it is, I suppose, rather OT
for this list
Notice USA as the country.  

 

I notice a number of countries mentioned.  Considering
the Internet is world wide, that's not surprising to me.
This is one of many batch files that were found on my server.
 

If it is your server, you should probably be asking yourself,
what about my server and configuration allowed these files
to be placed there, and what can I do to both fix the situation
now and see that it doesn't happen again?
Perhaps you should look into running a more secure operating
system on a server that is connected to a hostile Internet.  Could
we recommend a *BSD ?
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: comments

2004-04-19 Thread Ceri Davies
On Mon, Apr 19, 2004 at 07:34:31AM -0500, James T. Harrison wrote:
 My server had some apps running that should not have been there.  You have a hacker 
 using your site to gather info on servers.  
 
 What are your plans to stop?  What is your phone number and contact name?

The perpetrator here is just downloading a random file from various servers.
Note the 

echo *---*info.txt
echo *--Result of speed test from various countries  --*info.txt
echo *---*info.txt

comment.

He could just as easily have used any public FTP servers - FreeBSD.org
is not involved in this.

Ceri
-- 


pgp0.pgp
Description: PGP signature


RE: comments

2004-04-19 Thread JJB
Bud

Your MS/windows box is the one that has been compromised.
Your problem has nothing to do with FreeBSD org, or the FBSD
operating system.
You need Norton personal firewall and virus checker to cleanup your
system and stop it from happening again.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of James T.
Harrison
Sent: Monday, April 19, 2004 8:35 AM
To: [EMAIL PROTECTED]
Subject: comments

My server had some apps running that should not have been there.
You have a hacker using your site to gather info on servers.

What are your plans to stop?  What is your phone number and contact
name?

Here is part of the script.  Notice USA as the country.  This is one
of many batch files that were found on my server.

@echo off
echo
*---
*info.txt
echo *--Computer
  --*info.txt
echo
*---
*info.txt
psinfo.exe -d info.txt
echo
*---
*info.txt
echo *--List of Current Processes
--*info.txt
echo
*---
*info.txt
pslist.exeinfo.txt

echo
*---
*info.txt
echo *--Result of speed test from various
  --*info.txt
echo
*---
*info.txt
echo COUNTRY: DENMARK info.txt
ftpc.exe -n -A -s:ftpc.cmds ftp.dk.FreeBSD.org Status-1of15
findstr /C:bytes rec Status-1of15info.txt
del ncurses.tar.gz
echo
*---
*info.txt
echo COUNTRY: GERMANY info.txt
del Status-1of15
ftpc.exe -n -A -s:ftpc.cmds ftp.de.freebsd.org Status-2of15
findstr /C:bytes rec Status-2of15 info.txt
del ncurses.tar.gz
echo
*---
*info.txt
echo COUNTRY: NETHERLANDS info.txt
del Status-2of15
ftpc.exe -n -A -s:ftpc.cmds ftp2.nl.freebsd.org Status-3of15
findstr /C:bytes rec Status-3of15 info.txt
del ncurses.tar.gz
echo
*---
*info.txt
echo COUNTRY: USA info.txt
del Status-3of15
ftpc.exe -n -A -s:ftpc.cmds ftp1.FreeBSD.org Status-4of15
findstr /C:bytes rec Status-4of15 info.txt
del ncurses.tar.gz
echo
*---
*info.txt
echo COUNTRY: USA2 info.txt
del Status-4of15
ftpc.exe -n -A -s:ftpc2.cmds ftp.lucasarts.com Status-5of15
findstr /C:bytes rec Status-5of15 info.txt
del Indyprev.zip
echo
*---
*info.txt
echo COUNTRY: Canada info.txt
del Status-5of15
ftpc.exe -n -A -s:ftpca.cmds ftp.crc.ca Status-6of15
findstr /C:bytes rec Status-6of15 info.txt
del latest-defs.exe
echo
*---
*info.txt
echo COUNTRY: SWEDEN info.txt
del Status-6of15
ftpc.exe -n -A -s:ftpc.cmds ftp.se.FreeBSD.org Status-7of15
findstr /C:bytes rec Status-7of15 info.txt
del ncurses.tar.gz
echo
*---
*info.txt
echo COUNTRY: UK info.txt
del Status-7of15
ftpc.exe -n -A -s:ftpc.cmds ftp.uk.FreeBSD.org Status-8of15
findstr /C:bytes rec Status-8of15 info.txt
del ncurses.tar.gz
echo
*---
*info.txt
echo COUNTRY: FRANCE info.txt
del Status-8of15
ftpc.exe -n -A -s:ftpc.cmds ftp8.fr.FreeBSD.org Status-9of15
findstr /C:bytes rec Status-9of15 info.txt
del ncurses.tar.gz
echo
*---
*info.txt
echo COUNTRY: NL 2 info.txt
del Status-9of15
ftpc.exe -n -A -s:ftpco.cmds 194.171.240.20 Status-10of15
findstr /C:bytes rec Status-10of15 info.txt
del patch-2.4.19.gz
echo
*---
*info.txt
echo COUNTRY: NL 3 info.txt
del Status-10of15
ftpc.exe -n -A -s:ftpce.cmds ftp.euronet.nl Status-11of15
findstr /C:bytes rec Status-11of15 info.txt
del 5M.bin
echo
*---
*info.txt
echo COUNTRY: NL 4 info.txt
del Status-11of15
ftpc.exe -n -A -s:ftpcy.cmds ftp.chello.nl Status-12of15
findstr /C:bytes rec Status-12of15 info.txt
del LT.zip
echo
*---
*info.txt
echo COUNTRY: NO info.txt
del Status-12of15
ftpc.exe -n -A -s:ftpcx.cmds ftp.no.FreeBSD.org Status-13of15
findstr /C:bytes rec Status-13of15 info.txt
del MBM5300.EXE
echo
*---
*info.txt
echo COUNTRY: AT info.txt
del Status-13of15
ftpc.exe -n -A -s:ftpch.cmds ftp.chello.at Status-14of15
findstr /C:bytes rec Status-14of15 info.txt
del dx5ger.exe
echo
*---
*info.txt
echo COUNTRY: HU info.txt
del 

Re: Apache problem

2004-04-19 Thread Jerry McAllister
 
 Jiye Zeng wrote:
 
 Dear Sir,
 
 First of all, I apologize for bothering you. The number of emails you have to deal 
 with is 
 beyond my imagination. I apologize for adding another.
 
 I installed FreeBSD 5.2.1 without X. Since I intend to use the system as an 
 internal server 
 for our research group, I installed no package except for mod_php4-4.3.5_7,1 and 
 mc-4.6.0_7. Apache-1.3.29_3 and a few other packages are installed as well as 
 dependent 
 packages of those two. The security level was set to 2 during installation. The 
 problem is 
 apache won't start by boot and can't be restarted by apachectl.
 
 I tried to find the solution from the manual and from searching the web, but no 
 luck. I 
 tried by changing configuration of rc.conf (e.g., enable/disable security and 
 inetd) and 
 checking httpd.conf, still no luck. I dont't know where is problem. Would please 
 give me 
 advice. Many thanks.
   
 
 Assuming the daemon doesn't start, what happens when you run:
 
 #apachectl configtest
 
 If no errors are reported, what output do you get from the console when 
 you type:
 
 #apachectl start
 
 If that fails to start the daemon (test with #ps ax | grep httpd), 

Just a hint here - you might need the 'w' flag to see the httpdas in

ps -axw | grep httpd
 
Depends on how wide the display line is.

Of course I usually use the 'u' flag which makes the output line
longer, so...

jerry


 try:
 
 #/usr/local/etc/rc.d/apache.sh start
 
 and also check the logs for messages that might help understand the 
 problem. By default, /var/log/httpd-errors.log
 
 
 
 
 HTH
 
 PWR
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: .htaccess in subdir of /usr/home/username/public_html

2004-04-19 Thread Glenn Sieb
Noah said the following on 4/19/2004 12:39 AM:

AuthType Basic
AuthUserFile htpasswd.file.location.and.name.here
AuthName Something to make sense
require valid-user
   



thanks glen - looks like this is still not working.  No password Prompt

here is what I did:

cat of /usr/home/user_name/public_html/subdir/.htaccess

--- snip ---

AuthType Basic
AuthUserFile /usr/home/username/public_html/subdir/.htpasswd
AuthName Protected Area
require user glob
 

Ok.. first off: Is there a user named glob in that .htpasswd file?

Secondly, can you check that you have the module mod_userdir.c loading? 
In my install from ports of Apache, my userdir directives look like this:

(Up top with the rest of the modules:)
LoadModule userdir_module /usr/local/libexec/apache/mod_userdir.so
AddModule mod_userdir.c
(Then down in the host/virtualhost directives:)
IfModule mod_userdir.c
   UserDir public_html
Directory /home/*/public_html
   AllowOverride FileInfo AuthConfig Limit
   Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
   Limit GET POST OPTIONS PROPFIND
   Order allow,deny
   Allow from all
   /Limit
   LimitExcept GET POST OPTIONS PROPFIND
   Order deny,allow
   Deny from all
   /LimitExcept
/Directory
/IfModule
Best,
Glenn
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


etherchannel on 5.2.1 - possible?

2004-04-19 Thread J.D. Bronson
I am looking for performance. Not fail-over..

Does anyone have this working with either
intel or broadcom nics?
Anyone have any good site that talks about what is needed to make this work
as well? - I do have a Cisco switch and it fully supports this.
I need a little advice on setting this up...

Thanks in advance!

  -JBD

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


Re: Kernel build fails in /usr/src/sys/cam/scsi/scsi_da (4.9)

2004-04-19 Thread Peter Risdon
Ewald Jenisch wrote:

Hi,

After cvsup-ing and building a new system (make buildworld) I tried
to compile a new kernel and ended up with
/usr/src/sys/cam/scsi/scsi_da.c:32: opt_da.h: No such file or directory
mkdep: compile failed
*** Error code 1
Stop in /usr/obj/usr/src/sys/OeKB040419.
*** Error code 1
Stop in /usr/src.
*** Error code 1
This happens on a 4.9 system.
 

There isn't enough info in your mail to be sure (your kernel conf file 
would be helpful), but there are often errors of this kind reported 
because da is a dependency of several other kernel devices such as umass 
and sbp. If you have one of these uncommented but have commented the da 
device, you'll get this type of error.

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


Re: Kernel build fails in /usr/src/sys/cam/scsi/scsi_da (4.9)

2004-04-19 Thread Kris Kennaway
On Mon, Apr 19, 2004 at 02:54:30PM +0100, Peter Risdon wrote:
 Ewald Jenisch wrote:
 
 Hi,
 
 After cvsup-ing and building a new system (make buildworld) I tried
 to compile a new kernel and ended up with
 
 /usr/src/sys/cam/scsi/scsi_da.c:32: opt_da.h: No such file or directory
 mkdep: compile failed
 *** Error code 1
 
 Stop in /usr/obj/usr/src/sys/OeKB040419.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 
 This happens on a 4.9 system.
  
 
 
 There isn't enough info in your mail to be sure (your kernel conf file 
 would be helpful), but there are often errors of this kind reported 
 because da is a dependency of several other kernel devices such as umass 
 and sbp. If you have one of these uncommented but have commented the da 
 device, you'll get this type of error.

Actually it looks like this was broken on the source tree yesterday.
Try again tomorrow.

Kris


pgp0.pgp
Description: PGP signature


RE: etherchannel on 5.2.1 - possible?

2004-04-19 Thread Will Saxon
 -Original Message-
 From: J.D. Bronson [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 19, 2004 9:46 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: etherchannel on 5.2.1 - possible?
 
 
 I am looking for performance. Not fail-over..
 
 Does anyone have this working with either
 intel or broadcom nics?
 
 Anyone have any good site that talks about what is needed to 
 make this work
 as well? - I do have a Cisco switch and it fully supports this.
 
 I need a little advice on setting this up...

I have used the ng_fec netgraph module with both broadcom 5703X and
HP NC7170 nics (uses em driver). 

This is how to set it up:

First you have to have the ng_fec module loaded.

Then,

# ngctl mkpeer fec dummy fec
# ngctl msg fec0: add_iface 'bge0'
# ngctl msg fec0: add_iface 'bge1'

Obviously replace bge with em or whatever other driver you are using.
ng_fec supports up to 4 links.

At this point, you will have a fec0 interface that you can 
manipulate normally with ifconfig. I have noticed that sometimes
I have to bring the interface up and down a couple of times to get
it to start passing traffic. Whenever you 'ifconfig up' or assign an
address to fec0 it resets the bundle. 

One thing that is annoying is that ng_fec doesn't work with vlans. There
is an ng_vlan module that was recently released, but ng_fec doesn't work
with it because it isn't quite like other netgraph modules. 

Almost all of my freebsd machines use vlans, so I am not making heavy 
use of ng_fec. We aren't pushing enough data to make it really necessary 
anyway.

There is also ng_one2many which does implement failover and channel 
bonding but not using the etherchannel technique. I think it uses
round robin. 

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


Re: etherchannel on 5.2.1 - possible?

2004-04-19 Thread Steven Hartland
When I checked the various methods a while back all resulted
in performance drop not increase on a dual port intel
etherxpress Pro 100. If anyone has different experiences I
also would be interested. Also noted was that Gb performance
on nge was also lower than that of fxp on 100Mb especially
when using link0 on the fxp.
Notes: Results using ftp ( proftpd ). Performance increase using
nge was obtained when using single processor kernel and
polling enabled without this interrupt rates appeared to be
overloading the system.

Steve
- Original Message - 
From: J.D. Bronson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, April 19, 2004 2:45 PM
Subject: etherchannel on 5.2.1 - possible?


 I am looking for performance. Not fail-over..
 
 Does anyone have this working with either
 intel or broadcom nics?
 
 Anyone have any good site that talks about what is needed to make this work
 as well? - I do have a Cisco switch and it fully supports this.
 
 I need a little advice on setting this up...
 
 Thanks in advance!
 
-JBD
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-performance
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 



This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or 
entity to whom it is addressed. In the event of misdirection, the recipient is 
prohibited from using, copying, printing or otherwise disseminating it or any 
information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone 
(023) 8024 3137
or return the E.mail to [EMAIL PROTECTED]

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


Re: How to update binary-files?

2004-04-19 Thread R. Zoontjens
Oliver Fuchs wrote:
Hi,

I would like to know how to upgrade binary-files on my FreeBSD system.


Take a look at 'freebsd-update' in the ports dir (Category security).

And here for some explanation and arguments: 
http://www.daemonology.net/freebsd-update/binup.html

You have to do the 1st update from a RELEASE.
If you make custom kernels or 'make world', this may not be for you. 
Only updates for the GENERIC kernel are supported (but you could use 
kernel modules for additional functionality and still use freebsd-update).

---
Met vriendelijke groet / with kind regards,
Richard Zoontjens
Radécom B.V.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dependency hell

2004-04-19 Thread Ziller, James
Hello all,

It's been awhile since I used FreeBSD but I've been itching to try
5.x so I installed it the other day.  Im having big problems with the ports
collection and dependencies even though I've read through multiple docs on
using portupgrade which is suppose to make dealing with dependencies easy.
I apoligize if I'm missing something obvious here but I'd appreciate any
help because I am not seeing any easy solutions.

Problem in a nutshell:

I install FBSD 5.2.1
Grab the latest ports tree
portsdb -Uu

Now,for example, I use portupdate to install a port that requires the latest
version of expat - so expat is upgraded and I now have libexpat.so.5

Xterm no longer works because it depends on libexpat.so.4

Making a simple symlink from libexpat.so.4 to libexpat.so.5 will allow xterm
to run again - but of course that's a dirty disgusting way to do things.
From what I understood, pkgdb is the tool to fix this, but running pkgdb -F
will not prompt me to change xterm dependencies from libexpat.so.4 to
libexpat.so.5. This has been the case with a handful of other libraries that
have been upgraded.  Surely I don't need to recompile Xfree86 and everything
else thats looking for libexpat.so.4 or another library that has been
upgraded...right???

Heres an example with pango, which was upgraded with portupgrade.

[EMAIL PROTECTED] lib]$sudo pkgdb -F
---  Checking the package registry database
[EMAIL PROTECTED] lib]$ 

Ok, so everything should be fine right?

[EMAIL PROTECTED] lib]$epiphany
/libexec/ld-elf.so.1: Shared object libpangoft2-1.0.so.200 not found

...but it isnt.

[EMAIL PROTECTED] lib]$ls -lah libpangoft2*
-rw-r--r--  1 root  wheel167K Apr 19 08:11 libpangoft2-1.0.a
lrwxr-xr-x  1 root  wheel 22B Apr 19 08:11 libpangoft2-1.0.so -
libpangoft2-1.0.so.399
-rwxr-xr-x  1 root  wheel148K Apr 19 08:11 libpangoft2-1.0.so.399

Shouldn't epiphany have been updated to use the new pango with pkgdb -F?
What am I doing wrong??
Please help figure out what I'm missing here!

Thanks,

James Ziller
Information Systems

Quad/Graphics - Q/DS
West Allis, Wisconsin
[EMAIL PROTECTED]

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


Re: Dependency hell

2004-04-19 Thread Lowell Gilbert
Ziller, James [EMAIL PROTECTED] writes:

 Making a simple symlink from libexpat.so.4 to libexpat.so.5 will allow xterm
 to run again - but of course that's a dirty disgusting way to do things.
 From what I understood, pkgdb is the tool to fix this, but running pkgdb -F
 will not prompt me to change xterm dependencies from libexpat.so.4 to
 libexpat.so.5.

No, that's not the tool to fix it.

As /usr/ports/UPDATING would tell you, do a 
portupgrade -fr textproc/expat2.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Dependency hell

2004-04-19 Thread Ziller, James
So in other words I do have to recompile everything that depends on a given
library just because that library is updated to a slightly newer version?:(

jz

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 19, 2004 9:20 AM
To: Ziller, James
Cc: '[EMAIL PROTECTED]'
Subject: Re: Dependency hell


Ziller, James [EMAIL PROTECTED] writes:

 Making a simple symlink from libexpat.so.4 to libexpat.so.5 will allow 
 xterm to run again - but of course that's a dirty disgusting way to do 
 things. From what I understood, pkgdb is the tool to fix this, but 
 running pkgdb -F will not prompt me to change xterm dependencies from 
 libexpat.so.4 to libexpat.so.5.

No, that's not the tool to fix it.

As /usr/ports/UPDATING would tell you, do a 
portupgrade -fr textproc/expat2.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dependency hell

2004-04-19 Thread Dan Nelson
In the last episode (Apr 19), Ziller, James said:
 So in other words I do have to recompile everything that depends on a
 given library just because that library is updated to a slightly
 newer version? :(

If you want those dependant programs to use the new library, yes.  It's
not required though.  When you upgrade a port, portupgrade sticks its
old shared libraries in /usr/local/lib/compat/pkg so old binaries still
run.  It's up to you to manually clean it out occasionally (I just
checked and mine is 400MB, with files going back to 1999 :)

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


securelevel=3 and append-only: can I use this for files in /var/log/ ?

2004-04-19 Thread Rob
Hi,

To prevent a possible intruder to modify the syslog files
(unless rebooting the system), would following cause havoc
on my FreeBSD-stable PC, or would it add the expected security:
as root:
  # chflags sappnd /var/log/*
rc.conf:
  kern_securelevel_enable=YES
  kern_securelevel=3
And reboot the system.

Rob.





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


mod_perl installation and non-standard perl path

2004-04-19 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

For reasons I don't want to trouble you with, I had to install the
latest perl port into /usr/local/rt3/perl/ and now I need to get
mod_perl to compile against that version.


I edited the Makefile, added
MOD_PERLCONFIG=/usr/local/rt3/perl/bin/perl to CONFIGURE_ARGS and I
edited the shebang line in /usr/local/bin/apxs to point to my new
installation of perl.

Then, I tried using this cli in the mod_perl port directory.

 bash-2.05b# PERL5LIB=/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd 
PREFIX=/usr/local/rt3/perl SITE_PERL=/usr/local/rt3/perl/lib/site_perl make

While pieces of the compile output show that it is using
/usr/local/rt3/perl/*, most of it shows that it's pulling from
/usr/local/lib/perl5/* for libs.

I even combed through the work directory and manually changed the
references to the perl binary to /usr/local/rt3/perl/bin/perl with no
luck.  Same results every time.  And yes, I've been doing a make clean
in between compiles.

Any advice?

- -- 
Andy Harrison
(full headers for details)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAg/NqCYaHi6DasBoRAm7TAJ9k8CudeAUZ0B4Uvb+niSZq5Nzk/gCgkNcI
l04S8LlYKZBh8FUTedjrlqk=
=yTQC
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvsup stable

2004-04-19 Thread henk
Hi all,

I'd like to raise a question on cvsup.
I'm an enthousiastic user of cvsup to keep up to date.
I always use to stable-supfile
Last week I installed a 4.9 machine ran a cvsup.
Rebuilt the whole world and my kernel and ... ended up with
4.10 beta.
A few aday later ran a cvsup again. Same story.

I know FBSD is stable but do I have to rely beta's.

Kind regards

Henk van Zwol
2Complex

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


mouse in FreeBSD

2004-04-19 Thread ilich


Hello All!
1. My mouse has a fancy wheel.Can I use it in the X Window system?
2. Can I use copy\cut\paste text with mouse in the console?
4. Can I copy mouse options for X from Linux?
3. How do I copy\cut\paste text in Vim?
Thanks, Ivan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MySQL

2004-04-19 Thread ilich


Hello All!
I have small problem.
I installed apache2\php4\mysql. Apache and php work fine, but mysql 
doesn't work. When I enter mysql to my console it send massage Can't 
connect to local MySQL server through socket 'tmp/mysql.socket'. As far 
as I Know mysqld doesn't load to memory, but I'm not sure.Please, give me 
any advices and explain me what does mean this massage.
Thanks, Ivan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rc.conf.local error nn7j

2004-04-19 Thread Dan
I made an error in the rc.conf.conf file used ;# for rem statement.  It hang on that 
statement at boot. Also can't  find shell get error message to use /bin/sh hit  
return.  I can't vi the rc.conf.local file vi is not there.

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


rc.conf.local file error nn7j

2004-04-19 Thread Dan
I made an error in the rc.conf.conf file used ;# for rem statement.  It hang on that 
statement at boot. Also can't  find shell get error message to use /bin/sh hit  
return.  I can't vi the rc.conf.local file vi is not there.

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


edited my rc.conf.locall nn7j

2004-04-19 Thread Dan
edited my rc.conf.local file made a mistake in rem statment used ;#  for rem.   Error 
message  hang on ;# statement.
Can't vi rc.local.conf file to correct error. error can't find shell  do you want to 
use /bin/sh hit return. What can I do?

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


Amavisd-new errors

2004-04-19 Thread R. Zoontjens
Hi,

This question does not concern FreeBSD only, I know... But here it goes.

I am working on a mailserver that has antispam and antivirus 
functionality. I gathered some courage and read articles at O'reilly and 
Daemonnews to build-my-own. Also did some extensive Googling.

The stuff I use: Postfix + Courier-IMAP + Amavis-new + ClamAV + 
Spamassassin (and probably Mimedefang). Of course on FreeBSD ;)

Postfix runs just fine. Courier Imap-ssl and pop3-ssl too.
Clamscan and Clamd are running fine.
I have amavisd running in debug mode (/usr/local/sbin/amavisd debug).
Normal mail gets scanned and all works well.
But when I send a mail with a test virus (eicar), it is recognized by 
clam/amavis and the mail doesn't get trough. But I do want a 
notification mail to be sent to the user. This doesn't happen.

The messages I get from Amavis debug output:

lookup: (scalar) matches, result=[EMAIL PROTECTED]
Apr 19 17:11:48 blabla.xs4all.nl amavisd[403]: (00403-03) TROUBLE in 
check_mail: virus_or_banned quar+notif FAILED: can't build entity: no 
body, and not multipart at /usr/local/sbin/amavisd line 4700, GEN34 
line 79.

Looks like a perl error? I upgraded perl to 5.6.1 and recompiled Amavis 
+ dependencies from ports. But I still get these errors. Running FreeBSD 
4.8 - Security (using freebsd-update).

Anyone who saw this error before? I looked in the amavisd code, but that 
didn't help me much.

With kind regards,

Richard Zoontjens.

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


Re: rc.conf.local error nn7j

2004-04-19 Thread Matthew Seaman
On Mon, Apr 19, 2004 at 06:08:22AM -, Dan wrote:
 I made an error in the rc.conf.conf file used ;# for rem statement.  It hang on that 
 statement at boot. Also can't  find shell get error message to use /bin/sh hit  
 return.  I can't vi the rc.conf.local file vi is not there.
 

Right -- you've rebooted, and your system can't come up properly, so
is dumping you into single user mode.

The fix is pretty simple though.  Hit return to get a shell prompt.
Now type:

# fsck -p
# mount -a

then edit the rc.conf file:

# vi /etc/rc.conf

and finally:

# reboot

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: MySQL

2004-04-19 Thread Peter Risdon
ilich wrote:



Hello All!
I have small problem.
I installed apache2\php4\mysql. Apache and php work fine, but mysql 
doesn't work. When I enter mysql to my console it send massage 
Can't connect to local MySQL server through socket 
'tmp/mysql.socket'. As far as I Know mysqld doesn't load to memory, 
but I'm not sure.Please, give me any advices and explain me what does 
mean this massage.


You probably need to start mysql:

#/usr/local/etc/rc.d/mysql-server.sh start

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


Re: MySQL

2004-04-19 Thread Micah Bushouse
I think you're actually trying to start the mysql client, which defaults 
to attempt a connection localhost when no cmd arguments are given. 
Since mysqld isn't running, the mysql client will complain about the 
socket.  If you're using mysql 4.x (mysql 3.x will be very similar, 
except the daemon may be named safe_mysqld), try these steps:

 whereis mysqld_safe

then run as root the resulting path, for example, on my machine I would use

 /usr/local/bin/mysqld_safe 

that should work!

~Micah

Peter Risdon wrote:
ilich wrote:



Hello All!
I have small problem.
I installed apache2\php4\mysql. Apache and php work fine, but mysql 
doesn't work. When I enter mysql to my console it send massage 
Can't connect to local MySQL server through socket 
'tmp/mysql.socket'. As far as I Know mysqld doesn't load to memory, 
but I'm not sure.Please, give me any advices and explain me what does 
mean this massage.


You probably need to start mysql:

#/usr/local/etc/rc.d/mysql-server.sh start

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


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


Re: MySQL

2004-04-19 Thread Andrew L. Gould
On Thursday 15 April 2004 01:00 am, ilich wrote:
 Hello All!
 I have small problem.
 I installed apache2\php4\mysql. Apache and php work fine, but mysql
 doesn't work. When I enter mysql to my console it send massage Can't
 connect to local MySQL server through socket 'tmp/mysql.socket'. As far
 as I Know mysqld doesn't load to memory, but I'm not sure.Please, give me
 any advices and explain me what does mean this massage.
 Thanks, Ivan

After installation, did you:

1. execute:  /usr/local/bin/mysql_install_db
2. execute:  /usr/local/etc/rc.d/mysql-server.sh start

Once you get the administrative tables setup and server started, you will 
still have to invoke the mysql client correctly.  Please see the mysql man 
page and the online documentation:

http://dev.mysql.com/doc/mysql/en/index.html

Best of luck,

Andrew Gould


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


Re: cvsup stable

2004-04-19 Thread Matthew Seaman
On Mon, Apr 19, 2004 at 06:11:27PM +0200, [EMAIL PROTECTED] wrote:
 Hi all,
 
 I'd like to raise a question on cvsup.
 I'm an enthousiastic user of cvsup to keep up to date.
 I always use to stable-supfile
 Last week I installed a 4.9 machine ran a cvsup.
 Rebuilt the whole world and my kernel and ... ended up with
 4.10 beta.
 A few aday later ran a cvsup again. Same story.
 
 I know FBSD is stable but do I have to rely beta's.

Ah... It's that time of year again.  We get to do the whole 'what is
4-STABLE' thread for the umpteenth time.

Here's how it works: you're tracking the RELENG_4 code branch, which
gets you system version 4.x-STABLE -- well, most of the time.
Actually, that system version number and tag is pretty arbitrary.
It's just a snapshot out of the ever-evolving set of code which is the
RELENG_4 branch.  Every so often the will be a new release made from
this branch.  Usually something like 3 times a year.  Around that
point the system version will go through all sorts of changes
relatively quickly.  It will start as 4.9-STABLE, then become
4.10-BETA.  After a while it will become 4.10-RC (as in 'Release
Candidate'), and maybe even 4.10-RC2.  Eventually the release
engineering team will be satisfied, and the label will become
4.10-RELEASE.  However, that only lasts for a vanishingly short time:
just long enough to create the RELENG_4_10 branch.  Then the label
becomes 4.10-STABLE again for the next 3 months or so. (Well, actually
in this case, probably for ever after, as 4.10 is the last release
planned to be made from the RELENG_4 branch.)

Do not be alarmed by the what the label says.  There are not massive
changes to the source code happening at the precise instant the the
change from -STABLE to -BETA is made.  Those changes will have been
going into RELENG_4 continually throughout the preceeding months[1].
In fact, what -BETA signifies is an emphasis on testing and bug-fixing
rather than introducing new functionality.  That means the -BETA code
is actually probably a bit more stable that the -STABLE code, although
there's really very little measurable difference.  With all of the
testing being done, the code should reach a peak of perfection right
around the time that 4.10 is released, although (annoyingly) each
release does tend to generate a small flood of PRs and fixes
immediately *after* it happens.

Cheers,

Matthew

[1] If you find this alarming, then you should be tracking one of the
X.Y-RELEASE branches: those only get security and major bug fixes.

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


pgp0.pgp
Description: PGP signature


Re: MySQL

2004-04-19 Thread Peter Risdon
Micah Bushouse wrote:

cut

Peter Risdon wrote:

ilich wrote:



Hello All!
I have small problem.
I installed apache2\php4\mysql. Apache and php work fine, but mysql 
doesn't work. When I enter mysql to my console it send massage 
Can't connect to local MySQL server through socket 
'tmp/mysql.socket'. As far as I Know mysqld doesn't load to memory, 
but I'm not sure.Please, give me any advices and explain me what 
does mean this massage.




You probably need to start mysql:

#/usr/local/etc/rc.d/mysql-server.sh start

PWR

paste
I think you're actually trying to start the mysql client, which defaults 
to attempt a connection localhost when no cmd arguments are given. Since 
mysqld isn't running, the mysql client will complain about the socket.  
If you're using mysql 4.x (mysql 3.x will be very similar, except the 
daemon may be named safe_mysqld), try these steps:

 whereis mysqld_safe

then run as root the resulting path, for example, on my machine I would use

 /usr/local/bin/mysqld_safe 

that should work!

~Micah
/paste
That's what the startup script does:

# less /usr/local/etc/rc.d/mysql-server.sh
#!/bin/sh
DB_DIR=/var/db/mysql
PIDFILE=${DB_DIR}/`/bin/hostname -s`.pid
case $1 in
   start)
   if [ -x /usr/local/bin/mysqld_safe ]; then
   /usr/bin/limits -U mysql \
   /usr/local/bin/mysqld_safe --user=mysql 
--datadir=${DB_DI
R} --pid-file=${PIDFILE}  /dev/null 
   echo -n ' mysqld'
   fi
   ;;

But I'd use this rc.d script if there's a problem like the OP reported 
because it will govern how the daemon starts when the machine boots, so 
it needs to be working.

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


Re: Interpreting ping response? (the POD lives??)

2004-04-19 Thread Charles Swiger
On Apr 18, 2004, at 6:10 PM, Kevin D. Kinsey, DaleCo, S.P. wrote:
A further question, if I may ... from a FBSD box at 192.168.0.2,
I can ping 192.168.0.2 up to  { -s 65507 }.  Windows XP at *.*.*.10
responds as long as { -s  25153 } ... if Ethernet Maximum is 1500,
and that's the reason for the error ?  why doesn't FreeBSD, or
even Windows, elicit a similar response?  Nah, maybe that's a bad
question ... they aren't the same OS ... :-(
So, MTU is an OS feature/stat rather than general Ethernet?
You can send ICMP or UDP packets larger than the local MTU because the 
IP layer includes support for fragmenting datagrams if they are too 
big.  This capability works remarkably well but can be expensive in 
terms of system resources to break apart and reassemble fragments.

MTU is a parameter of a network transport layer, it has nothing to do 
with the OS...

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


soundcard

2004-04-19 Thread pvargas



Good day everybody, I'am a real newbie and i got some questions the first one 
is how can i know what devices are installed on my computer, I mean if there 
is a command for do that, the second is how can I configure my soundcard, I 
think that first I need to know what soundacard is installed on my pc, any 
help is welcome. Saludos desde Guatemala. 

Thanks.


Pablo Alfonso Vargas Melgar
Tel 818-3771
 intelNet WebMail

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


Re: soundcard

2004-04-19 Thread Kent Stewart
On Monday 19 April 2004 11:15 am, pvargas wrote:
 Good day everybody, I'am a real newbie and i got some questions the
 first one is how can i know what devices are installed on my
 computer, I mean if there is a command for do that, the second is how
 can I configure my soundcard, I think that first I need to know what
 soundacard is installed on my pc, any help is welcome. Saludos desde
 Guatemala.


The Handbook has a chapter on sound. That is a good place to learn about 
what you need to do. It also depends on which version of FreeBSD you 
are using. I have always added device  pcm to my kernel 
config file. You can also just kldload the sound module. I haven't done 
that and can't really tell you how to do that but it should be 
searchable from an archive of the messages.

The devices that your system recognizes can be seen by typing dmesg. 
This can be a long list and you may want to add  | more. If it has 
been too long since you booted your system, it is always in 
/var/run/dmesg.boot

If you are more comfortable with español, there is a Spanish list at
https://listas.es.freebsd.org/mailman/listinfo/freebsd

I see a lot more questions answered quickly on this list. 

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Dependency hell

2004-04-19 Thread Lowell Gilbert
Ziller, James [EMAIL PROTECTED] writes:

 So in other words I do have to recompile everything that depends on a given
 library just because that library is updated to a slightly newer version?:(

Yes.  The developers of the library chose not to maintain backward
compatibility.  Fortunately, this type of occurrence is rare.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[OT] porting an application from FreeBSD to z/os

2004-04-19 Thread Bill Moran
I have an application that I wrote to run on FreeBSD that I may have to port to
z/os.
I have no idea what this means.  I tried looking up z/os on IBM's site, but all
I found was marketspeak.
Anyone on the list have any experience with z/os?  Is it posix-like?  I already
did some tweaking to ensure the app would compile/run on Linux (it's in C) ...
does that mean that porting to z/os should be pretty easy as well?  Any links
to some serious information about what the system is like (other than IBM's
explanation of how many gazillion $$ I'll save by switching)?
--
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: speed issues

2004-04-19 Thread Charles Swiger
On Apr 19, 2004, at 2:31 AM, Radu MOLNAR wrote:
But in this network we also use DC for file sharing. And using the DC 
protocol i only get rates below 1MB/s for upload or download.
I'm not sure what the DC filesharing procotol is; I've never heard of 
it, and I suspect not many other people have either.

I also get these messages in my first console:
Limiting icmp unreach response from 268 to 200 packets per second
Limiting icmp unreach response from 277 to 200 packets per second
These tend to be a result of a port scan.  (It's conceivable your DC 
protocol is trying to connect to a closed port initially and then 
falling back to some other port which works...?)

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


Re: Dependency hell

2004-04-19 Thread Charles Swiger
On Apr 19, 2004, at 10:28 AM, Ziller, James wrote:
So in other words I do have to recompile everything that depends on a 
given
library just because that library is updated to a slightly newer 
version?:(
Well, you could simply use the old version of the library.

It's not especially hard to write code in a way that maintains upwards 
compatibility-- putting a version # or sizeof(struct foo) in structures 
being passed around helps!-- but some projects don't bother.

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


RE: Dependency hell

2004-04-19 Thread Ziller, James
So then is there a way that the ports/package system can automatically
handle replacing libfoo.so.3 with libfoo.so.4, so that packages compiled to
use libfoo.so.3 can use libfoo.so.4 instead (assuming the new version is
backward compatable)?  Or can the port link against say libfoo.so (which
should be a symlink to the version of the library that's installed)?

Thanks for the responses,
James

-Original Message-
From: Charles Swiger [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 19, 2004 1:18 PM
To: Ziller, James
Cc: '[EMAIL PROTECTED]'
Subject: Re: Dependency hell


On Apr 19, 2004, at 10:28 AM, Ziller, James wrote:
 So in other words I do have to recompile everything that depends on a
 given
 library just because that library is updated to a slightly newer 
 version?:(

Well, you could simply use the old version of the library.

It's not especially hard to write code in a way that maintains upwards 
compatibility-- putting a version # or sizeof(struct foo) in structures 
being passed around helps!-- but some projects don't bother.

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


Re: Dependency hell

2004-04-19 Thread Erik Trulsson
On Mon, Apr 19, 2004 at 01:34:34PM -0500, Ziller, James wrote:
 So then is there a way that the ports/package system can automatically
 handle replacing libfoo.so.3 with libfoo.so.4, so that packages compiled to
 use libfoo.so.3 can use libfoo.so.4 instead (assuming the new version is
 backward compatable)?

You can't assume that.  The version numbers of libraries are only
supposed to be changed when the new version is *NOT* backwards
compatible with the old.
I.e.  libfoo.so.4 is most likely not completely compatible with
libfoo.so.3 and any programs that are compiled against libfoo.so.3 need
to be recompiled to use libfoo.so.4

  Or can the port link against say libfoo.so (which
 should be a symlink to the version of the library that's installed)?
 
 Thanks for the responses,
 James
 
 -Original Message-
 From: Charles Swiger [mailto:[EMAIL PROTECTED] 
 Sent: Monday, April 19, 2004 1:18 PM
 To: Ziller, James
 Cc: '[EMAIL PROTECTED]'
 Subject: Re: Dependency hell
 
 
 On Apr 19, 2004, at 10:28 AM, Ziller, James wrote:
  So in other words I do have to recompile everything that depends on a
  given
  library just because that library is updated to a slightly newer 
  version?:(
 
 Well, you could simply use the old version of the library.
 
 It's not especially hard to write code in a way that maintains upwards 
 compatibility-- putting a version # or sizeof(struct foo) in structures 
 being passed around helps!-- but some projects don't bother.
 
 -- 
 -Chuck
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .htaccess in subdir of /usr/home/username/public_html

2004-04-19 Thread Noah
 Ok.. first off: Is there a user named glob in that .htpasswd file?


Hi,

uppers there is a username glob in that .htpasswd file.

-- snip ---

less /usr/home/username/public_html/subdir.htpasswd  
glob:uKRB.ktQoL./I

--- snip --

 
 Secondly, can you check that you have the module mod_userdir.c 
 loading? In my install from ports of Apache, my userdir directives 
 look like this:
 
 (Up top with the rest of the modules:)
 LoadModule userdir_module
  /usr/local/libexec/apache/mod_userdir.so AddModule mod_userdir.c


thats there in the /usr/local/etc/apache/httpd.conf . Verified that is in fact
the configuration file loaded when apache is executed

-- snip --

LoadModule userdir_module libexec/apache/mod_userdir.so

--- snip ---

 
 (Then down in the host/virtualhost directives:)
 IfModule mod_userdir.c
 UserDir public_html
 


thats there in the /usr/local/etc/apache/httpd.conf

-- snip --

IfModule mod_userdir.c
UserDir public_html
/IfModule

--- snip ---


 Directory /home/*/public_html
 AllowOverride FileInfo AuthConfig Limit
 Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
 Limit GET POST OPTIONS PROPFIND
 Order allow,deny
 Allow from all
 /Limit
 LimitExcept GET POST OPTIONS PROPFIND
 Order deny,allow
 Deny from all
 /LimitExcept
 
 /Directory
 /IfModule
 


thats there in the /usr/local/etc/apache/httpd.conf

-- snip --


Directory /usr/home/*/public_html/
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI
Limit GET POST OPTIONS PROPFIND
Order allow,deny
Allow from all
/Limit
LimitExcept GET POST OPTIONS PROPFIND
Order deny,allow
Deny from all
/LimitExcept
/Directory
--- snip ---

Any other ideas?


- Noah


 Best,
 Glenn
 
 ___
 [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]


Simple Router on FreeBSD - Which should I use?

2004-04-19 Thread Danny
I would like to setup a simple router, for the following:

Enable a 192.168.1.0 255.255.255.0 network talk to a 10.10.0.0 255.255.0.0 
network, and obviously vise versa.

Now the 10.10.0.0 is tentative, so I am also wondering on a network with less 
then 240 network nodes, if a 255.255.0.0 subnet mask would cause any 
disadvantages, versus using a 255.255.255.0 subnet mask? 

Thank you  Cheers to FreeBSD!

-D

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


kernel config optimized

2004-04-19 Thread Brian Henning
The following is a copy of my kernel config file. I am trying to optimize it as
much as possible.

do i need any of these psudo devices?
pseudo-device loop # Network loopback
pseudo-device ether# Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1# Kernel PPP
pseudo-device tun  # Packet tunnel.
pseudo-device pty  # Pseudo-ttys (telnet etc)
pseudo-device md   # Memory disks
pseudo-device gif  # IPv6 and IPv4 tunneling
pseudo-device faith 1  # IPv6-to-IPv4 relaying (translation)
pseudo-device   splash

do i need any of these devices?
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID  # Static device numbering


Thanks,

Brian



machine i386
cpu I686_CPU
ident PATRIOT
maxusers 0

options MATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.

# Standard busses
device isa
device pci
device agp

# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID  # Static device numbering

# SCSI devices
device atapicam  # emulate ATAPI devices as SCSI
device scbus # SCSI bus (required)
device da# Direct Access (disks)
device pass  # Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0  at atkbdc? irq 1 flags 0x1
device psm0at atkbdc? irq 12

device vga0at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
#device sc0 at isa? flags 0x100

# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13

# Ethernet devices
device miibus  # MII bus support
device dc  # DEC/Intel 21143 and various workalikes

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop # Network loopback
pseudo-device ether# Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1# Kernel PPP
pseudo-device tun  # Packet tunnel.
pseudo-device pty  # Pseudo-ttys (telnet etc)
pseudo-device md   # Memory disks
pseudo-device gif  # IPv6 and IPv4 tunneling
pseudo-device faith 1  # IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf #Berkeley packet filter

# USB devices
device uhci# UHCI PCI-USB interface
device ohci# OHCI PCI-USB interface
device usb # USB Bus (required)
device ugen# Generic
device umass   # Disks/Mass storage - Requires scbus and da
device ums # Mouse

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


Re: Dependency hell

2004-04-19 Thread Charles Swiger
On Apr 19, 2004, at 2:34 PM, Ziller, James wrote:
So then is there a way that the ports/package system can automatically
handle replacing libfoo.so.3 with libfoo.so.4, so that packages 
compiled to
use libfoo.so.3 can use libfoo.so.4 instead (assuming the new version 
is
backward compatable)?
If the new version of the library is backwards-compatible, it ought to 
be installed as libfoo.so.3 (not .4), and yes, the ports system will 
handle such upgrades in place just fine.

In particular, OpenSSL (aka libssl.so.n) is an example of a library 
that has had many bugfiles and updates without changing version numbers 
often.  You don't need to recompile everything that depends on libssl 
when you update libssl.

People (should) only bump shared library numbers when the library's 
interface changes in an incompatible fashion.  When that happens, it's 
a bad idea to try to fake the system out (say by symlinking libfoo.so.3 
to .4): programs tend to crash when you try, or do worse things such as 
corrupt data or mishandle authentication and thus open up a security 
hole.

Or can the port link against say libfoo.so (which
should be a symlink to the version of the library that's installed)?
libfoo.so is normally a symlink to the latest version of a particular 
shared library.  A port that genuinely doesn't care which version of 
libfoo you have doesn't need to depend on a particular version #, and 
you'd see a line in the Makefile like:

LIB_DEPENDS=	foo:${PORTSDIR}/misc/foo

...but most ports end up with more specific dependencies (ie, foo.3).

Maintaining backwards compatibility is not a high priority of the ports 
system and the result is that people end up recompiling a lot of stuff, 
but it's not easy to provide better solutions to this problem.

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


Re: How do I eliminate resolver delay??

2004-04-19 Thread Jonathon McKitrick
: up. And let's not forget the routing tables. Rather than having it in 
: rc.conf, maybe throwing that into entry and exit hooks to set up the 
: default gateway for the wireless is a good idea as well?
: 
: But like I said, I haven't gotten around to trying it out yet. If you 
: beat me to it, do tell how it worked out, ok? ;-)

I might give that a shot this week.  Thanks for the ideas.  It's my first
experience delving into BSD networking.


jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Dependency hell - fixed

2004-04-19 Thread Ziller, James
Thanks a lot for all the advice and explanations.  My system is now back in
working order after hours of recompiling, now I know how to avoid this mess
to begin with!

-jz

-Original Message-
From: Charles Swiger [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 19, 2004 2:05 PM
To: Ziller, James
Cc: '[EMAIL PROTECTED]'
Subject: Re: Dependency hell


On Apr 19, 2004, at 2:34 PM, Ziller, James wrote:
 So then is there a way that the ports/package system can automatically 
 handle replacing libfoo.so.3 with libfoo.so.4, so that packages 
 compiled to use libfoo.so.3 can use libfoo.so.4 instead (assuming the 
 new version is
 backward compatable)?

If the new version of the library is backwards-compatible, it ought to 
be installed as libfoo.so.3 (not .4), and yes, the ports system will 
handle such upgrades in place just fine.

In particular, OpenSSL (aka libssl.so.n) is an example of a library 
that has had many bugfiles and updates without changing version numbers 
often.  You don't need to recompile everything that depends on libssl 
when you update libssl.

People (should) only bump shared library numbers when the library's 
interface changes in an incompatible fashion.  When that happens, it's 
a bad idea to try to fake the system out (say by symlinking libfoo.so.3 
to .4): programs tend to crash when you try, or do worse things such as 
corrupt data or mishandle authentication and thus open up a security 
hole.

 Or can the port link against say libfoo.so (which
 should be a symlink to the version of the library that's installed)?

libfoo.so is normally a symlink to the latest version of a particular 
shared library.  A port that genuinely doesn't care which version of 
libfoo you have doesn't need to depend on a particular version #, and 
you'd see a line in the Makefile like:

LIB_DEPENDS=foo:${PORTSDIR}/misc/foo

...but most ports end up with more specific dependencies (ie, foo.3).

Maintaining backwards compatibility is not a high priority of the ports 
system and the result is that people end up recompiling a lot of stuff, 
but it's not easy to provide better solutions to this problem.

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


Re: kernel config optimized

2004-04-19 Thread Kevin D. Kinsey, DaleCo, S.P.
Brian Henning wrote:

The following is a copy of my kernel config file. I am trying to optimize it as
much as possible.
do i need any of these psudo devices?
pseudo-device loop # Network loopback
 

Most people would leave this in.  I've no idea
what might break without it, but I'll wager something
might ... for example, what would you think of a box
that couldn't find localhost with both hands?  No lo,
that's what you might well get 
pseudo-device ether# Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1# Kernel PPP
pseudo-device tun  # Packet tunnel.
 

tun is necessary for userland PPP.  If you
take out tun, ppp, and ether as well
as SLIP, what protocols do you figure on
using?  Are you planning on connecting to
anything? (Note that I'm not saying there's
no other way, but these are so common )
pseudo-device pty  # Pseudo-ttys (telnet etc)
 

I may be wrong, but wouldn't removing this
cause remote access (most of it, ftp, telnet,
ssh, etc.) to fail?
pseudo-device md   # Memory disks
pseudo-device gif  # IPv6 and IPv4 tunneling
pseudo-device faith 1  # IPv6-to-IPv4 relaying (translation)
pseudo-device   splash
do i need any of these devices?
device atadisk # ATA disk drives
 

I suppose not if your disks are SCSI.

device atapicd # ATAPI CDROM drives
 

If no CDROM, or you have a SCSI CDROM, I guess not.

options ATA_STATIC_ID  # Static device numbering

Thanks,

Brian

 

Most of your list is stuff that is generally standard
and fairly essential ... if you've minimized down this
far, I'd say you're getting close to small enough, wouldn't
you?
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel config optimized

2004-04-19 Thread Jorn Argelo
On Monday 19 April 2004 21:02, Brian Henning wrote:
 The following is a copy of my kernel config file. I am trying to optimize
 it as much as possible.

 do i need any of these psudo devices?
 pseudo-device loop # Network loopback
 pseudo-device ether# Ethernet support
 pseudo-device sl 1 # Kernel SLIP
 pseudo-device ppp 1# Kernel PPP
 pseudo-device tun  # Packet tunnel.
 pseudo-device pty  # Pseudo-ttys (telnet etc)
 pseudo-device md   # Memory disks
 pseudo-device gif  # IPv6 and IPv4 tunneling
 pseudo-device faith 1  # IPv6-to-IPv4 relaying (translation)
 pseudo-device   splash

You can safely remove SL, PPP, GIF and Faith, but I would keep the rest if I 
were you.

 do i need any of these devices?
 device atadisk # ATA disk drives
 device atapicd # ATAPI CDROM drives
 options ATA_STATIC_ID  # Static device numbering

Depends on the hardware. If you're not using any IDE drives then you can 
disable that. 


Cheers,

Jorn

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


Which Device for LCD on Serial Port

2004-04-19 Thread Joe Lewis
G'Day!

I am trying to set up LCDd on my 1U server, and it requires a 
device=[device name] line.  In my dmesg, I get a listing of sio0 and 
sio1 (and the manual for the motherboard states that it's the second 
serial connector).  dmesg output reveals :

sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
In the /dev/ directory, there is no sio1 special file.  However, the 
cuaa1, cuala1 and tty stuff is there.  I am working with :

FreeBSD azurite 5.2-RELEASE FreeBSD 5.2-RELEASE #1: Mon Feb  2 00:38:21 
MST 2004
LCDd 0.4.3, LCDproc Protocol 0.3 (from the ports)

So, what line do I need to use?  device=/dev/sio1 obviously won't 
work, and I think I should be using the device=/dev/cuaa1 line because 
I am looking for sending data to the LCD rather than recieving from it.  
(though, I would like to use the built in menus to handle configuration 
stuff, but will settle for just a nice display).

Joe

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


Networking problem! Watchdog -- Timeout

2004-04-19 Thread Henrik Zagerholm
Hi all!
Installing 5.2 on my new box with an integraded Intel PRO 1000 CT NIC.
System detects it as em0 but I cant get it to work. I'm trying dhcp and 
I have added the line: ifconfig_em0=DHCP in rc.conf but I still get 
this problem.
em0: Watchdog Timeout ---Resetting

IF I disable ACPI it works perfectly so I think it's IRQ related or?

dmesg.boot show the folowwing error messages:

ACPI 1287 Method Execution Failed [_SB_PCI0.MDET] (Node 0xc29afb60) 
AE_AML_REGION_LIMIT
ACPI 1287 Method Execution Failed [_SB_PCI0._CRS] (Node 0xc29afa60) 
AE_AML_REGION_LIMIT
ACPI 0175 Method Execution Failed [_SB_PCI0._CRS] (Node 0xc29afa60) 
AE_AML_REGION_LIMIT
cant fetch resource for _SB_PCI0

ACPI 1287 Method Execution Failed [_SB_PCI0.MDET] (Node 0xc29afb60) 
AE_AML_REGION_LIMIT
ACPI 1287 Method Execution Failed [_SB_MEM_._CRS] (Node 0xc29af600) 
AE_AML_REGION_LIMIT
ACPI 0175 Method Execution Failed [_SB_MEM_._CRS] (Node 0xc29af600) 
AE_AML_REGION_LIMIT
cant fetch resource for _SB_.MEM_

Driver version is 1.7.19.
I've tried at numerous forums but no answers =(
Please help! I love FreeBSD but sometimes I realize why Win still exists =0)
See ya!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which Device for LCD on Serial Port

2004-04-19 Thread Dan Nelson
In the last episode (Apr 19), Joe Lewis said:
 I am trying to set up LCDd on my 1U server, and it requires a
 device=[device name] line.  In my dmesg, I get a listing of sio0 and
 sio1 (and the manual for the motherboard states that it's the second
 serial connector).  dmesg output reveals :
 
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A

The bottom of the sio manpage lists the device nodes each device
creates.  /dev/cuaa1 would be the most appropriate for you, I think.

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


screen size on Inspiron 8200

2004-04-19 Thread kro21
Please respond to my email address as I am not subscribed to a newsgroup.  I was 
subscribed until I started getting tons of SPAM.

I have a Dell Inspiron 8200 with a 32 MB Nvidia GeForce2 Go video card.  I have 
FreeBsd 5.1 loaded.  I am not able to get  the screen size to 1600x1200.  The max size 
that I can get is 1024x768 and this takes up only a portion of the screen.  I would 
like to make use of my full screen. I have tried everything I know in the XF86 
configuration file to no avail and it getting quite annoying.  Please Help!!!

thanks
Kenneth 

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


Re: Simple Router on FreeBSD - Which should I use?

2004-04-19 Thread Matthew Seaman
On Mon, Apr 19, 2004 at 03:06:51PM -0500, Danny wrote:
 I would like to setup a simple router, for the following:
 
 Enable a 192.168.1.0 255.255.255.0 network talk to a 10.10.0.0 255.255.0.0 
 network, and obviously vise versa.

Just setup your FreeBSD box with an interface on each network, and put
'gateway_enable=YES' into /etc/rc.conf  Trivially easy.
 
 Now the 10.10.0.0 is tentative, so I am also wondering on a network with less 
 then 240 network nodes, if a 255.255.0.0 subnet mask would cause any 
 disadvantages, versus using a 255.255.255.0 subnet mask? 

It hardly makes a difference either way.  Seeing as they're all RFC
1918 network blocks (or should I say RFC 3330 nowadays?) presumably
they're on a private internet and you can do what you like there.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: mouse in FreeBSD

2004-04-19 Thread Rob
On Wednesday 14 April 2004 11:00 pm, ilich wrote:
 Hello All!
 1. My mouse has a fancy wheel.Can I use it in the X Window system?
 2. Can I use copy\cut\paste text with mouse in the console?
 4. Can I copy mouse options for X from Linux?
 3. How do I copy\cut\paste text in Vim?
 Thanks, Ivan

I can answer the first two;

1. Yes put - Option ZAxisMapping 4 5 - without the dashes in your 
InputDevice section of your XF86Config file and restart X and the wheel 
should work.

2. I do it all of the time but not with the right mouse button, I highlight 
the text and then use the edit menu at the top of the console for the cut/
paste option.

I can not answer the other two.

Rob M.

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


Re: speed issues

2004-04-19 Thread Radu MOLNAR
Sorry if i wasn't correct in what i said. i was referring to the protocol
that DC clients use to transfer files. didn't know what else to call it :)


Radu Molnar
Babes-Bolyai Comunication Center



On Mon, 19 Apr 2004, Charles Swiger wrote:

 On Apr 19, 2004, at 2:31 AM, Radu MOLNAR wrote:
  But in this network we also use DC for file sharing. And using the DC
  protocol i only get rates below 1MB/s for upload or download.

 I'm not sure what the DC filesharing procotol is; I've never heard of
 it, and I suspect not many other people have either.

  I also get these messages in my first console:
  Limiting icmp unreach response from 268 to 200 packets per second
  Limiting icmp unreach response from 277 to 200 packets per second

 These tend to be a result of a port scan.  (It's conceivable your DC
 protocol is trying to connect to a closed port initially and then
 falling back to some other port which works...?)

 --
 -Chuck

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

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


Re: Networking problem! Watchdog -- Timeout

2004-04-19 Thread Kevin D. Kinsey, DaleCo, S.P.
Henrik Zagerholm wrote:

Hi all!
Installing 5.2 on my new box with an integraded Intel PRO 1000 CT NIC.
System detects it as em0 but I cant get it to work. I'm trying dhcp 
and I have added the line: ifconfig_em0=DHCP in rc.conf but I still 
get this problem.
em0: Watchdog Timeout ---Resetting

IF I disable ACPI it works perfectly so I think it's IRQ related or?


Please note that I am not associated with the Project
while you read this.
I think that this is a bug with the em driver on the 5.X
series.  You did note that it's a new technology release
and not advertised to be suitable for everybody, right?
IIRC, there have been issues with both em(4) and
ACPI on the -HEAD (CURRENT, 5.X) code for a while.  Good
programmers are giving lots of the time and energy, coding
for free to get it working, but some things are tricky.  You might
run without ACPI for a while, switch NICs until the problem is
fixed, or run 4.9 or 4.10 [which is due out Real Soon Now(tm)]
instead of 5.2 
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rc.conf.local error nn7j

2004-04-19 Thread Kevin D. Kinsey, DaleCo, S.P.
Dan wrote:

I made an error in the rc.conf.conf file used ;# for rem statement.

Oops!  You can recover, but it may be a tad tricky.

 It hang on that statement at boot. 

But then it at least gives a loader prompt, apparently?

Also can't  find shell get error message to use /bin/sh hit  return.

You're being put into single user mode, and with a read-only
/ partition with no other partitions mounted, most likely.
 I can't vi the rc.conf.local file vi is not there.

Dan
 

As a result of being forced into single user, some things
have happened.
As mentioned above, /var, /usr, and other filesystems
are not yet mounted.  You'll need to do this by hand.
Your shell resource files are not read, therefore $PATH
is not set.  In order to use most commands, you'll need
to specify the full path.
Try this first:

$/sbin/mount -a

And then just mount to see if your file systems were
mounted as if in normal operation.  Sample, your system
may be different, of course:
$ mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1e on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
If you can mount your file systems, then you
should be able to call
$/usr/bin/vi /etc/rc.conf

and fix your problem.

HTH,

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


jfs4bsd

2004-04-19 Thread UBM

Hiho! :-)

Is there any chance that I can get patches for JFS support under
FreeBSD? I googled and checked the website, but the last information
about the jfs4bsd project that I can find is from 2002.

TIA! :-)

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


Re: Networking problem! Watchdog -- Timeout

2004-04-19 Thread Henrik Zagerholm
Kevin D. Kinsey, DaleCo, S.P. wrote:

Henrik Zagerholm wrote:

Hi all!
Installing 5.2 on my new box with an integraded Intel PRO 1000 CT NIC.
System detects it as em0 but I cant get it to work. I'm trying dhcp 
and I have added the line: ifconfig_em0=DHCP in rc.conf but I still 
get this problem.
em0: Watchdog Timeout ---Resetting

IF I disable ACPI it works perfectly so I think it's IRQ related or?


Please note that I am not associated with the Project
while you read this.
I think that this is a bug with the em driver on the 5.X
series.  You did note that it's a new technology release
and not advertised to be suitable for everybody, right?
IIRC, there have been issues with both em(4) and
ACPI on the -HEAD (CURRENT, 5.X) code for a while.  Good
programmers are giving lots of the time and energy, coding
for free to get it working, but some things are tricky.  You might
run without ACPI for a while, switch NICs until the problem is
fixed, or run 4.9 or 4.10 [which is due out Real Soon Now(tm)]
instead of 5.2 
Kevin Kinsey



I guess you have a good point! =0)
I just now another guy with the some NIC (Intel PRO 1000 CT) and it 
worked fine but it could be antoher device that is really messing up my 
system.
What eactly do I miss with ACPI disabled?

Have a good one Kevin!

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


Re: jfs4bsd

2004-04-19 Thread Greg 'groggy' Lehey
On Monday, 19 April 2004 at 22:42:17 +0200, Marc UBM Bocklet wrote:

 Hiho! :-)

 Is there any chance that I can get patches for JFS support under
 FreeBSD?

No.  The project never took off.

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


pgp0.pgp
Description: PGP signature


Fastrak s150 tx4 SATA Raid help

2004-04-19 Thread Brent Wiese
I have an onboard Promise s150 tx4 SATA raid chip.

Anyone have any luck running this under FreeBSD 4.9? Will it run under 4.9?

Any experiences with it under 5.x?

Due to already overbudgeting on this particular box, moving to a 3ware card
is unlikely unless I can't for 100% sure get it running on the Promise
card...

Cheers,
Brent


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


Re: mouse in FreeBSD

2004-04-19 Thread Joshua Lokken
* ilich [EMAIL PROTECTED] [2004-04-19 09:16]:
 
 Hello All!
 1. My mouse has a fancy wheel.Can I use it in the X Window system?

This is a FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#AEN3648

 2. Can I use copy\cut\paste text with mouse in the console?

This text was copied from an xterm and pasted into another.

 4. Can I copy mouse options for X from Linux?

XFree86 is independent of the OS, so I would imagine you can.

 3. How do I copy\cut\paste text in Vim?

http://www.unb.ca/documentation/UNIX/tips/vim/

This is one of many tutorials on Vim.  If it's installed on your system,
you probably have somewhat extensive documentation installed locally.


--
Joshua

Is there no place for the man with 105 IQ?!
   --Homer Simpson

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


Re: mouse in FreeBSD

2004-04-19 Thread Nathan Kinkade
On Thu, Apr 15, 2004 at 10:00:41AM +0400, ilich wrote:
 Hello All!
 1. My mouse has a fancy wheel.Can I use it in the X Window system?

Yes, the answer to this is partly related the question 2. This is also
in the FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#X-AND-WHEEL

 2. Can I use copy\cut\paste text with mouse in the console?

Yes, you can use the mouse daemon (moused).  Just edit your /etc/rc.conf
file and add the following lines:

moused_enable=YES
moused_port=/dev/psm0  # assuming you have a ps/2 mouse
moused_flags=-z 4

Then configure X to use moused (sysmouse) by editing the input section
with the following:

Option  Device /dev/sysmouse
Option  Buttons 5

 4. Can I copy mouse options for X from Linux?

The options should be the same.

 3. How do I copy\cut\paste text in Vim?

In X you just highlight and then middle-click to paste.

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


pgp0.pgp
Description: PGP signature


Re: speed issues

2004-04-19 Thread Bill Moran
Radu MOLNAR wrote:
Sorry if i wasn't correct in what i said. i was referring to the protocol
that DC clients use to transfer files. didn't know what else to call it :)
I suspect I'm not the only one wondering this:

What is DC?


Radu Molnar
Babes-Bolyai Comunication Center

On Mon, 19 Apr 2004, Charles Swiger wrote:


On Apr 19, 2004, at 2:31 AM, Radu MOLNAR wrote:

But in this network we also use DC for file sharing. And using the DC
protocol i only get rates below 1MB/s for upload or download.
I'm not sure what the DC filesharing procotol is; I've never heard of
it, and I suspect not many other people have either.

I also get these messages in my first console:
Limiting icmp unreach response from 268 to 200 packets per second
Limiting icmp unreach response from 277 to 200 packets per second
These tend to be a result of a port scan.  (It's conceivable your DC
protocol is trying to connect to a closed port initially and then
falling back to some other port which works...?)


--
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: Simple Router on FreeBSD - Which should I use?

2004-04-19 Thread Bill Moran
Danny wrote:
I would like to setup a simple router, for the following:

Enable a 192.168.1.0 255.255.255.0 network talk to a 10.10.0.0 255.255.0.0 
network, and obviously vise versa.
You'll probably just want to set gateway_enable=yes and natd_enable=yes

I believe there are a number of tutorials on this, one in the handbook?

Now the 10.10.0.0 is tentative, so I am also wondering on a network with less 
then 240 network nodes, if a 255.255.0.0 subnet mask would cause any 
disadvantages, versus using a 255.255.255.0 subnet mask? 
I wouldn't recommend using 255.255.0.0.  It'll work fine for now, but if
you start to scale up you'll wish you didn't have 65536 hosts on a single
network leg.
If you're sure you'll never be scaling up, then that netmask is fine, it
won't cause any problems.  If you're sure, can I borrow your crystal ball
some time? ;)
--
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]


  1   2   >