Re: Are people trying to relay mail through my system?

2023-09-25 Thread Rick Macdonald



On 9/25/23 17:11, Greg Wooledge wrote:

On Mon, Sep 25, 2023 at 04:49:52PM -0600, Rick Macdonald wrote:

Lastly, do I understand correctly that the root of this whole issue is
simply misformed headers in the original spam mail that I receive at my
Dreamhost account? Oh, and does all this lead to the "Frozen Message" emails
I receive (described in a prior email)?

I'm not an exim expert, but it seems the fundamental issue here is
that your actual receiving MTA (Dreamhost) accepted these messages,
but your local exim MTA refused to accept them.  Fetchmail kept trying
to move the messages from the former to the latter, which failed each
time, and caused exim to generate a new bounce message.  Each time.

The same issue would have arisen in any situation where the first MTA
and the second MTA have differing acceptance criteria.  Could be syntax
errors, could be antispam policy, could be anything that's different
between the two MTAs.

One of the big revelations in email administration in the last few
decades is that the original SMTP design, in which messages were
accepted liberally, with bounces generated after the fact if deliveries
were not possible, was flawed.  It led to many kinds of abuse by
malicious senders.

The preferred policy nowadays is to perform all possible checks *during*
the initial SMTP conversation.  If a message fails to meet acceptance
criteria for any reason, it should be rejected during that initial
conversation.  Generating a bounce message almost always ends up sending
spam to an innocent third party address, which the malicious sender has
forged.

How this relates to fetchmail and exim, specifically, I can't say.  These
aren't tools I'm deeply familiar with.  But if you can do it, try to
arrange it so that any message that can't be accepted gets dropped into
a black hole, rather than generating a bounce message.


Thanks Greg. Your summary matches my new understanding. I looked at the 
Dreamhost mail options and don't see where I can change anything, so the 
next time I get an email stuck there I'll try adding the fetchmail 
--nosoftbounce option which should quietly delete the bad message on the 
server, and stop any future bounce messages.


Rick







Re: Are people trying to relay mail through my system?

2023-09-25 Thread Rick Macdonald


On 9/25/23 14:58, Rick Macdonald wrote:
Some of the mail in the queue is up to 4 days old. I'm going to clear 
it all out to see what new arrives in this state.


I've made a bit of progress.

First, I deleted the almost 6000 messages in the mail queue:

# mailq | grep 1q | cut -c11-26 | xargs exim4 -Mrm

Then I noticed that I was still getting more, but always the same 4 
messages. I checked on the Dreamhost server where I pull my mail from 
and sure enough found those 4 messages "stuck" there. I deleted the 4 
from Dreamhost, and now all is quiet for the moment.


These 4 messages were all spam. I think the mail in the "mailq" kept 
growing because fetchmail was repeatedly trying but failing to retrieve 
the same messages over and over.


I see a fetchmail option that might help, but I'm wondering if I might 
then lose some non-spam problematic mail that fetchmail can't fetch?



*--nosoftbounce*
(since v6.3.10, Keyword: set no softbounce, since v6.3.10)
Hard bounce mode. All permanent delivery errors cause messages to
be deleted from the upstream server, see "no softbounce" below. 
*--softbounce*

(since v6.3.10, Keyword: set softbounce, since v6.3.10)
Soft bounce mode. All permanent delivery errors cause messages to
be left on the upstream server if the protocol supports that.
Default to match historic fetchmail documentation, to be changed
to hard bounce mode in the next fetchmail release. 



I'm running fetchmail v6.4.37. It appears that --softbounce is still the 
default. Since they intend to change the default someday to 
--nosoftbounce, maybe this option isn't as dangerous as it sounds to me?


Lastly, do I understand correctly that the root of this whole issue is 
simply misformed headers in the original spam mail that I receive at my 
Dreamhost account? Oh, and does all this lead to the "Frozen Message" 
emails I receive (described in a prior email)?


Rick

Re: Are people trying to relay mail through my system?

2023-09-25 Thread Rick Macdonald



On 9/25/23 14:25, Andy Smith wrote:

Hi Rick,

Your system has rejected a spam email, not because it worked out it
was spam, but because it was syntactically invalid. That's good, but
unfortunately your system decided to helpfully tell the (spam)
sender what had happened, by trying to send this bounce message
back:

On Mon, Sep 25, 2023 at 12:24:52PM -0600, Rick Macdonald wrote:

# exim4 -Mvb 1qkOYj-001Hnf-2V

1qkOYj-001Hnf-2V-D
--foo-mani-padme-hum-306716-2546159-1695559801
Content-Type: text/plain

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error.

Reason: General SMTP/ESMTP error.

The following address(es) failed:
rickm@localhost
    SMTP error: 550 header syntax

--foo-mani-padme-hum-306716-2546159-1695559801
Content-Type: message/delivery-status

Reporting-MTA: dns; timshel

Final-Recipient: rfc822; rickm@localhost
Last-Attempt-Date: Sun, 24 Sep 2023 06:50:01 -0600 (MDT)
Action: failed
Status: 5.0.0
Diagnostic-Code: 550 header syntax

--foo-mani-padme-hum-306716-2546159-1695559801
Content-Type: text/rfc822-headers

X-Original-To: ri...@timshel.ca
Delivered-To: x2959...@pdx1-sub0-mail-mx207.dreamhost.com
Received: from tulsa.turntext.co (unknown [104.234.25.229])
     by pdx1-sub0-mail-mx207.dreamhost.com (Postfix) with ESMTP id
4RtbVJ37KPz6m2v
     for ; Sat, 23 Sep 2023 23:20:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1; d=turntext.co;
  h=Mime-Version:Content-Type:Date:From:Reply-To:Subject:To:Message-ID;
i=wornkneecartil...@turntext.co;
  bh=CBxd431jRA2owpgtRRwIfhh07HQ=;
  b=gHSMnk0fIYnLGQMVojCZV3z41dNcSDXALZjYjGOQIeWpdDRnH1sBJQfHSP1kzPxUfJa/crsQxxk0
EEY0hk6SjSg1YMK0YDqaT3OXZpz67fAgfVqbB+/ZLA7peSq+mggzKwXIfesN5AC+H7c6pFd6rOii
    E7T+FwmD2FKVnP6z0is=
DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=k1; d=turntext.co;
  b=FZY5bgp2/ypBd4Xc/Efzs345ind+OlkYi2NY3G5/m9tEesrUIeIGeE3JR8wlb2+gDhJDNA2BmzYx
53+nwYoiSBgyl/seZvILf1Ojhxg2y0YQWVwzF4LYDunZHfOV8RsiXxhHwL+xjbcTK3zPuKvdOjRF
    1yRVz4iZe7AkjSr5Veo=;
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="21ceb14ceae19fd582462d70f2ee8d8a"
Date: Sat, 23 Sep 2023 23:19:41 -0700
From: "Knee Hurts?" 
Reply-To: "Knee Hurts?" 

One of those two are probably the headers that your Exim objects to,
since they have spaces in the local parts of the address without
quoting.

The whole emails are of course, unwanted spam.

Your other problem, and the reason you have noticed this, is that
your smarthost does not want to accept these helpful bounce messages
that you are generating. They are using a temporary failure code
(451) but their mention of the "AUP" string leads me to believe that
they may suspect the messages are spam or spam-related and want
nothing to do with them.

Either way, they are useless messages and you should stop trying
to send them.


If my system is trying to reply tho them, should I stop it from trying to
reply? (Of course I don't know how to do that!)

You can remove them from your mail queue with:

# eim4 -Mrm 

You can get the ids from the "mailq" command or reading your logs.
You can specify multiple ids per command line.

After doing that you may want to look into how you can avoid sending
bounce messages to emails that your system doesn't want to accept.
These bounce messages are happening outside of the original SMTP
connection (which was between the sender and the MX for your
domain) and are generally "too little, too late". Additionally, it
seems like you may be sending them as rickm@localhost, which is not
helpful even when they are justified.

I'm afraid I'm not familiar with your setup so wouldn't know how to
configure that.


The mailq command shows many of the following:

16m  2.6K 1qks1r-005B1x-2l <>
  6626-879-8427-40-rickm=timshel...@mail.purecuresol.co

15m  3.1K 1qks2o-005BHh-0S <>
  bounce+c764ac.103fa-rickm=timshel...@inputhealth.com

15m  2.6K 1qks2o-005BI0-2K <>
  6595-611-17423-903-rickm=timshel...@mail.turntext.co

15m  2.7K 1qks2p-005BIG-0u <>
  6613-452-119912-590-rickm=timshel...@mail.ikariacool.co

15m  2.6K 1qks2p-005BIL-2m <>
  6626-879-8427-40-rickm=timshel...@mail.purecuresol.co
...etc...
 2m  2.7K 1qksFP-005Hqj-0e <> *** frozen ***
  6613-452-119912-590-rickm=timshel...@mail.ikariacool.co

 2m  2.6K 1qksFP-005Hqs-2U <> *** frozen ***
  6626-879-8427-40-rickm=timshel...@mail.purecuresol.co

 1m  3.1K 1qksGL-005IAq-2A <> *** frozen ***
  bounce+c764ac.103fa-rickm=timshel...@inputhealth.com

 1m  2.6K 1qksGM-005IBF-0n <> *** frozen ***
  6595-611-17423-903-rickm=timshel...@mail.turntext.co

 1m  2.7K 1qksGM-005IBh-2h <> *** frozen ***
  6613-452-119912-590-rickm=timshel...@mail.ikariacool.co

 1m  2.6K 1qksGN-005IBo-1O <> *** froze

Re: Are people trying to relay mail through my system?

2023-09-25 Thread Rick Macdonald



On 9/25/23 12:42, Michael Kjörling wrote:


The following address(es) failed:
rickm@localhost
    SMTP error: 550 header syntax

So something running on your local system almost certainly tried to
send mail to either "rickm" or "rickm@localhost", and that triggered
queuing the non-delivery notice which you're seeing evidence of in
your outgoing mail logs.

Do you have something like fetchmail set up in multidrop mode, any
forwarding procmail rules, spam filtering, or anything similar,
especially ones that would be triggered by something being sent to...


Not multi-drop mode, no forwarding procmail rules: only delivery to mail 
folders (and a few to /dev/null).


I did find that I had Thunderbird Return Receipts turned on for some 
cases. I thought it was set to "always ask me". I've used Thunderbird 
forever, and it's asked me maybe once. However, I see now something that 
I missed understanding:



If I'm not in the To or Cc of the message: Ask me


These spam emails would have me in the To field. Could this be the 
origin of these reply attempts?


I've now set it to "Never", but based on your comments and Andy's, this 
doesn't seem to be the source of the messages?


Rick



Re: Are people trying to relay mail through my system?

2023-09-25 Thread Rick Macdonald



On 9/25/23 08:29, Michael Kjörling wrote:

On 24 Sep 2023 20:58 -0600, from rickm...@shaw.ca (Rick Macdonald):

My /var/log/.exim4/log file is flooded with messages such as shown below.
I'm not trying to send mail to any of those .co or .com addresses. I use my
ISP (shaw.ca cable provider) as a smarthost.

Are people trying to use my system as a relay?

The log snippet you show doesn't include enough information to tell
for certain where those emails were originally accepted from, but
given what you wrote I wouldn't dismiss the possibility out of hand.


I've sent some more log info just now in a reply to Andy Smith.


If so, can I block them
without cutting myself off from remote access to the IMAP server I run on my
system?

You don't seem to be exposing any SMTP server to the outside world, so
I don't know what might reasonably be going on. Otherwise blocking off
TCP ports 25 and 587 would probably have been a good place to start.

Sorry if I sound lame. I set this up over 20 years ago and haven't done
anything to it since.

If you set it up in the early 2000s and haven't done anything since
then, there's certainly a non-zero probability that it's set up as an
open relay. But although that's a potential problem, it would only be
a _big_ problem if it was accessible from outside of your network,
which does not _immediately_ appear to be the case.


Ports 25 and 587 are not forwarded by my ASUS router. They may well have 
been back in the day.



However, on a semi-unrelated note, you might want to make sure that
the firmware and software is up to date on everything you _do_ expose
to the Internet. It looks like ASUS' web server has had stack-smashing
vulnerabilities previously (not sure if the RT-AC66U is affected), and
whatever is running through Restlet Framework on port 23424 reports a
version of server software that hasn't been updated since 2014. And
that's just some of what I plausibly found barely looking.


Well spotted! Port 23424 was for a server that I stopped running just 
last week. I have now removed it from my port forwarding.


Thanks Michael!

Rick



Re: Are people trying to relay mail through my system?

2023-09-25 Thread Rick Macdonald



On 9/25/23 10:03, Andy Smith wrote:

Hi Rick,

On Sun, Sep 24, 2023 at 08:58:04PM -0600, Rick Macdonald wrote:

2023-09-24 20:48:37 1qkRDH-001Zqh-1Z ==
6626-879-8427-40-rickm=timshel...@mail.purecuresol.co R=smarthost
T=remote_smtp_smarthost defer (-54): retry time not reached for any host for
'mail.purecuresol.co'

There isn't anything shown except delivery attempts so we can';t see
how these messages got in to your system. You can see all logs
related to this message with:

# exim4 -Mvl 1qkOYj-001Hnf-2V

and view its headers and body with "-Mvh" and "-Mvb" respectively.
That might give you some more hints.



Thanks Andy!  Here are those lists:

# exim4 -Mvl 1qkOYj-001Hnf-2V

2023-09-24 06:50:01 Received from <> H=(timshel) [::1] P=smtp S=2662
2023-09-24 06:50:05 H=shawmail.glb.shawcable.net [64.59.128.135]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 06:50:08 H=shawmail.glb.shawcable.net [64.59.136.142]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 06:50:08 6595-611-17423-903-rickm=timshel...@mail.turntext.co 
R=smarthost T=remote_smtp_smarthost defer (-45) 
H=shawmail.glb.shawcable.net [64.59.136.142]: SMTP error from remote 
mail server after MAIL FROM:<> SIZE=3752: 451 <> server temporarily 
unavailable. AUP#MXRT
2023-09-24 07:38:45 H=shawmail.glb.shawcable.net [64.59.128.135]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 07:38:48 H=shawmail.glb.shawcable.net [64.59.136.142]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 07:38:48 6595-611-17423-903-rickm=timshel...@mail.turntext.co 
R=smarthost T=remote_smtp_smarthost defer (-45) 
H=shawmail.glb.shawcable.net [64.59.136.142]: SMTP error from remote 
mail server after MAIL FROM:<> SIZE=3752: 451 <> server temporarily 
unavailable. AUP#MXRT
2023-09-24 07:56:28 H=shawmail.glb.shawcable.net [64.59.136.142]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 07:56:31 H=shawmail.glb.shawcable.net [64.59.128.135]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 07:56:31 6595-611-17423-903-rickm=timshel...@mail.turntext.co 
R=smarthost T=remote_smtp_smarthost defer (-45) 
H=shawmail.glb.shawcable.net [64.59.128.135]: SMTP error from remote 
mail server after MAIL FROM:<> SIZE=3752: 451 <> server temporarily 
unavailable. AUP#MXRT
2023-09-24 08:37:50 H=shawmail.glb.shawcable.net [64.59.136.142]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 08:37:53 H=shawmail.glb.shawcable.net [64.59.128.135]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 08:37:53 6595-611-17423-903-rickm=timshel...@mail.turntext.co 
R=smarthost T=remote_smtp_smarthost defer (-45) 
H=shawmail.glb.shawcable.net [64.59.128.135]: SMTP error from remote 
mail server after MAIL FROM:<> SIZE=3752: 451 <> server temporarily 
unavailable. AUP#MXRT
2023-09-24 09:23:46 H=shawmail.glb.shawcable.net [64.59.128.135]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 09:23:49 H=shawmail.glb.shawcable.net [64.59.136.142]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 09:23:49 6595-611-17423-903-rickm=timshel...@mail.turntext.co 
R=smarthost T=remote_smtp_smarthost defer (-45) 
H=shawmail.glb.shawcable.net [64.59.136.142]: SMTP error from remote 
mail server after MAIL FROM:<> SIZE=3752: 451 <> server temporarily 
unavailable. AUP#MXRT
2023-09-24 10:54:59 H=shawmail.glb.shawcable.net [64.59.136.142]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 10:55:02 H=shawmail.glb.shawcable.net [64.59.128.135]: SMTP 
error from remote mail server after MAIL FROM:<> SIZE=3752: 451 <> 
server temporarily unavailable. AUP#MXRT
2023-09-24 10:55:02 6595-611-17423-903-rickm=timshel...@mail.turntext.co 
R=smarthost T=remote_smtp_smarthost defer (-45) 
H=shawmail.glb.shawcable.net [64.59.128.135]: SMTP error from remote 
mail server after MAIL FROM:<> SIZE=3752: 451 <> server temporarily 
unavailable. AUP#MXRT
2023-09-24 12:50:28 H=shawmail.glb.shawcable.net [64.59.136.142]: SMTP 
error from remote mail server after MAIL FROM:&

Are people trying to relay mail through my system?

2023-09-24 Thread Rick Macdonald



My /var/log/.exim4/log file is flooded with messages such as shown 
below. I'm not trying to send mail to any of those .co or .com 
addresses. I use my ISP (shaw.ca cable provider) as a smarthost.


Are people trying to use my system as a relay? If so, can I block them 
without cutting myself off from remote access to the IMAP server I run 
on my system?


Sorry if I sound lame. I set this up over 20 years ago and haven't done 
anything to it since.


2023-09-24 20:48:37 1qkRDH-001Zqh-1Z == 
6626-879-8427-40-rickm=timshel...@mail.purecuresol.co R=smarthost 
T=remote_smtp_smarthost defer (-54): retry time not reached for any host 
for 'mail.purecuresol.co'
2023-09-24 20:48:37 1qkOYj-001Hnf-2V == 
6595-611-17423-903-rickm=timshel...@mail.turntext.co R=smarthost 
T=remote_smtp_smarthost defer (-54): retry time not reached for any host 
for 'mail.turntext.co'
2023-09-24 20:48:37 1qkLEb-000vn2-2D == 
bounce+c764ac.103fa-rickm=timshel...@inputhealth.com R=smarthost 
T=remote_smtp_smarthost defer (-54): retry time not reached for any host 
for 'inputhealth.com'
2023-09-24 20:48:37 1qk8eb-00HQEW-2o == 
bounce+c764ac.103fa-rickm=timshel...@inputhealth.com R=smarthost 
T=remote_smtp_smarthost defer (-54): retry time not reached for any host 
for 'inputhealth.com'
2023-09-24 20:48:37 1qkRGA-001aA2-2k == 
6613-452-119912-590-rickm=timshel...@mail.ikariacool.co R=smarthost 
T=remote_smtp_smarthost defer (-54): retry time not reached for any host 
for 'mail.ikariacool.co'
2023-09-24 20:48:37 1qkDDB-000ChQ-2S == 
bounce+c764ac.103fa-rickm=timshel...@inputhealth.com R=smarthost 
T=remote_smtp_smarthost defer (-54): retry time not reached for any host 
for 'inputhealth.com'
2023-09-24 20:48:37 1qkZIY-002gsG-0D == 
6613-452-119912-590-rickm=timshel...@mail.ikariacool.co R=smarthost 
T=remote_smtp_smarthost defer (-54): retry time not reached for any host 
for 'mail.ikariacool.co'


Rick



Re: upgrade to bookworm broke phpmyadmin

2023-08-24 Thread Rick Macdonald



On 8/24/23 07:53, Stefan Monnier wrote:

So, given that I purged everything and re-installed and it still didn't
work, is this indeed a packaging error? I've been running Debian for well
over 25 years (I started with a pre-release before buzz was released) and
I don't remember anything that didn't work after installing.

I don't know the history of this precise thingy, but there can be valid
reasons to install both PHP and Apache, yet not to intend to run PHP
from Apache or not in the way that `a2enmod php8.2` does (especially
given the security risks it entails).

I have a vague recollection of having to explicitly enable/activate PHP
support in Apache's config many years ago, so I believe this is not
a new requirement.


Fair enough, but if somebody installs the phpmyadmin package, which 
requires both PHP and Apache, clearly the intention is to "run PHP from 
Apache in the way that `a2enmod php8.2` does".


So, I finally found the following in 
/usr/share/doc/phpmyadmin/README.Debian:



phpmyadmin for Debian
-


USAGE

  The application will be available at http://localhost/phpmyadmin/
  after install if you use one of supported web servers (Apache and 
Lighttpd

  at time of writing this). Please note that you need to have enabled PHP
  support in your webserver (for Apache you can do this by a2enmod 
php8.2, for

  Lighttpd by lighty-enable-mod fastcgi).


I've been running phpmyadmin for years, so I can't swear I didn't 
manually enable this back in the day. I've done other Debian releases 
along the way but it never broke before.


However, I'm perfectly happy to say it's "my bad": for not scouring 
through these doc files.


Thanks again to all, I REALLY do appreciate the help!

Rick



Re: upgrade to bookworm broke phpmyadmin

2023-08-23 Thread Rick Macdonald

On 8/23/23 18:14, Dan Ritter wrote:

Rick Macdonald wrote:

Silly me though, I see I didn't actually describe the failure when I try to
connect to localhost/phpmyadmin. The browser just opens and shows the text
of the file /usr/share/phpmyadmin/index.php. Is this a clue?

That generally means that the web server -- apache2? nginx? --
does not know how to hand the .php file off to a php processor.

For apache2, you would need to install libapache2-mod-php8.2 and
then run

a2enmod php8.2

and

service apache2 restart


Bingo! That's it! Thank-you so much, Dan!

libapache2-mod-php8.2 was already installed, so I just ran a2enmod and 
restarted.


So, given that I purged everything and re-installed and it still didn't 
work, is this indeed a packaging error? I've been running Debian for 
well over 25 years (I started with a pre-release before buzz was 
released) and I don't remember anything that didn't work after installing.


Rick



Re: upgrade to bookworm broke phpmyadmin

2023-08-23 Thread Rick Macdonald


On 8/23/23 11:03, Michael Kjörling wrote:



I don't use roundcube any more. Would it help to uninstall it? Although, at
the moment I have only php5.6 and php8.2 installed. I'm guessing the
bookworm upgrade removed php7.x.

I imagine that uninstalling roundcube won't do anything either way.
However, if it was me, unless there was some compelling reason to keep
it I'd consider uninstalling php5.6 and seeing if that helps.

Can't really help you further at this point because I've never
installed phpmyadmin myself; sorry.



I removed or purged roundecube, squirrelmail, phpmyadmin and every php5* 
package, then reinstall phpmyadmin. No change.


Silly me though, I see I didn't actually describe the failure when I try 
to connect to localhost/phpmyadmin. The browser just opens and shows the 
text of the file /usr/share/phpmyadmin/index.php. Is this a clue?



PHP 7.2.5+ is required.Currently installed version is: ' . 
PHP_VERSION . '');
}

// phpcs:disable PSR1.Files.SideEffects
define('PHPMYADMIN', true);
// phpcs:enable

require_once ROOT_PATH . 'libraries/constants.php';

/**
  * Activate autoloader
  */
if (! @is_readable(AUTOLOAD_FILE)) {
 die(
 'File ' . AUTOLOAD_FILE . ' missing or not 
readable.'
 . 'Most likely you did not run Composer to '
 . 'https://docs.phpmyadmin.net/en/latest/setup.html#installing-from-git;>'
 . 'install library files.'
 );
}

require AUTOLOAD_FILE;

global $route, $containerBuilder, $request;

Common::run();

$dispatcher = Routing::getDispatcher();
Routing::callControllerForRoute($request, $route, $dispatcher, 
$containerBuilder);


Rick

Re: upgrade to bookworm broke phpmyadmin

2023-08-23 Thread Rick Macdonald


On 8/22/23 03:08, Michael Kjörling wrote:

On 21 Aug 2023 20:00 -0600, fromrickm...@shaw.ca  (Rick Macdonald):

# dpkg-reconfigure phpmyadmin
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
dbconfig-common: flushing administrative password
apache2_invoke phpmyadmin: already enabled

$ dpkg -l php php8.2 phpmyadmin

Which exact version of each respective package is installed?


# dpkg -l php php8.2 phpmyadmin
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version Architecture Description
+++-==-===--===
ii  php    2:8.2+93    all  server-side, 
HTML-embedded scripting language (default)
ii  php8.2 8.2.7-1~deb12u1 all  server-side, 
HTML-embedded scripting language (metapackage)
ii  phpmyadmin 4:5.2.1+dfsg-1  all  MySQL web administration 
tool



Also

$ aptitude why php8.2


# aptitude why php8.2
i   roundcube  Depends roundcube-core (= 1.6.1+dfsg-1)
i A roundcube-core Depends php
i A php    Depends php8.2

I don't use roundcube any more. Would it help to uninstall it? Although, 
at the moment I have only php5.6 and php8.2 installed. I'm guessing the 
bookworm upgrade removed php7.x.



_IF_ the version of phpmyadmin which Bookworm ships doesn't work with
the version of PHP which Bookworm ships, that's at a minimum a
packaging bug. But that would be an awfully obvious one that a lot
more people should already have run into in that case, so I'm
reluctant to assume that that's the problem. I'm more inclined to
believe that maybe you're somehow running a non-Bookworm version of
phpmyadmin which for whatever reason doesn't work with PHP 8, or for
some reason your installation of phpmyadmin is being run through a
different version of PHP. Buster and Bullseye were both PHP 7.x; which
could help explain why it worked there but not after you upgraded to
Bookworm.



 Package phpmyadmin

 * buster-backports
   <https://packages.debian.org/buster-backports/phpmyadmin>(web):
   MySQL web administration tool
   4:5.0.4+dfsg2-2~bpo10+1: all
 * bullseye (oldstable)
   <https://packages.debian.org/bullseye/phpmyadmin>(web): MySQL web
   administration tool
   4:5.0.4+dfsg2-2+deb11u1: all
 * bullseye-backports
   <https://packages.debian.org/bullseye-backports/phpmyadmin>(web):
   MySQL web administration tool
   4:5.2.1+dfsg-1~bpo11+1: all
 * bookworm (stable)
   <https://packages.debian.org/bookworm/phpmyadmin>(web): MySQL web
   administration tool
   4:5.2.1+dfsg-1: all
 * trixie (testing)
   <https://packages.debian.org/trixie/phpmyadmin>(web): MySQL web
   administration tool
   4:5.2.1+dfsg-1: all
 * sid (unstable) <https://packages.debian.org/sid/phpmyadmin>(web):
   MySQL web administration tool
   4:5.2.1+dfsg-1: all

Rick

upgrade to bookworm broke phpmyadmin

2023-08-21 Thread Rick Macdonald
I've been running phpmyadmin for years. It survived the upgrade to 
bullseye about a month ago but now the upgrade to bookworm broke it.


I don't see any similar bug reports. I do see similar error messages 
around the web from over the years, but I don't expect to have to do a 
manual re-install or repair. I removed it and installed again, but the 
result is the same. My mariadb is accessible from other apps and the 
"mysql" command line program, so it's up and running. "Composer" as 
mentioned in the error message isn't something that I have installed.


PHP 8.2.7 is the default version of php.


PHP 7.2.5+ is required.

Currently installed version is: ' . PHP_VERSION . '

'); } // phpcs:disable PSR1.Files.SideEffects define('PHPMYADMIN', 
true); // phpcs:enable require_once ROOT_PATH . 
'libraries/constants.php'; /** * Activate autoloader */ if (! 
@is_readable(AUTOLOAD_FILE)) { die( '


File ' . AUTOLOAD_FILE . ' missing or not readable.

' . '

Most likely you did not run Composer to ' . '' . 'install library 
files 
.


' ); } require AUTOLOAD_FILE; global $route, $containerBuilder, 
$request; Common::run(); $dispatcher = Routing::getDispatcher(); 
Routing::callControllerForRoute($request, $route, $dispatcher, 
$containerBuilder); 


I tried reconfigure, but I didn't select the option to "reinstall the 
database"*:


*

# dpkg-reconfigure phpmyadmin
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
dbconfig-common: flushing administrative password
apache2_invoke phpmyadmin: already enabled


Any ideas?

Rick

Re: gnome-schedule gone from bullseye and bookworm

2023-07-16 Thread Rick Macdonald




On 2023-07-14 16:26, songbird wrote:

   here's the removal bug for more details:

   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808060



BTW, for anybody interested, I found a simple Tcl-based cron/at GUI: 
vcron. No binaries (but requires Tcl/Tk installed) and the tar file is 
set up to put the files into /usr/local/{bin,lib}.


Rick



gnome-schedule gone from bullseye and bookworm

2023-07-14 Thread Rick Macdonald
I fell behind with my major upgrades, and just upgraded from buster to 
bullseye (soon to be followed by bookworm).


I've been using gnome-schedule, a simple cron GUI, for quite some time 
now but it seems to be gone. The upgrade REMOVED it, as shown below. 
Strange thing is, searching the web site I can't even find the old 
buster gnome-schedule package that I had.


What happened to it? Is there an alternative GUI?


The following packages will be REMOVED:
...
  gnome-schedule inkscape kodi kodi-data lib32stdc++-8-dev 
libgfortran-8-dev libmailutils5 libodbcinstq4-1:i386 libphonon4 
libqscintilla2-qt4-13 libqt4-dbus libqt4-dbus:i386

...


Thanks



Re: Adding wine64 to wine installation (buster)

2021-03-27 Thread Rick Macdonald

On 2021-03-25 11:50 p.m., Alexander V. Makartsev wrote:
"wine" command is a 32-bit ELF binary and "wine64" command is a 64-bit 
ELF binary.
In my experience it doesn't matter which one to use, as long as you 
run programs inside a prefix that supports both 32-bit and 64-bit 
(WoW64). [1]


You can use just one prefix for both 32-bit and 64-bit programs, or 
you can have as many prefixes as you want, each could be setup with 
different settings and\or DLLs, tailored specifically for some program.

It is up to you how to manage them all.
I use "q4wine" program (it could be installed from Debian repo) that 
helps to make some things easier.
There is also commercial software "CrossOver" [2] from the authors of 
WINE project, but I've never used it.



[1] https://wiki.winehq.org/Wine_User%27s_Guide#WINEARCH
[2] https://www.codeweavers.com/crossover


Everything is working perfectly now.  Thanks for the help.

Rick



Re: Adding wine64 to wine installation (buster)

2021-03-25 Thread Rick Macdonald
Thanks!

I ran the wineboot --init command and it worked, and I was able to install the 
64bit program with "wine app64.exe", and it launches. Is there a difference 
between the commands wine and wine64?

Now, do I need to reinstall all my previous 32bit programs, or can I use 
WINEPREFIX pointing to the old .wine directory that I renamed ".wine32"?

Rick

On March 25, 2021 12:10:59 p.m. MDT, "Alexander V. Makartsev" 
 wrote:
>On 25.03.2021 22:47, Rick Macdonald wrote:
>> I've been running a few 32bit Windows programs with wine for many 
>> years, but now I need to run some 64bit programs.
>>
>> The Debian wine wiki says "Users on a 64-bit system should make sure 
>> that both wine32 and wine64 (or wine32-development and 
>> wine64-development) are installed".
>>
>> I have "deb https://dl.winehq.org/wine-builds/debian/ buster main" in
>
>> sources.lists. I installed "wine64". The package lists before and 
>> after are below. When I try to install a 64bit program using "wine 
>> 64bitprogram.exe", I get the message:
>>
>> "This program can only be installed on versions of Windows designed 
>> for the following processor architectures: x64".
>>
>> So then I ran "wine64 64bitprogram.exe" and I get the message:
>>
>> "wine: '/home/myacct/.wine' is a 32-bit installation, it cannot 
>> support 64-bit applications."
>>
>> Installing wine64 didn't create a .wine64 directory. It seems like
>I'm 
>> close, but what am I missing? Something to do with WINEPREFIX?
>Correction, command should be:
>$ wineboot --init
>
>
>-- 
>With kindest regards, Alexander.
>
>⢀⣴⠾⠻⢶⣦⠀
>⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
>⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
>⠈⠳⣄


Adding wine64 to wine installation (buster)

2021-03-25 Thread Rick Macdonald
I've been running a few 32bit Windows programs with wine for many years, 
but now I need to run some 64bit programs.


The Debian wine wiki says "Users on a 64-bit system should make sure 
that both wine32 and wine64 (or wine32-development and 
wine64-development) are installed".


I have "deb https://dl.winehq.org/wine-builds/debian/ buster main" in 
sources.lists. I installed "wine64". The package lists before and after 
are below. When I try to install a 64bit program using "wine 
64bitprogram.exe", I get the message:


"This program can only be installed on versions of Windows designed for 
the following processor architectures: x64".


So then I ran "wine64 64bitprogram.exe" and I get the message:

"wine: '/home/myacct/.wine' is a 32-bit installation, it cannot support 
64-bit applications."


Installing wine64 didn't create a .wine64 directory. It seems like I'm 
close, but what am I missing? Something to do with WINEPREFIX?


Before installing wine64:

# dpkg --get-selections|grep wine
fonts-wine  install
libwine:i386    install
libwine-cms:i386    install
libwine-gphoto2:i386    install
libwine-ldap:i386   install
libwine-openal:i386 install
libwine-print:i386  install
libwine-sane:i386   install
wine-stable install
wine-stable-amd64   install
wine-stable-i386:i386   install
winehq-stable   install
winetricks  install


After installing wine64:

# dpkg --get-selections|grep wine
fonts-wine  install
libwine:i386    install
libwine-cms:i386    install
libwine-gphoto2:i386    install
libwine-ldap:i386   install
libwine-openal:i386 install
libwine-print:i386  install
libwine-sane:i386   install
wine-stable install
wine-stable-amd64   install
wine-stable-i386:i386   install
winehq-stable   install
winetricks  install


Thanks, Rick



remmina toolbar icons missing using stretch-backports

2019-01-10 Thread Rick Macdonald
On my stretch system, I just upgraded remmina to 1.2.32 using 
stretch-backports. It works fine except now many of the toolbar icons 
show [X] as if they're are missing.


Some are OK, such as Tools, Preferences, Screenshot. Missing ones are: 
Resize, Toggle Fullscreen, Switch Tabs, Toggle Scaled Mode, etc.


I imagine this is just peculiar to backports and that a system running 
testing might be OK, and it should fix itself when buster is released, 
but is there anything I can do to fix it now?


Here is what I have from backports. I had to grab libssh-4 because 
remmina depended on a newer version.


dpkg -l  |awk '/^ii/ && $3 ~ /bpo[9]/ {print $2}'
libayatana-appindicator3-1
libayatana-ido3-0.4-0:amd64
libayatana-indicator3-7:amd64
libfreerdp-client2-2:amd64
libfreerdp2-2:amd64
libssh-4:amd64
libwinpr2-2:amd64
remmina
remmina-common
remmina-plugin-exec:amd64
remmina-plugin-rdp:amd64
remmina-plugin-secret:amd64
remmina-plugin-vnc:amd64

Thanks,
Rick



Re: Getting packages from stable again instead of unstable

2018-07-21 Thread Rick Macdonald

On 19/07/18 12:19 PM, Dan Ritter wrote:

I would do the downgrades. Then do an "apt-get clean", and after that,
re-install firefox-esr. If you want an up-to-date firefox,
install it directly from Mozilla in /opt/firefox.


Thanks to Dan, Jochen and songbird for the advice to do the downgrade. I 
backed up some config files and let it rip, and it did it all perfectly.


I'm giving the latest firefox directly from Mozilla a try. Easy to 
install and is running now. I've always used deb packages (iceweasel, 
firefox-esr, etc) but from time to time I had reason to notice that the 
stable version was old.


Cheers!



Re: Getting packages from stable again instead of unstable

2018-07-19 Thread Rick Macdonald

On 19/07/18 12:19 PM, Dan Ritter wrote:

This isn't absolutely awful; you can recover from this.


Here is the list of downgrades if I pin stable to 1001:

The following packages were automatically installed and are no longer
required:
   fonts-stix libevent-2.1-6 libhunspell-1.6-0 libjsoncpp1 libvpx5
python-automat python-hyperlink
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
   firefox
The following NEW packages will be installed:
   python-twisted-web
The following packages will be DOWNGRADED:
   deluge deluge-common deluge-console deluge-gtk deluge-web deluged
fontconfig-config libbluray1 libboost-chrono1.62.0 libboost-python1.62.0
libboost-random1.62.0 libfontconfig1
   libfontconfig1:i386 libnss3 libnss3:i386 libtorrent-rasterbar9 python-attr
python-click python-libtorrent python-serial python-twisted-bin
python-twisted-core python-zope.interface
   rtmpdump yasm
0 upgraded, 1 newly installed, 25 downgraded, 1 to remove and 0 not
upgraded.

It shows the same 25 packages as the list of "newer" above, but I don't like
that it wants to remove firefox. I have version 58.0.1 installed, and to be
honest I can't figure out where this version came from. I do have some
backports installed but that's not where firefox came from:

# dpkg-query -W | grep '~bpo'
libcec3v4:amd64 3.1.0+dfsg1-4~bpo8+2
libcrossguid0v4:amd64   0.0+git200150803-2~bpo8+1
libmysqlclient18:i386   5.6.30-1~bpo8+1
libp8-platform2v4:amd64 2.0.1+dfsg1-1~bpo8+1
libx265-79:amd64    1.9-3~bpo8+1
remmina 1.2.0-rcgit.24-2~bpo9+1
remmina-common  1.2.0-rcgit.24-2~bpo9+1
remmina-plugin-rdp:amd64    1.2.0-rcgit.24-2~bpo9+1
remmina-plugin-vnc:amd64    1.2.0-rcgit.24-2~bpo9+1

My question is: If I just leave it be, won't the packages eventually be
upgraded from stable as the stable versions become newer than the unstable
packages that I currently have installed? Or might I hit some dependency
problems along the way? Should I instead do the downgrades now by pinning
stable to priority 1001 (with I'm guessing is a one-time thing to do, and
then remove the pinning)?

I would do the downgrades. Then do an "apt-get clean", and after that,
re-install firefox-esr. If you want an up-to-date firefox,
install it directly from Mozilla in /opt/firefox.

When you have a limited requirement for unstable or testing
packages, you can use pinning to get just those packages and
their dependencies. That's much more manageable than just
blasting off in the direction of unstable.


Dan, thank-you so much for your reply.

I've been running Debian since maybe mid 1995, well before Bruce 
released Buzz. That doesn't make me smart, just old.  ;-)  This is the 
first time in all these years that I felt I needed mixed packages.


I certainly don't think I "blasted off in the direction of unstable". My 
stance was that I had "a limited requirement for unstable", and thought 
that's what I did. If you don't mind, here's what I did for your insight 
in case I could have done better. Because I had never mixed packages or 
used pinning, I was and still am a bit vague about it.


With unstable in my sources.list, and the following preferences file, I 
installed only deluge using "apt-get -t unstable install deluge", or 
maybe the deluge/unstable format. I may have grabbed another one or two 
library packages in desperation, but I think the rest were dragged in as 
dependencies.



Package: *
Pin: release  a=stretch
Pin-Priority: 700

Package: *
Pin: release a=stretch-backports
Pin-Priority: 650

Package: *
Pin: release a=unstable
Pin-Priority: 100


Thanks!
Rick






Getting packages from stable again instead of unstable

2018-07-19 Thread Rick Macdonald
I'm going to pose my question here at the top in case it can be answered 
without wading through all the details that follow:


Now that I have removed unstable form sources.list and preferences 
(pinning), won't my packages from unstable eventually be upgraded from 
stable as the stable versions become newer than the unstable packages 
that I currently have installed? Or might I hit some dependency problems 
along the way? Should I instead do the downgrades now by pinning stable 
to priority 1001 (with I'm guessing is a one-time thing to do, and then 
remove the pinning)?


Here is the background:

I upgraded to stretch back in November or so, and a couple of programs 
that installed OK didn't actually run properly. I grabbed them from 
unstable and all was good again.


Today I removed all references to unstable in sources.list, and the 
pinning for unstable that I had in preferences.


Prior to removing unstable from sources.list and preferences, "apt-show 
versions | grep unstable" showed, for example:


deluge:all/unstable 1.3.15-2 uptodate

"unstable" is gone from show-versions so I grep for "newer" instead. Now 
it shows:


deluge:all 1.3.15-2 newer than version in archive

Here is the full list of "newer" files:

# apt-show-versions |grep newer
deluge:all 1.3.15-2 newer than version in archive
deluge-common:all 1.3.15-2 newer than version in archive
deluge-console:all 1.3.15-2 newer than version in archive
deluge-gtk:all 1.3.15-2 newer than version in archive
deluge-web:all 1.3.15-2 newer than version in archive
deluged:all 1.3.15-2 newer than version in archive
fontconfig-config:all 2.13.0-5 newer than version in archive
libbluray1:amd64 2:0.7.0-dmo1 newer than version in archive
libboost-chrono1.62.0:amd64 1.62.0+dfsg-7 newer than version in archive
libboost-python1.62.0:amd64 1.62.0+dfsg-7 newer than version in archive
libboost-random1.62.0:amd64 1.62.0+dfsg-7 newer than version in archive
libfontconfig1:amd64 2.13.0-5 newer than version in archive
libfontconfig1:i386 2.13.0-5 newer than version in archive
libnss3:amd64 2:3.38-1 newer than version in archive
libnss3:i386 2:3.38-1 newer than version in archive
libtorrent-rasterbar9:amd64 1.1.5-1+b1 newer than version in archive
python-attr:all 17.4.0-2 newer than version in archive
python-click:all 6.7-5 newer than version in archive
python-libtorrent:amd64 1.1.5-1+b1 newer than version in archive
python-serial:all 3.4-3 newer than version in archive
python-twisted-bin:amd64 18.4.0-2 newer than version in archive
python-twisted-core:all 18.4.0-2 newer than version in archive
python-zope.interface:amd64 4.3.2-1+b2 newer than version in archive
rtmpdump:amd64 2:201412272202-git-1 newer than version in archive
yasm:amd64 1.3.0-dmo2 newer than version in archive

Here is the list of downgrades if I pin stable to 1001:

The following packages were automatically installed and are no longer 
required:
  fonts-stix libevent-2.1-6 libhunspell-1.6-0 libjsoncpp1 libvpx5 
python-automat python-hyperlink

Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  firefox
The following NEW packages will be installed:
  python-twisted-web
The following packages will be DOWNGRADED:
  deluge deluge-common deluge-console deluge-gtk deluge-web deluged 
fontconfig-config libbluray1 libboost-chrono1.62.0 libboost-python1.62.0 
libboost-random1.62.0 libfontconfig1
  libfontconfig1:i386 libnss3 libnss3:i386 libtorrent-rasterbar9 
python-attr python-click python-libtorrent python-serial 
python-twisted-bin python-twisted-core python-zope.interface

  rtmpdump yasm
0 upgraded, 1 newly installed, 25 downgraded, 1 to remove and 0 not 
upgraded.


It shows the same 25 packages as the list of "newer" above, but I don't 
like that it wants to remove firefox. I have version 58.0.1 installed, 
and to be honest I can't figure out where this version came from. I do 
have some backports installed but that's not where firefox came from:


# dpkg-query -W | grep '~bpo'
libcec3v4:amd64 3.1.0+dfsg1-4~bpo8+2
libcrossguid0v4:amd64   0.0+git200150803-2~bpo8+1
libmysqlclient18:i386   5.6.30-1~bpo8+1
libp8-platform2v4:amd64 2.0.1+dfsg1-1~bpo8+1
libx265-79:amd64    1.9-3~bpo8+1
remmina 1.2.0-rcgit.24-2~bpo9+1
remmina-common  1.2.0-rcgit.24-2~bpo9+1
remmina-plugin-rdp:amd64    1.2.0-rcgit.24-2~bpo9+1
remmina-plugin-vnc:amd64    1.2.0-rcgit.24-2~bpo9+1

My question is: If I just leave it be, won't the packages eventually be 
upgraded from stable as the stable versions become newer than the 
unstable packages that I currently have installed? Or might I hit some 
dependency problems along the way? Should I instead do the downgrades 
now by pinning stable to priority 1001 (with I'm guessing is a one-time 
thing to do, and then remove the pinning)?





Re: Upgraded to stretch but apache2 still uses php5

2017-12-04 Thread Rick Macdonald

On 04/12/17 04:51 AM, x9p wrote:

The downside of upgrading php5 -> php7 is.. some apps can break. Still,
there are some workarounds to make them work with php7 (most of cases).

check if you have libapache2-mod-php7.0 installed. remove/purge any other
previous versions of this package and restart apache2.


I had both installed:

# dpkg --get-selections |grep libapache2-mod-php
libapache2-mod-php5 install
libapache2-mod-php7.0   install



after that, check if there is still something there with:

# egrep -rs php5 /etc/apache2/

# egrep -rs php5 /etc/apache2/
/etc/apache2/mods-available/php7.0.load:# Conflicts: php5
/etc/apache2/mods-available/php5.load:LoadModule php5_module 
/usr/lib/apache2/modules/libphp5.so


It didn't seem necessary to uninstall any php5, so I did this:

 # a2dismod php5
 # a2enmod php7.0
 # systemctl restart apache2

Now apache2 is using php7.0, and the apps that I checked all seem to 
work. I re-installed roundcube and installed the missing dependency 
php-net-idna2 ( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866895 
) and now roundcube works!


Just curious, should the upgrade to stretch have done this for me or is 
it known that this switch is to be done manually?


Thanks for the help!

Rick


also in hole system:

dpkg -l | egrep php5

If so, repeat process of upgrade the packages, restart apache2

PS: Assuming your apps works with php7

cheers.

x9p


I thought I'd try a better webmail than squirrelmail, so I tried to

install roundcube. After many hours I gave up (missing php pdo modules),
purged it all, and then tried a non-debian package: rainloop. I spent
may hours with it, trying to solve missing php curl modules.

What had me going in circles in both cases was that php was telling me

that the missing modules were in fact there.

I finally realized that the php cli is v7.0, whereas apache2 runs runs

with php5. There are all sorts of apache2 config files for php7 but
apache2 is still using php5. php7 has the pdo and curl modules, but I
think the php5 modules were uninstalled during the upgrade to stretch. I
don't know if it is intentional that the apache2 environment didn't
change to the newer php7? If it should be using php7, how do I go about
forcing the change, and is there any downside to doing this?

Regards,
Rick









Upgraded to stretch but apache2 still uses php5

2017-12-04 Thread Rick Macdonald


I thought I'd try a better webmail than squirrelmail, so I tried to 
install roundcube. After many hours I gave up (missing php pdo modules), 
purged it all, and then tried a non-debian package: rainloop. I spent 
may hours with it, trying to solve missing php curl modules.


What had me going in circles in both cases was that php was telling me 
that the missing modules were in fact there.


I finally realized that the php cli is v7.0, whereas apache2 runs runs 
with php5. There are all sorts of apache2 config files for php7 but 
apache2 is still using php5. php7 has the pdo and curl modules, but I 
think the php5 modules were uninstalled during the upgrade to stretch.


I don't know if it is intentional that the apache2 environment didn't 
change to the newer php7? If it should be using php7, how do I go about 
forcing the change, and is there any downside to doing this?


Regards,
Rick



Re: How to override fuse args to ntfs-3g to set permissions?

2014-11-28 Thread Rick Macdonald

On 28/11/14 05:21 PM, Scott Ferguson wrote:

My apologies for the delay in replying.

On 28 November 2014 at 16:08, Rick Macdonald rickm...@shaw.ca wrote:

On 26/11/14 04:20 PM, Scott Ferguson wrote:

On 27/11/14 06:32, Rick Macdonald wrote:

On 26/11/14 08:24 AM, Rick Macdonald wrote:

On 26/11/14 12:23 AM, Scott Ferguson wrote:

On 26/11/14 16:14, Rick Macdonald wrote:

On 25/11/14 08:46 PM, Scott Ferguson wrote:

snipped

I do have an udev rule (see attached and cp it to /etc/udev/rules.d)
that will automagically mount a NTFS formatted slice on an external
drive that has the LABEL WinBackup to /media/WinBackup,  that uses
mount options that allow a user to write to it, and 'should' work for
Plex.
https://support.plex.tv/hc/en-us/articles/200288606-Mounting-NTFS-Drives-on-Linux

I have tested this using an USB Flash Drive with a single slice
formatted as NTFS, with the LABEL WinBackup. Thunar Vol Man is set to
automatically mount external drives (though it may be redundant).

$ groups
scott cdrom floppy audio dip video plugdev users fuse netdev

$ mount -l | grep Win
/dev/sdb1 on /media/WinBackup type fuseblk
(rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other,blksize=4096)
[WinBackup]

  $ grep ^user /etc/fuse.conf
user_allow_other

It's a far from perfect udev rule, but:-
;regrettably I'm out of time for the moment (apologies to the poster
waiting for assistance with Apple, resuming that is next on my to-do)
;I can't work out how to get around the limitations of NTFS support
(you could try Tuxera, but I suspect they work within the limitations
set by MS)
;I don't understand how Thunar populates the sidebar, and XFCE the
desktop, with the link to the disk LABEL despite digging through 860
results from a find for WinBackup. Hopefully someone will post a
solution for me.

With respect to your Post's Subject - I don't know. They are limited
by /usr/share/hal/fdi/policy/10osvendor/25-ntfs-3g-policy.fdi, which
'seems' to be limited by the option in the ntfs-3g binary. I don't
like the idea of recompiling it and running it setuid (the dangers of
that with a Windows file system seem great). I suspect it's an xy
problem. Do let me know if the default's in the rule (attached) are
insufficient for Plex[*1].

  $ mkdir /media/WinBackup/Test;echo This is a test 
/media/WinBackup/Test/test;ls -lR /media/WinBackup
/media/WinBackup:
total 0
drwxrwxrwx 1 root root 144 Nov 29 11:17 Test

/media/WinBackup/Test:
total 1
-rwxrwxrwx 1 root root 15 Nov 29 11:17 test


[*1] I can make some modifications to permissions in the rule (default
mount options, user command is run as, commands that are run).

Let me know how it goes. Hope this makes sense, sorry if I've missed
posts - I can't get at my usual work machine remotely at present and
are reduced to using the Gmail web interface (sob).



Hey, thanks for all this!

I created a thumb drive for testing. Using the actual drive takes too 
long, as the cable is awkward, the drive spins up and down, etc.


I added my uid/gid to the rule for jollies, so it mounts as me instead 
of root. Plex should work in either case with wide-open 777 mode.


ACTION==add, PROGRAM==/sbin/blkid -o value -s TYPE /dev/%k, 
RESULT==ntfs, 
ENV{mount_options}=%E{mount_options},utf8,uid=1000,gid=1000,umask=000


There was a problem in the dir_name, so I changed these two lines:

#ACTION==add, PROGRAM==/sbin/blkid -o value -s TYPE %E{device}, 
RESULT==ntfs, 
ENV{mount_options}=%E{mount_options},utf8,gid=100,umask=002
ACTION==add, PROGRAM==/sbin/blkid -o value -s TYPE /dev/%k, 
RESULT==ntfs, 
ENV{mount_options}=%E{mount_options},utf8,gid=100,umask=002

# Get label if present, otherwise assign one
#PROGRAM==/sbin/blkid -o value -s LABEL %E{device}, ENV{dir_name}=%c
PROGRAM==/sbin/blkid -o value -s LABEL /dev/%k, ENV{dir_name}=%c

When I unmount the drive, the directory is not deleted. The 
owner/permissions change from me/777 to root/755. I see you have 
commands for umount and rmdir (Clean up after removal), but I'm not 
sure what is meant to kick those off. I pulled out the drive without 
umounting first, not that I think you had that in mind, but that didn't 
change the behaviour (much).


It seems that only root can umount the drive, but I've seen mention of 
that for NTFS, or maybe it was udisks in general?


Almost there!

Regards,
Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/54796252.60...@shaw.ca



Re: How to override fuse args to ntfs-3g to set permissions?

2014-11-27 Thread Rick Macdonald

On 26/11/14 04:20 PM, Scott Ferguson wrote:

On 27/11/14 06:32, Rick Macdonald wrote:

On 26/11/14 08:24 AM, Rick Macdonald wrote:

On 26/11/14 12:23 AM, Scott Ferguson wrote:

On 26/11/14 16:14, Rick Macdonald wrote:

On 25/11/14 08:46 PM, Scott Ferguson wrote:

snipped

Sorry for replying to my own post...

I see now that it's the XFCE's volume management that is initiating the
(hotplug) mount. Some digging found that udisks is involved, so I
attached strace to the udisks-daemon and found this:

[pid 29472] 10:58:32 execve(/sbin/mount.ntfs, [/sbin/mount.ntfs,
/dev/sdg2, /media/WinBackup_, -o,
rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177],
[/* 3 vars */]) = 0

So the mode that I'd like to change is coming from the udisks-daemon (or
its parent). Strace on udevd shows that it's involved but I don't see
any file modes.

That's were I'm at now. I played with udev rules a bit but I've never
worked with them before.

Quick comment (I will get back to this later today or early tomorrow):-
grep ntfs /lib/udev/rules.d/*.rules
/lib/udev/rules.d/80-udisks.rules:ENV{ID_FS_TYPE}==ntfs|vfat, \

If this does control the effect you note, (which is easy to determine),
then it's simple to create a rule based on it
(/etc/udev.d/$something.rule) that will treat your WinBackup disk
differently


I grabbed the src for udisks, but didn't get very far. It has code that 
checks fstab and uses its entries if found, but that code isn't used. It 
always makes a call to udev_glib instead.


Regards,
Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/54780346.7000...@shaw.ca



Re: disk group (was ... Re: How to override fuse args to ntfs-3g to set permissions?)

2014-11-26 Thread Rick Macdonald

On 26/11/14 04:36 AM, Scott Ferguson wrote:


I vaguely remember reading somewhere (may have been on this list) that
putting anybody in the disk group is a big no no, I think it was to do
with security.


*It is* (shoot foot material). So is setting ntfs-3g setuid. Which is
another practise used for what the OP wanted to achieve - in the way he
wanted to do it.
Like sudo no password it's a common practise - in hindsight I should
have refused to help with that option (I did suggest udev) - and there
are other ways.


Whether I'm misremembering or not it would be nice to get it cleared up.


You didn't misremember it - unfettered access to raw disks is not good
practise.

I was wrong. Following those instructions could have caused the OP to
inadvertently break Windows.



Thanks, I've removed myself from the disk group.

Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5475dec0.4030...@shaw.ca



Re: How to override fuse args to ntfs-3g to set permissions?

2014-11-26 Thread Rick Macdonald

On 26/11/14 12:23 AM, Scott Ferguson wrote:

On 26/11/14 16:14, Rick Macdonald wrote:

On 25/11/14 08:46 PM, Scott Ferguson wrote:

Sorry, I don't know what DE means!
Desktop Environment e.g. GNOME, KDE, XFCE, LXDE, etc

KFCE.

??

https://packages.debian.org/search?keywords=kfcesearchon=namessuite=allsection=all
Gives me nothing :(

Assuming the best intentions, and that KFCE isn't a typo - it still
appears you are not running Debian, it's 'possible' you are using Mint
- which is a Debian derivative. This the *Debian*-User list, the wrong
place to expect support for anything other than Debian or Debian
PureBlends for several[*1] reasons.

Are you using Debian??


Scott, I really appreciate your time in helping me, and I realize it's 
not easy with my typo and perhaps mis-used terminology. As I hinted at, 
I've been running pure Debian for some 20 years. I forget how long I've 
been subscribed to this list, but it could be almost 20 years as well. 
That doesn't make me smart, just old (and happy with Debian).


I did indeed mistype, and it should have been XFCE not KFCE.

I've been googling and posting with the term auto-mount, but is this 
more properly hotplug? I'm not trying to get the USB drive to mount at 
boot; that I can do. It mounts when I plug the drive in to the running 
system, just not with the permissions that I need. I hope I didn't lead 
anyone to think I'm asking about a boot-time mount issue.


Over the years the hot-plug system (if that's the name for it) seems to 
have changed a few times, and I admit I've never understood how hal, 
udev, etc worked/works. It's always worked to some extent, so I've never 
had to fuss with it.


ntfs-3g's umask/dmask/fmask options all default to 0, but somebody is 
calling it with dmask=0077,fmask=0177. I haven't figured out the chain 
of commands involved.


Regards,
Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5475f0ae.6060...@shaw.ca



Re: How to override fuse args to ntfs-3g to set permissions?

2014-11-26 Thread Rick Macdonald

On 26/11/14 08:24 AM, Rick Macdonald wrote:

On 26/11/14 12:23 AM, Scott Ferguson wrote:

On 26/11/14 16:14, Rick Macdonald wrote:

On 25/11/14 08:46 PM, Scott Ferguson wrote:


Are you using Debian??


Scott, I really appreciate your time in helping me, and I realize it's 
not easy with my typo and perhaps mis-used terminology. As I hinted 
at, I've been running pure Debian for some 20 years. I forget how long 
I've been subscribed to this list, but it could be almost 20 years as 
well. That doesn't make me smart, just old (and happy with Debian).


I did indeed mistype, and it should have been XFCE not KFCE.

I've been googling and posting with the term auto-mount, but is this 
more properly hotplug? I'm not trying to get the USB drive to mount 
at boot; that I can do. It mounts when I plug the drive in to the 
running system, just not with the permissions that I need. I hope I 
didn't lead anyone to think I'm asking about a boot-time mount issue.


Over the years the hot-plug system (if that's the name for it) seems 
to have changed a few times, and I admit I've never understood how 
hal, udev, etc worked/works. It's always worked to some extent, so 
I've never had to fuss with it.


ntfs-3g's umask/dmask/fmask options all default to 0, but somebody is 
calling it with dmask=0077,fmask=0177. I haven't figured out the chain 
of commands involved.


Sorry for replying to my own post...

I see now that it's the XFCE's volume management that is initiating the 
(hotplug) mount. Some digging found that udisks is involved, so I 
attached strace to the udisks-daemon and found this:


[pid 29472] 10:58:32 execve(/sbin/mount.ntfs, [/sbin/mount.ntfs, 
/dev/sdg2, /media/WinBackup_, -o, 
rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177], 
[/* 3 vars */]) = 0


So the mode that I'd like to change is coming from the udisks-daemon (or 
its parent). Strace on udevd shows that it's involved but I don't see 
any file modes.


That's were I'm at now. I played with udev rules a bit but I've never 
worked with them before.


Regards,
Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/54762adf.80...@shaw.ca



Re: How to override fuse args to ntfs-3g to set permissions?

2014-11-26 Thread Rick Macdonald

On 26/11/14 04:20 PM, Scott Ferguson wrote:

On 27/11/14 06:32, Rick Macdonald wrote:

On 26/11/14 08:24 AM, Rick Macdonald wrote:

On 26/11/14 12:23 AM, Scott Ferguson wrote:

On 26/11/14 16:14, Rick Macdonald wrote:

On 25/11/14 08:46 PM, Scott Ferguson wrote:

snipped

Sorry for replying to my own post...

I see now that it's the XFCE's volume management that is initiating the
(hotplug) mount. Some digging found that udisks is involved, so I
attached strace to the udisks-daemon and found this:

[pid 29472] 10:58:32 execve(/sbin/mount.ntfs, [/sbin/mount.ntfs,
/dev/sdg2, /media/WinBackup_, -o,
rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177],
[/* 3 vars */]) = 0

So the mode that I'd like to change is coming from the udisks-daemon (or
its parent). Strace on udevd shows that it's involved but I don't see
any file modes.

That's were I'm at now. I played with udev rules a bit but I've never
worked with them before.

Quick comment (I will get back to this later today or early tomorrow):-
grep ntfs /lib/udev/rules.d/*.rules
/lib/udev/rules.d/80-udisks.rules:ENV{ID_FS_TYPE}==ntfs|vfat, \

If this does control the effect you note, (which is easy to determine),
then it's simple to create a rule based on it
(/etc/udev.d/$something.rule) that will treat your WinBackup disk
differently

Later.


I saw that rule last night, but it is in the section Partitions which 
desktops should not display which didn't seem helpful.


Regards,
Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/54766557.5050...@timshel.ca



How to override fuse args to ntfs-3g to set permissions?

2014-11-25 Thread Rick Macdonald
Well, many hours of googling, and running grep on my entire filesystem, 
have failed me this time.


I'm running up-to-date wheezy.

How does one override or change to options fuse gives to ntfs-3g (if I 
have that right)?


I have an NTFS filesystem on a USB-connected hard drive. With nothing in 
fstab, it gets auto-mounted as /media/WinBackup:


syslog:

Nov 25 12:56:17 timshel ntfs-3g[16915]: Version 2012.1.15AR.5 external 
FUSE 29
Nov 25 12:56:17 timshel ntfs-3g[16915]: Mounted /dev/sdg2 (Read-Write, 
label WinBackup, NTFS 3.1)
Nov 25 12:56:17 timshel ntfs-3g[16915]: Cmdline options: 
rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177
Nov 25 12:56:17 timshel ntfs-3g[16915]: Mount options: 
rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdg2,blkdev,blksize=4096 

Nov 25 12:56:17 timshel ntfs-3g[16915]: Global ownership and permissions 
enforced, configuration type 7


According to the fuse man page, /etc/fuse.conf only supports mount_max 
and user_allow_other.


I can mount it manually by adding the following entry to fstab (which 
somehow inhibits the automount), but I'd much rather have it auto mount 
whenever I plug it in.


LABEL=WinBackup /media/WinBackup ntfs 
rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,relatime,default_permissions,blkdev,umask= 
0 0


Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5474eea1.60...@timshel.ca



Re: How to override fuse args to ntfs-3g to set permissions?

2014-11-25 Thread Rick Macdonald

On 25/11/14 04:04 PM, Scott Ferguson wrote:

On 26/11/14 08:03, Rick Macdonald wrote:

Well, many hours of googling, and running grep on my entire filesystem,
have failed me this time.

I'm running up-to-date wheezy.

DE?


Sorry, I don't know what DE means! It's an i386 desktop that's been 
running Debian since the 0.93 days in the mid-90's before Buzz was 
released (OK, it's gone through some hardware upgrades ;-).



How does one override or change to options fuse gives to ntfs-3g (if I
have that right)?

I have an NTFS filesystem on a USB-connected hard drive. With nothing in
fstab, it gets auto-mounted as /media/WinBackup:

syslog:

Nov 25 12:56:17 timshel ntfs-3g[16915]: Version 2012.1.15AR.5 external
FUSE 29
Nov 25 12:56:17 timshel ntfs-3g[16915]: Mounted /dev/sdg2 (Read-Write,
label WinBackup, NTFS 3.1)
Nov 25 12:56:17 timshel ntfs-3g[16915]: Cmdline options:
rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177
Nov 25 12:56:17 timshel ntfs-3g[16915]: Mount options:
rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdg2,blkdev,blksize=4096

Nov 25 12:56:17 timshel ntfs-3g[16915]: Global ownership and permissions
enforced, configuration type 7

According to the fuse man page, /etc/fuse.conf only supports mount_max
and user_allow_other.

I can mount it manually by adding the following entry to fstab (which
somehow inhibits the automount), but I'd much rather have it auto mount
whenever I plug it in.


Without knowing more about your Wheezy the easiest option is probably
to create a custom udev rule.


I'll look into that, but I hope to understand something about 
fuse/ntfs-3g since I've come this far.



LABEL=WinBackup /media/WinBackup ntfs
rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,relatime,default_permissions,blkdev,umask=
0 0

What does allow_other do?


allow_other (man mount.fuse) lets users other than the one who mounted 
the filesystem access files. You'd think that's all I need, but it's 
already on the mount command line. The problem seems to be the dmask  
fmask values restrict access regardless.



Why umask= (instead of 0022)?
Why not uid=$username,gid=users


All the options were copied from the mount options in the syslog above. 
I removed the ones that mount didn't like (blkdev and fsname). I wanted 
to start with what (I think) fuse is giving ntfs-3g on it's command line 
(not that that's a valid thing to do).


fuse doesn't seem to be a binary executable, and I can't find where 
these command line args are coming from when mount is called.





Do you want to retain and use standard Windows permissions?
How many people will need access to the disk?



Nobody else uses the machine, but I need the permissions opened up. When 
my WinXP server died I moved my videos to my Linux desktop. I usually 
use Serviio but thought I'd give Plex a try (Plex doesn't support XP so 
I couldn't give it a try until now). Plex runs as user plex and cannot 
read any of the files on this USB disk when mounted under my account 
with mode 600 permissions. Plex has an option to let the client delete 
videos, so while testing I chose . I could tell Plex to run as me, 
but that's no good because its files are installed under 
/var/lib/plexmediaserver, and if I change the ownership of those it 
would likely break upgrading Plex when the next deb file is released.


Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/547521cd.4090...@timshel.ca



Re: How to override fuse args to ntfs-3g to set permissions?

2014-11-25 Thread Rick Macdonald

On 25/11/14 08:46 PM, Scott Ferguson wrote:

Sorry, I don't know what DE means!
Desktop Environment e.g. GNOME, KDE, XFCE, LXDE, etc


KFCE. I had to abandon GNOME when they removed all the customization 
settings...



but it's already on the mount command line. The problem seems to be
the dmask  fmask values restrict access regardless.

No. You need to uncomment line 9 in /etc/fuse.conf so that allow_user
will work in your fstab (from not-to-be relied on memory - it still
won't allow a non-root user to umount the device).
This is the line you need to uncomment:-
#user_allow_other


I had already uncommented that line, but it made no difference. I 
couldn't see that I had to restart any service. I didn't reboot.




In which case I'd recommend:-
*1.* uncommenting the user_allow_other line in /etc/fuse.conf

*2.* changing the fstab line to:-
LABEL=WinBackup /media/WinBackup ntfs-3g
uid=1000,gid=1000,permissions,auto,noatime 0 0

*3.* check that you are a member of the disk group (as a user:-
groups |grep disk
if you aren't, become one (as root)[*1]:-
gpasswd -a $YourUsername disk

[*1] groups won't show your changed group membership until after
you've logged out, and logged back in. You can use the following if you
need to double-check:-
grep disk /etc/group


OK, I tried all that and it makes no difference. With either line in 
fstab there are no messages in syslog from fuse/ntfs-3g about that 
partition, and I have to mount it manually. We're you expecting it to 
auto-mount?


Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/547561b0.2010...@timshel.ca



Re: How to override fuse args to ntfs-3g to set permissions?

2014-11-25 Thread Rick Macdonald

On 25/11/14 10:14 PM, Rick Macdonald wrote:


OK, I tried all that and it makes no difference. With either line in 
fstab there are no messages in syslog from fuse/ntfs-3g about that 
partition, and I have to mount it manually. We're you expecting it to 
auto-mount?


The following run as root mounts it as me with mode 666, exactly what I 
want. The question is still, how on earth to pass the mask values during 
the auto-mount?


ntfs-3g -o 
rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=,fmask= 
/dev/sdg2 /media/WinBackup


Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/54756730.8070...@timshel.ca



Re: DynDNS no longer free.

2014-04-10 Thread Rick Macdonald

On 08/04/14 02:51 PM, Hugo Vanwoerkom wrote:
DynDNS just announced that their free hostname program in 30 days will 
no longer be gratis.

I use that with ddclient to update the IP address for my blog.
Are there other free alternatives?


Some routers have built-in support for DDNS, so you don't even have to 
run ddclient or similar. My ASUS router lists these under 
AdvancedSettings-WAN-DDNS:


www.asus.com
www.dyndsn.org
www.tzo.com
www.zonedit.com
www.dnsomatic.com
www.tunnelbroker.net
www.no-ip.com

I only looked at a couple before deciding to use the free service from 
ASUS that is included with the router, so I don't know which of the 
above are actually free. The domain name is not pretty: 
[yourhostname].asuscomm.com, but that doesn't bother me for my usage. 
The biggest problem is that if I ever switch to another brand of modem, 
I have to suffer another change in service and domain name.


Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5346b97e.7070...@timshel.ca



Any reason not to run amd64 these days?

2014-02-02 Thread Rick Macdonald


I've been running 32bit Debian since release 0.93, before buzz was 
released. I've been through a few PCs over these 20 years, and now my 
latest one is dying on me (HP Dual core Pentium D, 4GB RAM).


I'd like to take a step up and get a machine with more memory (12 or 
16GB). I've done some searching and it seems these days there are no 
limitations with having access to all Debian packages, especially if one 
uses the multi-arch feature.


Still, I'd like to ask on the list here. Are there any issues with 
switching to amd64? What about drivers?


The new machine will likely be an off-the-shelf HP I7-4470 CPU machine 
with an NVIDIA GeForce card, somewhere between a GT635 and a GTX660.


What about running 32 bit windows and apps in wine or VMWare?

Regards,
Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52eeb18e.5080...@timshel.ca



Kernel panics after wheezy upgrade (but blaming hardware)

2014-02-02 Thread Rick Macdonald
I finally updated my 32bit PC to wheezy in October. Shortly after, I 
started getting kernel panics (blinking CapsLock/Scroll Lock for about 
10 seconds, then it would re-boot itself).


I ran memtest for 14 hours; no errors.

It often happened while watching videos in iceweasel, especially when 
seeking with the slider. It also happened with totem and an audio 
program again when seeking. It also happen on 3 occasions right after I 
clicked SEND in icedove. Often it would reboot on its own overnight. I 
admit I thought it was all due to software for many weeks.


Then I started getting fsck errors during the re-boot. Then after 
running OK for an hour or so it started re-mounting the hard drive 
read-only without rebooting. I was seeing journal errors (ext3 
filesystem). Then I saw a BIOS message saying a hard drive failure was 
imminent.


I had a new drive that I wasn't using, so I set it up with ext4 
partitions and copied everything to it, fixed up grub, and booted the 
new drive.


It went back to kernel panics!

I stole a Gateway desktop from my kids (similar CPU and memory). I put 
my harddrives (the new one), memory (4x1GB), gigabit LAN card and video 
card (GeForce 7300LE) into it. No problems at all.


When swapping the video card I discovered that the fan was no longer 
working. I thought maybe an overheating video card could be to blame but 
it's run for 2 days now without a kernel panic.


That pretty much leaves the blame on the original machine's mother board 
and power supply. I replaced the power supply a few years ago (Antec 
Earthwatts 430W EA-430D). The machine is an HP Pavillion MutilMedia TV 
PC, so there's an Hauppage TV tuner card installed. I didn't try 
removing that. I don't use it but I still have remnants installed from 
when I played with ivtv some years ago.


Any comments about all this? I kind welcome the excuse to buy a new PC 
with a better video card and more memory (and 64bit), but it would be 
nice to know what's wrong with the machine before I through it out.


Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52eeb75a.9040...@timshel.ca



Re: Any reason not to run amd64 these days?

2014-02-02 Thread Rick Macdonald


Thanks, Ralf.

I do use a couple of 32bit DAWs: Reaper and Power Tracks Pro. I use them 
in wine but I also have VMWare. If I just stick with the 32bit versions 
of the DAWs, all the 32bit VST plugins should be OK, right? Or are you 
saying there could still be issues?


Rick

On 02/02/14 03:26 PM, Ralf Mardorf wrote:

On Sun, 2014-02-02 at 13:58 -0700, Rick Macdonald wrote:

Are there any issues with switching to amd64? What about drivers?

There aren't issues.


What about running 32 bit windows and apps in wine

Wine and at least VBox can do this. There might be issues for 32-bit
VSTs.





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52eecc4c.80...@timshel.ca



Sawfish wm won't start from gdm3

2012-08-28 Thread Rick Macdonald
I recently (finally) upgraded from lenny to squeeze. All seems well 
except if I choose the sawfish window manager from the gdm3 greeter, the 
dialog goes away and it just sits with the debian logo and the stars 
background. I can't find any error messages anywhere (~/.xsession-errors).


If I start up gnome with the default wm, metacity, I can kill metacity 
and run sawfish from an xterm:


killall metacity; sawfish 

Any ideas why it won't start from the gdm3 greeter?

Regards,
Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/503d23df.7090...@shaw.ca



Re: how to check whether a package has been installed

2006-06-26 Thread Rick Macdonald

Martin Paraskevov wrote:


rpm lets you check whether a packege has been installed.
is this possible to do with apt-get or some other tool as well?


Here are a couple, not to mention the various GUIs:

rickmlinux:~# dpkg --get-selections|grep apt
apt install
apt-utils   install
aptitudeinstall
gnome-apt   install
synapticinstall


rickmlinux:~# dpkg -s apt 
Package: apt

Status: install ok installed
Priority: important
Section: base
Installed-Size: 3664
Maintainer: APT Development Team deity@lists.debian.org
Architecture: i386
Version: 0.5.28.6
Replaces: libapt-pkg-doc ( 0.3.7), libapt-pkg-dev ( 0.3.7)
Provides: libapt-pkg-libc6.3-5-3.3
Depends: libc6 (= 2.3.2.ds1-4), libgcc1 (= 1:3.4.1-3), libstdc++5 (= 
1:3.3.4-1)

Suggests: aptitude | synaptic | gnome-apt | wajig, dpkg-dev, apt-doc
Description: Advanced front-end for dpkg
This is Debian's next generation front-end for the dpkg package manager.
It provides the apt-get utility and APT dselect method that provides a
simpler, safer way to install and upgrade packages.
.
APT features complete installation ordering, multiple source capability
and several other unique features, see the Users Guide in apt-doc.

...RickM...


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to check whether a package has been installed

2006-06-26 Thread Rick Macdonald

Rick Macdonald wrote:


Martin Paraskevov wrote:


rpm lets you check whether a packege has been installed.
is this possible to do with apt-get or some other tool as well?


Here are a couple, not to mention the various GUIs:

rickmlinux:~# dpkg --get-selections|grep apt
apt install
apt-utils   install
aptitudeinstall
gnome-apt   install
synapticinstall


rickmlinux:~# dpkg -s apt Package: apt



Sorry, bad copy/paste job. This should be:

rickmlinux:~# dpkg -s apt
Package: apt
Status: install ok installed

...etc...

Somebody else just offered dpkg -l. I like that better because it 
shows the versions:


rickmlinux:~# dpkg -l|grep apt
ii  apt0.5.28.6   Advanced front-end for dpkg
ii  apt-utils  0.5.28.6   APT utility programs
ii  aptitude   0.2.15.9-1 terminal-based apt frontend
ii  gnome-apt  0.4.7-1.2  graphical package manager
ii  libpcap0   0.6.2-2System interface for user-level packet 
captu
ii  libpcap0.7 0.7.2-7System interface for user-level packet 
captu
ii  libpcap0.8 0.8.3-5System interface for user-level packet 
captu

ii  synaptic   0.55+cvs200503 Graphical package manager

If you know the eact pavkage name you get to see the column headings:   ;-)

rickmlinux:~# dpkg -l apt
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)

||/ Name   VersionDescription
+++-==-==-
ii  apt0.5.28.6   Advanced front-end for dpkg


Status: install ok installed
Priority: important
Section: base
Installed-Size: 3664
Maintainer: APT Development Team deity@lists.debian.org
Architecture: i386
Version: 0.5.28.6
Replaces: libapt-pkg-doc ( 0.3.7), libapt-pkg-dev ( 0.3.7)
Provides: libapt-pkg-libc6.3-5-3.3
Depends: libc6 (= 2.3.2.ds1-4), libgcc1 (= 1:3.4.1-3), libstdc++5 
(= 1:3.3.4-1)

Suggests: aptitude | synaptic | gnome-apt | wajig, dpkg-dev, apt-doc
Description: Advanced front-end for dpkg
This is Debian's next generation front-end for the dpkg package manager.
It provides the apt-get utility and APT dselect method that provides a
simpler, safer way to install and upgrade packages.
.
APT features complete installation ordering, multiple source capability
and several other unique features, see the Users Guide in apt-doc.

...RickM...





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Windows-toolbar behavior in gnome (your not going to believe this!)

2006-06-21 Thread Rick Macdonald

 I have looked fairly carefully at the metacity.schemas file and I 
 have 
 not found a way to alter the window behavior to customize metacity. 
 I'm 
 now using KDE because gnome/metacity had diminished my productivty. 
 I 
 miss the simplicity of gnome's presentation and would use it again 
 
I think sawfish gives you the controls you want. Here is how to switch to 
sawfish after installing sawfish and sawfish-gnome.

gnome-session-properties 

Go to the Current Session tab. Find metacity in the list of running programs, 
and change the Style drop down box from Restart to Normal. Now you can kill 
metacity without it immediately respawning.

killall metacity  sawfish 

To get it to save sawfish as your WM, go to the Session Options and select 
Automatically save changes to session.

Then go to the Focus tab on the Windows settings in Desktop Preferences (or run 
sawfish-ui directly).

I had focus given to new windows for a few days but turned it off just now 
because I found it to be a PITA.

...RickM...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dpms keeps turning off

2006-06-16 Thread Rick Macdonald
 I just installed etch on a new destop. xset -q shows dpms is off. 
 If I enable it with 
 
 xset +dpms dpms 300 600 900
 
 it somehow gets turned off some while later. How do I get the 
 setting to stick?

I forgot to mention that I'm using Gnome. I have a sarge installation with 
Gnome but still using xfree, not xorg. Its screensaver (GUI) config has DPMS 
settings and works fine. The new etch installation doesn't seem to use the same 
xscreensaver.

 Running xset dpms off will put the monitor into the off state.

...for awhile, but then it turns back on!

 I have DPMS in my xorg.conf file. I'm currently running the nv 
 driver. I haven't had time yet to build my own kernel and switch to 
 the nvidia driver. The video is a Geforce 7300LE.
 
 Section Monitor
   Identifier  SEC:5034
   HorizSync   28-50
   VertRefresh 43-75
   Option  DPMS
 EndSection
 
 ...RickM...
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



dpms keeps turning off

2006-06-15 Thread Rick Macdonald

I just installed etch on a new destop. xset -q shows dpms is off. If I enable 
it with 

xset +dpms dpms 300 600 900

it somehow gets turned off some while later. How do I get the setting to stick?

Running xset dpms off will put the monitor into the off state.

I have DPMS in my xorg.conf file. I'm currently running the nv driver. I 
haven't had time yet to build my own kernel and switch to the nvidia driver. 
The video is a Geforce 7300LE.

Section Monitor
Identifier  SEC:5034
HorizSync   28-50
VertRefresh 43-75
Option  DPMS
EndSection

...RickM...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Apt-Get udev and the Newest Kernel

2005-08-18 Thread Rick Macdonald

Manoj Srivastava wrote:

 4% $Get_Root make-kpkg --revision=custom.1.0 kernel_image 


Manoj - I've switched from --revision= to --append-to-version 
because new kernels of the same version don't clash module directories. 
It seems much better to me. Do you still prefer --revision for some 
reason?


...RickM...


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Sunbird?

2005-08-17 Thread Rick Macdonald

Gregory Seidman wrote:


I've started using Sunbird 0.2 at work (under Windows, sadly) and I really
like it. I'd love to be using it at home, too, but there doesn't seem to be
a sunbird package in table, testing, or unstable. Does anyone know where I
can find a .deb, or even a deb-src repository? I'd prefer release 2.0 to
a nightly build, if it's available.
 

I've been using it since April. I just downloaded the Linux tarfile from 
the Mozilla site, as I recall. I just run it from where I untar'd it, as 
you can see in this script:


export 
LD_LIBRARY_PATH=/usr/local/src/sunbird/sunbird-0.2-i686-pc-linux-gnu/sunbird:$LD_LIBRARY_PATH
exec 
/usr/local/src/sunbird/sunbird-0.2-i686-pc-linux-gnu/sunbird/sunbird-bin 


If there is a deb package someday, I don't have a mess to clean up.

...RickM...


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Wireless PCI Cards - Which Work?

2005-07-15 Thread Rick Macdonald

Thomas H. George wrote:

I did a Google search and found forlorn messages from someone trying 
to get a Linksys PCI card to work.  I have one of those too and wasted 
over a month two years ago trying to get it to work.   Finally gave up 
and bought the Netgear card which, with a little start up script, 
worked like a charm.


The point of this message?  Two years have gone by since my struggles 
with the Linklsys card and we have progressed from Woody to Sarge and 
from 2.4 to 2.6 kernels.  I thought the problems would all be history 
but the Google search indicates this is not the case.


I bought a LinkSys WRT54GS router and WPC54GS card for my laptop and it 
works fine. (kernel 2.6.8). It was only back in March but I don't 
remember many details. I think I already had hotplug/udev/hal etc 
installed. I even have an icron on the menubar showing the signal 
strength. I found the following in /etc/network/interfaces just now, but 
there is probably more to it all. This isn't enough to be helpful but I 
just wanted to point out the the LinkSys card does work for me.


# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
mapping hotplug
 script echo
iface wlan0 inet dhcp
 wireless-essid MySecretEssid
 wireless-mode  Managed


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Getting a Dinamic Remote IP

2005-05-18 Thread Rick Macdonald
Charles Hallenbeck wrote:
Hi,
You need to obtain a program called ddclient from the dyndns.org site, 
which you run on your system. It will check to see if dyndns.org has the 
correct IP address every few minutes, and tell dyndns.org about it when 
it changes.
It's also a debian package:
apt-get install ddclient
However, the deb version is 3.6.2 but the latest is actually 3.6.6.
Changelog
3.6.6
- support for olitec-SX200
- added sample-etc_rc.d_init.d_ddclient.lsb as a sample script for 
lsb-compliant systems.
- support for linksys wrt854g (thanks to Nick Triantos)
- support for linksys ver 3
- support for Thomson (Alcatel) SpeedTouch 510 (thanks to Aldoir)
- Cosmetic fixes submitted by John Owens

3.6.5
- there was a bug in the linksys-ver2
- support for postscript (thanks to Larry Hendrickson)
- Changelog out of README
- modified all documentation to use /etc/ddclient/ddclient.conf 
(notified by 	nicolasmartin in bug [1070646])

3.6.4
- added support for NameCheap service (thanks to Dan Boardman)
- added support for linksys ver2 (thanks to Dan Perik)
3.6.3
- renamed sample-etc_dhclient-enter-hooks to sample-etc_dhclient-exit-hooks
- add support for the Allnet 1298 Router
- add -a to ifconfig to query all interfaces (for Solaris and OpenBSD)
- update the process status to reflect what is happening.
- add a To: line when sending e-mail
- add mail-failure to send mail on failures only
- try all addresses for multihomed hosts (like check.dyndns.org)
- add support for dnspark
- add sample for OrgDNS.org
...RickM...
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting a Dinamic Remote IP

2005-05-17 Thread Rick Macdonald
Colin Ingram wrote:
I would get a dynamic dns account so you can ssh to foo.domain and never 
have to worry about the ip again.

try
http://www.dyndns.org/ ;the service I use
Which update client do you use?
...RickM...
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ALSA midi SBLive - sfxload?

2004-02-10 Thread Rick Macdonald

Roy Pluschke said:
 On February 9, 2004 04:42 pm, Rick Macdonald wrote:

 timidity is installed and works but I need true midi now.

 I don't understand the above statement. Timidity is/has true midi. To run
 timidity as a alsa synth start up timidity like this:

 timidity -Os -iA -B2,8 

 Its best to have timidity suid root so that it can use the real time
 scheduler/clock or whatever it is called.

Yes, this works fine! So far I just tried pmidi -p 128:0.

Now what I really need to do is get the test program working (code is
below), so I need to know an actual device name, but I can't get it
working.

I straced pmidi:

[EMAIL PROTECTED]:~/SRC$ strace -f pmidi -p 128:0 ~/Rainbow4.mid  21 | grep
/dev
open(/dev/snd/seq, O_RDWR)= 3

and it seems that it uses /dev/snd/seq, but playmidi doesn't like this:

[EMAIL PROTECTED]:~/SRC$ playmidi -D /dev/snd/seq ~/Rainbow4.mid
Playmidi 2.4 Copyright (C) 1994-1997 Nathan I. Laredo, AWE32 by Takashi Iwai
playmidi: No playback device found.

However, telling playmidi to use external midi does work:

[EMAIL PROTECTED]:~/SRC$ strace -f playmidi -e ~/Rainbow4.mid 21 |grep seq
open(/dev/sequencer, O_WRONLY)= 3
Requested buffer size 2048, fragment size 1024
ALSA pcm 'default' set buffer size 2048, period size 1024 bytes

But putting -D /dev/sequencer on the playmidi command line does _not_ work.

I've tried all these device names in the code below and none work. Any
idea how to get the test program to work? (I tried adding a sleep(3)
before the close in case it was cutting off the note, but it didn't help).

[EMAIL PROTECTED]:~/SRC$ playmidi --help
Playmidi 2.4 Copyright (C) 1994-1997 Nathan I. Laredo, AWE32 by Takashi Iwai
This is free software with ABSOLUTELY NO WARRANTY.
For details please see the file COPYING.
usage: playmidi [-options] file1 [file2 ...]
  -v   verbosity (additive)
  -i x ignore channels set in bitmask x (hex)
  -c x play only channels set in bitmask x (hex)
  -x x exclude channel x from playable bitmask
  -p [c,]x play program x on channel c (all if no c)
  -V [c,]x play channel c with volume x (all if no c)
  -t x skew tempo by x (float)
  -d   don't play any percussion
  -P x play percussion on channel x
  -e   output to external midi
  -D x output to midi device x
  -f   output to fm (sb patches)
  -4   output to 4-op fm (opl/3 patches)
  -a   output to awe32 wave synth
  -h x skip to header x in large archive
  -g   output to gravis ultrasound
  -E x play channels in bitmask x external
  -F x play channels in bitmask x on fm
  -G x play channels in bitmask x on gus
  -A x play channels in bitmask x on awe32
  -z   ignore channel of all events
  -8   force 8-bit samples on GUS
  -M   enable MT-32 to GM translation mode
  -I   show list of all GM programs (see -p)
  -R x set initial reverb to x (0-127)
  -C x set initial chorus to x (0-127)
  -r   real-time playback graphics

I couldn't seem to get amidi to work either:

[EMAIL PROTECTED]:~$ amidi -p hw:128,0 -S 90 40 ef
cannot open port hw:128,0: No such device

[EMAIL PROTECTED]:~/SRC$ pmidi -l
 Port Client name   Port name
 64:0 Rawmidi 0 - EMU10K1 MPU-401 (UEMU10K1 MPU-401 (UART)
 65:0 Emu10k1 WaveTable Emu10k1 Port 0
 65:1 Emu10k1 WaveTable Emu10k1 Port 1
 65:2 Emu10k1 WaveTable Emu10k1 Port 2
 65:3 Emu10k1 WaveTable Emu10k1 Port 3
128:0 Client-128TiMidity port 0
128:1 Client-128TiMidity port 1
[EMAIL PROTECTED]:~/SRC$ amidi -l
DeviceName
hw:0,0EMU10K1 MPU-401 (UART)
hw:0,1Emu10k1 Synth MIDI (16 subdevices)
hw:0,2Emu10k1 Synth MIDI (16 subdevices)

My midi test program:

//
// Programmer:Craig Stuart Sapp [EMAIL PROTECTED]
// Creation Date: Mon Dec 21 18:00:42 PST 1998
// Last Modified: Mon Dec 21 18:00:42 PST 1998
// Filename:  ...linuxmidi/output/method1.c
// Syntax:C
// $Smake:gcc -O -o devmidiout devmidiout.c  strip devmidiout
//

#include linux/soundcard.h
#include unistd.h
#include fcntl.h
#include stdio.h

int main(void) {
   // char* device =  /dev/midi ;
   char* device =  /dev/sequencer ;
   unsigned char data[3] = {0x90, 60, 127};

   // step 1: open the OSS device for writing
   int fd = open(device, O_WRONLY, 0);
   if (fd  0) {
  printf(Error: cannot open %s\n, device);
  exit(1);
   }

   // step 2: write the MIDI information to the OSS device
   write(fd, data, sizeof(data));

   // step 3: (optional) close the OSS device
   close(fd);

   return 0;
}

...RickM...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



ALSA midi SBLive - sfxload?

2004-02-09 Thread Rick Macdonald

In order to get MIDI going I upgraded to sid, updated kernel 2.4.19 to
2.4.24 and switched form the kernel sound driver to ALSA. Everything still
works (xmms can play mp3 to ALSA output, for example), but still no MIDI
sound.

lsmod shows all the modules as shown below. Playing a midi file goes
through the motions (no errors) but no sound. I unmuted and turned up the
volume on every device in alsamixer.

Searching the web and Debian site uncovered that I may need to load sound
fonts with sfxload, but it's not clear to me if this is still required or
not. Also, the awesfx package no longer exists.

What do I need to do next?


[EMAIL PROTECTED]:~$ lsmod
Module  Size  Used byTainted: P
snd-pcm-oss39172   0
snd-seq-midi4032   0 (autoclean)
snd-seq-oss29600   0 (autoclean)
snd-mixer-oss  13392   0 (autoclean) [snd-pcm-oss]
snd-emu10k1-synth   4636   0
snd-emu10k174532   7 [snd-emu10k1-synth]
snd-pcm60068   0 [snd-pcm-oss snd-emu10k1]
snd-hwdep   5280   0 [snd-emu10k1]
snd-page-alloc  6452   0 [snd-emu10k1 snd-pcm]
snd-ac97-codec 47532   0 [snd-emu10k1]
snd-emux-synth 28156   0 [snd-emu10k1-synth]
snd-util-mem1264   0 [snd-emu10k1 snd-emux-synth]
snd-seq-midi-emul   5008   0 [snd-emux-synth]
snd-seq-virmidi 3288   0 [snd-emux-synth]
snd-seq-midi-event  3264   0 [snd-seq-midi snd-seq-oss snd-seq-virmidi]
snd-seq36784   2 [snd-seq-midi snd-seq-oss snd-emux-synth
snd-se
q-midi-emul snd-seq-virmidi snd-seq-midi-event]
snd-timer  14724   0 [snd-pcm snd-seq]
snd-rawmidi13504   0 [snd-seq-midi snd-emu10k1 snd-seq-virmidi]
snd-seq-device  4304   0 [snd-seq-midi snd-seq-oss
snd-emu10k1-synth snd
-emu10k1 snd-emux-synth snd-seq snd-rawmidi]
snd32004   7 [snd-pcm-oss snd-seq-midi snd-seq-oss
snd-mixer
-oss snd-emu10k1 snd-pcm snd-hwdep snd-ac97-codec snd-emux-synth
snd-util-mem sn
d-seq-virmidi snd-seq-midi-event snd-seq snd-timer snd-rawmidi
snd-seq-device]
nvidia   1962496   6 (autoclean)



...RickM...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ALSA midi SBLive - sfxload?

2004-02-09 Thread Rick Macdonald

Henrique de Moraes Holschuh said:
 On Mon, 09 Feb 2004, Rick Macdonald wrote:
 Searching the web and Debian site uncovered that I may need to load
 sound
 fonts with sfxload, but it's not clear to me if this is still required
 or
 not. Also, the awesfx package no longer exists.

 What do I need to do next?

 You can either use timidity (software synthesis), or you need to find
 something to upload the soundfonts to the wavetable synthesizer in your
 Live
 card.  And the soundfonts as well, of course.

timidity is installed and works but I need true midi now.

Any idea why awesfx was removed from the Debian packages?

I found one on the web (awesfx_0.4.4-5_i386.deb). I found some SF2 files
(CT4MGM.SF2 CT8MGM.SF2) from my Windows machine with an SB Extigy. Will
they work? Somewhere I have the CDs from the SBLive card if I need them.

Can I mess up the SBLive card running sfxload?

...RickM...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ALSA midi SBLive - sfxload?

2004-02-09 Thread Rick Macdonald

Roy - thanks for all the info! I've had timidity installed and working for
years, but I gather it does more than I thought. I might be able to get by
with it after all. Am I correct in assuming that with ALSA my MIDI H/W
ports are probably working now? I haven't had a chance to test yet.

[EMAIL PROTECTED]:~$ lspci | grep SB
02:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
02:0d.1 Input device controller: Creative Labs SB Live! MIDI/Game Port
(rev 08)

Roy Pluschke said:
 On February 9, 2004 04:42 pm, Rick Macdonald wrote:
 Henrique de Moraes Holschuh said:
  On Mon, 09 Feb 2004, Rick Macdonald wrote:
  Searching the web and Debian site uncovered that I may need to load
  sound
  fonts with sfxload, but it's not clear to me if this is still
 required
  or
  not. Also, the awesfx package no longer exists.
 
  What do I need to do next?
 
  You can either use timidity (software synthesis), or you need to find
  something to upload the soundfonts to the wavetable synthesizer in
 your
  Live
  card.  And the soundfonts as well, of course.

 timidity is installed and works but I need true midi now.

 Any idea why awesfx was removed from the Debian packages?

 I found one on the web (awesfx_0.4.4-5_i386.deb). I found some SF2 files
 (CT4MGM.SF2 CT8MGM.SF2) from my Windows machine with an SB Extigy. Will
 they work? Somewhere I have the CDs from the SBLive card if I need them.

 Can I mess up the SBLive card running sfxload?


 I use the awesfx package on my debian box without any problems
 (soundblaster
 live card).  The sound fonts that come with the soundcard are called
 2gmgsmt.sf2, 4gmgsmt.sf2 and 8mbgmsfx.sf2 which I'm sure you can find with
 a
 quick google. Note that using the cards wave synth under alsa drops an
 occasional note. See the alsa home page about this bug.

 timidity is installed and works but I need true midi now.

 I don't understand the above statement. Timidity is/has true midi. To run
 timidity as a alsa synth start up timidity like this:

 timidity -Os -iA -B2,8 

 Its best to have timidity suid root so that it can use the real time
 scheduler/clock or whatever it is called.  In your application i.e.
 rosegarden or noteedit just select the timidity synth instead of the
 soundcard synth. The timidity samples are much better that the 8mb sound
 fonts that come by default with the soundblaster cards.

 R.J.P.


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]





...RickM...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: cloning Debian hard drive

2003-08-26 Thread Rick Macdonald

/usr/share/doc/HOWTO/en-txt/mini/Hard-Disk-Upgrade.gz

Peter Nuttall said:
 On Tuesday 26 Aug 2003 4:27 pm, Victory wrote:
 Hello all,

 Now I have a working system, and want to clone it hard drive
 so that I can install the newly clone hard drive to many identical
 system configuration rather  than install from CD and customize lots of
 stuff ???

 1, Is there way to clone this hard drive ?

 2, Is it possible to create bootable CD of the working system so that
 when I boot to new system from CD  it will install exact the same
 with the working system I have now.

 Any help/advice would be very much appreciated.

 Regards,
 Victor

 hi

 on 1:
 If it were me and I wanted to do this once I would put the hard disk in
 the
 working system, format the disk with cfdisk, and then just use konqueror
 to
 copy the whole file system over. This is a btute force method and someone
 else of the mailing list will have something easier and more elangant.

 on 2:

 I guess that there is something to do this but the only thing I can
 suggest is
 the progeny autoinstall thingy.

 sorry that I have not been very helpful

 pete


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]





...RickM...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: new mozilla version in stable ?

2003-03-13 Thread Rick Macdonald

I've never used any unofficial debs, but a few weeks ago the Debian Weekly
News announced unofficial backports of newer versions of mozilla,
OpenOffice and a couple other packages. This seemed somewhat official and
somewhat part of, or somewhat condoned by, Debian.

Any comments on this particular set of debs?

Vineet Kumar said:
 * Ole-Christian S. Hagenes [EMAIL PROTECTED] [20030312 06:23
 PST]:
 On Sun, Mar 09, 2003 at 02:07:23PM -0800, Joris Huizer wrote:
  Hello everybody,
 
  I heard of a friend there is a way to get a newer
  version than 1.0.0 in the stable Debian - but I can't
  find it.
  Can anybody tell me what to add to the
  /etc/apt/sources.list ?

 A good start would be to take a look at URL:http://apt-get.org/
 which is a list of unofficial apt sources.

 Note that unofficial apt sources means precisely not in Debian.
 Sure, you can download stuff in .deb format, and you can use apt to do
 it, but that doesn't make it part of Debian.  Woody (Debian stable) has
 1.0.0.  That's it.

 good times,
 Vineet
 --
 http://www.doorstop.net/
 --
   --Nick Moffitt
 A: No.
 Q: Should I include quotations after my reply?


...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Safe to make long jump from potato to sarge/sid?

2003-02-28 Thread Rick Macdonald

Is it OK to run apt-get dist-upgrade to update a potato install to sid, or
would it be safer just upgrading to woody first, the to sid?

...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody, Sarge, SID, WTF?

2003-02-11 Thread Rick Macdonald
If you did apt-get update after changing sources.list, then the
subsequent apt-get dist-upgrade has you running unstable, which is sid.

by way of Jeff Elkins [EMAIL PROTECTED] said:
 Howdy List!

 I'm exploring Debian via the Koppix CD, which I installed to an empty
 partition on my RedHat 8 box.

 After installation, I modified my /etc/apt/sources.list to point to:

 deb http://ftp.debian.org/debian unstable main contrib non-free
 deb http://ftp.debian.org/debian-non-US unstable/non-US main contrib
 non-free

 deb-src http://ftp.debian.org/debian unstable main contrib non-free
 deb-src http://ftp.debian.org/debian-non-US unstable/non-US main contrib
 non-free

 deb http://ftp.debian.org/debian/ stable main non-free contrib
 deb-src http://ftp.debian.org/debian/ stable main non-free contrib

 At this point, I did an apt-get dist-upgrade. Which completed...

 So, am I now running Sid, Sarge, or WTF?

 I had tried an install via Woody images and had a bad experience. The
 Knoppix install worked well, but I'm curious as to where I am after the
 apt-get dist-upgrade.

 Thanks from a Debian Newbie,

 Jeff Elkins


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]


...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CRASHING HARD DRIVE

2003-02-07 Thread Rick Macdonald

 In linux.debian.user, you wrote:
 Hi All,
   I know that this has been discussed before so I
 apologize for asking again.  I believe that my hard
 drive is on its last leg.  Can I do a quick and dirty
 bzip2 / and will that bzip2 by drive so that I can
 copy it to another, then do the bunzip2?  I'm looking
 for a easy solution, I can re-install, that's not a
 problem, I just hate to loose some programs that I
 have installed.
 Thanks in advance.
 Don

Don - you didn't say what the drive problem looks like, but once when I
was just about to replace a drive I ram memtest and found that bad memory
was the problem causing corrupted files on disk.

...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: recover ext3 deletion

2002-11-09 Thread Rick Macdonald
My file was dated 1996 and I too have no idea where it came from. The
following makes it even more obvious:

PS1='\u@\h:\w\$ '

Brian Potkin said:
 On Fri, Nov 08, 2002 at 05:43:21PM -0700, Rick Macdonald wrote:

 Why doesn't the prompt for root ever include showing the current
 directory? That would probably have saved this poor fellow as he may
 have seen that he was not in /floppy as he thought.

 Surely it is relatively easy to change the prompt to whatever is
 desired.  In root's .bashrc on this machine I have

 export PS1='\h:\w\$ '

 which gives what you suggest.  The file dates from 1998 so I really
 cannot recollect whether it came as the default prompt or it was put
 there by me.

 Brian.


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]


...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: recover ext3 deletion

2002-11-08 Thread Rick Macdonald
Why doesn't the prompt for root ever include showing the current
directory? That would probably have saved this poor fellow as he may have
seen that he was not in /floppy as he thought.

 On Fri, Nov 08, 2002 at 09:45:40PM +, Harvey Kelly wrote:

 Dear All,

 Oh my.  I cannot believe what I did.

 # rm -rf *

 Whilst in my /home directory - I thought I was in /floppy.

 I've been digging around and stumbled across recover, but seem unable
 (?) to get it to work, though I have ext3, not ext2 on the drive.  I
 run  as root:
 recover -a

 Scanning devices...
 Ext2 devices:
 recover: No valid standard devices found; are you a privileged user?

 If your device is not listed, you can still use it
 Please enter the partition's device name

 To which I enter /dev/hda7

 Getting inodes (this can take some time)...
 debugfs 1.27 (8-Mar-2002)
 Terminated

 And I'm back at the prompt, with nothing recovered as I can tell.
 Please, where am I going wrong?  In addition to losing everything (no
 back-ups, I know, I know), a 3,000 word essay due in Monday has been
 lost.

 As far as I am aware debugfs can cope with an ext3 filesystem so see if
 this helps.

 As root type debugfs /dev/hdb7 at the prompt.  You should see something
 like this.

 debugfs 1.30-WIP (30-Sep-2002)
 debugfs:

 Now enter lsdel for a list of deleted inodes, file sizes and deletion
 times.  The output is piped through a pager.  You will have to use file
 size and deletion time as a guide to which file you want to recover.

 The final step is

 debugfs: dump inode number /tmp/foo.txt

 Note the angle brackets.

 Ideally you should have unmounted the partition immediately so that
 nothing has been written to it.

 Brian.


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]


...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: best way to have gcc-3.2 on woody?

2002-10-31 Thread Rick Macdonald

I installed gcc (g++ and g77) 3.2 last week or so.

I added sarge to my sources.list, then ran apt-get update, then installed
al the 3.c ompiler packages, then removed sarge from sources.list and ran
apt-get update again.

I do this often, sometimes even from sid. When I run the apt-get install I
use the -d -u flags first to see what it's going to do. If it wants to
drag lots of other packages along at the same time, I sometimes change my
mind and do without.

There are probably more elegant ways to do this these days...

Enrico Zini said:
 On Thu, Oct 31, 2002 at 11:34:03AM -0200, Klaus Imgrund wrote:

 That has nothing to do the compiler as far as I can see - mencoder
 works for me compiled with gcc 2.96 - no problem.The guys at the
 mplayer lists

 Fine for that.

 But suppose I'm doing some C++ development in woody, and that I've
 written some piece of legal code using some advanced C++ feature (like
 throwing exceptions created using multiple inheritance) that only g++3.2
 gets right.

 In that case, I'd like to have g++3.2 available, but I wouldn't want to
 go through the assle to run an unstable system.

 What would then be the best way to have gcc-3.2 on wooy?

 Bye,

 Enrico


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]


...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Quicken under debian

2002-06-29 Thread Rick Macdonald

Neal Lippman said:
 I am wondering if anyone could recommend a solution for using Quicken
 on my  debian woody system. Quicken is essentially the ONLY windows
 application that  I still need, and thus is the only reason that my
 laptop still has windows98  loaded on it.

 As far as I can tell, wine does not yet support Quicken,

I've been running Quicken 2000 on an old version of wine (Wine release
2526) for two years using Win95 DDLs. No problem.
...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Comments on the new gnome-terminal.

2002-06-28 Thread Rick Macdonald

Alex Malinovich said:
 On Fri, 2002-06-28 at 14:11, Alan Shutko wrote:
 Alex Malinovich [EMAIL PROTECTED] writes:

  Is there a config file for this terminal anywhere that I can edit by
  hand so I can at least get a working font set up?

 ~/.gconf/apps/gnome-terminal/profiles/Default/%gconf.xml

 I'm sure there's some way to get gconftool to do it, but I couldn't
 figure out how.

 Are you having any luck getting any changes in there to actually stick?
 I've found the x_font line, but changing the font doesn't have any
 effect. Changing the font from within the terminal works after I
 restart the terminal, but the change is never reflected in %gconf.xml

I believe the release notes for Gnome-2 say that you have to exit to get
changes to take effect, and that this will be fixed for the next (minor)
release. Have a look at the release notes. They say the purposely removed
many configuration options throughout Gnome.
...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Debian take on UnitedLinux?

2002-05-31 Thread Rick Macdonald
Has there been any Debian disscussion about this, official or otherwise?

http://computerworld.com/softwaretopics/os/linux/story/0%2C10801%2C71535%2C00.html?nlid=AM
...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian take on UnitedLinux?

2002-05-31 Thread Rick Macdonald

Paul Johnson said:
 On Fri, May 31, 2002 at 09:02:27AM -0600, Rick Macdonald wrote:
 Has there been any Debian disscussion about this, official or
 otherwise?

 Why should there be?  We are already the One True Linux Distribution.
 8:o)

I wrote to Caldera asking if UnitedLinux is Debian based like their
OpenLinux.
...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian take on UnitedLinux?

2002-05-31 Thread Rick Macdonald
Google is so amazing I hardly need to post to lists anymore. Sometimes I
try it before looking at man pages. ;-) Entering lsb gives this as the
first hit:
Linux Standard Base
Latest Happenings, About the LSB. Specification Proposals The latest draft of
various specification proposals are now listed on the specification
sub-page. ...Description: The goal of the Linux Standard Base (LSB) is to 
develop and
promote a set of standards that will...Category: Computers  Software  
Operating Systems  Linux  Projects 
Standardswww.linuxbase.org/ - 8k - 30 May 2002 - Cached - Similar pages

Quenten Griffith said:
 You know Ben its people like you that make posting anything to
 newsgroups unenjoyable.  I did go to those links and they don't really
 give a great description exactly what it is.  Did someone wake up on
 the wrong side of the bed or are you always just completely rude to
 other people?

 ben wrote:

 On Friday 31 May 2002 12:29 pm, Quenten Griffith wrote:
  And what exactly is LSB?
 
 [snip]
   
http://people.debian.org/~taggart/lsb/
http://people.debian.org/~joeyh/lsbtest/
  

 you see those linky type things? they're actually addresses you can go
 to on the web. you know what the web is, don't you?

 jeez, dude, does your mommy move the mouse for you?

 ben


...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: squirrelmail -- php4 -- imp login failure

2002-05-28 Thread Rick Macdonald

Thomas R. Shemanske said:
 Both squirrelmail and imp are installed on several machines in our
 department, but they are used infrequently.  The last time I used them
 was in March when they worked fine; a few days ago, I was unable to
 login on any installation with either squirrelmail or imp.

 One setup is sid with
 squirrelmail   1.2.6-1
 apache 1.3.24-3
 php4   4.2.1-2
 imp2.2.6-5
 uw-imapd-ssl   2001adebian-6

Mine works fine (sid). I have the same versions of squirrelmail and
apache, but version 4.1.2-4 of php4. I use courier imap and don't have imp
or uw-imapd-ssl installed.
...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bradcast2000 for Woody?

2002-05-21 Thread Rick Macdonald
I get this:

Get:1 http://http.demudi.org woody/local bcast 2000c-1 [3373kB]
Fetched 3373kB in 37s (90.1kB/s)
Selecting previously deselected package bcast.
(Reading database ... 82734 files and directories currently installed.)
Unpacking bcast (from .../bcast_2000c-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/bcast_2000c-1_i386.deb
(--unpack): trying to overwrite `/usr/share/man/man1/cjpeg.1.gz', which is also 
in
 package libjpeg-progsErrors were encountered while processing:
 /var/cache/apt/archives/bcast_2000c-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



Tom Massey said:
 On Tue, May 21, 2002 at 06:46:56PM -0400, stan wrote:
 Anyone know where i can get this?

 Add:

 deb http://http.demudi.org/debian woody local main contrib non-free

 to your /etc/apt/sources.list, then apt-get update,
 apt-get install bcast.


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]


...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bradcast2000 for Woody?

2002-05-21 Thread Rick Macdonald

Tom Massey said:
 On Tue, May 21, 2002 at 09:15:29PM -0600, Rick Macdonald wrote:
 I get this:

 Get:1 http://http.demudi.org woody/local bcast 2000c-1 [3373kB]
 Fetched 3373kB in 37s (90.1kB/s)
 Selecting previously deselected package bcast.
 (Reading database ... 82734 files and directories currently
 installed.) Unpacking bcast (from .../bcast_2000c-1_i386.deb) ...
 dpkg: error processing /var/cache/apt/archives/bcast_2000c-1_i386.deb
 (--unpack): trying to overwrite `/usr/share/man/man1/cjpeg.1.gz',
 which is also in
  package libjpeg-progsErrors were encountered while processing:
  /var/cache/apt/archives/bcast_2000c-1_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)

 I don't have libjpeg-progs installed, so don't have this problem.
 You could uninstall libjpeg-progs I guess to install bcast. Note
 that this isn't an official Debian package.

I just ran dpkg -i --force-overwrite and got it installed. I copied the
packager on this email; perhaps he'd be interested in the problem.
...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GUI front-end for writing CD audio to CD-R?

2002-05-17 Thread Rick Macdonald

Paul Baloo Johnson said:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Thu, 16 May 2002, Mike Frisch wrote:

 Can somebody recommend a decent GUI front-end for writing CD audio to
 CD-R?  Essentially a wrapper for cdrecord and some utility to convert
 MP3 to WAV.  I am looking for something easy to use and reliable.

 MP3 to WAV, I use xmms with the disk writer output plugin.  For the
 burning process itself, I use cdroast.

(Baloo - I tried to reply to you privately but the mail bounced)

I hope you don't mind this question, but do you know if xmms supports
marking start/end points and writing out just that section? I looked but
couldn't see such a feature, so I starting testing audacity. It does the
job, but is tedious to find the start/end points (15 minutes of an
hour-long radio program). I end up using xmms (with it's easy slider
control) to find the section I want and then extract it with audacity.

...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is there any tool like purify(memory leak check tool) for LI

2002-05-13 Thread Rick Macdonald

Paul Smith said:
 %% Sean 'Shaleh' Perry [EMAIL PROTECTED] writes:

  sp none of them are as cool and featureful as purify.  Of all of the
  sp tools I have used, I miss that one most.  Unfortunately apps like
  sp that are decidedly hard to write and the commercial ones are sp
  REALLY expensive for most home hackers.

 We'd buy it at work in a heartbeat if it were available on Linux:
 Purify _is_ cool.  But, it's not available on Linux and I've not heard
 Rational provide any details on whether it ever will be :(.

Parasoft's Insure++ is a Purify competetor and runs on Linux. It's not
cheap, but neither is Purify. We may well switch because we've become fed
up with Rational's dwindling interest in supporting UNIX platforms as well
as they used to. Also, we're using Linux in the company now and need a
product that runs on LInux.
http://www.parasoft.com/jsp/products.jsp

...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: smail drops off; what to replace it with? exim?

2002-05-03 Thread Rick Macdonald
dman said:

 | Ah, yes, I think you're right:
 |
 | timshel# apt-get install -d exim
 ...
 | I just tried the above and then exited. I didn't actually run it yet,

 See the '-s' option.  It tells apt to simulate the operation, but to
 not actually try to execute it.  It also gives more details (versions
 and which release the package will be pulled from).

Ah, thanks! I did't know that option. It didn't seem to complain. I won't
actualy try the installation tonight because we're in the middle of a
snowstorm and the lights are flickering like crazy...

timshel# apt-get -s install exim
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  smail
The following NEW packages will be installed:
  exim
0 packages upgraded, 1 newly installed, 1 to remove and 423  not upgraded.
Remv smail (3.2.0.114-4 Debian:unstable) [courier-imap mutt at qpopper mailx
]
Inst exim (3.35-1 Debian:unstable)
Conf exim (3.35-1 Debian:unstable)

...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



smail drops off; what to replace it with? exim?

2002-05-02 Thread Rick Macdonald

smail keeps dropping off my woody system and I have to continually restart
it.

Rather than deal with the problem I thought I'd just replace it. A newer
woody system seems to have exim. The system with smail has been running
Debian _before_ the first offical release (buzz I think).

Should I switch to exim, or sendmail?

If it matters, I run fetchmail/procmail to get mail from various places. The
mail goes into maildirs which I read with squirrelmail and apache with
courier-imap. I think smail started having problems when I added
procmail/imap to my system.

I've never tried to replace a package that has many packages that require
it. What do I tell apt to get it to remove smail and install its
replacement?

...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: smail drops off; what to replace it with? exim?

2002-05-02 Thread Rick Macdonald
Vineet Kumar said:
 * Rick Macdonald ([EMAIL PROTECTED]) [020502 15:31]:
 I've never tried to replace a package that has many packages that
 require it. What do I tell apt to get it to remove smail and install
 its replacement?

 apt-get install exim

Ah, yes, I think you're right:

timshel# apt-get install -d exim
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  smail
The following NEW packages will be installed:
  exim

I just tried the above and then exited. I didn't actually run it yet, but it
looks like it should do the right thing. Thanks!

...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need some sound advice - SB Live!

2002-03-29 Thread Rick Macdonald
Derek Williams said:
 ALSA is still officially beta, so the packages are still in a state of
 flux; it always seems at least a bit broken when I try them with my
 SBLive.

 I have gotten alsa working with my sblive... don't think I did anything
 special. Running alsaconf always seemed to get it working properly. If
 I remember anything special that I had to do to get it working I'll
 post it

Do you know if alsa (or the kernel drivers) support MIDI on the SBLive?

...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mozilla issues

2002-03-27 Thread Rick Macdonald
curtis said:
 One problem that bothers me with mozilla is printing.  I can't seem to
 figure out how to add a printer to Mozilla, which might resolve this
 situation.

 Otherwise, my default printer is listed as PostScript/default and the
  print command under properties is for lprng (I use cups).  So,
 basically  everytime I print I open the properties and enter just lp.
  Then I can  print.  There has to be a way to permanently edit the
 print command and  to add printers. Could someone help me on this?

I don't use Mizilla yet, but in /usr/lib/mozilla/defaults/pref/unix.js I see
these lines:

// On Solaris/IRIX, this should be lp
pref(print.print_command, lpr
${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME});
pref(print.printer_list, ); // list of printers, seperated by spaces
pref(print.print_reversed, false);
pref(print.print_color, true);
pref(print.print_landscape, false);
pref(print.print_paper_size, 0);

...RickM...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need some sound advice - SB Live!

2002-03-20 Thread Rick Macdonald
On Tue, 19 Mar 2002, Bill Moseley wrote:

 Argh! - HOWTO overload.

 I've got a Sound Blaster Live Value.  I'm running Debian Testing.  I've
 build my own kernel 2.4.17 from kernel-source package.  I did build the
 emu10k1 module.  I ran modconf and selected emu10k1.  emu10k1 loads fine
 without errors.  I can cp some .wav files to /dev/audio and hear the
 sound.  Some .wav files sound ok, some others sound bad.

I and others have found that cat'ing to /dev/audio will sound bad but
playing the same file with one program or another (try xanim) will sound
good. IE, don't use writing directly to /dev as a test.

...RickM...



Re: SquirrelMail help

2002-03-20 Thread Rick Macdonald
 I recently installed Squirrelmail  when I login it just times out,
 anyone that have had the same problem?

 I get this error:

 Fatal error: Maximum execution time of 30 seconds exceeded in
 /usr/share/squirrelmail/functions/imap_general.php on line 87

I had this exact error a few days ago. In my case, I had called my mail
directory ~/maildir. I renamed it to ~/Maildir and it started working.

I also ran /etc/squirrelmail/conf.pl and set a few parameters, but I think
it was the Maildir name that fixed it.

I had success with an mbox to maildir conversion script that I found with a
web search. It's called mb2md-2. Google will find it.

...RickM...




Re: How to use SquirrelMail?

2002-03-18 Thread Rick Macdonald
On Mon, 18 Mar 2002, Ian Duggan wrote:


  I don't understand if IMAPs role is simply to serve up the mail to the
  remote client and allow deleting, moving to other folders, etc, or if it
  will want to replace my existing steps of fetchmail/procmail.

 Think of IMAP as like POP, but leaving everything on the server. IMAP is
 just for serving your mail. It also has the notion of folders on the
 server, rather than being managed by your local mail client. I.e.
 whatever mail client I open up and point at my IMAP server, I see the
 same set of folders. No need to set them up on each client again.
  Which IMAP package should I use?

 I have used courier-imap for years with great success.

 My setup is a little complex, but it has worked for years without many
 hiccups.

 1) Domain hosted by an ISP on a colocated server.
 2) Fetchmail to bring mail down to my local machine
 3) Fetchmail delivers via SMTP to Postfix running locally
 4) Postix passes to Procmail for processing
 5) Mail delivered to Maildir/ in my home directory.

 From this point, I can either read the Maildir/ directly with mutt,
 pine, etc, or

 6) courier-imap serves up Maildir/ via IMAP.

OK, I'm getting close.

I now have fetchmail handing mail off to smail/procmail as before, but
added a procmail rule for a particular account to go into a maildir format
for courier-imap, which I now have installed.

I think the only think missing is how SquirrelMail and IMAP get configured
with a userid/passwd to access the maildir that now has one message
sitting in it. When I give my regular id/pwd it times out. Any hints? I'm
RTFMing still...

 Rather than install SquirrelMail or something like it, I just SSH into
 my home net and use port forwarding to access IMAP. SSH is the only
 thing I offer externally. It makes security easier to think about.

Yes, I have ssh access to my machine enabled, but I fear installing putty
or anything else on the Windows machines of friends and family, because
from then on for the rest of my life they blame me for every little thing
that goes wrong with their Win machine!

...RickM...



Re: How to use SquirrelMail?

2002-03-18 Thread Rick Macdonald
On Mon, 18 Mar 2002, Ian Duggan wrote:


  OK, I'm getting close.
 
  I now have fetchmail handing mail off to smail/procmail as before, but
  added a procmail rule for a particular account to go into a maildir format
  for courier-imap, which I now have installed.
 
  I think the only think missing is how SquirrelMail and IMAP get configured
  with a userid/passwd to access the maildir that now has one message
  sitting in it. When I give my regular id/pwd it times out. Any hints? I'm
  RTFMing still...

 The first thing to test is that you can access courier-imap directly
 using another IMAP client. I.e. can you use fetchmail to retrieve from
 your local courier-imap server? I use Netscape Messenger, but any mature
 mail reader that supports imap could be used to test.

 courier-imap recently changed from using pam directly to using a
 daemon called authdaemond. It listens on a local unix socket. It is
 configured by /etc/courier/authdamond if you are using the debian
 package.

 What version of courier-imap do you have?

1.4.3-1 from sid.

Ah, it _just_ started working! but I'm afraid I didn't notice what I might
have done to fix it. It may have been as simple as renaming ~/maildir to
~/Maildir.

Next up is to set up pine for imap (collections, it seems) so that pine
and squirrelmail can share the Maildir folders. If it all works, then I
need to convert a bunch of mbox files to maildir format. I did a search
and found a script for this.

After that, install some plugins!

...RickM...



How to use SquirrelMail?

2002-03-16 Thread Rick Macdonald

Below I've outlined what I'd like to do, but I'm not sure if SquirrelMail
will do this. I easily installed apache and SquirrelMail, but I haven't
installed an IMAP yet.

Here's what I do now:

- run fetchmail to grab mail from a few different mail servers for deposit
  locally for a few different users.
- some local users running Windows/Netscape get their mail from my
  machine; I run qpopper for this.
- For one of the users (me) procmail sorts the mail into various mail
  files.
- I read my mail with pine, usually.

When I'm away from home, I want to access my mail remotely, using web
access. People seem to like SquirrelMail. I have apache and SM installed,
but that's as far as I've gone.

I can't figure out if SquirrelMail will use the existing mail folders that
pine sees or not. I don't want SquirrelMail to fetch mail from anywhere to
move anywhere else.

I don't understand if IMAPs role is simply to serve up the mail to the
remote client and allow deleting, moving to other folders, etc, or if it
will want to replace my existing steps of fetchmail/procmail.

Which IMAP package should I use?

...RickM...



Re: Best Email Web Application

2002-03-16 Thread Rick Macdonald

I installed squirrelmail, but which IMAP should I use?

Can I still keep running qpopper to provide POP3 for users on my lan (wife
and kids)? Or does IMAP conflict somehow?

On Fri, 15 Mar 2002, Angus D Madden wrote:

 Dave Scott, Fri, Mar 15, 2002 at 12:45:18PM -0800:
  Anyone have any ideas on what is the best Web Based email application.
 
  I was using Neomail, but it's just too plain, is there anything with
  more options, etc, something more like Outlook Web Access 2000 in an
  open source alternative.
 


 I highly recommend SquirrelMail.  There is a deb in woody/sid, but I
 usually just download and install it directly, as it is simple to
 install and configure.  http://www.squirrelmail.org/

 SquirrelMail is very full featured and development is open and active.
 There was an imap bug which caused apache procs to hang on high load
 servers but that seems to have been fixed in the latest release.

 g


 --
 Brought to you by Debian 3.0
 Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


...RickM...



Re: configuring ext3 (was Re: new twist on shutting down and restricting ssh users)

2002-03-14 Thread Rick Macdonald
On Wed, 13 Mar 2002, Dave Thayer wrote:

 On Wed, Mar 13, 2002 at 09:13:08AM -0800, Vineet Kumar wrote:
  * dman ([EMAIL PROTECTED]) [020306 19:12]:
   I've got 2.4.17 on all my systems.  (2.4.18 is out now, but not
   packaged last I checked)  Are there any tricks or gotchas to setting
   it up?  Here's what I know (I did include support in the kernel) :
   o   /etc/fstab -- s/ext2/ext3/
 
  try this instead: s/ext2/ext3,ext2/
 

 If you do this mount won't be able to find fsck unless you create a
 symlink like /sbin/fsck.ext3,ext2 to the original fsck.

Seems odd. fsck isn't the same size as fsck.ext3 and fsck.ext3. What
should the new symlink point to?

timshel# ls -al /sbin/fsck*
-rwxr-xr-x1 root root18968 Feb 23 06:58 /sbin/fsck
-rwxr-xr-x2 root root99608 Feb 23 06:58 /sbin/fsck.ext2
-rwxr-xr-x1 root root99608 Feb 23 06:58 /sbin/fsck.ext3
-rwxr-xr-x1 root root21144 Jan 27 00:05 /sbin/fsck.minix
-rwxr-xr-x1 root root  413 Jan 25 06:05 /sbin/fsck.nfs

...RickM...



Re: Boottime keymap

2002-03-10 Thread Rick Macdonald
On Fri, 8 Mar 2002, Timo Benk wrote:

 On Fri, Mar 08, 2002 at 12:10:06PM -0300, Daniel Toffetti wrote:
  Hi !
  
  I've renamed boottime.kmap.gz in /etc/console to boottime.kmap.gz.bak 
  and copied es.kmap.gz in /usr/share/keymaps/i386/qwerty to 
  /etc/console/boottime.kmap.gz, so that the spanish keymap loads every 
  time I boot.
  Is this the right way to do it ?
 I think the right way is:
 # dpkg-reconfigure console-common
 
 -timo
 
 -- 
 gpg key fingerprint = 6832 C8EC D823 4059 0CD1  6FBF 9383 7DBD 109E 98DC
 
 

...RickM...



Re: seti@home

2002-03-06 Thread Rick Macdonald
On Tue, 5 Mar 2002, Carl Fink wrote:

 On Tue, Mar 05, 2002 at 02:13:16PM -0600, Gary Turner wrote:
  I've been running setiathome on my winboxes and am considering adding my
  linbox to the mix.  So, the question is what is the appropriate
  directory to unpack and run this little bippy?  
 
 I put it in ~carlf/bin
 
 How does the graphical mode do?
 
 There's a graphical mode?  Never even occurred to me to use one.  I
 monitor it with Tkseti.

The setiathome folks eventually added a graphical extension to the client
that communicates via shared memory. It looks like the Windows
screensaver. I had a quick look once but it just slows the machine down.
Besides, I'm a fairly biased user of TkSETI myself.  ;-)

...RickM...



Re: SoundBlaster Live!, /dev/audio, and bad sound quality

2002-03-03 Thread Rick Macdonald
On Sun, 3 Mar 2002, Richard Cobbe wrote:

 Greetings, all.
 
 New sound card (actually, new computer).  It's a SoundBlaster Live!, so
 I've compiled in support for the emu10k1 module.
 
 Up-to-date potato, kernel 2.2.20, SMP.
 
 In general, everything works fine, except that sending .au files to
 /dev/audio has really lousy sound quality.  You can hear the sound, but
 there's a loud hissing or static sound on top of it.  I had this
 behavior both with emu10k1 v0.7 included with the 2.2.20 source, and
 emu10k1 v0.18 that I just downloaded from SourceForge.  I tried playing
 with various mixer settings, but that didn't help.  The only way I could
 get rid of the hissing was by turning the volume all the way down.
 
 Other sound operations, like playing MP3s or WAVs in xmms, work fine; no
 hissing or static at all.  (I only tried this with v0.18 of the driver,
 though.)
 
 I don't know that many things use /dev/audio any more, so this isn't
 that big a deal, but I'd like to get this working---especially because I
 typically use english.au from www.kernel.org to test the sound system
 after I change things.  Nice, easy, and short.

I wonder if it's meant to work. cat english.au  /dev/audio on my system
also sounds horrible, but the same file sounds fine when played with
xanim, esdplay or play. I actually don't know where play came from.
bplay, from the bplay package, sounds horrible just like cat does.

I think cat'ing the file _used_ to sound OK on the old sound card (SB16)
that I had before the the SBLive.

...RickM...



Re: web-based email for debian?

2002-03-01 Thread Rick Macdonald
On Fri, 1 Mar 2002, Matthew Daubenspeck wrote:

 
 I also use SquirrelMail on both woody and potato machines. I skipped the 
 .debs this time and installed directly. Works great and haven't had a 
 single problem yet.

I'm looking at the SquirrelMail web site, and I can't see that the
MessageList shows which messages have been replied to, or the size or if
there are attachments. There is a column with a + mark, which is maybe
one of these three things? Are these other things I mentioned available?

...RickM...



Re: procmail. query use of trailing :

2002-02-27 Thread Rick Macdonald
On Wed, 27 Feb 2002, Ian Balchin wrote:

 Hi,
 
 Why should i, or why should I not, use the trailing : in the first
 line of a procmail recipe?
 
 I know this is to do with a lockfile, but do not understand the whys
 and wherefores of same.
 
 :0:
 * ^TOscuba
 scubafile
 
 
 :0
 * ^From.*peter
 * ^Subject:.*compilers
 petcompil
 
 both examples from man procmailex.  Even if the second example has
 two conditions to be satisfied, why does it dispense with the
 trailing : ?

http://www.ling.helsinki.fi/~reriksso/procmail/mini-faq.html#locking

...RickM...



Re: NVIDIA driver

2002-02-14 Thread Rick Macdonald
On Thu, 14 Feb 2002, Christian Schoenebeck wrote:

  Also make sure you comment out the Load dri and Load GLCore lines.
 
 There wasn't one in my XF86Config.
 
  For starters, you can check that the driver is there. If the nvidia-glx
  package (the one you built) is installed, you can use dpkg -L nvidia-glx
  to see a list of its files. One of them should be
  /usr/X11R6/lib/modules/drivers/nvidia_drv.o .
 
 this is what 'dpkg -L nvidia-glx' says:

Is the driver actually loaded?

timshel# lsmod
Module  Size  Used by
vmnet  17408   6 
vmmon  18032   0 
ip_masq_vdolive 1488   0  (unused)
ip_masq_raudio  3088   0  (unused)
ip_masq_user2620   0  (unused)
ip_masq_irc 2096   0  (unused)
ip_masq_quake   1492   0  (unused)
ip_masq_ftp 3616   0  (unused)
NVdriver  814112  10 

I found that even after installing the deb files I had to manualy add
NVdriver to /etc/modules.

I don't know if I should have just turned on the auto option shown below
or what, and I'm confused about kmod and kerneld and which if any I should
be running...

# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.
# An entry named `auto' will cause the system to start kerneld
immediately.
# Kerneld then loads modules on demand. `noauto' disables kerneld
completely.

#auto
NVdriver


...RickM...



Re: Segfaults in seemingly unrelated programs

2002-02-03 Thread Rick Macdonald
On Sun, 3 Feb 2002, Rob Mahurin wrote:

 On Sat, Feb 02, 2002 at 08:52:36PM -0700, Rick Macdonald wrote:
  On Sat, 2 Feb 2002 [EMAIL PROTECTED] wrote:
  
  I had similar symptoms once. Segfaults and apparently corrupted disk
  files. It turned out to be a bad memory SIMM. Try running memtest86 for
  awhile (10 minutes to an hour or more; depends on how much memory you have
  and how fast the cpu is).
  
  After I replaced the memory, I reinstalled all packages in-place
  (declining any config files) to refresh any files that may have been bad.
  Made me feel better, at least.
 
 I had the same thought, though I'm not sure how an overheated CPU fan
 could damage the memory.  It seems more likely that the libraries Jim
 mentions are corrupted, and the one program that works is somehow
 lucky.  A memtest couldn't hurt, though.

My SIMM went bad after 10 months _without_ overheating anything. I would
give the same advice even in the absense of the heating issue. Can't hurt!
:-)

...RickM...



Re: Segfaults in seemingly unrelated programs

2002-02-02 Thread Rick Macdonald
On Sat, 2 Feb 2002 [EMAIL PROTECTED] wrote:

 Due to a faulty fan, one CPU overheated and brought the system down. On
 restart, fsck indicated that some filesystem corruption occured.
 
 On startup, gdm would not start. After entering my username in the
 console, the login prompt came back without giving me the opportunity to
 enter my password. The logical next step, booting in single user mode.
 
 In single user mode, it quickly appeared that a few programs segfault.

I had similar symptoms once. Segfaults and apparently corrupted disk
files. It turned out to be a bad memory SIMM. Try running memtest86 for
awhile (10 minutes to an hour or more; depends on how much memory you have
and how fast the cpu is).

After I replaced the memory, I reinstalled all packages in-place
(declining any config files) to refresh any files that may have been bad.
Made me feel better, at least.

...RickM...



Re: IP Chains question

2002-02-01 Thread Rick Macdonald
On Fri, 1 Feb 2002, David Gardi wrote:

  I've just switched to 2.4.x on my laptop, and it was painless. I'm about
  to do the same on a desktop that runs a firewall using my old original
  ipfwadm rules, which are magically translated by debian (potato/2.2.x)  
  into (i think) ipchains.
  
  Is there someplace I can find instructions to convert to iptables? Is
  there a similar on-the-fly conversion script?

 If you intend to switch to iptables from ipchains,
 I strongly suggest you to take a look at http://netfilter.samba.org/

Oh, are you saying that (initially) I can just install 2.4.17 and leave my
ipfwadm stuff as-is and the ipchains script will still work? I'd switch
to iptables eventually, but if the old stuff will still work I don't have
to figure out how iptables work _before_ I install the new kernel.

...RickM...



Re: IP Chains question

2002-01-31 Thread Rick Macdonald
On Thu, 31 Jan 2002, Eric G. Miller wrote:

 On Thu, 31 Jan 2002 09:08:45 -0500 (EST), Matt Kopishke [EMAIL PROTECTED] 
 wrote:
 
  I have set up a firewall using ipchains and the bridge patch
  (bridgein) under potato (2.2.19).  The one snag I had was although the
  firewall works well only letting the world see certain ports (80  443),
  it doesn't let the servers behind the firewall get out.  I set up a rule
  that allows all traffic that originated behind the firewall out, but
  because we only have a couple of ports open, and we have no clue what port
  the reply packets are going to come on, the reply packets get denied.
  
  I was wondering if there is any way to mark out going packets so we can
  let them through on their way back?
 
 Yea, it's called iptables/netfilter (kernel 2.4.x).

I've just switched to 2.4.x on my laptop, and it was painless. I'm about
to do the same on a desktop that runs a firewall using my old original
ipfwadm rules, which are magically translated by debian (potato/2.2.x)  
into (i think) ipchains.

Is there someplace I can find instructions to convert to iptables? Is
there a similar on-the-fly conversion script?

...RickM...



Re: Compiling pcmcia-source

2002-01-29 Thread Rick Macdonald

Well, I'm going to say 2.4.17 anyway...

Yesterday, I compiled a 2.4 kernel for the first time. I went for 2.4.16
because I thought it was better for vmware.

It failed to compile even before I got to the pcmcia source. The message
wasn't exactly what you got; it was from the linker. Unresolved or
duplicate symbols or something. A buddy in the office said to try 2.4.17
because he thought 2.4.16 was only out for a day before 2.4.17 came out
(so it must have been bad, he figured). Anyway, 2.4.17 compiled, installed
and booted up fine, as far as I can tell so far.

On Tue, 29 Jan 2002, Seneca Cunningham wrote:

 I need the pcmcia module to get access to my ethernet card and cdrom, but I
 just can't get pcmcia-source to compile. I've tried to do it with woody and
 sid, but I just can't seem to get my pcmcia module to compile. I get
 warnings about how malloc.h is deprecated throughout the entire process, but
 at the end...
 
 In file included from 3c575_cb.c:98:
 /usr/src/kernel-source-2.4.16/include/linux/malloc.h:4: warning: #warning
 linux/
 malloc.h is deprecated, use linux/slab.h instead.
 3c575_cb.c:879: conflicting types for `wait_for_completion_R02032293'
 /usr/src/kernel-source-2.4.16/include/linux/completion.h:30: previous
 declaratio
 n of `wait_for_completion_R02032293'
 make[4]: *** [3c575_cb.o] Error 1
 make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/clients'
 make[3]: *** [all] Error 2
 make[3]: Leaving directory `/usr/src/modules/pcmcia-cs'
 make[2]: *** [build-modules] Error 2
 make[2]: Leaving directory `/usr/src/modules/pcmcia-cs'
 make[1]: *** [kdist_image] Error 2
 make[1]: Leaving directory `/usr/src/modules/pcmcia-cs'
 Module /usr/src/modules/pcmcia-cs failed.
 Hit return to Continue
 
 This particular version is of my most recent attempt, with the pcmcia-source
 from sid, and downloaded today. The previous versions were all similar, with
 an identical result.
 
 Please _don't_ suggest that I change kernels to 2.4.17, I had enough trouble
 floppying 2.4.16 over, earlier this month, and I need the pcmcia module to
 even attempt to connect to the network (pcmcia ethernet card). I can't burn
 a cd and use it, my cdrom is an external one, connected through pcmcia. I
 can't do SLIP or PLIP because of a combination of a hardware and software
 problem (windoze combined with semi-functional (works when it isn't needed,
 stops when its needed) hardware).
 
 In spite of having to floppy everything (packages  1.6M are made into
 spanning archives, then reassembled), I generally download new versions of
 the more important packages if I find them in testing or sid. Probably the
 only exception to that would be the kernel-source... I don't have enough
 good floppies to do that.
 
 Thanks for any help,
 
 Seneca
 [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 

...RickM...



Debian uses gcc272 for kernel; conflicts with NVidia-kernel-src

2002-01-17 Thread Rick Macdonald

When I build my kernel 2.2.19 (using make-kpkg), the gcc version is forced
to gcc272.

Installing and building the NVidia drivers (sid 2313), it forces you to
use the same gcc version. But then the compile fails. I'm forced to build
my kernel with 2.95.4. Is this a bug or what?

gcc272 -c -Wall -Wno-unknown-pragmas -Wno-multichar -O -D__KERNEL__
-DMODULE -D_LOOSE_KERNEL_NAMES -D_X86_=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW
-DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2314  -I.
-I/usr/src/linux/include nv.c
cc1: Invalid option `-Wno-unknown-pragmas'
cc1: Invalid option `-Wno-multichar'
make[2]: *** [nv.o] Error 1
make[2]: Leaving directory
`/usr/src/modules/nvidia-kernel-1.0.2314/NVIDIA_kernel-1.0-2314'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-1.0.2314'
Module /usr/src/modules/nvidia-kernel-1.0.2314 failed.

...RickM...



Re: Debian uses gcc272 for kernel; conflicts with NVidia-kernel-src

2002-01-17 Thread Rick Macdonald
On Thu, 17 Jan 2002, nate wrote:

 quote who=Rick Macdonald
 
  When I build my kernel 2.2.19 (using make-kpkg), the gcc version is
  forced to gcc272.
 
 you don't mention whether or not forcing gcc to 2.7.2 is intentional
 or not. 2.95.x is probably the best compiler for 2.2.19. i have
 several dozen servers running 2.2 and all of them are compiled
 with 2.95.x

The top level Makefile (usr/src/linux/kernel-source-2.2.19) forces it:

#   foo-bar-gcc for cross builds
#   gcc272 for Debian's old compiler for kernels
#   kgcc for Conectiva, Mandrake and Red Hat 7
#   otherwise 'cc'
#
CC  =$(shell if [ -n
$(CROSS_COMPILE) ]; then echo
$(CROSS_COMPILE)gcc; else \
$(CONFIG_SHELL) scripts/kwhich gcc272 2/dev/null ||
$(CONFIG_SHELL) scripts/kwhich kgcc 2/dev/null || echo cc; fi)

and scripts/kwhich returns the first one it finds, which is gcc272.

 i only have 1 system that uses the nvidia drivers, 2.2.19 with
 gcc 2.95.4(debian woody). potato has 2.95.2. i have not tested
 the nvidia drivers on debian potato ...

It seems to me that the only way this would work for you is if you didn't
have gcc272 installed, which seems unlikely. Are you uses the nvidia
2313/2314 deb packages?

What does /proc/version show?

timshel:~$ cat /proc/version 
Linux version 2.2.19 ([EMAIL PROTECTED]) (gcc version 2.95.4 (Debian
prerelease)) #1 Thu Jan 17 11:20:34 MST 2002

...RickM...



Re: Kernels - The Debian Way

2002-01-03 Thread Rick Macdonald
On Thu, 3 Jan 2002, Romain Lerallut wrote:

 Thus spake Keith O'Connell on Tue, Jan 01, 2002 at 07:34:08AM +:
  Yes you did, and that was the post that sent me (as a newbie) into
  dselect looking for newbiedoc but it isn't there. Some of the
  followup posts make me see that is must be part of woody or sid.
  
  Therein lies the problem. As a newbie I am learning on potato, but
  the docs I need are in woody, If I could run woody reliably, I
  probably wouldn't need the document - Catch22
  
  That was why I was asking for a source elsewhere
  
  Keith
 
 Sorry for a late answer, but you can always get doc out of
 woody, you just have to do it a la RedHat: ftp the
 package and dpkg -i it.
 Most of the doc packages don't have dependencies other than 
 'suggests: www-browser' and the likes, which shouldn't be a
 problem. Check it out on packages.debian.org.

The latest version of debview.el (1.19) for emacs supports ange-ftp, so
you can browse deb packages directly from an ftp mirror with emacs dired
mode. Behind the scenes the packages get ftp'd to temporary files and
then deleted, of course, but it's a handy way to browse packages without
installing them.

...RickM...




SOLVED: Re: Can't get DPMS to work with woody/sid

2002-01-03 Thread Rick Macdonald
On Tue, 1 Jan 2002, Rick Macdonald wrote:

 On Tue, 1 Jan 2002, Rick Macdonald wrote:
 
  
  Ever since I upgraded to woody many many months ago (on two different
  machines) DPMS no longer powers off my monitors. I just can't figure it
  out. xscreensaver blanks the screen but it never goes into power-saving
  modes.
  
  I'm actually running woody/sid.
  
  Can anybody claim that this works with XFree 4.x?
 
 Some more info:
 
 When I turn on xscreensaver debug, it puts this message on the screen when
 it blanks the screen:
 
 xscreensaver: X says monitor is powered down; not launching a hack
 
 It seems like X thinks the monitor is powered down, but it isn't.

I finally found it:

Section Device
Identifier  Asus AGP-V7700 GeForce2 GTS Delux
Driver  nv
# Enable DPMS for powersave mode.
Option DPMS
EndSection

Works again. Only took me 10 months to find the answer!

...RickM...



Re: What is option -P to smbclient?

2002-01-03 Thread Rick Macdonald
On Thu, 3 Jan 2002, Kent West wrote:

 In trying to print to a printer hanging off a Windows box, I find that 
 the smbprint script has this line:
 
  echo print -
  cat
 ) | smbclient $server\\$service -U $password -N -P  $logfile
 
 I have been unable to find any documentation that explains what the 
 option -P is for (am I just blind?). Anyone know?

timshel:~$ /usr/bin/smbclient

Usage: /usr/bin/smbclient service password [options]
Version 2.2.2debian-2
-s smb.conf   pathname to smb.conf file
-O socket_options socket options to use
-R name resolve order use these name resolution services only
-M host   send a winpopup message to the host
-i scope  use this NetBIOS scope
-Ndon't ask for a password
-n netbios name.  Use this name as my netbios name
-d debuglevel set the debuglevel
-Pconnect to service as a printer
-p port   connect to the specified port
-l log basename.  Basename for log/debug files
-hPrint this help message.
-I dest IPuse this IP to connect to
-Ewrite messages to stderr instead of stdout
-U username   set the network username
-L host   get a list of shares available on a host
-t terminal code  terminal i/o code
{sjis|euc|jis7|jis8|junet|hex}
-m max protocol   set the max protocol level
-A filename   get the credentials from a file
-W workgroup  set the workgroup name
-Tc|xIXFqgbNan  command line tar
-D directory  start from directory
-c command string execute semicolon separated commands
-b xmit/send buffer   changes the transmit/send buffer (default:
65520)

...RickM...



Re: how to print to a printer connected to win2000prof

2002-01-03 Thread Rick Macdonald

Kent -

I may have had a similar problem such as the cat errors and
stair-stepping. At one time I think I found that it was the last line of
the magicfilter driver (the default) that was the problem (when printing
plain text). I think I found that I could cat a file directly to
smbclient using the command line args from the smbprint script. Try that
to see if it works. I also remember running smbclient interactively and
getting it to print. These two things led me to the dj550c-filter being
the problem.

On Thu, 3 Jan 2002, Kent West wrote:

 Hans Steinraht wrote:
 
  hi all,
  
  The thing I try to figure out is how I can print from my Debian sid to a
  printer that's connected to a windows 2000 proffesional machine.
  
  I have read something about it and saw that there are different ways that 
  might
  work.
  Maybe someone has already experience with it and can point me to the right
  direction.
  
  thanks,
  Hans
  
  
  
 
 I'm not using CUPS (just lprng and samba), and have been trying for a 
 year and a half (off-and-on of course) to print from a Linux box to a 
 printer hanging off a Windows box. I'm confident that it can be done, 
 but the documentation is sadly lacking, or perhaps I'm just too dense to 
 get it.
 
 However, for your perusal, here's what I have, and it's fairly close:
 
 Contents of /etc/printcap:
 
 lp
  :lp=/var/spool/lpd/hplj3-remote/.null
  :cm=Helpdesk 3 HP LaserJet 3
  :sd=/var/spool/lpd/hplj3-remote
  :sh
  :pw#80
  :pl#66
  :px#1440
  :mx#0
  :if=/etc/samba/smbprint
  :af=/var/spool/lpd/hplj3-remote/acct
  :lf=/var/log/lp-errs
 
 
 Output of ls -ld /var/spool/lpd/hplj3-remote:
 
 drwx--2 daemon   lp   1024 Jan  3 11:43 hplj3-remote/
 
 
 Output of ls -la /var/spool/lpd/hplj3-remote:
 
 drwx--2 daemon   lp   1024 Jan  3 11:43 .
 drwxrwsr-x5 lp   lp   1024 Nov 13 09:06 ..
 -rw---1 daemon   lp 60 Dec 11 15:58 .config
 -rw---1 daemon   lp  0 Nov 26 17:01 .null
 
 
 Contents of .config:
 server=helpdesk3
 service=zel319hp
 password=myuser%myuser'spassword
 
 .null is simply a holding place for a lock file for the lp= line in 
 my printcap as per some footnote to a HOWTO I read somewhere along the way.
 
 
 The real magic apparently takes place in the smbprint file. This file is 
 in the /usr/share/doc/samba-doc/examples/examples/printing/smbprint 
 directory on my box, but I copied it to /etc/samba, although it might 
 more properly go into a /bin directory.
 
 The core magic of this script seems to be this section:
  if [ $TRANS -eq 1 ]; then
echo translate
  fi
  echo print -
  cat
 ) | smbclient $server\\$service -U $password -N -P  $logfile
 
 I'm able to successfully connect to the share/service, but according to 
 the log file (which I set earlier in the smbprint file to be 
 /tmp/smb-print.log) shows this:
 
 SERVER = helpdesk3
 SERVICE = zel319hp
 added interface ip=xxx.yyy.zzz.qqq bcast=xxx.yyy.abc.def nmask=255.255.248.0
 Got a positive name query response from xxx.yyy.zzz.dns ( xxx.yyy.zzz.nn )
 Domain=[ACU] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
 smb: \ smb: \ echo: command not found
 smb: \ cat: command not found
 smb: \ ): command not found
 smb: \ smb: \ echo: command not found
 smb: \ smb: \
 
 
 In addition to this problem, I haven't been able to find any 
 documentation as to what the option -P' means, which makes me suspect 
 that the script was written for an older version of samba that no longer 
 works with this script, but being a non-coder, I haven't been able to 
 figure out how to modify the script to work.
 
 In addition, I once got something out of the printer, but I had to force 
 a formfeed at the printer's front control panel to get the page to spit 
 out, and it suffered from the common stair-step problem. When I tried to 
 incorporate magicfilter to compensate, things just got worse, as the 
 documentation I found for that method seems to conflict with the docs 
 for this method, and in trying to figure out how things worked just 
 found that an if filter is apparently not treated as a script, even 
 though it looks (to me) like a script (try creating a Hello world! 
 script and then referencing it in the if= line in printcap -- you'd 
 expect to see Hello world! when you print something, but it never 
 worked for me, so I just got frustrated and gave up, until you asked 
 this question and now I'm playing again -- maybe in another half year 
 I'll have it figured out and can help you then).
 
 I could give up on lprng/magicfilter/samba and just use CUPS, but I'm 
 strapped for memory, and have just barely enough for X and Galeon 
 without any extraneous stuff -- if I ever get it working it'll go into 
 production along with 3 clones as a web-browsing-only kiosk.
 
 So, in summary, I believe it can be done, but good luck!
 
 Kent
 
 
 -- 
 To 

Re: make-kpkg exists, right?

2002-01-03 Thread Rick Macdonald
On Thu, 3 Jan 2002, dman wrote:

 On Thu, Jan 03, 2002 at 06:23:43PM -0500, Seneca Cunningham wrote:
 | Right now my system is half-working and is a combination of potato and
 | woody. I am trying to compile a new kernel after having a number of problems
 | with my system. The instructions for compiling a new kernel say to enter in
 | make-kpkg clean, but that doesn't work on my system.
 | 
 | icosagon:/usr/src/kernel-source-2.4.16# make-kpkg clean
 | bash: /usr/bin/make-kpkg: No such file or directory
 | icosagon:/usr/src/kernel-source-2.4.16# whereis make-kpkg
 | make-kpkg: /usr/bin/make-kpkg
 | icosagon:/usr/src/kernel-source-2.4.16# cd /usr/bin
 | icosagon:/usr/bin/# ls make-kpkg
 | make-kpkg
 | 
 | First it claims that make-kpkg isn't a file or directory, then it tells me
 | where it is. Unlike make-kpkg, the manpage can be accessed. I have
 | reinstalled kernel-package three or four times, with the most recent time
 | being from a second download. I am attempting to use the version of
 | kernel-package that is in woody. What do I need to do to get further in my
 | attempt to compile a kernel?
 
 Is /usr/bin in your PATH?  Is /usr/bin/make-kpkg executable?

No, by the error message it's finding make-kpkg fine or you'd get bash:  
qwer-qwerq: command not found. It's a perl script, and it's also finding
perl fine, or you'd get bad interpreter: No such file or directory. I
think the perl script is executing a command or loading or accessing
something that isn't being found.

...RickM...



  1   2   3   4   5   6   >