Re: where is /dev/ukbd0

2002-07-23 Thread Adam Weinberger

it looks to me like the man page is not in sync with the faq. i'll
submit a patch for that.

i'd go with what the manpage says. please read the manpage. it contains
much better instructions that the excerpts here:

you need to compile your kernel with options KBD_INSTALL_CDEV.
you need to cd /dev && sh MAKEDEV kbd0 kbd1
you need to remove the device atkbd line from the kernel
you need to run:
kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null as the system
boots, in something like your /etc/rc.local

-Adam


>> (07.23.2002 @ 2234 PST): Ed Yu said, in 1.6K: <<
> I already have kbd0 kbd1 but NO ukbd0. I can't 'sh
> MAKEDEV ukbd0'. The FAQ has refernce to /dev/ukbd0:
> "If there is the USB keyboard only, it will be
> /dev/ukbd0", just wondering where it is. :) 
> --- Adam Weinberger <[EMAIL PROTECTED]> wrote:
> > read ukbd(4), i.e. man 4 ukbd
> > 
> > quoted from the 3rd paragraph:
> > 
> >  By default, the keyboard subsystem does not
> > create the appropriate
> >  devices yet.  Make sure you reconfigure your
> > kernel with the
> >  following
> >  option in the kernel config file:
> > 
> > options KBD_INSTALL_CDEV
> > 
> >  Go to /dev and make device nodes kbd*:
> > 
> > sh MAKEDEV kbd0 kbd1
> > 
> > -Adam
> > 
> > 
> > >> (07.23.2002 @ 1845 PST): Ed Yu said, in 0.4K: <<
> > > I see the following at dmesg:
> > > ukbd0: Sun Microsystems Type 6 USB keyboard, rev
> > > 1.00/1.01, addr 3, iclass 3/1
> > > kbd1 at ukbd0
> > > 
> > > but I don't see /dev/ukbd0, why?
> > > 
> > > thanks.
> > > 
> > > __
> > > Do You Yahoo!?
> > > Yahoo! Health - Feel better, live better
> > > http://health.yahoo.com
> > > 
> > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > with "unsubscribe freebsd-questions" in the body
> > of the message
> > > 
> > >> end of "where is /dev/ukbd0" from Ed Yu <<
> > 
> > 
> > --
> > "Oh good, my dog found the chainsaw."
> > -Lilo, "Lilo & Stitch"
> > Adam Weinberger
> > [EMAIL PROTECTED]
> > http://vectors.cx
> > 
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of
> > the message
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> 
>> end of "Re: where is /dev/ukbd0" from Ed Yu <<


--
"Oh good, my dog found the chainsaw."
-Lilo, "Lilo & Stitch"
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: How Does CHECKSUM.MD5 Work?

2002-07-23 Thread Randall Creighton

You need to md5 the *.iso, in other words, the image files you 
downloaded before you burn them. Compare those to the checksums from the 
ftp site.

Randy

Mark Hummel wrote:

>Jeremy,
>
>Thanks for the quick response.  I downloaded the *.ISO files.  Then I burned the
>first CD from the image file.  The root directory of the CD has no CHECKSUM.MD5
>file, but there are many of these files within several of the directories none of
>which even come close to matching the CHECKSUM.MD5 file on the ftp site which I
>printed to compare.  What exactly am I missing?
>
>Mark
>
>Jeremy Faulkner wrote:
>
>  
>
>>On Tue, Jul 23, 2002 at 06:35:39PM -0500, Mark Hummel wrote:
>>
>>
>>>Hi,
>>>
>>>I've just downloaded the ISO images for 4.6r and intend to burn the
>>>complete 4 CD set this evening.  I understand what a checksum is from my
>>>old BBS days so I assume I somehow use CHECKSUM.MD5 to verify the
>>>downloads.  If this is correct, how do I do this?
>>>
>>>Please respond to my email address in addition to the mailing list.
>>>Thank you
>>>
>>>Mark
>>>  
>>>
>>You read the CHECKSUM.MD5 file (it's plain text) and compare the md5 checksum
>>stored there in with the md5 checksum of the file's you downloaded.
>>
>>--
>>Jeremy Faulknerhttp://www.gldis.ca
>>
>>
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-questions" in the body of the message
>
>  
>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Making bind listen only to loopback interface

2002-07-23 Thread Matthew Seaman

On Wed, Jul 24, 2002 at 08:47:10AM +1000, BSD Freak wrote:

> Is there any quick and easy way to make BIND (the version shipped
> with 4.5-R and later) listen only the the loopback interface address
> (ie 127.0.0.1) instead of all available addresses?

Yes.  You can add a `listen-on' statement to the options section of
named.conf:

options {

[...]

listen-on {
   127.0.0.1;
};

[...]
};

The named.conf(5) man page has the full details.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
Tel: +44 1628 476614  Marlow
Fax: +44 0870 0522645 Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ada

2002-07-23 Thread Matthew Seaman

On Tue, Jul 23, 2002 at 05:34:13PM -0500, Henning, Brian wrote:

> I would like to add the functionality to my gcc compiler to compile
> ada programs. I know there is a compiler out there called gnat. Is
> it possible to reinstall gcc with the enbeded compiler for ada?

You can't practically modify the system gcc to add capacity to compile
ada.  What you can do is install the lang/gnat port, which is built
using a modified version of gcc-2.8.1

portinstall -R lang/gnat

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
Tel: +44 1628 476614  Marlow
Fax: +44 0870 0522645 Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: sticky bit & q-mail and DHCP

2002-07-23 Thread Randall Creighton

Just wondering, but if you are  hosting your own domain shouldn't you 
have a static ip address? or is there a way to inform dns about your ip 
address should it change?

Randy

Grant Cooper wrote:

>Ok, I guess my question is, DHCP automatically fills in the host part for
>me. But since I host my own domain, should I overload the tellus.ab.ca and
>change it to kooper.ca. I was thinking other packages such as sendmail or
>qmail would use this thinking my domain is tellus.ab.ca. I couldn't find any
>info on that.
>
>Thanks for the 1000 I was reading up and down that man list.
>- Original Message -
>From: "Samuel Chow" <[EMAIL PROTECTED]>
>To: "Grant Cooper" <[EMAIL PROTECTED]>
>Cc: "FreeBSD_Questions (E-mail 2)" <[EMAIL PROTECTED]>
>Sent: Tuesday, July 23, 2002 12:49 AM
>Subject: Re: sticky bit & q-mail and DHCP
>
>
>  
>
>>- Original Message -
>>From: Grant Cooper
>>
>>
>>
>>>1. I am using my home computer that uses a DHCP. In /etc/rc.conf
>>>my hostname is automatically entered. I realize this is the name of
>>>my computer given to me from my ISP. I purchased my domain
>>>kooper.ca. Should I change the hostname in /etc/rc.conf to
>>>hostname="dell.kooper.ca".  If not, what would the origional host
>>>name be used for? I'm sure I should change it.
>>>  
>>>
>>The short answer is it doesn't matter.
>>Hostname and DNS name are quite different.  While you can
>>make them the same, they really don't have to be.
>>When people lookup dell.kooper.ca, only the DNS
>>is used.  The hostname is irrelevant.
>>
>>
>>
>>
>>>2. chmod +t /var/qmail/supervise/qmail-pop3d
>>>What does it mean by sticky bit "+ t"
>>>  
>>>
>>man chmod
>>Look under the MODES section and find 1000.
>>
>>---
>>Samuel Chow
>>[EMAIL PROTECTED]
>>
>>Segmentation Fault (core dumped)
>>This message is displayed using recycled electrons.
>>
>>
>>
>>
>>
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-questions" in the body of the message
>
>  
>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



FBSD config files - tutorials, how-to, other pointers? Where?

2002-07-23 Thread David Merriman

Are there any kind of reference docs to the various configuration files
in FreeBSD? I mean, stuff that explains what the different lines &
entries in them are, preferably with examples?

As a for-instance, I'm looking at the hosts.allow file, and the man page
doesn't do much to clarify what the different sections are for, or what
the line entires mean.

David Merriman



To eliminate the risk of malicious scripts
or code, *all* HTML email is automatically
_deleted_ UNREAD on receipt.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linux compatability broken?

2002-07-23 Thread Eric Dedrick

Okay, I just installed linux_base 7.1 from the ports and linux
compatability is still broken (everything is failing with "bad system
call" signal 12).  linux.ko is loaded, compatability mode enabled.  What
do you suggest now?

On Tue, 23 Jul 2002, Adam Weinberger wrote:

> you have to uninstall the old version of linux_base that you have. if
> you don't know how to do that, you can always:
>
> install /usr/ports/sysutils/portupgrade
>
> then, do:
> portupgrade -o emulators/linux_base linux_base-\*
>
> that should take care of that.
>
> -Adam
>
>
> >> (07.23.2002 @ 2024 PST): Eric Dedrick said, in 1.4K: <<
> > > i hope you have a semi-recent ports tree, because you need
> > > linux_base-7.1.
> >
> > installing linux_base 7.1 from the ports gives me the following error.
> > Advice?  Thanks.
> >
> > ---
> >
> > (several screen fulls of the same type of stuff)...
> > file /usr/share/zoneinfo/right/US/Eastern from install of
> > glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> > file /usr/share/zoneinfo/right/US/Hawaii from install of
> > glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> > file /usr/share/zoneinfo/right/US/Indiana-Starke from install of
> > glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> > file /usr/share/zoneinfo/right/US/Michigan from install of
> > glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> > file /usr/share/zoneinfo/right/US/Mountain from install of
> > glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> > file /usr/share/zoneinfo/right/US/Pacific from install of
> > glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> > file /usr/share/zoneinfo/right/W-SU from install of glibc-common-2.2.2-10
> > conflicts with file from package glibc-2.1.2-11
> > file /usr/bin/catchsegv from install of glibc-common-2.2.2-10 conflicts
> > with file from package glibc-2.1.2-11
> > *** Error code 1
> >
> > Stop in /usr/ports/emulators/linux_base.
> >
> >
> >
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> >> end of "Re: linux compatability broken?" from Eric Dedrick <<
>
>
> --
> "Oh good, my dog found the chainsaw."
> -Lilo, "Lilo & Stitch"
> Adam Weinberger
> [EMAIL PROTECTED]
> http://vectors.cx
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: where is /dev/ukbd0

2002-07-23 Thread Ed Yu

I already have kbd0 kbd1 but NO ukbd0. I can't 'sh
MAKEDEV ukbd0'. The FAQ has refernce to /dev/ukbd0:
"If there is the USB keyboard only, it will be
/dev/ukbd0", just wondering where it is. :) 
--- Adam Weinberger <[EMAIL PROTECTED]> wrote:
> read ukbd(4), i.e. man 4 ukbd
> 
> quoted from the 3rd paragraph:
> 
>  By default, the keyboard subsystem does not
> create the appropriate
>devices yet.  Make sure you reconfigure your
> kernel with the
>following
>  option in the kernel config file:
> 
>   options KBD_INSTALL_CDEV
> 
>Go to /dev and make device nodes kbd*:
> 
>   sh MAKEDEV kbd0 kbd1
> 
> -Adam
> 
> 
> >> (07.23.2002 @ 1845 PST): Ed Yu said, in 0.4K: <<
> > I see the following at dmesg:
> > ukbd0: Sun Microsystems Type 6 USB keyboard, rev
> > 1.00/1.01, addr 3, iclass 3/1
> > kbd1 at ukbd0
> > 
> > but I don't see /dev/ukbd0, why?
> > 
> > thanks.
> > 
> > __
> > Do You Yahoo!?
> > Yahoo! Health - Feel better, live better
> > http://health.yahoo.com
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body
> of the message
> > 
> >> end of "where is /dev/ukbd0" from Ed Yu <<
> 
> 
> --
> "Oh good, my dog found the chainsaw."
> -Lilo, "Lilo & Stitch"
> Adam Weinberger
> [EMAIL PROTECTED]
> http://vectors.cx
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of
> the message


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Backup Scripts

2002-07-23 Thread Steve Wingate

On Tue, 23 Jul 2002 20:43:10 -0700
Michelle Weeks <[EMAIL PROTECTED]> wrote:


>I am new to scripting and am trying to use the below script I found to 
>run backups of our FreeBSD 4.5 server, but I keep getting the error:
>
>Level-backup.sh Backup Tue Jul 23 21:04:22 PDT 2002
>Error: Level-backup.sh unknown
>
>Since I am new at this, I am probably missing something very obvious. 
>I would greatly appreciate any help or advice as to where I can find
>more info. on creating backup scripts for FreeBSD.
>
>
>Here is the script I am using:
>
>
># Variables
>EMAILTO=backup
>DESTFILE=/dev/nrsa0
>BACKUPFILES="/var /usr/home"
>BACKUPDIR=${HOME}/backup
>LEVEL=${0}
>
># Load backup functions
>cd ${BACKUPDIR}
>. backup-functions
>
># Do the backup
>tar_backup
>
># Test the backup for errors
>tar_verify
>
># Email the backup report
>mail_report
>
># Done
>exit
>
>and here is the .backup-functions file for the shell script:
>
># Variables
>L0DATESTAMP="${BACKUPDIR}/.level0_datestamp"
>NOW=`date`
>
># tar_backup function: does the archiving
>tar_backup ()
>{
>   echo "Level-${LEVEL} Backup ${NOW}"
>   if [ "${LEVEL}" = "0" ]; then
> # make Level-0 datestamp
> echo ${NOW} > ${L0DATESTAMP}
> # Level-0 backup
> tar --create --verbose \
> --file ${DESTFILE} \
> --blocking-factor 126 \
> --label "Level-${LEVEL} Backup ${NOW}" \
> ${BACKUPFILES}
>   elif [ "${LEVEL}" = "1" ]; then
> # get last Level-0 datestamp
> LAST=`cat ${L0DATESTAMP}`
> # Level-1 backup
> tar --create --verbose \
> --file ${DESTFILE} \
> --blocking-factor 126 \
> --after-date "${LAST}" \
> --label "Level-${LEVEL} Backup from ${LAST} to ${NOW}" \
> ${BACKUPFILES}
>   else
> # Backup level error
> echo "Error: Level-${LEVEL} unknown"
> exit
>   fi
>   echo "Level-${LEVEL} Backup END"
>}
>
># tar_verify function: test the archive for errors
>tar_verify ()
>{
>   echo "Level-${LEVEL} Backup Verify ${NOW}"
>   # Backup verify test
>   tar --list --verbose \
>   --file ${DESTFILE} \
>   --blocking-factor 126
>   echo "Level-${LEVEL} Backup Verify END"
>}
>
># mail_report function: sends backup report
>mail_report ()
>{
>   # Email backup report
>   mail -s "Level-${LEVEL} Backup" "${EMAILTO}" << EOF
>
>###
>Level-${LEVEL} Backup
>###
>
>Host:  ${HOSTNAME}
>Files: ${BACKUPFILES}
>
>Destination: ${DESTFILE}
>
>###
>Started:   ${NOW}
>Completed: `date`
>###
>
>EOF
>}
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-questions" in the body of the message



My shell scripting skills are next to non-existent but I think I see a
problem with your variables at the beginning, specifically:

LEVEL=${0}

You're setting a variable to a variable but never defining the absolute
value. It seems to me the equivalent of saying:

"my name is my name is my name isinfinity"

Trying changing "LEVEL=${0}" to "LEVEL=0" and running it again, just for
kicks.





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Backup Scripts

2002-07-23 Thread Michelle Weeks

Yes, I do have #!/bin/sh as the first line in the backup.sh script.  
Before running the script, I cd to the directory the script is in and 
then run: ./backup.sh

On Tuesday, July 23, 2002, at 08:48 PM, Tim wrote:

> Do you have
> #!/bin/sh
> as the first line in all your scripts?
>
> and are they in a directory in your path? If they are not, you must run 
> them
> as follows:
>
> ./script_name
>
> Hope this helps,
>
> Tim
>
> On Tuesday 23 July 2002 10:43 pm, Michelle Weeks wrote:
>> I am new to scripting and am trying to use the below script I found to
>> run backups of our FreeBSD 4.5 server, but I keep getting the error:
>>
>> Level-backup.sh Backup Tue Jul 23 21:04:22 PDT 2002
>> Error: Level-backup.sh unknown
>>
>> Since I am new at this, I am probably missing something very 
>> obvious.  I
>> would greatly appreciate any help or advice as to where I can find more
>> info. on creating backup scripts for FreeBSD.
>>
>>
>> Here is the script I am using:
>>
>>
>> # Variables
>> EMAILTO=backup
>> DESTFILE=/dev/nrsa0
>> BACKUPFILES="/var /usr/home"
>> BACKUPDIR=${HOME}/backup
>> LEVEL=${0}
>>
>> # Load backup functions
>> cd ${BACKUPDIR}
>> . backup-functions
>>
>> # Do the backup
>> tar_backup
>>
>> # Test the backup for errors
>> tar_verify
>>
>> # Email the backup report
>> mail_report
>>
>> # Done
>> exit
>>
>> and here is the .backup-functions file for the shell script:
>>
>> # Variables
>> L0DATESTAMP="${BACKUPDIR}/.level0_datestamp"
>> NOW=`date`
>>
>> # tar_backup function: does the archiving
>> tar_backup ()
>> {
>>echo "Level-${LEVEL} Backup ${NOW}"
>>if [ "${LEVEL}" = "0" ]; then
>>  # make Level-0 datestamp
>>  echo ${NOW} > ${L0DATESTAMP}
>>  # Level-0 backup
>>  tar --create --verbose \
>>  --file ${DESTFILE} \
>>  --blocking-factor 126 \
>>  --label "Level-${LEVEL} Backup ${NOW}" \
>>  ${BACKUPFILES}
>>elif [ "${LEVEL}" = "1" ]; then
>>  # get last Level-0 datestamp
>>  LAST=`cat ${L0DATESTAMP}`
>>  # Level-1 backup
>>  tar --create --verbose \
>>  --file ${DESTFILE} \
>>  --blocking-factor 126 \
>>  --after-date "${LAST}" \
>>  --label "Level-${LEVEL} Backup from ${LAST} to ${NOW}" \
>>  ${BACKUPFILES}
>>else
>>  # Backup level error
>>  echo "Error: Level-${LEVEL} unknown"
>>  exit
>>fi
>>echo "Level-${LEVEL} Backup END"
>> }
>>
>> # tar_verify function: test the archive for errors
>> tar_verify ()
>> {
>>echo "Level-${LEVEL} Backup Verify ${NOW}"
>># Backup verify test
>>tar --list --verbose \
>>--file ${DESTFILE} \
>>--blocking-factor 126
>>echo "Level-${LEVEL} Backup Verify END"
>> }
>>
>> # mail_report function: sends backup report
>> mail_report ()
>> {
>># Email backup report
>>mail -s "Level-${LEVEL} Backup" "${EMAILTO}" << EOF
>>
>> ###
>> Level-${LEVEL} Backup
>> ###
>>
>> Host:  ${HOSTNAME}
>> Files: ${BACKUPFILES}
>>
>> Destination: ${DESTFILE}
>>
>> ###
>> Started:   ${NOW}
>> Completed: `date`
>> ###
>>
>> EOF
>> }
>>
>>
>> To Unsubscribe: send mail to [EMAIL PROTECTED]
>> with "unsubscribe freebsd-questions" in the body of the message
>
> --
> FreeBSD 4.6-RELEASE
> 10:44PM  up 16:04, 1 user, load averages: 0.00, 0.05, 0.08
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Backup Scripts

2002-07-23 Thread Tim

Do you have
#!/bin/sh
as the first line in all your scripts?

and are they in a directory in your path? If they are not, you must run them 
as follows: 

./script_name

Hope this helps,

Tim

On Tuesday 23 July 2002 10:43 pm, Michelle Weeks wrote:
> I am new to scripting and am trying to use the below script I found to
> run backups of our FreeBSD 4.5 server, but I keep getting the error:
>
> Level-backup.sh Backup Tue Jul 23 21:04:22 PDT 2002
> Error: Level-backup.sh unknown
>
> Since I am new at this, I am probably missing something very obvious.  I
> would greatly appreciate any help or advice as to where I can find more
> info. on creating backup scripts for FreeBSD.
>
>
> Here is the script I am using:
>
>
> # Variables
> EMAILTO=backup
> DESTFILE=/dev/nrsa0
> BACKUPFILES="/var /usr/home"
> BACKUPDIR=${HOME}/backup
> LEVEL=${0}
>
> # Load backup functions
> cd ${BACKUPDIR}
> . backup-functions
>
> # Do the backup
> tar_backup
>
> # Test the backup for errors
> tar_verify
>
> # Email the backup report
> mail_report
>
> # Done
> exit
>
> and here is the .backup-functions file for the shell script:
>
> # Variables
> L0DATESTAMP="${BACKUPDIR}/.level0_datestamp"
> NOW=`date`
>
> # tar_backup function: does the archiving
> tar_backup ()
> {
>echo "Level-${LEVEL} Backup ${NOW}"
>if [ "${LEVEL}" = "0" ]; then
>  # make Level-0 datestamp
>  echo ${NOW} > ${L0DATESTAMP}
>  # Level-0 backup
>  tar --create --verbose \
>  --file ${DESTFILE} \
>  --blocking-factor 126 \
>  --label "Level-${LEVEL} Backup ${NOW}" \
>  ${BACKUPFILES}
>elif [ "${LEVEL}" = "1" ]; then
>  # get last Level-0 datestamp
>  LAST=`cat ${L0DATESTAMP}`
>  # Level-1 backup
>  tar --create --verbose \
>  --file ${DESTFILE} \
>  --blocking-factor 126 \
>  --after-date "${LAST}" \
>  --label "Level-${LEVEL} Backup from ${LAST} to ${NOW}" \
>  ${BACKUPFILES}
>else
>  # Backup level error
>  echo "Error: Level-${LEVEL} unknown"
>  exit
>fi
>echo "Level-${LEVEL} Backup END"
> }
>
> # tar_verify function: test the archive for errors
> tar_verify ()
> {
>echo "Level-${LEVEL} Backup Verify ${NOW}"
># Backup verify test
>tar --list --verbose \
>--file ${DESTFILE} \
>--blocking-factor 126
>echo "Level-${LEVEL} Backup Verify END"
> }
>
> # mail_report function: sends backup report
> mail_report ()
> {
># Email backup report
>mail -s "Level-${LEVEL} Backup" "${EMAILTO}" << EOF
>
> ###
> Level-${LEVEL} Backup
> ###
>
> Host:  ${HOSTNAME}
> Files: ${BACKUPFILES}
>
> Destination: ${DESTFILE}
>
> ###
> Started:   ${NOW}
> Completed: `date`
> ###
>
> EOF
> }
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
FreeBSD 4.6-RELEASE
10:44PM  up 16:04, 1 user, load averages: 0.00, 0.05, 0.08

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Backup Scripts

2002-07-23 Thread Michelle Weeks

I am new to scripting and am trying to use the below script I found to 
run backups of our FreeBSD 4.5 server, but I keep getting the error:

Level-backup.sh Backup Tue Jul 23 21:04:22 PDT 2002
Error: Level-backup.sh unknown

Since I am new at this, I am probably missing something very obvious.  I 
would greatly appreciate any help or advice as to where I can find more 
info. on creating backup scripts for FreeBSD.


Here is the script I am using:


# Variables
EMAILTO=backup
DESTFILE=/dev/nrsa0
BACKUPFILES="/var /usr/home"
BACKUPDIR=${HOME}/backup
LEVEL=${0}

# Load backup functions
cd ${BACKUPDIR}
. backup-functions

# Do the backup
tar_backup

# Test the backup for errors
tar_verify

# Email the backup report
mail_report

# Done
exit

and here is the .backup-functions file for the shell script:

# Variables
L0DATESTAMP="${BACKUPDIR}/.level0_datestamp"
NOW=`date`

# tar_backup function: does the archiving
tar_backup ()
{
   echo "Level-${LEVEL} Backup ${NOW}"
   if [ "${LEVEL}" = "0" ]; then
 # make Level-0 datestamp
 echo ${NOW} > ${L0DATESTAMP}
 # Level-0 backup
 tar --create --verbose \
 --file ${DESTFILE} \
 --blocking-factor 126 \
 --label "Level-${LEVEL} Backup ${NOW}" \
 ${BACKUPFILES}
   elif [ "${LEVEL}" = "1" ]; then
 # get last Level-0 datestamp
 LAST=`cat ${L0DATESTAMP}`
 # Level-1 backup
 tar --create --verbose \
 --file ${DESTFILE} \
 --blocking-factor 126 \
 --after-date "${LAST}" \
 --label "Level-${LEVEL} Backup from ${LAST} to ${NOW}" \
 ${BACKUPFILES}
   else
 # Backup level error
 echo "Error: Level-${LEVEL} unknown"
 exit
   fi
   echo "Level-${LEVEL} Backup END"
}

# tar_verify function: test the archive for errors
tar_verify ()
{
   echo "Level-${LEVEL} Backup Verify ${NOW}"
   # Backup verify test
   tar --list --verbose \
   --file ${DESTFILE} \
   --blocking-factor 126
   echo "Level-${LEVEL} Backup Verify END"
}

# mail_report function: sends backup report
mail_report ()
{
   # Email backup report
   mail -s "Level-${LEVEL} Backup" "${EMAILTO}" << EOF

###
Level-${LEVEL} Backup
###

Host:  ${HOSTNAME}
Files: ${BACKUPFILES}

Destination: ${DESTFILE}

###
Started:   ${NOW}
Completed: `date`
###

EOF
}


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: (Retry) Bridging a wi-device with a LAN-adapter

2002-07-23 Thread M. Warner Losh

In message: <002401c23245$1ced2130$0100a8c0@erikpc>
Erik Paulsen Skålerud <[EMAIL PROTECTED]> writes:
: I've also heard a rumour that ng_bridge(4)/netgraph can do bridging with
: wi(4)-devices. Is this true?

bridge(4) and ng_bridge(4) have the same hardware contraints.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linux compatability broken?

2002-07-23 Thread Adam Weinberger

you have to uninstall the old version of linux_base that you have. if
you don't know how to do that, you can always:

install /usr/ports/sysutils/portupgrade

then, do:
portupgrade -o emulators/linux_base linux_base-\*

that should take care of that.

-Adam


>> (07.23.2002 @ 2024 PST): Eric Dedrick said, in 1.4K: <<
> > i hope you have a semi-recent ports tree, because you need
> > linux_base-7.1.
> 
> installing linux_base 7.1 from the ports gives me the following error.
> Advice?  Thanks.
> 
> ---
> 
> (several screen fulls of the same type of stuff)...
> file /usr/share/zoneinfo/right/US/Eastern from install of
> glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> file /usr/share/zoneinfo/right/US/Hawaii from install of
> glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> file /usr/share/zoneinfo/right/US/Indiana-Starke from install of
> glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> file /usr/share/zoneinfo/right/US/Michigan from install of
> glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> file /usr/share/zoneinfo/right/US/Mountain from install of
> glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> file /usr/share/zoneinfo/right/US/Pacific from install of
> glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
> file /usr/share/zoneinfo/right/W-SU from install of glibc-common-2.2.2-10
> conflicts with file from package glibc-2.1.2-11
> file /usr/bin/catchsegv from install of glibc-common-2.2.2-10 conflicts
> with file from package glibc-2.1.2-11
> *** Error code 1
> 
> Stop in /usr/ports/emulators/linux_base.
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
>> end of "Re: linux compatability broken?" from Eric Dedrick <<


--
"Oh good, my dog found the chainsaw."
-Lilo, "Lilo & Stitch"
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linux compatability broken?

2002-07-23 Thread Eric Dedrick

> i hope you have a semi-recent ports tree, because you need
> linux_base-7.1.

installing linux_base 7.1 from the ports gives me the following error.
Advice?  Thanks.

---

(several screen fulls of the same type of stuff)...
file /usr/share/zoneinfo/right/US/Eastern from install of
glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
file /usr/share/zoneinfo/right/US/Hawaii from install of
glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
file /usr/share/zoneinfo/right/US/Indiana-Starke from install of
glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
file /usr/share/zoneinfo/right/US/Michigan from install of
glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
file /usr/share/zoneinfo/right/US/Mountain from install of
glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
file /usr/share/zoneinfo/right/US/Pacific from install of
glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
file /usr/share/zoneinfo/right/W-SU from install of glibc-common-2.2.2-10
conflicts with file from package glibc-2.1.2-11
file /usr/bin/catchsegv from install of glibc-common-2.2.2-10 conflicts
with file from package glibc-2.1.2-11
*** Error code 1

Stop in /usr/ports/emulators/linux_base.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linux compatability broken?

2002-07-23 Thread Eric Dedrick

> if you make changes to the kernel, you need to recompile and reinstall
> the kernel, not the base O/S.

Yeah, I just usually do both since I keep them both cvsup'd.

> however, ld-linux.so.2 has nothing to do with your kernel. what you need
> is to install /usr/ports/emulators/linux_base

I don't follow.  I've made world/kernel plenty of times before and
compatability was fine.  This time it broke.  What changed?  I thought
all I needed was linux.ko in the kernel and the linux.so's to have
binary compatiability.  Surely I don't have to install all of redhat
inorder to run a pre-built linux binary.

> i hope you have a semi-recent ports tree, because you need
> linux_base-7.1.

Yup.  I keep that cvsup'd too.  Anyway, I'll give it a try and let you
know how it works out.  Thanks for the assistance.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: MP3 Conversion Port?

2002-07-23 Thread BSD baby

For the best sound-per-size (bang-per-buck) in MP3 files you 
HAVE to try the "--r3mix" setting in LAME encoder.  It's 
wonderful.  The audiophile setting, but with a file size 
not much bigger than 128bitrate.

Read more at:

http://www.r3mix.net/

(click on 'QUALITY' link at left)

Lame has it built in so the ONLY setting you need is just

lame --r3mix sourcefile outfile

Most portable devices work with VBR these days.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how do i stop fsck from autochecking?

2002-07-23 Thread David Smithson

Hello.

> While I can understand growing impatient as a large volume is fsck'ed, I'd
> strongly recommend letting it finish.  I mean, it's not doing all that
work
> just to be annoying.  Oh, and as per your other post, please reconsider

I'm not completely green.  The reason I wanted to stop fsck in the first
place was so I could edit /etc/fstab, comment out the mount entry for that
particular array, finish the init sequence which includes another very
critical array, and run fsck manually on the dirty array.  I had no
intentions trying to mount a dirty array.  I just needed to allow access to
one array while checking the other.  Everyone in the motion picture industry
is in such a bloody rush all the time.

> switching (note that I did *not* say "upgrading") to -CURRENT,
particularly
> if that machine is used for anything other than your own spare personal
> workstation.

I understand that the CURRENT tree is separate from the STABLE tree.  I did
not mean to misrepresent my intentions.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how do i stop fsck from autochecking?

2002-07-23 Thread Kirk Strauser


At 2002-07-24T00:34:16Z, "David Smithson" <[EMAIL PROTECTED]> writes:

> How do I abort an auto-check on boot if a computer was shutdown
> improperly?

While I can understand growing impatient as a large volume is fsck'ed, I'd
strongly recommend letting it finish.  I mean, it's not doing all that work
just to be annoying.  Oh, and as per your other post, please reconsider
switching (note that I did *not* say "upgrading") to -CURRENT, particularly
if that machine is used for anything other than your own spare personal
workstation.
-- 
Kirk Strauser
The Strauser Group - http://www.strausergroup.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: using burncd

2002-07-23 Thread Brian T. Schellenberger

On Tuesday 23 July 2002 10:36 pm, karl agee wrote:
| When using burncd, is it necessary to first create a iso fs on the cd??
| It's not clear in the man page if it does this or not.

Well, burncd will burn whatever you give it.

If you want an ISO disk then you'll need an ISO image.  If you want an audio 
CD, though, you won't, and it's also perfectly possible to burn another file 
system onto a CD, but I don't think that's what you intend.

For most practical purposes, then, the answer is  "YES."


-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how to capture bootup messages?

2002-07-23 Thread Dan Nelson

In the last episode (Jul 23), Ed Yu said:
> Thanks Dan. I tried it and it does scroll back. Is
> there a way to set the number of saved lines? It
> doesn't allow me to scroll all the way the the
> beginning. Is there a way to set it so that all the
> messages can be saved to a file instead?

-current logs console out before bootup to /var/log/console.  On 4.*
and below, you can rebuild your kernel with "options
SC_HISTORY_SIZE=###" to increate your scrollback.  Just remember that
you lose 80*sc_history_size*num_vtys bytes of memory.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: where is /dev/ukbd0

2002-07-23 Thread Adam Weinberger

read ukbd(4), i.e. man 4 ukbd

quoted from the 3rd paragraph:

 By default, the keyboard subsystem does not create the appropriate
 devices yet.  Make sure you reconfigure your kernel with the
 following
 option in the kernel config file:

options KBD_INSTALL_CDEV

 Go to /dev and make device nodes kbd*:

sh MAKEDEV kbd0 kbd1

-Adam


>> (07.23.2002 @ 1845 PST): Ed Yu said, in 0.4K: <<
> I see the following at dmesg:
> ukbd0: Sun Microsystems Type 6 USB keyboard, rev
> 1.00/1.01, addr 3, iclass 3/1
> kbd1 at ukbd0
> 
> but I don't see /dev/ukbd0, why?
> 
> thanks.
> 
> __
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
>> end of "where is /dev/ukbd0" from Ed Yu <<


--
"Oh good, my dog found the chainsaw."
-Lilo, "Lilo & Stitch"
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: DHCP, hostname . domain, my bought hostname

2002-07-23 Thread Rob B

At 03:36 23/07/2002, Grant Cooper sent this up the stick:
>I am using my home computer that uses a DHCP. In /etc/rc.conf my hostname is
>automatically entered. I realize this is the name of my computer given to me
>from my ISP. I purchased my domain kooper.ca. Should I change the hostname
>in /etc/rc.conf to hostname="dell.kooper.ca". If not, what would this be
>used for? I'm sure I should change it. I am attempting to install qmail
>again.

I'm not near a FreeBSD box at the moment, but if you have a look at "man 
dhclient.conf" or "man dhcp-options", there is a supersede option that 
allows you to use a locally configured option rather than the one specified 
by the dhcp server

Cheers,
Rob

--
Academy: A modern school where football is taught.

[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian
This is random quote 130 of a collection of 1254


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linux compatability broken?

2002-07-23 Thread Adam Weinberger

if you make changes to the kernel, you need to recompile and reinstall
the kernel, not the base O/S.

however, ld-linux.so.2 has nothing to do with your kernel. what you need
is to install /usr/ports/emulators/linux_base

i hope you have a semi-recent ports tree, because you need
linux_base-7.1.

-Adam


>> (07.23.2002 @ 1435 PST): Eric Dedrick said, in 0.9K: <<
> > > Date: Tue, 23 Jul 2002 10:52:49 -0500 (EST)
> > > From: Eric Dedrick <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Subject: linux compatability broken?
> > >
> > > I recently made a few kernel changes so I remade world.
> > >
> > > It would seem that linux compatability is now broken.  At first things
> > > were complaining about the fact that ld-linux.so.2 got moved.  After I
> > > made symbolic links things failed with a bad system call signal 12.
> > >
> > > Weren't all of my modules, including the compatibility ones, updated with
> > > make world?
> >
> > barring a knob in (IIRC) /etc/make.conf, kernel modules are built
> > and installed during make buildkernel and make installkernel,
> > respectively
> 
> Okay, so any guesses why my linux compatiability would break?
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
>> end of "Re: linux compatability broken?" from Eric Dedrick <<


--
"Oh good, my dog found the chainsaw."
-Lilo, "Lilo & Stitch"
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: using burncd

2002-07-23 Thread Scott Robbins

On Tue, Jul 23, 2002 at 07:36:33PM -0700, karl agee wrote:
> When using burncd, is it necessary to first create a iso fs on the cd?? 
> It's not clear in the man page if it does this or not.


An excellent guide to burning CDs is found in the handbook.

The short answer is no, put in a blank recordable CD.  

The handbook section is at


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



HTH

Scott


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Availability of DRI on Radeon Mobility M7

2002-07-23 Thread Adam Weinberger

yep. it works fine.

1) install /usr/ports/graphics/drm-kmod
2) cp /usr/local/etc/rc.d/drm.sh.sample /usr/local/etc/rc.d/drm.sh
3) load the AGP kld if it's not already loaded: kldload agp.ko
if you want, add agp_load="YES" to your /boot/loader.conf
4) /usr/local/etc/rc.d/drm.sh start
5) put
Load "dri"
in the "Module" section of your /etc/X11/XF86Config
6) start up X
7) run glxinfo|grep "direct rendering", and make sure that that shows
that dri is running.
8) install anything that uses gl, and enjoy.

or, just read http://people.freebsd.org/~anholt/dri/install.html and
follow the directions there ::)

-Adam


>> (07.23.2002 @ 1305 PST): Kevin Oberman said, in 0.5K: <<
> I DRI available for ATI Radeons? If so, can anyone tell me what needs
> to be loaded/configured to do it? Running -stable and the current
> XFree86 Server port.
> 
> Thanks,
> 
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: [EMAIL PROTECTED]Phone: +1 510 486-8634
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
>> end of "Availability of DRI on Radeon Mobility M7" from Kevin Oberman <<


--
"Oh good, my dog found the chainsaw."
-Lilo, "Lilo & Stitch"
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



using burncd

2002-07-23 Thread karl agee

When using burncd, is it necessary to first create a iso fs on the cd?? 
It's not clear in the man page if it does this or not.

--karl




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how to capture bootup messages?

2002-07-23 Thread Ed Yu

Thanks Dan. I tried it and it does scroll back. Is
there a way to set the number of saved lines? It
doesn't allow me to scroll all the way the the
beginning. Is there a way to set it so that all the
messages can be saved to a file instead?

--- Dan Nelson <[EMAIL PROTECTED]> wrote:
> In the last episode (Jul 23), Ed Yu said:
> > When the machine boots up, I get whole bunch of
> > messages at console (Ctrl-Alt-F1) Some of it is in
> > dmesg but the rest (with the daemon start info) is
> > lost. Are they saved anywhere? If not, how do it
> put
> > them in a log file so I can read them after the
> bootup
> > process is done. BTW, is there a way to scroll the
> > boot up messages at Ctrl-Alt-F1 console? Page Up
> and
> > Page Down doesn't work.
> 
> Hit scroll-lock first; then you can page up.  
> 
> -- 
>   Dan Nelson
>   [EMAIL PROTECTED]


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how do i stop fsck from autochecking?

2002-07-23 Thread Brian T. Schellenberger

On Tuesday 23 July 2002 09:23 pm, David Smithson wrote:
| Doh.
|
| > to enable it.  Background fsck is only available in -current.
|
| -current?  Hmmm...I probably shouldn't put current on this mission critical
| file-server.  What do you think?

Of course not.

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how to capture bootup messages?

2002-07-23 Thread Dan Nelson

In the last episode (Jul 23), Ed Yu said:
> When the machine boots up, I get whole bunch of
> messages at console (Ctrl-Alt-F1) Some of it is in
> dmesg but the rest (with the daemon start info) is
> lost. Are they saved anywhere? If not, how do it put
> them in a log file so I can read them after the bootup
> process is done. BTW, is there a way to scroll the
> boot up messages at Ctrl-Alt-F1 console? Page Up and
> Page Down doesn't work.

Hit scroll-lock first; then you can page up.  

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: diff patch

2002-07-23 Thread Brian T. Schellenberger

On Tuesday 23 July 2002 07:30 pm, Kevin Kinsey, DaleCo, S.P. wrote:
| patch diff.txt > orig.file

Please don't top-post on this list.

Also, that's not the right patch syntax.  It's

patch < diff-file

(the patch should have the source file to which it applies already embedded in 
the patch)

If the file name isn't embedded, then you can do it as

patch orig.file diff-file

but never redirect *out* of patch.


-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how do i stop fsck from autochecking?

2002-07-23 Thread Dan Nelson

In the last episode (Jul 23), David Smithson said:
> Doh.
> 
> > to enable it.  Background fsck is only available in -current.
> 
> -current?  Hmmm...I probably shouldn't put current on this mission critical
> file-server.  What do you think?

Not while KSE is being brought in.  There are miscellaneous locking
problems and panics waiting to bite the unsuspecting user.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: howto apply a diff file

2002-07-23 Thread Brian T. Schellenberger

On Tuesday 23 July 2002 08:11 pm, Brian T. Schellenberger wrote:
| On Tuesday 23 July 2002 06:19 pm, Jon Reynolds wrote:
| | I am new to freebsd and I need to update PHP because of the security hole
| | found in it. I believe that I can use a diff file to update it without
| | having to completely redownload and recompile it, is this right? I also
| | have never tried this before and I can't find good documentation on how
| | to do it. Can someone point me to a good doc or howto?
|
| No, a diff file applies to source, not exeutable, so if you have a diff
| file, you'll need to get the source.
|
| I recommend the following:
|
| pkg_info   # eg, pkg_info 'php*' to verify
| pkg_delete #what this will do
|
| cd /usr/ports/*/  # if ambiguous, figure out which you want
| make patch
| cd work
| cd 
| path < diff-file

oops!  That should be "patch < diff-file"

| cd /usr/ports/*/
| make install
|
| That said, it's entirely likely that this will have already been applied to
| the port, in which case you can just cvsup (or just grab the updated port
| from the FTP site), and then
|
| pkg_delete 'foo*'
| cd /usr/ports/*/whatever
| make install
|
| | Jon
| |
| |
| | To Unsubscribe: send mail to [EMAIL PROTECTED]
| | with "unsubscribe freebsd-questions" in the body of the message

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Job security??

2002-07-23 Thread joan

Easy 30-50% Return?

Learn how you can receive a monthly check for 3, 4, or 5%
a month until your initial investment is paid off...then a
monthly check for over 4% a month for years to come...

We know it sounds impossible, but it's happening today.

For complete information on this 
multi-trillion dollar industry:

http://market.pakoa.com/cl6

To Opt Out:

Please go to our ""opt-out"" WEBSITE:

http://www243.wiildaccess.com/optout.html

 [0BK5NKIYs5]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



where is /dev/ukbd0

2002-07-23 Thread Ed Yu

I see the following at dmesg:
ukbd0: Sun Microsystems Type 6 USB keyboard, rev
1.00/1.01, addr 3, iclass 3/1
kbd1 at ukbd0

but I don't see /dev/ukbd0, why?

thanks.

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



how to capture bootup messages?

2002-07-23 Thread Ed Yu

When the machine boots up, I get whole bunch of
messages at console (Ctrl-Alt-F1) Some of it is in
dmesg but the rest (with the daemon start info) is
lost. Are they saved anywhere? If not, how do it put
them in a log file so I can read them after the bootup
process is done. BTW, is there a way to scroll the
boot up messages at Ctrl-Alt-F1 console? Page Up and
Page Down doesn't work.

thanks

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



/var/run/printer?

2002-07-23 Thread Ed Yu

When I try to run 'lpc restart all',
it shows lp:
  cannot open lock file
lp:
lpc: unable to connect to /var/run/printer: no such
file or directory
lpc: check to see if the master 'lpd' process is
running.
couldn't start daemon


However, ps aux shows that lpd is running
daemon 138 lpd: lpd waiting(lpd)

ls -l /var/run shows
lpd.515 and lprng but no /var/run/printer

I read that /var/run/printer should be created by lpd
but it is not. Why?

Please help. thanks.


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Gnome2 build problem SOLVED! Thanks Joe!

2002-07-23 Thread Steve Wingate

On Tuesday 23 July 2002 02:38 pm, [EMAIL PROTECTED] wrote:
> All -
>
> I'd like to thank Joe Marcus Clarke for his assistance in getting past the
> fact that a repeated error building gconf-editor was keeping me from
> getting to Gnome2. The culprit was yet another outdated /usr/X11R6/include
> directory (gdk-pixbuf, to be precise).
>
Joe has been a big help to me several times. He's a good guy to have on the 
team.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how do i stop fsck from autochecking?

2002-07-23 Thread David Smithson

Doh.

> to enable it.  Background fsck is only available in -current.

-current?  Hmmm...I probably shouldn't put current on this mission critical
file-server.  What do you think?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: howto apply a diff file

2002-07-23 Thread Brian T. Schellenberger

On Tuesday 23 July 2002 06:19 pm, Jon Reynolds wrote:
| I am new to freebsd and I need to update PHP because of the security hole
| found in it. I believe that I can use a diff file to update it without
| having to completely redownload and recompile it, is this right? I also
| have never tried this before and I can't find good documentation on how to
| do it. Can someone point me to a good doc or howto?

No, a diff file applies to source, not exeutable, so if you have a diff file, 
you'll need to get the source.

I recommend the following:

pkg_info   # eg, pkg_info 'php*' to verify
pkg_delete #what this will do

cd /usr/ports/*/  # if ambiguous, figure out which you want
make patch
cd work
cd 
path < diff-file
cd /usr/ports/*/
make install

That said, it's entirely likely that this will have already been applied to 
the port, in which case you can just cvsup (or just grab the updated port 
from the FTP site), and then

pkg_delete 'foo*'
cd /usr/ports/*/whatever
make install


|
| Jon
|
|
| To Unsubscribe: send mail to [EMAIL PROTECTED]
| with "unsubscribe freebsd-questions" in the body of the message

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how do i stop fsck from autochecking?

2002-07-23 Thread David Smithson


Wah!

> Run "tunefs -n enable /dev/whatever" on an unmounted or R/O filesystem
> to enable it.  Background fsck is only available in -current.

Must upgrade to current.  Must have bg fsck.  Clients are waiting and I am
the end of the line.  I guess it'll be another late night.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Missing Disk Space

2002-07-23 Thread Brian T. Schellenberger


It looks like you could use disklabel to allocate cylinders 2872-3377 to 
partition d.  (And then newfs it.)

So just set up a partition d with an offset of 46129152 (that's 2097152 + 
44032000) and a size of 8142848 (that's 54272000 - 46129152).

I've done this on a "live" system before, though I believe that you must 
reboot before you can actually "newfs" the space.  At any rate, I would 
strongly *recommend* rebooting after doing the disklabel and before doing the 
newfs, and doing a "sanity check" on the new disklabel before actually doing 
the newfs.  For the sanity check, verify that nothing overlap--check both the 
comments *and* the actual size/offset values (dc is nice for this 'cause you 
can copy-and-paste the size and offset and then just add "+ p" instead of 
having to edit it into the middle of the string).

Call me paranoid, but there's nothing worse than newfs'ing the wrong disk 
space and I got burned by a version of Linux once that permitted me to have 
two overlapping partitions on the disk.  You can probably imagine the sort of 
chaos that *that* caused.

Once you've got the partitions, newfs, add it to fstab and away you go!




On Tuesday 23 July 2002 08:15 pm, Grant Peel wrote:
| Hi all,
|
| I am reposting this assuming no one who knows the answer read the first
| post.
|
| If anyone can assist, I would be greatful!
|
| Hi all,
|
| I have a 34 G RAID 5 array. (3 disks of 18 each).
|
| My current filesystems setup do not use all available space. By my
| calculations I am wasting 7 GB of disk space that does not appear to be
| used on any slice or filesystem.
|
| The machine that this is on is productive (quite live).
|
| My question is, how do I safely allocate this space to one or more of the
| filesytems withour risking damage?
|
| FreeBSD 4.4
|
| Here is the disklabel output:
|
| mybox# disklabel -r amrd0s1
| # /dev/amrd0s1c:
| type: ESDI
| disk: amrd0s1
| label:
| flags:
| bytes/sector: 512
| sectors/track: 63
| tracks/cylinder: 255
| sectors/cylinder: 16065
| cylinders: 4404
| sectors/unit: 70766262
| rpm: 3600
| interleave: 1
| trackskew: 0
| cylinderskew: 0
| headswitch: 0   # milliseconds
| track-to-track seek: 0  # milliseconds
| drivedata: 0
|
| 8 partitions:
| #size   offsetfstype   [fsize bsize bps/cpg]
|   a:  102400004.2BSD0 0 0   # (Cyl.0 - 63*)
|   b:  2048000  1024000  swap# (Cyl.   63*-
| 191*) c: 707662620unused0 0 # (Cyl.0 -
| 4404*)
|   e: 1024  30720004.2BSD0 0 0   # (Cyl.  191*-
| 828*) f: 3072 133120004.2BSD0 0 0   # (Cyl.  828*-
| 2740*)
|   g:  2097152 440320004.2BSD0 0 0   # (Cyl. 2740*-
| 2871*)
|   h: 16494262 542720004.2BSD0 0 0   # (Cyl. 3378*-
| 4404*)
| mybox#
|
| -Grant
|
| Grant W. Peel
| Server Administrator
| The Net Now -- Expresshost
| http://thenetnow.com
| [EMAIL PROTECTED]
|
|
|
| To Unsubscribe: send mail to [EMAIL PROTECTED]
| with "unsubscribe freebsd-questions" in the body of the message

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how do i stop fsck from autochecking?

2002-07-23 Thread Dan Nelson

In the last episode (Jul 23), David Smithson said:
> > Hit ^C.  If the filesystem was not mounted with softupdates
> > enabled, though, you won't want to write to it until you finish
> > fsck'ing it.  If SU were enabled, you can safely put off the fsck
> > until later (dismount the filesystem first).
> 
> Mmmm...soft updates.  Er...what is(are) softupdates?  

http://www.mckusick.com/softdep/

Run "tunefs -n enable /dev/whatever" on an unmounted or R/O filesystem
to enable it.  Background fsck is only available in -current.


-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: spamass-milter

2002-07-23 Thread Dan Nelson

In the last episode (Jul 24), Michael Grant said:
> I installed spamass-milter from ports.
> 
> I followed the instructions, installing the line: 
> 
> INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass/spamass-milter.sock, 
>F=,T=C:15m;S:4m;R:4m;E:10m')
> 
> The socket is there.  The spamd is running.  I'm running freebsd 4.6
> which should have libmilter in sendmail.  (a strings on
> /usr/libexec/sendmail/sendmail confirms this).
> 
> When I send a test spam, logging in /var/log/maillog shows:
> 
>   spamd[5955]: info: setuid to root succeeded 
>   spamd[5955]: Still running as root: user not specified, not found, or set to root. 
> Fall back to nobody.

You should only see that once, when you start it.  Each email should
put something like this in maillog:

Jul 23 00:12:58 <2.6> dan spamd[852]: connection from localhost [ 127.0.0.1 ] at port 
61541 
Jul 23 00:13:00 <2.6> dan spamd[81022]: clean message (2.3/8.0) for root:26 in   2 
seconds, 6170 bytes. 
Jul 23 00:13:00 <2.6> dan sm-mta[81020]: g6N5Cvfs081020: Milter change: header  
X-Spam-Status: (etc)
Jul 23 00:13:00 <2.6> dan sm-mta[81020]: g6N5Cvfs081020: Milter change: header  
X-Spam-Level: (etc)

Is the milter running?  You have to start it separately from sendmail.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how do i stop fsck from autochecking?

2002-07-23 Thread David Smithson

Hi Dan.

> Hit ^C.  If the filesystem was not mounted with softupdates enabled,
> though, you won't want to write to it until you finish fsck'ing it.  If
> SU were enabled, you can safely put off the fsck until later (dismount
> the filesystem first).

Mmmm...soft updates.  Er...what is(are) softupdates?  


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



spamass-milter

2002-07-23 Thread Michael Grant

I installed spamass-milter from ports.

I followed the instructions, installing the line: 

INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass/spamass-milter.sock, 
F=,T=C:15m;S:4m;R:4m;E:10m')

The socket is there.  The spamd is running.  I'm running freebsd 4.6
which should have libmilter in sendmail.  (a strings on
/usr/libexec/sendmail/sendmail confirms this).

When I send a test spam, logging in /var/log/maillog shows:

  spamd[5955]: info: setuid to root succeeded 
  spamd[5955]: Still running as root: user not specified, not found, or set to root.  
Fall back to nobody.

Yet spamd never adds the x-spam header to my mails.

I see that spamd definitely examins the message if I run it in debug
mode.  It's as if the message once processed by spamd is discarded and 
the original is delivered.

I'm running procmail as a mailer to deliver mail locally, could that
be interfearing?

Michael Grant

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how do i stop fsck from autochecking?

2002-07-23 Thread Dan Nelson

In the last episode (Jul 23), David Smithson said:
> Hi all.  
> 
> How do I abort an auto-check on boot if a computer was shutdown
> improperly?

Hit ^C.  If the filesystem was not mounted with softupdates enabled,
though, you won't want to write to it until you finish fsck'ing it.  If
SU were enabled, you can safely put off the fsck until later (dismount
the filesystem first).

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Mission Accomplished!!!

2002-07-23 Thread karl agee

heh.  Thanks to y'all I finally accomplished my goal--I've got my DP-1
kernel recompiled for sound and updated my system to -current AND I am
listening to a cd on my freebsd box.

heh heh

Not bad for an old fart geek, eh?

--karl




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



how do i stop fsck from autochecking?

2002-07-23 Thread David Smithson

Hi all.  

How do I abort an auto-check on boot if a computer was shutdown improperly?

--
David Smithson - Systems Administrator
Custom Film Effects




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: How Does CHECKSUM.MD5 Work?

2002-07-23 Thread Mark Hummel

Jeremy,

Thanks for the quick response.  I downloaded the *.ISO files.  Then I burned the
first CD from the image file.  The root directory of the CD has no CHECKSUM.MD5
file, but there are many of these files within several of the directories none of
which even come close to matching the CHECKSUM.MD5 file on the ftp site which I
printed to compare.  What exactly am I missing?

Mark

Jeremy Faulkner wrote:

> On Tue, Jul 23, 2002 at 06:35:39PM -0500, Mark Hummel wrote:
> > Hi,
> >
> > I've just downloaded the ISO images for 4.6r and intend to burn the
> > complete 4 CD set this evening.  I understand what a checksum is from my
> > old BBS days so I assume I somehow use CHECKSUM.MD5 to verify the
> > downloads.  If this is correct, how do I do this?
> >
> > Please respond to my email address in addition to the mailing list.
> > Thank you
> >
> > Mark
>
> You read the CHECKSUM.MD5 file (it's plain text) and compare the md5 checksum
> stored there in with the md5 checksum of the file's you downloaded.
>
> --
> Jeremy Faulknerhttp://www.gldis.ca


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Missing Disk Space

2002-07-23 Thread Grant Peel

Hi all,

I am reposting this assuming no one who knows the answer read the first
post.

If anyone can assist, I would be greatful!

Hi all,

I have a 34 G RAID 5 array. (3 disks of 18 each).

My current filesystems setup do not use all available space. By my
calculations I am wasting 7 GB of disk space that does not appear to be used
on any slice or filesystem.

The machine that this is on is productive (quite live).

My question is, how do I safely allocate this space to one or more of the
filesytems withour risking damage?

FreeBSD 4.4

Here is the disklabel output:

mybox# disklabel -r amrd0s1
# /dev/amrd0s1c:
type: ESDI
disk: amrd0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 4404
sectors/unit: 70766262
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  102400004.2BSD0 0 0   # (Cyl.0 - 63*)
  b:  2048000  1024000  swap# (Cyl.   63*- 191*)
  c: 707662620unused0 0 # (Cyl.0 -
4404*)
  e: 1024  30720004.2BSD0 0 0   # (Cyl.  191*- 828*)
  f: 3072 133120004.2BSD0 0 0   # (Cyl.  828*-
2740*)
  g:  2097152 440320004.2BSD0 0 0   # (Cyl. 2740*-
2871*)
  h: 16494262 542720004.2BSD0 0 0   # (Cyl. 3378*-
4404*)
mybox#

-Grant

Grant W. Peel
Server Administrator
The Net Now -- Expresshost
http://thenetnow.com
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: make installworld fails with mergemaster errors - 4.4Rel upgradeto 4.6 Stable

2002-07-23 Thread Doug Barton

On Wed, 24 Jul 2002 [EMAIL PROTECTED] wrote:

>
> Hello,
>   I've just done a fresh install of 4.4Rel, and I'm trying to upgrade to
> the latest stable.
>
> In single user mode [using shutdown now] having dropped from multiuser mode -
> All went well until I got to "make installworld". I hit the issue mentioned in
> UPDATING 20020404 about the new Sendmail user smmsp. I followed the advice to:
> cd /usr/src/usr.sbin/mergemaster; make install clean

The "clean" there is the problem. What UPDATING actually says is:

cd /usr/src/usr.sbin/mergemaster; make all install [clean]

I'll delete that altogether, as it's misleading and potentially dangerous.

-- 
   "We have known freedom's price. We have shown freedom's power.
  And in this great conflict, ...  we will see freedom's victory."
- George W. Bush, President of the United States
  State of the Union, January 28, 2002

 Do YOU Yahoo!?



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: How Does CHECKSUM.MD5 Work?

2002-07-23 Thread Jeremy Faulkner

On Tue, Jul 23, 2002 at 06:35:39PM -0500, Mark Hummel wrote:
> Hi,
> 
> I've just downloaded the ISO images for 4.6r and intend to burn the
> complete 4 CD set this evening.  I understand what a checksum is from my
> old BBS days so I assume I somehow use CHECKSUM.MD5 to verify the
> downloads.  If this is correct, how do I do this?
> 
> Please respond to my email address in addition to the mailing list.
> Thank you
> 
> Mark

You read the CHECKSUM.MD5 file (it's plain text) and compare the md5 checksum
stored there in with the md5 checksum of the file's you downloaded.

-- 
Jeremy Faulkner http://www.gldis.ca

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



USB Ethernet (kue) Throughput

2002-07-23 Thread Warren Block

Device: Netgear EA101 USB-to-Ethernet adapter.  It's known to work with
FreeBSD; for $9 new, how could I go wrong?

A Windows notebook was available for the first test (Windows 98, AMD
K6-2 333).  Getting a file from a FreeBSD FTP server, it managed
875K/sec.

On a similar notebook (Toshiba PII-300) running FreeBSD 4.6-Stable,
getting the same file from the same server, the best it could do was
273K/sec.

Maybe just a difference in the machines?  The Windows version may use
100% CPU. 8-)  Is there something that can be tuned for the kue
driver?  There aren't any media options; it's half-duplex, 10BaseT.

(Incidentally, this unit isn't much larger than the standard
Ethernet "dongle" cable.  Yet you don't have to fight with PCCard
interrupts or lose a PCCard slot.)

-Warren Block * Rapid City, South Dakota USA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



How Does CHECKSUM.MD5 Work?

2002-07-23 Thread Mark Hummel

Hi,

I've just downloaded the ISO images for 4.6r and intend to burn the
complete 4 CD set this evening.  I understand what a checksum is from my
old BBS days so I assume I somehow use CHECKSUM.MD5 to verify the
downloads.  If this is correct, how do I do this?

Please respond to my email address in addition to the mailing list.
Thank you

Mark


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Step by step securing web server/ A/V live streaming

2002-07-23 Thread J. C.

I am a newbie and wanted to know if FreeBSD is the
most secure OS?  I want to use it as a web server and
nothing else.  Is there a step by step method of
locking the OS down.  Any books or links?  

If I am doing Microsoft Media video/audio streaming
640x480 300kbps streams what kind of computer can I
use? There will be about 2000+ users connecting to our
website where they can watch the stream that will be
embeded in the webpage.

In the above case does the streaming server have to be
big or the web server or both?  If someone could give
me specs on what kind of cpu to use for both it would
be most appreciated.

Thank you
John

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: diff patch

2002-07-23 Thread Kevin Kinsey, DaleCo, S.P.

patch diff.txt > orig.file

HTH,

KDK

- Original Message -
From: "Jon Reynolds" <[EMAIL PROTECTED]>
To: "'questions@FreeBSD. ORG'" <[EMAIL PROTECTED]>
Sent: Tuesday, July 23, 2002 5:45 PM
Subject: diff patch


> I am fairly new to FreeBSD and I am trying to figure out how to do a patch
> using a diff file. I have read the patch man page and this is what I am
> thinking I am going to type on the command line in the directory of the
> program to make it work: 'patch php-4.2.1 php-4.2.1-to-4.2.2.patch' Is
this
> correct or do I have to also put the original file at the end also 'patch
> php-4.2.1 php-4.2.1-to-4.2.2.patch php-4.2.1'? Sorry if this is something
> simple but it is not simple to me.
>
> Jon
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: MP3 Conversion Port?

2002-07-23 Thread Dan Nelson

In the last episode (Jul 23), Gary Dunn said:
> On Tue, 2002-07-23 at 05:16, Dan Nelson wrote:
> ...
> > remember you're going to lose quite a bit of quality, as lame will
> > try and encode the artifacts on the first mp3, plus add its own as
> > it tries to lower the bitrate.  Don't re-encode unless you need to
> > play them on something that simply can't handle the higher bitrate.
> 
> Such as?  BTW, this is related to why JPEG files cannot be edited
> without turning weird.

I was thinking of portable mp3-players that might only expect to be
handed low-bitrate mpegs generated by the software that came with them. 
I don't know if any exist that can't handle high bitrates, though.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: No DFP Detected

2002-07-23 Thread Dan Nelson

In the last episode (Jul 23), Michael Wells said:
> I have been working on this one all day and can't seem to come to a
> resolution.  Any help would be greatly appreciated.  I am going to
> attach my log file so you can see the error for yourself.  I know
> that DFP means digital flat panel, but I am not sure where this is
> getting set?  I have gone over my XF86Config file about a thousand
> times and there is nothing there that claims such.  The intriguing
> part about all this is if I try and run KDE it core dumps and causes
> the machine to reboot!  Thanks in advance for any leads on this one.

Your problem is probably someplace else.  The "no DFP" message just
means that the rage128 chipset is capable of driving a flat panel
display, but none was found.  It shouldn't be an EE error, since I've
seen it on all the r128-based video cards I've used and it hasn't
caused me any problems.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable

2002-07-23 Thread sroberts


Hello,
  I've just done a fresh install of 4.4Rel, and I'm trying to upgrade to 
the latest stable.

In single user mode [using shutdown now] having dropped from multiuser mode -
All went well until I got to "make installworld". I hit the issue mentioned in 
UPDATING 20020404 about the new Sendmail user smmsp. I followed the advice to:
cd /usr/src/usr.sbin/mergemaster; make install clean
mergemaster -p

I used the "i" option to install each of the temporary files that appeared.

I then ran "make installworld", which fails with the following:

===> usr/sbin/mergemaster
install -c -o root -g wheel -m 444 mergemaster8.gz /usr/share/man/man8

install: mergemaster.8.gz : No such file or directory
*** Error Code 71

Stop in /usr/src/usr.sbin/mergemaster.
*** Error Code 1

Stop in /usr/src/usr.sbin.
*** Error Code 1

Can someone help with this please? If its documented in UPDATING, I figure 
there should be a procedure out of this out there.

Stacey





- End forwarded message -




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Making bind listen only to loopback interface

2002-07-23 Thread Giorgos Keramidas

On 2002-07-24 08:47 +, BSD Freak wrote:
> Is there any quick and easy way to make BIND (the version shipped with
> 4.5-R and later) listen only the the loopback interface address (ie
> 127.0.0.1) instead of all available addresses?

Yes.  As a matter of fact this is how I run my caching BIND at home.
You want to look up the description of the listen-on option.  An
example of using the option in named.conf could be:

options {
listen-on { 127.0.0.1/32; };
};

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Making bind listen only to loopback interface

2002-07-23 Thread BSD Freak

Hi all,

Is there any quick and easy way to make BIND (the version shipped with
4.5-R and later) listen only the the loopback interface address (ie
127.0.0.1) instead of all available addresses?


Thanks in advance.

-
Faxes delivered directly to any email address, new to mBox!
Find out more http://www.mbox.com.au/fax

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



diff patch

2002-07-23 Thread Jon Reynolds

I am fairly new to FreeBSD and I am trying to figure out how to do a patch
using a diff file. I have read the patch man page and this is what I am
thinking I am going to type on the command line in the directory of the
program to make it work: 'patch php-4.2.1 php-4.2.1-to-4.2.2.patch' Is this
correct or do I have to also put the original file at the end also 'patch
php-4.2.1 php-4.2.1-to-4.2.2.patch php-4.2.1'? Sorry if this is something
simple but it is not simple to me.

Jon


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: amavis / qmail setuid problem

2002-07-23 Thread Paulo Roberto

--- Eirik Nygaard <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 23, 2002 at 01:07:44PM -0700, Paulo Roberto wrote:
> > Hello,
> > 
> > I am having some problems with amavis on FreeBSD 4.6. I installed
> the
> > ports (qmail also) and when I try to retrieve any messages thru
> pop3,
> > my email client (and also my logs of course!) reports the following
> > error: "Can?t do setuid". I did some search and it seems that it is
> not
> > possible to run a script (amavis-perl) with setuid on 4.6.
> > Did anyone get amavis + qmail running on 4.6 without recompiling
> the
> > kernel with that option that enables setuid? 
> > Any tips?
> > 
> > TIA
> > 
> > Paulo Roberto
> > 
> Have you set the suidbit on the suidperl program?
> chmod +s /usr/bin/suidperl

Yup, done that before. Still no luck.

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



ada

2002-07-23 Thread Henning, Brian

hello-
I would like to add the functionality to my gcc compiler to compile ada
programs. I know there is a compiler out there called gnat. Is it possible
to reinstall gcc with the enbeded compiler for ada?
thanks,
brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Wireless and FreeBsd

2002-07-23 Thread Greg 'groggy' Lehey

On Monday, 22 July 2002 at 23:51:16 -0700, Ken wrote:
> Hello,
> Has anybody tried any of the wireless network cards with FreeBsd ?

Yes.

> I'm considering one of the Dlink wireless setups for home. I have 1
> windows box and 1 freebsd box. I'm sure the windows box would have no
> problems.

I'm sure the FreeBSD box would have no problems.  You should be aware
of configuration issues, though.  Normally if you use a base station
you're OK.  If you want to use "ad-hoc" mode, you should be aware that
there are two different definition of "ad-hoc".  There's "demo ad-hoc"
mode which has a number of restrictions, and there's IBSS mode, which
works with Microsoft.  I don't know if Microsoft has any support for
demo ad-hoc mode.

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: What does this mean?

2002-07-23 Thread Jack L. Stone

At 05:15 PM 7.23.2002 -0500, Tim wrote:
>On Tuesday 23 July 2002 05:11 pm, Jack L. Stone wrote:
>> Running FBSD 4.5-RELEASE
>>
>> Just looked at "dmesg" and noticed this at the end of the output:
>> Limiting open port RST response from 261 to 200 packets per second
>> Limiting open port RST response from 312 to 200 packets per second
>> Limiting open port RST response from 282 to 200 packets per second
>> Limiting open port RST response from 281 to 200 packets per second
>> Limiting open port RST response from 264 to 200 packets per second
>> Limiting open port RST response from 226 to 200 packets per second
>>
>> What is this Open port
>>
>> Best regards,
>> Jack L. Stone,
>> Administrator
>>
>> SageOne Net
>> http://www.sage-one.net
>> [EMAIL PROTECTED]
>>
>> To Unsubscribe: send mail to [EMAIL PROTECTED]
>> with "unsubscribe freebsd-questions" in the body of the message
>
>Your were being port scanned, probably by yourself too. :) Been there, done 
>that.
>
>There is a safety feature built in to limit the number of packets per second 
>handled by the system.
>
>Tim
>
Thanks, for the quick reply, Tim... whew! First time to see that

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



howto apply a diff file

2002-07-23 Thread Jon Reynolds

I am new to freebsd and I need to update PHP because of the security hole
found in it. I believe that I can use a diff file to update it without
having to completely redownload and recompile it, is this right? I also have
never tried this before and I can't find good documentation on how to do it.
Can someone point me to a good doc or howto?

Jon


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: What does this mean?

2002-07-23 Thread Tim

On Tuesday 23 July 2002 05:11 pm, Jack L. Stone wrote:
> Running FBSD 4.5-RELEASE
>
> Just looked at "dmesg" and noticed this at the end of the output:
> Limiting open port RST response from 261 to 200 packets per second
> Limiting open port RST response from 312 to 200 packets per second
> Limiting open port RST response from 282 to 200 packets per second
> Limiting open port RST response from 281 to 200 packets per second
> Limiting open port RST response from 264 to 200 packets per second
> Limiting open port RST response from 226 to 200 packets per second
>
> What is this Open port
>
> Best regards,
> Jack L. Stone,
> Administrator
>
> SageOne Net
> http://www.sage-one.net
> [EMAIL PROTECTED]
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

Your were being port scanned, probably by yourself too. :) Been there, done 
that.

There is a safety feature built in to limit the number of packets per second 
handled by the system.

Tim

-- 
FreeBSD 4.6-RELEASE
 5:13PM  up 10:33, 1 user, load averages: 0.00, 0.00, 0.00

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: PHP Installation Issues

2002-07-23 Thread Roman Neuhauser

> Subject: Re: PHP Installation Issues
> From: Gary Dunn <[EMAIL PROTECTED]>
> To: Mark Rowlands <[EMAIL PROTECTED]>
> Cc: MET <[EMAIL PROTECTED]>,
>   freebsd-questions <[EMAIL PROTECTED]>
> Date: 23 Jul 2002 12:04:05 -1000
> 
> On Tue, 2002-07-23 at 10:58, Mark Rowlands wrote:
> 
> > 
> > er why not use ports?.. 
> > 
> > cd /usr/ports/www/apache2
> > make -DWITH_APXS install clean
> > cd /usr/ports/www/mod_php4
> > make -DWITH_APACHE2 install clean
> 
> How did you know to use those -D flags? I agree that using ports is
> often best, but I would not have known about those and so probably my
> attempt would have failed.

just read the makefiles!
% $PAGER /usr/ports/www/apache2/Makefile
% $PAGER /usr/ports/www/mod_php4/Makefile

-- 
FreeBSD 4.6-STABLE
12:14AM up 7 days, 10:33, 7 users, load averages: 0.41, 0.19, 0.11

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



What does this mean?

2002-07-23 Thread Jack L. Stone

Running FBSD 4.5-RELEASE

Just looked at "dmesg" and noticed this at the end of the output:
Limiting open port RST response from 261 to 200 packets per second
Limiting open port RST response from 312 to 200 packets per second
Limiting open port RST response from 282 to 200 packets per second
Limiting open port RST response from 281 to 200 packets per second
Limiting open port RST response from 264 to 200 packets per second
Limiting open port RST response from 226 to 200 packets per second

What is this Open port

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linux compatability broken?

2002-07-23 Thread Roman Neuhauser

> Date: Tue, 23 Jul 2002 16:35:38 -0500 (EST)
> From: Eric Dedrick <[EMAIL PROTECTED]>
> To: Roman Neuhauser <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Subject: Re: linux compatability broken?
> 
> > > Date: Tue, 23 Jul 2002 10:52:49 -0500 (EST)
> > > From: Eric Dedrick <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Subject: linux compatability broken?
> > >
> > > I recently made a few kernel changes so I remade world.
> > >
> > > It would seem that linux compatability is now broken.  At first things
> > > were complaining about the fact that ld-linux.so.2 got moved.  After I
> > > made symbolic links things failed with a bad system call signal 12.
> > >
> > > Weren't all of my modules, including the compatibility ones, updated with
> > > make world?
> >
> > barring a knob in (IIRC) /etc/make.conf, kernel modules are built
> > and installed during make buildkernel and make installkernel,
> > respectively
> 
> Okay, so any guesses why my linux compatiability would break?

no idea, really. i don't use any linux apps atm.

-- 
FreeBSD 4.6-STABLE
12:08AM up 7 days, 10:27, 7 users, load averages: 0.05, 0.10, 0.07

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: PHP Installation Issues

2002-07-23 Thread Gary Dunn

On Tue, 2002-07-23 at 10:58, Mark Rowlands wrote:

> 
> er why not use ports?.. 
> 
> cd /usr/ports/www/apache2
> make -DWITH_APXS install clean
> cd /usr/ports/www/mod_php4
> make -DWITH_APACHE2 install clean

How did you know to use those -D flags? I agree that using ports is
often best, but I would not have known about those and so probably my
attempt would have failed.

-- 

  Gary Dunn
  Open Slate Project
  http://www.aloha.com/~knowtree/
  Honolulu
  registered Linux user #273809

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: building a 4.6-STABLE

2002-07-23 Thread Terry Todd

On Tue, Jul 23, 2002 at 10:58:32AM -0500, Terry Todd wrote:
> On Tue, Jul 23, 2002 at 04:34:07PM +, Wayne Pascoe wrote:
> > Terry Todd <[EMAIL PROTECTED]> writes:
> > 
> > > I have been trying to build a 4.6-STABLE system for the past few days.
> > > 
> > > I have downloaded a complete source tree and ran make world.  It completes
> > > with no errors.
> > > 
> > > However, when I run cvsup and then run make world it fails as follows:
> > > /usr/local/bin/cvsup -g -L 2 -P - /etc/cvsupfile
> > 


Problem solved.

rm -rf /usr/src and installing a fresh clean src tree worked wonders.

Terry Todd


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Cloning FreeBSD

2002-07-23 Thread Jack L. Stone

At 11:32 AM 7.23.2002 -1000, Gary Dunn wrote:
>On Tue, 2002-07-23 at 06:50, Jack L. Stone wrote:
>> At 12:31 PM 7.23.2002 -0400, Bertel, Markus R wrote:
>> >23
>> >Jul 02
>> >
>> >Dear Sir/Ma'am
>> >
>> > We have been using FreeBSD for a few years and have been so far very
>> >satisfied in its performance.  We would like to make a back up of the hard
>> >drive that has FreeBSD and its configuration.  Is there a disk cloning
>> >software that would work and be compatable with FreeBSD where we could
copy
>> >from one disk to another disk?  Thank you for your input.
>> >
>> >Regards
>> >Markus R Bertel
>> >
>> See DD(1) to copy an exact image to another HD. Be aware that HD #2 (copy
>> to) needs to be equal to or larger than HD #1 (copy from).
>
>What device name would I use? Let's say I have two SCSI drives. Would I
>use /dev/da0 and /dev/da1, or /dev/da0s1 and /dev/da1s1?
>
>-- 
>
>  Gary Dunn
>  Open Slate Project
>  http://www.aloha.com/~knowtree/
>  Honolulu
>  registered Linux user #273809
>
To clone a HD to another, this is an example of a command for HD1 to HD2:
dd if=/dev/ad0 of=/dev/ad1 bs=8192

...which is what I use for 40GB IDEs. In place of the ad0 and ad1, for
SCSI, I believe it is "da0" for HD1... look at /etc/fstab and use the info
for the device (exclude the slice #"s1a" etc...) there or from "dmesg"

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



obtaining freebsd

2002-07-23 Thread Scruf34

Yes i have already looked at the handbook. I need to ger freebsd for free but 
not offline because it will take too long. Do you know of anywhere who sends 
it out for free?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Firewall and DMZ

2002-07-23 Thread Crist J. Clark

On Tue, Jul 23, 2002 at 04:23:55PM -0300, Tobias P. Santos wrote:
> Hello,
> I would like to implement a firewall to my DMZ network, but
> I am not sure about how to do it.
> 
>   +--+
>   | Internet | 123.456.789.254
>   +--+
>|
>   +--+
>   | FreeBSD Firewall | 123.456.789.4
>   +--+
>|
>  +-+---+
>  | |   |
>  | |   |
>  | |   |
> +--+  +-+  ++
> |   DNS|  |   Web   |  | E-mail |
> |  Server  |  |  Server |  | Server |
> +--+  +-+  ++
> 123.456.789.1 123.456.789.2 123.456.789.3
> 
> 
> I know it is pretty easy to build ipfw rules when we have natd
> (for my internal network for example), but I haven't figured out how to
> forward packets between interfaces on the same network with valid IP
> addresses.

'Cause that's bridging, not routing.

> So, where should I start from? Is there a software to do that?

You can try to set up bridging. Or you can subnet,

+--+
| Internet |
+--+
 | 123.456.789.254/25
 |
 | 123.456.789.129/25
+--+
| FreeBSD Firewall |
+--+
 | 123.456.789.126/25
 |
   +-+---+
   | |   |
   | |   |
   | |   |
  +--+  +-+  ++
  |   DNS|  |   Web   |  | E-mail |
  |  Server  |  |  Server |  | Server |
  +--+  +-+  ++
  123.456.789.1 123.456.789.2 123.456.789.3

Subnetting is probably the "more correct" and easier way to go if
you're not familiar with bridging.


> If this is not the correct mailing list, please tell me the
> right one and sorry for the incovenience.

This is more of a -questions question. Redirecting the thread.
-- 
Crist J. Clark | [EMAIL PROTECTED]
   | [EMAIL PROTECTED]
http://people.freebsd.org/~cjc/| [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



No DFP Detected

2002-07-23 Thread Michael Wells

Hello,

I have been working on this one all day and can't seem
to come to a resolution.  Any help would be greatly
appreciated.  I am going to attach my log file so you
can see the error for yourself.  I know that DFP means
digital flat panel, but I am not sure where this is
getting set?  I have gone over my XF86Config file
about a thousand times and there is nothing there that
claims such.  The intriguing part about all this is
if I try and run KDE it core dumps and causes the machine
to reboot!  Thanks in advance for any leads on this one.

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 4.6 i386 [ELF]
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: Tue Jul 23 13:37:54 2002
(==) Using config file: "/usr/X11R6/lib/X11/XF86Config"
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Rage128"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/
lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/font
s/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to
"/usr/X11R6/lib/modules/multimedia,/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.1
XFree86 Video Driver: 0.5
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
(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.2.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(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.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(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,0305 card , rev 03 class 06,00,00 hdr
00
(II) PCI: 00:01:0: chip 1106,8305 card , rev 00 class 06,04,00 hdr
01
(II) PCI: 00:07:0: chip 1106,0686 card 1106, rev 40 class 06,01,00 hdr
80
(II) PCI: 00:07:1: chip 1106,0571 card , rev 06 class 01,01,8a hdr
00
(II) PCI: 00:07:2: chip 1106,3038 card 0925,1234 rev 1a class 0c,03,00 hdr
00
(II) PCI: 00:07:3: chip 1106,3038 card 0925,1234 rev 1a class 0c,03,00 hdr
00
(II) PCI: 00:07:4: chip 1106,3057 card , rev 40 class 06,80,00 hdr
00
(II) PCI: 00:07:5: chip 1106,3058 card 15dd,7609 rev 50 class 04,01,00 hdr
00
(II) PCI: 00:0e:0: chip 1317,0985 card 1317,0574 rev 11 class 02,00,00 hdr
00
(II) PCI: 00:10:0: chip 109e,036e card 0070,13eb rev 11 class 04,00,00 hdr
80
(II) PCI: 00:10:1: chip 109e,0878 card 0070,13eb rev 11 class 04,80,00 hdr
80
(II) PCI: 01:00:0: chip 1002,5446 card 1002,0018 rev 00 class 03,00,00 hdr
00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0x - 0x (0x0) MX[B]
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0c (VGA_EN is set)
(II) Bus 1 I/O range:
[0] -1 0xc000 - 0xc0ff (0x100) IX[B]
[1] -1 0xc400 - 0xc4ff (0x100) IX[B]
[2] -1 0xc800 - 0xc8ff (0x100) IX[B]
[3] -1 0xcc00 - 0xccff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1 0xd800 - 0xd9ff (0x200) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0xd400 - 0xd7ff (0x400) MX[B]
(II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI

Re: MP3 Conversion Port?

2002-07-23 Thread Gary Dunn

On Tue, 2002-07-23 at 05:16, Dan Nelson wrote:
...
> remember you're going to lose quite a bit of quality, as lame will try
> and encode the artifacts on the first mp3, plus add its own as it tries
> to lower the bitrate.  Don't re-encode unless you need to play them on
> something that simply can't handle the higher bitrate.

Such as? BTW, this is related to why JPEG files cannot be edited without
turning weird.

-- 

  Gary Dunn
  Open Slate Project
  http://www.aloha.com/~knowtree/
  Honolulu
  registered Linux user #273809

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



4.6-STABLE CD install problem

2002-07-23 Thread Gregg Rice

I downloaded the 4.6-STABLE install CDs (4) from the main FreeBSD ftp site
for use installing on a Dell Optiplex GX1p. The install from CD #1 goes fine
until the installer beings extracting from bin: it eventually says it can't
read from the CD and offers to retry, which does nothing. FWIW, the FreeBSD
4.4 CDs installed perfectly on the same machine.

adTHANKSvance ...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: access

2002-07-23 Thread Stephen Hovey


A compact disk writer IS a burn.

On Tue, 23 Jul 2002 [EMAIL PROTECTED] wrote:

> When i try to download freebsd to my f drive (compact disk) it says i need 
> administrator access or permision, how can i get by this. Burning freebsd to 
> my hard drive would take too long.
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



access

2002-07-23 Thread Scruf34

When i try to download freebsd to my f drive (compact disk) it says i need 
administrator access or permision, how can i get by this. Burning freebsd to 
my hard drive would take too long.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable

2002-07-23 Thread sroberts


Hello,
  I've just done a fresh install of 4.4Rel, and I'm trying to upgrade to 
the latest stable.

In single user mode [using shutdown now] having dropped from multiuser mode -
All went well until I got to "make installworld". I hit the issue mentioned in 
UPDATING 20020404 about the new Sendmail user smmsp. I followed the advice to:
cd /usr/src/usr.sbin/mergemaster; make install clean
mergemaster -p

I used the "i" option to install each of the temporary files that appeared.

I then ran "make installworld", which fails with the following:

===> usr/sbin/mergemaster
install -c -o root -g wheel -m 444 mergemaster8.gz /usr/share/man/man8

install: mergemaster.8.gz : No such file or directory
*** Error Code 71

Stop in /usr/src/usr.sbin/mergemaster.
*** Error Code 1

Stop in /usr/src/usr.sbin.
*** Error Code 1

Can someone help with this please? If its documented in UPDATING, I figure 
there should be a procedure out of this out there.

Stacey



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: E-MAIL

2002-07-23 Thread Gary Dunn

On Tue, 2002-07-23 at 00:23, Bakkers Business Solutions SIA wrote:
> Good afternoon Sir / Madam,
> Can You help me? I need to add a new e-mail ([EMAIL PROTECTED]) to an
> exsisting and properly working e-mail server. It is running on FreeBSD and
> is using all standart FreeBSD tools (qpopper, .. etc.). What I have to do?!?
> Greetings from Latvia
If the FreeBSD box is already processing mail, all you need to do to get
started is add a new user. The adduser command will do that. 

-- 

  Gary Dunn
  Open Slate Project
  http://www.aloha.com/~knowtree/
  Honolulu
  registered Linux user #273809

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: X only works with root

2002-07-23 Thread David Smithson

Also, check the logged output from X initialisation.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Cloning FreeBSD

2002-07-23 Thread Gary Dunn

On Tue, 2002-07-23 at 06:50, Jack L. Stone wrote:
> At 12:31 PM 7.23.2002 -0400, Bertel, Markus R wrote:
> > 23
> >Jul 02
> >
> >Dear Sir/Ma'am
> >
> > We have been using FreeBSD for a few years and have been so far very
> >satisfied in its performance.  We would like to make a back up of the hard
> >drive that has FreeBSD and its configuration.  Is there a disk cloning
> >software that would work and be compatable with FreeBSD where we could copy
> >from one disk to another disk?  Thank you for your input.
> >
> >Regards
> >Markus R Bertel
> >
> See DD(1) to copy an exact image to another HD. Be aware that HD #2 (copy
> to) needs to be equal to or larger than HD #1 (copy from).

What device name would I use? Let's say I have two SCSI drives. Would I
use /dev/da0 and /dev/da1, or /dev/da0s1 and /dev/da1s1?

-- 

  Gary Dunn
  Open Slate Project
  http://www.aloha.com/~knowtree/
  Honolulu
  registered Linux user #273809

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Gnome2 build problem SOLVED! Thanks Joe!

2002-07-23 Thread burningclown


All -

I'd like to thank Joe Marcus Clarke for his assistance in getting past the fact 
that a repeated error building gconf-editor was keeping me from getting to 
Gnome2. The culprit was yet another outdated /usr/X11R6/include directory 
(gdk-pixbuf, to be precise).

Thank you Joe. I hope I have learned something in this process.

Regards,

Glenn Becker

++
http://www.burningclown.com
"Everyone's Portal to Nothing At All"
++


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linux compatability broken?

2002-07-23 Thread Eric Dedrick

> > Date: Tue, 23 Jul 2002 10:52:49 -0500 (EST)
> > From: Eric Dedrick <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Subject: linux compatability broken?
> >
> > I recently made a few kernel changes so I remade world.
> >
> > It would seem that linux compatability is now broken.  At first things
> > were complaining about the fact that ld-linux.so.2 got moved.  After I
> > made symbolic links things failed with a bad system call signal 12.
> >
> > Weren't all of my modules, including the compatibility ones, updated with
> > make world?
>
> barring a knob in (IIRC) /etc/make.conf, kernel modules are built
> and installed during make buildkernel and make installkernel,
> respectively

Okay, so any guesses why my linux compatiability would break?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: (Retry) Bridging a wi-device with a LAN-adapter

2002-07-23 Thread Nick Sayer

Erik Paulsen Skålerud wrote:

>Hello. I'm a little confused here.
>I want to bridge my wireless card (Orinoco/Lucent Silver 11mbit) with my
>LAN-adapter (fxp0).
>
[...]

>
>So. Where do I stand? Can it do bridging in FreeBSD or not? I tried to make
>it work, both in FreeBSD and Windows XP (yes, I know.) without any results.
>
You can't do it with Lucent cards, but if you go get a PrismII based 
802.11b NIC, you can use host_ap
mode and turn it into a "virtual access point". This, in turn, can be 
bridged with ng_bridge (I find netgraph
bridging easier, personally. See 
/usr/share/examples/netgraph/ether.bridge) to fxp0 without difficulty.

I don't know whether or not you can use bridging with adhoc mode.

Various manufacturers OEM the PrismII cards... SMC, Lucent, Linksys, 
USR, ... The only bummer is that
I don't know for sure whether or not the new SMC and Linksys integrated 
PCI cards (both sell PCI cards that
simply have a pccard slot for a pccard adapter, but both now also sell 
all-in-one PCI cards that aren't just pccard
adapters), but I don't know whether or not the wi driver supports them. 
I think it might be time for a "30 day loan"
from Fry's. :-)

>
>While searching on mailinglists, I see several people saying that you need a
>binary firmware wich costs money so that the cards can work with bridging..
>the reason would be that the manufactors of these chipsets wants to make
>money on selling licenses to companies who want an AP.
>
That's true, for Lucent cards.

>
>I've also heard a rumour that ng_bridge(4)/netgraph can do bridging with
>wi(4)-devices. Is this true?
>

That's true, for PrismII cards. :-)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



apache port, mod_jk, file locations

2002-07-23 Thread Dev Zero G Ltd

I am trying to make mod_jk2 for apache2 and tomcat4 (on FBSD 4.4).

The problem is that when I install the Apache 2 port, it's (as most port 
of FreeBSD do) go into several directories:

/usr/local/etc/rc.d/apache2.sh
/usr/local/etc/apache2
/usr/local/include/apache2
/usr/local/lib/apache2
/usr/local/libexec/apache2
/usr/local/share/doc/apache2
/usr/local/share/apache2

And this is a problem because when building mod_jk2, I need to specify a 
directory for "apache2.home". Since there is no one home, what do you 
think this should be?

I also need to specify:

apache2.lib=${apache2.home}/lib
  is this "/usr/local/lib/apache2" in my case?

Any advice, help, pointers towards help, etc - would be greatly 
appreciated!!

Mike


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: X only works with root

2002-07-23 Thread Larry Rosenman

Also, make sure you have the x11/wrapper port installed, assuming a
XFree86 V4 install



On Tue, 2002-07-23 at 16:12, David Smithson wrote:
> You might want to check the ownership of the user you want to log in as.  Do
> "ls -la /home/user" to check.  Then do "chown -R user:user /home/user" to
> allow said user access to the dir.
> 
> - Original Message -
> From: "Thomas Connolly" <[EMAIL PROTECTED]>
> To: "FreeBSD_Questions (E-mail 2)" <[EMAIL PROTECTED]>
> Sent: Tuesday, July 23, 2002 1:59 PM
> Subject: X only works with root
> 
> 
> > Hello,
> > I'm a newbie and I can't seem to get my X Server working with any other
> > users besides root.  This is probably a permissions issue.  Can someone
> > offer some help here?
> >
> > Thanks,
> >
> > Tom
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: X only works with root

2002-07-23 Thread David Smithson

You might want to check the ownership of the user you want to log in as.  Do
"ls -la /home/user" to check.  Then do "chown -R user:user /home/user" to
allow said user access to the dir.

- Original Message -
From: "Thomas Connolly" <[EMAIL PROTECTED]>
To: "FreeBSD_Questions (E-mail 2)" <[EMAIL PROTECTED]>
Sent: Tuesday, July 23, 2002 1:59 PM
Subject: X only works with root


> Hello,
> I'm a newbie and I can't seem to get my X Server working with any other
> users besides root.  This is probably a permissions issue.  Can someone
> offer some help here?
>
> Thanks,
>
> Tom
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



X only works with root

2002-07-23 Thread Thomas Connolly

Hello,
I'm a newbie and I can't seem to get my X Server working with any other
users besides root.  This is probably a permissions issue.  Can someone
offer some help here?

Thanks,

Tom

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: PHP Installation Issues

2002-07-23 Thread Mark Rowlands

On Tue July 23 2002 20:25, MET wrote:
> I'm trying to install the PHP 4.2.2.  My ./configure command looks like
> this:
>
> ./configure --with-mysql --with-xml --with-apache=../httpd-2.0.39
> --enable-ftp --enable-short-tags --enable-track-vars
>
> Up one level is the httpd-2.0.39 dir which is Apache2.  On it I've only
> run: ./configure --prefix=/usr/local/apacheas to set its directory.
> I have not run "make" or "make install" on apache as a tutorial i've
> read says to do it later.  So anyways. when I run the ./configure
> command for PHP I get this error:
>
>
> Configuring SAPI modules
> checking for AOLserver support... no
> checking for Apache 1.x module support via DSO through APXS... no
> checking for Apache 1.x module support... configure: error:
> --with-apache does not work with Apache 2.x!
>
> Any ideas on what I am doing wrong and how to fix it?
>

er why not use ports?.. 

cd /usr/ports/www/apache2
make -DWITH_APXS install clean
cd /usr/ports/www/mod_php4
make -DWITH_APACHE2 install clean




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: amavis / qmail setuid problem

2002-07-23 Thread Eirik Nygaard

On Tue, Jul 23, 2002 at 01:07:44PM -0700, Paulo Roberto wrote:
> Hello,
> 
> I am having some problems with amavis on FreeBSD 4.6. I installed the
> ports (qmail also) and when I try to retrieve any messages thru pop3,
> my email client (and also my logs of course!) reports the following
> error: "Can?t do setuid". I did some search and it seems that it is not
> possible to run a script (amavis-perl) with setuid on 4.6.
> Did anyone get amavis + qmail running on 4.6 without recompiling the
> kernel with that option that enables setuid? 
> Any tips?
> 
> TIA
> 
> Paulo Roberto
> 
> __
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

Have you set the suidbit on the suidperl program?
chmod +s /usr/bin/suidperl

-- 

Eirik Nygaard <[EMAIL PROTECTED]>
Http://kverka.org/~eirik/
PGP Key: 83C55EDE




msg01372/pgp0.pgp
Description: PGP signature


Re: MP3 Conversion Port?

2002-07-23 Thread Christian Weisgerber

Dan Nelson <[EMAIL PROTECTED]> wrote:

> The Ogg Vorbis audio format is designed to allow this; they call it
> "bitrate peeling".

Are you sure?  I only skimmed the discussion on this, but I was
under the impression that the current format did not support it
although a future one might.

-- 
Christian "naddy" Weisgerber  [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Sound Blaster Live Support ?

2002-07-23 Thread Mark Weinem

On Mon, 22 Jul 2002, Wayne Pascoe wrote:

> > What shall i do if i have one of the moste common mordern sound cards
> > and want to use it in FreeBSD? ( which I'm very found of)
> 
> You just need to recompile your kernel. Add the following line to your
> kernel config file:
> device  pcm
> 
> recompile, install the new kernel and reboot.

No need to rebuild the kernel: just run

kldload snd

For permanent use add 

snd_load="YES"

in /boot/loader.conf



Greetings, Mark

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Problems installing freBSD

2002-07-23 Thread Avraham ZIlberman








Hi,

I
Have a CD-ROM with FreeBSD4.

 

I
boot from the CD , but when I go into the installation program, The keyboard doesn’t
work so, I cant navigate and cant operate the program. What should I do?

 

 

Avraham Zilberman








Help: Don't get the modem and souncard to work

2002-07-23 Thread Edwin Renders

Hi,

Some weeks ago i installed FreeBSD-4.6 STABLE and KDE3. I'm a newbie to
Linux, but more experienced
with Windows. I first collected all data from windows for my PnP devices,
such as: IRQ, I/O, memory because i thought it must be added somehow to the
Kernel.

I have the following devices that won't work:
An internal Lucent Winmodem (PCI) and a Soundblaster Live 5.1.

Soundblaster Live 5.1
I added the "device pcm" statement in the Kernel and made my custom Kernel.
KDE3 is still complaining that the sound-device is not working.

dmesg |grep 'pcm' results in:

pcm0:  at device 7.0 on pci 0
pcm0: unable to map register space
device_probe_and_attach:pcm0 returned 6
pcm1:  at device 7.0 on pci 0
pcm1: unable to map register space
device_probe_and_attach:pcm1 returned 6

How does the Kernel know what IRQ,I/O,memory this device needs ? What is
wrong ?

Lucent Winmodem
I've installed the LTMDM software from the ports collection, but i didn't
make a custom Kernel again, because i don't know what to add. Logically, i
think, the Kernel must know something about the modem.
I cannot find any details on how to do it exactly. Is there some example
Kernel for the Lucent
winmodem ? How does the Kernel know what IRQ,I/O,memory this device needs ?

dmesg | grep 'ltmdm' results in:
ltmdm0:  at device 8.0 on pci0
ltmdm0: could not map ioport

Please help,

Kind Regards

Edwin Renders


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



amavis / qmail setuid problem

2002-07-23 Thread Paulo Roberto

Hello,

I am having some problems with amavis on FreeBSD 4.6. I installed the
ports (qmail also) and when I try to retrieve any messages thru pop3,
my email client (and also my logs of course!) reports the following
error: "Can´t do setuid". I did some search and it seems that it is not
possible to run a script (amavis-perl) with setuid on 4.6.
Did anyone get amavis + qmail running on 4.6 without recompiling the
kernel with that option that enables setuid? 
Any tips?

TIA

Paulo Roberto

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



  1   2   >