Re: Vinum & U320 SCSI, slower than UDMA100 IDE ?

2003-12-01 Thread Chad Leigh -- Shire.Net LLC
On Nov 27, 2003, at 5:44 AM, Sander Smeenk wrote:

Hi,

I recently installed a Dual P4 2.8ghz with FBSD 4.9 and made a RAID10
array of the 4 scsi disks available. The idea was that this would be
faster to read from than normal IDE disks. As a test I took the
company's web/ directory, which is 1.6gb in size and has 22082 files.


I know it's not the most sophisticated test, but at least it shows that
on the IDE disk, this 'test' took 24 seconds to complete. On the RAID10
array it took a whopping 73 seconds to complete.
I would understand if the RAID10 array was as fast as IDE, or faster,
but i'm a bit amazed by these results. The RAID10 array was built on 4x
36.7gb Ultra320 SCSI disks, connected to an Adaptec 39320D Ultra320 
SCSI
adapter, which is a PCI-X card, configured in a PCI-X slot.

Try creating the same vinum set using 4 ATA100 disks and see what 
happens when compared to your UeberSCSI vinum set...

Chad

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


Avaya Wireless Networking Problems

2003-12-01 Thread Darryl Barlow
I am a Linux user trying Freebsd.  I've installed 5.1 on two machines, one of 
shich is connected to a wireless network through a TI pci cardbus adapator 
and an Avaya Silver Wireless Network Card.  The card is recognised, the 
configuration settings appear to be correct but ifconfig -a shows that there 
is "no carrier".  I suspect that the problem may be interrupt-related, so the 
next thing I will try is to check the interrupt settings in Linux and force 
the same in NetBSD (I don't know how to achieve this yet but imagine it will 
be in the documentation somewhere).

What I would apprciate is some advice as to best method to troubleshoot this 
problem and correct it.

I must add that I like what I see of FreeBSD so far.  Installation was 
painless and I like the Ports system.  I don't know if I will like it so much 
that I replace my Debian unstable, but time will tell.

Thanks in advance for any assistance.

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


Re: Avaya Wireless Networking Problems

2003-12-01 Thread Greg 'groggy' Lehey
On Monday,  1 December 2003 at 18:16:10 +1100, Darryl Barlow wrote:
> I am a Linux user trying Freebsd.  I've installed 5.1 on two machines, one of
> shich is connected to a wireless network through a TI pci cardbus adapator
> and an Avaya Silver Wireless Network Card.  The card is recognised, the
> configuration settings appear to be correct but ifconfig -a shows that there
> is "no carrier".  I suspect that the problem may be interrupt-related, so the
> next thing I will try is to check the interrupt settings in Linux and force
> the same in NetBSD (I don't know how to achieve this yet but imagine it will
> be in the documentation somewhere).

If you're running FreeBSD, NetBSD settings won't help you much.

> What I would apprciate is some advice as to best method to
> troubleshoot this problem and correct it.

Well, the appropriate output from dmesg would help.  It's possible
that it's an interrupt problem, but we haven't seen too many of them
lately.  If you're showing up as wi0 (presumably), then probably it's
not an interrupt issue.  Do you have the other settings set up
correctly?  ifconfig output and information about your wireless
infrastructure would help.

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: 100 MHz pentium: can that play avi-file movies?

2003-12-01 Thread kitsune
On Sun, 30 Nov 2003 21:17:10 -0800
K Anderson <[EMAIL PROTECTED]> wrote:

> To many unknowns.
> 
> I have a dual p200 with around 196 meg of ram and the usual services 
> running and I would get coughs and sputters on and off. Also mplayer 
> will let you know if your system is slow when you play it. If it does 
> work unacceptably then maybe shutdown some services, use a window 
> manager that uses low resources. You might be able to use the svga (or 
> what ever that driver is called) driver so that you don't have to use X. 
> Another tip might be to burn the AVI to CD or a file system that is not 
> part of the primary HD so that you don't have bottle necks with swap 
> files and other stuffs during the IO process.

A few other things that can done to possibly help include turning on frame drop
and if your gfx card supports xv use that too. The xv should be used by defualt
thought unless the config file has been changed. Not sure about that card
thought.

Xine also may be worth looking into. From what I've seen it generally eats less
cpu time than mplayer.

Never tried it on a 100MHz Pentium befor, the slowest I have ever tried it on
was a 200MHz pentium. It ran decently.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SATA ICH5 on FreeBSD 5.1

2003-12-01 Thread RJ45

hello, in the hardware compatibility list I Read SATA ICH ICH2 ICH4 but I
Did not read ICH5. this means that ICH5 conotrollers are not supported by
FreeBSD 5.1 ? or does exist some patch for it?
thanks

Rick


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


Controlling init on shutdown/reboot

2003-12-01 Thread Daniel Rudy
Hello,

How does one allocate more time for /etc/rc.shutdown?  It seems that
some of my scripts are not being executed when the system shuts down or
reboots.

-- 
Daniel Rudy

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


RE: SATA ICH5 on FreeBSD 5.1

2003-12-01 Thread Stefan Cars
Hi!

I did run FreeBSD 5.1 for a limited time on a Dell machine using the ICH5,
it worked fine. Though I don't know how /good/ it worked, on Linux the
driver for ICH5 has serious trouble with interrupts.

/ Stefan 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of RJ45
Sent: den 1 december 2003 10:06
To: [EMAIL PROTECTED]
Subject: SATA ICH5 on FreeBSD 5.1


hello, in the hardware compatibility list I Read SATA ICH ICH2 ICH4 but I
Did not read ICH5. this means that ICH5 conotrollers are not supported by
FreeBSD 5.1 ? or does exist some patch for it?
thanks

Rick


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

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


Re: Remove ^M characters from xhtml file

2003-12-01 Thread Tijl Coosemans
On Sun, 30 Nov 2003 21:39:33 -0600, Bryan Cassidy wrote:

> Well, I take that back. It worked on 1 file and then ir started
> erasing the contents of the file.

tr -d \\r < file > tmp && mv tmp file

or

col -b < file > tmp && mv tmp file
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Controlling init on shutdown/reboot

2003-12-01 Thread Rob
>From line 99 of /usr/src/sbin/init/init.c,

  #define DEATH_SCRIPT  120  /* wait for 2min for /etc/rc.shutdown */

and on line 1576 it looks like you can change this with the sysctl
'kern.shutdown_timeout'.

But 2 minutes is a long time for a shell script - are you sure that
everything is working correctly?

- Original Message -
From: "Daniel Rudy" <[EMAIL PROTECTED]>
Subject: Controlling init on shutdown/reboot


> Hello,
>
> How does one allocate more time for /etc/rc.shutdown?  It seems that
> some of my scripts are not being executed when the system shuts down or
> reboots.
>
> --
> Daniel Rudy
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: sharing a printer to windows clients

2003-12-01 Thread george
try connecting to the directory share first with your
username /password then you can print to the printer.


- Original Message - 
From: "Lowell Gilbert" <[EMAIL PROTECTED]>
To: "Ian Todd" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 12:01 AM
Subject: Re: sharing a printer to windows clients


> "Ian Todd" <[EMAIL PROTECTED]> writes:
>
> > Ive installed a printer and shared it on my bsd box.I can
> > see and install the printer from my windows pc.But when i
> > want to print i get access denied.Where do you set the
> > permissions for the printer?
>
> That depends on how you're "sharing" it.
> For a Samba installation, I have:
>
> [lp]
> comment = Lowell's printer
> guest ok = Yes
> max print jobs = 1
> printable = Yes
>
>
> in smb.conf.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: FIRST INSTALL QUESTION

2003-12-01 Thread Ion-Mihai Tetcu
[cc'd back to [EMAIL PROTECTED]

On Sun, 30 Nov 2003 16:29:56 -0800
"ADSBANNERS" <[EMAIL PROTECTED]> wrote:

> 20031130:09:24gmt-8 las vegas nv 89102
> 
> Thanks for the information. 

My plesure.

> What do you mean by unregistered?  

I supose you refer to my signature. Well the short story is an allusion
at some linux users, their 
Linux registered user #nnn 
signatureand the way some of them see the rest of the world based on how
small the number is --> how old linux user one is. The ideea came to me
from a [EMAIL PROTECTED] thread a few years ago and basicaly want to say
that not the age is important but what you know and learn. I'm using
FreeBSD since 2.2.4 but I know a few people that learned more that me in
just a few months ;) It is also an allusion at the activation,
registering and the rest wonderfull things of M$.

> I want to
> explain what I meant about booting to DOS from Windows 98 Start-up Menu. Can
> I do the following (C: bootable; D: orig formatted FAT32 not bootable to
> Windows, 2  partitions - 1 FAT32, 1 BSD)..
> 
> 1. Boot to Windows Start-up Menu
> 2. Choose 'Command Prompt Only'
> 3. C:>CD D:
> 4.D:>FBSDBOOT.EXE
> 
> If that would work I think it would be the most attractive to me. The file
> FBSDBOOT.EXE sounds like magic.. it must be a Windows package, yes? 

DOS to be more exact.

> Could
> you possibly Format FDisk one of the new portable USB2.0 drives, install DOS
> 6.2 on one partition and FreeBSD on another and take the server w/ you?

Yes.

> the latest distribution of FreeBSD support USB 2.0? 

Depending on the MB yes or no. See the hardware notes for the release
you whant to use.

> I'm dreamin' here but I
> am scrambling because XP is a can of worms and Longhorn will be worse.

As I didn't / don't use FBSDBOOT.EXE I can not say much about it. You
might what to review: http://www.freebsd.org/cgi/query-pr.cgi?pr=37734
and the thead
http://lists.freebsd.org/pipermail/freebsd-bugs/2003-July/001942.html 

As far as I know this utility is usefull on some older BIOSes that don't
know LBA but could also be used to skip installing the MBR code
(BootEasy, which I trust more).


-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Link Aanmelden Mirror Site

2003-12-01 Thread Stefan B Xs3all
Great Freebsd

I Wil my  link aanmelden op jour site als mirror site
my link is :)

http://freebsd.mirror.xs3all.nl

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


FAQ

2003-12-01 Thread Dimitar Rusev
Hello there! i am trying to install FreeBSD, but as i tried to create the boot floppy 
using the fdimage command i got the message that the file is to big. and the boot.flp 
is actually 2.88MB! What should I do? Thank you for your support.


-
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bsd 5.1 video install

2003-12-01 Thread Dr. Clark Mankin
I'm very happy to have moved my entire network to BSD 5.1.  The installation was a 
breeze.

I have only one comment and that is this:

in 1999 when I installed first Red Hat 5.0 and then 5.2, I was required to select my 
video card from a list and to find a set of specifications that matched my monitor 
unless its name was on the list.

By the time I changed to Mandrake 6.5 a short while later, that issue had been 
resolved and until this installation I had never again been asked any questions of any 
kind about hardware devices.

It seems to me that this is your weakest point.  I have almost zero use for KDE.  I 
wanted it mainly to burn CDs using their tools.  I'm a command line person, so it's 
not any inconvenience on a day to day basis, but until I can either buy a new monitor 
so I have the necessary data to answer your inquiries, or until I make a lucky guess, 
I will not be able to configure an X server and that is truly unfortunate in the year 
2003.

Happy Thanksgiving one and all and a Merry Christmas is just around the corner.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Compiling the kernel

2003-12-01 Thread Valerian Galeru
I want to build a new kernel. I have edit the GENERIC
file (like is written into the documentation). And
when i run /usr/sbin/config
/root/kernels/MYKERNEL(this is my kernel) i get a lot
of errors Command not found. What is made wrong???

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php4...

2003-12-01 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-11-30 21:48:49 +0100:
> On Sunday 30 November 2003 21:13, Gary Kline wrote:
> > On Sun, Nov 30, 2003 at 01:40:07PM +0100, Melvyn Sopacua wrote:
> > > On Sunday 30 November 2003 08:54, Gary Kline wrote:
> > > > Another look at the php4  build clued me in.  It was a
> > > > one-line hack to the Makefile... .
> > >
> > > You shouldn't hack the Makefile, cause now you have both www/mod_php4 and
> > > lang/php4 installed and screwed up dependencies.
> > >
> > > You should uninstall www/mod_php4 (just force it). Then install
> > > lang/php4.
> > >
> > > The lang/php4 port will check for the existence of an apache installation
> > > and install the apache module (which is www/mod_php4) accordingly.
> >
> > Thanks for your help.  Last May when I first started working
> > with php another genteman said to forget lang/php4 and
> > just install mod_php4.  This worked for awhile.  Now that
> > I'm trying to merge php with mysql || postresql, things are
> > more complcated.
> 
> If somebody tells you to 'forget about something', the next question should be 
> 'why?' :).

because installing www/mod_php4 alongside lang/php4-cli allows you
to have different features enabled in the two?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Remove ^M characters from xhtml file

2003-12-01 Thread C. Ulrich
On Sun, 2003-11-30 at 21:18, Alex de Kruijff wrote:
> On Sun, Nov 30, 2003 at 09:16:02PM -0600, Bryan Cassidy wrote:
> > I've downloaded a couple of .xhtml files and they have ^M characters
> > all through it. I tried the col -b < name > newname command on these
> > files but when I do that it erases the whole document. Any ideas?
> 
> There's a port called dos2unix of unix2dos that you could let loos on
> it.

In ports:

- converters/dosunix
- converters/fconv
- converters/ktextdecode
- converters/unix2dos

Charles Ulrich
-- 
http://bityard.net

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


Re: Compiling the kernel

2003-12-01 Thread Ion-Mihai Tetcu
On Mon, 1 Dec 2003 06:12:53 -0800 (PST)
Valerian Galeru <[EMAIL PROTECTED]> wrote:

> I want to build a new kernel. I have edit the GENERIC
> file (like is written into the documentation). And
> when i run /usr/sbin/config
> /root/kernels/MYKERNEL(this is my kernel) i get a lot
> of errors Command not found. What is made wrong???

Try to provide us more info as we can not guess what you console is
printing. Copy / paste the output. Also uname -a output. If you want
you could join the [EMAIL PROTECTED] mailling list.

-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: general updating and staying current questions...

2003-12-01 Thread C. Ulrich
On Sun, 2003-11-30 at 23:35, paul van den bergen wrote:
> This is likely alredy answered elsewhere... but...
> 
> what methods are there for keeping up to date with BSD-STABLE?
> 
> OK, I get using cvsup for ports, how about for the source tree? same deal?

See the FreeBSD Handbook:

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

Section 21 should answer any questions that you might have.

Charles Ulrich
-- 
http://bityard.net

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


Re: FAQ

2003-12-01 Thread Matthew Seaman
On Sat, Nov 29, 2003 at 11:17:07AM -0800, Dimitar Rusev wrote:
> Hello there! i am trying to install FreeBSD, but as i tried to create the boot 
> floppy using the fdimage command i got the message that the file is to big. and the 
> boot.flp is actually 2.88MB! What should I do? Thank you for your support.

The boot.flp image is an all-in-one image.  You can use it with a
2.88Mb floppy drive, if you have such a thing, but generally nowadays
it's intended for building into certain types of bootable CD-Rom.

To install the system using floppies you need:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.9-RELEASE/floppies/kern.flp
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.9-RELEASE/floppies/mfsroot.flp

These contain exactly the same material as boot.flp but divided between
two disk images.

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


Samba server freezes

2003-12-01 Thread Peter Ulrich Kruppa
Hi!

Sometimes - particularily over the weekends - our samba server at
school stops working.
Sometimes it's only the smbd daemon, sometimes the whole system
doesn't react anymore.
After a reboot or a restart of smbd everything works fine again.

What might be the reasons for this behaviour? - I can't see any
error messages on the screen.
Would it make sense to set up a cron job that does a reboot in
the early morning?

Thanks for any ideas.

Regards,

Uli.


+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fw: FAQ

2003-12-01 Thread Simon Gray
> Hello there! i am trying to install FreeBSD, but as i tried to create 
> the boot floppy using the fdimage command i got the message that the 
> file is to big. and the boot.flp is actually 2.88MB! What should I do? 
>Thank you for your support.

you'll need to use kern.flp and mfsroot.flp instead of boot.flp.

fdimage kern.flp a:
fdimage mfsroot.flp a:


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


Re: bsd 5.1 video install

2003-12-01 Thread C. Ulrich

On Sat, 2003-11-29 at 01:20, Dr. Clark Mankin wrote:
> I'm very happy to have moved my entire network to BSD 5.1.  The
> installation was a breeze.
> 
> I have only one comment and that is this:
> 
> in 1999 when I installed first Red Hat 5.0 and then 5.2, I was
> required to select my video card from a list and to find a set of
> specifications that matched my monitor unless its name was on the list.
> 
> By the time I changed to Mandrake 6.5 a short while later, that issue
> had been resolved and until this installation I had never again been
> asked any questions of any kind about hardware devices.
> 
> It seems to me that this is your weakest point.  I have almost zero use
> for KDE.  I wanted it mainly to burn CDs using their tools.  I'm a
> command line person, so it's not any inconvenience on a day to day
> basis, but until I can either buy a new monitor so I have the necessary
> data to answer your inquiries, or until I make a lucky guess, I will not
> be able to configure an X server and that is truly unfortunate in the
> year 2003.
> 
> Happy Thanksgiving one and all and a Merry Christmas is just around the corner.

Please wrap your messages at 72 chars.

Well, it's important to realize that currently, FreeBSD is designed to
be mostly a server operating system. Although there are efforts to
increase its viability on the desktop, it's not going to be the next Mac
OS X anytime soon. That's not to say you *can't* use it as a desktop
system... I do, but I also realize that there are going to be some
hurdles and limitations along the way.

Thus, FreeBSD has very little in the way of automatic hardware
detection. Regarding your monitor, all you really have to do is find the
manual for it and tell X what the horizontal and vertical sync ranges
are. You could probably even find this information on the web. (I think
X now has a way to automatically query the monitor for the sync ranges,
anybody want to clue me in on this?)

Comparing FreeBSD to your previous Red Hat and Mandrake experiences is a
whole apples and oranges issue unto itself. The Red Hat and Mandrake
Linux distributions are great for some things, FreeBSD is great for
others. Your job is to figure out what you want your operating system to
do and then pick whichever one does it the best.

Charles Ulrich
-- 
http://bityard.net

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


Re: Remove ^M characters from xhtml file

2003-12-01 Thread Simon Gray
> I've downloaded a couple of .xhtml files and they have ^M characters
> all through it. I tried the col -b < name > newname command on these
> files but when I do that it erases the whole document. Any ideas?


handy little shell script i found a while ago which does exactly what you're
after


#!/bin/sh
# rmc.sh
# remove ^M characters
#
# slee 021116
# http://freebsd.mu

if [ $# -eq 1 ]
then
tr -d '\015' < $1 > $1.tmp.$$
mv -f $1.tmp.$$ $1
else
echo "Usage: $0 filename"
fi


Just place within /usr/local/bin and do 'chmod +x /usr/local/bin/rmc.sh'
then just do 'rmc.sh file' as and when you need.

HTH

Simon

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


Re: Compiling the kernel

2003-12-01 Thread Jerry McAllister
> 
> I want to build a new kernel. I have edit the GENERIC
> file (like is written into the documentation). And
> when i run /usr/sbin/config
> /root/kernels/MYKERNEL(this is my kernel) i get a lot
> of errors Command not found. What is made wrong???

First of all, I presume you really used one line as

  /usr/sbin/config /root/kernels/MYKERNEL

Not two separate command lines as it appears in your message.

Secondly, did you make your copy of GENERIC in to the
same directory as GENERIC?That is the best idea.

Third, on any of the FreeBSD systems I have worked on there is
no /root/kernels directory.   (If this is something new with 5.x I
am off on this as I haven't built a 5.x yet)  The kernel
config files are in:  /usr/src/sys/i386/conf  (or did you set up
some homebrew link?)   So, I would expect that there is a file:
  /usr/src/sys/i386/conf/MYKERNEL

and the best way to run things is to
  cd /usr/src/sys/i386/conf
  cp GENERIC MYKERNEL
  vi MYKERNEL(make whatever changes you need and write+exit vi)
  /usr/sbin/config MYKERNEL
  cd ../../compile/MYKERNEL
  make depend
  make
  [make install]   Only if you want the present kernel replaced

Now if you have CVSUPed and etc, then you will want to follow those
instructions instead of merely building a kernel.   Doing it
the above way is only if you are just changing the kernel config 
and then recompiling.

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


Re: Samba server freezes

2003-12-01 Thread Michael L. Squires
> What might be the reasons for this behaviour? - I can't see any
> error messages on the screen.

You may need to change the log level in smb.conf to catch more
information.  It's also very difficult to impossible to help much
without at least samba and FreeBSD versions.  What's in your
smb and nmb logs? What hardware?  What does your smb.conf look like?

I'm currently running samba (2.2.x) under 4.9-STABLE and I'm not seeing
this kind of lockup.  There are a lot of system jobs set off by cron
early in the morning by default and you may have a hardware problem that
doesn't show up until the load is heavy, or a resource problem that
only occurs under heavy load.  Are you running backups over the
network?  Have you tried copying large files (more than 1GB) to see
if there are problems?

What does "netstat -i" show - should be zero errors.

I use an old NetWare utility called TESTNET.EXE which runs in a DOS
box on a PC and writes arbitrarily large sequential files to any
drive.  Earlier combinations of samba and FreeBSD had problems with
"oplocks" which caused connections to crash, but that hasn't been
a problem for years at this point.

> Would it make sense to set up a cron job that does a reboot in
> the early morning?

As a last resort, should not be necessary.

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


Re: Remove ^M characters from xhtml file

2003-12-01 Thread Jerry McAllister
> 
> I've downloaded a couple of .xhtml files and they have ^M characters
> all through it. I tried the col -b < name > newname command on these
> files but when I do that it erases the whole document. Any ideas?

This is because the file was created in MS-land.
On your FreeBSd system do:

   tr -d "\r" < oldfile > newfile

and it will clear them up nicely.

Note, only do this to text files.  

jerry

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


Re: Compiling the kernel

2003-12-01 Thread Kenzo
What happened to
make buildkernel KERNCONF=KERNEL
make installkernel KERNCONF=KERNEL

did this change in newer version or something?
I thought the above was the new way of rebuilding a kernel.  Am I not up to
date?


- Original Message - 
From: "Jerry McAllister" <[EMAIL PROTECTED]>
To: "Valerian Galeru" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 9:13 AM
Subject: Re: Compiling the kernel


> >
> > I want to build a new kernel. I have edit the GENERIC
> > file (like is written into the documentation). And
> > when i run /usr/sbin/config
> > /root/kernels/MYKERNEL(this is my kernel) i get a lot
> > of errors Command not found. What is made wrong???
>
> First of all, I presume you really used one line as
>
>   /usr/sbin/config /root/kernels/MYKERNEL
>
> Not two separate command lines as it appears in your message.
>
> Secondly, did you make your copy of GENERIC in to the
> same directory as GENERIC?That is the best idea.
>
> Third, on any of the FreeBSD systems I have worked on there is
> no /root/kernels directory.   (If this is something new with 5.x I
> am off on this as I haven't built a 5.x yet)  The kernel
> config files are in:  /usr/src/sys/i386/conf  (or did you set up
> some homebrew link?)   So, I would expect that there is a file:
>   /usr/src/sys/i386/conf/MYKERNEL
>
> and the best way to run things is to
>   cd /usr/src/sys/i386/conf
>   cp GENERIC MYKERNEL
>   vi MYKERNEL(make whatever changes you need and write+exit vi)
>   /usr/sbin/config MYKERNEL
>   cd ../../compile/MYKERNEL
>   make depend
>   make
>   [make install]   Only if you want the present kernel replaced
>
> Now if you have CVSUPed and etc, then you will want to follow those
> instructions instead of merely building a kernel.   Doing it
> the above way is only if you are just changing the kernel config
> and then recompiling.
>
> jerry
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linksys WPC11 ver4 troubles

2003-12-01 Thread David S. Jackson
On Tue, Nov 18, 2003 at 06:07:57PM -0600 Eric F Crist <[EMAIL PROTECTED]> wrote:
> Hello all,
> 
> I recently (today) got FreeBSD 4.8 installed on my Compaq Presario 2100.  I 
> have a working Xserver with KDE, and working integrated touchpad, etc.  My 
> biggest problems are audio and my wireless network card.
> 
> The following is the output of "pccardc dumpcis" command:
> 
> nomad# pccardc dumpcis
> Configuration data for card in slot 0
> Tuple #1, code = 0xff (Terminator), length = 0
> 2 slots found
> 
> When I insert my pcmcia wireless card, I get the following error:
> 
> pccard: card inserted, slot 0
> Nov 17 18:06:30 nomad pccardd[51]: No card in database for "(null)"("(null)")
> 
> Now, after reading the howto for this network card at 
> http://lists.bawug.org/pipermail/wireless/2001-May/001083.html,
> 
> I have to enter the "(null)"("(null)") in the /etc/pccard.conf file with the 
> appropriate settings.  Tried this, it doesn't work.
> 
> Someone please help me!  Getting this to show up in my ifconfig would really 
> make my day.

You don't mention whether you have a ver 3 or a ver 4 wpc11.  They
changed the entire chipset without changing the part number for this
card.  Ver 3 is a Prism chipset, well supported.  However, version 4
is a Realtek chipset, which is not yet supported.  Critical to note
the difference between versions when using a wpc11.


-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
If you took all the students that felt asleep in class and
laid them end to end, they'd be a lot more comfortable.
-- "Graffiti in the Big Ten"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compiling the kernel

2003-12-01 Thread Jerry McAllister
> 
> What happened to
> make buildkernel KERNCONF=KERNEL
> make installkernel KERNCONF=KERNEL
> 
> did this change in newer version or something?
> I thought the above was the new way of rebuilding a kernel.  Am I not up to
> date?

I think this is newer and what I posted is the old tried and true
way if you are only changing kernel config stuff and not any source.

jerry

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


Re: Compiling the kernel

2003-12-01 Thread Matthew Seaman
On Mon, Dec 01, 2003 at 09:34:43AM -0600, Kenzo wrote:
> What happened to
> make buildkernel KERNCONF=KERNEL
> make installkernel KERNCONF=KERNEL
> 
> did this change in newer version or something?
> I thought the above was the new way of rebuilding a kernel.  Am I not up to
> date?

No, what you describe is the new way.  However, the old way still
works for those that want to use it.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: 100 MHz pentium: can that play avi-file movies?

2003-12-01 Thread dick hoogendijk
On Mon, 01 Dec 2003 12:47:05 +0900
Rob <[EMAIL PROTECTED]> wrote:

> 100 MHz pentium with up-to-date FreeBSD-stable;
> would that allow me to play avi-file movies with mplayer
> or equivalent media player?
> 
> Videocard is a Riva TNT2 with 16 Mb.

If you want to *enjoy* the movie in a good resolution and all, the
answer probably will be "NO, you can't do that"

You're videocard is not "good enough" for a fast X driver and your
processor needs an upgrade to at least a P3-300 or up.

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


Re: 100 MHz pentium: can that play avi-file movies?

2003-12-01 Thread Miguel Mendez
./dick hoogendijk wrote:
 
> > Videocard is a Riva TNT2 with 16 Mb.
> 
> If you want to *enjoy* the movie in a good resolution and all, the
> answer probably will be "NO, you can't do that"
> 
> You're videocard is not "good enough" for a fast X driver and your
> processor needs an upgrade to at least a P3-300 or up.

Nope, the TNT (aka NV4) can do YUV overlays, that card is more than
enough to handle the video. OTOH, I agree on the need for a faster CPU,
modulo the fact that there has never been a 300Mhz Pentium III :-P

Cheers,
-- 
Miguel Mendez <[EMAIL PROTECTED]>
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1

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


Re: SOLVED: Can't install gaim on FreeBSD 4.x

2003-12-01 Thread Lowell Gilbert
David Gerard <[EMAIL PROTECTED]> writes:

> Gaim requires perl 5.8 or higher just to be installed - its 'l33t++
> custom configurator thingy requires it. The 5.005 that comes
> with FreeBSD 4.8 is not sufficient.

That's not true.  I just did it (on -STABLE, and with the latest
ports, but with the stock perl 5.005_03.

> - cvsupit your ports

cvsupit has been gone for some time, and hadn't really worked for a
while before that.  [which is why it's gone]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SOLVED: Can't install gaim on FreeBSD 4.x

2003-12-01 Thread David Gerard
On 12/01/03 16:33, Lowell Gilbert wrote:

David Gerard <[EMAIL PROTECTED]> writes:
 

Gaim requires perl 5.8 or higher just to be installed - its 'l33t++
custom configurator thingy requires it. The 5.005 that comes
with FreeBSD 4.8 is not sufficient.
   

That's not true.  I just did it (on -STABLE, and with the latest
ports, but with the stock perl 5.005_03.
That's weird, 'cos it's a FAQ on the Gaim site that it wants >=5.8,
and the Perl wouldn't work with the stock 5.005_03 but did with
5.8.1 from packages ... so the port patches Gaim's Perl code?
- cvsupit your ports
   

cvsupit has been gone for some time, and hadn't really worked for a
while before that.  [which is why it's gone]
I'm sure Liz (my wife) says that's what she ran for it. Must have
been something else, then.
- d.



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


boot loader won't boot freebsd slice

2003-12-01 Thread Nathan Kinkade
The hard disk in my laptop went bad so I just dropped in a new one and
did a standard install, putting a small DOS partition at the beginning
on which to install the thinkpad bios configuration utility.
For some reason the freebsd bootloader will boot DOS on the first
slice, but only beeps when I try to boot to the FreeBSD slice.  It would
seem that the bootloader isn't aware that there is any bootable OS at
that slice, like maybe the bootblocks on that slice are missing or
incorrect.  I have already tried a complete reinstall and playing around
with marking slices as active and not.  I know that the slice is has a
valid OS because I can use the install disks to boot to that slice.  I
have also tried using the 'packet' option on boot0cfg to no effect.
Does anyone have any suggestions?

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


pgp0.pgp
Description: PGP signature


4.9 ATA hangs with 2 ata drives

2003-12-01 Thread J S Goldberg

I've got both 4.9 and 5.1 loaded on my new ASUS A7N8X Deluxe
with two 160Gb disks on the primary ATA controller.  5.1 does
much better handling both ATA disks.  When I run 4.9 with the
second disk connected, it hangs during kernel boot after the
message:

ad1: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices  

I've seen what looks like similar problems in the archives (e.g.,
http://docs.freebsd.org/cgi/mid.cgi?188200406.20031109073901).
It seems to happen on various motherboards and disk configurations.
I wanted to provide another datapoint for configurations.

My 4.9 came from the CD image downloaded from the ftp site last
week (weds).  5.1 came from the subscription CD. 

The questions are:
1. Has anyone gotten a similar configuration working on 4.9?
2. Will it make a difference to CVSup?

Thanks in advance!
j

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


Re: SOLVED: Can't install gaim on FreeBSD 4.x

2003-12-01 Thread Lowell Gilbert
David Gerard <[EMAIL PROTECTED]> writes:

> On 12/01/03 16:33, Lowell Gilbert wrote:
> 
> >David Gerard <[EMAIL PROTECTED]> writes:
> >
> >>Gaim requires perl 5.8 or higher just to be installed - its 'l33t++
> >>custom configurator thingy requires it. The 5.005 that comes
> >>with FreeBSD 4.8 is not sufficient.
> >>
> >That's not true.  I just did it (on -STABLE, and with the latest
> >ports, but with the stock perl 5.005_03.
> >
> 
> That's weird, 'cos it's a FAQ on the Gaim site that it wants >=5.8,
> and the Perl wouldn't work with the stock 5.005_03 but did with
> 5.8.1 from packages ... so the port patches Gaim's Perl code?

No, looking closer I see that with perl versions less than 5.008, it
just configures without perl.  Perl isn't necessary to gaim at all.
You may not be able to run homemade perl scripts that way, but it
doesn't sound like you were doing that anyway.

> >>- cvsupit your ports
> >>
> >cvsupit has been gone for some time, and hadn't really worked for a
> >while before that.  [which is why it's gone]
> >
> 
> I'm sure Liz (my wife) says that's what she ran for it. Must have
> been something else, then.

Or your ports tree is somewhat old; it's been gone for three months or
so, and broken for at least three before that.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


experiences with a7n8x deluxe SATA raid?

2003-12-01 Thread J S Goldberg

When I boot my ASUS A7N8X Deluxe it spends time looking for
SATA disks for it's raid bios.   Interesting...

Has anyone used this SATA controller?  Or the RAID feature?
(Before I rush out and buy a couple of 120gb SATA disks (:-))

I've loaded both 4.9 (cd image downloaded last Weds) and 
5.1 (distribution cd).

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


RE: Linksys WPC11 ver4 troubles

2003-12-01 Thread Eric F Crist
Note the subject line of the email...

Thanks.

Eric F Crist
President
AdTech Integrated Systems, Inc
(952) 403-9000


-Original Message-
From: David S. Jackson [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 01, 2003 9:39 AM
To: Eric F Crist
Cc: [EMAIL PROTECTED]
Subject: Re: Linksys WPC11 ver4 troubles

On Tue, Nov 18, 2003 at 06:07:57PM -0600 Eric F Crist
<[EMAIL PROTECTED]> wrote:
> Hello all,
> 
> I recently (today) got FreeBSD 4.8 installed on my Compaq Presario
2100.  I 
> have a working Xserver with KDE, and working integrated touchpad, etc.
My 
> biggest problems are audio and my wireless network card.
> 
> The following is the output of "pccardc dumpcis" command:
> 
> nomad# pccardc dumpcis
> Configuration data for card in slot 0
> Tuple #1, code = 0xff (Terminator), length = 0
> 2 slots found
> 
> When I insert my pcmcia wireless card, I get the following error:
> 
> pccard: card inserted, slot 0
> Nov 17 18:06:30 nomad pccardd[51]: No card in database for
"(null)"("(null)")
> 
> Now, after reading the howto for this network card at 
> http://lists.bawug.org/pipermail/wireless/2001-May/001083.html,
> 
> I have to enter the "(null)"("(null)") in the /etc/pccard.conf file
with the 
> appropriate settings.  Tried this, it doesn't work.
> 
> Someone please help me!  Getting this to show up in my ifconfig would
really 
> make my day.

You don't mention whether you have a ver 3 or a ver 4 wpc11.  They
changed the entire chipset without changing the part number for this
card.  Ver 3 is a Prism chipset, well supported.  However, version 4
is a Realtek chipset, which is not yet supported.  Critical to note
the difference between versions when using a wpc11.


-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
If you took all the students that felt asleep in class and
laid them end to end, they'd be a lot more comfortable.
-- "Graffiti in the Big Ten"



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


Re: About USB devices

2003-12-01 Thread Jean-Baptiste Quenot
* D Velez:

> Hi, I'm using FreeBSD 5.1. I would like to know
> how to mount USB devices. If FreeBSD detected
> the hardware and driver, where and how do I find
> the device in the file system?

Run dmesg to find out.

Cheers,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


pgp0.pgp
Description: PGP signature


Re: Remove ^M characters from xhtml file

2003-12-01 Thread Shantanoo Mahajan
+++ Robin Schoonover [freebsd] [30-11-03 19:17 -0700]:
| On Sun, 30 Nov 2003 21:16:02 -0600, Bryan Cassidy <[EMAIL PROTECTED]>
| wrote:
| > I've downloaded a couple of .xhtml files and they have ^M characters
| > all through it. I tried the col -b < name > newname command on these
| > files but when I do that it erases the whole document. Any ideas?
| 
| dos2unix (converters/unix2dos in ports) is an easy route (dos2unix name). 
| Also you can use the tr command (tr -d '\r' < name > newname).
| 
| -- 
| Robin Schoonover (aka End)

col -bx < old.xhtml > new.xhtml

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


Savage4, DRI, and NWN

2003-12-01 Thread Aaron Dalton
Before I pull out my hair seeking for answers that don't exist, I would
appreciate confirmation of the following points:

1) There is currently no DRI driver for the Savage4 graphics card, meaning
no matter how I configure XFree86, glxinfo will always tell me that
Direct Rendering is not enabled.

2) Without DRI enabled, I cannot get the Neverwinter Nights linux client
to run.

I am currently running FreeBSD 4.8-RELEASE with XFree86 4.3.0.  If any of
the above are untrue, I would appreciate some pointers as to where to
start.  Thank you for your time!

-- 
Aaron Dalton
[EMAIL PROTECTED]
http://aaron.finch.st

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


Re: Mozila Thunderbird and local mail

2003-12-01 Thread Jonas Manalive
> > Is it possible to use Mozilla Thunderbird email client to receive
> > from your local /var/mail/username like kmail/evolution/sylpheed
> > can? Or does one have to use procmail to deliver them into
> > thunderbird's directory?
>
> I don't think Thunderbird-0.3 has support for movemail accounts, but
> the next release should.  I've looked at Mozilla 1.6a, and it does
> have movemail support.

That was the word I was looking for. After searching google, it seems 
that Thunderbird does have it, although not accessible from gui setup. 
Here's the website (with warnings!): http://www.mozilla.org/mailnews/
movemail/

Instructions:



Since there is no UI to set up a new movemail account, you have to 
either:

1) set it up internal movemail in 4.x and migrate that profile to 
mozilla

or

2a) in mozilla create a pop account
2b) exit, edit prefs.js and change the server type from "pop3" to 
"movemail.

Example, change

user_pref("mail.server.server6.type", "pop3");
to
user_pref("mail.server.server6.type", "movemail");

2c) start back up.

--

I changed and loaded up my thunderbird again. Unfortunately another 
error popped up:

---

Unable to create lock file /var/mail/navigator.lock. For movemail to 
work, it is necessary to create lock files in the mail spool directory. 
On many systems, this is best accomplished by making the spool 
directory be mode 01777.

---

Now I am searching for more information on this to try on my freebsd/
postfix setup. If anyone knows what this means and what I need to do, 
please do let me know.

Best regards,

Jonas

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


Integrated touchpad on freebsd 5.1

2003-12-01 Thread Minnesota Slinky
Good morning,

I gave up on doing the update from 4.9-5.1 and
downloaded the 5.1 mini.iso and got everything
installed ok.  Not sure yet whether it will help with
my pccard or not.  My integrated touchpad and PS/2
port work great with 4.9, but seem to be completely
disabled.  I haven’t found anything via google about
this problem, and I was wondering if there was
something I need to enable in the kernel, etc.  I need
the GUI to work on this laptop for it to be worth
anything for what I use it for.  Anyone else come
across this?

TIA

Eric F Crist
President
AdTech Integrated Systems, Inc
(952) 403-9000

P.S. Is there some reason my emails all seem to be
rejected, no matter where I send them from?  I have
tried my accounts with [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED] and they ALL get rejected
with the error: 550-Message content rejected.

grr

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


Compiling the kernel2

2003-12-01 Thread Valerian Galeru
Ok! Now i dont get those errors, but i get others. I
dont get errors when i run the make depend command.
But, when i run the make command, i get errors like in
the file error.txt that is attached to this e-mail.

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/sbp.o(.text+0x1f9a): undefined reference to 'xpt_bus_register'
sbp.o(.text+0x1fb5): undefined reference to 'xpt_periph'
sbp.o(.text+0x1fbe): undefined reference to 'xpt_create_path'
.(errors like |^)
*** Error code 1

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


Re: php4...

2003-12-01 Thread Gary Kline
On Mon, Dec 01, 2003 at 03:16:09PM +0100, Roman Neuhauser wrote:
> > >
> > >   Thanks for your help.  Last May when I first started working
> > >   with php another genteman said to forget lang/php4 and
> > >   just install mod_php4.  This worked for awhile.  Now that
> > >   I'm trying to merge php with mysql || postresql, things are
> > >   more complcated.
> > 
> > If somebody tells you to 'forget about something', the next question should be 
> > 'why?' :).
> 
> because installing www/mod_php4 alongside lang/php4-cli allows you
> to have different features enabled in the two?
> 

I admit up-front to not understanding the exact differences
between php4 and mod_php4.  But without the latter, my 
browser wants  to dl *.php files.

If there are tutorials on these I would be much obliged for
pointers to them!!

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: pidentd troubles

2003-12-01 Thread Dirk Meyer
Hallo Ben Dover,

> I was running pidentd server in fbsd 5.1 and ran into a problem.  On reboot 
> thousands of identd processes would be created.  This caused an enormous 
> problem as you can imagine.  I ended up doing a pkg_delete of pidentd.  Has 
> anyone had this happen?

No this effect is unknown 
are ths lookups from localhopst or external?

kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Samba server freezes

2003-12-01 Thread dkw
Hi Peter:

I had the same problems with a machine running Samba
Version 2.2.6pre2.  I am using fbsd 4.7.  The box would just hang 
completely.  I could only reset the power to get a response.  The 
problem began after I started using a windows box as a 
router/gateway/proxy.  I also use DHCPD & think that was causing the 
problem.  The windows box was trying to DHCP up but it had a static 
address on the inside (it seemed like the outside/internet interface was 
asking the inside/LAN interface for an IP.  Somehow I think that was 
killing my freebsd server.  I had repeated requests in my dhcpd log & it 
seemed that all my leases were used up but no hosts were
connected to the network that were dynamic...  Before I started using 
the windows box as my gateway, I had uptimes close to 6 months with my 
samba freebsd box.  It is a pentium 133 with 64 MB RAM.

I recompiled my kernel to test the hardware & found no problems.  They
(unix geeks) say that recompiling is a perfect hardware test for memory
& CPU, etc.   You may want to try this.  This will simulate heavy load
on the box & help discover any flaky hardware.
Well, the problem went away as mysteriously as it started.  I updated my
DHCPD server to the latest version that ISC was offering & I made sure
my ISA windows server was not asking for dhcp on the internal network.
My box has been running steadily for 30 days now.  Probably, it was my
error on misconfiguring the stupid windoze server.
I think I may have had too many file descriptors opened or something, 
but I don't know enough about that to determine the validity.  I 
probably needed to get a core dump, but am not sure how to turn that 
feature on or where to look.  The system & samba logs indicated no 
problems before the thing stopped responding.

Best of luck!

Regards,
dkw
--

Message: 17
Date: Mon, 1 Dec 2003 15:49:20 +0100 (CET)
From: Peter Ulrich Kruppa <[EMAIL PROTECTED]>
Subject: Samba server freezes
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi!

Sometimes - particularily over the weekends - our samba server at
school stops working.
Sometimes it's only the smbd daemon, sometimes the whole system
doesn't react anymore.
After a reboot or a restart of smbd everything works fine again.
What might be the reasons for this behaviour? - I can't see any
error messages on the screen.
Would it make sense to set up a cron job that does a reboot in
the early morning?
Thanks for any ideas.

Regards,

Uli.

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
--





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


Re: Named errors - running BIND in sandbox

2003-12-01 Thread Ceri Davies
On Sat, Nov 29, 2003 at 04:18:13PM +, Stacey Roberts wrote:
> Hello,
> I know that I've asked this in the past, but after a
> fresh reinstall of the machine on my local network that provided
> (amongst other services) DNS to all other machines (FreeBSD, Solaris,
> WIn2K & WinXP Pro), I find that I am not having much success setting up
> BIND in a sandbox.
>
> The box is running FreeBSD-4.9Stable (after initially installing
> 4.8-Rel) after cvsup of sources.
>
> Basically, the errors I get on start up is here:

> /etc/namedb/etc # tail /var/log/messages
> Nov 29 15:42:39 Demon named[226]: 'masters' statement present for master zone 
> 'vickiandstacey.com'
> Nov 29 15:42:39 Demon named[226]: zone 'vickiandstacey.com' did not validate, 
> skipping

> zone "vickiandstacey.com" {
> type master;
> file "master/vickiandstacey.com.db";
> allow-transfer { 192.168.1.0/24; };
> masters {
> 192.168.1.8;
> };
> };

You have declared the zone as type master, but also included a masters
statement.  If this machine is the master, then remove the masters
statement, otherwise, declare it as type slave.

> Nov 29 15:42:39 Demon named[226]: bind(dfd=20, [192.168.1.8].53): Address already in 
> use
> Nov 29 15:42:39 Demon named[226]: deleting interface [192.168.1.8].53
> Nov 29 15:42:39 Demon named[226]: bind(dfd=20, [127.0.0.1].53): Address already in 
> use
> Nov 29 15:42:39 Demon named[226]: deleting interface [127.0.0.1].53

named was already running when you tried starting it this time.

> Nov 29 15:42:39 Demon named[234]: can't exec /bin/named-xfer: No such file or 
> directory

You didn't show the contents of the bin directory below, but I assume
it's empty; copy /usr/libexec/named-xfer in there (make sure it's
statically linked, which is the default in 4.9-RELEASE).

> Nov 29 15:43:47 Demon named-xfer[240]: [192.168.1.8] not authoritative for 
> 1.168.192.in-addr.arpa, SOA query got rcode 0, aa 0, ancount 0, aucount 13

Now, I'm taking a big guess here.
You didn't have 1.168.192.in-addr.arpa in the named.conf before you
started named this time, but now you do.  Since you declared it as a
slave zone (which looks to be incorrect), named tried to transfer it
from itself, which it couldn't do as it wasn't loaded before.

> What I had prior to installing, I would get "Demon.vickiandstacey.com"
> returned as the Default Server, not localhost as above.

It is now listed second in your resolv.conf.

> Secondly, the address 82.68.31.177 is the real IP address of Demon (I
> have a block of 8) that is translated to 192.168.1.8, the internal IP
> address of Demon. So I'd have hoped that trying to set server to Demon,
> would have resulted in "Address: 192.168.1.8" instead of the machine's
> real IP address.

Since the zone vickiandstacey.com didn't load, this server wasn't
authoritative for that zone, and so went to the forwarder you have
listed and asked there; that server then gave the public IP.


-- 


pgp0.pgp
Description: PGP signature


Re: Vinum & U320 SCSI, slower than UDMA100 IDE ?

2003-12-01 Thread Sander Smeenk
Quoting Chad Leigh -- Shire.Net LLC ([EMAIL PROTECTED]):
> >I would understand if the RAID10 array was as fast as IDE, or faster,
> >but i'm a bit amazed by these results. The RAID10 array was built on 4x
> >36.7gb Ultra320 SCSI disks, connected to an Adaptec 39320D Ultra320 
> >SCSI adapter, which is a PCI-X card, configured in a PCI-X slot.
> Try creating the same vinum set using 4 ATA100 disks and see what 
> happens when compared to your UeberSCSI vinum set...

Thing is, I don't have 4 of the same sized disks available to try this
out. And the overall results people post on the web is that vinum RAID
is way faster than normal disks, so I am very curious as to what I might
have done wrong...

Thanks,
Sander.
-- 
| Why do they call it "chilli" if it's hot?
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


network security sysctl mib's

2003-12-01 Thread fbsd_user
The sysctl.conf file contains MIB's to change the default setting of
internal options of the kernel at boot up time.
I have found these MIB's when I display all the sysctl's.

These deal with how packets entering the FBSD system are handled by
default.
There are no man info on any MIB's.

I an looking for an description of what these do and
why I would want to turn them on.

There must be some network security reason or problem
that these address or they would not have been created
in the first place.

Are these MIB's only intended to be used on FBSD systems
that do not have firewalls?

When do these MIB's get control
in the kernel, as they relate to IPFW or IPFILTER
firewall seeing the packets?
[IE: do they all process against the packet before the packet
is handed off to the firewall or after the firewall has done
it's thing and hands the packet back to the kernel?].

Since these are network security MIB's why are they not documented
someplace?
They can have an large impact on the security of one's FBSD system,
and should be made known to the general administrator of the FBSD
system and the firewall administrator.

I know I need an FBSD developer who makes code changes to the kernel
to review the internal FBSD kernel code to answer these questions. I
hope someone will help me in this.

net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=0
net.inet.ip.redirect=0

net.inet.ip.sourceroute=0
net.inet.ip.accept_sourceroute=0

net.inet.icmp.bmcastecho=0

net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1

net.inet.tcp.log_in_vain=1
net.inet.udp.log_in_vain=1


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


Re: network security sysctl mib's

2003-12-01 Thread Melvyn Sopacua
On Monday 01 December 2003 20:59, fbsd_user wrote:

> net.inet.icmp.drop_redirect=1
> net.inet.icmp.log_redirect=0

icmp(4)

> net.inet.ip.redirect=0
>
> net.inet.ip.sourceroute=0
> net.inet.ip.accept_sourceroute=0

inet(4)

> net.inet.icmp.bmcastecho=0

icmp(4)

> net.inet.tcp.blackhole=2
> net.inet.udp.blackhole=1
>
> net.inet.tcp.log_in_vain=1
> net.inet.udp.log_in_vain=1

tcp(4) and udp(4)

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #2: Mon Dec  1 
17:58:47 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: Network Card

2003-12-01 Thread Jeff
Sirs,

I hope this is the place I can ask a question.

I'm trying to setup FreeBSD on a machine.  It wouldn't even boot from CD to install 
because of a network card error.  I bought another network card (Netgear model FA311) 
and it seemed to work.  At least I was able to install FreeBSD.  Upon further 
inspection, after installation and re-boot, I noticed that this card was also getting 
and error.  The following three lines are what I get:

sis0:  at device 13.0 on pci0
sis0: couldn't map ports/memory
device_probe_and_attach: sis0 attach returned 6

I admit that I am VERY new to the Unix/Linux stuff.  I know the card fails, but why?  
It's new and from the above three lines I am unable to find any kind of help to answer 
the question.

Any help or direction would be greatly appreciated and I thank you in advance for any 
you can give me.

Thanks,

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


Re: Solved [Re: delete first partition XP and reformat as ufs -> kernel not found]

2003-12-01 Thread Dorin H

> >   The problem was that the new XP partition, not
  ^^^
Oops, mistype: I was talking about the new FreeBSD
partition.

> 
> The second stage FreeBSD boostrap program, "boot2",
> assumes that the the
> slice being booted is the FreeBSD slice with the
> active partition flag
> set or (if no FreeBSD slice has the active partition
> flag) the first
> FreeBSD slice.  If you have two FreeBSD slices on a
> single disk and your
> MBR (master bootstrap record) program does not
> rewrite the MBR with the
> active flag set for the selected slice before it
> runs boot2, either
> because you have disabled that feature with the
> boot0cfg command or
> because you are not using the FreeBSD boot0 MBR
> program, then boot2
> could very easily try to boot the wrong slice.
> 
> If I understand your email, you must have run afoul
> of the fragile
> assumptions made by boot2.  What program were you
> using for the master
> bootstrap?  Do you know which slice had the active
> partition flag?
> 

I am using the Debian lilo in MBR to select which os I
should boot.
Initially was:
ad0s1 XP   * marked as bootable
ad0s2Swap Debian
Debian /
FreeBSD (swap, /)* marked as bootable

Everything was fine. I needed space for FreeBSD, so
went into /stand/sysinstall and delete XP; recreate a
new FreeBSD slice, press W to save it into MBR, forgot
the pesky "bootable" flag, return to FreeBSD, and
before creating any partition in the new FreeBSD
slice, now first, I rebooted.

In MBR I had:

FreeBSD (no slices)  * marked as bootable
Swap Debian
Debian /
FreeBSD (swap, /)* marked as bootable

In this moment, the FreeBSD doesn't boot anymore. From
fixit/live cd, I reset the bootable flag for first
slice and the system booted finely well.
I was hoping that I can specify in the boot2 prompt
the correct partition, on ad0s4

> Dan Strick
> [EMAIL PROTECTED]


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: boot loader won't boot freebsd slice (partially solved)

2003-12-01 Thread Nathan Kinkade
On Mon, Dec 01, 2003 at 10:57:49AM -0600, Nathan Kinkade wrote:
> The hard disk in my laptop went bad so I just dropped in a new one and
> did a standard install, putting a small DOS partition at the beginning
> on which to install the thinkpad bios configuration utility.
> For some reason the freebsd bootloader will boot DOS on the first
> slice, but only beeps when I try to boot to the FreeBSD slice.  It would
> seem that the bootloader isn't aware that there is any bootable OS at
> that slice, like maybe the bootblocks on that slice are missing or
> incorrect.  I have already tried a complete reinstall and playing around
> with marking slices as active and not.  I know that the slice is has a
> valid OS because I can use the install disks to boot to that slice.  I
> have also tried using the 'packet' option on boot0cfg to no effect.
> Does anyone have any suggestions?
> 
> Thanks,
> Nathan

Well, the machine boots fine using GRUB, but still won't boot with the
FreeBSD boot loader.  So I suppose I'll continue to use GRUB, but I'm a
little confused as to why the FreeBSD boot0 program isn't working.  It
was previously working on this same laptop with a different hard disk.
So I guess the problem is solved, but I would still welcome any
explanations or suggestions as to what was/is going wrong with the
regular boot0 program.

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


pgp0.pgp
Description: PGP signature


Re: Solved [Re: delete first partition XP and reformat as ufs -> kernel not found]

2003-12-01 Thread Dorin H
Sorry for replying again, but I succeed to press
"send" while editing the previous reply :((( (press
tab + space -> send, ooops)
I hope I included all the relevant information in my
previous reply.

To finish, I was wondering if I can specify in boot2
prompt which is the correct slice&partition to use for
booting.

If my assumptions are correct, in expression

0:ad(0,a)/kernel
^  ^ ^ ^   ^
|  | | |   |
|  | | |   - the path inside the partition
|  | | |
|  | | - partition in slice 
|  | |
|  | - ??? is this the slice #, drive # ???
|  - refers to driver
- refers to the disk unit 

If no RTFM is available, point me to the source files.
I am not familiar with the FreeBSD kernel sources, but
I'll have no problem reading some code.

Thank you again,

/Dorin.

PS2. Does anybody has a clue why the FreeBSD
associates the slice # 2 (i.e. ad0s2) for the PT entry
4? 
Initially, I had
MBR PT:
ad0s1   XP
 -  not used, reserved space
 -  not used, reserved space
ad0s2   FreeBSD (swap, /)

I have installed Debian swap and / in entries 2 and 3,
and the FreeBSD associated the (correct) numbers:

ad0s1   XP
ad0s2   Debian swap
ad0s3   Debian /
ad0s4   FreeBSD (swap, /)
^^

This made the FreeBSD boot process to fail until I
"fixit" the /etc/fstab to mount the correct root
partition.  At that time, I was also unable to specify
in boot2 prompt (?) where my / is.

My opinion is that if the PT entry # corresponding to
the PT entry were used in the first place, this
problem will be avoid.  Probably this reflects a
superficial view, but for a simple HDD configuration
this make sense to me. Thanks again for any
opinions/suggestions.


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Network Card

2003-12-01 Thread Peter Elsner
I would lean towards your motherboard if I were you.

I have used the Netgear FA-311 in numerous systems and
they all work fine.
Peter Elsner

At 02:44 PM 12/1/2003, you wrote:

Sirs,

I hope this is the place I can ask a question.

I'm trying to setup FreeBSD on a machine.  It wouldn't even boot from CD 
to install because of a network card error.  I bought another network card 
(Netgear model FA311) and it seemed to work.  At least I was able to 
install FreeBSD.  Upon further inspection, after installation and re-boot, 
I noticed that this card was also getting and error.  The following three 
lines are what I get:

sis0:  at device 13.0 on pci0
sis0: couldn't map ports/memory
device_probe_and_attach: sis0 attach returned 6
I admit that I am VERY new to the Unix/Linux stuff.  I know the card 
fails, but why?  It's new and from the above three lines I am unable to 
find any kind of help to answer the question.

Any help or direction would be greatly appreciated and I thank you in 
advance for any you can give me.

Thanks,

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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003
Peter Elsner - President
[EMAIL PROTECTED]
SRI Software
726 Dalworth Suite 1007
Grand Prairie, TX. 75050
972-266-8870 - Voice
817-887-1609 - Fax
www.sri-software.com
Service Plus(tm)
Public Warehouse Management Software

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


Re: Network Card

2003-12-01 Thread Charles Swiger
On Dec 1, 2003, at 3:44 PM, Jeff wrote:
I hope this is the place I can ask a question.
Indeed; welcome.

[ ...description of net install using a FA311 NIC... ]
Upon further inspection, after installation and re-boot, I noticed 
that this card was also getting and error.  The following three lines 
are what I get:

sis0:  at device 13.0 on pci0
sis0: couldn't map ports/memory
device_probe_and_attach: sis0 attach returned 6
One of my machines has that model of NIC and it works fine, so you 
should be able to get it working under FreeBSD.  You didn't mention 
which version of FreeBSD you are trying to install/use, or provide much 
of a description of the rest of your hardware.

Start by going through your BIOS; make sure "Plug-and-play OS" is set 
to "NO"; disable the serial and parallel ports if you aren't using 
them, and turn off anything else (onboard sound?) that you won't need.  
It sounds like either the BIOS isn't configuring the card or you are 
out of resources (like IRQs).

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


Re: SOLVED: Can't install gaim on FreeBSD 4.x

2003-12-01 Thread Bryan Cassidy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gaim running perfect on FreeBSD 4.8-RELEASE p14

On 01 Dec 2003 11:33:19 -0500
Lowell Gilbert <[EMAIL PROTECTED]> wrote:

> David Gerard <[EMAIL PROTECTED]> writes:
> 
> > Gaim requires perl 5.8 or higher just to be installed - its 'l33t++
> > custom configurator thingy requires it. The 5.005 that comes
> > with FreeBSD 4.8 is not sufficient.
> 
> That's not true.  I just did it (on -STABLE, and with the latest
> ports, but with the stock perl 5.005_03.
> 
> > - cvsupit your ports
> 
> cvsupit has been gone for some time, and hadn't really worked for a
> while before that.  [which is why it's gone]
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/y78dm8uTTHnDH3ERAqraAKC8BBtj02NgWz4JsieyJsg4WNaRlQCgjUiM
jdSIKDikZh2pUDeT861LtFY=
=+WcC
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


games that don't need X-11

2003-12-01 Thread Marty Landman
I'm interested in porting some games, but want those that do not involve 
heavy graphics dependencies. Any suggestions or urls that might list these, 
or hints on how I can examine the dependencies on my own?

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]"


Re: games that don't need X-11

2003-12-01 Thread paul beard
On Dec 1, 2003, at 1:28 PM, Marty Landman wrote:

I'm interested in porting some games, but want those that do not 
involve heavy graphics dependencies. Any suggestions or urls that 
might list these, or hints on how I can examine the dependencies on my 
own?

Do you mean installing existing games in the ports tree or porting 
other games that are not there yet?
--
Paul Beard

paulbeard [at] mac.com

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


Re: 4.9 ATA hangs with 2 ata drives

2003-12-01 Thread Aaron Myles Landwehr
I have the same problem with my asus p4s8x mobo on freebsd 4.9 and
priorIf i disable dma the cd will boot.;
5.1 works correctly(with dma enabled).
from the cases i've seen...they all include an ASUS motherboard...
-aaron<[EMAIL PROTECTED]>
> I've got both 4.9 and 5.1 loaded on my new ASUS A7N8X Deluxe
> with two 160Gb disks on the primary ATA controller.  5.1 does
> much better handling both ATA disks.  When I run 4.9 with the
> second disk connected, it hangs during kernel boot after the
> message:
>
> ad1: READ command timeout tag=0 serv=0 - resetting
> ata0: resetting devices
>
> I've seen what looks like similar problems in the archives (e.g.,
> http://docs.freebsd.org/cgi/mid.cgi?188200406.20031109073901).
> It seems to happen on various motherboards and disk configurations.
> I wanted to provide another datapoint for configurations.
>
> My 4.9 came from the CD image downloaded from the ftp site last
> week (weds).  5.1 came from the subscription CD.
>
> The questions are:
> 1. Has anyone gotten a similar configuration working on 4.9?
> 2. Will it make a difference to CVSup?
>
> Thanks in advance!
> j


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


Re: games that don't need X-11

2003-12-01 Thread Marty Landman
At 04:40 PM 12/1/2003, paul beard wrote:

Do you mean installing existing games in the ports tree or porting other 
games that are not there yet?
The first at this time.

--
Paul Beard

paulbeard [at] mac.com
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]"


Re: Remove ^M characters from xhtml file

2003-12-01 Thread Big Daddy EBK
Hello everyone, I'm very new to BSD & this mailing list so please
forgive me should I post incorrectly.

Here are some links that may help you with removing the ^M character
from any file!!

http://www.unixblog.com/quick_unix_tips/remove_m_with_vi.php - I like
this one personally, because I've used it before & it worked!!

http://www.introcomp.co.uk/general/remove_dos.html

BigDaddyEBK

"Unix" for Longevity
"AS/400" for Nostalgia
"Linux" for Productivity
"MAC" for Multimedia
"Windows" for Solitaire

Hello tech support? I broke the cup-holder on my computer!!


Date: Mon, 1 Dec 2003 23:10:33 +0530
From: Shantanoo Mahajan <[EMAIL PROTECTED]>
Subject: Re: Remove ^M characters from xhtml file
To: Robin Schoonover <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii

+++ Robin Schoonover [freebsd] [30-11-03 19:17 -0700]:
| On Sun, 30 Nov 2003 21:16:02 -0600, Bryan Cassidy 
| <[EMAIL PROTECTED]>
| wrote:
| > I've downloaded a couple of .xhtml files and they have ^M characters

| > all through it. I tried the col -b < name > newname command on these

| > files but when I do that it erases the whole document. Any ideas?
| 
| dos2unix (converters/unix2dos in ports) is an easy route (dos2unix 
| name).
| Also you can use the tr command (tr -d '\r' < name > newname).
| 
| --
| Robin Schoonover (aka End)

col -bx < old.xhtml > new.xhtml

Shantanoo

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


Re: Remove ^M characters from xhtml file

2003-12-01 Thread M.D. DeWar
I found this one that works
cat [filename] | tr -d '/r' > out; mv out [new filename]

Mark
- Original Message - 
From: "Big Daddy EBK" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 4:51 PM
Subject: Re: Remove ^M characters from xhtml file


> Hello everyone, I'm very new to BSD & this mailing list so please
> forgive me should I post incorrectly.
>
> Here are some links that may help you with removing the ^M character
> from any file!!
>
> http://www.unixblog.com/quick_unix_tips/remove_m_with_vi.php - I like
> this one personally, because I've used it before & it worked!!
>
> http://www.introcomp.co.uk/general/remove_dos.html
>
> BigDaddyEBK
>
> "Unix" for Longevity
> "AS/400" for Nostalgia
> "Linux" for Productivity
> "MAC" for Multimedia
> "Windows" for Solitaire
>
> Hello tech support? I broke the cup-holder on my computer!!
>
>
> Date: Mon, 1 Dec 2003 23:10:33 +0530
> From: Shantanoo Mahajan <[EMAIL PROTECTED]>
> Subject: Re: Remove ^M characters from xhtml file
> To: Robin Schoonover <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=us-ascii
>
> +++ Robin Schoonover [freebsd] [30-11-03 19:17 -0700]:
> | On Sun, 30 Nov 2003 21:16:02 -0600, Bryan Cassidy
> | <[EMAIL PROTECTED]>
> | wrote:
> | > I've downloaded a couple of .xhtml files and they have ^M characters
>
> | > all through it. I tried the col -b < name > newname command on these
>
> | > files but when I do that it erases the whole document. Any ideas?
> |
> | dos2unix (converters/unix2dos in ports) is an easy route (dos2unix
> | name).
> | Also you can use the tr command (tr -d '\r' < name > newname).
> |
> | --
> | Robin Schoonover (aka End)
>
> col -bx < old.xhtml > new.xhtml
>
> Shantanoo
>
> ___
> [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]"


mpd - vpn help

2003-12-01 Thread Jeanne
Hi,

I have set up a pptp server using mpd. I can connect from a windows client through the 
firewall without any issues. My problem is routing. The windows machine gets an IP of 
say 192.168.1.251, and is issued a gateway of the same IP. All I can do from there is 
ping the pptp server. I can't figure out how to give it a proper gateway. I would 
appreciate some help me with relevant lines for both mpd.conf and mpd.links. I would 
prefer to just use a section of the local LAN (say 192.168.1.240/29), rather than add 
another subnet, but whatever works. 

192.168.1.0/24 LAN
192.168.1.126 gateway for above network
192.168.1.81 pptd server running mpd

Thanks in advance for any help,

Jeanne

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


Re: WinXP/FreeBSD - IPSec Tunnel Over Wireless (MTU Problems?)

2003-12-01 Thread Timothy Ham
Hi there,

Have you tried to see if "IP Firewall" is enabled on your TCP/IP setting
in XP?  I also had trouble loading web pages  when  pings and tracert's
were working perfectly fine.  Disabling the "Firewall"  solved my problem.

I wrote a guide to setting up IPsec tunnel between FreeBSD and Windows
here: http://sahara.lbl.gov/~tham/wifi-ipsec.txt
Maybe you could go over it and see any difference in set-up and spot the
trouble.

Tim




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


Re: Vinum & U320 SCSI, slower than UDMA100 IDE ?

2003-12-01 Thread Greg 'groggy' Lehey
On Thursday, 27 November 2003 at 13:44:35 +0100, Sander Smeenk wrote:
> Hi,
>
> I recently installed a Dual P4 2.8ghz with FBSD 4.9 and made a RAID10
> array of the 4 scsi disks available. The idea was that this would be
> faster to read from than normal IDE disks. As a test I took the
> company's web/ directory, which is 1.6gb in size and has 22082 files.
>
> I extracted this web/ directory on the IDE disk and on the RAID10
> array, and noticed that extracting it took much longer on RAID10 than it
> did on IDE. I assumed that it was slower on RAID10 because it needed to
> stripe the data to all these disks, mirror it and what not.
>
> Then I did a read test, like this:
>
>> date;find . -type f|while read FILE;do cat "$FILE" > /dev/null;done;date
>
> I know it's not the most sophisticated test, but at least it shows that
> on the IDE disk, this 'test' took 24 seconds to complete. On the RAID10
> array it took a whopping 73 seconds to complete.

You shouldn't expect any performance improvement with this kind of
test, since you still need to access the data, and there's no way to
do it in parallel.

> I would understand if the RAID10 array was as fast as IDE, or
> faster,

Correct.

> but i'm a bit amazed by these results.

Agreed, I find them surprising too.

> The relevant volume for this in the vinum config looks like this:
>
>> volume varweb setupstate
>>   plex org striped 3841k

You should choose a stripe size which is a multiple of the block size
(presumably 16 kB).  Not doing so will have a minor performance
impact, but nothing like what you describe here.

> What could cause this major decrease in speed?  Or is this normal
> behaviour, and is the RAID array faster with concurrent reads /
> writes than the IDE disk, but not with single reads / writes?

That's true, as I said above, but it doesn't explain the problems.

> As a possible reason for this slowdown the only thing I can find is
> this, from dmesg:
>
> [ .. later on in the boot process .. ]
>
>> ahd1: PCI error Interrupt
 Dump Card State Begins <
>> ahd1: Dumping Card State at program address 0x94 Mode 0x22
>> Card was paused

This is possibly related.  Does it happen every time?

> But the thing is, there's NOTHING connected to ahd1, and the step that
> follows this card dump is detecting disks, which succeeds like a charm.
> All 4 SCSI disks are detected, and show a healthy connection state:
>> da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
>
> Further use of this new server did not reveal any other problems with
> the SCSI controller. Everything seems to work as expected. Except for
> the slowdown in reads / writes.
>
> Can anyone shed a light on this matter? Things I overlooked?
> Things I should check? I tried googling for a solution to the PCI
> error interrupt problem which puts the SCSI card in pause, but I
> couldn't find anything useful, just a few posts from people who also
> experience this card dump thing at boot.

The first thing to do is to find whether it's Vinum or the SCSI disks.
Can you test with a single SCSI disk (of the same kind, preferably one
of the array) instead of a single IDE disk?

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


ejecting a Zip disk using eject(1)

2003-12-01 Thread DG
Greetings,

I have a 5.1-RELEASE installation with an IDE Zip drive (amongst other IDE
devices).

# dmesg | grep afd0
afd0: 96MB  [96/64/32] at ata1-slave PIO0

I installed the eject package ...

# pkg_info | grep eject
eject-1.4   Utility for ejecting media from CD or optical disk drive

But when I try to eject a Zip disk, the following error occurs:

# eject afd0
eject: No such file or directory

Altho the package description indicates that eject only works on optical
media, the man page states "eject is a program to eject removable media from
drive".

Should eject work on an IDE Zip drive?

Thanx

Dave

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


size of rpc.statd process

2003-12-01 Thread DG
Greetings,

I have a 5.1-RELEASE installation running as a NFS server for a Linux client
and another FreeBSD client.  I haven't done anything unusual that I am aware
of when setupping the share, however looking at the output from top shows
the following for rpc.statd:

  PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
  359 root  960   257M80K select   0:01  0.00%  0.00% rpc.statd

The SIZE is 257M (this is on a maching with 128M RAM and 1G swap) - that
seems rather high.  The handbook says that it could occupy a lot of memory
with a lot of clients, but for only 2 clients?

Is this of concern and, if so, how would I correct it?

Thanx

Dave

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


boot

2003-12-01 Thread Mauro Gaggero
I have to create an iso image (bootable) of a freebsd cd (release 5.1). Which is the 
bootfile I have to specify?
(I use mkisofs -b path_to_bootfile)

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


Re: ejecting a Zip disk using eject(1)

2003-12-01 Thread JacobRhoden
On Tue, 2 Dec 2003 08:13 am, DG wrote:
> # eject afd0
> eject: No such file or directory

I dont know the syntax expected but you probably should be doing:

  eject /dev/afd0

Regards,
Jacob

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


RE: ejecting a Zip disk using eject(1)

2003-12-01 Thread DG
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of JacobRhoden
> Sent: Tuesday, 2 December 2003 10:12 AM
> Subject: Re: ejecting a Zip disk using eject(1)
>
>
> On Tue, 2 Dec 2003 08:13 am, DG wrote:
> > # eject afd0
> > eject: No such file or directory
>
> I dont know the syntax expected but you probably should be doing:
>
>   eject /dev/afd0
>
> Regards,
> Jacob


I tried that too.  The eject command accepts just the device name without a
prefix, and prepends "/dev/" as necessary.

Specifically from man eject(1):

SYNOPSIS
 eject [-fnv] device

DESCRIPTION
 eject is a program to eject removable media from drive.  The device is
a
 removable drive name such as cd0, matcd0, mcd0, scd0, wcd0 or od0.
eject
 unmounts the device if it was mounted brefore ejecting.

Given that it says "removable drive name such as ..." I assumed that those
listed were just examples, and that any ejectable media should be
programatically ejectable.  My interpretation of the man page may have been
incorrect, or eject might not support Zip drives?

Dave

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


Samba frontend.

2003-12-01 Thread Lewis Thompson
Hi,

I'm looking for a usable frontend to Samba, allowing me to see people
accessing shares, details of files that are open, etc.  I don't really
care if it's console of GUI (Qt, GTK+, anything) but it would be great
if it could run from the log files (allowing me to run from another
machine from Samba).  If this isn't possible I'll settle for anything :)

  Thanks very much,

-lewiz.

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

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Re: size of rpc.statd process

2003-12-01 Thread Erik Trulsson
On Tue, Dec 02, 2003 at 08:18:35AM +1100, DG wrote:
> Greetings,
> 
> I have a 5.1-RELEASE installation running as a NFS server for a Linux client
> and another FreeBSD client.  I haven't done anything unusual that I am aware
> of when setupping the share, however looking at the output from top shows
> the following for rpc.statd:
> 
>   PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
>   359 root  960   257M80K select   0:01  0.00%  0.00% rpc.statd
> 
> The SIZE is 257M (this is on a maching with 128M RAM and 1G swap) - that
> seems rather high.  The handbook says that it could occupy a lot of memory
> with a lot of clients, but for only 2 clients?
> 
> Is this of concern and, if so, how would I correct it?

This is answered in the FAQ:

 10.25. Why is rpc.statd using 256 megabytes of memory?

  No, there is no memory leak, and it is not using 256 Mbytes of
  memory. It simply likes to (i.e., always does) map an obscene amount
  of memory into its address space for convenience. There is nothing
  terribly wrong with this from a technical standpoint; it just throws
  off things like top(1) and ps(1).

  rpc.statd(8) maps its status file (resident on /var) into its address
  space; to save worrying about remapping it later when it needs to
  grow, it maps it with a generous size. This is very evident from the
  source code, where one can see that the length argument to mmap(2) is
  0x1000, or one sixteenth of the address space on an IA32, or
  exactly 256MB.


-- 

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


Re: ejecting a Zip disk using eject(1)

2003-12-01 Thread Matthew Emmerton
> > On Tue, 2 Dec 2003 08:13 am, DG wrote:
> > > # eject afd0
> > > eject: No such file or directory
> >
> > I dont know the syntax expected but you probably should be doing:
> >
> >   eject /dev/afd0
> >
> > Regards,
> > Jacob
>
>
> I tried that too.  The eject command accepts just the device name without
a
> prefix, and prepends "/dev/" as necessary.
>
> Specifically from man eject(1):
>
> SYNOPSIS
>  eject [-fnv] device
>
> DESCRIPTION
>  eject is a program to eject removable media from drive.  The device
is
> a
>  removable drive name such as cd0, matcd0, mcd0, scd0, wcd0 or od0.
> eject
>  unmounts the device if it was mounted brefore ejecting.
>
> Given that it says "removable drive name such as ..." I assumed that those
> listed were just examples, and that any ejectable media should be
> programatically ejectable.  My interpretation of the man page may have
been
> incorrect, or eject might not support Zip drives?

It's probably the case that the actual Zip drive itself doesn't have the
hardware to eject the disk automatically -- you have to push the eject
button on the front (like a floppy) -- at least with the Zip drives I've
used.

CD-ROMs, OTOH, can be ejected through software since the tray is motorized.

--
Matt Emmerton

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


Re: Samba frontend.

2003-12-01 Thread Kevin Stevens
On Mon, 1 Dec 2003, Lewis Thompson wrote:

> I'm looking for a usable frontend to Samba, allowing me to see people
> accessing shares, details of files that are open, etc.  I don't really
> care if it's console of GUI (Qt, GTK+, anything) but it would be great
> if it could run from the log files (allowing me to run from another
> machine from Samba).  If this isn't possible I'll settle for anything :)

Can you describe what you're looking for that the swat utility (installed
by default with most Samba installs) doesn't provide?

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


RE: ejecting a Zip disk using eject(1)

2003-12-01 Thread DG
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Matthew
> Emmerton
> Sent: Tuesday, 2 December 2003 10:32 AM
> To: DG; [EMAIL PROTECTED]
> Subject: Re: ejecting a Zip disk using eject(1)
>
> > I tried that too.  The eject command accepts just the
> device name without
> a
> > prefix, and prepends "/dev/" as necessary.
> >
> > Specifically from man eject(1):
> >
> > SYNOPSIS
> >  eject [-fnv] device
> >
> It's probably the case that the actual Zip drive itself
> doesn't have the
> hardware to eject the disk automatically -- you have to push the eject
> button on the front (like a floppy) -- at least with the Zip
> drives I've
> used.
>
> CD-ROMs, OTOH, can be ejected through software since the tray
> is motorized.
>
> --
> Matt Emmerton

Not so.  The Zip drive ejects quite happily under a different open source
UNIX-like operating system, and a similar IDE Zip drive in a different PC
ejects quite happily under Windows 98.

Dave

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


Re: Samba frontend.

2003-12-01 Thread Lewis Thompson
On Mon, Dec 01, 2003 at 03:47:00PM -0800, Kevin Stevens wrote:
> On Mon, 1 Dec 2003, Lewis Thompson wrote:
> > I'm looking for a usable frontend to Samba, allowing me to see people
> > accessing shares, details of files that are open, etc.  I don't really
> 
> Can you describe what you're looking for that the swat utility (installed
> by default with most Samba installs) doesn't provide?

Woohoo!  I always thought Swat was just for configuring Samba.  That'll
do just great, thanks :>

  Best wishes,

-lewiz.

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

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Re: 4.9 ATA hangs with 2 ata drives

2003-12-01 Thread Lee Harr
I've got both 4.9 and 5.1 loaded on my new ASUS A7N8X Deluxe
with two 160Gb disks on the primary ATA controller.

it hangs during kernel boot after the
message:
ad1: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices


Yup. I have the same thing.

What I do is go in to the BIOS and set the slave drive
from "Auto" to "None" when I want to boot from the first
drive, and switch it back when I want to boot from the
second drive. Kind of a pain, but it works...
I think it's just symptomatic of the nforce2 chipset which
is only partially supported due to nvidia's refusal or
inability to release proper specs.
_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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


Is non-breaking space a space?

2003-12-01 Thread Jean-Baptiste Quenot
Hello,

I'm wondering why the non-breaking space is considered as a space in the
FreeBSD  C library,  whereas  it is  not  in the  GNU  libc.  Sorry  for
comparing the two,  but as a result, Linux and  FreeBSD are incompatible
in the way  they handle isspace(160).  This *only*  occurs when LC_CTYPE
is given « single C chars locales » like en_US.ISO8859-1.

In  /usr/src/share/mklocale, the  file  la_LN.ISO8859-1.src for  example
contains a  SPACE definition that  includes the non-breaking  space.  It
seems that it  is so since the  beginning of FreeBSD, but  is there some
reference, some standard that states  whether NBSP is considered a space
or not?

BTW  the  « official » [1]sources  for  glibc  ctype functions  have  an
interesting comment:

static bool
is_space (unsigned int ch)
{
  /* Don't make U+00A0 a space. Non-breaking space means that all programs
 should treat it like a punctuation character, not like a space. */

Best regards,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/

[1] 
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/localedata/gen-unicode-ctype.c?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=glibc


pgp0.pgp
Description: PGP signature


HP Color DeskJet 960c

2003-12-01 Thread Dr Lyman Hazelton
Has anyone gotten one of these to work?  If so, would you mind letting 
me know how to configure the ghostscript fliter for it?  Thanks!

   -Lyman

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


Re: Controlling init on shutdown/reboot

2003-12-01 Thread Daniel Rudy
Somewhere around the time of 12/01/2003 03:32, the world stopped and
listened as Rob contributed this to humanity:

>>From line 99 of /usr/src/sbin/init/init.c,
> 
>   #define DEATH_SCRIPT  120  /* wait for 2min for /etc/rc.shutdown */
> 
> and on line 1576 it looks like you can change this with the sysctl
> 'kern.shutdown_timeout'.
> 
> But 2 minutes is a long time for a shell script - are you sure that
> everything is working correctly?

The problem is that a ppp.linkdown.sh script needs to do something and
it's not doing it.  Works fine if I execute the script normally from the
command line though using the approperiate parameters that ppp would
send it.  It seems that init is killing the script before the script can
finish, which is the problem.

BTW, that oid, kern.shutdown_timeout does not exist.  I'm running
4.9-RELEASE.


> - Original Message -
> From: "Daniel Rudy" <[EMAIL PROTECTED]>
> Subject: Controlling init on shutdown/reboot
> 
> 
> 
>>Hello,
>>
>>How does one allocate more time for /etc/rc.shutdown?  It seems that
>>some of my scripts are not being executed when the system shuts down or
>>reboots.
>>
>>--
>>Daniel Rudy
>>
>>___
>>[EMAIL PROTECTED] mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to
> 
> "[EMAIL PROTECTED]"
> 
> 


-- 
Daniel Rudy

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


Re: ejecting a Zip disk using eject(1)

2003-12-01 Thread Bryan Cassidy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What about formating the zip drive? Is there anything in the ports for
for formating a zip drive? 

On Tue, 2 Dec 2003 08:13:06 +1100
"DG" <[EMAIL PROTECTED]> wrote:

> Greetings,
> 
> I have a 5.1-RELEASE installation with an IDE Zip drive (amongst other
> IDE devices).
> 
> # dmesg | grep afd0
> afd0: 96MB  [96/64/32] at ata1-slave PIO0
> 
> I installed the eject package ...
> 
> # pkg_info | grep eject
> eject-1.4   Utility for ejecting media from CD or optical disk
> drive
> 
> But when I try to eject a Zip disk, the following error occurs:
> 
> # eject afd0
> eject: No such file or directory
> 
> Altho the package description indicates that eject only works on
> optical media, the man page states "eject is a program to eject
> removable media from drive".
> 
> Should eject work on an IDE Zip drive?
> 
> Thanx
> 
> Dave
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/y/sbm8uTTHnDH3ERAqn7AKDJnVjfXcasUgEQ6i+py8SURoG44QCeL2ms
cAgekdg0QHtSccQuo4D8Dvw=
=ftAN
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: ejecting a Zip disk using eject(1)

2003-12-01 Thread DG
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Bryan Cassidy
> Sent: Tuesday, 2 December 2003 1:38 PM
> To: [EMAIL PROTECTED]
> Subject: Re: ejecting a Zip disk using eject(1)
>
> What about formating the zip drive? Is there anything in the ports for
> for formating a zip drive?
>
> On Tue, 2 Dec 2003 08:13:06 +1100
> "DG" <[EMAIL PROTECTED]> wrote:
>

This site:

http://www.vmunix.com/mark/FreeBSD/ZIP-FAQ.html

contains some info about using Zip drives and disks with FreeBSD.

Altho I haven't tried a Zip disk formatted with ufs or ffs, I have tried one
formatted with ext2fs, one with msdosfs, and also one I have been writing a
raw tarball to (tar cvf /dev/afd0 ...) - none will eject using eject(1).

The eject button on the front of the drive works as expected, allowing a Zip
disk to be ejected provided it is not mounted, which makes me think that the
eject(1) command simply does not recognise or support IDE Zip drives.

Dave

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


Is there a guide to Upgrading a FreeBSD server remotely

2003-12-01 Thread Denis Fortin
Greetings,

I've Google'd a bit, but I cannot find a "survival guide to upgrading 
a FreeBSD system remotely".

The Handbook's procedure is excellent (cvsup to the RELENG branch and 
then make'ing world), but it requires going into single user mode and 
using the console, two things which may not be possible in the context 
of a server sitting unattended in a hosting center 1 kilometers away.

Has anyone written a quick guide on issues that can arise in this kind 
of situation?  (For instance, one the the issues is that one might end 
up with a bad kernel: have people devised a way for the boot code to 
interact with "reboot -k xxx" to revert to the default kernel after an 
unsucessful boot, or after a specific time?)

Thanks

Denis Fortin, [EMAIL PROTECTED]

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


Re: Is there a guide to Upgrading a FreeBSD server remotely

2003-12-01 Thread JacobRhoden
On Tue, 2 Dec 2003 01:01 pm, Denis Fortin wrote:
> Has anyone written a quick guide on issues that can arise in this kind
> of situation?  (For instance, one the the issues is that one might end
> up with a bad kernel: have people devised a way for the boot code to
> interact with "reboot -k xxx" to revert to the default kernel after an
> unsucessful boot, or after a specific time?)

I have done this a few times.. make sure your firewall configuration is up to 
date and is safe so you dont endup firewalled out when you reboot, and you 
may wish to put some cron entries to do some things (like reboot) after 10 
minutes of rebooting in case it boots successfullly but you cant get in for 
some reason. I dont know of a speciffic guide..

Regards,
Jacob

_
JacobRhoden -- http://rhoden.id.au/

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


lyx problems building

2003-12-01 Thread Wayne Lubin
Are there probs with lyx building. I am using 4.9 and
I get the following error


test -f xfonts/fonts.dir || exit 0 ; \
/bin/sh ../config/mkinstalldirs
/usr/local/share/lyx/xfonts ; \
files=`sed -e 's/^[0-9]*$//' -e 's/^\([^ ]*\) .*$/\1/'
xfonts/fonts.dir` ; \
for i in ${files} ; do \
  ln -f -s `kpsewhich $i`
/usr/local/share/lyx/xfonts/$i ; \
done ; \
install -c -o root -g wheel -m 444 xfonts/fonts.dir
/usr/local/share/lyx/xfonts/
fonts.dir ; \
install -c -o root -g wheel -m 444 xfonts/fonts.scale
/usr/local/share/lyx/xfont
s/fonts.scale
test -f xfonts/PSres.upr && install -c -o root -g
wheel -m 444 xfonts/PSres.upr
/usr/local/share/lyx/xfonts/PSres.upr
gmake[3]: *** [install-xfonts] Error 1
gmake[3]: Leaving directory
`/usr/ports/print/lyx/work/lyx-1.3.3/lib'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory
`/usr/ports/print/lyx/work/lyx-1.3.3/lib'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/print/lyx/work/lyx-1.3.3/lib'
gmake: *** [install-recursive] Error 1
*** Error code 2


Any ideas? Thanks.

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: network security sysctl mib's

2003-12-01 Thread Jez Hancock
On Mon, Dec 01, 2003 at 02:59:08PM -0500, fbsd_user wrote:
> The sysctl.conf file contains MIB's to change the default setting of
> internal options of the kernel at boot up time.
> I have found these MIB's when I display all the sysctl's.
> 
> These deal with how packets entering the FBSD system are handled by
> default.
> There are no man info on any MIB's.

http://people.freebsd.org/~adrian/sysctl.descriptions

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


RE: Network Card

2003-12-01 Thread Minnesota Slinky
Have you tried using FreeBSD 4.9?  It is the most stable.

Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
Sent: Monday, December 01, 2003 2:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Network Card


Sirs,

I hope this is the place I can ask a question.

I'm trying to setup FreeBSD on a machine.  It wouldn't even boot from CD
to install because of a network card error.  I bought another network
card (Netgear model FA311) and it seemed to work.  At least I was able
to install FreeBSD.  Upon further inspection, after installation and
re-boot, I noticed that this card was also getting and error.  The
following three lines are what I get:

sis0:  at device 13.0 on pci0
sis0: couldn't map ports/memory
device_probe_and_attach: sis0 attach returned 6

I admit that I am VERY new to the Unix/Linux stuff.  I know the card
fails, but why?  It's new and from the above three lines I am unable to
find any kind of help to answer the question.

Any help or direction would be greatly appreciated and I thank you in
advance for any you can give me.

Thanks,

Jeff Nordgren (Rookie) ___
[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]"


HP/UX NFS client (and general TCP/IP) problems with FreeBSD?

2003-12-01 Thread Thomas David Rivers

I've been scouring the net looking for someone else that
has a similar problem; but I haven't found anything.

The situation we have is a new HP/UX 11.0 system, which is
doing an NFS mount from a FreeBSD 4.3 system.   Even though
we've dropped to NFS V2 and set the rsize/wsize on the HP/UX
client to 1024 each - we're still seeing *terrible* performance
on the HP/UX side... as if packets are being dropped right-and-left.

In general - it seems TCP/IP between the HP/UX system and
the FreeBSD server (even, say, FTP) moves really slowly.

However, the HP/UX box communicates just find with the Solaris
server.

Has anyone seen this before?   And, if so, any recommendations
on proper settings?

- Thanks! -
- Dave Rivers -

p.s. I'm not subscribed to -questions, so please include
 my e-mail address directly in any follow-up.

--
[EMAIL PROTECTED]Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ports problems

2003-12-01 Thread RYAN vAN GINNEKEN
when i run portsdb -Uu i get many errors like the one below is there 
anyone who can help me

ileroller-2.4.2_1,1:"/usr/ports/x11-toolkits/pango" non-existent -- 
dependency list incomplete
fileroller-2.4.2_1,1:"/usr/ports/x11-toolkits/gtk20" non-existent -- 
dependency list incomplete
fileroller-2.4.2_1,1:"/usr/ports/graphics/libgnomecanvas" non-existent 
-- dependency list incomplete
fileroller-2.4.2_1,1:"/usr/ports/graphics/libart_lgpl2" non-existent -- 
dependency list incomplete
fileroller-2.4.2_1,1:"/usr/ports/x11/libgnome" non-existent -- 
dependency list incomplete
fileroller-2.4.2_1,1:"/usr/ports/x11-toolkits/libbonoboui" non-existent 
-- dependency list incomplete
fileroller-2.4.2_1,1:"/usr/ports/x11-toolkits/libgnomeui" non-existent 
-- dependency list incomplete



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


Re: ports problems

2003-12-01 Thread paul beard
On Dec 1, 2003, at 7:28 PM, RYAN vAN GINNEKEN wrote:

when i run portsdb -Uu i get many errors like the one below is there 
anyone who can help me

try pkgdb -F and see how that goes.

--
Paul Beard

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


port forward

2003-12-01 Thread Peter Kok

-- 
Hi all

Does freebsd provide port forward when using the nat?

If yes, how can I forward?

I would like to forward the window port (192.168.0.100:5900) to map to 
the freebsd (public address:5900)


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


userland PPPoE LQM/LQR alternative

2003-12-01 Thread nil000
The monopoly ADSL provider in australia recently began migrating users 
to new hardware which has been configured to ignore LQR packets 
(RFC1989).  This was a simple way for the FreeBSD box to decide if the 
link is down or not.  So now I cant use "enable lqr" in my ppp.conf, 
otherwise the session gets dropped every 3 minutes or so from lack of a 
LQR response from the provider.  I'd like to have some way for the box 
to detect link failure and to try connecting again, but would rather not 
implement a "custom" solution such as scripting regular pings etc.

I have had someone suggest trying LCP echo to detect link failure, 
however from what I have read so far this seems only to be an option in 
kernel-mode pppd, not user-mode ppp.  Can anyone point me in the 
direction of a PPPoE solution that makes use of an established protocol?

thanks,

nik

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


ide-scsi emulation required?

2003-12-01 Thread Trey Sizemore
Coming from a linux background, I understand that up to the 2.4.x series
of kernels that scsi emulation is required of ide drives in order to
burn CDs.  This will no longer be a requirement with the new 2.6.x
series of kernels.

What is the current requirement in FreeBSD?  Is this scsi emulation
required and, if so, will this change in the near future?

Thanks.

-- 
Cheers,
Trey
---

The beauty of the soul shines out when a man bears with
composure one heavy mischance after another, not because he
does not feel them, but because he is a man of high and heroic temper.
- Aristotle


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


ASUS WL-100

2003-12-01 Thread William O'Higgins
After much rooting through this list's archives I tried adding this to
/etc/pccard.conf:

# Asus WL-100
card "ASUS" "802_11b_PC_CARD_25"
config  auto "wi" ?
insert  /etc/pccard_ether $device start
remove  /etc/pccard_ether $device stop

Now that card works just fine.  Now, since this card *is* supported, how
do I contribute the info so that it gets included in
/etc/defaults/pccard.conf and man wi?
-- 

yours,

William

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


Re: port forward

2003-12-01 Thread ana
i dont know if this helps
but you can use something like this in your ipnat

rdr device x.x.x.x/0 port 5900 -> x.x.x.x port 5900 tcp

hope this helps.


> --
> Hi all
>
> Does freebsd provide port forward when using the nat?
>
> If yes, how can I forward?
>
> I would like to forward the window port (192.168.0.100:5900) to map to
> the freebsd (public address:5900)
>
>
> Thank you very much
> Peter
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

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


RE: Compiling the kernel

2003-12-01 Thread sundeep.puliccott

I'm a newbie. I built the kernel the first time yesterday
There is a new way to build the kernel documented here
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-b
uilding.html

It worked for me. I do not really sure what the difference is.
Hope it helps
-sundeep

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Valerian
Galeru
Sent: Monday, December 01, 2003 7:43 PM
To: [EMAIL PROTECTED]
Subject: Compiling the kernel


I want to build a new kernel. I have edit the GENERIC
file (like is written into the documentation). And
when i run /usr/sbin/config
/root/kernels/MYKERNEL(this is my kernel) i get a lot
of errors Command not found. What is made wrong???

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >