RE: Secure CGI Implementation/SuEXEC

2003-01-05 Thread Michael Olds
Bill, et al

Just a note to say thank you and that I appreciate that you went to extra
lengths to help me out in this. I have considered the options and have
decided that I am going to go with a single CGI bin with one administrator
(me); suEXEC disabled.

I did attempt setting up suEXEC in both /home/user/public_html and /var/www/
but it was late and it was giving me grief and I decided to take a hint. I
may give this a shot again when I am more comfortable with Linux...meanwhile
this is an option where I do not need to worry about user's passwords
falling into the wrong hands.

Best Wishes!
Mike Olds www.buddhadust.org



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




RE: SuEXEC and CGI to two VirtualHosts

2003-01-04 Thread Michael Olds
Bill,

Thanks again for your assistance and ideas on this. The more I get into this
the more confusing it becomes!

If I understand you correctly, to use SuEXEC I am going to have to either 1.
completely change the way I wanted to set up my web directory (ies), or 2.
figure out how to configure SuEXEC prior to compiling Apache and compile it
from source myself. How can Debian leave us in such a fix?...where it is
clear that we can set up the Apache document root any way we want and it is
absolutely silent on the effects changes will have on using SuEXEC? (I have
looked through the docs installed with Apache and there is virtually (ahum)
nothing on SuEXEC.) If they thought it worth while to include in the build,
then it should have been worth some documentation...and I mean more than
set it up according to the defaults and rules and it might work. (Even
that, put in terms of a warning, would have saved me a few weeks of
aggrivation for no good whatsoever.)

For the record, in order to demonstrate to myself that I did not myself
insert some hairbrained configuration data in the SuEXEC setup, I
uninstalled and re-installed Apache. There is no indication at all during
setup that SuEXEC is being installed (and it is)...the curious thing is that
the re-install picked up much (not all) of my old configuration (before
deleting it...thank goodness I had a backup)(but not the new document
root -- why doesn't the installation include the ability to specify the
document root in the case where SuEXEC is being installed automatically,
since SuEXEC seems to be so tightly bound to the installation
configuration)? The error message I am now getting from SuEXEC log is: error
(a different level of error) command not in docroot.

Time for some more thought.

Sidebar: I contrast this to a PHP/MySQL setup I also have where there is no
grief like this at all!

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: SuEXEC and CGI to two VirtualHosts

2003-01-04 Thread Michael Olds
Bill,

Again thanks.

Mike, I think you have to admit your troubles are a result of your
inexperience with this setup.

Absolutely, and I see your point about the number of other modules (but do
any of them have this particular sort of inability to work if the default
setup isn't used? SuEXEC seems unique in this regard). And in addition to
inexperience, I have an inborn stubborn trait -- I want my directories where
I want them! haha. (This is a selling point of UNIX systems, that is that
the directory structure is logical...meaning you can order it in a way
that makes sense to you.)

Best Wishes!
Mike Olds www.buddhadust.org



-Original Message-
From: Bill Moseley [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 04, 2003 9:05 AM
To: Michael Olds
Cc: Debian-User
Subject: RE: SuEXEC and CGI to two VirtualHosts


On Sat, 4 Jan 2003, Michael Olds wrote:

 If I understand you correctly, to use SuEXEC I am going to have
to either 1.
 completely change the way I wanted to set up my web directory
(ies), or 2.
 figure out how to configure SuEXEC prior to compiling Apache and
compile it
 from source myself. How can Debian leave us in such a fix?

How can the debian maintainer know where you want install things?

The SuEXEC docs say:

 suEXEC Points Of Interest
 Hierarchy limitations

 For security and efficiency reasons, all suexec requests must remain
 within either a top-level document root for virtual host requests, or
 one top-level personal document root for userdir requests. For example,
 if you have four VirtualHosts configured, you would need to structure all
 of your VHosts' document roots off of one main Apache document hierarchy
 to take advantage of suEXEC for VirtualHosts. (Example forthcoming.)

It's not the Debian package that's causing that restriction.

 ...where it is
 clear that we can set up the Apache document root any way we
want and it is
 absolutely silent on the effects changes will have on using
SuEXEC? (I have
 looked through the docs installed with Apache and there is
virtually (ahum)
 nothing on SuEXEC.)

That's true, but look at how many module options there are in the default
httpd.conf -- there's no way to list all the details.  Think about
mod_perl's potential complex issues.  SuEXEC is typically used by ISPs and
other experienced users -- and is also typically used for ~user type
directories which is how the debian package has it.

You have to keep in mind that the debian package is basically the Apache
defaults, plus setup in a standard way to work for a wide group of users.
Most people just use the default config and it works great.  Once you
start changing things without have a good knowledge of Apache then you are
in for a frustrating time.  It's not easy until you do spend those
frustrating weeks.

 For the record, in order to demonstrate to myself that I did not myself
 insert some hairbrained configuration data in the SuEXEC setup, I
 uninstalled and re-installed Apache. There is no indication at all during
 setup that SuEXEC is being installed (and it is)

It's just another Apache module.  Did it tell you that mod_cgi was being
installed?  It's a package, and contains a lot of modules.

  why doesn't the installation include the ability to specify the
 document root in the case where SuEXEC is being installed automatically,
 since SuEXEC seems to be so tightly bound to the installation
 configuration)?

Because it's not a configuration parameter -- it's part of the suexec
wrapper program and it's compiled in.  When you install a Debian package
you are getting a binary verison.  It's a package deal.


 The error message I am now getting from SuEXEC log is: error
 (a different level of error) command not in docroot.

Google.  That means you are trying to run a suexec script in a place
that's not in docroot specified at suexec compile time.

--suexec-docroot=DIR
Define as the DocumentRoot set for Apache. This will be the only hierarchy
(aside from UserDirs) that can be used for suEXEC behavior. The default
directory is the --datadir value with the suffix /htdocs, e.g. if you
configure with --datadir=/home/apache the directory
/home/apache/htdocs is used as document root for the suEXEC wrapper.

I tried to explain that in my last message.

 Time for some more thought.

I posted a working httpd.conf.  Why not just move your directories?


Or you can build Apache from source.  That's more reading -- but it's not
that hard (no it's totally confusing until you figure it out!).

 Sidebar: I contrast this to a PHP/MySQL setup I also have where
there is no
 grief like this at all!

Mike, I think you have to admit your troubles are a result of your
inexperience with this setup.  The Debian package works perfectly for most
people.  When you decide to change that default config you had better know
what you are doing, or else face that kind of grief.

Seems like you can be up and running by a couple of mv commands.


--
Bill Moseley [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE

SuEXEC and CGI to two VirtualHosts

2003-01-03 Thread Michael Olds
I believe I have traced my problem in setting up CGI bins on two
VirtualHosts to the fact that SuEXEC is incorrectly configured (it is
enabled and I get suexec: enabled; valid wrapper /usr/lib/apache/suexec.)
The error I get is: cannot get docroot information /var/www (the Debian
Apache default docroot).

I do not know how I got SuEXEC on there in the first place!
Does this come as part of the Debian package?

I could disable suEXEC, but in fact it does look like the tool I need (I
need for users to be able to load, unload, and modify cgi-scripts via sftp).

My problem is not knowing how I can reconfigure SuEXEC. The documentation I
have read says that it needs to be recompiled with apache. But I did not
compile apache from sources to begin with.

Hunt's book says: The suEXEC tool is very easy to set up using the APACI
installation script. Again, this is a tool for use in compiling from source.

Before I uninstall Apache and reinstall the package just to see if it (or
some other configuration tool) is included...does anyone know? Or know a
better way?

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Apache-ssl .htaccess files

2002-12-30 Thread Michael Olds
1. Create .htaccess file in the directory to be protected.

AuthUserFile /etc/apache/htusers
AuthName This Directory Requires Authentication by A Valid User
AuthType Basic
require valid-user
order deny,allow
allow from all

CHMOD: 755

Note: This file can contain adjustments for options to an Apache Directive
or certain Apache Directives themselves.

2. Create etc/apache/htusers

# cd /etc/apache
# htpasswd -c /etc/apache/htusers/htusers_id username1
Password
Password

CHMOD: 644

hr

3. Create additional users.
After setting the first user:

htpasswd /etc/apache/htusers/htusers NewUsersName
Password
Password

Note: More than one .htaccess file can accesess this file.

hr

4. Create sub-groups of users

hr
5. Delete users
delete the whole line to remove a user.

hr


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




Secure CGI Implementation

2002-12-29 Thread Michael Olds
If the cgi-bin is placed outside the DocumentRoot and a script creates an
html page to be served to the public, how does this work?

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Secure CGI Implementation

2002-12-29 Thread Michael Olds
Q: If the cgi-bin is placed outside the DocumentRoot and a script creates an
html page to be served to the public, how does this work?

A: Just fine.  You can map your web space any way you like.

Actually, Bill, 'Just Fine is just fine if it works...I havn't quite got it
up and running yet.' I am trying to ask short 'n sweet questions to the
point (not my natural style, which usually includes numerous subordinate
clauses, etc...you understand...)...I wouldn't object to an explanation of
the process.

Best Wishes!
Mike Olds www.buddhadust.org



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




RE: Secure CGI Implementation

2002-12-29 Thread Michael Olds
This is what I would like to set up because I would like to offer server
space to one user aside from myself that I trust, and who will need to make
modifications to his scripts via SFTP (using SSH2); but I would like to be
protected in the event of his user name and password being discovered, and
in the event of him making a mistake in his setups.

Directory Structure, Users and Groups, and Permissions

apache = apache deamon
admingroup = {me}

/www
   /users  {Server Document Root}   {apache:rwx admingrp:rw: w:--}

  /usr1/logs {apache:rwx usr1:rw: w:--}
  /usr1/public_html   {VirtualHost1 DocumentRoot} {usr1:rwx usr1:rw:
w:--}
 /directory/*.htm{usr1:rwx usr1:rw: w:--}
  /usr1/cgi-bin {usr1:rwx usr1:rw: w:--} 
 /directory  {usr1:rwx usr1:rw: w:--}
/*.cgi   {usr1:rwx usr1:rw: w:--}
 /directory

  /usr2/logs
  /usr2/public_html   {VirtualHost2 DocumentRoot}
  /usr2/cgi-bin

httpd.conf

   Global Server Settings

   DocumentRoot /www/users

   Directory /www/users
   Options ExecCGI
   AllowOverride All
   Order allow,deny
   Allow from all
   /Directory

   No Script Alias or Directory /cgi-bin containers.

VirtualHost containers

NameVirtualHost 000etc

VirtualHost 000etc
   UseCanonicalName off
   ServerName www.domain1.com
   ServerAlias domain1.com *.domain1.com domain1
   DocumentRoot /www/users/usr1/public_html
   ServerAdmin [EMAIL PROTECTED]
   ScriptAlias /cgi-bin/ /www/users/usr1/cgi-bin/
   ErrorLog  /www/users/usr1/log/www.domain1.com-error.log
   CustomLog /www/users/usr1/log/www.domain1.com-access.log combined
   Directory /www/users/usr1/cgi-bin
   AllowOverride None
   Options ExecCGI
   Order allow,deny
   Allow from all
   /Directory
/VirtualHost2

VirtualHost 000etc
   UseCanonicalName off
   ServerName www.domain2.com
   ServerAlias domain2.com *.domain2.com domain2
   DocumentRoot /www/users/usr2/public_html
   ServerAdmin [EMAIL PROTECTED]
   ScriptAlias /cgi-bin/ /www/users/usr2/cgi-bin/
   ErrorLog /www/users/usr2/log/www.domain2.com-error.log
   CustomLog /www/users/usr2/log/www.domain2.com-access.log combined
   Directory /www/users/usr2/cgi-bin
   AllowOverride None
   Options ExecCGI
   Order allow,deny
   Allow from all
   /Directory
/VirtualHost2

If necessary, this way I can change one user's cgi-bin to cgi-local, or
cgi-1 although this still does not make good sense to me and does not fit
in with what I see or what is given as examples in the tutorials out there
(I would like to know how my host for BuddhaDust has been able to give me
cgi-local under my document root with me as owner and user...I will ask
next chance I get).

This nearly puts me back at my original configuration with an additional
layer /users/ above the Main Server Document Root and it places the user's
cgi-bin beside, not under their VirtualHost DocumentRoot. If this does not
look right I would VERY MUCH appreciate anyone who would take the time to
change the setups I have here to actually show me by example what should
work. Theoretical explanations just are not getting through to me.

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Secure CGI Implementation (PARTIAL SOLUTION)

2002-12-29 Thread Michael Olds
Well you may not have know there was a problem. The dialog was why can't I
get CGI working with two VirtualHosts. Then I went down the long trail of
trying to set up CGI outside of the DocumentRoot. I moved everything down a
notch and then also down a notch within each user's space. Absolutely
nothing I did thereafter brought the slightest hint that CGI would ever work
again. I cannot state with absolute certainty that I tried every single
combination of user, group, and permissions and every variation on
cofiguring the apache httpd.conf, or read every single document describing
apache configuration for VirtualHosts but I believe I tried most of them,
and read many. ZipNada.

Bill Moseley's run through a number of possible layouts proved to have at
least gotten me back to square one (one CGI bin working). He mentioned
SuEXEC...and gave me a link to the Apache doc on the subject. I have SuEXEC
installed, and apparently working fine as it is supposed to do. Except that
it does not, for security and efficiency reasons, endquote, work below the
first level of the Server's DocumentRoot, or the First Level under the
VirtualHost DocumentRoot.

So I moved everything back up a notch.

Tomorrow I see if I can get the second CGI bin to work now that I have a
small understanding the role of SuEXEC.

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: PHP/MySQL problem SOLVED

2002-12-26 Thread Michael Olds
Three teeth-grinding days!

-Original Message-
From: Steve [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 8:29 AM
To: [EMAIL PROTECTED]
Subject: Re: PHP/MySQL problem SOLVED


On 12/25/2002 6:54 PM, Michael Olds wrote:
 This problem solved.

 PHP was working fine, MySql was working fine, MySql support was built into
 the PHP Apache module ok, but the PHP MySql module was not installed.

That gets me every time. ;)



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




Script Alias Directive in Apache

2002-12-26 Thread Michael Olds
Hello,
Can someone tell me how to configure Appache to allow two separate users to
have their own cgi-bins?

I have read two books, the Apache docs and done some googling around and I
can't find an example of how to set up two different virtual hosts with
separate cgi-bins.

Can anyone give me the layout?

I have tried it:
Like this (the comment distinctly uses the plural: Aliases) (or does this
get chained? X = Y Y=Z?):

ScriptAlias /cgi-bin/ /www/usr/public_html/cgi-local/
ScriptAlias /cgi-bin/ /www/usr2/public_html/cgi-local/

With:

Directory /www/usr/public_html/cgi-local
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
/Directory

Directory /www/usr2/public_html/cgi-local
   AllowOverride None
   Options ExecCGI
   Order allow,deny
   Allow from all
/Directory

And under the Virtual Host directives:

VirtualHost 000.000.000.000
   UseCanonicalName off
   ServerName www.usr.com
   DocumentRoot /www/usr2/public_html
   ScriptAlias /cgi-bin/ /www/usr/public_html/cgi-local
   ServerAdmin usr@his
/VirtualHousr2

VirtualHost 000.000.000.000
   UseCanonicalName off
   ServerName www.usr2.com
   DocumentRoot /www/usr2/public_html
   ScriptAlias /cgi-bin/ /www/usr2/public_html/cgi-local
   ServerAdmin usr@his
/VirtualHousr2

And both ways work but only for usr; anything asking for usr2/cgi-local
gets sent to usr/cgi-local

Best Wishes!
Mike Olds www.buddhadust.org



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




RE: KVM locks tty

2002-12-26 Thread Michael Olds
I have this switch also. The workaround that I have used is to be sure that
all operations on the one computer are finished before going to the next,
and I use the manual button, not the keyboard.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Lance Hoffmeyer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:46 PM
To: [EMAIL PROTECTED]
Subject: KVM locks tty


I have a kvm switch and every time I am in a console and switch
back and forth it locks up the console.  I have to be on tty8
or in X for the switch in work.  In X, a switch to another computer
and back will screw up the mouse and I have to go to a tty and back
into X for the mouse to work properly.   This is a Belkin box with
no software.  Anything I can try so that my tty's don't lock up?

Lance


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




RE: PHP/MySQL problem SOLVED

2002-12-25 Thread Michael Olds
This problem solved.

PHP was working fine, MySql was working fine, MySql support was built into
the PHP Apache module ok, but the PHP MySql module was not installed.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Michael Olds [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 24, 2002 2:24 PM
To: Debian-User
Subject: PHP/MySQL problem


OK I need a little help here, some insight into what may be going wrong.

Setting up on a Debian Woody with Apache; trying to install a PHP BB script.
I have checked in with the script folks but I need to work this from both
ends.

The PHP module is set up and working (I have uncommented the correct line in
LoadModule and the two AddType lines -- does there need to be anything like
a script alias for php? I still havn't figured out how scripts can be
processed in the htdocs folder safely) as is MySQL (I'm not saying nothing
can be wrong with the setup, only just that it is working as far as I can
tell). I can access the database from the box using the username and
password set up for the script. And I have run a couple of small php include
scripts and done the ?php info thing and mysql was built in (but my book
says there should be a section on MySql and there was none...is there
something further that needs to be done to activate PHP/MySql interaction?).
I have double checked the spelling, and given the root directory path
properly.

What happens is I can GET the first page of the Administration setup
script for the BB and it appears to POST ok, and then all I get is a blank
(white) screen that tells me its done.

No error messages at all.

I checked my Norton Firewall and refers are allowed...but not recommended
while trying to set up PHP scripts...setting this up from my W2K box ftping
to the Linux box.

I uploaded the script files in ASCII and the permissions are correct.

I have checked the on-line documentation and have looked at a couple of
books but there is very little in any of them about how to set up (if that
is the problem), most are on how to use.

Any pointers, clues, hints, insights?

Best Wishes!
Mike Olds www.buddhadust.org


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




PHP/MySQL problem

2002-12-24 Thread Michael Olds
OK I need a little help here, some insight into what may be going wrong.

Setting up on a Debian Woody with Apache; trying to install a PHP BB script.
I have checked in with the script folks but I need to work this from both
ends.

The PHP module is set up and working (I have uncommented the correct line in
LoadModule and the two AddType lines -- does there need to be anything like
a script alias for php? I still havn't figured out how scripts can be
processed in the htdocs folder safely) as is MySQL (I'm not saying nothing
can be wrong with the setup, only just that it is working as far as I can
tell). I can access the database from the box using the username and
password set up for the script. And I have run a couple of small php include
scripts and done the ?php info thing and mysql was built in (but my book
says there should be a section on MySql and there was none...is there
something further that needs to be done to activate PHP/MySql interaction?).
I have double checked the spelling, and given the root directory path
properly.

What happens is I can GET the first page of the Administration setup
script for the BB and it appears to POST ok, and then all I get is a blank
(white) screen that tells me its done.

No error messages at all.

I checked my Norton Firewall and refers are allowed...but not recommended
while trying to set up PHP scripts...setting this up from my W2K box ftping
to the Linux box.

I uploaded the script files in ASCII and the permissions are correct.

I have checked the on-line documentation and have looked at a couple of
books but there is very little in any of them about how to set up (if that
is the problem), most are on how to use.

Any pointers, clues, hints, insights?

Best Wishes!
Mike Olds www.buddhadust.org


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




cups and hpijs driver - follow up

2002-12-21 Thread Michael Olds
Attempting to set up HP DeskJet960c on Linux Woody box.

I have made progress which makes failure that much more frustrating at this
point.

First I got both the KDElibs3-cups utility and the CUPs administration tool
to recognize and even allow me to configure the printer by 1. removing all
the printer related packages I could find and deleting any related leftover
directories and files I could find. The only thing I left on (that I know
of) was the /usr/share/CUPS/models/ ppd. Then I reinstalled:

cupsys -pstoraster
cupsys
cupsys-bsd
cupsys-client
foomati-bin
foomatic-db
hpijs
mpage
kdelibs3-cups

Now the only problem is that although the printer does respond to being
given a test page to print (either from the KDE tool or from the CUPs admin
tool...or for that matter by attempting to print a file)...all that happens
is that a blank sheet of paper gets sent through the printer without any
printing being done.

Can anyone provide any insight as to what I am missing here?

Best Wishes!
Mike Olds www.buddhadust.org



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




RE: about web link

2002-12-19 Thread Michael Olds
  Can I put a img src httpd://www.company2.com/photo.jpg   code in the
webpage source of comapny1, so when we visit company1's site , we can see
that photo without hit mouse bottom?  Especially company 2 's website was
broadcast  by apache.

Yes, but you really want to be visiting: http://www.htmlhelp.com/bbs/ to get
up to speed with html, this has nothing to do with apache or Debian

img src= width= height= alt=

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: RE: cups and hpijs driver

2002-12-18 Thread Michael Olds
Thanks again Benedict, well said,

I will revisit your previous suggestion and also reinstall cupsys.bsd.

The one further development is I think printer-specific. On the printer
itself I pressed the middle button and the printer put out what was a
beautifully printed test sheet...I believe an internal test sheet, but still
it shows the printer works.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 1:10 AM
To: [EMAIL PROTECTED]
Cc: Michael Olds
Subject: Re: RE: cups and hpijs driver



 Michael Olds [EMAIL PROTECTED] wrote:


OK,
Re: HPDeskJet 960c as local printer on Woody box

 I've used up my variables. I installed the KDE kdelips3-cups package, (and
I also have installed: cupsys; cupsys-client; cupsys-pstoraster; mpage;
foomatic-bin; foomatic-db; and hpijs -- I did not install cupsys-bsd as
this
is for printing off the local linux box only;
Hm, i installed cupsys-bsd as well. Not sure if i need it though since it's
also a local printer in my setup

I did a custom PPD which looks
like it is installed correctly and is being used) and it knows about CUPS,
but when I start up the wizzard the first dialog box I get is all grayed
out
except for Class of Printers and if I select that, the next one shows no
printers available.
I didn't have to bother with class of Printers. I went to linuxprinting.org,
made a ppd for my printer and saved it in de models directory.
Then i installed the cupsomatic perl script from the same site in the filter
directory and restarted cups


I did not try Benedict's Cupsomatic Perl script under the thinking that
this
was taken care of by my custom PPD and the functions are supplied by the
foomatic guys...yes?
Foomatic is needed. I tested it once by uninstalling and see if stuff would
work but it doesn't. I'm not sure about the cupsomatic perl script either.
linuxprinting.org said to add it so i did.


In the CUPS http admin tool I appear to be able to set up the printer, and
it sees it at:
URI: parallel /dev/lp0
and it has Device: Parallel Port 1

Mine is usb: /dev/usb/lp0

Clicking on Print Test Page gets the printer rolling, and then it spits
out a blank page.
Does printing from a webpage work?

when i go to configure it it gives me: client-error-not-found
first time out I went back and installed the CUPS client, but that
didn't
change anything.
I had that error too untill i installed all of the above.
I *think* that i got that error because i didn't install foomatic.bin


(I have deleted and re-added, and stopped and started the printer several
times).

I also took a look at the kernel and I have IEEE support, parallel printer
support, and USB support.

When I try and print a file from Nedit I get: Unable to Print sh:lpr
command
not found (I also mentioned previously that when I try to enter the
administration tool via the command line lpadmin I get no such command)
Don't you need to have the cupsys-bsd stuff to manager printing via lpr?


Just to be sure I shut down and restarted a couple of times. Also
generously
peppered the operation with /etc/init.d/cupsys restart

Just Guessing in the dark, I added the printer to the classes following the
obvious...ahum...choices in the wizzard. nada
Like i said, i didn't need to add the printer to the classes.

Best Wishes!
Mike Olds www.buddhadust.org

How come after 3 rebuilds, when i run # uname -a my kernel is still listed
as #1  the date is the rebuild date, and the vmlinus version in /boot is
also dated correctly.


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



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




RE: cups and hpijs driver

2002-12-18 Thread Michael Olds
Re: setting up DeskJet 960c as local printer on Woody box

I have reviewed the cupsomatic perl script situation and this basically
duplicates the work being done by the custom PPD and the foomatic-bin and
foomatic-db (at least that's how I understand it). I have also installed
cupsys-bsd, gv, and qtcups per various sets of instructions. So now I have
the following installed:
cupsis-pstoraster
cupsys
cupsys-bsd
cupsys-bsd
cupsys-client
foomatic-bin
foomatic-db
gv
hpijs
mpage
qtcups

Still no joy.

I think the problem is occuring somewhere between the printer as hardware
which seems to be installed ok, and the various installed packages which
also seem to be set up ok. It's just that the two are not talking to each
other.

Except for the fact that this may indicate something else wrong with my
setup, I'm about to say Why do I need this? since the printer off my W2K
box works fine and I could probably set up this printer on an open USB port
and have it up and running in two minutes (the little test it did for itself
looked like a very nice job of printing, better than the multi-function
OfficeJetT65 I use on the W2K box.)

1. What would be the best way to get everything print related out of the
machine to start over? Uninstall all of the above? Anything else?

2. Can I still be missing something in my kernel?

3. How do you command-line send a job to the printer? lpr and pdq both give
me: command not found. I looked in modutls aliases and inserted the lines:
alias /dev/printers  lp
alias /dev/lp0   lp
alias parport_lowlevel parport_pc
and rebooted, but that did nothing, so I removed them. My thinking is it is
something like this that is the problem: no communication between the
parallel port and the printing drivers.

4. I tried printing from the Web, no go, but that's no real test as Mozilla
doesn't do anything for me except see pages (I just installed the browser).

5. The error message off Nedit has changed, and is now: lpr: unable to print
file: server-error-service-unavailable


Best Wishes!
Mike Olds www.buddhadust.org


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




RE: cups and hpijs driver

2002-12-18 Thread Michael Olds
Donald,

Thank you for sticking with this! I havn't yet done anything on Linux that
hasn't been a major hassle (not complaining, I really like the brain
exercise and I like the end result which usually works well...I have my
webserver up and running without a problem now for a couple of
months...getting ready to set up mysql and php...anyway:)

 Using the parallel port.
OK...same here

 Do a lsmod as root and see if the following modules are loaded:
 paraport
 paraport_pc
 lp
 All three present and accounted for.
OK...drivers are present.

I see a message in the bootup messages indicating it sees the printer,
 I see the same in my messages. Names it by name.
 and also:
 lp0 using parport0


OK...just a thought here.  Do you have your parallel port turned on in
the BIOS.  It shouldn't make a difference to Linux, but one never knows ;)
I Checked and it is on.

 But...   and when I try the KDE Printing Manager it shows up already
listed in the  Local Port Selection screen of the Wizzard. Right.. same
here.  Mine shows a tree of selections: Parallel Parallel Port #1
HEWLETT-PACKARD DESKJET 960C Do you high-light it (select it) so
parallel:/dev/lp0 shows in the URI window at the bottom of the screen?
This is a miscommunication. I do not get this. I was quoting you. haha.

 I do not get as far as Local Port Selection in the wizzard as it is 
demanding a backend In Backend  Classes are all greyed out except
Class of Printers which if I select,  brings me to Class Composition
which gives me no selections at all. End of  the line. 
I get this as the very first screen after the KDE Wizzard starts up. All of
mine are available except the Print to file and Serial Fax/Modem Printer
selections, which are greyed-out.

I wonder where does the wizzard get this information? It must be a
configuration file somewher, no?

Do you have CUPS selected as the Print System Currently Used at the
bottom of the KDE Printing Manager?  The only other thing that might cause
this is that somehow your kdelibs3-cups didn't get installed
properly...Strange.
try re-installing the kdelibs3-cups package.  What version of KDE are you
using?  I am using 2.2.2 from Woody/Testing.  I have NOT made the move to
the 3.X versions yet.

I am using 2.2.2 too.
I just uninstalled, shut down, restarted, installed ran /etc/init.d/cupsys
restart and opened control centersystem and I get the same routine: backend
selections all grayed out, etc. Yes I have CUPS as the Print System
Currently Used.

You ARE trying all this config as root ... right?
Yes

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: cups and hpijs driver

2002-12-17 Thread Michael Olds
OK,
Re: HPDeskJet 960c as local printer on Woody box

 I've used up my variables. I installed the KDE kdelips3-cups package, (and
I also have installed: cupsys; cupsys-client; cupsys-pstoraster; mpage;
foomatic-bin; foomatic-db; and hpijs -- I did not install cupsys-bsd as this
is for printing off the local linux box only; I did a custom PPD which looks
like it is installed correctly and is being used) and it knows about CUPS,
but when I start up the wizzard the first dialog box I get is all grayed out
except for Class of Printers and if I select that, the next one shows no
printers available.

I did not try Benedict's Cupsomatic Perl script under the thinking that this
was taken care of by my custom PPD and the functions are supplied by the
foomatic guys...yes?

In the CUPS http admin tool I appear to be able to set up the printer, and
it sees it at:
URI: parallel /dev/lp0
and it has Device: Parallel Port 1

Clicking on Print Test Page gets the printer rolling, and then it spits
out a blank page.

when i go to configure it it gives me: client-error-not-found
...first time out I went back and installed the CUPS client, but that didn't
change anything.

(I have deleted and re-added, and stopped and started the printer several
times).

I also took a look at the kernel and I have IEEE support, parallel printer
support, and USB support.

When I try and print a file from Nedit I get: Unable to Print sh:lpr command
not found (I also mentioned previously that when I try to enter the
administration tool via the command line lpadmin I get no such command)

Just to be sure I shut down and restarted a couple of times. Also generously
peppered the operation with /etc/init.d/cupsys restart

Just Guessing in the dark, I added the printer to the classes following the
obvious...ahum...choices in the wizzard. nada

Best Wishes!
Mike Olds www.buddhadust.org

How come after 3 rebuilds, when i run # uname -a my kernel is still listed
as #1  the date is the rebuild date, and the vmlinus version in /boot is
also dated correctly.


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




RE: Cracked cracker?

2002-12-16 Thread Michael Olds
Thanks Kenneth,

Another possibility, if you just want to stop logging the pests, is to 
put the following in the global section of your httpd.conf:


# Stop logging nimda requests, based on:
#http://lists.netfilter.org/pipermail/netfilter/2001-October/026587.html
#
SetEnvIfNoCase Request_URI /cmd.exe|/root.exe|/default.ida nimda
CustomLog /var/log/apache/access.log combined env=!nimda
# comment out next line to NOT log nimda requests
CustomLog /var/log/apache/nimda.log %a %v %t %U env=nimda
#
# suppress logging errors from serving 404s to the bastards:
IfModule mod_alias.c
  RedirectMatch (.*)/root.exe http://not.nimda.friendly.invalid$1
  RedirectMatch (.*)/cmd.exe http://not.nimda.friendly.invalid$1
  RedirectMatch (.*)/default.ida http://not.nimda.friendly.invalid$1
/IfModule


I have a line in there to log nimda requests to a seperate file, comment 
it out if you don't want it. If you're maintaining seperate logs for 
multiple VirtualHosts, repeat the CustomLog directive(s) for each one 
(adjust your paths):


VirtualHost *
 ServerName www.DOMAIN.TLD
 ServerAlias DOMAIN.TLD
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot /var/www/DOMAIN.TLD/htdocs
 UserDir disabled
 #keep nimda out of access.log
 CustomLog /var/www/DOMAIN.TLD/log/access.log combined env=!nimda
 CustomLog /var/www/DOMAIN.TLD/log/nimda.log %a %v %t %U env=nimda
 ErrorLog /var/www/DOMAIN.TLD/log/error.log
/VirtualHost


I am going to do this today.

Best Wishes!
Mike Olds www.buddhadust.org 


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




RE: getting networking to work [was Re: ethernet card]

2002-12-16 Thread Michael Olds
-Original Message-
From: Andrew Hurt [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 5:41 AM
To: [EMAIL PROTECTED]
Subject: getting networking to work [was Re: ethernet card]

For the most part, everything seems to be o.k., and tulip-diag/ifconfig/etc.
are
giving me the green light (so to speak), but I'm concerned because I can't
get
to the http://192.168.254.254/ in the router--SpeedStream 2602 (caveat: no
modem/network connection to test, yet).


Have you tried turning everything off completely -- power off, then starting
up again?

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: cups and hpijs driver

2002-12-16 Thread Michael Olds
I'm catching up to this one late, and am being thrown off by the very start.

I have a DeskJet 960C

I am pretty sure it's hooked up right as it was running under RedHat
(meaning I have PnP turned off in the BIOS) and during one point in playing
around tonight I saw that something knew the printer was there.(don't ask,
I've been trying to find it again and can't).

I have installed the foomatic.bin and foomatic.db and cupsys and it's
depends
and have generated and saved in /usr/share/cups/model/HP-DeskJet`.ppd

But when I type lpadmin in the terminal I get unknown command and when I use
the web interface I am thrown by the first three questions (I think I
understand what follows!):
Name: what name? Is that just an I make it up name? DeskJet 960C? The Help
file says the helpful wizzard will walk you through this and you just answer
a few obvious questions! Not obvious to me.
Locatin: what location? and if this is the /dev/lp or lp0 or lp1 can I just
go and assign that?
Description I can guess is nothing important.

Thanks for any help and sorry if this was already covered. I would like to
get a printer hooked up to the rig.

Best Wishes!
Mike Olds www.buddhadust.org



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




RE: Removing devfsd

2002-12-14 Thread Michael Olds
I've been through this one. You need to recompile the kernel and change the
supported files.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Bob Hilliard [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 14, 2002 11:20 AM
To: [EMAIL PROTECTED]
Subject: Removing devfsd


 How can devfsd be removed safely?  I have purged the package,
cleaned out /dev and reconstructed the device files with `MAKEDEV
generic', but the partition is then unbootable.  On boot, fsck
reports: fsck.ext3: No such file or directory while trying to open
/dev/hda6.

 To recover, I have booted another partition, mounted hda6 on
 /mnt, chrooted into hda6 and re-installed devfsd.  This is
 reproducible - I have done it three times.

Regards,

Bob
--
   _
  |_)  _  |_Robert D. Hilliard[EMAIL PROTECTED]
  |_) (_) |_)   1294 S.W. Seagull Way [EMAIL PROTECTED]
Palm City, FL 34990 USA   GPG Key ID: 390D6559



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




Cracked cracker?

2002-12-12 Thread Michael Olds
This is a small sample from my access log. Can someone explain to me why
this person would repeatedly attempt access to my computer using the same IP
and the same requests over and over? This isn't to the point of being a DOS
attack; can't they see I don't have any of these things that they think will
enable them to crack my machine? Or is there something else going on here?


63.205.213.16 - - [11/Dec/2002:13:16:07 -0800] GET /scripts/root.exe?/c+dir
HTTP/1.0 404 270 - -
63.205.213.16 - - [11/Dec/2002:13:16:07 -0800] GET /MSADC/root.exe?/c+dir
HTTP/1.0 404 268 - -
63.205.213.16 - - [11/Dec/2002:13:16:07 -0800] GET
/c/winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 278 - -
63.205.213.16 - - [11/Dec/2002:13:16:07 -0800] GET
/d/winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 278 - -
63.205.213.16 - - [11/Dec/2002:13:16:08 -0800] GET
/scripts/..%255c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 292 - -
63.205.213.16 - - [11/Dec/2002:13:16:08 -0800] GET
/_vti_bin/..%255c../..%255c../..%255c../winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 309 - -
63.205.213.16 - - [11/Dec/2002:13:16:08 -0800] GET
/_mem_bin/..%255c../..%255c../..%255c../winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 309 - -
63.205.213.16 - - [11/Dec/2002:13:16:08 -0800] GET
/msadc/..%255c../..%255c../..%255c/..%c1%1c../..%c1%1c../..%c1%1c../winnt/sy
stem32/cmd.exe?/c+dir HTTP/1.0 404 325 - -
63.205.213.16 - - [11/Dec/2002:13:16:08 -0800] GET
/scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 291 - -
63.205.213.16 - - [11/Dec/2002:13:16:08 -0800] GET
/scripts/..%c0%2f../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 291 - -
63.205.213.16 - - [11/Dec/2002:13:16:08 -0800] GET
/scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 291 - -
63.205.213.16 - - [11/Dec/2002:13:16:09 -0800] GET
/scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 291 - -
63.205.213.16 - - [11/Dec/2002:13:16:09 -0800] GET
/scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 275 - -
63.205.213.16 - - [11/Dec/2002:13:16:09 -0800] GET
/scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 275 - -
63.205.213.16 - - [11/Dec/2002:13:16:09 -0800] GET
/scripts/..%25%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 292 -
-
63.205.213.16 - - [11/Dec/2002:13:16:09 -0800] GET
/scripts/..%252f../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 292 - -


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




RE: Cracked cracker?

2002-12-12 Thread Michael Olds
This same guy is at it again today. The stupid thing to my mind is using the
same IP. How exactly do I go about reporting him to his ISP? Anyone
know...or should I just let him be?



-Original Message-
From: Antoine Jacoutot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 8:55 AM
To: Michael Olds
Cc: Debian-User
Subject: Re: Cracked cracker?


On Thu, 2002-12-12 at 16:55, Michael Olds wrote:
 This is a small sample from my access log. Can someone explain to me why
 this person would repeatedly attempt access to my computer using the same
IP
 and the same requests over and over? This isn't to the point of being a
DOS
 attack; can't they see I don't have any of these things that they think
will
 enable them to crack my machine? Or is there something else going on here?

My apache access.log is full of those too...
I guess that must be some king of automated attack against IIS servers,
so I never worried.

Antoine




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




RE: Cracked cracker?

2002-12-12 Thread Michael Olds
Thanks everyone. I did know it was the code red virus or worm or whatever
(you can see the depth of my knowledge...haha)...I have seen the logs from
my hosted website before. This was on my own server, and what was
interesting this time was that this same IP kept showing up. Usually you get
a string of hits then the same or similar string with another IP. This (ok
not person, box) was going at it every ten minutes most of the afternoon
yesterday and again today (I shut down during the night). I am new enough
with my own setup to not have seen this aspect of the code red attack...web
server up and running for only about a month.

I emailed the ISP to tell them about it, they may have shut them (it) down.


Best Wishes!
Mike Olds www.buddhadust.org



-Original Message-
From: Craig Dickson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 9:12 AM
To: Debian-User
Subject: Re: Cracked cracker?


Michael Olds wrote:

 This is a small sample from my access log. Can someone explain to me why
 this person

It's not a person.

 would repeatedly attempt access to my computer using the same IP
 and the same requests over and over? This isn't to the point of being a
DOS
 attack; can't they see I don't have any of these things that they think
will
 enable them to crack my machine? Or is there something else going on here?


 63.205.213.16 - - [11/Dec/2002:13:16:07 -0800] GET
/scripts/root.exe?/c+dir
 HTTP/1.0 404 270 - -
 63.205.213.16 - - [11/Dec/2002:13:16:07 -0800] GET /MSADC/root.exe?/c+dir
 HTTP/1.0 404 268 - -
 63.205.213.16 - - [11/Dec/2002:13:16:07 -0800] GET
 /c/winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 278 - -

[etc.]

I have to admit I'm amazed that anyone running a mailserver wouldn't know
what that was. Have you just set up one for the first time?

Anyway, this is the Windows Nimda virus trying to break into a
vulnerable installation of the Microsoft IIS server, not realizing that
you're not what it's looking for. Nimda has been doing this for at least
a year now, I think, and it got quite a lot of press when it first came
out.

Unsurprisingly, 63.205.213.16 appears to belong to a local cable company
that offers digital TV and cable modem services. So the machine in
question is probably just a Windows 2000 machine belonging to one of
their customers, who, typical of the average Windows users, has no idea
that he is running a web server on his computer, no idea that his
computer is infected with a virus, and no idea what the phrase security
update means.

Although, interestingly, telnetting to 63.205.213.16 on the www and smtp
ports gets connection refused. So either the user has belatedly got a
clue, or they've simply gone offline and someone else now has their DHCP
address.

Craig


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




RE: Cracked cracker?

2002-12-12 Thread Michael Olds
Run the 'host' command on the IP address...

Craig

The Debian User listserver isn't all too healthy today...big lag. I did
finally run a tracert and e-mail the ISP and the attacks have stopped, so
maybe it got through.

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: EXIM relay for specific users

2002-12-11 Thread Michael Olds
On Mon, Dec 02, 2002 at 08:28:56PM -0800, Michael Olds wrote:
 I guess I didn't see the post with the RTFM and YFA. I said I read
O'Reilly.
 I have read the manuals...

I don't think Paul was too harsh...

...

First, I don't believe it was Paul that sent the RTFM and YFA post...at
least I hope not as I was grateful for the information he did provide.

Second for ANYONE to say something like RTFM and YFA is out of line in my
book. Given the state of the documentation, and considering that none of us
know the circumstances of the people writing for help the only reasonable
thing is to either answer the question or keepeeupeepeeclo. This applies
even moreso when someone states outright the fact that they HAVE read the
documentation and still did not find the answer.

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Proftp behind firewall problem solved

2002-12-11 Thread Michael Olds
p.s. It's standard practice to not CC anyone on the list, unless their
Mail-Followup-To header says to or they explictely ask.


Sorry if my reply went directly to you. I am not really in the list
habit...what usually happens is that I hit Reply in stead of Reply to
All



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




RE: WSFTP problems from Win2000 to Debian--PLEASE HELP!

2002-12-10 Thread Michael Olds



Check 
your permissions. 



-Original Message-From: Sasha Karlik 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10, 2002 9:01 
AMTo: [EMAIL PROTECTED]Subject: WSFTP problems 
from Win2000 to Debian--PLEASE HELP!

I have a network connectionbetween a Debian boxand 
a win2000 box.
My WSFTP client browses to the file sytem on the debian 
box.
When I try to put files to the debian box, it locks and fails 
withthis message: 
! Receive error: Blocking call cancelled
I tried with passive transfer mode both on and 
off.
The same error message appears, regardless.
Does anyone know what I can do to make my FTP 
transferswork from the Windows side?


RE: WSFTP problems from Win2000 to Debian--PLEASE HELP!

2002-12-10 Thread Michael Olds



Hello.
Responding to the subject message, I received the following from [EMAIL PROTECTED]

(in 
plain text) 

1. is 
this part of the Debian Users list setup? and I would like to be able to do this 
for myself, can anyone explain how this is done?


This is an automatic reply. Your message
HAS BEEN REGULARLY DELIVERED.
However, some MIME parts have been stripped from it.
YOU DO NOT NEED TO RESEND THIS MESSAGE.
The MIME type(s) that have been removed are listed at the bottom of this 
message. Please refrain from sending further messages with these MIME 
types
to this address.
If your original message was sent to a mailing list, you may want to 
seriously reconsider sending the MIME type(s) listed below to the list.
If you find something unclear about this notification, feel free to reply 
to
this message.
This is a list of the MIME types of every stripped part:
A. text/html
-Original Message-From: Michael Olds 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10, 2002 9:20 
AMTo: Sasha Karlik; [EMAIL PROTECTED]Subject: 
RE: WSFTP problems from Win2000 to Debian--PLEASE HELP!
Check 
your permissions. 



-Original Message-From: Sasha Karlik 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10, 2002 9:01 
AMTo: [EMAIL PROTECTED]Subject: WSFTP problems 
from Win2000 to Debian--PLEASE HELP!

I have a network connectionbetween a Debian boxand 
a win2000 box.
My WSFTP client browses to the file sytem on the debian 
box.
When I try to put files to the debian box, it locks and fails 
withthis message: 
! Receive error: Blocking call cancelled
I tried with passive transfer mode both on and 
off.
The same error message appears, regardless.
Does anyone know what I can do to make my FTP 
transferswork from the Windows side?


RE: Proftp behind firewall problem solved

2002-12-09 Thread Michael Olds
Thanks for the response Rob,

I should be recognizing this by now...whenever I shoot off my mouth about
having solved a problem, it isn't really solved at all: Mistaking the fact
that it works for the solution of the problem.

1. This is a one-man 2-computer setup, so I generally ftp from behind the
firewall, but I would like it to work just to make it work, and I will
eventually want it to work for a couple of friends whose sites I would like
to host.

2. I am probably using the wrong terminology. I use Cute FTP. The settings
for this connection are:
SFTP using SSH2 (Secure Shell) port 22
Use Global Settings
and I have SSH2 set up on the Linux box and it works (meaning I connect and
I can up and download files).

My (thin-film level) understanding was that SSH2 actually pretended to be
whatever open ports were necessary for the communication, but all traffic
went through 22. At this time the firewall is actually closed on 20 and 21
and everything else except 22, 80, 110, 25.

The address I connect to is not the internal IP but the domain name; the
client log shows it is going through the Internet and is initializing SFTP
module.

So I don't know what to say here.

Answering your second response here, I do not know what more I can do to
look into it further except to let my understanding mature to the level
where I can see what I am overlooking. I bought O'Reilly's TCP/IP Network
Administration and a half dozen other books and have read the various
manuals (and Google how to pages where this very problem seems to be being
solved all the time) and tried a huge number of variations on that setup
with no success.

Best Wishes!
Mike Olds www.buddhadust.org




-Original Message-
From: Rob Weir [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 12:39 AM
To: Debian-User
Subject: Re: Proftp behind firewall problem solved


On Mon, Dec 02, 2002 at 02:51:50PM -0800, Michael Olds wrote:
 Hello again,

 I should be recognizing this by now...whenever I am about to send a
message
 to a help list I am about five minutes from solving the problem...and of
 course if I actually get as far as describing the problem in great detail
 the solution is sure to make me look like an idiot.

 In this case: opening port 21 or 20, or setting up a range of thousands of
 open ports for PASV mode for SFTP won't do it. Gotta open port 22 in the
 firewall. That was all it took.

Uh, that's weird.  I don't think this can be very robust, since the data
port is semi-randomly chosen...Plus, it's the SSH port, so how are you
going to SSH/sftp/scp into that machine?

-rob


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




RE: EXIM relay for specific users

2002-12-06 Thread Michael Olds
Andrew,

Glad you replied to this! This was Paul Johnson's solution not mine. I used
the other suggestion that was made (simpler, so I tried it first thinking it
would probably not work as I thought I had already tried it) that is to put
the public IP number in the
hosts_accept_relay=
directive.

Unfortunately when I saved this I clipped off the name of the person who
gave me that answer...thanks to you whoeva you is!

Now...how come it's working so slowly? I commented out the lookup directive
to no effect. Maybe I should try Paul's solution.

I'm afraid I am not up to speed on SSL...I'm listening if anyone wants to
jump in.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Andrew R Reid [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 9:52 PM
To: Debian User
Subject: RE: EXIM relay for specific users



 -Original Message-
 From: Michael Olds [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 4 December 2002 12:10 AM
 To: debian-user List
 Subject: RE: EXIM relay for specific users

 I don't know about the SSL part, but I'll save you the royal pain in
 the ass associated with exim and pam...

 In /etc/exim/exim.conf...
 In Main Configuration Settings add...

 # Fix problems with auth.

 exim_user=mail
 exim_group=shadow

 In Authentication Configuration, make it read something like...

 ##
 #   AUTHENTICATION CONFIGURATION #
 ##

 # Look in the documentation (in package exim-doc or exim-doc-html for
 # information on how to set up authenticated connections.

 plain:
   driver = plaintext
   public_name = PLAIN
   server_condition = ${if pam{$2:$3}{1}{0}}
   server_set_id = $2

 login:
   driver = plaintext
   public_name = LOGIN
   server_prompts = Username:::Password::
   server_condition = ${if pam {$1:${sg{$2}{:}{::}}}{yes}{no}}
   server_set_id = $1

 # End of Exim configuration file
 Best Wishes!
 Mike Olds www.buddhadust.org


Thank you very much for this Michael.  It is working perfectly.  How do I do
this with ssl?

There are a lot of parts of my exim.conf that are commented out relating to
tls conections.  Is this similar to ssl?


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




RE: Holiday Wish list

2002-12-06 Thread Michael Olds
Thanks Karsten, I'll check it out...Wiki's are just entering my
consciousness at this point...

-Original Message-
From: Karsten Self [mailto:[EMAIL PROTECTED]]On Behalf Of
Karsten M. Self
Sent: Friday, December 06, 2002 2:25 AM
To: [EMAIL PROTECTED]
Subject: Re: Holiday Wish list


on Thu, Dec 05, 2002 at 09:11:49AM -0800, Michael Olds
([EMAIL PROTECTED]) wrote:
 oops, sorry for the off-list post Bill, here's what I said:

 There is definately something very inefficient about these mailing
 lists for sure. I think a better approach is the Bulletin Board with
 an active moderator, so that a permanent thread could be opened on a
 topic and additions and questions asked eventually building up a
 valuable database of information. Here as you say, things come up over
 and over with maybe slight variations, and get lost very easily.

Which is one of the goals of a Wiki.  I'm running one myself, with a
focus on free software tools:

http://twiki.iwethey.org/twiki/bin/view/Main

...and it's aimed at filling in just this gap between mailing lists and
Usenet on the one hand and HOWTOs and hardcopy on the other.

Peace.

--
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
   Geek for hire:  http://kmself.home.netcom.com/resume.html


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




RE: Holiday Wish list

2002-12-05 Thread Michael Olds
oops, sorry for the off-list post Bill, here's what I said:

There is definately something very inefficient about these mailing lists for
sure. I think a better approach is the Bulletin Board with an active
moderator, so that a permanent thread could be opened on a topic and
additions and questions asked eventually building up a valuable database of
information. Here as you say, things come up over and over with maybe slight
variations, and get lost very easily. The problem with old, out of date
information (expecially books you don't find out about until you've paid
your $40 bucks) is another bad one...a price we pay I suppose for not being
a huge market. Still more energy is wasted I'd bet than it would take to do
it right the first time.

Best Wishes!
Mike Olds www.buddhadust.org



-Original Message-
From: Bill Moseley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 8:49 AM
To: [EMAIL PROTECTED]
Subject: Holiday Wish list


Ok, so this is coffee induced, but my one wish is that all HOWTOs include
a last modified date so I don't spend hours learning and installing the
old way, and that all HOWTOs explain *why* each step is done instead of
just the steps.  (Is that two wishes?)

The main reason I pick Debian is that I want to install just what I need
and use, and understand *why* it's installed and *how* the parts fit
together. I've often been tempted by Linux from Scratch for this reason,
but I love apt-get too much.

And if I can ask for anything, I'd ask for Debian specific HOWTO wikis.
I think most all debian setup and config options are discussed on this
list - often over and over.  I'd love to see individual topic HOWTOs
specific to debian that can be annotated/updated as questions and answers
come up on the list.

And then perhaps a CGI interface where a new user can be asked a series of
questions about what kind of system they want and get a list of steps that
are pointers to the individual HOWTO wikis.  Kind of like tasksel, but in
documentation.

It would also have to be a rather smart system to detect that addition of,
say ide-scsi, might need a kernel recompile and include those docs.

Ok, it would never work as TIMTOWTDI when setting up a machine.  But for
newcomers some time there's too many ways, and one good way would be a
nice start.

The other reason to reject such an idea is that there already is a ton of
really good docs available.  Still, I like the wiki idea to update docs as
things come up on this list.

I say all this because I have been trying to keep good notes when I set up
a new machine.  I install a base system and then try and apt-get only what
I need.  My notes try and explain why I need to install something, some
basics of how it works (e.g. /etc/init.d/foo runs, reads
/etc/default/foo.conf, and foo updates something else kind of thing).
Rarely perfect but takes some of the mystery out of it.  And I cut-n-paste
the actual commands I type into my notes which make re-using them really
easy (as I can then cut-n-paste from the notes).

I reinstalled a machine a few days ago and I picked sections of what I
wanted to install from the notes of three other installs and it was so
easy to set up that new machine for me.  That's what made me think about a
way to select the things I want setup and have the notes compiled together
for me.

Ok, enough of that.  Time for another cup of coffee.

--
Bill Moseley [EMAIL PROTECTED]


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




RE: EXIM relay for specific users

2002-12-03 Thread Michael Olds
Andrew,

I also couldn't find it using the search tool, kept bringing me back to
alternative ways to search. I used the author index. It's in November under
Paul's name.

But I copied the relevant posts very much fits what you are after methinks:

I want to setup a mailserver, like the servers an ISP has. I have exim
installed and it delivers and recieves mail just fine. I have a static
IP and a domain. I also have uw-imapd-ssl running , which is really
neat. I can read email over ssl links from anywhere on the net with
mozilla-mail, outlook express, etc.

But this is only half of the deal. I can't send email from my email
clients because exim rejects the mail, saying it won't relay email. So
what I want is to have exim ask for a login password, and if possible do
this over an ssl connection too.

At first I tried using PAM, but nothing I did effected exim, then I
noticed in my exim.conf I found some lines about setting up
authentication but I can't quite get it working. Are there any guides on
this? I really want to set this up using SSL since most of the email
logins will also be shell logins, so sending those logins unencrypted
seems like a bad idea.

Is there anykind of a guide I can read? I tried searching google, but I
get lots of stuff not related to what I want to do, and the NAG has some
info, but not on having smpt password login.
On Mon, Nov 04, 2002 at 08:56:10AM -0500, ZZ wrote:
 At first I tried using PAM, but nothing I did effected exim, then I
 noticed in my exim.conf I found some lines about setting up
 authentication but I can't quite get it working. Are there any guides on
 this? I really want to set this up using SSL since most of the email
 logins will also be shell logins, so sending those logins unencrypted
 seems like a bad idea.

I don't know about the SSL part, but I'll save you the royal pain in
the ass associated with exim and pam...

In /etc/exim/exim.conf...
In Main Configuration Settings add...

# Fix problems with auth.

exim_user=mail
exim_group=shadow

In Authentication Configuration, make it read something like...

##
#   AUTHENTICATION CONFIGURATION #
##

# Look in the documentation (in package exim-doc or exim-doc-html for
# information on how to set up authenticated connections.

plain:
  driver = plaintext
  public_name = PLAIN
  server_condition = ${if pam{$2:$3}{1}{0}}
  server_set_id = $2

login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = Username:::Password::
  server_condition = ${if pam {$1:${sg{$2}{:}{::}}}{yes}{no}}
  server_set_id = $1

# End of Exim configuration file
Best Wishes!
Mike Olds www.buddhadust.org


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




Proftp behind firewall

2002-12-02 Thread Michael Olds
Greetings once again,

I have requested help on this issue before, but the problem was never
resolved, so here goes one more try (a little different this time; I have
given up trying to set up anonymous ftp):

I need to get plain-ol' ftp working.

I am using Proftp. My setup is:
Intel 850 P4 1.9G; 1GbRAM; Win2000;
Intel 845 P4 1.6G; 768MbRAM; Debian Linux (3.0 Woody);
Connected to a static DSL IP through a US Robotics Broadband Router.

I have given up on Anonymous ftp; I just need to provide a couple of users
secure access to websites I want to host for them.

Currently I am using sftp (SSH2) to access my own websites from the Windows
box behind the router. When I try to use the Internet I cannot make the
connection (various error messages...tell me what setup you want me to try
and I will post the error message).

I have read the documentation and nothing quite deals with my situation
which surely cannot be unique. And I have read each of the following:
Slow logins:
  http://www.proftpd.org/docs/faq/faq_full.html#AEN414
Networking/firewall/NAT issue:
http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-NAT.txt
http://slacksite.com/other/ftp.html (See a name=extract_1
href=#extract_1exextract/a below)
Debugging:http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-De
bugging.html

I need to know:
What ports should be opened through the router's firewall? I have tried 21
20 and those plus the range 6-65000.

What should my proftpd.conf look like:

I have tried variations on the folowing in the proftpd.conf:

# UseReverseDNS off
# IdentLookups  off
#
# MasqueradeAddress  both ftp.mydomain.net and http://www~ and
00.000.00.00 the static IP Address used to connect to the Internet
# PassivePorts  6 65535
# AllowForeignAddress on
#

Neither ftp nor nogroup are in /etc/ftpusers

What I have not changed is anything to do with configuring the NAT as I am
not sure that is what I need to do (or what I need to do to change it)...so
I need to know if it is what I need to do.

I have reconfigured this endless times over the last couple of months and I
am tuckered! Anyone can guide me through this or point me in the right
direction, I would appreciate it much.


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




EXIM relay for specific users

2002-12-02 Thread Michael Olds
EXIM relay for specific users

Hello again,
I cannot get EXIM to let me relay email. I have read Hazel, EXIM (O'Reilly),
and numbers of other documents but I am missing something.

The setup:
Intel 845 P4 1.6G; 768MbRAM; Debian Linux (3.0 Woody)
behind a US Robotics Firewall connected to a Static IP#
The two computers on the LAN have static IPs

I would like to allow valid users to relay mail from their computers to
anywhere through my server.

Right now everything but that appears to work fine. I can mail to my account
on the server and download the mail from the server via POP3 and I can mail
from the users desktop to anywhere.


host_auth_accept_relay = * (also tried mydomain.net)

I have both login and plain uncommented in the exim.conf and I have
created an /etc/exim/passwd file

I always get the following error: Server response 550 relaying prohibited by
administrator.

Can someone tell me what I need to do to get this working?

Thanks!

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: EXIM relay for specific users

2002-12-02 Thread Michael Olds
OK, Paul I don't understand this, but I did find your archive solution...I
think...about how to use PAM for authentication. I will check into this in
the morning.

Thanks,

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Paul Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 8:12 PM
To: debian-user List
Subject: Re: EXIM relay for specific users


On Mon, Dec 02, 2002 at 10:00:35PM -0500, P. M. Wright wrote:
   EXIM relay for specific users
 
  Check the archives.  Keywords to look for are ASMTP and exim.
 
  I posted the appropriate fix a while back.

 RTFM?!? YFA!

This isn't RTFM.  This is an already recently answered question,
readily found in the archive.  Don't be an ingrate.

--
 .''`. Baloo [EMAIL PROTECTED]
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system


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




RE: EXIM relay for specific users

2002-12-02 Thread Michael Olds
I guess I didn't see the post with the RTFM and YFA. I said I read O'Reilly.
I have read the manuals. I have searched Google and have a good collection
of links. I have played with the configuration for more than a month
now...first began (look in the archives...) in October. I work at it until I
can't think of anything more to do and then ask. I don't think I am abusing
the system. Either the answer to this question is not spelled out in the
documentation or I am reading in incorrectly in some way that needs to be
changed, either way I am stuck. (I did not see the series of answers Paul
gave because I have not been connected to the list for the last month or
more.)

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Paul Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 8:12 PM
To: debian-user List
Subject: Re: EXIM relay for specific users


On Mon, Dec 02, 2002 at 10:00:35PM -0500, P. M. Wright wrote:
   EXIM relay for specific users
 
  Check the archives.  Keywords to look for are ASMTP and exim.
 
  I posted the appropriate fix a while back.

 RTFM?!? YFA!

This isn't RTFM.  This is an already recently answered question,
readily found in the archive.  Don't be an ingrate.

--
 .''`. Baloo [EMAIL PROTECTED]
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system


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




RE: Anonymous Proftp setup problems

2002-10-24 Thread Michael Olds
Nate, thank you for this response,

I am behind my router's firewall, but set up with static external and
internal IPs:

In Proftp (global) I Set up:
UseReverseDNS   off
IdentLookupsoff
MasqueradeAddress   000.000.000.00 of the servers internal IP
PassivePorts 6-65535

and set up my router to listen on 21 and 6-65535

and I still get timed out:

COMMAND:   PASV
227 Entering Passive Mode (internal.server.ip.no,251,62).
COMMAND:   LIST
STATUS:Connecting ftp data socket internal.server.ip.no:64318...
ERROR: Timeout.

I did #fuser -n tcp 21 and got:
21/tcp: 230

I really don't know what that means. I do not have a user 230

I also did netstat -an | grep 21 and got a bunch of stuff, but didn't see
anything that rang any bells. But here too I really do not know what I am
looking for.

Best Wishes!
Mike Olds www.buddhadust.org


-Original Message-
From: nate [mailto:debian-user;aphroland.org]
Sent: Thursday, October 24, 2002 1:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Anonymous Proftp setup problems


Michael Olds said:
 I am unable to get Proftp Anonymous ftp working (download only; real
 use on the internal network is working fine), and am hoping that someone

you mention internal network. to me this makes me think you
are running it behind NAT. passive ftp does not work well with NAT.
try your client in ACTIVE ftp mode or put the ftp server infront
of your NAT box.


 If I run proftpd -nd5 debugging I get:

 The error log reads: failed binding to 0.0.0.0, port 21; address already
 in use

run fuser -n tcp 21

if that doesn't turn up anything then check

netstat -an | grep 21

sounds like your problem is NAT though, serving FTP data behind
dynamic NAT is not a good idea. FTP works fine if you use static
NAT(1 external IP maps to 1 internal ip on all ports). I have only
done this on cisco routers though.

nate




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




Apache handling SSI

2002-10-24 Thread Michael Olds
Hello,

I know I could just do this, but I am a little gun shy: can an Apache server
that now runs SSI using an .shtml mime type and an .shtml AddHandler be made
to run SSI on .htm files by just including
AddHandler server-parsed .htm ?

Not sure I said that correctly: I want to include includes in plain old .htm
files and forget about .shtml.

And is there some reason for not doing this?

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Apache handling SSI

2002-10-24 Thread Michael Olds
OK Thanks something to think about

-Original Message-
From: nate [mailto:debian-user;aphroland.org]
Sent: Thursday, October 24, 2002 7:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache handling SSI


Michael Olds said:
 Hello,

 I know I could just do this, but I am a little gun shy: can an Apache
 server that now runs SSI using an .shtml mime type and an .shtml
 AddHandler be made to run SSI on .htm files by just including
 AddHandler server-parsed .htm ?

 Not sure I said that correctly: I want to include includes in plain old
 .htm files and forget about .shtml.

 And is there some reason for not doing this?


it should work fine yes. as for why not, probably a bit less load
on the system if it doesn't have to inspect every single .html file
for includes.

nate




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




Rebuilding the Kernel Mini HOW TO

2002-10-14 Thread Michael Olds

Hello,

This is still a draft. This is a request for advanced users to take a look
see and add comments or suggestions. The idea is a step by step instruction
for Fresh New to Linux/Debian users, with the hope that they will be
encouraged to attempt a rebuild of their kernel almost first thing after
initial install. I use a technique which is a blend of using a file manager
along with a terminal so I can see where I am at and yet do what I need to
do in the terminal. This is a good way to work into using the terminal.

!--\*#-REBUILD KERNEL#*\--!

References:
read (NOTE: we need a source for these as they are not created on a new
install or by unpacking the kernel-source...and should they be in
/usr/src/linux/ anyway):
  /usr/src/linux/Documentation/initrd.txt
  /usr/src/linux/Documentation/modules.txt
  /usr/src/linux/README
  /usr/src/linux/README.Debian

http://qref.sourceforge.net/Debian/reference/ch-kernel.en.html
   This is good for using the make menuconfig method

http://infocom.cqu.edu.au/Units/aut99/85321/Resources/Print_Resources/Textbo
ok/chap13/

http://www.google.com/search?q=%22kernel+headers%22+linus+quotehl=enlr=ie
=UTF-8start=10sa=N

http://www.linuxfromscratch.org/faq/#AEN334
http://www.uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html

http://www.linuxorbit.com/modules.php?op=modloadname=Sectionsfile=indexre
q=viewarticleartid=532
   This is good for using the make xconfig method

Bear in mind that debian does things a bit differently than other
distros. What is that difference? In essence, in stead of reconfiguring the
kernel and replacing it directly, the reconfigured kernel is made into a
package (.deb) primarily so that the rebuild will remain integrated into the
debian package system so that future updates of the kernel can be made using
dpkg. (I have stated this in these boldly confident terms not being sure
that this is the essence at all...hoping for confirmation or education...mo)

R: The way that kernel headers are handled on a debian system may be
different to other distros, so clarification would be worthwhile just to
avoid confusion.


---Step-by-Step---

[ ]A. Before 1: Download and create a recovery floppy from:
http://www.toms.net/rb/

[ ]1.a. Download the latest kernel source package (use a Debian source; or
make sure you have read all the documentation above) to /usr/src (this is
where it will be installed if you use dselect, a package manager, synaptic
or aptitude). Best practices seem to indicate that the package be built
outside of /usr/src so creating /usr/src/linux and creating a sym-link from
/linux to /usr/src/kernel~ as in step 1.d below seems to be the way to
handle this.)

[ ]1.b. if no /usr/src/linux dir exists, make it
  $ cd /usr/src
  $ mkdir linux
[ ]1.c. change directory to /usr/src and unpack the source package -- use
the unpacking tools with your file manager, or:
  $ su #enter root password
  $ cd /usr/src
  $ tar --bzip2 -xvf kernel-source-2.4.18.tar.bz2 (or latest)
[ ]1.d create a symbolic link to /usr/src/linux
  $ ln -s /usr/src/kernel-source-2.4.18 /usr/src/linux

[ ]2. Just to be professional: go to /etc/kernel.pkg.conf and modify the
file by inserting your Kernel Source Maintainer Name and e-mail address.

[ ]3. Make sure
   [ ]expectk if you want to use the user friendly: make xconfig
   [ ]debhelper
   [ ]modutils
   [ ]libncurses5-dev
   [ ]bin86
   [ ]libc6-dev
   [ ]debianutils
   [ ]make
   [ ]bzip2 and
   [ ]kernel-package are installed.

   R Notes: don't use gcc 3.x, but something like gcc 2.95. Which I do not
understand. Clarification?

[ ]4. (on 2nd and subsequent rebuilds) Copy old configuration file to
/usr/src/kernel-source-2.4.18
  $ cd /usr/src/kernel-source-2.4.18
  $ cp /boot/config-2.4.18-386 .config # get current config as
default

[ ]5. # cd to /usr/src/linux

  $ make menuconfig or make xconfig

and make your selections

   To do this you need to have some familiarity with your hardware and what
you are intending to use the system for. This you need to work out yourself.
Once this is figured out, it might be helpful, on the first rebuild, to make
your updates with reference to the original configuration, (called
config-2.4.18bf24 (or your kernel version)) which you should find under
/root using the M (module) option where a module was used and building the
feature into the kernel (*) or [y] option where it was built into the
kernel. Use the HELP option for brief explanations. This at least until you
understand which can be safely changed under your setup.

  Note: If you're using --initrd, make sure Compressed ROM file system
support is built in, or you'll get a kernel panic (need CramFS).

  (Side note: I see that answers my question about how to get it in
there...sorry!)


[ ]6.a.  [ ]# make-kpkg clean
   6.b.  [ ]# make-kpkg -revision=!--insert your own personal rebuild
   version number here: i.e.: -revision=0001) --initrd kernel_image (see
NOTES 

RE: Rebuilding the Kernel Mini HOW TO

2002-10-14 Thread Michael Olds

Thank you,

I am still in a fog in terms of simple things like symlinks. What you want
is to end up with a link in the linux directory called kernel-source-2.4.18
that links to /usr/src/kernel-source-2.4.18. So how should that be said?

[ ]1.d create a symbolic link to kernel-source-2.4.18 from /usr/src/linux
$ ln -s /usr/src/kernel-source-2.4.18 /usr/src/linux

Best Wishes!
Mike Olds www.buddhadust.org


-Original Message-
From: Jamin W.Collins [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Rebuilding the Kernel Mini HOW TO


On Mon, 14 Oct 2002 14:19:48 -0700 Michael Olds [EMAIL PROTECTED]
wrote:

 [ ]1.b. if no /usr/src/linux dir exists, make it
   $ cd /usr/src
   $ mkdir linux
(snip)
 [ ]1.d create a symbolic link to /usr/src/linux
   $ ln -s /usr/src/kernel-source-2.4.18 /usr/src/linux

Doing 1.b. followed by 1.d. will _not_ work.  A directory with the name
linux exists, as it was created in 1.b. and thus a symlink with the same
name can not be made at the same level.  Instead you will wind up with a
symlink in the linux directory called kernel-source-2.4.18.

--
Jamin W. Collins


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




RE: Rebuilding the Kernel Mini HOW TO

2002-10-14 Thread Michael Olds

We're getting there.

Yes, I have it incorrectly, what is wanted is that step five should read:

[ ]5. # cd to /usr/src/linux/kernel-source-2.4.18

Corrected, thanks.

Best Wishes!
Mike Olds www.buddhadust.org



-Original Message-
From: Jamin W.Collins [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 4:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Rebuilding the Kernel Mini HOW TO


On Mon, 14 Oct 2002 15:25:07 -0700 Michael Olds [EMAIL PROTECTED]
wrote:

 I am still in a fog in terms of simple things like symlinks. What you
 want is to end up with a link in the linux directory called
 kernel-source-2.4.18 that links to /usr/src/kernel-source-2.4.18. So how
 should that be said?

Why would you want that?  To make sure we are talking about the same
thing, you're saying that you want to end up with
   /usr/src/linux/kernel-source-2.4.18
that points to
   /usr/src/kernel-source-2.4.18

If this is correct, then your instructions in step 5 are wrong.

|[ ]5. # cd to /usr/src/linux
|
|  $ make menuconfig or make xconfig

The make menuconfig needs to be done at the top of the kernel source
tree.  Which, would now be /usr/src/linux/kernel-source-2.4.18.  Perhaps
what you intended is that
   /usr/src/linux
point to
   /usr/src/kernel-source-2.4.18

If that's the case, drop 1.b. altogether.

--
Jamin W. Collins


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




RE: Rebuilding the Kernel Mini HOW TO

2002-10-14 Thread Michael Olds

Thanks Joyce,

Added a line: Why would I want to rebuild the kernel, and will just add
quotes from anyone who responds here. For me My kernel went from an
original 1,263,333KB to 861,587KB, with the exact same setup.

I also included your link.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Joyce, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 4:41 PM
To: 'Michael Olds'; Debian-User@Lists. Debian. Org
Subject: RE: Rebuilding the Kernel Mini HOW TO


I found this document bery useful.

http://newbiedoc.sourceforge.net/system/kernel-pkg.en.html

I did not follow it to the letter, but I did manage to rebuild the kernel
first time with no problems.

Perhaps also a section on why someone might want to rebuild, I found the
pcmcia so much easier in 2.4.18.

Other reasons, for me were, enabling sound, video/frame buffering, and
removing stuff I just did not need, like scsi drivers.

Matthew Joyce



-Original Message-
From: Michael Olds [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 15 October 2002 7:21 AM
To: Debian-User@Lists. Debian. Org
Subject: Rebuilding the Kernel Mini HOW TO


Hello,

This is still a draft. This is a request for advanced users to take a look
see and add comments or suggestions. The idea is a step by step instruction
for Fresh New to Linux/Debian users, with the hope that they will be
encouraged to attempt a rebuild of their kernel almost first thing after
initial install. I use a technique which is a blend of using a file manager
along with a terminal so I can see where I am at and yet do what I need to
do in the terminal. This is a good way to work into using the terminal.

!--\*#-REBUILD KERNEL#*\--!

References:
read (NOTE: we need a source for these as they are not created on a new
install or by unpacking the kernel-source...and should they be in
/usr/src/linux/ anyway):
  /usr/src/linux/Documentation/initrd.txt
  /usr/src/linux/Documentation/modules.txt
  /usr/src/linux/README
  /usr/src/linux/README.Debian

http://qref.sourceforge.net/Debian/reference/ch-kernel.en.html
   This is good for using the make menuconfig method

http://infocom.cqu.edu.au/Units/aut99/85321/Resources/Print_Resources/Textbo
ok/chap13/

http://www.google.com/search?q=%22kernel+headers%22+linus+quotehl=enlr=ie
=UTF-8start=10sa=N

http://www.linuxfromscratch.org/faq/#AEN334
http://www.uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html

http://www.linuxorbit.com/modules.php?op=modloadname=Sectionsfile=indexre
q=viewarticleartid=532
   This is good for using the make xconfig method

Bear in mind that debian does things a bit differently than other distros.
What is that difference? In essence, in stead of reconfiguring the kernel
and replacing it directly, the reconfigured kernel is made into a package
(.deb) primarily so that the rebuild will remain integrated into the debian
package system so that future updates of the kernel can be made using dpkg.
(I have stated this in these boldly confident terms not being sure that this
is the essence at all...hoping for confirmation or education...mo)

R: The way that kernel headers are handled on a debian system may be
different to other distros, so clarification would be worthwhile just to
avoid confusion.


---Step-by-Step---

[ ]A. Before 1: Download and create a recovery floppy from:
http://www.toms.net/rb/

[ ]1.a. Download the latest kernel source package (use a Debian source; or
make sure you have read all the documentation above) to /usr/src (this is
where it will be installed if you use dselect, a package manager, synaptic
or aptitude). Best practices seem to indicate that the package be built
outside of /usr/src so creating /usr/src/linux and creating a sym-link from
/linux to /usr/src/kernel~ as in step 1.d below seems to be the way to
handle this.)

[ ]1.b. if no /usr/src/linux dir exists, make it
  $ cd /usr/src
  $ mkdir linux
[ ]1.c. change directory to /usr/src and unpack the source package -- use
the unpacking tools with your file manager, or:
  $ su #enter root password
  $ cd /usr/src
  $ tar --bzip2 -xvf kernel-source-2.4.18.tar.bz2 (or latest) [ ]1.d
create a symbolic link to /usr/src/linux
  $ ln -s /usr/src/kernel-source-2.4.18 /usr/src/linux

[ ]2. Just to be professional: go to /etc/kernel.pkg.conf and modify the
file by inserting your Kernel Source Maintainer Name and e-mail address.

[ ]3. Make sure
   [ ]expectk if you want to use the user friendly: make xconfig
   [ ]debhelper
   [ ]modutils
   [ ]libncurses5-dev
   [ ]bin86
   [ ]libc6-dev
   [ ]debianutils
   [ ]make
   [ ]bzip2 and
   [ ]kernel-package are installed.

   R Notes: don't use gcc 3.x, but something like gcc 2.95. Which I do not
understand. Clarification?

[ ]4. (on 2nd and subsequent rebuilds) Copy old configuration file to
/usr/src/kernel-source-2.4.18
  $ cd /usr/src/kernel-source-2.4.18
  $ cp /boot/config-2.4.18-386 .config # get current config as
default

[ ]5

RE: Rebuilding the Kernel Mini HOW TO

2002-10-14 Thread Michael Olds

Thanks Bruce, please see my response to Russell...there is some kind of
misunderstanding (no doubt in my head) about the meaning of link and whether
a link is to or from, etc. What I described actually worked, so I need to
figure out how to say it so everyone will understand.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Bruce [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 6:17 PM
To: [EMAIL PROTECTED]
Subject: RE: Rebuilding the Kernel Mini HOW TO


 We're getting there.

 Yes, I have it incorrectly, what is wanted is that step five should read:

[ ]5. # cd to /usr/src/linux/kernel-source-2.4.18

 Corrected, thanks.

I'm not sure that is what you want to do; what you want is your kernel
source
in a folder that clearly identifies it by its number, i.e.:

/usr/src/kernel-source-2.4.18

Then, to allow that to be found easily, make a symlink from that folder, and
call the symlink linux

# cd /usr/src
# ln -s kernel-source-2.4.18 linux

Now,  typing cd /usr/src/linux will take you into
/usr/src/kernel-source-2.4.18


Good idea to put the basic requirements in a simple howto, and thanks for
taking that on. I would not mesh the generic instructions with Debian
instructions, though. For Debian, my mini-kernel howto would be brief (along
with your desctiptions and explanations):

# apt-get install kernel-package
# apt-get install kernel-source-2.4.18
# apt-get install development packages -not sure offhand
# ln -s /usr/src/kernel-source-2.4.18 /usr/src/linux
# cd /usr/src/linux
# make xconfig
# make-kpkg clean
# make-kpkg -rev mypc.1 --append-to-version mypc kernel_image
# cd ..
# dpkg -i kernel-image-2.4.18mypc_mypc.1_i386.deb
reboot

Bruce


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




RE: Rebuilding the Kernel Mini HOW TO

2002-10-14 Thread Michael Olds

Osamu,

Yes I did read those sources, however they created problems...for those
using xconfig taking out the pcmcia support in this way made it impossible
to use. (The what to do with old kernel headers problem needs to be spelled
out, the issue of where to make the package needs to be spelled out) Not
really trying to reinvent the wheel, trying to get the wheel on the ground
for people like myself who know absolutely next to nothing about what they
are doing in Linux, but who still need to do a couple of things before they
start investing a lot of time in setting things up and customizing:
rebuilding the kernel and learning how to do backups. And second these
instructions need to be geared towards the individual user, not the
corporate sysadmin. The instructions out there look like they are step by
step to the old hands (I know how this works) but they really do not resolve
doubts that occur between steps for the newbie. That is what I am trying to
do with this, not trying to step on anyone's toes. You see your discussion
of certain issues below makes no sense whatsoever to me and I believe it
probably makes perfect sense.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Osamu Aoki [mailto:[EMAIL PROTECTED]]On Behalf Of Osamu
Aoki
Sent: Monday, October 14, 2002 6:55 PM
To: [EMAIL PROTECTED]
Cc: Michael Olds
Subject: Re: Rebuilding the Kernel Mini HOW TO


Hi,

Did you read make-kpkg documentation especially by Kent West?
I think instead of reinventing wheel, suppliment existing good document
as patch bug report.

 /usr/share/doc/make-kpkg/README.gz (last section is by Kent)

For this, use unstable version.

Also my Debian Reference has a (good) summary.  Bug report is welcome.

  http://qref.sf.net/Debian/reference/ch-kernel.en.html or
  http://www.debian.org/doc/manuals/reference/ch-kernel.en.html

Lastly, are you aware of following facts (Content from recent post by
prominent Debian person. I am worried about mine ...):

* kernel header files for user application

Some may still say:
  The problem under Debian and SuSE is that the Linux kernel is
  not installed under /usr/src/linux - so you just need to ensure
  that /usr/src/linux links to the directory containing the Linux
  kernel sources. ...

Colin Watson [EMAIL PROTECTED] said:
That is absolutely terrible advice. It's a very good way to break a Debian
system, and you should ignore it. Linus doesn't recommend this old way of
doing
things nowadays either.

Instead, if you *need* kernel headers for something, alter the Makefiles so
that their include path points to
wherever-your-kernel-source-is/include/linux, etc.

Most normal programs don't need kernel headers and in fact may break if
you
use them directly; instead they should be compiled against the headers with
which glibc was built, which are the versions in /usr/include/linux and
/usr/include/asm.

 END OF QUOTE ---

Do not ask me but it looks like using /usr/src/linux seems to be bad
idea.  (OOps, I do that in 2nd classic method.  Just do not compile
any application, this may be OK.. I need to check why this is bad...)

On Mon, Oct 14, 2002 at 02:19:48PM -0700, Michael Olds wrote:
 Hello,

 This is still a draft. This is a request for advanced users to take a look
 see and add comments or suggestions. The idea is a step by step
instruction
 for Fresh New to Linux/Debian users, with the hope that they will be
 encouraged to attempt a rebuild of their kernel almost first thing after
 initial install. I use a technique which is a blend of using a file
manager
 along with a terminal so I can see where I am at and yet do what I need to
 do in the terminal. This is a good way to work into using the terminal.

 !--\*#-REBUILD KERNEL#*\--!

 References:
 read (NOTE: we need a source for these as they are not created on a new
 install or by unpacking the kernel-source...and should they be in
 /usr/src/linux/ anyway):

OOPs

   /usr/src/linux/Documentation/initrd.txt
   /usr/src/linux/Documentation/modules.txt
   /usr/src/linux/README
   /usr/src/linux/README.Debian

 http://qref.sourceforge.net/Debian/reference/ch-kernel.en.html
This is good for using the make menuconfig method


http://infocom.cqu.edu.au/Units/aut99/85321/Resources/Print_Resources/Textbo
 ok/chap13/


http://www.google.com/search?q=%22kernel+headers%22+linus+quotehl=enlr=ie
 =UTF-8start=10sa=N

 http://www.linuxfromscratch.org/faq/#AEN334
 http://www.uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html


http://www.linuxorbit.com/modules.php?op=modloadname=Sectionsfile=indexre
 q=viewarticleartid=532
This is good for using the make xconfig method

 Bear in mind that debian does things a bit differently than other
 distros. What is that difference? In essence, in stead of reconfiguring
the
 kernel and replacing it directly, the reconfigured kernel is made into a
 package (.deb) primarily so that the rebuild will remain integrated into
the
 debian package system so

RE: Kernel Panic was: System is too Big; son of make menuconfig

2002-10-13 Thread Michael Olds

Thanks Russell and Torsten,
Last night I did a re-install...not a huge loss in that this is still in the
learning/setup phase...and all of this was in the service of setting up some
kind of backup routine.

Suggestion for the KDE folk, by the way: 1. Give us a way to use just the
desktop without installing all the related programs...kate, konquoror,
kword, konsole...in fact the whole Linux setup should be different as far as
these desktop things are concerned...we should be being given a choice of
desktop setups, then for the one we choose, a second set of choices as to
what to include. I don't mean that the options are there, scattered around
throughout the available packages, but that we should start with a dialog
about what to include. 2. In KDE you can save a scheme, but it isn't saved
for everyone and it should be.

This is the thing that had me perplexed: while I did not use the original
configuration as the basis for the kernel rebuild, I did follow it...if
something was built in, I built it in, if something was a module, I made it
a module...so it seems it must have been the --initrd option.

Best Wishes!
Mike Olds www.buddhadust.org



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




RE: Kernel Panic~: Rebuild Kernel: miniHOWTO draft

2002-10-13 Thread Michael Olds

Russell, Torsten, et al:

This is the method I have written up in my notes for a Debian Style Kernel
Rebuild. My feeling after all this is that this is something that as hair
raising as it might seem for beginners, should be one of the first things we
learn, not to be delayed.

It would be good if a step by step like this were made for recovering using
the suggested recovery disk (including link to source)


!--\*#-REBUILD KERNEL#*\--!

1. Download the latest kernel SOURCE package for your hardware architecture
(i.e. PIII, 4, etc) (??what about these headers or is that only for the
non-Debian way?) to /usr/src/linux/kernel/ (if no /usr/src/linux/kernel dir
exists, make it) and unpack it.
2. Make sure bin86 lib6c-dev debianutils make bzip2 and
kernel-package are installed.
3. (on 2nd and subsequent rebuilds) Copy configuration file to
/usr/src/linux/kernel_version_source_directory/
4. # cd to /usr/src/linux/kernel_version_source_directory
   # make menuconfig
and make your selections
5. # make-kpkg clean
   # make-kpkg -revision=0001 --initrd kernel_image
6. A new kernel.version-0001_i386.deb will be placed in the /usr/src/linux
directory (or one up from where the sources are held)
7. Install the new kernel using # dpkg -i kernel.~.deb

!--\*#--#*\--!


-Original Message-
From: Michael Olds [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 13, 2002 6:53 AM
To: Russell; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Kernel Panic was: System is too Big; son of make menuconfig


Thanks Russell and Torsten,
Last night I did a re-install...not a huge loss in that this is still in the
learning/setup phase...and all of this was in the service of setting up some
kind of backup routine.

Suggestion for the KDE folk, by the way: 1. Give us a way to use just the
desktop without installing all the related programs...kate, konquoror,
kword, konsole...in fact the whole Linux setup should be different as far as
these desktop things are concerned...we should be being given a choice of
desktop setups, then for the one we choose, a second set of choices as to
what to include. I don't mean that the options are there, scattered around
throughout the available packages, but that we should start with a dialog
about what to include. 2. In KDE you can save a scheme, but it isn't saved
for everyone and it should be.

This is the thing that had me perplexed: while I did not use the original
configuration as the basis for the kernel rebuild, I did follow it...if
something was built in, I built it in, if something was a module, I made it
a module...so it seems it must have been the --initrd option.

Best Wishes!
Mike Olds www.buddhadust.org



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




RE: Kernel Panic~: Rebuild Kernel: miniHOWTO draft .001

2002-10-13 Thread Michael Olds

Russell, et al

Still a draft! Please note questions and also corrected typo in 2 libc6

!--\*#-REBUILD KERNEL#*\--!

References:
read (/usr/src/linux/ and this documentation may not be present if you have
not previously rebuilt your kernel; they come in the kernel source package
you will need to begin):
  /usr/src/linux/Documentation/initrd.txt
  /usr/src/linux/Documentation/modules.txt
  /usr/src/linux/README
  /usr/src/linux/README.Debian

http://qref.sourceforge.net/Debian/reference/ch-kernel.en.html

http://infocom.cqu.edu.au/Units/aut99/85321/Resources/Print_Resources/Textbo
ok/chap13/

http://www.google.com/search?q=%22kernel+headers%22+linus+quotehl=enlr=ie
=UTF-8start=10sa=N

http://www.linuxfromscratch.org/faq/#AEN334
http://www.uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html

Bear in mind that debian does things a bit differently than other
distros. What is that difference? In essence, in stead of reconfiguring the
kernel and replacing it directly, the reconfigured kernel is made into a
package (.deb) primarily so that the rebuild will remain integrated into the
debian package system so that future updates of the kernel can be made using
dpkg. (I have stated this in these boldly confident terms not being sure
that this is the essence at all...hoping for confirmation or education...mo)

---Step-by-Step---

[ ]1. Download the latest kernel to /usr/src/linux/kernel/ (if no
/usr/src/linux/kernel dir exists, make it. Question: the kernel source
package downloaded directly to /usr/src for me...is it safe to move the
source tar.bz2 to /usr/src/linux (for order under src)? before unpacking it)
and unpack it.
[ ]2. Make sure
   [ ]bin86
   [ ]libc6-dev
   [ ]debianutils
   [ ]make
   [ ]bzip2 and
   [ ]kernel-package are installed.
[ ]3. (on 2nd and subsequent rebuilds) Copy configuration file to
/usr/src/linux/kernel_version_source_directory/
[ ]4. # cd to /usr/src/linux/kernel_version_source_directory
   # make menuconfig
and make your selections
[ ]5. # make-kpkg clean
   # make-kpkg -revision=!--insert your own personal rebuild version number
here: i.e.: -revision=0001) --initrd kernel_image
[ ]6. A new kernel.version-0001_i386.deb will be placed in the
/usr/src/linux directory (or one up from where the sources are held)
[ ]7. Install the new kernel using # dpkg -i kernel.~.deb

!--\*#--#*\--!

-Original Message-
From: Russell [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 13, 2002 8:20 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Kernel Panic~: Rebuild Kernel: miniHOWTO draft


Michael Olds wrote:

 Russell, Torsten, et al:

 This is the method I have written up in my notes for a Debian Style
Kernel
 Rebuild. My feeling after all this is that this is something that as hair
 raising as it might seem for beginners, should be one of the first things
we
 learn, not to be delayed.

 It would be good if a step by step like this were made for recovering
using
 the suggested recovery disk (including link to source)

 !--\*#-REBUILD KERNEL#*\--!

 1. Download the latest kernel SOURCE package for your hardware
architecture
 (i.e. PIII, 4, etc) (??what about these headers or is that only for the
 non-Debian way?) to /usr/src/linux/kernel/ (if no /usr/src/linux/kernel
dir
 exists, make it) and unpack it.

It's 'bad' to put things
 2. Make sure bin86 lib6c-dev debianutils make bzip2 and
 kernel-package are installed.
 3. (on 2nd and subsequent rebuilds) Copy configuration file to
 /usr/src/linux/kernel_version_source_directory/
 4. # cd to /usr/src/linux/kernel_version_source_directory
# make menuconfig
 and make your selections
 5. # make-kpkg clean
# make-kpkg -revision=0001 --initrd kernel_image
 6. A new kernel.version-0001_i386.deb will be placed in the /usr/src/linux
 directory (or one up from where the sources are held)
 7. Install the new kernel using # dpkg -i kernel.~.deb

 !--\*#--#*\--!

 -Original Message-
 From: Michael Olds [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, October 13, 2002 6:53 AM
 To: Russell; [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: Kernel Panic was: System is too Big; son of make menuconfig

 Thanks Russell and Torsten,
 Last night I did a re-install...not a huge loss in that this is still in
the
 learning/setup phase...and all of this was in the service of setting up
some
 kind of backup routine.

 Suggestion for the KDE folk, by the way: 1. Give us a way to use just the
 desktop without installing all the related programs...kate, konquoror,
 kword, konsole...in fact the whole Linux setup should be different as far
as
 these desktop things are concerned...we should be being given a choice of
 desktop setups, then for the one we choose, a second set of choices as to
 what to include. I don't mean that the options are there, scattered around
 throughout the available packages, but that we should start with a dialog
 about what

RE: Kernel Panic~: Rebuild Kernel: miniHOWTO draft .002

2002-10-13 Thread Michael Olds

Still a draft: Note: need sources for the Linux Documentation listed.
Clarification needed: one source (sourceforge) does not mention a
/usr/src/linux directory in it's method, the other source (linuxorbit)
suggests using a /usr/src/linux directory and creating a symbolic link from
/usr/src/kernel-source... to /usr/src/linux is this important, which is
correct, are these two separate techniques, can one blend the techniques as
I suggest here?

!--\*#-REBUILD KERNEL#*\--!

References:
read (NOTE: we need a source for these as they are not created on a new
install or by unpacking the kernel-source...and should they be in
/usr/src/linux/ anyway):
  /usr/src/linux/Documentation/initrd.txt
  /usr/src/linux/Documentation/modules.txt
  /usr/src/linux/README
  /usr/src/linux/README.Debian

http://qref.sourceforge.net/Debian/reference/ch-kernel.en.html
   This is good for using the make menuconfig method

http://infocom.cqu.edu.au/Units/aut99/85321/Resources/Print_Resources/Textbo
ok/chap13/

http://www.google.com/search?q=%22kernel+headers%22+linus+quotehl=enlr=ie
=UTF-8start=10sa=N

http://www.linuxfromscratch.org/faq/#AEN334
http://www.uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html

http://www.linuxorbit.com/modules.php?op=modloadname=Sectionsfile=indexre
q=viewarticleartid=532
   This is good for using the make xconfig method

Keep in mind that debian does things a bit differently than other
distros. What is that difference? In essence, in stead of reconfiguring the
kernel and replacing it directly, the reconfigured kernel is made into a
package (.deb) primarily so that the rebuild will remain integrated into the
debian package system so that future updates of the kernel can be made using
dpkg. (I have stated this in these boldly confident terms not being sure
that this is the essence at all...hoping for confirmation or education...mo)

---Step-by-Step---

[ ]A. Before 1: Download and create a recovery floppy from:
http://www.toms.net/rb/

[ ]1.a. Download the latest kernel source package (use a Debian source) to
/usr/src (this is where it will be installed if you use dselect, a package
manager, synaptic or aptitude)
[ ]1.b. if no /usr/src/linux dir exists, make it
  $ cd /usr/src
  $ mkdir linux
[ ]1.c. change directory to /usr/src and unpack the source package -- use
the unpacking tools with your file manager, or:
  $ su #enter root password
  # cd /usr/src
  # tar --bzip2 -xvf kernel-source-2.4.18.tar.bz2 (or latest)
[ ]1.d create a symbolic link to /usr/src/linux
  # ln -s /usr/src/kernel-source-2.4.18 /usr/src/linux

[ ]2. Just to be professional: go to /etc/kernel.pkg.conf and modify the
file by inserting your Kernel Source Maintainer Name and e-mail address.

[ ]3. Make sure
   [ ]expectk if you want to use the user friendly: make xconfig
   [ ]debhelper
   [ ]modutils
   [ ]libncurses5-dev
   [ ]bin86
   [ ]libc6-dev
   [ ]debianutils
   [ ]make
   [ ]bzip2 and
   [ ]kernel-package are installed.

[ ]4. Remove PCMCIA support if not needed

$ cd /usr/src/kernel-source-2.4.18 # if this is your kernel source
 $ rm -rf */pcmcia
 # [OPTIONAL] if one wants to use modules from pcmcia-cs or no
pcmcia (see NOTES below)

[ ]5. (on 2nd and subsequent rebuilds) Copy old configuration file to
/usr/src/kernel-source-2.4.18
  $ cd /usr/src/kernel-source-2.4.18
  $ cp /boot/config-2.4.18-386 .config # get current config as
default

[ ]6. # cd to /usr/src/linux

  $ make menuconfig or make xconfig

and make your selections

   To do this you need to have some familiarity with your hardware and what
you are intending to use the system for. This you need to work out yourself.
Once this is figured out, it might be helpful, on the first rebuild, to make
your updates with reference to the original configuration, (called
config-2.4.18bf24 (or your kernel version)) which you should find under
/root using the M (module) option where a module was used and building the
feature into the kernel (*) or [y] option where it was built into the
kernel. Use the HELP option for brief explanations. This at least until you
understand which can be safely changed under your setup.

[ ]5.a.  [ ]# make-kpkg clean
 [ ]# make-kpkg -revision=!--insert your own personal rebuild
version number here: i.e.: -revision=0001) --initrd kernel_image (see NOTES
below: do not use if you do not use).

[ ]6. A new kernel.version-0001_i386.deb will be placed in the /usr/src
directory

[ ]7. Install the new kernel using # dpkg -i kernel.~.deb
kernel-image-2.4.18_mydomain.0001_i386.deb

[ ]8. Reboot

---Notes---

NOTES: make-kpkg kernel_image actually does make oldconfig and make dep. Do
not use --initrd if initrd is not used. The current Debian initrd boot
script requires a cramfs kernel patch, if you obtain kernel source from
non-Debian archives; see http://bugs.debian.org/149236.

One can avoid rm -rf */pcmcia by selecting General setup -- to
PCMCIA/CardBus support 

RE: Kernel Panic~: Rebuild Kernel: miniHOWTO draft .001

2002-10-13 Thread Michael Olds

Russel...noted and I will do a revision shortly...however I got as far as
making the package with the --initrd option and managed to control my
fingers long enough to read the caution about editing lilo at the end...so I
have not installed my package. I am using ext3, and I am not sure if it was
you, but someone this morning said I needed to go initrd. But I see my
current setup using the bf24 kernel does not use initrd (or, at least it is
not mentioned in lilo.conf and I can't find the image in /boot)(but the new
kernel is not bf24 it is 2.4.18) But I do remember using it in the setup
before the most recent install (very confused at this point). I am reading
round that on a one-box system it shouldn't be needed...I do have SCSI
support enabled (for scsi emulation) as a module. So the question is: do I
need it, and if so, how do I go about getting it in there?

Best Wishes!
Mike Olds www.buddhadust.org



-Original Message-
From: Russell [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 13, 2002 4:38 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Kernel Panic~: Rebuild Kernel: miniHOWTO draft .001


Michael Olds wrote:

 Russell, et al

 Still a draft! Please note questions and also corrected typo in 2 libc6

 !--\*#-REBUILD KERNEL#*\--!

 References:
 read (/usr/src/linux/ and this documentation may not be present if you
have
 not previously rebuilt your kernel; they come in the kernel source package
 you will need to begin):
   /usr/src/linux/Documentation/initrd.txt
   /usr/src/linux/Documentation/modules.txt
   /usr/src/linux/README
   /usr/src/linux/README.Debian

 http://qref.sourceforge.net/Debian/reference/ch-kernel.en.html


http://infocom.cqu.edu.au/Units/aut99/85321/Resources/Print_Resources/Textbo
 ok/chap13/


http://www.google.com/search?q=%22kernel+headers%22+linus+quotehl=enlr=ie
 =UTF-8start=10sa=N

 http://www.linuxfromscratch.org/faq/#AEN334
 http://www.uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html

 Bear in mind that debian does things a bit differently than other
 distros. What is that difference? In essence, in stead of reconfiguring
the
 kernel and replacing it directly, the reconfigured kernel is made into a
 package (.deb) primarily so that the rebuild will remain integrated into
the
 debian package system so that future updates of the kernel can be made
using
 dpkg. (I have stated this in these boldly confident terms not being sure
 that this is the essence at all...hoping for confirmation or
education...mo)

The way that kernel headers are handled on a debian system may be different
to other distros, so clarification would be worthwhile just to avoid
confusion.

 ---Step-by-Step---

 [ ]1. Download the latest kernel to /usr/src/linux/kernel/ (if no
 /usr/src/linux/kernel dir exists, make it.

In the links above, Linus says it's bad to do builds in /usr/src,
whereas i think the debian manual says to do it that way. An
explanation for this would avoid confusion.

 Question: the kernel source
 package downloaded directly to /usr/src for me...is it safe to move the
 source tar.bz2 to /usr/src/linux (for order under src)? before unpacking
it)
 and unpack it.

I've been unpacking the source into /usr/src/kernel-source-2.4.18 and
symlinking /usr/src/linux to /usr/src/kernel-source-2.4.18. That way,
you can have multiple source trees in /usr/src and just change the
/usr/src/linux symlink to the new tree.

 [ ]2. Make sure
[ ]bin86
[ ]libc6-dev
[ ]debianutils
[ ]make
[ ]bzip2 and
[ ]kernel-package are installed.

IIRC, don't use gcc 3.x, but something like gcc 2.95.

 [ ]3. (on 2nd and subsequent rebuilds) Copy configuration file to
 /usr/src/linux/kernel_version_source_directory/

Don't think that's needed.

 [ ]4. # cd to /usr/src/linux/kernel_version_source_directory
# make menuconfig
 and make your selections

If you're using --initrd, make sure Compressed ROM file system
support is built in, or you'll get a kernel panic (need CramFS).

 [ ]5. # make-kpkg clean
# make-kpkg -revision=!--insert your own personal rebuild version
number
 here: i.e.: -revision=0001) --initrd kernel_image

If you don't want --initrd, leave out that option, and make sure
/etc/lilo.conf doesn't have it either for that build.

 [ ]6. A new kernel.version-0001_i386.deb will be placed in the
 /usr/src/linux directory (or one up from where the sources are held)
 [ ]7. Install the new kernel using # dpkg -i kernel.~.deb


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




RE: Kernel Panic~: Rebuild Kernel: miniHOWTO draft .003

2002-10-13 Thread Michael Olds

Russell, et al,

Third draft. A couple of questions asked below still remain:



!--\*#-REBUILD KERNEL#*\--!

References:
read (NOTE: we need a source for these as they are not created on a new
install or by unpacking the kernel-source...and should they be in
/usr/src/linux/ anyway):
  /usr/src/linux/Documentation/initrd.txt
  /usr/src/linux/Documentation/modules.txt
  /usr/src/linux/README
  /usr/src/linux/README.Debian

http://qref.sourceforge.net/Debian/reference/ch-kernel.en.html
   This is good for using the make menuconfig method

http://infocom.cqu.edu.au/Units/aut99/85321/Resources/Print_Resources/Textbo
ok/chap13/

http://www.google.com/search?q=%22kernel+headers%22+linus+quotehl=enlr=ie
=UTF-8start=10sa=N

http://www.linuxfromscratch.org/faq/#AEN334
http://www.uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html

http://www.linuxorbit.com/modules.php?op=modloadname=Sectionsfile=indexre
q=viewarticleartid=532
   This is good for using the make xconfig method

Bear in mind that debian does things a bit differently than other
distros. What is that difference? In essence, in stead of reconfiguring the
kernel and replacing it directly, the reconfigured kernel is made into a
package (.deb) primarily so that the rebuild will remain integrated into the
debian package system so that future updates of the kernel can be made using
dpkg. (I have stated this in these boldly confident terms not being sure
that this is the essence at all...hoping for confirmation or education...mo)

R: The way that kernel headers are handled on a debian system may be
different to other distros, so clarification would be worthwhile just to
avoid confusion.

Someone beside me needs to write this section. I am putting this together as
I am learning it as it seems the only way I have motivation enough to help
with some of the documentation gaps in Debian, but this is not to be
understood as a claim to any kind of expertise! haha.


---Step-by-Step---

[ ]A. Before 1: Download and create a recovery floppy from:
http://www.toms.net/rb/

[ ]1.a. Download the latest kernel source package (use a Debian source) to
/usr/src (this is where it will be installed if you use dselect, a package
manager, synaptic or aptitude). Best practices seem to indicate that the
package be built outside of /usr/src so creating a sym-link from /linux to
/usr/src/kernel~ as in step 1.d below seems to be the way to handle this.
This way, you can have multiple source trees in /usr/src and just change the
/usr/src/linux symlink to the new tree.)
[ ]1.b. if no /usr/src/linux dir exists, make it
  $ cd /usr/src
  $ mkdir linux
[ ]1.c. change directory to /usr/src and unpack the source package -- use
the unpacking tools with your file manager, or:
  $ su #enter root password
  # cd /usr/src
  # tar --bzip2 -xvf kernel-source-2.4.18.tar.bz2 (or latest)
[ ]1.d create a symbolic link to /usr/src/linux
  # ln -s /usr/src/kernel-source-2.4.18 /usr/src/linux

[ ]2. Just to be professional: go to /etc/kernel.pkg.conf and modify the
file by inserting your Kernel Source Maintainer Name and e-mail address.

[ ]3. Make sure
   [ ]expectk if you want to use the user friendly: make xconfig
   [ ]debhelper
   [ ]modutils
   [ ]libncurses5-dev
   [ ]bin86
   [ ]libc6-dev
   [ ]debianutils
   [ ]make
   [ ]bzip2 and
   [ ]kernel-package are installed.

   R Notes: don't use gcc 3.x, but something like gcc 2.95.
 Which I do not understand. Clarification?
==
REMOVING THIS STEP: This step breaks make xconfig for people who want to go
that way. The Sourceforge method states: One can avoid rm -rf */pcmcia by
selecting General setup -- to PCMCIA/CardBus support -- in make
menuconfig and setting the configuration to   PCMCIA/CardBus support
(i.e., uncheck the box). Which I will keep in the NOTES section

[ ]4. Remove PCMCIA support if not needed

$ cd /usr/src/kernel-source-2.4.18 # if this is your kernel source
 $ rm -rf */pcmcia
 # [OPTIONAL] if one wants to use modules from pcmcia-cs or no
pcmcia (see NOTES below)



[ ]5. (on 2nd and subsequent rebuilds) Copy old configuration file to
/usr/src/kernel-source-2.4.18
  $ cd /usr/src/kernel-source-2.4.18
  $ cp /boot/config-2.4.18-386 .config # get current config as
default

R: notes (and the Sorceforge docs confirm) that this is not necessary as the
script will pick up the oldconfig)...eliminating this step.
==

[ ]6. # cd to /usr/src/linux

  $ make menuconfig or make xconfig

and make your selections

   To do this you need to have some familiarity with your hardware and what
you are intending to use the system for. This you need to work out yourself.
Once this is figured out, it might be helpful, on the first rebuild, to make
your updates with 

RE: Kernel Panic~: Rebuild Kernel: miniHOWTO draft .001

2002-10-13 Thread Michael Olds

Russell,

Ok...I am going to remake my package...without initrd as I thought it not
such a good idea to have my main file system as a module and so included it
in the kernel.

You say: Backup your HDD. Easy for you to say: I come from Windows where I
press two buttons on Drive Image to backup my whole system. Here I have been
working for a month just to try and set up so I can use partimage!

Best Wishes!
Mike Olds www.buddhadust.org



-Original Message-
From: Russell [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 13, 2002 6:12 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Kernel Panic~: Rebuild Kernel: miniHOWTO draft .001


Michael Olds wrote:

 Russel...noted and I will do a revision shortly...however I got as far as
 making the package with the --initrd option and managed to control my
 fingers long enough to read the caution about editing lilo at the end...so
I
 have not installed my package. I am using ext3, and I am not sure if it
was
 you, but someone this morning said I needed to go initrd. But I see my
 current setup using the bf24 kernel does not use initrd (or, at least it
is
 not mentioned in lilo.conf and I can't find the image in /boot)(but the
new
 kernel is not bf24 it is 2.4.18) But I do remember using it in the setup
 before the most recent install (very confused at this point). I am reading
 round that on a one-box system it shouldn't be needed...I do have SCSI
 support enabled (for scsi emulation) as a module. So the question is: do I
 need it, and if so, how do I go about getting it in there?

read: http://qref.sourceforge.net/Debian/reference/ch-kernel.en.html
it says: mv /usr/src/linux/arch/i386/boot/bzImage to /boot/whatever name
I have /usr/src/linux as a symlink to /usr/src/kernel-source-2.4.18

I'm using ext3, and you don't need initrd. IIRC, you only need initrd
if your filesystem is a module and not compiled into the kernel, so
at least CramFS needs to be built in if nothing else is. Backup your
HDD. If you get a kernel panic because of lilo, you can usually still
boot in using the downloaded debian rescue disk.


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




RE:backup script was Kernel Panic~

2002-10-13 Thread Michael Olds

Russell, Thanks, I've been trying to get a grasp of this, I'm sure this will
help!

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Russell [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 13, 2002 6:55 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Kernel Panic~: Rebuild Kernel: miniHOWTO draft .001


Michael Olds wrote:

 Russell,

 Ok...I am going to remake my package...without initrd as I thought it not
 such a good idea to have my main file system as a module and so included
it
 in the kernel.

 You say: Backup your HDD. Easy for you to say: I come from Windows where I
 press two buttons on Drive Image to backup my whole system. Here I have
been
 working for a month just to try and set up so I can use partimage!

I learnt some bash scripting and made this to backup onto a removeable
hard-disk (had some help from a previous poster on this group). Don't
use it until you understand how it works and what it assumes. I use
it from /root, and just type ./backup

#!/bin/sh

# Copy everything (almost) from the system to a backup removeable hard-disk
# Assumptions:
#  The spare hard-disk has enough capacity
#  The spare disk is suitably partitioned and set up.
#
# The spare disk won't be bootable unless lilo is run separately,
#  which i haven't got around to doing yet

# The backup /boot partition:
HDD_BOOT=hdc1

# The backup root / partition:
HDD_MAIN=hdc3

# Mount /boot partition
if [ ! -d /mnt/bootpart ]
then
  mkdir /mnt/bootpart
fi

if ! grep -qs /dev/$HDD_BOOT /proc/mounts
then
  if ! mount -t ext2 /dev/$HDD_BOOT /mnt/bootpart
  then
echo Removeable /dev/$HDD_BOOT not working
exit 1
  fi
fi

# Mount main partition
if [ ! -d /mnt/mainpart ]
then
  mkdir /mnt/mainpart
fi

if ! grep -qs /dev/$HDD_MAIN /proc/mounts
then
  if ! mount -t ext2 /dev/$HDD_MAIN /mnt/mainpart
  then
echo Removeable $HDD_MAIN not working
exit 1
  fi
fi

# Copy everything on main partition
# Strip some top level directories we don't want to copy
FILES=$( chroot / ls )

for i in $FILES
do
  if [ -d /$i ]
  then
echo Updating /$i
  else
echo Updating $i
  fi

  case $i in
  boot)
if ! rsync -a --delete /boot /mnt/bootpart
then
  echo Failed to update /boot
  exit 1
fi;;
  cdrom)
echo /$i | cpio -pdm /mnt/mainpart
continue;;
  proc)
echo /$i | cpio -pdm /mnt/mainpart
continue;;
  floppy)
echo /$i | cpio -pdm /mnt/mainpart
continue;;
  mnt)
echo /$i | cpio -pdm /mnt/mainpart
continue;;
  esac

  if ! rsync -a --delete /$i /mnt/mainpart
  then
echo Failed to update /$i
exit 1
  fi
done

echo System backup successful
exit 0


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




Mount or disable devfs, was: inode missing

2002-10-10 Thread Michael Olds

Mount or disable devfs?

Device File System

For a good discussion of devfs see:
http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html#what-is-it

In attempting to set up and run Partition Image, I got the message:
Inode Missing /dev/ide/host0/bus0/target0/lun0/disc with an offer to
create it. I contacted the PI board and asked: Can someone explain what
this is and what it means and whether or not it is safe to allow PI to
create the inodes? and was told:

In your case not (safe).

ext2/3 inode is almost like clusters in FAT file system.

I think you enabled devfs support in kernel but you haven't mounted
devfs partition into /dev. Partimage can't work in such situation.
You'll have to remove devfs support from kernel or mount devfs in /dev.

Cat your /proc/partitions file. If you read
/dev/ide/host0/bus0/target0/lun0/partXXX you enabled devfs support.

I have apparently enabled devfs support as I have a fair number of these
listed, apparently one for each partition and extended partition.

Now if you ls /dev and you only see hdaXX without ide subdirectory, you
haven't mounted devfs in /dev.

And I have no subdirectory /dev/ide

So the questions to the Debian folk are:

[As far as I can tell, this devfs thing is primarily of use to those with
external devices such as scanners and so forth. I have only one external
device connected to this computer: a printer.]

What are the advantages/disadvantages in my situation?

1. Should I mount devfs?
2. If so: how do I go about mounting it? I have read some of the
discussions, but they are generally on a higher level than my own. Is it the
same as mounting any other device? Do I need to mount each (one for each
partition) individually, or will mount /devfs mount what is need? If this is
an advisable setup, can it be set up to happen automatically on boot?
3. If not: how do I go about removing devfs support? Is this going to
require a Kernel Rebuild?
4. How did I get into this mess in the first place? i.e. What did I say yes
to that I didn't need?

A lot of questions; I am still reading, but I could use any thoughts anyone
here has on the matter.

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: how to install just one package from some other distro (likewoody)?

2002-10-09 Thread Michael Olds

This is great, except that someone asking this question is obviously a very
beginner, and will download the package and then, using a terminal, type in
dpkg -i package.deb or even, maybe dpkg -i
name_of_downloaded_package_etc.deb which will not help them.

1. Download the package
2. In a terminal: type: cd /directory where downloaded/filename.deb
3. Then type: dpkg -i nameofpackage.deb

4. When it tells you there are errors and it cannot be installed because of
dependancies which are not met: go back to the download source and research
the various other packages that are needed in order to make this package
work. Try Sourceforge for a good resource in this connection.
5. Download all the packages on which your desired package is dependant...to
the same directory as your package.
6. In a terminal: type: cd /directory where downloaded, etc
7. dpkg -i name_of_first.deb name_of_second.deb etc.deb
8. cross fingers

-Original Message-
From: Cristi Banciu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 4:53 AM
To: [EMAIL PROTECTED]
Cc: Debian User List
Subject: Re: how to install just one package from some other distro
(likewoody)?


On Wed, 2002-10-09 at 14:08, J.S.Sahambi wrote:
 Hi
   I wanted to install avidemux but my apt-cache search avidemux did
 not give me anything. My sourses.lst file is:

 deb http://202.141.80.72/debian testing main non-free contrib
 deb http://202.141.80.72/debian-non-US testing/non-US main non-free
contrib
download package
dpkg -i package.deb


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




Uninstalling Exim uninstalls Apache

2002-10-07 Thread Michael Olds

Hello,

Before I break down and ask for help again setting up email which I have
thoroughly messed up once more...can someone explain to me why when I
uninstall exim apache also gets uninstalled? I am using Synaptic as my front
end for the package manager, and it is not too clear about what it intends
to install or delete before it gets done (still I find it easier to use than
dselect or aptitude).

Thanks,

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Uninstalling Exim uninstalls Apache

2002-10-07 Thread Michael Olds

Nevermind the direct answer to this, exim and apache share a couple of other
packages that removing exim tries to remove. The real question is, why am I
not being allowed to remove exim by itself? When I tell it to not remove the
two packages needed for apache, it won't remove exim. Why should it care if
exim is removed in broken condition?

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Michael Olds [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 3:17 PM
To: Debian-User@Lists. Debian. Org
Subject: Uninstalling Exim uninstalls Apache


Hello,

Before I break down and ask for help again setting up email which I have
thoroughly messed up once more...can someone explain to me why when I
uninstall exim apache also gets uninstalled? I am using Synaptic as my front
end for the package manager, and it is not too clear about what it intends
to install or delete before it gets done (still I find it easier to use than
dselect or aptitude).

Thanks,

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: NAV detected a virus in a document you authored

2002-10-05 Thread Michael Olds

Several hundred members? Is that all? I feel much better about the list now.
On the other hand only several hundred producing this much traffic?

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Jamin W.Collins [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 05, 2002 4:27 PM
To: [EMAIL PROTECTED]
Subject: Re: NAV detected a virus in a document you authored


You might want to consider not sending messages like this out, especially
for viruses like the one found.  The virus your application indicates it
has found is known to spoof the sending address.  So, you can be
relatively certain if you got it, it didn't come from the address
indicated as the sender.  Thus, your notification is actually causing more
harm than good.  In this particular case, your notification was sent to a
mailing list with several hundred subscribers.  For more information about
the virus listed below, see the following site:

http://www.commandsoftware.com/virus/klez.html

On Sat, 5 Oct 2002 19:06:17 -0400 [EMAIL PROTECTED] wrote:

 Please contact your system administrator


 The scanned document was QUARANTINED.


 Virus Information:
 The attachment rock.exe contained the virus W32.Klez.H@mm and could NOT
 be repaired.



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



--
Jamin W. Collins


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




RE: File Manager Suggestions?

2002-10-03 Thread Michael Olds

Something that works like Windows Explorer, with full details in the right
hand window (permissions/users/groups). Actually Gentoo looks very good, if
I can get the thing installed.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Steve Waterman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 7:12 AM
To: Debian-User@Lists. Debian. Org
Subject: Re: File Manager Suggestions?


You're looking for a Windows Explorer replacement, right?

The closest I have found is:

http://www.amuletexplorer.com/

From the author's FAQ:

What releases are available?


Currently there is only a binary release for Linux and it's an early Beta.



So it's not 'ready' yet, but it does look good.

Steve




On Wednesday 02 October 2002 15:52, Michael Olds wrote:
 Hello,

 I have tried Konquoror: I don't need, like a browser there and would
rather
 not waste the space, but I like the two-window setup with tree view on one
 side and full details on the other side.

 I have tried Krusader: it freezes a couple of times a day when I work too
 fast and requires logout and logbackin to start working again, it displays
 permissions in a confusing way, and it doesn't display full details in the
 second window well.

 MC is ok and I use it in terminal mode,  but I want a graphical version.

 Any suggestions?

 Best Wishes!
 Mike Olds www.buddhadust.org


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



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




RE: anything like NextStep? - Re: File Manager Suggestions?

2002-10-03 Thread Michael Olds

If you check out sourceforge under desktop file managers, I saw a few like
this while I was checking out different possibilities.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Matt Price [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 11:15 AM
To: Sean 'Shaleh' Perry
Cc: [EMAIL PROTECTED]
Subject: anything like NextStep? - Re: File Manager Suggestions?


hey there,

concerning file managers -- the one thing I really miss about Macos X is the
NextStep-style file manager -- hierarchies of windowws that expand
more or less indefiitely -- so not jus two frames, but four or five.
I really love that way of getting around, but I haven't seen anything
like it for Linux.  Has anyone else?

thanks loads,
m

On Thu, Oct 03, 2002 at 09:54:47AM -0700, Sean 'Shaleh' Perry wrote:
 On Thursday 03 October 2002 08:18, Michael Olds wrote:
  Something that works like Windows Explorer, with full details in the
right
  hand window (permissions/users/groups). Actually Gentoo looks very good,
if
  I can get the thing installed.
 


 gentoo is packaged, just apt-get it.


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



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




Gentoo File Manager on Woody

2002-10-03 Thread Michael Olds

Hello Gentoomen,

I managed to download and and install the Gentoo File Manager and it's
dependancies by way of:
dpkg -i .deb .deb .deb etc thanks to one and all for the help on this.

This first produced some errors but then went on to install and set up the
various packages, closing with the note that some errors were encountered.

Problem solved: There is a listing in the menu for Gentoo. Clicking on it
produces some strenuous effort on the part of this icon to conjure the
program which defeats the icon which then retreats in shame. No Gentoo File
Manager. placing --root-ok on the execute line brings up the program.

Problem: The Gentoo icon is UGLY!

Question: I cannot see anyplace in the CONFIGURE dialog where the font size
could be changed, it's too large.

Question: I do not see an option for or a way to set up so that a
double-click on a directory in the left hand pane brings up the directory
contents in the right hand pane: is this possible, and if so how, and if
not, this is a real defect.

Question: I do not see how I can set my own choice of editor. I don't
recognize what it is bringing up: I am talking about the default editor for
when you double click a file, not the button that brings up a program...and
I thought this would be managed by the system, not a file manager: i.e.
through file associations, where I have specified Nedit for most text file
types...but it is not using Nedit.

Finally, if these problems cannot be solved, Konquoror seems a better choice
for all round configurability on KDE Desktop at least, and in spite of
including the browser. So the question is, what dangers do I face just
uninstalling gentoo...considering the half dozen updated packages it
installed over older versions? Can they just be left...are they backwards
compatable...I have not noticed any problems on anything else.


Best Wishes!
Mike Olds www.buddhadust.org



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




RE: Email (was Setting up Exim was Setting up Sendmail)

2002-10-02 Thread Michael Olds

Good morning Carel,

Live on the East Coast?

I use my W2KPro box as my workstation (On which I am reasonably competant --
I code html using TextPad which has no equal on Linux; and I watch the
stockmarket using MetaStock charting), and I am reciving mail for this list
on the Windows box. The two are separate machines linked to a USRobotics
Router hooked to a static IP. The Windows box is linked to the Linux box
only by ftp/telnet, and that is the way I am going to keep it (no SAMBA); in
the end the Linux box will have a minimal work environment, but be primarily
a server. The two machines both use the same keyboard, mouse, and monitor
via KVM switch so back and forth is no big deal, but copying from the Linux
box to the Windows box is still a hassle.

Thank you again for your careful attention to this! I have followed your
instructions and the output would indicate that Exim was running ok. (??) My
output next to yours below:


1) On the linux box login as userme. X

2) To check if it's a normal mailbox or a directory or whatever, use:

  $ file /var/mail/userme  X

   On my machine this looks like:

  $ file /var/mail/userme
  /var/mail/carel: ISO-8859 mail text, with very long lines

On mine it was similar:
/var/mail/userme ISO-8859 mail text but nothing else

   so it's in standard mbox format.  If it were in maildir format, it
   would have been a directory and the output would likely look like:

  $ file /var/mail/userme
  /var/mail/carel: setgid directory

Not this.

3) To see whether new mail arives, use: X

 $ du /var/mail/userme
 $ echo just testing | mail -s test userme
 $ du /var/mail/userme

   On my machine this looks like:

 $ du /var/mail/carel
 132/var/mail/carel
 $ echo just testing | mail -s test carel
 $ du /var/mail/carel
 136/var/mail/carel

On mine it looks similar:

$ du /var/mail/userme
712 /var/mail/userme
$ du /var/mail/userme (no echo just testing | mail -s test 
userme)
712 /var/mail/userme

4) To look at the mail itself we need to know the format of the mail spool.
   in case it's in mbox format (see test 2), use:

 $ tail /var/mail/userme

   on my machie this looks like:

 $ tail /var/mail/cf
 id 17wiLZ-yt-00
 for [EMAIL PROTECTED]; Wed, 02 Oct 2002 14:11:21 +0200
 To: [EMAIL PROTECTED]
 Subject: test
 Message-Id: [EMAIL PROTECTED]
 From: Carel Fellinger [EMAIL PROTECTED]
 Date: Wed, 02 Oct 2002 14:11:21 +0200

 just testing

On mine it looks similar:

id 17wj07-64-00
for [EMAIL PROTECTED] date...
To:
Subject:
From:
Date

just testing




If the above 4 steps yield similar results, then exim is definitely
working as it should, and you can move on to fixing your email client
setup.


A few differences, I do not know if they are revealing of any problems.

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Email (was Setting up Exim was Setting up Sendmail)

2002-10-02 Thread Michael Olds

Carel,

Again thanks. I followed your instructions and all tests indicate Exim is up
and running just fine.

To finish this part of let's double check on ownership and protections. It
should be like this:

owner: userme
group: mail
protection: -rw-rw
   user:  read, write
   group: read, write
   others:

Checked. All are as above.

If you want to be dead sure, you could rerun step 3, but instead of
du /var/mail/userme now switch to du -b /var/mail/userme.  And for
added fun instead of just testing use some other odd string, like
last call for alcohol so as to make it simpler to see with step 4
that it's really the newly sent message that's in your mail spool?

Repeated steps 3 and 4 and got the message.

So presuming the above few extra checks are okee, lets move on to step
6, and try to use a simple email client to look at your emails.

6) To look at the mail use (still loged in as userme):

   $ mail

   to quit this program press the q-key followed by the enter-key.

   On my machine this gives a screen full of output looking like:

  Mail version 8.1.2 01/15/2001.  Type ? for help.
  /var/mail/carel: 26 messages 26 new
  N  1 [EMAIL PROTECTED] Tue Oct 01 22:02  120/8086  animus 2002...
   N  2 [EMAIL PROTECTED] Tue Oct 01 23:02   56/3295  animus 2002...
 
   N 19 [EMAIL PROTECTED] Wed Oct 02 13:02   27/1225  animus 2002...
   N 20 [EMAIL PROTECTED] Wed Oct 02 13:11  205/12000 Anacron job...
   q
  Held 26 messages in /var/mail/carel

Got a great long list of emails (how can I be being spammed already! I
barely have the thing open an hour a day.)


If this works, then the next thing to do is to choose an email client and
we will help configuring it.

Ok. Right now I have K-mail, but clearly something is wrong in spite of the
fact that I have messed with the configurations many times, reinstalled,
etc. I welcome any recommended e-mail client. I am used to, and happy with
Outlook on W2K...which I why I liked the look and feel of Kmail.

Best Wishes!
Mike Olds www.buddhadust.org



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




RE: Email (Solved)...next...POP3 setup

2002-10-02 Thread Michael Olds

Carel,

OK, I got it.

It was the permissions on the K-mail client program itself. It was root root
for userme and root is set to receive no mail.

...now...on to POP3 configuration...I am using qpopper. I see the
qpopper.conf in /etc/ but the package installed with no configuration dialog
and the instructions say to configure using ./configure which I assume is
from the install directory, only there is no install directory...

...or...any better suggestions for a POP3 server?

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Email (Solved)...next...POP3 setup

2002-10-02 Thread Michael Olds

ok, I'll take your word for it, qpopper goes...exchanging q pop for I ma?

Best Wishes!
Mike Olds www.buddhadust.org 



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




File Manager Suggestions?

2002-10-02 Thread Michael Olds

Hello,

I have tried Konquoror: I don't need, like a browser there and would rather
not waste the space, but I like the two-window setup with tree view on one
side and full details on the other side.

I have tried Krusader: it freezes a couple of times a day when I work too
fast and requires logout and logbackin to start working again, it displays
permissions in a confusing way, and it doesn't display full details in the
second window well.

MC is ok and I use it in terminal mode,  but I want a graphical version.

Any suggestions?

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Email (Solved)...next...POP3 setup

2002-10-02 Thread Michael Olds

Thanks Bob, I'll look into popa3d...I was going to go with an imap solution
but I had second thoughts about having people's files on my server...I am
only going to have a half dozen users and none of them need me for roaming
access, so I think POP will do for me...

...now maybe you can get me out of another kettle of soup I got myself into:
In trying to get a decent file manager, I listened to the advice of someone
who recommended gentoo. It looks great, but it isn't in the stable Woody. So
I downloaded and started to install it using dpkg --install  .deb, but
immediately ran into dependancy problems. Then progressing further, I
actually think I managed to download all the dependancies needed, but I'm
hung up in a catch 22: x depends on y so x will not be configured; y depends
on x so y will not be configured. Now I have a half dozen packages sitting
there unconfigured that won't configure and I cant sit or get off the can. I
feel I should just get rid of the lot, but half of them are upgrades of
current packages, and instead of removing the unconfigured new package,
dpkg --remove xxx tries to remove the original...total madness at this
point...what do I do just sit around with half loaded packages and wait for
Debian to catch up?

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Bob Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 5:17 PM
To: Debian-User@Lists. Debian. Org
Subject: Re: Email (Solved)...next...POP3 setup


On Wed, Oct 02, 2002 at 11:49:31AM -0700, Michael Olds wrote:
 Carel,

 OK, I got it.

 It was the permissions on the K-mail client program itself. It was root
root
 for userme and root is set to receive no mail.

 ...now...on to POP3 configuration...I am using qpopper. I see the
 qpopper.conf in /etc/ but the package installed with no configuration
dialog
 and the instructions say to configure using ./configure which I assume is
 from the install directory, only there is no install directory...

Those instructions are from the original .tar.gz source.  ./configure
is used to create the Makefile prior to compiling the program.  The
source documentation is usually (?) installed as part of a Debian
package, but since it is already compiled, you do not need to do this.

There is probably something else in the documentation which describes
what configuration you need to do, if any.  Check the file listing
dpkg -L qpopper and see what was installed.  Check any man pages
shown.


 ...or...any better suggestions for a POP3 server?

I have used both qpopper and cucipop, but am currently running popa3d,
which doesn't require any configuration and is both simple and secure.

Bob


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




RE: Email (Solved)...next...POP3 setup

2002-10-02 Thread Michael Olds

John,

No. I did them one at a time. I tried using -recursive, but that didn't get
off the ground. I didn't know about listing them. What would you suggest
concerning this situation, where half of an interdependant group are already
half installed? Can you go back and tell it to install the bunch?

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: John Hasler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 8:01 PM
To: Debian. Org
Subject: Re: Email (Solved)...next...POP3 setup


Michael Olds wrote:
 Then progressing further, I actually think I managed to download all the
 dependancies needed, but I'm hung up in a catch 22: x depends on y so x
 will not be configured; y depends on x so y will not be configured. Now I
 have a half dozen packages sitting there unconfigured that won't
 configure and I cant sit or get off the can.

Did you try 'dpkg --install u.deb v.deb w.deb x.deb y.deb z.deb' ?
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin


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




Email (was Setting up Exim was Setting up Sendmail)

2002-10-01 Thread Michael Olds

Hello,

Exim on Woody

Trying again here, I posted on Friday afternoon and by Saturday I knew there
wasn't a hope of my request for help being seen.

At this point I have again run out of possible solutions:

I have Exim set up. I believe it is set up properly as I used the defaults
mostly. I can send mail from my Linux box, but I cannot receive mail, either
internally or from the outside. The log indicates that mail is being
received and is being delivered no errors. I am using the Kmail e-mail
client, which I have uninstalled and re-installed a couple of times just to
check. If there is a better client I am listening. I am sure this is
something silly, like permissions, but I do not know where to look next for
the solution. As far as I can tell the relevant directories and files are
user me and group mail, not sure if it is correct or safe, but also with
read, write, and execute for both.

Anyone have an idea as to what I should dig into next to get this up?

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Email (was Setting up Exim was Setting up Sendmail)

2002-10-01 Thread Michael Olds

Carel,

No problem replying off list, and thank you for replying, period, I have two
machines one Windows 2000 Pro and one Linux. I will answer your questions,
below your questions below:
X==
[ sorry for sending this offlist too, but as you have email problems I'm not
  sure list trafic will reach you.  If it does, pray tell and I wil adjust ]

 I have Exim set up. I believe it is set up properly as I used the defaults
 mostly. I can send mail from my Linux box, but I cannot receive mail,
either
 internally or from the outside. The log indicates that mail is being

so it isn't set up properly:)  For starters, we need some more info.
You say you've used the defaults during exim install/setup.  Did you
choose the Internet site or Satellite or...

So Internet or what was the #1 choice.
X==
The next question is, how much do you need/want your machine to do:)
I normally prefer to have an ISP take care of all delivery and receiving
problems, but others really want to run their own full blown mail server.

In general what I am aiming to do is to get to the point where I have a self
sufficient setup running off my DSL line. I have a very low traffic site
plus one test site and one personal site, and will have only a few e-mail
addresses to service. My DNS service is being handled by VeriSign, and I am
only working with the test site and the personal site, BuddhaDust is being
handled by a hosting service. When I get the rest set up and running I will
take DNS on as well...right now I can use one less problem.
X==
 received and is being delivered no errors. I am using the Kmail e-mail
 client, which I have uninstalled and re-installed a couple of times just
to
 check. If there is a better client I am listening. I am sure this is

The email client just hands it over to a email server, and depending
on your configuration of your email client that could well be your
IPS's mail server.  To shortcircuit such debugging fun, you could try
to use mail (install mailutils or mailx if you're missing this one)
like this:

   # to check the mail gets delivered open a log window and enter your
passwd
   $ xterm -e su - root tail -f /var/log/exim/*log 

   # send a mail from and to your normal non root login
   $ echo just testing | mail -s test $USER

   # look at the log window, this should look like:

== /var/log/exim/paniclog ==

== /var/log/exim/rejectlog ==

== /var/log/exim/mainlog ==
2002-10-02 02:20:10 17wXFK-0005dU-00 = [EMAIL PROTECTED] U=carel P=local
S=319
2002-10-02 02:20:11 17wXFK-0005dU-00 = [EMAIL PROTECTED]
[EMAIL PROTECTED] R=smarthost T=remote_smtp H=schaduw.felnet
[192.168.1.1]
2002-10-02 02:20:11 17wXFK-0005dU-00 Completed

Little confusion here, but it comes down to the fact that the log reads as
does your last entry here.

I am talking about when I send mail from the Windows machine to the Linux
box, the linux box is recording such entries in /var/log/exim/mainlog and
similar entries for mail being sent from root to userme. I am just not able
to get them to show up in my email client. Again, I can send from Linux to
the Windows box no problem.

X==

 something silly, like permissions, but I do not know where to look next
for
 the solution. As far as I can tell the relevant directories and files are
 user me and group mail, not sure if it is correct or safe, but also with
 read, write, and execute for both.

I'm not sure what files you're talking here, but I sure hope your not
refering to e.g. files in /etc?

in /etc/exim
I have permissions for /etc/exim/ user root rwe; group mail re (is it Debian
or Krusader that gives permissions in terms of show entries write
entries enter why not use the numbers, or the usual rwx?)
for /etc/exim/exim.conf user root rw; group root r
for /home/userme/mail user me rwe group mail rwe
for /var/mail/userme user root rwe group mail rwe set Gid others re sticky
(?)

Again, thanks,
Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Email (was Setting up Exim was Setting up Sendmail)

2002-10-01 Thread Michael Olds

Stephen,
Thank you for this reply. Answers to your questions below your questions:

-Original Message-
From: Stephen Gran [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 6:16 PM
To: Debian-User@Lists. Debian. Org
Subject: Re: Email (was Setting up Exim was Setting up Sendmail)


This one time, at band camp, Michael Olds said:
 Hello,

 Exim on Woody

 Trying again here, I posted on Friday afternoon and by Saturday I knew
there
 wasn't a hope of my request for help being seen.

 At this point I have again run out of possible solutions:

 I have Exim set up. I believe it is set up properly as I used the defaults
 mostly. I can send mail from my Linux box, but I cannot receive mail,
either
 internally or from the outside. The log indicates that mail is being
 received and is being delivered no errors. I am using the Kmail e-mail
 client, which I have uninstalled and re-installed a couple of times just
to
 check. If there is a better client I am listening. I am sure this is
 something silly, like permissions, but I do not know where to look next
for
 the solution. As far as I can tell the relevant directories and files are
 user me and group mail, not sure if it is correct or safe, but also with
 read, write, and execute for both.

 Anyone have an idea as to what I should dig into next to get this up?


OK, if you have a default Debian install, exim installs mail into
/var/mail/$USER, and /var/spool/mail is a symlink to /var/mail.

ls -l /var/mail/$USER will tell you if there's any mail there (if it
has a nonzero size, you do.)  If there's mail there, then the problem
is the setup of your mail clients in reading it.  All of the mail
clients (AFAIK, correct me if I'm wrong) can be made to read from the
mail spool.


ls -1 /var/mail/$USER gives me
/var/mail/userme and that is all.
the file itself if 700kb which isn't zero.


===

If you can send mail, exim is probably working - it's job is SMTP only.
exim (or postfix/sendmail, etc) do not _retrieve_ mail.  You will
only get mail sent to you by local jobs (cron, etc) or other users on
your box, unless this box is also the MX in the DNS for your domain.  I
don't have any details of your setup, but if this is a standard
workstation install, without a domain name attached to it, this doesn't
seem likely.  Again, correct me if I'm wrong, and fill in other details
as you think necessary.

I can send mail out. Are you saying exim does not process the mail that is
received? ( don't mean retrieve it as with an email client, but put it in
/var/mail/$USER ?

In any case yes this box is the MX in the DNS for this domain, and one
other...fully qualified, registered and, again, apparently working because I
just sent me an email from the Windows box and the /var/log/exim/mainlog
recorded it completed

===
The thread got drowned in the weekend traffic. I was having this same
problem with Sendmail. When I uninstalled sendmail, it boinked Apache (don't
ask me how), re-installing Apache installed Exim, so I thought I would give
it a try...about brings you up to date.


I missed where this thread started, but you make reference to sendmail.
I don't know sendmail that well (does anybody? (^8 ), but I do get the
gist at least of exim, and I'll help with what I can.


===

Steve
--
To see a need and wait to be asked, is to already refuse.

These two are hard to find in the world: one who offers and one who is
grateful. -SGS


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




RE: Email (was Setting up Exim was Setting up Sendmail)

2002-10-01 Thread Michael Olds

Stephen,

These are the settings I have in Kmail (I have tried multiple variations)

name: userme
location: /var/mail/userme
checked: Procmail locfile /var/mail/userme.lock

I also tried:
location: /home/userme/Mail and Mail/

nada

Best Wishes!
Mike Olds www.buddhadust.org 


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




RE: Email (was Setting up Exim was Setting up Sendmail)

2002-10-01 Thread Michael Olds

Hello, now Stephen and Carel,

I checked again and /var/mai/userme is user userme group mail

the settings for /etc/exim/exim.conf are:

Local_delivery
driver = appendfile
group = mail
mode = 0660
mode_fail_narrower = false
envelope_to_add = true
return_path_add = true
file = /var/spool/mail/${local_part}

By the way: I have a /var_mail partition; is using that as simple as
changing the file = ?

Best Wishes!
Mike Olds www.buddhadust.org
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]




RE: Email (was Setting up Exim was Setting up Sendmail)

2002-10-01 Thread Michael Olds

Shyamal,

Thank you for responding,

I am really not Up and Running yet, and since we are talking about the
likelyhood of my box being badly configured, I would rather not post the DNS
name yet (and I keep the thing off-line 99% of the time anyway), no offense
please! I am reasonably sure they are set up correctly as I was talked
through it by the tech support person at VeriSign.

In the many different things I have done I did do one Telnet to the server
from the Windows box which passed the test...in a couple of the previous
messages on this I did check the /var/log/exim/mainlog and it looked to me
like I was getting mail.



-Original Message-
From: Shyamal Prasad [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 7:46 PM
To: Debian-User@Lists. Debian. Org
Subject: Re: Email (was Setting up Exim was Setting up Sendmail)


Michael == Michael Olds [EMAIL PROTECTED] writes:

Michael Anyone have an idea as to what I should dig into next to
Michael get this up?

Hi Mike,

Could you share the DNS name used for the MX record with us (i.e the
world known email address served by this exim host)? If you'd prefer
not to just say so, but since it is your *email* address I figure it's
okay to tell it to the world ;-)

Can you telnet to your exim server on the smtp port and send a mail to
yourself? If you believe you are not receiving mail, look in your log
files (/var/log/exim/mainlog) when you send yourself mail - what do
you see?

One other thing: I noticed the word 'smarthost' in the log file
entries you posted on this. Does you use a smarthost or not?

I think you were looking at Stephen's sample bit of log: the only bit I have
posted for a recent mail is this (but no, I do not use a SmartHost):

 == /var/log/exim/mainlog ==
 2002-10-02 02:20:10 17wXFK-0005dU-00 = [EMAIL PROTECTED] U=carel P=local
 S=319
 2002-10-02 02:20:11 17wXFK-0005dU-00 = [EMAIL PROTECTED]
 [EMAIL PROTECTED] R=smarthost T=remote_smtp H=schaduw.felnet
 [192.168.1.1]
 2002-10-02 02:20:11 17wXFK-0005dU-00 Completed

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Email (was Setting up Exim was Setting up Sendmail)

2002-10-01 Thread Michael Olds

Carel,

ls -1 /var/mail/userme ~userme/mail
gives me a list of what is in /home/userme/Mail nothing like a number
indicating how many mails, etc.

Same same when i do ls -1 /var/mail/userme /home/userme/Mail
and ls -1 /var/mail/userme /var/mail/userme


I was mistaken about the permissions for /var/mail/userme they were user
userme group mail.


Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Setting up Sendmail

2002-09-29 Thread Michael Olds

Thanks for this Oliver, however I think the setup is too different to apply
to my situation: DSL always on, DNS servers running.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Oliver Fuchs [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 29, 2002 4:33 AM
To: [EMAIL PROTECTED]
Subject: Re: Setting up Sendmail


Sorry,

it has to mailq.

Oliver
--
... don't touch the bang-bang fruit


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




RE: Can not acces ide cdrom

2002-09-28 Thread Michael Olds

Hey Bob, a Re: Bob?

I just went through this recently, so I hope I remember this correctly: the
device you want to operate as a CDROM needs to point to the SCSI device.

In /dev/
make /dev/CDROM a symlink to scd0



-Original Message-
From: bob parker [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 7:32 AM
To: [EMAIL PROTECTED]
Subject: Can not acces ide cdrom


I am using Debian 3.0.0.
I installed it with a 2.2.20 kernel which did not have scsi support.
I later installed the 2.4.18 kernel and got support for my scsi cd burner
but
I have lost ability to read my ide cdrom.

Here is my fstab
# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump
pass
/dev/hda8   /   ext2errors=remount-ro   0   1
/dev/hda7   noneswapsw  0   0
proc/proc   procdefaults0   0
/dev/fd0/floppy autouser,noauto 0   0
/dev/cdrom  /cdrom  iso9660 ro,user,noauto  0   0

My cdrom mount points
debian:/home/bob# ls -l /cdrom*/
/cdrom/:
total 0
lrwxrwxrwx1 root root7 Sep 28 23:35 cdrom0 - /cdrom0
/cdrom0/:
total 0
/cdrom1/:
total 0

my /dev/cdroms
debian:/home/bob# ls -l /dev/cdrom*
lrwxrwxrwx1 root root   11 Sep 28 23:35 /dev/cdrom -
/dev/cdrom0
lrwxrwxrwx1 root root9 Sep 28 23:35 /dev/cdrom0 -
/dev/scd0
lrwxrwxrwx1 root root9 Sep 28 23:35 /dev/cdrom1 -
/dev/scd1

How do I regain access to my ide cdrom?
Thanks
bob


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




RE: Can not acces ide cdrom

2002-09-28 Thread Michael Olds

Bob,

Sorry, I think I misunderstood your situation. You have a CDROM and a CDRW.
Your CDRW is actually a real SCSI device? I was thinking it was scsi
emulation. If I understand this now, the ide CDROM should NOT be being
pointed to the scd0 or anything else but itself. (You may actually have
implimented scsi emulation for the CDROM, which could be another cause of
this problem.) If I have again misunderstood, and you are speaking about two
ide devices (one ide CDROM and one ide CDRW with scsi emulation) you need to
link the CDROM to the scd0...I would think directly not via the CDRW...and
also as just posted, check permissions. Next up you need a more experienced
advisor. If you are speaking about one ide CDRW with scsi emulation then it
needs to be linked to the scd and there should not be a second device in
/dev ... just /dev/CDROM pointing to scd0.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: bob parker [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 8:33 AM
To: Michael Olds
Cc: [EMAIL PROTECTED]
Subject: Re: Can not acces ide cdrom


On Sun, 29 Sep 2002 00:59, you wrote:
 Hey Bob, a Re: Bob?

 I just went through this recently, so I hope I remember this correctly:
the
 device you want to operate as a CDROM needs to point to the SCSI device.

 In /dev/
 make /dev/CDROM a symlink to scd0

It already is indirectly, ie /dev/cdrom symlinks to /dev/cdrom0 which
symlinks to /dev/scd0. Reading from the scsi device is ok. It is the
ide device that got lost.
What I'm not clear on is whether I need to have the /dev/cdrom1
linked to /dev/sc1 as it now is or /dev/hdb as it is ide.
Cheers
bob



 -Original Message-
 From: bob parker [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, September 28, 2002 7:32 AM
 To: [EMAIL PROTECTED]
 Subject: Can not acces ide cdrom


 I am using Debian 3.0.0.
 I installed it with a 2.2.20 kernel which did not have scsi support.
 I later installed the 2.4.18 kernel and got support for my scsi cd burner
 but
 I have lost ability to read my ide cdrom.

 Here is my fstab
 # /etc/fstab: static file system information.
 #
 # file system mount point   type  options   dump
 pass
 /dev/hda8   /   ext2errors=remount-ro   0   1
 /dev/hda7   noneswapsw  0   0
 proc/proc   procdefaults0   0
 /dev/fd0/floppy autouser,noauto 0   0
 /dev/cdrom  /cdrom  iso9660 ro,user,noauto  0   0

 My cdrom mount points
 debian:/home/bob# ls -l /cdrom*/
 /cdrom/:
 total 0
 lrwxrwxrwx1 root root7 Sep 28 23:35 cdrom0 - /cdrom0
 /cdrom0/:
 total 0
 /cdrom1/:
 total 0

 my /dev/cdroms
 debian:/home/bob# ls -l /dev/cdrom*
 lrwxrwxrwx1 root root   11 Sep 28 23:35 /dev/cdrom -
 /dev/cdrom0
 lrwxrwxrwx1 root root9 Sep 28 23:35 /dev/cdrom0 -
 /dev/scd0
 lrwxrwxrwx1 root root9 Sep 28 23:35 /dev/cdrom1 -
 /dev/scd1

 How do I regain access to my ide cdrom?
 Thanks
 bob


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




Setting up exim: was Setting up Sendmail

2002-09-28 Thread Michael Olds

Hello,

Not because I gave up on Sendmail, but because of another problem (for some
reason (I believe it had to do with uninstalling Sendmail which I did in
order to start from scratch and install the package from source) when I shut
down and restarted, Apache was unavailable, all the files are in place, but
it is listed as not installed and doesn't work. apachectl start would get no
sucha commandment...anyway, to fix the Apache problem I reinstalled,
reinstalling installed exim...so I thought I would give it a spin...). But
here I am in the same situation: I can send mail outside, but I cannot
receive mail from outside or internally. The error log reads:
date refused relay (host) to ~internal@~ from ~external@~
and one from local to local

In other words, from my little understanding: the mail is getting to me, but
it isn't being distributed. In other words, no problem at the DNS level or
at the router, some problem either with exim config or in my Debian/linux
setup. I am not sure if my Sendmail problems were caused in the same way, if
so, the problem is with my Debian/Linux setup. I have read a couple of books
and looked on the exim site with no joy.

I have the following in exim.conf
local_domains = listed:all:variations domain:domain.net:mail.domain.net
I added:
hosts_treat_as_local = all the above listed here as well
relay_domains = all the above listed here as well
NOT UNCOMMENTED: RELAY_DOMAINS_INCLUDE_LOCAL_MX = TRUE
host_lookup = *
host_auth_accept_relay = * (none set up)

I also listed all the domains and variations of the names in
/etc/hosts_allow
ALL: domain
ALL: domain.net
and so forth one per line; did not do anything with hosts_deny

Any pointers? Any and all help appreciated.






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




RE: Setting up Sendmail

2002-09-27 Thread Michael Olds

Hello again,

Woody. Can send but not receive mail.

I checked with my DNS server and I believe it is set up properly.

This seems to be the problem:

in var/log/mail/mail.err
No local mailer defined
QueueDirectory (Q) option must be set

and /etc/mail/sendmail.cf.errors
/usr/share/sendmail/cf/m4/proto.m4:232:M4 Cannot open
/usr/share/sendmail/cf/mailer/.m4 No such file or directory

Well, it's no such file. And I did not see it hanging around in any other of
the likely spots either.

I have a little investment in effort here is why I am hanging in and not
switching right off to the much recommended exim or postfix; but all I need
to be told to make the switch is that these are not my problems with
comprehension, but that the Sendmail program is buggy...anyone care to take
a shot?

Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Setting up Sendmail

2002-09-27 Thread Michael Olds

Alvin,

Thank you for this response.
First problem is: I do not have an /etc/mail/sendmail.cw file (I do have a
local-host-names file with no extension); and I do not have an
/etc/mail/access file or an /etc/mail/sendmail.cw file

For these I think the problem is as is stated in the mail just previous to
this: sendmailconfig cannot find /usr/share/sendmail/cf/mailer/.m4 because
it isn't there.

I checked out the site you recommended this morning, and read a few things,
but it seems more directed towards securing a running system than getting a
system running to begin with...or did I miss a link?

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Alvin Oga [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 4:55 PM
To: Michael Olds
Cc: Oliver Fuchs; [EMAIL PROTECTED]
Subject: RE: Setting up Sendmail



hi ya

to receive email
cd /etc/mail
ln -s local-host-names sendmail.cw
- be sure your domain is listed in the file
make
sendmail - stop/start

for popping email stuff...
- make sure you can telnet localhost 110
- than you should use secure pop3 instead of port 110
http://www.Linux-Sec.net/Mail/secure_pop3.txt

sendmail howto
http://www.Linux-Sec.net/Mail/sendmail.gwif.html

c ya
alvin

/etc/mail/access
#
# list of domains/ip# this mschine will be relaying emails
#
foo.com
#
# tou local lan
192.168.0.0
#
#

/etc/sendmail.cw  and/or /etc/mail/sendmail.cw
#
# list of domains tyhis machine will be receiving emails
#
foo.com
www.foo.com
#


On Fri, 27 Sep 2002, Michael Olds wrote:

 Hello again,

 First, thanks to all who responded with suggestions. I'm still working on
 Sendmail. I have it working half way following Oliver's suggestions ...I
can
 send, but I am not receiving anything, either locally or over the
Internet.
 I figure it can be the settings at my DNS server, the router's firewall
 (don't think so), a sendmail configuration I'm missing...(?, I have SMTP
and
 local, so it must be one of the exotic ones set up by Debian), or I just
 don't have my Kmail mail client set up right (ashamed to say it, I can
 configure Windows Outlook accounts, but I have no idea what I should be
 telling the Linux machine about loading mail to local/remote users).



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




RE: debian menu in kde

2002-09-26 Thread Michael Olds

Not a direct answer, but a help: by using SystemAppfinder you can make the
KDE menu include many programs it does not include in the default state.

I also wonder what is going on in the mind's of the developers: if you're
going to have an application and services menu, why not put everything in
it? Or at least give us a way to do that.

Best Wishes!
Mike Olds www.buddhadust.org



-Original Message-
From: Jason Pepas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 2:11 PM
To: [EMAIL PROTECTED]
Subject: debian menu in kde


where can I read up on the internal workings of the kde menu system?  I
would
like to figure out how to get it to use the standard debian menu system (kde
2.2.2 does its own thing).

-jason


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




RE: Konqueror slowness

2002-09-26 Thread Michael Olds

If it helps your case, I had a similar problem. My solution was to take out
Konquoror and use Krusader instead using Mozilla for the browser. In fact I
have strip't out most of KDE from KDE (strip't everything out of Mozilla
except the browser as well). I like the customization of what I would call
the Desktop, Kmail, the Control Center and that's about it.


Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Stephan Hachinger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 3:13 PM
To: Mark Roach; [EMAIL PROTECTED]
Subject: Re: Konqueror slowness


Hi!

I have absolutely the same problem, although my kdebase and -libs are
self-compiled... I'm already talking about this with Dirk Mueller,
one of the kde team. If you don't bother, I'll forward your problem
report to him.

Regards,

Stephan

On Thu, 26 Sep 2002 14:30:50 -0500
Mark Roach [EMAIL PROTECTED] wrote:

 Konqueror takes an extremely long time to load pages on my system
 compared to mozilla/galeon. Has anyone had a similar problem?

 I went to theregister in konq and then while it was loading, I
 lanched galeon, loaded the site and came back and started typing
 this before konqueror loaded the site (~17 seconds just for the
 main content area showed up). Reload takes roughly the same amount
 of time.

 I don't remember that having been the case in the past, and
 couldn't find anyone else reporting this problem (everyone always
 talks about konq being fast). Any thoughts on what I might have
 done to upset it? I am using the 3.0.3 debs from the kde site.


 -Mark



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




Setting up Sendmail

2002-09-26 Thread Michael Olds

Hello,

Woody.

I am having some difficulty getting Sendmail up and running.
I installed the program apparently with no problems. I ran: sendmailconfig
after the install, also apparently no problems, no errors reported. But
nothing works either. So I looked in /etc/mail/ and there is no sendmail.cf
so I tried running sendmailconfig again and it asked if it should configure
using the existing sendmail .conf and I said yes. And it reported there was
no /usr/sbin/update_conf which there isn't as it's in /usr/share/sendmail/

(Question one: could I just move it to where it wants?)

There is no existing sendmail.conf in /etc/mail/ either.

When I tried to create a sendmail.cf using:

cd /etc/mail
m4 /usr/share/sendmail/cf/m4/cf.m4 I first got a permission denied and saw
that the files in /m4/ were all marked non executable. I marked them
executable but I am not sure if that was the right thing to do.

I re-ran m4 etc and got this error message:
NONE:0:m4: ERROR: EOF in string

I tried looking up EOF (?end of file?) on Google where there are many
references and no explanations.

I have uninstalled and reinstalled the program several times and I always
end up at this spot. Does anyone know how I get out of this?

Thanks in advance,


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




RE: Setting up Sendmail

2002-09-26 Thread Michael Olds

Well I'm listening. If I can't get it set up reasonably soon I will probably
go with Exim.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Bob Proulx [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 8:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Setting up Sendmail


Michael Olds [EMAIL PROTECTED] [2002-09-26 20:02:54 -0700]:
 I am having some difficulty getting Sendmail up and running.

I know that Sendmail has been the workhorse of the Internet for many
years.  I have configured Sendmail cf files by hand for years and
loved the recent m4 configuration.  I am just saying that so you will
know this recommendation comes from someone who has spent much time
with sendmail and still thinks favorably of it.  But it has been
passed on both sides by other programs.

You will probably get a hundred replies to the effect that everyone
recommends that you run either Exim or Postfix.  Either are high
quality mailers.  I prefer Postfix.  It is table driven and very easy
to configure.

  apt-get install postfix

Or you could go with Exim, another fine program.  You will find a lot
of Exim users on this list and can be certain of good user support for
it here.

  apt-get install exim

Bob


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




RE: ide-scsi

2002-09-20 Thread Michael Olds

Alan, try

rmmod [option] modules


System administration command. Unload a module or list of modules from the
kernel. This command is successful only if the specified modules are not in
use and no other modules are dependent on them.

Can you tell us what message you are getting that makes you think this is
loaded or interfering with what you want to do?

Best Wishes!
Mike Olds www.buddhadust.org


-Original Message-
From: Alan Chandler [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 12:54 PM
To: [EMAIL PROTECTED]
Subject: Re: ide-scsi


On Friday 20 September 2002 7:33 pm, Amir Tal wrote:
 On Friday 20 September 2002 21:26, Alan Chandler wrote:
  Can someone explain how ide-scsi gets loaded?
 
  I have done grep -r ide-scsi * on /etc and its not reported (and
  therefore in particular /etc/modules or /etc/modutils have no reference
  to it).
...
 make sure there is no entry for it in /etc/modules.conf.

I already said I could find no entry there:-(

 also check that its not preloading in lilo (should look something like :
 append = hdd=ide-scsi)

Nothing in /etc/lilo.conf either

(thats why I did a grep on all of etc - I figured at least one of the config
files must load it - but nothing.)

--
Alan Chandler
[EMAIL PROTECTED]


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




Help needed setting up CDRW

2002-09-18 Thread Michael Olds
 the directions for
using Modutls. I did not see anywhere where it looked like I should add the
suggested options lines:

options ide=cd ignore=hdc
alias scd0 sr_mod
pre-install sg modprobe ide-scsi
pre-install sr_mod modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd
--X--
Direct answers below:

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Christoph Claus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 12:16 AM
To: Michael Olds
Cc: [EMAIL PROTECTED]
Subject: Re: Setting-up CDRW

--X--
Question:
/dev/cdrom  /cdrom  iso9660  ro,user,noauto0 0
remains in /etc/fstab. Is this correct?
Do you have an extra cd-rom? Then this is correct.

No, I have only the one CD Drive.
--X--
When I run cdrecord I get the following message:
Unable ... could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?

What did you give cdrecord as dev= argument? It needs to be the
(pseudo)scsi-device with bus,target,lun e.g. dev=0,0,0

Apologies: this was not cdrecord, this was kreateCD, which uses CD record.
--X--
When I run cdrecord -scanbus I get:
No such file or directory.
Thinking that this might be something like setting up a new partition, I
set up a
directory under / named  cdrw
but that did not solve the problem.
--X--
Did you really load all necessary modules? Can you post the ide- and
scsi-section of your /boot/config-2.4.18? Are the appropriate entries
in /dev present? Especially /dev/sg*? The output looks like missing
/dev entries.

See above, I apparently do not have all the modules, but they are not
available from modconf
--X--


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




RE: Help needed setting up CDRW

2002-09-18 Thread Michael Olds

Bob,

Thank you for this response. I am still very new at Linux and have hesitated
doing a kernel rebuild, but that is on the list...I just want to get a way
to do a backup so that when something goes wrong I won't have to start from
scratch ... I'm on about the 15th install and it's getting tiresome!

I am using Synaptic as my package management tool, and I think I can handle
a kernel update, but the question is, has been, I am using ext3 as my
filesystem, do the other kernels besides bf support this file system type?

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: Bob Underwood [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 6:12 AM
To: Debian-User@Lists. Debian. Org
Subject: Re: Help needed setting up CDRW


On Wednesday 18 September 2002 08:53, Michael Olds wrote:
 This boils down to two problems: if a module is missing, where can
 I get it? I did a Google search and there are a zillion references
 to the missing modules but no mention of where they can be found.

 And Second, what is the procedure for editing /etc/modules.conf
 using the new modutls tool?

 Here is the previous message...and, again thanks for many suggested
 avenues of inquiry. However I am at an impass. I will try to update
 the situation completely here while answering the questions of
 those who asked for more information.

IIRC, the bf kernels do not include the modules you're missing.  I'm
using kernel-image-2.4.18-k7 (from woody) which does include them.
It was fairly painless for me to install the new kernel using
apt-get.

If you wish, you can also build your own kernel to include the missing
modules.

bob



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




RE: Help needed setting up CDRW

2002-09-18 Thread Michael Olds

Bob et al,

OK I upgraded the kernel to 2.4.18-686 which went smoothly except that this
kernel uses something called initrd, which I opted out of the first go round
for some reason I can't remember. Needed to add a line to /etc/lilo.conf
'initrd=/initrd.img'
and one to /etc/kernel-img.conf which does not exist (didn't cause a
problem, but I apparently will get some kind of warning message about using
initrd every time I upgrade the kernel)

I then used xcdroast to select a directory and copy it to a cd which is what
I wanted the cd for in the first place (backup, and hopefully restore). This
also seemed to go smoothly.
However to read the CDROM I needed to make a change to /dev/cdrom:

cd /dev  rm cdrom  ln -s scd0 cdrom

which changed it to a link to the scsi device.

I deleted the line for /dev/scd0 etc in fstab without any apparent problems;
I left the line in /etc/lilo.conf append=scd=scsi-ide; I deleted the CDRW
directory under / that I had created as an experiment; all the required mods
now appear to be present and accounted for

cdrecord -scanbus now gives me:

scsibus0
0,0,0, 0)SONY 'CDRW CRX185e1' 'XYS2' Removable CD-Rom
which is what I think it is supposed to show.

The only problem that remains is that trying to make a CD with kreatecd it
just sits there, but if this does not look like some kind of hidden problem,
I think I will just remove this program and use xcdroast.


Best Wishes!
Mike Olds www.buddhadust.org


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




RE: Setting-up CDRW

2002-09-17 Thread Michael Olds

Oops! I see I resonded only to Bob:

Hello, and thank you all for these clues. This is just to let you know that
I can't get to this until later this afternoon. I will report back with
results.

-Original Message-
From: Bob Underwood [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 5:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Setting-up CDRW


I just did this again last evening on a new machine and it was loads
easier than i remembered it being.

I'm using kernel 2.4.19-k7 with both an ide cdrom and an ide-scsi
cdrw.

i added this line to /etc/fstab:

/dev/scd0   /cdrw   iso9660 defaults,ro,user,noauto 0   0

my /etc/modules includes this:

options ide-cd ignore=hdd
ide-scsi

hth

bob



On Tuesday 17 September 2002 07:50, Burkhard Ritter wrote:
 hello.

 i suppose that your scsi/emulation stuff is not set up correctly.
 have you really loaded all neccessary modules (have a look again at
 the cdwriting howto section 2.1.3; -
 ide-cd,ide-scsi,scsi_mod,sr_mod,sg)? if that is the case cdrecord
 -scanbus should definitely work (it has nothing to do with your
 fstab stuff).

 On Mon, 16 Sep 2002, Michael Olds wrote:
  Requesting Help Setting-up CDRW
  ---
  I had this same hardware setup running under RH7.3
 
  Intel 845 P4 1.6G; 768MbRAM
  Debian: 2.4.18-bf2.4
  the SCSI emulation module was installed during the initial setup,
  and lsmod returned: ide-scsi used 0  (Does the used 0 mean
  anything?) ---
  /etc/lilo.conf
  edited to insert: append=hdc=ide-scsi  on line 104 above
  #Boot up Linux by default.
  #
  default=Linux
  ran lilo -v with no errors reported
  ---
 
  /etc/fstab
  edited to insert:
  /dev/sc0/mnt/cdrw   iso9660  ro,user,noauto0 0
  (also tried /dev/scd0 and for mount point: /cdrw having created a
  directory there)
 
  Question:
  /dev/cdrom  /cdrom  iso9660  ro,user,noauto0 0
  remains in /etc/fstab. Is this correct? Or should this be removed
  or linked to
  /dev/sco...and if the latter, is this the right way:
  dev/cdrom   /cdrw
 
  ---
  When I run cdrecord I get the following message:
  Unable ... could this be the IDE device where you in fact use
  ide-scsi so that sr0 or sda or so is needed?
 
  My answer is yes, but it does not inform the novice user as to
  how to get there.
 
  ---
 
  When I run xcdroast I get: Failed to scan the SCSI-bus...you
  have to install the
  SCSI emulation first, Please see the CD -Writing HOW TO how to do
  that. Well I did that and I thought that was what I had done
  above.
 
  ---
  When I run cdrecord -scanbus I get:
  No such file or directory.
  (Thinking that this might be something like setting up a new
  partition, I set up a
  directory under / named  cdrw
  but that did not solve the problem.
 
  ---
  Variations on the theme are rebooting after every change
  --
 
  I have spent several days on this and have read the relevant
  sections in O'R. Running Linux; Hunger, D.G.L. Bible, and the
  CDRW HOW TO, as well as having searched Google Linux and read
  half a dozen forums and list archives.
 
  There is a great deal of contradictory information out there,
  even cocerning the setup for Debian. Most of the information is
  also very old. How is it possible that this is not something that
  is set up to at least be an option at initial setup on Linux?
  What individual today setting up Linux does not have a CDRW?
 
 
  Best Wishes!
  Mike Olds www.buddhadust.org
 
 
  --
  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]



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




RE: latest msttcorefonts broken?

2002-09-17 Thread Michael Olds

I just checked MS yesterday on this and they no longer offer this download.
Doing the upgrade may have deleted or renamed your old font package.
In any case this needs to be fixed in the packages that depend on it.

Best Wishes!
Mike Olds www.buddhadust.org

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of DvB
Sent: Tuesday, September 17, 2002 3:24 PM
To: Debian-User
Subject: latest msttcorefonts broken?


I ran an apt-get upgrade a while back, which upgraded my msttcorefonts
package. Ever since then mozilla, which I had configured to use the
monotype-arial-iso8859-1 fontset from that package keeps printing the
following error message over and over (but doesn't appear to be causing
any other problems), even after I reset the fonts to the default values:

The font
-*-*-medium-r-*-*-16-*-*-*-*-*-*-*,-*-*-*-r-*-*-16-*-*-*-*-*-*-*,-*-*-*-*-*
-*-16-*-*-*-*-*-*-*
does not support all the required character sets for the current locale
C
  (Missing character set ISO8859-1)


Any ideas as to how I might fix this?


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




RE: Setting-up CDRW

2002-09-17 Thread Michael Olds
 12:16 AM
To: Michael Olds
Cc: [EMAIL PROTECTED]
Subject: Re: Setting-up CDRW

--X--
Question:
/dev/cdrom  /cdrom  iso9660  ro,user,noauto0 0
remains in /etc/fstab. Is this correct?
Do you have an extra cd-rom? Then this is correct.

No, I have only the one CD Drive.
--X--
When I run cdrecord I get the following message:
Unable ... could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?

What did you give cdrecord as dev= argument? It needs to be the
(pseudo)scsi-device with bus,target,lun e.g. dev=0,0,0

Apologies: this was not cdrecord, this was kreateCD, which uses CD record.
--X--
When I run cdrecord -scanbus I get:
No such file or directory.
Thinking that this might be something like setting up a new partition, I
set up a
directory under / named  cdrw
but that did not solve the problem.
--X--
Did you really load all necessary modules? Can you post the ide- and
scsi-section of your /boot/config-2.4.18? Are the appropriate entries
in /dev present? Especially /dev/sg*? The output looks like missing
/dev entries.

See above, I apparently do not have all the modules, but they are not
available from modconf
--X--


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