Re: strange reboots

2003-08-22 Thread zhuravlev alexander
On Thu, Aug 21, 2003 at 10:47:15PM -0700, Kent Stewart wrote:
 On Thursday 21 August 2003 10:36 pm, zhuravlev alexander wrote:
  [ please CC me, because I am not a list subscriber ]
 
  Hi!
 
  We encounter with strange casual reboots of our server.
  Does anyone know any tactics of investigation why
  this happens.
 
  [ns:/u/zaa]uname -rs
  FreeBSD 4.8-STABLE
 
 For starters, make sure you have all of the security holes fixed. There 
 is a list of advisories on the bottom right side of 
 http://www.freebsd.org/

System are up to date
[ns:/u/zaa]uname -v
FreeBSD 4.8-STABLE #0: Sat Aug 16 14:42:35 MSD 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NS
 
 If you are up todate, then it is a function of noticing what is going on 
 when it reboots. You usually have a clue but seeing it can be a 
 problem.

I suppose, reboot can cause incorrect work of ftp server. (we use
standart out of the box ftpd).
Maybe we should switch to another ftp server. 
Any recommendations which server should we choose?


 -- zhuravlev alexander
   u l s t u  n o c
 ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange reboots

2003-08-22 Thread Kent Stewart
On Thursday 21 August 2003 11:11 pm, zhuravlev alexander wrote:
 On Thu, Aug 21, 2003 at 10:47:15PM -0700, Kent Stewart wrote:
  On Thursday 21 August 2003 10:36 pm, zhuravlev alexander wrote:
 [ please CC me, because I am not a list subscriber ]
  
 Hi!
  
 We encounter with strange casual reboots of our server.
 Does anyone know any tactics of investigation why
 this happens.
  
 [ns:/u/zaa]uname -rs
 FreeBSD 4.8-STABLE
 
  For starters, make sure you have all of the security holes fixed.
  There is a list of advisories on the bottom right side of
  http://www.freebsd.org/

   System are up to date
   [ns:/u/zaa]uname -v
   FreeBSD 4.8-STABLE #0: Sat Aug 16 14:42:35 MSD 2003
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NS

  If you are up todate, then it is a function of noticing what is
  going on when it reboots. You usually have a clue but seeing it can
  be a problem.

   I suppose, reboot can cause incorrect work of ftp server. (we use
   standart out of the box ftpd).
   Maybe we should switch to another ftp server.
   Any recommendations which server should we choose?


One thing is to make sure you have a good boot. You don't want the 
message about / was not properly dismounted to be present.

I don't have any other ideas. What I have seen on here are mostly things 
that were hardware. Cron would startup a job and the hardware would 
heat up or something and cause the system to panic. 

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: about using dd command to copy hard drives

2003-08-22 Thread Dan Strick
On Fri, 22 Aug 2003, [EMAIL PROTECTED] wrote:

 I'm using freebsd 5.0 Jan 2003 series

 I know that dd is good at copying block devices when they
 are at identical sizes. But if they're different sizes will it
 copy correctly?

 I want to copy my entire freebsd hard disk  which is 6 GB
 to a new hard disk at 20 GB.

 I read the man pages but still can't understand it.  I'm only a user
 not a programmer nor sys admin. If you have any comments or
 suggestions, I would surely appreciate it.


You could copy your small disk image onto the beginning of your hard
disk, fixup your partition tables by running fdisk and disklabel, and
perhaps expand some of your old file systems with the growfs command,
but I advise against it.

It would be easier, though perhaps slower, to use fdisk, disklabel and
newfs to create new partitions and file systems on the new drive and
to copy the old file systems with dump/restore.  If you do it this way,
the files in the new file systems will be much closer to contiguous
(a good thing).  It will be much easier to expand the size of file
systems other than the last one on your old disk.  You will have the
opportunity to reorganize your file systems and the new file systems
will be better organized internally.

I gather that the disk you intend to copy is a bootstrap disk.  Don't
forget to install the MBR bootstrap and the FreeBSD slice bootstrap.

You might find it most convenient to create the new disk slices and
FreeBSD partitions with /stand/sysinstall.  I recall that there is
an underdocumented W command that you can give when in the disk
slice and partition creation menus that will cause the new partition
tables and bootstraps to be written when you exit the menus so that
you don't have to do an installation commit.  I usually do this
kind of thing when booted from FreeBSD installation media, but I gather
that it works ok when running multiuser.  The man page is sysinstall.

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


Re: strange reboots

2003-08-22 Thread paul beard
zhuravlev alexander wrote:
	[ please CC me, because I am not a list subscriber ]

	Hi!

	We encounter with strange casual reboots of our server.
	Does anyone know any tactics of investigation why
	this happens. 

anything in /var/log/messages that looks interesting? do you do 
any monitoring of the system at all?

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Earth is a great, big funhouse without the fun.
-- Jeff Berner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mod_perl 1.28 with apache 1.3.28 questions

2003-08-22 Thread paul beard
I have been trying to get mod_perl and apache to play nicely 
together and they refuse. I have a couple of problems.

1. I can't build and install mod_perl 1.28. I get and Error 1 when 
make checks to see if any version is installed. I can then go into 
work/mod_perl-1.28 and make install, but something else seems to 
be wrong. I never get it to work with apache if I do that.

[/usr/ports/www/mod_perl]# make install
===  Installing for mod_perl-1.28
===   mod_perl-1.28 depends on file: /usr/local/sbin/apxs - found
===   mod_perl-1.28 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.0/LWP.pm - found
===   Generating temporary packing list
===  Checking if www/mod_perl already installed
*** Error code 1

Stop in /usr/ports/www/mod_perl.

[/usr/ports/www/mod_perl]# pkg_info | grep mod_perl
mod_perl-1.28   Embeds a Perl interpreter in the Apache server
I get the same error, whether or not it's installed.

2. I can install from the packaged version but it is built against 
perl 5.005 as best I can tell (I enable perl-status and check in a 
browser: Embedded Perl version 5.00503 for Apache/1.3.28 (Unix) 
mod_perl/1.28 DAV/1.0.3 process 12540 ) I'm running 5.8 and I'm 
not sure that's the best way to proceed.

So ideally, I'd like to install from source through the ports 
system. As a side note, I have been through my ports/packages 
database with pkgdb: all seems to be clean, after after a few 
mismatches were cleaned up. I have also tried portinstall and 
port_upgrade: no joy there, either.

Any help?

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Non-sequiturs make me eat lampshades.

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


Re: strange reboots

2003-08-22 Thread zhuravlev alexander
On Thu, Aug 21, 2003 at 11:29:13PM -0700, paul beard wrote:
 zhuravlev alexander wrote:
  [ please CC me, because I am not a list subscriber ]
 
  Hi!
 
  We encounter with strange casual reboots of our server.
  Does anyone know any tactics of investigation why
  this happens. 
 
 
 anything in /var/log/messages that looks interesting? do you do 
 any monitoring of the system at all?

yes, sure. we use nagios.
we have decided to redirect console output to COM port
of another machine. I hope we could later analyse output
of rebooted machine just before reboot.

 -- zhuravlev alexander
   u l s t u  n o c
 ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems Installing FreeBSD 5.1-CURRENT

2003-08-22 Thread Matthew Seaman
On Thu, Aug 21, 2003 at 05:27:31PM -0700, R B wrote:
 hi my name is pyr0teknix696 and i've been using linux
 for 3 years and decided to try freebsd on an old AST
 x486 with 32MB ram and a 3.16G HDD my problem is that
 the BIOS is not able to boot from CROM drives so i
 read through the docs and BSD and it says to create
 boot floppies with fdimage i do everything im supposed
 to do and the I reboot off the kernel.flp disk that
 works fine then it says to put in msfroot.flp disk i
 do that and then hit enter the problem is i reboot and
 it gives a message saying something like this:
 
 /kernel
 default 0:fd(0,a)fd0
 boot:
 
 i dont know what this is can you please help me so
 that i can actually get to the installation process

Sounds to me like your mfsroot.flp disk didn't come out quite right.
Floppies are not at all reliable, and a single bad sector will stop
them working for the FreeBSD install -- the install floppies have to
pack in a great deal of stuff and they need to use practically every
available byte on the disks.

Try again building a new mfsroot.flp disk, preferably on a brand new
floppy.

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: Toshiba T2100 Install Trouble

2003-08-22 Thread Matthew Seaman
On Fri, Aug 22, 2003 at 01:53:06PM +1000, Aaron ILES wrote:
 
 I'm attempting to install FreeBSD 5.1 on a Toshiba T2100 laptop.
 (That's a x486 with 8meg of RAM booting from floppies)
 
 The kernel and MFS root are uncompressed ok, however, when booting the
 kernel the boot pauses after just a few seconds, screens worth of
 something is printed and the machine reboots. All this happens to
 quickly for me to read most of the output. I did however read this line.
 
  fatal trap 12  ...
 
 I have also attempted this install with FreeBSD 4.7. A similar reboot
 occurs. No copious output is produced though.
 
 Does any one know how to log the install process so I can debug this
 further?
 
 Does any one know what fatal trap 12 is?

That's a SIGSYS non-existent system call invoked.  However, in this
case it probably means that either there's some sort of hardware
problem with your system or that your system is not capable of running
a recent version of FreeBSD -- 8Mb is cutting it pretty fine: probably
too fine.  Check the archives, but I believe you need at least 12Mb to
install 4.x.

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: console bell visible

2003-08-22 Thread Armand Passelac
Yes OK I can just make a redirect  /dev/audio0.*  /dev/null  but I want to have sound 
during my X sessions.

The /dev/audio0.*  /dev/null is a good idea if you only work in console mode.
But in my case I use sometimes de X session and sometimes the console mode.



[ On Thu, 21 Aug, 2003 at  9:58, Armand Passelac wrote: ]
Armand 
Armand Hi,
Armand I'm on FreeBSD 5.1 with shell bash.
Armand As on my linux system, I try to avoid the bell in console mode (not X mode).
Armand I realized the following stages :
Armand 
Armand ~/.inputrc :
Armand set bell-style visible
Armand ~/.bashrc (which is linked with a ~/.bash_profile):
Armand set bell-style visible
Armand 
Armand Before to test, I quit my session, and then re open it.
Armand 
Armand But it doesn't perfore !
Armand There is always the beep 
Armand 
Armand Why ?
Armand 
Armand PS : whithin a X session, it's OK because I put the xset b off on my 
.xinitrc and .xsession
Armand 
Armand Thanks a lot.
Armand 
Armand 
Armand -- 
Armand No guts No glory
Armand 
Armand =] PASSELAC Armand [=
Armand  (  @ @ )   
Armand Ingenieur Systemes-Reseaux  Securite
Armand ORBYTES INGENIERIE
Armand ___
Armand [EMAIL PROTECTED] mailing list
Armand http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Armand To unsubscribe, send any mail to [EMAIL PROTECTED]
[ End of original mail from Armand Passelac ]

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


Re: Backup and restore advise sought

2003-08-22 Thread Matthew Seaman
On Thu, Aug 21, 2003 at 11:22:12PM -0500, Doug Poland wrote:

 My proposed solution is this:  dump each FBSD partition to backup
 device, and re-partition the drive.  This time put the Windows stuff
 at the front of the HD, and FBSD at the rear.  BTW, I'll recreate the
 FBSD slices at least as large the original slice.

Sounds like a good plan to me.
 
 Since I've never used dump/restore I've got some questions.  
 1.  I'm concerned that the FBSD partition names will change.  i.e., /
 was ad0s3a may now become ad1s3a and so on.

Yes, this will happen, but not in the way you've shown: ad0s3a is the
first partition (a) on the 3rd slice (s3) of the primary master disk
(ad0).  ad1s3a is on the primary slave drive (ad1).  What you should
probably see is the current partitions are

   ad0s1a, ad0s1b, etc.

And when you swap your FreeBSD and Windows slices, that should change
to:

   ad0s2a, ad0s2b, etc.

I recommend that when you copy the partitions, edit the /etc/fstab
file and put in the new device names before you copy.  Preferably
restore the original fstab, and test that you can reboot using the new
slices before you install WinME over the original FreeBSD slice.
 
 2.  I'm using GRUB as boot loader pointing at HD(0,0,a) for FBS and
 HD(0,1) for Win.  That will probably change.

Yes.
 
 3.  Is there anything else about dump/restore that may present a
 gotcha with this solution?  

Shouldn't be any problems given what you say about sizing everything
above.  Instead of using sysinstall, you might consider using the
basic fdisk, disklabel and newfs commands -- they're more powerful and
flexible than sysinstall but not so easy to use.
 
 4.  Is there a better way?  I remember reading about an OpenBSD
 ghost for Unix.  

As far as I know, all of the Unix ghost programs are essentially
scripts build around dump and restore.

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: Problems Installing FreeBSD 5.1-CURRENT

2003-08-22 Thread Armand Passelac
I'm not an FreeBSD expert (as you I'm coming from linux).
But when I installed my FreeBSD on my old PC, I used these commands to preparing boot 
floppies :
(On linux ...) :

dd if=/mnt/cdrom/floppies/kern.flp of=/dev/fd0 bs=36b
dd if=/mnt/cdrom/floppies/mfsroot.flp of=/dev/fd0 bs=36b
dd if=/mnt/cdrom/floppies/drivers.flp of=/dev/fd0 bs=36b

Then put the CDROM and the first floppy (kern.flp)
And then follow the instructions (next floppy : mfsroot.flp)

It should be work.

Bye



[ On Fri, 22 Aug, 2003 at  9:32, Matthew Seaman wrote: ]
Matthew On Thu, Aug 21, 2003 at 05:27:31PM -0700, R B wrote:
Matthew  hi my name is pyr0teknix696 and i've been using linux
Matthew  for 3 years and decided to try freebsd on an old AST
Matthew  x486 with 32MB ram and a 3.16G HDD my problem is that
Matthew  the BIOS is not able to boot from CROM drives so i
Matthew  read through the docs and BSD and it says to create
Matthew  boot floppies with fdimage i do everything im supposed
Matthew  to do and the I reboot off the kernel.flp disk that
Matthew  works fine then it says to put in msfroot.flp disk i
Matthew  do that and then hit enter the problem is i reboot and
Matthew  it gives a message saying something like this:
Matthew  
Matthew  /kernel
Matthew  default 0:fd(0,a)fd0
Matthew  boot:
Matthew  
Matthew  i dont know what this is can you please help me so
Matthew  that i can actually get to the installation process
Matthew 
Matthew Sounds to me like your mfsroot.flp disk didn't come out quite right.
Matthew Floppies are not at all reliable, and a single bad sector will stop
Matthew them working for the FreeBSD install -- the install floppies have to
Matthew pack in a great deal of stuff and they need to use practically every
Matthew available byte on the disks.
Matthew 
Matthew Try again building a new mfsroot.flp disk, preferably on a brand new
Matthew floppy.
Matthew 
MatthewCheers,
Matthew 
MatthewMatthew
Matthew 
Matthew -- 
Matthew Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
Matthew   Savill Way
Matthew PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Matthew Tel: +44 1628 476614  Bucks., SL7 1TH UK

[ End of original mail from Matthew Seaman ]


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


Re: strange reboots

2003-08-22 Thread Dean Strik
zhuravlev alexander wrote:
   We encounter with strange casual reboots of our server.
   Does anyone know any tactics of investigation why
   this happens. 

Perhaps you're suffering from the 'PAE crashes'. Mike Silbersack posted
a patch to the freebsd-stable list today to backout the PAE changes. You
may want to try that patch.

-- 
Dean C. Strik Eindhoven University of Technology
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]  |  http://www.ipnet6.org/
This isn't right. This isn't even wrong. -- Wolfgang Pauli
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Bandwith limitations, NAT and transparent proxy

2003-08-22 Thread Uncle GIGI
Hi !

I have FreeBSD 4.8 installed.
There is IPFIREWALL, IPFIREWALL_FORWARD, IPDIVERT and DUMMYNET in my 
kernel configration.
On my FBSD gateway to the Internet I would like to use NAT (of course 
:-))) ), transparent proxy and limit the outgoing traffic.
xl0 (62.169.170.166/30) is the public interface, xl1 (192.168.1.1/24) is 
the private one.

If my firewall rules look like:
ipfw pipe 1 config bw 256Kbit/s queue 40Kbytes
ipfw add 47 pipe 1 ip from any to any out via xl0
ipfw add 48 allow ip from 192.168.1.1 to any
ipfw add 49 fwd 192.168.1.1,3128 tcp from 192.168.1.0/24 to any 80
ipfw add 50 divert 8668 ip from any to any via xl0
... (the rest of OPEN firewall rules)
nothing except http (because of transparent proxy, I think) goes through 
the gateway from the local net.

If my firewall rules look like:
ipfw pipe 1 config bw 256Kbit/s queue 40Kbytes
ipfw add 47 pipe 1 ip from 62.169.170.166 to any out via xl0
ipfw add 48 allow ip from 192.168.1.1 to any
ipfw add 49 fwd 192.168.1.1,3128 tcp from 192.168.1.0/24 to any 80
ipfw add 50 divert 8668 ip from any to any via xl0
... (the rest of OPEN firewall rules)
everything works fine except except the bandwith limitation.
Do you have any ideas, how to get these three things (bandwith 
limitation, nat, transparent proxy) work together ?

Thanks a lot in advance.

GIGI

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


problem running make on ports

2003-08-22 Thread Charlie ROOT
Hello,

I'm having a peculiar problem running make on some ports. I'm getting an
error saying:

This account is currently not available
*** Error code 1

Stop in /dir/I/was/working/in

This has happened in /usr/ports/mail/exim and /usr/ports/net/cvsupit. I
was directed on another list to run make -d A but unfortunately that's all
gobbledygook to me. Here are the last 20 lines:

/usr/ports/net/cvsupit/work/.extract_done.cvsupit-3.1:@ = 
/usr/ports/net/cvsupit/work/.extract_done.cvsupit-3.1
/usr/ports/net/cvsupit/work/.extract_done.cvsupit-3.1:* = 
/usr/ports/net/cvsupit/work/.extract_done.cvsupit-3.1
SuffFindDeps (fetch)
No known suffix on fetch. Using .NULL suffix
not adding suffix rules
fetch:@ = fetch
fetch:* = fetch
SuffFindDeps (pre-everything)
No known suffix on pre-everything. Using .NULL suffix
not adding suffix rules
pre-everything:@ = pre-everything
pre-everything:* = pre-everything
Examining pre-everything...non-existent...non-existent and no sources...out-of-date.
pre-everything:? =
pre-everything: =
true
This account is currently not available.
*** Error code 1

Stop in /usr/ports/net/cvsupit.


If that's not enough info and someone's willing to help, I can provide the
full output. I just thought the full output would be too long to post
here. I'm running FreeBSD 4.5 if that matters.

Thanks for any help!

Take care,
Mike Oliveri
[EMAIL PROTECTED]

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


Re: Details

2003-08-22 Thread CERT(R) Coordination Center
-BEGIN PGP SIGNED MESSAGE-

***

[NOTE -- THIS IS AN AUTOMATED RESPONSE]

Thank you for contacting the CERT(R) Coordination Center. We
appreciate your contacting us and consider your communications with us
to be very important. Because we focus our response efforts to have
the greatest impact on the Internet community, we may be unable to
provide you with a personal response to your message.

Please review the pointers contained in this message for information
which may be of immediate use to you.


  Section A - CERT/CC Current Activity

  Section B - Incident Reporting Information

  Section C - Vulnerability Reporting Information


If you need additional information from the CERT/CC, we encourage you
to begin by looking at our list of CERT/CC Frequently Asked Questions:

  http://www.cert.org/faq/cert_faq.html

==

Section A - CERT/CC Current Activity


  The CERT/CC Current Activity web page provides a summary list of the
  most frequent types of incident and vulnerability activity currently
  being reported to the CERT/CC.

  Please refer to this regularly updated page to obtain immediate
  assistance in response to frequently reported activity:

http://www.cert.org/current/current_activity.html

  In addition, the latest CERT/CC documents can be found at:

* CERT Advisories  - http://www.cert.org/advisories/
* CERT Incident Notes  - http://www.cert.org/incident_notes/
* CERT Vulnerability Notes - http://www.kb.cert.org/vuls/
* CERT Summaries   - http://www.cert.org/summaries/
* CERT Tech Tips   - http://www.cert.org/tech_tips/

* What's New   - http://www.cert.org/nav/whatsnew.html
* CERT/CC Web Site - http://www.cert.org/

  For pointers to information about computer viruses and hoaxes,
  please see:

* http://www.cert.org/other_sources/viruses.html

==

Section B - Incident Reporting Information


  We appreciate receiving incident reports because it helps us to
  gain a better understanding of ongoing intruder activities and
  attack profiles. From the information we receive, we are able to 
  identify and address critical security issues within the Internet
  community. Because we prioritize our response efforts to have the 
  greatest impact on the Internet community, we are not be able to 
  provide everyone with a personal response.

  For general information about reporting incidents to the CERT/CC, 
  please see our Incident Reporting Guidelines at:

http://www.cert.org/tech_tips/incident_reporting.html

  To report incidents to the CERT/CC, please send information about
  the incident in plain text format to [EMAIL PROTECTED] You may wish to
  use our Incident Reporting Form, located at:

http://www.cert.org/reporting/incident_form.txt

  The CERT/CC considers the following types of incidents to be
  emergencies:

  * possible life-threatening activity
  * attacks on the Internet infrastructure, such as:
- root name servers
- domain name servers
- major archive sites
- network access points (NAPs)
  * widespread automated attacks against Internet sites
  * new types of attacks or new vulnerabilities

  If you are reporting such an emergency outside our operational
  hours - business days between

08:00-17:00 EST/EDT (GMT-5/GMT-4)

  and require immediate assistance, then please call the CERT
  hotline:

+1 412 268 7090

  If you believe the intruder activity is a threat to people's
  lives or to the Internet infrastructure, please contact us
  immediately.
  
==

Section C - Vulnerability Reporting Information


  If you would like to report a new type of vulnerability or
  tool being used by the intruder community, we would be
  interested in any details that you may have. If you are able,
  please include any or all of source code, log files of
  execution, and descriptions of operating dependencies. Please
  feel free to submit these details in ASCII format files (where
  possible) of your own design, or if you prefer to use a form,
  please see the file:

http://www.cert.org/reporting/vulnerability_form.txt

  Please also encrypt the report using PGP if you are able to do
  so. Instructions are given at the top of the reporting form.

  Our vulnerability disclosure policy is available at 

http://www.kb.cert.org/vuls/html/disclosure


==

CERT(R) Coordination Center
Software Engineering Institute
Carnegie Mellon University
Pittsburgh, PA  USA  15213-3890

Internet e-mail:  [EMAIL PROTECTED] (monitored during business hours)

Telephone: +1-412-268-7090 24-hour hotline
CERT Coordination Center 

Can you help me find a small (old ?) FreeBSD release?

2003-08-22 Thread Dorin-Constantin Scutarasu
Hi,
My name is Dorin Scutarasu. I have an old computer (AMD 80486 DX2 @ 80MHz with 
16 MB of RAM) an I want to install FreeBSD on it in a 50 MB partition. 
 
Can you help me find a small release that includes all the basic UNIX command line 
utilities and a compiler maybe? The bin distribution should be about 7-10 MB packed. 
The smallest release I could find is  release 2.2.8 but it's too big so I need an 
older one. 
 
Thank you,
Dorin Scutarasu
 


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Copying an entire tree

2003-08-22 Thread Malcolm Kay
On Fri, 22 Aug 2003 08:35, Dan Strick wrote:
  No, I hadn't thought of using rsync for a purely local copy.  But now
  that I've tried it, add it to the list of utilities that lose the flags.
  (I'm particularly interested in preserving the schg and nodump flags.)
 
  So far, the only thing I know of that seems to do everything right
  is cvsup.  But it's really a bit cumbersome to set up for a one-time
  copy.

 I have another program that might be a bit cumbersome to set up for a
 one-time copy.  You would have to edit a Makefile to specify its
 installation directory and do make install.  Since the program is
 designed to maintain identical (i.e. with a carefully managed set of
 differences) branches of file systems on possibly large numbers of
 different machines, the command syntax can be a bit messy.  I routinely
 use a simple shell front-end to compare and copy file system branches
 on my machine(s).  This program may be overkill.  (Note: a command
 line flag is required to enable special file copies.)

 If you are desperate and have enough free space in the file system
 that is to contain the copy (which must not be the file system that
 contains the original), you could use dump/restore.  Since the version
 of dump that comes with FreeBSD only seems to be willing to dump only
 entire file systems, you have to copy the whole thing and delete
 the parts you don't like.  If the original and the copy have to be
 in the same file system or if you don't have enough free space there
 but you do have enough space somewhere else, you can make an intermediate
 copy and trim that one down before the final copy.

This should work without intermediate storage; just pipe from dump to restore; 
eg
# dump -0 -a -f -  filesystem | restore  -x -f -  selected-tree

Of course you need to be in the right place to get thr restore where you want 
it.

Dump/restore is also the only technique I've found to retain the holes in 
holey files.

Malcolm Kay

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


Re: Can you help me find a small (old ?) FreeBSD release?

2003-08-22 Thread Thomas Spreng
hi
On Fri, Aug 22, 2003 at 03:46:40AM -0700, Dorin-Constantin Scutarasu wrote:
 Hi,
 My name is Dorin Scutarasu. I have an old computer (AMD 80486 DX2 @ 80MHz with 
 16 MB of RAM) an I want to install FreeBSD on it in a 50 MB partition. 
  
 Can you help me find a small release that includes all the basic UNIX command line 
 utilities and a compiler maybe? The bin distribution should be about 7-10 MB packed. 
 The smallest release I could find is  release 2.2.8 but it's too big so I need an 
 older one. 

take a look at http://m0n0.ch/

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


Re: cvsup problems

2003-08-22 Thread Bsd Neophyte

--- Kris Kennaway [EMAIL PROTECTED] wrote:
 On Thu, Aug 21, 2003 at 05:09:42PM -0700, Bsd Neophyte wrote:
 
  I get different error messages.  Here's some output of what's going on
 now
  (the first error is VERY common):
 
 This is a network problem.  Either the cvsup server, or something
 between your system and the cvsup server is causing the connection to
 be terminated.
 
 Kris
 
 ATTACHMENT part 2 application/pgp-signature 

hmmm... to answer the other message, i've tried serveral servers, but they
all give the same error.

maybe i should take a look at adelphia and see what they have to say...
what say you?




__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Problems

2003-08-22 Thread Ben Dover
Does anyone know what this command, route delete default, did?  After using 
it the box reboots but will not go online so I can log in remotely as this 
is not an on premise box.  I need to tell the tech's what I need done in 
order to repair it.  Any suggestions would be appreciated.


From: Nils Vogels [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: IP Problems
Date: Fri, 22 Aug 2003 01:20:12 +0200
On Thu, Aug 21, 2003 at 07:00:32PM -0400, Ben Dover (BD) wrote:
BD   OK, this is difficult to explain and my problem is probably bigger 
than
BD what I have found but here goes.  I have a dedicated 5.1 FreeBSD box 
and
BD when I did a dmesg I received a repeating message as follows:
BD arplookup 66.246.xx.1 failed: host is not on local network

I've had the same message multiple times when my default route would be 
equal
to the IP number of an interface of the box on a 4.8-REL box.

For instance:

Interface xl0 has IP address 192.168.2.2/24 configured on it locally
Interface rl0 has IP address 10.0.5.1/24 configured on it locally
The default route of the box is set to 192.168.2.2

This would cause a loop displaying the exact error message on the console, 
and
the box would become dead slow.

This for me was solved by simply typing:

route delete default

HTH  HAND

--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and
dance like no one can see you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
HERE IS THE ORIGINAL POSTING

  OK, this is difficult to explain and my problem is probably bigger than 
what I have found but here goes.  I have a dedicated 5.1 FreeBSD box and 
when I did a dmesg I received a repeating message as follows:
arplookup 66.246.xx.1 failed: host is not on local network
 This peaked my curiosity so I pinged the bank of IP's I have in the range 
of that IP and I was able to ping them with a response.
 Something quick I can do to test to see if the IP will bind is compile an 
IRC bouncer.  I found the bouncer would not bind to the IP 66.246.xx.185 as 
a normal account user and the bouncer would not function.  If I SU to root 
and start the bouncer the IP would bind and the bouncer would function 
correctly.  It should be noted that the bouncer was compiled as the normal 
account user.
 I have two different sets of IP's on my box and I have added them in the 
rc.conf in the following way:
ifconfig_sis0_alias10=inet 209.123.xx.200 netmask 255.255.255.255
ifconfig_sis0_alias11=inet 66.246.xx.185 netmask 255.255.255.255
 Do I have the IP's added wrong in rc.conf?  What am I doing wrong? Why do 
I receive the dmesg which appears to be an error?  Any assistance would be 
appreciated.

_
MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup and restore advise sought

2003-08-22 Thread Doug Poland
On Fri, Aug 22, 2003 at 09:57:35AM +0100, Matthew Seaman wrote:
  1.  I'm concerned that the FBSD partition names will change.  i.e., /
  was ad0s3a may now become ad1s3a and so on.
 
 Yes, this will happen, but not in the way you've shown: ad0s3a is
 the first partition (a) on the 3rd slice (s3) of the primary master
 disk (ad0).  ad1s3a is on the primary slave drive (ad1).  What you
 should probably see is the current partitions are
 
ad0s1a, ad0s1b, etc.
 
 And when you swap your FreeBSD and Windows slices, that should
 change to:
 
ad0s2a, ad0s2b, etc.
 
 I recommend that when you copy the partitions, edit the /etc/fstab
 file and put in the new device names before you copy.  Preferably
 restore the original fstab, and test that you can reboot using the
 new slices before you install WinME over the original FreeBSD slice.
  
Thank you.  I'm hoping this will be faster than reinstall and I'll
learn something to boot!

  4.  Is there a better way?  I remember reading about an OpenBSD
  ghost for Unix.  
 
 As far as I know, all of the Unix ghost programs are essentially
 scripts build around dump and restore.
 
While eagerly awaiting your response, I did some more googling on unix
ghost programs.  NetBSD has a floppy-based program called g4u that
appears to use dd then sends compressed image to network ftp server.
I might use that as a back-up in case anything goes wrong with plan A.
Thanks again for you help.

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


Problem with fxp0: MII without any PHY

2003-08-22 Thread Daniel Eggert
Hi,

I'm having problems with my Intel Pro/100 onboard LAN (fxp(4) driver). It
used to work just fine, but after I installed two rl(4) based NICs it
stopped working, even after I removed the other NICs. I get this in dmesg:

# dmesg | grep fxp
fxp0: Intel Pro/100 Ethernet port 0x78c0-0x78ff mem
0xfebff000-0xfebf irq 10 at device 8.0 on pci1
fxp0: Ethernet address 00:06:29:5b:c8:79
fxp0: MII without any PHY!
device_probe_and_attach: fxp0 attach returned 6

Is this a problem with the driver? Or is it some hardware problem?

I don't know enough about the ethernet NIC driver structure (fxp / mii /
phy) to understand exactly what's wrong.

Thanks in advance for any input,
Daniel




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


MozillaFirebird and Java

2003-08-22 Thread Philip Payne
Hi,

I thought I would've been the millionth person to ask this but I had a look
in the archives and couldn't find anything so feel free to tell me to RTF
relevant article.

Can someone help me setup Java  MozillaFirebird? I've installed both
MozillaFirebird and JDK14 from ports but on java enabled pages mozilla still
doesn't use it. Get nag about needing application/x-java-vm.

I don't see anything in the options that allows me to specify the exact path
to Java. Wild guess, do I need to symbolic link the default Mozilla java
location to /usr/local/jdk1.4.1/jre/bin/java? or is there something else?

Help.

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


Clamav port not compiling properly

2003-08-22 Thread G D McKee
Hi

When I have tried to install the port /usr/ports/security/clamav I get the
following error:

cc -O -pipe -march=pentium -o .libs/clamdscan options.o clamdscan.o client.o
../clamscan/getopt.o ../clamscan/others.o
./clamd/cfgfile.o  -L/usr/ports/security/clamav/work/clamav-0.60/libclamav
/usr/ports/security/clamav/work/clamav-0.60/libclamav/.libs/libclamav.so -lz
 -lbz2 -lc_r -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using
mkstemp()
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using
mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is not
recommended.
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using
mkstemp()
creating clamdscan
gmake[1]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.60/clamdscan'
Making all in clamav-milter
gmake[1]: Entering directory
`/usr/ports/security/clamav/work/clamav-0.60/clamav-milter'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.60/clamav-milter'
Making all in etc
gmake[1]: Entering directory
`/usr/ports/security/clamav/work/clamav-0.60/etc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.60/etc'
gmake[1]: Entering directory `/usr/ports/security/clamav/work/clamav-0.60'
gmake[1]: Nothing to be done for `all-am'.
gmake[1]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.60'
kursk#

Have you got any ideas?  If I do a locate setket I get:

kursk# locate setkey
/usr/sbin/setkey
/usr/share/man/cat3/des_setkey.3.gz
/usr/share/man/cat3/setkey.3.gz
/usr/share/man/cat8/setkey.8.gz
/usr/share/man/man3/des_setkey.3.gz
/usr/share/man/man3/setkey.3.gz
/usr/share/man/man8/setkey.8.gz
kursk#

So it looks like it is installed.

I am running the following version of FreeBSD

kursk# uname -a
FreeBSD kursk.gdmckee.home 4.8-STABLE FreeBSD 4.8-STABLE #11: Fri Apr  4
14:57:05 BST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GDMCKEE
i386
kursk#

Thanks in advance

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


Re: MozillaFirebird and Java

2003-08-22 Thread Matthew Seaman
On Fri, Aug 22, 2003 at 01:59:29PM +0100, Philip Payne wrote:

 I thought I would've been the millionth person to ask this but I had a look
 in the archives and couldn't find anything so feel free to tell me to RTF
 relevant article.
 
 Can someone help me setup Java  MozillaFirebird? I've installed both
 MozillaFirebird and JDK14 from ports but on java enabled pages mozilla still
 doesn't use it. Get nag about needing application/x-java-vm.
 
 I don't see anything in the options that allows me to specify the exact path
 to Java. Wild guess, do I need to symbolic link the default Mozilla java
 location to /usr/local/jdk1.4.1/jre/bin/java? or is there something else?

What you need is the java plugin -- it's a loadable object that adds
java capabilities to Netscape, Mozilla and (I think) Mozilla derived
browsers like Firebird.

The plugin is a standard part of the JDK, except that the FreeBSD
build of the plugin is disabled for JDK14 -- no one has committed
patches to the code to allow it to build correctly on FreeBSD.

To make this work, either install JDK13 (which will sit quite happily
alongside JDK14), or go for one of the Linux versions of JDK14 and
install a linux version of Firebird.

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: MozillaFirebird and Java

2003-08-22 Thread Joey Mingrone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I sitll only have 1.3.1, but do you have a similar link in your 
browser_plugins directory?

/usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so - 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so

Joey

On August 22, 2003 09:59, Philip Payne wrote:
 Hi,

 I thought I would've been the millionth person to ask this but I had a look
 in the archives and couldn't find anything so feel free to tell me to RTF
 relevant article.

 Can someone help me setup Java  MozillaFirebird? I've installed both
 MozillaFirebird and JDK14 from ports but on java enabled pages mozilla
 still doesn't use it. Get nag about needing application/x-java-vm.

 I don't see anything in the options that allows me to specify the exact
 path to Java. Wild guess, do I need to symbolic link the default Mozilla
 java location to /usr/local/jdk1.4.1/jre/bin/java? or is there something
 else?

 Help.

 Much appreciated,
 Phil.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/Rhm+0NQPEWppBZsRAqYyAKCuHgM0blLLTozPEg270dFbOaKqVQCg3lyW
E7cf4lrggEHwv2XCm5FRXL0=
=8tVM
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MozillaFirebird and Java

2003-08-22 Thread Armand Passelac

I have exactly the same problem :
I have installed the JDK of SUN (v 1.3.1) for my OpenOffice.
I have the following link for  Mozilla :

/usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so@ - 
/usr/local/linux-sun-jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so

But it doesn't work.


[ On Fri, 22 Aug, 2003 at 10:25, Joey Mingrone wrote: ]
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I sitll only have 1.3.1, but do you have a similar link in your 
 browser_plugins directory?
 
 /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so - 
 /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
 
 Joey
 
 On August 22, 2003 09:59, Philip Payne wrote:
  Hi,
 
  I thought I would've been the millionth person to ask this but I had a look
  in the archives and couldn't find anything so feel free to tell me to RTF
  relevant article.
 
  Can someone help me setup Java  MozillaFirebird? I've installed both
  MozillaFirebird and JDK14 from ports but on java enabled pages mozilla
  still doesn't use it. Get nag about needing application/x-java-vm.
 
  I don't see anything in the options that allows me to specify the exact
  path to Java. Wild guess, do I need to symbolic link the default Mozilla
  java location to /usr/local/jdk1.4.1/jre/bin/java? or is there something
  else?
 
  Help.
 
  Much appreciated,
  Phil.
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.2 (FreeBSD)
 
 iD8DBQE/Rhm+0NQPEWppBZsRAqYyAKCuHgM0blLLTozPEg270dFbOaKqVQCg3lyW
 E7cf4lrggEHwv2XCm5FRXL0=
 =8tVM
 -END PGP SIGNATURE-
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
[ End of original mail from Joey Mingrone ]

-- 
No guts No glory

=] PASSELAC Armand [=
 (  @ @ )   
Ingenieur Systemes-Reseaux  Securite
ORBYTES INGENIERIE
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: MozillaFirebird and Java

2003-08-22 Thread Philip Payne
 On Fri, Aug 22, 2003 at 01:59:29PM +0100, Philip Payne wrote:
 
  I thought I would've been the millionth person to ask this 
 but I had a look
  in the archives and couldn't find anything so feel free to 
 tell me to RTF
  relevant article.
  
  Can someone help me setup Java  MozillaFirebird? I've 
 installed both
  MozillaFirebird and JDK14 from ports but on java enabled 
 pages mozilla still
  doesn't use it. Get nag about needing application/x-java-vm.
  
  I don't see anything in the options that allows me to 
 specify the exact path
  to Java. Wild guess, do I need to symbolic link the default 
 Mozilla java
  location to /usr/local/jdk1.4.1/jre/bin/java? or is there 
 something else?
 
 What you need is the java plugin -- it's a loadable object that adds
 java capabilities to Netscape, Mozilla and (I think) Mozilla derived
 browsers like Firebird.
 
 The plugin is a standard part of the JDK, except that the FreeBSD
 build of the plugin is disabled for JDK14 -- no one has committed
 patches to the code to allow it to build correctly on FreeBSD.
 
 To make this work, either install JDK13 (which will sit quite happily
 alongside JDK14), or go for one of the Linux versions of JDK14 and
 install a linux version of Firebird.

Thanks... makes sense. I'll install JDK13.

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


Re: mod_perl 1.28 with apache 1.3.28 questions

2003-08-22 Thread paul beard
KONDOU, Kazuhiro wrote:
do you want to make mod_perl with Perl 5.[68] on  5.x system?
you must rewrite PERL5/PERL5/PERL_VERSION/PERL_VER in
/usr/ports/Mk/bsd.port.mk and rebuild mod_perl with portupgrade -f.
 /usr/ports/Mk/bsd.port.mk  doesn't look like anything I want to 
mess with: it reads like it has the No User Serviceable Parts 
Inside label.

if you execute cvsup/cvsync. these programs discards your changes.
if you want to save your changes in bsd.port.mk, i recommend to
use 'cvs up' from anonymous CVS repo. to sync ports tree.
more easy way, use 5.x system. :)
Well, I'm not ready for that yet. This is a production system for 
me, and I'm not tackling the 5.x learning curve just yet.

People have been running mod_perl on 4.x systems, so there must be 
a way.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Keep emotionally active.  Cater to your favorite neurosis.

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


nVidia nForce2 chipset and on-board ethernet

2003-08-22 Thread John DeStefano
Over the past few months, there have been a handful of posts on
freebsd-net regarding the lack of support in FreeBSD for on-board
ethernet interfaces using the nVidia nForce2 chipset.  I have currently
a network-impared machine with an Asus A7N8X motherboard, which uses
this chipset, with FBSD 5.1-RELEASE installed.  

In one exchange on freebsd-net, Mr. Bill Paul requested information
from other users (which I was glad to provide) that he could pool
together in order to justify a demand for related drivers.  He
indicated that the response was great, but I've not since noticed any
further report of results and was wondering if it had gotten anywhere
(http://lists.freebsd.org/pipermail/freebsd-net/2003-July/001016.html)
.  I've posted my question on freebsd-net without gaining a response.

Asus support is basically useless when it comes to BSD, and nVidia
offers FreeBSD drivers only for graphic chipsets, although they _do_
offer a unified driver for Linux.  I wonder if anyone has acheived
any success with this unified driver, either in porting it or with
Linux emulation.

I'd love to get this box on the network and on the 'Net with FreeBSD,
without adding another NIC interface, which would affect the other OSes
I have multi-booting on this particular box (and which support this
interface without trouble).  Any updates on drivers, patches, or
work-arounds would be most welcome.

Thanks,
~John


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


logitech usb camera driver and setup howto

2003-08-22 Thread jens
Hey folks, 
New to freebsd and it's architecture, i would like to know if there is any 
howto ( rtfm) for setting up a logitech webcam. Apparently the device has 
been recognized as ugen0. 

I just need a link or a howto. I will the rest. I did not find any clear howto 
and i suppose i am missing something crucial. 



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


Re: How create /dev/apm* ???

2003-08-22 Thread Eric
This is better suited towards freebsd-questions, so I'm going to copy this
to that list.

It is my understanding that ACPI depreciates APM, and that APM was mainly
used in the 4.x branch. If anyone is the wiser, please correct me.

--
Eric

- Original Message - 
From: Armand Passelac [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 9:10 AM
Subject: How create /dev/apm* ???



 Hi,
 I have installed a FreeBSD 5.1 on my Laptop (Compaq Armada E500).
 I have a problem with the power management :

 - I can't use the ACPI module : the kernel can't be loaded.
 OK no problem !
 As I saw within many FAQs, it's normal (it depends on the type of the
laptop).

 - I would like to use APM so !
 I realize the following stages (see
http://freebsd.unixtech.be/doc/en_US.ISO8859-1/articles/laptop/x61.html) :

 * I build my kernel with device apm

 * /boot/device.hints :
 hint.acpi.0.disabled=1
 #hw.acpi.ec.event_driven=1
 hint.apm.0.disabled=0
 hint.apm.0.flags=0x20

 * /boot/loader.conf :
 apm_load=YES

 * /etc/rc.conf
 apm_enable=YES


 But during the boot I get an error : can't open /dev/apm

 Indeed, there is no device with apm* name within /dev

 How can I create this device (In the freebsd-questions list somebody tails
me that's not possible with 5.X there is no possibility to use a kind of
makedev).


 Thanks a lot.


 -- 
 No guts No glory

 =] PASSELAC Armand [=
  (  @ @ )
 Ingenieur Systemes-Reseaux  Securite
 ORBYTES INGENIERIE
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 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: logitech usb camera driver and setup howto

2003-08-22 Thread Technical Director

jens,

As far as I know there is no current running application or device driver
for the USB Camera from Logitech. They (Logitech) have not been
forthcoming with their support for other operating systems then the
usual. The SDK's are for Win32 systems and don't really help too much
besides give you some possible ioctl() calls... ugen# is the generic
device driver for USB and picks up the wording Logitech Camera from the
device using general USB commands.

I also believe that the traditional Linux stuff runs on FreeBSD in this
case does not apply, at least for me... 

I am working on a driver but have been very frustrated with the lack of
Logitech's support and information crucial to interfacing with this
device.

If someone has already cut code or is willing to work with me or me with
them please let me know.

R.

On Fri, 22 Aug 2003, jens wrote:

 Hey folks, 
 New to freebsd and it's architecture, i would like to know if there is any 
 howto ( rtfm) for setting up a logitech webcam. Apparently the device has 
 been recognized as ugen0. 
 
 I just need a link or a howto. I will the rest. I did not find any clear howto 
 and i suppose i am missing something crucial. 
 
 
 
 ___
 [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: How create /dev/apm* ???

2003-08-22 Thread Armand Passelac

[ On Fri, 22 Aug, 2003 at  9:22, Eric wrote: ]
 This is better suited towards freebsd-questions, so I'm going to copy this
 to that list.

In freebsd-questions or freebsd-current ???
As somebody point the mistake out to me : I'm working on 5.1 which is the current. So 
I have just posted this question in freebsd-current.
That's good or not ?


 
 It is my understanding that ACPI depreciates APM, and that APM was mainly
 used in the 4.x branch. If anyone is the wiser, please correct me.

I'm newcomer on freebsd (before I work several years on Linux).
I have no personal preference between ACPI and APM.
ACPI is more recent and more powerfull than APM.
But with some kind of BIOS the ACPI using, it seems to be impossible.
So I try to use APM.
APM seems to be usable on FreeBSD 5.X.
The HandBook explains how to use it. But I have always  a problem.



 
 --
 Eric
 
 - Original Message - 
 From: Armand Passelac [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, August 22, 2003 9:10 AM
 Subject: How create /dev/apm* ???
 
 
 
  Hi,
  I have installed a FreeBSD 5.1 on my Laptop (Compaq Armada E500).
  I have a problem with the power management :
 
  - I can't use the ACPI module : the kernel can't be loaded.
  OK no problem !
  As I saw within many FAQs, it's normal (it depends on the type of the
 laptop).
 
  - I would like to use APM so !
  I realize the following stages (see
 http://freebsd.unixtech.be/doc/en_US.ISO8859-1/articles/laptop/x61.html) :
 
  * I build my kernel with device apm
 
  * /boot/device.hints :
  hint.acpi.0.disabled=1
  #hw.acpi.ec.event_driven=1
  hint.apm.0.disabled=0
  hint.apm.0.flags=0x20
 
  * /boot/loader.conf :
  apm_load=YES
 
  * /etc/rc.conf
  apm_enable=YES
 
 
  But during the boot I get an error : can't open /dev/apm
 
  Indeed, there is no device with apm* name within /dev
 
  How can I create this device (In the freebsd-questions list somebody tails
 me that's not possible with 5.X there is no possibility to use a kind of
 makedev).
 
 
  Thanks a lot.
 
 
  -- 
  No guts No glory
 
  =] PASSELAC Armand [=
   (  @ @ )
  Ingenieur Systemes-Reseaux  Securite
  ORBYTES INGENIERIE
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
[ End of original mail from Eric ]

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


Embedded epiphany

2003-08-22 Thread mbaki
Hi all,

I have 2 servers runnig freebsd 4.8, however the other server is running
freebsd on a  256MB flashcard. I installed epiphany from ports on the first
server, and I need to know how can I copy all the necessary files over to the
flashcard. I used ldd epiphany-bin to get all required libraries, but it
seems i'm missing more files. I'm running wmaker.


These are the error when I run epiphany

(epiphany-bin:1989): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 729
(gdk_pix
f_new_from_file): assertion `filename != NULL' failed

(epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 1510
(gtk_icon_se
new_from_pixbuf): assertion `pixbuf != NULL' failed

(epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 192
(gtk_icon_fac
ry_add): assertion `icon_set != NULL' failed

(epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 1551
(gtk_icon_se
unref): assertion `icon_set != NULL' failed

(epiphany-bin:1989): GLib-GObject-CRITICAL **: file gobject.c: line 1337
(g_object_
ref): assertion `G_IS_OBJECT (object)' failed

(epiphany-bin:1989): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 729
(gdk_pix
f_new_from_file): assertion `filename != NULL' failed

(epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 1510
(gtk_icon_se
new_from_pixbuf): assertion `pixbuf != NULL' failed

(epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 192
(gtk_icon_fac
ry_add): assertion `icon_set != NULL' failed

(epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 1551
(gtk_icon_se
unref): assertion `icon_set != NULL' failed

(epiphany-bin:1989): GLib-GObject-CRITICAL **: file gobject.c: line 1337
(g_object_
ref): assertion `G_IS_OBJECT (object)' failed

** (epiphany-bin:1989): WARNING **: Could not get the chrome registry!


(epiphany-bin:1989): Gtk-CRITICAL **: file gtktypeutils.c: line 42
(gtk_type_unique
 assertion `GTK_TYPE_IS_OBJECT (parent_type)' failed

(epiphany-bin:1989): Gtk-CRITICAL **: file gtktypeutils.c: line 99
(gtk_type_new): 
sertion `GTK_TYPE_IS_OBJECT (type)' failed

** (epiphany-bin:1989): WARNING **: Failed to get singleton embed object!


(epiphany-bin:1989): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(epiphany-bin:1989): GLib-GObject-CRITICAL **: file gsignal.c: line 1861
(g_signal_
nnect_data): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

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


RE: MozillaFirebird and Java

2003-08-22 Thread Philip Payne
 On Fri, Aug 22, 2003 at 01:59:29PM +0100, Philip Payne wrote:
 
 What you need is the java plugin -- it's a loadable object that adds
 java capabilities to Netscape, Mozilla and (I think) Mozilla derived
 browsers like Firebird.
 
 The plugin is a standard part of the JDK, except that the FreeBSD
 build of the plugin is disabled for JDK14 -- no one has committed
 patches to the code to allow it to build correctly on FreeBSD.
 
 To make this work, either install JDK13 (which will sit quite happily
 alongside JDK14), or go for one of the Linux versions of JDK14 and
 install a linux version of Firebird.

Just FYI to the list. I can confirm installing JDK13 instead of JDK14 allows
MozillaFirebird to use java.

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


Samba 2.2.8 vs 2.2.8a on 4.8 Release

2003-08-22 Thread RA Cohen
Hi all,

In the process of debugging my SAMBA installation, I discovered
I've compiled SAMBA v 2.2.8a on my 4.8 RELEASE box. The 2.2.8a
is listed in the ports collection as being for 4.8 STABLE, 
while 2.2.8 is for RELEASE. Should I uninstall and make the
2.2.8 or just leave things as they are?

[I know I should upgrade to STABLE but that has to wait a bit]

Thanks,
Roy


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't build kernel with 4GB of memory (MAXDSIZE)

2003-08-22 Thread Lowell Gilbert
Mike Hunter [EMAIL PROTECTED] writes:

 I can't seem to get a new kernel working with increased memory parameters:
 
 I tried adding the following to my KERNCONF:
 
 options MAXDSIZ=(4096UL*1024*1024)
 options DFLDSIZ=(2048UL*1024*1024)
 
 On 5-current (as of about 6 months ago) this produced an ungraceful
 init.conf bomb-out.
 
 I tried again yesterday with a 4.8 box 
 
 uname -a
 FreeBSD mynewserver.net.berkeley.edu 4.8-RELEASE-p3 FreeBSD
 4.8-RELEASE-p3 #1: Tue Aug 19 14:24:09 GMT 2003
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/raeu  i386
 
 (cvsup'd some time after August 11)
 
 It gave me a similar but slightly more graceful bomb-out I'm not going 
 anywhere without my init!\n\nRebooting in 15 seconds)
 
 So, I think I'm missing something here :)  The machine in question has 4GB
 of ram, and I'd like to be able to use all of it for some nasty
 number-crunching I'm trying to do.  Any suggestions?

I'm sorry, but you need to leave some space for the kernel and its
data structures.
I'm not sure how close to the edge you can tune it, but much beyond
3GB or so will probably need some real hacker knowledge...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changed root alias/unusual system events

2003-08-22 Thread Lowell Gilbert
Redmond Militante [EMAIL PROTECTED] writes:

 hi all
 
 i have a general question, probably no big deal.  a while ago, i edited /etc/aliases 
 and did 'new aliases', so that root's email account now points to one of my email 
 accounts - i have logcheck set up as a cron job every fifteen minutes to notify me 
 of unusual system events.
 
 ever since this happened, the great majority of emails to root have looked like
 
 --
 Subject: my.hostname.com 08/19/03:14.00 system check
 X-UIDL: 4%\!![P/!lU=!!4=N!!
 
 
 Unusual System Events
 =-=-=-=-=-=-=-=-=-=-=
 Aug 19 13:45:01 chronicle sm-mta[28345]: h7JIj1ZT028345:
 +from=[EMAIL PROTECTED], size=1061, class=0, nrcpts=1,
 +msgid=[EMAIL PROTECTED], proto=ESMTP,
 +daemon=Daemon0, relay=localhost [127.0.0.1]
 Aug 19 13:45:01 chronicle sm-mta[28346]: h7JIj1ZT028345: [EMAIL PROTECTED],
 +ctladdr=[EMAIL PROTECTED] (0/0), delay=00:00:00, xdelay=00:00:00,
 +mailer=esmtp, pri=31400, relay=relay.my.mailserver [111.222.333.444], dsn=2.0.0,
 +stat=Sent (Mail accepted)
 
 --
 
 can someone  interpret this message for me?  i'm guessing that it's telling me that 
 it just forwarded root's mail to my regular email account, which would be normal 
 behavior, but i'm not sure...

That's sure what it looks like.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cvsup script question

2003-08-22 Thread Lowell Gilbert
Charles Howse [EMAIL PROTECTED] writes:

 Hi,
 I'm cvsup'ing from a script in /usr/local/etc/periodic/daily.
 Here 'tis:
 
 #!/usr/local/bin/bash
 Echo
 Echo Output of cvsup:
 /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile
 Echo
 Echo Output of portsdb:
 /usr/local/sbin/portsdb -Uu
 Echo
 Echo Output of portversion:
 /usr/local/sbin/portversion
 
 It works, but (1) produces a ton of output, (2) I'm seeing a lot of
 lines in the output of portsdb that say, (some port) non-existent,
 dependency list incomplete.
 
 Are those lines in the output of portsdb coming from STDOUT or STDERR,
 or are they completely normal?
 
 How about we alter the script as follows to keep the output down a
 little?
 
 #!/usr/local/bin/bash
 /usr/local/bin/cvsup -g -L 0 /etc/cvsupfile # Keep quiet except for
 errors
 /usr/local/sbin/portsdb -Uu  /dev/null # Hopefully, show only
 errors
 Echo
 Echo Updated ports:
 /usr/local/sbin/portversion | grep   # Show only changed ports
 
 Will these changes break anything?

No.  If in doubt, redirect to files instead of to /dev/null.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: about using dd command to copy hard drives

2003-08-22 Thread Jerry McAllister
 
 I'm using freebsd 5.0 Jan 2003 series
 
 I know that dd is good at copying block devices when they
 are at identical sizes. But if they're different sizes will it
 copy correctly?

If you are copying to a bigger disk you can make it work.  But, for
what you seem to want to do, it is not the best way.

 I want to copy my entire freebsd hard disk  which is 6 GB
 to a new hard disk at 20 GB.
 
 I read the man pages but still can't understand it.  I'm only a user
 not a programmer nor sys admin. If you have any comments or
 suggestions, I would surely appreciate it.

First of all, you are right.  The man page entries are not helpful,
especially the one for fdisk.  It doesn't even document all of its
switches and parameters!!   You have to get some of that by reading
the examples in the disklabel man page and guessing.   But, it is
eventually possible to do it.   

Two things you didn't mention are if the old 6 GB disk is you system/boot 
disk or not and how the old disk is divided in to partitions or if it
is just one big filesystem.   Also, does the new disk need to become
the boot disk?

NOTE:  You can do the fdisk/disklabel/newfs stuff via /stand/sysinstall
   and it works pretty well and painlessly, especially if you intend 
   to use the whole disk for FreeBSD.  But then you wouldn't have
   the thrill of learning to use fdisk/disklabel/newfs and really
   they work very well.  The documentation is just garbled.

What you want to do is fdisk to create one slice on the whole disk,
partition with disklabel, newfs in each partition (except swap) and
then use dump/restore to copy the filesystems from the old to the
new disk.   At this point you could change

Lets say for example you are doing this to a
  - SCSI disk and that 
  - it is the second disk (da1) and you intend to 
  - move it in to the first position after you are done and boot from it.  
  - Finally, assume that you intend to have partitions 
  for root, swap, /tmp and /home.   
You may have filesystems divided up differently, but the process is exactly
the same - just with different numbers and names. 


fdisk -BI -v -b /boot/mbr da1/makes one large FreeBSD slice/

disklabel -r -e -B -b /boot/boot1 -s /boot/boot2 da1s1

  Edit the disklabel so it looks something like:
Adjust sizes to suit you.  Leave all the header stuff as is. 
Don't worry about fsize bsize, etc

  8 partitions:
  #size   offsetfstype  [fsize bsize bps/cpg]
a:  104857604.2BSD   1024  8192  22  # (Cyl.0 - 65*)
b:  2097152*swap
c:*0unused  0 0  # (Cyl.0 - 2212*)
e:  1048576*4.2BSD   
f:**4.2BSD   

This gives a 512 MG root, 1GB swap, 512 /tmp and all the rest to /home

newfs -b 8192 -f 1024 /dev/da1s1a( /  (root) partition )

newfs -b 8192 -f 1024 /dev/da1s1e( /tmp partition )

newfs -b 16384 -f 2048 -i 2048 /dev/da1s1f   ( /home partition )

  Fix up your /etc/fstab to add the following
  # Disk da1
  /dev/da1s1a /newroot  ufs rw  2   2
  /dev/da1s1f /newhome  ufs rw  2   2

fsck the new filesystems (just to be thorough)

  fsck -f /newroot
  fsck -f /newhome

Mount the new files systems

  mount /newroot
  mount /newhome

Now do the dump and restore to copy the file systems.
Again, this presumes you have this current disk structure - eg essentially
a root and home directory.   (/tmp and swap) don't have to be moved)
If you have more partitions/filesystems you will have to adjust the
disklabel edit, add appropriate newfs-s, add more fstab entries and
do the additional dump/restores.

  cd /newroot
  dump -0f - / | restore -xf -
  This will take a while
  cd /newhome
  dump -0f - /home | restore -xf -
  This may take even longer

Make sure the /etc/fstab on the new disk is right, do:
  vi /newroot/etc/fstab
It needs to have mounts for:

  # Disk da0
  /dev/da0s1a /  ufs rw  1   1
  /dev/da0s1b none   swapsw  0   0
  /dev/da0s1e /tmp   ufs rw  2   2
  /dev/da0s1f /home  ufs rw,userquota2   2

  # Disk da1
  # /dev/da1s1a /newroot  ufs rw  2   2
  # /dev/da1s1f /newhome  ufs rw  2   2

Comment out or delete the lines added for /newhome and /newroot

When it is all done, shut down, switch the drives and reboot.

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

___
[EMAIL PROTECTED] mailing list

Re: mbuf clusters exhausted

2003-08-22 Thread Lowell Gilbert
Andreas Widerøe Andersen [EMAIL PROTECTED] writes:

 What can I do to get rid of these problems?

I think you need to pay attention to the messages:

 All mbuf clusters exhausted, please see tuning(7).

You are hitting very large network buffer usage at some point during
the day -- much larger than your average use.  You need to allocate
more mbufs or figure out why you need so many resources at once.
Or, preferably, both.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba 2.2.8 vs 2.2.8a on 4.8 Release

2003-08-22 Thread Matthew Seaman
On Fri, Aug 22, 2003 at 08:24:51AM -0700, RA Cohen wrote:
 Hi all,
 
 In the process of debugging my SAMBA installation, I discovered
 I've compiled SAMBA v 2.2.8a on my 4.8 RELEASE box. The 2.2.8a
 is listed in the ports collection as being for 4.8 STABLE, 
 while 2.2.8 is for RELEASE. Should I uninstall and make the
 2.2.8 or just leave things as they are?
 
 [I know I should upgrade to STABLE but that has to wait a bit]

The ports collection and the base system aren't that closely tied.
Ports getupdated as and when their authors release new versions and
their maintainers update the port to include that new code.  The
RELENG_x_y tags in the ports CVS tree just mark the state of the tree
at the time the release was made -- hence, they show exactly what
versions of ported or packaged code went onto disks 3 and 4 or the
release set.  To reiterate: the RELENG_x_y tags don't indicate the
version that you *should* run on a particular release, just the
version that was *available* at the time the release was made.  If an
update to the port has become available since the OS release, then you
can certainly upgrade to it, and in many cases you clearly should
upgrade as it may fix security or other bugs.

Ports are intended to compile and work on any supported version of the
OS (at the moment 4.7-RELEASE, 4.8-RELEASE, 4.8-STABLE, 5.1-RELEASE,
5-CURRENT, although a few ports won't work on all those versions for
various reasons) Ports will quite often compile/work on just about any
version of the OS.

Similarly the packages built from ports should work on any version
with a compatible set of shared libraries, although all things being
equal, the packages tend to work best on the suported OS versions.
Hence packages built for 4-STABLE should work on any 4.x version since
about 4.4-RELEASE, and packages built for recent 5.x should work on
any 5-CURRENT or 5.x-RELEASE -- 5-CURRENT is a far more elusive target
than 4.x at the moment, due to some fairly large scale ongoing work,
and portability isn't necessarily up to the usual high standard.

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: Embedded epiphany

2003-08-22 Thread Joe Marcus Clarke
On Fri, 2003-08-22 at 10:39, [EMAIL PROTECTED] wrote:
 Hi all,
 
 I have 2 servers runnig freebsd 4.8, however the other server is running
 freebsd on a  256MB flashcard. I installed epiphany from ports on the first
 server, and I need to know how can I copy all the necessary files over to the
 flashcard. I used ldd epiphany-bin to get all required libraries, but it
 seems i'm missing more files. I'm running wmaker.

Do a make package-depends for epiphany, then make packages for all the
dependencies, and install them on your FlashCard.  Optionally, you can
go through all the pkg-plist's of the dependencies, and copy all the
files by hand.  There are too many to list here.

Joe

 
 
 These are the error when I run epiphany
 
 (epiphany-bin:1989): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 729
 (gdk_pix
 f_new_from_file): assertion `filename != NULL' failed
 
 (epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 1510
 (gtk_icon_se
 new_from_pixbuf): assertion `pixbuf != NULL' failed
 
 (epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 192
 (gtk_icon_fac
 ry_add): assertion `icon_set != NULL' failed
 
 (epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 1551
 (gtk_icon_se
 unref): assertion `icon_set != NULL' failed
 
 (epiphany-bin:1989): GLib-GObject-CRITICAL **: file gobject.c: line 1337
 (g_object_
 ref): assertion `G_IS_OBJECT (object)' failed
 
 (epiphany-bin:1989): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 729
 (gdk_pix
 f_new_from_file): assertion `filename != NULL' failed
 
 (epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 1510
 (gtk_icon_se
 new_from_pixbuf): assertion `pixbuf != NULL' failed
 
 (epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 192
 (gtk_icon_fac
 ry_add): assertion `icon_set != NULL' failed
 
 (epiphany-bin:1989): Gtk-CRITICAL **: file gtkiconfactory.c: line 1551
 (gtk_icon_se
 unref): assertion `icon_set != NULL' failed
 
 (epiphany-bin:1989): GLib-GObject-CRITICAL **: file gobject.c: line 1337
 (g_object_
 ref): assertion `G_IS_OBJECT (object)' failed
 
 ** (epiphany-bin:1989): WARNING **: Could not get the chrome registry!
 
 
 (epiphany-bin:1989): Gtk-CRITICAL **: file gtktypeutils.c: line 42
 (gtk_type_unique
  assertion `GTK_TYPE_IS_OBJECT (parent_type)' failed
 
 (epiphany-bin:1989): Gtk-CRITICAL **: file gtktypeutils.c: line 99
 (gtk_type_new): 
 sertion `GTK_TYPE_IS_OBJECT (type)' failed
 
 ** (epiphany-bin:1989): WARNING **: Failed to get singleton embed object!
 
 
 (epiphany-bin:1989): GLib-GObject-WARNING **: invalid (NULL) pointer instance
 
 (epiphany-bin:1989): GLib-GObject-CRITICAL **: file gsignal.c: line 1861
 (g_signal_
 nnect_data): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
 No fonts found; this probably means that the fontconfig
 library is not correctly configured. You may need to
 edit the fonts.conf configuration file. More information
 about fontconfig can be found in the fontconfig(3) manual
 page and on http://fontconfig.org
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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


Re: PCM on my laptop is broken

2003-08-22 Thread Lowell Gilbert
Chipp Zanuff [EMAIL PROTECTED] writes:

 I have problem with my laptop;it freezes/crashes on BOOT when I compile device pcm 
 into the kernel.
 
 I tried loading snd_pcm, but nothign happens. kldstat shows snd_pcm, but no entries 
 in /dev
 
 also, there aren;t any messages in /var/logs/messages when i kldload the sound 
 module.
 
 i tried inserting snd_neomagic_load=YES into loader.conf but that only nets the 
 same result as if i compiled device pcm in the kernel.
 
 yes, sound does exist. it is a neomagic sound chip. 256AV. sound detection is where 
 it freezes at in the broken kernel.
 
 I read the sound documetation, (no help), posted the problem on a few forums (no 
 help).
 
 Maybe someone here is better? 

Sounds like you're running 5.x.
If so, the -CURRENT list is the place to go.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I subnetting my network ?

2003-08-22 Thread Lowell Gilbert
Supote Leelasupphakorn [EMAIL PROTECTED] writes:

If I will assign public IP address to all 
interfaces, is it neccessary that I must
inform the upstream router's administrator 
to add my subnet in routing table of upstream
router ?

Yes; if you actually own your own subnet and the upstream
administrator will agree to route it at all.

If not, you'll need NAT.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Problems

2003-08-22 Thread Lowell Gilbert
 Does anyone know what this command, route delete default, did?  After
 using it the box reboots but will not go online so I can log in
 remotely as this is not an on premise box.  I need to tell the tech's
 what I need done in order to repair it.  Any suggestions would be
 appreciated.

It's not related to this problem, but using 5.x for a remotely located
box is a really bad idea.  Stick with production releases for that
purpose.  

Deleting the default route from the command line like that should not
have any remaining effect after a reboot.  Something else is probably
wrong, and you need more information.

 HERE IS THE ORIGINAL POSTING
 
OK, this is difficult to explain and my problem is probably bigger
 than what I have found but here goes.  I have a dedicated 5.1 FreeBSD
 box and when I did a dmesg I received a repeating message as follows:
 arplookup 66.246.xx.1 failed: host is not on local network
   This peaked my curiosity so I pinged the bank of IP's I have in the
 range of that IP and I was able to ping them with a response.
   Something quick I can do to test to see if the IP will bind is
 compile an IRC bouncer.  I found the bouncer would not bind to the IP
 66.246.xx.185 as a normal account user and the bouncer would not
 function.  If I SU to root and start the bouncer the IP would bind and
 the bouncer would function correctly.  It should be noted that the
 bouncer was compiled as the normal account user.
   I have two different sets of IP's on my box and I have added them in
 the rc.conf in the following way:
 ifconfig_sis0_alias10=inet 209.123.xx.200 netmask 255.255.255.255
 ifconfig_sis0_alias11=inet 66.246.xx.185 netmask 255.255.255.255
   Do I have the IP's added wrong in rc.conf?  What am I doing wrong?
 Why do I receive the dmesg which appears to be an error?  Any
 assistance would be appreciated.

You probably have the aliases added wrong, but we can't know without
knowing what you *do* have configured for your primary addresses, and
what the networks connected are supposed to be.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dhclient denied

2003-08-22 Thread Lowell Gilbert
Bob Hall [EMAIL PROTECTED] writes:

 I posted about this a while ago, but I haven't been able to 
 find the cause. I'm getting the following message:
 Aug 21 13:00:03 kongemord dhclient: send_packet: Permission denied
 
 DHCP seems to work fine; I'm getting and maintaining DHCP leases 
 properly. But these messages are filling up my messages file and 
 causing my curiosity to drive me crazy. I initially thought that 
 my firewall was blocking DHCP packets, but I've tried various ipfw 
 rule changes, including some suggested here, with no effect. My 
 current DHCP rules are:
 ${fwcmd} add allow udp from any bootps to any bootps keep-state out via
   ${oif}
 ${fwcmd} add allow udp from any 68 to 255.255.255.255 67 keep-state out
   via ${oif}
 I know the second line is redundent. I was grasping at straws when I 
 put it in.

They're not redundant.  67 is bootps and 68 is bootpc.  Furthermore,
not all DHCP messages go out to the IP broadcast address.

 Generally, a failed connection attempt generates a message with 
 the IP address and port at each end. This message doesn't have that, 
 so that and the failure of firewall changes to end the message make 
 me think that the blocked packets aren't getting as far as the firewall. 
 
 Does anybody have any idea what is causing this?

You don't get IP addresses listed when you don't have one yet.


I'd recommend trying something like this for your DHCP support:
$fwcmd add pass udp from any to any bootps keep-state out xmit ${oif}

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


Cron job question

2003-08-22 Thread Rick Hoekman
I am getting this message every 5 minutes. Can somebody explain to me
why root apparently is not found here?


X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
X-Cron-Env: HOME=/root
X-Cron-Env: LOGNAME=root
X-Cron-Env: USER=root Date: Fri, 22 Aug
2003 19:05:00 +0200 (CEST) root: not found


Thanks!

Rick

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


Re: Gnome2 config files weirdness

2003-08-22 Thread stan
On Thu, Aug 21, 2003 at 10:00:33PM +, Joe Marcus Clarke wrote:
 On Thu, 2003-08-21 at 21:58, stan wrote:
  On Thu, Aug 21, 2003 at 12:16:15PM -0400, Joe Marcus Clarke wrote:
   On Thu, 2003-08-21 at 12:09, stan wrote:
On Wed, Aug 20, 2003 at 10:14:59PM -0400, Joe Marcus Clarke wrote:
 On Wed, 2003-08-20 at 21:01, stan wrote:
  I'm trying to get Gnome 2 up and running on a TABLE machine. I've built the
  gnome2 port, and I'm getting gdm2 as a login screen. I'm able to log in as
  a normal user. But when I change something. it thinks it's changing roots
  Gnome config. And indeed all changes I make are affecting all users.
 
 What changes?  There are a lot of configurable options in GNOME.  Care
 to narrow it down a bit?
 

additions to the panel.
   
   Additions to the panel (like adding a launcher) only affect the current
   user.  I've tested this.  The only difference would be if you're running
   as root.  Then, you can actually edit the /usr/X11R6/share/gnome space,
   and you could make global panel changes.  You may want to verify you
   haven't set anything setuid to root, you're not actually logged in as
   root, and you don't have any write permissions under
   /usr/X11R6/share/gnome.
   
  We agree that is how things _should_ be. However it's not how things _are_
  on this box. Actually I just started checking around, and when I log in as
  myself (non root account), I have now found that if I bring up a terminal,
  and type who am i the answer is _root_!. So perhapsh this is a gdm bug?
 
 What version of gdm do you have installed?  Are you using the default
 configuration?  I use gdm on all my GNOME 2 machines (4 in all), and I
 have never seen this problem.  Did you setuid root any of your gdm
 binaries?
 

I decided to rebuld gdm. When the rebuild was finished, I noticed a note
telling me _NOT_ to run gdm from /etc/ttys, but instead to use the supplied
shell script in /usr/X11R6/etc/init.d. I had missed this on the rebuild to
switch from Gnome 1 to 2. So I did as instructed, which fixed the problme.

Thanks for the help on this.

I must say this seems like a reather huge security hole!


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


Re: Cron job question

2003-08-22 Thread Matthew Seaman
On Fri, Aug 22, 2003 at 07:18:16PM +0200, Rick Hoekman wrote:
 I am getting this message every 5 minutes. Can somebody explain to me
 why root apparently is not found here?
 
 
 X-Original-To: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 From: [EMAIL PROTECTED] (Cron Daemon)
 To: [EMAIL PROTECTED]
 Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun
 X-Cron-Env: SHELL=/bin/sh
 X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
 X-Cron-Env: HOME=/root
 X-Cron-Env: LOGNAME=root
 X-Cron-Env: USER=root Date: Fri, 22 Aug
 2003 19:05:00 +0200 (CEST) root: not found
 

You've made the classic mistake of confusing the system crontab
(/etc/crontab) and the user specific crontabs that live in
/var/cron/tabs.  These are quite different files.

The system crontab /etc/crontab is not user specific: thus it has an
extra column defining which user ID the command should be run as.  In
general you shouldn't need to touch this file at all -- it's where
standard stuff like the 'at' queue, newsyslog and the
daily/weekly/monthly periodic functions are run from.  If you must
alter this file, just edit it directly: cron(8) will pick up the
changes in a minute or so.  In particular you do not need to use
crontab(1) to manage this file.

The per-user crontabs are what you would expect if you're familiar
with the SysV or Linux style cron(8) daemon.  Each user has their own
crontab file, which is managed using the crontab(1) command.  In
general it's a good policy to use the per-user crontab stuff to add
any new cron jobs for any user (including root) and leave the system
/etc/crontab in it's default state.

The error you're seeing suggests to me that what you've done is run
crontab(1) on /etc/crontab, and the extra column containing the userid
is being interpreted as a command that cron should run.  However,
there is no command 'root', hence the error message.  To fix, make
sute that /etc/crontab contains the default contents by copying over
/usr/src/etc/crontab or running mergemaster(1).  Backup and delete the
root crontab you've generated:

# crontab -l -u root  /tmp/root.crontab
# crontab -r -u root

Now, if root.crontab contains substantively the same as /etc/crontab,
you're done.  Otherwise, if you need to add some extra root cron jobs,
edit /tmp/root.crontab to strip out the default stuff, leaving only
you extra jobs.  Don't put a username in column 6 of the file: rather
that should be the last column and contain the command to run, as per
crontab(5).  Once edited to your liking load the new crontab file into
the system:

# vi /tmp/root.crontab
# crontab -u root /tmp/root.crontab

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[2]: Cron job question

2003-08-22 Thread Rick Hoekman
Hello Matthew,

Thank you for taking the time explaining it to me!

Rick

Friday, August 22, 2003, 7:41:59 PM, you wrote:

MS On Fri, Aug 22, 2003 at 07:18:16PM +0200, Rick Hoekman wrote:
 I am getting this message every 5 minutes. Can somebody explain to me
 why root apparently is not found here?
 
 
 X-Original-To: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 From: [EMAIL PROTECTED] (Cron Daemon)
 To: [EMAIL PROTECTED]
 Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun
 X-Cron-Env: SHELL=/bin/sh
 X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
 X-Cron-Env: HOME=/root
 X-Cron-Env: LOGNAME=root
 X-Cron-Env: USER=root Date: Fri, 22 Aug
 2003 19:05:00 +0200 (CEST) root: not found
 

MS You've made the classic mistake of confusing the system crontab
MS (/etc/crontab) and the user specific crontabs that live in
MS /var/cron/tabs.  These are quite different files.

MS The system crontab /etc/crontab is not user specific: thus it has an
MS extra column defining which user ID the command should be run as.  In
MS general you shouldn't need to touch this file at all -- it's where
MS standard stuff like the 'at' queue, newsyslog and the
MS daily/weekly/monthly periodic functions are run from.  If you must
MS alter this file, just edit it directly: cron(8) will pick up the
MS changes in a minute or so.  In particular you do not need to use
MS crontab(1) to manage this file.

MS The per-user crontabs are what you would expect if you're familiar
MS with the SysV or Linux style cron(8) daemon.  Each user has their own
MS crontab file, which is managed using the crontab(1) command.  In
MS general it's a good policy to use the per-user crontab stuff to add
MS any new cron jobs for any user (including root) and leave the system
MS /etc/crontab in it's default state.

MS The error you're seeing suggests to me that what you've done is run
MS crontab(1) on /etc/crontab, and the extra column containing the userid
MS is being interpreted as a command that cron should run.  However,
MS there is no command 'root', hence the error message.  To fix, make
MS sute that /etc/crontab contains the default contents by copying over
MS /usr/src/etc/crontab or running mergemaster(1).  Backup and delete the
MS root crontab you've generated:

MS # crontab -l -u root  /tmp/root.crontab
MS # crontab -r -u root

MS Now, if root.crontab contains substantively the same as /etc/crontab,
MS you're done.  Otherwise, if you need to add some extra root cron jobs,
MS edit /tmp/root.crontab to strip out the default stuff, leaving only
MS you extra jobs.  Don't put a username in column 6 of the file: rather
MS that should be the last column and contain the command to run, as per
MS crontab(5).  Once edited to your liking load the new crontab file into
MS the system:

MS # vi /tmp/root.crontab
MS # crontab -u root /tmp/root.crontab

MS Cheers,

MS Matthew

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


Re: Re: My details

2003-08-22 Thread CERT(R) Coordination Center
-BEGIN PGP SIGNED MESSAGE-

***

[NOTE -- THIS IS AN AUTOMATED RESPONSE]

Thank you for contacting the CERT(R) Coordination Center. We
appreciate your contacting us and consider your communications with us
to be very important. Because we focus our response efforts to have
the greatest impact on the Internet community, we may be unable to
provide you with a personal response to your message.

Please review the pointers contained in this message for information
which may be of immediate use to you.


  Section A - CERT/CC Current Activity

  Section B - Incident Reporting Information

  Section C - Vulnerability Reporting Information


If you need additional information from the CERT/CC, we encourage you
to begin by looking at our list of CERT/CC Frequently Asked Questions:

  http://www.cert.org/faq/cert_faq.html

==

Section A - CERT/CC Current Activity


  The CERT/CC Current Activity web page provides a summary list of the
  most frequent types of incident and vulnerability activity currently
  being reported to the CERT/CC.

  Please refer to this regularly updated page to obtain immediate
  assistance in response to frequently reported activity:

http://www.cert.org/current/current_activity.html

  In addition, the latest CERT/CC documents can be found at:

* CERT Advisories  - http://www.cert.org/advisories/
* CERT Incident Notes  - http://www.cert.org/incident_notes/
* CERT Vulnerability Notes - http://www.kb.cert.org/vuls/
* CERT Summaries   - http://www.cert.org/summaries/
* CERT Tech Tips   - http://www.cert.org/tech_tips/

* What's New   - http://www.cert.org/nav/whatsnew.html
* CERT/CC Web Site - http://www.cert.org/

  For pointers to information about computer viruses and hoaxes,
  please see:

* http://www.cert.org/other_sources/viruses.html

==

Section B - Incident Reporting Information


  We appreciate receiving incident reports because it helps us to
  gain a better understanding of ongoing intruder activities and
  attack profiles. From the information we receive, we are able to 
  identify and address critical security issues within the Internet
  community. Because we prioritize our response efforts to have the 
  greatest impact on the Internet community, we are not be able to 
  provide everyone with a personal response.

  For general information about reporting incidents to the CERT/CC, 
  please see our Incident Reporting Guidelines at:

http://www.cert.org/tech_tips/incident_reporting.html

  To report incidents to the CERT/CC, please send information about
  the incident in plain text format to [EMAIL PROTECTED] You may wish to
  use our Incident Reporting Form, located at:

http://www.cert.org/reporting/incident_form.txt

  The CERT/CC considers the following types of incidents to be
  emergencies:

  * possible life-threatening activity
  * attacks on the Internet infrastructure, such as:
- root name servers
- domain name servers
- major archive sites
- network access points (NAPs)
  * widespread automated attacks against Internet sites
  * new types of attacks or new vulnerabilities

  If you are reporting such an emergency outside our operational
  hours - business days between

08:00-17:00 EST/EDT (GMT-5/GMT-4)

  and require immediate assistance, then please call the CERT
  hotline:

+1 412 268 7090

  If you believe the intruder activity is a threat to people's
  lives or to the Internet infrastructure, please contact us
  immediately.
  
==

Section C - Vulnerability Reporting Information


  If you would like to report a new type of vulnerability or
  tool being used by the intruder community, we would be
  interested in any details that you may have. If you are able,
  please include any or all of source code, log files of
  execution, and descriptions of operating dependencies. Please
  feel free to submit these details in ASCII format files (where
  possible) of your own design, or if you prefer to use a form,
  please see the file:

http://www.cert.org/reporting/vulnerability_form.txt

  Please also encrypt the report using PGP if you are able to do
  so. Instructions are given at the top of the reporting form.

  Our vulnerability disclosure policy is available at 

http://www.kb.cert.org/vuls/html/disclosure


==

CERT(R) Coordination Center
Software Engineering Institute
Carnegie Mellon University
Pittsburgh, PA  USA  15213-3890

Internet e-mail:  [EMAIL PROTECTED] (monitored during business hours)

Telephone: +1-412-268-7090 24-hour hotline
CERT Coordination Center 

Something rotten in the OS?

2003-08-22 Thread Steve Warwick
Hey All, 

I have just had my 2nd HD crash in a year - different machine, different
type of drive etc - the only consistency is the OS and the installed
software.

It looks like this is some kind of overflow

This problem seems to start after about a month and is indicated by there
being fragments of the kernel config data in the daily kernel log messages.
I asked about that on this list but people seemed to think it was just some
kind of log rotation.

I caught the machine a couple of months ago with nearly all the swap used
(800meg out of 1 gig) and rebooted which kept the machine happy.

I recently noticed the kernel log messages had the config fragments again
and was going to to a reboot - but alas too late. The machine is down, HD is
damaged and we are trying to get data off the drive...

This is exactly the problem that occurred 6 months ago. That time I put it
down to lousy overheated hosting but now I don't have that excuse.

Has anyone seen this before?

Does FreeBSD have to be re-booted every month for safety?

Should I give up and use Linux?



A frustrated sysadmin


Steve

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


Re: dhclient denied

2003-08-22 Thread Bob Hall
On Fri, Aug 22, 2003 at 11:39:07AM -0400, Lowell Gilbert wrote:
 Bob Hall [EMAIL PROTECTED] writes:
 
  I posted about this a while ago, but I haven't been able to 
  find the cause. I'm getting the following message:
  Aug 21 13:00:03 kongemord dhclient: send_packet: Permission denied
  
  DHCP seems to work fine; I'm getting and maintaining DHCP leases 
  properly. But these messages are filling up my messages file and 
  causing my curiosity to drive me crazy. I initially thought that 
  my firewall was blocking DHCP packets, but I've tried various ipfw 
  rule changes, including some suggested here, with no effect. My 
  current DHCP rules are:
  ${fwcmd} add allow udp from any bootps to any bootps keep-state out via
  ${oif}
  ${fwcmd} add allow udp from any 68 to 255.255.255.255 67 keep-state out
  via ${oif}
  I know the second line is redundent. I was grasping at straws when I 
  put it in.
 
 They're not redundant.  67 is bootps and 68 is bootpc.  

My error.

 Furthermore,
 not all DHCP messages go out to the IP broadcast address.
 
  Generally, a failed connection attempt generates a message with 
  the IP address and port at each end. This message doesn't have that, 
  so that and the failure of firewall changes to end the message make 
  me think that the blocked packets aren't getting as far as the firewall. 
  
  Does anybody have any idea what is causing this?
 
 You don't get IP addresses listed when you don't have one yet.
 
I have an IP address. I have never received the message at a time 
when I didn't have an IP address.
 
 I'd recommend trying something like this for your DHCP support:
   $fwcmd add pass udp from any to any bootps keep-state out xmit ${oif}

I tried it and it had no effect. The only difference between out via 
and out xmit is that out via checks both incoming and outgoing packets, 
while out xmit checks only outgoing. In theory, there may be a difference 
between from any bootps and from any, but in practice it has made 
no difference in behaviour. I got the same message either way. 

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


How can I get sound working on a Compaq EVO n410C

2003-08-22 Thread stan
I would swear that Iasked this question, and got an answer a couple of
weeks ago. I got sidetrakced from the project of making this machine work,
and I can't find in my mail archive for the FreeBSD list what the answer
was ;-(

Sorry.

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


Re: How can I get sound working on a Compaq EVO n410C

2003-08-22 Thread Greg J.
On Fri, 22 Aug 2003 14:25:17 -0400
stan [EMAIL PROTECTED] wrote:

 I would swear that Iasked this question, and got an answer a couple of
 weeks ago. I got sidetrakced from the project of making this machine
 work, and I can't find in my mail archive for the FreeBSD list what
 the answer was ;-(
 
 Sorry.

Here it is.. :)
http://lists.freebsd.org/pipermail/freebsd-mobile/2003-July/001302.html

---
FreeBSD 5.1-CURRENT { 0+02:01:39, 78M/1018M }
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HP Netserver E60, SCSI question...

2003-08-22 Thread Evren Yurtesen
Hi,

I have a netserver with 4.8-stable installed.
Whatever I do the freebsd finds my scsi drives as 10mbyte/sn huh...
Any suggestions?
ahc0: Adaptec aic7895 Ultra SCSI adapter port 0x1000-0x10ff mem 
0xfc10-0xfc100fff irq 5 at device 5.0 on pci0
ahc0: Using left over BIOS settings
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: Adaptec aic7895 Ultra SCSI adapter port 0x1400-0x14ff mem 
0xfc101000-0xfc101fff irq 5 at device 5.1 on pci0
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs

da0 at ahc0 bus 0 target 1 lun 0
da0: HP 36.4G ST336706LW HP04 Fixed Direct Access SCSI-2 device
da0: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing 
Enabled
da0: 34732MB (71132960 512 byte sectors: 64H 32S/T 34732C)

sync tranfer rate mb/sn :40
initiate wide negotiation: yes
enable disconnection : yes
send start unit command : yes
enable writeback cache : n/c
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Something rotten in the OS?

2003-08-22 Thread MikeM


On 8/22/03 at 10:13 AM Steve Warwick wrote:

...
|
|This is exactly the problem that occurred 6 months ago. That time I put it
|down to lousy overheated hosting but now I don't have that excuse.
|
|Has anyone seen this before?
|
|Does FreeBSD have to be re-booted every month for safety?
|
|Should I give up and use Linux?
 =

I can say based upon my experience that FreeBSD does not need to be
rebooted each month.

I'll also suggest that you need to provide some more specifics (OS version,
hardware, etc.) before you can get the assistance you expect.

Whether you should give up and use Linux is a question only you can answer.



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


NATD Firewall Rules Setup

2003-08-22 Thread Thomas Smith
I'm configuring a firewall (FreeBSD 4.8-RELEASE). I've got the firewall 
locked down as I need it to be but am having issues getting NAT working. 
The firewall config file is included below.

Note that if I add the allow all rule to the end of the file NAT works 
fine. I'm certain its an IPFW issue but haven't been able to figure it 
out--as I'm a bit new to IPFW and FreeBSD, pointers to documentation 
(preferably with examples of usage) would be very helpful. I haven't 
been able to find a lot of info outside of the Handbook and what I do 
find regarding NAT includes three rules: 1) flush, 2) divert, 3) allow 
all traffic.

# Internal network variables
iif=rl1
inet=192.168.20.0
iip=192.168.20.2
imask=255.255.255.0
# External network variables
oif=rl0
onet=216.161.174.0
oip=216.161.174.7
omask=255.255.255.0
# Clear current rules
/sbin/ipfw -f flush
# Allow TCP in, if setup succeeded
/sbin/ipfw add pass tcp from any to any established
# Allow all local traffic
/sbin/ipfw add pass all from 127.0.0.1 to 127.0.0.1
# Stop spoofing
/sbin/ipfw add deny all from ${inet}:${imask} to any in via ${oif}
/sbin/ipfw add deny all from ${onet}:${omask} to any in via ${iif}
# Stop RFC1918 nets on the external interface
/sbin/ipfw add deny all from 10.0.0.1:255.0.0.0 to any via ${oif}
/sbin/ipfw add deny all from 127.16.0.0:255.240.0.0 to any via ${oif}
/sbin/ipfw add deny all from 192.168.0.0:255.255.0.0 to any via ${oif}
# Allow internal network traffic
/sbin/ipfw add pass all from ${iip} to any
/sbin/ipfw add pass all from ${inet}:${imask} to ${iip}
# Allow NAT traffic out.
/sbin/ipfw add divert natd all from any to any via ${oif}
# Allow setup of SSH connections
/sbin/ipfw add pass tcp from any to ${oip} 22 setup


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


Kandalfs useful tips

2003-08-22 Thread IDanz91278
Where can I get a printer version of Kandalfs tips for Free BSD 5,1 Thank you
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Something rotten in the OS?

2003-08-22 Thread Matthew Seaman
On Fri, Aug 22, 2003 at 10:13:30AM -0700, Steve Warwick wrote:

 I have just had my 2nd HD crash in a year - different machine, different
 type of drive etc - the only consistency is the OS and the installed
 software.

I think that you've just been unlucky in buying two hard drives or
whatever which have failed prematurely.  I think if there was such a
bug in FreeBSD, a lot more people than you would be complaining and
heaven and earth would be being moved in order to fix it.
 
 It looks like this is some kind of overflow

The only time I ever saw something similar, it was a Linux box and one
of the onboard chipsets (northbridge, southbridge -- I can never
remember which is which) tended to overheat in the particular
customized chassis those machine came in.  In about 4--5 machines out
of 80, the boxes developed a failure mode where the hard drive would
be rather scrambled, with portions of one file appearing mixed into
other files, and the whole FS garbaged.  Swapping out the broken
motherboards and fitting a suitable heat-sink sorted out the problem.
 
 This problem seems to start after about a month and is indicated by there
 being fragments of the kernel config data in the daily kernel log messages.
 I asked about that on this list but people seemed to think it was just some
 kind of log rotation.
 
 I caught the machine a couple of months ago with nearly all the swap used
 (800meg out of 1 gig) and rebooted which kept the machine happy.

That can be an indication of a disk on the verge of failure.  Were
there any other indications? Messages on the console?  Unexplained
program core dumps?

 I recently noticed the kernel log messages had the config fragments again
 and was going to to a reboot - but alas too late. The machine is down, HD is
 damaged and we are trying to get data off the drive...
 
 This is exactly the problem that occurred 6 months ago. That time I put it
 down to lousy overheated hosting but now I don't have that excuse.
 
 Has anyone seen this before?
 
 Does FreeBSD have to be re-booted every month for safety?
 
 Should I give up and use Linux?
 
 A frustrated sysadmin

Yup.  I know the feeling.  However, I don't think you can blame
FreeBSD for the problem here -- it smells of hardware failure to me.
This could certainly be the result of overheating even if you have
moved the machine to a better environment. Some hardware is more
equally ventilated than others. Heat stress is exactly the sort of
thing that can cause a machine to go tits-up after a few months.
Another candidate is electrostatic discharge, but unless you're in the
habit of opening up the box and working on the innards without using a
proper ground strap, that's probably not a concern. Besides, ESD
doesn't usually destroy hard drives.

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


Can not rmdir

2003-08-22 Thread Edouard Saksonov
Hi,
I've just installed FreeBSD 5.1, everything is fine, but when I wanted to remove a 
directory(with only one file in it), the system do not want to do that:
When I type 
rmdir -p dir_name,  it gives me as an output :
rmdir: dir_name: Directory not empty   
When I try 
rmdir -rf dir_name,  it gives me as an output :
rmdir: illegal option --r
usage: rmdir [-p] directory ...
 
I installed FreeBSD 5.1 from the CD-ROM which comes with Linux CD magazine
Maybe something's wrong with this CD ?
 
Thanks in advance for your answer
Edward



-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Something rotten in the OS?

2003-08-22 Thread Bob Hall
On Fri, Aug 22, 2003 at 10:13:30AM -0700, Steve Warwick wrote:
 Hey All, 
 
 I have just had my 2nd HD crash in a year - different machine, different
 type of drive etc - the only consistency is the OS and the installed
 software.
 
 It looks like this is some kind of overflow
 
 This problem seems to start after about a month and is indicated by there
 being fragments of the kernel config data in the daily kernel log messages.
 I asked about that on this list but people seemed to think it was just some
 kind of log rotation.
 
 I caught the machine a couple of months ago with nearly all the swap used
 (800meg out of 1 gig) and rebooted which kept the machine happy.
 
 I recently noticed the kernel log messages had the config fragments again
 and was going to to a reboot - but alas too late. The machine is down, HD is
 damaged and we are trying to get data off the drive...
 
 This is exactly the problem that occurred 6 months ago. That time I put it
 down to lousy overheated hosting but now I don't have that excuse.
 
 Has anyone seen this before?
 
 Does FreeBSD have to be re-booted every month for safety?

FBSD has a growing niche with businesses where a small number of admins 
manage large numbers of hosts under continuous and heavy use. So no, 
it usually doesn't have to be re-booted every month. And I doubt the 
problem is the OS.

You haven't said what hardware you're using or what you are using FBSD 
for. FBSD seems to be more susceptible to having random bits 
reset by voltage fluctuations than other OSs. That fact that the 
problem recurred on another machine doesn't rule out hardware problems; 
I've seen lots of defective desktop machines. If you are moving from 
one lowest-bidder machine to another, you could easily be moving from 
one collection of incompatible parts to another. And you haven't said 
anything about what software you are running or what your are using it 
for. Some software is more prone to problems than others, your software 
may be misconfigured in some subtle way, or you may be using it in ways 
it doesn't like.

And finally, every OS has its own unique set of weaknesses, so sometimes 
you can fix a problem by changing the OS. Whether the new OS is better 
or worse is irrelevant, as long as it isn't susceptible to the problems 
that are crashing the current OS. 

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


Re: Cron job question

2003-08-22 Thread Vitali Malicky
cause perusal of the documentation, which is plenty for seeking mind, is not
you nature, sir...
crontab(1) i.e.

[EMAIL PROTECTED] man 1 crontab


 I am getting this message every 5 minutes. Can somebody explain to me
 why root apparently is not found here?


 X-Original-To: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 From: [EMAIL PROTECTED] (Cron Daemon)
 To: [EMAIL PROTECTED]
 Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun
 X-Cron-Env: SHELL=/bin/sh
 X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
 X-Cron-Env: HOME=/root
 X-Cron-Env: LOGNAME=root
 X-Cron-Env: USER=root Date: Fri, 22 Aug
 2003 19:05:00 +0200 (CEST) root: not found


 Thanks!

 Rick

 ___
 [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: NATD Firewall Rules Setup

2003-08-22 Thread Bob Hall
On Fri, Aug 22, 2003 at 11:40:50AM -0700, Thomas Smith wrote:
 I'm configuring a firewall (FreeBSD 4.8-RELEASE). I've got the firewall 
 locked down as I need it to be but am having issues getting NAT working. 
 The firewall config file is included below.
 
 Note that if I add the allow all rule to the end of the file NAT works 
 fine. I'm certain its an IPFW issue but haven't been able to figure it 
 out--as I'm a bit new to IPFW and FreeBSD, pointers to documentation 
 (preferably with examples of usage) would be very helpful. I haven't 
 been able to find a lot of info outside of the Handbook and what I do 
 find regarding NAT includes three rules: 1) flush, 2) divert, 3) allow 
 all traffic.

All NAT does is translate your IP addresses. If it works with the allow 
all rule, then it works. It's the firewall, not NAT, that you need to 
adjust.

When I set up my current firewall, I ran tcpdump for about a week, 
saving the output to a (huge) file. Then I analyzed it with nstreams 
to get an idea of what the traffic was like and what rules were needed. 
I still needed to do some tweaking; e.g. Windows vs. FBSD traceroute, 
but nstreams got me 90% of the way there.

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


Re: Something rotten in the OS?

2003-08-22 Thread Kenneth Culver
 I think that you've just been unlucky in buying two hard drives or
 whatever which have failed prematurely.  I think if there was such a
 bug in FreeBSD, a lot more people than you would be complaining and
 heaven and earth would be being moved in order to fix it.

I would have to agree that it's probably a heat issue if you're sure the
hard drives are made by a good manufacturer. I have had hard drives go
with basically the same behavior because they didn't have any air
movement around them. Make sure those things are properly ventilated. I
doubt VERY seriously that this is a FreeBSD problem. I've been using
FreeBSD on all my own machines for roughly 6 years now, and have never
seen anything go wrong that wasn't related to bad hardware. FreeBSD is
also used in several very busy places such as yahoo.com and sony japan's
websites, and I doubt either of those companies would put up with what
you're seeing.

Basically to sum it up, your hardware is broken and you can be almost
totally sure it's not FreeBSD's fault. (I'd suspect overheating damaging
ur hd's or other components)

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


Re: problem running make on ports

2003-08-22 Thread Kris Kennaway
On Fri, Aug 22, 2003 at 05:33:40AM -0500, Charlie ROOT wrote:
 Hello,
 
 I'm having a peculiar problem running make on some ports. I'm getting an
 error saying:
 
 This account is currently not available
 *** Error code 1

id(1) cannot find your account.  Did you accidentally destroy your
password file?

Kris


pgp0.pgp
Description: PGP signature


Re: Samba 2.2.8 vs 2.2.8a on 4.8 Release

2003-08-22 Thread Kris Kennaway
On Fri, Aug 22, 2003 at 04:52:57PM +0100, Matthew Seaman wrote:

 Ports are intended to compile and work on any supported version of the
 OS (at the moment 4.7-RELEASE, 4.8-RELEASE, 4.8-STABLE, 5.1-RELEASE,
 5-CURRENT, although a few ports won't work on all those versions for
 various reasons) Ports will quite often compile/work on just about any
 version of the OS.

Not quite..only the most recent release (and later stable/current) is
officially supported.  It's true that in most cases you can continue
to use it successfully on older releases.

 Similarly the packages built from ports should work on any version
 with a compatible set of shared libraries, although all things being
 equal, the packages tend to work best on the suported OS versions.
 Hence packages built for 4-STABLE should work on any 4.x version since
 about 4.4-RELEASE, and packages built for recent 5.x should work on
 any 5-CURRENT or 5.x-RELEASE -- 5-CURRENT is a far more elusive target
 than 4.x at the moment, due to some fairly large scale ongoing work,
 and portability isn't necessarily up to the usual high standard.

This isn't guaranteed: in many cases (e.g. OpenSSL, ports like lsof
that depend on kernel structures, ...) packages built for later
releases cannot be run on earlier systems.  FreeBSD doesn't provide
this kind of forwards compatibility, although it's only occasionally
broken.

Kris


pgp0.pgp
Description: PGP signature


Re: Can not rmdir

2003-08-22 Thread Kris Kennaway
On Fri, Aug 22, 2003 at 12:00:52PM -0700, Edouard Saksonov wrote:
 Hi,
 I've just installed FreeBSD 5.1, everything is fine, but when I wanted to remove a 
 directory(with only one file in it), the system do not want to do that:
 When I type 
 rmdir -p dir_name,  it gives me as an output :
 rmdir: dir_name: Directory not empty   

This is presumably correct.

 When I try 
 rmdir -rf dir_name,  it gives me as an output :
 rmdir: illegal option --r
 usage: rmdir [-p] directory ...

This is also correct (rmdir does not have the -r option).

 I installed FreeBSD 5.1 from the CD-ROM which comes with Linux CD magazine
 Maybe something's wrong with this CD ?

No, you're just misusing it :-)

To remove a directory and all its contents, you want to use rm -r.

Kris


pgp0.pgp
Description: PGP signature


RE: Can not rmdir

2003-08-22 Thread Charles Howse
  I installed FreeBSD 5.1 from the CD-ROM which comes with 
 Linux CD magazine

Could you please provide a URL where I can get more information on
Linux CD magazine?


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


Re: Can not rmdir

2003-08-22 Thread Henrik Hudson
On Friday 22 August 2003 14:00, Edouard Saksonov wrote:
 Hi,
 I've just installed FreeBSD 5.1, everything is fine, but when I wanted to
 remove a directory(with only one file in it), the system do not want to do
 that: When I type

 rmdir -p dir_name,  it gives me as an output :
 rmdir: dir_name: Directory not empty

 When I try

 rmdir -rf dir_name,  it gives me as an output :
 rmdir: illegal option --r
 usage: rmdir [-p] directory ...


And if you don't want it to prompt you, do:
rm -rf dir_name

Be careful though..this can and will wipe your whole system if you 
accidentally type:
rm -rf /   and then tap the enter key :) and yes, I've done it both on 
purpose to see what happens and not on purpose. The former is kinda cool, the 
latter makes you say a few choice words.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy

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


Re: Can not rmdir

2003-08-22 Thread Kevin Kinsey, DaleCo, S.P.
From: Henrik Hudson [EMAIL PROTECTED]
To: Edouard Saksonov [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, August 22, 2003 2:55 PM
Subject: Re: Can not rmdir


 And if you don't want it to prompt you, do:
 rm -rf dir_name

 Be careful though..this can and will wipe your whole system if you
 accidentally type:
 rm -rf /   and then tap the enter key :) and yes, I've done it both
on
 purpose to see what happens and not on purpose. The former is kinda
cool, the
 latter makes you say a few choice words.

 Henrik

A few choice words!?  You are indeed a mild-tempered
gentleman ... ;-)

KDK


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


Re: Can not rmdir

2003-08-22 Thread Clement Laforet
On Fri, 22 Aug 2003 14:44:43 -0500
Charles Howse [EMAIL PROTECTED] wrote:

   I installed FreeBSD 5.1 from the CD-ROM which comes with 
  Linux CD magazine
 
 Could you please provide a URL where I can get more information on
 Linux CD magazine?

http://www.journaux.fr/revue.asp?revue=L4880

http://www.dppresse.com/linuxcd.htm

Don't ask me why a french linux magazine promotes FreeBSD 5.1 :)
Maybe some day, we'll have a BSD one...

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


Re: Copying an entire tree

2003-08-22 Thread Pat Lashley
--On Friday, August 22, 2003 20:17:07 +0930 Malcolm Kay 
[EMAIL PROTECTED] wrote:

Dump/restore is also the only technique I've found to retain the holes in
holey files.
cpio can handle sparse files.  I think that was the reason I changed
from a tar/tar pipe to a find/cpio pipe as my standard method many
years ago.  (It's been long enough that I don't remember for certain.)
Now, I'll probably use cpdup; since it handles the flags properly.
Although, now that you mention it, the docs don't say anything about
sparse files; so I may have to be careful which I choose for a given
hierarchy...  or at least find a test case...


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


Re: Something rotten in the OS?

2003-08-22 Thread Vulpes Velox
On Fri, 22 Aug 2003 10:13:30 -0700
Steve Warwick [EMAIL PROTECTED] wrote:

 Hey All, 
 
 I have just had my 2nd HD crash in a year - different machine, different
 type of drive etc - the only consistency is the OS and the installed
 software.

More info on this would be handy.  Such as what version of FBSD, what file
system, and ect.

Personally I would the blame somewhere else than FreeBSD. I have only had 3 HD
problems with FBSD in the three years I have been using it and all of them have
been actual problems with the HD and not FBSD.

 It looks like this is some kind of overflow

What is it doing? Just saying a HD crash does not say much. What type of error
messages.

 This problem seems to start after about a month and is indicated by there
 being fragments of the kernel config data in the daily kernel log messages.
 I asked about that on this list but people seemed to think it was just some
 kind of log rotation.

More info would be useful.

 I caught the machine a couple of months ago with nearly all the swap used
 (800meg out of 1 gig) and rebooted which kept the machine happy.

Sounds like a problem with one of the apps on it.
 
 I recently noticed the kernel log messages had the config fragments again
 and was going to to a reboot - but alas too late. The machine is down, HD is
 damaged and we are trying to get data off the drive...

The HD is damaged?  That sounds more like a hardware related problem than
software.
 
 This is exactly the problem that occurred 6 months ago. That time I put it
 down to lousy overheated hosting but now I don't have that excuse.
 
 Has anyone seen this before?
 
 Does FreeBSD have to be re-booted every month for safety?

LOL, no it does not. I have no problem racking up massive uptimes on my rueter
which is running BSD. The only time I have to reboot is after making a massive
after cvsuping and doing a makeworld and rebuilding the kernel.

 Should I give up and use Linux?
 
I truely doubt you would get any improvement over BSD from switching to linux. I
personally advoid it due the hackishly thrown together nature of most distros
and many parts in general.



Any ways... it sounds like you have seriously misconfigured something, bad
hardware, or some really crappy piece software. The 1st and 2nd thought do not
make any sense in the damaged HD, so it would be most likely bad hardware.


BTW is you seriously want help, try to provide more info.


 A frustrated sysadmin
 
 
 Steve

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


Re: Something rotten in the OS?

2003-08-22 Thread Jez Hancock
On Fri, Aug 22, 2003 at 10:13:30AM -0700, Steve Warwick wrote:
 This problem seems to start after about a month and is indicated by there
 being fragments of the kernel config data in the daily kernel log messages.
 I asked about that on this list but people seemed to think it was just some
 kind of log rotation.
Someone else mentioned the same problem with dmesg and periodic daily
kernel log message output very recently on this list.
What the person replied to your original
message about this said sounds like the most likely reason for the
seemingly garbled output from the daily periodic kern message run.

You can get the problem occuring very easily if you have a stack of
messages written to the kernel message buffer - say for example you fill
up a disk inadvertently (or otherwise) and the kernel constantly
complains about 'not enough disk space' to write files.  This happened
to me just the other day:

output from dmesg:
pt: file system full
pid 83041 (mysqldump), uid 0 on /opt: file system full
snip 555 lines
snip
fxp0: promiscuous mode disabled

So what Dan Nelson said to your earlier question here:
http://marc.theaimsgroup.com/?l=freebsd-questionsm=105890452032133w=2

sounds to be correct.

 I caught the machine a couple of months ago with nearly all the swap used
 (800meg out of 1 gig) and rebooted which kept the machine happy.
In that case you would want to be looking at what is eating away at all
your memory using tools like vmstat perhaps or using a graphing utility
to keep track of memory over time?
 
 I recently noticed the kernel log messages had the config fragments again
 and was going to to a reboot - but alas too late. The machine is down, HD is
 damaged and we are trying to get data off the drive...
Again I think the 'fragments' issue is probably a side issue.  Such
'fragments' can be caused by something as (relatively) harmless as a
disk being filled up or a large number of ICMP packets being limited by
the kernel for a few minutes.

 This is exactly the problem that occurred 6 months ago. That time I put it
 down to lousy overheated hosting but now I don't have that excuse.
Or just a badly behaved daemon that doesn't handle memory too well...?

snip
 Does FreeBSD have to be re-booted every month for safety?
NO! :)

 
 Should I give up and use Linux?
NO!! :)

As you and others have said this kind of thing is very frustrating and I
know what it's like.  A lot of the time though if you take away all the
major services and just revert back to the minimal OS you started out
with, things go along fine.  It's just hard work figuring out which
component is going bad on you - stick with it! :)

-- 
Jez

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


Error at start up

2003-08-22 Thread James Igoe
I have been able to install freebsd, however, I get this error at boot up:

acpi 1287: error: method execution failed, ae_aml_region_limit
cbb0: unsupported card type detected
Any thoughts,
Raine
From: Warren Block [EMAIL PROTECTED]
To: James Igoe [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Installing from CD-ROM (was Re: your mail)
Date: Thu, 21 Aug 2003 17:43:58 -0600 (MDT)
On Thu, 21 Aug 2003, James Igoe wrote:

 I am unable to install freebsd with the ISOs that were provided on the
 freebsd ftp site. I have burned them onto a cd and I have attempted to 
boot
 from them. However, I have found that they will not boot. I am working on 
a
 i386 architecture, using both a p3 450mhz, 384MB RAM, ameritech bios box 
and
 a celeron 1ghz 384MB RAM with a dell bios laptop. I have checked the boot
 sequences and have corrected them so thatg they boot fromt he cd rom.

Most likely you just copied the .iso files to the CD-ROM, instead of
burning them as an image.  You can verify this by checking the contents
of the CDs; if there's only one large file, that's the problem.
How to restore a .iso file to a CD is dependent on your CD-recording
software; for example, with Roxio software on Windows, you should be
able to right-click on the .iso file and choose Record to CD.
-Warren Block * Rapid City, South Dakota USA

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

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


Re: dhclient denied

2003-08-22 Thread Lowell Gilbert
  I'd recommend trying something like this for your DHCP support:
  $fwcmd add pass udp from any to any bootps keep-state out xmit ${oif}
 
 I tried it and it had no effect. The only difference between out via 
 and out xmit is that out via checks both incoming and outgoing packets, 
 while out xmit checks only outgoing. In theory, there may be a difference 
 between from any bootps and from any, but in practice it has made 
 no difference in behaviour. I got the same message either way. 

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


screen size is too large after freebsd install

2003-08-22 Thread Joe
Hello,

My name is Joe and I am totally new to FREEBSD.

I have spent over 2 days trying to install this software but no matter 
what I do the desktop size always ends up being too big.

If I click on alt + ctrl + - or + nothing happens. Tryed altering the 
xf86config file it won't let me.

Why is this so hard seriously its a pain.

Can anyone out there with a step by step guide on how to fix this help 
me please?

Thanks

Joe

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


DHClient with Multiple ip's

2003-08-22 Thread Don
I am attempting to have dhclient grab two ip's from comcast.  I already 
have them allowing me two ip's for my account and dhclient is working so 
far grabbing the one ip.  I know I have to set up the dhclient.conf with 
the pseudo section, but I am lost as what to do with the 
dhclient-script.  It has to be different as to not drop the main interface 
ip configuration, but everything I do seems to just assign the same ip to 
the iface twice.   Does it have to alias the second ip?  Are there any 
suggestions you can give me?

 FreeBSD 4.7-RELEASE-p13 #22
isc-dhcp3-3.0.1.r11
Thank you for any help you can give,

Don

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


'kldload snd' is not responding

2003-08-22 Thread Desmond Lee
Hello 

I am trying to get the sound on my freebsd 4.4 install to work. I am
logged in as root and am trying to execute the command 'kldload snd' as
part of the process to get sound working. However, this command does not
respond and even pressing ctrl-c won't stop it. Once it rebooted the
machine and the other time I had to do a manual reboot (ctrl-alt-delete)
to get out of the stalled command. 

I've done some searching online but I can't really find any help other
than how to get sound running using the kldload command. 

Can someone out there please tell me why 'kldload snd' is not working
and what I can do to get it to work?

Thanks in advance


Desmond




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


libchk

2003-08-22 Thread Nicholas Wieland
Hi all,
  I've installed libchk and read the man-page, but I'm not sure about
what to do with it.
I've got *lots* of unreferenced libraries: do I have to remove them ?
More generally: what's your usage of libchk ?

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


Re: cvsup problems

2003-08-22 Thread Bsd Neophyte

--- Bsd Neophyte [EMAIL PROTECTED] wrote:
 
 --- Kris Kennaway [EMAIL PROTECTED] wrote:
  On Thu, Aug 21, 2003 at 05:09:42PM -0700, Bsd Neophyte wrote:
  
   I get different error messages.  Here's some output of what's going
 on
  now
   (the first error is VERY common):
  
  This is a network problem.  Either the cvsup server, or something
  between your system and the cvsup server is causing the connection to
  be terminated.
  
  Kris
  
  ATTACHMENT part 2 application/pgp-signature 
 
 hmmm... to answer the other message, i've tried serveral servers, but
 they
 all give the same error.
 
 maybe i should take a look at adelphia and see what they have to say...
 what say you?

there's nothing going on with my ISP that is causing this.  is there any
possiblility that something is wrong with the system itself?  every single
server i try i get the TreeList failed: Network write failure: Connection
closed error.


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2003-08-22 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies list caters 

The Complete FreeBSD: errata and addenda

2003-08-22 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Security question (simple).

2003-08-22 Thread Lewis Thompson
Hi,

  I'm fairly new to network/machine security (but I know enough to write
some firewall rules, just the basics.  I guess I'm getting on for
novice, or something ;)

  I'm running two jails on my box, which has a dialup connection to the
'net.  It's all firewalled off and only certain things are available
from outside.  For incoming WWW I have some port-forwarding going on
(natd), which bounces it to the httpd running in the jail.  Am I right
in thinking if I am running some inherently insecure application there
is ABSOLUTELY NO WAY anybody can exploit it if it's not listening on the
dial-up interface?  I mean, without rooting the host system first.  Or,
if it's not, it's still pretty hard, right?

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: screen size is too large after freebsd install

2003-08-22 Thread Lee Harr
I have spent over 2 days trying to install this software but no matter
what I do the desktop size always ends up being too big.
If I click on alt + ctrl + - or + nothing happens. Tryed altering the
xf86config file it won't let me.
Are you editing the file as root?

Why is this so hard seriously its a pain.

Getting X set up right can be frustrating.

Here's what I usually do.

1) log in as root
2) XFree86 -configure
3) ee XF86Config.new
4) look in that file for the mouse section
   - replace /dev/sysmouse  with  /dev/psm0
   - if you have a wheel mouse, add the line
  Option  ZAxisMapping 4 5
5) look for the screen section
   - add the line
  DefaultDepth24
or
  DefaultDepth16
before the parts that say
   Subsection ... EndSubSection
   - in whichever section you choose (16 or 24)
   add a line
 Modes 1024x768
   underneat the line that says
 Depth 24  (or 16)
6) save the file (by pressing ESC-ENTER-ENTER)
7) move the file in to position with
  cp XF86Config.new /etc/X11/XF86Config
There is also a good page about this in the handbook:
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail

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


Re: Security question (simple).

2003-08-22 Thread lukek
I wonder if the better policy is to not run inherently insecure applications
(Bto begin with. In theory if no-one can get to that box or make use of that
(Bapplication from the internet then your only threats become internal ones.
(B
(BJust for curiosity sake what does nmap tell you about your box/interface
(Bfrom an outside perspective ? Another great check is sockstat -4 which will
(Blist the services running and the IP/port number there running on.
(B
(BHTH
(B
(BLukeK
(B
(B- Original Message -
(BFrom: "Lewis Thompson" [EMAIL PROTECTED]
(BTo: "FreeBSD-questions" [EMAIL PROTECTED]
(BSent: 2003$BG/(B8$B7n(B23$BF|(B 9:08
(BSubject: Security question (simple).
(B
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: cvsup problems

2003-08-22 Thread Kent Stewart
On Friday 22 August 2003 04:38 pm, Bsd Neophyte wrote:
 --- Bsd Neophyte [EMAIL PROTECTED] wrote:
  --- Kris Kennaway [EMAIL PROTECTED] wrote:
   On Thu, Aug 21, 2003 at 05:09:42PM -0700, Bsd Neophyte wrote:
I get different error messages.  Here's some output of what's
going
 
  on
 
   now
  
(the first error is VERY common):
  
   This is a network problem.  Either the cvsup server, or something
   between your system and the cvsup server is causing the
   connection to be terminated.
  
   Kris
  
   ATTACHMENT part 2 application/pgp-signature
 
  hmmm... to answer the other message, i've tried serveral servers,
  but they
  all give the same error.
 
  maybe i should take a look at adelphia and see what they have to
  say... what say you?

 there's nothing going on with my ISP that is causing this.  is there
 any possiblility that something is wrong with the system itself? 
 every single server i try i get the TreeList failed: Network write
 failure: Connection closed error.


Do you have a firewall that isn't permitting cvsup to talk both ways?

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: screen size is too large after freebsd install

2003-08-22 Thread peter lageotakes
Sorry about the top level reply.  I missed the
original posting.

With respect to the plus and minus keys; are you using
the ones on the keypad? I believe only the ones on key
pad work. 

Sorry I am stuck on another machine (not fbsd),
otherwise I would have tried it out.

Pete
--- Lee Harr [EMAIL PROTECTED] wrote:
 I have spent over 2 days trying to install this
 software but no matter
 what I do the desktop size always ends up being too
 big.
 
 If I click on alt + ctrl + - or + nothing happens.
 Tryed altering the
 xf86config file it won't let me.
 
 
 Are you editing the file as root?
 
 
 Why is this so hard seriously its a pain.
 
 
 Getting X set up right can be frustrating.
 
 Here's what I usually do.
 
 1) log in as root
 2) XFree86 -configure
 3) ee XF86Config.new
 4) look in that file for the mouse section
 - replace /dev/sysmouse  with  /dev/psm0
 - if you have a wheel mouse, add the line
Option  ZAxisMapping 4 5
 5) look for the screen section
 - add the line
DefaultDepth24
  or
DefaultDepth16
  before the parts that say
 Subsection ... EndSubSection
 - in whichever section you choose (16 or 24)
 add a line
   Modes 1024x768
 underneat the line that says
   Depth 24  (or 16)
 6) save the file (by pressing ESC-ENTER-ENTER)
 7) move the file in to position with
cp XF86Config.new /etc/X11/XF86Config
 
 
 There is also a good page about this in the
 handbook:

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

_
 The new MSN 8: advanced junk mail protection and 2
 months FREE* 
 http://join.msn.com/?page=features/junkmail
 
 ___
 [EMAIL PROTECTED] mailing list

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


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Wierd problems with rsync

2003-08-22 Thread lukek
Hi,
(BI have managed to generate some weird errors over the last few years playing
(Bwith *nix type systems but this one takes the cake.
(B
(BWhilst rsync'ing a directory I got the following error twice in a row
(B
(BDisconnecting: Corrupted MAC on input.
(Brsync: connection unexpectedly closed (426487689 bytes read so far)
(Brsync error: error in rsync protocol data stream (code 12) at io.c(165)
(Brsync: connection unexpectedly closed (182042 bytes read so far)
(Brsync error: error in rsync protocol data stream (code 12) at io.c(165)
(B
(BDoes anyone have any ideas ?
(B
(B-bash-2.05b$ uname -r
(B4.8-RELEASE
(B
(B-bash-2.05b$ rsync -v
(Brsync  version 2.5.6  protocol version 26
(B
(B Any pointers are really appreciated, This machine is a file server that has
(Bsucessfully crashed four times in the last week with hardware issues and
(Bjust when I thought I had that beat I get this lot.
(B
(BRegards,
(B
(BLukeK
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: FreeBSD licence and 'the advertisement clause'

2003-08-22 Thread Greg 'groggy' Lehey
On Wednesday, 20 August 2003 at 15:25:24 -0700, Kris Kennaway wrote:
 On Wed, Aug 20, 2003 at 10:33:38PM +0100, Theo Markettos wrote:
 I'm looking to incorporate some source from FreeBSD into a project of mine
 under the GPL.  I see that Berkeley dropped their requirement on the
 advertising clause which makes FreeBSD code compatible with the GPL.  The
 main FreeBSD licence doesn't include the advertising clause.

 However, much of FreeBSD's source still includes the advertising clause.
 For example src/sys/net/if.h and src/sys/net/radix.h in source checked out
 of CVS a few days ago.  Most of these are for Berkeley, although there are a
 few for other individuals.

 What is the licensing position?

 Code that is copyrighted by the Regents has the license change,
 everything else does not.  Many FreeBSD contributors will be happy to
 drop the clause if you just ask, though.

The FreeBSD core team is currently investigating the matter.  We'd
rather get rid of it, but we can't just change the copyright on code
by other people.  

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


Dual boot from Primary Slave

2003-08-22 Thread OZ
Hi,

I'm trying to set up a dual boot system like so:

ad0 = Windows XP  (drive on primary master)
ad1 = FreeBSD  (drive on primary slave)

Both OS's are installed now and working fine.  But I
have to use GAG from a floppy to do the dual boot.  I
want to use the NT loader instead, so I don't scare
the machine's XP users.

The FAQ says I need to put a copy of /boot/boot0 into
the C: directory of XP and then rename to bootsect.bsd
and edit the boot.ini and add the line.  Well, once
it's bootsect.bsd, I know how to get into boot.ini and
do all that, but how in heck do I copy /boot/boot0
from the FreeBSD hard drive over to the XP hard drive
in the first place?

The FAQ says (with a very ominous warning) that I
can't just copy the /boot/boot0 from the CD, or the
machine will have a nervous breakdown.

There must be a command to use in FreeBSD, but the FAQ
conveniently sidesteps THAT issue.  I just can't find
it anywhere.  Help?  Please?

And if you KNOW the command, can you also explain what
its elements mean?  As a relative newbie, I find
FreeBSD's commands extremely cryptic.  Thanks!

OZ

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Configuring GeForce FX 5200 in X?

2003-08-22 Thread Dragoncrest
	Hi all.  Just got a GeForce4 FX 5200 to install in a new Freebsd box and 
I'm trying to configure X to use it, but I don't see the card listed 
anywhere in the list of cards on the machine.  What do I do in order to 
configure the card itself?  I'd like to get it installed and running in 
there if possible.  If it's not one that bsd will use, I'll just swap my 
GF3 out of my win box instead, but I'd rather get this going of 
possible.  Can anyone point me in the direction of how to get this working 
or which driver to use?

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


Re: Configuring GeForce FX 5200 in X?

2003-08-22 Thread Alastair G. Hogge
On Saturday, 23 August 2003 15:07, Dragoncrest wrote:
   Hi all.  Just got a GeForce4 FX 5200 to install in a new Freebsd box and
 I'm trying to configure X to use it, but I don't see the card listed
 anywhere in the list of cards on the machine.  What do I do in order to
 configure the card itself?  I'd like to get it installed and running in
 there if possible.  If it's not one that bsd will use, I'll just swap my
 GF3 out of my win box instead, but I'd rather get this going of
 possible.  Can anyone point me in the direction of how to get this working
 or which driver to use?
Install /usr/ports/x11/nvidia-driver and then in your XF86Config swap your 
video card driver with nvidia. Reboot and hopefully you will have a working 
FX5200 on FreeBSD :-)

HTH
-Al

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


Re: Calendar program dates

2003-08-22 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Mutilated quotations.

On Thursday, 21 August 2003 at 10:43:17 -0500, Charles Howse wrote:
 OK, I jumped the gun here.
 After browsing through some of the calendar.* files, I
 realize that it
 sends an event for tomorrow if no event for today exists.
 Sorry about that.  :-)


 From the man page:-

  The calendar utility checks the current directory for a file
 named calendar and displays lines that begin with either today's
 date or tomor- row's.  On the day before a weekend (normally
 Friday), events for the next three days are displayed.

 I read the man page before I posted, but didn't understand what either
 today's date or tomorrow's. meant before I browsed the calendar.*
 files.  I thought it might be set to display tomorrow's date by default
 and I needed to set it to display today's date.

Here's what I use for the same purpose:

   #!/bin/sh
   #
   # Go through the calendars and find out what happened today.
   cd /usr/share/calendar
   (for i in /usr/share/calendar/calendar.*; do calendar -W -1 -f $i 2/dev/null; 
done) | sort | uniq | mail -s Today's anniversaries grog 

Greg
--
When replying to this message, please take care not to mutilate the
original text.
For more information, see http://www.lemis.com/email.html
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


XFree86 question

2003-08-22 Thread Kelly Brown
Hello All:

I'm trying to get XFree86 setup.  I think that I have a driver problem but I don't 
know what to do to fix it.

Here's the log file...


XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 5.1 i386 [ELF] 
Build Date: 24 May 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Fri Aug 22 22:09:28 2003
(==) Using config file: /etc/X11/XF86Config
(==) ServerLayout Simple Layout
(**) |--Screen Screen 1 (0)
(**) |   |--Monitor My Monitor
(**) |   |--Device * Generic VESA compatible
(**) |--Input Device Mouse1
(**) |--Input Device Keyboard1
(**) Option AutoRepeat 500 30
(**) Option XkbRules xfree86
(**) XKB: rules: xfree86
(**) Option XkbModel pc101
(**) XKB: model: pc101
(**) Option XkbLayout us
(**) XKB: layout: us
(==) Keyboard: CustomKeycode disabled
(WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/local/.
Entry deleted from font path.
(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/local/).
(**) FontPath set to 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.3.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3099 card 1106, rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b099 card , rev 00 class 06,04,00 hdr 01
(II) PCI: 00:05:0: chip 1317,0985 card 1317,0574 rev 11 class 02,00,00 hdr 00
(II) PCI: 00:06:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 00:07:0: chip 1102,0002 card 1102,8064 rev 07 class 04,01,00 hdr 80
(II) PCI: 00:07:1: chip 1102,7002 card 1102,0020 rev 07 class 09,80,00 hdr 80
(II) PCI: 00:11:0: chip 1106,3147 card 1106, rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:1: chip 1106,0571 card 1106,0571 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:11:2: chip 1106,3038 card 0925,1234 rev 23 class 0c,03,00 hdr 00
(II) PCI: 00:11:3: chip 1106,3038 card 0925,1234 rev 23 class 0c,03,00 hdr 00
(II) PCI: 02:00:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:01:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:02:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:03:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:04:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:05:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:06:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:07:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:08:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:09:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:0a:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:0b:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:0c:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:0d:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:0e:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:0f:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:10:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:11:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 02:12:0: chip 5333,8811 card , rev 00