Your message to swinog awaits moderator approval

2007-01-30 Thread swinog-bounces
Your mail to 'swinog' with the subject

Status

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://lists.swinog.ch/cgi-bin/mailman/confirm/swinog/712ba66eafc943a584f0427e6a09b3826708aff7

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


Re: isdn

2007-01-30 Thread Christian Walther

On 29/01/07, anup roy [EMAIL PROTECTED] wrote:

dear
I have office in kolkata and also I have a pc in another city  like Mumbai ,  i 
want connect to pc by Isdn, I want to communicate via Isdn what will be the 
process ?


You could start by reading chapters 27.7 (ISDN) and 22 (Serial
Networking) of the FreeBSD handbook. This should give you all the
details you need to decide what you want to do.


thanks
anup


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


Re: mknod, devfs and FreeBSD

2007-01-30 Thread Freminlins

Kris,

On 29/01/07, Kris Kennaway [EMAIL PROTECTED] wrote:



To put it bluntly, it's something you're just going to have to get
over :-)



That's unhelpful. It is, in my opinion, a bad idea to have to mount up 1400
instances of devfs just to get a few device nodes. It just doesn't seem
right. It's a kludge. What I will do instread is migrate the box to Solaris
where I can do what I want to do.

It's a poor argument to say basically that's the way it is. I have always
found FreeBSD to be flexible, not restrictive.

If devfs is the only way to go, why does mknod still exist? Why does it
allow me to create device nodes that don't work?

Kris


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


Image not booting

2007-01-30 Thread VH-Brody
Hey guys,

 

I've downloaded multiple copies (from different FTP servers),
6.2-RELEASE-ia64 and it seems like this particular image doesn't want to
boot up in my system. The i386 and amd64 distro's bootup just fine, but
obviously don't work because system architecture is 64bit Intel. I'm out of
ideas and I've ruled out the system as at fault. 

 

What do you guys think?

 

 

Brody

Winnipeg, Canada

 

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


Re: Image not booting

2007-01-30 Thread Erik Trulsson
On Tue, Jan 23, 2007 at 08:30:49AM -0600, VH-Brody wrote:
 Hey guys,
 
  
 
 I've downloaded multiple copies (from different FTP servers),
 6.2-RELEASE-ia64 and it seems like this particular image doesn't want to
 boot up in my system. The i386 and amd64 distro's bootup just fine, but
 obviously don't work because system architecture is 64bit Intel. I'm out of
 ideas and I've ruled out the system as at fault. 
 
  
 
 What do you guys think?
 

I think you are using the wrong image. 6.2-RELEASE-ia64 is for Intel's IA64
architecture, aka Itanium.  That is almost certainly not what you have.


Use the i386 or amd64 image instead.  Intel's latest CPUs all implement the
AMD64 architecture (except that Intel calls it EM64T.)





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


Re: Multiple Directories for Jails

2007-01-30 Thread Lord Alabattai

On 1/29/07, Karl Fischer [EMAIL PROTECTED] wrote:


On 29 Jan 2007, at 5:04 PM, Björn König wrote:

 Karl Fischer schrieb:
 Hi
 I'm a n00b to freebsd and jails is there away that I can specify
 multiple Directories in the jails.conf ?
 JAIL_HOME=/data1; /data2 etc.

 What are you trying to do or what do you expect?

 A file system hierarchy can only have one root directory. You
 probably want to play with unionfs. You can read about its concept
 here: http://people.freebsd.org/~daichi/unionfs/
 http://en.wikipedia.org/wiki/UnionFS

 Regards Björn

Hi
Basically the Drive that the Jails are hosted on is running out of
space.
By adding another mounted Partition I will have more space.

If I add a new Drive to the Machine ...
mount it under /data2 can I just stop the jails and copy them across
modify the jails.conf and start it up ?
I guess the best procedure should be to back them up and restore them
there ?



If both partitions are of equal or similiar size, software RAID might be a
good choice.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/raid.html

Best regards,
Alabattai

--
Better to reign in hell, than to serve in heaven. - John Milton, Paradise
Lost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

RE: Multiple Directories for Jails

2007-01-30 Thread Philippe Lang
[EMAIL PROTECTED] wrote:
 On 29 Jan 2007, at 5:04 PM, Björn König wrote:
 
 Karl Fischer schrieb:
 Hi
 I'm a n00b to freebsd and jails is there away that I can specify
 multiple Directories in the jails.conf ?
 JAIL_HOME=/data1; /data2 etc.
 
 What are you trying to do or what do you expect?
 
 A file system hierarchy can only have one root directory. You
 probably want to play with unionfs. You can read about its concept
 here: http://people.freebsd.org/~daichi/unionfs/
 http://en.wikipedia.org/wiki/UnionFS
 
 Regards Björn
 
 Hi
 Basically the Drive that the Jails are hosted on is running out of
 space. 
 By adding another mounted Partition I will have more space.
 
 If I add a new Drive to the Machine ...
 mount it under /data2 can I just stop the jails and copy them across
 modify the jails.conf and start it up ? I guess the best procedure
 should be to back them up and restore them there ? 
 
 Thanks for the help
 Karl

Hi,

Jails don't absolutely need to have the same root. I'm not sure where you found 
your JAIL_HOME and jails.conf (a script?), but each jail needs a rootdir, 
which can be a path to whatever you want. You can configure this rootdir in 
/etc/rc.conf. Have a look there.

Depending on how much space your actual jails are using, you may consider 
moving all your jails onto a new drive, instead of moving part of them. It is 
maybe easier to manage your system this way, although not necessary at all.

Hope this will help you,

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


Re: Sorta OT - Backup solutions Mac to FreeBSD

2007-01-30 Thread bsd

Hello,

I am backing up 5 servers on one centralized machines using  
rsnapshot It is doing a perfect job, including :


-- SSH transport.
-- Rsync based.
-- Incremental backup.

As It uses a symlink strategy, It does not use very much space on the  
backup device.


It is in the ports /usr/ports/sysutil/rsnapshot and described as :

rsnapshot is a filesystem snapshot utility based on rsync(1).
rsnapshot makes it easy to make periodic snapshots of local machines,
and remote machines over ssh. The code makes extensive use of hard links
whenever possible, to greatly reduce the disk space required.

It is written entirely in perl with no module dependencies, and has been
tested with versions 5.004 through 5.8.1.

WWW:http://www.rsnapshot.org

--

I am backing up 2To of data, with a daily flow of 20 to 100 Go.
The first backup is quite long - after it's a matter of hours (1 or 2  
max).



In order to fully automate the process, I have created an ssh key  
signature that allows me to access directly as root - if you would  
like more security, you could create a specific user… which will lead  
you to ownership problem, unless very well setup.



The main problem with mac would be to sync the specific MetaData  
files specific to the Mac.
I don't think these are synced in my backup. This is only a problem  
if your users are not naming their files with the right extension  
(.doc, .pdf, …).


If you are syncing OSX 10.4 use the Apple provided rsync and not any  
other (more steady).



The main piece if to configure rsnapshot.conf  cron



# Cron #


0 3 * * 1,2,3,4,5,6,7 /usr/bin/rsnapshot daily;
0 4 1 * * /usr/bin/rsnapshot monthly;




#
# rsnapshot.conf - rsnapshot configuration file #
#
#   #
# PLEASE BE AWARE OF THE FOLLOWING RULES:   #
#   #
# This file requires tabs between elements  #
#   #
# Directories require a trailing slash: #
#   right: /home/   #
#   wrong: /home#
#   #
#

###
# CONFIG FILE VERSION #
###

config_version  1.2

###
# SNAPSHOT ROOT DIRECTORY #
###

# All snapshots will be stored under this root directory.
#snapshot_root  /var/cache/rsnapshot/
snapshot_root   /home/snapshot/

# If no_create_root is enabled, rsnapshot will not automatically  
create the
# snapshot_root directory. This is particularly useful if you are  
backing

# up to removable media, such as a FireWire drive.
#
#no_create_root 1

#
# EXTERNAL PROGRAM DEPENDENCIES #
#

# LINUX USERS:   Be sure to uncomment cmd_cp. This gives you extra  
features.

# EVERYONE ELSE: Leave cmd_cp commented out for compatibility.
#
# See the README file or the man page for more details.
#
#cmd_cp /bin/cp

# uncomment this to use the rm program instead of the built-in perl  
routine

cmd_rm  /bin/rm

# rsync must be enabled for anything to work.
cmd_rsync   /usr/bin/rsync

# Uncomment this to enable remote ssh backups over rsync.
cmd_ssh /usr/bin/ssh

# Comment this out to disable syslog support.
cmd_logger  /usr/bin/logger

# Uncomment this to specify a path to du for disk usage checks.
cmd_du  /usr/bin/du

#
#   BACKUP INTERVALS#
# Must be unique and in ascending order #
# i.e. hourly, daily, weekly, etc.  #
#

# The interval names (hourly, daily, ...) are just names and have no  
influence
# on the length of the interval. The numbers set the number of  
snapshots to

# keep for each interval (hourly.0, hourly.1, ...).
# The length of the interval is set by the time between two  
executions of

# rsnapshot interval name, this is normally done via cron.
# Feel free to adopt the names, and the sample cron file under /etc/ 
cron.d/rsnapshot
# to your needs. The only requirement is that the intervals must be  
listed

# in ascending order. To activate just uncomment the entries.

#interval   hourly  6
intervaldaily   5
intervalmonthly 1
#interval   monthly 6


#  GLOBAL OPTIONS  #
# All are optional, with sensible defaults #


# If your version of rsync supports --link-dest, you should enable this.
# This is the best way to support special files (FIFOs, etc) cross- 
platform.

# The default is 0 (off).
# In Debian GNU cp is available which is superior to link_dest, so it  
should be

# commented 

ATI Radeon XPress200 and KDE

2007-01-30 Thread Gorobets Igor
Hello!
How to overcome a problem with such video card.

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


Re: ATI Radeon XPress200 and KDE

2007-01-30 Thread Andrew Pantyukhin

On 1/30/07, Gorobets Igor [EMAIL PROTECTED] wrote:

Hello!
How to overcome a problem with such video card.


Wait for Xorg 7.x with your fingers crossed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.2 hangs probing floppy

2007-01-30 Thread Vittorio
I updated my pentium 3 PC Compaq Desktop 450 from freebsd 5.3 (which 
was working like a charme indeed!) to the new 6.2 installing from a CD.

It happens that the boot 
1) runs smoothly as usual till after the 
probing of the CDs, 
2) then the boot hangs for about 3 minutes probing 
the floppy (I see the floppy led turned on for the same time), 
3) 
eventually again smoothly till the end of the booting process.

 I 
noticed that the /dev/fd0 device is not found and there's no way to 
mount it.

What shall I do?

Vittorio


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


Re: how to enable linux flash player in firefox

2007-01-30 Thread David Benfell
On Tue, 30 Jan 2007 07:50:30 +0100, Marc Fonvieille wrote:
 On Tue, Jan 30, 2007 at 12:43:21PM +0800, peter wrote:
  6.Check the libexec directory exists in /usr/src,
if no, #sysinstall- custom-deistributions-src-libexec, then
   # cd /usr/src/libexec
   # fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
   # patch  rtld_dlsym_hack.diff
   # cd rtld-elf
   # make clean
   # make obj
   # make depend
   # make  make install
 
 
 That last part is useless now and will not work with 6.2-RELEASE.
 The current working way, is using a freash port tree and following the
 Handbook instructions.  This is for Flash 7 (with or without soound
 according to the site you visit), for Flash 9 it's another story...
 
For what value, do you mean useless now and will not work?

I had to adjust the instructions because the patch actually is for
/usr/src not /usr/src/libexec but I have just completed the build.

Haven't rebooted yet, though.


-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgpj0vob112Nl.pgp
Description: PGP signature


Problem updating proftpd

2007-01-30 Thread Greg Groth
After updating from 6.1 to 6.2, I went and tried to update my installed 
ports.  After running portsnap, I ran portmanager, which updated 
everything save proftpd.  This was over a week ago.  Since that time, 
I've tried to update proftpd on a few occasions with the same failed 
result.  The issue doesn't seem to be my machine, but at the proftpd.org 
site.  Running portsclean -C, portsclean -D, followed by portupgrade 
proftpd gives me the following:


= proftpd-1.3.1rc2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from ftp://ftp.proftpd.org/distrib/source/.
fetch: ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.1rc2.tar.bz2: 
Unknown FTP error
= Attempting to fetch from 
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/.
fetch: 
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/proftpd-1.3.1rc2.tar.bz2: 
Operation timed out
= Attempting to fetch from 
ftp://ftp.dataguard.no/ftp/pub/proftpd/distrib/source/.
fetch: 
ftp://ftp.dataguard.no/ftp/pub/proftpd/distrib/source/proftpd-1.3.1rc2.tar.bz2: 
File unavailable (e.g., file not found, no access)
= Attempting to fetch from 
ftp://spirit.bentel.sk/mirrors/Proftpd/distrib/source/.
fetch: 
ftp://spirit.bentel.sk/mirrors/Proftpd/distrib/source/proftpd-1.3.1rc2.tar.bz2: 
File unavailable (e.g., file not found, no access)
= Attempting to fetch from 
ftp://proftpd.networkedsystems.co.uk/distrib/source/.
fetch: 
ftp://proftpd.networkedsystems.co.uk/distrib/source/proftpd-1.3.1rc2.tar.bz2: 
Unknown FTP error
= Attempting to fetch from 
ftp://ftp.ethereal.com/mirrors/ftp.proftpd.org/distrib/source/.
fetch: 
ftp://ftp.ethereal.com/mirrors/ftp.proftpd.org/distrib/source/proftpd-1.3.1rc2.tar.bz2: 
File unavailable (e.g., file not found, no access)
= Attempting to fetch from 
ftp://mirror.cybercomm.nl/pub/proftpd/distrib/source/.
fetch: 
ftp://mirror.cybercomm.nl/pub/proftpd/distrib/source/proftpd-1.3.1rc2.tar.bz2: 
File unavailable (e.g., file not found, no access)
= Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/proftpd-1.3.1rc2.tar.bz2: 
File unavailable (e.g., file not found, no access)

= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

I've tried to download the file manually, but have only been able to 
connect to ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org.  When I 
download the file from that site, I get a checksum mismatch.  Attempts 
to FTP to proftpd.org from multiple locations, using different ftp 
clients (including the command line), from different machines, in 
passive and active mode, all return an FTP error.  Anyone else having 
these issues?


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


release(7) subtargets and custom internal releng

2007-01-30 Thread Brian A. Seklecki


Does anyone out there use the sub-targets in /usr/src/release independent 
of the 'make release' target? I'm looking to build customized install ISOs 
from a highly stripped down 'make buildworld'.


I want to build the stripped version of the userland and kernels using my 
make.conf(5) in my native environment and avoid the chroot(8) + 
re-make-buildworld.


I don't need src sets, mass port builds, docs

I guess I'm spoiled by NetBSD build.sh in this sense.  There we just 
./build.sh { build, release CHECKFLIST_FLAGS+=-e -m}; mkhybrid(1) and 
you've got a customized install ISO.


I understand the how the default release(7) approach creates a sanitized 
build environment.  Seems logical.  But it accomplishes one descrete task. 
Essentially I need the following:


make buildworld
release.3
release.4
release.5
release.6
floppies.1
cdrom.1
cdrom.3
iso.1

Before I spend a day getting all of these targets to play nice together, 
just curious if anyone else is doing this?


l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem updating proftpd

2007-01-30 Thread Gerard Seibert
On Tuesday January 30, 2007 at 09:48:38 (AM) Greg Groth wrote:


 I've tried to download the file manually, but have only been able to 
 connect to ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org.  When I 
 download the file from that site, I get a checksum mismatch.  Attempts 
 to FTP to proftpd.org from multiple locations, using different ftp 
 clients (including the command line), from different machines, in 
 passive and active mode, all return an FTP error.  Anyone else having 
 these issues?

I just downloaded the file without problem from:

ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.1rc2.tar.bz2

If you cannot procure it yourself, contact me and I'll send it to you.

-- 
Gerard

 Mail from '@gmail' is rejected and/or discarded here. Don't waste
 your time!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem updating proftpd

2007-01-30 Thread Greg Groth

On 1/30/2007 9:37 AM, Gerard Seibert wrote:

On Tuesday January 30, 2007 at 09:48:38 (AM) Greg Groth wrote:


I've tried to download the file manually, but have only been able to 
connect to ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org.  When I 
download the file from that site, I get a checksum mismatch.  Attempts 
to FTP to proftpd.org from multiple locations, using different ftp 
clients (including the command line), from different machines, in 
passive and active mode, all return an FTP error.  Anyone else having 
these issues?


I just downloaded the file without problem from:

ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.1rc2.tar.bz2

If you cannot procure it yourself, contact me and I'll send it to you.



Gave it another shot, command line didn't work, FTP client didn't work, 
however Internet Explorer did work (first time I gave it a try).  I 
think that's a first.  Problem sorted out, sorry for the noise.


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


Re: ATI Radeon XPress200 and KDE

2007-01-30 Thread loader
Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On 1/30/07, Gorobets Igor [EMAIL PROTECTED] wrote:
 Hello!
 How to overcome a problem with such video card.

 Wait for Xorg 7.x with your fingers crossed.

I see Radeon XPRESS 200/200M IGP listed in 6.9.0 radeon(4):
http://xorg.freedesktop.org/archive/X11R6.9.0/doc/html/radeon.4.html
Please forgive me if I confused them, does it mean ATI 
Radeon XPress200 video adapter is still not supported by 6.9.0?

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


Re: customize floppies

2007-01-30 Thread Oliver Koch
Hello,

Björn König schrieb:

 You can modify the existing floppy images. boot.flp contains the first
 part of the kernel and kern*.flp the further parts.
 
 Build a custom kernel using
 
   makeoptions MODULES_OVERRIDE=
 
 in your kernel configuration file.
 
   # cd /usr/src/sys/i386/conf
   # config YOURKERNEL
   # cd ../compile
   # make cleandepend; make depend
   # make
 
 Take your kernel file and compress it:
 
   # gzip -9nc kernel  kernel.gz
 
 Now you can use the 'split-file.sh' script from src/release/scripts to
 split the compressed kernel into parts.
 
   # /usr/src/release/scripts/split-file.sh kernel.gz destdir 1392 Kernel
 
 You can mount a floppy disk image with the following commands:
 
   # mdconfig -af boot.flp
   md45
   # mount /dev/md45 /mnt
 
 Replace the kernel parts with your own.
 
 I hope this helps. I havn't tested it before. There are other ways that
 are more elegant.

thank you very much, that worked fine!

Kind regards,

Oliver

-- 
Oliver Koch  Phone:  +49-(0)5323-72-2626
Computer Center  Fax:+49-(0)5323-72-3536
Clausthal University of Technology   E-Mail: [EMAIL PROTECTED]
Erzstraße 51 Web:  http://www.rz.tu-clausthal.de
38678 Clausthal-Zellerfeld, Germany



signature.asc
Description: OpenPGP digital signature


Re: ATI Radeon XPress200 and KDE

2007-01-30 Thread Andrew Pantyukhin

On 1/30/07, loader [EMAIL PROTECTED] wrote:

Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On 1/30/07, Gorobets Igor [EMAIL PROTECTED] wrote:
 Hello!
 How to overcome a problem with such video card.

 Wait for Xorg 7.x with your fingers crossed.

I see Radeon XPRESS 200/200M IGP listed in 6.9.0 radeon(4):
http://xorg.freedesktop.org/archive/X11R6.9.0/doc/html/radeon.4.html
Please forgive me if I confused them, does it mean ATI
Radeon XPress200 video adapter is still not supported by 6.9.0?


Who knows?.. I have Xpress 1100 working flawlessly
with 6.9, but not working at all with 7.2...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATI Radeon XPress200 and KDE

2007-01-30 Thread Prudhvi Krishna Surapaneni
It works fine on my Laptop though. Even Xorg 6.9.0 works great.




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


Re: how to enable linux flash player in firefox

2007-01-30 Thread Marc Fonvieille
On Tue, Jan 30, 2007 at 06:31:33AM -0800, David Benfell wrote:
 On Tue, 30 Jan 2007 07:50:30 +0100, Marc Fonvieille wrote:
  On Tue, Jan 30, 2007 at 12:43:21PM +0800, peter wrote:
   6.Check the libexec directory exists in /usr/src,
 if no, #sysinstall- custom-deistributions-src-libexec, then
# cd /usr/src/libexec
# fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
# patch  rtld_dlsym_hack.diff
# cd rtld-elf
# make clean
# make obj
# make depend
# make  make install
  
  
  That last part is useless now and will not work with 6.2-RELEASE.
  The current working way, is using a freash port tree and following the
  Handbook instructions.  This is for Flash 7 (with or without soound
  according to the site you visit), for Flash 9 it's another story...
  
 For what value, do you mean useless now and will not work?

[...]

I mean the www/linuxpluginwrapper has been updated (v 1.58 2007/01/28)
to avoid the use of any hack, and the rtld_dlsym_hack.diff diff cannot
be applied to a 6.2-RELEASE/6-STABLE source tree.

-- 
Marc


pgpQb2fxib10s.pgp
Description: PGP signature


probrem PPP

2007-01-30 Thread Helizonaldo Alves de Morais


I have a problem, I get 2 link ADSL of the TELEMAR Brazil, but
don't to connect whit PPP.
my script its ppp.conf:

--

default:
 set timeout 0
 set log local phase lcp ipcp tun
 nat enable yes
 enable dns

velox1:
 set device PPPoE:xl1
 set server /var/run/velox1  0177
 set authname [EMAIL PROTECTED]
 set authkey yyy
 add default HISADDR

velox2:
 set device PPPoE:xl0
 set server /var/run/velox2  0177
 set authname [EMAIL PROTECTED]
 set authkey yyy


#ppp -ddial -unit0 velox1
#ppp -ddial -unit1 velox2


but when swith on, my ifconfig stay like this

tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
   inet 189.12.186.216 -- 200.217.255.30 netmask 0x
   Opened by PID 525

tun1: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500
   Opened by PID 527

#no matching session
#no matching session
#no matching session

instead of show tho IPS 200.200.200.1 and another 200.200.200.2


then how to swith on 2 link ADSL with PPP?

grateful
Helizonaldo

_
MSN Messenger: converse com os seus amigos online. 
http://messenger.msn.com.br


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


Re: 6.2 hangs probing floppy

2007-01-30 Thread Roland Smith
On Tue, Jan 30, 2007 at 03:14:49PM +0100, Vittorio wrote:
 I updated my pentium 3 PC Compaq Desktop 450 from freebsd 5.3 (which 
 was working like a charme indeed!) to the new 6.2 installing from a CD.
 
 It happens that the boot 
 1) runs smoothly as usual till after the 
 probing of the CDs, 
 2) then the boot hangs for about 3 minutes probing 
 the floppy (I see the floppy led turned on for the same time), 
 3) 
 eventually again smoothly till the end of the booting process.
 
  I 
 noticed that the /dev/fd0 device is not found and there's no way to 
 mount it.

Build a kernel without device fdc. Or maybe disable the floppy in the bios.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpRY1GMk17wT.pgp
Description: PGP signature


Re: mknod, devfs and FreeBSD

2007-01-30 Thread Kris Kennaway
On Tue, Jan 30, 2007 at 09:25:24AM +, Freminlins wrote:
 Kris,
 
 On 29/01/07, Kris Kennaway [EMAIL PROTECTED] wrote:
 
 
 To put it bluntly, it's something you're just going to have to get
 over :-)
 
 
 That's unhelpful. It is, in my opinion, a bad idea to have to mount up 1400
 instances of devfs just to get a few device nodes. It just doesn't seem
 right. It's a kludge. What I will do instread is migrate the box to Solaris
 where I can do what I want to do.

OK.

 It's a poor argument to say basically that's the way it is. I have always
 found FreeBSD to be flexible, not restrictive.

That's the way it is is a statement of truth, not an argument.

 If devfs is the only way to go, why does mknod still exist? Why does it
 allow me to create device nodes that don't work?

Compatibility with other OSes when used as an NFS server.

Kris


pgpnT0brPNzkz.pgp
Description: PGP signature


Re: how to enable linux flash player in firefox

2007-01-30 Thread Tore Lund
Andreas Davour wrote:
 I did try to set up my environment like you described. But, in the 
 listarchive the ftp site you mentioned is scrambled. Could you please 
 repost it? The site I used didn't have many of the packages.

I suppose you are talking about PKG_SITES.  I use this Norwegian mirror:

ftp://ftp.no.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/

The procedure seemed to be fairly intelligent, with portinstall
searching /All and /Latest and sometimes going into packages-6.2-release
if some package could not be found.

But it needs to said that many installs failed with missing packages.
At any rate, I downloaded gentoo, worker, xnview and some other things
with portinstall -PPR.  And I have no idea whether any of this meant
anything for flash.
-- 
Tore

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


CVSup question

2007-01-30 Thread Charlie McElfresh

Hi,

I am running FreeBSD 5.4-RELEASE

In an effort to update my ports collection, I ran CVSup, with the line

ports-all

in my cvs_supfile

After the update finished, I noticed that some of my ports that were there
before, notably php5-cgi, were no longer there.

I'd appreciate being pointed in the right direction for the solution to my
problem.  Thanks.

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


Re: sshd never restarts

2007-01-30 Thread Lowell Gilbert
Noah [EMAIL PROTECTED] writes:

 FreeBSD 4.9
 openssh-3.6.1_6


 so I have a script /usr/local/etc/rc.d/sshd.sh  that I use to restart sshd

 but sshd most of the time never comes back.

 there is nothing relevant that makes it to /var/log/messages

 if I start sshd manually with /usr/local/etc/rc.d/sshd.sh there are no
 error messages. My /etc/ssh/sshd_config configuration is fine and has
 no errors.

 how can I assure that sshd restarts each time?  when I am remote to
 the machine.  I am locked out of it.

The first thing you need to understand is why this is happening.  The
script starts executing, and shuts down sshd.  The output from that
command is being sent to your terminal, which is no longer reachable.  
The shell closes, and the script stops before it gets around to
starting sshd up again.  [This type of problem is also common in
resetting firewall settings from a remote terminal.]

There are many ways to work around this problem.  My favorite is
probably to use screen (ports/sysutils/screen), which will disconnect
the shell from the terminal session and allow you to reconnect later.
You would probably be okay with just redirecting the standard output
(and error output) of the script, but the shell is going to close
anyway, because the ssh session is closed by shutting sshd down.  In
some cases, it can also be useful to run the script via cron(8) or
at(1).  You can decide for yourself.

I must say, though, that resetting sshd isn't something I do often.
Are you sure it is necessary at all?

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


Re: CVSup question

2007-01-30 Thread Lowell Gilbert
Charlie McElfresh [EMAIL PROTECTED] writes:

 Hi,

 I am running FreeBSD 5.4-RELEASE

 In an effort to update my ports collection, I ran CVSup, with the line

 ports-all

 in my cvs_supfile

 After the update finished, I noticed that some of my ports that were there
 before, notably php5-cgi, were no longer there.

 I'd appreciate being pointed in the right direction for the solution to my
 problem.  Thanks.

$ grep php5-cgi /usr/ports/*
/usr/ports/MOVED:www/php5-cgi|lang/php5|2006-05-06|Unification of php slave 
ports
$
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cron problem

2007-01-30 Thread Charlie McElfresh

Hi,

I wrote a perl script to get a news show I like.  When I run it, it deletes
yesterday's copy of the show, and downloads the new copy.  The script works
fine.  I run the script as myself (charlie), charlie owns it, and it's
chmod'd 0755.  Works fine.

I can't get cron to run it, though.  Here's the cron process running on my
machine:

[EMAIL PROTECTED] ps auxwww | grep cron
root  413  0.0  0.1  1364   892  ??  Ss5Jan07   0:06.57/usr/sbin/cron -s

And here's charlie's crontab, to run at 7:17 mon - fri

17 7 * * 1-5 /media/democracy_now/get_new_show.pl

?

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


Re: Negation in tables for packet filter

2007-01-30 Thread Erik Norgaard

I got this response off-list:
Lowell Gilbert wrote:

 Erik Norgaard [EMAIL PROTECTED] writes:

 table internet const { !0/8 !10/8 !127/8 !169.254/16 !172.16/12 \
!192.0.2/24 !192.168/16 !198.18/15 !224/4 !240/4 }

 Think about it; this matches *everything*.  All possible packets are
 in either !10/8 or !127/8.  etc.

This is clear if tables are a simple or'ing of the entries, but the 
documentation is somewhat confusing, they give this example 
(http://www.openbsd.org/faq/pf/tables.html):


quote
  table goodguys { 172.16.0.0/16, !172.16.1.0/24, 172.16.1.100 }

  block in on dc0 all
  pass  in on dc0 from goodguys to any

* 172.16.50.5 - narrowest match is 172.16.0.0/16; packet matches the
  table and will be passed
* 172.16.1.25 - narrowest match is !172.16.1.0/24; packet matches an
  entry in the table but that entry is negated (uses the ! modifier);
  packet does not match the table and will be blocked
* 172.16.1.100 - exactly matches 172.16.1.100; packet matches the
  table and will be passed
* 10.1.4.55 - does not match the table and will be blocked
/quote

so maybe I should add 0/0 to the above list?

Thanks, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: CVSup question

2007-01-30 Thread Jonathan Horne
 Hi,

 I am running FreeBSD 5.4-RELEASE

 In an effort to update my ports collection, I ran CVSup, with the line

 ports-all

 in my cvs_supfile

 After the update finished, I noticed that some of my ports that were there
 before, notably php5-cgi, were no longer there.

 I'd appreciate being pointed in the right direction for the solution to my
 problem.  Thanks.

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


what you are probably looking for is now found in lang/php5-extensions.

hth,
jonathan


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


Re: cron problem

2007-01-30 Thread Oliver Koch
Hi,

Charlie McElfresh schrieb:

 I wrote a perl script to get a news show I like.  When I run it, it deletes
 yesterday's copy of the show, and downloads the new copy.  The script works
 fine.  I run the script as myself (charlie), charlie owns it, and it's
 chmod'd 0755.  Works fine.
 
 I can't get cron to run it, though.  Here's the cron process running on my
 machine:
 
 [EMAIL PROTECTED] ps auxwww | grep cron
 root  413  0.0  0.1  1364   892  ??  Ss5Jan07  
 0:06.57/usr/sbin/cron -s
 
 And here's charlie's crontab, to run at 7:17 mon - fri
 
 17 7 * * 1-5 /media/democracy_now/get_new_show.pl

did you try to change the cronjob to something like that?

17 7 * * 1-5 /usr/bin/perl /media/democracy_now/get_new_show.pl

Kind regards,

Oliver

-- 
Oliver Koch  Phone:  +49-(0)5323-72-2626
Computer Center  Fax:+49-(0)5323-72-3536
Clausthal University of Technology   E-Mail: [EMAIL PROTECTED]
Erzstraße 51 Web:  http://www.rz.tu-clausthal.de
38678 Clausthal-Zellerfeld, Germany



signature.asc
Description: OpenPGP digital signature


Re: cron problem

2007-01-30 Thread Gerard Seibert
On Tuesday January 30, 2007 at 02:13:45 (PM) Charlie McElfresh wrote:


 I wrote a perl script to get a news show I like.  When I run it, it deletes
 yesterday's copy of the show, and downloads the new copy.  The script works
 fine.  I run the script as myself (charlie), charlie owns it, and it's
 chmod'd 0755.  Works fine.
 
 I can't get cron to run it, though.  Here's the cron process running on my
 machine:
 
 [EMAIL PROTECTED] ps auxwww | grep cron
 root  413  0.0  0.1  1364   892  ??  Ss5Jan07   0:06.57/usr/sbin/cron 
 -s
 
 And here's charlie's crontab, to run at 7:17 mon - fri
 
 17 7 * * 1-5 /media/democracy_now/get_new_show.pl

Do you have a MAILTO= in your cron. If not, I would suggest you put one
there that points to you, i.e., if charlie is your logon name, have it
point to charlie. Now, when your script either works or fails, you will
receive a report of what transpired.

-- 
Gerard

 Mail from '@gmail' is rejected and/or discarded here. Don't waste
 your time!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVSup question

2007-01-30 Thread Roland Smith
On Tue, Jan 30, 2007 at 10:20:03AM -0800, Charlie McElfresh wrote:
 After the update finished, I noticed that some of my ports that were there
 before, notably php5-cgi, were no longer there.

Check out Freshports: http://www.freshports.org/commits.php

This gives you an overview of recently changed ports.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpkrsiGoO8SE.pgp
Description: PGP signature


Re: CVSup question

2007-01-30 Thread Brian A. Seklecki


php5-cgi hasn't been a separate port for some time.  Try make config in 
lang/php5.


~BAS

On Tue, 30 Jan 2007, Charlie McElfresh wrote:


Hi,

I am running FreeBSD 5.4-RELEASE

In an effort to update my ports collection, I ran CVSup, with the line

ports-all

in my cvs_supfile

After the update finished, I noticed that some of my ports that were there
before, notably php5-cgi, were no longer there.

I'd appreciate being pointed in the right direction for the solution to my
problem.  Thanks.

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



l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

...from back in the heady days when helpdesk meant nothing, diskquota
meant everything, and lives could be bought and sold for a couple of pages
of laser printout - and frequently were.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sendmail Weirdness on 6.2 (Duplicate Emails)

2007-01-30 Thread Tom Grove
It seems as though something in my setup or in Sendmail 8.13.8 is 
causing certain domains, namely Hotmail, to keep sending messages over 
and over up to 15 times.  Each message is accepted and sent to the 
user.  The MX is just a machine that has 6.2, spamassassin, clamav, 
milter-regex and some dnsbl stuff.  It then relays mail to the imap/pop 
server for user retrieval.  I have no idea what could be going on here.


Anyone else had similar issues?

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


Converting from ata-raid to gmirror

2007-01-30 Thread Toomas Aas

Hello!

I'm currently running FreeBSD 6.2-RELEASE (amd64) on a system based on 
Intel SE7230NH1-E motherboard, which has Intel ICH7R integrated 
softraid. The machine has two 500 GB drives which are configured as 
RAID1 in BIOS. Unfortunately, this setup seems to have some stability 
issues which I can't figure out how to solve. Specifically, when the 
storage subsystem is put under heavy load (such as doing nightly 
backups) the kernel starts spitting out horrible error messages such as:


FAILURE - out of memory in ata_raid_init_request
g_vfs_done():ar0s1f[WRITE(offset=8091172864, length=16384)]error = 5
FAIg_vfs_done():ar0LURE - out of memsory in ata_raid_1init_reqfu[eWsRItTE(o
ffset=8091F1A8I9LU2R4E8 ,-  oleuntg tohf= 16m3e8m4o)ry]e rirno ra t=a 5
_raid_init_requestg
 vfs_done():ar0s1f[WRITE(offsFAeItL=UR8E0 9-1 2o05u6t3 2o,f 
lmeengmtoh=ry1 6i3n8 4a)t]ae_rrraoird _=in i5t


If it looks like garbage, then yes, this is how it appears in 
/var/log/messages. I'm seriously afraid that similar corruption is 
sneaking into important user files.


Only thing I can think of is converting this setup from BIOS-based RAID 
to gmirror. This would involve, I think, modifying /etc/fstab so that it 
references ad4 instead of ar0, then permanently breaking the mirror in 
BIOS, booting up the system with single disk and then basically 
following the gmirror chapter in the handbook. Correct?


I'm also a little uncertain about permanently breaking the mirror 
part. I've read all the motherboard and LSI docs I can find and this 
topic isn't covered anywhere. Some googling seems to hint that it can be 
done, but nothing too definitive. If anyone happens to have the exact 
configuration menu map for Intel Matrix RAID (LSI Megaraid V3) as it 
appears on SE7230NH1-E motherboard, it would be appreciated. Or if 
anyone can suggest what to do to fix the system without converting to 
gmirror, then that, of course, would also be appreciated.


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


Re: Sendmail Weirdness on 6.2 (Duplicate Emails)

2007-01-30 Thread Derek Ragona
This may be from badly formed headers.  This occurs most often in 
SPAM.  You can change the logging on your sendmail and see if the 
conversations actually complete.  I would bet they are not completing, 
instead erroring out, so the messages get resent.  The usual fix is to 
clear the mail out of the hot mail or similar accounts.


-Derek


At 02:52 PM 1/30/2007, Tom Grove wrote:
It seems as though something in my setup or in Sendmail 8.13.8 is causing 
certain domains, namely Hotmail, to keep sending messages over and over up 
to 15 times.  Each message is accepted and sent to the user.  The MX is 
just a machine that has 6.2, spamassassin, clamav, milter-regex and some 
dnsbl stuff.  It then relays mail to the imap/pop server for user 
retrieval.  I have no idea what could be going on here.


Anyone else had similar issues?

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Labeling a backward-compatible Zip disk?

2007-01-30 Thread Kirk Strauser
Out of idle curiosity, I dug out my old box of Zip disks (mainly consisting of 
backups of an Amiga computer I sold many years ago).  The FreeBSD docs have 
an excellent howto for making UFS-formatted disks, but I'd really like to 
format a disk that's basically identical to how it would have originally 
shipped.  The biggest problem is that I have no idea what partitioning scheme 
the OEM-formatted disks used.  Any ideas?  Also, should I use any particular 
newfs options?

OK, this isn't the most pressing issue in the world.  I'm just wanting to 
re-visit the height of 1996's technology.
-- 
Kirk Strauser


pgpsFx0EpwYUq.pgp
Description: PGP signature


Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting

2007-01-30 Thread Joe Vender
I think I've fixed the spontaneous reboot and system hang problem I've been 
having with FBSD 6.1  6.2 as described in earlier threads of the same 
subject. I'm now using FBSD 6.2 to send this message.

What I did was to set a hint in /boot/device.hints and also /boot/loader.conf 
to disable acpi
hint.acpi.0.disabled=1

and then I set a hint to enable apm
hint.apm.0.disabled=0
hint.apm.0.flags=0x20

plus I set apm and apmd to start at boot in /etc/rc.conf
apm_enable=YES
apmd_enable=YES

and in /boot/loader.conf, I put
apm_load=YES

The messages log shows that APM is being detected, and the computer now fully 
powers down via shutdown -p now.

I've a suggestion. It would be nice if freebsd could try to detect if acpi is 
supported on the computer in which it is being installed, and if none is 
found, it should completely disable acpi and then check if apm is supported. 
It should then set the appropriate settings to enable the correct power 
management support for the computer. This would prevent this particular 
spontaneous rebooting and hanging on old computers like mine which are 
pre-acpi but have apm support.

So far, I haven't had any problems using KPPP. I've been up for over an hour 
and I've never been able keep the computer up for this long before making 
these changes.

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


How to stealth ports 0 and 1 on FBSD 6.2

2007-01-30 Thread Joe Vender
I've enabled the firewall in /etc/rc.conf via:
firewall_enable=YES
firewall_type=client

But, ports 0 and 1 show as CLOSED, not STEALTHED at grc.com shieldsup! scan. 
I'm on a standalone desktop computer with no LAN and am using a dialup 
connection to access the internet. I've set the firewall type to client. 
What changes do I need to make to the firewall configuration file in order to 
stealth the ports without causing any local problems?

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


Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting

2007-01-30 Thread Kris Kennaway
On Tue, Jan 30, 2007 at 07:20:47PM -0600, Joe Vender wrote:
 I think I've fixed the spontaneous reboot and system hang problem I've been 
 having with FBSD 6.1  6.2 as described in earlier threads of the same 
 subject. I'm now using FBSD 6.2 to send this message.
 
 What I did was to set a hint in /boot/device.hints and also /boot/loader.conf 
 to disable acpi
 hint.acpi.0.disabled=1
 
 and then I set a hint to enable apm
 hint.apm.0.disabled=0
 hint.apm.0.flags=0x20
 
 plus I set apm and apmd to start at boot in /etc/rc.conf
 apm_enable=YES
 apmd_enable=YES
 
 and in /boot/loader.conf, I put
 apm_load=YES
 
 The messages log shows that APM is being detected, and the computer now fully 
 powers down via shutdown -p now.
 
 I've a suggestion. It would be nice if freebsd could try to detect if acpi is 
 supported on the computer in which it is being installed, and if none is 
 found, it should completely disable acpi and then check if apm is supported. 
 It should then set the appropriate settings to enable the correct power 
 management support for the computer. This would prevent this particular 
 spontaneous rebooting and hanging on old computers like mine which are 
 pre-acpi but have apm support.

It does try to detect it; the problem is apparently that your BIOS
lies and says yep, ACPI capable!, but is in fact too buggy to use.
Look for a BIOS update if possible.

kris

pgpr3BrAB0T6o.pgp
Description: PGP signature


Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting

2007-01-30 Thread Joe Vender
On Tuesday 30 January 2007 19:39, Kris Kennaway wrote:
snipped

 It does try to detect it; the problem is apparently that your BIOS
 lies and says yep, ACPI capable!, but is in fact too buggy to use.
 Look for a BIOS update if possible.

 kris

I hate to say it, but I spoke to soon or jinxed myself! Right after I sent the 
email to the list, my computer locked up tighter than a drum while loading a 
webpage. Argh!

Here's my messages log. Hope someone can help.

Jan 30 19:35:14 psi-lab syslogd: kernel boot file is /boot/kernel/kernel
Jan 30 19:35:14 psi-lab kernel: Copyright (c) 1992-2007 The FreeBSD Project.
Jan 30 19:35:14 psi-lab kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 
1989, 1991, 1992, 1993, 1994
Jan 30 19:35:14 psi-lab kernel: The Regents of the University of California. 
All rights reserved.
Jan 30 19:35:14 psi-lab kernel: FreeBSD is a registered trademark of The 
FreeBSD Foundation.
Jan 30 19:35:14 psi-lab kernel: FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 
UTC 2007
Jan 30 19:35:14 psi-lab kernel: 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
Jan 30 19:35:14 psi-lab kernel: Timecounter i8254 frequency 1193182 Hz 
quality 0
Jan 30 19:35:14 psi-lab kernel: CPU: AMD-K6(tm) 3D processor (381.03-MHz 
586-class CPU)
Jan 30 19:35:14 psi-lab kernel: Origin = AuthenticAMD  Id = 0x58c  Stepping 
= 12
Jan 30 19:35:14 psi-lab kernel: 
Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
Jan 30 19:35:14 psi-lab kernel: AMD Features=0x8800SYSCALL,3DNow
Jan 30 19:35:14 psi-lab kernel: real memory  = 327155712 (312 MB)
Jan 30 19:35:14 psi-lab kernel: avail memory = 310476800 (296 MB)
Jan 30 19:35:14 psi-lab kernel: kbd1 at kbdmux0
Jan 30 19:35:14 psi-lab kernel: K6-family MTRR support enabled (2 registers)
Jan 30 19:35:14 psi-lab kernel: ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, 
RF5111, RF5112, RF2413, RF5413)
Jan 30 19:35:14 psi-lab kernel: module_register_init: MOD_LOAD (splash_bmp, 
0xc0b089e4, 0) error 2
Jan 30 19:35:14 psi-lab kernel: cpu0 on motherboard
Jan 30 19:35:14 psi-lab kernel: apm0: APM BIOS on motherboard
Jan 30 19:35:14 psi-lab kernel: apm0: found APM BIOS v1.2, connected at v1.2
Jan 30 19:35:14 psi-lab kernel: pcib0: Host to PCI bridge pcibus 0 on 
motherboard
Jan 30 19:35:14 psi-lab kernel: pir0: PCI Interrupt Routing Table: 7 Entries 
on motherboard
Jan 30 19:35:14 psi-lab kernel: pci0: PCI bus on pcib0
Jan 30 19:35:14 psi-lab kernel: agp0: SiS 530 host to AGP bridge mem 
0x5000-0x5fff at device 0.0 on pci0
Jan 30 19:35:14 psi-lab kernel: atapci0: SiS 530 UDMA66 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2040-0x204f at device 0.1 on pci0
Jan 30 19:35:14 psi-lab kernel: ata0: ATA channel 0 on atapci0
Jan 30 19:35:14 psi-lab kernel: ata1: ATA channel 1 on atapci0
Jan 30 19:35:14 psi-lab kernel: isab0: PCI-ISA bridge at device 1.0 on pci0
Jan 30 19:35:14 psi-lab kernel: isa0: ISA bus on isab0
Jan 30 19:35:14 psi-lab kernel: pci0: unknown at device 1.1 (no driver 
attached)
Jan 30 19:35:14 psi-lab kernel: ohci0: SiS 5571 USB controller mem 
0x4020-0x40200fff irq 11 at device 1.2 on pci0
Jan 30 19:35:14 psi-lab kernel: ohci0: [GIANT-LOCKED]
Jan 30 19:35:14 psi-lab kernel: usb0: OHCI version 1.0, legacy support
Jan 30 19:35:14 psi-lab kernel: usb0: SiS 5571 USB controller on ohci0
Jan 30 19:35:14 psi-lab kernel: usb0: USB revision 1.0
Jan 30 19:35:14 psi-lab kernel: uhub0: SiS OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
Jan 30 19:35:14 psi-lab kernel: uhub0: 2 ports with 2 removable, self powered
Jan 30 19:35:14 psi-lab kernel: pcib1: PCIBIOS PCI-PCI bridge at device 2.0 
on pci0
Jan 30 19:35:14 psi-lab kernel: pci1: PCI bus on pcib1
Jan 30 19:35:14 psi-lab kernel: pci1: display, VGA at device 0.0 (no driver 
attached)
Jan 30 19:35:14 psi-lab kernel: pcm0: ESS Solo-1E port 
0x2000-0x203f,0x2050-0x205f,0x2060-0x206f,0x2070-0x2073,0x2074-0x2077 irq 5 
at device 10.0 on pci0
Jan 30 19:35:14 psi-lab kernel: pmtimer0 on isa0
Jan 30 19:35:14 psi-lab kernel: orm0: ISA Option ROM at iomem 
0xc-0xc7fff on isa0
Jan 30 19:35:14 psi-lab kernel: atkbdc0: Keyboard controller (i8042) at port 
0x60,0x64 on isa0
Jan 30 19:35:14 psi-lab kernel: atkbd0: AT Keyboard irq 1 on atkbdc0
Jan 30 19:35:14 psi-lab kernel: kbd0 at atkbd0
Jan 30 19:35:14 psi-lab kernel: atkbd0: [GIANT-LOCKED]
Jan 30 19:35:14 psi-lab kernel: psm0: PS/2 Mouse irq 12 on atkbdc0
Jan 30 19:35:14 psi-lab kernel: psm0: [GIANT-LOCKED]
Jan 30 19:35:14 psi-lab kernel: psm0: model Generic PS/2 mouse, device ID 0
Jan 30 19:35:14 psi-lab kernel: fdc0: Enhanced floppy controller at port 
0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Jan 30 19:35:14 psi-lab kernel: fdc0: [FAST]
Jan 30 19:35:14 psi-lab kernel: fd0: 1440-KB 3.5 drive on fdc0 drive 0
Jan 30 19:35:14 psi-lab kernel: ppc0: Parallel port at port 0x378-0x37f irq 
7 on isa0
Jan 30 19:35:14 psi-lab kernel: ppc0: Generic chipset (EPP/NIBBLE) in 
COMPATIBLE mode
Jan 30 19:35:14 psi-lab kernel: ppbus0: Parallel port bus on ppc0
Jan 30 19:35:14 psi-lab kernel: 

RE: Labeling a backward-compatible Zip disk?

2007-01-30 Thread Murray Taylor
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Kirk Strauser
 Sent: Wednesday, 31 January 2007 12:21 PM
 To: freebsd-questions@freebsd.org
 Subject: Labeling a backward-compatible Zip disk?
 
 Out of idle curiosity, I dug out my old box of Zip disks 
 (mainly consisting of 
 backups of an Amiga computer I sold many years ago).  The 
 FreeBSD docs have 
 an excellent howto for making UFS-formatted disks, but I'd 
 really like to 
 format a disk that's basically identical to how it would have 
 originally 
 shipped.  The biggest problem is that I have no idea what 
 partitioning scheme 
 the OEM-formatted disks used.  Any ideas?  Also, should I use 
 any particular 
 newfs options?
 
 OK, this isn't the most pressing issue in the world.  I'm 
 just wanting to 
 re-visit the height of 1996's technology.
 -- 
 Kirk Strauser

Is the format for zip100 in /etc/disktab what you want?

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

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

### This e-mail message has been scanned for Viruses by Bytecraft ###
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.2 install CD causes immediate reboot

2007-01-30 Thread Andrew Gould
 - Original Message 
 From: Garrett Cooper [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Sunday, January 28, 2007 12:16:08 PM
 Subject: Re: FreeBSD 6.2 install CD causes immediate reboot
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Erik Trulsson wrote:
  On Sun, Jan 28, 2007 at 09:34:44AM -0800, Andrew Gould wrote:
  I was given a Dell Dimension m200a yesterday by someone 
  who recently upgraded.  I think it was created around 1997.
 
  CPU:  Pentium
  RAM: 48MB
 
  odd:  This PC runs Win95; but has 2 usb ports.  Didn't 
  Win98 predate usb ports?
 
  No, USB ports started appearing around 1996.  It took a while
  before they become widespread though.  The later revisions
  of Win95 did have support for USB, which was improved in Win98.
  
  
  
  When I try to boot up with the FreeBSD 6.2 installation CD, 
  the system tries to boot from the CD; but then reboots before 
  anything messages from the CD appear on the monitor.
 
  Is there something I can try, or should I just give up?
  I have a hard time throwing functional hardware in the trash.
  Maybe I'm struggling too much with my own mortality; but 
  that's a different discussion.  ;-)
  
  You could try booting an older version of FreeBSD (4.x probably since 5.x is
  very similar to 6.x) and see if that works.  You could also
  fiddle with various BIOS settings.  You could also try the boot floppies.
  
  If none of that works I would give up trying to install FreeBSD on that
  computer.

Booting with FreeBSD 6.2 floppies worked.  Thanks!

Andrew

Try booting the CD without acpi / apm support too. apm support with dell
is fruity, and acpi shouldn't have really been supported all the way
with the machine either.

Moreover, you can try making a boot floppy with the BIOS update as the
current BIOS version may not support Unix installs.

I agree though--if you can't boot freebsd, you should give up. There are
versions of Linux that may run on the laptop though, so you can give
that a shot as well..

Also just for the sake of the archives, Win95 ver. b (basically SP2) did
have USB support but it really sucked; I couldn't the machine to
recognize a number of USB devices with this version of 95. However,
Win98 made a big difference in this arena since they started properly
supporting USB and so that's probably one reason why many people upgraded.

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFvOhoEnKyINQw/HARAjVxAKCW19E3zOsDLq0TvSgfa+N+W4yxZgCeJapp
ZrmxQ0oXi5R0QoRFIRBI/fA=
=iUTj
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



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


Q: re ASUS motherboard with dual inet interfaces

2007-01-30 Thread jekillen

Hello,
I have a new machine with an ASUS motherboard that
has, or is supposed to have dual ethernet interfaces.
And in fact it has two rj-45 ports for connecters.
But when I use sysinstall to configure the interfaces
all I get is fwe0 fire wire ethernet emulation.
And when I use sysinstall it only lists one device.
ifconfig only lists this device.
What is the explanation for this and how would I
get it to configure and use the second port?
Using FreeBSD v6.0. Need separate local and public
connections to this machine.
Thanks in advance
JK

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


Re: man sysinstall

2007-01-30 Thread Jared Barneck

--- Jared Barneck [EMAIL PROTECTED] wrote:

 
 --- [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
 
  Ceri Davies wrote:
  
  On Thu, Jan 25, 2007 at 07:28:39PM -0500, Tom
  Rhodes wrote:

  
  On Thu, 25 Jan 2007 14:54:47 +
  Ceri Davies [EMAIL PROTECTED] wrote:
  
  
  
  On Wed, Jan 24, 2007 at 11:05:13PM -0800, BSD
  Certification Team wrote:

  
  Hello all,
  
  The man page for sysinstall is pretty out of
  date.  I
  am trying to PXE boot to an unattended
 install.
  
  I figured out that I needed to add dists=base
  kernels
  GENERIC even though kernels and GENERIC are
 not
  in the
  list in the man page.
  
  Is there anyone in charge of updating this
  information?  I have never submitted an
 update.
  
  
  I guess that's me.  Could you please raise a PR
  and send me the number?

 I sent in a PR.  Let me know if you don't get it.
  
  I tried with almost every version of 5.X to get
 an
  unattended
  install working.  Never worked.  It seems as if
  sysinstall
  was looking only for a USB floppy drive. 
  Originally I started
  looking over the code to send in a PR and
 perhaps
  a patch,
  but became busy with other things.
  
  
  
  I can't speak for 5.x because I didn't really run
  it, but this worked
  for 6.x a year ago:
  http://typo.submonkey.net/articles/2006/02/12/
  

  
  I am actually pxe booting to it now.  However, I
 am
  using pxe-1.4.2 
  instead of having it all in the dhcp config. 
  
  Also, I saw a not that the floppy drive is not
  working.  I couldn't get 
  it to work either.  I am doing this all PXE style.
  
 I was using FreeBSD, isc-dhcp-server, pxe-1.4.2, and
 tftp and ftp from inetd to pxe boot and didn't
 really
 try the floppy so I tried the floppy.
 
 I have tested two separate hardware machines and
 VMWare  5.d and I cannot get the floppy to detect
 and
 read the install.cfg.  I have tried both MS-DOS
 floppy
 and a floppy formatted with UFS, so I am guessing
 this
 is broken too.
 
 So with the PXE solution, I have almost everything
 working: I cannot get the machine to automatically
 reboot.  This is the one last thing I need for full
 automation.
 
 So it looks like there are three issues that some of
 us who donate time could address:
 
 1. Update man sysinstall which I submitted a PR for.
 2. Fix the floppy not being detected.
 3. Figure out how to reboot once the unattended
 install completes.

I found the answer for how to reboot in the code.  To
reboot add the following to the end of the
install.cfg:

shutdown

I found it in this source file:
/usr/src/usr.sbin/sysinstall/dispatch.c

This source file has a list of a lot of the functions
that can be called in the install.cfg. Even though the
function is called shutdown it is a reboot not a
shutdown, which is perfect because I wanted it to
reboot.

Also, I found that a lot of variables are in this
file:
/usr/src/usr.sbin/sysinstall/sysinstall.h

I will try write a few changes to the man page, and
send it to you with a diff file and get you my working
install.cfg in my next email.

 
  
  The OP's note about adding the kernels line is
  definitely needed and I'll
  fix that (though I would really love a PR for
 it),
  but for anything
  else, you have to send hardware (a laptop or
  Soekris, I'm not fussy!) :)
  
  Ceri

  
 
 I will settle for the updated man page for now.  I
 wish I could just send everyone a laptop.  :-)  
 
 
 
  


 Don't get soaked.  Take a quick peak at the forecast
 with the Yahoo! Search weather shortcut.
 http://tools.search.yahoo.com/shortcuts/#loc_weather
 



 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting

2007-01-30 Thread Kris Kennaway
On Tue, Jan 30, 2007 at 08:01:18PM -0600, Joe Vender wrote:
 On Tuesday 30 January 2007 19:39, Kris Kennaway wrote:
 snipped
 
  It does try to detect it; the problem is apparently that your BIOS
  lies and says yep, ACPI capable!, but is in fact too buggy to use.
  Look for a BIOS update if possible.
 
  kris
 
 I hate to say it, but I spoke to soon or jinxed myself! Right after I sent 
 the 
 email to the list, my computer locked up tighter than a drum while loading a 
 webpage. Argh!
 
 Here's my messages log. Hope someone can help.

OK, I see you're using pppd - unfortunately this is known to have
serious problems and is essentially unmaintained in FreeBSD.  Use
ppp(8) instead, or if you really don't want to change over then you'll
have to configure debugging as in the developers' handbook chapter on
kernel debugging, and try to determine whether or not pppd is really
to blame.

Kris


pgp70FgHtovqy.pgp
Description: PGP signature


Re: Q: re ASUS motherboard with dual inet interfaces

2007-01-30 Thread Josh Carroll

Using FreeBSD v6.0. Need separate local and public
connections to this machine.


There's your problem. If it's the board I'm thinking of, it has one of
the newer Marvell chipsets which isn't supported in 6.0. Give
6.2-RELEASE a shot, and I imagine it'll see your network cards.

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


where are packeges after pkg_add -r zzz stored

2007-01-30 Thread Amer H. Alhabsi

Hi,

I have a slow Internet connection at home and a fast one in the office. 
I want to download a package and ALL dependencies from office PC then 
take them and install them at home. My question is where are the 
packages stored after being downloaded with pkg_add -r zzz.


Thanks,

Amer,

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


Re: man sysinstall

2007-01-30 Thread Antony Mawer

On 31/01/2007 3:05 PM, Jared Barneck wrote:
...

I found the answer for how to reboot in the code.  To
reboot add the following to the end of the
install.cfg:

shutdown

I found it in this source file:
/usr/src/usr.sbin/sysinstall/dispatch.c

This source file has a list of a lot of the functions
that can be called in the install.cfg. Even though the
function is called shutdown it is a reboot not a
shutdown, which is perfect because I wanted it to
reboot.


I have a local patch that we use on our installation process that adds a 
couple of new commands:


poweroff - shutdown and power off the machine (useful for doing
installation, then shut down for shipping)
poweroffNoRC - as above, but don't attempt to write rc.conf
shutdownNoRC - like regular shutdown (reboot), but no rc.conf

The latter two options are handy if you write your own scripts that 
generate rc.conf, as normally sysinstall tries to write rc.conf itself 
on shutdown, which clobbers any existing file your scripts may create.


If anyone is interested and/or these are likely candidates for inclusion 
then I can submit a PR to have someone check these in. I also have a man 
page update that documents the above functions.


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


Re: where are packeges after pkg_add -r zzz stored

2007-01-30 Thread Josh Carroll

I have a slow Internet connection at home and a fast one in the office.
I want to download a package and ALL dependencies from office PC then
take them and install them at home. My question is where are the
packages stored after being downloaded with pkg_add -r zzz.



From man pkg_add:


-K  Keep any downloaded package in PKGDIR if it is defined or in cur-
rent directory by default.

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