Resolving IRQ conflicts with 4.8

2003-11-05 Thread Charles Howse
Hi,
If this post is considered off-topic, forgive me. Perhaps someone might be 
willing to work with me off-list?

I have 3 PCI devices using IRQ 9!
The modem, nic and built-in sound card.
I've physically removed the modem, because it was being detected before the 
nic, and I had no ability to network.

In BIOS, I have PnP OS set to "No".
There is a setting to allow resources to be controlled manually, but this 
defaults to "Legacy ISA device".
Since I have no ISA devices, this won't work.

I noticed from output of dmesg, that it does some probing for PnP devices:

Probing for PnP devices on ppbus0:
ppbus0:  PRINTER MLC,PCL,PJL

What, if anything can I do so that I can have my nic, modem, and sound card 
detected during boot?
-- 


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


RE: Resolving IRQ conflicts with 4.8

2003-11-08 Thread Charles Howse
> The problem you describe is becoming common in the 4.x versions of
> FBSD.
> I have seen these solutions voiced previously in this list.
> 
> 1. Check the PC's bios, look for a toggle to disable plug-n-play
> function.
> 
> 2. Check that your PCI cards are not in the first or last PCI
> expansion
> slot on the motherboard.
> 
> 3 add   option   PCI_ENABLE_IO_MODES
> to your kernel source and recompile. See LINT
> 
> 4. add   device  puc
>  option  PUC_FASTINTR
> to your kernel source and recompile. See LINT
> 
> 5. Follow bug fix using this url
> http://www.freebsd.org/cgi/query-pr.cgi?pr=40636
> 
> 6. check /var/boot/dmesg.boot file to see if your pci cards are
> found
> as unknown. See FBSD FAQ for instructions on how to fix.
> 
> 
> Try one of the above one at a time until your problem goes away.
> 
> 
> 
> 
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Charles
> Howse
> Sent: Wednesday, November 05, 2003 10:27 AM
> To: [EMAIL PROTECTED]
> Subject: Resolving IRQ conflicts with 4.8
> 
> Hi,
> If this post is considered off-topic, forgive me. Perhaps someone
> might be
> willing to work with me off-list?
> 
> I have 3 PCI devices using IRQ 9!
> The modem, nic and built-in sound card.
> I've physically removed the modem, because it was being detected
> before the
> nic, and I had no ability to network.
> 
> In BIOS, I have PnP OS set to "No".
> There is a setting to allow resources to be controlled manually, but
> this
> defaults to "Legacy ISA device".
> Since I have no ISA devices, this won't work.
> 
> I noticed from output of dmesg, that it does some probing for PnP
> devices:
> 
> Probing for PnP devices on ppbus0:
> ppbus0:  PRINTER MLC,PCL,PJL
> 
> What, if anything can I do so that I can have my nic, modem, and
> sound card
> detected during boot?
> --

Thanks for the reply, this is excellent information.
Moving the modem away from the last PCI slot allowed it to be detected.

I still have the on-board sound device listed as "unknown", so I have
jumped from your suggestion #2 to #6.
(Device listed as "unkown".)
I have not recompiled the kernel yet.

I have refered to the FBSD FAQ you referenced, and have an issue there.

Pnpinfo does not list any PnP devices, so I have to use pciconf -vl.
Here is it's output re the sound card:

[EMAIL PROTECTED]:18:0: class=0x040100 card=0x13711274 chip=0x13711274 rev-ox08
hdr=0x00
Vendor = 'Creative (was: Ensoniq)'
Device = 'ES1371, ES1373 Audio PCI'
Class = multimedia
Subclass = audio

(I've typed this from my notes, capitals and tabs may be incorrect.)

The FAQ says:

[snip]
Alternatively, if pnpinfo(8) does not list the card in question,
pciconf(8) can be used instead. This is part of the output from pciconf
-vl for an onboard sound chip:

# pciconf -vl
[EMAIL PROTECTED]:31:5:class=0x040100 card=0x00931028 chip=0x24158086
rev=0x02 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801AA 8xx Chipset AC'97 Audio Controller'
class= multimedia
subclass = audio
Here, you would use the chip value, ``0x24158086''.

[snip]
You should first make a backup of sio.c just in case things go wrong.
You will also need it to make the patch to submit with your PR (you are
going to submit a PR, are you not?) then edit sio.c and search for the
line

static struct isa_pnp_id sio_ids[] = {
then scroll down to find the correct place to add the entry for your
device. The entries look like this, and are sorted on the ASCII Vendor
ID string which should be included in the comment to the right of the
line of code along with all (if it will fit) or part of the Device
Description from the output of pnpinfo(8):

{0x0f804f3f, NULL}, /* OZO800f - Zoom 2812 (56k Modem) */
{0x39804f3f, NULL}, /* OZO8039 - Zoom 56k flex */
{0x3024a341, NULL}, /* PMC2430 - Pace 56 Voice Internal Modem */
{0x1000eb49, NULL}, /* ROK0010 - Rockwell ? */
{0x5002734a, NULL}, /* RSS0250 - 5614Jx3(G) Internal Modem */
Add the hexadecimal Vendor ID for your device in the correct place, save
the file, rebuild your kernel, and reboot. Your device should now be
found as an sio device as it was under FreeBSD 3.X

My issue is:
Apparently, it is important to add the new listing in the correct place
in sio.c, as well as adding the ASCII Vendor ID String.
Since I had to get the device info from pciconf instead of pnpinfo, I
have no 7 character ASCII Vendor ID String (like RSS0250 in the listed
example above).
There is no example on how to format a new entry if you only have the
output from pciconf.
So...how should my new entry look and where should I place it in sio.c?




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


RE: Resolving IRQ conflicts with 4.8

2003-11-08 Thread Charles Howse
Since you are top-posting, I will, too.  :)

Device pcm was all it took!
Sound, modem, and nic are all recognized now.

I do apologize for not doing enough homework before asking my question.
I just automatically Google for answers, it never occurred to me to
search the archives.

Tell you what...I'll go right now and search the archives for the answer
to this question.
That way I'll learn how to search them and see what has been said about
this issue.

Thanks for the help!

> -Original Message-
> From: fbsd_user [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, November 08, 2003 3:34 PM
> To: Charles Howse; [EMAIL PROTECTED]
> Subject: RE: Resolving IRQ conflicts with 4.8
> 
> 
> I think your problem is that you have not searched this mailing list
> archives. This answer about sound card and my previous msg about nic
> and modem pci cards not being found are in the archives. You really
> should do some home work and search the archives before asking
> questions.
> 
> I believe the unknown device FAQ is for pci Nics and pci Modems.
> Sound cards are different story.
> 
> I've found that FreeBSD 4.x so far has supported every odd sound
> card I've thrown its way.
> 
> Even (especially!) those on-board sound things built into
> motherboards and laptops these days.  FreeBSD supports them all (and
> Windows usually doesn't without the special CD-Rom from the
> motherboard manufacturer.)
> 
> Just add "device pcm" to your kernel conf file, build a new kernel,
> and I'll bet almost any sound card will work on reboot.
> 
> -Original Message-
> From: Charles Howse [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 08, 2003 2:17 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Resolving IRQ conflicts with 4.8
> 
> > The problem you describe is becoming common in the 4.x versions of
> > FBSD.
> > I have seen these solutions voiced previously in this list.
> >
> > 1. Check the PC's bios, look for a toggle to disable plug-n-play
> > function.
> >
> > 2. Check that your PCI cards are not in the first or last PCI
> > expansion
> > slot on the motherboard.
> >
> > 3 add   option   PCI_ENABLE_IO_MODES
> > to your kernel source and recompile. See LINT
> >
> > 4. add   device  puc
> >  option  PUC_FASTINTR
> > to your kernel source and recompile. See LINT
> >
> > 5. Follow bug fix using this url
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=40636
> >
> > 6. check /var/boot/dmesg.boot file to see if your pci cards are
> > found
> > as unknown. See FBSD FAQ for instructions on how to fix.
> >
> >
> > Try one of the above one at a time until your problem goes away.
> >
> >
> >
> >
> >
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Charles
> > Howse
> > Sent: Wednesday, November 05, 2003 10:27 AM
> > To: [EMAIL PROTECTED]
> > Subject: Resolving IRQ conflicts with 4.8
> >
> > Hi,
> > If this post is considered off-topic, forgive me. Perhaps someone
> > might be
> > willing to work with me off-list?
> >
> > I have 3 PCI devices using IRQ 9!
> > The modem, nic and built-in sound card.
> > I've physically removed the modem, because it was being detected
> > before the
> > nic, and I had no ability to network.
> >
> > In BIOS, I have PnP OS set to "No".
> > There is a setting to allow resources to be controlled manually,
> but
> > this
> > defaults to "Legacy ISA device".
> > Since I have no ISA devices, this won't work.
> >
> > I noticed from output of dmesg, that it does some probing for PnP
> > devices:
> >
> > Probing for PnP devices on ppbus0:
> > ppbus0:  PRINTER MLC,PCL,PJL
> >
> > What, if anything can I do so that I can have my nic, modem, and
> > sound card
> > detected during boot?
> > --
> 
> Thanks for the reply, this is excellent information.
> Moving the modem away from the last PCI slot allowed it to be
> detected.
> 
> I still have the on-board sound device listed as "unknown", so I
> have
> jumped from your suggestion #2 to #6.
> (Device listed as "unkown".)
> I have not recompiled the kernel yet.
> 
> I have refered to the FBSD FAQ you referenced, and have an issue
> there.
> 
> Pnpinfo does not list any PnP devices, so I have to use pciconf -vl.
> Here is it's output re the sound card:
> 
> [EMAIL PROTECTED]:18:0: class=0x040100 card=0x13711274 chip=0x1371

KCron error

2003-11-11 Thread Charles Howse
Hi,
FBSD 4.8-RELEASE-p13, KDE 3.1.

When I click menu/system/KCron, I get an error:
"The following error occurred when initializing KCron,
No password entry for user '#'
KCron will now exit."

I've searched using Google and searched the list archives with no joy.
There is, of course, no local documentation for KCron.
Can someone point me to the place to find out how to fix this?
-- 


Thanks,
Charles

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


Re: KCron error - SOLVED

2003-11-12 Thread Charles Howse
On Tuesday 11 November 2003 02:26 pm, Charles Howse wrote:
> Hi,
> FBSD 4.8-RELEASE-p13, KDE 3.1.
>
> When I click menu/system/KCron, I get an error:
> "The following error occurred when initializing KCron,
> No password entry for user '#'
> KCron will now exit."
>
> I've searched using Google and searched the list archives with no joy.
> There is, of course, no local documentation for KCron.
> Can someone point me to the place to find out how to fix this?

I found a bug report concerning this by searching the KDE list archives.
KCron reads /etc/passwd on startup, and cannot deal with comments (lines 
preceeded by '#'.)
Removing the comment lines resolved this issue.

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


cdbakeoven doesn't see atapi burner

2003-11-12 Thread Charles Howse
Hi,
I have an atapi cd burner that cdbakeoven doesn't see when starting.

(output from dmesg)
acd0: CD-RW  at ata0-slave UDMA33

I know I can use burncd, although I haven't tried it.
I want to get cdbakeoven working.
I assume I have to load ATAPI/CAM in the kernel, and let cdbakeoven see my 
burner as a SCSI device...?

I've searched the list archives, searched the kde website (I bet they would 
hire a technical documentation writer with no questions asked, since there is 
so little documentation for kde ;-) ) and Googled for cdbakeoven with no joy.

Could anyone point me to some documentation for cdbakeoven, or help me get 
started?
-- 


Thanks,
Charles

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


Re: cdbakeoven doesn't see atapi burner

2003-11-12 Thread Charles Howse
On Wednesday 12 November 2003 08:22 am, Bjarne Wichmann Petersen wrote:

> Try reading 'man atapicam'. It tells you what needs to be done.

Actually, I read the Handbook section on CD's, added device atapicam to my 
kernel config file, rebuilt the kernel.
Now my burner is detected in scanbus.
Still having lots of issues to sort out.

I have created a new data cd successfully by reading an iso image on another 
drive that I created in Windows with Easy CD Creator, but I can't mount that 
cd on FBSD or Windows.

camcontrol devlist shows my burner, but mount -t cd9660 /dev/cd0c /cdrom fails 
with cd9660: /dev/cd0c: Invalid argument
mount /cdrom also fails with cd9660: /dev/acd0c: Input/output error

I have just tried my old, original, 100% legal copy of Windows 95.
It mounts like a charm with either mount /cdrom or mount -t cd9660 /dev/cd0c /
cdrom.  The latter is much faster, though.

So I guess that means the cd's I'm making are somehow bad, or unuseable, or 
the .iso files I'm reading are incompatible with FBSD or cdbakeoven.

The cd's are Maxell CD-RW 650MB, which, of course, I erased with cdbakeoven 
before burning.

I'm copying my Windows 95 cd now, funny, my burner is 52x, but it's only 
burning at 4x, even though I've got the slider all the way to maximum.  I 
guess I can live with that.

OK, I successfully copied the Win95 cd, and can mount it.
That eliminates the cd's, and probably says the .iso images I created with 
Easy CD Creator are *no good* for FBSD or cdbakeoven.
I guess it *could* also be my settings in cdbakeoven, need to research that 
further.

I'm also unable to read/play any commercial audio cd's.  It's like they are 
blank.  This is a *big* issue for me.  I *have* to get this resolved.

>
> > Could anyone point me to some documentation for cdbakeoven, or help me
> > get started?

I did find *some* documentation.
In cdbakeoven, Help, About, click the link, browse the FAQ (very minimal) and 
documentation.

Hope this helps!

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


video guru needed - installing driver for ATI 3D Rage IIC AGP

2003-11-13 Thread Charles Howse
Hi,
I've done as much research as I can on this, I need to enable xv support for 
my video card, so that I can play videos full-screen in Kmplayer.
If I'm going about this wrong, let me know.

According to the XFree86 log,
It seems the place to go is http://gatos.sf.net
I've been there, and downloaded the ATI-4.3.0-10.i386.tar.gz drivers.
These seem to be the ati drivers for XF86 4.3.0.
I've expanded them inside Konqueror to see if there is a README, and there 
isn't.

Before I totally screw up my display, I was wondering
Has anyone successfully installed these drivers for the same card that I have? 
ATI 3D Rage IIC AGP (8 mb ram)
Do they work?
How must they be installed?
Is there any documentation online?
-- 


Thanks,
Charles

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


Re: video guru needed - installing driver for ATI 3D Rage IIC AGP

2003-11-13 Thread Charles Howse
On Thursday 13 November 2003 11:34 am, Olivier Cherrier wrote:
> >-Message d'origine-----
> >De : Charles Howse [mailto:[EMAIL PROTECTED]
> >Envoyé : jeudi 13 novembre 2003 17:26
> >À : Questions
> >Objet : video guru needed - installing driver for ATI 3D Rage IIC AGP
> >
> >
> >Hi,
> >I've done as much research as I can on this, I need to enable
> >xv support for
> >my video card, so that I can play videos full-screen in Kmplayer.
> >If I'm going about this wrong, let me know.
> >
> >According to the XFree86 log,
> >It seems the place to go is http://gatos.sf.net
> >I've been there, and downloaded the ATI-4.3.0-10.i386.tar.gz drivers.
> >These seem to be the ati drivers for XF86 4.3.0.
> >I've expanded them inside Konqueror to see if there is a
> >README, and there
> >isn't.
> >
> >Before I totally screw up my display, I was wondering
> >Has anyone successfully installed these drivers for the same
> >card that I have?
> >ATI 3D Rage IIC AGP (8 mb ram)
> >Do they work?
> >How must they be installed?
> >Is there any documentation online?
>
> Why not using ports ?

Fine...what is the port name?

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


bsd-jdk14-patches-4.tar.gz

2003-11-15 Thread Charles Howse
Hi,
While attempting to install Open Office, I got a stop error:

===>  jdk-1.4.1p4_1 :
 The source distribution exists on your system, but due to
 licensing restrictions you still need to download the
 patchset, bsd-jdk14-patches-4.tar.gz, from
 http://www.eyesbeyond.com/freebsddom/java/jdk14.html.
 Please place the patchset in /usr/ports/distfiles.
.*** Error code 1


When I go to get the patch at the referenced site, I get a 'malformed url' 
error, and can't download it.

I've Googled for the patch, can't find anything.
It this file available anywhere else?
I searched the list archives for the filename, and for Open Office, no joy.
Is there a workaround for this stop error?
-- 


Thanks,
Charles
[NOTE: Please send in text format only!
HTML content is filtered out!]

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


Re: bsd-jdk14-patches-4.tar.gz

2003-11-15 Thread Charles Howse
On Saturday 15 November 2003 04:30 pm, Charles Howse wrote:
> Hi,
> While attempting to install Open Office, I got a stop error:
>
> ===>  jdk-1.4.1p4_1 :
>  The source distribution exists on your system, but due to
>  licensing restrictions you still need to download the
>  patchset, bsd-jdk14-patches-4.tar.gz, from
>  http://www.eyesbeyond.com/freebsddom/java/jdk14.html.
>  Please place the patchset in /usr/ports/distfiles.
> .*** Error code 1
>
>
> When I go to get the patch at the referenced site, I get a 'malformed url'
> error, and can't download it.
>
> I've Googled for the patch, can't find anything.
> It this file available anywhere else?
> I searched the list archives for the filename, and for Open Office, no joy.
> Is there a workaround for this stop error?

I was able to get the patch using Mozilla instead of Konqueror web browser.
Strange?

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


Re: PCI modem on sio4

2003-11-18 Thread Charles Howse
On Tuesday 18 November 2003 02:42 pm, Joe Marcus Clarke wrote:
> On Tue, 2003-11-18 at 15:33, fbsd_user wrote:
> > FBSD 4.9 with GENERIC kernel found my PCI modem.
> > The PC's bio's has all com ports disabled.
> > The boot log shows this.
> >
> > sio0:  port
> > 0xe400-0xe407,0xe000-0xe0ff,0xdc00-0xdcff mem 0xe200-0xe2ff
> > irq 3 at device 19.0 on pci0
> > sio0: moving to sio4
> > sio4: type 16550A
> >
> > This is an zoom modem model 2920. It has onboard DSP and controller.
> >
> >
> > Question;
> > What do I tell user ppp the modem's device is?
>
> The device is /dev/cuaa4.
>
> > How can I send Hayes AT commands to modem?
>
> cu -l /dev/cuaa4

I have exectly the same issue here.
I have been trying to cu to my modem for a while now, with no success.

[EMAIL PROTECTED] ~]# cu -l /dev/cuaa4
cu: open (/dev/cuaa4): Permission denied
cu: /dev/cuaa4: Line in use

[EMAIL PROTECTED] ~]# ls -l /dev/cuaa*
crw-rw  1 uucp  dialer   28, 128 Nov 16 16:31 /dev/cuaa0
crw-rw  1 uucp  dialer   28, 129 Nov 16 16:31 /dev/cuaa1
crw-rw  1 uucp  dialer   28, 130 Nov 16 16:31 /dev/cuaa2
crw-rw  1 uucp  dialer   28, 131 Nov 16 16:31 /dev/cuaa3
crw-r-  1 root  wheel28, 132 Nov 16 06:18 /dev/cuaa4

Any suggestions as to how I can talk to my modem?

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


Re: PCI modem on sio4

2003-11-18 Thread Charles Howse
On Tuesday 18 November 2003 03:12 pm, Joe Marcus Clarke wrote:
> > I have exectly the same issue here.
> > I have been trying to cu to my modem for a while now, with no success.
> >
> > [root at moe ~]# cu -l /dev/cuaa4
> > cu: open (/dev/cuaa4): Permission denied
> > cu: /dev/cuaa4: Line in use
> >
> > [root at moe ~]# ls -l /dev/cuaa*
> > crw-rw  1 uucp  dialer   28, 128 Nov 16 16:31 /dev/cuaa0
> > crw-rw  1 uucp  dialer   28, 129 Nov 16 16:31 /dev/cuaa1
> > crw-rw  1 uucp  dialer   28, 130 Nov 16 16:31 /dev/cuaa2
> > crw-rw  1 uucp  dialer   28, 131 Nov 16 16:31 /dev/cuaa3
> > crw-r-  1 root  wheel28, 132 Nov 16 06:18 /dev/cuaa4
> >
> > Any suggestions as to how I can talk to my modem?
>
> Sorry, I accidentally deleted this mail.  Try doing:
>
> # chmod 660 /dev/cuaa4
> # chown uucp:dialer /dev/cuaa4
>
> Note that cu is a setuid uucp:dialer binary, so it will not be able to
> access the cuaa4 device with those permissions.

Perfect!  I can talk to my modem now!  Thanks!
One further question on this topic...
If I install HylaFax, or some other Fax application, are these permissions, 
owner, and group proper?

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


Streaming Audio & Video

2003-11-19 Thread Charles Howse
Hi,
I know this has been discussed to death because my research found lots and 
lots of posts on the subject.  Mostly about the whatever port someone was 
using was broken, or it wouldn't work at all.

The question is:  
What are most of you using for streaming audio and video?
I'm running 4.8-RELEASE-p13, KDE 3.1.4

I'd also like to get it integrated into Mozilla, as a helper app, I suppose, 
although I haven't gotten that far into it yet.

I see references to linux-realplayer, and (possibly old) references to the 
native FBSD port for realplayer.  When I search the ports tree, I don't see a 
FBSD port for realplayer, so I'm assuming those were old references I saw 
when I Googled.

Is there something better, easier, faster?
-- 
Thanks,
Charles

Random Murphy's Law:
The only new TV show worth watching will be cancelled.

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


Re: Selecting a Window Manager at X Startup

2003-11-20 Thread Charles Howse
On Thursday 20 November 2003 01:56 pm, Barry Skidmore wrote:
> I have both Gnome and KDE installed on my 4.9-RELEASE system, and would
> like to be able to choose between them at X startup.
>
> I found a port called 'wmanager' that sounds like it will do what I
> need.  However, there is no man page or other documentation available on
> the web, so I have not been able to configure the '.wmmanagerrc' file.
> I have also been unable to find the 'wmanagerrc-update' program which is
> supposed to do this for you.  The author's web page no longer exists.
>
> Has anyone else used either this program or something similar?

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

Several replacements for the default XDM program exist. One of them, KDM 
(bundled with KDE) is described later in this chapter. KDM offers many visual 
improvements and cosmetic frills, as well as the functionality to allow users 
to choose their window manager of choice at login time.

-- 
Thanks,
Charles
http://howse.homeunix.net

Random Murphy's Law:
Superiority is recessive.

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


Using multiple zip disks

2003-11-24 Thread Charles Howse
Hi,
I have an external USB Iomega Zip 250 drive that is working properly after I 
configured it using sysinstall.  I have added an entry to fstab that allows 
me to just enter "mount /zip" to mount it.

/dev/da0s1e /zipufs rw,noauto   0   0

The problem is that I have more than one zip disk that I would like to use.
I have some zip 100's and some zip 250's.

The only disk that has a ufs filesystem on it is the one that was in it when I 
configured it, a zip 100.

What is the proper way in 4.8 to prepare my other disks so that I can insert 
any of them, regardless of the size, and just enter "mount /zip"?

I'm thinking use sysinstall with one of the zip 250's in the drive, configure 
a new slice, and mount it at /zip2...?  Then I would "mount /zip2"

Then maybe I can just insert one of the zip 100's, and manually put a 
filesystem on it like I was installing a new HD...?

Am I close?  Is there a *real* easy way?

-- 
Thanks,
Charles
http://howse.homeunix.net

Random Murphy's Law:
The inside contact that you have developed at great
expense is the first person to be let go in any
reorganization.

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


Re: Using multiple zip disks - SOLVED

2003-11-25 Thread Charles Howse
On Monday 24 November 2003 06:42 pm, Charles Howse wrote:
> What is the proper way in 4.8 to prepare my other disks so that I can
> insert any of them, regardless of the size, and just enter "mount /zip"?

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

I changed the line in /etc/fstab from /dev/da0s1e to /dev/da0c.
I can now insert any zip disk, regardless of size, and just "mount /zip"!

-- 
Thanks,
Charles
http://howse.homeunix.net

Random Murphy's Law:
Success can be insured only by devising a defense against
failure of the contingency plan.

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


Please - KWord Templates

2003-11-26 Thread Charles Howse
Hi,

I hope someone can help with this, I'm getting frustrated.

Can anyone point me to where I can download the "CardsAndLabels" templates 
for KWord 1.2.1, or tell me how to create a business card from a template in 
KOffice?

I'll even accept an attachment from anyone who has the tarball.  :-)

I've been to the kde add-ons site, and downloaded the "Additional" templates, 
but that's not what I'm looking for.

I'm aware of glabels, not interested at this time.

I've Googled for the last 2 hours, no joy.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
One place where you're sure to find the perfect
driver is in the back seat.


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


Re: crontab

2003-11-26 Thread Charles Howse
On Wednesday 26 November 2003 10:41 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I have a number of scripts that run every night using a crontab.  In my
> crontab file I'm using the MAILTO flag to get cron to email me every
> time it runs which results in a lot of emails.
>
> Is there any way of instructing cron to only email me if the cron job
> fails?

By default, cron will email you whatever would be shown on the terminal when 
the script runs.
The way I get around this is to redirect the stdout of the script to /dev/
null.
Like this:
0 0 * * * /root/bin/myscript.sh > /dev/null

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
All general statements are false.  (Think about it.)

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


connection to remote printer is down

2003-11-26 Thread Charles Howse
HI,
I haven't had much luck getting questions answered lately, maybe my luck will 
change on Thanksgiving.

I have an HP1100 printer that I set up on machine "moe" with apsfilter, and is 
working perfectly.  I have a hard copy of the Handbook that I went by, and I 
have Googled with no joy.

I'm trying to setup machine "larry" to print text only to the printer on 
"moe", but I'm not getting anywhere.  Jobs get into the local spool, but time 
out waiting on the remote machine to "come up".  I can ping the remote 
machine with no difficulty.

I have the following in /etc/hosts.lpd:

[EMAIL PROTECTED] ~]$ cat /etc/hosts.lpd
# $FreeBSD: src/etc/hosts.lpd,v 1.4 1999/08/27 23:23:42 peter Exp $
#
# See lpd(8)
#machine.domain
larry.howse.homeunix.net

Here's moe's /etc/printcap:

# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
hp1100|ljet4;r=600x600;q=medium;c=full;p=letter;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/hp1100:\
:lf=/var/spool/lpd/hp1100/log:\
:af=/var/spool/lpd/hp1100/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this

Here's larry's /etc/printcap:

lp|hp1100:\
:lp=:rm=moe:rp=hp1100:sd=/var/spool/output/moe:lf=/var/log/lpd-errs:

Here's a sample print session on larry:

[EMAIL PROTECTED] ~]# lpr /etc/rc.conf
[EMAIL PROTECTED] ~]# lpq
larry.howse.homeunix.net: waiting for moe to come up
Rank   Owner  Job  Files Total Size
1stroot   9/etc/rc.conf  926 bytes

connection to moe is down


-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
For every action, there is an equal and opposite
criticism.

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


possible solution to cdbakeoven failing to detect ATAPI burners

2003-11-27 Thread Charles Howse
Hi,
There has been signifigant discussion here in the past about cdbakeoven not 
detecting ATAPI burners when run as an ordinary user.

I had this issue, and may have a solution.

Be sure your kernel is compiled with device atapicam.

As root do:
# chmod u+s /usr/local/bin/cdrecord
Which will allow cdrecord to run as suid root.

Then start cdbakeoven, enter the Settings dialog, click the CDROM Devices 
icon, click the scanbus tab, click the rescan button.

Doing that detected my atapi burner as a scsi device!

Next, I clicked the Customize Defaults icon, and ticked 'do scanbus 
automatically'.

Then I closed cdbakeoven, restarted it, and my atapi burner was detected!

I hope this works for you! 
-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
An original idea can never emerge from committee
in its original form.

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


Re: possible solution to cdbakeoven failing to detect ATAPI burners

2003-11-27 Thread Charles Howse
On Thursday 27 November 2003 11:16 am, Lowell Gilbert wrote:
> Charles Howse <[EMAIL PROTECTED]> writes:
> > There has been signifigant discussion here in the past about cdbakeoven
> > not detecting ATAPI burners when run as an ordinary user.
> >
> > I had this issue, and may have a solution.
> >
> > Be sure your kernel is compiled with device atapicam.
> >
> > As root do:
> > # chmod u+s /usr/local/bin/cdrecord
> > Which will allow cdrecord to run as suid root.
>
> In other words, it's still not being run as an ordinary user...

cdbakeoven *is* being run as an ordinary user, which was the original issue, 
but to detect an atapi burner, it has to do 'cdrecord -scanbus', which will 
fail if not run as root.  Make sense?


-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
If there was any justice in this world, people would
occasionally be permitted to fly over pigeons.

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


Re: X startup

2003-11-27 Thread Charles Howse
On Thursday 27 November 2003 12:05 pm, Ed Stewart wrote:
> Hi, I have just finished installing FreeBSD 4.7, everything is working
> fine even X. When I use startx as root Gnome and enlightment loads,but
> when I load on with my username and startx it loads Xterm. My question
> is how do I get Gnome to load instead of xterm? I am new to freebsd and
> am not sure where to look. I tried to find an answer on google,but no
> luck. Thanks for any replies, Ed

Look at /root/.xsession, then look at /home/your_username/.xsession.
You'll probably want to copy something from root's to yours.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
In case of doubt, make it sound convincing.

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


Re: X startup

2003-11-27 Thread Charles Howse
On Thursday 27 November 2003 12:05 pm, Ed Stewart wrote:
> Hi, I have just finished installing FreeBSD 4.7, everything is working
> fine even X. When I use startx as root Gnome and enlightment loads,but
> when I load on with my username and startx it loads Xterm. My question
> is how do I get Gnome to load instead of xterm? I am new to freebsd and
> am not sure where to look. I tried to find an answer on google,but no
> luck. Thanks for any replies, Ed

Someone correct me if I'm wrong...
From what I understand .xsession is only read when logging in with xdm, the 
graphical login manager, so .xinitrc is the correct file to edit, as others 
have mentioned.
Sorry for any confusion. 

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
A conclusion is the place where you got tired of thinking.

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


Re: possible solution to cdbakeoven failing to detect ATAPI burners

2003-11-27 Thread Charles Howse
On Thursday 27 November 2003 05:12 pm, Lowell Gilbert wrote:
> Charles Howse <[EMAIL PROTECTED]> writes:
> > On Thursday 27 November 2003 11:16 am, Lowell Gilbert wrote:
> > > Charles Howse <[EMAIL PROTECTED]> writes:
> > > > There has been signifigant discussion here in the past about
> > > > cdbakeoven not detecting ATAPI burners when run as an ordinary user.
> > > >
> > > > I had this issue, and may have a solution.
> > > >
> > > > Be sure your kernel is compiled with device atapicam.
> > > >
> > > > As root do:
> > > > # chmod u+s /usr/local/bin/cdrecord
> > > > Which will allow cdrecord to run as suid root.
> > >
> > > In other words, it's still not being run as an ordinary user...
> >
> > cdbakeoven *is* being run as an ordinary user, which was the original
> > issue, but to detect an atapi burner, it has to do 'cdrecord -scanbus',
> > which will fail if not run as root.  Make sense?
>
> I understood perfectly, but I don't think you've thought through all
> the implications.  The process executing cdrecord is *not* being run
> as a normal user.  The process is actually running as uid zero, which
> is to say that it's running as *root*.  This is considerably less
> secure than running as the user's own uid.  Thus, for systems where
> you're worried about the security with regard to local users, you are
> *vastly* worse off by making the executable suid-root.

I agree with you 100%.  Though I didn't say it explicitly, my comments were 
directed not to administrators where there is concern for local user 
security, but to plain ordinary desktop users who just want to burn some 
CD's.

For example, I have a home lan, I am root on all 3 machines, no one else in 
the house uses these machines.  I am behind a hardware firewall with no ports 
forwarded to this machine (the one with the burner).

I feel completely secure running cdrecord suid root.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Don't make your doctor your heir.

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


Re: possible solution to cdbakeoven failing to detect ATAPI burners

2003-11-27 Thread Charles Howse
On Thursday 27 November 2003 05:47 pm, Lowell Gilbert wrote:
> Charles Howse <[EMAIL PROTECTED]> writes:
> > I agree with you 100%.  Though I didn't say it explicitly, my comments
> > were directed not to administrators where there is concern for local user
> > security, but to plain ordinary desktop users who just want to burn some
> > CD's.
>
> In my opinion, it is quite important to be explicit about security
> tradeoffs when posting to a public mailing list that is frequently
> searched by novice sysadmins.

I will take that as good advice.  :-)

No disrespect, but seriously, can you give me a scenario where something bad 
could happen on *my* computer because I'm running cdrecord suid-root?

I would also be very interested to hear a scenario where something bad could 
happen on an insecure system if they are running cdrecord suid-root.

If I have more information on the implications of suid-root, I may be more 
careful in the future.

Actually, I got my idea from man cdrecord, where it says:

  If you don't want to  allow  users  to  become  root  on  your  system,
   cdrecord  may safely be installed suid root. This allows all users or a
   group of users with no root privileges to use  cdrecord.   Cdrecord  in
   this  case  checks,  if  the real user would have been able to read the
   specified files.  To give all user access to use cdrecord, enter:

chown root /usr/local/bin/cdrecord
chmod 4711 /usr/local/bin/cdrecord

   To give a restricted group of users access to cdrecord enter:

chown root /usr/local/bin/cdrecord
chgrp cdburners /usr/local/bin/cdrecord
chmod 4710 /usr/local/bin/cdrecord

   and add a group cdburners on your system.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
If it's good they will stop making it.

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


Re: possible solution to cdbakeoven failing to detect ATAPI burners

2003-11-28 Thread Charles Howse
On Friday 28 November 2003 10:47 am, Lowell Gilbert wrote:
> Charles Howse <[EMAIL PROTECTED]> writes:
> > No disrespect, but seriously, can you give me a scenario where something
> > bad could happen on *my* computer because I'm running cdrecord suid-root?
> >
> > I would also be very interested to hear a scenario where something bad
> > could happen on an insecure system if they are running cdrecord
> > suid-root.
>
> This is a very important question indeed.  The answer is kind of
> complicated, because of course, if any such detailed scenario existed,
> that would constitute a bug in cdrecord, and the immediate solution
> would be to fix it.  The problem comes from the reverse problem:
> assuring yourself that no such bug exists.
>
> Because a negative proof is impossible, you want to reduce your
> possible exposure to these problems where possible.  This is why the
> Cheswick, Bellovin, and Rubin book (http://www.wilyhacker.com/)
> includes the principle of least privilege ("Don't give a person or
> program any more privileges than those he needs to do his job.") as
> one of the "security truisms" right up front.
>
> I should also note that the risk scenarios for your system involve not
> just a problem with cdrecord, but also a way for a hostile user (or
> program) to execute it, which would involve your system being at least
> slightly penetrated to begin with.  On a less secure system, the
> hostile might actually have an account, and just being able to
> interfere with some else's use of the CD drive would be a security
> problem in its own right.
>
> > If I have more information on the implications of suid-root, I may be
> > more careful in the future.
>
> In most cases, suid-root is used to make something more convenient
> (ignoring the small number of actually essential cases in the base
> system).  Security is always a tradeoff with convenience, and only the
> clinically paranoid choose security in every case.
>
> My logic for choosing security in this case is that cdrecord can be
> exactly as convenient to use without root privileges; it's not a
> blanket opposition to suid-root binaries.
>
> > Actually, I got my idea from man cdrecord, where it says:
> >
> >   If you don't want to  allow  users  to  become  root  on  your  system,
> >cdrecord  may safely be installed suid root. This allows all users
> > or a group of users with no root privileges to use  cdrecord.   Cdrecord 
> > in this  case  checks,  if  the real user would have been able to read
> > the specified files.  To give all user access to use cdrecord, enter:
> >
> > chown root /usr/local/bin/cdrecord
> > chmod 4711 /usr/local/bin/cdrecord
> >
> >To give a restricted group of users access to cdrecord enter:
> >
> > chown root /usr/local/bin/cdrecord
> > chgrp cdburners /usr/local/bin/cdrecord
> > chmod 4710 /usr/local/bin/cdrecord
> >
> >and add a group cdburners on your system.
>
> Yes; in fact, cdrecord has been audited, albeit not nearly as
> carefully as critical system programs, so there is a bit more reason
> to trust it than the run-of-the-mill program.
>
> Also note the difference between the two approaches described there.
> In the second, only limited users have permissions to run the program;
> this means that a vulnerability in your web server wouldn't give
> access to cdrecord to anybody on the Internet (assuming, of course,
> that your web server doesn't run as root).
>
> Aside from the book I mentioned before, I recommend the man page for
> security(7) as a pretty good introduction to the concepts of handling
> privilege.  Both references are quite good at avoiding overweaning
> paranoia, which is a very common problem with security advice.

This is excellent foor for thought!  I'm going to audit my security policy for 
the lan here at home, and will make a note to remind myself to be sure to 
explain that not everything I do here at home is suitable for the corporate 
SA.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
If you can get the faulty part off, the parts house
will have it back-ordered.

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


Re: connection to remote printer is down

2003-11-29 Thread Charles Howse
On Saturday 29 November 2003 01:03 pm, Garance A Drosihn wrote:
> At 12:26 AM -0600 11/27/03, Charles Howse wrote:
> >I have an HP1100 printer that I set up on machine "moe" with
> >apsfilter, and is  working perfectly.
> >
> >I'm trying to setup machine "larry" to print text only to the
> >printer on  "moe", but I'm not getting anywhere.  Jobs get
> >into the local spool, but time out waiting on the remote
> >machine to "come up".  I can ping the remote  machine with
> >no difficulty.
> >
> >I have the following in /etc/hosts.lpd:
> >
> >[EMAIL PROTECTED] ~]$ cat /etc/hosts.lpd
> ># $FreeBSD: src/etc/hosts.lpd,v 1.4 1999/08/27 23:23:42 peter Exp $
> >#
> ># See lpd(8)
> >#machine.domain
> >larry.howse.homeunix.net
> >
> >
> >Here's larry's /etc/printcap:
> >
> >lp|hp1100:\
> >
> > :lp=:rm=moe:rp=hp1100:sd=/var/spool/output/moe:lf=/var/log/lpd-er
> > :rs:
>
> In your /etc/hosts.lpd file, you specify a fully-qualified
> name for 'larry'.  But in your printcap file, you specified
> only 'moe', and not something like 'moe.howse.homeunix.net'.
>
> That seems a bit inconsistent to me, but I assume it is not
> too important.
>
> To me, it looks like lpd is not accepting remote connections
> on moe.  That would happen if lpd is not being started during
> system startup, or if you have started it up with the '-s'
> ("secure") flag.  What do you see if you type the following
> command on moe:

The -s flag was the problem.  Thanks!

May I ask another printer-related question?

Using KDE, is there a way to change the quality or resolution of a print job 
on the fly?  For example, when I open KEdit to print a file, I don't have an 
option to print in a different resolution or to lower the quality setting.

I'm having to edit /usr/local/etc/apsfilter/hp1100/apsfilterrc and change 
things to suit me before each print job at a different setting.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
A day without sunshine 
is like ... night!

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


swap space on multiple drives

2003-11-29 Thread Charles Howse
Hi,
After reading the following section of the Handbook, I'm still a little 
confused.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
configtuning-initial.html#SWAP-DESIGN

If I have 128MB ram, and 2 drives on seperate controllers, would I create swap 
partitions of 256MB on each drive?

What if I have 1GB ram?  It won't be swapping much anyway.  Surely 2 swap 
partitions of 2GB each won't hurt, but is that overkill?


-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
He who dies with the most toys wins.

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


Re: connection to remote printer is down

2003-11-29 Thread Charles Howse
On Saturday 29 November 2003 02:35 pm, Garance A Drosihn wrote:
> At 1:26 PM -0600 11/29/03, Charles Howse wrote:
> >On Saturday 29 November 2003 01:03 pm, Garance A Drosihn wrote:
> >>  To me, it looks like lpd is not accepting remote connections
> >>  on moe.  That would happen if lpd is not being started during
> >>  system startup, or if you have started it up with the '-s'
> >>  ("secure") flag.  What do you see if you type the following
> >>  command on moe:
> >
> >The -s flag was the problem.  Thanks!
>
> FEATURE.  It's a FEATURE...:-)
>
> >May I ask another printer-related question?
> >
> >Using KDE, is there a way to change the quality or resolution
> >of a print job on the fly?  For example, when I open KEdit
> >to print a file, I don't have an option to print in a
> >different resolution or to lower the quality setting.
> >
> >I'm having to edit /usr/local/etc/apsfilter/hp1100/apsfilterrc
> >and change things to suit me before each print job at a
> >different setting.
>
> I don't use KDE or apsfilter, so someone else will have to
> answer this.  If I understand what you're looking for, you
> might be able to get the effect you want by defining multiple
> print queues, with different options for each queue.

That was the only thing that I could think of, too.
We'll see if anyone else has any ideas.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
The only new TV show worth watching will be cancelled.

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


rmsg problem

2003-12-02 Thread Charles Howse
Hi,
I've installed /usr/ports/net/rmsg and started the rmsgd on two of my 
computers.
I've also set mesg y for each one.

When I do:
echo "here is a message" | rmsg [EMAIL PROTECTED]
it goes through fine

when I go the other way:
echo "right back at ya" | rmsg [EMAIL PROTECTED]
I get:
rmsg: charles refusing messages

Anyone got any ideas about what's wrong here?
I've verified the daemon is running on moe, and that mesg is set to y.
Both root and charles are logged on at their respective computers.
root is running cli only, while charles is using KDE.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Cleanliness is next to impossible.

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


Re: Xdm/Kdm/Gmd

2003-12-04 Thread Charles Howse
On Thursday 04 December 2003 01:07 pm, Payne wrote:
> Hi,
>
> Thanks for the help early, I am wanting to have either xdm/kdm/gdm to
> start once my system it up, how can I do this? Also which is best?

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

This will detail the process for you.
As to which is best, that's only valid if you are running Gnome AND KDE.
I'm not familiar with gdm, but kdm is bundled w/ KDE, and xdm is bundled w/ 
XFree86.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
An easily-understood, workable falsehood is more useful
than a complex, incompreshensible truth.

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


Re: Xdm/Kdm/Gmd

2003-12-04 Thread Charles Howse
On Thursday 04 December 2003 02:39 pm, Payne wrote:
> Charles Howse wrote:
> >On Thursday 04 December 2003 01:07 pm, Payne wrote:
> >>Hi,
> >>
> >>Thanks for the help early, I am wanting to have either xdm/kdm/gdm to
> >>start once my system it up, how can I do this? Also which is best?
> >
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html
> >
> >This will detail the process for you.
> >As to which is best, that's only valid if you are running Gnome AND KDE.
> >I'm not familiar with gdm, but kdm is bundled w/ KDE, and xdm is bundled
> > w/ XFree86.
>
> Thanks, I have printed out the mannual so I will take a look at. GMD  =
> Gnome, I am old linux guy and I like kdm, I was hoping there was a wdm
> port, it suppose to be the best. Oh well.

[EMAIL PROTECTED] /usr/ports]$ make search key=wdm
[snip]
Port:   wdm-1.25_1
Path:   /usr/ports/x11/wdm
Info:   WINGs Display Manager; an xdm replacement
Maint:  [EMAIL PROTECTED]
Index:  x11 windowmaker
B-deps: Hermes-1.3.3 XFree86-libraries-4.3.0_6 expat-1.95.6_1 
fontconfig-2.2.90_3 freetype2-2.1.5_1 gettext-0.12.1 imake-4.3.0_1 jpeg-6b_1 
libiconv-1.9.1_3 libungif-4.1.0b1_1 pkgconfig-0.15.0 png-1.2.5_2 tiff-3.6.0 
windowmaker-0.80.2_1 wmicons-1.0
R-deps: Hermes-1.3.3 XFree86-libraries-4.3.0_6 expat-1.95.6_1 
fontconfig-2.2.90_3 freetype2-2.1.5_1 gettext-0.12.1 imake-4.3.0_1 jpeg-6b_1 
libiconv-1.9.1_3 libungif-4.1.0b1_1 pkgconfig-0.15.0 png-1.2.5_2 tiff-3.6.0 
windowmaker-0.80.2_1 wmicons-1.0

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
If you buy bananas or avocados before they are ripe,
there won't be any left by the time they are ripe.  If
you buy them ripe, they rot before they are eaten.

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


5.1 and ACPI

2003-12-05 Thread Charles Howse
Hi,
I have just loaded 5.1 on an old Celeron 300, and need to learn something 
about ACPI.

I Googled, and found a considerable amount of info concerning this issue, but 
the only thing I understood, was how to force the default boot choice to not 
load the acpi module.

I went to:
http://www.usenix.org/events/usenix02/tech/freenix/full_papers/watanabe/
watanabe_html/index.html
and read what little I could understand. (not much)

When I boot the computer, right after the bios loads the table that shows the 
hardware, PCI devices, memory locations, etc., I see:

PS/2 Mouse Present
ACPI Function Enabled
Searching for boot record on CD
etc.
So, I am assuming that this machine *is* capable of ACPI.

When I choose the default boot option from the menu, I get a TON of messages 
concerning ACPI.  
Assuming these msgs are errors, I have added hint.acpi.0.disabled="1" to /
boot/device.hints, and now I can boot the default choice without these msgs.

I do understand that 5.1 is a development release, but have I mis-interpreted 
somethingdoes this machine do ACPI, but FBSD doesn't like the way it does 
it, or what?


> Dec  4 07:39:52 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:52 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:52 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:52 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Er

Re: How to make printer print faster?

2003-12-09 Thread Charles Howse
On Tuesday 09 December 2003 12:19 pm, Peter Ulrich Kruppa wrote:
> On Tue, 9 Dec 2003, Marco Beishuizen wrote:
> > Hello,
> >
> > I own a HP LaserJet 2100, connected to my home network. According to the
> > specifications it should be able to print 10 pages per minute. When using
> > Windows that's not a problem. But using FreeBSD (with lpd configured with
> > help of Apsfilter from the ports) it prints very slowly, I guess about 2
> > pages per minute.
> >
> > Is it possible to make printing go faster?
>
> Start apsfilter's setup and play around with resolutions and
> qualities.
> If you need different quality standards, you could give them
> different names like hplaser_lo and hplaser_hi .
>
> Regards,
>
> Uli.

Uli,
With all due respect, do you know for a fact that your suggestion works?
I have a HP1100, configured with apsfilter, and I have tried that very same 
thing, and it only prints at 600 dpi.

Does anyone know the correct driver for the HP1100 LaserJet?
I've been using ljet4.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
There is no such thing as a straight line.

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


Re: How to make printer print faster?

2003-12-09 Thread Charles Howse
On Tuesday 09 December 2003 01:04 pm, Scott I. Remick wrote:
> On Tue, 9 Dec 2003 12:29:15 -0600, Charles Howse wrote:
> > With all due respect, do you know for a fact that your suggestion works?
> > I have a HP1100, configured with apsfilter, and I have tried that very
> > same thing, and it only prints at 600 dpi.
> >
> > Does anyone know the correct driver for the HP1100 LaserJet?
> > I've been using ljet4.
>
> I have a Laserjet 1012 and I can only get 600dpi. I use the hpijs driver w/
> CUPS.

Frustrating, isn't it?
The hpijs driver was suggested to me, I guess it's useless to try it.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Definition of an elephant:
A mouse built to goverment specifications.

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


Re: How to make printer print faster?

2003-12-09 Thread Charles Howse
On Tuesday 09 December 2003 01:18 pm, Peter Ulrich Kruppa wrote:
> On Tue, 9 Dec 2003, Charles Howse wrote:
> > On Tuesday 09 December 2003 12:19 pm, Peter Ulrich Kruppa wrote:
> > > On Tue, 9 Dec 2003, Marco Beishuizen wrote:
> > > > Hello,
> > > >
> > > > I own a HP LaserJet 2100, connected to my home network. According to
> > > > the specifications it should be able to print 10 pages per minute.
> > > > When using Windows that's not a problem. But using FreeBSD (with lpd
> > > > configured with help of Apsfilter from the ports) it prints very
> > > > slowly, I guess about 2 pages per minute.
> > > >
> > > > Is it possible to make printing go faster?
> > >
> > > Start apsfilter's setup and play around with resolutions and
> > > qualities.
> > > If you need different quality standards, you could give them
> > > different names like hplaser_lo and hplaser_hi .
> > >
> > > Regards,
> > >
> > > Uli.
> >
> > Uli,
> > With all due respect, do you know for a fact that your suggestion works?
> > I have a HP1100, configured with apsfilter, and I have tried that very
> > same thing, and it only prints at 600 dpi.
>
> Sorry, this is bad. This works - as described - with my
> hp-deskjet at home and one kyocera-laser at work. So I guessed
> one could do it with your printer, too.
>
> Uli

No problem.  The bad thing is that there is a HP1100 DeskJet AND a HP1100 
LaserJet.  People seem to get the drivers confused.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Any given program will expand to fill all available memory.

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


Anyone have /usr/ports/java/jdk14 working on 4.8?

2003-12-09 Thread Charles Howse
Please tell me how you did it.
My build always fails.
I have /usr/local/linux-sun-jdk1.4.2 working.

[EMAIL PROTECTED] /usr/local/linux-sun-jdk1.4.2/bin]# ./java -version
java version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Envelopes and stamps which don't stick when you lick
them will stick to other things when you don't want
them to.

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


Re: Anyone have /usr/ports/java/jdk14 working on 4.8?

2003-12-10 Thread Charles Howse
On Wednesday 10 December 2003 07:16 am, Eric Pogroski wrote:
> On Tue, 09 Dec 2003 15:44:54 -0600
>
> Charles Howse <[EMAIL PROTECTED]> wrote:
> > Please tell me how you did it.
> > My build always fails.
> > I have /usr/local/linux-sun-jdk1.4.2 working.
> >
> > [EMAIL PROTECTED] /usr/local/linux-sun-jdk1.4.2/bin]# ./java -version
> > java version "1.4.2_02"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
> > Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
> >
> > --
> > Thanks,
> > Charles
> > http://howse.homeunix.net:8080
> >
> > Random Murphy's Law:
> > Envelopes and stamps which don't stick when you lick
> > them will stick to other things when you don't want
> > them to.
>
> Hi Charles:
>
>   Yes, here's what I had to do:
> 1. cd /usr/ports/java/linux-sun-jdk14 && make install <-- Don't clean yet
> 2. cd /usr/ports/java/jdk14 && make  install < installs, and works
> 3. cd /usr/ports/java/linux-sun-jdk14 && make clean
>
> it'll take a couple of hours on an athlon 2100+ running 4.8 release patch
> level 14

Eric, thanks for the reply.
I'll try that right away.
You don't by any chance have OpenOffice-1.1 working do you?
That's where I'm going with this, but I have to get jdk working first.
attempting to install jdk takes 6+ hrs on my machine.  :-)

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
You can't guard against the arbitrary.

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


Re: Anyone have /usr/ports/java/jdk14 working on 4.8?

2003-12-10 Thread Charles Howse
On Wednesday 10 December 2003 07:53 am, Steve Bertrand wrote:
> On Wed, 2003-12-10 at 08:47, Gautam Gopalakrishnan wrote:
> > On Wed, Dec 10, 2003 at 07:25:46AM -0600, Charles Howse wrote:
> > > You don't by any chance have OpenOffice-1.1 working do you?
> > > That's where I'm going with this, but I have to get jdk working first.
> > > attempting to install jdk takes 6+ hrs on my machine.  :-)
> >
> > I just got both working less than a week back. I first fetched the
> > packages for jdk14 so that all is ready for compilation. Just make sure
> > you have plenty of swap too (I needed atleast 128M). If that's your
> > problem, you could add some space in a swap file for now and then delete
> > it later (see the handbook). The error message is mostly visible in ttyv0
> > (apart from the errors on the screen)
> >
> > # cd /usr/ports/java/jdk14
> > # make fetch-recursive
> > # make install clean
> > # (go to sleep...)
>
> Me too. Worked ok on fresh 4.9 install.
>
> > openoffice-1.1 takes about 15 hrs on my celeron 1.7Ghz with 256 MB ram.
>
> About 20 hrs on IBM Thinkpad 700 celeron.
>
> Steve
>
> > Hope that was of some use...
> > Gautam

That's much help, thanks!
OK, next question...
Assuming I get OO installed, what versions of MS Office files will it open?
I have need to open MS Office *XP* files. (cross fingers)

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
A little ambiguity never hurt anyone.

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


null device in linux jail root

2003-12-14 Thread Charles Howse
Hi,

I installed Linux compatibility when I installed FBSD 4.8, but I've never 
really done anything with it.

While portupgrading , I was presented with a prompt that I don't know how to 
respond to:

You need to create the null device in your jail root environment.
Run the following commands outside the jail root environment,
and then press enter:
mkdir -m 0755 -p /dev
rm -f //compat/linux/dev/null
mknod //compat/linux/dev/null c 2 2
chmod 666 //compat/linux/dev/null

I found that this prompt comes from the makefile in the linux-base port, which 
I don't have access to at the moment, so I can't quote it exactly.

Clueless, I just pressed enter at the prompt, thinking I could always go back 
and do it later, or deinstall the port and reinstall it when I learn what to 
do.  

I know what a jail is, but how do I know what my  is?
Also, why the double slashes in the last 3 lines?  What do they mean?

What is the proper way to deal with this prompt?

-- 
Thanks,
Charles

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


REPOST: null device in linux jail root

2003-12-16 Thread Charles Howse
Surely, *someone* who reads this list has upgraded the linux_base port, and 
figured out the proper way to respond to this prompt.

___

Hi,

I installed Linux compatibility when I installed FBSD 4.8, but I've never 
really done anything with it.

While portupgrading , I was presented with a prompt that I don't know how to 
respond to:

You need to create the null device in your jail root environment.
Run the following commands outside the jail root environment,
and then press enter:
mkdir -m 0755 -p /dev
rm -f //compat/linux/dev/null
mknod //compat/linux/dev/null c 2 2
chmod 666 //compat/linux/dev/null

I found that this prompt comes from the makefile in the linux-base port, which 
I don't have access to at the moment, so I can't quote it exactly.

Clueless, I just pressed enter at the prompt, thinking I could always go back 
and do it later, or deinstall the port and reinstall it when I learn what to 
do.  

I know what a jail is, but how do I know what my  is?
Also, why the double slashes in the last 3 lines?  What do they mean?

What is the proper way to deal with this prompt?

-- 
Thanks,
Charles

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


mkisofs options question

2003-12-24 Thread Charles Howse
Hi,
I have some directories that I need to include in a .iso file.
I've followed the online Handbook section 12.5.2, and read man mkisofs.

The directories each have the file CUSTOM in them.
That causes mkisofs to error:

[EMAIL PROTECTED] ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly /disk2/larry
Warning: creating filesystem that does not conform to ISO-9660.
Using CUSTOM000 for  /CUSTOM (CUSTOM)
mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the same 
Rock Ridge name 'CUSTOM'.
mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the same 
Rock Ridge name 'CUSTOM'.
mkisofs: Unable to sort directory

What are the proper options for mkisofs so that I can have identical filenames 
in different directories?

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Real programmers drink too much coffee so that they will
always seem tense and overworked.

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


Re: mkisofs options question

2003-12-24 Thread Charles Howse
On Wednesday 24 December 2003 10:13 am, Lowell Gilbert wrote:
> Charles Howse <[EMAIL PROTECTED]> writes:
> > I have some directories that I need to include in a .iso file.
> > I've followed the online Handbook section 12.5.2, and read man mkisofs.
> >
> > The directories each have the file CUSTOM in them.
> > That causes mkisofs to error:
> >
> > [EMAIL PROTECTED] ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly /disk2/larry
> > Warning: creating filesystem that does not conform to ISO-9660.
> > Using CUSTOM000 for  /CUSTOM (CUSTOM)
> > mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the
> > same Rock Ridge name 'CUSTOM'.
> > mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the
> > same Rock Ridge name 'CUSTOM'.
> > mkisofs: Unable to sort directory
> >
> > What are the proper options for mkisofs so that I can have identical
> > filenames in different directories?
>
> I tried to reproduce this situation, and couldn't.
> Could you produce a test case?

Dan, I may have to mkdir /disk2/cdrom and move whatever I want to burn into 
it.

Lowell, not exactly sure what you mean by test case, but here goes:

[EMAIL PROTECTED] ~]# ll /disk2/curly
total 3700
drwxrwxr-x  2 root  wheel  - 512 Dec 24 02:09 ./
drwxrwxr-x  8 root  wheel  - 512 Dec 24 05:57 ../
-rw-r--r--  1 root  wheel  -9839 Dec 24 02:09 CUSTOM
-rw-r--r--  1 root  wheel  -  233112 Dec 24 02:09 curly_etc_files.tgz
-rw-r--r--  1 root  wheel  -   16901 Dec 24 02:09 curly_root_files.tgz
-rw-r--r--  1 root  wheel  -  501774 Dec 24 02:09 
curly_usr_local_etc_files.tgz
-rw-r--r--  1 root  wheel  - 2944901 Dec 24 02:09 
curly_usr_local_www_files.tgz
-rw-r--r--  1 root  wheel  -2860 Dec 24 02:09 portversion.txt
[EMAIL PROTECTED] ~]# ll /disk2/larry
total 288
drwxrwxr-x  2 root  wheel  -512 Dec 24 02:09 ./
drwxrwxr-x  8 root  wheel  -512 Dec 24 05:57 ../
-rw-r--r--  1 root  wheel  -   9595 Dec 24 02:09 CUSTOM
-rw-r--r--  1 root  wheel  -   2004 Dec 24 02:09 larry_charles-12-23-03.tgz
-rw-r--r--  1 root  wheel  - 231715 Dec 24 02:09 larry_etc-12-23-03.tgz
-rw-r--r--  1 root  wheel  -   8135 Dec 24 02:09 larry_root-12-23-03.tgz
-rw-r--r--  1 root  wheel  -   7077 Dec 24 02:09 
larry_usr_local_etc-12-23-03.tgz
[EMAIL PROTECTED] ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly /disk2/larry
Warning: creating filesystem that does not conform to ISO-9660.
Using CUSTOM000 for  /CUSTOM (CUSTOM)
mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the same 
Rock Ridge name 'CUSTOM'.
mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the same 
Rock Ridge name 'CUSTOM'.
mkisofs: Unable to sort directory


-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Usefulness is inversely proportional to its reputation
for being useful.

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


Re: mkisofs options question

2003-12-24 Thread Charles Howse
On Wednesday 24 December 2003 10:10 am, Dan Nelson wrote:
> In the last episode (Dec 24), Charles Howse said:
> > I have some directories that I need to include in a .iso file. I've
> > followed the online Handbook section 12.5.2, and read man mkisofs.
> >
> > The directories each have the file CUSTOM in them.
> > That causes mkisofs to error:
> >
> > [EMAIL PROTECTED] ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly /disk2/larry
> > Warning: creating filesystem that does not conform to ISO-9660.
> > Using CUSTOM000 for  /CUSTOM (CUSTOM)
> > mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the
> > same Rock Ridge name 'CUSTOM'. mkisofs: Error: '/disk2/larry/CUSTOM' and
> > '/disk2/curly/CUSTOM' have the same Rock Ridge name 'CUSTOM'. mkisofs:
> > Unable to sort directory
> >
> > What are the proper options for mkisofs so that I can have identical
> > filenames in different directories?
>
> They are in the same directory.  Remember that when you pass mkisofs a
> list of directories, their contents are combined to create the CD.  you
> can't have duplicates, though. /disk2/larry/CUSTOM and
> /disk2/curly/CUSTOM both map to "/CUSTOM" on the cdrom. If you really
> wanted the cdrom to contain two subdirectories named "/larry" and
> "/curly", try passing just "/disk2" to mkisofs, or if there are other
> directories in disk2, create a /disk2/cdrom, move larry and curly into
> there, and run "mkisofs /disk2/cdrom".

OK, I restructured /disk2 as you suggested, it works now.  Thanks!

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
The one wrench or drill bit you need will be the one
missing from the tool chest.

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


Re: Question on PS/2 Wheelmouse through KVM

2003-12-24 Thread Charles Howse
On Wednesday 24 December 2003 12:03 pm, Scott W wrote:
> User & wrote:
>  > On Wednesday 24 December 2003 02:22, Scott W wrote:
>  >>Via PS2 and through the KVM, it appears there's nothing I've found yet
>  >>that will enable the wheel, although the wheel 'button' itself works.
>  >
>  > Are you sure that this part is located in your /etc/X11/XF86config
>  > file?:
>  >
>  > Section "InputDevice"
>  > Identifier  "Mouse0"
>  > Driver  "mouse"
>  > Option  "Protocol" "auto"
>  > Option  "Device" "/dev/sysmouse"
>  > Option  "ZAxisMapping" "4 5" # This part is for your
>
> mouse wheel
>
>  > EndSection
>  >
>  >>Any ideas on what to try next?  Opera in X without a scroll mouse is
>  >>like Windows claiming it's secure- it's just wrong :-(
>  >
>  > haha, I like this quote. :-)
>  >
>  > Cheers,
>  >
>  > Jorn
>
> User & wrote:
>  > On Wednesday 24 December 2003 02:22, Scott W wrote:
>  >>Via PS2 and through the KVM, it appears there's nothing I've found yet
>  >>that will enable the wheel, although the wheel 'button' itself works.
>  >
>  > Are you sure that this part is located in your /etc/X11/XF86config
>  > file?:
>  >
>  > Section "InputDevice"
>  > Identifier  "Mouse0"
>  > Driver  "mouse"
>  > Option  "Protocol" "auto"
>  > Option  "Device" "/dev/sysmouse"
>  > Option  "ZAxisMapping" "4 5" # This part is for your
>
> mouse wheel
>
>  > EndSection
>  >
>  >>Any ideas on what to try next?  Opera in X without a scroll mouse is
>  >>like Windows claiming it's secure- it's just wrong :-(
>  >
>  > haha, I like this quote. :-)
>  >
>  > Cheers,
>  >
>  > Jorn
>
> Hi Jorn- yeah, I've played with the X Device section, as well as the
> flags to moused extensively, as well as not running moused, changing the
> button and then z-axis mappings, just in case this particular mouse
> wasn't actually seeing the scroll wheel as 'button 4'...all to no avail.
>
> Through the KVM emulation, it IDs the mouse as a MouseMan+, which works
> fine with the wheel under various RH and Linux variants on another
> system...I may wind up having to recompile the Linux kernel and/or
> modularize the mouse/PS2 driver and add some debugging to try to see if
> I can't figure this outbut of course most problems encountered have
> already been encountered by someone else, so was definitely hoping ;-)

I'm getting in late on this, but I have a wheel mouse, and a KVM.
I've installed the imwheel port.

I have this in XF86Config:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "SysMouse"
Option  "Emulate3Buttons"
Option  "Device" "/dev/sysmouse"
Option "Buttons" "5"
EndSection

and this in /etc/rc.conf:

moused_enable="YES"
moused_flags="-z 4"

and this in ~/.xinitrc:
/usr/X11R6/bin/imwheel

See the FAQ:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#X-AND-WHEEL

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Nobody notices when things go right.

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


Re: Visual mail notification in KMail

2003-12-25 Thread Charles Howse
On Thursday 25 December 2003 03:18 am, Shantanoo Mahajan wrote:
> +++ Chris [freebsd] [24-12-03 20:17 -0600]:
> | Happy Holidays folks!
> |
> | Is there a way to tie in a visual mail notifier in KMail? Sorta like how
> | Outlook shows the envelope under Windows.

Open KMail, Settings, Configure Notifications.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Don't force it,
get a bigger hammer.

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


Anyone have Limewire working on 4.8?

2003-12-30 Thread Charles Howse
Hi,
I've installed /usr/ports/net/limewire v.3.6.15 without error.
It didn't prompt me to do anything, nor present me with any dialogs when 
installing.

When I type 'limewire' from a user shell, it loads the splash screen, which 
says "Loading shared files...", and a tiny window which says, "Welcome t", 
and just sits there.

I've searched, and I can't find any .conf files, nor any documentation on my 
HDD for Limewire.  I've read the manual and FAQ on the limewire.org site, no 
help.

Anyone have any ideas?
-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Real programmers don't write in PL/1.  PL/1 is for
programmers who can't decide whether to write in
COBOL or Fortran.

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


Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse
Hi,
I have a 6.4-STABLE machine running in command line only for my Apache
webserver.
I'm thinking of installing a Gnome desktop on it for my 5 y/o grandson and
grown daughter to use so they won't be pestering me to use my pc.

The 5 y/o won't need anything except Firefox, some disk-based games and
Parental Controls.
For the Parental Controls, I need to limit the websites he can visit, and
the time of day he can use the computer.

The daughter will only need Firefox and a decent word processor.

The computer is a P3 600, 256mb ram, ATI 3D Rage IIc video, plenty of disk
space.

Will Gnome2 or gnome-lite be faster?

What is available for Parental Controls?

Should I forget it because it will be too slow based on the machine's
hardware?

--
Later,
Charles



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse
Hi ocean, thanks for the reply.
Is there a browser that will work out of the box with flash?  Most of the
games the 5 y/o uses are flash-based.


> -Original Message-
> From: ocean [mailto:ocean_i...@yahoo.it]
> Sent: Tuesday, December 08, 2009 8:30 AM
> To: Charles Howse
> Cc: 'FreeBSD-Questions'
> Subject: Re: Gnome desktop for 5 y/o
> 
> i think it could go fine on this computer, use gnome lite and also add
> the needed ports to have a fairly nice system (gnome-backgrounds
> etc...). compile from ports with some optimizations (-O2
> -fno-strict-aliasing and consider if -pipe could be used or not based
> on
> your ram memory). for firefox consider you'll have probably to use also
> linux compatibility layer with flash (don't know if it's on 6.4)
> 
> for parental control check this thread in ml:
> http://lists.freebsd.org/pipermail/freebsd-questions/2007-
> June/152543.html
> http://lists.freebsd.org/pipermail/freebsd-questions/2007-
> July/152728.html
> 
> regards
> ocean
> 
> 
> Charles Howse wrote:
> > Hi,
> > I have a 6.4-STABLE machine running in command line only for my
> Apache
> > webserver.
> > I'm thinking of installing a Gnome desktop on it for my 5 y/o
> grandson and
> > grown daughter to use so they won't be pestering me to use my pc.
> >
> > The 5 y/o won't need anything except Firefox, some disk-based games
> and
> > Parental Controls.
> > For the Parental Controls, I need to limit the websites he can visit,
> and
> > the time of day he can use the computer.
> >
> > The daughter will only need Firefox and a decent word processor.
> >
> > The computer is a P3 600, 256mb ram, ATI 3D Rage IIc video, plenty of
> disk
> > space.
> >
> > Will Gnome2 or gnome-lite be faster?
> >
> > What is available for Parental Controls?
> >
> > Should I forget it because it will be too slow based on the machine's
> > hardware?
> >
> > --
> > Later,
> > Charles
> >
> >
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-
> unsubscr...@freebsd.org"
> >

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse


> -Original Message-
> From: Adam Vande More [mailto:amvandem...@gmail.com]
> Sent: Tuesday, December 08, 2009 8:56 AM
> To: Charles Howse
> Cc: FreeBSD-Questions
> Subject: Re: Gnome desktop for 5 y/o
> 
> On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse 
> wrote:
> 
> 
>   Hi ocean, thanks for the reply.
>   Is there a browser that will work out of the box with flash?
> Most of the
>   games the 5 y/o uses are flash-based.
> 
> 
> 
> Please don't top post, thanks.

My apologies to the group, I forgot.  :)



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse


> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of krad
> Sent: Tuesday, December 08, 2009 10:24 AM
> To: Charles Howse
> Cc: FreeBSD-Questions
> Subject: Re: Gnome desktop for 5 y/o
> 
> 2009/12/8 Charles Howse 
> 
> >
> >
> > > -Original Message-
> > > From: Adam Vande More [mailto:amvandem...@gmail.com]
> > > Sent: Tuesday, December 08, 2009 8:56 AM
> > > To: Charles Howse
> > > Cc: FreeBSD-Questions
> > > Subject: Re: Gnome desktop for 5 y/o
> > >
> > > On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse 
> > > wrote:
> > >
> > >
> > >   Hi ocean, thanks for the reply.
> > >   Is there a browser that will work out of the box with flash?
> > > Most of the
> > >   games the 5 y/o uses are flash-based.
> > >
> > >
> > >
> > > Please don't top post, thanks.
> >
> > My apologies to the group, I forgot.  :)
> >
> >
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscr...@freebsd.org"
> >
> 
> you probably also want java as well, a lot of those children's game
> sites
> use all kind of horrible stuff.

I have an older Power Mac that I've decided to use instead.  It's all
configured and running well, and I don't use it much anymore since I have
Windows 7 Ultimate now on the PC.
It's already set up with Parental Controls for the grandson, and has
everything the daughter will need as well.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


xclip

2010-01-01 Thread Charles Howse
Hi,
I have need for a command-line tool to copy to the clipboard in FreeBSD 6.4.
As in: command | xclip
Looked at xclip and xclipboard - 
http://www.freebsd.org/cgi/ports.cgi?query=xclip&stype=all

I can't tell by the dependencies if this requires the X gui.  I'm running
command-line-only and DON'T want to install X.
Can anyone help?  Thanks!

--
Later,
Charles


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: xclip

2010-01-01 Thread Charles Howse
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Charles Howse
> Sent: Friday, January 01, 2010 9:15 AM
> To: 'FreeBSD-Questions'
> Subject: xclip
> 
> Hi,
> I have need for a command-line tool to copy to the clipboard in FreeBSD
> 6.4.
> As in: command | xclip
> Looked at xclip and xclipboard -
> http://www.freebsd.org/cgi/ports.cgi?query=xclip&stype=all
> 
> I can't tell by the dependencies if this requires the X gui.  I'm
> running
> command-line-only and DON'T want to install X.
> Can anyone help?  Thanks!
> 
> --
> Later,
> Charles

Sorry to reply to my own post, but I remembered to look in
ports/X11/xclip/pkg-descr and found that xclip and possible xclipboard
require X11.  
Sorry for not doing that before I posted.
So, is there a non-X11 port that will let me do what I need to do?  Does
Midnight Commander have a clipboard?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: xclip

2010-01-01 Thread Charles Howse


> -Original Message-
> From: Thomas Adam [mailto:thomas.ada...@gmail.com]
> Sent: Friday, January 01, 2010 9:26 AM
> To: Charles Howse
> Cc: 'FreeBSD-Questions'
> Subject: Re: xclip
> 
> On Fri, Jan 01, 2010 at 09:15:21AM -0600, Charles Howse wrote:
> > Hi,
> > I have need for a command-line tool to copy to the clipboard in
> FreeBSD 6.4.
> > As in: command | xclip
> > Looked at xclip and xclipboard -
> > http://www.freebsd.org/cgi/ports.cgi?query=xclip&stype=all
> >
> > I can't tell by the dependencies if this requires the X gui.  I'm
> running
> > command-line-only and DON'T want to install X.
> > Can anyone help?  Thanks!
> 
> Yes it does require X, because it puts it in the PRIMARY_SELECTION.
> 
> What are you trying to do?

Hi Thomas, thanks for the reply.
This is kinda gnarly.  I'm using VMware Player on Windows 7, FreeBSD is the
guest OS.
I have a script that outputs some text that I would like in the clipboard
that I can paste into an email in Windows Outlook.

#!/bin/sh

file=sig.txt
f=h.txt
n=`jot -r 1 1 791`

echo > $file
echo >> $file
echo "--" >> $file
echo "Thanks," >> $file
echo "Charles" >> $file
echo >> $file
echo "Things that make you say, Hmm..." >> $file
sed -n $n\p $f >> $file
#"Copy $file to clipboard"
#rm $file



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: xclip

2010-01-02 Thread Charles Howse
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Chad Perrin
> Sent: Friday, January 01, 2010 12:04 PM
> To: 'FreeBSD-Questions'
> Subject: Re: xclip
> 
> On Fri, Jan 01, 2010 at 09:48:28AM -0600, Charles Howse wrote:
> >
> > I have a script that outputs some text that I would like in the
> clipboard
> > that I can paste into an email in Windows Outlook.
> 
> As far as I'm aware, there is no tool that uses the clipboard in any OS
> that will allow that clipboard to be used outside of that OS.  This
> appears to be what you want to do.  If you want to be able to copy
> something from a guest OS to the host OS clipboard, I think you will
> need
> to investigate features/tools for the VM software or the host OS
> instead,
> or employ a clever work-around such as using an SSH client on the host
> OS
> to "talk to" the guest OS, and copy from the SSH client to wherever
> else
> you need the data in your host OS.

I guess I will abandon this and try to do it in Windows.
It's just that scripting in Unix is **SO** much easier than vbs in Windows!
:-((

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: xclip

2010-01-02 Thread Charles Howse
> -Original Message-
> From: Richard Mahlerwein [mailto:mahle...@yahoo.com]
> Sent: Friday, January 01, 2010 10:01 AM
> To: Charles Howse
> Cc: freebsd-questions@freebsd.org
> Subject: Re: xclip
> 
> >- Original Message 
> 
> >From: Thomas Adam 
> >To: Charles Howse 
> >Cc: Thomas Adam ; FreeBSD-Questions  questi...@freebsd.org>
> >Sent: Fri, January 1, 2010 10:51:25 AM
> >Subject: Re: xclip
> >
> >On Fri, Jan 01, 2010 at 09:48:28AM -0600, Charles Howse wrote:
> >
> >> Hi Thomas, thanks for the reply.
> >> This is kinda gnarly.  I'm using VMware Player on Windows 7, FreeBSD
> is the
> >> guest OS.
> >> I have a script that outputs some text that I would like in the
> clipboard
> >> that I can paste into an email in Windows Outlook.
> >
> >Ah right.  You'll find that won't work at all.
> >
> >-- Thomas Adam
> 
> With VMware Workstation, I do something similar by launching the VM but
> ignoring the console of it.  Use PuTTY to connect to the virtual
> machine via its IP address.  From PuTTY, anything on screen is
> trivially copied to the host's windows clipboard by selecting it with
> your mouse.
> 
> How may that work for you?

I actually got it done by using PuTTY to connect to my FreeBSD server, run
the scripts in Bash there, and copy the output to the clipboard.  13 lines
per script, vs. **HUNDREDS OF LINES** in vbs or vba!!  :-))
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Setiathome question

2003-09-11 Thread Charles Howse
Hi,
I recently changed my /usr/local/etc/rc.setiathome.conf file.
I changed seti_std_args from:
-email -graphics
To:
-email

That's the only line that's uncommented.

Then I reboot (I know I didn't have to)
Now I can't see setiathome in the output of top.

Is the problem that seti must download a new work unit before it starts?
If that's so, shouldn't I still see something in ps -aux | grep seti ?



Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


RE: mergemaster: "schg" flag for temproot/var/emtpy ??

2003-09-14 Thread Charles Howse
> > SO I did type mergemaster and all went well.
> > 
> > Decided then to remove the temproot directory, but failed!
> > 
> > # rm -rf /var/tmp/temproot
> > rm: /var/tmp/temproot/var/empty: Operation not permitted
> > rm: /var/tmp/temproot/var: Directory not empty
> > rm: /var/tmp/temproot/: Directory not empty
> > 
> > Took me a long while to figure out the 
> /var/tmp/temproot/var/empty direcoty
> > has the schg flag set. Very, very confusing.
> > Is there any reason why it is like that?
> > If not, then do not create the empty directory with schg !!
> 
> Because /var/empty should not be deleted.  Some programs use it.
> I don't know about that particilar variation.

I'm confused here, but that's nothing new...
I'm running 4.8-RELEASE-p4.

I can read what Jerry says, but does he mean that /var/empty should not
be deleted, or that /var/tmp/temproot/var/empty should not be deleted?

These two directories are completely different, and if I'm rebuilding
from source for, say, the second time, then /var/tmp/temproot/var/empty
might exist and definitly should be deleted, right?


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


Boot timeout?

2003-09-15 Thread Charles Howse
Hi,
I have 2 HDD (8GB & 2GB) and 1 CDROM on my FBSD box.

Before I installed this last time, I had the 2GB drive as the master on
the primary controller, and the 8GB drive as the master on the secondary
controller, with the CD as the slave on the secondary controller.  The
system went through the BIOS drive detection quickly, and FBSD booted
quickly.

Now I have the 8GB drive as the master on the primary drive, the CD as
the master on the secondary controller, and the 2GB drive as the slave
on the secondary controller.

/etc/fstab shows:
Ado - master drive on primary IDE controller - the 8GB
Ad3 - slave drive on secondary IDE controller - the 2GB
Acd0 - CDROM master drive on secondary IDE controller.

Now the system hangs for about 20 seconds at the BIOS drive detection,
and at the FBSD atapi controller detection.

I believe this might be due to a timeout of some sort involving the
CDROM, since it is the master drive on the secondary controller.

I realize that I could just change the jumpers, boot to a floppy, and
see if the timeout goes away, but I was wondering if anyone had any
input on whether or not my assumption about the timeout is correct.

If I *do* decide to make the 2GB drive the master on the secondary
controller, and the CD the slave on the secondary controller, isn't it
correct that FBSD will detect it as ad2, and the CD as acd1?  That
sounds like it might not be able to mount the 2GB drive.  Any opinions?



Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


RE: drive space shell script help ?

2003-09-15 Thread Charles Howse
> #!/bin/sh
> # this is a script to check drive space and email HSD dept.
> #
> cd ~bbailey
> rm ~bbailey/drvspc.txt
> df -k  | awk '{print$5}' >~bbailey/drvspc.txt
> cat drvspc.txt
> while read i
> do
> if [$i > '89'];  then

This line should be:
if [ $i -gt 89 ] ; then

The spaces between the leading and trailing brackets are mandatory, and
you had 2 spaces between the ; and 'then', and the comparison operator
for integers is '-gt' for 'greater than'.  I don't believe you need the
ticks around 89 either.

A great source for help: http://www.tldp.org/LDP/abs/html/


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


RE: drive space shell script help ?

2003-09-15 Thread Charles Howse
The more I play with your script, the more fun it becomes.

#!/bin/sh
# this is a script to check drive space and email HSD dept.
#
cd ~bbailey
rm drvspc.txt # Once I'm in ~bbailey, I don't need the complete path to
any files there.

df -k  | 
# You have to get rid of the word 'Capacity' or your comparison will
fail,
grep -v Capacity |
# There's no need to check the /proc filesystem, it'll always be full,
grep -v /proc | 
awk '{print$5}' | 
# You have to use sed to eliminate the % from df -k or the comparison
will fail.
sed -e 's/%//' > drvspc.txt 
cat drvspc.txt | 
while read i
do
if [ $i -gt 89 ] ; then
mail -s "check drive space on core" [EMAIL PROTECTED]
fi
done
# Quotes not necessary when echoing a single word, but I wouldn't do
this, you
# might want to schedule this with cron and it'll clutter up your screen
# if you tell it to say 'done' every time it runs.
echo done 
exit 0


Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


Repost: Drive jumpers - was: Boot Timeout?

2003-09-16 Thread Charles Howse
Hi,
I currently have a HDD as the primary master, a CDROM as the secondary
master and a HDD as the secondary slave on my FBSD box.

FBSD detects them as ad0, acd0 and ad3, respectively.

If I change the drive jumpers to make the HDD the secondary master and
the CDROM the secondary slave, is it correct to assume that FBSD will
detect them as ad1 and acd0?

This configuration will break /etc/fstab, as well as anything else that
references the HDD on the secondary IDE channel. Other than /etc/fstab
and personal files, what should I edit to reflect the hardware changes?



Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


RE: Boot timeout?

2003-09-16 Thread Charles Howse
> > Now the system hangs for about 20 seconds at the BIOS drive 
> detection,
> > and at the FBSD atapi controller detection.
> 
> Are you using ATAPICAM?  If so, it's probably the SCSI settling.
> That's adjustable in the kernel configuration.

The string 'atapicam' does not appear in my
/usr/src/sys/i386/conf/CUSTOM customized kernel config file.  Is that
what you meant?  I did find that string in LINT, but I'm not using it.

I may have misled you in my post.  What I should have said is, the
system hangs for about 20 seconds at the BIOS drive detection, and then
there is another 20 second delay when FBSD is detecting devices, *after*
it displays the line about finding the atapi controller.  It displays
that line concerning the atapi controller, issues 2 cr/lf and pauses for
that 20 seconds.  It then continues to load without error, all devices
are detected properly and I can read and write to them.

I really think this delay may be more related to hardware than software.
I just booted the system to an MS-DOS diskette, and the delay is still
there.  I have no special settings in BIOS.

BTW: I've also posted this to alt.comp.hardware.  No joy yet.


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


RE: Rebuilding the Kernel

2003-09-16 Thread Charles Howse
> > So I can get it right in my head (now there's a challenge). 
>  The correct 
> > steps for building a custom kernel is:
> > 
> >   1) update sources
> >   2) rm -rf /usr/obj/*
> >   3) make buildworld
> >   4) edit kernel config file
> >   5) make buildkernel
> >   6) make installkernel
> >   7) reboot
> >   8) make installworld
> >   9) mergemaster
> > 
> > Many Thanks
> > 
> > Mark.
> 
> I believe that's mostly it, but there are smaller steps that may be
> important inbetween, like doing `chflags' on /usr/obj/* 
> before removing
> the files - all this is in the manual, though.  The steps outlined
> above are in the handbook - in that order.  Take another look at the
> handbook and if you still have problem reply with specific issues.

Here's a real good article.
http://bsdvault.net/sections.php?op=viewarticle&artid=21


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


RE: How to shut down

2003-09-17 Thread Charles Howse
> I am a new user learning about Unix.
> 
> I found the shutdown command and have been using "shutdown 
> now" to shut down
> before powering off.
> 
> When the pc boots up it complains that it was incorrectly shut down.
> 
> Am I following an incorrect procedure?

'shutdown now' will take you to single user mode.
This is not what you want if you're ready to power off.
Use 'shutdown -h now' and wait for the 'press any key to reboot' prompt
before you power off.
To reboot, use 'shutdown -r now'.


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


RE: Boot timeout?

2003-09-17 Thread Charles Howse
> On Wed, 2003-09-17 at 05:47, Charles Howse wrote:
> > > > Now the system hangs for about 20 seconds at the BIOS drive 
> > > detection,
> > > > and at the FBSD atapi controller detection.
> > > 
> > > Are you using ATAPICAM?  If so, it's probably the SCSI settling.
> > > That's adjustable in the kernel configuration.
> > 
> > The string 'atapicam' does not appear in my
> > /usr/src/sys/i386/conf/CUSTOM customized kernel config 
> file.  Is that
> > what you meant?  I did find that string in LINT, but I'm 
> not using it.
> > 
> > I may have misled you in my post.  What I should have said is, the
> > system hangs for about 20 seconds at the BIOS drive 
> detection, and then
> > there is another 20 second delay when FBSD is detecting 
> devices, *after*
> > it displays the line about finding the atapi controller.  
> It displays
> > that line concerning the atapi controller, issues 2 cr/lf 
> and pauses for
> > that 20 seconds.  It then continues to load without error, 
> all devices
> > are detected properly and I can read and write to them.
> > 
> > I really think this delay may be more related to hardware 
> than software.
> > I just booted the system to an MS-DOS diskette, and the 
> delay is still
> > there.  I have no special settings in BIOS.
> > 
> > BTW: I've also posted this to alt.comp.hardware.  No joy yet.
> 
> Hi,
> 
> I also think the delay is hardware related. The most common 
> reason would
> be if a drive was jumpered incorrectly, eg. if the drive is 
> set as slave
> but there is no master drive, or the master drive is set with slave
> drive present when there is no slave drive.
> 
> So the BIOS waits for a response from an unavailable drive or 
> until the
> time-out period is reached.
> 
> In your original post you mentioned the 2Gb was set as 
> master, then you
> connected it as secondary-slave. You would need to change jumper
> settings to reflect this.

Yes, I changed the jumper.
I will check the Western Digital (I HATE them) web site for up-to-date
info on jumper settings for that drive, and try different settings
myself, but I think I have it correct to begin with.

The key on the drive itself says to set it this way for master:
.
   ^
Where . Is the key pin, so you don't get it upside down.


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


RE: Boot timeout? - SOLVED

2003-09-17 Thread Charles Howse
> > On Wed, 2003-09-17 at 05:47, Charles Howse wrote:
> > > > > Now the system hangs for about 20 seconds at the BIOS drive 
> > > > detection,
> > > > > and at the FBSD atapi controller detection.
> > > > 
> > > > Are you using ATAPICAM?  If so, it's probably the SCSI settling.
> > > > That's adjustable in the kernel configuration.
> > > 
> > > The string 'atapicam' does not appear in my
> > > /usr/src/sys/i386/conf/CUSTOM customized kernel config 
> > file.  Is that
> > > what you meant?  I did find that string in LINT, but I'm 
> > not using it.
> > > 
> > > I may have misled you in my post.  What I should have said is, the
> > > system hangs for about 20 seconds at the BIOS drive 
> > detection, and then
> > > there is another 20 second delay when FBSD is detecting 
> > devices, *after*
> > > it displays the line about finding the atapi controller.  
> > It displays
> > > that line concerning the atapi controller, issues 2 cr/lf 
> > and pauses for
> > > that 20 seconds.  It then continues to load without error, 
> > all devices
> > > are detected properly and I can read and write to them.
> > > 
> > > I really think this delay may be more related to hardware 
> > than software.
> > > I just booted the system to an MS-DOS diskette, and the 
> > delay is still
> > > there.  I have no special settings in BIOS.
> > > 
> > > BTW: I've also posted this to alt.comp.hardware.  No joy yet.
> > 
> > Hi,
> > 
> > I also think the delay is hardware related. The most common 
> > reason would
> > be if a drive was jumpered incorrectly, eg. if the drive is 
> > set as slave
> > but there is no master drive, or the master drive is set with slave
> > drive present when there is no slave drive.
> > 
> > So the BIOS waits for a response from an unavailable drive or 
> > until the
> > time-out period is reached.
> > 
> > In your original post you mentioned the 2Gb was set as 
> > master, then you
> > connected it as secondary-slave. You would need to change jumper
> > settings to reflect this.
> 
> Yes, I changed the jumper.
> I will check the Western Digital (I HATE them) web site for up-to-date
> info on jumper settings for that drive, and try different settings
> myself, but I think I have it correct to begin with.

OK, this was another 'dumb-ass' issue on my part.
After checking the WDC web site, I realized that since the WDC drive was
the *only* drive on the primary channel, it should *NOT* be jumpered at
all.  I had it jumpered for 'dual master'

Thanks to all who responded.


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


RE: What's CRON?

2003-09-17 Thread Charles Howse
> What is CRON
> What he is can do?

Man cron, or
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-c
ron.html 


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


RE: randomize execution the a script?

2003-09-18 Thread Charles Howse
> Gil Agno Virtucio wrote:
> > Hi. I want to randomize the execution of a shell script. 
> Can i use cron 
> > to do this? or are there other available tools that i can 
> use to do this?
> 
> See 'man 6 random' and 'man sleep'.
> Then try doing something like this in the background:
> 
> #!/bin/sh
> while true
> do
>random -e 60
>randomNumber=$?
>sleep $randomNumber
>
> done
> 
> Where '60' means, maximum 60 seconds between two script calls.
> 
> There might be better or nices ways of doing this :).

I don't happen to have random installed on my system, however jot is
installed with the base system, and will generate random numbers quite
well.  For example 'jot -r 1 1 60' will generate a single random number
between 1 and 60.

Won't randomNumber=$? Just return 0 if the previous command completes
successfully?
Shouldn't it be:
randomNumber=`random -e 60`
Or better yet randomNumber=`jot -r 1 1 60`


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


RE: randomize execution the a script?

2003-09-18 Thread Charles Howse
> > I don't happen to have random installed on my system, however jot is
> 
> It's in /usr/games/random of FreeBSD 4.8.
> 
> > Won't randomNumber=$? Just return 0 if the previous command 
> completes
> > successfully?
> > Shouldn't it be:
> > randomNumber=`random -e 60`
> 
> No. In 'man 6 random', it says:
> 
>  random [-er] [-f filename] [denominator]
> 
>  -e  If the -e option is specified, random does not 
> read or write any-
>  thing, and simply exits with a random exit value of 0 to
>  denominator - 1, inclusive.
> 
> So you must capture its exit value for the random number :).

Good enough!  Thanks for the info!  :)


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


RE: how to enable auto power off

2003-09-18 Thread Charles Howse
> In your kernel config:
> device  apm0at nexus? flags 0x20
> 
> Add to rc.conf (before you boot the new kernel):
> apm_enable="yes"
> 
> Now to power off, use 'shutdown -p now'. See also apm(4).
> 
> - Original Message - 
> From: "Tadimeti Keshav" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 17, 2003 8:33 PM
> Subject: how to enable auto power off
> 
> 
> > Guys,
> > I have a D815EPEA intel based motherboard. My
> > dual-boot Redhat 9.0 setup can automatically shutdown
> > and power off. But freeBSD can't do that (yet).
> >
> > Are there any flags I need to set in rc.conf or what
> > do I need to set to recompile the kernel?
> > I use freeBSD 4.5.
> > THanks

I read man 4 apm and man apm and they both refer to laptops.
I also would like to get auto power-off working on my desktop system.
Will the instructions you gave work for my system?


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


RE: how to enable auto power off

2003-09-18 Thread Charles Howse
> > I read man 4 apm and man apm and they both refer to laptops.
> > I also would like to get auto power-off working on my 
> desktop system.
> > Will the instructions you gave work for my system?
> 
> Assuming it supports APM, sure.

OK, I just checked the BIOS, and it does have Power Management support,
and when I boot, I also see 'ACPI function enable' in the post msgs.  I
realize that ACPI is not supported in FBSD < 5.x.  I'm running 4.8-p4.

I've never used Power Management on any of my computers, so this is new
territory for me.
I would assume that I need to set Power Management to 'enabled' in BIOS,
or no?

If yes, (and I realize you can't know my other PM options) should the
defaults be OK?
Any particular option that you know of that I should pay special
attention to?  I don't have the MB manual for this box.


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


RE: how to enable auto power off

2003-09-18 Thread Charles Howse
> > I would assume that I need to set Power Management to 
> 'enabled' in BIOS,
> > or no?
> 
> No.  At least not on the machines I've set up lately.  You 
> need 'device
> apm' (the hints have never been needed on my machines) and
> 'apm_enable="YES"', but that's it.

Excellent, thanks for the info!
 
> -Warren Block * Rapid City, South Dakota USA

Good Morning from Jackson, TN USA!



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


RE: newbie downloading iso images

2003-09-18 Thread Charles Howse
> I am trying to download a release 4.8 of FreeBSD but I am having
> problems finding the correct file names/locations to download 
> the files.
> 
> I can ftp to ftp1.us.FreeBSD.org as well as other mirror sites
> 
> I can cd to pub/FreeBSD/releases/i386/4.8-RELEASE
> 
> I cannot "dir" or "ls" to see the list of files in the 
> directory--I get
> "Connection closed by remote host."  I assume the files are hidden?
> Given that I cannot see the file names I was following the 
> instructions
> and filenames given in the FreeBSD Handbook.
> 
> I have tried to get: 
> 4.8-mini.iso
> 4.8-disc1.iso
> 
> I have also tried getting these images from this path as well:
> pub/FreeBSD/ISO-IMAGES-i386/4.8
> 
> Does anyone know of a mirror ftp that will allow me to see the file
> names?  Or allow me privileges to see and download the files?
> 
> Here is my typical session from DOS ftp:
> 
> C:\download>ftp
> ftp> open ftp1.us.FreeBSD.org
> 
> Connected to freebsd.secsup.org.
> 220 Welcome to mirrors.secsup.org FTP service.
> User (freebsd.secsup.org:(none)): ftp
> 331 Please specify the password.
> Password:
> 230 Login successful. Have fun.
> ftp> cd pub/FreeBSD/ISO-IMAGES-i386/4.8
> 250 Directory successfully changed.
> ftp> get "4.8-disc1.iso" r48_disc1.iso
> Connection closed by remote host.
> ftp>

You're using the wrong filenames.
Here's the 4.8 directory listing:

ftp> cd 4.8
250 Directory successfully changed.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
4.8-RELEASE-i386-disc1.iso
4.8-RELEASE-i386-disc2.iso
4.8-RELEASE-i386-mini.iso
CHECKSUM.MD5
226 Directory send OK.


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


RE: newbie downloading iso images

2003-09-18 Thread Charles Howse
> > C:\download>ftp
> > ftp> open ftp1.us.FreeBSD.org
> > 
> > Connected to freebsd.secsup.org.
> > 220 Welcome to mirrors.secsup.org FTP service.
> > User (freebsd.secsup.org:(none)): ftp
> > 331 Please specify the password.
> > Password:
> > 230 Login successful. Have fun.
> > ftp> cd pub/FreeBSD/ISO-IMAGES-i386/4.8
> > 250 Directory successfully changed.
> > ftp> get "4.8-disc1.iso" r48_disc1.iso
> > Connection closed by remote host.
> > ftp>
> 
My bad, you're using the wrong directory *and* filename:

Cd pub/FreeBSD/ISO-IMAGES-i386/4.8
Get 4.8-RELEASE-i386-disc1.iso

BTW: For a newbie install, I only use disc 1.


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


RE: how to enable auto power off

2003-09-21 Thread Charles Howse
> On Thu, 18 Sep 2003, Charles Howse wrote:
> 
> > OK, I just checked the BIOS, and it does have Power 
> Management support,
> > and when I boot, I also see 'ACPI function enable' in the 
> post msgs.  I
> > realize that ACPI is not supported in FBSD < 5.x.  I'm 
> running 4.8-p4.
> >
> > I've never used Power Management on any of my computers, so 
> this is new
> > territory for me.
> > I would assume that I need to set Power Management to 
> 'enabled' in BIOS,
> > or no?
> 
> No.  At least not on the machines I've set up lately.  You 
> need 'device
> apm' (the hints have never been needed on my machines) and
> 'apm_enable="YES"', but that's it.

I've recompiled with the proper lines in my kernel config and rc.conf,
and when I boot, I see:
apm: protected mode connections are not supported
And shutdown -p now does not power off the machine.

Should I assume that the BIOS does not support soft power off? 


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


Noip client port

2003-09-21 Thread Charles Howse
Hi,

I use noip for dynamic dns, although I'm using it on my Linux box.
I'm thinking of converting my Linux box to FBSD, and noticed that the
noip client lives in /usr/ports/dns/noip.

Just wanted to touch base with anyone who might be using it and see if
you have had any problems with the Unix client.

It looks like the default version of the noip client is 1.6.  
What version are you currently running?  
The current version is 2.0.12 I believe.



Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


Cvsup refuse confusion

2003-09-22 Thread Charles Howse
Hi,
I'm trying to eliminate all the non-English ports and documentation.
I've deleted the relevant directories in /usr/ports and /usr/share/doc,
But they reappear on subsequent cvsups.
Where have I gone wrong?

* /etc/cvsupfile *

*default  host=cvsup11.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_4_8
*default  delete use-rel-suffix

src-all
*default tag=.
ports-all
doc-all

* /usr/local/etc/cvsup/sup/ports-all/refuse *

doc/da_*
doc/de_*
doc/el_*
doc/es_*
doc/fr_*
doc/it_*
doc/ja_*
doc/nl_*
doc/no_*
doc/pl_*
doc/pt_*
doc/ru_*
doc/sr_*
doc/zh_*
ports/INDEX
ports/chinese
ports/french
ports/german
ports/hebrew
ports/hungarian
ports/japanese
ports/korean
ports/polish
ports/portuguese
ports/russian
ports/ukranian
ports/vietnamese


Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


RE: Cvsup refuse confusion

2003-09-22 Thread Charles Howse
> Charles Howse wrote:
> 
> >Hi,
> >I'm trying to eliminate all the non-English ports and documentation.
> >I've deleted the relevant directories in /usr/ports and 
> /usr/share/doc,
> >But they reappear on subsequent cvsups.
> >Where have I gone wrong?
> >
> >* /etc/cvsupfile *
> >
> >*default  host=cvsup11.FreeBSD.org
> >*default  base=/usr
> >*default  prefix=/usr
> >*default  release=cvs
> >*default  tag=RELENG_4_8
> >*default  delete use-rel-suffix
> >
> >src-all
> >*default tag=.
> >ports-all
> >doc-all
> >
> >* /usr/local/etc/cvsup/sup/ports-all/refuse *
> >
> >doc/da_*
> >doc/de_*
> >doc/el_*
> >doc/es_*
> >doc/fr_*
> >doc/it_*
> >doc/ja_*
> >doc/nl_*
> >doc/no_*
> >doc/pl_*
> >doc/pt_*
> >doc/ru_*
> >doc/sr_*
> >doc/zh_*
> >ports/INDEX
> >ports/chinese
> >ports/french
> >ports/german
> >ports/hebrew
> >ports/hungarian
> >ports/japanese
> >ports/korean
> >ports/polish
> >ports/portuguese
> >ports/russian
> >ports/ukranian
> >ports/vietnamese
> >
> >
> >Thanks,
> >Charles
> >
> >Got a computer with idle CPU time?
> >Join [EMAIL PROTECTED] and help make history!
> >http://setiathome.ssl.berkeley.edu/
> >
> >
> >___
> >[EMAIL PROTECTED] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> >
> The refuse file goes in /usr/local/etc/cvsup/sup/refuse as 
> mentioned in 
> the handbook at 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html 
> Section A.5.3.1
> 
> "The refuse file essentially tells *CVSup* that it should not 
> take every 
> single file from a collection; in other words, it tells the client to 
> /refuse/ certain files from the server. The refuse file can be found 
> (or, if you do not yet have one, should be placed) in /base//sup/. 
> /base/ is defined in your supfile; by default, /base/ is 
> /usr/local/etc/cvsup, which means that by default the refuse file is 
> /usr/local/etc/cvsup/sup/refuse."

Thanks very much.
Apologies for not checking the handbook before posting.

RE: refusing ports/INDEX
IIRC, someone directed me to do that.??
I do a make index after every cvsup.
Comments?


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


RE: Cvsup refuse confusion

2003-09-22 Thread Charles Howse
> On Monday 22 September 2003 09:39 am, Andrew L. Gould wrote:
> > On Monday 22 September 2003 11:13 am, Charles Howse wrote:
> > > Hi,
> > > I'm trying to eliminate all the non-English ports and
> > > documentation. I've deleted the relevant directories in /usr/ports
> > > and /usr/share/doc, But they reappear on subsequent cvsups.
> > > Where have I gone wrong?
> > >
> > > * /etc/cvsupfile *
> > >
> > > *default  host=cvsup11.FreeBSD.org
> > > *default  base=/usr
> > > *default  prefix=/usr
> > > *default  release=cvs
> > > *default  tag=RELENG_4_8
> > > *default  delete use-rel-suffix
> > >
> > > src-all
> > > *default tag=.
> > > ports-all
> > > doc-all
> > >
> > > * /usr/local/etc/cvsup/sup/ports-all/refuse *
> > >
> > > doc/da_*
> > > doc/de_*
> > > doc/el_*
> > > doc/es_*
> > > doc/fr_*
> > > doc/it_*
> > > doc/ja_*
> > > doc/nl_*
> > > doc/no_*
> > > doc/pl_*
> > > doc/pt_*
> > > doc/ru_*
> > > doc/sr_*
> > > doc/zh_*
> > > ports/INDEX
> > > ports/chinese
> > > ports/french
> > > ports/german
> > > ports/hebrew
> > > ports/hungarian
> > > ports/japanese
> > > ports/korean
> > > ports/polish
> > > ports/portuguese
> > > ports/russian
> > > ports/ukranian
> > > ports/vietnamese
> > >
> > >
> > > Thanks,
> > > Charles
> >
> > Check for the existence of the folder /usr/sup.  If it exists, move
> > your refuse file to it.
> >
> > Also, should you be refusing to update ports/INDEX? I refuse the
> > non-English ports; but my refuse file does not include ports/INDEX.
> 
> Yes, because you are supposed to rebuild INDEX after every cvsup of 
> ports-all. If you pick and choose the port collection, you will 
> probably break "make index" and then the upate tools won't 
> work as you 
> would expect. Since you are going to rebuild INDEX or INDEX-5 after 
> each cvsup, refusing it prevents cvsup from redownloading it. 
> It takes 
> several minutes to download even across a 100Mbps networkd.
> 
> If you use portupgrade, you also have to run "portsdb -u" after you 
> create and updated INDEX.

OK, the OP is getting confused.  ;-)
I have moved my refuse file to /usr/sup/refuse
I have deleted the directories in /usr/ports and /usr/share/doc that I
don't want.
I will cvsup when we get this straightened out in my mind.

Dr. Seaman says run 'make index' *OR* portsdb -Uu after cvsup.
Kent says run 'portsdb -u' *AFTER* make index.

What is our consensus?


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


RE: Cvsup refuse confusion

2003-09-22 Thread Charles Howse
> On Monday 22 September 2003 10:07 am, Charles Howse wrote:
> > > On Monday 22 September 2003 09:39 am, Andrew L. Gould wrote:
> > > > On Monday 22 September 2003 11:13 am, Charles Howse wrote:
> > > > > Hi,
> > > > > I'm trying to eliminate all the non-English ports and
> > > > > documentation. I've deleted the relevant directories in
> > > > > /usr/ports and /usr/share/doc, But they reappear on subsequent
> > > > > cvsups. Where have I gone wrong?
> > > > >
> > > > > * /etc/cvsupfile *
> > > > >
> > > > > *default  host=cvsup11.FreeBSD.org
> > > > > *default  base=/usr
> > > > > *default  prefix=/usr
> > > > > *default  release=cvs
> > > > > *default  tag=RELENG_4_8
> > > > > *default  delete use-rel-suffix
> 
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Charles
> > > >
> > > > Check for the existence of the folder /usr/sup.  If it exists,
> > > > move your refuse file to it.
> > > >
> > > > Also, should you be refusing to update ports/INDEX? I refuse the
> > > > non-English ports; but my refuse file does not include
> > > > ports/INDEX.
> > >
> > > Yes, because you are supposed to rebuild INDEX after 
> every cvsup of
> > > ports-all. If you pick and choose the port collection, you will
> > > probably break "make index" and then the upate tools won't
> > > work as you
> > > would expect. Since you are going to rebuild INDEX or 
> INDEX-5 after
> > > each cvsup, refusing it prevents cvsup from redownloading it.
> > > It takes
> > > several minutes to download even across a 100Mbps networkd.
> > >
> > > If you use portupgrade, you also have to run "portsdb -u" 
> after you
> > > create and updated INDEX.
> >
> > OK, the OP is getting confused.  ;-)
> > I have moved my refuse file to /usr/sup/refuse
> > I have deleted the directories in /usr/ports and /usr/share/doc that
> > I don't want.
> > I will cvsup when we get this straightened out in my mind.
> >
> > Dr. Seaman says run 'make index' *OR* portsdb -Uu after cvsup.
> > Kent says run 'portsdb -u' *AFTER* make index.
> >
> > What is our consensus?
> 
> You don't do a "make index" and a "portsdb -uU". You only need to run 
> "portsdb -u" after a make index.
> 
> They do the same thing; however, Kris has a script that 
> writes a bitch 
> message to -ports when "make index" fails. There isn't anything 
> comparable for portsdb -U. In addition, portsdb -U has always 
> produced 
> a large number of error messages that I don't see with "make index". 
> 
> I have also found that you typically get a slightly larger 
> port count on 
> the "portsdb -u" when you run "make index".
> 
> FWIW, I run portsdb -U when "make index" fails. I think they are both 
> tools that meet slightly different needs. I think "portsdb 
> -U" handles 
> an incomplete /usr/ports and "make index" doesn't.

OK, I'm starting to get the drift here.
Thanks.


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


RE: Cvsup refuse confusion

2003-09-22 Thread Charles Howse
> > I have deleted the directories in /usr/ports and 
> /usr/share/doc that I
> > don't want.
> 
> You understand that the doc-all collection downloads into /usr/doc,
> and it contains the SGML source that gets processed into the HTML or
> other formats the Handbook is available in?  You will have to 'cd
> /usr/doc ; make install' before anything will appear in
> /usr/share/doc.

I did not understand that.

I have just installed FBSD on a second machine on my home network, and I
am just now getting it configured and cvsupped, and recompiled.

I assure you, I have just browsed the German language handbook in
/usr/share/doc/~de.
I have not cd /usr/doc ; make install.

I never knew I had to make install in that directory, so how could that
have happened?


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


RE: Cvsup refuse confusion

2003-09-22 Thread Charles Howse
> > I assure you, I have just browsed the German language handbook in
> > /usr/share/doc/~de.
> > I have not cd /usr/doc ; make install.
> 
> Some of the stuff in /usr/share/doc comes with the system, installed
> out of /usr/src but the majority, installed under the locale specific
> sub dirs comes out of /usr/doc.
>  
> > I never knew I had to make install in that directory, so 
> how could that
> > have happened?
> 
> The gory details are in:
> 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/ 

Unfortunately there doesn't seem to be a German translation available.

You'll need to install quite a few extra bits of software in order to
build the documentation.

Bingo!  The packages and ports I've installed must have installed those
docs.
Thanks!


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


Running vsftpd from inetd

2003-09-22 Thread Charles Howse
Hi,
Would anyone running vsftpd successfully from inetd be kind enough to
share the relevant line from their inetd.conf file?



Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


RE: how to enable auto power off

2003-09-23 Thread Charles Howse
> As advised, I omitted the "at nexus? flags 0x20" part from the line:
> 
> device  apm0at nexus? flags 0x20  # Advanced Power
> Management
> 
> and that's how I got auto power off to work.  I think LINT has more
> info.

You said you had never needed the flags, not that you had to omit them
for it to work.
I didn't see anything additional in LINT.


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


RE: how to enable auto power off

2003-09-23 Thread Charles Howse
> On Tue, 23 Sep 2003, Charles Howse wrote:
> 
> > > As advised, I omitted the "at nexus? flags 0x20" part 
> from the line:
> > >
> > > device  apm0at nexus? flags 0x20  
> # Advanced Power
> > > Management
> > >
> > > and that's how I got auto power off to work.  I think 
> LINT has more
> > > info.
> >
> > You said you had never needed the flags, not that you had 
> to omit them
> > for it to work.
> 
> Actually, I think it was me that said that.  I omit the hints unless I
> find there's a need for them; for APM, I've never needed them.
> Likewise with 'device pcm' for sound.

I stand corrected, but I still haven't had my original question
answered...
The BIOS supports APM, and ACPI.  I have the proper lines in my kernel
config and rc.conf.
I will omit the flags the next time I make kernel.
If it still doesn't work, what then?


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


Kern.timecounter.hardware issues

2003-09-24 Thread Charles Howse
Hi,
The following appeared in my daily security run output:

curly.howse.no-ip.org kernel log messages:
> Timecounter "TSC"  frequency 300683473 Hz

I have a Celeron 300 CPU, if that matters.

A quick Google for 'Timecounter "TSC"  frequency' led me to believe that
I should change the hardware timecounter to i8254 with:

sysctl -w kern.timecounter.hardware=i8254

I did that, rebooted, and ran sysctl -a again, only to see that
kern.timecounter.hardware had reverted to TSC.

I have both i8254 and TSC showing in dmesg.

Should I make the change permanent across reboots, and if so, how?

BTW, are any of you getting the same messages from this list over and
over again?
I am, I wonder what's going on?


Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


RE: Kern.timecounter.hardware issues

2003-09-24 Thread Charles Howse
> Hi,
> The following appeared in my daily security run output:
> 
> curly.howse.no-ip.org kernel log messages:
> > Timecounter "TSC"  frequency 300683473 Hz
> 
> I have a Celeron 300 CPU, if that matters.
> 
> A quick Google for 'Timecounter "TSC"  frequency' led me to 
> believe that I should change the hardware timecounter to i8254 with:
> 
> sysctl -w kern.timecounter.hardware=i8254
> 
> I did that, rebooted, and ran sysctl -a again, only to see 
> that kern.timecounter.hardware had reverted to TSC.
> 
> I have both i8254 and TSC showing in dmesg.
> 
> Should I make the change permanent across reboots, and if so, how?
> 
> BTW, are any of you getting the same messages from this list 
> over and over again?
> I am, I wonder what's going on?

After re-reading man sysctl, I see I should be able to set any values I
need in /etc/sysctl.conf
I added kern.timecounter.hardware=i8254, saved, rebooted, no joy, still
set to TSC.
The handbook doesn't have anything specific.
What's going on?


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


Mirroring another machine w/ cvsup

2003-09-25 Thread Charles Howse
Hi,
I have 2 FBSD 4.8-RELEASE-p7 machines side-by-side on a home network,
curly and larry.
I want to mirror some directories from curly to larry with cvsup as an
exercise and as a backup.

The directories on curly I want to mirror are:
/root, /seeds, and /etc.

I have those working perfectly, now I want to add /usr/local/etc.

I created the directory /usr/local/etc/cvsup/sup/usr/local/etc on curly.
I created /usr/local/etc/cvsup/sup/usr/local/etc/etc.cvs and
/usr/local/etc/cvsup/sup/usr/local/etc/releases.

etc.cvs contains the lines:
Upgrade usr/local/etc
Rsymlink *

Releases contains the line:
Usr/local/etc list=etc.cvs prefix=/

When I start cvsupd -b /usr/local/etc/cvsup -C 1 -l /dev/stdout, I get:
# Listen failed: Port in use

I checked the handbook section on cvsup, may have missed the answer, but
no joy.
Can anyone point me to my error?


Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


RE: Mirroring another machine w/ cvsup

2003-09-25 Thread Charles Howse
> Hi,
> I have 2 FBSD 4.8-RELEASE-p7 machines side-by-side on a home network,
> curly and larry.
> I want to mirror some directories from curly to larry with cvsup as an
> exercise and as a backup.
> 
> The directories on curly I want to mirror are:
> /root, /seeds, and /etc.
> 
> I have those working perfectly, now I want to add /usr/local/etc.
> 
> I created the directory 
> /usr/local/etc/cvsup/sup/usr/local/etc on curly.
> I created /usr/local/etc/cvsup/sup/usr/local/etc/etc.cvs and
> /usr/local/etc/cvsup/sup/usr/local/etc/releases.
> 
> etc.cvs contains the lines:
> Upgrade usr/local/etc
> Rsymlink *
> 
> Releases contains the line:
> Usr/local/etc list=etc.cvs prefix=/
> 
> When I start cvsupd -b /usr/local/etc/cvsup -C 1 -l 
> /dev/stdout, I get:
> # Listen failed: Port in use
> 
> I checked the handbook section on cvsup, may have missed the 
> answer, but
> no joy.
> Can anyone point me to my error?

I have some further info...
'Listen failed: Port in use' is no longer an issue, I changed the cvsupd
command to:
# cvsupd -l /dev/stdout
Which makes it serve 1 client and then exit.

The issue now is that I cannot update /usr/local/etc.
After re-reading man cvsupd, I have done the following on curly:

# rm -dr /usr/local/etc/cvsup/sup/usr
# cd /usr/local/etc/cvsup/sup
# mkdir local
# cd local
# echo "local list=local prefix=/usr/local/etc" > releases
# echo "upgrade local" > local.cvs
# echo "rsymlink *" >> local.cvs

And on larry, I edited my /etc/mirror-supfile to include:
*default base=/disk2
*default release=local
Local

Now cvsupd runs successfully on curly, *but* it shows:
0Kin+0Kout local/local
And no files are transferred from curly /usr/local/etc to larry /disk2/

What am I doing wrong?


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


SOLVED RE: Mirroring another machine w/ cvsup

2003-09-25 Thread Charles Howse
> > Hi,
> > I have 2 FBSD 4.8-RELEASE-p7 machines side-by-side on a 
> home network,
> > curly and larry.
> > I want to mirror some directories from curly to larry with 
> cvsup as an
> > exercise and as a backup.
> > 
> > The directories on curly I want to mirror are:
> > /root, /seeds, and /etc.
> > 
> > I have those working perfectly, now I want to add /usr/local/etc.
> > 
> > I created the directory 
> > /usr/local/etc/cvsup/sup/usr/local/etc on curly.
> > I created /usr/local/etc/cvsup/sup/usr/local/etc/etc.cvs and
> > /usr/local/etc/cvsup/sup/usr/local/etc/releases.
> > 
> > etc.cvs contains the lines:
> > Upgrade usr/local/etc
> > Rsymlink *
> > 
> > Releases contains the line:
> > Usr/local/etc list=etc.cvs prefix=/
> > 
> > When I start cvsupd -b /usr/local/etc/cvsup -C 1 -l 
> > /dev/stdout, I get:
> > # Listen failed: Port in use
> > 
> > I checked the handbook section on cvsup, may have missed the 
> > answer, but
> > no joy.
> > Can anyone point me to my error?
> 
> I have some further info...
> 'Listen failed: Port in use' is no longer an issue, I changed 
> the cvsupd
> command to:
> # cvsupd -l /dev/stdout
> Which makes it serve 1 client and then exit.
> 
> The issue now is that I cannot update /usr/local/etc.
> After re-reading man cvsupd, I have done the following on curly:
> 
> # rm -dr /usr/local/etc/cvsup/sup/usr
> # cd /usr/local/etc/cvsup/sup
> # mkdir local
> # cd local
> # echo "local list=local prefix=/usr/local/etc" > releases
> # echo "upgrade local" > local.cvs
> # echo "rsymlink *" >> local.cvs
> 
> And on larry, I edited my /etc/mirror-supfile to include:
> *default base=/disk2
> *default release=local
> Local
> 
> Now cvsupd runs successfully on curly, *but* it shows:
> 0Kin+0Kout local/local
> And no files are transferred from curly /usr/local/etc to 
> larry /disk2/
> 
> What am I doing wrong?

I finally got it!
I changed the 'releases' file:
Local list=local.cvs prefix=/usr

Now it copies everything in curly /usr/local/ to larry /disk2/local/
After I think about it, even though that's more than I wanted
(/usr/local/etc), it's good to backup everything there, so I'm
satisfied.


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


RE: iso-8x16 and mc

2003-09-27 Thread Charles Howse
> I know I can set "keymap=us.iso" and "font8x16=iso-8x16" in 
> /etc/rc.conf
> and have accented letters. Nice. As a European I kind of need this.
> However, doing so, I loose a nice directory screen in Midnight
> Commander. The 'lines' are gone. Yeah I know I can run mc w/ the -a
> option to disable the graphic chars, but I was wandering: is it not
> possible to change some kind of compile option in mc to have graphic
> chars AND the iso-8x16 font?
> 
> Or is the only way to accomplish this a hack of the keymaps file?

Regarding your Midnight Commander question, they have a mailing list at:

  http://mail.gnome.org/mailman/listinfo/mc

They are quick to answer. :-) 


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


Comparing buildworld times on twin machines

2003-09-28 Thread Charles Howse
Hi,
I have 2 machines on my home network with (almost) identical hardware.
They both have Celeron 300, same motherboards, same BIOS, same options
set in BIOS, etc.
Same make.conf, same kernel config.  
I kill [EMAIL PROTECTED] before starting on each machine.
The only difference is that curly has 128 MB ram where larry has only
64.

They *do not*, however have identical hard drives, even though each
machine has 2 drives, with /usr/obj on the second drive of each machine.

When I buildworld, I use the following command, and write the output to
'$blog'.

[portion of script omitted, entire script is attached as update1.sh]

\time -aho $$blog make buildworld

[snip]

Larry can buildworld in 1 hr 57 mins.
It takes curly 3 hrs 16 mins, even though curly has twice the ram.

If I watch the compile, with one eye on the disk activity light, it
seems to me that the process is largely CPU intensive, therefore I would
expect that the buildworld times should be roughly equal.

1) How can I determine what might be causing curly to take so long
compared to larry?

2) Since curly runs httpd, and vsftpd, is it acceptable to run the
entire build/install process in single-user mode in order to prevent
other processes from eating CPU cycles?



Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


RE: Comparing buildworld times on twin machines

2003-09-28 Thread Charles Howse
> On Sunday 28 September 2003 12:37 pm, Charles Howse wrote:
> > Hi,
> > I have 2 machines on my home network with (almost) identical
> > hardware. They both have Celeron 300, same motherboards, same BIOS,
> > same options set in BIOS, etc.
> > Same make.conf, same kernel config.
> > I kill [EMAIL PROTECTED] before starting on each machine.
> > The only difference is that curly has 128 MB ram where 
> larry has only
> > 64.
> >
> > They *do not*, however have identical hard drives, even though each
> > machine has 2 drives, with /usr/obj on the second drive of each
> > machine.
> >
> > When I buildworld, I use the following command, and write the output
> > to '$blog'.
> >
> > [portion of script omitted, entire script is attached as update1.sh]
> >
> > \time -aho $$blog make buildworld
> >
> > [snip]
> >
> > Larry can buildworld in 1 hr 57 mins.
> > It takes curly 3 hrs 16 mins, even though curly has twice the ram.
> >
> > If I watch the compile, with one eye on the disk activity light, it
> > seems to me that the process is largely CPU intensive, therefore I
> > would expect that the buildworld times should be roughly equal.
> >
> > 1) How can I determine what might be causing curly to take so long
> > compared to larry?
> >
> > 2) Since curly runs httpd, and vsftpd, is it acceptable to run the
> > entire build/install process in single-user mode in order to prevent
> > other processes from eating CPU cycles?
> >
> >
> 
> On my systems, which all run setiathome, I only see a few percent 
> variation in buildworld time with seti running. I start 
> setiathome with 
> a -nice 19 so that it doesn't interfere.

Me, too.

> You might be able to see some of the processes running using top. You 
> could always stop apache.

True, I could do that, but what is your opinion on running the entire
build/install process from single-user mode? (my original question)

> I kind of wonder if you have cache turned on in the cpu. That much 
> difference is pretty hard to come up with unless your 2 daemons are 
> interfering. You might see that running top. Watch the swap to see if 
> anything is happening.

Oh, gz, technical stuff!  ;-)  I'm a real dumbass in the BIOS.  I
just select "Load High Performance Settings" on each machine, and then
change the boot order to my liking.
I did notice that 'internal cache' is set to 'write-back'.
Am I on the right track?  
*Exactly* how do I watch the swap...in top?



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


RE: Comparing buildworld times on twin machines

2003-09-28 Thread Charles Howse
> On Sunday 28 September 2003 01:28 pm, Charles Howse wrote:
> > > On Sunday 28 September 2003 12:37 pm, Charles Howse wrote:
> > > > Hi,
> > > > I have 2 machines on my home network with (almost) identical
> > > > hardware. They both have Celeron 300, same motherboards, same
> > > > BIOS, same options set in BIOS, etc.
> > > > Same make.conf, same kernel config.
> > > > I kill [EMAIL PROTECTED] before starting on each machine.
> > > > The only difference is that curly has 128 MB ram where
> > >
> > > larry has only
> > >
> > > > 64.
> > > >
> > > > They *do not*, however have identical hard drives, even though
> > > > each machine has 2 drives, with /usr/obj on the second drive of
> > > > each machine.
> > > >
> > > > When I buildworld, I use the following command, and write the
> > > > output to '$blog'.
> > > >
> > > > [portion of script omitted, entire script is attached as
> > > > update1.sh]
> > > >
> > > > \time -aho $$blog make buildworld
> > > >
> > > > [snip]
> > > >
> > > > Larry can buildworld in 1 hr 57 mins.
> > > > It takes curly 3 hrs 16 mins, even though curly has twice the
> > > > ram.
> > > >
> > > > If I watch the compile, with one eye on the disk activity light,
> > > > it seems to me that the process is largely CPU intensive,
> > > > therefore I would expect that the buildworld times should be
> > > > roughly equal.
> > > >
> > > > 1) How can I determine what might be causing curly to take so
> > > > long compared to larry?
> > > >
> > > > 2) Since curly runs httpd, and vsftpd, is it acceptable to run
> > > > the entire build/install process in single-user mode in order to
> > > > prevent other processes from eating CPU cycles?
> > >
> > > On my systems, which all run setiathome, I only see a few percent
> > > variation in buildworld time with seti running. I start
> > > setiathome with
> > > a -nice 19 so that it doesn't interfere.
> >
> > Me, too.
> >
> > > You might be able to see some of the processes running using top.
> > > You could always stop apache.
> >
> > True, I could do that, but what is your opinion on running 
> the entire
> > build/install process from single-user mode? (my original question)
> 
> That would work but I run my buildworlds from a consol in KDE and I 
> don't see that much difference and running it with KDE 
> stopped. Running 
> it single user mode may be faster than shutting apache down. But then 
> you won't know what caused it to begin with. 
> 
> I have scripts in /root/bin to start and stop it and start 
> it. They are
> 
> # cat startapache
> #! /bin/sh
> /usr/local/sbin/apachectl start
> 
> # cat stopapache
> #! /bin/sh
> /usr/local/sbin/apachectl stop
> 
> >
> > > I kind of wonder if you have cache turned on in the cpu. That much
> > > difference is pretty hard to come up with unless your 2 
> daemons are
> > > interfering. You might see that running top. Watch the swap to see
> > > if anything is happening.
> >
> > Oh, gz, technical stuff!  ;-)  I'm a real dumbass in 
> the BIOS.  I
> > just select "Load High Performance Settings" on each machine, and
> > then change the boot order to my liking.
> > I did notice that 'internal cache' is set to 'write-back'.
> > Am I on the right track?
> 
> I think that performance would turn things on. You may have a 
> bad cache 
> but that isn't what I would look at first. Not all Celerons have the 
> same kind of cache. I gave a Celeron 433a, which had the on board 
> cache, to some friends that needed a computer. I had swapped 
> it out and 
> all the needed to do was buy a montior.
> 
> Using PC-100 memory is about 15% faster than PC-66 memory. 
> This was the 
> difference in accumulated wu processing time for seti on 2xx wus with 
> the different speed memory. Jumping up to PC-133 didn't change 
> anything. That is like getting a cpu upgrade for just a few 
> $s. A 128MB 
> pc-100 sdimm runs around $35 at Best Buy and you know you can 
> do better 
> than that off of the Internet.
> 
> > *Exactly* how do I watch the swap...in top?
> >
> 
> Watch top and see if something is forcing processes to swap 
> by watching 
> the swap line of information. 
> 
> You can also see if apache is accruing time while you do the 
> build. It 
> shows you the processes as they accrue time and which one is 
> getting a 
> lot of time is what you are looking for. You can't do this in single 
> user mode because you only have the console.

Very good, thanks for your input!



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


RE: Comparing buildworld times on twin machines

2003-09-28 Thread Charles Howse
> At 2003-09-28T19:37:37Z, "Charles Howse" <[EMAIL PROTECTED]> writes:
> 
> > The only difference is that curly has 128 MB ram where 
> larry has only 64.
> 
> Is the RAM of the exact same type on both machines, i.e. 
> 133MHz non-ECC
> vs. 100MHz ECC?

The first 64 MB on each machine is identical.
The additional 64 MB on curly is a spare stick I had laying around.
I said to myself, "I wonder if this ram will work in curly?"
 


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


Cgi help - malformed header from script. Bad header

2003-09-30 Thread Charles Howse
Hi,
FBSD 4.8-RELEASE-p10, Apache2.

My first cgi-bin program.
I have the following files in /usr/local/www/cgi-bin:
Cal (-rwxr-xr-x)
Calendar (-rw-r--r-- typical calendar file to display 'today in
history')

Cal contains the following lines:
#!/bin/sh
echo Content-type: text/plain
/usr/bin/calendar
--
If I cd to /usr/loca/www/cgi-bin, and do ./cal,
I get the echo, plus the expected output.

When I request, http://howse.no-ip.org/cgi-bin/cal
I get an Internal Server Error.
The error logfile says:
Malformed header from script. Bad header=Oct 1  Jimmy Carter born,
192,:cal

ScriptAlias is defined properly in httpd.conf, and I get the proper
output from test-cgi.

I've read the Apache2 documentation on CGI, and troubleshooting errors,
no joy.

How can I fix this?


Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


RE: Cgi help - malformed header from script. Bad header

2003-09-30 Thread Charles Howse
> On Tue, 2003-09-30 at 14:01, Charles Howse wrote:
> > Hi,
> > FBSD 4.8-RELEASE-p10, Apache2.
> > 
> > My first cgi-bin program.
> > I have the following files in /usr/local/www/cgi-bin:
> > Cal (-rwxr-xr-x)
> > Calendar (-rw-r--r-- typical calendar file to display 'today in
> > history')
> > 
> > Cal contains the following lines:
> > #!/bin/sh
> > echo Content-type: text/plain
> > /usr/bin/calendar
> > --
> > If I cd to /usr/loca/www/cgi-bin, and do ./cal,
> > I get the echo, plus the expected output.
> > 
> > When I request, http://howse.no-ip.org/cgi-bin/cal
> > I get an Internal Server Error.
> > The error logfile says:
> > Malformed header from script. Bad header=Oct 1  Jimmy 
> Carter born,
> > 192,:cal
> > 
> > ScriptAlias is defined properly in httpd.conf, and I get the proper
> > output from test-cgi.
> > 
> > I've read the Apache2 documentation on CGI, and 
> troubleshooting errors,
> > no joy.
> > 
> > How can I fix this?
> > 
> > 
> Hi, 
> 
> Header and content of the HTTP response have to be separated 
> by an empty
> line.
> 
> #!/bin/sh
> echo Content-type: text/plain
> echo ""
> /usr/bin/calendar
> 
> should work.

Hoooray!  It works now!  Thanks to all who responded.

NOW...take a look at http://howse.no-ip.org
And then look at http://howse.no-ip.org/cgi-bin/cal

Where is the documentation on how to get the calendar info into a web
page that looks like my default?


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


SOLVED RE: Cgi help - malformed header from script. Bad header

2003-09-30 Thread Charles Howse
> > On Tue, 2003-09-30 at 14:01, Charles Howse wrote:
> > > Hi,
> > > FBSD 4.8-RELEASE-p10, Apache2.
> > > 
> > > My first cgi-bin program.
> > > I have the following files in /usr/local/www/cgi-bin:
> > > Cal (-rwxr-xr-x)
> > > Calendar (-rw-r--r-- typical calendar file to display 'today in
> > > history')
> > > 
> > > Cal contains the following lines:
> > > #!/bin/sh
> > > echo Content-type: text/plain
> > > /usr/bin/calendar
> > > --
> > > If I cd to /usr/loca/www/cgi-bin, and do ./cal,
> > > I get the echo, plus the expected output.
> > > 
> > > When I request, http://howse.no-ip.org/cgi-bin/cal
> > > I get an Internal Server Error.
> > > The error logfile says:
> > > Malformed header from script. Bad header=Oct 1Jimmy 
> > Carter born,
> > > 192,:cal
> > > 
> > > ScriptAlias is defined properly in httpd.conf, and I get 
> the proper
> > > output from test-cgi.
> > > 
> > > I've read the Apache2 documentation on CGI, and 
> > troubleshooting errors,
> > > no joy.
> > > 
> > > How can I fix this?
> > > 
> > > 
> > Hi, 
> > 
> > Header and content of the HTTP response have to be separated 
> > by an empty
> > line.
> > 
> > #!/bin/sh
> > echo Content-type: text/plain
> > echo ""
> > /usr/bin/calendar
> > 
> > should work.
> 
> Hoooray!  It works now!  Thanks to all who responded.
> 
> NOW...take a look at http://howse.no-ip.org
> And then look at http://howse.no-ip.org/cgi-bin/cal
> 
> Where is the documentation on how to get the calendar info 
> into a web page that looks like my default?

I'll post the details if anyone's interested, just wanted to let the
list know there is no need for further replies to this thread.  :-)


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


  1   2   3   4   >