Re: Yahoo! and GAIM

2004-01-10 Thread Andrew L. Gould
On Friday 09 January 2004 10:23 pm, Jonathan T. Sage wrote:
 Eric F Crist wrote:
  Hello people.
 
  I used to think IM clients were passe and childish, until I tried to go
  without.  I found that there are a lot of business associates and friends
  that use it, and it makes life a lot easier.  So, alas, I've been using
  GAIM as a one-stop shop.  However, Yahoo! changed their protocol again
  this morning, so I can't log in.  I tried to download their freebsd port
  (which THEY wrote) and I get the following errors when I try to install
  it with pkg_add:
 
  nomad# pkg_add fbsd4.ymessenger.tgz
  pkg_add: could not find package gtk-1.2.3 !
  pkg_add: could not find package glib-1.2.3 !
  pkg_add: could not find package XFree86-3.3.6 !
  pkg_add: could not find package gdk-pixbuf-0.8.0 !
  pkg_add: could not find package gettext-0.11.1_1 !
  nomad#
 
  Does anyone have a fix for this?  This GAIM password thing is new this
  morning, I've done searches, and there isn't a fix yet.  It's even
  discussed on the Yahoo! groups for Unix clients.
 
  TIA

 These errors are caused because pkg_add cannot find the listed
 prerequisites.  Install those and it should work fine.

 ~j

Doing a 'pkg_add -n' on the ymessenger package at the FreeBSD ftp site reveals 
that the package/dependencies have been updated.  Have you tried using the 
FreeBSD package or port?

Best of luck,

Andrew Gould

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


Re: What is the end of FreeBSD ?!

2004-01-10 Thread Cordula's Web
 Notice the difference between these two approaches?  It means there's
 basically no chance that what happened with RedHat will ever happen to
 FreeBSD.
 
 In fact, so disgusted am I with the thought of a Microsoft-dominated 
 future, and so impressed am I with the FreeBSD system (and by that I 
 mean the whole system, including the way code is offered up by 
 volunteers who do it for the quality of the end result), that I'm going 
 to donate $25 to the FreeBSD Foundation right now. And I'm unemployed, 
 that's how much I like FreeBSD.

Among other things, bandwidth for CVSUP and FTP mirrors is also
a good thing to donate.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: Documentation for sources

2004-01-10 Thread Cordula's Web
  Can anyone tell me any sites with documentation and explanations about
  sources of FreeBSD (for example ping.c)? Thak you!
 I think the best way to find documentation for the sources is reading
 comments around them.

Or try this book on code reading skills:

  Code Reading: The Open Source Perspective
  Diomidis Spinellis
  Addison-Wesley. ISBN 0-201-79940-5

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: Informations about FreeBsd for University Project

2004-01-10 Thread Cordula's Web
 and i'm writing you to ask some documentation on it. In particular, i'd
 like to find informations about type of scheduler in FreeBSD, threads and
 multithreading managing and priority assignment. It'd be very helpful for
 me if you could drive me to some good articles or any other type of documents
 on it. It'd be usefull to have infos on how it's changed FreeBSD scheduler
 till the last version 5.X.

http://www.chesapeake.net/~jroberson/ULE.pdf

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: Informations about FreeBsd for University Project

2004-01-10 Thread Cordula's Web
 I'm a student in Computer Science at university of Bologna (Italy). I'm
 developing a project called Scheduling Algorithms In Modern Operating Systems
 and i'm writing you to ask some documentation on it. In particular, i'd

While you're at it, check out L4Ka::Pistachio (http://l4ka.org/),
a microkernel in which you can replace the builtin scheduler by
a userland scheduler. L4 has nothing to do with FreeBSD [unless
someone tries to port *BSD to run on top of L4...], so this may
be slightly off-topic.

-- 
Cordula's Web. http://www.cordula.ws/

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


Performance Issues

2004-01-10 Thread Loren M. Lang
I have been using freebsd for a couple of months now, and have
enjoyed it thus far, but there are a couple of performance
issues I've been having with it.  Previously I was running linux
on this same hardware, so all this issues are freebsd specific.

Xine seems to have trouble playing movies at the beginning, it's
choppy for the first several seconds, then resumes the movie normally
after it's in a little ways.  Even stopping and restarting, it still
exhibits the same behavior at the beginning of a movie file.  Also,
watching dvd's on this computer is slightly choppy, but very slight.
mplayer seems to do fine for dvd's and movies, but mplayer has no menu
support for dvd's.  I haven't had this trouble with xine on linux
using much older versions to just slightly more recent than xine in
the freebsd ports and I would like to have it fixed.

Also, artsd has troubles.  The sound is slightly scratchy coming out
it and after it's been running a while, gaim sounds playing through
artsd don't quite finish and echos the last bit of the sound,
sounding all scratchy.  Esd seems to work better, but everything I've
read and seen about those two always claims that artsd is much better
and higher quality than esd.  After seeing the unmaintained home of
esd vs. the nice home of artsd, I'd agree.  Xine in linux I know had
particular problems with esd while watching dvds where artsd worked
fine.  Not sure about xine and esd in freebsd.

Lastly, the system seems slow at times after I haven't been doing much
work in it, especially when I have many windows open in mozilla.  I
think this is just because the system is having to swap in memory, but
I don't remember it being such a big problem in linux.  I'm using
freebsd 4.9 on a PIII 600Mhz with 128 meg ram.  Freebsd has a 256 meg
swap as the default of install made it.  In linux, I only had a 128 meg
swap.

Am I just having bad luck, or is something just misconfigured on my
system.  I'd like to get it back to the point I had it with linux,
or I might just switch back.  Any suggestions would be appreciated.

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp0.pgp
Description: PGP signature


Linux Compatibility and Folding@Home

2004-01-10 Thread Loren M. Lang
I was trying to run a Linux program called [EMAIL PROTECTED] in FreeBSD, but
it doesn't seem to want to load.  I have a version compiled for
glibc 2.2 I believe, but when I run it in bsd, I get the error message:

ELF binary type 0 not known.
Abort trap

That was using version 3.x of [EMAIL PROTECTED]  They also have a glibc 2.3 version,
but that also fails:

./FAH3Console-LinuxB.exe: /lib/libc.so.6: version `GLIBC_2.3' not found
(required by ./FAH3Console-LinuxB.exe)

This I believe is because it looks like freebsd uses glibc 2.2.5 for
it's linux compatibility layer.  I have successfully run other programs
with the linux compatibility layer, so I know I have linux.ko loaded and
everything set up correctly.

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp0.pgp
Description: PGP signature


Re: Linux Compatibility and Folding@Home

2004-01-10 Thread Q
On Sat, 2004-01-10 at 20:36, Loren M. Lang wrote:
 I was trying to run a Linux program called [EMAIL PROTECTED] in FreeBSD, but
 it doesn't seem to want to load.  I have a version compiled for
 glibc 2.2 I believe, but when I run it in bsd, I get the error message:
 
 ELF binary type 0 not known.
 Abort trap

I have never tried this particular program, so I can't say if it will
work for sure, but I see no reason why it shouldn't. Try doing an
'brandelf -t Linux file' and run it again. This will let FreeBSD know
that it's a Linux binary.

 That was using version 3.x of [EMAIL PROTECTED]  They also have a glibc 2.3 version,
 but that also fails:
 
 ./FAH3Console-LinuxB.exe: /lib/libc.so.6: version `GLIBC_2.3' not found
 (required by ./FAH3Console-LinuxB.exe)

If you need glibc 2.3 then you need to install the
'emulation/linux_base-8' port, this is the equivalent to a RedHat 8 base
system, rather than the RedHat 7 base you have installed now.

Seeya...Q

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


Re: Performance Issues

2004-01-10 Thread Q

 Xine seems to have trouble playing movies at the beginning, it's
 choppy for the first several seconds, then resumes the movie normally
 after it's in a little ways.  Even stopping and restarting, it still
 exhibits the same behavior at the beginning of a movie file.  Also,
 watching dvd's on this computer is slightly choppy, but very slight.

Do you have DMA enabled on your DVD drive (you can check using
'atacontrol mode channel')?

 mplayer seems to do fine for dvd's and movies, but mplayer has no menu
 support for dvd's.  I haven't had this trouble with xine on linux
 using much older versions to just slightly more recent than xine in
 the freebsd ports and I would like to have it fixed.

You can actually compile in dvd menu support into mplayer, but I'm not
sure if it works as well as Xine. I haven't used either for playing DVDs
in some time.

 Also, artsd has troubles.  The sound is slightly scratchy coming out
 it and after it's been running a while, gaim sounds playing through
 artsd don't quite finish and echos the last bit of the sound,
 sounding all scratchy.  Esd seems to work better, but everything I've
 read and seen about those two always claims that artsd is much better
 and higher quality than esd. 

I would use whichever works best. I don't use sound much at all so I
can't really help with that.. but when I have used sound daemons in the
past they have always caused me problems unless they were running with a
fairly decent sized buffer cache.

 Lastly, the system seems slow at times after I haven't been doing much
 work in it, especially when I have many windows open in mozilla.  I
 think this is just because the system is having to swap in memory, but
 I don't remember it being such a big problem in linux.  I'm using
 freebsd 4.9 on a PIII 600Mhz with 128 meg ram.  Freebsd has a 256 meg
 swap as the default of install made it.  In linux, I only had a 128 meg
 swap.

Try running 'top' or some other sort of system monitor to see exactly
what's happening.

Seeya...Q

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


Re: Linux Compatibility and Folding@Home

2004-01-10 Thread Loren M. Lang
On Sat, Jan 10, 2004 at 08:54:39PM +1000, Q wrote:
 On Sat, 2004-01-10 at 20:36, Loren M. Lang wrote:
  I was trying to run a Linux program called [EMAIL PROTECTED] in FreeBSD, but
  it doesn't seem to want to load.  I have a version compiled for
  glibc 2.2 I believe, but when I run it in bsd, I get the error message:
  
  ELF binary type 0 not known.
  Abort trap
 
 I have never tried this particular program, so I can't say if it will
 work for sure, but I see no reason why it shouldn't. Try doing an
 'brandelf -t Linux file' and run it again. This will let FreeBSD know
 that it's a Linux binary.
 

It worked! 

I'm assuming this actually modifies the elf file, is it still compatible
with linux, and is this a common problem or just for certain rare
executable?

  That was using version 3.x of [EMAIL PROTECTED]  They also have a glibc 2.3 
  version,
  but that also fails:
  
  ./FAH3Console-LinuxB.exe: /lib/libc.so.6: version `GLIBC_2.3' not found
  (required by ./FAH3Console-LinuxB.exe)
 
 If you need glibc 2.3 then you need to install the
 'emulation/linux_base-8' port, this is the equivalent to a RedHat 8 base
 system, rather than the RedHat 7 base you have installed now.
 

I'll try it.

 Seeya...Q
 
 
 
 !DSPAM:3fffdb41195678470827837!
 

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp0.pgp
Description: PGP signature


Re: Linux Compatibility and Folding@Home

2004-01-10 Thread Mathieu Arnold


+-le 10/01/04 02:36 -0800, Loren M. Lang écrivait :
| I was trying to run a Linux program called [EMAIL PROTECTED] in FreeBSD, but
| it doesn't seem to want to load.  I have a version compiled for
| glibc 2.2 I believe, but when I run it in bsd, I get the error message:
| 
| ELF binary type 0 not known.
| Abort trap
| 
| That was using version 3.x of [EMAIL PROTECTED]  They also have a glibc 2.3 version,
| but that also fails:
| 
| ./FAH3Console-LinuxB.exe: /lib/libc.so.6: version `GLIBC_2.3' not found
| (required by ./FAH3Console-LinuxB.exe)

You should :
brandelf -t Linux FAH*
and you *should* use ./FAH... -freebsd

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


Re: How to get best results from FreeBSD-questions

2004-01-10 Thread Loren M. Lang
On Fri, Jan 09, 2004 at 05:02:01PM -0800, Greg Lehey wrote:
 6.  Unless there's a good reason to do otherwise, reply to the sender
 and to FreeBSD-questions.  Many people on the FreeBSD-questions
 are lurkers: they learn by reading messages sent and replied to
 by others.  If you take a message which is of general interest off
 the list, you're depriving these people of their information.  Be
 careful with group replies; lots of people send messages with
 hundreds of CCs.  If this is the case, be sure to trim the Cc:
 lines appropriately.
 

Hmmm...  seems like I remember this as a big no-no on some other list,
as it stated that most people who submitted messages were probably also
subscribed, and it was an irritation to them to see duplicates to all
the replies.  I know I am slightly annoyed when I see that, but only
slightly.  It finished saying that anyone who wanted a personal reply to
state so, but if they didn't, I'd hate not knowing if they received my
reply just because I assumed they were subscribed.

I guess I'll just have to adjust...

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp0.pgp
Description: PGP signature


Cyrrus-imap with generic error

2004-01-10 Thread W. Ryan Merrick
hello,

I have been fighting this for a while. I am trying to setup 
Postfix-2.0.16+cyrus-Imap-2.1.16_1+cyrus-sasl-2.1.17_1 on my FreeBSD 4.9 
Stable server's inside NIC.

Postfix is configured with: sasl2, TLS, BDB_ver 40
cyrus-imapd2' = '--with-sasl --with-openssl WITH_BDB_VER=4'
cyrus-sasl2' = '--with-openssl WITH_BDB_VER=4 --enable-auth-sasldb 
--enable-login'

Postfix runs fine by itself It complains that:

Jan 10 02:47:22 c1529030-a postfix/pipe[35530]: 51BDF4113: 
to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], relay=cyrus, 
delay=9701, status=deferred (temporary failure. Command output: couldn't 
connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect 
to lmtpd_ )

I know that the lmtpd socket is also handled by cyrus imap to deliver the 
mail to the cyrus mailboxes that the admin sets up in cyradm.

#ll /var/imap/socket/
srwxrwxrwx  1 root  cyrus  0 Jan 10 03:17 lmtp
Sasl has two users one admin and one user with passwords
#sasldblistusers2
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
When I run /usr/local/cyrus/bin/master

I get this output in /var/log/cyrus.imap
Jan 10 03:27:09 c1529030-a master[39752]: process started
Jan 10 03:27:09 c1529030-a master[39753]: about to exec 
/usr/local/cyrus/bin/ctl_cyrusdb
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39753]: recovering cyrus databases
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39753]: done recovering cyrus databases
Jan 10 03:27:09 c1529030-a master[39752]: servname not supported for 
ai_socktype, disabling lmtp
Jan 10 03:27:09 c1529030-a master[39752]: ready for work
Jan 10 03:27:09 c1529030-a master[39754]: about to exec 
/usr/local/cyrus/bin/ctl_cyrusdb
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: checkpointing cyrus databases
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving database file: 
/var/imap/mailboxes.db
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving log file: 
/var/imap/db/log.01
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving log file: 
/var/imap/db/log.01
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: done checkpointing cyrus 
databases
Jan 10 03:27:09 c1529030-a master[39752]: process 39754 exited, status 0

When I attempt to access cyradmin with:
cyradm --user admin -auth plain cell.attbi.com
I get a high volume of repeating logs. (about 20 lines a second)

Jan 10 03:30:51 c1529030-a imap[39987]: executed
Jan 10 03:30:51 c1529030-a imapd[39987]: SASL failed initializing: 
sasl_server_init(): generic failure
Jan 10 03:30:51 c1529030-a master[39752]: process 39987 exited, status 1
Jan 10 03:30:51 c1529030-a master[39988]: about to exec 
/usr/local/cyrus/bin/imapd

Until I kill master. At which point I get my login prompt.

#cyradm --user admin -auth plain cell.attbi.com
IMAP Password:Broken pipe
I have googled everything I from the logs with no hints.
I dont know where I went wrong. I have tried cvsuping and rebuilding all 
the packages a few times in the last month.

Configs and files follow
--
-Ryan Merrick
[EMAIL PROTECTED]


#cat /usr/local/lib/sasl2/Cyrus.conf
pwcheck_method auxprop
#cat /usr/local/lib/sasl2/smtpd.conf
pwcheck_method auxprop
#ll /usr/lib/sasl2
lrwxr-xr-x  1 root  wheel  20 Jan  8 01:34 /usr/lib/sasl2 - 
/usr/local/lib/sasl2

#ll /var/imap/socket/
total 0
srwxrwxrwx  1 root  cyrus  0 Jan 10 03:27 lmtp
#cat /usr/local/etc/imapd.conf
configdirectory: /var/imap
partition-default: /var/spool/imap
servername: cell.attbi.com
allowanonymouslogin: yes
allowplaintext: yes
admins: admin
singleinstancestore: yes
duplicatesuppression: yes
sieveusehomedir: false
sievedir: /var/imap/sieve
sendmail: /usr/local/sbin/sendmail
sasl_minimum_layer: 0
sasl_pwcheck_method: auxprop
lmtpsocket: /var/imap/socket/lmtp
#cat /usr/local/etc/cyrus.conf
# standard standalone server implementation
START {
  # do not delete this entry!
  recover   cmd=ctl_cyrusdb -r
  # this is only necessary if using idled for IMAP IDLE
#  idledcmd=idled
}
# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
  # add or remove based on preferences
  imap  cmd=imapd listen=10.1.1.1:imap prefork=0
  imaps cmd=imapd -s listen=10.1.1.1:imaps prefork=0
  pop3  cmd=pop3d listen=pop3 prefork=0
  pop3s cmd=pop3d -s listen=pop3s prefork=0
  sieve cmd=timsieved listen=sieve prefork=0
  # at least one LMTP is required for delivery
  lmtp  cmd=lmtpd listen=lmtp prefork=0
  lmtpunix  cmd=lmtpd listen=/var/imap/socket/lmtp prefork=0
  # this is only necessary if using notifications
#  notify   cmd=notifyd listen=/var/imap/socket/notify proto=udp prefork=1
}
EVENTS {
  # this is required
  checkpointcmd=ctl_cyrusdb -c period=30
  # this is only necessary if using duplicate delivery suppression
  delprune  cmd=ctl_deliver -E 3 at=0400
  # this is only necessary if caching TLS sessions
  tlsprune  cmd=tls_prune at=0400
}
#cat /usr/local/etc/postfix/main.cf
# LOCAL PATHNAME INFORMATION

Re: How to get best results from FreeBSD-questions

2004-01-10 Thread Matthew Seaman
On Sat, Jan 10, 2004 at 03:48:12AM -0800, Loren M. Lang wrote:
 On Fri, Jan 09, 2004 at 05:02:01PM -0800, Greg Lehey wrote:
  6.  Unless there's a good reason to do otherwise, reply to the sender
  and to FreeBSD-questions.  Many people on the FreeBSD-questions
  are lurkers: they learn by reading messages sent and replied to
  by others.  If you take a message which is of general interest off
  the list, you're depriving these people of their information.  Be
  careful with group replies; lots of people send messages with
  hundreds of CCs.  If this is the case, be sure to trim the Cc:
  lines appropriately.

 Hmmm...  seems like I remember this as a big no-no on some other list,
 as it stated that most people who submitted messages were probably also
 subscribed, and it was an irritation to them to see duplicates to all
 the replies.  I know I am slightly annoyed when I see that, but only
 slightly.  It finished saying that anyone who wanted a personal reply to
 state so, but if they didn't, I'd hate not knowing if they received my
 reply just because I assumed they were subscribed.

FreeBSD-questions is a special case: as it's the most prominently
advertised support contact point, the expectation is that a large
fraction of the participants won't be members of the list.  It's also
the case that we want answers to go to the list, as then the list
archives form a kind of knowledge-base whereby people can help
themselves.

Now that the FreeBSD lists are managed using Mailman, you have the
option not to receive any message to a mailing list where your address
is already listed in the To: or CC: headers.  I think it's set to
Yes by default.

Personally, I just hit 'g' in mutt.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


install.cfg

2004-01-10 Thread Vahric MUHTARYAN
Hi , 

You can see my install.cfg output below. I can't set hostname , ip address
I'dont understand why ? and I red sysinstall but it's funny I cant find any
variable for hostname and ip address . They are only available for
mediaSetNFS . Do I have to use install media NFS ? 

Thanks,
Vahric 

#
# This is my install.cfg for FreeBSD 4.8-RELEASE.  You must save this in
UNIX and not PC format!
# This is a typical config that most people will want to use, modify as
necessary.
#
# From the sysinstall manpage :
# sysinstall is currently at the end of its life cycle and will eventually
be replaced.
#
# [EMAIL PROTECTED]
#
# *** WARNING *** DO NOT USE THIS CONFIG YOU'VE READ IT CAREFULLY AS IT WILL
OVERWRITE YOUR DISK
#
# Use Alt F2 to see the debug output
#installVarDefaults
#nonInteractive=NO
#tryDHCP=NO
#noWarn=NO
# router solicitation, turns off IPv6
#tryRTSOL=NO
debug=yes
#
# Installed host's configuration
hostname=freebsd.try.net.tr
domainname=try.net.tr
nameserver=10.10.10.2
defaultrouter=10.10.10.1
ipaddr=10.10.10.102
netmask=255.255.255.0
#
# Which installation method to use
# This is where the system will go -
ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/i386/packages-4.8-release/All/
# If you use a different kernel, such as upgrading to 4.8-STABLE then you
won't be able to ftp packages because
# sysinstall does'nt allow it.
#_ftpPath=ftp://ftp.uk.freebsd.org/pub/FreeBSD/
#netDev=xl0
#mediaSetFTP
#mediaSetNFS
#nfs=MyNfsServer:/export/ari_scratch2/gallatin/freebsd-dist
mediaSetCDROM
#
# Select which distributions we want.
#dists=bin doc manpages dict info crypto compat3x compat4x ports ssecure
sbase scontrib sgnu setc sinclude slib slibexec srelease sb
in ssbin sshare ssys subin susbin ssmailcf Xbin Xcfg Xdoc Xhtml Xlib Xlk98
Xlkit Xman Xprog Xps Xset Servers/XSVGA Servers/XVG16 Ser
vers/Xnest Servers/Xvfb Xfnts Xf100 Xfcyr Xfscl Xfnon Xfsrv
#distSetCustom
distSetEverything
#
# Set the parameters for the partition editor
# ad = IDE, da = SCSI
disk=da0
# Enable this for interactive fdisk
#diskInteractive
# Change this to all if this is a server, we don't want any multi-booting
rubbish on our servers
#partition=existing
#partition=all
partition=exclusive
bootManager=boot
diskPartitionEditor
#
# - All sizes are expressed in 512 byte blocks!
# - Size in MB = sectors * 512 / 1024 / 1024
# - Number of blocks = xsize in mb * 1024 * 1024 / 512
# The non-zero value after the mountpoint means enable soft updates
da0s1-1=ufs 2031616 /
da0s1-2=swap 1015808 none
da0s1-3=ufs 2031616 /var 56
da0s1-4=ufs 1015808 /tmp
da0s1-5=ufs 0 /usr
diskLabelEditor
# runs diskLabelCommit diskPartitionWrite
#configPackages
#package=bash-2.05b.007
#packageAdd
#package=cvsup-16.1h
#packageAdd
#package=vim-lite-6.2.72
#packageAdd
installCommit   
package=bash-2.05b.007 
packageAdd
package=cvsup-16.1h
packageAdd
package=vim-lite-6.2.72
packageAdd
# If you use execute a system command with parameters, then you must use
double quotes, else it won't work
# and will terminate the script.
# I recommend that you execute as few commands here as possible because if
they fail the subsequent commands
# will not be executed, and so the entire installation may be unusable
depending on the subsequent commands.
# Remember to use the full path to the system command  
# WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
WARNING WARNING WARNING WARNING WARNING
# These still don't work properly, i'm fed up with sysinstall!!!  Just
execute the script, that works.
# WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
WARNING WARNING WARNING WARNING WARNING
# In case of any problem with the script we enable remote access now and set
a temporary root password
#command=echo rc_conf_files=/etc/rc.conf /etc/rc.conf.local 
/etc/rc.conf
#system
#command=echo sshd_enable=YES  /etc/rc.conf
#system
#command=echo 'abc123' | /usr/sbin/pw usermod -u root -h 0 
#system
# We write a script to make system changes as opposed to using a package as
this way we have much more control
# PATH is not set so also be careful to explicitly tell system where the
script is
#command=/stand/post-install.sh
#system
#command=/sbin/reboot
#system
shutdown  
# End of install.cfg

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


turn off FreeBSD 5.1 machine? completely?

2004-01-10 Thread hugle
Hello all.
How can I turn off machine completely?
cause it waits for CTRL+D of root pass..
Thx
-- 
Best regards,Hugle

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


Re: turn off FreeBSD 5.1 machine? completely?

2004-01-10 Thread Antoine Jacoutot
On Saturday 10 January 2004 14:23, hugle wrote:
 Hello all.
 How can I turn off machine completely?
 cause it waits for CTRL+D of root pass..

shutdown -p now

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


Re: turn off FreeBSD 5.1 machine? completely?

2004-01-10 Thread Matthew Seaman
On Sat, Jan 10, 2004 at 03:23:04PM +0200, hugle wrote:

 How can I turn off machine completely?
 cause it waits for CTRL+D of root pass..

From multiuser state (ie. the normal operating state) become superuser
and use the command:

# shutdown -h now

then wait until the system is down announcement, when you can hit the
power button without fear of damaging the filesystems.

Alternatively, and only if you have support for apm or acpi in your
kernel and a compatible motherboard, you can type:

# shutdown -p now

which does exactly the same as 'shutdown -h' but goes on to power down
the system automatically.  This is safe to use if your system doesn't
have the appropriate support -- it just halts the system but fails to
either power down or (I think) tell you that the system is down.

As it is, your system is waiting for the root password before it goes
into single user mode -- you would get to that state either by typing
plain 'shutdown' without, or by hitting the power button while the
system was running, being unlucky enough to cause filesystem damage
bad enough that the system can't automatically fix it, and then
attempting to power on again and reboot.

That it asks for a password then is due to changing the console entry
in /etc/ttys from 'secure' to 'insecure'.  Your choices are either to
give the root password, which gets you into single user mode, or to
hit Ctrl-D, which will cause the system to boot back into multiuser.

Either way, once you've got to a shell prompt, then use the shutdown
command as above to bring the system down cleanly.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: turn off FreeBSD 5.1 machine? completely?

2004-01-10 Thread Heine Aarbø
On Sat, 10 Jan 2004 15:23:04 +0200, hugle [EMAIL PROTECTED] wrote:
How can I turn off machine completely?
If you have the folowing in your dmesg:
acpi0: Power Button (fixed)
just push the powerbutton once and you'll get a clean shutdown.
--
Heine Aarbø
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: install.cfg

2004-01-10 Thread Rob
Vahric MUHTARYAN asked on Saturday January 10, 2004:

 Hi ,

 You can see my install.cfg output below. I can't set hostname , ip
address
 I'dont understand why ? and I red sysinstall but it's funny I cant
find any
 variable for hostname and ip address . They are only available for
 mediaSetNFS . Do I have to use install media NFS ?

 Thanks,
 Vahric

I'm guessing that you've already looked at
/usr/src/release/sysinstall/install.cfg - that's a good starting point.

You only configure the network in install.cfg if you're doing a network
install. These values (as far as I know) do not persist after the
installation.

Why not put /etc/rc.conf and so forth onto a floppy, and add them to the
system after installation?

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


appending to CFLAGS

2004-01-10 Thread David Fleck
4.9-RELEASE-p1.

I'm trying to debug a kernel module (vpo.ko) that used to work, but now
doesn't.  As a first step, I'd like to build the module in
/usr/src/sys/modules/vpo with VPO_DEBUG set.

However, my attempts to add the VPO_DEBUG define to the build fail,
because my syntax results in VPO_DEBUG replacing CFLAGS, not appended to
it.  I'm trying:

make CFLAGS+=VPO_DEBUG

in pretty much every permutation I can think of - quoted, unquoted,
whitespace separating tokens, no whitespace.  Each time, all the CFLAGS
are blown away and replaced by VPO_DEBUG.  How do I append a variable to
CFLAGS?

I'm sure this is something blindingly simple, but I'm not seeing it in the
developer's handbook or the make manpages.


--
David Fleck
[EMAIL PROTECTED]

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


Re: appending to CFLAGS

2004-01-10 Thread David Fleck
On Sun, 11 Jan 2004, Gautam Gopalakrishnan wrote:
 You could take the easy way and add it to CFLAGS in /etc/make.conf

Yes, I figured that was the easiest thing to do.  Also, I decided that I'd
misread the man page for make, and that the '+=' construct for variables
is not supported as a command-line option.

thanks-

--
David Fleck
[EMAIL PROTECTED]

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


Re: turn off FreeBSD 5.1 machine? completely?

2004-01-10 Thread Kevin D. Kinsey, DaleCo, S.P.
Matthew Seaman wrote:

On Sat, Jan 10, 2004 at 03:23:04PM +0200, hugle wrote:

 

How can I turn off machine completely?
cause it waits for CTRL+D of root pass..
 

snip

Alternatively, and only if you have support for apm or acpi in your
kernel and a compatible motherboard, you can type:
   # shutdown -p now

which does exactly the same as 'shutdown -h' but goes on to power down
the system automatically.  This is safe to use if your system doesn't
have the appropriate support -- it just halts the system but fails to
either power down or (I think) tell you that the system is down.
 

You think correctly, according to my experience.  A box
(running 5.X) that doesn't support apm/apci simply acts
as if you called -h instead of -p.  A Good Thing.
Kevin Kinsey

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


Re: nvidia geforce fx 5200 not working with nvidia driver

2004-01-10 Thread Andrew L. Gould
I'm out of ideas.  I purchased a card similar to yours; but if was a gift for 
my nephews' computer, which runs Windows XP.

I actively seek to avoid hardware compatibility issues.  I run FreeBSD STABLE; 
and I never buy video cards for my computers unless they're supported by 
XFree86.  The fact that NVIDIA provides a driver that allows 3D acceleration 
is just the icing on the cake.  (I suppose cool 3D games would be the 
analogous candles.)

Best of luck,

Andrew Gould


On Thursday 08 January 2004 04:01 pm, Luca Gerli wrote:
 Hi Andrew,

   I tried both, even setting NvAgp to 0, but no luck. I also
 tried to play with ReqAGP to force lower AGP rates, still the
 problem remains. Of the three cards, the only one which keeps
 not working is the 5200. I wonder if it is an AGP issue, but
 even using the Kernel AGP made no difference.
   Any other idea ? Or someone having that same card + same kernel ?
   (chipset is via kt400).

   Thanks, Luca.

 Andrew L. Gould wrote:
  On Thursday 08 January 2004 03:21 pm, Luca Gerli wrote:
 Hello all,
 
   just installed a new Nvidia GeForce FX 5200 on my pc (freebsd 5.2RC2),
 and did a startx but just got this:
 
   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: Thu Jan  8 22:09:22 2004
   (==) Using config file: /etc/X11/XF86Config
   nvidia0: rm_init_adapter() failed!
   (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
   (EE) NVIDIA(0):  *** Aborting ***
   (EE) Screen(s) found, but none have a usable configuration.
 
   Fatal server error:
   no screens found
 
   /var/log/XFree86.0.log says:
 
   snip
   (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
   (==) NVIDIA(0): RGB weight 888
   (==) NVIDIA(0): Default visual is TrueColor
   (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
   (--) NVIDIA(0): Linear framebuffer at 0xE000
   (--) NVIDIA(0): MMIO registers at 0xDE00
   (==) NVIDIA(0): Write-combining range (0xde601000,0x1000) was already
 clear (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
   (EE) NVIDIA(0):  *** Aborting ***
   (II) UnloadModule: nvidia
   (II) UnloadModule: vgahw
   (II) Unloading /usr/X11R6/lib/modules/libvgahw.a
   (EE) Screen(s) found, but none have a usable configuration.
   snip
 
   My previous setup was based on a GeForce 2 GTS, and X with nvidia run
 without any problem. Also a GeForce 2 MX400 was ok. Now, I had to revert
  to the nv driver (the one included in XFree86) to be able to run X.
 
   Has anyone any clue or advice ?
 
   I did compile nvidia-driver-1.0.4365 with the default options (just
 a simple make install) when I had the GeForce 2 GTS installed. Kernel
 is in its default config (as coming from 5.2RC2).
 
   BTW: card is working ok in M$ and Linux.
 
   Thanks,
Luca.
 
  Does your /etc/X11/XF86Config have the NvAgp option line in it to
  determine whether to use the nvidia agp or FreeBSD agp?  (This is
  discussed in the README file.)
 
  Have you tried doing the make setup again?
 
  Best of luck,
 
  Andrew Gould

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

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


Checking for Rejected Mail Hosts -- My Own?

2004-01-10 Thread Brian Minard
Hello,

I often get reports from periodic's daily runs to the effect that:

  Checking for rejected mail hosts: 43 flatfoot.ca

All of these rejections are coming from the log entries generated
by real time black lists, such as spamcop, and these reports say my
own domain is rejected. I'm adding these black lists with sendmail's
enhdnsbl command, although I get the same results with dnsbl.

I pass the relaying tests at abuse.net, so I'm not sure whether to be
concerned about these reports or not. Can anyone comment on what might
be wrong here?

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


Re: Checking for Rejected Mail Hosts -- My Own?

2004-01-10 Thread Matthew Seaman
On Sat, Jan 10, 2004 at 11:18:54AM -0500, Brian Minard wrote:

 I often get reports from periodic's daily runs to the effect that:
 
   Checking for rejected mail hosts: 43 flatfoot.ca
 
 All of these rejections are coming from the log entries generated
 by real time black lists, such as spamcop, and these reports say my
 own domain is rejected. I'm adding these black lists with sendmail's
 enhdnsbl command, although I get the same results with dnsbl.
 
 I pass the relaying tests at abuse.net, so I'm not sure whether to be
 concerned about these reports or not. Can anyone comment on what might
 be wrong here?

Yeah -- I see this too.  For some reason your sendmail logs aren't
quite in the same format as the periodic script expects.  I found that
setting FEATURE(delay_checks) in your `hostname`.mc can cause that.

There's a patch in this PR which might help:

http://www.freebsd.org/cgi/query-pr.cgi?pr=58206

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: partition not freeing it's space after deleting files from it

2004-01-10 Thread Simon ekar
Yes, looks like reboot does not cleanly unmount the filesystems so the 
fsck is run on boot. The strange thing is if I stoped all the daemons 
and tried to unmount /var, the machine freezes.

This part is also strange:
I've started to move /var things to /usr, just because I didn't know 
what to do more. I've moved /var/log to /usr ... then I've moved postfix 
spool to /usr and discovered that now, /usr is not freeing it's space 
any more and /var is begining to free it's space if i create and delete 
something from it.

Strange... I've upgraded postfix from 2.0.13 to 2.0.16 and now the disks 
are freeing space for 3 days now. It's early to say that fixed the 
problem but at this time it looks like it.

Don't ask how, i don't get it, can not find any connection between 
postfix and this problem.

Does this make a bell ring to anyone ? :-)

Lowell Gilbert wrote:
Is the fsck needed on reboot?  That would be a hint...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to use LDAP passwd at 4.9 ?

2004-01-10 Thread Dan Welch
On Wed, Jan 07, 2004 at 01:33:14PM +0100, Frank wrote:
 snip 
 at last is it possible to modify the /etc/master.passwd
 file with a shell script to add some entries in it the
 modify the passwd database WITHOUT using vipw ?

I use pw in scripts to avoid vipw. From the manpage:
The pw utility handles updating the passwd,
master.passwd, group and the secure and insecure
password database files, and must be run as root.

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


gtk-gnutella-0.93.2 crashing frequently..

2004-01-10 Thread Jason
anyone else seeing this app dumping core very frequently?
a core file can be seen at
http://monsterjam.org/core/

the previous version I portupgraded from 0.91 I believe was working fine and dandy 
before I 
portupgraded it. 

regards,
Jason

-- 

|Jason Welsh   [EMAIL PROTECTED]|
| http://monsterjam.orgDSS PGP: 0x5E30CC98 |
|gpg key: http://monsterjam.org/gpg/   |


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


perl script question.

2004-01-10 Thread Gary Kline

Folks,

Let's see if perl can do this one; it's as obscure a task
as I've run into.  I have scores of files with:

A regular sentence, or phrase. then_one_containing_underscores_-
between_each_word  Followed by another regular, space-delimited
sentence.  Followed_by_another_string_with_underscaores.

Is there a perl way to get rid of the
string_containing_underscores and leave the regular sntences??

Any thoughts very welcome!!

thanks muchly,

gary

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

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


Re: perl script question.

2004-01-10 Thread Bernard El-Hagin
Gary Kline wrote:
 
   Folks,
 
   Let's see if perl can do this one; it's as obscure a task
   as I've run into.  I have scores of files with:
 
   A regular sentence, or phrase. then_one_containing_underscores_-
   between_each_word  Followed by another regular, space-delimited
   sentence.  Followed_by_another_string_with_underscaores.
 
   Is there a perl way to get rid of the
   string_containing_underscores and leave the regular sntences??
 
   Any thoughts very welcome!!


Perhaps this will be enough:


% perl -i.bak -pe 'tr/_/ /' files


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


Vinum Question

2004-01-10 Thread Vahric MUHTARYAN
Hi Everybody, 

I wonder Why FreeBSD did not put Vinum configuration from the
begining of the intsall process. Vinum is same of LVM ( Linux ) and with
RAID 10 support its better. 

And one thing is disturb me, including vinum support to the kernel
not recommanded ?! Why I don't understand . Why we have to configure with
kld. 

Do you know any feature request mail address for FreeBSD ?! 

Thanks 
Vahric



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


Re: perl script question.

2004-01-10 Thread Matthew Seaman
On Sat, Jan 10, 2004 at 02:10:36PM -0800, Gary Kline wrote:
 
   Folks,
 
   Let's see if perl can do this one; it's as obscure a task
   as I've run into.  I have scores of files with:
 
   A regular sentence, or phrase. then_one_containing_underscores_-
   between_each_word  Followed by another regular, space-delimited
   sentence.  Followed_by_another_string_with_underscaores.
 
   Is there a perl way to get rid of the
   string_containing_underscores and leave the regular sntences??
 

perl -pi.bak -e 's/\s+\w+_\w+\.?//;' filename

Cheers,

Matthew 

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


pgp0.pgp
Description: PGP signature


Re: perl script question.

2004-01-10 Thread Björn Andersson
If this occures more than once on a line we should have the line as this:
  perl -pi.bak -e 's/\s+\w+_\w+\.?//g;' filename

Notice the added g. :-)

On Sat, Jan 10, 2004 at 10:33:08PM +, Matthew Seaman wrote:
 On Sat, Jan 10, 2004 at 02:10:36PM -0800, Gary Kline wrote:
  
  Folks,
  
  Let's see if perl can do this one; it's as obscure a task
  as I've run into.  I have scores of files with:
  
  A regular sentence, or phrase. then_one_containing_underscores_-
  between_each_word  Followed by another regular, space-delimited
  sentence.  Followed_by_another_string_with_underscaores.
  
  Is there a perl way to get rid of the
  string_containing_underscores and leave the regular sntences??
  
 
 perl -pi.bak -e 's/\s+\w+_\w+\.?//;' filename
 
   Cheers,
 
   Matthew 
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH UK


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


Download contents of http directory?

2004-01-10 Thread Minnesota Slinky
Hello list,

How can I download the entire contents of a directory
on a webserver?  I can see them in index mode, but
it's a list of about 2,000 jpg files for a reunion. 
How can I download everything there to one directory?

TIA

Eric F Crist
612-998-3588
AdTech Integrated Systems, Inc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Download contents of http directory?

2004-01-10 Thread Bernard El-Hagin
Minnesota Slinky wrote:
 Hello list,
 
 How can I download the entire contents of a directory
 on a webserver?  I can see them in index mode, but
 it's a list of about 2,000 jpg files for a reunion. 
 How can I download everything there to one directory?


Use wget. It's in ports.


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


Re: Download contents of http directory?

2004-01-10 Thread Cordula's Web
 How can I download the entire contents of a directory
 on a webserver?  I can see them in index mode, but
 it's a list of about 2,000 jpg files for a reunion. 
 How can I download everything there to one directory?

With /usr/ports/ftp/wget:

  wget -r -x -v -np -k -np http://www.example.com/path/to/dir

Without -x, files will be saved in the current directory,
with -x in www.example.com/path/to/dir

-np (no parent) is important, if you don't want directories
above /path/to/dir

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: perl script question.

2004-01-10 Thread Matthew Seaman
On Sat, Jan 10, 2004 at 11:39:07PM +0100, Björn Andersson wrote:
 On Sat, Jan 10, 2004 at 10:33:08PM +, Matthew Seaman wrote:
  On Sat, Jan 10, 2004 at 02:10:36PM -0800, Gary Kline wrote:

 Folks,

 Let's see if perl can do this one; it's as obscure a task
 as I've run into.  I have scores of files with:

 A regular sentence, or phrase. then_one_containing_underscores_-
 between_each_word  Followed by another regular, space-delimited
 sentence.  Followed_by_another_string_with_underscaores.

 Is there a perl way to get rid of the
 string_containing_underscores and leave the regular sntences??

  perl -pi.bak -e 's/\s+\w+_\w+\.?//;' filename

 If this occures more than once on a line we should have the line as this:
   perl -pi.bak -e 's/\s+\w+_\w+\.?//g;' filename

Good point.  Also, if the stuff_separated_by_underscores wraps around
onto more than one line, then there may not be any leading whitespace:

perl -pi.bak -e 's/\s*\w+_\w+\.?//g;' filename

cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Unsupported Driver at the instalaltion section

2004-01-10 Thread Vahric MUHTARYAN
Hi Everybody, 

Sorry I know this kind of question posted the list but I can't catch
it. I'm almost using intel based board and RAID controllers and some time
Promise RAID controller for IDE Disk . I don't have any gripe about drivers
because all of them are foundable by FreeBSD . 

f hardware vendor have a driver or build new driver for FreeBSD
newly Does it possible to introduce this driver to the FreeBSD because I
cant find any section on handbook for . 


Vahric  




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


Re: Swapped disks and now stuck in the mountroot prompt

2004-01-10 Thread roberto

I run into the same problem: I've installed FreeBSD 4.9 on a ide0:0
(primary IDE, master hd) then ported the hard disk on a second PC and
installed as ide1:0 (secondary IDE, master hd).

When booting the kernel start probing devices but halts when it try to
mount the root file system with the following message:
 mount root from ufs:/dev/ad0s1a
 root mount failed: 6

At the prompt I've tried with ufs:/dev/ad2s1a but it does not work.

The problem is that the kernel (in some way that I do not know) is
instructed to load /dev/ad0s1a as root file system (yes at this stage the
config file /etc/fstab is not involved yet, becouse it is no available
until the root file system will be mounted).

The solution is to instruct the kernel with the right device: ad2s1a seems
to be wrong...

I'm working on it...

Bye
Roberto

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


Re: New to FreeBSD 4.9 questions about configuration

2004-01-10 Thread Larry Hammer
On Friday 09 January 2004 03:42 pm, you wrote:
 # [EMAIL PROTECTED] / 2004-01-09 12:57:26 -0800:
  I changed /etc/ttys ie.
  #ttyv8  /usr/X11R6/bin/xdm -nodaemon  xterm   off secure
  ttyv8   /usr/local/bin/kdmxterm   on  secure
 
  it woks as expected but with respect to the /etc/ttys  right before X
  starts I am getting a message refering to abnormal helper termination
  error code 0 it doesn't seem to be hurting antthing, can I fix it?

 google. this is a common problem, the warning is benign.

  Mounting root from ufs:/dev/ad0s2a
  ad0s2a: UDMA ICRC error writing fsbn 42387790 of 4160-4163 (ad0s2 bn
  42387790; cn 2638 tn 132 sn 4) retrying
  ad0s2a: UDMA ICRC error writing fsbn 42387790 of 4160-4163 (ad0s2 bn
  42387790; cn 2638 tn 132 sn 4) retrying
  ad0s2a: UDMA ICRC error writing fsbn 42387790 of 4160-4163 (ad0s2 bn
  42387790; cn 2638 tn 132 sn 4) retrying
  ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn
  42379502; cn 2638 tn 0 sn 32) retrying
  ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn
  42379502; cn 2638 tn 0 sn 32) retrying
  ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn
  42379502; cn 2638 tn 0 sn 32) retrying
  ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn
  42379502; cn 2638 tn 0 sn 32) falling back to PIO mode
  in bois the hard drives pio mode is set to auto I have the options of
  auto,and pio mode 1-5, I have tried to play with this abit but no
  diference how do I either make the hard drive work with the udma mode
  or configure the kernal to stay at pio mode in the first place?

 this error has several possible reasons, one of them being a crappy
 cable:

 http://lists.freebsd.org/pipermail/freebsd-questions/2003-November/025669.h
tml

  I stiil need to set up the printer Apollo p-2600  havnt even tried
  yet.

 ISTR there's a chapter on printing in the Handbook, did you read it?

  and last but not least cdburner software when I had linux going.but gave
  up trying to keep up with it,   I had K3B who do I beg to  port  this??

 a colleague of mine (a Mandraker) uses k3b, and from the look of it
 it's just a gui frontend to cdrecord... try [EMAIL PROTECTED]



 BTW you might do yourself a favor by sending one question/topic per
 message. people usually give up on long messages just because
 they're long (and you get to be able to use a more descriptive
 subject :)
Hello,

after checking the cable to the hard drive it was the 80 wire 40 pin, in good 
shape

I pulled everything but the hard drive and booted, it fixed it, the cdrom that 
I had setup as the slave on the ide0 bus seems to be conflicting, so I set up 
the cdrom and zip on the second bus and marked the ide0 slave as not 
installed in bios.
The UDMA ICRC errorer is gone and I now have UDMA 100 everything related to 
storage  works well now :)


the printer is of no concern at this point as I havn't even tried to get it 
going yet, when I start working with it I will read everything I can get my 
hands on
as far as my other questions I will ask about one subject at a time from now 
on.
thanks from,
Larry


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


Re: perl script question.

2004-01-10 Thread Marty Landman
At 06:02 PM 1/10/2004, Matthew Seaman wrote:
On Sat, Jan 10, 2004 at 11:39:07PM +0100, Björn Andersson wrote:

 If this occures more than once on a line we should have the line as this:
   perl -pi.bak -e 's/\s+\w+_\w+\.?//g;' filename
Good point.  Also, if the stuff_separated_by_underscores wraps around
onto more than one line, then there may not be any leading whitespace:
I don't see why the translate sol'tn that Gary Kline gave first isn't adequate.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


resources using mhash

2004-01-10 Thread Russell Dickson
I hope this is the correct list for this.

I'm wondering about mhash and how others find it for efficiency on a web
server, specifically for RAM and how much it adds to the web daemon.  Also,
if anyone has found a problem when recompiling it in with PHP?  I can't
find any such stats and little else on mhash.  

My server is on FreeBSD 4.7-REL, Apache 1.23.55 and PHP 4.2.3.  The mhash
extension is needed to connect with Authorize.Net's new system.  I'm new to
FreeBSD, the guy handling my server is not, though he's not familiar with
mhash.

Thanks in advance,

Russell

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


Re: How to get best results from FreeBSD-questions

2004-01-10 Thread Greg 'groggy' Lehey
On Saturday, 10 January 2004 at 12:01:26 +, Matthew Seaman wrote:
 On Sat, Jan 10, 2004 at 03:48:12AM -0800, Loren M. Lang wrote:
 On Fri, Jan 09, 2004 at 05:02:01PM -0800, Greg Lehey wrote:
 6.  Unless there's a good reason to do otherwise, reply to the sender
 and to FreeBSD-questions.  Many people on the FreeBSD-questions
 are lurkers: they learn by reading messages sent and replied to
 by others.  If you take a message which is of general interest off
 the list, you're depriving these people of their information.  Be
 careful with group replies; lots of people send messages with
 hundreds of CCs.  If this is the case, be sure to trim the Cc:
 lines appropriately.

 Hmmm...  seems like I remember this as a big no-no on some other list,
 as it stated that most people who submitted messages were probably also
 subscribed, and it was an irritation to them to see duplicates to all
 the replies.  I know I am slightly annoyed when I see that, but only
 slightly.  It finished saying that anyone who wanted a personal reply to
 state so, but if they didn't, I'd hate not knowing if they received my
 reply just because I assumed they were subscribed.

 FreeBSD-questions is a special case: as it's the most prominently
 advertised support contact point, the expectation is that a large
 fraction of the participants won't be members of the list.  It's also
 the case that we want answers to go to the list, as then the list
 archives form a kind of knowledge-base whereby people can help
 themselves.

I think that Loren was suggesting just reply to the list.  The
paragraph above doesn't address that issue, and maybe it should.
The rationale here is that many people, myself included, routinely
discard most mailing list mail unread.  If, however, it's a followup
to something I wrote, I want to see it.  If it's addressed to me as
well, mutt will flag it and I'll see it.

 Now that the FreeBSD lists are managed using Mailman, you have the
 option not to receive any message to a mailing list where your
 address is already listed in the To: or CC: headers.  I think it's
 set to Yes by default.

Hmm, the only thing I know there is the Receive posts you send to the
list option, which isn't quite the same.  FWIW, I use procmail, which
can catch duplicate messages.  Just put this in your .procmailrc:

  # Avoid messages with duplicate Message-ID
  :0 W: msgid.lock
  | formail -D 65536 msgid.cache

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


pgp0.pgp
Description: PGP signature


Re: perl script question.

2004-01-10 Thread Matthew Seaman
On Sat, Jan 10, 2004 at 06:26:30PM -0500, Marty Landman wrote:
 At 06:02 PM 1/10/2004, Matthew Seaman wrote:
 On Sat, Jan 10, 2004 at 11:39:07PM +0100, Björn Andersson wrote:
 
  If this occures more than once on a line we should have the line as this:
perl -pi.bak -e 's/\s+\w+_\w+\.?//g;' filename
 
 Good point.  Also, if the stuff_separated_by_underscores wraps around
 onto more than one line, then there may not be any leading whitespace:
 
 I don't see why the translate sol'tn that Gary Kline gave first isn't 
 adequate.

Err --- Gary Kline was the OP asking how to do this: I think you mean 
Bernard El-Hagin's solution?

% perl -i.bak -pe 'tr/_/ /' files

That doesn't do the right thing.  It turns:

This is a sample ordinary sentence.  This_is_joined_up_with_underscores.

into:

This is a sample ordinary sentence.  This is joined up with underscores.

but the requirement is to produce:

This is a sample ordinary sentence.

Cheers,

Matthew 


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


pgp0.pgp
Description: PGP signature


Re: Download contents of http directory?

2004-01-10 Thread Eric F Crist
On Saturday 10 January 2004 04:44 pm, Bernard El-Hagin wrote:
 Minnesota Slinky wrote:
  Hello list,
 
  How can I download the entire contents of a directory
  on a webserver?  I can see them in index mode, but
  it's a list of about 2,000 jpg files for a reunion.
  How can I download everything there to one directory?

 Use wget. It's in ports.

Thanks,  I was thinking mget for some reason.  Been a big help!
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Re: perl script question.

2004-01-10 Thread Marty Landman
At 06:36 PM 1/10/2004, Matthew Seaman wrote:

Err --- Gary Kline was the OP asking how to do this: I think you mean
Bernard El-Hagin's solution?
% perl -i.bak -pe 'tr/_/ /' files

That doesn't do the right thing.
Woops, not only can't I read the question right, can't read the poster's 
name right either. Maybe it really is time to start thinking about reading 
glasses.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD hangs on boot

2004-01-10 Thread mcabanatuan
I just recently got an old HP NetServer LH Plus
(specs):
Pentium 166MHz (dual processor board with single cpu)
128MB of RAM (DIMM's)
Mylex DAC960 RAID controller
5x 4.2GB SCSI RAID5 array.
--

At any rate, I've tried using my 4.3-RELEASE, 5.1-RELEASE cd's but those fail to even 
load due to a fault in the loader. I managed to find my 5.0-DP1 CD and gave that a 
shot, and low and behold the boot loader worked, it managed to find a driver for the 
SCSI drives (including the cdrom), and to my surprise the RAID controller as well. 

To give you a little background, basically any *nix based OS I have tried fails to 
install due to not having a driver or a working driver for the RAID controller, so no 
block device shows up as being able to installed on to. 5.0-DP1 was the first thing 
that worked. Even NetBSD with their claim of being able to run on anything fails to 
install. 

Ok so now the problem, pardon the winded explanation. I successfully created paritions 
and mount points and installed a system to them. Finished install, removed the CD, 
rebooted, and that ended that pretty much. Aftter it get's past loading up the BIOS 
and initializing the system, the loader comes up for me to push 'F1' to load FreeBSD. 
I do that and all I get is a system beep. Nothing loads, nothing happens, and I am 
able to keep pushing F1 with more beeps. No errors, no loading of anything, no nothin.

Is there a way I can force error messages to see what the problem is, or to get the 
machine to boot? Questions? Comments? Suggestions?

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


What are _p. files that break installworld?

2004-01-10 Thread Carolyn Longfoot
I have just run make buildworld on '4 stable' (4.9) and with make 
installworld I get a ton of missing files, such as libvgl_p.a /usr/lib, all 
follwing the same pattern where a .a file exists but the corresponding _p.a 
file in the same lib directory.

What's up with that and what are those pesky files?

Cheers,
Caro
_
Get a FREE online virus check for your PC here, from McAfee. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


5.2-RELEASE - Show stopper problem

2004-01-10 Thread Ted Wisniewski
Here is a description of the problem...

In 5.2-RC and 5.2-RELEASE there appears to be some issue with
filesystem or I/O subsystem under 5.2-X.   Now, You can install and do the normal
kind of things, however, when you create a lot of I/O on the disk there
seems to be a problem actually reading/writing it to/from disk.   For example,
If I do a make buildworld...  It appears to go along ok.   However, I have
had a number of (repeatable) situations where the make installworld will go
so far then will not be able to complete.  In this case, there is an attempt
to write data to disk that cannot complete; the process goes into a disk wait 
state (it cannot be killed, and will stay in this state ...  forever).

For example the standard daily security script:

  727  p0  T  0:00.00 sh 100.chksetuid
  737  p0  T  0:02.14 find /usr -xdev -type f ( -perm -u+x -or -perm -g+x -or 
-perm -o+x ) ( -perm -u+s -or -perm -g+s


I have experienced the same problem on a number of hardware types (Servers like 
New Dell Power edge 6550's and variety of PC's).  For some reason, it appears
that data cannot be read or written to/from the disk.   Possibly due to some
lock never being released.  So, the only way to get rid of the process is to 
reboot...  During the reboot, the system complains about not being able to flush
buffers and gives up and on boot, all the filesystems are dirty and must be 
FSCK'ed.  Originally, I thought it had something to do with the server model,
but it does occur on a number of Desktop model (a variety of vendors) machines 
as well.  I did send in a PR or two a couple of weeks ago)...  but since I see 
RELEASE tag...  Anyway, If someone could shed any light on why...  I have not been
able to repeat this behavior on 4.9.  

Ted

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


Re: Sound not working on laptop

2004-01-10 Thread Mazen S. Alzogbi
Hi,

Thanks for everyone who helped (and is helping me) to find my
way in the great world of FreeBSD.

I learned how to recompile the
kernel and I did compile it with device pcm and device pcm0 at 
but it didn't work. I tried and tried and tried and spent almost 3 hours
with no luck. Finally, I found that my sound card is SiS 7012 and I
THINK it's a builtin one in the Motherboard.

Amazingly, the sound card on my desktop machine (which runs FreeBSD 4.9
of course) is running smoothly.

Could you please advise what would be the next thing I should do.

Again, thanks.

Cheers,

Mazen


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


Re: Sound not working on laptop

2004-01-10 Thread Gautam Gopalakrishnan
On Sat, Jan 10, 2004 at 09:23:26PM -0400, Mazen S. Alzogbi wrote:
 Hi,
 
 Thanks for everyone who helped (and is helping me) to find my
 way in the great world of FreeBSD.
 
 I learned how to recompile the
 kernel and I did compile it with device pcm and device pcm0 at 
 but it didn't work. I tried and tried and tried and spent almost 3 hours
 with no luck. Finally, I found that my sound card is SiS 7012 and I
 THINK it's a builtin one in the Motherboard.

I don't think you need to recompile. Just load the snd_ich.ko module.
Then check if /dev/dsp and /dev/mixer are created for you. If so,
you're done.

# kldload snd_ich

Gautam

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


cdbakeoven errors when burning multiple tracks

2004-01-10 Thread Alex
I'm setting up cdbakeoven on FreeBSD 4.8 and I'm
trying to burn a set of MP3 files to an audio CD.
Everything works fine if I only burn a single track,
but when I try to do more than one it appears to trip
over itself when writing to the /tmp directory. Here's
the results of dump, the error message seems to be
on the last line with  no such file or directory...

Compilation list contains 2 files.
Of those, 2 MP3 and 0 Ogg Vorbis file(s) will be
decompressed.
Starting to decompress MP3/Ogg Vorbis file(s)!
Decompressing 'Lost On The River' (1 of 2), percent
done:
100%
Decompressing 'piazza' (2 of 2), percent done:
100%
MP3/Ogg Vorbis file(s) decompressed successfully!
Starting burn process!
cdrecord: No such file or directory. No read access
for '/tmp/cdbo_audio_1_10_17_13_38.wav
/tmp/cdbo_audio_1_10_17_13_46.wav'.
Burn failed!

I am running as root, so permissions shouldn't be a
problem. The only thing in CDbakeOven I found that
looks like it could solve this is a filed under New
CD Settings labeled Image name. This is currently
set to cdboImage_DATE_trackname.iso, is there
something I can do here to solve the problem?

Thanks,
Alex


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sound not working on laptop

2004-01-10 Thread Eric F Crist
On Saturday 10 January 2004 07:23 pm, Mazen S. Alzogbi wrote:
 Hi,

 Thanks for everyone who helped (and is helping me) to find my
 way in the great world of FreeBSD.

 I learned how to recompile the
 kernel and I did compile it with device pcm and device pcm0 at 
 but it didn't work. I tried and tried and tried and spent almost 3 hours

Mazen,

Don't use both device pcm AND device pmc0 at  You should just use:

device pcm

do a kernel compile with the following commands from /usr/src/sys/i386/conf

#config kernel name
# cd ../../compile/kernel name
# make depend  make  make install

At this point, you MUST reboot your machine.  Once rebooted, install amp 
(/usr/ports/audio/amp) and test with a .wav file.  If you have KDE Games 
installed, you can use the following command to test:

# amp /usr/local/share/apps/kasteroids/sounds/Kasteroids.wav

If you're NOT running KDE at that time, it should work.  If not, try running 
KDE and you should start to hear sounds.

HTH
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


X problems

2004-01-10 Thread Lance Earl
I am new to FreeBSD. I am giving it a hard look because I do not like the
the direction that Red Hat is taking and I must find a replacement for my
server, www.dallypost.com.

My first install went pretty good but I have a few problems.

1. When I startx, x starts properly the first time. When I shut down x
with ctrl/alt backspace, I get:  waiting for X server to shut down xterm:
fatal IO error 32 (Broken pipe) or KillClient on X server :0.0
xterm: fatal IO error 32 (Broken pipe) or KillClient on X server :0.0 If
I attempt to restart x I get a flickering effect that makes the entire
screen kind of sparkle.

I installed FreeBSD with gnome, but it does not start when I startx. How
can I make startx boot into gnome?

Thank you for any help.

Lance Earl
DallyPost, Inc.
208-548-2721
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tail tip to Fortune?

2004-01-10 Thread Andrew L. Gould
On Fri, 9 Jan 2004, Dan Nelson wrote:

 In the last episode (Jan 09), Dru said:
  I remember coming across a trick (which I can't find now) which
  allowed you to page all of a file, except for the first 10 lines. I
  think it used a combo of head and tail to achieve this. I can't just
  use tail as the length of the file varies whereas the amount I don't
  want to see doesn't.

 tail +11 myfile

Could we get this one into the Fortune tips that appear at user login?

Andrew Gould

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


Re: cdbakeoven errors when burning multiple tracks

2004-01-10 Thread Eric F Crist
On Saturday 10 January 2004 07:32 pm, Alex wrote:
 cdrecord: No such file or directory. No read access

Alex, 

Do you have cdrecord installed?  It seems as if this program depends on it.  
If so, make sure it's been installed to the directory that cdbakeoven expects 
it in.  If not, either create a link, or change the config for cdbakeoven.

My .02
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Re: perl script question.

2004-01-10 Thread Gary Kline
On Sat, Jan 10, 2004 at 11:36:45PM +, Matthew Seaman wrote:
 On Sat, Jan 10, 2004 at 06:26:30PM -0500, Marty Landman wrote:
  At 06:02 PM 1/10/2004, Matthew Seaman wrote:
  On Sat, Jan 10, 2004 at 11:39:07PM +0100, Björn Andersson wrote:
  
   If this occures more than once on a line we should have the line as this:
 perl -pi.bak -e 's/\s+\w+_\w+\.?//g;' filename
  
  Good point.  Also, if the stuff_separated_by_underscores wraps around
  onto more than one line, then there may not be any leading whitespace:
  
  I don't see why the translate sol'tn that Gary Kline gave first isn't 
  adequate.
 
 Err --- Gary Kline was the OP asking how to do this: I think you mean 
 Bernard El-Hagin's solution?
 
 % perl -i.bak -pe 'tr/_/ /' files
 
 That doesn't do the right thing.  It turns:
 
 This is a sample ordinary sentence.  This_is_joined_up_with_underscores.
 
 into:
 
 This is a sample ordinary sentence.  This is joined up with underscores.
 
 but the requirement is to produce:
 
 This is a sample ordinary sentence.
 

Exactly so.  I could easily tr '_' to ' ', but not delete //g
and entire string that contained undrscores.  BTW, this 
kind of technique would be useful in filtering 
^ Subject: lines like get.a.bigger.bustline or other such
garbage.  --But then the people who hack the antispam 
programs are do doubt expert at this... .

gary




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

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


Re: X problems

2004-01-10 Thread Eric F Crist
On Saturday 10 January 2004 08:49 pm, Lance Earl wrote:
 My first install went pretty good but I have a few problems.

 1. When I startx, x starts properly the first time. When I shut down x
 with ctrl/alt backspace, I get:  waiting for X server to shut down xterm:

A couple things for you:

1) Ctrl-Alt-Backspace is not really the _correct_ way to shutdown the xwindows 
system.  If you get a black, checkered screen with about three green windows, 
select the one on the left and type 'exit.'  If this doesn't work, do the 
Ctrl-Alt-Backspace and kill all processes that mention X or xfree.  

2) To get Gnome to start create a file in your user's home directory 
( ~/user ) called .xinitrc (WITH the 'dot' in front).  In this file, add the 
line:

exec gnome-session

If you use KDE instead, use the line:

exec startkde

Hope this helps, and welcome to the club.

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Re: What are _p. files that break installworld?

2004-01-10 Thread Chuck Swiger
Carolyn Longfoot wrote:
I have just run make buildworld on '4 stable' (4.9) and with make 
installworld I get a ton of missing files, such as libvgl_p.a /usr/lib, 
all follwing the same pattern where a .a file exists but the 
corresponding _p.a file in the same lib directory.
The _p.a files are profiled versions of the libraries, although their absence 
normally doesn't cause any problems.  You may have NOPROFILE=true set in 
your /etc/make.conf, or you may have had it set when building world but not 
when you tried the installworld.

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


Re: Sound not working on laptop

2004-01-10 Thread Eric F Crist
On Saturday 10 January 2004 07:46 pm, Mazen S. Alzogbi wrote:
 Eric,
 Doing so didn't helped even. After rebooting and grep pcm
 /var/run/dmesg.boot, I see that:

 pcm0: SiS 7012 at device 2.7 on pci0
 pcm0: unable to map IO port space
 device_probe_and_attach: pcm0 attach returned 6

 Gautam, the same result above showed when I # kldload snd_ich on the
 prompt :(

 Guys, is this thing supported or even solvable?

Yes, it is solvable.  In your system BIOS, make certain that your system is 
set to 'Non Plug-and-Play OS.'  This will enable the BIOS to assign 
appropriate IRQs and such.  You have some conflict, which I'm not 100% 
certain on how to track.  Someone on this list should be able to answer that 
part.  Once you figure this out, you should set a line in your kernel config 
(not sure on syntax) to the effect of assiging an unused IRQ.  It IS 
recognizing your sound card and trying to use it, but it's running into an 
Input/Output (that's where it gets IO in IO port space) conflict.


-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


5.1-RELEASE ERROR

2004-01-10 Thread Pada
What is this error???


FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: VIA694 AWRDACPI on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00fdb50
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.FDC0._CRS] 
(Node 0xc5aba040), AE_AML_UNINITIALIZED_LOCAL
ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0.FDC0._CRS] 
(Node 0xc5aba040), AE_AML_UNINITIALIZED_LOCAL
can't fetch resources for \\_SB_.PCI0.FDC0 - AE_AML_UNINITIALIZED_LOCAL
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
acpi_cpu0: CPU on acpi0
acpi_cpu1: CPU on acpi0



/Pada

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


Re: FreeBSD 5.1 Install Error

2004-01-10 Thread Jacob Rhoden
On Sat, 10 Jan 2004 18:31, Elsie Rae Bryan wrote:
 Re: /dist directory missing on 5.1 mfsroot disk
 jacob, excuse my intrusion since I do not have any solutions. What I do
 have is the exact same problem. I tried to move the CD files to the hard
 disk and ended up with the same error for the hard drive. What has
 happened with your efforts to resolve this error. Were you able to
 install 5.1?

Your the 5th person to email me directly about this problem. I wonder when 
someone will believe it is a real problem! (:

Although I cannot solve the problem, I do have a solution for people with this 
problem. The problemoccurs when using an installation method which involves 
the installer mounting a set of files in the /dist directory.

Any install method wich avoids this will work fine for you. This includes an 
ftp install, or booting directly off a cd (which I assume you cant which is 
why you have this problem). The ftp method also avoids mounting /dist. If you 
dont want to spend all that time downloading over ftp, find another computer 
and put ftpd on it, and copy onto the ftp server all of the files off the cd 
and network the two computers, then ftp install off the second computer.

If you need anything clarfiied on how to do this let me know.

Best Regards,
Jacob


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


hsp modem support in freebsd

2004-01-10 Thread HdrCyt1
I have two machines:
Laptop- Dell Latitude D800 running Windows XP Pro and
Desktop  - Pentium Pro II - 200 MHz running Windows 2000 Pro
with only 32 Mb of memory

I would like to install FreeBSD on my desktop to learn about UNIX and
to gain system performance. 32Mb is minimum for Windows 2000.
I think I may run into a problem with my modem. I have a winmodem
or hsp modem. Will I still be able to use this modem with FreeBSD
to dial into my ISP which is BlueLight? I cannot afford to buy another 
modem right now. Please advise as what I should do.
Thanks 
Brian
E-mail - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: resources using mhash

2004-01-10 Thread Dan Nelson
In the last episode (Jan 10), Russell Dickson said:
 I hope this is the correct list for this.
 
 I'm wondering about mhash and how others find it for efficiency on a
 web server, specifically for RAM and how much it adds to the web
 daemon.  Also, if anyone has found a problem when recompiling it in
 with PHP?  I can't find any such stats and little else on mhash.

From what I can tell by the port description, it's just a library, and
it seems to duplicate functionality already in openssl's libcrypto
library.  I wouldn't expect it to add more than a couple KB to any
program linked with it.

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


Re: 5.2-RELEASE - Show stopper problem

2004-01-10 Thread Dan Nelson
In the last episode (Jan 10), Ted Wisniewski said:
 In 5.2-RC and 5.2-RELEASE there appears to be some issue with
 filesystem or I/O subsystem under 5.2-X.  Now, You can install and do
 the normal kind of things, however, when you create a lot of I/O on
 the disk there seems to be a problem actually reading/writing it
 to/from disk.  For example, If I do a make buildworld...  It
 appears to go along ok.  However, I have had a number of (repeatable)
 situations where the make installworld will go so far then will not
 be able to complete.  In this case, there is an attempt to write data
 to disk that cannot complete; the process goes into a disk wait state
 (it cannot be killed, and will stay in this state ...  forever).
 
 For example the standard daily security script:
 
   727  p0  T  0:00.00 sh 100.chksetuid
   737  p0  T  0:02.14 find /usr -xdev -type f ( -perm -u+x -or -perm -g+x -or 
 -perm -o+x ) ( -perm -u+s -or -perm -g+s

The 'T' state usually means that someone sent the process a STOP
signal.  Try running kill -CONT 727 737 to start them back up. 

Processes waiting on disk I/O will be in the 'D' state, and you can run
ps axO wchan to print the specific part of the kernel it's waiting
in.

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


Re[2]: resources using mhash

2004-01-10 Thread Russell Dickson
Oh thank you Dan.  That's what I needed to know.  My guess part of the
little information is because of few problems with mhash.

I'm new with FreeBSD with a box here, but my public server is run by an old
BSD hacker who is very busy and extremely cautious.  But he has not used
mhash. He makes me research everything new before addling it. Mhash is
required for the new Authorize.net validation scripts using Perl or PHP.

You made my day,
Russell Dickson


On 1/10/2004 at 9:59 PM Dan Nelson wrote:

I'm wondering about mhash and how others find it for efficiency on a
 web server, specifically for RAM and how much it adds to the web
 daemon.  Also, if anyone has found a problem when recompiling it in
 with PHP?  I can't find any such stats and little else on mhash.

From what I can tell by the port description, it's just a library, and
it seems to duplicate functionality already in openssl's libcrypto
library.  I wouldn't expect it to add more than a couple KB to any
program linked with it.



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


Jails not quite stable..

2004-01-10 Thread dap99
I am working on a project to move various services running directly under
FreeBSD 4.8-REL to run under jails on the same servers. Setting up the jails
is no problem at all (I can follow manpages), and bringing the jails up
using either '/bin/sh /etc/rc' or '/usr/local/sbin/jailer' works as well.
Basically, I can get a jail up and running with the desired service.

However, I've found that jails are producing some problems during my
testing.

1. On several occassions I have been unable to kill a process in a jail,
even with a 'kill -9' from inside or outside the jail as root.

europa# ps aux|grep J
root  90423  0.0  0.4  1268  920  p0- DJ   10:44PM   0:00.01 /bin/csh
europa# kill 90423
europa# ps aux | grep J
root  90423  0.0  0.4  1268  920  p0- DJ   10:44PM   0:00.01 /bin/csh
europa# kill -9 90423
europa# ps aux | grep J
root  90423  0.0  0.4  1268  920  p0- DJ   10:44PM   0:00.01 /bin/csh

(If I reboot this machine it will probably hang. See below.)

2. On one occasion (and I haven't attempted to replicate this), I tried a
server reboot (with 'reboot') after a jailed process would not die, and the
server promptly went offline to never return. I had to have someone hard
reset the server. Unfortunately, I am not sure what was on the screen as I
wasn't around. I can say though that the server was pingable but not
reachable otherwise.

3. If a process is hung, such as /bin/csh, then odd things happen when
accessing the location of the jail:

# cd /dsk/jails/
# ll
total 51684
drwxr-xr-x  13 root  wheel   512 Jan 10 22:17 mail1
-rw---   1 root  wheel  52896075 Jan 10 20:47 skel.tgz
# cd mail1europa
# ll
(ls just hangs at this point)

I have to kill my ssh session using ~. to get out of this. Note that
/dsk/jails/mail1 is not mounted via NFS. It's on the actual local disk.

These problems are reproducible across machines running both FreeBSD 4.8-REL
and FreeBSD 4.9-STABLE:

# uname -v
FreeBSD 4.9-STABLE #0:

I WANT to use jails to host most of our services, if for no other reason
than the increase manageability, but there just seems to be a stability
issue here. I realize I will get a lot of It works for me, but again,
these problems are reproducible, so I'm sure someone else has seen it. :)

Thoughts on this?

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


aic7xxx/FreeBSD/Linux can't find disk drives

2004-01-10 Thread Matt Bjornson
I have a Dell PowerEdge 2400 with dual 733 Mhx CPUs.  I have tried to 
install  several distros of Linux (Red Hat 9.0 and Gentoo 1.4) and 
FreeBSD 4.8, 5.0 and while I can get the kernels to recognize the 
Adaptec 7890 and the Adaptec 7880 and use my scsi CDROM, when I fdisk 
to try to create partitions, I receive a unable to find /dev/sda
Thanks

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


Re: Download contents of http directory?

2004-01-10 Thread Eric F Crist
On Saturday 10 January 2004 05:45 pm, Eric F Crist wrote:
 On Saturday 10 January 2004 04:44 pm, Bernard El-Hagin wrote:
  Minnesota Slinky wrote:
   Hello list,
  
   How can I download the entire contents of a directory
   on a webserver?  I can see them in index mode, but
   it's a list of about 2,000 jpg files for a reunion.
   How can I download everything there to one directory?
 
  Use wget. It's in ports.

 Thanks,  I was thinking mget for some reason.  Been a big help!

Ok, another question along the same lines.  Is there a way to download a music 
directory that doesn't allow listing?  There's a server that has a bunch of 
MP3s that are streaming via RealPlayer, but I don't want them in that format.  
I know where exactly the directory is, I just want to download the files 
directly.

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Re: tail tip to Fortune?

2004-01-10 Thread Andrew L. Gould
On Saturday 10 January 2004 07:39 pm, Andrew L. Gould wrote:
 On Fri, 9 Jan 2004, Dan Nelson wrote:
  In the last episode (Jan 09), Dru said:
   I remember coming across a trick (which I can't find now) which
   allowed you to page all of a file, except for the first 10 lines. I
   think it used a combo of head and tail to achieve this. I can't just
   use tail as the length of the file varies whereas the amount I don't
   want to see doesn't.
 
  tail +11 myfile

 Could we get this one into the Fortune tips that appear at user login?

 Andrew Gould

Please disregard -- I figured out how to add my own fortune file.

Thanks,

Andrew Gould

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


Re: Download contents of http directory?

2004-01-10 Thread Malcolm Kay
On Sun, 11 Jan 2004 16:18, Eric F Crist wrote:
 On Saturday 10 January 2004 05:45 pm, Eric F Crist wrote:
  On Saturday 10 January 2004 04:44 pm, Bernard El-Hagin wrote:
   Minnesota Slinky wrote:
Hello list,
   
How can I download the entire contents of a directory
on a webserver?  I can see them in index mode, but
it's a list of about 2,000 jpg files for a reunion.
How can I download everything there to one directory?
  
   Use wget. It's in ports.
 
  Thanks,  I was thinking mget for some reason.  Been a big help!

 Ok, another question along the same lines.  Is there a way to download a
 music directory that doesn't allow listing?  There's a server that has a
 bunch of MP3s that are streaming via RealPlayer, but I don't want them in
 that format. I know where exactly the directory is, I just want to download
 the files directly.


This raises a question for which I don't know the answer:
  How does one list an http directory that does allow it?

(I'm not very literate web wise)

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


Re: Download contents of http directory?

2004-01-10 Thread Chris
On Sunday 11 January 2004 12:23 am, Malcolm Kay wrote:
 On Sun, 11 Jan 2004 16:18, Eric F Crist wrote:
  On Saturday 10 January 2004 05:45 pm, Eric F Crist wrote:
   On Saturday 10 January 2004 04:44 pm, Bernard El-Hagin wrote:
Minnesota Slinky wrote:
 Hello list,

 How can I download the entire contents of a directory
 on a webserver?  I can see them in index mode, but
 it's a list of about 2,000 jpg files for a reunion.
 How can I download everything there to one directory?
   
Use wget. It's in ports.
  
   Thanks,  I was thinking mget for some reason.  Been a big help!
 
  Ok, another question along the same lines.  Is there a way to download a
  music directory that doesn't allow listing?  There's a server that has a
  bunch of MP3s that are streaming via RealPlayer, but I don't want them in
  that format. I know where exactly the directory is, I just want to
  download the files directly.

 This raises a question for which I don't know the answer:
   How does one list an http directory that does allow it?

 (I'm not very literate web wise)

Along with wget, there is also a GUI (KDE) frontend called kwebget 
(/usr/ports/ftp/kwebget) you may wish to look at.

-- 
Best regards,
Chris

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